Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmacpi/files/, x11-plugins/wmacpi/
Date: Fri, 24 Nov 2017 10:10:17
Message-Id: 1511517787.b5d07704aa60b0210f59b1744897a2b15688fedc.voyageur@gentoo
1 commit: b5d07704aa60b0210f59b1744897a2b15688fedc
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 24 10:03:07 2017 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 24 10:03:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d07704
7
8 x11-plugins/wmacpi: drop old
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 x11-plugins/wmacpi/Manifest | 2 -
13 x11-plugins/wmacpi/files/1.34-acpi.patch | 17 ------
14 x11-plugins/wmacpi/files/1.34-apm.patch | 17 ------
15 .../wmacpi/files/wmacpi-2.2_rc1-makefile.patch | 71 ----------------------
16 x11-plugins/wmacpi/wmacpi-1.34.ebuild | 37 -----------
17 x11-plugins/wmacpi/wmacpi-2.2_rc1.ebuild | 43 -------------
18 6 files changed, 187 deletions(-)
19
20 diff --git a/x11-plugins/wmacpi/Manifest b/x11-plugins/wmacpi/Manifest
21 index 62bfd77739f..bcbac8f1cde 100644
22 --- a/x11-plugins/wmacpi/Manifest
23 +++ b/x11-plugins/wmacpi/Manifest
24 @@ -1,3 +1 @@
25 -DIST wmacpi-1.34.tar.gz 15509 SHA256 65f7a1da06fd3489ed97391d1c9b77b570bc30c14b1f846007028353d0fa51e2 SHA512 d2e3fb2b5ba9fc4d0996262d63cf935c4fe1bfda9d04acc3aec174172551bfa97b656aa445c747c3e9c58e32d2f4b1eba69e6d8b9b754b3d9066a84277b8f286 WHIRLPOOL 67263284e36be7257dbd662b8e78714f02f16f93accbc51433ce15754e0714c8c05a6306d70028914bf18a8d7d1bbb9d516afb7ee09fdbcbffb26ea1825270a5
26 -DIST wmacpi-2.2rc1.tar.bz2 30233 SHA256 25fc405e6e653caf9cfd90104b184cb4ed73114e710e229ed012ec155083a11f SHA512 491709b5f0019084f6423737bbb47de4353f297f2469b72cd8eec1e93d62487db5d590235b0b774ce3828a26f6f589ddf9bf9896cfecd47249c37e6e230b739e WHIRLPOOL 7eb717cde21490e395beacacb89bb3df6bffae7f64c6a5298f955a8c68abae36fabe271d9815de4c3a45c9fa3e579dc5f46f85a6441bb566c11efaca86aa8575
27 DIST wmacpi-2.3.tar.gz 39374 SHA256 5ae0ae6ca447e29acaf206f2321a50207509eb2a17ccb98ed196adf734263105 SHA512 47c260989cd3fdb8d7ceadba19224e6350056741b03c6f1b73a38b06d7e471a08972dfbcaeacdcbc460bc19b0f952641eda75e11468b4d7155eecd07e1e14cd9 WHIRLPOOL 0735582a3ee47144ab6ae57a5f6095a2adb006e62b536620b1036dab9ccee4b3ef6e581fde314440398cfc622f4db1ff150ec6c64ce08e791c2559397ef7cb8d
28
29 diff --git a/x11-plugins/wmacpi/files/1.34-acpi.patch b/x11-plugins/wmacpi/files/1.34-acpi.patch
30 deleted file mode 100644
31 index 76a94e57f77..00000000000
32 --- a/x11-plugins/wmacpi/files/1.34-acpi.patch
33 +++ /dev/null
34 @@ -1,17 +0,0 @@
35 ---- Makefile.orig 2003-09-04 13:00:48.784055072 -0400
36 -+++ Makefile 2003-09-04 13:03:41.399813488 -0400
37 -@@ -11,11 +11,11 @@
38 - #OPT = -pg -g -DPRO -DACPI
39 -
40 - CC = gcc
41 --CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include
42 -+CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include -DACPI
43 - LDFLAGS = $(OPT) -L/usr/X11R6/lib -lX11 -lXpm -lXext
44 -
45 --SRCS = wmacpi.c libapm.c libacpi.c
46 --OBJS = wmacpi.o libapm.o libacpi.o
47 -+SRCS = wmacpi.c libacpi.c
48 -+OBJS = wmacpi.o libacpi.o
49 -
50 - all: wmacpi
51 -
52
53 diff --git a/x11-plugins/wmacpi/files/1.34-apm.patch b/x11-plugins/wmacpi/files/1.34-apm.patch
54 deleted file mode 100644
55 index 6b640b781b1..00000000000
56 --- a/x11-plugins/wmacpi/files/1.34-apm.patch
57 +++ /dev/null
58 @@ -1,17 +0,0 @@
59 ---- Makefile.orig 2003-09-04 13:00:48.784055072 -0400
60 -+++ Makefile 2003-09-04 13:04:23.297444080 -0400
61 -@@ -11,11 +11,11 @@
62 - #OPT = -pg -g -DPRO -DACPI
63 -
64 - CC = gcc
65 --CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include
66 -+CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include -DAPM
67 - LDFLAGS = $(OPT) -L/usr/X11R6/lib -lX11 -lXpm -lXext
68 -
69 --SRCS = wmacpi.c libapm.c libacpi.c
70 --OBJS = wmacpi.o libapm.o libacpi.o
71 -+SRCS = wmacpi.c libapm.c
72 -+OBJS = wmacpi.o libapm.o
73 -
74 - all: wmacpi
75 -
76
77 diff --git a/x11-plugins/wmacpi/files/wmacpi-2.2_rc1-makefile.patch b/x11-plugins/wmacpi/files/wmacpi-2.2_rc1-makefile.patch
78 deleted file mode 100644
79 index af142fd574e..00000000000
80 --- a/x11-plugins/wmacpi/files/wmacpi-2.2_rc1-makefile.patch
81 +++ /dev/null
82 @@ -1,71 +0,0 @@
83 ---- Makefile.orig 2007-07-13 17:26:30.000000000 +0200
84 -+++ Makefile 2008-01-28 16:36:41.000000000 +0100
85 -@@ -13,8 +13,8 @@
86 - #OPT = -pg -g
87 -
88 - CC := gcc
89 --CFLAGS := $(OPT) -Wall -W -g -ansi -I/usr/X11R6/include
90 --LDFLAGS := $(OPT) -lX11 -ldockapp
91 -+CFLAGS := $(OPT) -Wall -W -g -ansi -I/usr/include
92 -+LDFLAGS += -lX11 -ldockapp
93 -
94 - WMSRC := wmacpi.c libacpi.c
95 - HEADERS := libacpi.h wmacpi.h
96 -@@ -22,11 +22,12 @@
97 - doc_targets := wmacpi.1
98 -
99 - ifdef BUILD_CLI
100 --targets += acpi
101 --doc_targets += acpi.1
102 -+targets += acpi-batt-status
103 -+doc_targets += acpi-batt-status.1
104 - endif
105 -
106 --PREFIX := /usr/local
107 -+PREFIX := /usr
108 -+MANDIR := $(PREFIX)/share/man
109 -
110 - all: $(targets)
111 -
112 -@@ -34,20 +35,20 @@
113 - WMOBJ := $(patsubst %.c,%.o,$(filter %.c,$(WMSRC)))
114 -
115 - # include per-file dependencies
116 ---include $(WMOBJ:.o=.d)
117 -+#-include $(WMOBJ:.o=.d)
118 -
119 - wmacpi: $(WMOBJ)
120 -- $(CC) $(LDFLAGS) -o $@ $^
121 -+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
122 -
123 - # for the Debian package, we want to make building the command line tools
124 - # optional. So, we hide all the necessary stuff here . . .
125 - ifdef BUILD_CLI
126 --CLSRC := acpi.c libacpi.c
127 -+CLSRC := acpi-batt-status.c libacpi.c
128 - CLOBJ := $(patsubst %.c,%.o,$(filter %.c,$(CLSRC)))
129 ---include $(CLOBJ:.o=.d)
130 -+#-include $(CLOBJ:.o=.d)
131 -
132 --acpi: $(CLOBJ)
133 -- $(CC) $(LDFLAGS) -o $@ $^
134 -+acpi-batt-status: $(CLOBJ)
135 -+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
136 - endif
137 -
138 - # build per-file dependencies - note that -MM may not be supported
139 -@@ -62,10 +63,10 @@
140 - rm -f *.d $(targets)
141 -
142 - install: $(targets)
143 -- install -d $(PREFIX)/bin/
144 -- install -pc $(targets) $(PREFIX)/bin/
145 -- install -d $(PREFIX)/man/man1/
146 -- install -pc $(doc_targets) $(PREFIX)/man/man1/
147 -+ install -d $(DESTDIR)$(PREFIX)/bin/
148 -+ install -pc $(targets) $(DESTDIR)$(PREFIX)/bin/
149 -+ install -d $(DESTDIR)$(MANDIR)/man1/
150 -+ install -p -m 0644 $(doc_targets) $(DESTDIR)$(MANDIR)/man1/
151 -
152 - tags:
153 - etags $(WMSRC) $(CLSRC) $(HEADERS)
154
155 diff --git a/x11-plugins/wmacpi/wmacpi-1.34.ebuild b/x11-plugins/wmacpi/wmacpi-1.34.ebuild
156 deleted file mode 100644
157 index 54fe653240d..00000000000
158 --- a/x11-plugins/wmacpi/wmacpi-1.34.ebuild
159 +++ /dev/null
160 @@ -1,37 +0,0 @@
161 -# Copyright 1999-2015 Gentoo Foundation
162 -# Distributed under the terms of the GNU General Public License v2
163 -
164 -inherit eutils
165 -
166 -DESCRIPTION="WMaker DockApp: ACPI status monitor for laptops"
167 -HOMEPAGE="http://www.ne.jp/asahi/linux/timecop/"
168 -SRC_URI="http://www.ne.jp/asahi/linux/timecop/software/${P}.tar.gz"
169 -
170 -LICENSE="GPL-2"
171 -SLOT="0"
172 -KEYWORDS="amd64 ppc -sparc x86"
173 -IUSE="acpi apm"
174 -
175 -DEPEND="<x11-libs/libdockapp-0.7"
176 -RDEPEND="${DEPEND}"
177 -
178 -src_unpack() {
179 - unpack ${A}
180 - cd "${S}"
181 - use apm && use acpi && eerror "APM and ACPI are in USE ... defaulting to ACPI"
182 - use apm || use acpi || eerror "Neither APM or ACPI are in USE ... defaulting to ACPI"
183 - if use acpi || ! use apm ; then
184 - epatch "${FILESDIR}"/${PV}-acpi.patch
185 - else
186 - epatch "${FILESDIR}"/${PV}-apm.patch
187 - fi
188 -}
189 -
190 -src_compile() {
191 - emake OPT="${CFLAGS}" || die "emake failed."
192 -}
193 -
194 -src_install() {
195 - dobin wmacpi || die "dobin failed."
196 - dodoc AUTHORS ChangeLog README
197 -}
198
199 diff --git a/x11-plugins/wmacpi/wmacpi-2.2_rc1.ebuild b/x11-plugins/wmacpi/wmacpi-2.2_rc1.ebuild
200 deleted file mode 100644
201 index f994beede5f..00000000000
202 --- a/x11-plugins/wmacpi/wmacpi-2.2_rc1.ebuild
203 +++ /dev/null
204 @@ -1,43 +0,0 @@
205 -# Copyright 1999-2015 Gentoo Foundation
206 -# Distributed under the terms of the GNU General Public License v2
207 -
208 -inherit eutils toolchain-funcs
209 -
210 -DESCRIPTION="WMaker DockApp: ACPI status monitor for laptops"
211 -HOMEPAGE="http://himi.org/wmacpi/"
212 -MY_PV="${PV/_}"
213 -MY_P="${PN}-${MY_PV}"
214 -S="${WORKDIR}/${MY_P}"
215 -SRC_URI="http://himi.org/wmacpi/download/${MY_P}.tar.bz2"
216 -
217 -LICENSE="GPL-2"
218 -SLOT="0"
219 -KEYWORDS="amd64 -ppc -sparc x86"
220 -IUSE=""
221 -
222 -DEPEND="<x11-libs/libdockapp-0.7
223 - x11-libs/libX11"
224 -RDEPEND="${DEPEND}"
225 -
226 -src_unpack() {
227 - unpack ${A}
228 - cd "${S}"
229 - # acpi and acpi.1 conflict with sys-power/acpi - Bug #60685
230 - mv acpi.c acpi-batt-status.c
231 - mv acpi.1 acpi-batt-status.1
232 - epatch "${FILESDIR}"/${P}-makefile.patch
233 -}
234 -
235 -src_compile() {
236 - emake CC="$(tc-getCC)" OPT="${CFLAGS}" || die "compile failed"
237 -}
238 -
239 -src_install() {
240 - emake DESTDIR="${D}" install || die "install failed"
241 - dodoc AUTHORS ChangeLog README TODO
242 -}
243 -
244 -pkg_postinst() {
245 - elog "The command-line utility are corresponding manpage are installed"
246 - elog "as acpi-batt-status to prevent collisions with sys-power/acpi"
247 -}