[35194] trunk/dports/gnome/gnome-vfs/Portfile
reiffert at macports.org
reiffert at macports.org
Thu Mar 20 02:10:54 PDT 2008
Revision: 35194
http://trac.macosforge.org/projects/macports/changeset/35194
Author: reiffert at macports.org
Date: 2008-03-20 02:10:54 -0700 (Thu, 20 Mar 2008)
Log Message:
-----------
gnome-vfs: Register the schema files to gconf. Lint. Revision++.
Modified Paths:
--------------
trunk/dports/gnome/gnome-vfs/Portfile
Modified: trunk/dports/gnome/gnome-vfs/Portfile
===================================================================
--- trunk/dports/gnome/gnome-vfs/Portfile 2008-03-20 09:08:37 UTC (rev 35193)
+++ trunk/dports/gnome/gnome-vfs/Portfile 2008-03-20 09:10:54 UTC (rev 35194)
@@ -4,10 +4,10 @@
name gnome-vfs
version 2.22.0
-revision 0
+revision 1
maintainers nomaintainer
categories gnome
-platforms darwin
+platforms darwin
description This is the GNOME Virtual File System.
long_description \
@@ -45,7 +45,6 @@
ac_cv_func_open64=no \
ac_cv_func_posix_fadvise=no \
ac_cv_path_KRB5_CONFIG=none
-
configure.ldflags-append -lresolv
@@ -63,7 +62,7 @@
#ifndef T_SRV\\
#define T_SRV 33\\
#endif|g" \
- ${worksrcpath}/libgnomevfs/gnome-vfs-dns-sd.c
+ ${worksrcpath}/libgnomevfs/gnome-vfs-dns-sd.c
reinplace "s|#include <limits.h>|#include <limits.h>\\
#if \!defined getc_unlocked \\&\\& \!defined HAVE_GETC_UNLOCKED\\
@@ -90,3 +89,16 @@
depends_lib-append port:avahi
configure.args-delete --disable-avahi
}
+post-activate {
+ # We need to register some stuff to gconf. Just putting the
+ # schema files to the right place is not enough.
+ # You can watch the successful installation with gconf-editor.
+
+ system "cd ${prefix}/etc/gconf/schemas && \
+ GCONF_CONFIG_SOURCE=`${prefix}/bin/gconftool-2 --get-default-source` ${prefix}/bin/gconftool-2 --makefile-install-rule \
+ desktop_default_applications.schemas \
+ desktop_gnome_url_handlers.schemas \
+ system_dns_sd.schemas \
+ system_http_proxy.schemas \
+ system_smb.schemas"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080320/70644c94/attachment.html
More information about the macports-changes
mailing list