commit: bc2637c35c20581a2e76f6aa33d73abf55991d2d
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 13 09:13:13 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Oct 13 09:13:28 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc2637c3
x11-wm/treewm: Drop old (old EAPIs)
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
x11-wm/treewm/treewm-0.4.5-r1.ebuild | 60 ------------------------------------
x11-wm/treewm/treewm-0.4.5.ebuild | 43 --------------------------
2 files changed, 103 deletions(-)
diff --git a/x11-wm/treewm/treewm-0.4.5-r1.ebuild
b/x11-wm/treewm/treewm-0.4.5-r1.ebuild
deleted file mode 100644
index 7c71b8f47a2..00000000000
--- a/x11-wm/treewm/treewm-0.4.5-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit eutils
-
-DESCRIPTION="WindowManager that arranges the windows in a tree (not in a list)"
-SRC_URI="mirror://sourceforge/treewm/${P}.tar.bz2"
-HOMEPAGE="http://treewm.sourceforge.net/"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~ppc ~sparc ~x86"
-IUSE=""
-
-RDEPEND="
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXxf86vm
- x11-libs/libXpm"
-DEPEND="${RDEPEND}
- x11-base/xorg-proto
- x11-misc/imake"
-
-src_prepare() {
- # bug 251845
- epatch "${FILESDIR}/${P}-gcc43.patch"
- # bug 86453
- sed -i xprop/dsimple.c \
- -e 's:malloc:Malloc:g' \
- || die "sed xprop/dsimple.c"
-}
-
-src_compile() {
- # only compile treewm, not (x11-apps/){xprop,xkill}
- emake treewm \
- CXX=$(tc-getCXX) \
- CCOPTIONS="${CFLAGS}" \
- EXTRA_LDOPTIONS="${LDFLAGS}" \
- PREFIX="/usr" ROOT="${D}" \
- || die "emake"
-}
-
-src_install() {
- # only install treewm, not (x11-apps/){xprop,xkill}
- dobin src/treewm
- dodoc AUTHORS ChangeLog PROBLEMS README README.tiling TODO default.cfg \
- sample.cfg
- insinto /usr/share/pixmaps/treewm
- doins src/pixmaps/*.xpm
-}
-
-pkg_postinst() {
- elog "x11-wm/treewm used to install its own versions of x11-apps/xprop
and"
- elog "x11-apps/xkill as treewm-xprop and treewm-xkill respectively,
since"
- elog "they are assumed to be broken in combination with treewm. Since"
- elog "X(org) has become modular since treewm's last release and are not"
- elog "installed by default, we can leave those out and simply point out"
- elog "that it is NOT adviseable to use these programs when using
treewm."
-}
diff --git a/x11-wm/treewm/treewm-0.4.5.ebuild
b/x11-wm/treewm/treewm-0.4.5.ebuild
deleted file mode 100644
index 0351757d1ac..00000000000
--- a/x11-wm/treewm/treewm-0.4.5.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils
-
-DESCRIPTION="WindowManager that arranges the windows in a tree (not in a list)"
-SRC_URI="mirror://sourceforge/treewm/${P}.tar.bz2"
-HOMEPAGE="http://treewm.sourceforge.net/"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 sparc ppc"
-IUSE=""
-
-RDEPEND="x11-libs/libXau
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXxf86vm
- x11-libs/libXdmcp
- x11-libs/libXpm"
-DEPEND="${RDEPEND}
- x11-base/xorg-proto
- x11-misc/imake"
-
-src_unpack() {
- unpack ${A}
- # bug 251845
- epatch "${FILESDIR}/${P}-gcc43.patch"
- # bug 86453
- sed -i -e "s:malloc:Malloc:g" "${S}"/xprop/dsimple.c
-}
-
-src_compile() {
- emake PREFIX="/usr" ROOT="${D}" || die
-}
-
-src_install() {
- make PREFIX="/usr" ROOT="${D}" install || die
-
- # hack for Gentoo's doc policy:
- cd "${D}/usr/share/doc/treewm" && dodoc * && cd .. && rm -rf treewm ||
die
-}