pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/glitz Glitz is a portable 2D graphics library...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d17098de3564
branches:  trunk
changeset: 474295:d17098de3564
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 27 12:11:43 2004 +0000

description:
Glitz is a portable 2D graphics library that uses OpenGL to render hardware
accelerated graphics.  It supports many of the latest OpenGL features, such as
efficient off-screen rendering using pbuffers. Rendering can be carried out by
arbitrary OpenGL layers, thanks to glitz's extensible backend system.

Glitz is designed to match the X Render Extension semantics and provides
a general way for accelerating this imaging model.  Glitz can be used as
a stand-alone layer above OpenGL but is also designed to act as a backend for
cairo, providing it with OpenGL accelerated output.

diffstat:

 graphics/glitz/DESCR            |   9 +++++++++
 graphics/glitz/Makefile         |  18 ++++++++++++++++++
 graphics/glitz/PLIST            |  15 +++++++++++++++
 graphics/glitz/buildlink3.mk    |  20 ++++++++++++++++++++
 graphics/glitz/distinfo         |   5 +++++
 graphics/glitz/patches/patch-aa |  22 ++++++++++++++++++++++
 6 files changed, 89 insertions(+), 0 deletions(-)

diffs (113 lines):

diff -r 8aa6201dd8cb -r d17098de3564 graphics/glitz/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glitz/DESCR      Tue Apr 27 12:11:43 2004 +0000
@@ -0,0 +1,9 @@
+Glitz is a portable 2D graphics library that uses OpenGL to render hardware
+accelerated graphics.  It supports many of the latest OpenGL features, such as
+efficient off-screen rendering using pbuffers. Rendering can be carried out by
+arbitrary OpenGL layers, thanks to glitz's extensible backend system.
+
+Glitz is designed to match the X Render Extension semantics and provides
+a general way for accelerating this imaging model.  Glitz can be used as
+a stand-alone layer above OpenGL but is also designed to act as a backend for
+cairo, providing it with OpenGL accelerated output.
diff -r 8aa6201dd8cb -r d17098de3564 graphics/glitz/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glitz/Makefile   Tue Apr 27 12:11:43 2004 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/27 12:11:43 adam Exp $
+
+DISTNAME=      glitz-0.1.0
+CATEGORIES=    graphics
+MASTER_SITES=  http://cairographics.org/snapshots/
+
+MAINTAINER=    adam%NetBSD.org@localhost
+HOMEPAGE=      http://freedesktop.org/Software/glitz
+COMMENT=       OpenGL 2D graphics library and a backend for gl output in cairo
+
+USE_BUILDLINK3=                yes
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+PKGCONFIG_OVERRIDE=    glitz-agl.pc.in glitz-glx.pc.in glitz.pc.in
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 8aa6201dd8cb -r d17098de3564 graphics/glitz/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glitz/PLIST      Tue Apr 27 12:11:43 2004 +0000
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/27 12:11:43 adam Exp $
+include/glitz-glx.h
+include/glitz.h
+lib/libglitz-glx.a
+lib/libglitz-glx.la
+lib/libglitz-glx.so
+lib/libglitz-glx.so.1
+lib/libglitz-glx.so.1.0
+lib/libglitz.a
+lib/libglitz.la
+lib/libglitz.so
+lib/libglitz.so.1
+lib/libglitz.so.1.0
+lib/pkgconfig/glitz-glx.pc
+lib/pkgconfig/glitz.pc
diff -r 8aa6201dd8cb -r d17098de3564 graphics/glitz/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glitz/buildlink3.mk      Tue Apr 27 12:11:43 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/27 12:11:43 adam Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+GLITZ_BUILDLINK3_MK:=  ${GLITZ_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    glitz
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nglitz}
+BUILDLINK_PACKAGES+=   glitz
+
+.if !empty(GLITZ_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.glitz+=      glitz>=0.1.0
+BUILDLINK_PKGSRCDIR.glitz?=    ../../graphics/glitz
+.endif # GLITZ_BUILDLINK3_MK
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 8aa6201dd8cb -r d17098de3564 graphics/glitz/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glitz/distinfo   Tue Apr 27 12:11:43 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/27 12:11:43 adam Exp $
+
+SHA1 (glitz-0.1.0.tar.gz) = c5ccc71accc5c4bbe4ab9481b5942b7ca73110e8
+Size (glitz-0.1.0.tar.gz) = 351383 bytes
+SHA1 (patch-aa) = 83197e31db8871c4a04ca5062aad8f4b5e2ee2c5
diff -r 8aa6201dd8cb -r d17098de3564 graphics/glitz/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glitz/patches/patch-aa   Tue Apr 27 12:11:43 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/27 12:11:44 adam Exp $
+
+--- src/Makefile.in.orig       2004-04-27 13:58:44.000000000 +0000
++++ src/Makefile.in
+@@ -207,7 +207,7 @@ libglitz_la_LIBADD = -lm
+ 
+ @GLITZ_BUILD_GLX_BACKEND_TRUE@libglitz_glx_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+ @GLITZ_BUILD_GLX_BACKEND_TRUE@libglitz_glx_la_CFLAGS = $(GLX_CFLAGS)
+-@GLITZ_BUILD_GLX_BACKEND_TRUE@libglitz_glx_la_LIBADD = -lglitz $(GLX_LIBS)
++@GLITZ_BUILD_GLX_BACKEND_TRUE@libglitz_glx_la_LIBADD = libglitz.la $(GLX_LIBS)
+ 
+ @GLITZ_BUILD_AGL_BACKEND_TRUE@libglitz_agl_la_SOURCES = \
+ @GLITZ_BUILD_AGL_BACKEND_TRUE@        glitz.h \
+@@ -224,7 +224,7 @@ libglitz_la_LIBADD = -lm
+ 
+ @GLITZ_BUILD_AGL_BACKEND_TRUE@libglitz_agl_la_LDFLAGS = -version-info @VERSION_INFO@
+ @GLITZ_BUILD_AGL_BACKEND_TRUE@libglitz_agl_la_CFLAGS = $(AGL_CFLAGS)
+-@GLITZ_BUILD_AGL_BACKEND_TRUE@libglitz_agl_la_LIBADD = -lglitz $(AGL_LIBS)
++@GLITZ_BUILD_AGL_BACKEND_TRUE@libglitz_agl_la_LIBADD = libglitz.la $(AGL_LIBS)
+ subdir = src
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs



Home | Main Index | Thread Index | Old Index