public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eli Schwartz" <eschwartz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/cinnamon-desktop/
Date: Wed, 12 Mar 2025 00:52:42 +0000 (UTC)	[thread overview]
Message-ID: <1741740383.a500615470af01a46e895d7ba78d84149d0aead2.eschwartz@gentoo> (raw)

commit:     a500615470af01a46e895d7ba78d84149d0aead2
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 11 22:46:34 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Wed Mar 12 00:46:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5006154

gnome-extra/cinnamon-desktop: enforce binary dependency on gtk backends

```
 * QA Notice: binaries depend on Gtk's x11-specific ABI without USE dep:
 *
 *   /usr/lib64/libcinnamon-desktop.so.4.0.0
```

Unconditional includes, makes sense since cinnamon only supports X
anyway. There is some preliminary wayland support though, which is
guarded via `#ifdef GDK_WINDOWING_WAYLAND`, so add a USE flag to key off
of, even if just so that nobody sets it and it gets forcibly suppressed.
:)

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 ...-desktop-6.2.0.ebuild => cinnamon-desktop-6.2.0-r1.ebuild} |  4 ++--
 ...-desktop-6.4.1.ebuild => cinnamon-desktop-6.4.1-r1.ebuild} | 11 ++++++++---
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/gnome-extra/cinnamon-desktop/cinnamon-desktop-6.2.0.ebuild b/gnome-extra/cinnamon-desktop/cinnamon-desktop-6.2.0-r1.ebuild
similarity index 95%
rename from gnome-extra/cinnamon-desktop/cinnamon-desktop-6.2.0.ebuild
rename to gnome-extra/cinnamon-desktop/cinnamon-desktop-6.2.0-r1.ebuild
index 975d5f73aba2..3e5eb39cf4d8 100644
--- a/gnome-extra/cinnamon-desktop/cinnamon-desktop-6.2.0.ebuild
+++ b/gnome-extra/cinnamon-desktop/cinnamon-desktop-6.2.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,7 +24,7 @@ RDEPEND="
 	sys-apps/hwdata
 	x11-libs/cairo[X]
 	>=x11-libs/gdk-pixbuf-2.22:2[introspection]
-	>=x11-libs/gtk+-3.3.16:3[introspection]
+	>=x11-libs/gtk+-3.3.16:3[introspection,X]
 	x11-libs/libX11
 	>=x11-libs/libXext-1.1
 	x11-libs/libxkbfile

diff --git a/gnome-extra/cinnamon-desktop/cinnamon-desktop-6.4.1.ebuild b/gnome-extra/cinnamon-desktop/cinnamon-desktop-6.4.1-r1.ebuild
similarity index 84%
rename from gnome-extra/cinnamon-desktop/cinnamon-desktop-6.4.1.ebuild
rename to gnome-extra/cinnamon-desktop/cinnamon-desktop-6.4.1-r1.ebuild
index 2849983c8bc1..a7ca019663f0 100644
--- a/gnome-extra/cinnamon-desktop/cinnamon-desktop-6.4.1.ebuild
+++ b/gnome-extra/cinnamon-desktop/cinnamon-desktop-6.4.1-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..13} )
 
-inherit meson gnome2-utils python-any-r1
+inherit meson flag-o-matic gnome2-utils python-any-r1
 
 DESCRIPTION="A collection of libraries and utilites used by Cinnamon"
 HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-desktop"
@@ -14,6 +14,7 @@ SRC_URI="https://github.com/linuxmint/cinnamon-desktop/archive/${PV}.tar.gz -> $
 LICENSE="GPL-1 GPL-2+ LGPL-2+ LGPL-2.1+ MIT"
 SLOT="0/4" # subslot = libcinnamon-desktop soname version
 KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="wayland"
 
 RDEPEND="
 	app-text/iso-codes
@@ -25,7 +26,7 @@ RDEPEND="
 	virtual/libudev:=
 	x11-libs/cairo[X]
 	>=x11-libs/gdk-pixbuf-2.22:2[introspection]
