Package Details: gimp-devel 2.99.18-2

Git Clone URL: https://aur.archlinux.org/gimp-devel.git (read-only, click to copy)
Package Base: gimp-devel
Description: GNU Image Manipulation Program (Development version)
Upstream URL: https://www.gimp.org/
Licenses: GPL, LGPL
Conflicts: gimp
Provides: gimp
Submitter: twa022
Maintainer: twa022
Last Packager: twa022
Votes: 41
Popularity: 0.152900
First Submitted: 2017-02-02 23:39 (UTC)
Last Updated: 2024-02-21 03:43 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

HurricanePootis commented on 2024-05-18 16:09 (UTC)

Hello, I am once again commenting a patch to make the license array SPDX compliant. Also, @su226, it is LGPL-3.0-or-later. You can look inside of a c file in the libgimp directory, and look at the spdx header of a file.

Anyways, the debug url should also be set to the AUR package first (as noted at line 1227 of meson.build in the source folder). And, in addition to that, libbacktrace-git should be added as a dependency. While GIMP does not have a hard depend on it, if you already have it installed on your system for another package like I do, GIMP will link to it. This creates a problem where the gimp-devel package is reliant on libbacktrace-git, but it is not declared.

Here is the patch:

diff --git a/PKGBUILD b/PKGBUILD
index 330b46b..f471ab3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,10 +7,11 @@ pkgrel=2
 pkgdesc="GNU Image Manipulation Program (Development version)"
 arch=('i686' 'x86_64' 'armv7h' 'aarch64')
 url="https://www.gimp.org/"
