<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/084716100f7c040cf6c11d52a93ab3496caca936">https://github.com/macports/macports-ports/commit/084716100f7c040cf6c11d52a93ab3496caca936</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 084716100f7 Aseprite: Update to 1.2.28
</span>084716100f7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 084716100f7c040cf6c11d52a93ab3496caca936
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Jul 16 01:20:14 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> Aseprite: Update to 1.2.28
</span>---
graphics/Aseprite/Portfile | 19 +++++++++----------
graphics/Aseprite/files/laf-os-osx-window.h.patch | 15 +++++++++++++++
2 files changed, 24 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/Aseprite/Portfile b/graphics/Aseprite/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 82d43854e88..67331ce812f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/Aseprite/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/Aseprite/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,6 @@ PortGroup app 1.0
</span> PortGroup cmake 1.1
PortGroup conflicts_build 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup xcodeversion 1.0
</span>
name Aseprite
categories graphics
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,12 +15,12 @@ maintainers {ryandesign @ryandesign} openmaintainer
</span> # https://github.com/aseprite/aseprite/issues/2266#issuecomment-586600478
license Restrictive
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup aseprite aseprite 1.2.27 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup aseprite aseprite 1.2.28 v
</span> revision 0
# Aseprite doesn't specify which commit of depot_tools we should use, so I'm
# using the latest commit at the time this version of Aseprite was released.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set depot_tools_commit efd29f6f5c4ce52cec970b00348a064e608512a7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set depot_tools_commit f6228e15833477a8a766b6d298fe485237384ccb
</span>
# Latest commit in skia's aseprite-m81 branch at the time this version of
# Aseprite was released (see INSTALL.md).
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,9 +32,9 @@ distname ${name}-v${version}-Source
</span> use_zip yes
checksums ${distfiles} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 ca317666ff2a3de14ede49a6f193c736d9cfd619 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 541a5c561fe7481cfb6aec80ecc9a8435d8387325ba30c9e3116c3c76ef539d7 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 24507948 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 4e6c464a12597b983ac95a3e5def5e0844d80305 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 dc26ae62d569f7f493ecb92a73b81a3687279edab62e2f9ac1c63b3deaafd36b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 24622259 \
</span> skia-3043aa83d14f2251f22c068816ceb6759ea3fb61.tar.gz \
rmd160 6b896f8f0fc374256a22713c9b244fbc01dc3c9f \
sha256 368813ce058806a267a3bf157f4b0133fb58ae531c2c38247d6e6a191f3280ff \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -159,6 +158,7 @@ post-extract {
</span>
patch.dir ${workpath}
patchfiles prefix.patch \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ laf-os-osx-window.h.patch \
</span> stdlib.patch \
USE_SHARED_LIBWEBP.patch
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -298,13 +298,12 @@ post-destroot {
</span> "${prefix}/bin/makeicns -in [shellescape ${worksrcpath}/${extension_icon}] -out Extension.icns"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Might be able to improve this later using the MacOSX.sdk port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-minimum_xcodeversions {15 8}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Uses convertPointFromScreen: which was introduced in macOS 10.12.
</span> platform darwin {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 15} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 16} {
</span> known_fail yes
pre-extract {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "${name} @${version} requires OS X 10.11 or later"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} @${version} requires macOS 10.12 or later"
</span> return -code error "incompatible OS X version"
}
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/Aseprite/files/laf-os-osx-window.h.patch b/graphics/Aseprite/files/laf-os-osx-window.h.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4447a79a101
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/Aseprite/files/laf-os-osx-window.h.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+aseprite/laf/os/osx/window.mm:408:47: error: no visible @interface for 'WindowOSXObjc' declares the selector 'convertPointFromScreen:'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- aseprite/laf/os/osx/window.h.orig 2021-07-08 19:36:23.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ aseprite/laf/os/osx/window.h 2021-07-16 00:30:51.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -52,6 +52,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - (void)setMousePosition:(const gfx::Point&)position;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - (BOOL)setNativeCursor:(os::NativeCursor)cursor;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - (BOOL)canBecomeKeyWindow;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if MAC_OS_X_VERSION_MAX_ALLOWED < 101400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++- (NSPoint)convertPointFromScreen:(NSPoint)point NS_AVAILABLE_MAC(10_12);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @end
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ using WindowOSXObjc_id = WindowOSXObjc*;
</span></pre><pre style='margin:0'>
</pre>