From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/fte/
Date: Thu, 7 Feb 2019 12:15:13 +0000 (UTC) [thread overview]
Message-ID: <1549541704.e2c0c97c2aeb6e1309dd49bee18e6a8154e66e45.zlogene@gentoo> (raw)
commit: e2c0c97c2aeb6e1309dd49bee18e6a8154e66e45
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 7 12:15:04 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu Feb 7 12:15:04 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2c0c97c
app-editors/fte: Drop old
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
app-editors/fte/Manifest | 2 -
app-editors/fte/fte-20051115-r3.ebuild | 124 ---------------------------------
2 files changed, 126 deletions(-)
diff --git a/app-editors/fte/Manifest b/app-editors/fte/Manifest
index d15e084028d..ff4fbf95bc6 100644
--- a/app-editors/fte/Manifest
+++ b/app-editors/fte/Manifest
@@ -1,4 +1,2 @@
-DIST fte-20051115-common.zip 187849 BLAKE2B eb410c64b40650b475fb651a014c4ddf2cece6471f2144928b88644a04f9fe4886caf6f0f4b8d679a8fb506461bf7973f1e2bd3a9d8163f462e8eb03f2d85163 SHA512 18e1657a6fe1b48449dc97a357f00bfeb6626450520b48647e2751cc946d9d1bfc6d77d4b0fbdff0a980121502da870f739846b1db9569ff0b305530ee717323
-DIST fte-20051115-src.zip 549216 BLAKE2B 0ec3eeea813380cb0c2cac55dc42beaeecb10ec3c6bac02668d995b5735443cb92cdc430135973190560a8a4e9096737d9bc6b448258fa9e04c4bb1b18235609 SHA512 320c2c4f27041ff5e7417288e5acc8c776013da4aa7cfc187e6207086851642a7ed961383ca19f6ae6c1717a59453c6a9ca40a1c7eb77dae6e5b9184cd7c346a
DIST fte-20110708-common.zip 200007 BLAKE2B ce1ac0f2bd68b2bb7ef1d96a46bd9a481cd46f5cde00607c64f752d5e87f6edefd8a92c8210e1ac7629ef8bc5720a8a2d75bd61f292f344e211b88a2462989fa SHA512 0bb59a5b6b4a5ef6c1234dadd8922cd50a13ad1f0c06d6046b74a95592ad55f720b43bbc78a42cab63dfc68c5e073d44d5179bd6ed72f346563f43f3c5c146f1
DIST fte-20110708-src.zip 504199 BLAKE2B 42bb3cc4ae9be4b64c0b161488d91d4a260a2e6a1574fccb0fc652359e34f7b6b881f170dfd85a8954f2b2fdbe4fecaaf2fc68cd5244f185dde36fe1a694004e SHA512 2d59fadcdd988ee85b87425c343341e1b768a7e9ef838c5f8a1f22c4adc5bf2cc37d547f36354ca1740bce07b33d5ae93d14e24001b9dbd3b1b267986564a089
diff --git a/app-editors/fte/fte-20051115-r3.ebuild b/app-editors/fte/fte-20051115-r3.ebuild
deleted file mode 100644
index ea155c1e9f6..00000000000
--- a/app-editors/fte/fte-20051115-r3.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Lightweight text-mode editor"
-HOMEPAGE="http://fte.sourceforge.net"
-SRC_URI="
- mirror://sourceforge/fte/${P}-src.zip
- mirror://sourceforge/fte/${P}-common.zip"
-
-LICENSE="|| ( GPL-2 Artistic )"
-SLOT="0"
-KEYWORDS="~alpha amd64 ppc -sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="gpm slang X"
-
-S="${WORKDIR}/${PN}"
-
-RDEPEND="
- >=sys-libs/ncurses-5.2
- X? (
- x11-libs/libXdmcp
- x11-libs/libXau
- x11-libs/libX11
- x11-libs/libXpm
- )
- gpm? ( >=sys-libs/gpm-1.20 )"
-DEPEND="${RDEPEND}
- slang? ( >=sys-libs/slang-2.1.3 )
- app-arch/unzip"
-
-set_targets() {
- export TARGETS=""
- use slang && TARGETS="${TARGETS} sfte"
- use X && TARGETS="${TARGETS} xfte"
-
- [[ ${CHOST} == *-linux-gnu* ]] \
- && TARGETS="${TARGETS} vfte" \
- || TARGETS="${TARGETS} nfte"
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/fte-gcc34 \
- "${FILESDIR}"/${PN}-new_keyword.patch \
- "${FILESDIR}"/${PN}-slang.patch \
- "${FILESDIR}"/${PN}-interix.patch \
- "${FILESDIR}"/${PN}-cpp14.patch # bug #595048
-
- [[ -e /usr/include/linux/keyboard.h ]] && \
- sed /usr/include/linux/keyboard.h -e '/wait.h/d' > src/hacked_keyboard.h
-
- sed \
- -e "s:<linux/keyboard.h>:\"hacked_keyboard.h\":" \
- -i src/con_linux.cpp || die "sed keyboard"
- sed \
- -e 's:^OPTIMIZE:#&:g' \
- -e '/^LDFLAGS/s:=:+=:g' \
- -e 's:= g++:= $(CXX):g' \
- -i src/fte-unix.mak || die "sed CFLAGS, LDFLAGS, CC"
- ecvs_clean
-}
-
-src_configure() {
- set_targets
- sed \
- -e "s:@targets@:${TARGETS}:" \
- -e '/^XINCDIR =/c\XINCDIR =' \
- -e '/^XLIBDIR =/c\XLIBDIR = -lstdc++' \
- -e '/^SINCDIR =/c\SINCDIR = -I'"${EPREFIX}"'/usr/include/slang' \
- -i src/fte-unix.mak || die "sed targets"
-
- if ! use gpm; then
- sed \
- -e "s:#define USE_GPM://#define USE_GPM:" \
- -i src/con_linux.cpp || die "sed USE_GPM"
- sed \
- -e "s:-lgpm::" \
- -i src/fte-unix.mak || die "sed -lgpm"
- fi
-}
-
-src_compile() {
- local os="-DLINUX" # by now the default in makefile
- [[ ${CHOST} == *-interix* ]] && os=
-
- DEFFLAGS="PREFIX='${EPREFIX}'/usr CONFIGDIR='${EPREFIX}'/usr/share/fte \
- DEFAULT_FTE_CONFIG=../config/main.fte UOS=${os}"
-
- set_targets
- emake CXX=$(tc-getCXX) OPTIMIZE="${CXXFLAGS}" ${DEFFLAGS} TARGETS="${TARGETS}" all
-}
-
-src_install() {
- local files
-
- keepdir /etc/fte
-
- into /usr
-
- set_targets
- files="${TARGETS} cfte"
-
- for i in ${files}; do
- dobin src/$i
- done
-
- dobin "${FILESDIR}"/fte
-
- dodoc CHANGES BUGS HISTORY README TODO
- dohtml doc/*
-
- insinto /usr/share/fte
- doins -r config/*
-}
-
-pkg_postinst() {
- ebegin "Compiling configuration"
- cd "${EPREFIX}"/usr/share/fte || die "missing configuration dir"
- "${EPREFIX}"/usr/bin/cfte main.fte "${EPREFIX}"/etc/fte/system.fterc
- eend $?
-}
next reply other threads:[~2019-02-07 12:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-07 12:15 Mikle Kolyada [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-02-07 12:15 [gentoo-commits] repo/gentoo:master commit in: app-editors/fte/ Mikle Kolyada
2019-01-27 14:09 Sergei Trofimovich
2017-01-29 14:38 Fabian Groffen
2016-10-01 20:11 David Seifert
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=1549541704.e2c0c97c2aeb6e1309dd49bee18e6a8154e66e45.zlogene@gentoo \
--to=zlogene@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