summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-17 19:26:23 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-17 19:28:14 +0100
commitdae12a3b8f89ddf2d9abef14afd2f96b4c8e66eb (patch)
treecc39d39d390c6147231497368a00d6abd6acfece /xfce-extra/xfce4-screensaver
parentxfce-base/xfce4-session: Backport memory management fixes (diff)
downloadgentoo-dae12a3b8f89ddf2d9abef14afd2f96b4c8e66eb.tar.gz
gentoo-dae12a3b8f89ddf2d9abef14afd2f96b4c8e66eb.tar.bz2
gentoo-dae12a3b8f89ddf2d9abef14afd2f96b4c8e66eb.zip
xfce-extra/xfce4-screensaver: Backport memory management fix
Closes: https://bugs.gentoo.org/901781 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra/xfce4-screensaver')
-rw-r--r--xfce-extra/xfce4-screensaver/Manifest1
-rw-r--r--xfce-extra/xfce4-screensaver/xfce4-screensaver-4.16.0-r1.ebuild (renamed from xfce-extra/xfce4-screensaver/xfce4-screensaver-4.16.0.ebuild)21
2 files changed, 17 insertions, 5 deletions
diff --git a/xfce-extra/xfce4-screensaver/Manifest b/xfce-extra/xfce4-screensaver/Manifest
index 9e46783d3317..c0e7b476448c 100644
--- a/xfce-extra/xfce4-screensaver/Manifest
+++ b/xfce-extra/xfce4-screensaver/Manifest
@@ -1 +1,2 @@
+DIST xfce4-screensaver-4.16.0-mem.patch 3265 BLAKE2B 38436c7c2047453109702fd54aee874dfb489819024e61899b807ea98686bdd491e578b65be89dfbd53ee89976bb215790df4fce6559f7ee4f5ff92b449374fe SHA512 dc9e289aa91ea4a5b65d2381bfabdbb48a6b07c67782afc53b003ffd2a07c0d225f4bb2ea48bcd478f14ab4c29a2521a0436085b40589e5a059e5561f7bcb42d
DIST xfce4-screensaver-4.16.0.tar.bz2 687978 BLAKE2B 1656027af61a50ab97fd3d5744f0ab5f1a81353c64a2fd935a6113dbe2fce5c4b2a22c5f81f15d06d09c3b292f82afa95ce34a07facb5fffef7e6fef712cae63 SHA512 5fa0381395b48fdfb5bdd9b4cafe1ec625d0b7fb9600d59c22c42fe0248fb4b99dd18a94045df3ecdc77635f7271676329c658f25003a9d8d6f9a9a66739dbe9
diff --git a/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.16.0.ebuild b/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.16.0-r1.ebuild
index 0d47bf305220..65e6ca0dc14c 100644
--- a/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.16.0.ebuild
+++ b/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.16.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,7 +10,11 @@ HOMEPAGE="
https://docs.xfce.org/apps/screensaver/start
https://gitlab.xfce.org/apps/xfce4-screensaver/
"
-SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+SRC_URI="
+ https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2
+ https://gitlab.xfce.org/apps/xfce4-screensaver/-/commit/7aeced1f6fb39fd8887fc441b4ff491ba5bfcf35.patch
+ -> ${P}-mem.patch
+"
LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
@@ -18,7 +22,7 @@ KEYWORDS="~alpha amd64 arm ~arm64 ~loong ppc ~ppc64 ~riscv x86"
IUSE="elogind +locking opengl pam systemd"
# Xrandr: optional but automagic
-RDEPEND="
+DEPEND="
>=dev-libs/dbus-glib-0.30
>=dev-libs/glib-2.50:2
>=x11-libs/gtk+-3.22:3
@@ -41,12 +45,19 @@ RDEPEND="
opengl? ( virtual/opengl )
systemd? ( sys-apps/systemd:= )
"
-DEPEND="${RDEPEND}"
+RDEPEND="
+ ${DEPEND}
+"
BDEPEND="
dev-util/glib-utils
dev-util/intltool
sys-apps/dbus
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${DISTDIR}/${P}-mem.patch"
+)
src_configure() {
local myconf=(