alessandrofrancesconi / gimp-plugin-bimp

BIMP. Batch Image Manipulation Plugin for GIMP.
http://www.alessandrofrancesconi.it/projects/bimp
Other
888 stars 93 forks source link

batch image manipulation menu item not showing up under File, MacOS Big Sur 11.7 #367

Open mstorus opened 1 year ago

mstorus commented 1 year ago

After installing BIMP, I'm still not able to see the Batch Image Manipulation... menu item under the File menu.

I'm using MacOS Big Sur 11.7.6, and GIMP version 2.10.34. I downloaded gimp-plugin-bimp_macos.tar.gz from the BIMP 2.6 release page

I extracted the archive, and then ran the install script, which produced the following output:

Last login: Sun May 14 00:45:05 on ttys002
/Users/me/Downloads/gimp-plugin-bimp_macos/install ; exit;

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
me@M-Macbook-2 ~ $ /Users/me/Downloads/gimp-plugin-bimp_macos/install ; exit;
mkdir: /Users/me/Library/Application Support/GIMP/2.10/plug-ins: File exists
BIMP is installed. You can close the program.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

The first time I ran GIMP I got a warning about BIMP not being allowed to run. So I went into Mac's Security & Privacy settings and clicked to allow BIMP. I then closed and restarted GIMP.

However, I don't see any sub-menu for batch image processing in the File menu of GIMP.

I've tried re-installing BIMP by executing the install script several times to no avail. In GIMP > Preferences > Plug-ins there are two folders which already exist:

/Users/me/Library/Application Support/GIMP/2.10/plug-ins /Applications/GIMP.app/Contents/Resources/lib/gimp/2.0/plug-ins

I am launching GIMP from the /Applications folder. I installed and upgraded GIMP through homebrew.

What else can I do to get the Batch Image Manipulation... menu item to show up in the File menu?

ianpurvis commented 1 year ago

@mstorus I encountered this issue on my machine tonight and was able to get it running by creating the following symlinks and restarting GIMP:

$ ln -s /Applications/GIMP.app /Applications/GIMP-2.10.app
$ ln -s /Applications/GIMP.app/Contents/Resources/lib /Applications/GIMP.app/Contents/Resources/lib/lib

@alessandrofrancesconi Looks like there is an issue with dynamic linking in latest BIMP. I noticed that when I run the bimp executable in the terminal directly it produces a cascade of Library not loaded errors:

$ ~/Library/Application\ Support/GIMP/2.10/plug-ins/bimp/bimp
dyld[6934]: Library not loaded: @rpath/libgimpui-2.0.0.dylib
  Referenced from: <236E0F75-B90F-361A-8D93-BBA512B15B13> /Users/ian/Library/Application Support/GIMP/2.10/plug-ins/bimp/bimp
  Reason: tried: '/Applications/GIMP-2.10.app/Contents/Resources/lib/libgimpui-2.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/GIMP-2.10.app/Contents/Resources/lib/libgimpui-2.0.0.dylib' (no such file), '/Applications/GIMP-2.10.app/Contents/Resources/lib/libgimpui-2.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/GIMP-2.10.app/Contents/Resources/lib/libgimpui-2.0.0.dylib' (no such file), '/usr/local/lib/libgimpui-2.0.0.dylib' (no such file), '/usr/lib/libgimpui-2.0.0.dylib' (no such file, not in dyld cache)

But, these were easy to workaround via symlink.

mstorus commented 1 year ago

Thank you @ianpurvis, after creating the two symlinks above I now see the Batch Image Manipulation... File menu item!

pdenotto commented 1 year ago

I also had problems until I created the two symlinks and now it works great!

JJ-in-Jersey commented 8 months ago

All help appreciated. Haven’t used unix in forever (Solaris was a long, long time ago.) Anyway, I’m trying to use BIMP on Sonoma and I can’t create the 2nd link.

% ln -s /Applications/GIMP.app/Contents/Resources/lib /Applications/GIMP.app/Contents/Resources/lib/lib ln: /Applications/GIMP.app/Contents/Resources/lib/lib: Operation not permitted

Doesn’t work with sudo or ln -sf.

Help!

heyycap commented 7 months ago

@JJ-in-Jersey In Settings > Privacy & Security > App Management, turn on Terminal.

While this let me create the 2nd symbolic link using the terminal command, I still can't get the BIMP menu item to show up. I'm on Ventura 13.6.3, BIMP 2.6, GIMP 2.10.36.