Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
The following error goes away when imlib2 is installed. ImageImlib2.cc:31:20: error: Imlib2.h: No such file or directory ImageImlib2.cc:37: error: ‘Imlib_Context’ was not declared in this scope ImageImlib2.cc:37: error: template argument 2 is invalid ImageImlib2.cc:37: error: template argument 4 is invalid ImageImlib2.cc:37: error: invalid type in declaration before ‘;’ token ImageImlib2.cc:38: error: expected initializer before ‘ScreenImlibContext’ ImageImlib2.cc: In constructor ‘FbTk::ImageImlib2::ImageImlib2()’: ImageImlib2.cc:51: error: ‘imlib_set_cache_size’ was not declared in this scope Reproducible: Always Steps to Reproduce:
Looking at the ebuild, it seems that imlib2 is already in DEPEND, although conditional with regards to whether or not the imlib2 USE flag is enabled. I haven't test it out, so are you suggesting that it be always required? Thanks.
(In reply to comment #1) > Looking at the ebuild, it seems that imlib2 is already in DEPEND, although > conditional with regards to whether or not the imlib2 USE flag is enabled. > > I haven't test it out, so are you suggesting that it be always required? > Thanks. > Yes. I haven't tested it either, apart from observing the build error when testing packages for GCC-4.3.0 compliance. A cursory glance tells me that src/FbTk/Makefile.am always tries to compile ImageImlib2.cc, so it may be possible to put that into a conditional. I see that the configure script has some autotoolery for imlib2, perhaps it just needs to be extended to the makefiles? Quick test to verify this: emerge -C imlib2 USE="-imlib2" emerge -1 fbdesk
I somehow completely forgot about this bug. However, it has now been fixed. Thanks and sorry for the incredibly long delay.