Commit Graph

307 Commits

Author SHA1 Message Date
jca 3079f632f4 Fix bogus return value and let this build with clang 15 2023-01-24 17:53:35 +00:00
ajacoutot 696a952e44 Update to gimp-2.99.14. 2022-11-22 11:13:45 +00:00
sthen dae9f91e31 bump for MODPY_DEFAULT_VERSION_3 change 2022-11-13 15:28:39 +00:00
ajacoutot 8fd3a49605 Rename and install conflicting files with gimp-2 so that gimp-3 can is
registered as an image editor in desktop environments.

looks good to landry@
2022-11-07 21:08:49 +00:00
ajacoutot d3aaddb10c WANTLIB: pcre -> pcre2-8 after recent glib2 update. 2022-11-05 17:06:22 +00:00
espie 260b92244c tweak the gimp PKGSPEC and bump the affected ports, that will now NOT
try to work with gimp/snapshot

as sthen@ noted, and I didn't ufraw is also affected, because the most
correct PKGSPEC has gimp->=2,<2.99 (and not <3)

okay sthen@
2022-10-04 14:53:11 +00:00
sthen f0dbe5aba8 missed bump, pointed out by namn@ 2022-09-24 20:06:11 +00:00
sthen c7393cb8b9 GIMP has various memory limits (undo, tile cache) which it sets based
on total memory in the machine, ignoring the facts that someone else might
use memory too and allocations might be limited (as done by default in
login.conf).

Adjust them to choose the lower of machine memory and RLIMIT_DATA.
While there, use setrlimit at startup to use -max instead of the soft
-cur limit (as done by various other software in base/ports).

ok namn@, looks good code-wise to stsp@
2022-09-22 09:34:34 +00:00
kili f8bc363b09 This needs textproc/xslt at build time.
ok rsadowski@
2022-09-21 20:23:31 +00:00
sthen 671a25a8e1 add BDEP for bash - can probably be patched in gimp-2.99.12/app/tests/meson.build:49
but going for smallest change for now
2022-09-12 14:21:07 +00:00
landry 33ab63da22 graphics/gimp/snapshot: fix build with heif 1.13.0.
from https://gitlab.gnome.org/GNOME/gimp/-/issues/8570
2022-09-10 14:48:51 +00:00
landry b6dbf6a425 graphics/gimp/snapshot: use lua module to properly subst LUA_DEP_VERSION in shebang
luajit plugins will only work if one installs luajit, but lets keep it
as an optional runtime dependency, like gjs for javascript plugins.

discussed with ajacoutot@
2022-09-10 13:48:13 +00:00
landry 72d7d021c1 link gimp3 to the build, and reorder Makefile 2022-09-10 12:59:17 +00:00
landry cb260f9ac5 import gimp 2.99.12 as graphics/gimp/snapshot
gimp 2.10 is one of the last user-visible python 2 consumers, so allow
users to start playing with gimp 3, and test their favourite plugins
against it.
cf for example https://github.com/bootchk/resynthesizer/wiki/Resynthesizer-and-GIMP-version-3
for resynthesizer.

port modeled after gimp/stable, main differences:
- uses meson instead of autotools, and Gtk+3 instead of Gtk+2
- gjs/luajit plugins available, runtime dependency not enforced
- all conflicting files are @comment'ed in PLIST to allow coexistence
- two different distinct instances can be started in parallel with gimp-2.99 -n

cf https://www.gimp.org/news/2022/08/27/gimp-2-99-12-released/ &
https://www.gimp.org/news/2022/02/25/gimp-2-99-10-released for details
about last gimp beta releases.

discussed with ajacoutot@ and espie@
2022-09-10 12:58:21 +00:00
landry 915943df77 graphics/gimp/stable: add PLIST annotations to make it possible to install multiple versions
discussed with ajacoutot@
2022-09-10 12:49:22 +00:00
sthen 6128739db6 gimp resynthesizer plugin: use default autoreconf rather than autogen.sh, it
does enough, and avoids some complexity and automatic running of ./configure
at the end, which means we were skipping the normal ports autoconf setup

