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 33B02158086 for ; Sat, 8 Jan 2022 12:49:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B2012BC01A; Sat, 8 Jan 2022 12:49:20 +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 4316A2BC01A for ; Sat, 8 Jan 2022 12:49:20 +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 049F8342E64 for ; Sat, 8 Jan 2022 12:49:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99BD8286 for ; Sat, 8 Jan 2022 12:49:17 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1641646147.8edede1542bc3b4c4d40470e5caf92461587fe71.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xscreensaver/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/xscreensaver/xscreensaver-6.02.ebuild X-VCS-Directories: x11-misc/xscreensaver/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 8edede1542bc3b4c4d40470e5caf92461587fe71 X-VCS-Branch: master Date: Sat, 8 Jan 2022 12:49:17 +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: 7255c46d-f68e-4008-97e5-8257894043ff X-Archives-Hash: d105a17323a7591bfda112dbb86a0d51 commit: 8edede1542bc3b4c4d40470e5caf92461587fe71 Author: Joonas Niilola gentoo org> AuthorDate: Sat Jan 8 12:41:37 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Jan 8 12:49:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8edede15 x11-misc/xscreensaver: 6.02 ebuild enhancements - remove old cruft, modernise, update deps. Signed-off-by: Joonas Niilola gentoo.org> x11-misc/xscreensaver/xscreensaver-6.02.ebuild | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/x11-misc/xscreensaver/xscreensaver-6.02.ebuild b/x11-misc/xscreensaver/xscreensaver-6.02.ebuild index c32955e7c5e9..575d1cd4c43f 100644 --- a/x11-misc/xscreensaver/xscreensaver-6.02.ebuild +++ b/x11-misc/xscreensaver/xscreensaver-6.02.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools flag-o-matic font multilib optfeature pam +inherit autotools flag-o-matic font optfeature pam strip-linguas -DESCRIPTION="modular screen saver and locker for the X Window System" +DESCRIPTION="Modular screen saver and locker for the X Window System" HOMEPAGE="https://www.jwz.org/xscreensaver/" SRC_URI="https://www.jwz.org/xscreensaver/${P}.tar.gz" @@ -25,20 +25,16 @@ REQUIRED_USE=" glx? ( opengl ) gtk? ( png ) opengl? ( png ) - elogind? ( !systemd ) + ?? ( elogind systemd ) " COMMON_DEPEND=" dev-libs/libxml2 - media-libs/netpbm - virtual/libcrypt:= x11-apps/appres x11-apps/xwininfo x11-libs/libX11 x11-libs/libXext - xft? ( x11-libs/libXft ) x11-libs/libXi - x11-libs/libXmu x11-libs/libXrandr x11-libs/libXt x11-libs/libXxf86vm @@ -52,7 +48,7 @@ COMMON_DEPEND=" new-login? ( gdm? ( gnome-base/gdm ) !gdm? ( || ( x11-misc/lightdm lxde-base/lxdm ) ) - ) + ) opengl? ( virtual/glu virtual/opengl @@ -60,6 +56,7 @@ COMMON_DEPEND=" pam? ( sys-libs/pam ) png? ( media-libs/libpng:= ) systemd? ( >=sys-apps/systemd-221 ) + xft? ( x11-libs/libXft ) xinerama? ( x11-libs/libXinerama ) " # For USE="perl" see output of `qlist xscreensaver | grep bin | xargs grep '::'` @@ -75,11 +72,13 @@ RDEPEND=" " DEPEND=" ${COMMON_DEPEND} + x11-base/xorg-proto +" +BDEPEND=" dev-util/intltool sys-devel/bc sys-devel/gettext virtual/pkgconfig - x11-base/xorg-proto " PATCHES=( "${FILESDIR}"/${PN}-6.01-interix.patch @@ -140,6 +139,10 @@ src_configure() { unset BC_ENV_ARGS #24568 + # Works similarly to -Werror, + # https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration + filter-flags -pedantic-errors + # WARNING: This is NOT a normal autoconf script # Some of the --with options are NOT standard, and expect "--with-X=no" rather than "--without-X" ECONF_OPTS=( @@ -207,17 +210,14 @@ src_install() { einstalldocs if use pam; then - rm -f "${ED}/etc/pam.d/xscreensaver" # install our version instead fperms 755 /usr/bin/${PN} pamd_mimic_system ${PN} auth fi # bugs #809599, #828869 if ! use gtk; then - rm -f "${ED}/usr/bin/xscreensaver-demo" + rm "${ED}/usr/bin/xscreensaver-demo" || die fi - - rm -f "${ED}"/usr/share/${PN}/config/{electricsheep,fireflies}.xml } pkg_postinst() {