[gentoo-commits] repo/gentoo:master commit in: media-plugins/gimp-resynthesizer/

2020-03-05 Thread Joonas Niilola
commit: 126950acba420879d61956beb0fc4b96662d1202
Author: band-a-prend  yandex  ru>
AuthorDate: Tue Feb 25 15:29:01 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Mar  5 12:16:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=126950ac

media-plugins/gimp-resynthesizer: fix USE dep

Since gimp 2.10.18 version bump python2 scripts/plugin support is removed
from ebuild due to dev-python/pygtk removal bug:
https://bugs.gentoo.org/706462

Signed-off-by: Sergey Torokhov  yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/14764
Signed-off-by: Joonas Niilola  gentoo.org>

 media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r2.ebuild 
b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r2.ebuild
index 3d8ce22e9b3..fc637529f37 100644
--- a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r2.ebuild
+++ b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r2.ebuild
@@ -23,7 +23,7 @@ REQUIRED_USE=${PYTHON_REQUIRED_USE}
 DEPEND="media-gfx/gimp
virtual/pkgconfig
${PYTHON_DEPS}"
-RDEPEND="media-gfx/gimp[python,${PYTHON_SINGLE_USEDEP}]
+RDEPEND="media-gfx/gimp[python(-),${PYTHON_SINGLE_USEDEP}]
${PYTHON_DEPS}"
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-plugins/gimp-resynthesizer/

2020-03-05 Thread Joonas Niilola
commit: b6a59c626386d7eb22a0c9555c65be559521688d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Mar  5 12:16:29 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Mar  5 12:16:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6a59c62

media-plugins/gimp-resynthesizer: revbump due to changed RDEPEND

Signed-off-by: Joonas Niilola  gentoo.org>

 ...p-resynthesizer-2.0.3-r2.ebuild => gimp-resynthesizer-2.0.3-r3.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git 
a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r2.ebuild 
b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r3.ebuild
similarity index 100%
rename from media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r2.ebuild
rename to media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r3.ebuild



[gentoo-commits] repo/gentoo:master commit in: media-plugins/gimp-resynthesizer/

2020-02-09 Thread Michał Górny
commit: c95e3384c4d2d5cc16e4c34e6df1f30136f199f8
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb  7 16:47:42 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb  9 16:31:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c95e3384

media-plugins/gimp-resynthesizer: Switch to PYTHON_SINGLE_USEDEP

Signed-off-by: Michał Górny  gentoo.org>

 ...synthesizer-2.0.3-r1.ebuild => gimp-resynthesizer-2.0.3-r2.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild 
b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r2.ebuild
similarity index 86%
rename from media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild
rename to media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r2.ebuild
index 092dbe2cbe7..3d8ce22e9b3 100644
--- a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild
+++ b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,7 +23,7 @@ REQUIRED_USE=${PYTHON_REQUIRED_USE}
 DEPEND="media-gfx/gimp
virtual/pkgconfig
${PYTHON_DEPS}"
-RDEPEND="media-gfx/gimp[python,${PYTHON_USEDEP}]
+RDEPEND="media-gfx/gimp[python,${PYTHON_SINGLE_USEDEP}]
${PYTHON_DEPS}"
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-plugins/gimp-resynthesizer/

2019-08-13 Thread Michał Górny
commit: 4544eb4e81cce361a0c32c6cc6afb352d0feb688
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 13 07:24:34 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 13 07:24:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4544eb4e

media-plugins/gimp-resynthesizer: Add missing PYTHON_*

Signed-off-by: Michał Górny  gentoo.org>

 .../gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild  | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild 
b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild
index 3e8b63d21d1..092dbe2cbe7 100644
--- a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild
+++ b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild
@@ -18,10 +18,13 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
 
 DEPEND="media-gfx/gimp
-   virtual/pkgconfig"
-RDEPEND="media-gfx/gimp[python,${PYTHON_USEDEP}]"
+   virtual/pkgconfig
+   ${PYTHON_DEPS}"
+RDEPEND="media-gfx/gimp[python,${PYTHON_USEDEP}]
+   ${PYTHON_DEPS}"
 
 S="${WORKDIR}/${MY_P}"
 



