Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jul 2004 12:30:09 +0200
From:      "Franz Klammer" <klammer@webonaut.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/68764: 11/xorg-libraries didn't install xrender.pc
Message-ID:  <1089196209.0@ds9.webonaut.com>
Resent-Message-ID: <200407071040.i67AeJqP095505@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68764
>Category:       ports
>Synopsis:       11/xorg-libraries didn't install xrender.pc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 07 10:40:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Franz Klammer
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 5.2-CURRENT #0: Fri Jul  2 19:09:00 CEST 2004
    root@ds9.webonaut.com:/usr/obj/usr/src/sys/DS9



>Description:


11/xorg-libraries didn't install xrender.pc which is required by xcursor.pc.

attached a (unverified) patch obtained from Xorg's bugzilla changed for 
fbsd pkg-config *.pc installation path:

http://freedesktop.org/bugzilla/show_bug.cgi?id=478


>How-To-Repeat:





>Fix:


--- xorg-libraries.diff begins here ---
diff -Nur xorg-libraries.orig/files/patch-lib::Xrender::Imakefile xorg-libraries/files/patch-lib::Xrender::Imakefile
--- xorg-libraries.orig/files/patch-lib::Xrender::Imakefile	Thu Jan  1 01:00:00 1970
+++ xorg-libraries/files/patch-lib::Xrender::Imakefile	Mon Jun 28 14:53:02 2004
@@ -0,0 +1,34 @@
+--- 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)
diff -Nur xorg-libraries.orig/pkg-plist xorg-libraries/pkg-plist
--- xorg-libraries.orig/pkg-plist	Sat May 29 23:03:48 2004
+++ xorg-libraries/pkg-plist	Wed Jul  7 12:21:08 2004
@@ -647,3 +647,4 @@
 lib/libxkbui.so
 lib/libxkbui.so.1
 libdata/pkgconfig/xcursor.pc
+libdata/pkgconfig/xrender.pc
--- xorg-libraries.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1089196209.0>