aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/beryl-plugins
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2007-05-20 04:36:56 +0800
committerflz <flz@FreeBSD.org>2007-05-20 04:36:56 +0800
commit87f4d471fb27b9547c1a0de221b51f4c31684157 (patch)
treedfc4d7ae0fdd043d231bab6f4e98fccbbad14665 /x11-wm/beryl-plugins
parent5ae66b41b712e5f34c78308a97f7511fc0b1539e (diff)
downloadfreebsd-ports-gnome-87f4d471fb27b9547c1a0de221b51f4c31684157.tar.gz
freebsd-ports-gnome-87f4d471fb27b9547c1a0de221b51f4c31684157.tar.zst
freebsd-ports-gnome-87f4d471fb27b9547c1a0de221b51f4c31684157.zip
- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
Diffstat (limited to 'x11-wm/beryl-plugins')
-rw-r--r--x11-wm/beryl-plugins/Makefile38
-rw-r--r--x11-wm/beryl-plugins/distinfo3
-rw-r--r--x11-wm/beryl-plugins/files/patch-src-thumbnail.c26
-rw-r--r--x11-wm/beryl-plugins/pkg-descr8
-rw-r--r--x11-wm/beryl-plugins/pkg-plist150
5 files changed, 225 insertions, 0 deletions
diff --git a/x11-wm/beryl-plugins/Makefile b/x11-wm/beryl-plugins/Makefile
new file mode 100644
index 000000000000..fdfc9e713a16
--- /dev/null
+++ b/x11-wm/beryl-plugins/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: beryl-plugins
+# Date created: Oct 29 2006
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= beryl-plugins
+PORTVERSION= 0.2.1
+PORTREVISION= 1
+CATEGORIES= x11-wm
+MASTER_SITES= http://releases.beryl-project.org/${PORTVERSION}/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= flz/beryl/
+
+MAINTAINER= rnoland@2hip.net
+COMMENT= Plugins for Beryl Composite/Window Manager
+
+# XXX - Might depends on graphics/libsvg-cairo instead.
+LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/beryl.pc:${PORTSDIR}/x11-wm/beryl-core \
+ ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+GNU_CONFIGURE= yes
+USE_GL= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= glib20 librsvg2
+USE_XORG= glproto
+USE_GETTEXT= yes
+USE_LDCONFIG= yes
+
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+
+.include <bsd.port.mk>
diff --git a/x11-wm/beryl-plugins/distinfo b/x11-wm/beryl-plugins/distinfo
new file mode 100644
index 000000000000..45699fd2e9de
--- /dev/null
+++ b/x11-wm/beryl-plugins/distinfo
@@ -0,0 +1,3 @@
+MD5 (beryl-plugins-0.2.1.tar.bz2) = 3d7d13dd42aea48bba5be7cfe6c7f371
+SHA256 (beryl-plugins-0.2.1.tar.bz2) = 8dcbc086db511695f29951536dfbd6d3b586f56d56027c9df6b0c53664373451
+SIZE (beryl-plugins-0.2.1.tar.bz2) = 2603366
diff --git a/x11-wm/beryl-plugins/files/patch-src-thumbnail.c b/x11-wm/beryl-plugins/files/patch-src-thumbnail.c
new file mode 100644
index 000000000000..bb5591e0eaa7
--- /dev/null
+++ b/x11-wm/beryl-plugins/files/patch-src-thumbnail.c
@@ -0,0 +1,26 @@
+--- src/thumbnail.c.orig Wed Jan 31 18:22:05 2007
++++ src/thumbnail.c Sat Feb 10 11:46:43 2007
+@@ -219,7 +219,10 @@
+ return NULL;
+ }
+
+- retval = strndup (val, nitems);
++ if ((retval = (char *) malloc(nitems + 1)) != NULL) {
++ bzero (retval, nitems + 1);
++ strncpy (retval, val, nitems);
++ }
+
+ XFree (val);
+
+@@ -234,7 +237,10 @@
+ text.nitems = 0;
+ if (XGetTextProperty (d->display, id, &text, atom))
+ {
+- retval = strndup ((char *)text.value,text.nitems);
++ if ((retval = (char *) malloc(text.nitems + 1)) != NULL) {
++ bzero (retval, text.nitems + 1);
++ strncpy (retval, (char *)text.value, text.nitems);
++ }
+ if (text.value)
+ XFree (text.value);
+ }
diff --git a/x11-wm/beryl-plugins/pkg-descr b/x11-wm/beryl-plugins/pkg-descr
new file mode 100644
index 000000000000..7c8ccf304de0
--- /dev/null
+++ b/x11-wm/beryl-plugins/pkg-descr
@@ -0,0 +1,8 @@
+This is the plugins package for beryl. Requires beryl-core
+package to run and beryl-core development package if you
+want to build/hack plugins.
+
+WWW: http://www.beryl-project.org/
+
+- Florent Thoumie
+flz@FreeBSD.org
diff --git a/x11-wm/beryl-plugins/pkg-plist b/x11-wm/beryl-plugins/pkg-plist
new file mode 100644
index 000000000000..b4f28a41e62c
--- /dev/null
+++ b/x11-wm/beryl-plugins/pkg-plist
@@ -0,0 +1,150 @@
+lib/beryl/libcrashhandler.so
+lib/beryl/libcrashhandler.la
+lib/beryl/libcrashhandler.a
+lib/beryl/libdecoration.so
+lib/beryl/libdecoration.la
+lib/beryl/libdecoration.a
+lib/beryl/libwobbly.so
+lib/beryl/libwobbly.la
+lib/beryl/libwobbly.a
+lib/beryl/libanimation.so
+lib/beryl/libanimation.la
+lib/beryl/libanimation.a
+lib/beryl/libfade.so
+lib/beryl/libfade.la
+lib/beryl/libfade.a
+lib/beryl/libcube.so
+lib/beryl/libcube.la
+lib/beryl/libcube.a
+lib/beryl/librotate.so
+lib/beryl/librotate.la
+lib/beryl/lib3d.a
+lib/beryl/librotate.a
+lib/beryl/libinputzoom.so
+lib/beryl/libinputzoom.la
+lib/beryl/libinputzoom.a
+lib/beryl/libscale.so
+lib/beryl/libscale.la
+lib/beryl/libscale.a
+lib/beryl/libmove.so
+lib/beryl/libmove.la
+lib/beryl/libmove.a
+lib/beryl/libresize.so
+lib/beryl/libresize.la
+lib/beryl/libresize.a
+lib/beryl/libplace.so
+lib/beryl/libplace.la
+lib/beryl/libplace.a
+lib/beryl/libswitcher.so
+lib/beryl/libswitcher.la
+lib/beryl/libswitcher.a
+lib/beryl/libtext.so
+lib/beryl/libtext.la
+lib/beryl/libtext.a
+lib/beryl/libwater.so
+lib/beryl/libwater.la
+lib/beryl/libwater.a
+lib/beryl/libtrailfocus2.so
+lib/beryl/libtrailfocus2.la
+lib/beryl/libtrailfocus2.a
+lib/beryl/libneg.so
+lib/beryl/libneg.la
+lib/beryl/libneg.a
+lib/beryl/libput.so
+lib/beryl/libput.la
+lib/beryl/libput.a
+lib/beryl/libscreenshot.so
+lib/beryl/libscreenshot.la
+lib/beryl/libscreenshot.a
+lib/beryl/libstate.so
+lib/beryl/libstate.la
+lib/beryl/libstate.a
+lib/beryl/libblurfx.so
+lib/beryl/libblurfx.la
+lib/beryl/libblurfx.a
+lib/beryl/libsplash.so
+lib/beryl/libsplash.la
+lib/beryl/libsplash.a
+lib/beryl/libbench.so
+lib/beryl/libbench.la
+lib/beryl/libbench.a
+lib/beryl/libclone.so
+lib/beryl/libclone.la
+lib/beryl/libclone.a
+lib/beryl/lib3d.so
+lib/beryl/lib3d.la
+lib/beryl/libsvg.so
+lib/beryl/libsvg.la
+lib/beryl/libsvg.a
+lib/beryl/libpng.so
+lib/beryl/libpng.la
+lib/beryl/libpng.a
+lib/beryl/libopacify.so
+lib/beryl/libopacify.la
+lib/beryl/libopacify.a
+lib/beryl/libthumbnail.so
+lib/beryl/libthumbnail.la
+lib/beryl/libthumbnail.a
+lib/beryl/libsnap.so
+lib/beryl/libsnap.la
+lib/beryl/libsnap.a
+lib/beryl/libfadedesktop.so
+lib/beryl/libfadedesktop.la
+lib/beryl/libfadedesktop.a
+lib/beryl/libimgjpeg.so
+lib/beryl/libimgjpeg.la
+lib/beryl/libimgjpeg.a
+lib/beryl/libannotate.so
+lib/beryl/libannotate.la
+lib/beryl/libannotate.a
+lib/beryl/libdbus.so
+lib/beryl/libdbus.la
+lib/beryl/libdbus.a
+share/locale/es/LC_MESSAGES/beryl-plugins.mo
+share/locale/fr/LC_MESSAGES/beryl-plugins.mo
+share/locale/nl/LC_MESSAGES/beryl-plugins.mo
+share/locale/pt_BR/LC_MESSAGES/beryl-plugins.mo
+share/locale/pt_PT/LC_MESSAGES/beryl-plugins.mo
+share/locale/zh_CN/LC_MESSAGES/beryl-plugins.mo
+share/locale/zh_TW/LC_MESSAGES/beryl-plugins.mo
+share/locale/ca/LC_MESSAGES/beryl-plugins.mo
+share/locale/es_AR/LC_MESSAGES/beryl-plugins.mo
+share/locale/hu_HU/LC_MESSAGES/beryl-plugins.mo
+share/locale/it_IT/LC_MESSAGES/beryl-plugins.mo
+share/locale/ja/LC_MESSAGES/beryl-plugins.mo
+share/locale/ko/LC_MESSAGES/beryl-plugins.mo
+share/locale/nb_NO/LC_MESSAGES/beryl-plugins.mo
+share/locale/pl_PL/LC_MESSAGES/beryl-plugins.mo
+share/locale/sv_FI/LC_MESSAGES/beryl-plugins.mo
+share/locale/sv_SE/LC_MESSAGES/beryl-plugins.mo
+share/locale/zh_HK/LC_MESSAGES/beryl-plugins.mo
+share/beryl/cubecaps.png
+share/beryl/emboss.png
+share/beryl/reflection_default.png
+share/beryl/splash_background.png
+share/beryl/splash_logo.png
+share/beryl/snowflake2.png
+@dirrmtry lib/beryl
+@dirrmtry share/beryl
+@dirrmtry share/locale/ca_ES/LC_MESSAGES
+@dirrmtry share/locale/ca_ES
+@dirrmtry share/locale/es_AR/LC_MESSAGES
+@dirrmtry share/locale/es_AR
+@dirrmtry share/locale/hu_HU/LC_MESSAGES
+@dirrmtry share/locale/hu_HU
+@dirrmtry share/locale/it_IT/LC_MESSAGES
+@dirrmtry share/locale/it_IT
+@dirrmtry share/locale/ja_JP/LC_MESSAGES
+@dirrmtry share/locale/ja_JP
+@dirrmtry share/locale/ko_KR/LC_MESSAGES
+@dirrmtry share/locale/ko_KR
+@dirrmtry share/locale/nb_NO/LC_MESSAGES
+@dirrmtry share/locale/nb_NO
+@dirrmtry share/locale/pl_PL/LC_MESSAGES
+@dirrmtry share/locale/pl_PL
+@dirrmtry share/locale/sv_FI/LC_MESSAGES
+@dirrmtry share/locale/sv_FI
+@dirrmtry share/locale/sv_SE/LC_MESSAGES
+@dirrmtry share/locale/sv_SE
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK