[141184] trunk/dports/x11/xorg-libXpresent

jeremyhu at macports.org jeremyhu at macports.org
Sun Oct 11 17:23:04 PDT 2015


Revision: 141184
          https://trac.macports.org/changeset/141184
Author:   jeremyhu at macports.org
Date:     2015-10-11 17:23:04 -0700 (Sun, 11 Oct 2015)
Log Message:
-----------
xorg-libXpresent: Revbump to include upstream build system fixes

Modified Paths:
--------------
    trunk/dports/x11/xorg-libXpresent/Portfile

Added Paths:
-----------
    trunk/dports/x11/xorg-libXpresent/files/
    trunk/dports/x11/xorg-libXpresent/files/0001-configure-xpresent.pc-require-xext-xfixes-and-xrandr.patch

Modified: trunk/dports/x11/xorg-libXpresent/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXpresent/Portfile	2015-10-12 00:17:53 UTC (rev 141183)
+++ trunk/dports/x11/xorg-libXpresent/Portfile	2015-10-12 00:23:04 UTC (rev 141184)
@@ -4,6 +4,7 @@
 
 name            xorg-libXpresent
 version         1.0.0
+revision        1
 categories      x11 devel
 license         X11
 maintainers     jeremyhu openmaintainer
@@ -20,10 +21,19 @@
 use_bzip2   yes
 use_parallel_build      yes
 
-depends_build   port:pkgconfig
+patch.pre_args  -p1
+patchfiles      0001-configure-xpresent.pc-require-xext-xfixes-and-xrandr.patch 
 
+use_autoreconf  yes
+autoreconf.args -fvi
+
+depends_build   port:pkgconfig \
+                port:xorg-util-macros
+
 depends_lib     port:xorg-libX11 \
+                port:xorg-libXfixes \
                 port:xorg-libXext \
+                port:xorg-libXrandr \
                 port:xorg-xproto \
                 port:xorg-xextproto \
                 port:xorg-presentproto

Added: trunk/dports/x11/xorg-libXpresent/files/0001-configure-xpresent.pc-require-xext-xfixes-and-xrandr.patch
===================================================================
--- trunk/dports/x11/xorg-libXpresent/files/0001-configure-xpresent.pc-require-xext-xfixes-and-xrandr.patch	                        (rev 0)
+++ trunk/dports/x11/xorg-libXpresent/files/0001-configure-xpresent.pc-require-xext-xfixes-and-xrandr.patch	2015-10-12 00:23:04 UTC (rev 141184)
@@ -0,0 +1,46 @@
+From dd6771cdf6f04cde37eb14891573c0e55be83241 Mon Sep 17 00:00:00 2001
+From: Julien Cristau <jcristau at debian.org>
+Date: Sun, 26 Apr 2015 17:53:15 +0200
+Subject: [PATCH] configure, xpresent.pc: require xext, xfixes and xrandr
+
+include/X11/extensions/Xpresent.h:#include <X11/extensions/Xfixes.h>
+include/X11/extensions/Xpresent.h:#include <X11/extensions/Xrandr.h>
+include/X11/extensions/Xpresent.h:#include <X11/extensions/sync.h>
+
+v2: also add requirement in xpresent.pc since we include those in our
+    public header
+
+Signed-off-by: Julien Cristau <jcristau at debian.org>
+---
+ configure.ac   | 2 +-
+ xpresent.pc.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index a88ca7f..bb0939d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -58,7 +58,7 @@ PRESENTEXT_VERSION=[`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/
+ AC_SUBST(PRESENTEXT_VERSION)
+ 
+ # Obtain compiler/linker options for depedencies
+-PKG_CHECK_MODULES(PRESENTEXT, xproto [presentproto >= $PRESENTEXT_VERSION] xextproto x11)
++PKG_CHECK_MODULES(PRESENTEXT, xproto [presentproto >= $PRESENTEXT_VERSION] xextproto x11 xext xfixes xrandr)
+ 
+ AC_CONFIG_FILES([Makefile
+ 		src/Makefile
+diff --git a/xpresent.pc.in b/xpresent.pc.in
+index d5d0d38..8f6047a 100644
+--- a/xpresent.pc.in
++++ b/xpresent.pc.in
+@@ -7,6 +7,6 @@ Name: Xpresent
+ Description: X Present  Library
+ Version: @PACKAGE_VERSION@
+ Requires: xproto presentproto >= @PRESENTEXT_VERSION@
+-Requires.private: x11
++Requires.private: x11 xext xfixes xrandr
+ Cflags: -I${includedir}
+ Libs: -L${libdir} -lXpresent
+-- 
+2.6.1
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151011/7a1f2285/attachment.html>


More information about the macports-changes mailing list