Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 438102

Summary: =x11-misc/xteddy-2.2 missing RDEPEND
Product: Gentoo Linux Reporter: Vicente Olivert Riera (RETIRED) <vincent>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 404899    

Description Vicente Olivert Riera (RETIRED) gentoo-dev 2012-10-12 11:56:52 UTC
=x11-misc/xteddy-2.2 needs media-libs/imlib2[X], if not, fails to compile:

x86_64-pc-linux-gnu-gcc  -march=k8 -O2 -pipe -g0 -Wimplicit-function-declaration  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o xteddy xteddy.o -lImlib2   -lX11 
xteddy.o: In function `main':
xteddy.c:(.text+0x710): undefined reference to `imlib_context_set_display'
xteddy.c:(.text+0x732): undefined reference to `imlib_context_set_visual'
xteddy.c:(.text+0x754): undefined reference to `imlib_context_set_colormap'
xteddy.c:(.text+0x890): undefined reference to `imlib_context_set_drawable'
xteddy.c:(.text+0x8a5): undefined reference to `imlib_render_pixmaps_for_whole_image'
xteddy.c:(.text+0x8e5): undefined reference to `XShapeCombineMask'
collect2: ld returned 1 exit status
make[1]: *** [xteddy] Error 1
Comment 1 Sergey Popov gentoo-dev 2012-10-12 17:39:05 UTC
It seems that a couple of additional USE-flags should be introduced and imlib2 dep will be something like 'media-libs/imlib2[X,jpeg?,png?]'
Comment 2 Sergey Popov gentoo-dev 2012-10-12 18:23:59 UTC
+  12 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> xteddy-2.2.ebuild:
+  Fix imlib2 dependency wrt bug #438102. Thanks to Vicente Olivert Riera for
+  discovering this issue

+  12 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> xteddy-2.2.ebuild:
+  Default xteddy image files format is png, so add apropriate USE-flag
+  dependency on imlib2

For now, X and png USE-flags are mandatory for imlib2 dependency