public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/wmii/
Date: Fri, 12 Feb 2021 13:45:04 +0000 (UTC)	[thread overview]
Message-ID: <1613137482.22274c58b1d3b2ccebe72a40e99ec8d90f2fd7d0.bkohler@gentoo> (raw)

commit:     22274c58b1d3b2ccebe72a40e99ec8d90f2fd7d0
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Thu Feb 11 19:14:25 2021 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Feb 12 13:44:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22274c58

x11-wm/wmii: Port to EAPI 7

* Apply gcc-10 workaround (dead upstream)

Closes: https://bugs.gentoo.org/706962
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 x11-wm/wmii/wmii-3.9.2-r5.ebuild | 42 ++++++++++++++++++----------------------
 1 file changed, 19 insertions(+), 23 deletions(-)

diff --git a/x11-wm/wmii/wmii-3.9.2-r5.ebuild b/x11-wm/wmii/wmii-3.9.2-r5.ebuild
index ce878f3d1cc..1199ba5c7ca 100644
--- a/x11-wm/wmii/wmii-3.9.2-r5.ebuild
+++ b/x11-wm/wmii/wmii-3.9.2-r5.ebuild
@@ -1,43 +1,34 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit flag-o-matic multilib toolchain-funcs
 
 MY_P="wmii+ixp-${PV}"
 
 DESCRIPTION="A dynamic window manager for X11"
-HOMEPAGE="http://wmii.suckless.org/"
+HOMEPAGE="https://github.com/0intro/wmii"
 SRC_URI="http://dl.suckless.org/wmii/${MY_P}.tbz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE=""
 
-CDEPEND="
+DEPEND="
+	media-libs/freetype
 	>=sys-libs/libixp-0.5_p20110208-r3
-	x11-libs/libXft
 	x11-libs/libXext
+	x11-libs/libXft
+	x11-libs/libXinerama
 	x11-libs/libXrandr
 	x11-libs/libXrender
-	x11-libs/libX11
-	x11-libs/libXinerama
-	>=media-libs/freetype-2
-"
-
-RDEPEND="
-	${CDEPEND}
-	x11-apps/xmessage
-	x11-apps/xsetroot
+	x11-libs/libX11"
+RDEPEND="${DEPEND}
 	media-fonts/font-misc-misc
-"
-
-DEPEND="
-	${CDEPEND}
-	virtual/pkgconfig
-"
+	x11-apps/xmessage
+	x11-apps/xsetroot"
+BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
 
@@ -61,13 +52,18 @@ src_prepare() {
 	)
 
 	# punt internal copy of sys-libs/libixp #323037
-	rm -f include/ixp{,_srvutil}.h || die
+	rm include/ixp{,_srvutil}.h || die
 	sed -i -e '/libixp/d' Makefile || die
 
 	sed -i -e "/BINSH \!=/d" mk/hdr.mk || die #335083
 	sed -i -e 's/-lXext/& -lXrender -lX11/' cmd/Makefile || die #369115
 }
 
+src_configure() {
+	append-flags -fcommon
+	default
+}
+
 src_compile() {
 	append-flags -I/usr/include/freetype2
 	emake "${mywmiiconf[@]}"
@@ -81,5 +77,5 @@ src_install() {
 	doexe "${T}/${PN}"
 
 	insinto /usr/share/xsessions
-	doins "${FILESDIR}/${PN}.desktop"
+	doins "${FILESDIR}"/${PN}.desktop
 }


             reply	other threads:[~2021-02-12 13:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-12 13:45 Ben Kohler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-21 12:18 [gentoo-commits] repo/gentoo:master commit in: x11-wm/wmii/ Petr Vaněk
2023-08-05 22:29 Sam James
2023-02-22 19:56 Sam James
2022-10-20  3:54 Sam James
2021-02-12 13:45 Ben Kohler
2017-03-26 18:00 Michael Orlitzky
2016-12-14 23:01 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1613137482.22274c58b1d3b2ccebe72a40e99ec8d90f2fd7d0.bkohler@gentoo \
    --to=bkohler@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox