[opensuse-kde3] kdelibs fail to build with libcups (1.6.1-2) -> any patches yet?
Ilya, I have run into problems building kdebase on the new libcups (1.6.1-2). Have you tried with this library yet? Using it, you will get a string of errors along the lines of: [ 60%] Building CXX object kdeprint/cups/CMakeFiles/kdeprint_cups-module.dir/ipprequest.cpp.o cd /build/src/build/kdeprint/cups && /usr/bin/c++ -Dkdeprint_cups_module_EXPORTS -DHAVE_CONFIG_H -D_KDEPRINT_COMPILE -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/opt/qt3/include -I/usr/include/tqt -I/build/src/build/kdeprint/cups -I/build/src/build -I/build/src/tdelibs/kdeprint/cups -I/build/src/build/kdecore -I/build/src/tdelibs -I/build/src/tdelibs/dcop -I/build/src/tdelibs/kdecore -I/build/src/tdelibs/kdecore/network -I/build/src/tdelibs/kdeui -I/build/src/tdelibs/kio -I/build/src/tdelibs/kio/kio -I/build/src/tdelibs/kio/kfile -I/build/src/tdelibs/kdeprint -I/build/src/tdelibs/kdeprint/management -o CMakeFiles/kdeprint_cups-module.dir/ipprequest.cpp.o -c /build/src/tdelibs/kdeprint/cups/ipprequest.cpp In file included from /build/src/tdelibs/kdeprint/cups/ipprequest.cpp:20:0: /build/src/tdelibs/kdeprint/cups/ipprequest.h: In member function 'ipp_attribute_t* IppRequest::first()': /build/src/tdelibs/kdeprint/cups/ipprequest.h:182:30: error: invalid use of incomplete type 'ipp_t {aka struct _ipp_s}' In file included from /build/src/tdelibs/kdeprint/cups/ipprequest.h:28:0, from /build/src/tdelibs/kdeprint/cups/ipprequest.cpp:20: /usr/include/cups/ipp.h:365:16: error: forward declaration of 'ipp_t {aka struct _ipp_s}' <snip> In file included from /build/src/tdelibs/kdeprint/cups/ipprequest.h:28:0, from /build/src/tdelibs/kdeprint/cups/ipprequest.cpp:20: /usr/include/cups/ipp.h:366:16: error: forward declaration of 'ipp_attribute_t {aka struct _ipp_attribute_s}' /build/src/tdelibs/kdeprint/cups/ipprequest.cpp:69:77: error: invalid use of incomplete type 'ipp_attribute_t {aka struct _ipp_attribute_s}' <snip> <many more> I have no patch yet. If you already have one, let me know. That would save reinventing the wheel. Thanks. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 08/06/2012 11:52 PM, David C. Rankin wrote:
I have no patch yet. If you already have one, let me know. That would save reinventing the wheel. Thanks.
This will be a significant change similar to libpng15. Several of the cups data types are no longer publically accessible, but cups has provided several access functions that allow access to the data. This cups change has also impacted kde4, so I suspect they will develop a patch first. I'll let you know if I get a patch. If you get there first, please post a link here. Thanks. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 08/07/2012 11:53 AM, David C. Rankin wrote:
On 08/06/2012 11:52 PM, David C. Rankin wrote:
I have no patch yet. If you already have one, let me know. That would save reinventing the wheel. Thanks.
This will be a significant change similar to libpng15. Several of the cups data types are no longer publically accessible, but cups has provided several access functions that allow access to the data. This cups change has also impacted kde4, so I suspect they will develop a patch first. I'll let you know if I get a patch. If you get there first, please post a link here. Thanks.
Tim has developed patches for tde. You will need to sed -i 's/tde/kde/g' patchname, but then the commits should be very close to applying to the base kde3 code. See: http://www.trinitydesktop.org/patches/1344635485:9bc0d2cd9d38750658770e69bf0... http://www.trinitydesktop.org/patches/1344730095:91bf63b43bf4cc9ff640bd3c115... -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
participants (1)
-
David C. Rankin