summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/libgnome/Makefile67
-rw-r--r--x11/libgnome/distinfo3
-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
-rw-r--r--x11/libgnome/pkg-descr3
-rw-r--r--x11/libgnome/pkg-plist170
8 files changed, 302 insertions, 0 deletions
diff --git a/x11/libgnome/Makefile b/x11/libgnome/Makefile
new file mode 100644
index 000000000..67a36b7bd
--- /dev/null
+++ b/x11/libgnome/Makefile
@@ -0,0 +1,67 @@
+# New ports collection makefile for: libgnome
+# Date created: 17 June 1998
+# Whom: Yukihiro Nakai <Nakai@technologist.com>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= libgnome
+PORTVERSION= 2.30.0
+PORTREVISION?= 0
+CATEGORIES= x11 gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Libraries for GNOME, a GNU desktop environment
+
+USE_BZIP2= yes
+
+.if !defined(REFERENCE_PORT)
+
+BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
+RUN_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
+
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack esound libbonobo \
+ gnomevfs2 ltverhack referencehack
+USE_BISON= build
+USE_XORG= xpm
+USE_LDCONFIG= yes
+USE_AUTOTOOLS= libtool:22
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+SUB_FILES= pkg-deinstall
+
+MAN7= gnome-options.7
+
+GCONF_SCHEMAS= desktop_gnome_accessibility_keyboard.schemas \
+ desktop_gnome_accessibility_startup.schemas \
+ desktop_gnome_applications_at_mobility.schemas \
+ desktop_gnome_applications_at_visual.schemas \
+ desktop_gnome_applications_browser.schemas \
+ desktop_gnome_applications_office.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_thumbnail_cache.schemas \
+ desktop_gnome_thumbnailers.schemas \
+ desktop_gnome_typing_break.schemas
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
+ ${WRKSRC}/libgnome/libgnome-2.0.pc.in
+ @${REINPLACE_CMD} -e '/^$$/d' ${WRKSRC}/po/POTFILES.in
+
+.include <bsd.port.mk>
+
+.endif
diff --git a/x11/libgnome/distinfo b/x11/libgnome/distinfo
new file mode 100644
index 000000000..25b5f1151
--- /dev/null
+++ b/x11/libgnome/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/libgnome-2.30.0.tar.bz2) = 1f85adc40b242b953c0e96ad017c2616
+SHA256 (gnome2/libgnome-2.30.0.tar.bz2) = 3ed932b94f16614cb03c7661f39b574845970c6ce3ca46e46338409283856f1f
+SIZE (gnome2/libgnome-2.30.0.tar.bz2) = 1736034
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..77ebb6e94
--- /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.10 2009/11/28 20:06:15 marcus Exp $
+# $MCom: ports/x11/libgnome/files/pkg-deinstall.in,v 1.23 2009/09/26 13:42:02 marcus 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
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..8acd7b317
--- /dev/null
+++ b/x11/libgnome/pkg-plist
@@ -0,0 +1,170 @@
+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.a
+lib/bonobo/monikers/libmoniker_extra_2.la
+lib/bonobo/monikers/libmoniker_extra_2.so
+lib/libgnome-2.a
+lib/libgnome-2.la
+lib/libgnome-2.so
+lib/libgnome-2.so.0
+libdata/bonobo/servers/GNOME_Moniker_std.server
+libdata/pkgconfig/libgnome-2.0.pc
+share/gnome-background-properties/gnome-default.xml
+share/locale/am/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ar/LC_MESSAGES/libgnome-2.0.mo
+share/locale/as/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ast/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/bn_IN/LC_MESSAGES/libgnome-2.0.mo
+share/locale/br/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/ca@valencia/LC_MESSAGES/libgnome-2.0.mo
+share/locale/crh/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/dz/LC_MESSAGES/libgnome-2.0.mo
+share/locale/el/LC_MESSAGES/libgnome-2.0.mo
+share/locale/en@shaw/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/eo/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/fur/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/ka/LC_MESSAGES/libgnome-2.0.mo
+share/locale/kn/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ko/LC_MESSAGES/libgnome-2.0.mo
+share/locale/ku/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/mai/LC_MESSAGES/libgnome-2.0.mo
+share/locale/mg/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/mr/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/nds/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/oc/LC_MESSAGES/libgnome-2.0.mo
+share/locale/or/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/rw/LC_MESSAGES/libgnome-2.0.mo
+share/locale/si/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@latin/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/te/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/tt/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/xh/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_HK/LC_MESSAGES/libgnome-2.0.mo
+share/locale/zh_TW/LC_MESSAGES/libgnome-2.0.mo
+share/pixmaps/backgrounds/gnome/background-default.jpg
+@dirrmtry share/pixmaps/backgrounds/gnome
+@dirrmtry share/pixmaps/backgrounds
+@dirrmtry share/gnome-background-properties
+@dirrm include/libgnome-2.0/libgnome
+@dirrm include/libgnome-2.0
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/yi/LC_MESSAGES
+@dirrmtry share/locale/yi
+@dirrmtry share/locale/xh/LC_MESSAGES
+@dirrmtry share/locale/xh
+@dirrmtry share/locale/tt/LC_MESSAGES
+@dirrmtry share/locale/tt
+@dirrmtry share/locale/te/LC_MESSAGES
+@dirrmtry share/locale/te
+@dirrmtry share/locale/sr@latin/LC_MESSAGES
+@dirrmtry share/locale/sr@latin
+@dirrmtry share/locale/sr@ije/LC_MESSAGES
+@dirrmtry share/locale/sr@ije
+@dirrmtry share/locale/si/LC_MESSAGES
+@dirrmtry share/locale/si
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
+@dirrmtry share/locale/oc/LC_MESSAGES
+@dirrmtry share/locale/oc
+@dirrmtry share/locale/nds/LC_MESSAGES
+@dirrmtry share/locale/nds
+@dirrmtry share/locale/mr/LC_MESSAGES
+@dirrmtry share/locale/mr
+@dirrmtry share/locale/mg/LC_MESSAGES
+@dirrmtry share/locale/mg
+@dirrmtry share/locale/mai/LC_MESSAGES
+@dirrmtry share/locale/mai
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
+@dirrmtry share/locale/fur/LC_MESSAGES
+@dirrmtry share/locale/fur
+@dirrmtry share/locale/en@shaw/LC_MESSAGES
+@dirrmtry share/locale/en@shaw
+@dirrmtry share/locale/dz/LC_MESSAGES
+@dirrmtry share/locale/dz
+@dirrmtry share/locale/crh/LC_MESSAGES
+@dirrmtry share/locale/crh
+@dirrmtry share/locale/ca@valencia/LC_MESSAGES
+@dirrmtry share/locale/ca@valencia
+@dirrmtry share/locale/bn_IN/LC_MESSAGES
+@dirrmtry share/locale/bn_IN
+@dirrmtry share/locale/ast/LC_MESSAGES
+@dirrmtry share/locale/ast
+@dirrmtry share/locale/as/LC_MESSAGES
+@dirrmtry share/locale/as