pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xextproto Import xextproto from pkgsrc-wip.
details: https://anonhg.NetBSD.org/pkgsrc/rev/5634aa0e3661
branches: trunk
changeset: 511631:5634aa0e3661
user: reed <reed%pkgsrc.org@localhost>
date: Tue Apr 18 17:12:12 2006 +0000
description:
Import xextproto from pkgsrc-wip.
This provides the XExt extension headers from modular Xorg X11.
This will replace the xextensions package.
diffstat:
x11/xextproto/DESCR | 1 +
x11/xextproto/Makefile | 20 ++++++++++
x11/xextproto/PLIST | 40 ++++++++++++++++++++
x11/xextproto/buildlink3.mk | 20 ++++++++++
x11/xextproto/builtin.mk | 89 +++++++++++++++++++++++++++++++++++++++++++++
x11/xextproto/distinfo | 5 ++
6 files changed, 175 insertions(+), 0 deletions(-)
diffs (199 lines):
diff -r 0f8ddadf437d -r 5634aa0e3661 x11/xextproto/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xextproto/DESCR Tue Apr 18 17:12:12 2006 +0000
@@ -0,0 +1,1 @@
+This provides the XExt extension headers from modular Xorg X11.
diff -r 0f8ddadf437d -r 5634aa0e3661 x11/xextproto/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xextproto/Makefile Tue Apr 18 17:12:12 2006 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/18 17:12:12 reed Exp $
+#
+
+DISTNAME= xextproto-7.0.2
+CATEGORIES= x11
+MASTER_SITES= http://xorg.freedesktop.org/releases/individual/proto/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= lars.nordlund%hem.utfors.se@localhost
+HOMEPAGE= http://xorg.freedesktop.org/
+COMMENT= XExt extension headers from X.org
+
+CONFLICTS+= xextensions-[0-9]*
+#CONFLICTS+= xorg-libs-[0-9]*
+
+GNU_CONFIGURE= yes
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/xextproto.pc.in
+USE_LANGUAGES= # empty
+
+.include "../../mk/bsd.pkg.mk"
diff -r 0f8ddadf437d -r 5634aa0e3661 x11/xextproto/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xextproto/PLIST Tue Apr 18 17:12:12 2006 +0000
@@ -0,0 +1,40 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/18 17:12:12 reed Exp $
+include/X11/extensions/MITMisc.h
+include/X11/extensions/XEVI.h
+include/X11/extensions/XEVIstr.h
+include/X11/extensions/XLbx.h
+include/X11/extensions/XShm.h
+include/X11/extensions/XTest.h
+include/X11/extensions/Xag.h
+include/X11/extensions/Xagsrv.h
+include/X11/extensions/Xagstr.h
+include/X11/extensions/Xcup.h
+include/X11/extensions/Xcupstr.h
+include/X11/extensions/Xdbe.h
+include/X11/extensions/Xdbeproto.h
+include/X11/extensions/Xext.h
+include/X11/extensions/dpms.h
+include/X11/extensions/dpmsstr.h
+include/X11/extensions/extutil.h
+include/X11/extensions/lbxbuf.h
+include/X11/extensions/lbxbufstr.h
+include/X11/extensions/lbxdeltastr.h
+include/X11/extensions/lbximage.h
+include/X11/extensions/lbxopts.h
+include/X11/extensions/lbxstr.h
+include/X11/extensions/lbxzlib.h
+include/X11/extensions/mitmiscstr.h
+include/X11/extensions/multibuf.h
+include/X11/extensions/multibufst.h
+include/X11/extensions/security.h
+include/X11/extensions/securstr.h
+include/X11/extensions/shape.h
+include/X11/extensions/shapestr.h
+include/X11/extensions/shmstr.h
+include/X11/extensions/sync.h
+include/X11/extensions/syncstr.h
+include/X11/extensions/xtestext1.h
+include/X11/extensions/xteststr.h
+lib/pkgconfig/xextproto.pc
+@comment @dirrm include/X11/extensions
+@comment @dirrm include/X11
diff -r 0f8ddadf437d -r 5634aa0e3661 x11/xextproto/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xextproto/buildlink3.mk Tue Apr 18 17:12:12 2006 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/04/18 17:12:12 reed Exp $
+
+BUILDLINK_DEPMETHOD.xextproto?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+XEXTPROTO_BUILDLINK3_MK:= ${XEXTPROTO_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= xextproto
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxextproto}
+BUILDLINK_PACKAGES+= xextproto
+
+.if !empty(XEXTPROTO_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.xextproto+= xextproto>=7.0
+BUILDLINK_PKGSRCDIR.xextproto?= ../../x11/xextproto
+.endif # XEXTPROTO_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 0f8ddadf437d -r 5634aa0e3661 x11/xextproto/builtin.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xextproto/builtin.mk Tue Apr 18 17:12:12 2006 +0000
@@ -0,0 +1,89 @@
+# $NetBSD: builtin.mk,v 1.1.1.1 2006/04/18 17:12:12 reed Exp $
+
+BUILTIN_PKG:= xextproto
+
+BUILTIN_FIND_FILES_VAR:= H_XEXTPROTO
+BUILTIN_FIND_FILES.H_XEXTPROTO= \
+ ${X11BASE}/include/X11/extensions/extutil.h
+
+.include "../../mk/buildlink3/bsd.builtin.mk"
+
+###
+### Determine if there is a built-in implementation of the package and
+### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").
+###
+.if !defined(IS_BUILTIN.xextproto)
+IS_BUILTIN.xextproto= no
+#
+# Here, we skip checking whether the files are under ${LOCALBASE} since
+# we'll consider this X11 package to be built-in even if it's a part
+# of one of the pkgsrc-installed X11 distributions.
+#
+. if empty(H_XEXTPROTO:M__nonexistent__)
+IS_BUILTIN.xextproto= yes
+. endif
+.endif
+MAKEVARS+= IS_BUILTIN.xextproto
+
+###
+### Determine whether we should use the built-in implementation if it
+### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
+###
+.if !defined(USE_BUILTIN.xextproto)
+. if ${PREFER.xextproto} == "pkgsrc"
+USE_BUILTIN.xextproto= no
+. else
+USE_BUILTIN.xextproto= ${IS_BUILTIN.xextproto}
+. if defined(BUILTIN_PKG.xextproto) && \
+ !empty(IS_BUILTIN.xextproto:M[yY][eE][sS])
+USE_BUILTIN.xextproto= yes
+. for _dep_ in ${BUILDLINK_API_DEPENDS.xextproto}
+. if !empty(USE_BUILTIN.xextproto:M[yY][eE][sS])
+USE_BUILTIN.xextproto!= \
+ if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.xextproto:Q}; then \
+ ${ECHO} yes; \
+ else \
+ ${ECHO} no; \
+ fi
+. endif
+. endfor
+. endif
+. endif # PREFER.xextproto
+.endif
+MAKEVARS+= USE_BUILTIN.xextproto
+
+###
+### The section below only applies if we are not including this file
+### solely to determine whether a built-in implementation exists.
+###
+CHECK_BUILTIN.xextproto?= no
+.if !empty(CHECK_BUILTIN.xextproto:M[nN][oO])
+
+. if !empty(USE_BUILTIN.xextproto:M[yY][eE][sS])
+BUILDLINK_PREFIX.xextproto= ${X11BASE}
+. include "../../mk/x11.buildlink3.mk"
+. include "../../mk/x11.builtin.mk"
+. endif
+
+# If we are using the builtin version, check whether it has a xextproto.pc
+# file or not. If the latter, generate a fake one.
+. if !empty(USE_BUILTIN.xextproto:M[Yy][Ee][Ss])
+BUILDLINK_TARGETS+= xextproto-fake-pc
+
+xextproto-fake-pc:
+ ${_PKG_SILENT}${_PKG_DEBUG} \
+ src=${BUILDLINK_PREFIX.xextproto}/lib/pkgconfig/xextproto.pc \
+ dst=${BUILDLINK_DIR}/lib/pkgconfig/xextproto.pc; \
+ ${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig; \
+ if ${TEST} -f $${src}; then \
+ ${LN} -sf $${src} $${dst}; \
+ else \
+ { ${ECHO} "Name: XExtensions"; \
+ ${ECHO} "Description: Sundry X extension headers"; \
+ ${ECHO} "Version: 1.0.1"; \
+ ${ECHO} "Cflags: -I${BUILDLINK_PREFIX.xextproto}/include"; \
+ } >$${dst}; \
+ fi
+. endif
+
+.endif # CHECK_BUILTIN.xextproto
diff -r 0f8ddadf437d -r 5634aa0e3661 x11/xextproto/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xextproto/distinfo Tue Apr 18 17:12:12 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/18 17:12:12 reed Exp $
+
+SHA1 (xextproto-7.0.2.tar.bz2) = 724c82cb9f393ae3cf71a178c328608b17ccccac
+RMD160 (xextproto-7.0.2.tar.bz2) = d1f6132065cc41d622cbce967a087f2f8e4d2a0e
+Size (xextproto-7.0.2.tar.bz2) = 68323 bytes
Home |
Main Index |
Thread Index |
Old Index