[gentoo-commits] repo/gentoo:master commit in: media-plugins/gimp-resynthesizer/, media-plugins/gimp-resynthesizer/files/

2018-03-07 Thread Michał Górny
commit: acdb9b4bb510aa7becbf093b6a2d571c0320
Author: Diogo Pereira  gmail  com>
AuthorDate: Tue Mar  6 19:45:14 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  7 20:17:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acdb

media-plugins/gimp-resynthesizer: drop old

Package-Manager: Portage-2.3.19, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7006

 media-plugins/gimp-resynthesizer/Manifest  |   1 -
 .../files/gimp-resynthesizer-0.16-makefile.patch   |  27 -
 .../gimp-resynthesizer/files/smart-remove.scm  | 111 -
 .../gimp-resynthesizer-0.16.ebuild |  47 -
 4 files changed, 186 deletions(-)

diff --git a/media-plugins/gimp-resynthesizer/Manifest 
b/media-plugins/gimp-resynthesizer/Manifest
index 5aa67576f9e..118295cb599 100644
--- a/media-plugins/gimp-resynthesizer/Manifest
+++ b/media-plugins/gimp-resynthesizer/Manifest
@@ -1,2 +1 @@
 DIST gimp-resynthesizer-2.0.3.tar.gz 11097693 BLAKE2B 
51e064ed1a5d31dc3162a27b76c8b68d7652e3efdf2acad1844f4c76b47a6485b4e43788993c344a7154cddd8d2ac1ebda7c24f871ea8d6af332b1f15759f396
 SHA512 
de18fa41f5c3feaeff3365cc57b49f404f20439c6f84b212bc5cc76ee21f34566b8d093bebef1e6f27dbe3df6a23570dc091d23044a0967957ec0e97a16fa7c4
-DIST resynthesizer-0.16.tar.gz 18241 BLAKE2B 
d042220a1d9f71af6be16fd9a0c0b81cf46911dc22ae123915455e4952e3dbe4ba3f87098cbb05ab679090beb590f5943db76d8f923c2a67d6aaa18758004dc7
 SHA512 
6838dfe919e45bd8e8eea570127a586dc5718ee57504748d1de192bd627e26670bd7d82a25b7cb56a4fe597f3eb2c9d0c922da318fec5b6bf8a52801a856b662

diff --git 
a/media-plugins/gimp-resynthesizer/files/gimp-resynthesizer-0.16-makefile.patch 
b/media-plugins/gimp-resynthesizer/files/gimp-resynthesizer-0.16-makefile.patch
deleted file mode 100644
index 04d25511e61..000
--- 
a/media-plugins/gimp-resynthesizer/files/gimp-resynthesizer-0.16-makefile.patch
+++ /dev/null
@@ -1,27 +0,0 @@
 Makefile-orig  2010-03-28 00:42:45.759669796 +0300
-+++ Makefile   2010-03-28 00:43:33.024936557 +0300
-@@ -1,15 +1,8 @@
--CC = g++
--
- GIMPTOOL = gimptool-2.0
- 
- GIMP_LDFLAGS=`$(GIMPTOOL) --libs`
- GIMP_CFLAGS=`$(GIMPTOOL) --cflags`
- 
--CFLAGS=$(GIMP_CFLAGS) -O3 -fno-common -ffast-math -frename-registers 
-fomit-frame-pointer
--
--LDFLAGS=$(GIMP_LDFLAGS) -lm
--
--
- all: resynth
-   @echo
-   @echo 'Now type "make install" to install resynthesizer'
-@@ -30,7 +23,7 @@
-   @echo
- 
- resynth: resynth.cc
--  $(CC) $(CFLAGS) -o $@ resynth.cc $(LDFLAGS)
-+  $(CXX) $(CFLAGS) $(GIMP_CFLAGS) $(LDFLAGS) -o $@ resynth.cc 
$(GIMP_LDFLAGS) -lm
- 
- clean:
-   -rm -f *~ *.o core resynth

