Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651830 - Please move >=dev-libs/glib-2.54.2 from gnome overlay to main tree (as it blocks packaging of >=media-gfx/gimp-2.10.0_rc1)
Summary: Please move >=dev-libs/glib-2.54.2 from gnome overlay to main tree (as it blo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal blocker with 2 votes (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 650536
Blocks: 654240
  Show dependency tree
 
Reported: 2018-03-28 16:03 UTC by Sebastian Pipping
Modified: 2018-06-13 17:49 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 Sebastian Pipping gentoo-dev 2018-03-28 16:03:30 UTC
Hi!


During packaging of media-gfx/gimp-2.10.0_rc1 I needed to stop because it has >=dev-libs/glib-2.54.2 as a dependency.  You seem to have that in the gnome overlay (https://gitweb.gentoo.org/proj/gnome.git/tree/dev-libs/glib).  Any chance you could move it over short-term?

Thanks!



Sebastian
Comment 1 DrSlony 2018-04-10 21:52:38 UTC
What's the prognosis?
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2018-04-19 05:02:43 UTC
glib 2.56.1 is in the gnome overlay. You could add gimp there until we bump and move everything back to portage.
Comment 3 Francesco Riosa 2018-04-27 18:26:16 UTC
Notice that with final release other packages need attention to be able to build gimp:

1) gegl slot has changed from 0.3 to 0.4 (and 0.4.0 is required)
2) media-libs/libmypaint-1.3.0 need a patch to search for either gegl-0.3 or gegl-0.4
3) also some deps have changed from gimp-2.9 to 2.10
4) probably gmic is affected too (untested)

Related ebuild and patches in my overlay:
https://github.com/vivo75/vivovl
Comment 4 Sebastian Pipping gentoo-dev 2018-04-29 18:51:36 UTC
(In reply to Francesco Riosa from comment #3)
> 2) media-libs/libmypaint-1.3.0 need a patch to search for either gegl-0.3 or
> gegl-0.4

without a use flag the ebuild can only support 0.3 or 0.4 but not both.  Autodetection breaks the dependency graph to the eyes of the package manager.  To be concrete, with the approach taken at https://github.com/vivo75/vivovl/commit/14ee744220a377e31091ddd0b759ab6b6798d547 I could emerge libmypaint with gegl 0.3 araound only, install gegl 0.4, uninstall 0.3 and end up with broken libmypaint and portage could do little to detect it.  So we cannot do that auto-detection in the main tree.
Comment 5 Sebastian Pipping gentoo-dev 2018-04-29 19:19:57 UTC
Discussion started with libmypaint upstream at https://github.com/mypaint/libmypaint/issues/123
Comment 6 Larry the Git Cow gentoo-dev 2018-06-10 08:25:48 UTC
The bug has been closed via the following commit(s):

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

commit c2b5a3364405a40881ed2ecb776821213d163171
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-06-10 07:00:38 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-06-10 08:25:19 +0000

    dev-libs/glib-2.54: port to python-single-r1
    
    Use python-single-r1 instead of python_replicate_script and let
    upstream --with-python do its work (don't patch it out anymore in
    gdbus-codegen patch). We pass --with-python to end up with proper
    /usr/bin/env based shebangs (otherwise it is based on $PYTHON,
    which includes absolute path, unlike EPYTHON)
    
    Closes: https://bugs.gentoo.org/651830
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../files/glib-2.54.3-external-gdbus-codegen.patch | 27 ++--------------------
 dev-libs/glib/glib-2.54.3-r5.ebuild                | 14 ++++-------
 2 files changed, 6 insertions(+), 35 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit a19b68e76f6d6ac028abb78884bed29793fc6848
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-06-10 08:16:33 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-06-10 08:25:20 +0000

    dev-util/gdbus-codegen-2.54: fix indentation in sitedir patch
    
    Bug: https://bugs.gentoo.org/651830
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-util/gdbus-codegen/files/gdbus-codegen-2.54.3-sitedir.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

commit 227afccd67fd4ac16cebe8eb0bb36d0e78cca0a5
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-06-10 07:05:35 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-06-10 08:25:20 +0000

    dev-libs/glib-2.54: remove unnecessary chunk from gdbus-codegen patch
    
    Bug: https://bugs.gentoo.org/651830
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/glib/files/glib-2.54.3-external-gdbus-codegen.patch | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

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

commit f3e63d6637a47cf00fc6684e431c92ba0ece7a86
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-06-10 06:35:07 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-06-10 08:25:19 +0000

    dev-libs/glib-2.54: handle py glib-{mkenums,genmarshal} more properly
    
    glib-2.54 ported glib-mkenums and glib-genmarshal to python. Handle them
    more properly via python_replicate_script and PYTHON_DEPS, so we actually
    ensure that the deps are in place for the tools to work.
    This is meant to be temporary and not a stable candidate until at least
    these python tools are moved out into a separate package, like
    gdbus-codegen is. But we are delayed in providing a newer glib for
    ~arch long enough now, so go with the simpler way to start with, as
    separate package would involve consumer transition as well, including
    addition of the new package into various packages DEPEND, which is hard
    to know when it's needed (probably requiring some sort of QA check).
    
    Bug: https://bugs.gentoo.org/651830
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/glib/glib-2.54.3-r5.ebuild | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

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

commit e9e8a9e4d1686a14966430246e4ec59791739bea
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-06-10 05:38:16 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-06-10 08:25:19 +0000

    dev-libs/glib-2.54: don't care about gbus-codegen python USE flags
    
    gdbus-codegen ships an internal gdbus_codegen module, which is only used
    by itself. It's wrong to force the same python versions for it, as it's
    really just a currently wrongly implemented python-single-r1 use case.
    
    Bug: https://bugs.gentoo.org/651830
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/glib/{glib-2.54.3-r4.ebuild => glib-2.54.3-r5.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

commit 2b5a908fab7d45931b55d455072d39b453cb8213
Author:     Sobhan Mohammadpour <sobhan@gentoo.org>
AuthorDate: 2018-06-04 11:28:48 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-06-10 08:25:18 +0000

    dev-util/gdbus-codegen: bump to 2.54.3
    
    Bug: https://bugs.gentoo.org/651830
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-util/gdbus-codegen/Manifest                    |  1 +
 .../files/gdbus-codegen-2.54.3-sitedir.patch       | 22 +++++++++++
 dev-util/gdbus-codegen/gdbus-codegen-2.54.3.ebuild | 46 ++++++++++++++++++++++
 3 files changed, 69 insertions(+)

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

commit 3a6f4d90b062f19aba3651e01b934763ff677e03
Author:     Sobhan Mohammadpour <sobhan@gentoo.org>
AuthorDate: 2018-06-04 10:46:41 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-06-10 08:25:18 +0000

    dev-libs/glib: bump to 2.54.3
    
    Bug: https://bugs.gentoo.org/651830
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/glib/Manifest                             |   1 +
 .../files/glib-2.54.3-external-gdbus-codegen.patch | 116 ++++++++
 dev-libs/glib/glib-2.54.3-r4.ebuild                | 301 +++++++++++++++++++++
 3 files changed, 418 insertions(+)
Comment 7 Sebastian Pipping gentoo-dev 2018-06-13 17:49:06 UTC
Thanks!