public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmcms/
Date: Sun, 23 Aug 2015 19:14:53 +0000 (UTC)	[thread overview]
Message-ID: <1440357279.bdba47c8b236b58ea8ad2106f5fd539a110f06ce.voyageur@gentoo> (raw)

commit:     bdba47c8b236b58ea8ad2106f5fd539a110f06ce
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 21 21:26:53 2015 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 19:14:39 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdba47c8

x11-plugins/wmcms: EAPI bump, fix compilation with new libdockapp

Fixes bug #558362 by Toralf Förster <toralf.foerster <AT> gmx.de>

Package-Manager: portage-2.2.20.1

 x11-plugins/wmcms/Manifest                            |  2 +-
 x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild               |  5 +++--
 .../{wmcms-0.3.5-r1.ebuild => wmcms-0.3.5-r2.ebuild}  | 19 ++++++++++---------
 3 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/x11-plugins/wmcms/Manifest b/x11-plugins/wmcms/Manifest
index 2d52b49..d70557e 100644
--- a/x11-plugins/wmcms/Manifest
+++ b/x11-plugins/wmcms/Manifest
@@ -1 +1 @@
-DIST wmcms-0.3.5.tar.bz2 18920 SHA256 9b47672b3fa5a2474fe26dabb0e95030a4792766ce6577391ab1cd784f21d09b
+DIST wmcms-0.3.5.tar.bz2 18920 SHA256 9b47672b3fa5a2474fe26dabb0e95030a4792766ce6577391ab1cd784f21d09b SHA512 f2852f8b81e1eac0396ca0964590fdf2560b97b5ee5266288641487ddfe77879e552c5e77e42f398ecf974a9030dd147ad64eedf7f7c32af53d69be31c8598fd WHIRLPOOL 5271e3a7c42745ea8f0b2a27dcba8d717e9b3e9243a862975d1f6b6f8430a0a92a80d3eaa0695ad8ba620a4b9d32c5a692c6178780ebde1168ff30bc5b478a84

diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild b/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild
index 7846476..42e7f82 100644
--- a/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild
+++ b/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,8 @@ SLOT="0"
 KEYWORDS="amd64 ppc ppc64 sparc x86"
 IUSE=""
 
-DEPEND="x11-libs/libdockapp"
+RDEPEND="<x11-libs/libdockapp-0.7"
+DEPEND="${RDEPEND}"
 
 src_unpack() {
 	unpack ${A}

diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild b/x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild
similarity index 58%
copy from x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild
copy to x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild
index 7846476..cbb2f6d 100644
--- a/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild
+++ b/x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+EAPI=5
 inherit eutils
 
 DESCRIPTION="WindowMaker CPU and Memory Usage Monitor Dock App"
@@ -10,24 +11,24 @@ HOMEPAGE="http://orbita.starmedia.com/~neofpo/wmcms.html"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ppc ppc64 sparc x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE=""
 
-DEPEND="x11-libs/libdockapp"
+DEPEND=">=x11-libs/libdockapp-0.7:="
 
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
+src_prepare() {
 	epatch "${FILESDIR}"/wmcms-0.3.5-s4t4n.patch
 
 	# Respect LDFLAGS, see bug #335031
-	sed -i 's/ -o wmcms/ ${LDFLAGS} -o wmcms/' "Makefile"
+	sed -e 's/ -o wmcms/ ${LDFLAGS} -o wmcms/' -i Makefile || die
+
+	sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i *.c || die
 }
 
 src_compile() {
-	emake CFLAGS="${CFLAGS}" || die "emake failed."
+	emake CFLAGS="${CFLAGS}"
 }
 
 src_install() {
-	dobin wmcms || die "dobin failed."
+	dobin wmcms
 }


             reply	other threads:[~2015-08-23 19:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-23 19:14 Bernard Cafarelli [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-11-24 10:10 [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmcms/ Bernard Cafarelli
2017-11-29 23:08 Bernard Cafarelli
2018-07-26 20:30 Bernard Cafarelli
2018-07-26 20:30 Bernard Cafarelli
2020-03-29 15:17 Bernard Cafarelli
2022-07-09 15:43 Bernard Cafarelli

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=1440357279.bdba47c8b236b58ea8ad2106f5fd539a110f06ce.voyageur@gentoo \
    --to=voyageur@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