<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c4d1622fffb52e74b1a5591ccfeb6a7872a0c64a">https://github.com/macports/macports-ports/commit/c4d1622fffb52e74b1a5591ccfeb6a7872a0c64a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c4d1622fffb52e74b1a5591ccfeb6a7872a0c64a
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Jul 4 00:38:10 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> minivmac*: Remove icon from bootstrap
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Saves space in bootstrap download. Icon will be copied back in at build
</span><span style='display:block; white-space:pre;color:#404040;'> time.
</span>---
emulators/minivmac-devel/Portfile | 15 +++++++++------
emulators/minivmac/Portfile | 15 +++++++++------
2 files changed, 18 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/minivmac-devel/Portfile b/emulators/minivmac-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b191a9a..f372315 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/emulators/minivmac-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/minivmac-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -300,6 +300,15 @@ if {${my_subport} eq ${my_name}} {
</span> if {${my_subport} eq "${my_name}-bootstrap"} {
# Don't require the discrete GPU.
system -W ${build.dir}/${my_variation_dir} "patch -p0 < ${filespath}/AutomaticGraphicsSwitching.patch"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Truncate icon to save space.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close [open ${build.dir}/${my_variation_dir}/src/ICONAPPO.icns w]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Use prettier icons.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach icon {App Dsk Rom} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy -force ${worksrcpath}/${my_icons}/icons/${icon}Icon.icns \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${build.dir}/${my_variation_dir}/src/ICON[string toupper ${icon}]O.icns
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
# Use the right compiler.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -316,12 +325,6 @@ if {${my_subport} eq ${my_name}} {
</span> }
reinplace -E "s|-isysroot *\[^ \]+|${sdkflags}|g" ${build.dir}/${my_variation_dir}/Makefile
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Use prettier icons.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach icon {App Dsk Rom} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy -force ${worksrcpath}/${my_icons}/icons/${icon}Icon.icns \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${build.dir}/${my_variation_dir}/src/ICON[string toupper ${icon}]O.icns
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # Enable Retina display support.
system -W ${build.dir}/${my_variation_dir} "patch -p0 < ${filespath}/Retina.patch"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/minivmac/Portfile b/emulators/minivmac/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cc1ec9f..ba9946f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/emulators/minivmac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/minivmac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -288,6 +288,15 @@ if {${my_subport} eq ${my_name}} {
</span>
# Don't require the discrete GPU.
system -W ${build.dir}/${my_variation_dir} "patch -p0 < ${filespath}/AutomaticGraphicsSwitching.patch"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Truncate icon to save space.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close [open ${build.dir}/${my_variation_dir}/src/ICONAPPO.icns w]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Use prettier icons.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach icon {App Dsk Rom} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy -force ${worksrcpath}/${my_icons}/icons/${icon}Icon.icns \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${build.dir}/${my_variation_dir}/src/ICON[string toupper ${icon}]O.icns
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
# Use the right compiler.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -304,12 +313,6 @@ if {${my_subport} eq ${my_name}} {
</span> }
reinplace -E "s|-isysroot *\[^ \]+|${sdkflags}|g" ${build.dir}/${my_variation_dir}/Makefile
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Use prettier icons.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach icon {App Dsk Rom} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy -force ${worksrcpath}/${my_icons}/icons/${icon}Icon.icns \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${build.dir}/${my_variation_dir}/src/ICON[string toupper ${icon}]O.icns
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # Enable Retina display support.
system -W ${build.dir}/${my_variation_dir} "patch -p0 < ${filespath}/Retina.patch"
</pre><pre style='margin:0'>
</pre>