From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 0A8E9158020 for ; Wed, 21 Dec 2022 10:07:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33EE2E07FE; Wed, 21 Dec 2022 10:07:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 1912DE07FE for ; Wed, 21 Dec 2022 10:07:35 +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 348D2341366 for ; Wed, 21 Dec 2022 10:07:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C6151785 for ; Wed, 21 Dec 2022 10:07:32 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1671617222.2558ddaebc75727e79645d718aa3bb7113941e9d.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnow/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/xsnow/xsnow-3.6.0-r1.ebuild x11-misc/xsnow/xsnow-3.6.0.ebuild X-VCS-Directories: x11-misc/xsnow/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 2558ddaebc75727e79645d718aa3bb7113941e9d X-VCS-Branch: master Date: Wed, 21 Dec 2022 10:07:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aa671379-9e68-4d60-be53-80d3d9e7a6f1 X-Archives-Hash: 5c62ee6802a93e6c7498cc6358092982 commit: 2558ddaebc75727e79645d718aa3bb7113941e9d Author: Florian Schmaus gentoo org> AuthorDate: Wed Dec 21 10:05:41 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Wed Dec 21 10:07:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2558ddae x11-misc/xsnow: install xscreensaver hack Signed-off-by: Florian Schmaus gentoo.org> .../xsnow/{xsnow-3.6.0.ebuild => xsnow-3.6.0-r1.ebuild} | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/x11-misc/xsnow/xsnow-3.6.0.ebuild b/x11-misc/xsnow/xsnow-3.6.0-r1.ebuild similarity index 65% rename from x11-misc/xsnow/xsnow-3.6.0.ebuild rename to x11-misc/xsnow/xsnow-3.6.0-r1.ebuild index c8462ed48e95..b1390bb2529c 100644 --- a/x11-misc/xsnow/xsnow-3.6.0.ebuild +++ b/x11-misc/xsnow/xsnow-3.6.0-r1.ebuild @@ -38,3 +38,17 @@ src_prepare() { default eautoreconf } + +src_install() { + default + + # Install xscreensaver hack, which calls xsnow with the correct + # arguments. xscreensaver calls all hacks with --root, however xsnow + # only understands -root and will exit with an error if an unknown + # argument (--root) is provided. + exeinto usr/$(get_libdir)/misc/xscreensaver + newexe - xsnow <<-EOF + #/usr/bin/env bash + exec "${EPREFIX}/usr/bin/xsnow" -nomenu -root +EOF +}