pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/gimp gimp: add support for python plugins
details: https://anonhg.NetBSD.org/pkgsrc/rev/6e911b62b321
branches: trunk
changeset: 452497:6e911b62b321
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed May 12 06:30:56 2021 +0000
description:
gimp: add support for python plugins
Implemented as default-on option.
Bump PKGREVISION.
diffstat:
graphics/gimp/Makefile | 5 ++---
graphics/gimp/PLIST | 3 +--
graphics/gimp/PLIST.python | 37 +++++++++++++++++++++++++++++++++++++
graphics/gimp/options.mk | 23 ++++++++++++++++++++---
4 files changed, 60 insertions(+), 8 deletions(-)
diffs (115 lines):
diff -r f3650841b50d -r 6e911b62b321 graphics/gimp/Makefile
--- a/graphics/gimp/Makefile Wed May 12 06:28:11 2021 +0000
+++ b/graphics/gimp/Makefile Wed May 12 06:30:56 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.343 2021/05/02 11:06:13 nia Exp $
+# $NetBSD: Makefile,v 1.344 2021/05/12 06:30:56 wiz Exp $
DISTNAME= gimp-2.10.24
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= graphics
MASTER_SITES= https://download.gimp.org/pub/gimp/v${PKGVERSION_NOREV:R}/
EXTRACT_SUFX= .tar.bz2
@@ -28,7 +28,6 @@
CONFIGURE_ARGS+= --disable-alsatest
CONFIGURE_ARGS+= --disable-glibtest
CONFIGURE_ARGS+= --disable-gtktest
-CONFIGURE_ARGS+= --disable-python
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --without-linux-input
diff -r f3650841b50d -r 6e911b62b321 graphics/gimp/PLIST
--- a/graphics/gimp/PLIST Wed May 12 06:28:11 2021 +0000
+++ b/graphics/gimp/PLIST Wed May 12 06:30:56 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.74 2021/04/09 07:02:58 adam Exp $
+@comment $NetBSD: PLIST,v 1.75 2021/05/12 06:30:56 wiz Exp $
bin/gimp
bin/gimp-2.10
bin/gimp-console
@@ -5438,4 +5438,3 @@
share/locale/zh_TW/LC_MESSAGES/gimp20.mo
share/metainfo/gimp-data-extras.metainfo.xml
share/metainfo/org.gimp.GIMP.appdata.xml
-@pkgdir share/gimp/2.0/fonts
diff -r f3650841b50d -r 6e911b62b321 graphics/gimp/PLIST.python
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gimp/PLIST.python Wed May 12 06:30:56 2021 +0000
@@ -0,0 +1,37 @@
+@comment $NetBSD: PLIST.python,v 1.1 2021/05/12 06:30:56 wiz Exp $
+lib/gimp/2.0/environ/pygimp.env
+lib/gimp/2.0/interpreters/pygimp.interp
+lib/gimp/2.0/plug-ins/colorxhtml/colorxhtml.py
+lib/gimp/2.0/plug-ins/file-openraster/file-openraster.py
+lib/gimp/2.0/plug-ins/foggify/foggify.py
+lib/gimp/2.0/plug-ins/gradients-save-as-css/gradients-save-as-css.py
+lib/gimp/2.0/plug-ins/histogram-export/histogram-export.py
+lib/gimp/2.0/plug-ins/palette-offset/palette-offset.py
+lib/gimp/2.0/plug-ins/palette-sort/palette-sort.py
+lib/gimp/2.0/plug-ins/palette-to-gradient/palette-to-gradient.py
+lib/gimp/2.0/plug-ins/py-slice/py-slice.py
+lib/gimp/2.0/plug-ins/python-console/pyconsole.py
+lib/gimp/2.0/plug-ins/python-console/python-console.py
+lib/gimp/2.0/plug-ins/python-eval/python-eval.py
+lib/gimp/2.0/plug-ins/spyro_plus/spyro_plus.py
+lib/gimp/2.0/python/_gimpenums.la
+lib/gimp/2.0/python/_gimpui.la
+lib/gimp/2.0/python/gimp.la
+lib/gimp/2.0/python/gimpcolor.la
+lib/gimp/2.0/python/gimpenums.py
+lib/gimp/2.0/python/gimpenums.pyc
+lib/gimp/2.0/python/gimpenums.pyo
+lib/gimp/2.0/python/gimpfu.py
+lib/gimp/2.0/python/gimpfu.pyc
+lib/gimp/2.0/python/gimpfu.pyo
+lib/gimp/2.0/python/gimpplugin.py
+lib/gimp/2.0/python/gimpplugin.pyc
+lib/gimp/2.0/python/gimpplugin.pyo
+lib/gimp/2.0/python/gimpshelf.py
+lib/gimp/2.0/python/gimpshelf.pyc
+lib/gimp/2.0/python/gimpshelf.pyo
+lib/gimp/2.0/python/gimpthumb.la
+lib/gimp/2.0/python/gimpui.py
+lib/gimp/2.0/python/gimpui.pyc
+lib/gimp/2.0/python/gimpui.pyo
+lib/gimp/2.0/python/pygimp-logo.png
diff -r f3650841b50d -r 6e911b62b321 graphics/gimp/options.mk
--- a/graphics/gimp/options.mk Wed May 12 06:28:11 2021 +0000
+++ b/graphics/gimp/options.mk Wed May 12 06:30:56 2021 +0000
@@ -1,11 +1,12 @@
-# $NetBSD: options.mk,v 1.9 2019/04/03 06:02:29 wiz Exp $
+# $NetBSD: options.mk,v 1.10 2021/05/12 06:30:56 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gimp
-PKG_SUPPORTED_OPTIONS= aalib mng
-PKG_SUGGESTED_OPTIONS= mng
+PKG_SUPPORTED_OPTIONS= aalib mng python
+PKG_SUGGESTED_OPTIONS= mng python
.include "../../mk/bsd.options.mk"
+PLIST_SRC= ${PLIST_SRC_DFLT}
PLIST_VARS+= aalib mng
.if !empty(PKG_OPTIONS:Maalib)
@@ -17,3 +18,19 @@
.include "../../graphics/mng/buildlink3.mk"
PLIST.mng= yes
.endif
+
+.if !empty(PKG_OPTIONS:Mpython)
+PLIST_SRC+= PLIST.python
+PYTHON_VERSIONS_ACCEPTED= 27
+CONFIGURE_ARGS+= --enable-python
+REPLACE_PYTHON+= plug-ins/pygimp/*.py
+REPLACE_PYTHON+= plug-ins/pygimp/plug-ins/*.py
+REPLACE_PYTHON+= plug-ins/pygimp/plug-ins/*/*.py
+REPLACE_PYTHON+= tools/*.py
+.include "../../x11/py-gtk2/buildlink3.mk"
+.include "../../graphics/py-cairo118/buildlink3.mk"
+.include "../../lang/python/pyversion.mk"
+.include "../../lang/python/application.mk"
+.else
+CONFIGURE_ARGS+= --disable-python
+.endif
Home |
Main Index |
Thread Index |
Old Index