diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-29 01:41:05 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-29 01:41:05 +0800 |
commit | 7d65182761b460dd162060a55e7a633e5b810776 (patch) | |
tree | 3ba155d2aff1a6e8ddfdb9ad41aff95f1f8bd990 /x11/libgnome/files | |
parent | 581e2c341e2f51b9eae4302e9cd67ea991e13c24 (diff) | |
download | marcuscom-ports-7d65182761b460dd162060a55e7a633e5b810776.tar marcuscom-ports-7d65182761b460dd162060a55e7a633e5b810776.tar.gz marcuscom-ports-7d65182761b460dd162060a55e7a633e5b810776.tar.bz2 marcuscom-ports-7d65182761b460dd162060a55e7a633e5b810776.tar.lz marcuscom-ports-7d65182761b460dd162060a55e7a633e5b810776.tar.xz marcuscom-ports-7d65182761b460dd162060a55e7a633e5b810776.tar.zst marcuscom-ports-7d65182761b460dd162060a55e7a633e5b810776.zip |
- Update to 2.21.90.
- Remove libxslt dependency, libxml and libxslt were removed about four years
ago (2.3.6). :o
- USE_XLIB/USE_XPM -> USE_XORG=xpm. Does it still needs xpm? I can't find
anything in source and there has no xpm file.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10245 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/libgnome/files')
-rw-r--r-- | x11/libgnome/files/patch-libgnome::Makefile.in | 11 | ||||
-rw-r--r-- | x11/libgnome/files/patch-libgnome_gnome-util.c | 19 | ||||
-rw-r--r-- | x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in | 9 | ||||
-rw-r--r-- | x11/libgnome/files/pkg-deinstall.in | 20 |
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..d24f2e43c --- /dev/null +++ b/x11/libgnome/files/pkg-deinstall.in @@ -0,0 +1,20 @@ +#!/bin/sh +# +# $FreeBSD$ +# $MCom$ +# +# 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 |