summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/Xrandr-mixedcase/DESCR1
-rw-r--r--x11/Xrandr-mixedcase/Makefile27
-rw-r--r--x11/Xrandr-mixedcase/PLIST8
-rw-r--r--x11/Xrandr-mixedcase/buildlink2.mk26
-rw-r--r--x11/Xrandr-mixedcase/buildlink3.mk22
-rw-r--r--x11/Xrandr-mixedcase/distinfo5
-rw-r--r--x11/Xrandr-mixedcase/patches/patch-aa62
7 files changed, 151 insertions, 0 deletions
diff --git a/x11/Xrandr-mixedcase/DESCR b/x11/Xrandr-mixedcase/DESCR
new file mode 100644
index 00000000000..92d5f2237dc
--- /dev/null
+++ b/x11/Xrandr-mixedcase/DESCR
@@ -0,0 +1 @@
+This package contains the X RandR extension.
diff --git a/x11/Xrandr-mixedcase/Makefile b/x11/Xrandr-mixedcase/Makefile
new file mode 100644
index 00000000000..af4dbf73932
--- /dev/null
+++ b/x11/Xrandr-mixedcase/Makefile
@@ -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
+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 --git a/x11/Xrandr-mixedcase/PLIST b/x11/Xrandr-mixedcase/PLIST
new file mode 100644
index 00000000000..aeaeac52309
--- /dev/null
+++ b/x11/Xrandr-mixedcase/PLIST
@@ -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 --git a/x11/Xrandr-mixedcase/buildlink2.mk b/x11/Xrandr-mixedcase/buildlink2.mk
new file mode 100644
index 00000000000..ddcc02d5227
--- /dev/null
+++ b/x11/Xrandr-mixedcase/buildlink2.mk
@@ -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 --git a/x11/Xrandr-mixedcase/buildlink3.mk b/x11/Xrandr-mixedcase/buildlink3.mk
new file mode 100644
index 00000000000..4c15b9a7df2
--- /dev/null
+++ b/x11/Xrandr-mixedcase/buildlink3.mk
@@ -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 --git a/x11/Xrandr-mixedcase/distinfo b/x11/Xrandr-mixedcase/distinfo
new file mode 100644
index 00000000000..247814ce3d1
--- /dev/null
+++ b/x11/Xrandr-mixedcase/distinfo
@@ -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 --git a/x11/Xrandr-mixedcase/patches/patch-aa b/x11/Xrandr-mixedcase/patches/patch-aa
new file mode 100644
index 00000000000..4155ede1780
--- /dev/null
+++ b/x11/Xrandr-mixedcase/patches/patch-aa
@@ -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
+