summaryrefslogtreecommitdiff
path: root/gnome-extra/cinnamon-settings-daemon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-17 06:49:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-17 06:49:08 +0000
commit2bf68d7062b64d9f815f3b8ce6942a66afe53b0d (patch)
treeac1e773aaa4d3575d18d178ae260cab963bbf64c /gnome-extra/cinnamon-settings-daemon
parentcd356b722fd8d162f02a5059fae1a66e00be52e3 (diff)
gentoo auto-resync : 17:03:2024 - 06:49:08
Diffstat (limited to 'gnome-extra/cinnamon-settings-daemon')
-rw-r--r--gnome-extra/cinnamon-settings-daemon/Manifest2
-rw-r--r--gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-6.0.0-r1.ebuild99
-rw-r--r--gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-6.0.0-c99.patch26
3 files changed, 127 insertions, 0 deletions
diff --git a/gnome-extra/cinnamon-settings-daemon/Manifest b/gnome-extra/cinnamon-settings-daemon/Manifest
index bf24935540d6..0818c122e2a2 100644
--- a/gnome-extra/cinnamon-settings-daemon/Manifest
+++ b/gnome-extra/cinnamon-settings-daemon/Manifest
@@ -1,5 +1,7 @@
+AUX cinnamon-settings-daemon-6.0.0-c99.patch 1002 BLAKE2B b816574312cbb0d9e9cf05e8dfbd94c9892aeae84406e7405c820ab404103853a5757d3c364f929dd9bc3c3f4a1adfe257b15c3554ce244774e44742893c6467 SHA512 e78eaa1e7b53525297672c4045e611890e9be847ddf881c46b8dbbf155cd82068c504c9ea9f54da44d616f682c87066c9d283520b951e8433442c4dd2bfc5f76
DIST cinnamon-settings-daemon-5.8.1.tar.gz 573541 BLAKE2B 50d8e6fb1fde50db7cc40c931e0904c0abfa429dc5757160fdb87ee2753f4d9e732ba4a0837c0480a73a3caffb084881c8aac336f8600afe976adc519b09aa01 SHA512 a5e92aa9ba463cff7db02e9d377a28b39e4c1dd25226ab9d4d59b5fd7b38267c6da5f31cfa052f1a8243de601c7484040be158e633b8932e2e68726860c7bfc3
DIST cinnamon-settings-daemon-6.0.0.tar.gz 578061 BLAKE2B f05e14e9d3c15bc94df5435b0f317e1924993fbf4908491ea5a825b623c6a6f127ce20f5c31f54bfbd547a70ad645c3dbe71d9c55f790a3e0730d55bc58d6316 SHA512 44348765bf8c0cb941d177a6765aef10796d72f5c215dbffa4b514523956e257128d6bbbb0dcd9c3f0b2bcde24745e082ad82a7cee149125903e13b349c07200
EBUILD cinnamon-settings-daemon-5.8.1.ebuild 2161 BLAKE2B 23e3ba0b82e1dbb60ff2d44944701d9a741cdd723bc80222fffc21a236f9794c6a1b37302fdb52b13ed7c4b6315ce00b8d83565325449359156c8b3c8e02cc7f SHA512 0548f408b04f27f2dd1ed73c49d0d0ef640c2e2cea34542146f239a45b1b52ab80cd6bb844fa60c2c3045f0df36a54aa4da6420ea336a9fd0ece0903840bd71f
+EBUILD cinnamon-settings-daemon-6.0.0-r1.ebuild 2231 BLAKE2B 0b8391114655365b5f341fb667daba431a3add8c1cf45f4fc9ff086da0831473504dadf89a9be10656b61d1a6651ede32c1161e91a8ccd1d34fcce94aa77b8a8 SHA512 6ba8c886a4aa869c63577060635dfd0316fb4a7b8d6b006a6712ac62cca0ca932fe9abe102e4154a38615860156b59a3f780431a38b9d68c59e78fef6acda09f
EBUILD cinnamon-settings-daemon-6.0.0.ebuild 2181 BLAKE2B 3dbde6e25a2d7eab3b1b11d106f15faae7b6fb3723765ae918ce40fcca45e30a4b76d8229fd98554dae6640663ecc8fc1d80d301413c9ce7666eada536cc864f SHA512 dc039646f802bce210bf95b556412456dd420d386e592118e5db481f133cc8a76566715ef5554b4d2964e3e0e0b3797c1e4a386ca4a7501599336bb89e4bc521
MISC metadata.xml 504 BLAKE2B 99901d6f11af1367053f408c6fc1dffafa3903dc04b9a38faed0b3261e578c33fad49948ce09ecfb6d277472a3f9c3d088a32231b02236677071413dc3d4917e SHA512 f5afa4c1e73b6765aee16c5762b3145223bf4c56cae60b7e65ef503aec0f684276de2a7a22b0b866996cd96376cfc69e36e395ad3da9e7ce593732cb075fd64c
diff --git a/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-6.0.0-r1.ebuild b/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-6.0.0-r1.ebuild
new file mode 100644
index 000000000000..dffa7e4efb41
--- /dev/null
+++ b/gnome-extra/cinnamon-settings-daemon/cinnamon-settings-daemon-6.0.0-r1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit meson gnome2-utils python-any-r1 xdg
+
+DESCRIPTION="Cinnamon's settings daemon"
+HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-settings-daemon"
+SRC_URI="https://github.com/linuxmint/cinnamon-settings-daemon/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+ LGPL-2+ LGPL-2.1 LGPL-2.1+ MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="+colord cups input_devices_wacom smartcard systemd wayland"
+
+RDEPEND="
+ >=dev-libs/glib-2.40.0:2[dbus]
+ dev-libs/libgudev
+ >=gnome-base/libgnomekbd-3.6:=
+ >=gnome-extra/cinnamon-desktop-6.0:0=
+ media-libs/fontconfig
+ >=media-libs/lcms-2.2:2
+ media-libs/libcanberra[gtk3,pulseaudio]
+ >=media-libs/libpulse-0.9.16[glib]
+ >=sys-auth/polkit-0.97
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-3.14.0:3[wayland=]
+ >=x11-libs/libnotify-0.7.3
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ >=x11-libs/libxklavier-5.0:=
+ >=x11-libs/pango-1.20.0
+ >=sys-power/upower-0.9.11:=
+
+ colord? ( >=x11-misc/colord-0.1.27:= )
+ cups? (
+ >=net-print/cups-1.4[dbus]
+ app-admin/system-config-printer
+ net-print/cups-pk-helper )
+ input_devices_wacom? (
+ >=dev-libs/libwacom-0.7:=
+ >=gnome-base/librsvg-2.36.2 )
+ smartcard? (
+ dev-libs/nspr
+ >=dev-libs/nss-3.11.2
+ )
+ systemd? ( sys-apps/systemd:0= )
+ !systemd? ( sys-auth/elogind )
+"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/libxml2:2
+ x11-base/xorg-proto
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ dev-util/glib-utils
+ dev-util/gdbus-codegen
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.0.0-c99.patch
+)
+
+src_prepare() {
+ default
+ python_fix_shebang install-scripts
+}
+
+src_configure() {
+ # gudev not optional on Linux platforms
+ local emesonargs=(
+ -Duse_gudev=enabled
+ -Duse_polkit=enabled
+ -Duse_logind=enabled
+ $(meson_feature colord use_color)
+ $(meson_feature cups use_cups)
+ $(meson_feature smartcard use_smartcard)
+ $(meson_feature input_devices_wacom use_wacom)
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
diff --git a/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-6.0.0-c99.patch b/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-6.0.0-c99.patch
new file mode 100644
index 000000000000..36ce9365a554
--- /dev/null
+++ b/gnome-extra/cinnamon-settings-daemon/files/cinnamon-settings-daemon-6.0.0-c99.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/919084
+https://github.com/linuxmint/cinnamon-settings-daemon/commit/48da3c4763bea93ea3e1d2ba2e2dfdb7f41d8afc
+
+From 48da3c4763bea93ea3e1d2ba2e2dfdb7f41d8afc Mon Sep 17 00:00:00 2001
+From: Leigh Scott <leigh123linux@gmail.com>
+Date: Mon, 5 Feb 2024 16:07:03 +0000
+Subject: [PATCH] Fix compile issue (#386)
+
+(Warning becomes an error due to gcc 14 changes)
+--- a/plugins/keyboard/gkbd-configuration.c
++++ b/plugins/keyboard/gkbd-configuration.c
+@@ -340,11 +340,11 @@ gkbd_configuration_get_xkl_engine (GkbdConfiguration *configuration)
+ const char * const *
+ gkbd_configuration_get_group_names (GkbdConfiguration *configuration)
+ {
+- return configuration->priv->full_group_names;
++ return (const char * const *)configuration->priv->full_group_names;
+ }
+
+ const char * const *
+ gkbd_configuration_get_short_group_names (GkbdConfiguration *configuration)
+ {
+- return configuration->priv->short_group_names;
++ return (const char * const *)configuration->priv->short_group_names;
+ }
+