Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438102 - =x11-misc/xteddy-2.2 missing RDEPEND
Summary: =x11-misc/xteddy-2.2 missing RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 404899
  Show dependency tree
 
Reported: 2012-10-12 11:56 UTC by Vicente Olivert Riera (RETIRED)
Modified: 2012-10-12 18:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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