summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-03 06:15:18 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-03 06:15:18 +0800
commitda4479102ace4ebf137bdbc83f6fce3430b1c1c4 (patch)
treebdc2ff32707296b7385b77579613d3a78cf20c01
parent82700a32cd07c959e96f186cd77f240b4ebdd01d (diff)
downloadmarcuscom-ports-da4479102ace4ebf137bdbc83f6fce3430b1c1c4.tar
marcuscom-ports-da4479102ace4ebf137bdbc83f6fce3430b1c1c4.tar.gz
marcuscom-ports-da4479102ace4ebf137bdbc83f6fce3430b1c1c4.tar.bz2
marcuscom-ports-da4479102ace4ebf137bdbc83f6fce3430b1c1c4.tar.lz
marcuscom-ports-da4479102ace4ebf137bdbc83f6fce3430b1c1c4.tar.xz
marcuscom-ports-da4479102ace4ebf137bdbc83f6fce3430b1c1c4.tar.zst
marcuscom-ports-da4479102ace4ebf137bdbc83f6fce3430b1c1c4.zip
share/gnome/ -> share/
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8778 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--devel/gconf/Makefile34
-rw-r--r--devel/gconf/distinfo3
-rw-r--r--devel/gconf/files/patch-backends::bdb-backend.c17
-rw-r--r--devel/gconf/files/patch-configure19
-rw-r--r--devel/gconf/files/patch-gconf::gconf-internals.c69
-rw-r--r--devel/gconf/files/patch-gconf_Makefile.in10
-rw-r--r--devel/gconf/pkg-descr4
-rw-r--r--devel/gconf/pkg-plist94
8 files changed, 250 insertions, 0 deletions
diff --git a/devel/gconf/Makefile b/devel/gconf/Makefile
new file mode 100644
index 000000000..71b81f8d1
--- /dev/null
+++ b/devel/gconf/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: gconf
+# Date created: 28th June 2000
+# Whom: Ade Lovett <ade@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/devel/gconf/Makefile,v 1.2 2006/09/10 00:51:07 mezz Exp $
+#
+
+PORTNAME= gconf
+PORTVERSION= 1.0.9
+PORTREVISION= 10
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/GConf/1.0
+DISTNAME= GConf-${PORTVERSION}
+DIST_SUBDIR= gnome
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A configuration database system for GNOME
+
+LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile
+
+USE_AUTOTOOLS= libtool:15
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_XLIB= yes
+USE_GNOME= gnomeprefix gnomehack gnometarget glib12 gtk12 oaf libxml orbit
+USE_GETTEXT= yes
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.mk>
diff --git a/devel/gconf/distinfo b/devel/gconf/distinfo
new file mode 100644
index 000000000..f8346dd4f
--- /dev/null
+++ b/devel/gconf/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome/GConf-1.0.9.tar.bz2) = 613aea1d9b7a9c504f52217451c7bf99
+SHA256 (gnome/GConf-1.0.9.tar.bz2) = 863c3dd3e72cf7d35eff7497b833978cc28a9f9d12d7caeb9d61ea785731cb19
+SIZE (gnome/GConf-1.0.9.tar.bz2) = 784363
diff --git a/devel/gconf/files/patch-backends::bdb-backend.c b/devel/gconf/files/patch-backends::bdb-backend.c
new file mode 100644
index 000000000..f786acc4a
--- /dev/null
+++ b/devel/gconf/files/patch-backends::bdb-backend.c
@@ -0,0 +1,17 @@
+
+$FreeBSD: ports/devel/gconf/files/patch-backends::bdb-backend.c,v 1.2 2006/10/14 08:52:48 marcus Exp $
+
+--- backends/bdb-backend.c 2001/08/02 17:59:13 1.1
++++ backends/bdb-backend.c 2001/08/02 18:03:23
+@@ -25,10 +25,9 @@
+ #include <gconf/gconf-internals.h>
+ #include <gconf/gconf.h>
+
++#include "config.h"
+ #include "bdb.h"
+ #include "dir-utils.h"
+-
+-#include <db.h>
+
+ #include <stdio.h>
+ #include <time.h>
diff --git a/devel/gconf/files/patch-configure b/devel/gconf/files/patch-configure
new file mode 100644
index 000000000..ef88b8857
--- /dev/null
+++ b/devel/gconf/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig Thu Mar 14 23:10:03 2002
++++ configure Thu Jul 17 21:08:37 2003
+@@ -6804,6 +6804,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -7945,7 +7946,7 @@
+ BDB_LIBS=
+ BDB_CFLAGS=
+
+-for dblib in db-3.3 db-3.2 db-3.1 db-3; do
++for dblib in ""; do
+ as_ac_Lib=`echo "ac_cv_lib_$dblib''_db_env_create" | $as_tr_sh`
+ echo "$as_me:7950: checking for db_env_create in -l$dblib" >&5
+ echo $ECHO_N "checking for db_env_create in -l$dblib... $ECHO_C" >&6
diff --git a/devel/gconf/files/patch-gconf::gconf-internals.c b/devel/gconf/files/patch-gconf::gconf-internals.c
new file mode 100644
index 000000000..3acab80ce
--- /dev/null
+++ b/devel/gconf/files/patch-gconf::gconf-internals.c
@@ -0,0 +1,69 @@
+--- gconf/gconf-internals.c.orig Mon Sep 29 22:35:14 2003
++++ gconf/gconf-internals.c Mon Sep 29 22:35:16 2003
+@@ -28,6 +28,9 @@
+ #include <string.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
++#include <arpa/inet.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+@@ -2948,7 +2951,21 @@
+ char*
+ gconf_get_daemon_dir (void)
+ {
+- return g_strconcat (g_get_home_dir (), "/.gconfd", NULL);
++ if (gconf_use_local_locks ())
++ {
++ char *s;
++ char *subdir;
++
++ subdir = g_strconcat ("gconfd-", g_get_user_name (), NULL);
++
++ s = g_strconcat (g_get_tmp_dir (), G_DIR_SEPARATOR_S, subdir, NULL);
++
++ g_free (subdir);
++
++ return s;
++ }
++ else
++ return g_strconcat (g_get_home_dir (), "/.gconfd", NULL);
+ }
+
+ char*
+@@ -3040,6 +3057,8 @@
+
+ if (gconf_file_exists (GCONF_BINDIR"/gconfd-2"))
+ argv[0] = g_strconcat (GCONF_BINDIR, "/gconfd-2", NULL);
++ else if (gconf_file_exists (GCONF_PREFIX"/libexec/gconfd-2"))
++ argv[0] = g_strconcat (GCONF_PREFIX, "/libexec/gconfd-2", NULL);
+ else
+ argv[0] = g_strconcat (GCONF_BINDIR, "/" GCONFD, NULL);
+
+@@ -4357,4 +4376,24 @@
+ return FALSE;
+ else
+ return TRUE;
++}
++
++enum { UNKNOWN, LOCAL, NORMAL };
++
++gboolean
++gconf_use_local_locks (void)
++{
++ static int local_locks = UNKNOWN;
++
++ if (local_locks == UNKNOWN)
++ {
++ const char *l =
++ g_getenv ("GCONF_GLOBAL_LOCKS");
++
++ if (l && atoi (l) == 1)
++ local_locks = NORMAL;
++ else
++ local_locks = LOCAL;
++ }
++ return local_locks == LOCAL;
+ }
diff --git a/devel/gconf/files/patch-gconf_Makefile.in b/devel/gconf/files/patch-gconf_Makefile.in
new file mode 100644
index 000000000..3e7637f9f
--- /dev/null
+++ b/devel/gconf/files/patch-gconf_Makefile.in
@@ -0,0 +1,10 @@
+--- gconf/Makefile.in.orig Fri Sep 27 00:28:12 2002
++++ gconf/Makefile.in Fri Sep 27 00:28:46 2002
+@@ -154,6 +154,7 @@
+ -DGCONF_ETCDIR=\""$(sysconfdir)/gconf"\" \
+ -DGCONF_BUILDDIR=\""$(top_builddir)"\" \
+ -DGCONF_BINDIR=\""$(bindir)"\" \
++ -DGCONF_PREFIX=\""$(prefix)"\" \
+ -DGCONF_BACKEND_DIR=\""$(pkglibdir)/$(MAJOR_VERSION)"\" \
+ -DVERSION=\""$(VERSION)"\" \
+ -DIID=\""OAFIID:gconfd:19991118"\" \
diff --git a/devel/gconf/pkg-descr b/devel/gconf/pkg-descr
new file mode 100644
index 000000000..c4f8b27a2
--- /dev/null
+++ b/devel/gconf/pkg-descr
@@ -0,0 +1,4 @@
+GConf is a configuration database system for the GNOME desktop,
+functionally similar to the Windows registry but lots better :-)
+
+WWW: http://www.gnome.org/projects/gconf/
diff --git a/devel/gconf/pkg-plist b/devel/gconf/pkg-plist
new file mode 100644
index 000000000..5f6c623aa
--- /dev/null
+++ b/devel/gconf/pkg-plist
@@ -0,0 +1,94 @@
+bin/gconf-config
+bin/gconf-config-1
+bin/gconf-sanity-check-1
+bin/gconfd-1
+bin/gconftool
+bin/gconftool-1
+etc/gconf/1/path
+etc/gconf/schemas/desktop.schemas
+include/gconf/1/gconf/gconf-changeset.h
+include/gconf/1/gconf/gconf-client.h
+include/gconf/1/gconf/gconf-engine.h
+include/gconf/1/gconf/gconf-error.h
+include/gconf/1/gconf/gconf-glib-public.h
+include/gconf/1/gconf/gconf-listeners.h
+include/gconf/1/gconf/gconf-schema.h
+include/gconf/1/gconf/gconf-value.h
+include/gconf/1/gconf/gconf.h
+lib/GConf/1/libgconfbackend-xml.a
+lib/GConf/1/libgconfbackend-xml.la
+lib/GConf/1/libgconfbackend-xml.so
+lib/libgconf-1.a
+lib/libgconf-1.la
+lib/libgconf-1.so
+lib/libgconf-1.so.1
+lib/libgconf-gtk-1.a
+lib/libgconf-gtk-1.la
+lib/libgconf-gtk-1.so
+lib/libgconf-gtk-1.so.1
+libdata/pkgconfig/gconf.pc
+libdata/pkgconfig/gconfgtk.pc
+share/aclocal/gconf-1.m4
+share/locale/az/LC_MESSAGES/GConf.mo
+share/locale/ca/LC_MESSAGES/GConf.mo
+share/locale/cs/LC_MESSAGES/GConf.mo
+share/locale/da/LC_MESSAGES/GConf.mo
+share/locale/de/LC_MESSAGES/GConf.mo
+share/locale/el/LC_MESSAGES/GConf.mo
+share/locale/es/LC_MESSAGES/GConf.mo
+share/locale/eu/LC_MESSAGES/GConf.mo
+share/locale/fi/LC_MESSAGES/GConf.mo
+share/locale/fr/LC_MESSAGES/GConf.mo
+share/locale/ga/LC_MESSAGES/GConf.mo
+share/locale/gl/LC_MESSAGES/GConf.mo
+share/locale/hu/LC_MESSAGES/GConf.mo
+share/locale/it/LC_MESSAGES/GConf.mo
+share/locale/ja/LC_MESSAGES/GConf.mo
+share/locale/ko/LC_MESSAGES/GConf.mo
+share/locale/nl/LC_MESSAGES/GConf.mo
+share/locale/nn/LC_MESSAGES/GConf.mo
+share/locale/no/LC_MESSAGES/GConf.mo
+share/locale/pl/LC_MESSAGES/GConf.mo
+share/locale/pt/LC_MESSAGES/GConf.mo
+share/locale/pt_BR/LC_MESSAGES/GConf.mo
+share/locale/ru/LC_MESSAGES/GConf.mo
+share/locale/sk/LC_MESSAGES/GConf.mo
+share/locale/sl/LC_MESSAGES/GConf.mo
+share/locale/sv/LC_MESSAGES/GConf.mo
+share/locale/tr/LC_MESSAGES/GConf.mo
+share/locale/uk/LC_MESSAGES/GConf.mo
+share/locale/zh_CN/LC_MESSAGES/GConf.mo
+@dirrm %%DATADIR%%/1
+@dirrm %%DATADIR%%
+@dirrm lib/GConf/1
+@dirrm include/gconf/1/gconf
+@dirrm include/gconf/1
+@dirrm etc/gconf/1
+@dirrmtry share/locale/zh_CN/LC_MESSAGES
+@dirrmtry share/locale/zh_CN
+@dirrmtry share/locale/uk/LC_MESSAGES
+@dirrmtry share/locale/uk
+@dirrmtry share/locale/sl/LC_MESSAGES
+@dirrmtry share/locale/sl
+@dirrmtry share/locale/sk/LC_MESSAGES
+@dirrmtry share/locale/sk
+@dirrmtry share/locale/pt/LC_MESSAGES
+@dirrmtry share/locale/pt
+@dirrmtry share/locale/pl/LC_MESSAGES
+@dirrmtry share/locale/pl
+@dirrmtry share/locale/no/LC_MESSAGES
+@dirrmtry share/locale/no
+@dirrmtry share/locale/nn/LC_MESSAGES
+@dirrmtry share/locale/nn
+@dirrmtry share/locale/ko/LC_MESSAGES
+@dirrmtry share/locale/ko
+@dirrmtry share/locale/gl/LC_MESSAGES
+@dirrmtry share/locale/gl
+@dirrmtry share/locale/fi/LC_MESSAGES
+@dirrmtry share/locale/fi
+@dirrmtry share/locale/el/LC_MESSAGES
+@dirrmtry share/locale/el
+@dirrmtry share/locale/cs/LC_MESSAGES
+@dirrmtry share/locale/cs
+@dirrmtry share/locale/ca/LC_MESSAGES
+@dirrmtry share/locale/ca