GIMP Chat
http://gimpchat.com/

I need a Mac Dev to compile my Gimp GEGL Plugins on Mac
http://gimpchat.com/viewtopic.php?f=8&t=20357
Page 1 of 1

Author:  contrast_ [ Mon Apr 10, 2023 8:03 pm ]
Post subject:  I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

GIMP Version: 2.10x or 3
Operating System: Mac OS
GIMP Experience: Experienced User



https://github.com/LinuxBeaver/GEGL-Eff ... ualEdition

I need a Mac Dev's help to compile my plugins on Mac. So far I know this
--

--Instructions to compile Beaver's GEGL Plugins on Mac --

https://brew.sh/ Install Homebrew with
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
then

https://formulae.brew.sh/formula/meson#default
brew install meson


https://formulae.brew.sh/formula/ninja#default
brew install ninja


https://formulae.brew.sh/formula/gegl#default
brew install gegl


Then Compile every C file as you would on Linux using Meson and Ninja. Perhaps even my build.sh script will work.
meson setup --buildtype=release build ninja -C build



Filter Binaries go in
/Library/Application Support/gegl/0.4/plug-ins/
or perhaps
/home/(USERNAME)/.local/share/gegl-0.4/plug-ins


You may need to create a plug-ins folder if it doesn't exist.

Author:  contrast_ [ Mon Apr 10, 2023 8:08 pm ]
Post subject:  Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

If anyone actually manages to compile my GEGL Plugins for Mac. Please post the binaries here and show me a screenshot.

Author:  contrast_ [ Tue Apr 11, 2023 6:35 pm ]
Post subject:  Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

https://github.com/orgs/Homebrew/discussions/4410

See if anyone here has the time to compile it.

Author:  contrast_ [ Wed Apr 12, 2023 11:03 am ]
Post subject:  Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

Attachment:
glossy_balloon_for_mac.zip [6.14 KiB]
Downloaded 21 times


Someone see if you can get this working on Mac by putting the plugin in
/Users/USERNAME/Library/Application Support/GIMP/2.99/plug-ins/gegl-0.4/plug-ins


Create the plugin-ins folder if it doesn't exist.

Author:  contrast_ [ Wed Apr 19, 2023 8:39 am ]
Post subject:  Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

Mac users may need to reinstall Gimp after putting the plugins in the directory to get it working. I am trouble shooting and desperate to get them working on Mac.

Author:  contrast_ [ Wed Apr 26, 2023 6:17 pm ]
Post subject:  Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

This may help Mac users. You may have to run

cd ~/Library/Application Support/gegl/0.4/plug-ins/ # assuming it was installed here
sudo xattr -rd com.apple.quarantine *
while GlossyBevel.dylib or other plugins is in the folder.


This has not been tested but we are going to try it soon.

Author:  contrast_ [ Thu Apr 27, 2023 10:17 am ]
Post subject:  Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

A Mac Tech person associated with Gimp's Team wrote this regarding GEGL Plugins on Mac.

You can option + right-click on the file and then select open (in the finder), and it asks if you really want to open it. After that the file works.

It does the same thing above as sudo but without sudo.

Author:  lukaso [ Thu Apr 27, 2023 6:14 pm ]
Post subject:  Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

Hi, I'm the Mac Tech person from the GIMP team.

So I've managed to compile the 3 dylibs on the `main` branch.

The instructions are actually quite simple once the pre-requisites have been installed, namely

Install brew (I'm not allowed to post urls).

brew install meson
brew install ninja
brew install gegl


Prerequisites can also be done with MacPorts, which is what I use to build the official GIMP.

Then to compile I did:

cd /to/where/you/want/this/code/to/go
git clone <the repo-I'm not allowed to post urls>
cd GEGL-Effects---Layer-Effects-in-Gimp-using-GEGL/GEGL_EFFECTS
./build_linux.sh


The dylibs will end up in sub directories:

build/gegleffects.dylib
compile_bevel_here/build/bevel.dylib
compile_innerglow_here/build/inner-glow.dylib


Now for the `ContinualEdition`

Once prerequisites are installed:

cd /to/where/you/want/this/code/to/go
git clone git clone <the repo-I'm not allowed to post urls>
cd GEGL-Effects---Layer-Effects-in-Gimp-using-GEGL
git co ContinualEdition
cd compile_bevel_here
chmod +x build_linux.sh
./build_linux.sh
mkdir -p ~/Library/Application\ Support/gegl/0.4/plugins
cp build/bevel.dylib ~/Library/Application\ Support/gegl/0.4/plugins
cd ../compile_gegl_effects_here
chmod +x build_linux.sh
./build_linux.sh
cp build/gegleffectspending.dylib ~/Library/Application\ Support/gegl/0.4/plugins
cd ../compile_innerglow_here
chmod +x build_linux.sh
./build_linux.sh
cp build/inner-glow.dylib ~/Library/Application\ Support/gegl/0.4/plugins
cd ../compile_zzstrokebevelimage_here
chmod +x build_linux.sh
./build_linux.sh
cp build/zzstrokebevelimage.dylib ~/Library/Application\ Support/gegl/0.4/plugins


And if you compile on your own machine, Apple will not quarantine the code as discussed above.

However, I'm *not* able to get this to work as the plugin is not loaded.

Author:  contrast_ [ Thu Apr 27, 2023 7:01 pm ]
Post subject:  Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

lukaso wrote:
However, I'm *not* able to get this to work as the plugin is not loaded.



How do you get it loaded? I'd love to see a screenshot of the plugin working on Mac.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/