SHA256
1
0
forked from pool/gimp

52 Commits

Author SHA256 Message Date
d7bae19de0 Accepting request 1329369 from graphics
update

OBS-URL: https://build.opensuse.org/request/show/1329369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=163
2026-01-28 14:05:28 +00:00
5c70434bba OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=103 2026-01-26 20:39:06 +00:00
213727d5a7 OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=102 2026-01-26 08:06:51 +00:00
cc03c29ee5 - Update to 3.0.8
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=101
2026-01-26 07:52:54 +00:00
539373922d Accepting request 1327775 from graphics
OBS-URL: https://build.opensuse.org/request/show/1327775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=162
2026-01-18 21:18:31 +00:00
8a8cfef6d6 - Add CVE fixes:
+ gimp-CVE-2025-14422.patch (bsc#1255293 CVE-2025-14422)
  + gimp-CVE-2025-14423.patch (bsc#1255294 CVE-2025-14423)
  + gimp-CVE-2025-14424.patch (bsc#1255295 CVE-2025-14424)
  + gimp-CVE-2025-14425.patch (bsc#1255296 CVE-2025-14425)

OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=100
2026-01-17 08:10:50 +00:00
fa630de895 Accepting request 1325843 from graphics
OBS-URL: https://build.opensuse.org/request/show/1325843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=161
2026-01-08 14:25:48 +00:00
47f3048964 - Add gimp-CVE-2025-15059.patch: vulnerability in file-psp
(CVE-2025-15059, ZDI-CAN-28232, bsc#1255766).

OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=99
2026-01-07 19:50:05 +00:00
e821964374 Accepting request 1325440 from graphics
OBS-URL: https://build.opensuse.org/request/show/1325440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=160
2026-01-06 16:41:39 +00:00
2749e8cf55 - Relax the gtk3_version requirement so that Leap 16.0 can build
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=98
2026-01-05 15:14:12 +00:00
3324d5eeb5 Accepting request 1320136 from graphics
Update changelog to recored security fix ID in previous update (CVE-2025-10922, ZDI-CAN-27863, bsc#1250497). (forwarded request 1320107 from qzhao)

OBS-URL: https://build.opensuse.org/request/show/1320136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=159
2025-11-26 17:50:04 +00:00
ce6e29626d Update changelog to recored security fix ID in previous update (CVE-2025-10922, ZDI-CAN-27863, bsc#1250497).
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=97
2025-11-26 09:39:54 +00:00
22c272bab6 Accepting request 1309404 from graphics
- Update to 3.0.6

OBS-URL: https://build.opensuse.org/request/show/1309404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=158
2025-10-08 16:12:31 +00:00
9f10d8d269 - Update to 3.0.6
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=96
2025-10-07 01:21:03 +00:00
3bfee05c38 Accepting request 1309048 from graphics
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1309048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=157
2025-10-06 16:06:59 +00:00
d9d6023463 Accepting request 1307201 from graphics
OBS-URL: https://build.opensuse.org/request/show/1307201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=156
2025-09-29 14:30:45 +00:00
4f27ad9d25 Accepting request 1307522 from home:qzhao:branches:graphics
1, Add gimp-CVE-2025-10925.patch: Fix GIMP ILBM file parsing stack-based buffer overflow remote code execution vulnerability. (CVE-2025-10925, ZDI-25-914, ZDI-CAN-27793, bsc#1250501); 2, Add gimp-CVE-2025-10922.patch: Fix GIMP DCM file parsing heap-based buffer overflow remote code execution vulnerability. (CVE-2025-10922, ZDI-25-911, ZDI-CAN-27863, bsc#1250497); 3, Add gimp-CVE-2025-10920.patch: Prevent overflow attack by checking if output >= max, not just output > max. (CVE-2025-10920, ZDI-25-909, ZDI-CAN-27684, bsc#1250495)

OBS-URL: https://build.opensuse.org/request/show/1307522
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=95
2025-09-29 05:11:28 +00:00
e830296eae - Add gimp-CVE-2025-10924.patch: Fix integer overflow while parsing
FF files. (CVE-2025-10924, bsc#1250499)

OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=94
2025-09-25 17:40:50 +00:00
55775f7b05 Accepting request 1300479 from graphics
OBS-URL: https://build.opensuse.org/request/show/1300479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=155
2025-08-21 14:57:28 +00:00
215ad970f6 Update the changelog to fillup the security fix history. (CVE-2025-2760, bsc#1241690)
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=93
2025-08-20 10:24:29 +00:00
aab3634bba Accepting request 1278325 from graphics
- Update to 3.0.4:
  * Clipboard Pasting: Resolved an issue where pasted selections into
    other programs were incorrectly padded to the original image size.
  * Monitor-Related Crashes: Addressed crashes occurring when changing
    or turning off the main monitor.
  * Font Handling: Improved font loading speed on startup, benefiting
    users with extensive font libraries.
  * Non-Destructive Filters: Enhanced undo history tracking for filters
    and fixed visual glitches during layer rotations with active filters.
  * Corrected the Help button functionality in the About Dialog.
  * Fixed icon display issues on KDE Wayland.
  * Resolved the ZDI-CAN-26752 bug affecting .ICO file imports.
- Drop upstreamed 0001-Avoid-type-names-and-keywords.patch
- Drop upstreamed gimp-3.0.2_de_shortcut_clash.patch

OBS-URL: https://build.opensuse.org/request/show/1278325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=154
2025-05-23 12:28:34 +00:00
f54431ab68 Accepting request 1278320 from home:polslinux:branches:graphics
- Update to 3.0.4:
  * Clipboard Pasting: Resolved an issue where pasted selections into
    other programs were incorrectly padded to the original image size.
  * Monitor-Related Crashes: Addressed crashes occurring when changing
    or turning off the main monitor.
  * Font Handling: Improved font loading speed on startup, benefiting
    users with extensive font libraries.
  * Non-Destructive Filters: Enhanced undo history tracking for filters
    and fixed visual glitches during layer rotations with active filters.
  * Corrected the Help button functionality in the About Dialog.
  * Fixed icon display issues on KDE Wayland.
  * Resolved the ZDI-CAN-26752 bug affecting .ICO file imports.
- Drop upstreamed 0001-Avoid-type-names-and-keywords.patch
- Drop upstreamed gimp-3.0.2_de_shortcut_clash.patch

OBS-URL: https://build.opensuse.org/request/show/1278320
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=92
2025-05-19 07:42:25 +00:00
4654ee62e5 Accepting request 1276841 from graphics
Shortcut conflicts

OBS-URL: https://build.opensuse.org/request/show/1276841
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=153
2025-05-13 18:12:37 +00:00
143fe7caa2 OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=91 2025-05-12 12:58:40 +00:00
5c658d5e6a - add gimp-3.0.2_de_shotcut_clash.patch to fix shortcuts of JPEG export
Makes the export dialog usable with shortcuts again. Forward to GIMP where it got closed two times until they told me where to really submit the fixes. Should be in next I18N de update, but I forward it here, so it gets incorporated faster.

OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=90
2025-05-12 11:36:11 +00:00
a10ad71b82 Accepting request 1273184 from graphics
OBS-URL: https://build.opensuse.org/request/show/1273184
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=152
2025-04-30 17:02:22 +00:00
5b64c7f099 - Added libheif-aom dependency to AVIF support (boo#1241553).
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=89
2025-04-28 14:59:01 +00:00
d4ef129598 Accepting request 1267702 from graphics
- all distros actually ship with python 3.6 we can have it enabled
  all the time

- Add 0001-Avoid-type-names-and-keywords.patch from Fedora: fixes
  build with gcc 15.

OBS-URL: https://build.opensuse.org/request/show/1267702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=151
2025-04-08 15:50:15 +00:00
6f01dafd8c - all distros actually ship with python 3.6 we can have it enabled
all the time

OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=88
2025-04-07 14:17:33 +00:00
ebf5c2ba3c - Add 0001-Avoid-type-names-and-keywords.patch from Fedora: fixes
build with gcc 15.

OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=87
2025-04-06 07:24:08 +00:00
e05fa46512 Accepting request 1255848 from graphics
- Update to 3.0.2 (forwarded request 1255755 from darix)

OBS-URL: https://build.opensuse.org/request/show/1255848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=150
2025-03-26 20:17:52 +00:00
30edd68e81 - Update to 3.0.2
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=86
2025-03-25 08:07:55 +00:00
989a94430c Accepting request 1253919 from graphics
- Update to 3.0.0
  https://www.gimp.org/news/2025/03/16/gimp-3-0-released/

- Add qoi-devel BuildRequires: enable QOI format support

OBS-URL: https://build.opensuse.org/request/show/1253919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=149
2025-03-18 16:40:17 +00:00
a2c7762376 - Update to 3.0.0
https://www.gimp.org/news/2025/03/16/gimp-3-0-released/

OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=85
2025-03-17 19:17:19 +00:00
b65e568e89 - Add qoi-devel BuildRequires: enable QOI format support
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=84
2025-03-17 06:17:29 +00:00
00e2b4c055 Accepting request 1250087 from graphics
- Remove obsolete translation-update-upstream support
  (jsc#SLE-21105). (forwarded request 1249930 from sbrabec)

OBS-URL: https://build.opensuse.org/request/show/1250087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=148
2025-03-05 12:38:50 +00:00
42d650c30c - Remove obsolete translation-update-upstream support
(jsc#SLE-21105).

OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=83
2025-03-04 13:56:48 +00:00
9448c70387 Accepting request 1244820 from graphics
- Update to 3.0.0~RC3
  https://www.gimp.org/news/2025/02/10/gimp-3-0-RC3-released/
- drop upstream patches:
  33ab56f55406cc3cbe3cc7c0627340da1c1f2d6a.patch
  gdb.patch (forwarded request 1244816 from darix)

OBS-URL: https://build.opensuse.org/request/show/1244820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=147
2025-02-11 20:21:13 +00:00
aa6909d823 - Update to 3.0.0~RC3
https://www.gimp.org/news/2025/02/10/gimp-3-0-RC3-released/
- drop upstream patches:
  33ab56f55406cc3cbe3cc7c0627340da1c1f2d6a.patch
  gdb.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=82
2025-02-10 17:02:52 +00:00
f274f67151 - Drop unused pkgconfig(webkit2gtk-4.0) BuildRequires.
- Use ldconfig_scriptlets macro for post(un) handling.

OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=81
2025-02-10 16:34:58 +00:00
c7c6e68960 Accepting request 1237665 from graphics
- drop buildrequires for the font. really not needed.

- scm scripts seems to also require the typelib for gimp. move the
  typelib to the main package including the requires for the
  babl/gegl typelibs

- Added 33ab56f55406cc3cbe3cc7c0627340da1c1f2d6a.patch 
  This properly fixes that gimp doesnt crash if it doesnt find any
  fonts. 
- guard the gdb buildrequires in a bcond debug_in_build_gimp so we
  can easily reenable it for future issues
- replace bitstream-vera-fonts with google-noto-sans-fonts
  The actual font it looks for is "Warsaw Gothic" but according to
  https://gitlab.gnome.org/GNOME/gimp/-/issues/12640#note_2312400
  it should not really need it during the build

- Sync spec file with master package
  - add libbacktrace-devel for better backtrace support
  - add BR for bitstream-vera-fonts so that at least some fonts
    are available for the splash screen. this fixes the build
    crash.
- cleanup lua BR as the lua plugin is experimental and shouldnt be
  enabled.

- Add gdb.patch and gdb BR to debug
  https://gitlab.gnome.org/GNOME/gimp/-/issues/12640

- Import some useful patches from Fedora 
  gimp-2.99.19-cm-system-monitor-profile-by-default.patch
  gimp-2.99.19-external-help-browser.patch

OBS-URL: https://build.opensuse.org/request/show/1237665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=146
2025-01-16 17:30:54 +00:00
1db2a0546f - drop fix-gcc14-build.patch
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=80
2025-01-14 09:15:10 +00:00
13e926c752 - drop buildrequires for the font. really not needed.
- scm scripts seems to also require the typelib for gimp. move the
  typelib to the main package including the requires for the
  babl/gegl typelibs

- Added 33ab56f55406cc3cbe3cc7c0627340da1c1f2d6a.patch 
  This properly fixes that gimp doesnt crash if it doesnt find any
  fonts. 
- guard the gdb buildrequires in a bcond debug_in_build_gimp so we
  can easily reenable it for future issues
- replace bitstream-vera-fonts with google-noto-sans-fonts
  The actual font it looks for is "Warsaw Gothic" but according to
  https://gitlab.gnome.org/GNOME/gimp/-/issues/12640#note_2312400
  it should not really need it during the build

- Sync spec file with master package
  - add libbacktrace-devel for better backtrace support
  - add BR for bitstream-vera-fonts so that at least some fonts
    are available for the splash screen. this fixes the build
    crash.
- cleanup lua BR as the lua plugin is experimental and shouldnt be
  enabled.

- Add gdb.patch and gdb BR to debug
  https://gitlab.gnome.org/GNOME/gimp/-/issues/12640

- Import some useful patches from Fedora 
  gimp-2.99.19-cm-system-monitor-profile-by-default.patch
  gimp-2.99.19-external-help-browser.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=79
2025-01-14 08:52:56 +00:00
9ffa5c8d61 Accepting request 1227143 from graphics
Fix JPEG-XL disabling properly

OBS-URL: https://build.opensuse.org/request/show/1227143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=145
2024-11-30 12:27:13 +00:00
e98ca8b0fb Aaah. I really hate these reversed defaults.
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=78
2024-11-28 14:52:38 +00:00
524f33fe9b Typo
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=77
2024-11-28 14:49:18 +00:00
2d72f8a4f9 OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=76 2024-11-28 14:47:51 +00:00
903b548dad Proper with/without
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=75
2024-11-28 14:47:10 +00:00
69c959349e OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=74 2024-11-28 14:37:49 +00:00
c804d0fd2e Accepting request 1223644 from home:lkocman:branches:graphics
- Disable jpeg-xl support on SLES < 16.0 (SP6, SP7) 
  libjxl is only in Leap/PackageHUB but not in SLES.
  Leap gets gimp binary rpms from SLES.
  (helps to fix bsc#1233157)
- Re-adding dropped references compared to SLES 15 SP6 changelog
  CVE-2022-32990 CVE-2023-44441 CVE-2023-44442
  CVE-2023-44443 CVE-2023-44444
  bsc#1201192 bsc#1217160 bsc#1217161 bsc#1217162 bsc#1217163

OBS-URL: https://build.opensuse.org/request/show/1223644
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=73
2024-11-28 14:12:41 +00:00
17ca35b9b2 Accepting request 1208846 from graphics
OBS-URL: https://build.opensuse.org/request/show/1208846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=144
2024-10-20 08:13:41 +00:00
3fa883f673 - Add gtk-update-icon-cache BuildRequires: Ensure
/usr/bin/gtk-update-icon-cache is present during build, as
  configure checks for it.

OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=72
2024-10-18 10:47:14 +00:00
8 changed files with 973 additions and 208 deletions

View File

@@ -1,26 +0,0 @@
diff -ru orig/plug-ins/file-tiff/file-tiff-load.c mod/plug-ins/file-tiff/file-tiff-load.c
--- orig/plug-ins/file-tiff/file-tiff-load.c 2024-05-03 02:33:35.000000000 +0200
+++ mod/plug-ins/file-tiff/file-tiff-load.c 2024-05-21 13:18:49.443359344 +0200
@@ -1301,8 +1301,8 @@
/* any resolution info in the file? */
{
- gfloat xres = 72.0;
- gfloat yres = 72.0;
+ gdouble xres = 72.0;
+ gdouble yres = 72.0;
gushort read_unit;
GimpUnit unit = GIMP_UNIT_PIXEL; /* invalid unit */
diff -ru orig/plug-ins/metadata/metadata-editor.c mod/plug-ins/metadata/metadata-editor.c
--- orig/plug-ins/metadata/metadata-editor.c 2024-05-03 02:33:35.000000000 +0200
+++ mod/plug-ins/metadata/metadata-editor.c 2024-05-21 13:20:13.900525624 +0200
@@ -2140,7 +2140,7 @@
}
else
{
- if (! g_strv_contains (values, equiv_values[evi]))
+ if (! g_strv_contains ((const gchar * const*)values, equiv_values[evi]))
{
gchar *tmpvalue;

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50a845eec11c8831fe8661707950f5b8446e35f30edfb9acf98f85c1133f856e
size 31698453

View File

@@ -0,0 +1,25 @@
diff -up gimp-2.99.18/etc/gimprc.in.cm-system-monitor-profile-by-default gimp-2.99.18/etc/gimprc.in
--- gimp-2.99.18/etc/gimprc.in.cm-system-monitor-profile-by-default 2024-02-17 18:01:20.000000000 +0100
+++ gimp-2.99.18/etc/gimprc.in 2024-05-07 14:39:06.468575598 +0200
@@ -316,9 +316,9 @@
# Defines the color management behavior. This is a parameter list.
#
-# (color-management
+(color-management
# (mode display)
-# (display-profile-from-gdk no)
+ (display-profile-from-gdk no)
# (display-rendering-intent relative-colorimetric)
# (display-use-black-point-compensation yes)
# (display-optimize yes)
@@ -326,7 +326,8 @@
# (simulation-use-black-point-compensation no)
# (simulation-optimize yes)
# (simulation-gamut-check no)
-# (out-of-gamut-color (color-rgb 1 0 1)))
+# (out-of-gamut-color (color-rgb 1 0 1))
+)
# Keep a permanent record of all opened and saved files in the Recent
# Documents list. Possible values are yes and no.

View File

@@ -0,0 +1,13 @@
Index: gimp-3.0.4/etc/gimprc.in
===================================================================
--- gimp-3.0.4.orig/etc/gimprc.in
+++ gimp-3.0.4/etc/gimprc.in
@@ -823,7 +823,7 @@
# Sets the browser used by the help system. Possible values are gimp and
# web-browser.
#
-# (help-browser gimp)
+(help-browser web-browser)
# The maximum number of actions saved in history. This is an integer value.
#

View File

@@ -0,0 +1,12 @@
diff -up gimp-2.99.18/etc/gimprc.in.no-phone-home-default gimp-2.99.18/etc/gimprc.in
--- gimp-2.99.18/etc/gimprc.in.no-phone-home-default 2024-05-07 14:40:02.746185394 +0200
+++ gimp-2.99.18/etc/gimprc.in 2024-05-07 14:40:49.353862228 +0200
@@ -399,7 +399,7 @@
# Check for availability of GIMP updates through background internet queries.
# Possible values are yes and no.
#
-# (check-updates yes)
+(check-updates no)
# Timestamp of the last update check. This is an integer value.
#

BIN
gimp-3.0.8.tar.xz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,582 @@
-------------------------------------------------------------------
Sun Jan 25 03:00:53 UTC 2026 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.8
- Font Loading Performance
- Improvements in start-up time for users with a large number
of fonts was backported from our 3.2 RC2 release. As a
result, we now wait to load images until fonts are
initialized - this prevents some occasional odd displays and
other issues when an XCF file tried to access a partially
loaded font.
- Assorted updates and fixes
- Daniel Plakhotich helped us identify an issue when exporting
a lossless WEBP image could be affected by lossy settings
(such as Quality being less than 100%). Weve updated our
WEBP plug-in to prevent this from happening.
- Thanks to Jehans efforts, the standard gimp-3.0 executable
can now be run with a --no-interface flag instead of
requiring users to call gimp-console-3.0 even on devices with
no display. The --show-debug-menu flag is now visible as
well.
- programmer_ceds improved our flatpak by adding safe guards to
show the correct configuration directory regardless of
whether XDG_CONFIG_HOME is defined on the users system. This
should make it much easier for flatpak users to install and
use third party plug-ins.
- We fixed a rare but possible crash when using the Equalize
filter on images with NaN values. Images that contain these
are usually created from scientific or mapping data, so
youre unlikely to come across them in standard editing.
- Jeremy Bicha fixed an internal issue where the wrong version
number could be used when installing minor releases (such as
the 3.2 release candidates and upcoming 3.2 stable release).
- As noted in our 3.2RC2 news post, we have updated our SVG
import code to improve the rendered path.
- Further improvements have been made to our non-destructive
filter code to improve stability, especially when copying and
pasting layers and images with filters attached to them. Some
issues related to applying NDE filters on Quick Masks have
also been corrected.
- An unintended Search pop-up that appeared when typing while
the Channels dockable was selected has been turned off.
- When saving XCFs for GIMP 2.10 compatibility, we
unintentionally saved Grid color using the new color format.
This caused errors when reopening the XCF in 2.10. This
problem has now been fixed! If you encounter any other XCF
incompatibility, please let us know.
- Themes and UX
- The Navigation and Selection Editor dockables no longer show
a large bright texture when no image is actively selected.
This was especially noticeable on dark themes.
- When a layer has no active filters, the Fx column had the
same “checkbox” outline when hovered over as the lock column.
This led to confusion about clicking it to add filters. We
have removed the outline on hover as a small step to help
address this.
- Ondřej Míchal fixed alignment and cut-off issues with the
buttons on our Transform tool overlays. All buttons should
now be properly centered and visible.
- The options for filling layers with colors when resizing the
canvas will be turned off when not relevant (such as when you
set layers to not be resized).
- More GUI elements such as dialog header icons will now
respond to your icon size preferences.
- Ondřej Míchal has continued his work to update our UI with
the more usable Spin Scale widget. He has also updated the
widget itself to improve how it works for users and
developers alike.
- Security fixes
- Jacob Boerema and Gabriele Barbero continued to patch
potential security issues related to some of our file format
plug-ins. In addition to existing fixes mentioned in the
release candidate news posts, the following exploits are now
prevented: ZDI-CAN-28232 ZDI-CAN-28265 ZDI-CAN-28530
ZDI-CAN-28591 ZDI-CAN-28599
- Another potential issue related to ICO files with incorrect
metadata was reported by Dhiraj. It does not have a CVE
number yet, but it has been fixed for GIMP 3.0.8. Jacob
Boerema also fixed a potential issue with loading Creator
blocks in Paintshop Pro PSP images.
- API
- For plug-in and script developers, a few new public APIs were
backported to GIMP 3.0.8. gimp_cairo_surface_get_buffer ()
allows you to retrieve a GEGL buffer from a Cairo surface
(such as a text layer). Note that this deprecates
gimp_cairo_surface_create_buffer ().
- gimp_config_set_xcf_version () and
gimp_config_get_xcf_version () can be used to specify a
particular XCF version for a configuration. This will allow
you to have that data serialized/deserialized for certain
versions of GIMP if there were differences (such as the Grid
colors mentioned above).
- Fixes were made for retrieving image metadata via scripting.
GimpMetadata is now a visible child of GExiv2Metadata, so you
can use standard gexiv2 functions to retrieve information
from it.
- Original thumbnail metadata is also now removed on export to
prevent potential issues when exporting into a new format.
- drop patches included in the update
gimp-CVE-2025-14422.patch (bsc#1255293 CVE-2025-14422)
gimp-CVE-2025-14423.patch (bsc#1255294 CVE-2025-14423)
gimp-CVE-2025-14424.patch (bsc#1255295 CVE-2025-14424)
gimp-CVE-2025-14425.patch (bsc#1255296 CVE-2025-14425)
gimp-CVE-2025-15059.patch (bsc#1255766 CVE-2025-15059)
-------------------------------------------------------------------
Fri Jan 16 17:52:35 UTC 2026 - Michael Gorse <mgorse@suse.com>
- Add CVE fixes:
+ gimp-CVE-2025-14422.patch (bsc#1255293 CVE-2025-14422)
+ gimp-CVE-2025-14423.patch (bsc#1255294 CVE-2025-14423)
+ gimp-CVE-2025-14424.patch (bsc#1255295 CVE-2025-14424)
+ gimp-CVE-2025-14425.patch (bsc#1255296 CVE-2025-14425)
-------------------------------------------------------------------
Wed Jan 7 06:06:45 UTC 2026 - Xiaoguang Wang <xiaoguang.wang@suse.com>
- Add gimp-CVE-2025-15059.patch: vulnerability in file-psp
(CVE-2025-15059, ZDI-CAN-28232, bsc#1255766).
-------------------------------------------------------------------
Mon Dec 1 07:26:22 UTC 2025 - JS <obs.coke518@passinbox.com>
- Relax the gtk3_version requirement so that Leap 16.0 can build
-------------------------------------------------------------------
Tue Oct 7 01:06:50 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- switch from pkgconfig(appstream-glib) to pkgconfig(appstream)
-------------------------------------------------------------------
Tue Oct 7 00:56:55 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.6
- Security:
- During development, we received reports from the Zero Day
Initiative of potential security issues with some of our file
import plug-ins. While these issues are very unlikely to
occur with real files, developers like Jacob Boerema and Alx
Sa proactively improved security for those imports.
The resolved reports are:
- ZDI-CAN-27793
- ZDI-CAN-27823
- ZDI-CAN-27836
- ZDI-CAN-27878
- ZDI-CAN-27684
- fix dicom plug-in:
Adds more safety checks and sets actual GError's instead of just
calling gimp_quit. Fix GIMP DCM File Parsing Heap-based Buffer
Overflow Remote Code Execution Vulnerability
(CVE-2025-10922, ZDI-CAN-27863, bsc#1250497)
- Core:
- Many false-positive build warnings have been cleaned out (and
proper issues fixed).
- Various crashes fixed.
- When creating a layer mask from the layer's alpha, but the
layer has no alpha, simply fill the mask with complete
opacity instead of a completely transparent layer.
- Various core infrastructure code reviewed, cleaned up,
refactored and improved, in drawable, layer and filter
handling code, tree view code, and more.
- GIMP_ICONS_LIKE_A_BOSS environment variable is not working
anymore (because "gtk-menu-images" and "gtk-button-images"
have been deprecated in GTK3 and removed in GTK4) and was
therefore removed.
- Lock Content now shows as an undo step.
- Add alpha channel for certain transforms.
- Add alpha channel on filter merge, when necessary.
- Filters can now be applied non-destructively on channels.
- Improved Photoshop brush support.
- After deleting a palette entry, the next entry is
automatically selected. This allows easily deleting several
entries in a row, among other usage.
- Resize image to layers irrespective to selections.
- Improved in-GUI release notes' demo script language:
- We can now set a button value to click it: "toolbox:text,
tool-options:outline=1, tool-options:outline-direction"
- Color selector's module names can be used as identifiers:
"color-editor,color-editor:CMYK=1,color-editor:total-ink-coverage"
- Fixed Alpha to Selection on single layers with no
transparency.
- Various code is slowly ported to newer code, preparing for
GTK4 port (in an unplanned future step):
- Using g_set_str() (optionally redefining it in our core
code to avoid bumping the GLib minimum requirement).
- Start using GListModel in various pieces of code, in
particular getting rid of more and more usage of
GtkTreeView when possible (as it will be deprecated with
GTK4).
- New GimpRow class for all future row widgets.
- Use more of G_DECLARE_DERIVABLE_TYPE and
G_DECLARE_FINAL_TYPE where relevant.
- New GimpContainerListView using a GtkListBox.
- New GimpRowSeparator, GimpRowSettings, GimpRowFilter and
GimpRowDrawableFilter widgets.
- (Experimental) GEX Format was updated.
- Palette import:
- Set alpha value for image palette imports.
- Fix Lab & CMYK ACB palette import.
- Add palette format filters to import dialog, making it more
apparent what palette formats are supported, and giving the
ability to hide irrelevant files.
- Improved filter actions' sensitivity to make sure they are
set insensitive when relevant. In particular filters which
cannot be run non-destructively (e.g. filters with aux
inputs, non-interactive filters and GEGL Graph) must be
insensitive when trying to run them on group layers.
- Fix bad axis centering on zoom out.
- Export better SVG when exporting paths.
- Tools:
- Text tool: make sure the default color is only changed when
the user confirms the color change.
- Foreground Selection tool: do not create a selection when no
strokes has been made. In particular this removes the
unnecessary delay which happened when switching to another
tool without actually stroking anything.
- All Transform tools: transform boundaries for preview is now
multi-layers aware.
- (Experimental) Seamless Clone tool: made to work again,
though it is still too slow to get out of Playground.
- Graphical User Interface:
- Various improvements to window management:
- Keep-Above windows are set with the Utility hint.
- Utility windows are not made transient to a parent.
- Transient factory dialogs follow the active display,
ensuring that new image windows would not hide your toolbox
and dock windows.
- Various CSS improvements for styling of the interface. Some
theme leaks were also fixed.
- New toggle button in Brushes and Fonts dockable, allowing
brush and font previews to optionally follow the color theme.
For instance, when using a dark theme, the brush and font
previews could be drawn on the theme background, using the
theme foreground colors. By default, these data previews are
still drawn as black on white.
- Palette grid is now drawn with the theme's background color.
- Consistent naming patterns on human-facing options (first
word only capitalized).
- About dialog:
- We will now display the date and time of the last check in
a "Up to date as of <date> at <time>" string, differing
from the "Last checked on <date> at <time>" string. The
former will be used to indicate that GIMP is indeed
up-to-date whereas the latter when a new version was
released and that you should update.
- We now respect the system time/date format on macOS and
Windows.
- The search popup won't pop up without an image.
- Better zoom step algorithm for data previews in container
popup (e.g. the brush popup in paint Tool Options).
- Disable animation in the Input Controller, Preferences and
Welcome dialogs for stack transition when animation are
disabled in system settings.
- Fixed crosshair hotspot on Windows (crosshair cursor for
brushes was offset with a non-100% display scale factor).
- Debug/CRITICAL dialog:
- Make sure it is non-modal.
- Follow the theme mode under Windows.
- While loading images, all widgets in the file dialog are made
insensitive, except for the Cancel button and the progress
bar.
- Both grid and list views can now zoom via scroll and zoom
gestures (it used to only work in list views).
- Pop an error message up on startup when GIO modules to read
HTTPS links are not found and that we therefore fail to load
the remote gimp_versions.json file. With the AppImage package
in particular, we depend on an environment daemon which
cannot be shipped in the package. So the next best thing is
to warn people and tell them what they should install to get
version checks.
- Welcome dialog:
- The "Community Tutorials" link is now shown after the
"Documentation" link.
- The "Learn more" link in Release Notes tab leads to the
actual release news for this version.
- Plug-ins:
- PDF export: do not draw disabled layer masks.
- Jigsaw: the plug-in can now draw on transparent layers.
- Various file format fixes and improvements: JPEG 2000 import,
TIFF import, DDS import, SVG import, PSP import, FITS export,
ICNS import, Dicom import, WBMP import, Farbfeld import, XWD
import, ILBM import.
- Sphere Designer: use spin scale instead of spin entries (the
latter is unusable with little horizontal space).
- Animation Play: frames are shown again in the playback
progress bar.
- Vala Goat Exercise: ignoring C warning in this Vala plug-in
as it is generated code and we cannot control it.
- file-gih: brush pipe selection modes now have nice,
translatable names.
- Metadata viewer: port from GtkTreeView to GtkListBox.
- File Raw Data: reduce Raw Data load dialogue height by moving
to a 2-column layout.
- SVG import: it is now possible to break aspect ratio with
specific width/height arguments, when calling the PDB
procedure non-interactively (from other plug-ins).
- Print: when run through a portal print dialog, the "Image
Settings" will be exposed as a secondary dialog, outputted
after the portal dialog, instead of a tab on the main print
dialog (because it is not possible to tweak the print dialog
when it is created by a portal). This will bring back usable
workflow of printing with GIMP when run in a sandbox (e.g.
Flatpak or Snap).
- Recompose: fixed for YCbCr decomposed images.
- Fixed vulnerabilities: ZDI-CAN-27684, ZDI-CAN-27863,
ZDI-CAN-27878, ZDI-CAN-27836, ZDI-CAN-27823, ZDI-CAN-27793.
- C Source and HTML export can now be run non-interactively too
(e.g. from other plug-ins).
- Map Object: fix missing spin boxes.
- Small Tiles: fix display lag.
- drop patches included in release:
gimp-CVE-2025-10920.patch
gimp-CVE-2025-10922.patch
gimp-CVE-2025-10924.patch
gimp-CVE-2025-10925.patch
-------------------------------------------------------------------
Sat Sep 27 05:21:18 UTC 2025 - Cliff Zhao <qzhao@suse.com>
- Add gimp-CVE-2025-10925.patch:
Fix GIMP ILBM file parsing stack-based buffer overflow remote code
execution vulnerability.
(CVE-2025-10925, ZDI-25-914, ZDI-CAN-27793, bsc#1250501)
-------------------------------------------------------------------
Sat Sep 27 03:12:55 UTC 2025 - Cliff Zhao <qzhao@suse.com>
- Add gimp-CVE-2025-10922.patch:
Fix GIMP DCM file parsing heap-based buffer overflow remote code
execution vulnerability.
(CVE-2025-10922, ZDI-25-911, ZDI-CAN-27863, bsc#1250497)
-------------------------------------------------------------------
Sat Sep 27 02:46:19 UTC 2025 - Cliff Zhao <qzhao@suse.com>
- Add gimp-CVE-2025-10920.patch:
Prevent overflow attack by checking if output >= max, not just
output > max.
(CVE-2025-10920, ZDI-25-909, ZDI-CAN-27684, bsc#1250495)
-------------------------------------------------------------------
Thu Sep 25 10:29:33 UTC 2025 - Alynx Zhou <alynx.zhou@suse.com>
- Add gimp-CVE-2025-10924.patch: Fix integer overflow while parsing
FF files. (CVE-2025-10924, bsc#1250499)
-------------------------------------------------------------------
Mon May 19 06:52:00 UTC 2025 - Paolo Stivanin <info@paolostivanin.com>
- Update to 3.0.4:
* Clipboard Pasting: Resolved an issue where pasted selections into
other programs were incorrectly padded to the original image size.
* Monitor-Related Crashes: Addressed crashes occurring when changing
or turning off the main monitor.
* Font Handling: Improved font loading speed on startup, benefiting
users with extensive font libraries.
* Non-Destructive Filters: Enhanced undo history tracking for filters
and fixed visual glitches during layer rotations with active filters.
* Corrected the Help button functionality in the About Dialog.
* Fixed icon display issues on KDE Wayland.
* Resolved the ZDI-CAN-26752 bug affecting .ICO file imports.
- Drop upstreamed 0001-Avoid-type-names-and-keywords.patch
- Drop upstreamed gimp-3.0.2_de_shortcut_clash.patch
-------------------------------------------------------------------
Mon Apr 28 14:49:41 UTC 2025 - Dirk Stoecker <opensuse@dstoecker.de>
- add gimp-3.0.2_de_shortcut_clash.patch to fix shortcuts of JPEG export
-------------------------------------------------------------------
Thu Apr 24 00:30:23 UTC 2025 - Xiaoguang Wang <xiaoguang.wang@suse.com>
- Added libheif-aom dependency to AVIF support (boo#1241553).
-------------------------------------------------------------------
Mon Apr 7 14:17:14 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- all distros actually ship with python 3.6 we can have it enabled
all the time
-------------------------------------------------------------------
Sat Apr 5 16:16:26 UTC 2025 - Michael Gorse <mgorse@suse.com>
- Add 0001-Avoid-type-names-and-keywords.patch from Fedora: fixes
build with gcc 15.
-------------------------------------------------------------------
Mon Mar 24 23:23:46 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.2
This is a bug-fix only release.
- Core:
- Mark some strings translatable.
- Fix crash when choosing a brush in grid view.
- Windows: temporary revert of some Input Device handling code
which was breaking pressure sensitivity for some graphics
tablets (though this revert may make issues with the eraser
tip).
- Fix crash when choosing a non-existing font in text tool
options.
- Tools:
- Reorder Line Art Detection options per design decision.
- Graphical User Interface:
- Keep headerbar color consistent when out of focus.
- Histogram uses the luminance value of the foreground color as
a threshold to lighten or darken the border color for
contrast with the histogram itself.
- Improve separation between panels in dark theme.
- Add default response for GimpQueryBox dialogues.
- Spacing between toolbox widgets improved.
- GimpSpinScale slider colors inverted.
- New icons: "gimp-toggle-on" and "gimp-toggle-off" and using
them in the Search Action's list as icons for toggle actions.
- Plug-ins:
- Python Console uses the luminance of the background color for
error text.
- Metadata Editor: fix buffer overflow.
- Gradient Flare: fix crash when setting the size to 0.
- Screenshot: X11 implementation is bypassed (in favor of
portals) when running on XWayland.
- Build:
- Various packaging fixes and cleanup.
- The Windows installer now prompts (only in user installation)
about deleting GIMP config files when uninstalling.
- GEGL 0.4.58 is now our minimum requirement.
- Windows installer: create Restore Point on system-wide
install.
-------------------------------------------------------------------
Mon Mar 17 10:38:29 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.0
https://www.gimp.org/news/2025/03/16/gimp-3-0-released/
-------------------------------------------------------------------
Sat Mar 15 22:32:19 UTC 2025 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Add qoi-devel BuildRequires: enable QOI format support
-------------------------------------------------------------------
Mon Mar 3 20:59:49 UTC 2025 - Stanislav Brabec <sbrabec@suse.com>
- Remove obsolete translation-update-upstream support
(jsc#SLE-21105).
-------------------------------------------------------------------
Mon Feb 10 16:35:33 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.0~RC3
https://www.gimp.org/news/2025/02/10/gimp-3-0-RC3-released/
- drop upstream patches:
33ab56f55406cc3cbe3cc7c0627340da1c1f2d6a.patch
gdb.patch
- A vulnerability allows remote attackers to execute arbitrary
code on affected installations of GIMP. The specific flaw exists
within parsing of XWD files. An integer overflow happens before
allocating a buffer. This fixed in GIMP 3.0.0.
https://www.gimp.org/news/2025/03/16/gimp-3-0-released
(CVE-2025-2760, bsc#1241690)
-------------------------------------------------------------------
Wed Feb 5 08:39:04 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Drop unused pkgconfig(webkit2gtk-4.0) BuildRequires.
- Use ldconfig_scriptlets macro for post(un) handling.
-------------------------------------------------------------------
Mon Jan 13 15:00:01 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- drop buildrequires for the font. really not needed.
-------------------------------------------------------------------
Tue Jan 7 12:40:20 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- scm scripts seems to also require the typelib for gimp. move the
typelib to the main package including the requires for the
babl/gegl typelibs
-------------------------------------------------------------------
Tue Jan 7 12:12:25 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Added 33ab56f55406cc3cbe3cc7c0627340da1c1f2d6a.patch
This properly fixes that gimp doesnt crash if it doesnt find any
fonts.
- guard the gdb buildrequires in a bcond debug_in_build_gimp so we
can easily reenable it for future issues
- replace bitstream-vera-fonts with google-noto-sans-fonts
The actual font it looks for is "Warsaw Gothic" but according to
https://gitlab.gnome.org/GNOME/gimp/-/issues/12640#note_2312400
it should not really need it during the build
-------------------------------------------------------------------
Tue Jan 7 00:24:53 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Sync spec file with master package
- add libbacktrace-devel for better backtrace support
- add BR for bitstream-vera-fonts so that at least some fonts
are available for the splash screen. this fixes the build
crash.
- cleanup lua BR as the lua plugin is experimental and shouldnt be
enabled.
-------------------------------------------------------------------
Tue Jan 7 00:24:21 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Add gdb.patch and gdb BR to debug
https://gitlab.gnome.org/GNOME/gimp/-/issues/12640
-------------------------------------------------------------------
Sat Dec 28 01:22:53 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Import some useful patches from Fedora
gimp-2.99.19-cm-system-monitor-profile-by-default.patch
gimp-2.99.19-external-help-browser.patch
gimp-2.99.19-no-phone-home-default.patch
- Add BuildRequires for the python runtime requires to see if it
fixes the problem with the splash screen
-------------------------------------------------------------------
Sat Dec 28 00:49:04 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.0~RC2
https://www.gimp.org/news/2024/12/27/gimp-3-0-RC2-released/
-------------------------------------------------------------------
Thu Nov 28 14:47:18 UTC 2024 - Dirk Stoecker <opensuse@dstoecker.de>
- Fix jpeg-xl disabling, use proper with/without
-------------------------------------------------------------------
Mon Nov 11 15:16:56 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com>
- Disable jpeg-xl support on SLES < 16.0 (SP6, SP7)
libjxl is only in Leap/PackageHUB but not in SLES.
Leap gets gimp binary rpms from SLES.
(helps to fix bsc#1233157)
- Re-adding dropped references compared to SLES 15 SP6 changelog
CVE-2022-32990 CVE-2023-44441 CVE-2023-44442
CVE-2023-44443 CVE-2023-44444
bsc#1201192 bsc#1217160 bsc#1217161 bsc#1217162 bsc#1217163
-------------------------------------------------------------------
Wed Nov 6 22:22:39 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.0~RC1
https://www.gimp.org/news/2024/11/06/gimp-3-0-RC1-released/#downloading-gimp-30-rc1
For all the details see the gimp blog and the
/usr/share/doc/packages/gimp/NEWS
This version drops the python 2 support in favor of python3
support.
- drop 11892f1d83ffc465346dab7e2e8c6e790f555a64.patch
-------------------------------------------------------------------
Fri Oct 18 08:15:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Add gtk-update-icon-cache BuildRequires: Ensure
/usr/bin/gtk-update-icon-cache is present during build, as
configure checks for it.
-------------------------------------------------------------------
Thu Aug 29 09:44:28 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Update to 2.99.18
This is the version before the release candidate for gimp 3.0.
https://www.gimp.org/news/2024/02/21/gimp-2-99-18-released/
For all the details see the gimp blog and the
/usr/share/doc/packages/gimp/NEWS
This version drops the python 2 support in favor of python3
support.
- Add 11892f1d83ffc465346dab7e2e8c6e790f555a64.patch
install missing header
- drop fix-gcc14-build.patch
-------------------------------------------------------------------
Tue May 21 08:45:44 UTC 2024 - Paolo Stivanin <info@paolostivanin.com>
@@ -3340,4 +3919,3 @@ Fri Jun 20 01:59:59 CEST 2003 - ro@suse.de
Tue Jun 10 13:16:54 CEST 2003 - sbrabec@suse.cz
- Initial SuSE version of GTK2 port.

519
gimp.spec
View File

@@ -1,7 +1,7 @@
#
# spec file for package gimp
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -14,11 +14,10 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global abiver 4
%global apiver 2.0
%global gegl_version 0.4.38
%if %{undefined requires_eq}
%define requires_eq() %(echo '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
%endif
%define requires_file() %( readlink -f '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' -f | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
%if 0%{?suse_version} >= 1550
%bcond_without libheif
@@ -26,104 +25,210 @@
%bcond_with libheif
%endif
%if 0%{?sle_version}
%bcond_with python_plugin
# --without-jpegxl on SLES 15 SP6
%if 0%{?sle_version} && 0%{?sle_version} < 160000
%bcond_with libjpegxl
%else
%bcond_without python_plugin
%bcond_without libjpegxl
%endif
%bcond_with debug_in_build_gimp
%define alsa_version 1.0.0
%define appstream_version 0.16.1
%define atk_version 2.4.0
%define babl_version 0.1.114
%define cairo_version 1.14.0
%define cairo_pdf_version 1.14.0
%define dbus_glib_version 0.70
%define gdk_pixbuf_version 2.30.8
%define fontconfig_version 2.12.4
%define freetype2_version 2.1.7
%define exiv2_version 0.27.4
%define gdk_pixbuf_version 2.30.8
%define gegl_version 0.4.62
%define gexiv2_version 0.14.0
%define glib_version 2.70.0
%define gtk3_version 3.24.50
%define gudev_version 167
%define harfbuzz_version 2.8.2
%define lcms2_version 2.8
%define libexif_version 0.6.15
%define libheif_version 1.15.1
%define liblzma_version 5.0.0
%define libmypaint_version 1.4.0
%define libopenjp2_version 2.1.0
%define libpng_version 1.6.25
%define librsvg_version 2.40.6
%define libunwind_version 1.1.0
%define libwebp_version 0.6.0
%define mypaint_brushes_version 1.3.0
%define OpenEXR_version 1.6.1
%define pango_version 1.55.0
%define poppler_data_version 0.4.9
%define poppler_glib_version 0.69.0
%define vapigen_version 0.40.0
%define libvala_version 0.40.0
%define libtiff_version 4.0.0
%define libjxl_version 0.7.0
%define json_glib_version 1.2.6
# seems lua 5.3 is the latest supported version
%global lua_lgi lua53-lgi
%global abiver 5
%global apiver 3.0
# all distros actually ship with python 3.6 we can have it enabled all the time
%bcond_without python_plugin
%define pkg_name gimp
Name: gimp
Version: 2.10.38
Version: 3.0.8
Release: 0
%global pkg_version %{version}
Summary: The GNU Image Manipulation Program
License: GPL-3.0-or-later
Group: Productivity/Graphics/Bitmap Editors
URL: https://www.gimp.org/
Source: https://download.gimp.org/pub/gimp/v2.10/%{name}-%{version}.tar.bz2
Source: https://download.gimp.org/pub/gimp/v3.0/%{pkg_name}-%{pkg_version}.tar.xz
Source1: macros.gimp
# openSUSE palette file
Source2: openSUSE.gpl
# PATCH-FIX-UPSTREAM fix-gcc14-build.patch bsc#1223892
Patch0: fix-gcc14-build.patch
# imported from fedora
Patch1: gimp-2.99.19-cm-system-monitor-profile-by-default.patch
Patch2: gimp-2.99.19-external-help-browser.patch
Patch3: gimp-2.99.19-no-phone-home-default.patch
%if %{with debug_in_build_gimp}
BuildRequires: gdb
%endif
%if %{with python_plugin}
BuildRequires: python3 >= 3.6.0
BuildRequires: python3-gobject
%endif
BuildRequires: AppStream
BuildRequires: python3-gi-docgen
BuildRequires: meson
# meson looks for it
BuildRequires: cmake
BuildRequires: aalib-devel
BuildRequires: alsa-devel >= 1.0.0
BuildRequires: flex
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: fontconfig-devel >= 2.12.4
BuildRequires: gcc-c++
BuildRequires: gdk-pixbuf-loader-rsvg
# For some odd reason build needs gegl executable.
BuildRequires: gegl >= %{gegl_version}
BuildRequires: ghostscript-devel
# Explicitly needed, otherwise ghostscript-mini is used during the
# build, and it's not enough for gimp.
BuildRequires: ghostscript-devel
BuildRequires: ghostscript-library
BuildRequires: glib-networking
BuildRequires: gtk-doc
BuildRequires: intltool >= 0.40.1
BuildRequires: libtiff-devel
BuildRequires: libwmf-devel >= 0.2.8
BuildRequires: libxslt-tools
BuildRequires: libjxl-devel >= 0.7.0
BuildRequires: pkgconfig
%if %{with python_plugin}
BuildRequires: python-gtk-devel >= 2.10.4
%if %{with gimp_lua}
BuildRequires: %{lua_lgi}
%endif
BuildRequires: pkgconfig
%if 0%{?suse_version}
BuildRequires: gdk-pixbuf-loader-rsvg
BuildRequires: libxslt-tools
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(atk) >= 2.2.0
BuildRequires: (pkgconfig(babl) or pkgconfig(babl-0.1))
%endif
%if 0%{?suse_version} >= 1600
BuildRequires: /usr/bin/gtk-update-icon-cache
%endif
BuildRequires: qoi-devel
BuildRequires: xdg-utils
BuildRequires: libbacktrace-devel
BuildRequires: pkgconfig(bash-completion)
BuildRequires: pkgconfig(cfitsio)
BuildRequires: pkgconfig(libjxl) >= %{libjxl_version}
BuildRequires: pkgconfig(OpenEXR) >= %{OpenEXR_version}
BuildRequires: pkgconfig(alsa) >= %{alsa_version}
BuildRequires: pkgconfig(appstream) >= %{appstream_version}
BuildRequires: pkgconfig(atk) >= %{atk_version}
BuildRequires: pkgconfig(babl-0.1) >= %{babl_version}
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(cairo) >= 1.12.2
BuildRequires: pkgconfig(cairo-pdf) >= 1.12.2
BuildRequires: pkgconfig(dbus-glib-1) >= 0.70
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.30.8
BuildRequires: pkgconfig(cairo) >= %{cairo_version}
BuildRequires: pkgconfig(cairo-pdf) >= %{cairo_pdf_version}
BuildRequires: pkgconfig(dbus-glib-1) >= %{dbus_glib_version}
BuildRequires: pkgconfig(fontconfig) >= %{fontconfig_version}
BuildRequires: pkgconfig(freetype2) >= %{freetype2_version}
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= %{gdk_pixbuf_version}
BuildRequires: pkgconfig(gegl-0.4) >= %{gegl_version}
BuildRequires: pkgconfig(gexiv2) >= 0.10.6
BuildRequires: pkgconfig(glib-2.0) >= 2.56.2
BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.32
BuildRequires: pkgconfig(gudev-1.0) >= 167
BuildRequires: pkgconfig(harfbuzz) >= 0.9.19
BuildRequires: pkgconfig(gexiv2) >= %{gexiv2_version}
BuildRequires: pkgconfig(gjs-1.0)
BuildRequires: pkgconfig(glib-2.0) >= %{glib_version}
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
BuildRequires: pkgconfig(gudev-1.0) >= %{gudev_version}
BuildRequires: pkgconfig(harfbuzz) >= %{harfbuzz_version}
BuildRequires: pkgconfig(iso-codes)
BuildRequires: pkgconfig(json-glib-1.0) >= 1.2.6
BuildRequires: pkgconfig(lcms2) >= 2.8
BuildRequires: pkgconfig(libexif) >= 0.6.15
BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version}
BuildRequires: pkgconfig(lcms2) >= %{lcms2_version}
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(libexif) >= %{libexif_version}
%if %{with libheif}
BuildRequires: pkgconfig(libheif) >= 1.3.2
BuildRequires: pkgconfig(libheif) >= %{libheif_version}
BuildRequires: libheif-aom >= %{libheif_version}
%endif
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(liblzma) >= 5.0.0
BuildRequires: pkgconfig(liblzma) >= %{liblzma_version}
BuildRequires: pkgconfig(libmng)
BuildRequires: pkgconfig(libmypaint) >= 1.3.0
BuildRequires: pkgconfig(libopenjp2) >= 2.1.0
BuildRequires: pkgconfig(libpng) >= 1.6.25
BuildRequires: pkgconfig(librsvg-2.0) >= 2.40.6
BuildRequires: pkgconfig(libunwind)
BuildRequires: pkgconfig(libwebp) >= 0.6.0
BuildRequires: pkgconfig(xmu)
BuildRequires: pkgconfig(mypaint-brushes-1.0)
BuildRequires: pkgconfig(OpenEXR) >= 1.6.1
BuildRequires: pkgconfig(pango) >= 1.29.4
BuildRequires: pkgconfig(poppler-data) >= 0.4.7
BuildRequires: pkgconfig(poppler-glib) >= 0.44.0
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libmypaint) >= %{libmypaint_version}
BuildRequires: pkgconfig(libopenjp2) >= %{libopenjp2_version}
BuildRequires: pkgconfig(libpng) >= %{libpng_version}
BuildRequires: pkgconfig(librsvg-2.0) >= %{librsvg_version}
BuildRequires: pkgconfig(libtiff-4) >= %{libtiff_version}
BuildRequires: pkgconfig(libunwind) >= %{libunwind_version}
BuildRequires: pkgconfig(libwebp) >= %{libwebp_version}
BuildRequires: pkgconfig(mypaint-brushes-1.0) >= %{mypaint_brushes_version}
BuildRequires: pkgconfig(pango) >= %{pango_version}
BuildRequires: pkgconfig(poppler-data) >= %{poppler_data_version}
BuildRequires: pkgconfig(poppler-glib) >= %{poppler_glib_version}
BuildRequires: pkgconfig(shared-mime-info)
BuildRequires: pkgconfig(vapigen) >= %{vapigen_version}
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xmu)
BuildRequires: pkgconfig(xpm)
BuildRequires: pkgconfig(zlib)
BuildRequires: xdg-utils
# obs does not automaticaly add this
Requires: libglib-2_0-0 >= 2.54.2
Requires: libgexiv2-2 >= 0.10.6
Requires: libbabl-0_1-0 >= 0.1.78
BuildRequires: python3 >= 3.6.0
BuildRequires: python3-gobject
BuildRequires: typelib-1_0-Babl-0_1 >= %{babl_version}
BuildRequires: typelib-1_0-Gegl-0_4 >= %{gegl_version}
BuildRequires: typelib-1_0-GExiv2-0_10 >= %{gexiv2_version}
%requires_eq gegl-0_4
Requires: gjs
# Explicitly declare the libgimp versions for upgrade purposes
Requires: libgimp-2_0-0 = %{version}
Requires: libgimpui-2_0-0 = %{version}
Requires: libgimp-3_0-0 = %{version}
Requires: libgimpui-3_0-0 = %{version}
%if %{with libheif}
Requires: libheif-aom >= %{libheif_version}
%endif
%if %{with gimp_lua}
Requires: %{lua_lgi}
%endif
Requires: shared-mime-info
Requires: xdg-utils
Requires: typelib-1_0-Babl-0_1 >= %{babl_version}
Requires: typelib-1_0-Gegl-0_4 >= %{gegl_version}
Requires: typelib-1_0-GExiv2-0_10 >= %{gexiv2_version}
Recommends: %{name}-plugins-python3 = %{version}
Recommends: iso-codes
Suggests: AdobeICCProfiles
Suggests: gimp-2.0-scanner-plugin
# TODO: Suggests: gimp-2.0-scanner-plugin
Obsoletes: %{name}-help-browser
Provides: gimp-2.0 = %{version}
Provides: gimp-3.0 = %{version}
Provides: gimp(abi) = %{abiver}
Provides: gimp(api) = %{apiver}
%if "%{name}" != "%{pkg_name}"
Conflicts: gimp
%endif
%description
The GIMP is an image composition and editing program, which can be
@@ -134,24 +239,26 @@ effects, subpixel imaging and antialiasing, and conversions, together
with multilevel undo. The GIMP offers a scripting facility, but many
of the included scripts rely on fonts that we cannot distribute.
%package -n libgimp-2_0-0
%package -n libgimp-3_0-0
Summary: The GNU Image Manipulation Program - Libraries
Group: System/Libraries
%requires_ge libbabl-0_1-0
%requires_ge libgegl-0_4-0
%description -n libgimp-2_0-0
%requires_file %{_libdir}/libbabl-0.1.so
%requires_file %{_libdir}/libgegl-0.4.so
%requires_file %{_libdir}/libgexiv2.so
%description -n libgimp-3_0-0
The GIMP is an image composition and editing program. GIMP offers
many tools and filters, and provides a large image manipulation
toolbox and scripting.
This package provides GIMP libraries.
%package -n libgimpui-2_0-0
%package -n libgimpui-3_0-0
Summary: The GNU Image Manipulation Program - UI Libraries
Group: System/Libraries
%description -n libgimpui-2_0-0
%description -n libgimpui-3_0-0
The GIMP is an image composition and editing program. GIMP offers
many tools and filters, and provides a large image manipulation
toolbox and scripting.
@@ -159,29 +266,39 @@ toolbox and scripting.
This package provides GIMP UI libraries.
%if %{with python_plugin}
%package plugins-python
Summary: The GNU Image Manipulation Program - python-gtk based plugins
%package plugin-python3
Summary: The GNU Image Manipulation Program - python3 goject introspection plugins
Group: Productivity/Graphics/Bitmap Editors
Requires: %{name} = %{version}
Requires: python-gtk
Recommends: python-xml
Provides: gimp-2.0-plugins-python = %{version}
Obsoletes: gimp-unstable-plugins-python < 2.6.0
# For update from <= 10.3 and SLED 10:
Provides: %{name}:%{_libdir}/gimp/2.0/plug-ins/pyconsole.py = %{version}
%description plugins-python
Requires: python3 >= 3.6.0
Requires: python3-gobject
Provides: gimp-3.0-plugin-python3 = %{version}-%{release}
Supplements: %{name}
Provides: gimp-plugins-python3 = %{version}-%{release}
Obsoletes: gimp-plugins-python3 < %{version}-%{release}
%description plugin-python3
The GIMP is an image composition and editing program. GIMP offers
many tools and filters, and provides a large image manipulation
toolbox and scripting.
%endif
%package vala
Summary: The GNU Image Manipulation Program - Vala development files
Group: Productivity/Graphics/Bitmap Editors
Requires: %{name}-devel = %{version}
Provides: gimp-3.0-vala = %{version}-%{release}
%description vala
The GIMP is an image composition and editing program. GIMP offers
many tools and filters, and provides a large image manipulation
toolbox and scripting.
%package plugin-aa
Summary: The GNU Image Manipulation Program -- ASCII-Art output plugin
Group: Productivity/Graphics/Bitmap Editors
Requires: %{name} = %{version}
# Let's trigger automatic installation if the user already has libaa installed.
Supplements: packageand(%{name}:libaa1)
Supplements: (%{name} and libaa1)
Provides: gimp-3.0-plugin-aa = %{version}-%{release}
%description plugin-aa
The GIMP is an image composition and editing program. GIMP offers
@@ -191,9 +308,9 @@ toolbox and scripting.
%package devel
Summary: The GNU Image Manipulation Program
Group: Development/Libraries/Other
Requires: libgimp-2_0-0 = %{version}
Requires: libgimpui-2_0-0 = %{version}
Provides: gimp-2.0-devel = %{version}
Requires: libgimp-3_0-0 = %{version}
Requires: libgimpui-3_0-0 = %{version}
Provides: gimp-3.0-devel = %{version}
Provides: gimp-doc = 2.6.4
Obsoletes: gimp-doc < 2.6.4
Obsoletes: gimp-unstable-devel < 2.6.0
@@ -206,169 +323,215 @@ toolbox and scripting.
This subpackage contains libraries and header files for developing
applications that want to make use of the GIMP libraries.
%package extension-goat-excercises
Summary: The GNU Image Manipulation Program
Group: Development/Libraries/Other
Requires: libgimpui-3_0-0 = %{version}
Requires: gimp-3.0-vala = %{version}
Requires: gimp-3.0-devel = %{version}
Requires: gimp-3.0-plugin-python3 = %{version}
%description extension-goat-excercises
The GIMP is an image composition and editing program. GIMP offers
many tools and filters, and provides a large image manipulation
toolbox and scripting.
This subpackage contains example the goat extension examples
that extend gimp.
%lang_package
%prep
%autosetup -p1
%autosetup -p1 -n %{pkg_name}-%{pkg_version}
%build
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
%meson \
-Drelocatable-bundle=platform-default \
-Denable-multiproc=true \
-Denable-console-bin=true \
-Dcheck-update=no \
-Dbug-report-url=https://bugzilla.opensuse.org/ \
-Dgi-docgen=disabled \
-Dilbm=disabled \
%if %{with with_headless_tests}
-Dheadless-tests=enabled \
%else
-Dheadless-tests=disabled \
%endif
%{nil}
# Safety check for ABI version change.
vabi=`printf "%d" $(sed -n '/#define GIMP_MODULE_ABI_VERSION/{s/.* //;p}' libgimpmodule/gimpmodule.h)`
vabi=$(printf "%%d" $(sed -n '/#define GIMP_MODULE_ABI_VERSION/{s/.* //;p}' libgimpmodule/gimpmodule.h))
if test "x${vabi}" != "x%{abiver}"; then
: Error: Upstream ABI version is now ${vabi}, expecting %{abiver}.
: Update the apiver macro and rebuild.
exit 1
fi
# Safety check for API version change.
vapi=`sed -n '/#define GIMP_API_VERSION/{s/.* //;p}' libgimpbase/gimpversion.h | sed -e 's@"@@g'`
vapi=$(sed -n '/#define GIMP_API_VERSION/{s/.* //;p}' */libgimpbase/gimpversion.h | sed -e 's@"@@g')
if test "x${vapi}" != "x%{apiver}"; then
: Error: Upstream API version is now ${vapi}, expecting %{apiver}.
: Update the apiver macro and rebuild.
exit 1
fi
%build
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure \
--disable-silent-rules \
--disable-static\
--without-webkit\
--with-lcms=lcms2\
%{!?with_python_plugin:--disable-python} \
--libexecdir=%{_libexecdir}\
--enable-default-binary\
--disable-check-update\
--enable-mp
%make_build
%meson_build
%install
%make_install
install -D -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/gimp/2.0/palettes
%meson_install
install -D -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/gimp/3.0/palettes
%if 0%{?suse_version}
%suse_update_desktop_file -N GIMP gimp
rm %{buildroot}%{_libdir}/gimp/2.0/*/*.*a
%find_lang gimp20 %{?no_lang_C}
%find_lang gimp20-libgimp %{?no_lang_C} gimp20.lang
%find_lang gimp20-python %{?no_lang_C} gimp20.lang
%find_lang gimp20-script-fu %{?no_lang_C} gimp20.lang
%find_lang gimp20-std-plug-ins %{?no_lang_C} gimp20.lang
%endif
touch gimp_all_parts.lang
for lang_part in gimp30 gimp30-libgimp gimp30-python gimp30-script-fu gimp30-std-plug-ins ; do
%find_lang ${lang_part} %{?no_lang_C} ${lang_part}.lang
cat ${lang_part}.lang >> gimp_all_parts.lang
done
echo "%%defattr(-,root,root)" >plugins.list
echo "%%defattr(-,root,root)" >plugins-python.list
for PLUGIN in %{buildroot}%{_libdir}/gimp/2.0/plug-ins/* ; do
if grep -qr '^#!.*python' $PLUGIN ; then
for PLUGIN in %{buildroot}%{_libdir}/gimp/3.0/plug-ins/* ; do
if grep -q '^#!.*python' ${PLUGIN}/* ; then
echo "${PLUGIN#%{buildroot}}" >>plugins-python.list
else
echo "${PLUGIN#%{buildroot}}" >>plugins.list
fi
done
%if ! 0%{?suse_version}
cat gimp_all_parts.lang >> plugins.list
%endif
find %{buildroot} -type f -name "*.la" -delete -print
# Install the macros file:
install -d %{buildroot}%{_rpmmacrodir}
sed -e "s/@GIMP_APIVER@/%{apiver}/;s/@GIMP_ABIVER@/%{abiver}/" \
< $RPM_SOURCE_DIR/macros.gimp > macros.gimp
install -m 644 -c macros.gimp \
%{buildroot}%{_rpmmacrodir}/macros.gimp
%fdupes %{buildroot}%{_datadir}/gtk-doc/
%fdupes %{buildroot}%{_libdir}/gimp/2.0/python/
%fdupes %{buildroot}%{_datadir}/gimp/2.0/
%post -n libgimp-2_0-0 -p /sbin/ldconfig
%postun -n libgimp-2_0-0 -p /sbin/ldconfig
%post -n libgimpui-2_0-0 -p /sbin/ldconfig
%postun -n libgimpui-2_0-0 -p /sbin/ldconfig
%fdupes %{buildroot}%{_datadir}/gtk-doc/
%fdupes %{buildroot}%{_libdir}/gimp/3.0/python/
%fdupes %{buildroot}%{_datadir}/gimp/3.0/
%ldconfig_scriptlets -n libgimp-3_0-0
%ldconfig_scriptlets -n libgimpui-3_0-0
%files -f plugins.list
%license COPYING LICENSE
%doc AUTHORS ChangeLog NEWS* README
%doc AUTHORS NEWS* README MAINTAINERS
%{_bindir}/gimp
%{_bindir}/gimp-2.*
%{_bindir}/gimp-3*
%{_bindir}/gimp-console
%{_bindir}/gimp-console-2.*
%{_bindir}/gimp-console-3*
%{_bindir}/gimp-script-fu-interpreter-3.0
# should this maybe be in _libexecdir too?
%{_bindir}/gimp-test-clipboard-2.0
%{_libexecdir}/gimp-debug-tool-2.0
%{_bindir}/gimp-test-clipboard*
%{_libexecdir}/gimp-debug-tool*
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/gimp-data-extras.metainfo.xml
%{_datadir}/metainfo/org.gimp.GIMP.appdata.xml
%{_datadir}/applications/gimp.desktop
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_datadir}/gimp/
%{_datadir}/gimp/2.0/images/gimp-splash.png
%{_libdir}/gimp/2.0/environ/default.env
%{_libdir}/gimp/2.0/interpreters/default.interp
%{_libdir}/gimp/3.0/environ/default.env
%{_libdir}/gimp/3.0/interpreters/default.interp
%if %{with gimp_lua}
%{_libdir}/gimp/3.0/interpreters/lua.interp
%endif
# Explicitly list modules so we don't lose one by accident
%{_libdir}/gimp/2.0/modules/libcolor-selector-cmyk.so
%{_libdir}/gimp/2.0/modules/libcolor-selector-water.so
%{_libdir}/gimp/2.0/modules/libcolor-selector-wheel.so
%{_libdir}/gimp/2.0/modules/libcontroller-linux-input.so
%{_libdir}/gimp/2.0/modules/libcontroller-midi.so
%{_libdir}/gimp/2.0/modules/libdisplay-filter-color-blind.so
%{_libdir}/gimp/2.0/modules/libdisplay-filter-gamma.so
%{_libdir}/gimp/2.0/modules/libdisplay-filter-high-contrast.so
%{_libdir}/gimp/2.0/modules/libdisplay-filter-clip-warning.so
%{_libdir}/gimp/3.0/modules/libcolor-selector-cmyk.so
%{_libdir}/gimp/3.0/modules/libcolor-selector-water.so
%{_libdir}/gimp/3.0/modules/libcolor-selector-wheel.so
%{_libdir}/gimp/3.0/modules/libcontroller-linux-input.so
%{_libdir}/gimp/3.0/modules/libcontroller-midi.so
%{_libdir}/gimp/3.0/modules/libdisplay-filter-aces-rrt.so
%{_libdir}/gimp/3.0/modules/libdisplay-filter-clip-warning.so
%{_libdir}/gimp/3.0/modules/libdisplay-filter-color-blind.so
%{_libdir}/gimp/3.0/modules/libdisplay-filter-gamma.so
%{_libdir}/gimp/3.0/modules/libdisplay-filter-high-contrast.so
%{_mandir}/man?/gimp.*
%{_mandir}/man?/gimp-2.*
%{_mandir}/man?/gimp-3*
%{_mandir}/man?/gimp-console.*
%{_mandir}/man?/gimp-console-2.*
%{_mandir}/man?/gimp-console-3*
%{_mandir}/man?/gimprc.*
%{_mandir}/man?/gimprc-2.*
%{_mandir}/man?/gimptool-2.*
%{_mandir}/man?/gimprc-3*
%dir %{_sysconfdir}/gimp
%dir %{_sysconfdir}/gimp/2.0
%config %{_sysconfdir}/gimp/2.0/*rc
# split file-aa into own package (bnc#851509
%exclude %{_libdir}/gimp/2.0/plug-ins/file-aa
%dir %{_sysconfdir}/gimp/3.0
%config %{_sysconfdir}/gimp/3.0/*rc
%config %{_sysconfdir}/gimp/3.0/*css
# split file-aa into own package (bnc#851509)
%exclude %{_libdir}/gimp/3.0/plug-ins/file-aa
%{_libdir}/girepository-1.0/Gimp-3.0.typelib
%{_libdir}/girepository-1.0/GimpUi-3.0.typelib
%{_datadir}/bash-completion/completions/gimp-3.0
%files plugin-aa
%{_libdir}/gimp/2.0/plug-ins/file-aa
%{_libdir}/gimp/3.0/plug-ins/file-aa
%files -n libgimp-2_0-0
%files -n libgimp-3_0-0
%dir %{_datadir}/gimp
%dir %{_datadir}/gimp/2.0
%dir %{_datadir}/gimp/3.0
%dir %{_libdir}/gimp
%dir %{_libdir}/gimp/2.0
%dir %{_libdir}/gimp/2.0/environ
%dir %{_libdir}/gimp/2.0/interpreters
%dir %{_libdir}/gimp/2.0/modules
%dir %{_libdir}/gimp/2.0/plug-ins
%{_libdir}/libgimp-2.0.so.*
%{_libdir}/libgimpbase-2.0.so.*
%{_libdir}/libgimpcolor-2.0.so.*
%{_libdir}/libgimpconfig-2.0.so.*
%{_libdir}/libgimpmath-2.0.so.*
%{_libdir}/libgimpmodule-2.0.so.*
%dir %{_libdir}/gimp/3.0
%dir %{_libdir}/gimp/3.0/environ
%dir %{_libdir}/gimp/3.0/interpreters
%dir %{_libdir}/gimp/3.0/modules
%dir %{_libdir}/gimp/3.0/plug-ins
%dir %{_libdir}/gimp/3.0/extensions
%{_libdir}/libgimp-3.0.so.*
%{_libdir}/libgimpbase-3.0.so.*
%{_libdir}/libgimpcolor-3.0.so.*
%{_libdir}/libgimpconfig-3.0.so.*
%{_libdir}/libgimpmath-3.0.so.*
%{_libdir}/libgimpmodule-3.0.so.*
%{_libdir}/libgimp-scriptfu-3.0.so.*
%files -n libgimpui-2_0-0
%{_libdir}/libgimpthumb-2.0.so.*
%{_libdir}/libgimpui-2.0.so.*
%{_libdir}/libgimpwidgets-2.0.so.*
%files -n libgimpui-3_0-0
%{_libdir}/libgimpthumb-3.0.so.*
%{_libdir}/libgimpui-3.0.so.*
%{_libdir}/libgimpwidgets-3.0.so.*
%if %{with python_plugin}
%files plugins-python -f plugins-python.list
%{_libdir}/gimp/2.0/environ/pygimp.env
%{_libdir}/gimp/2.0/interpreters/pygimp.interp
%{_libdir}/gimp/2.0/python/
# FIXME: Maybe split gimp-lang and gimp-plugins-python-lang
%files plugin-python3 -f plugins-python.list
#{_libdir}/gimp/3.0/environ/python.env
%endif
%files lang -f gimp20.lang
%files vala
%{_datadir}/vala/vapi/gimp-3.0.deps
%{_datadir}/vala/vapi/gimp-3.0.vapi
%{_datadir}/vala/vapi/gimp-ui-3.0.deps
%{_datadir}/vala/vapi/gimp-ui-3.0.vapi
# FIXME: Maybe split gimp-lang and gimp-plugins-python-lang
%files lang -f gimp_all_parts.lang
%files devel
%doc README.i18n
%{_bindir}/gimptool-2.0
#{_mandir}/man?/gimptool-2.0%%{?ext_man}
%{_includedir}/gimp-2.0/
%{_bindir}/gimptool*
%{_includedir}/gimp-3.0/
%{_libdir}/*.so
%{_datadir}/aclocal/gimp-2.0.m4
%{_libdir}/pkgconfig/gimp-2.0.pc
%{_libdir}/pkgconfig/gimpthumb-2.0.pc
%{_libdir}/pkgconfig/gimpui-2.0.pc
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir}/gtk-doc
%{_datadir}/gtk-doc/html/
%{_libdir}/pkgconfig/gimp-3.0.pc
%{_libdir}/pkgconfig/gimpthumb-3.0.pc
%{_libdir}/pkgconfig/gimpui-3.0.pc
%{_rpmmacrodir}/macros.gimp
%{_datadir}/gir-1.0/Gimp-3.0.gir
%{_datadir}/gir-1.0/GimpUi-3.0.gir
%{_mandir}/man1/gimptool*.1*
%files extension-goat-excercises
%{_libdir}/gimp/3.0/extensions/org.gimp.extension.goat-exercises
%dir %{_libdir}/gimp/3.0/extensions/org.gimp.extension.goat-exercises/locale/*/
%dir %{_libdir}/gimp/3.0/extensions/org.gimp.extension.goat-exercises/locale/*/*/
%changelog