diff --git a/media-plugins/gimp-resynthesizer/files/smart-remove.scm 
b/media-plugins/gimp-resynthesizer/files/smart-remove.scm
deleted file mode 100644
index 7324ebd5674..000
--- a/media-plugins/gimp-resynthesizer/files/smart-remove.scm
+++ /dev/null
@@ -1,111 +0,0 @@
-
-; Smart Remove
-
-; Smart selection eraser.
-; Requires resynthesizer plug-in.
-; Paul Harrison (p...@logarithmic.net)
-
-; Versions
-; lloyd konneker lkk 3/29/2009 Fix passing workLayerID to plugin.  
-; Other non-functional changes: comments, error checking, menu item, blurb, 
license
-;
-
-; License:
-;
-; This program is free software; you can redistribute it and/or modify
-; it under the terms of the GNU General Public License as published by
-; the Free Software Foundation; either version 2 of the License, or
-; (at your option) any later version.
-;
-; This program is distributed in the hope that it will be useful,
-; but WITHOUT ANY WARRANTY; without even the implied warranty of
-; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-; GNU General Public License for more details.
-;
-; The GNU Public License is available at
-; http://www.gnu.org/copyleft/gpl.html
-
-; lkk comment: creates stencil selection in a temp dupe image to pass as 
source drawable to plugin
-
-
-(define (script-fu-smart-remove img layer corpus-border)
-  (cond
-((= 0 (car (gimp-selection-bounds img))) 
-  (gimp-message "To use this script-fu, first select the region you wish 
to remove.")
-)
-(#t (let*
-  (
-(dupe (car (gimp-image-duplicate img)))
-(channel (car (gimp-selection-save dupe)))
-(workLayerID -1); lkk
-  )
-
-  ; lkk flatten (so stencil gets everything visible) and to activate a 
layer in dupe
-  ; (gimp-message-set-handler 1)   ; debug messages to console
-  (gimp-image-flatten dupe) ; lkk !!! flatten, activates layer, 
but deletes alpha
-  (set! workLayerID (car (gimp-image-get-active-layer dupe)))
-  (cond ((= -1 workLayerID) 
-   (gimp-message "Failed get active layer")
-  ) )
-  ; lkk plugin requires equal count of channels, target and source.  
Plugin should be changed to relax this reqt.
-  (cond ((= 1 (car (gimp-drawable-has-alpha layer)))
-   ;debug (gimp-message "A

[gentoo-commits] repo/gentoo:master commit in: media-plugins/gimp-resynthesizer/

2018-03-07 Thread Michał Górny
commit: e96b994c30f7ef629c831e368292c546a2302332
Author: Diogo Pereira  gmail  com>
AuthorDate: Tue Mar  6 19:41:46 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  7 20:17:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96b994c

media-plugins/gimp-resynthesizer: fix dependencies

This package installs some Python scripts, so it has a runtime
dependency on media-gfx/gimp[python].

Also add a missing build-time dependency on pkgconfig.

Closes: https://bugs.gentoo.org/646156
Reported-by: Franz Fellner  gmail.com>
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 ...nthesizer-2.0.3.ebuild => gimp-resynthesizer-2.0.3-r1.ebuild} | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3.ebuild 
b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild
similarity index 75%
rename from media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3.ebuild
rename to media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild
index 1a6a43534b3..3e8b63d21d1 100644
--- a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3.ebuild
+++ b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=6
 
-inherit autotools
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools python-single-r1
 
 MY_PN="${PN#gimp-}"
 MY_P="${MY_PN}-${PV}"
@@ -17,8 +19,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND="media-gfx/gimp"
-RDEPEND="${DEPEND}"
+DEPEND="media-gfx/gimp
+   virtual/pkgconfig"
+RDEPEND="media-gfx/gimp[python,${PYTHON_USEDEP}]"
 
 S="${WORKDIR}/${MY_P}"
 



[gentoo-commits] repo/gentoo:master commit in: media-plugins/gimp-resynthesizer/

2018-01-18 Thread Amy Liffey
commit: 5d45a249640e23d6af1e1bc5f0bea7796ff7d0de
Author: Diogo Pereira  gmail  com>
AuthorDate: Wed Jan 10 16:00:54 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Thu Jan 18 20:08:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d45a249

media-plugins/gimp-resynthesizer: update metadata

 media-plugins/gimp-resynthesizer/metadata.xml | 22 +-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/media-plugins/gimp-resynthesizer/metadata.xml 
b/media-plugins/gimp-resynthesizer/metadata.xml
index 6f49eba8f49..b6f08f6ce69 100644
--- a/media-plugins/gimp-resynthesizer/metadata.xml
+++ b/media-plugins/gimp-resynthesizer/metadata.xml
@@ -1,5 +1,25 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-
+   
+   sir.su...@gmail.com
+   Diogo Pereira
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   This is a suite of GIMP plugins known as the 'Resynthesizer'.
+   The most commonly used is 'Heal selection' but all use the 
plugin
+   whose full interface is found at 'Filters>Map>Resynthesize.'
+   
+   
+   
+   boo...@nc.rr.com
+   Lloyd Konneker
+   
+   bootchk/resynthesizer
+   
https://github.com/bootchk/resynthesizer/issues
+   
 



[gentoo-commits] repo/gentoo:master commit in: media-plugins/gimp-resynthesizer/

2018-01-18 Thread Amy Liffey
commit: f0895463cd1b23d79aee7ae4a9a8703eb460f264
Author: Diogo Pereira  gmail  com>
AuthorDate: Wed Jan 10 16:05:42 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Thu Jan 18 20:09:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0895463

media-plugins/gimp-resynthesizer: bump to 2.0.3

Closes: https://bugs.gentoo.org/364619
Closes: #6820
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 media-plugins/gimp-resynthesizer/Manifest  |  1 +
 .../gimp-resynthesizer-2.0.3.ebuild| 28 ++
 2 files changed, 29 insertions(+)

diff --git a/media-plugins/gimp-resynthesizer/Manifest 
b/media-plugins/gimp-resynthesizer/Manifest
index 06639fd6053..5aa67576f9e 100644
--- a/media-plugins/gimp-resynthesizer/Manifest
+++ b/media-plugins/gimp-resynthesizer/Manifest
@@ -1 +1,2 @@
+DIST gimp-resynthesizer-2.0.3.tar.gz 11097693 BLAKE2B 
51e064ed1a5d31dc3162a27b76c8b68d7652e3efdf2acad1844f4c76b47a6485b4e43788993c344a7154cddd8d2ac1ebda7c24f871ea8d6af332b1f15759f396
 SHA512 
de18fa41f5c3feaeff3365cc57b49f404f20439c6f84b212bc5cc76ee21f34566b8d093bebef1e6f27dbe3df6a23570dc091d23044a0967957ec0e97a16fa7c4
 DIST resynthesizer-0.16.tar.gz 18241 BLAKE2B 
d042220a1d9f71af6be16fd9a0c0b81cf46911dc22ae123915455e4952e3dbe4ba3f87098cbb05ab679090beb590f5943db76d8f923c2a67d6aaa18758004dc7
 SHA512 
6838dfe919e45bd8e8eea570127a586dc5718ee57504748d1de192bd627e26670bd7d82a25b7cb56a4fe597f3eb2c9d0c922da318fec5b6bf8a52801a856b662

diff --git a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3.ebuild 
b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3.ebuild
new file mode 100644
index 000..1a6a43534b3
--- /dev/null
+++ b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+MY_PN="${PN#gimp-}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Suite of GIMP plugins for texture synthesis"
+HOMEPAGE="https://github.com/bootchk/resynthesizer";
+SRC_URI="https://github.com/bootchk/resynthesizer/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-gfx/gimp"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+   eautoreconf
+}