Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711684 - <media-gfx/gimp-3[python] depends on dev-python/pygtk
Summary: <media-gfx/gimp-3[python] depends on dev-python/pygtk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
URL: https://wiki.gimp.org/index.php/Roadm...
Whiteboard:
Keywords: PullRequest
: 778767 (view as bug list)
Depends on: 711858 718838
Blocks: pygtk-removal
  Show dependency tree
 
Reported: 2020-03-06 14:20 UTC by Sergey Torokhov
Modified: 2021-03-27 16:25 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Torokhov 2020-03-06 14:20:54 UTC
The dev-python/pygtk is currently required to provide gui for python2 based plugins in <=gimp-2.10. The example of such plugin is portage tree package media-plugins/gimp-resynthesizer that provides additional more powerful tools for retouching and "Heal" etc.

Removing dev-python/pygtk dependency from gimp-2.10.28.ebuild (along with python2 plugins support) results in issue in first 24hours with ask to restore it: https://bugs.gentoo.org/711628

(See also: https://bugs.gentoo.org/706462)

Reproducible: Always
Comment 1 Sergey Torokhov 2020-09-02 22:37:57 UTC
# Michał Górny <mgorny@gentoo.org> (2020-08-22)
# These packages (or package versions) still require Python 2.7.
# They are either dead upstream, their Python 3 porting efforts are
# not progressing or their maintainers are simply unresponsive.
# Please do not remove any packages from this list unless you actually
# port it to Python 3.
# Removal in 30 days.  Tracker bug #694800.
...
media-plugins/gimp-resynthesizer
...


After the dropping of media-plugins/gimp-resynthesizer the dev-python/pygtk will not be needed anymore as dependency because there will not be any package in portage tree that requires gimp-2[python].
Comment 2 Larry the Git Cow gentoo-dev 2020-09-20 15:09:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2db6db2b7eaf8f1c2c3b49fd42411378e0fabf3

commit e2db6db2b7eaf8f1c2c3b49fd42411378e0fabf3
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2020-09-19 13:18:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-09-20 15:09:00 +0000

    media-gfx/gimp: drop pygtk, python2 dependencies in 2.10.20
    
    Bug: https://bugs.gentoo.org/711684
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Closes: https://github.com/gentoo/gentoo/pull/17599
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/gimp/gimp-2.10.20-r2.ebuild | 213 ++++++++++++++++++++++++++++++++++
 1 file changed, 213 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2020-11-04 12:42:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5aed65962daa37234918add7cac3a9f6283e3fd

commit a5aed65962daa37234918add7cac3a9f6283e3fd
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2020-11-04 11:21:26 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-11-04 12:42:29 +0000

    media-gfx/gimp: cleanup ebulds depend on py2, droped dev-python/pygtk
    
    As media-gimp-2.10.20 is depend on >=media-libs/babl-0.1.78
    and >=media-gegl-0.4.24 therefore early of them should be dropped too.
    
    Closes: https://bugs.gentoo.org/711684
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 media-gfx/gimp/Manifest               |   1 -
 media-gfx/gimp/gimp-2.10.18-r1.ebuild | 226 ---------------------------------
 media-gfx/gimp/gimp-2.10.18-r2.ebuild | 230 ----------------------------------
 media-gfx/gimp/gimp-2.10.20-r1.ebuild | 228 ---------------------------------
 4 files changed, 685 deletions(-)
Comment 4 Andreas Sturmlechner gentoo-dev 2021-03-27 16:25:08 UTC
*** Bug 778767 has been marked as a duplicate of this bug. ***