Re: [Gimp-user] MacOS




he had issues with the new "hardening" rules of macOS


Although I'm very familiar with notarization and stapling
<https://stackoverflow.com/a/53528020/3196753>, the hardened runtimes
require a much deeper understanding of C++, so my efforts would likely be
futile.

I see the build system is 10.9+ (notarization requires a minimum of 10.9,
so this is good) however in my experience, the dependencies are a nightmare
when targeting older macOSs.  My strategy has been to chain a bunch of custom
steps
<https://github.com/LMMS/lmms/wiki/Dependencies-MacOS#108-custom-steps>
although
I'm curious how this is done using Gimp.  At a glance, it appears (perhaps)
the dependency listing is simpler.  I see a macos-specific gtk script, that
must be doing a lot of the work.

I spot some similarities, such as upstream bugs with otool tools
<https://github.com/jralls/gtk-mac-bundler/pull/10>, leveraging a 3rd party
dmg creator <https://github.com/andreyvit/create-dmg> (I've used app-dmg
instead) but at a glance, the build system appears to be completely
automated including signing and notarizing.

If testing the installer is the next steps before publishing, I can offer
that by fetching the URL from the CI logs.  I'm only a casual Gimp user
though, so I'd be weary of passing a build as good on instinct alone.  Do
you have a QC spreadsheet or is it more of a best-effort basis?

Alex's notes are stellar btw.

Note, I use Gimp on macOS Catalina Developer Beta so I'll know right away
if the app or a particular feature is blocked and I'm more likely to have
stricter (beta) hardening as Apple makes changes to the OS.

-Tres

- Tres Finocchiaro gmail com


On Fri, Apr 24, 2020 at 2:55 PM Jehan Pagès <jehan marmottard gmail com>
wrote:

Hi Tres,

On Fri, Apr 24, 2020 at 7:34 PM Tres Finocchiaro <
tres finocchiaro gmail com> wrote:

Jehan,

I'm the macOS packager for LMMS.  I might be able to help out in his
absence.  LMMS is written in Qt, so the dependency stack is much
different than Gimp which is Gtk, but if there's a documented build process
via MacPorts or Homebrew, I can take a swing at it.


I know there are non-official MacPorts and Homebrew because it's written
on our website. So these can be good references indeed.

Ideally we want the build scripts to be public and the build itself to
also be public (not happen on someone's computer for obvious reasons). This
is why Alex (our macOS contributor) has done a lot of work on the build
repository: https://gitlab.gnome.org/Infrastructure/gimp-macos-build
It would be nice if continuing work were to happen on this same repository.

As for the build itself, it was happening on some CI service called
CircleCI (because macOS builds can be done there, unlike the GNOME Gitlab
CI machines). Builds are there:
https://circleci.com/gh/GNOME/gimp-macos-build

Note: you'll notice that there are builds for GIMP 2.10.18 there, which
was from last time Alex was working on it. We don't really know the state
and in particular if these builds done 2 months ago work well and safely,
since none of us (but Alex) even has an Apple machine so we cannot test and
won't recklessly make public completely untested DMG packages.

Last we heard from Alex, he had issues with the new "hardening" rules of
macOS. Basically it made it impossible to run a debugger (lldb), which is
what GIMP tries to do to self-debug when it crashes or encounter critical
errors (a debug feature introduced in GIMP 2.10).
I'm not sure he actually fixed it before going off-radar. If he didn't and
the solution is too complicated, a possibility is to not care about this
self-debugging feature of course. It's annoying if it doesn't work (because
it makes reporting/fixing bugs easier), but it is better to have a package
without the feature than none obviously. :-)

In any case, we will definitely welcome the help. Feel free to look at the
scripts and propose patches/merge requests. I'm not sure if an access is
needed to CircleCI project to see the build details (artifacts, logs and
whatnot). Maybe just connecting with a github account is enough. If not,
we'll try to figure this out.

Oh and last thing, if you have questions, the #gimp IRC channel on
irc.gimp.org is a good place where you can find most developers.
Thanks!

Jehan

Credentials: https://github.com/LMMS/lmms/pull/2271


-Tres

- Tres Finocchiaro gmail com


On Fri, Apr 24, 2020 at 1:11 PM Jehan Pagès via gimp-user-list <
gimp-user-list gnome org> wrote:

Hello,

On Fri, Apr 24, 2020 at 8:16 AM Maurizio Loreti via gimp-user-list <
gimp-user-list gnome org> wrote:

Any foresight for an implementation of GIMP 2.10.18 for MacOS?  [I mean
official, not MacPorts (that uses XQuartz) nor Partha's].


Isn't it you who already asked at least twice the same thing? The answer
is
still the same as we told you several times already. Our (unique!) macOS
contributor has not been available for like more than a month. And to be
fair, I don't care as much about the macOS version of GIMP as I am
worried
about this contributor and hoping he (and his family) is still fine as we
get no news.

Since you knew already about the situation, a bit of compassion would not
be a bad thing.


If GIMP has problems with MacOS, what are these problems?


Isn't *no contributor* enough of a problem by itself? The problem is that
nobody seem to care enough to help this package happen (only enough to
**ask** for it apparently). We have called for contributors so many times
over the years (and again recently, so much there has even been a French
specialized mac-news website who relayed the call a few weeks ago!).
This contributor could be you if you want to help packaging!
The current version of scripts are there:
https://gitlab.gnome.org/Infrastructure/gimp-macos-build

There are only 3 possible outcomes:
1/ This contributor finally comes back and he continues *alone* 😢 to do
all the mac packaging.
2/ Other people finally show they care by contributing.
3/ A mix of 1/ and 2/ which is the best outcome!

In none of these scenarios just asking without contributing helps in any
way.
Thanks for either helping or understanding. 🙂

Jehan


--
Maurizio Loreti  --  Maurizio Loreti gmail com
_______________________________________________
gimp-user-list mailing list
List address:    gimp-user-list gnome org
List membership:
https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list



--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot
_______________________________________________
gimp-user-list mailing list
List address:    gimp-user-list gnome org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list



--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]