ok espie
2022-06-25 10:35:00 +00:00
sthen 9fe712505a update to gimp-2.10.32 2022-06-23 11:48:52 +00:00
sthen 124da53a6d sync WANTLIB 2022-03-31 14:20:40 +00:00
naddy af6a79943b drop RCS Ids 2022-03-11 19:22:04 +00:00
espie 7ec0500b99 zap compat patch that's no longer necessary after the ghostscript update 2022-02-03 20:39:25 +00:00
sthen abcd791cd9 update to gimp-2.10.30, from Josh Grosse 2022-01-31 13:16:57 +00:00
espie 30b4060383 update to 2.10.28
thanks gnezdo and Joss Gross for testing
2021-10-06 07:37:02 +00:00
ajacoutot 25dda00299 Sync WANTLIB after OpenEXR update. 2021-08-31 07:30:29 +00:00
sthen 350cf40556 remove ports libexecinfo, we now have a libunwind-based libexecinfo in base 2021-06-09 19:50:06 +00:00
espie 21cfc7c492 show dashboard memory under OpenBSD
okay sthen@
2021-05-09 14:18:37 +00:00
sthen 1681003d2e gimp: set CC_FOR_BUILD, from Brad. This is used when compiling a tool used
during the build.
2021-04-01 10:01:06 +00:00
sthen 84b3eb81ad update to gimp-2.10.24 2021-03-31 20:52:47 +00:00
naddy 0126d2ea7e graphics/gimp/liquid-rescale: update to 0.7.2 and fix build with -fno-common
Update to maintenance release 0.7.2.
Regen WANTLIB and PLIST.
Take unreleased -fno-common fixes from upstream repository.

ok espie@ who had a subset of this
2021-02-23 20:03:28 +00:00
sthen 3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
ajacoutot b3b872c09b Unbreak runtime after recent gegl04 update.
From upstream:
app: make "gegl:introspect" an optional operation dependency.
Check at runtime for the operation availability and set the "Show Image
Graph" action active depending on this check.

issue reported by Omar Polo
2020-12-24 09:10:38 +00:00
sthen 3f1b361414 gimp-plugin-lensfun: don't try to use openmp, which causes build failure
on gcc arches. don't hardcode "gcc" in Makefile check. don't hardcode a
link with libstdc++.
2020-12-09 10:28:02 +00:00
ajacoutot d95180db7d devel/appstream-glib is only needed at build time. 2020-12-06 08:33:18 +00:00
espie ead3da878a minor update to 2.10.22, okay sthen@ 2020-11-05 11:39:44 +00:00
jca 8f8f7630d6 Reinstate python plugins support
Requested by espie@, who points out that disabling python broke the
resynthetizer plugin.
2020-11-01 20:40:45 +00:00
espie 179a3eee59 +lensfun 2020-10-31 10:40:36 +00:00
espie 9e01063019 gimp plugin to use lensfen (correct camera aberrations)
okay and tweak solene@, thanks for the test!
2020-10-31 10:40:05 +00:00
jca 35f7a30e8c Drop py-gtk2 support
py-gtk2 is obsolete, ajacoutot@ wants to take it behind the barn.  This
diff drops support for python plugins and the Python-fu submenu.
ok ajacoutot@
2020-10-09 22:17:15 +00:00
espie cd6a543138 fix build 2020-10-05 12:14:23 +00:00
espie 2db099c134 +resynthesizer 2020-10-02 22:05:15 +00:00
espie c7fa24f4a0 gimp-resynthesizer-plugin is a popular gimp plugin that can recreate missing
content and complete patterns so that they are tileable.

it is actually completely different from liquid-rescale and has lots of
other applications, such as quickly removing selections from images.

okay solene@
2020-10-02 22:04:17 +00:00
sthen 0b91f85fb5 update to gimp-2.10.20, from Josh Grosse 2020-09-10 10:21:22 +00:00
sthen d517c94ee2 sync gimp libs following libmypaint update 2020-05-18 15:42:59 +00:00
ajacoutot 104be7ea18 Fix WANTLIB after openexr update. 2020-05-14 12:35:30 +00:00
sthen 12c168e42f build GIMP with HEIF support 2020-02-24 23:24:40 +00:00
sthen e90b73c3af fix license marker (v3+), tidy dependencies 2020-02-24 22:59:25 +00:00
sthen 81f541accd update to gimp-2.10.18, sync with libmypaint 1.5.x 2020-02-24 22:45:19 +00:00
sthen f4c2f1321a update to gimp-2.10.16
doesn't help the (random?) crashes in file/open but doesn't seem worse
2020-02-20 12:24:53 +00:00
cwen 043ebd3f90 gimp: move HOMEPAGE to https, needs ports-gcc on !clang archs
OK sthen@
2019-12-29 23:29:13 +00:00
sthen b8fb8970f6 GEGL provides binaries and libraries but, to avoid a conflict, the binaries
were only included in the old graphics/gegl (0.2.x) port. The recent gimp
update uses graphics/gegl to provide binaries and gegl04 for libraries, and
no other ports use graphics/gegl. Tidy this up by adding the binaries to
gegl04, changing the gimp port to use them, and removing graphics/gegl.

Prompted by / "If this was the last consumer of the old gegl, then sure" aja@
2019-12-06 09:31:13 +00:00
giovanni 8376f77ad3 Update to 2.10.14
ok sthen@

sync wantlib
2019-12-04 11:34:55 +00:00