Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

McGimp's plugin can still be used with current GIMP. #170321

Closed
6 tasks done
triplejam opened this issue Apr 1, 2024 · 2 comments
Closed
6 tasks done

McGimp's plugin can still be used with current GIMP. #170321

triplejam opened this issue Apr 1, 2024 · 2 comments
Labels

Comments

@triplejam
Copy link

triplejam commented Apr 1, 2024

Verification

Description of issue

McGimp was disabled but the plugin still works if you copy it into the current GIMP. I have a hacky script that just makes some symlinks to Qt5 and GLib to get it working.

Just pointing this out in case anyone is interested in getting it working.

EDIT: Here is my shell script.

#!/usr/bin/env sh

set -e

rm -rf /Applications/GIMP.app/Contents/Resources/lib/gimp/2.0/plug-ins/gmic-qt
cp -r /Users/yourusername/somedir/McGimp-2.10.22.app/Contents/Resources/lib/gimp/2.0/plug-ins/gmic-qt /Applications/GIMP.app/Contents/Resources/lib/gimp/2.0/plug-ins/gmic-qt
mkdir -p /Applications/GIMP.app/Contents/Resources/lib/gimp/2.0/plug-ins/gmic-qt/Frameworks/lib
ln -fs /Applications/GIMP.app/Contents/Resources/lib /tmp/gimplib-std
target_directory=/tmp/lib-std
mkdir -p $target_directory

make_qt_symlink() {
    ln -fs /usr/local/opt/qt\@5/lib/$1.framework/$1 $target_directory/$1
}

make_qt_symlink QtCore
make_qt_symlink QtWidgets
make_qt_symlink QtGui
make_qt_symlink QtNetwork

make_glib_symlink() {
    ln -fs /usr/local/Cellar/glib/2.80.0_2/lib/$1 $target_directory/$1
    ln -fs /usr/local/Cellar/glib/2.80.0_2/lib/$1 /Applications/GIMP.app/Contents/Resources/lib/gimp/2.0/plug-ins/gmic-qt/Frameworks/lib/$1
}

make_glib_symlink libgmodule-2.0.0.dylib
make_glib_symlink libgio-2.0.0.dylib
make_glib_symlink libgobject-2.0.0.dylib
make_glib_symlink libglib-2.0.0.dylib

Command that failed

N/A

Output of command with --verbose --debug

N/A

Output of brew doctor and brew config

N/A

Output of brew tap

N/A
@krehel
Copy link
Member

krehel commented Apr 8, 2024

Unclear how this is Homebrew related.

@krehel krehel closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2024
@triplejam
Copy link
Author

Was only pointing it out for those interested.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants