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 69A78158094 for ; Wed, 29 Jun 2022 09:07:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56377E0C01; Wed, 29 Jun 2022 09:07:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 089BCE0C01 for ; Wed, 29 Jun 2022 09:07:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 079123419E2 for ; Wed, 29 Jun 2022 09:07:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 675C551C for ; Wed, 29 Jun 2022 09:07:22 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1656493632.08431ad2f1a967014f4c0e8bfb94103416c782a0.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/selectwm/files/, x11-wm/selectwm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/selectwm/files/selectwm-0.4.1-autotools.patch x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch x11-wm/selectwm/selectwm-0.4.1-r1.ebuild x11-wm/selectwm/selectwm-0.4.1-r2.ebuild X-VCS-Directories: x11-wm/selectwm/files/ x11-wm/selectwm/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 08431ad2f1a967014f4c0e8bfb94103416c782a0 X-VCS-Branch: master Date: Wed, 29 Jun 2022 09:07:22 +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: cc6da04b-93bc-4792-b989-17a19e72076d X-Archives-Hash: ceefeb1cc8332314186921fe4acd2ca1 commit: 08431ad2f1a967014f4c0e8bfb94103416c782a0 Author: David Seifert gentoo org> AuthorDate: Wed Jun 29 09:07:12 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Wed Jun 29 09:07:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08431ad2 x11-wm/selectwm: update EAPI 6 -> 8 Signed-off-by: David Seifert gentoo.org> .../selectwm/files/selectwm-0.4.1-autotools.patch | 26 ++++++++++++++++++++++ x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch | 15 ------------- ...wm-0.4.1-r1.ebuild => selectwm-0.4.1-r2.ebuild} | 25 ++++++++++++--------- 3 files changed, 41 insertions(+), 25 deletions(-) diff --git a/x11-wm/selectwm/files/selectwm-0.4.1-autotools.patch b/x11-wm/selectwm/files/selectwm-0.4.1-autotools.patch new file mode 100644 index 000000000000..11dbcd3b94f0 --- /dev/null +++ b/x11-wm/selectwm/files/selectwm-0.4.1-autotools.patch @@ -0,0 +1,26 @@ +* Respect CFLAGS, don't strip binaries +* Don't check for configure.in (EAPI 8) + +http://bugs.gentoo.org/252124 + +--- a/configure.in ++++ b/configure.in +@@ -1,6 +1,6 @@ + dnl Process this file with autoconf to produce a configure script. + +-AC_INIT(configure.in) ++AC_INIT + AM_INIT_AUTOMAKE(selectwm, 0.4.1) + AM_CONFIG_HEADER(config.h) + AM_MAINTAINER_MODE +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -10,5 +10,6 @@ + modify.c modify.h \ + misc.h define.h + +-LIBS = @GTK_LIBS@ +-AM_CFLAGS = -s -O2 -Wall @GTK_CFLAGS@ -DLOCALEDIR=\"$(datadir)/locale\" ++selectwm_LDADD = @GTK_LIBS@ ++selectwm_CFLAGS = @GTK_CFLAGS@ ++selectwm_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" diff --git a/x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch b/x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch deleted file mode 100644 index 4287ca2d2cbb..000000000000 --- a/x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch +++ /dev/null @@ -1,15 +0,0 @@ -Respect CFLAGS, don't strip binaries - -http://bugs.gentoo.org/show_bug.cgi?id=252124 - ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -10,5 +10,6 @@ - modify.c modify.h \ - misc.h define.h - --LIBS = @GTK_LIBS@ --AM_CFLAGS = -s -O2 -Wall @GTK_CFLAGS@ -DLOCALEDIR=\"$(datadir)/locale\" -+selectwm_LDADD = @GTK_LIBS@ -+selectwm_CFLAGS = @GTK_CFLAGS@ -+selectwm_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" diff --git a/x11-wm/selectwm/selectwm-0.4.1-r1.ebuild b/x11-wm/selectwm/selectwm-0.4.1-r2.ebuild similarity index 60% rename from x11-wm/selectwm/selectwm-0.4.1-r1.ebuild rename to x11-wm/selectwm/selectwm-0.4.1-r2.ebuild index e06d7d38dc00..43301bdf930c 100644 --- a/x11-wm/selectwm/selectwm-0.4.1-r1.ebuild +++ b/x11-wm/selectwm/selectwm-0.4.1-r2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 + inherit autotools DESCRIPTION="window manager selector tool" @@ -13,17 +14,16 @@ SLOT="2" KEYWORDS="amd64 ppc sparc x86" IUSE="nls" -DOCS=( AUTHORS README sample.xinitrc ) - -RDEPEND="x11-libs/gtk+:2 +RDEPEND=" + x11-libs/gtk+:2 dev-libs/glib:2" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" PATCHES=( - "${FILESDIR}/${P}-enable-deprecated-gtk.patch" - "${FILESDIR}/${P}-glibc-2.10.patch" - "${FILESDIR}/${P}-nostrip.patch" + "${FILESDIR}"/${P}-enable-deprecated-gtk.patch + "${FILESDIR}"/${P}-glibc-2.10.patch + "${FILESDIR}"/${P}-autotools.patch ) src_prepare() { @@ -36,3 +36,8 @@ src_configure() { --program-suffix=2 \ $(use_enable nls) } + +src_install() { + default + dodoc sample.xinitrc +}