Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40400 - xfree-4.3.0-r3 does not generate xrender.pc
Summary: xfree-4.3.0-r3 does not generate xrender.pc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 44314 44984 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-04 12:43 UTC by Peter Magnusson
Modified: 2004-03-17 16:05 UTC (History)
3 users (show)

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


Attachments
home made xrender.pc file to use as a workaround (xrender.pc,230 bytes, text/plain)
2004-02-04 17:07 UTC, Peter Magnusson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Magnusson 2004-02-04 12:43:06 UTC
I've got a fully working system (so far) with Gnome.
I stepped into some trouble when building cairo (www.cairographics.org) that the mono project depends on for System.Drawing support... anyway..

When running ./configure in cairo it complains about not finding xrender > 0.6 and when using pkg-config --modversion xrender it states that the xrender.pc doesn't exist.

This is a problem for me. It seems that xrender is built because I've got several Xrender files under /usr/X11R6 ( for example /usr/X11R6/lib/libXrender.so)

When I look at the cvs repository at freedesktop.org there is a xrender.pc.in file so it looks like the xrender.pc should have been created but I can't find it.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1)
=================================================================
System uname: 2.6.1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.linux.no/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/
linux/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gi
f gnome gpm gtk gtk2 imlib innodb java jpeg libg++ libwww mad mikmod motif mozil
la mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime re
adline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-04 13:56:57 UTC
This may shock you, but XFree86 doesn't build from the libraries on freedesktop.org, instead from its own sources. They don't generate xrender.pc. Even when the freedesktop.org library is dropped into an XFree86 build, xrender.pc still isn't generated.

As a workaround hack, xfree-4.3.0-r4 (which will come out soon) will hand-generate an xrender.pc within the ebuild. I've been requested by our mono maintainer to do this, but there are other things that still need to be done before releasing -r4. The hope is within a week or two.

If you desperately need cairo to work now, check out http://dev.gentoo.org/~spyderous/overlay-freedesktop/. Ebuilds there will install the freedesktop.org libXrender (and accompanying xrender.pc) into /opt/fdo.
Comment 2 Peter Magnusson 2004-02-04 17:07:24 UTC
Created attachment 24975 [details]
home made xrender.pc file to use as a workaround

adding this file to /usr/lib/pkgconfig/ made it possible for me to compile
cairo.
with xfree-4.3.0-r3
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-05 11:10:40 UTC
Todd,
Adding you so you know when we get this working.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-03-13 17:20:51 UTC
*** Bug 44314 has been marked as a duplicate of this bug. ***
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-03-14 14:33:28 UTC
Please test 4.3.0-r6 (it's hard-masked).
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-03-17 11:43:36 UTC
Fixed in 4.3.0-r6.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2004-03-17 16:05:47 UTC
*** Bug 44984 has been marked as a duplicate of this bug. ***