Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427164 - =x11-misc/slimlock-0.11 missing dep on media-libs/imlib2[X]
Summary: =x11-misc/slimlock-0.11 missing dep on media-libs/imlib2[X]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-19 01:24 UTC by Justin Bronder (RETIRED)
Modified: 2012-08-18 18:58 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 Justin Bronder (RETIRED) gentoo-dev 2012-07-19 01:24:02 UTC
Without media-libs/imlib2[X] slimlock fails to build with the following:

x86_64-pc-linux-gnu-g++ -O2 -pipe -march=core2 -mtune=generic -Wall -I. -I/usr/include/freetype2   -pthread -DPACKAGE=\"slimlock\" -DVERSION=\"0.11\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\"  -c util.cpp -o util.o
cfg.cpp: In member function 'std::string Cfg::getWelcomeMessage()':
cfg.cpp:189:33: warning: ignoring return value of 'int getdomainname(char*, size_t)', declared with attribute warn_unused_result
panel.cpp: In member function 'bool Panel::OnKeyPress(XEvent&)':
panel.cpp:366:61: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result
slimlock.cpp: In function 'void* RaiseWindow(void*)':
slimlock.cpp:346:1: warning: no return statement in function returning non-void
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu cfg.o image.o panel.o slimlock.o util.o -o slimlock -lX11 -lXrandr -lXft -lfontconfig -lImlib2 -lXext   -lrt -lpam -pthread
image.o: In function `Image::createPixmap(_XDisplay*, int, unsigned long)':
image.cpp:(.text+0x3b2): undefined reference to `imlib_context_set_display'
image.cpp:(.text+0x3ca): undefined reference to `imlib_context_set_visual'
image.cpp:(.text+0x3db): undefined reference to `imlib_context_set_colormap'
image.cpp:(.text+0x427): undefined reference to `imlib_context_set_drawable'
image.cpp:(.text+0x430): undefined reference to `imlib_render_image_on_drawable'
collect2: ld returned 1 exit status
Comment 1 Aaron W. Swenson gentoo-dev 2012-08-18 18:58:46 UTC
*slimlock-0.11-r1 (18 Aug 2012)

  18 Aug 2012; Aaron W. Swenson <titanofold@gentoo.org>
  +slimlock-0.11-r1.ebuild, +files/slimlock-0.11-gcc47.patch:
  Add "X" USE flag dependency on imlib2. (Bug 427164) Add patch to fix building
  with GCC 4.7. (Bug 426866)