xrender.pc - patch at freedesktop.og bugzilla

Franz Klammer klammer at webonaut.com
Mon Jun 28 06:17:45 PDT 2004


hi!

just for info:

did resently an update to xorg-ports and see folowing error while
configuring x11-toolkits/gtk20:

checking for xcursor... gnome-config: not found
gnome-config: not found
Package xrender was not found in the pkg-config search path.
Perhaps you should add the directory containing `xrender.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xrender', required by 'Xcursor', not found


i've search something at freedesktop's bugzilla and and found
that bug with an patch attached:
http://freedesktop.org/bugzilla/show_bug.cgi?id=478

with this patch xredner.pc is installed and gtk20 configures with
xcursor.

i'm sure you are aware of it but i didn't find something about
in the x11 at freebsd.org list-archive.

attached my patch.

franz.

ps: i'm not subscribed to x11 at .
-------------- next part --------------
--- lib/Xrender/Imakefile.old	2004-04-14 22:56:37.000000000 +0200
+++ lib/Xrender/Imakefile	2004-04-15 00:25:32.437497361 +0200
@@ -133,6 +133,16 @@
 
 HEADERS = Xrender.h $(NONSTANDARD_HEADERS)
 
+SUBSTVARS=prefix="$(PROJECTROOT)" \
+          exec_prefix="$(BINDIR)" \
+          libdir="$(USRLIBDIR)" \
+          includedir="$(INCROOT)" \
+          VERSION="0.8.4" \
+          X_REQUIRES="" \
+          RENDER_CFLAGS="" \
+          X_NON_PKG_CFLAGS="" \
+          X_NON_PKG_LIBS="-lX11"
+
 #include <Library.tmpl>
 
 DependTarget()
@@ -142,3 +152,14 @@
 distclean:: clean
 	RemoveFile(Makefile)
 #endif
+
+all:: xrender.pc
+
+xrender.pc: xrender.pc.in
+	RemoveFile($@)
+	sh ../Xcursor/config-subst $(SUBSTVARS) < xrender.pc.in > $@
+
+InstallNonExecFile(xrender.pc,$(PROJECTROOT)/libdata/pkgconfig)
+
+clean::
+	RemoveFile(xrender.pc)


More information about the freebsd-x11 mailing list