|
From: | Josh Freeman |
Subject: | Re: ANN: PikoPixel pixel-art editor |
Date: | Sat, 19 Sep 2015 18:06:43 -0400 |
Hi Fred, On Sep 19, 2015, at 7:20 AM, Fred Kiefer wrote:
Hi Josh, thank you very much for porting this great code over to GNUstep. I am at the moment trying to get it running on gcc with the gcc objcruntime. I know this isn't the supported constellation, but I would liketo at least understand what features are missing in this setup.
PikoPixel's implementation of method-swizzling doesn't work with the gcc runtime because the runtime's function, class_replaceMethod(), behaves differently than on the objc2 or Apple runtimes. That's the only issue I know of (though I didn't test much further on gcc after finding it), so in theory, a reimplementation of method-swizzling (in NSObject_PPUtilities_MethodSwizzling.m) that removed/reworked the class_replaceMethod() calls could allow PP to use the gcc runtime.
I parallel I am digging through your GNUstep specific changes. I alreadyfound the NSMatrix additions and the cairo non-anti-alias stuff. I am going to add code into GNustep that supports this to make specific additions for GNUstep unnecessary. In theory it should be possible tojust reuse your Cocoa code on GNUstep. Where this isn't possible, pleasefile a bug report against GNUstep, preferable with an attached patch.
I kept an internal list with brief, 1-to-2-line descriptions of issues (now at about 17 items) that needs to be expanded into full bug reports on savannah when there's time - I wrote one up so far: http://savannah.gnu.org/bugs/?45442 . I'd be happy to send the raw list to you - or post it to the developer mailing list - if that would be useful.
Once again thank you and I will keep you updated on my progress.
Thanks, please do!
Cheers, Fred
Cheers, Josh
Am 18.09.2015 um 21:57 schrieb Josh Freeman:PikoPixel is a free Mac OS X pixel-art editor that's currently in beta for its initial 1.0 release.The latest beta version, 1.0 BETA5, is the first source-code release(AGPL v3), and the first version that also runs on GNUstep. PikoPixel GNUstep binaries aren't available yet (haven't gottenaround to figuring out GS standalone application packaging), so for themoment, PikoPixel must be built from source. Requirements for compiling PikoPixel are a recent version of the GNUstep development environment (June 2015 or later) and the libobjc2 runtime. Also, PP's only been tested so far under Clang, and onDebian-based Linux distros (Ubuntu & Mint), so there may be issues withother configurations. PikoPixel's source code archive is linked at the bottom of the webpage (not the green "Download" arrow, which downloads the Mac-only binary): http://twilightedge.com/mac/pikopixel/ Please send questions, comments, or issues to pikopixel (at) twilightedge (dot) com. Cheers, Josh Freeman Twilight Edge Software http://twilightedge.com
[Prev in Thread] | Current Thread | [Next in Thread] |