From c86abe0dc6093d7ac2e1f835b9f58a6fcbdd8a72 Mon Sep 17 00:00:00 2001
From: jmcneill <jmcneill>
Date: Mon, 12 May 2008 10:38:01 +0000
Subject: 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.
---
 devel/libcompizconfig/DESCR            |  5 +++++
 devel/libcompizconfig/Makefile         | 27 +++++++++++++++++++++++++++
 devel/libcompizconfig/PLIST            | 14 ++++++++++++++
 devel/libcompizconfig/buildlink3.mk    | 22 ++++++++++++++++++++++
 devel/libcompizconfig/distinfo         |  7 +++++++
 devel/libcompizconfig/patches/patch-aa | 15 +++++++++++++++
 devel/libcompizconfig/patches/patch-ab | 13 +++++++++++++
 7 files changed, 103 insertions(+)
 create mode 100644 devel/libcompizconfig/DESCR
 create mode 100644 devel/libcompizconfig/Makefile
 create mode 100644 devel/libcompizconfig/PLIST
 create mode 100644 devel/libcompizconfig/buildlink3.mk
 create mode 100644 devel/libcompizconfig/distinfo
 create mode 100644 devel/libcompizconfig/patches/patch-aa
 create mode 100644 devel/libcompizconfig/patches/patch-ab

(limited to 'devel/libcompizconfig')

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
+ 
-- 
cgit v1.2.3