[crux-commits] ports/opt (3.6): gimp: added missing dependency gtk3

crux at crux.nu crux at crux.nu
Sat Feb 20 17:38:30 UTC 2021


commit d297154bd13bdc9e2a875a3035f379f5d0c7e91d
Author: Tim Biermann <tbier at posteo.de>
Date:   Sat Feb 20 17:30:54 2021 +0000

    gimp: added missing dependency gtk3

diff --git a/gimp/.signature b/gimp/.signature
index 722835c89..37b0c75b0 100644
--- a/gimp/.signature
+++ b/gimp/.signature
@@ -1,5 +1,6 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/eoDGqKUdMxdkbGK8StpCQSWuGQmNt/Z0wBlkAAu5f4cExHWwoEuGES+Ah/Cez3NR8m4l0KjhTUuWLdzeSzSQgg=
-SHA256 (Pkgfile) = 007f3ddea6668b7f1a9de841eee5f3b7e63f01362c257a24a6b324d7db601f43
+RWSE3ohX2g5d/UkVG5rF6yWqAQx5SxSyMnHWCRhVxOm/iLSZy3hz5dGlbS+fW9DrqJTGNdohSlI7+KJ69L2j6B8e6aN0nzydGQ4=
+SHA256 (Pkgfile) = 2a736ffaa75c135182576cf6fcbafda5302fece5ea90dff2ce505a128930acf7
 SHA256 (.footprint) = bfd0ce65bc44b465997bf9e272f3255b6d7019292f2bd9ae8f4610cfde6a7f4a
 SHA256 (gimp-2.10.22.tar.bz2) = 2db84b57f3778d80b3466d7c21a21d22e315c7b062de2883cbaaeda9a0f618bb
+SHA256 (0001-no-check-update.patch) = 0695e23b343289d48074e57268012d620b249c670e98f489176c707020785dcb
diff --git a/gimp/0001-no-check-update.patch b/gimp/0001-no-check-update.patch
new file mode 100644
index 000000000..2808d6d21
--- /dev/null
+++ b/gimp/0001-no-check-update.patch
@@ -0,0 +1,14 @@
+diff --git a/app/dialogs/about-dialog.c b/app/dialogs/about-dialog.c
+index d767d830f0..4352f021ca 100644
+--- a/app/dialogs/about-dialog.c
++++ b/app/dialogs/about-dialog.c
+@@ -163,7 +163,9 @@ about_dialog_create (GimpCoreConfig *config)
+ #ifdef GIMP_UNSTABLE
+           about_dialog_add_unstable_message (children->data);
+ #endif /* GIMP_UNSTABLE */
++#ifdef CHECK_UPDATE
+           about_dialog_add_update (&dialog, config);
++#endif /* CHECK_UPDATE */
+         }
+       else
+         g_warning ("%s: ooops, no box in this container?", G_STRLOC);
diff --git a/gimp/Pkgfile b/gimp/Pkgfile
index 33b7145d2..d6cb7e2b1 100644
--- a/gimp/Pkgfile
+++ b/gimp/Pkgfile
@@ -1,23 +1,29 @@
 # Description: The GIMP
 # URL: https://www.gimp.org/
 # Maintainer: Tim Biermann, tbier at posteo dot de
-# Depends on: gegl glib-networking gtk libart_lgpl mypaint-brushes poppler-data xorg-libxmu xorg-libxpm
-# Optional: gimp-print libsdl ghostscript libmng
+# Depends on: gegl glib-networking gtk gtk3 libart_lgpl mypaint-brushes poppler-data xorg-libxmu xorg-libxpm
+# Optional: ghostscript gimp-print libmng libsdl
 
 name=gimp
 version=2.10.22
 release=1
-source=(https://download.gimp.org/pub/gimp/v${version%.*}/$name-$version.tar.bz2)
+source=(https://download.gimp.org/pub/gimp/v${version%.*}/$name-$version.tar.bz2
+  0001-no-check-update.patch)
 
 build() {
   cd $name-$version
 
+  patch -Np1 -i $SRC/0001-no-check-update.patch
   sed -i -e '/$(helpbrowser)/d' plug-ins/Makefile.in
+
   ./configure --prefix=/usr \
     --libexecdir=/usr/bin \
+    --with-bug-report-url=https://crux.nu/bugs \
+    --enable-mp \
     --disable-static \
     --disable-python \
     --disable-nls \
+    --disable-check-update \
     --without-webkit
 
   make


More information about the crux-commits mailing list