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.199224
First Submitted: 2017-02-02 23:39 (UTC)
Last Updated: 2024-02-21 03:43 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

Integral commented on 2023-03-16 04:33 (UTC) (edited on 2023-03-16 04:33 (UTC) by Integral)

Ths sha256sum of file "babl-0.1-name-change-meson.patch" has changed

Please update the sha256sum of "babl-0.1-name-change-meson.patch"

AlexAUT commented on 2023-02-28 13:14 (UTC) (edited on 2023-02-28 13:14 (UTC) by AlexAUT)

The issue raised by @elixias and @JonnyRobbie is fixed: https://bugs.archlinux.org/task/77626

elixias commented on 2023-01-10 17:28 (UTC)

Cannot install I get:

Run-time dependency gegl-0.4 found: NO (tried pkgconfig and cmake)

but gegl-0.4.40-3 is present probably something similar to babl-0.1 issue

JonnyRobbie commented on 2022-12-09 14:54 (UTC)

It fails the build because the 2.99.14 version doesn't have the babl-0.1 patch and pkg-config still searches for simple babl. That should bu handles somewhere in the pkgbuild.

maderios commented on 2022-11-21 10:16 (UTC)

@electricprism It builds fine for me, may you have to update your Arch system...

electricprism commented on 2022-11-21 00:17 (UTC)

Fails when trying to install 2.99.14-1

