[arch-commits] Commit in gimp/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun May 13 15:29:11 UTC 2018
Date: Sunday, May 13, 2018 @ 15:29:10
Author: heftig
Revision: 324157
Unbreak loading python plugins
GIMP has its own interpreter discovery that understands shebang lines like `#!interp` and
`#!/usr/bin/env interp`. For Python, GIMP installs a mapping that translates `#!/usr/bin/python` or
`#!/usr/bin/env python` to the build-time PYTHON, see /usr/lib/gimp/2.0/interpreters/pygimp.interp.
Unfortunately, when encountering `#!/usr/bin/env python2`, which is not mapped, GIMP will do the
wrong thing and attempt to execute `python2` without a path, which fails.
Trivially fix this by removing the patching of plugin shebang lines.
Modified:
gimp/trunk/PKGBUILD
----------+
PKGBUILD | 1 -
1 file changed, 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-13 15:06:14 UTC (rev 324156)
+++ PKGBUILD 2018-05-13 15:29:10 UTC (rev 324157)
@@ -57,7 +57,6 @@
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
- sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' "${pkgdir}"/usr/lib/gimp/2.0/plug-ins/*.py
install -D -m644 "${srcdir}/linux.gpl" "${pkgdir}/usr/share/gimp/2.0/palettes/Linux.gpl"
rm "${pkgdir}/usr/share/man/man1/gimp-console.1"
More information about the arch-commits
mailing list