commit:     d1b14f40fde31dc37604f240a94a747a0fbc3411
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  6 07:14:07 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  6 07:16:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1b14f40

media-gfx/eom: depend on min mate-desktop matching ${PV}

Depend on >=mate-desktop-$(ver_cut 1-2) to avoid build failures for now
as a quick workaround.

The maintainers should check whether each package really needs it and
also consider a possible QA check in the eclass given some of them
seem to have a pattern in configure.ac for this, but given the bug has
been open for a whlie, I'd rather have some of the deps be unnecessarily
tight (not that it's even that tight) than as-it-was.

Note that couldn't use ${MATE_BRANCH} as it says:
> # Major and minor numbers of the version number, unless live.
> # If live ebuild, will be set to '9999'.
which made me wonder if it's actually meant to be 1-2 or 1-3 in ver_cut
or what.

Anyway, in summary:
* Apply a fix which makes things better, even if it's slightly overkill;
* Someone needs to audit these to find the actual minimum versions
  (some truly do need this, some need just something older, although
  unclear if upstream carefully update these or ont);
* A QA check may be wise.

Bug: https://bugs.gentoo.org/935279
Bug: https://bugs.gentoo.org/936079
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/eom/eom-1.28.0-r2.ebuild | 2 +-
 media-gfx/eom/eom-1.28.0.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/eom/eom-1.28.0-r2.ebuild 
b/media-gfx/eom/eom-1.28.0-r2.ebuild
index f808aaf8de76..10c964ed3f26 100644
--- a/media-gfx/eom/eom-1.28.0-r2.ebuild
+++ b/media-gfx/eom/eom-1.28.0-r2.ebuild
@@ -22,7 +22,7 @@ COMMON_DEPEND="
        >=dev-libs/libpeas-1.8.0:0[gtk]
        >=dev-libs/libxml2-2:2
        gnome-base/dconf
-       >=mate-base/mate-desktop-1.17.0
+       >=mate-base/mate-desktop-$(ver_cut 1-2)
        sys-libs/zlib
        x11-libs/cairo
        >=x11-libs/gdk-pixbuf-2.36.5:2[introspection?,jpeg?,tiff?]

diff --git a/media-gfx/eom/eom-1.28.0.ebuild b/media-gfx/eom/eom-1.28.0.ebuild
index 931fc3ee8522..5e369e19dfda 100644
--- a/media-gfx/eom/eom-1.28.0.ebuild
+++ b/media-gfx/eom/eom-1.28.0.ebuild
@@ -22,7 +22,7 @@ COMMON_DEPEND="
        >=dev-libs/libpeas-1.8.0:0[gtk]
        >=dev-libs/libxml2-2:2
        gnome-base/dconf
-       >=mate-base/mate-desktop-1.17.0
+       >=mate-base/mate-desktop-$(ver_cut 1-2)
        sys-libs/zlib
        x11-libs/cairo
        >=x11-libs/gdk-pixbuf-2.36.5:2[introspection?,jpeg?,tiff?]

Reply via email to