summaryrefslogtreecommitdiffstats
path: root/x11/libgnome/files
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2008-06-05 15:52:51 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2008-06-05 15:52:51 +0800
commit16674f9bf547d2c126cb4f761aa383f07eeddd1c (patch)
treeab89ea356c88e7e400635c6ab507530735ca2306 /x11/libgnome/files
parent5b05025a6fa0fd2f2784d3c1f4c85f37dbe40a6d (diff)
downloadmarcuscom-ports-16674f9bf547d2c126cb4f761aa383f07eeddd1c.tar
marcuscom-ports-16674f9bf547d2c126cb4f761aa383f07eeddd1c.tar.gz
marcuscom-ports-16674f9bf547d2c126cb4f761aa383f07eeddd1c.tar.bz2
marcuscom-ports-16674f9bf547d2c126cb4f761aa383f07eeddd1c.tar.lz
marcuscom-ports-16674f9bf547d2c126cb4f761aa383f07eeddd1c.tar.xz
marcuscom-ports-16674f9bf547d2c126cb4f761aa383f07eeddd1c.tar.zst
marcuscom-ports-16674f9bf547d2c126cb4f761aa383f07eeddd1c.zip
Update to 2.23.3.
Uncomment USE_BZIP2 git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10989 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/libgnome/files')
-rw-r--r--x11/libgnome/files/patch-libgnome::Makefile.in11
-rw-r--r--x11/libgnome/files/patch-libgnome_gnome-util.c19
-rw-r--r--x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in9
-rw-r--r--x11/libgnome/files/pkg-deinstall.in20
4 files changed, 59 insertions, 0 deletions
diff --git a/x11/libgnome/files/patch-libgnome::Makefile.in b/x11/libgnome/files/patch-libgnome::Makefile.in
new file mode 100644
index 000000000..efac650ba
--- /dev/null
+++ b/x11/libgnome/files/patch-libgnome::Makefile.in
@@ -0,0 +1,11 @@
+--- libgnome/Makefile.in.orig Tue May 29 22:16:13 2007
++++ libgnome/Makefile.in Tue May 29 22:16:58 2007
+@@ -280,6 +280,8 @@
+ LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+ libgnomeincludedir = $(includedir)/libgnome-2.0/libgnome
+ INCLUDES = \
++ -DPREFIX=\""$(PREFIX)"\" \
++ -DLOCALBASE=\""$(LOCALBASE)"\" \
+ -I.. \
+ -I$(srcdir)/.. \
+ $(WARN_CFLAGS) \
diff --git a/x11/libgnome/files/patch-libgnome_gnome-util.c b/x11/libgnome/files/patch-libgnome_gnome-util.c
new file mode 100644
index 000000000..1a7e49a84
--- /dev/null
+++ b/x11/libgnome/files/patch-libgnome_gnome-util.c
@@ -0,0 +1,19 @@
+--- libgnome/gnome-util.c.orig Mon Jul 10 15:25:22 2006
++++ libgnome/gnome-util.c Mon Jul 10 15:25:55 2006
+@@ -79,11 +79,11 @@
+ const char shells [][14] = {
+ /* Note that on some systems shells can also
+ * be installed in /usr/bin */
+- "/bin/bash", "/usr/bin/bash",
+- "/bin/zsh", "/usr/bin/zsh",
+- "/bin/tcsh", "/usr/bin/tcsh",
+- "/bin/ksh", "/usr/bin/ksh",
+- "/bin/csh", "/bin/sh"
++ LOCALBASE "/bin/bash",
++ LOCALBASE "/bin/zsh",
++ LOCALBASE "/bin/ksh",
++ 0
++
+ };
+
+ if (geteuid () == getuid () &&
diff --git a/x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in b/x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in
new file mode 100644
index 000000000..8d376a4b8
--- /dev/null
+++ b/x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in
@@ -0,0 +1,9 @@
+--- libgnome/libgnome-2.0.pc.in.orig Mon Apr 18 16:54:21 2005
++++ libgnome/libgnome-2.0.pc.in Mon Apr 18 16:54:41 2005
+@@ -8,5 +8,5 @@
+ Description: libgnome
+ Requires: glib-2.0 ORBit-2.0 libbonobo-2.0 gconf-2.0 gnome-vfs-2.0
+ Version: @VERSION@
+-Libs: -L${libdir} -lgnome-2 -lpopt
++Libs: -L${libdir} -L%%LOCALBASE%%/lib -lgnome-2 -lpopt
+ Cflags: -I${includedir}/libgnome-2.0
diff --git a/x11/libgnome/files/pkg-deinstall.in b/x11/libgnome/files/pkg-deinstall.in
new file mode 100644
index 000000000..4d9c7d319
--- /dev/null
+++ b/x11/libgnome/files/pkg-deinstall.in
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# $FreeBSD: ports/x11/libgnome/files/pkg-deinstall.in,v 1.7 2008/03/24 03:50:32 marcus Exp $
+# $MCom: ports/x11/libgnome/files/pkg-deinstall.in,v 1.14 2008/01/28 17:41:05 mezz Exp $
+#
+# Restore gconf keys of gnomevfs2.
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+SCHEMAS=%%LOCALBASE%%/etc/gconf/schemas/desktop_default_applications.schemas
+
+if [ -f ${SCHEMAS} ]; then
+ env GCONF_CONFIG_SOURCE=xml::%%LOCALBASE%%/etc/gconf/gconf.xml.defaults \
+ %%LOCALBASE%%/bin/gconftool-2 --makefile-install-rule ${SCHEMAS} \
+ > /dev/null || /usr/bin/true
+fi
+
+exit 0