pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/Xrandr-mixedcase initial import of libXrandr-1.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dca487ee8c99
branches:  trunk
changeset: 464194:dca487ee8c99
user:      recht <recht%pkgsrc.org@localhost>
date:      Thu Dec 04 14:40:39 2003 +0000

description:
initial import of libXrandr-1.0.1

This package contains the X RandR extension.

diffstat:

 x11/Xrandr-mixedcase/DESCR            |   1 +
 x11/Xrandr-mixedcase/Makefile         |  27 +++++++++++++++
 x11/Xrandr-mixedcase/PLIST            |   8 ++++
 x11/Xrandr-mixedcase/buildlink2.mk    |  26 ++++++++++++++
 x11/Xrandr-mixedcase/buildlink3.mk    |  22 ++++++++++++
 x11/Xrandr-mixedcase/distinfo         |   5 ++
 x11/Xrandr-mixedcase/patches/patch-aa |  62 +++++++++++++++++++++++++++++++++++
 7 files changed, 151 insertions(+), 0 deletions(-)

diffs (179 lines):

diff -r 8bf72e8b6dd0 -r dca487ee8c99 x11/Xrandr-mixedcase/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/Xrandr-mixedcase/DESCR        Thu Dec 04 14:40:39 2003 +0000
@@ -0,0 +1,1 @@
+This package contains the X RandR extension.
diff -r 8bf72e8b6dd0 -r dca487ee8c99 x11/Xrandr-mixedcase/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/Xrandr-mixedcase/Makefile     Thu Dec 04 14:40:39 2003 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/04 14:40:39 recht Exp $
+#
+
+DISTNAME=              libXrandr-1.0.1
+PKGNAME=               Xrandr-1.0.1
+CATEGORIES=            x11 devel
+MASTER_SITES=          http://freedesktop.org/~xlibs/dist/
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            xtraeme%NetBSD.org@localhost
+HOMEPAGE=              http://freedesktop.org/
+COMMENT=               X RandR extension (Library)
+
+USE_X11=               yes
+USE_BUILDLINK2=                yes
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+
+LIBTOOL_OVERRIDE=       ${WRKSRC}/libtool
+PKGCONFIG_OVERRIDE+=    ${WRKSRC}/xrandr.pc.in
+
+BUILDLINK_DEPENDS.Xrender=     Xrender>=0.8.2
+
+.include "../../x11/randrext/buildlink2.mk"
+.include "../../x11/Xrender/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8bf72e8b6dd0 -r dca487ee8c99 x11/Xrandr-mixedcase/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/Xrandr-mixedcase/PLIST        Thu Dec 04 14:40:39 2003 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/04 14:40:40 recht Exp $
+include/X11/extensions/Xrandr.h
+lib/libXrandr.a
+lib/libXrandr.la
+lib/libXrandr.so
+lib/libXrandr.so.2
+lib/libXrandr.so.2.1
+lib/pkgconfig/xrandr.pc
diff -r 8bf72e8b6dd0 -r dca487ee8c99 x11/Xrandr-mixedcase/buildlink2.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/Xrandr-mixedcase/buildlink2.mk        Thu Dec 04 14:40:39 2003 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/04 14:40:40 recht Exp $
+
+.if !defined(XRANDR_BUILDLINK2_MK)
+XRANDR_BUILDLINK2_MK=  # defined
+
+BUILDLINK_PACKAGES+=                   Xrandr
+BUILDLINK_DEPENDS.Xrandr?=             Xrandr>=1.0.1
+BUILDLINK_PKGSRCDIR.Xrandr?=           ../../x11/Xrandr
+
+EVAL_PREFIX+=  BUILDLINK_PREFIX.Xrandr=Xrandr
+BUILDLINK_PREFIX.Xrandr_DEFAULT=       ${LOCALBASE}
+BUILDLINK_FILES.Xrandr+=       include/X11/extensions/Xrandr.h
+BUILDLINK_FILES.Xrandr+=       lib/libXrandr.*
+
+_IS_BUILTIN_XRANDR=    0
+
+USE_X11=       YES
+
+.include "../../x11/randrext/buildlink2.mk"
+.include "../../x11/Xrender/buildlink2.mk"
+
+BUILDLINK_TARGETS+=    Xrandr-buildlink
+
+Xrandr-buildlink: _BUILDLINK_USE
+
+.endif # XRANDR_BUILDLINK2_MK
diff -r 8bf72e8b6dd0 -r dca487ee8c99 x11/Xrandr-mixedcase/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/Xrandr-mixedcase/buildlink3.mk        Thu Dec 04 14:40:39 2003 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2003/12/04 14:40:40 recht Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+XRANDR_BUILDLINK3_MK:= ${XRANDR_BUILDLINK3_MK}+
+
+.if !empty(XRANDR_BUILDLINK3_MK:M\+)
+.  include "../../mk/bsd.prefs.mk"
+
+BUILDLINK_DEPENDS.Xrandr?=     Xrandr>=1.0.1
+BUILDLINK_PKGSRCDIR.Xrandr?=   ../../x11/Xrandr
+BUILDLINK_PACKAGES+=           Xrandr
+.endif # XRANDR_BUILDLINK3_MK
+
+.if !defined(BUILDLINK_IS_BUILTIN.Xrender)
+BUILDLINK_IS_BUILTIN.Xrender=  NO
+.endif
+
+.if !empty(BUILDLINK_DEPTH:M\+)
+BUILDLINK_DEPENDS+=            Xrandr
+.endif
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:C/\+$//}
diff -r 8bf72e8b6dd0 -r dca487ee8c99 x11/Xrandr-mixedcase/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/Xrandr-mixedcase/distinfo     Thu Dec 04 14:40:39 2003 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/04 14:40:40 recht Exp $
+
+SHA1 (libXrandr-1.0.1.tar.bz2) = a3d4f06d1a64abaf8f5dd6f0125d4bc5aebdcdeb
+Size (libXrandr-1.0.1.tar.bz2) = 186940 bytes
+SHA1 (patch-aa) = 60bad0adb9477f314058fe3143a6c594822b52e6
diff -r 8bf72e8b6dd0 -r dca487ee8c99 x11/Xrandr-mixedcase/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/Xrandr-mixedcase/patches/patch-aa     Thu Dec 04 14:40:39 2003 +0000
@@ -0,0 +1,62 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/12/04 14:40:40 recht Exp $
+
+--- configure.orig     2003-11-10 08:49:16.000000000 +0100
++++ configure
+@@ -19800,7 +19800,7 @@ fi
+ 
+ fi
+ 
+-      X_LIBS="$X_LIBS -lX11"
++      X_LIBS="$X_LIBS -lXrender -lXext -lX11"
+ 
+       if test "x$no_x" = "xyes"
+       then
+@@ -19928,23 +19928,23 @@ fi
+   else
+      PKG_CONFIG_MIN_VERSION=0.9.0
+      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+-        echo "$as_me:$LINENO: checking for randr >= $RANDR_VERSION xext xrender" >&5
+-echo $ECHO_N "checking for randr >= $RANDR_VERSION xext xrender... $ECHO_C" >&6
++        echo "$as_me:$LINENO: checking for randr >= $RANDR_VERSION xrender" >&5
++echo $ECHO_N "checking for randr >= $RANDR_VERSION xrender... $ECHO_C" >&6
+ 
+-        if $PKG_CONFIG --exists "randr >= $RANDR_VERSION xext xrender" ; then
++        if $PKG_CONFIG --exists "randr >= $RANDR_VERSION xrender" ; then
+             echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+             succeeded=yes
+ 
+             echo "$as_me:$LINENO: checking RANDR_CFLAGS" >&5
+ echo $ECHO_N "checking RANDR_CFLAGS... $ECHO_C" >&6
+-            RANDR_CFLAGS=`$PKG_CONFIG --cflags "randr >= $RANDR_VERSION xext xrender"`
++            RANDR_CFLAGS=`$PKG_CONFIG --cflags "randr >= $RANDR_VERSION xrender"`
+             echo "$as_me:$LINENO: result: $RANDR_CFLAGS" >&5
+ echo "${ECHO_T}$RANDR_CFLAGS" >&6
+ 
+             echo "$as_me:$LINENO: checking RANDR_LIBS" >&5
+ echo $ECHO_N "checking RANDR_LIBS... $ECHO_C" >&6
+-            RANDR_LIBS=`$PKG_CONFIG --libs "randr >= $RANDR_VERSION xext xrender"`
++            RANDR_LIBS=`$PKG_CONFIG --libs "randr >= $RANDR_VERSION xrender"`
+             echo "$as_me:$LINENO: result: $RANDR_LIBS" >&5
+ echo "${ECHO_T}$RANDR_LIBS" >&6
+         else
+@@ -19952,7 +19952,7 @@ echo "${ECHO_T}$RANDR_LIBS" >&6
+             RANDR_LIBS=""
+             ## If we have a custom action on failure, don't print errors, but
+             ## do set a variable so people can do so.
+-            RANDR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "randr >= $RANDR_VERSION xext xrender"`
++            RANDR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "randr >= $RANDR_VERSION xrender"`
+             echo $RANDR_PKG_ERRORS
+         fi
+ 
+@@ -19967,8 +19967,8 @@ echo "${ECHO_T}$RANDR_LIBS" >&6
+   if test $succeeded = yes; then
+      :
+   else
+-     { { echo "$as_me:$LINENO: error: Library requirements (randr >= $RANDR_VERSION xext xrender) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
nonstandard prefix so pkg-config can find them." >&5
+-echo "$as_me: error: Library requirements (randr >= $RANDR_VERSION xext xrender) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix 
so pkg-config can find them." >&2;}
++     { { echo "$as_me:$LINENO: error: Library requirements (randr >= $RANDR_VERSION xrender) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
nonstandard prefix so pkg-config can find them." >&5
++echo "$as_me: error: Library requirements (randr >= $RANDR_VERSION xrender) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so 
pkg-config can find them." >&2;}
+    { (exit 1); exit 1; }; }
+   fi
+ 



Home | Main Index | Thread Index | Old Index