Date: Mon, 28 Jun 2004 15:17:41 +0200 From: Franz Klammer <klammer@webonaut.com> To: x11@freebsd.org Subject: xrender.pc - patch at freedesktop.og bugzilla Message-ID: <40E01A75.3060105@webonaut.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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@freebsd.org list-archive. attached my patch. franz. ps: i'm not subscribed to x11@. [-- Attachment #2 --] --- 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40E01A75.3060105>