-	>=x11-libs/gtk+-3.3.16:3[introspection]
+	>=x11-libs/gtk+-3.3.16:3[introspection,wayland?,X]
 	x11-libs/libX11
 	>=x11-libs/libXext-1.1
 	x11-libs/libxkbfile
@@ -56,6 +57,10 @@ src_prepare() {
 }
 
 src_configure() {
+	# defang automagic dependencies
+	# Preliminary wayland support only. Xorg code is unconditional.
+	use wayland || append-cflags -DGENTOO_GTK_HIDE_WAYLAND
+
 	local emesonargs=(
 		# https://github.com/linuxmint/cinnamon-desktop/commit/7eadfb1da9a42384396978b8ab46e0725d18e04f
 		# > Unless/until this fixes an actual identified issue for us or provides significant advantages


             reply	other threads:[~2025-03-12  0:52 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-12  0:52 Eli Schwartz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-25 14:22 [gentoo-commits] repo/gentoo:master commit in: gnome-extra/cinnamon-desktop/ Joonas Niilola
2024-09-25 13:58 Joonas Niilola
2024-08-05  3:36 Eli Schwartz
2024-05-28 12:44 Sam James
2024-02-15 13:29 Joonas Niilola
2023-10-13  7:43 Joonas Niilola
2023-10-04  8:24 Joonas Niilola
2023-09-26 15:59 WANG Xuerui
2023-07-16 18:34 Sam James
2023-06-10 23:05 Andreas Sturmlechner
2023-06-05  9:58 Joonas Niilola
2023-06-05  9:58 Joonas Niilola
2023-05-07 22:14 Sam James
2023-05-07 22:14 Sam James
2023-04-29 17:44 Arthur Zamarin
2023-04-29 17:44 Arthur Zamarin
2022-12-24  7:11 Sam James
2022-11-22  6:20 Sam James
2022-11-22  6:20 Sam James
2022-11-21 17:46 Arthur Zamarin
2022-05-11  2:11 Sam James
2022-05-05  3:01 Sam James
2022-02-18  2:44 Sam James
2022-02-18  2:44 Sam James
2022-01-21 17:15 Sam James
2021-12-24 20:00 Jakov Smolić
2021-12-24 19:25 Jakov Smolić
2021-11-23  1:25 Yixun Lan
2021-06-12  3:55 Sam James
2021-06-08  7:34 Sam James
2021-06-01 16:28 Joonas Niilola
2021-06-01 16:28 Joonas Niilola
2021-03-01 13:02 Joonas Niilola
2021-01-24 17:31 Joonas Niilola
2021-01-06  1:05 Sam James
2020-12-29 17:14 Sam James
2020-12-27  5:06 Sam James
2020-12-16 22:30 Sam James
2020-09-15 14:20 Joonas Niilola
2020-09-09  2:15 Sam James
2020-05-29  0:11 Matt Turner
2020-04-20 20:52 Mart Raudsepp
2020-02-09 16:25 Michał Górny
2019-06-07 20:12 Mikle Kolyada
2019-06-04 20:58 Thomas Deutschmann
2018-11-28 19:56 Kristian Fiskerstrand
2018-07-31  8:38 Kristian Fiskerstrand
2018-05-26 11:32 Mart Raudsepp
2018-04-12 19:07 Thomas Deutschmann
2018-04-06 14:00 Aaron Bauman
2017-11-26 15:43 Kristian Fiskerstrand
2017-06-27 16:09 Kristian Fiskerstrand
2017-06-24 14:58 Kristian Fiskerstrand
2017-06-18 10:05 Pacho Ramos
2017-01-08 20:35 Kristian Fiskerstrand
2016-11-22 20:42 Kristian Fiskerstrand
2016-10-01  0:54 Pacho Ramos
2016-09-17 13:29 Kristian Fiskerstrand
2016-06-25 16:53 Pacho Ramos
2016-06-25 16:53 Pacho Ramos
2016-05-29 12:42 Pacho Ramos
2016-05-29 12:42 Pacho Ramos
2015-11-15 22:30 Pacho Ramos
2015-11-15 22:30 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1741740383.a500615470af01a46e895d7ba78d84149d0aead2.eschwartz@gentoo \
    --to=eschwartz@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox