[123543] trunk/dports/gnome/glom

devans at macports.org devans at macports.org
Sun Aug 10 11:32:35 PDT 2014


Revision: 123543
          https://trac.macports.org/changeset/123543
Author:   devans at macports.org
Date:     2014-08-10 11:32:35 -0700 (Sun, 10 Aug 2014)
Log Message:
-----------
glom: update to version 1.26.0, openmaintainer (#35008, maintainer timeout).

Modified Paths:
--------------
    trunk/dports/gnome/glom/Portfile

Added Paths:
-----------
    trunk/dports/gnome/glom/files/

Property Changed:
----------------
    trunk/dports/gnome/glom/


Property changes on: trunk/dports/gnome/glom
___________________________________________________________________
Added: svn:mergeinfo
   + /branches/mld-qt-481/dports/gnome/glom:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/GNOME-3/stable/dports/gnome/glom:121763-123540
/users/rmstonecipher/gnome/glom:102363-103172

Modified: trunk/dports/gnome/glom/Portfile
===================================================================
--- trunk/dports/gnome/glom/Portfile	2014-08-10 18:00:29 UTC (rev 123542)
+++ trunk/dports/gnome/glom/Portfile	2014-08-10 18:32:35 UTC (rev 123543)
@@ -1,43 +1,101 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
-PortSystem 1.0
-name		glom
-version		1.4.2
 
-description	Glom is an easy-to-use database designer and user interface.
-long_description        ${description}
-maintainers	landonf
-categories	gnome databases
-platforms	darwin 
+PortSystem      1.0
+PortGroup       active_variants 1.1
 
-homepage	http://www.glom.org/
-master_sites    gnome:sources/glom/1.4/
+name            glom
+version         1.26.0
+set branch      [join [lrange [split ${version} .] 0 1] .]
+license         GPL-2
+description     Glom is an easy-to-use database designer and user interface.
+long_description \
+                ${description} This version supports GTK+ 3 and the libgda-5.0 API.
+maintainers     landonf openmaintainer
+categories      gnome databases
+platforms       darwin
 
-checksums	md5 71c868a2e8e85e96bdbbf78608228bc8
-use_bzip2 	yes
+homepage        http://www.glom.org/
+master_sites    gnome:sources/${name}/${branch}/
 
-depends_lib	port:bakery port:libgdamm port:libgnomecanvasmm \
-		port:gnome-session port:python24 \
-		port:iso-codes port:libgtksourceviewmm \
-		port:libiconv port:postgresql81 port:gettext \
-		port:gnome-python-extras
+use_xz          yes
 
-post-patch {
-	reinplace s/-lutil//g	${worksrcpath}/glom/libglom/Makefile.in \
-				${worksrcpath}/glom/Makefile.in \
-				${worksrcpath}/glom/python_embed/python_module/Makefile.in
+checksums       rmd160  3f48af233fba992dbd86a99dc276d20d631a9a82 \
+                sha256  f53a2d46f766d4e50b1cde0edc4408b443f22db7662f47dd80f7b1a545050024
+
+depends_build   port:pkgconfig \
+                port:intltool \
+                port:itstool \
+                port:yelp-tools \
+                port:mm-common \
+                port:graphviz \
+                port:doxygen \
+                port:libxslt \
+                port:py27-sphinx
+
+depends_lib     port:desktop-file-utils \
+                port:libarchive \
+                port:gtkmm3 \
+                port:boost \
+                port:libxml2 \
+                port:libxmlxx2 \
+                port:libgda5 \
+                port:libgdamm5 \
+                port:goocanvasmm2\
+                port:gtksourceviewmm3 \
+                port:postgresql93 \
+                port:py27-gobject3 \
+                port:libepc \
+                port:evince \
+                port:shared-mime-info
+
+depends_run     port:gnome-settings-daemon \
+                port:yelp \
+                port:gnome-keyring
+
+patchfiles      patch-configure.ac.diff \
+                patch-glom-libglom-connectionpool.cc.diff
+
+require_active_variants libgda5 postgresql93
+
+# update macros/intltool.m4 and autoreconf
+
+pre-configure {
+    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/macros
 }
 
-configure.cflags-append "-I${prefix}/include -L${prefix}/lib"
-configure.env	PYTHON_EXEC_PREFIX="${prefix}" \
-		PYTHON_PREFIX="${prefix}"
+use_autoreconf  yes
+autoreconf.args -fvi
 
-configure.args	--with-postgres-utils=${prefix}/lib/postgresql81/bin \
-		--disable-scrollkeeper
+set python.branch   2.7
+set python.prefix   ${frameworks_dir}/Python.framework/Versions/${python.branch}
 
-build.args	MSGFMT="${prefix}/bin/msgfmt" GMSGFMT="${prefix}/bin/msgfmt"
+configure.pkg_config_path ${python.prefix}/lib/pkgconfig
+configure.python          ${prefix}/bin/python${python.branch}
 
-post-destroot {
-	file delete "${destpath}${prefix}/share/mime/globs"
-	file delete "${destpath}${prefix}/share/mime/magic"
-	file delete "${destpath}${prefix}/share/mime/XMLnamespaces"
+configure.env   SPHINX_BUILD=${prefix}/bin/sphinx-build-${python.branch} \
+                PYTHON_EXTRA_LDFLAGS=' '
+
+configure.perl  ${prefix}/bin/perl5.16
+
+configure.args  --with-boost-python=mt \
+                --with-postgres-utils=${prefix}/lib/postgresql93/bin \
+                --disable-mysql \
+                --disable-silent-rules \
+                --disable-update-mime-database \
+                --disable-documentation
+
+universal_variant no
+
+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/update-mime-database ${prefix}/share/mime"
 }
+
+notes "
+To work around known locale issues, set LANG=C when starting glom
+    $ LANG=C glom
+"
+
+livecheck.type gnome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140810/b25777cd/attachment.html>


More information about the macports-changes mailing list