[108288] trunk/dports/gnome/goffice/Portfile

dports at macports.org dports at macports.org
Wed Jul 17 15:50:46 PDT 2013


Revision: 108288
          https://trac.macports.org/changeset/108288
Author:   dports at macports.org
Date:     2013-07-17 15:50:46 -0700 (Wed, 17 Jul 2013)
Log Message:
-----------
goffice: update to v0.10.4; create goffice08 subport for compatibility
(#39717)

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

Modified: trunk/dports/gnome/goffice/Portfile
===================================================================
--- trunk/dports/gnome/goffice/Portfile	2013-07-17 22:48:02 UTC (rev 108287)
+++ trunk/dports/gnome/goffice/Portfile	2013-07-17 22:50:46 UTC (rev 108288)
@@ -5,8 +5,8 @@
 
 name                    goffice
 epoch                   1
-version                 0.8.17
-revision                6
+version                 0.10.4
+
 set branch              [join [lrange [split ${version} .] 0 1] .]
 description             GOffice is a library of document-centric objects and utilities.
 long_description        GOffice is a library of document-centric objects \
@@ -19,21 +19,48 @@
 
 homepage                http://freecode.com/projects/goffice
 master_sites            gnome:sources/${name}/${branch}/
-use_bzip2               yes
+use_xz                  yes
 
-checksums               rmd160  35224e53a1431b2ecf81297a081159c7297110bb \
-                        sha256  dd8caef5fefffbc53938fa619de9f58e7c4dc71a1803de134065d42138a68c06
+checksums               rmd160  c81ab86f437f7c959e8d94583884c2cd579cc799 \
+                        sha256  30cb91693abff241e1b14b741ac23bc588f428b4524b12e3fecd1ea3f0bc67ba
 
 depends_build           port:intltool \
                         port:pkgconfig
 
-depends_lib             port:gconf \
+depends_lib             port:gtk3 \
                         port:libgsf \
+                        port:librsvg \
+                        port:glib2
+
+use_parallel_build      yes
+
+livecheck.type          gnome
+
+
+# Snapshot of goffice @0.8.17 for gnucash.
+# Can be removed once gnucash no longer needs this version.
+
+subport goffice08 {
+    version             0.8.17
+
+    master_sites        gnome:sources/${name}/0.8/
+    
+    checksums           sha256  165070beb67b84580afe80a8a100b674a81d553ab791acd72ac0c655f4fadb15 \
+                        rmd160  91d1df371c8164c8c5c9860c7c9c87b9fb69f6c3
+
+    depends_lib         port:gconf \
+                        port:libgsf \
                         port:libxml2 \
                         port:pcre
 
-patchfiles              patch-goffice-utils-regutf8.c.diff
+    patchfiles-append   patch-goffice-utils-regutf8.c.diff
 
-use_parallel_build      yes
-
-livecheck.type          gnome
+    pre-activate {
+        if {![catch {set installed [lindex [registry_active goffice] 0]}]} {
+            set _version [lindex $installed 1]
+            if {[vercmp $_version 0.10] < 0} {
+                registry_deactivate_composite goffice "" [list ports_nodepcheck 1]
+            }
+        }
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130717/0e3867d4/attachment.html>


More information about the macports-changes mailing list