[126458] trunk/dports/x11/tango-icon-theme
elelay at macports.org
elelay at macports.org
Fri Oct 10 09:47:32 PDT 2014
Revision: 126458
https://trac.macports.org/changeset/126458
Author: elelay at macports.org
Date: 2014-10-10 09:47:32 -0700 (Fri, 10 Oct 2014)
Log Message:
-----------
tango-icon-theme: fix #45281 big_icons variant bug
Modified Paths:
--------------
trunk/dports/x11/tango-icon-theme/Portfile
Added Paths:
-----------
trunk/dports/x11/tango-icon-theme/files/
trunk/dports/x11/tango-icon-theme/files/configure.ac-and-svg2png.sh.in.diff
Modified: trunk/dports/x11/tango-icon-theme/Portfile
===================================================================
--- trunk/dports/x11/tango-icon-theme/Portfile 2014-10-10 16:45:49 UTC (rev 126457)
+++ trunk/dports/x11/tango-icon-theme/Portfile 2014-10-10 16:47:32 UTC (rev 126458)
@@ -13,6 +13,9 @@
license public-domain
supported_archs noarch
+patchfiles configure.ac-and-svg2png.sh.in.diff
+patch.pre_args -p1
+
homepage http://tango.freedesktop.org/Tango_Icon_Library
master_sites http://tango.freedesktop.org/releases/
@@ -27,9 +30,10 @@
port:intltool
use_bzip2 yes
+use_autoreconf yes
livecheck.type regex
-livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz
+livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz
variant big_icons description {create 48,64,72,96,128 pixels icons; implies 20Mo more of png files} {
configure.args-append --enable-png-creation
Added: trunk/dports/x11/tango-icon-theme/files/configure.ac-and-svg2png.sh.in.diff
===================================================================
--- trunk/dports/x11/tango-icon-theme/files/configure.ac-and-svg2png.sh.in.diff (rev 0)
+++ trunk/dports/x11/tango-icon-theme/files/configure.ac-and-svg2png.sh.in.diff 2014-10-10 16:47:32 UTC (rev 126458)
@@ -0,0 +1,33 @@
+Index: tango-icon-theme-0.8.90/configure.ac
+===================================================================
+--- tango-icon-theme-0.8.90.orig/configure.ac
++++ tango-icon-theme-0.8.90/configure.ac
+@@ -82,7 +82,7 @@ if test "x$enable_large_bitmaps" = "xyes
+ PKG_CHECK_EXISTS([librsvg-2.0 >= 2.12.3],
+ [enable_large_bitmaps=yes], [enable_large_bitmaps=no])
+ if test "x$enable_large_bitmaps" = "xyes"; then
+- svgconvert_prog="rsvg"
++ svgconvert_prog="rsvg-convert"
+ else
+ svgconvert_prog="ksvgtopng"
+ fi
+Index: tango-icon-theme-0.8.90/svg2png.sh.in
+===================================================================
+--- tango-icon-theme-0.8.90.orig/svg2png.sh.in
++++ tango-icon-theme-0.8.90/svg2png.sh.in
+@@ -9,12 +9,14 @@ fi
+
+ ICONFILE=`basename ${3}`
+ ICONNAME=`echo ${ICONFILE} | sed -e "s/.svg//"`
+-if test `basename $SVGCONVERT` = "rsvg"; then
++if test `basename $SVGCONVERT` = "rsvg-convert"; then
+ OPTIONS="-w ${1} -h ${1}"
++ OUTPUT="-o"
+ else
+ OPTIONS="${1} ${1}"
++ OUTPUT=""
+ fi
+
+ echo "${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png"
+-${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png
++${SVGCONVERT} ${OPTIONS} ${3} ${OUTPUT} ${2}/${ICONNAME}.png
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141010/73491ef0/attachment.html>
More information about the macports-changes
mailing list