Compiling: fpicker/source/unx/kde4/KDE4FilePicker.cxx /usr/bin/moc KDE4FilePicker.hxx -o ../../../unxlngx6.pro/misc/KDE4FilePicker.moc.cxx Compiling: fpicker/source/unx/kde4/KDE4FPEntry.cxx : && LD_LIBRARY_PATH=/var/tmp/portage/app-office/libreoffice-3.4.5.2/work/libreoffice-bootstrap-3.4.5.2/solver/340/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH }} xsltproc --nonet --stringparam uri \ 'vnd.sun.star.expand:$OOO_BASE_DIR/program/fps_kde4.uno.so' -o ../../../unxlngx6.pro/misc/fps_kde4.component \ /var/tmp/portage/app-office/libreoffice-3.4.5.2/work/libreoffice-bootstrap-3.4.5.2/solenv/bin/createcomponent.xslt fps_kde4.component KDE4FilePicker.hxx:0: Note: No relevant classes found. No output generated. In file included from /var/tmp/portage/app-office/libreoffice-3.4.5.2/work/libreoffice-bootstrap-3.4.5.2/fpicker/source/unx/kde4/KDE4FPEntry.cxx:35:0: /var/tmp/portage/app-office/libreoffice-3.4.5.2/work/libreoffice-bootstrap-3.4.5.2/solver/340/unxlngx6.pro/inc/cppuhelper/compbase_ex.hxx:55:27: warning: 'virtual void cppu ::WeakComponentImplHelperBase::disposing()' was hidden /var/tmp/portage/app-office/libreoffice-3.4.5.2/work/libreoffice-bootstrap-3.4.5.2/fpicker/source/unx/kde4/KDE4FilePicker.hxx:152:27: warning: by 'virtual void KDE4FilePi cker::disposing(const com::sun::star::lang::EventObject&)' In file included from /var/tmp/portage/app-office/libreoffice-3.4.5.2/work/libreoffice-bootstrap-3.4.5.2/fpicker/source/unx/kde4/KDE4FilePicker.cxx:52:0: /var/tmp/portage/app-office/libreoffice-3.4.5.2/work/libreoffice-bootstrap-3.4.5.2/solver/340/unxlngx6.pro/inc/cppuhelper/compbase_ex.hxx:55:27: warning: 'virtual void cppu ::WeakComponentImplHelperBase::disposing()' was hidden /var/tmp/portage/app-office/libreoffice-3.4.5.2/work/libreoffice-bootstrap-3.4.5.2/fpicker/source/unx/kde4/KDE4FilePicker.hxx:152:27: warning: by 'virtual void KDE4FilePi cker::disposing(const com::sun::star::lang::EventObject&)' In file included from /usr/include/kcompletion.h:24:0, from /usr/include/kcombobox.h:27, from /usr/include/kfilefiltercombo.h:27, from /var/tmp/portage/app-office/libreoffice-3.4.5.2/work/libreoffice-bootstrap-3.4.5.2/fpicker/source/unx/kde4/KDE4FilePicker.cxx:64: /usr/include/kglobalsettings.h:595:29: error: expected identifier before '(' token /usr/include/kglobalsettings.h:595:29: error: expected '}' before '(' token /usr/include/kglobalsettings.h:595:29: error: expected ')' before numeric constant /usr/include/kglobalsettings.h:597:1: error: expected unqualified-id before 'protected' /usr/include/kglobalsettings.h:679:1: error: expected unqualified-id before 'private' /usr/include/kglobalsettings.h:682:21: error: expected unqualified-id before ')' token /usr/include/kglobalsettings.h:685:20: error: uninitialized const 'd' /usr/include/kglobalsettings.h:688:1: error: expected declaration before '}' token dmake: Error code 1, while making '../../../unxlngx6.pro/slo/KDE4FilePicker.obj'
Created attachment 298021 [details] full build log, compressed
Created attachment 298023 [details] emerge --info
3.4.4.2-r1 built fine with kde-4.7.95 3.4.5.2 fails to build with kde-4.7.97 the subdirectory "fpicker" is idencical in 3.4.4.2-r1 and 3.4.5.2 :(
Same problem with 3.4.99.2
After some analysis... In KDE-4.8, a new value was introduced in the enum SettingsCategory in kglobalsettings.h, SETTINGS_LOCALE. (Commit 7bc79dbe by Lamarque V. Souza in kdelibs/kdeui/kernel/kglobalsettings.h, line 595 now). 590 /** 591 * Valid values for the settingsChanged signal 592 */ 593 enum SettingsCategory { SETTINGS_MOUSE, SETTINGS_COMPLETION, SETTINGS_PATHS, 594 SETTINGS_POPUPMENU, SETTINGS_QT, SETTINGS_SHORTCUTS, 595 SETTINGS_LOCALE }; Unfortunately, libreoffice already #defines SETTINGS_LOCALE, namely in vcl/inc/vcl/settings.hxx, line 1160: 1160 #define SETTINGS_LOCALE ((sal_uLong)0x00000200) And KFilePicker.cxx includes vcl/svapp.hxx which includes vcl/settings.hxx... bang. No idea how exactly to solve this, but someone familiar with the code should be able to do it quickly now... :o)
I should really read my backlog... Thanks Luboš! http://cgit.freedesktop.org/libreoffice/core/commit/?id=0d7e2108425da1f81c20a605145679168486df59
+ 08 Jan 2012; Andreas K. Huettel <dilfridge@gentoo.org> + +files/libreoffice-kde48.patch, libreoffice-3.4.5.2.ebuild, + libreoffice-3.4.99.2.ebuild: + Fix build with kde-4.8, bug 397775 +