[111009] users/devans/GNOME-3/stable/dports/gnome
devans at macports.org
devans at macports.org
Fri Sep 13 09:11:46 PDT 2013
Revision: 111009
https://trac.macports.org/changeset/111009
Author: devans at macports.org
Date: 2013-09-13 09:11:45 -0700 (Fri, 13 Sep 2013)
Log Message:
-----------
users/devans/GNOME-3/stable/dports: new port dconf, a gsettings backend.
Added Paths:
-----------
users/devans/GNOME-3/stable/dports/gnome/dconf/
users/devans/GNOME-3/stable/dports/gnome/dconf/Portfile
users/devans/GNOME-3/stable/dports/gnome/dconf/files/
users/devans/GNOME-3/stable/dports/gnome/dconf/files/patch-fix-lib-names.diff
Added: users/devans/GNOME-3/stable/dports/gnome/dconf/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/dconf/Portfile (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/dconf/Portfile 2013-09-13 16:11:45 UTC (rev 111009)
@@ -0,0 +1,49 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name dconf
+version 0.16.1
+set branch [join [lrange [split ${version} .] 0 1] .]
+maintainers devans openmaintainer
+categories gnome
+platforms darwin
+license GPL-2+
+description dconf is a simple key/value storage system that is heavily optimised for \
+ reading.
+
+long_description \
+ ${description} \
+ This makes it an ideal system for storing user preferences \
+ (which are read 1000s of times for each time the user changes one).
+
+homepage http://www.gnome.org/projects/gconf/
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums rmd160 3f2080c28b9a09289f4c44542b11cfaf1ef8709c \
+ sha256 a551d04d06599ee9adde500c71ad8567d68f45420b6dbca10ca51e2834d80fee
+
+depends_build port:pkgconfig \
+ port:intltool
+
+depends_lib port:gtk3 \
+ port:dbus \
+ port:libxml2
+
+patchfiles patch-fix-lib-names.diff
+
+configure.args --enable-editor \
+ --disable-schemas-compile \
+ --disable-silent-rules
+
+post-activate {
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+ system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+ system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
+ system "${prefix}/bin/gio-querymodules ${prefix}/lib/gio/modules"
+}
+
+livecheck.type gnome
Property changes on: users/devans/GNOME-3/stable/dports/gnome/dconf/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/GNOME-3/stable/dports/gnome/dconf/files/patch-fix-lib-names.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/dconf/files/patch-fix-lib-names.diff (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/dconf/files/patch-fix-lib-names.diff 2013-09-13 16:11:45 UTC (rev 111009)
@@ -0,0 +1,174 @@
+diff -ur dconf-0.16.1.orig/bin/Makefile.in dconf-0.16.1/bin/Makefile.in
+--- bin/Makefile.in 2013-07-16 09:43:48.000000000 -0700
++++ bin/Makefile.in 2013-09-10 13:49:03.000000000 -0700
+@@ -98,7 +98,7 @@
+ dconf-dconf.$(OBJEXT)
+ dconf_OBJECTS = $(am_dconf_OBJECTS)
+ am__DEPENDENCIES_1 =
+-dconf_DEPENDENCIES = ../client/libdconf.so.1 $(am__DEPENDENCIES_1)
++dconf_DEPENDENCIES = ../client/libdconf.1.dylib $(am__DEPENDENCIES_1)
+ dconf_LINK = $(CCLD) $(dconf_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+ AM_V_P = $(am__v_P_ at AM_V@)
+@@ -351,7 +351,7 @@
+ -w
+
+ dconf_LDADD = \
+- ../client/libdconf.so.1 \
++ ../client/libdconf.1.dylib \
+ $(gio_LIBS)
+
+ dconf_SOURCES = \
+diff -ur dconf-0.16.1.orig/client/Makefile.in dconf-0.16.1/client/Makefile.in
+--- client/Makefile.in 2013-07-16 09:43:48.000000000 -0700
++++ client/Makefile.in 2013-09-10 13:49:03.000000000 -0700
+@@ -83,7 +83,7 @@
+ $(srcdir)/Makefile.am $(srcdir)/dconf.pc.in \
+ $(top_srcdir)/aux/depcomp $(dconfclientinclude_HEADERS) \
+ $(dconfinclude_HEADERS)
+-shlib_PROGRAMS = libdconf.so.1.0.0$(EXEEXT)
++shlib_PROGRAMS = libdconf.1.0.0.dylib$(EXEEXT)
+ subdir = client
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
+@@ -362,7 +362,7 @@
+ # initialize variables for unconditional += appending
+ TEST_PROGS =
+ shlibdir = $(libdir)
+-nodist_noinst_DATA = libdconf.so.1 libdconf.so
++nodist_noinst_DATA = libdconf.1.dylib libdconf.dylib
+ noinst_LIBRARIES = libdconf-client.a
+ dconfinclude_HEADERS = dconf.h
+ dconfclientinclude_HEADERS = dconf-client.h
+@@ -380,14 +380,14 @@
+ ../shm/libdconf-shm-shared.a \
+ $(gio_LIBS)
+
+-libdconf_so_1_0_0_LDFLAGS = -shared -Wl,-soname=libdconf.so.1
++libdconf_so_1_0_0_LDFLAGS = -dynamiclib -install_name ${libdir}/libdconf.1.0.0.dylib$(EXEEXT)
+ libdconf_so_1_0_0_SOURCES = $(libdconf_client_a_SOURCES)
+ EXTRA_DIST = dconf.vapi dconf.deps
+ vapi_DATA = dconf.vapi dconf.deps
+ vapidir = $(datadir)/vala/vapi
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = dconf.pc
+-CLEANFILES = libdconf.so.1 libdconf.so
++CLEANFILES = libdconf.1.dylib libdconf.dylib
+ all: all-am
+
+ .SUFFIXES:
+@@ -476,8 +476,8 @@
+ clean-shlibPROGRAMS:
+ -test -z "$(shlib_PROGRAMS)" || rm -f $(shlib_PROGRAMS)
+
+-libdconf.so.1.0.0$(EXEEXT): $(libdconf_so_1_0_0_OBJECTS) $(libdconf_so_1_0_0_DEPENDENCIES) $(EXTRA_libdconf_so_1_0_0_DEPENDENCIES)
+- @rm -f libdconf.so.1.0.0$(EXEEXT)
++libdconf.1.0.0.dylib$(EXEEXT): $(libdconf_so_1_0_0_OBJECTS) $(libdconf_so_1_0_0_DEPENDENCIES) $(EXTRA_libdconf_so_1_0_0_DEPENDENCIES)
++ @rm -f libdconf.1.0.0.dylib$(EXEEXT)
+ $(AM_V_CCLD)$(libdconf_so_1_0_0_LINK) $(libdconf_so_1_0_0_OBJECTS) $(libdconf_so_1_0_0_LDADD) $(LIBS)
+
+ mostlyclean-compile:
+@@ -899,16 +899,16 @@
+ # run tests in cwd as part of make check
+ check-local: test-nonrecursive
+
+-libdconf.so.1 libdconf.so: libdconf.so.1.0.0
+- $(AM_V_GEN) ln -fs libdconf.so.1.0.0 $@
++libdconf.1.dylib libdconf.dylib: libdconf.1.0.0.dylib
++ $(AM_V_GEN) ln -fs libdconf.1.0.0.dylib $@
+
+ install-data-hook:
+- ln -fs libdconf.so.1.0.0 $(DESTDIR)$(shlibdir)/libdconf.so.1
+- ln -fs libdconf.so.1.0.0 $(DESTDIR)$(shlibdir)/libdconf.so
++ ln -fs libdconf.1.0.0.dylib $(DESTDIR)$(shlibdir)/libdconf.1.dylib
++ ln -fs libdconf.1.0.0.dylib $(DESTDIR)$(shlibdir)/libdconf.dylib
+
+ uninstall-hook:
+- rm -f $(DESTDIR)$(shlibdir)/libdconf.so.1
+- rm -f $(DESTDIR)$(shlibdir)/libdconf.so
++ rm -f $(DESTDIR)$(shlibdir)/libdconf.1.dylib
++ rm -f $(DESTDIR)$(shlibdir)/libdconf.dylib
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+diff -ur dconf-0.16.1.orig/dbus-1/Makefile.in dconf-0.16.1/dbus-1/Makefile.in
+--- dbus-1/Makefile.in 2013-07-16 09:43:49.000000000 -0700
++++ dbus-1/Makefile.in 2013-09-10 13:49:03.000000000 -0700
+@@ -82,7 +82,7 @@
+ DIST_COMMON = $(top_srcdir)/Makefile.gtester $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(srcdir)/dconf-dbus-1.pc.in \
+ $(top_srcdir)/aux/depcomp $(dconf_dbus_1include_HEADERS)
+-shlib_PROGRAMS = libdconf-dbus-1.so.0.0.0$(EXEEXT)
++shlib_PROGRAMS = libdconf-dbus-1.0.0.0.dylib$(EXEEXT)
+ subdir = dbus-1
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
+@@ -394,10 +394,10 @@
+ $(dbus_LIBS) \
+ $(glib_LIBS)
+
+-libdconf_dbus_1_so_0_0_0_LDFLAGS = -shared -Wl,-soname=libdconf-dbus-1.so.0
++libdconf_dbus_1_so_0_0_0_LDFLAGS = -dynamiclib -install_name ${libdir}/libdconf-dbus-1.0.0.0.dylib$(EXEEXT)
+ libdconf_dbus_1_so_0_0_0_SOURCES = dconf-dbus-1.c
+-nodist_noinst_DATA = libdconf-dbus-1.so libdconf-dbus-1.so.0
+-CLEANFILES = libdconf-dbus-1.so.0 libdconf-dbus-1.so
++nodist_noinst_DATA = libdconf-dbus-1.dylib libdconf-dbus-1.0.dylib
++CLEANFILES = libdconf-dbus-1.0.dylib libdconf-dbus-1.dylib
+ all: all-am
+
+ .SUFFIXES:
+@@ -491,8 +491,8 @@
+ clean-shlibPROGRAMS:
+ -test -z "$(shlib_PROGRAMS)" || rm -f $(shlib_PROGRAMS)
+
+-libdconf-dbus-1.so.0.0.0$(EXEEXT): $(libdconf_dbus_1_so_0_0_0_OBJECTS) $(libdconf_dbus_1_so_0_0_0_DEPENDENCIES) $(EXTRA_libdconf_dbus_1_so_0_0_0_DEPENDENCIES)
+- @rm -f libdconf-dbus-1.so.0.0.0$(EXEEXT)
++libdconf-dbus-1.0.0.0.dylib$(EXEEXT): $(libdconf_dbus_1_so_0_0_0_OBJECTS) $(libdconf_dbus_1_so_0_0_0_DEPENDENCIES) $(EXTRA_libdconf_dbus_1_so_0_0_0_DEPENDENCIES)
++ @rm -f libdconf-dbus-1.0.0.0.dylib$(EXEEXT)
+ $(AM_V_CCLD)$(libdconf_dbus_1_so_0_0_0_LINK) $(libdconf_dbus_1_so_0_0_0_OBJECTS) $(libdconf_dbus_1_so_0_0_0_LDADD) $(LIBS)
+
+ mostlyclean-compile:
+@@ -882,16 +882,16 @@
+ # run tests in cwd as part of make check
+ check-local: test-nonrecursive
+
+-libdconf-dbus-1.so.0 libdconf-dbus-1.so: libdconf-dbus-1.so.0.0.0
+- $(AM_V_GEN) ln -fs libdconf-dbus-1.so.0.0.0 $@
++libdconf-dbus-1.0.dylib libdconf-dbus-1.dylib: libdconf-dbus-1.0.0.0.dylib
++ $(AM_V_GEN) ln -fs libdconf-dbus-1.0.0.0.dylib $@
+
+ install-data-hook:
+- ln -fs libdconf-dbus-1.so.0.0.0 $(DESTDIR)$(shlibdir)/libdconf-dbus-1.so.0
+- ln -fs libdconf-dbus-1.so.0.0.0 $(DESTDIR)$(shlibdir)/libdconf-dbus-1.so
++ ln -fs libdconf-dbus-1.0.0.0.dylib $(DESTDIR)$(shlibdir)/libdconf-dbus-1.0.dylib
++ ln -fs libdconf-dbus-1.0.0.0.dylib $(DESTDIR)$(shlibdir)/libdconf-dbus-1.dylib
+
+ uninstall-hook:
+- rm -f $(DESTDIR)$(shlibdir)/libdconf-dbus-1.so.0
+- rm -f $(DESTDIR)$(shlibdir)/libdconf-dbus-1.so
++ rm -f $(DESTDIR)$(shlibdir)/libdconf-dbus-1.0.dylib
++ rm -f $(DESTDIR)$(shlibdir)/libdconf-dbus-1.dylib
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+diff -ur dconf-0.16.1.orig/editor/Makefile.in dconf-0.16.1/editor/Makefile.in
+--- editor/Makefile.in 2013-07-16 09:43:49.000000000 -0700
++++ editor/Makefile.in 2013-09-10 13:50:04.000000000 -0700
+@@ -101,7 +101,7 @@
+ dconf_editor-dconf-view.$(OBJEXT)
+ dconf_editor_OBJECTS = $(am_dconf_editor_OBJECTS)
+ am__DEPENDENCIES_1 =
+-dconf_editor_DEPENDENCIES = ../client/libdconf.so.1 \
++dconf_editor_DEPENDENCIES = ../client/libdconf.1.dylib \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1)
+ dconf_editor_LINK = $(CCLD) $(dconf_editor_CFLAGS) $(CFLAGS) \
+@@ -353,7 +353,7 @@
+ INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/client
+ dconf_editor_VALAFLAGS = --vapidir ../client --pkg gtk+-3.0 --pkg gmodule-2.0 --pkg libxml-2.0 --pkg dconf
+ dconf_editor_LDADD = \
+- ../client/libdconf.so.1 \
++ ../client/libdconf.1.dylib \
+ $(gtk_LIBS) \
+ $(gee_LIBS) \
+ $(gmodule_LIBS) \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130913/58635f06/attachment.html>
More information about the macports-changes
mailing list