diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-26 01:16:36 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-26 01:16:36 +0800 |
commit | 181f22437c81a50126939fff44f9bb9fa937ee74 (patch) | |
tree | f4f62ee25cce76550c5a0e03e6af7e95793c0f0a /devel/gconf | |
parent | d821bb7d23d9fb577710251f3fbe34c51e7e867b (diff) | |
download | marcuscom-ports-181f22437c81a50126939fff44f9bb9fa937ee74.tar marcuscom-ports-181f22437c81a50126939fff44f9bb9fa937ee74.tar.gz marcuscom-ports-181f22437c81a50126939fff44f9bb9fa937ee74.tar.bz2 marcuscom-ports-181f22437c81a50126939fff44f9bb9fa937ee74.tar.lz marcuscom-ports-181f22437c81a50126939fff44f9bb9fa937ee74.tar.xz marcuscom-ports-181f22437c81a50126939fff44f9bb9fa937ee74.tar.zst marcuscom-ports-181f22437c81a50126939fff44f9bb9fa937ee74.zip |
USE_X_PREFIX -> USE_XLIB, bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6801 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gconf')
-rw-r--r-- | devel/gconf/Makefile | 33 | ||||
-rw-r--r-- | devel/gconf/distinfo | 3 | ||||
-rw-r--r-- | devel/gconf/files/patch-backends::bdb-backend.c | 17 | ||||
-rw-r--r-- | devel/gconf/files/patch-configure | 19 | ||||
-rw-r--r-- | devel/gconf/files/patch-gconf::gconf-internals.c | 69 | ||||
-rw-r--r-- | devel/gconf/files/patch-gconf_Makefile.in | 10 | ||||
-rw-r--r-- | devel/gconf/pkg-descr | 4 | ||||
-rw-r--r-- | devel/gconf/pkg-plist | 66 |
8 files changed, 221 insertions, 0 deletions
diff --git a/devel/gconf/Makefile b/devel/gconf/Makefile new file mode 100644 index 000000000..8f22753d5 --- /dev/null +++ b/devel/gconf/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: gconf +# Date created: 28th June 2000 +# Whom: Ade Lovett <ade@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gconf +PORTVERSION= 1.0.9 +PORTREVISION= 9 +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_BZIP2= yes +USE_GMAKE= yes +USE_XLIB= yes +USE_GNOME= gnomeprefix gnomehack gnometarget glib12 gtk12 oaf libxml orbit +USE_GETTEXT= yes +INSTALLS_SHLIB= 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..a26a977ff --- /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.1 2001/08/03 07:17:43 sobomax 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..7ff843231 --- /dev/null +++ b/devel/gconf/pkg-plist @@ -0,0 +1,66 @@ +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 share/gnome/gconf/1 +@dirrm share/gnome/gconf +@dirrm lib/GConf/1 +@dirrm include/gconf/1/gconf +@dirrm include/gconf/1 +@dirrm etc/gconf/1 |