[33219] trunk/dports/gnome/librsvg/Portfile

nox at macports.org nox at macports.org
Mon Jan 21 10:55:58 PST 2008


Revision: 33219
          http://trac.macosforge.org/projects/macports/changeset/33219
Author:   nox at macports.org
Date:     2008-01-21 10:55:56 -0800 (Mon, 21 Jan 2008)

Log Message:
-----------
librsvg:
 * Updated to 2.20.0.
 * Added md5 and rmd160 checksums.
 * Enabled print and VFS support.
 * Removed useless mandir configure arg.
 * Simplified gdk-pixbuf.loaders update.

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

Modified: trunk/dports/gnome/librsvg/Portfile
===================================================================
--- trunk/dports/gnome/librsvg/Portfile	2008-01-21 18:44:46 UTC (rev 33218)
+++ trunk/dports/gnome/librsvg/Portfile	2008-01-21 18:55:56 UTC (rev 33219)
@@ -3,8 +3,8 @@
 PortSystem      1.0
 
 name            librsvg
-version         2.18.2
-revision        1
+version         2.20.0
+set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      gnome
 platforms       darwin 
 maintainers     nomaintainer
@@ -14,29 +14,27 @@
     ${description}
 
 homepage        http://librsvg.sourceforge.net/
-master_sites    gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/
+master_sites    gnome:sources/${name}/${branch}/
 use_bzip2       yes
 
+checksums       md5 14cc098b68e72ee6a8cdd55edc1ea1b4 \
+                sha1 906877feaa189606caa012cc51706cc7daef9fb4 \
+                rmd160 76e657bce620ee677298110de9e8eedf2e39430e
+
 depends_lib     port:libcroco \
                 port:libgsf \
                 port:libart_lgpl \
-                port:libxml2
+                port:libxml2 \
+                port:libgnomeprint \
+                port:gnome-vfs
 
-checksums       sha1 9e3017817708025737e53b60fe3bfa813e670e02
+configure.args  --enable-pixbuf-loader \
+                --with-svgz
 
-configure.args  --mandir=${prefix}/share/man \
-                --enable-pixbuf-loader \
-                --with-svgz 
-
 configure.cppflags-append   -L${prefix}/lib
 configure.cflags-append     -no-cpp-precomp -flat_namespace -undefined suppress
 
 post-activate {
-    set fl [open "| grep -c svg ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"]
-    set data [read $fl]
-
-    if {[catch {close $fl} err]} {
-        ui_msg "Updating ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
-        system "cd ${prefix}/lib/gtk-2.0/2.10.0/loaders ; gdk-pixbuf-query-loaders *.so > ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
-    }
+    ui_debug "Updating gdk-pixbuf.loaders..."
+    system "gdk-pixbuf-query-loaders >${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080121/c152ea09/attachment.html


More information about the macports-changes mailing list