-license=('GPL' 'LGPL')
+license=('GPL-3.0-or-later' 'LGPL-3.0-or-later')
 depends=('gtk3' 'lcms2' 'libwmf' 'icu' 'enchant' 'libgexiv2' 'librsvg' 'desktop-file-utils'
          'libexif' 'libgudev' 'openjpeg2' 'poppler-glib' 'poppler-data' 'openexr' 'mypaint-brushes1'
-         'babl>=0.1.98' 'gegl>=0.4.48' 'cairo' 'python-gobject' 'appstream-glib' 'libxmu' 'graphviz')
+         'babl>=0.1.98' 'gegl>=0.4.48' 'cairo' 'python-gobject' 'appstream-glib' 'libxmu' 'graphviz'
+    'libbacktrace-git')
 makedepends=('appstream' 'intltool' 'libxslt' 'glib-networking'
              'alsa-lib' 'curl' 'ghostscript' 'libxpm'
              'libheif' 'libwebp' 'libmng' 'iso-codes' 'aalib' 'zlib' 'libjxl'
@@ -45,6 +46,7 @@ sha256sums=('8c1bb7a94ac0d4d0cde4d701d8b356387c2ecd87abbd35bbf7d222d40f6ddb6e'
 build() {
   local meson_options=(
     -Dilbm=disabled
+    -Dbug-report-url="https://aur.archlinux.org/packages/gimp-devel"
   )

   arch-meson "${_pkgname}-${pkgver}" build "${meson_options[@]}"

su226 commented on 2024-04-22 04:43 (UTC) (edited on 2024-04-22 04:44 (UTC) by su226)

@HurricanePootis GIMP is GPL-3.0-or-later, not GPL-3.0-only, see FAQ.

libgimp is only mentioned as LGPL in LICENSE, without version, I assume maybe it's LGPL-3.0-or-later?

HurricanePootis commented on 2024-04-02 05:50 (UTC)

Hello, Arch is now supposed to use SPDX style identifiers in the license() of a PKGBUILD.

I have recently had to update a gimp-related package of mine (and the rest of all of my pacakges), so I decided to go ahead and update gimp-devel as well

diff --git a/PKGBUILD b/PKGBUILD
index 330b46b..c8e2beb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=2
 pkgdesc="GNU Image Manipulation Program (Development version)"
 arch=('i686' 'x86_64' 'armv7h' 'aarch64')
 url="https://www.gimp.org/"
-license=('GPL' 'LGPL')
+license=('GPL-3.0-only OR LGPL-3.0-only')
 depends=('gtk3' 'lcms2' 'libwmf' 'icu' 'enchant' 'libgexiv2' 'librsvg' 'desktop-file-utils'
          'libexif' 'libgudev' 'openjpeg2' 'poppler-glib' 'poppler-data' 'openexr' 'mypaint-brushes1'
          'babl>=0.1.98' 'gegl>=0.4.48' 'cairo' 'python-gobject' 'appstream-glib' 'libxmu' 'graphviz')

Read more here

darkbasic commented on 2024-03-13 19:49 (UTC)

Somehow the error disappeared and it compiled.

darkbasic commented on 2024-03-08 12:58 (UTC) (edited on 2024-03-08 12:59 (UTC) by darkbasic)

https://developer.gimp.org/core/debug/problems_and_solutions/#gimp-build-fails-with-message-couldnt-recognize-the-image-file-format-for-file-cursor-badpng

But it doesn't look like XDG_DATA_DIRS is being set anywhere...

darkbasic commented on 2024-03-08 11:29 (UTC)

[464/2552] Generating cursors/gimp-tool-cursors_h with a custom command
FAILED: cursors/gimp-tool-cursors.h 
/usr/bin/glib-compile-resources cursors/gimp-tool-cursors.gresource.xml --sourcedir ../gimp-2.99.18/cursors --c-name gimp_tool_cursors --internal --generate --target cursors/gimp-tool-cursors.h
failed to load "../gimp-2.99.18/cursors/cursor-bad.png": Couldn?t recognize the image file format for file ?../gimp-2.99.18/cursors/cursor-bad.png?
cursors/gimp-tool-cursors.gresource.xml: Processo figlio uscito con codice 1.
[465/2552] Generating cursors/gimp-tool-cursors_c with a custom command

Am I the only one getting this error? Maybe one of the dependencies got corrupted during a system update? How could I fix it?

seqfault commented on 2024-02-21 12:06 (UTC)

error: could not find all required packages: qoi-headers (wanted by: gimp-devel)

HurricanePootis commented on 2024-02-20 14:57 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index e0cd400..708afc9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,15 @@
 _pkgname=gimp
 pkgname=${_pkgname}-devel
 pkgver=2.99.18
-pkgrel=1
+pkgrel=2
 pkgdesc="GNU Image Manipulation Program (Development version)"
 arch=('i686' 'x86_64' 'armv7h' 'aarch64')
 url="https://www.gimp.org/"
 license=('GPL' 'LGPL')
 depends=('gtk3' 'lcms2' 'libwmf' 'icu' 'enchant' 'libgexiv2' 'librsvg' 'desktop-file-utils'
          'libexif' 'libgudev' 'openjpeg2' 'poppler-glib' 'poppler-data' 'openexr' 'mypaint-brushes1'
-         'babl>=0.1.98' 'gegl>=0.4.48' 'cairo' 'python-gobject' 'appstream-glib' 'libxmu' 'graphviz')
+         'babl>=0.1.98' 'gegl>=0.4.48' 'cairo' 'python-gobject' 'appstream-glib' 'libxmu' 'graphviz'
+         'cfitsio')
 makedepends=('appstream' 'intltool' 'libxslt' 'glib-networking'
              'alsa-lib' 'curl' 'ghostscript' 'libxpm'
              'libheif' 'libwebp' 'libmng' 'iso-codes' 'aalib' 'zlib' 'libjxl'

Here is a patch file to add cfitsio to depends

darkbasic commented on 2024-02-20 07:23 (UTC) (edited on 2024-02-20 07:24 (UTC) by darkbasic)

pacman -S --asdeps cfitsio will solve the issue, but the dependency should be added to the PKGBUILD

aorth commented on 2024-02-20 04:57 (UTC)

Getting a build error in a chroot:

Run-time dependency cfitsio found: NO (tried pkgconfig)

gimp-2.99.18/meson.build:987:14: ERROR: Dependency "cfitsio" not found, tried pkgconfig