From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1676814-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 0FB6F158042
	for <garchives@archives.gentoo.org>; Sun,  6 Oct 2024 07:17:43 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 34F03E29D0;
	Sun,  6 Oct 2024 07:17:41 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1C821E29D0
	for <gentoo-commits@lists.gentoo.org>; Sun,  6 Oct 2024 07:17:41 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 43655343170
	for <gentoo-commits@lists.gentoo.org>; Sun,  6 Oct 2024 07:17:40 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5CD0321C8
	for <gentoo-commits@lists.gentoo.org>; Sun,  6 Oct 2024 07:17:37 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1728199003.3bfef866f365ff85563a02007e6aafaff48c54db.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: mate-extra/caja-extensions/
X-VCS-Repository: repo/gentoo
X-VCS-Files: mate-extra/caja-extensions/caja-extensions-1.28.0.ebuild
X-VCS-Directories: mate-extra/caja-extensions/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 3bfef866f365ff85563a02007e6aafaff48c54db
X-VCS-Branch: master
Date: Sun,  6 Oct 2024 07:17:37 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 284d70da-d5a1-4355-a125-0756f2ac9868
X-Archives-Hash: 66a7bb4e38e3a24511eaa9254258335d

commit:     3bfef866f365ff85563a02007e6aafaff48c54db
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  6 07:13:44 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  6 07:16:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bfef866

mate-extra/caja-extensions: 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>

 mate-extra/caja-extensions/caja-extensions-1.28.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mate-extra/caja-extensions/caja-extensions-1.28.0.ebuild b/mate-extra/caja-extensions/caja-extensions-1.28.0.ebuild
index c6f3bf5df174..142d151e559e 100644
--- a/mate-extra/caja-extensions/caja-extensions-1.28.0.ebuild
+++ b/mate-extra/caja-extensions/caja-extensions-1.28.0.ebuild
@@ -27,7 +27,7 @@ COMMON_DEPEND=">=dev-libs/glib-2.50:2
 		>=dev-libs/dbus-glib-0.60
 		>=sys-apps/dbus-1
 	)
-	open-terminal? ( >=mate-base/mate-desktop-1.28.0 )
+	open-terminal? ( >=mate-base/mate-desktop-$(ver_cut 1-2) )
 	pidgin? ( >=dev-libs/dbus-glib-0.60 )
 	upnp? ( >=net-libs/gupnp-1.6.5 )
 	xattr? ( sys-apps/attr )