summaryrefslogtreecommitdiff
path: root/devel/libcompizconfig
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2008-05-12 10:38:01 +0000
committerjmcneill <jmcneill>2008-05-12 10:38:01 +0000
commitc86abe0dc6093d7ac2e1f835b9f58a6fcbdd8a72 (patch)
tree2a6d335d19c38785221367a3cdbff749848bfb67 /devel/libcompizconfig
parent4c2e572d7b68b7af945da5c08fbd2f6e90551a2a (diff)
downloadpkgsrc-c86abe0dc6093d7ac2e1f835b9f58a6fcbdd8a72.tar.gz
Import libcompizconfig-0.6.0:
Compiz is a compositing window manager that uses 3D graphics acceleration via OpenGL. It provides various new graphical effects and features on any desktop environment, including Gnome and KDE. This package contains a library for the compiz configuration backend.
Diffstat (limited to 'devel/libcompizconfig')
-rw-r--r--devel/libcompizconfig/DESCR5
-rw-r--r--devel/libcompizconfig/Makefile27
-rw-r--r--devel/libcompizconfig/PLIST14
-rw-r--r--devel/libcompizconfig/buildlink3.mk22
-rw-r--r--devel/libcompizconfig/distinfo7
-rw-r--r--devel/libcompizconfig/patches/patch-aa15
-rw-r--r--devel/libcompizconfig/patches/patch-ab13
7 files changed, 103 insertions, 0 deletions
diff --git a/devel/libcompizconfig/DESCR b/devel/libcompizconfig/DESCR
new file mode 100644
index 00000000000..c00534477f9
--- /dev/null
+++ b/devel/libcompizconfig/DESCR
@@ -0,0 +1,5 @@
+Compiz is a compositing window manager that uses 3D graphics acceleration
+via OpenGL. It provides various new graphical effects and features on
+any desktop environment, including Gnome and KDE.
+
+This package contains a library for the compiz configuration backend.
diff --git a/devel/libcompizconfig/Makefile b/devel/libcompizconfig/Makefile
new file mode 100644
index 00000000000..5829e956149
--- /dev/null
+++ b/devel/libcompizconfig/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/05/12 10:38:01 jmcneill Exp $
+#
+
+DISTNAME= libcompizconfig-0.6.0
+CATEGORIES= devel gnome
+MASTER_SITES= http://releases.compiz-fusion.org/0.6.0/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.compiz-fusion.org/
+COMMENT= Configuration backend for compiz
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config perl
+
+PKG_SYSCONFSUBDIR?= compizconfig
+EGDIR= ${PREFIX}/share/examples/compizconfig
+CONF_FILES+= ${EGDIR}/config ${PKG_SYSCONFDIR}/config
+
+PKGCONFIG_OVERRIDE= libcompizconfig.pc.in
+
+pre-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../wm/compiz/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libcompizconfig/PLIST b/devel/libcompizconfig/PLIST
new file mode 100644
index 00000000000..9d6e00d930e
--- /dev/null
+++ b/devel/libcompizconfig/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/05/12 10:38:01 jmcneill Exp $
+include/compizconfig/ccs-backend.h
+include/compizconfig/ccs.h
+lib/compiz/libccp.la
+lib/compizconfig/backends/libini.la
+lib/libcompizconfig.la
+lib/pkgconfig/libcompizconfig.pc
+share/compizconfig/global.xml
+share/examples/compizconfig/config
+@dirrm share/examples/compizconfig
+@dirrm share/compizconfig
+@dirrm lib/compizconfig/backends
+@dirrm lib/compizconfig
+@dirrm include/compizconfig
diff --git a/devel/libcompizconfig/buildlink3.mk b/devel/libcompizconfig/buildlink3.mk
new file mode 100644
index 00000000000..6a333b6b466
--- /dev/null
+++ b/devel/libcompizconfig/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/05/12 10:38:01 jmcneill Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBCOMPIZCONFIG_BUILDLINK3_MK:= ${LIBCOMPIZCONFIG_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libcompizconfig
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcompizconfig}
+BUILDLINK_PACKAGES+= libcompizconfig
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libcompizconfig
+
+.if !empty(LIBCOMPIZCONFIG_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.libcompizconfig+= libcompizconfig>=0.6.0
+BUILDLINK_ABI_DEPENDS.libcompizconfig?= libcompizconfig>=0.6.0
+BUILDLINK_PKGSRCDIR.libcompizconfig?= ../../devel/libcompizconfig
+.endif # LIBCOMPIZCONFIG_BUILDLINK3_MK
+
+.include "../../textproc/libxml2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/libcompizconfig/distinfo b/devel/libcompizconfig/distinfo
new file mode 100644
index 00000000000..945ed5c98e0
--- /dev/null
+++ b/devel/libcompizconfig/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/05/12 10:38:01 jmcneill Exp $
+
+SHA1 (libcompizconfig-0.6.0.tar.gz) = c7b1e9c113de5efcea6d4d24fa2c18dd2b5b69ab
+RMD160 (libcompizconfig-0.6.0.tar.gz) = 415ce28c18fdd8f85ca3e6b3aa68ec485ea98cca
+Size (libcompizconfig-0.6.0.tar.gz) = 430209 bytes
+SHA1 (patch-aa) = 04ce01b4ca33a1358998bd11a0b56e3f44870192
+SHA1 (patch-ab) = d23fe219edb631cd3d959a2b23a706b5829e643e
diff --git a/devel/libcompizconfig/patches/patch-aa b/devel/libcompizconfig/patches/patch-aa
new file mode 100644
index 00000000000..9bfa60ac27e
--- /dev/null
+++ b/devel/libcompizconfig/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/05/12 10:38:01 jmcneill Exp $
+
+--- src/main.c.orig 2008-05-12 06:16:43.000000000 -0400
++++ src/main.c
+@@ -38,6 +38,10 @@
+ #include "ccs-private.h"
+ #include "iniparser.h"
+
++#ifndef RTLD_NODELETE
++#define RTLD_NODELETE 0
++#endif
++
+ Bool basicMetadata = FALSE;
+
+ void
diff --git a/devel/libcompizconfig/patches/patch-ab b/devel/libcompizconfig/patches/patch-ab
new file mode 100644
index 00000000000..b8a1b5ac37e
--- /dev/null
+++ b/devel/libcompizconfig/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/05/12 10:38:01 jmcneill Exp $
+
+--- config/Makefile.in.orig 2008-05-12 06:21:33.000000000 -0400
++++ config/Makefile.in 2008-05-12 06:26:00.000000000 -0400
+@@ -214,7 +214,7 @@
+ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-globalconfigdir = $(sysconfdir)/compizconfig
++globalconfigdir = ${prefix}/share/examples/compizconfig
+ globalconfig_DATA = \
+ config
+