From unknown Mon Jun 23 04:08:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#32976 <32976@debbugs.gnu.org> To: bug#32976 <32976@debbugs.gnu.org> Subject: Status: [PATCH] Add gimp-resynthesizer package Reply-To: bug#32976 <32976@debbugs.gnu.org> Date: Mon, 23 Jun 2025 11:08:25 +0000 retitle 32976 [PATCH] Add gimp-resynthesizer package reassign 32976 guix-patches submitter 32976 t_w_@freenet.de severity 32976 normal tag 32976 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 07 14:34:36 2018 Received: (at submit) by debbugs.gnu.org; 7 Oct 2018 18:34:36 +0000 Received: from localhost ([127.0.0.1]:39628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9Dst-0006UJ-7p for submit@debbugs.gnu.org; Sun, 07 Oct 2018 14:34:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9Dsr-0006U4-A2 for submit@debbugs.gnu.org; Sun, 07 Oct 2018 14:34:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9Dsg-0007e0-9O for submit@debbugs.gnu.org; Sun, 07 Oct 2018 14:34:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54463) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9Dsb-0007Pv-QC for submit@debbugs.gnu.org; Sun, 07 Oct 2018 14:34:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9Dsa-0006BN-8d for guix-patches@gnu.org; Sun, 07 Oct 2018 14:34:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9DsU-0007Bl-8X for guix-patches@gnu.org; Sun, 07 Oct 2018 14:34:11 -0400 Received: from mout1.freenet.de ([2001:748:100:40::2:3]:53158) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g9DsT-000777-Ah for guix-patches@gnu.org; Sun, 07 Oct 2018 14:34:05 -0400 Received: from [195.4.92.163] (helo=mjail0.freenet.de) by mout1.freenet.de with esmtpa (ID t_w_@freenet.de) (port 25) (Exim 4.90_1 #2) id 1g9DsQ-0001D7-Si for guix-patches@gnu.org; Sun, 07 Oct 2018 20:34:02 +0200 Received: from [::1] (port=54744 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1g9DsQ-00084i-Ra for guix-patches@gnu.org; Sun, 07 Oct 2018 20:34:02 +0200 Received: from sub8.freenet.de ([195.4.92.127]:36458) by mjail0.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1g9DqR-0006f2-Cm for guix-patches@gnu.org; Sun, 07 Oct 2018 20:31:59 +0200 Received: from p200300e4f3d24200cceaae81a1e74f76.dip0.t-ipconnect.de ([2003:e4:f3d2:4200:ccea:ae81:a1e7:4f76]:33296) by sub8.freenet.de with esmtpsa (ID t_w_@freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.90_1 #2) id 1g9DqQ-0001CN-9i for guix-patches@gnu.org; Sun, 07 Oct 2018 20:31:59 +0200 To: guix-patches@gnu.org From: Thorsten Wilms Subject: [PATCH] Add gimp-resynthesizer package Message-ID: <815797f6-0e23-328f-3706-271befff25c4@freenet.de> Date: Sun, 7 Oct 2018 20:31:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originated-At: 2003:e4:f3d2:4200:ccea:ae81:a1e7:4f76!33296 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: t_w_@freenet.de Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) * gnu/packages/gimp.scm (gimp-resynthesizer): New variable. --- gnu/packages/gimp.scm | 61 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm index df8f242c7..2e74f3128 100644 --- a/gnu/packages/gimp.scm +++ b/gnu/packages/gimp.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Leo Famulari +;;; Copyright © 2018 Thorsten Wilms ;;; ;;; This file is part of GNU Guix. ;;; @@ -305,3 +306,63 @@ brushstrokes which is used by MyPaint and GIMP.") MyPaint.") (home-page "https://github.com/Jehan/mypaint-brushes") (license license:cc0))) + +(define-public gimp-resynthesizer + ;; GIMP does not respect any plugin search path environment variable, so after + ;; installation users have to edit their GIMP settings to include + ;; "$HOME/.guix-profile/lib/gimp/2.0/plug-ins/" in + ;; “Edit->Preferences->Folders->Plug Ins”. + (package + (name "gimp-resynthesizer") + (version "2.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/bootchk/resynthesizer/archive/v" + version + ".tar.gz")) + (sha256 (base32 "0l3404w6rqny7h3djskxf149gzx6x4qhndgbh3403c9lbh4pi1kr")))) + (build-system gnu-build-system) + (arguments + `(;; Turn off tests to avoid: + ;; make[1]: *** No rule to make target '../src/resynth-gui.c', needed by 'resynthesizer.pot'. Stop. + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-env + (lambda _ + (setenv "CONFIG_SHELL" (which "sh")) + #t)) + (add-after 'configure 'set-prefix + ;; Attempt to install to GIMP's plugin directory will fail. + ;; Use own store address. + (lambda* (#:key outputs #:allow-other-keys) + (let ((target (string-append (assoc-ref outputs "out") + "/lib/gimp/" + (car (string-split ,(package-version gimp) #\.)) + ".0"))) + (substitute* (list "src/resynthesizer/Makefile" + "src/resynthesizer-gui/Makefile") + (("GIMP_LIBDIR = .*") + (string-append "GIMP_LIBDIR = " target "\n"))) + (mkdir-p target)) + #t)) + ))) + (native-inputs + `(("autoconf" ,autoconf-wrapper) + ("automake" ,automake) + ("glib" ,glib "bin") ; glib-gettextize + ("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (inputs + `(("gimp" ,gimp) + ("gdk-pixbuf" ,gdk-pixbuf) ; needed by gimp-2.0.pc + ("cairo" ,cairo) + ("gegl" ,gegl) + ("gtk+" ,gtk+-2) ; needed by gimpui-2.0.pc + ("glib" ,glib))) + (home-page "https://github.com/bootchk/resynthesizer") + (synopsis "GIMP plugins for texture synthesis") + (description + "Resynthesizer plugins for GIMP. Encompasses tools for healing selections (content aware fill), enlarging the canvas and healing the border, increasing the resolution while adding detail and transfering the style of an image.") + (license license:gpl3+))) -- 2.19.0 -- Thorsten Wilms thorwil's design for free software: http://thorwil.wordpress.com/ From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 12:23:13 2018 Received: (at 32976) by debbugs.gnu.org; 8 Oct 2018 16:23:13 +0000 Received: from localhost ([127.0.0.1]:40683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9YJN-000632-Ih for submit@debbugs.gnu.org; Mon, 08 Oct 2018 12:23:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9YJL-00062l-O6 for 32976@debbugs.gnu.org; Mon, 08 Oct 2018 12:23:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9YJD-0005gd-K1 for 32976@debbugs.gnu.org; Mon, 08 Oct 2018 12:23:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9YJD-0005gX-Fb; Mon, 08 Oct 2018 12:23:03 -0400 Received: from [193.50.110.78] (port=59746 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g9YJD-0007XS-4D; Mon, 08 Oct 2018 12:23:03 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Thorsten Wilms Subject: Re: [bug#32976] [PATCH] Add gimp-resynthesizer package References: <815797f6-0e23-328f-3706-271befff25c4@freenet.de> Date: Mon, 08 Oct 2018 18:23:01 +0200 In-Reply-To: <815797f6-0e23-328f-3706-271befff25c4@freenet.de> (Thorsten Wilms's message of "Sun, 7 Oct 2018 20:31:57 +0200") Message-ID: <87woqswgpm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32976 Cc: 32976@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Thorsten Wilms skribis: > * gnu/packages/gimp.scm (gimp-resynthesizer): New variable. [...] > + (uri (string-append > "https://github.com/bootchk/resynthesizer/archive/v" > + version This patch was also garbled by the email client=E2=80=99s line-wrapping, I suppose. Could you try to resend it? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 15:14:08 2018 Received: (at 32976) by debbugs.gnu.org; 8 Oct 2018 19:14:08 +0000 Received: from localhost ([127.0.0.1]:40776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9aym-0001fz-4F for submit@debbugs.gnu.org; Mon, 08 Oct 2018 15:14:08 -0400 Received: from mout0.freenet.de ([195.4.92.90]:34244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9ayj-0001fp-4Y for 32976@debbugs.gnu.org; Mon, 08 Oct 2018 15:14:06 -0400 Received: from [195.4.92.165] (helo=mjail2.freenet.de) by mout0.freenet.de with esmtpa (ID t_w_@freenet.de) (port 25) (Exim 4.90_1 #2) id 1g9ayi-0006Nj-3S for 32976@debbugs.gnu.org; Mon, 08 Oct 2018 21:14:04 +0200 Received: from [::1] (port=55414 helo=mjail2.freenet.de) by mjail2.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1g9ayi-00087Z-2m for 32976@debbugs.gnu.org; Mon, 08 Oct 2018 21:14:04 +0200 Received: from sub7.freenet.de ([195.4.92.126]:52856) by mjail2.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1g9aw2-0004Tf-T7 for 32976@debbugs.gnu.org; Mon, 08 Oct 2018 21:11:18 +0200 Received: from p200300e4f3d2420031834fd3c7ad978a.dip0.t-ipconnect.de ([2003:e4:f3d2:4200:3183:4fd3:c7ad:978a]:43420 helo=charly.fritz.box) by sub7.freenet.de with esmtpsa (ID t_w_@freenet.de) (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (port 465) (Exim 4.90_1 #2) id 1g9aw0-0003Kd-Pq; Mon, 08 Oct 2018 21:11:18 +0200 From: Thorsten Wilms To: 32976@debbugs.gnu.org Subject: [PATCH] * gnu/packages/gimp.scm (gimp-resynthesizer): New variable. Date: Mon, 8 Oct 2018 21:11:10 +0200 Message-Id: <20181008191110.5189-1-t_w_@freenet.de> X-Mailer: git-send-email 2.19.0 In-Reply-To: <87woqswgpm.fsf@gnu.org> References: <87woqswgpm.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Originated-At: 2003:e4:f3d2:4200:3183:4fd3:c7ad:978a!43420 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32976 Cc: Thorsten Wilms X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --- gnu/packages/gimp.scm | 61 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm index df8f242c7..2e74f3128 100644 --- a/gnu/packages/gimp.scm +++ b/gnu/packages/gimp.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Leo Famulari +;;; Copyright © 2018 Thorsten Wilms ;;; ;;; This file is part of GNU Guix. ;;; @@ -305,3 +306,63 @@ brushstrokes which is used by MyPaint and GIMP.") MyPaint.") (home-page "https://github.com/Jehan/mypaint-brushes") (license license:cc0))) + +(define-public gimp-resynthesizer + ;; GIMP does not respect any plugin search path environment variable, so after + ;; installation users have to edit their GIMP settings to include + ;; "$HOME/.guix-profile/lib/gimp/2.0/plug-ins/" in + ;; “Edit->Preferences->Folders->Plug Ins”. + (package + (name "gimp-resynthesizer") + (version "2.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/bootchk/resynthesizer/archive/v" + version + ".tar.gz")) + (sha256 (base32 "0l3404w6rqny7h3djskxf149gzx6x4qhndgbh3403c9lbh4pi1kr")))) + (build-system gnu-build-system) + (arguments + `(;; Turn off tests to avoid: + ;; make[1]: *** No rule to make target '../src/resynth-gui.c', needed by 'resynthesizer.pot'. Stop. + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-env + (lambda _ + (setenv "CONFIG_SHELL" (which "sh")) + #t)) + (add-after 'configure 'set-prefix + ;; Attempt to install to GIMP's plugin directory will fail. + ;; Use own store address. + (lambda* (#:key outputs #:allow-other-keys) + (let ((target (string-append (assoc-ref outputs "out") + "/lib/gimp/" + (car (string-split ,(package-version gimp) #\.)) + ".0"))) + (substitute* (list "src/resynthesizer/Makefile" + "src/resynthesizer-gui/Makefile") + (("GIMP_LIBDIR = .*") + (string-append "GIMP_LIBDIR = " target "\n"))) + (mkdir-p target)) + #t)) + ))) + (native-inputs + `(("autoconf" ,autoconf-wrapper) + ("automake" ,automake) + ("glib" ,glib "bin") ; glib-gettextize + ("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (inputs + `(("gimp" ,gimp) + ("gdk-pixbuf" ,gdk-pixbuf) ; needed by gimp-2.0.pc + ("cairo" ,cairo) + ("gegl" ,gegl) + ("gtk+" ,gtk+-2) ; needed by gimpui-2.0.pc + ("glib" ,glib))) + (home-page "https://github.com/bootchk/resynthesizer") + (synopsis "GIMP plugins for texture synthesis") + (description + "Resynthesizer plugins for GIMP. Encompasses tools for healing selections (content aware fill), enlarging the canvas and healing the border, increasing the resolution while adding detail and transfering the style of an image.") + (license license:gpl3+))) -- 2.19.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 17:22:16 2018 Received: (at 32976-done) by debbugs.gnu.org; 8 Oct 2018 21:22:16 +0000 Received: from localhost ([127.0.0.1]:40881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9cym-0006xr-7W for submit@debbugs.gnu.org; Mon, 08 Oct 2018 17:22:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9cyl-0006xf-Dv for 32976-done@debbugs.gnu.org; Mon, 08 Oct 2018 17:22:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9cyf-000840-AG for 32976-done@debbugs.gnu.org; Mon, 08 Oct 2018 17:22:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9cye-00083P-8g; Mon, 08 Oct 2018 17:22:08 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52608 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g9cyd-0005rE-8P; Mon, 08 Oct 2018 17:22:08 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Thorsten Wilms Subject: Re: [bug#32976] [PATCH] * gnu/packages/gimp.scm (gimp-resynthesizer): New variable. References: <87woqswgpm.fsf@gnu.org> <20181008191110.5189-1-t_w_@freenet.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?utf-8?Q?Vend=C3=A9miaire?= an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 08 Oct 2018 23:22:05 +0200 In-Reply-To: <20181008191110.5189-1-t_w_@freenet.de> (Thorsten Wilms's message of "Mon, 8 Oct 2018 21:11:10 +0200") Message-ID: <87o9c4uoaq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32976-done Cc: 32976-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) --=-=-= Content-Type: text/plain Thorsten Wilms skribis: > --- > gnu/packages/gimp.scm | 61 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 61 insertions(+) Applied with the changes below. Thanks! Ludo'. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm index 2e74f3128..cd0deac15 100644 --- a/gnu/packages/gimp.scm +++ b/gnu/packages/gimp.scm @@ -319,9 +319,11 @@ MyPaint.") (origin (method url-fetch) (uri (string-append "https://github.com/bootchk/resynthesizer/archive/v" - version - ".tar.gz")) - (sha256 (base32 "0l3404w6rqny7h3djskxf149gzx6x4qhndgbh3403c9lbh4pi1kr")))) + version ".tar.gz")) + (sha256 + (base32 + "0l3404w6rqny7h3djskxf149gzx6x4qhndgbh3403c9lbh4pi1kr")) + (file-name (string-append name "-" version ".tar.gz")))) (build-system gnu-build-system) (arguments `( ;; Turn off tests to avoid: @@ -334,20 +336,19 @@ MyPaint.") (setenv "CONFIG_SHELL" (which "sh")) #t)) (add-after 'configure 'set-prefix - ;; Attempt to install to GIMP's plugin directory will fail. - ;; Use own store address. + ;; Install plugin under $prefix, not under GIMP's libdir. (lambda* (#:key outputs #:allow-other-keys) (let ((target (string-append (assoc-ref outputs "out") "/lib/gimp/" - (car (string-split ,(package-version gimp) #\.)) + ,(version-major + (package-version gimp)) ".0"))) (substitute* (list "src/resynthesizer/Makefile" "src/resynthesizer-gui/Makefile") (("GIMP_LIBDIR = .*") (string-append "GIMP_LIBDIR = " target "\n"))) - (mkdir-p target)) - #t)) - ))) + (mkdir-p target) + #t)))))) (native-inputs `(("autoconf" ,autoconf-wrapper) ("automake" ,automake) @@ -364,5 +365,8 @@ MyPaint.") (home-page "https://github.com/bootchk/resynthesizer") (synopsis "GIMP plugins for texture synthesis") (description - "Resynthesizer plugins for GIMP. Encompasses tools for healing selections (content aware fill), enlarging the canvas and healing the border, increasing the resolution while adding detail and transfering the style of an image.") + "This package provides resynthesizer plugins for GIMP, which encompasses +tools for healing selections (content-aware fill), enlarging the canvas and +healing the border, increasing the resolution while adding detail, and +transfering the style of an image.") (license license:gpl3+))) --=-=-=-- From unknown Mon Jun 23 04:08:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 06 Nov 2018 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator