Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581312 - =x11-misc/rofi-1.0.0 should depend on x11-libs/cairo[xcb]
Summary: =x11-misc/rofi-1.0.0 should depend on x11-libs/cairo[xcb]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-27 04:54 UTC by Oleh
Modified: 2016-04-28 10:59 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,5.92 KB, text/plain)
2016-04-27 04:54 UTC, Oleh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2016-04-27 04:54:11 UTC
As in description, rofi for building need cairo to be built with xcb support.

Reproducible: Always

Steps to Reproduce:
1. make sure cairo have xcb disbled or set USE=-xcb emerge cairo
2. emerge =rofi-1.0.0
3. notice a build failure due to configure unable to find cairo-xcb.
4. USE=xcb emerge cairo
5. emerge rofi
6. notice successful build.
Actual Results:  
hecking for x11... yes
checking for pango... yes
checking for cairo... no
configure: error: Package requirements (cairo cairo-xcb) were not met:

Package cairo-xcb was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-xcb.pc'
to the PKG_CONFIG_PATH environment variable
Package 'cairo-xcb', required by 'world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables cairo_CFLAGS
and cairo_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Comment 1 Oleh 2016-04-27 04:54:40 UTC
Created attachment 432206 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2016-04-28 08:22:14 UTC
Fixed without revision bump.
Comment 3 Oleh 2016-04-28 08:37:35 UTC
i'm sorry but:
x11-misc/rofi: Depend on x11-libs/cairo[xcb] (bug #581312 by Oleg).
Package-Manager: portage-2.2.28
 RDEPEND="
 	dev-libs/glib:2
 	media-libs/freetype
+	x11-libs/cairo[X]
 	x11-libs/libX11
 	x11-libs/libXft
 	x11-libs/libXinerama

enabling of X this does not enable any xcb conditionals. It should be
x11-libs/cairo[xcb]
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2016-04-28 10:05:10 UTC
oops
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2016-04-28 10:06:01 UTC
Fixed again.
Comment 6 Oleh 2016-04-28 10:59:21 UTC
thx!