==> Making package: gimp-devel 2.99.14-1 (Sun 20 Nov 2022 04:16:11 PM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true gimp-2.99.14 build
Traceback (most recent call last):
  File "/sbin/meson", line 33, in <module>
    sys.exit(load_entry_point('meson==0.64.0', 'console_scripts', 'meson')())
  File "/usr/lib/python3.10/site-packages/mesonbuild/mesonmain.py", line 287, in main
    return run(sys.argv[1:], launcher)
  File "/usr/lib/python3.10/site-packages/mesonbuild/mesonmain.py", line 278, in run
    return CommandLineParser().run(args)
  File "/usr/lib/python3.10/site-packages/mesonbuild/mesonmain.py", line 72, in __init__
    from . import mconf, mdist, minit, minstall, mintro, msetup, mtest, rewriter, msubprojects, munstable_coredata, mcompile, mdevenv
  File "/usr/lib/python3.10/site-packages/mesonbuild/mconf.py", line 22, in <module>
    from . import build
  File "/usr/lib/python3.10/site-packages/mesonbuild/build.py", line 33, in <module>
    from .mesonlib import (
ImportError: cannot import name 'EnvironmentVariables' from 'mesonbuild.mesonlib' (/usr/lib/python3.10/site-packages/mesonbuild/mesonlib/__init__.py)
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'gimp-devel-2.99.14-1':
error: packages failed to build: gimp-devel-2.99.14-1

wpyoga commented on 2022-09-10 18:36 (UTC)

It fails to compile with this error message:

In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/gexiv2/gexiv2-metadata.h:14,
                 from /usr/include/gexiv2/gexiv2.h:13,
                 from ../gimp-2.99.12/plug-ins/common/file-heif.c:23:
../gimp-2.99.12/plug-ins/common/file-heif.c:126:22: error: conflicting types for ‘heif_init’; have ‘void(Heif *)’ {aka ‘void(struct _Heif *)’}
  126 | G_DEFINE_TYPE (Heif, heif, GIMP_TYPE_PLUG_IN)
      |                      ^~~~
In file included from ../gimp-2.99.12/plug-ins/common/file-heif.c:21:
/usr/include/libheif/heif.h:312:19: note: previous declaration of ‘heif_init’ with type ‘struct heif_error(struct heif_init_params *)’
  312 | struct heif_error heif_init(struct heif_init_params*);
      |                   ^~~~~~~~~

HurricanePootis commented on 2022-08-27 21:23 (UTC)

Here is a patch file for gimp 2.99.12 using Meson and Ninja

diff --git a/PKGBUILD b/PKGBUILD
index 0772e43..54ff4d7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,11 +2,12 @@

 _pkgname=gimp
 pkgname=${_pkgname}-devel
-pkgver=2.99.10
-pkgrel=2
+pkgver=2.99.12
+pkgrel=1
 pkgdesc="GNU Image Manipulation Program (Development version)"
 arch=('i686' 'x86_64' 'armv7h' 'aarch64')
 url="https://www.gimp.org/"
+options=('!lto')
 license=('GPL' 'LGPL')
 depends=('gtk3' 'lcms2' 'libwmf' 'icu' 'enchant' 'libgexiv2' 'librsvg' 'desktop-file-utils'
          'libexif' 'libgudev' 'openjpeg2' 'poppler-glib' 'poppler-data' 'openexr' 'mypaint-brushes1'
@@ -15,7 +16,7 @@ makedepends=('intltool' 'libxslt' 'glib-networking'
              'alsa-lib' 'curl' 'ghostscript' 'libxpm'
              'libheif' 'libwebp' 'libmng' 'iso-codes' 'aalib' 'zlib' 'libjxl'
              'gjs'  'luajit' 'meson' 'gobject-introspection'
-             'gi-docgen' 'xorg-server-xvfb' 'vala' 'highway') #'yelp-tools')
+             'gi-docgen' 'xorg-server-xvfb' 'vala' 'highway' 'yelp-tools')
 checkdepends=('xorg-server-xvfb')
 optdepends=('gutenprint: for sophisticated printing only as gimp has built-in cups print support'
             'alsa-lib: for MIDI event controller module'
@@ -34,26 +35,30 @@ optdepends=('gutenprint: for sophisticated printing only as gimp has built-in cu
             'lua51-lgi: LUA scripting support')
 conflicts=("${_pkgname}")
 provides=("${_pkgname}=${pkgver}")
-source=(https://download.gimp.org/pub/gimp/v${pkgver%.*}/${_pkgname}-${pkgver}.tar.bz2 linux.gpl)
-sha256sums=('9e08f1c4a455e8dd4dd0579fe289419e38c835db38e3c0d40cd1137fb0112f29'
+source=(https://download.gimp.org/pub/gimp/v${pkgver%.*}/${_pkgname}-${pkgver}.tar.xz linux.gpl)
+sha256sums=('7ba1b032ea520d540e4acad3da16d8637fe693743fdb36e0121775eea569f6a3'
             '1003bbf5fc292d0d63be44562f46506f7b2ca5729770da9d38d3bb2e8a2f36b3')
 build() {
-  cd "${_pkgname}-${pkgver}"
-    ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --libdir=/usr/lib \
-    --libexecdir=/usr/lib/gimp \
-    --datarootdir=/usr/share \
-    --enable-mp \
-    --enable-gimp-console \
-    --enable-gi-docgen
-#   --enable-g-ir-doc
-  make
+  mkdir "$srcdir/build"
+  cd "$srcdir/build"
+  meson ../"${_pkgname}-${pkgver}" \
+  --prefix /usr \
+  --libexecdir lib \
+  --sbindir bin \
+  --buildtype plain \
+  --auto-features enabled \
+  --wrap-mode nodownload \
+  -D enable-multiproc=true \
+  -D gi-docgen=enabled \
+  -D g-ir-doc=true
+
+  meson configure ./
+
+  ninja
 }

 package() {
-  cd "${_pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd "$srcdir/build"
+  DESTDIR="${pkgdir}" ninja install
   install -Dm 644 "${srcdir}/linux.gpl" "${pkgdir}/usr/share/gimp/2.99/palettes/Linux.gpl"
 }

HurricanePootis commented on 2022-08-27 20:28 (UTC) (edited on 2022-08-27 21:07 (UTC) by HurricanePootis)

@twa0222

Heads up, gimp 2.99.12 has MESON now https://www.gimp.org/news/2022/08/27/gimp-2-99-12-released/#build-and-documentation

exploder-jimmy commented on 2022-08-12 18:06 (UTC)

@su226, Yay! It really is there. Thank you so much!