bootchk / resynthesizer

Suite of gimp plugins for texture synthesis
GNU General Public License v3.0
1.43k stars 163 forks source link

Compiling for OS X #66

Open MaurizioLoreti opened 5 years ago

MaurizioLoreti commented 5 years ago

I am posting here an email (the second one on this subject) sent to gimp-user-list. The Subject: line (How to install GIMP resynthesizer plug-in on OS X?) says all. I have installed on my Mac GIMP 2.10.12 downloaded from https://www.gimp.org/downloads , and the latest G’MIC plug-in. Partha’s release is still at 2.10.8, "GIMP on OS X" release is dead. Apart from switching to MacPorts, how can I find/compile the plug-in for OS X 10.14.6 ?

Again - I want to clarify a little bit more.

It seems that www.gimp.org is the definitive reference for GIMP, and I assume that the OS X release I got from there is the official release.

I don’t like Macports’ GIMP, because (at least the last time I checked) does not use the native OS X graphics but X11/Xquartz.

Running autogen.sh on the resynthesizer distribution src directory gives:

configure: error: GIMP development libraries not found; please install.

How can I find/compile the plug-in for OS X 10.14.5? please.

-- Maurizio Loreti -- Maurizio.Loreti at gmail.com

SimplyTheOther commented 5 years ago

Here are several methods of increasing difficulty that you could try:

  1. See if an OS X 10.14.4 binary I compiled here works. I'm not sure what GIMP version it uses exactly (it's 2.10.something), but it was the latest at the time.

  2. Use Homebrew to install the GIMP dev libraries (libgimp) and build resynthesizer based on that, as described in ryan-robeson's tutorial here.

  3. Build resynthesizer from scratch by also building GIMP (which builds the GIMP dev libraries along with it), as described in ryan-robeson's tutorial here.

MaurizioLoreti commented 5 years ago

On 24 Jul 2019, at 11:13, The Other notifications@github.com wrote:

Here are several methods of increasing difficulty that you could try:

See if an OS X 10.14.4 binary I compiled here https://github.com/SimplyTheOther/resynthesizer/releases/tag/v2.0.3_osx works. I'm not sure what GIMP version it uses exactly (it's 2.10.something), but it was the latest at the time.

Use Homebrew to install the GIMP dev libraries (libgimp) and build resynthesizer based on that, as described in ryan-robeson's tutorial here https://gist.github.com/ryan-robeson/5841f712ff23c910bbbfac793c16bfad.

Build resynthesizer from scratch by also building GIMP (which builds the GIMP dev libraries along with it), as described in ryan-robeson's tutorial here https://gist.github.com/ryan-robeson/5841f712ff23c910bbbfac793c16bfad/bbf300d70d07c9a8fa06ede9f316abaf2fdbc057.

I tried #1; I have copied in the plugin directory all the files. After having changed the shebang line to #! /opt/local/bin/python , I have started GIMP; the usual “Problem Report” window by OS X immediately told me that python quit unexpectedly. My /opt/local/bin/python is a soft link to python3.7; do your software requires 2.7?

ASAP I will try #3 (I don’t want to mix macports and homebrew add-ons).

Thank you for your help!

-- Maurizio Loreti -- Maurizio.Loreti@gmail.com