It is currently Sun Jun 30, 2024 5:23 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac
PostPosted: Mon Apr 10, 2023 8:03 pm  (#1) 
Online
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1452
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.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac
PostPosted: Mon Apr 10, 2023 8:08 pm  (#2) 
Online
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1452
If anyone actually manages to compile my GEGL Plugins for Mac. Please post the binaries here and show me a screenshot.


Top
 Post subject: Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac
PostPosted: Tue Apr 11, 2023 6:35 pm  (#3) 
Online
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1452
https://github.com/orgs/Homebrew/discussions/4410

See if anyone here has the time to compile it.


Top
 Post subject: Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac
PostPosted: Wed Apr 12, 2023 11:03 am  (#4) 
Online
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1452
Attachment:
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
/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.


Top
 Post subject: Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac
PostPosted: Wed Apr 19, 2023 8:39 am  (#5) 
Online
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1452
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.


Top
 Post subject: Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac
PostPosted: Wed Apr 26, 2023 6:17 pm  (#6) 
Online
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1452
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.


Top
 Post subject: Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac
PostPosted: Thu Apr 27, 2023 10:17 am  (#7) 
Online
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1452
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.


Top
 Post subject: Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac
PostPosted: Thu Apr 27, 2023 6:14 pm  (#8) 
Offline
New Member

Joined: Apr 27, 2023
Posts: 1
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.


Top
 Post subject: Re: I need a Mac Dev to compile my Gimp GEGL Plugins on Mac
PostPosted: Thu Apr 27, 2023 7:01 pm  (#9) 
Online
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1452
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.


Top
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) About namespaces in GEGL Plugins (old GEGL effects will break)

3

No new posts Don't put GEGL plugins in seperate folders

0

No new posts Attachment(s) Gimp 2.10.38 & 2.99.19 may break all my old GEGL plugins - update here

1

No new posts Attachment(s) Solarization Effects I made in GEGL (graphs not plugins)

0

No new posts GEGL PLUGINS DIRECTORY FOR SNAP GIMP ON LINUX

0



* Login  



Powered by phpBB3 © phpBB Group