public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmacpimon/, x11-plugins/wmacpimon/files/
Date: Tue, 29 May 2018 13:18:06 +0000 (UTC)	[thread overview]
Message-ID: <1527599870.3548c89fdb27f0282b96f2456e2a7a365f386814.bman@gentoo> (raw)

commit:     3548c89fdb27f0282b96f2456e2a7a365f386814
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon May 28 23:46:21 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Tue May 29 13:17:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3548c89f

x11-plugins/wmacpimon: bump EAPI and drop eutils

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 x11-plugins/wmacpimon/files/Makefile.patch    |  4 ++--
 x11-plugins/wmacpimon/files/wmacpimon.c.patch |  4 ++--
 x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild  | 13 ++++++-------
 3 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/x11-plugins/wmacpimon/files/Makefile.patch b/x11-plugins/wmacpimon/files/Makefile.patch
index aab28fc8939..73646d10fa9 100644
--- a/x11-plugins/wmacpimon/files/Makefile.patch
+++ b/x11-plugins/wmacpimon/files/Makefile.patch
@@ -1,5 +1,5 @@
---- Makefile	2010-09-06 11:33:16.000000000 +0200
-+++ Makefile.new	2010-09-06 11:36:28.000000000 +0200
+--- a/Makefile	2010-09-06 11:33:16.000000000 +0200
++++ b/Makefile	2010-09-06 11:36:28.000000000 +0200
 @@ -1,8 +1,5 @@
 -OPT	= -O3 -DACPI
 -

diff --git a/x11-plugins/wmacpimon/files/wmacpimon.c.patch b/x11-plugins/wmacpimon/files/wmacpimon.c.patch
index 001c1d8c96b..adc03ce3fd0 100644
--- a/x11-plugins/wmacpimon/files/wmacpimon.c.patch
+++ b/x11-plugins/wmacpimon/files/wmacpimon.c.patch
@@ -1,5 +1,5 @@
---- wmacpimon.c	2004-07-08 14:16:22.184359328 +0200
-+++ wmacpimon.c	2004-07-08 14:15:59.677780848 +0200
+--- a/wmacpimon.c	2004-07-08 14:16:22.184359328 +0200
++++ b/wmacpimon.c	2004-07-08 14:15:59.677780848 +0200
 @@ -314,7 +314,7 @@
      acpinfo = calloc(1, sizeof(ACPInfo));
      dockapp->blink = OFF;

diff --git a/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild b/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild
index d902e3de4a3..ffc03d2648b 100644
--- a/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild
+++ b/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild
@@ -1,8 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
-inherit eutils
+EAPI=6
 
 DESCRIPTION="DockApp monitors the temperature and Speedstep features in ACPI-based systems"
 HOMEPAGE="http://www.vrlteam.org/wmacpimon/"
@@ -19,18 +18,18 @@ RDEPEND="x11-libs/libX11
 DEPEND="${RDEPEND}
 	x11-base/xorg-proto"
 
-src_prepare() {
+PATCHES=(
 	# patch wmacpimon.c file to set default path for
 	# wmacpimon.prc to /var/tmp/
-	epatch "${FILESDIR}"/wmacpimon.c.patch
+	"${FILESDIR}/wmacpimon.c.patch"
 
 	# fix LDFLAGS ordering. See bug #248618.
 	# fix LDFLAGS ordering again and other stuff. See bug #336091.
-	epatch "${FILESDIR}"/Makefile.patch
-}
+	"${FILESDIR}/Makefile.patch"
+)
 
 src_install() {
-	dobin wmacpimond wmacpimon || die "dobin failed."
+	dobin wmacpimond wmacpimon
 	dodoc AUTHORS ChangeLog README
 	newinitd "${FILESDIR}"/wmacpimon.initscript wmacpimon
 }


                 reply	other threads:[~2018-05-29 13:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1527599870.3548c89fdb27f0282b96f2456e2a7a365f386814.bman@gentoo \
    --to=bman@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