summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/gnome-vfs/Makefile5
-rw-r--r--devel/gnome-vfs/pkg-deinstall.in19
-rw-r--r--devel/gnomevfs2/Makefile5
-rw-r--r--devel/gnomevfs2/pkg-deinstall.in19
-rw-r--r--x11/libgnome/Makefile59
-rw-r--r--x11/libgnome/distinfo2
-rw-r--r--x11/libgnome/files/patch-ag22
-rw-r--r--x11/libgnome/files/patch-libgnome::Makefile.in12
-rw-r--r--x11/libgnome/files/patch-libgnome_gnome-program.c70
-rw-r--r--x11/libgnome/pkg-deinstall.in19
-rw-r--r--x11/libgnome/pkg-descr3
-rw-r--r--x11/libgnome/pkg-plist119
12 files changed, 354 insertions, 0 deletions
diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile
index ad1f57636..e0a3399da 100644
--- a/devel/gnome-vfs/Makefile
+++ b/devel/gnome-vfs/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomevfs2
PORTVERSION= 2.9.2
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-vfs/2.9
@@ -32,6 +33,8 @@ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
+PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
+
GCONF_SCHEMAS= desktop_default_applications.schemas \
desktop_gnome_url_handlers.schemas system_dns_sd.schemas \
system_http_proxy.schemas system_smb.schemas
@@ -92,6 +95,8 @@ post-patch:
s|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/libgnomevfs/xdgmime.c \
${WRKSRC}/libgnomevfs/gnome-vfs-mime-info.c
+ @${SED} -e 's|%%X11BASE%%|${X11BASE}|g' \
+ < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
pre-configure:
@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
diff --git a/devel/gnome-vfs/pkg-deinstall.in b/devel/gnome-vfs/pkg-deinstall.in
new file mode 100644
index 000000000..7e289a563
--- /dev/null
+++ b/devel/gnome-vfs/pkg-deinstall.in
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# Restore gconf keys of libgnome.
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+SCHEMAS=%%X11BASE%%/etc/gconf/schemas/desktop_gnome_applications_terminal.schemas
+
+if [ -f ${SCHEMAS} ]; then
+ env GCONF_CONFIG_SOURCE=xml::%%X11BASE%%/etc/gconf/gconf.xml.defaults \
+ %%X11BASE%%/bin/gconftool-2 --makefile-install-rule ${SCHEMAS} \
+ > /dev/null || /usr/bin/true
+fi
+
+exit 0
diff --git a/devel/gnomevfs2/Makefile b/devel/gnomevfs2/Makefile
index ad1f57636..e0a3399da 100644
--- a/devel/gnomevfs2/Makefile
+++ b/devel/gnomevfs2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomevfs2
PORTVERSION= 2.9.2
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-vfs/2.9
@@ -32,6 +33,8 @@ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
+PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
+
GCONF_SCHEMAS= desktop_default_applications.schemas \
desktop_gnome_url_handlers.schemas system_dns_sd.schemas \
system_http_proxy.schemas system_smb.schemas
@@ -92,6 +95,8 @@ post-patch:
s|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/libgnomevfs/xdgmime.c \
${WRKSRC}/libgnomevfs/gnome-vfs-mime-info.c
+ @${SED} -e 's|%%X11BASE%%|${X11BASE}|g' \
+ < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
pre-configure:
@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
diff --git a/devel/gnomevfs2/pkg-deinstall.in b/devel/gnomevfs2/pkg-deinstall.in
new file mode 100644
index 000000000..7e289a563
--- /dev/null
+++ b/devel/gnomevfs2/pkg-deinstall.in
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# Restore gconf keys of libgnome.
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+SCHEMAS=%%X11BASE%%/etc/gconf/schemas/desktop_gnome_applications_terminal.schemas
+
+if [ -f ${SCHEMAS} ]; then
+ env GCONF_CONFIG_SOURCE=xml::%%X11BASE%%/etc/gconf/gconf.xml.defaults \
+ %%X11BASE%%/bin/gconftool-2 --makefile-install-rule ${SCHEMAS} \
+ > /dev/null || /usr/bin/true
+fi
+
+exit 0
diff --git a/x11/libgnome/Makefile b/x11/libgnome/Makefile
new file mode 100644
index 000000000..a25da966a
--- /dev/null
+++ b/x11/libgnome/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for: libgnome
+# Date created: 17 June 1998
+# Whom: Yukihiro Nakai <Nakai@technologist.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libgnome
+PORTVERSION= 2.8.0
+PORTREVISION= 2
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.8
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Libraries for GNOME, a GNU desktop environment
+
+BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
+RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_XPM= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier intlhack esound \
+ gnomevfs2 libxslt
+USE_BISON= yes
+INSTALLS_SHLIB= yes
+USE_LIBTOOL_VER=15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
+
+GCONF_SCHEMAS= desktop_gnome_accessibility_keyboard.schemas \
+ desktop_gnome_accessibility_startup.schemas \
+ desktop_gnome_applications_browser.schemas \
+ desktop_gnome_applications_help_viewer.schemas \
+ desktop_gnome_applications_terminal.schemas \
+ desktop_gnome_applications_window_manager.schemas \
+ desktop_gnome_background.schemas \
+ desktop_gnome_file_views.schemas \
+ desktop_gnome_interface.schemas desktop_gnome_lockdown.schemas \
+ desktop_gnome_peripherals_keyboard.schemas \
+ desktop_gnome_peripherals_mouse.schemas \
+ desktop_gnome_sound.schemas desktop_gnome_thumbnailers.schemas \
+ desktop_gnome_typing_break.schemas
+
+post-patch:
+ @${SED} -e 's|%%X11BASE%%|${X11BASE}|g' \
+ < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e 's|gnome-data po doc|gnome-data po|g' \
+ ${WRKSRC}/Makefile.in
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11/libgnome/distinfo b/x11/libgnome/distinfo
new file mode 100644
index 000000000..0ce1fe747
--- /dev/null
+++ b/x11/libgnome/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/libgnome-2.8.0.tar.bz2) = dab4ecbfa7ec1a2f22d2a48b6b83e937
+SIZE (gnome2/libgnome-2.8.0.tar.bz2) = 1164177
diff --git a/x11/libgnome/files/patch-ag b/x11/libgnome/files/patch-ag
new file mode 100644
index 000000000..f1f04a87f
--- /dev/null
+++ b/x11/libgnome/files/patch-ag
@@ -0,0 +1,22 @@
+
+$FreeBSD: ports/x11/libgnome/files/patch-ag,v 1.12 2004/11/07 22:24:24 marcus Exp $
+
+--- libgnome/gnome-util.c 2002/03/19 17:16:21 1.1
++++ libgnome/gnome-util.c 2002/03/19 17:21:31
+@@ -67,11 +67,11 @@
+ static char *shells [] = {
+ /* 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", NULL
++ "/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::Makefile.in b/x11/libgnome/files/patch-libgnome::Makefile.in
new file mode 100644
index 000000000..5a240a06a
--- /dev/null
+++ b/x11/libgnome/files/patch-libgnome::Makefile.in
@@ -0,0 +1,12 @@
+--- libgnome/Makefile.in.orig Mon May 31 16:33:14 2004
++++ libgnome/Makefile.in Mon May 31 16:33:45 2004
+@@ -211,6 +211,9 @@
+ libgnomeincludedir = $(includedir)/libgnome-2.0/libgnome
+
+ INCLUDES = \
++ -DPREFIX=\""$(PREFIX)"\" \
++ -DLOCALBASE=\""$(LOCALBASE)"\" \
++ -DX11BASE=\""$(X11BASE)"\" \
+ -I.. \
+ -I$(srcdir)/.. \
+ $(WARN_CFLAGS) \
diff --git a/x11/libgnome/files/patch-libgnome_gnome-program.c b/x11/libgnome/files/patch-libgnome_gnome-program.c
new file mode 100644
index 000000000..9dd33f9c2
--- /dev/null
+++ b/x11/libgnome/files/patch-libgnome_gnome-program.c
@@ -0,0 +1,70 @@
+--- libgnome/gnome-program.c.orig Mon May 31 16:37:02 2004
++++ libgnome/gnome-program.c Mon May 31 16:37:05 2004
+@@ -895,17 +895,17 @@
+ attr_rel = "";
+ break;
+ case GNOME_FILE_DOMAIN_DATADIR:
+- prefix_rel = "/share";
++ prefix_rel = "/share/gnome";
+ attr_name = GNOME_PARAM_GNOME_DATADIR;
+ attr_rel = "";
+ break;
+ case GNOME_FILE_DOMAIN_SOUND:
+- prefix_rel = "/share/sounds";
++ prefix_rel = "/share/gnome/sounds";
+ attr_name = GNOME_PARAM_GNOME_DATADIR;
+ attr_rel = "/sounds";
+ break;
+ case GNOME_FILE_DOMAIN_PIXMAP:
+- prefix_rel = "/share/pixmaps";
++ prefix_rel = "/share/gnome/pixmaps";
+ attr_name = GNOME_PARAM_GNOME_DATADIR;
+ attr_rel = "/pixmaps";
+ break;
+@@ -917,7 +917,7 @@
+ case GNOME_FILE_DOMAIN_HELP:
+ prefix_rel = "/share/gnome/help";
+ attr_name = GNOME_PARAM_GNOME_DATADIR;
+- attr_rel = "/gnome/help";
++ attr_rel = "/help";
+ break;
+ case GNOME_FILE_DOMAIN_APP_LIBDIR:
+ prefix_rel = "/lib";
+@@ -926,19 +926,19 @@
+ search_path = FALSE;
+ break;
+ case GNOME_FILE_DOMAIN_APP_DATADIR:
+- prefix_rel = "/share";
++ prefix_rel = "/share/gnome";
+ attr_name = GNOME_PARAM_APP_DATADIR;
+ attr_rel = "";
+ search_path = FALSE;
+ break;
+ case GNOME_FILE_DOMAIN_APP_SOUND:
+- prefix_rel = "/share/sounds";
++ prefix_rel = "/share/gnome/sounds";
+ attr_name = GNOME_PARAM_APP_DATADIR;
+ attr_rel = "/sounds";
+ search_path = FALSE;
+ break;
+ case GNOME_FILE_DOMAIN_APP_PIXMAP:
+- prefix_rel = "/share/pixmaps";
++ prefix_rel = "/share/gnome/pixmaps";
+ attr_name = GNOME_PARAM_APP_DATADIR;
+ attr_rel = "/pixmaps";
+ search_path = FALSE;
+@@ -959,12 +959,12 @@
+
+ attr_name = GNOME_PARAM_APP_DATADIR;
+
+- len = strlen ("/gnome/help/") +
++ len = strlen ("/help/") +
+ strlen (program->_priv->app_id) + 1;
+ attr_rel = g_alloca (len);
+ if (attr_rel == NULL /* bad things */)
+ return NULL;
+- g_snprintf (attr_rel, len, "/gnome/help/%s", program->_priv->app_id);
++ g_snprintf (attr_rel, len, "/help/%s", program->_priv->app_id);
+
+ search_path = FALSE;
+ break;
diff --git a/x11/libgnome/pkg-deinstall.in b/x11/libgnome/pkg-deinstall.in
new file mode 100644
index 000000000..0ac463865
--- /dev/null
+++ b/x11/libgnome/pkg-deinstall.in
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# Restore gconf keys of gnomevfs2.
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+SCHEMAS=%%X11BASE%%/etc/gconf/schemas/desktop_default_applications.schemas
+
+if [ -f ${SCHEMAS} ]; then
+ env GCONF_CONFIG_SOURCE=xml::%%X11BASE%%/etc/gconf/gconf.xml.defaults \
+ %%X11BASE%%/bin/gconftool-2 --makefile-install-rule ${SCHEMAS} \
+ > /dev/null || /usr/bin/true
+fi
+
+exit 0
diff --git a/x11/libgnome/pkg-descr b/x11/libgnome/pkg-descr
new file mode 100644
index 000000000..b78aaf2cc
--- /dev/null
+++ b/x11/libgnome/pkg-descr
@@ -0,0 +1,3 @@
+LibGnome provides the non-GUI backend for the GNOME environment.
+
+WWW: http://www.gnome.org/
diff --git a/x11/libgnome/pkg-plist b/x11/libgnome/pkg-plist
new file mode 100644
index 000000000..c4423ffe1
--- /dev/null
+++ b/x11/libgnome/pkg-plist
@@ -0,0 +1,119 @@
+bin/gnome-open
+etc/sound/events/gnome-2.soundlist
+etc/sound/events/gtk-events-2.soundlist
+include/libgnome-2.0/libgnome/gnome-config.h
+include/libgnome-2.0/libgnome/gnome-exec.h
+include/libgnome-2.0/libgnome/gnome-gconf.h
+include/libgnome-2.0/libgnome/gnome-help.h
+include/libgnome-2.0/libgnome/gnome-i18n.h
+include/libgnome-2.0/libgnome/gnome-init.h
+include/libgnome-2.0/libgnome/gnome-macros.h
+include/libgnome-2.0/libgnome/gnome-program.h
+include/libgnome-2.0/libgnome/gnome-score.h
+include/libgnome-2.0/libgnome/gnome-sound.h
+include/libgnome-2.0/libgnome/gnome-triggers.h
+include/libgnome-2.0/libgnome/gnome-url.h
+include/libgnome-2.0/libgnome/gnome-util.h
+include/libgnome-2.0/libgnome/libgnome.h
+include/libgnome-2.0/libgnome/libgnometypebuiltins.h
+lib/bonobo/monikers/libmoniker_extra_2.so
+lib/libgnome-2.a
+lib/libgnome-2.so
+lib/libgnome-2.so.800
+libdata/bonobo/servers/GNOME_Moniker_std.server
+libdata/pkgconfig/libgnome-2.0.pc
+share/doc/libgnome/ch01s02.html
+share/doc/libgnome/ch01s03.html
+share/doc/libgnome/ch01s04.html
+share/doc/libgnome/ch01s05.html
+share/doc/libgnome/home.png
+share/doc/libgnome/index.html
+share/doc/libgnome/index.sgml
+share/doc/libgnome/left.png
+share/doc/libgnome/libgnome-gnome-config.html
+share/doc/libgnome/libgnome-gnome-exec.html
+share/doc/libgnome/libgnome-gnome-gconf.html
+share/doc/libgnome/libgnome-gnome-help.html
+share/doc/libgnome/libgnome-gnome-i18n.html
+share/doc/libgnome/libgnome-gnome-init.html
+share/doc/libgnome/libgnome-gnome-program.html
+share/doc/libgnome/libgnome-gnome-score.html
+share/doc/libgnome/libgnome-gnome-sound.html
+share/doc/libgnome/libgnome-gnome-triggers.html
+share/doc/libgnome/libgnome-gnome-url.html
+share/doc/libgnome/libgnome-gnome-util.html
+share/doc/libgnome/libgnome-libgnometypebuiltins.html
+share/doc/libgnome/libgnome.devhelp
+share/doc/libgnome/libgnome.html
+share/doc/libgnome/right.png
+share/doc/libgnome/style.css
+share/doc/libgnome/up.png
+share/locale/am/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ar/LC_MESSAGES/libgnome-2.0.mo
+share/locale/az/LC_MESSAGES/libgnome-2.0.mo
+share/locale/be/LC_MESSAGES/libgnome-2.0.mo
+share/locale/bg/LC_MESSAGES/libgnome-2.0.mo
+share/locale/bn/LC_MESSAGES/libgnome-2.0.mo
+share/locale/bs/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ca/LC_MESSAGES/libgnome-2.0.mo
+share/locale/cs/LC_MESSAGES/libgnome-2.0.mo
+share/locale/cy/LC_MESSAGES/libgnome-2.0.mo
+share/locale/da/LC_MESSAGES/libgnome-2.0.mo
+share/locale/de/LC_MESSAGES/libgnome-2.0.mo
+share/locale/el/LC_MESSAGES/libgnome-2.0.mo
+share/locale/en_CA/LC_MESSAGES/libgnome-2.0.mo
+share/locale/en_GB/LC_MESSAGES/libgnome-2.0.mo
+share/locale/es/LC_MESSAGES/libgnome-2.0.mo
+share/locale/et/LC_MESSAGES/libgnome-2.0.mo
+share/locale/eu/LC_MESSAGES/libgnome-2.0.mo
+share/locale/fa/LC_MESSAGES/libgnome-2.0.mo
+share/locale/fi/LC_MESSAGES/libgnome-2.0.mo
+share/locale/fr/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ga/LC_MESSAGES/libgnome-2.0.mo
+share/locale/gl/LC_MESSAGES/libgnome-2.0.mo
+share/locale/gu/LC_MESSAGES/libgnome-2.0.mo
+share/locale/he/LC_MESSAGES/libgnome-2.0.mo
+share/locale/hi/LC_MESSAGES/libgnome-2.0.mo
+share/locale/hr/LC_MESSAGES/libgnome-2.0.mo
+share/locale/hu/LC_MESSAGES/libgnome-2.0.mo
+share/locale/id/LC_MESSAGES/libgnome-2.0.mo
+share/locale/is/LC_MESSAGES/libgnome-2.0.mo
+share/locale/it/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ja/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ko/LC_MESSAGES/libgnome-2.0.mo
+share/locale/lt/LC_MESSAGES/libgnome-2.0.mo
+share/locale/lv/LC_MESSAGES/libgnome-2.0.mo
+share/locale/mk/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ml/LC_MESSAGES/libgnome-2.0.mo
+share/locale/mn/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ms/LC_MESSAGES/libgnome-2.0.mo
+share/locale/nb/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ne/LC_MESSAGES/libgnome-2.0.mo
+share/locale/nl/LC_MESSAGES/libgnome-2.0.mo
+share/locale/nn/LC_MESSAGES/libgnome-2.0.mo
+share/locale/no/LC_MESSAGES/libgnome-2.0.mo
+share/locale/pa/LC_MESSAGES/libgnome-2.0.mo
+share/locale/pl/LC_MESSAGES/libgnome-2.0.mo
+share/locale/pt/LC_MESSAGES/libgnome-2.0.mo
+share/locale/pt_BR/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ro/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ru/LC_MESSAGES/libgnome-2.0.mo
+share/locale/sk/LC_MESSAGES/libgnome-2.0.mo
+share/locale/sl/LC_MESSAGES/libgnome-2.0.mo
+share/locale/sq/LC_MESSAGES/libgnome-2.0.mo
+share/locale/sr/LC_MESSAGES/libgnome-2.0.mo
+share/locale/sr@Latn/LC_MESSAGES/libgnome-2.0.mo
+share/locale/sr@ije/LC_MESSAGES/libgnome-2.0.mo
+share/locale/sv/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ta/LC_MESSAGES/libgnome-2.0.mo
+share/locale/th/LC_MESSAGES/libgnome-2.0.mo
+share/locale/tr/LC_MESSAGES/libgnome-2.0.mo
+share/locale/uk/LC_MESSAGES/libgnome-2.0.mo
+share/locale/vi/LC_MESSAGES/libgnome-2.0.mo
+share/locale/wa/LC_MESSAGES/libgnome-2.0.mo
+share/locale/yi/LC_MESSAGES/libgnome-2.0.mo
+share/locale/zh_CN/LC_MESSAGES/libgnome-2.0.mo
+share/locale/zh_TW/LC_MESSAGES/libgnome-2.0.mo
+@dirrm share/doc/libgnome
+@dirrm include/libgnome-2.0/libgnome
+@dirrm include/libgnome-2.0