Switch to full style
Ask all general Gimp related questions here
Post a reply

I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

Mon Apr 10, 2023 8:03 pm

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
Code:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
then

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


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


https://formulae.brew.sh/formula/gegl#default
Code:
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.
Code:
meson setup --buildtype=release build ninja -C build



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


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

Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

Mon Apr 10, 2023 8:08 pm

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

Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

Tue Apr 11, 2023 6:35 pm

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

See if anyone here has the time to compile it.

Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

Wed Apr 12, 2023 11:03 am

glossy_balloon_for_mac.zip
(6.14 KiB) Downloaded 20 times


Someone see if you can get this working on Mac by putting the plugin in
Code:
/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.

Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

Wed Apr 19, 2023 8:39 am

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.

Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

Wed Apr 26, 2023 6:17 pm

This may help Mac users. You may have to run

Code:
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.

Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

Thu Apr 27, 2023 10:17 am

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.

Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

Thu Apr 27, 2023 6:14 pm

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).

Code:
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:

Code:
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:

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


Now for the `ContinualEdition`

Once prerequisites are installed:

Code:
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.

Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

Thu Apr 27, 2023 7:01 pm

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.
Post a reply