pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/renderext Initial import of renderext-0.9:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e10da1fcc969
branches:  trunk
changeset: 500968:e10da1fcc969
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Oct 15 16:36:57 2005 +0000

description:
Initial import of renderext-0.9:

This package contains header files and documentation for the X
render extension (renderext).  Library and server implementations
are separate.

The previous version of this package was called "render".

diffstat:

 x11/renderext/DESCR         |   3 +
 x11/renderext/Makefile      |  20 ++++++++++
 x11/renderext/PLIST         |   8 ++++
 x11/renderext/buildlink3.mk |  19 +++++++++
 x11/renderext/builtin.mk    |  87 +++++++++++++++++++++++++++++++++++++++++++++
 x11/renderext/distinfo      |   5 ++
 6 files changed, 142 insertions(+), 0 deletions(-)

diffs (166 lines):

diff -r e7f4ad005951 -r e10da1fcc969 x11/renderext/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/renderext/DESCR       Sat Oct 15 16:36:57 2005 +0000
@@ -0,0 +1,3 @@
+This package contains header files and documentation for the X
+render extension (renderext).  Library and server implementations
+are separate.
diff -r e7f4ad005951 -r e10da1fcc969 x11/renderext/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/renderext/Makefile    Sat Oct 15 16:36:57 2005 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/15 16:36:57 wiz Exp $
+
+DISTNAME=              renderext-0.9
+CATEGORIES=            x11
+MASTER_SITES=          http://xlibs.freedesktop.org/release/
+
+MAINTAINER=            tech-pkg%NetBSD.org@localhost
+HOMEPAGE=              http://pdx.freedesktop.org/software/fontconfig/releases/
+COMMENT=               Headers for X11 render extension
+
+CONFLICTS=             Xrender<0.8 render-[0-9]*
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_LANGUAGES=         # empty
+USE_PKGLOCALEDIR=      yes
+PKGCONFIG_OVERRIDE+=   render.pc.in
+GNU_CONFIGURE=         yes
+
+.include "../../mk/bsd.pkg.mk"
diff -r e7f4ad005951 -r e10da1fcc969 x11/renderext/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/renderext/PLIST       Sat Oct 15 16:36:57 2005 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/15 16:36:57 wiz Exp $
+include/X11/extensions/render.h
+include/X11/extensions/renderproto.h
+lib/pkgconfig/render.pc
+share/doc/render/library
+share/doc/render/protocol
+@dirrm share/doc/render
+@unexec ${RMDIR} %D/include/X11/extensions 2>/dev/null || ${TRUE}
diff -r e7f4ad005951 -r e10da1fcc969 x11/renderext/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/renderext/buildlink3.mk       Sat Oct 15 16:36:57 2005 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/15 16:36:57 wiz Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+RENDEREXT_BUILDLINK3_MK:=      ${RENDEREXT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    renderext
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nrenderext}
+BUILDLINK_PACKAGES+=   renderext
+
+.if !empty(RENDEREXT_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.renderext+=  renderext>=0.9
+BUILDLINK_PKGSRCDIR.renderext?=        ../../x11/renderext
+BUILDLINK_DEPMETHOD.renderext?=        build
+.endif # RENDEREXT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r e7f4ad005951 -r e10da1fcc969 x11/renderext/builtin.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/renderext/builtin.mk  Sat Oct 15 16:36:57 2005 +0000
@@ -0,0 +1,87 @@
+# $NetBSD: builtin.mk,v 1.1.1.1 2005/10/15 16:36:57 wiz Exp $
+
+BUILTIN_PKG:=  renderext
+
+BUILTIN_FIND_FILES_VAR:=       H_RENDER
+BUILTIN_FIND_FILES.H_RENDER=   ${X11BASE}/include/X11/extensions/render.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.renderext)
+IS_BUILTIN.renderext=  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 exists(${H_RENDER})
+IS_BUILTIN.renderext=  yes
+.  endif
+.endif
+MAKEVARS+=      IS_BUILTIN.renderext
+
+###
+### If there is a built-in implementation, then set BUILTIN_PKG.<pkg> to
+### a package name to represent the built-in package.
+###
+.if !defined(BUILTIN_PKG.renderext) && \
+    !empty(IS_BUILTIN.renderext:M[yY][eE][sS]) && \
+    exists(${H_RENDER})
+BUILTIN_VERSION.renderext!=                                            \
+       ${AWK} '/\#define[      ]*RENDER_MAJOR/ { M = $$3 }             \
+               /\#define[      ]*RENDER_MINOR/ { m = "."$$3 }          \
+               END { printf "%s%s\n", M, m }'                          \
+               ${H_RENDER}
+BUILTIN_PKG.renderext= renderext-${BUILTIN_VERSION.renderext}
+.endif
+MAKEVARS+=     BUILTIN_PKG.renderext
+
+###
+### 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.renderext)
+.  if ${PREFER.renderext} == "pkgsrc"
+USE_BUILTIN.renderext= no
+.  else
+USE_BUILTIN.renderext= ${IS_BUILTIN.renderext}
+.    if defined(BUILTIN_PKG.renderext) && \
+        !empty(IS_BUILTIN.renderext:M[yY][eE][sS])
+USE_BUILTIN.renderext= yes
+.      for _dep_ in ${BUILDLINK_DEPENDS.renderext}
+.        if !empty(USE_BUILTIN.renderext:M[yY][eE][sS])
+USE_BUILTIN.renderext!=                                                        \
+       if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.renderext:Q}; then \
+               ${ECHO} yes;                                            \
+       else                                                            \
+               ${ECHO} no;                                             \
+       fi
+.        endif
+.      endfor
+.    endif
+.  endif  # PREFER.renderext
+.endif
+MAKEVARS+=     USE_BUILTIN.renderext
+
+###
+### The section below only applies if we are not including this file
+### solely to determine whether a built-in implementation exists.
+###
+CHECK_BUILTIN.renderext?=      no
+.if !empty(CHECK_BUILTIN.renderext:M[nN][oO])
+
+.  if !empty(USE_BUILTIN.renderext:M[nN][oO])
+BUILDLINK_DEPENDS.renderext+=  renderext>=0.9
+.  endif
+
+.  if !empty(USE_BUILTIN.renderext:M[yY][eE][sS])
+BUILDLINK_PREFIX.renderext=    ${X11BASE}
+.    include "../../mk/x11.buildlink3.mk"
+.    include "../../mk/x11.builtin.mk"
+.  endif
+
+.endif # CHECK_BUILTIN.renderext
diff -r e7f4ad005951 -r e10da1fcc969 x11/renderext/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/renderext/distinfo    Sat Oct 15 16:36:57 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/15 16:36:57 wiz Exp $
+
+SHA1 (renderext-0.9.tar.gz) = b54a40d5af86602750994714b2823517525237a8
+RMD160 (renderext-0.9.tar.gz) = 7830a8edd701cbc7fb7b3a08cbcb6db0ff1be767
+Size (renderext-0.9.tar.gz) = 63716 bytes



Home | Main Index | Thread Index | Old Index