diff options
author | Frank J. Laszlo <laszlof@FreeBSD.org> | 2007-09-06 20:00:58 +0000 |
---|---|---|
committer | Frank J. Laszlo <laszlof@FreeBSD.org> | 2007-09-06 20:00:58 +0000 |
commit | 12e6537916fcc74687b03276188b85bfd71235fe (patch) | |
tree | c4b3ab21ffff858f706b971e144b3e1392a8a7e4 /x11-wm | |
parent | c187b6c278a0f7987a7ec5a06737a5c89198fcd0 (diff) | |
download | ports-12e6537916fcc74687b03276188b85bfd71235fe.tar.gz ports-12e6537916fcc74687b03276188b85bfd71235fe.zip |
The gconf backend for CompizConfig. It uses the
Gnome configuration system and provides integration into the Gnome desktop
environment.
WWW: http://forums.compiz-fusion.org/
PR: ports/116137
Submitted by: Robert Noland <rnoland@2hip.net>
Notes
Notes:
svn path=/head/; revision=198925
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/compizconfig-backend-gconf/Makefile | 34 | ||||
-rw-r--r-- | x11-wm/compizconfig-backend-gconf/distinfo | 3 | ||||
-rw-r--r-- | x11-wm/compizconfig-backend-gconf/files/patch-settings-backend-gconf.c | 25 | ||||
-rw-r--r-- | x11-wm/compizconfig-backend-gconf/pkg-descr | 5 | ||||
-rw-r--r-- | x11-wm/compizconfig-backend-gconf/pkg-plist | 4 |
6 files changed, 72 insertions, 0 deletions
diff --git a/x11-wm/Makefile b/x11-wm/Makefile index d4c28d75bc4b..1c199e4500dd 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -28,6 +28,7 @@ SUBDIR += boxtools SUBDIR += clementine SUBDIR += compiz + SUBDIR += compizconfig-backend-gconf SUBDIR += compiz-fusion-plugins-extra SUBDIR += compiz-fusion-plugins-main SUBDIR += compiz-fusion-plugins-unsupported diff --git a/x11-wm/compizconfig-backend-gconf/Makefile b/x11-wm/compizconfig-backend-gconf/Makefile new file mode 100644 index 000000000000..077f728301e8 --- /dev/null +++ b/x11-wm/compizconfig-backend-gconf/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: compizconfig-backend-gconf +# Date created: 2007-08-17 +# Whom: Robert Noland <rnoland@2hip.net> +# +# $FreeBSD$ +# + +PORTNAME= compizconfig-backend-gconf +PORTVERSION= 0.5.2 +#PORTREVISION= 0 +CATEGORIES= x11-wm +MASTER_SITES= http://releases.compiz-fusion.org/${PORTVERSION}/ + +MAINTAINER= rnoland@2hip.net +COMMENT= The gconf backend for CompizConfig + +BUILD_DEPENDS= \ + ${LOCALBASE}/libdata/pkgconfig/compiz.pc:${PORTSDIR}/x11-wm/compiz \ + ${LOCALBASE}/libdata/pkgconfig/libcompizconfig.pc:${PORTSDIR}/x11-wm/libcompizconfig + +USE_BZIP2= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool:15 + +USE_GNOME= gnomehack glib20 gconf2 + +post-patch: + @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \ + ${WRKSRC}/settings-backend/gconf.c \ + +.include <bsd.port.pre.mk> +.include <bsd.port.post.mk> diff --git a/x11-wm/compizconfig-backend-gconf/distinfo b/x11-wm/compizconfig-backend-gconf/distinfo new file mode 100644 index 000000000000..7d709a889814 --- /dev/null +++ b/x11-wm/compizconfig-backend-gconf/distinfo @@ -0,0 +1,3 @@ +MD5 (compizconfig-backend-gconf-0.5.2.tar.bz2) = f64426ae486e62b5d475ab4e40d9d0d3 +SHA256 (compizconfig-backend-gconf-0.5.2.tar.bz2) = 9c62533019683cbf6811e8d71feb4ea7ef1e4e37e44b5a63f701b2b25d12d4c1 +SIZE (compizconfig-backend-gconf-0.5.2.tar.bz2) = 236234 diff --git a/x11-wm/compizconfig-backend-gconf/files/patch-settings-backend-gconf.c b/x11-wm/compizconfig-backend-gconf/files/patch-settings-backend-gconf.c new file mode 100644 index 000000000000..9dba9b832ec1 --- /dev/null +++ b/x11-wm/compizconfig-backend-gconf/files/patch-settings-backend-gconf.c @@ -0,0 +1,25 @@ +--- settings-backend/gconf.c.orig 2007-08-14 05:26:13.000000000 -0400 ++++ settings-backend/gconf.c 2007-08-17 21:44:10.000000000 -0400 +@@ -28,7 +28,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-#include <malloc.h> ++#include <stdlib.h> + #include <string.h> + #include <dirent.h> + +@@ -441,7 +441,12 @@ + + if (strcmp (token + len - prefixLen, prefix[i]) == 0) + { +- char *buffer = strndup (token, len - prefixLen); ++ char *buffer; ++ if ((buffer = (char *) malloc(len - prefixLen + 1)) != NULL) { ++ bzero (buffer, len - prefixLen + 1); ++ strncpy (buffer, token, len - prefixLen); ++ } ++ + if (buffer) + { + setting = ccsFindSetting (plugin, buffer, diff --git a/x11-wm/compizconfig-backend-gconf/pkg-descr b/x11-wm/compizconfig-backend-gconf/pkg-descr new file mode 100644 index 000000000000..9ccf3d4936b7 --- /dev/null +++ b/x11-wm/compizconfig-backend-gconf/pkg-descr @@ -0,0 +1,5 @@ +The gconf backend for CompizConfig. It uses the +Gnome configuration system and provides integration into the Gnome desktop +environment. + +WWW: http://forums.compiz-fusion.org/ diff --git a/x11-wm/compizconfig-backend-gconf/pkg-plist b/x11-wm/compizconfig-backend-gconf/pkg-plist new file mode 100644 index 000000000000..e9ffd1f6b21e --- /dev/null +++ b/x11-wm/compizconfig-backend-gconf/pkg-plist @@ -0,0 +1,4 @@ +@comment $FreeBSD$ +lib/compizconfig/backends/libgconf.so +lib/compizconfig/backends/libgconf.la +lib/compizconfig/backends/libgconf.a |