[106041] trunk/dports/gnome/seahorse
jeremyhu at macports.org
jeremyhu at macports.org
Mon May 13 18:06:32 PDT 2013
Revision: 106041
https://trac.macports.org/changeset/106041
Author: jeremyhu at macports.org
Date: 2013-05-13 18:06:32 -0700 (Mon, 13 May 2013)
Log Message:
-----------
seahorse: Add support for gobject introspection
Modified Paths:
--------------
trunk/dports/gnome/seahorse/Portfile
Added Paths:
-----------
trunk/dports/gnome/seahorse/files/
trunk/dports/gnome/seahorse/files/automake-1.13.patch
trunk/dports/gnome/seahorse/files/gir.patch
Modified: trunk/dports/gnome/seahorse/Portfile
===================================================================
--- trunk/dports/gnome/seahorse/Portfile 2013-05-14 00:47:26 UTC (rev 106040)
+++ trunk/dports/gnome/seahorse/Portfile 2013-05-14 01:06:32 UTC (rev 106041)
@@ -5,7 +5,7 @@
name seahorse
version 2.30.1
-revision 5
+revision 6
license GPL-2+ LGPL-2+ GFDL-1.1+
set branch [join [lrange [split ${version} .] 0 1] .]
description Seahorse is a GNOME application for managing encryption keys.
@@ -27,19 +27,29 @@
port:intltool \
port:gnome-doc-utils
-depends_lib port:gpgme \
+depends_lib port:gobject-introspection \
+ port:gpgme \
port:gconf \
port:libsoup \
port:libnotify \
port:openssh \
port:openldap
-configure.args --disable-introspection \
+configure.args --enable-introspection \
--disable-sharing \
--disable-update-mime-database \
--disable-schemas-install \
--disable-scrollkeeper
+patchfiles automake-1.13.patch gir.patch
+
+use_autoreconf yes
+autoreconf.args -fvi
+
+# gobject-introspection uses g-ir-scanner, which uses $CC from env
+build.args-append CC="${configure.cc} ${configure.cc_archflags}"
+destroot.args-append CC="${configure.cc} ${configure.cc_archflags}"
+
post-activate {
system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications; true"
system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
Added: trunk/dports/gnome/seahorse/files/automake-1.13.patch
===================================================================
--- trunk/dports/gnome/seahorse/files/automake-1.13.patch (rev 0)
+++ trunk/dports/gnome/seahorse/files/automake-1.13.patch 2013-05-14 01:06:32 UTC (rev 106041)
@@ -0,0 +1,11 @@
+--- configure.in.orig 2013-05-13 17:42:28.000000000 -0700
++++ configure.in 2013-05-13 17:42:42.000000000 -0700
+@@ -22,7 +22,7 @@ dnl ************************************
+
+ AC_CONFIG_SRCDIR(src/seahorse-main.c)
+ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS([config.h])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([no])])
+ AM_MAINTAINER_MODE
+ AC_CONFIG_MACRO_DIR([m4])
Added: trunk/dports/gnome/seahorse/files/gir.patch
===================================================================
--- trunk/dports/gnome/seahorse/files/gir.patch (rev 0)
+++ trunk/dports/gnome/seahorse/files/gir.patch 2013-05-14 01:06:32 UTC (rev 106041)
@@ -0,0 +1,20 @@
+--- libcryptui/Makefile.am.orig 2013-05-13 17:52:22.000000000 -0700
++++ libcryptui/Makefile.am 2013-05-13 17:52:52.000000000 -0700
+@@ -97,6 +97,9 @@ BUILT_SOURCES = \
+ BUILT_GIRSOURCES =
+
+ if HAVE_INTROSPECTION
++
++_gir_libtool = $(if $(findstring MINGW32,$(shell uname -s)),--libtool="$(top_builddir)/libtool",$(if $(LIBTOOL),--libtool="$(LIBTOOL)"))
++
+ CryptUI- at LIBCRYPTUI_MAJOR@.gir: $(INTROSPECTION_SCANNER) libcryptui.la
+ $(QUIET_GEN)$(INTROSPECTION_SCANNER) -v \
+ --namespace CryptUI --nsversion=@LIBCRYPTUI_MAJOR@ \
+@@ -104,6 +107,7 @@ CryptUI- at LIBCRYPTUI_MAJOR@.gir: $(INTROS
+ $(INCLUDES) \
+ --include=Gtk-2.0 \
+ --library=libcryptui.la \
++ $(_gir_libtool) \
+ --pkg gtk+-2.0 \
+ --output $@ \
+ $(inc_HEADERS) \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130513/1149e820/attachment.html>
More information about the macports-changes
mailing list