<pre style='margin:0'>
Eric Le Lay (elelay) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9e2de40825b9e5dbaab5e36f37a3109405fb63de">https://github.com/macports/macports-ports/commit/9e2de40825b9e5dbaab5e36f37a3109405fb63de</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9e2de40825b9e5dbaab5e36f37a3109405fb63de
</span>Author: Eric Le Lay <elelay@macports.org>
AuthorDate: Sun Jun 25 16:49:05 2017 +0200
<span style='display:block; white-space:pre;color:#404040;'> remove custom SVG to icns code
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> since it's in the app portgroup now
</span>---
python/quodlibet/Portfile | 20 ++------------------
1 file changed, 2 insertions(+), 18 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/quodlibet/Portfile b/python/quodlibet/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 09cf3a6..d50b433 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/quodlibet/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/quodlibet/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,8 +28,8 @@ checksums rmd160 77c4e7776d2f28dcad447eefbd227d68af3ee47d \
</span>
python.default_version 27
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:intltool \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:librsvg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:intltool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib port:dbus-python27 \
port:gstreamer1-gst-plugins-good \
port:py27-futures \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -76,24 +76,8 @@ post-destroot {
</span> "${destroot}${applications_dir}/Quodlibet.app/Contents/Info.plist"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # generate nicer icon (no png scaling)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set makeicnsargs {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach w {16 32 128 256 512} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend makeicnsargs -$w ${worksrcpath}/${w}.png
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[catch {exec ${prefix}/bin/rsvg-convert -w $w -h $w ${worksrcpath}/${app.icon} > ${worksrcpath}/$w.png }]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "${app.icon} could not be converted to png: $::errorInfo"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[catch {eval exec ${prefix}/bin/makeicns $makeicnsargs -out ${destroot}${applications_dir}/${app.name}.app/Contents/Resources/${app.name}.icns 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "app.icns could not be created: $::errorInfo"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# makeicns doesn't know how to generate icns out of svg (rasterizing + making icns)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# still the app.icon is provided so that makeicns is added as dependency and maybe one day
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# app portgroup will itself rasterize if svg file is given...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# see https://trac.macports.org/ticket/40109
</span> app.icon quodlibet/images/hicolor/scalable/apps/quodlibet.svg
app.executable "${frameworks_dir}/Python.framework/Versions/2.7/bin/quodlibet"
</pre><pre style='margin:0'>
</pre>