diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2018-05-09 18:14:33 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2018-05-09 18:14:33 +0300 |
commit | f1ee029cfcbe924cd0e6234171eb05b7174e892e (patch) | |
tree | 0ec93063b92a4fe44ae3fe1d6cdd0930c45695ab /x11-misc | |
parent | x11-misc/xbattbar: ppc stable wrt bug #648878 (diff) | |
download | gentoo-f1ee029cfcbe924cd0e6234171eb05b7174e892e.tar.gz gentoo-f1ee029cfcbe924cd0e6234171eb05b7174e892e.tar.bz2 gentoo-f1ee029cfcbe924cd0e6234171eb05b7174e892e.zip |
x11-misc/xbattbar: Drop old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xbattbar/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xbattbar/files/xbattbar-1.4.3.patch | 38 | ||||
-rw-r--r-- | x11-misc/xbattbar/xbattbar-1.4.3.ebuild | 41 |
3 files changed, 0 insertions, 80 deletions
diff --git a/x11-misc/xbattbar/Manifest b/x11-misc/xbattbar/Manifest index 2f80979989ae..bc459cb5132e 100644 --- a/x11-misc/xbattbar/Manifest +++ b/x11-misc/xbattbar/Manifest @@ -1,2 +1 @@ -DIST xbattbar_1.4.3.orig.tar.gz 15722 BLAKE2B 85a6dbce98ec0109360881763fdf57501e0db21ab2d614b583996d2164c0d8aed94f3e20968cb6c91cf34a7181c66efe94a6e6f32007f6dc26dd94c163bb9d46 SHA512 1c809de998cae1dd4652b20d5c8fecf8f674910893fd458115beae8f873452a82c276afeef9b1ce3293498e372a74add190dc6a447ef0de219df98c5c36fae32 DIST xbattbar_1.4.8.orig.tar.gz 16254 BLAKE2B 3e2215bcee10f140a078266e128ae17185e5900090b057e845f966098c69371ab5115d3cdc620a87e27e2dd223a83ab33e5fef55119cdbac68491c0e88e63585 SHA512 1ec535ba997da4aa08b225b61b22eb87d74fc15c522d30f5361e1f56db6fd774f4230a95afdb7f1170144c0939724a80118c7289ea50d027a76649fa20164191 diff --git a/x11-misc/xbattbar/files/xbattbar-1.4.3.patch b/x11-misc/xbattbar/files/xbattbar-1.4.3.patch deleted file mode 100644 index ad5b9e49c1fa..000000000000 --- a/x11-misc/xbattbar/files/xbattbar-1.4.3.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- Makefile -+++ Makefile -@@ -8,16 +8,16 @@ - all: $(TARGET) $(APM_CHECK) - - $(TARGET): obj/xbattbar.o -- gcc -o $@ $< -lX11 -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< -lX11 - - obj/xbattbar.o: xbattbar.c obj/stamp -- gcc -MMD -o $@ -c $< -+ $(CC) $(CFLAGS) -MMD -o $@ -c $< - - $(APM_CHECK): obj/xbattbar-check-apm.o -- gcc -o $@ $< -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< - - obj/xbattbar-check-apm.o: xbattbar-check-apm.c obj/stamp -- gcc -MMD -D$(OS_TYPE) -o $@ -c $< -+ $(CC) $(CFLAGS) -MMD -D$(OS_TYPE) -o $@ -c $< - - obj/stamp: - mkdir obj -@@ -29,11 +29,11 @@ - - - install: $(TARGET) $(APM_CHECK) -- install -d -m 0755 $(DESTDIR)/usr/lib/$(PROJECT) -+ install -d -m 0755 $(DESTDIR)/usr/lib$(LIB_SUFFIX)/$(PROJECT) - install -d -m 0755 $(DESTDIR)/usr/bin - install -d -m 0755 $(DESTDIR)/usr/share/man/man1 -- install -m 0755 $(APM_CHECK) $(DESTDIR)/usr/lib/$(PROJECT)/ -- install -m 0755 xbattbar-check-acpi $(DESTDIR)/usr/lib/$(PROJECT)/ -+ install -m 0755 $(APM_CHECK) $(DESTDIR)/usr/lib$(LIB_SUFFIX)/$(PROJECT)/ -+ install -m 0755 xbattbar-check-acpi $(DESTDIR)/usr/lib$(LIB_SUFFIX)/$(PROJECT)/ - install -m 0755 $(TARGET) $(DESTDIR)/usr/bin/ - install -m 0644 xbattbar.man $(DESTDIR)/usr/share/man/man1/$(PROJECT).1 - diff --git a/x11-misc/xbattbar/xbattbar-1.4.3.ebuild b/x11-misc/xbattbar/xbattbar-1.4.3.ebuild deleted file mode 100644 index 50b76944e6f3..000000000000 --- a/x11-misc/xbattbar/xbattbar-1.4.3.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=2 -inherit eutils flag-o-matic multilib toolchain-funcs - -DESCRIPTION="Advanced Power Management battery status display for X" -HOMEPAGE="https://packages.qa.debian.org/x/xbattbar.html" -SRC_URI="mirror://debian/pool/main/x/${PN}/${PN}_${PV}.orig.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ppc x86" -IUSE="" - -DEPEND="dev-lang/perl - x11-libs/libX11" -RDEPEND="${DEPEND} - !ppc? ( >=sys-power/acpi-1.5 )" # ppc has APM - -# XXX: Avoiding imake in purpose here. - -src_prepare() { - epatch "${FILESDIR}"/${P}.patch - - sed -i \ - -e "s:usr/lib:usr/$(get_libdir):" \ - xbattbar.c || die -} - -src_compile() { - [[ $(tc-arch) == amd64 ]] && export LIB_SUFFIX=64 - tc-export CC - use kernel_linux && append-flags -Dlinux - emake || die -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc README -} |