Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 218334
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Commonbox Team <commonbox@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Peter Alfredsen <loki_val@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 218334 depends on: Show dependency tree
Bug 218334 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-18 21:14 0000
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:

------- Comment #1 From David Shakaryan 2008-05-04 08:57:29 0000 -------
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.

------- Comment #2 From Peter Alfredsen 2008-05-04 10:07:46 0000 -------
(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

------- Comment #3 From David Shakaryan 2008-09-22 13:27:10 0000 -------
I somehow completely forgot about this bug. However, it has now been fixed.
Thanks and sorry for the incredibly long delay.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug