summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin V. Arkhipov <voxus@gentoo.org>2006-03-25 23:03:10 +0000
committerKonstantin V. Arkhipov <voxus@gentoo.org>2006-03-25 23:03:10 +0000
commitd4eb71063c6a529a043073103e55a6123bec1a00 (patch)
tree2337802e7690fb8b2279e9322bf1e5fa904a2e7b /app-editors/fte
parentRemoved old CVS ebuild, fixed and bumped (diff)
downloadgentoo-2-d4eb71063c6a529a043073103e55a6123bec1a00.tar.gz
gentoo-2-d4eb71063c6a529a043073103e55a6123bec1a00.tar.bz2
gentoo-2-d4eb71063c6a529a043073103e55a6123bec1a00.zip
* closing bug #126656
Diffstat (limited to 'app-editors/fte')
-rw-r--r--app-editors/fte/ChangeLog7
-rw-r--r--app-editors/fte/Manifest38
-rw-r--r--app-editors/fte/files/digest-fte-200511156
-rw-r--r--app-editors/fte/fte-20051115.ebuild114
4 files changed, 153 insertions, 12 deletions
diff --git a/app-editors/fte/ChangeLog b/app-editors/fte/ChangeLog
index 358ea4509a5b..7df3349b8d55 100644
--- a/app-editors/fte/ChangeLog
+++ b/app-editors/fte/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/fte
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/fte/ChangeLog,v 1.31 2006/01/18 13:02:21 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/fte/ChangeLog,v 1.32 2006/03/25 23:03:10 voxus Exp $
+
+* fte-20051115 (26 Mar 2006)
+
+ 26 Mar 2006; Konstantin Arkhipov <voxus@gentoo.org> +fte-20051115.ebuild:
+ Version bump, also closing bug #125509.
18 Jan 2006; Hanno Boeck <hanno@gentoo.org> fte-20050108-r3.ebuild:
Modular X deps.
diff --git a/app-editors/fte/Manifest b/app-editors/fte/Manifest
index a59d7bee1227..d0e31a0e5728 100644
--- a/app-editors/fte/Manifest
+++ b/app-editors/fte/Manifest
@@ -1,20 +1,36 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 cd9afc360d2267e9ce40d80af1e0ca90 ChangeLog 5374
+MD5 ef070c549baab1a41be9812c9bbd7ab3 ChangeLog 5523
+RMD160 0c5dff8caa42a2c6490ff905e72474f6f02b81f7 ChangeLog 5523
+SHA256 9c8d842a7b2c3fa8b5a3e70465b2e7f348d75d3679ad0324604d9392243ae733 ChangeLog 5523
MD5 333d7c07d793fca986bf2558e5105607 files/configpath.patch 572
+RMD160 bb7a6c4770c3490f44587f2cf0c9060154941615 files/configpath.patch 572
+SHA256 d4f3e90e94945d1a6d37a552e26fae98494b09870ca3aa3667471a56f5d6ddaf files/configpath.patch 572
MD5 23d2b8a8749e3a4a9f9ab911641d50e8 files/digest-fte-20020324-r2 133
+RMD160 4369232c31af6d4073214dc413a187fd51ead1df files/digest-fte-20020324-r2 133
+SHA256 b203ec1497f86e29c6a1a81676bcf3142a7ade2b49acfad8be1ae4a95b73684f files/digest-fte-20020324-r2 133
MD5 5890d034c66b5003475090a5312cfbe8 files/digest-fte-20050108-r3 133
+RMD160 51cf730ff2e1bf8b259ce31a1934d0ecebff7739 files/digest-fte-20050108-r3 133
+SHA256 03b9770d97d192422ec0582d79644df6529528499d0fb90b74ca83350d02d21e files/digest-fte-20050108-r3 133
+MD5 f14c6dbcee53d658df0453849b90a442 files/digest-fte-20051115 491
+RMD160 94b70058ed44a3ff498b66d3f7d03e39e0831ba7 files/digest-fte-20051115 491
+SHA256 4f3b30677965c93b8c14ccc65e52a91bc998cae6c0fc350da416b9ebe3589ec3 files/digest-fte-20051115 491
MD5 7c996af2e2e68f96a748f4269c76f710 files/fte 604
+RMD160 7d4b76fadc215c8e8f1c410f4212f5ebcb0dbfff files/fte 604
+SHA256 ab2f22eb5fe1d1df82c0f976a457979f66b0c4f605fb69baba46d50204021f0c files/fte 604
MD5 be13218f7abfe31d83940c80adcbc59c files/fte-gcc34 1092
+RMD160 d78b030cde6da6beeef6fe225468e2b388b099cc files/fte-gcc34 1092
+SHA256 c3f452a0b72182c50a2f3057a10d749d8a304890b0844ad9ee572cf4ebf83811 files/fte-gcc34 1092
MD5 6247d87b3178cdf9fbcb8c9dbca1549a files/fte-new_keyword.patch 340
+RMD160 05ab1d867f830814255834bb35226a0c1712c485 files/fte-new_keyword.patch 340
+SHA256 c30c5c216ee481a6e1fe964d12998b5b36e288d30883f9ced88fca60ab7253b8 files/fte-new_keyword.patch 340
MD5 0960b72b6494de01232b0fd9da73de46 fte-20020324-r2.ebuild 1738
+RMD160 b49809e62d401d2f352276f46130a61b69681b87 fte-20020324-r2.ebuild 1738
+SHA256 c48560711c9d4d0092fff2966eb34aebe74f3bdaad5f0967e465df5d90733d89 fte-20020324-r2.ebuild 1738
MD5 16eebe436d582d97c9a319ad5af71602 fte-20050108-r3.ebuild 2142
+RMD160 a1d393b2bd4a1b512d523da5230ccb9ecf0f6e79 fte-20050108-r3.ebuild 2142
+SHA256 bc654a99f5a41b0e87363ba6c5c60825d9bdec7dac83953b204610c3a5af1d11 fte-20050108-r3.ebuild 2142
+MD5 1dbbe2969e4e26cd9ab1cf0d4b1c0ec1 fte-20051115.ebuild 2135
+RMD160 5b9874dec937f6b538d3b603982860587b56e6e4 fte-20051115.ebuild 2135
+SHA256 695ee5593a62479655ca6fd27177661feaa05bb30f9317d3ac09172fd109a2a0 fte-20051115.ebuild 2135
MD5 b73a542414b6cbad1ebdccc7279b7828 metadata.xml 318
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDzjyyr2QksT29OyARAmfFAKCkLt4PSU8rAzRKSKLgywHACpIR4gCfeafz
-ovSXjkRFNVKNZbJcnlJhikM=
-=GzhE
------END PGP SIGNATURE-----
+RMD160 83432407c28311db85c9bf67a998055a26b19c19 metadata.xml 318
+SHA256 73b3834f86a9c67f4632ce2efb36c42243ee70738f5cec543c8649ab47242f0c metadata.xml 318
diff --git a/app-editors/fte/files/digest-fte-20051115 b/app-editors/fte/files/digest-fte-20051115
new file mode 100644
index 000000000000..daf8ff80cf56
--- /dev/null
+++ b/app-editors/fte/files/digest-fte-20051115
@@ -0,0 +1,6 @@
+MD5 fcbee61dfde33ba9aed59863c34b64c0 fte-20051115-common.zip 187849
+RMD160 07b0406abd9dfafcce83b39d175bac54ad6bc21d fte-20051115-common.zip 187849
+SHA256 794031dd1d06156259d21ddcb3dec3196001818ea7116e9786b54314484dabf4 fte-20051115-common.zip 187849
+MD5 01ca652803cea52a8321067adf159053 fte-20051115-src.zip 549216
+RMD160 0db9941c1dfeb48a651b004590ef0cac9bfdf4b7 fte-20051115-src.zip 549216
+SHA256 bb4135e5c39223fa346d20613052e69090b14ed46855d5134bf2dbc4ba40d962 fte-20051115-src.zip 549216
diff --git a/app-editors/fte/fte-20051115.ebuild b/app-editors/fte/fte-20051115.ebuild
new file mode 100644
index 000000000000..5351f7267f37
--- /dev/null
+++ b/app-editors/fte/fte-20051115.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/fte/fte-20051115.ebuild,v 1.1 2006/03/25 23:03:10 voxus Exp $
+
+inherit eutils
+
+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"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="gpm slang X"
+S=${WORKDIR}/${PN}
+
+RDEPEND=">=sys-libs/ncurses-5.2
+ X? (
+ || (
+ (
+ x11-libs/libXdmcp
+ x11-libs/libXau
+ x11-libs/libX11
+ )
+ virtual/x11
+ )
+ )
+ gpm? ( >=sys-libs/gpm-1.20 )"
+DEPEND="${RDEPEND}
+ slang? ( sys-libs/slang )
+ app-arch/unzip"
+
+set_targets() {
+ export TARGETS=""
+ use slang && TARGETS="$TARGETS sfte"
+ use X && TARGETS="$TARGETS xfte"
+
+ TARGETS="$TARGETS vfte"
+}
+
+src_unpack() {
+ unpack ${P}-src.zip
+ unpack ${P}-common.zip
+
+ cd ${S}
+
+ epatch ${FILESDIR}/fte-gcc34
+ epatch ${FILESDIR}/${PN}-new_keyword.patch
+
+ set_targets
+ sed \
+ -e "s:@targets@:${TARGETS}:" \
+ -e "s:@cflags@:${CFLAGS}:" \
+ -i src/fte-unix.mak
+
+ if ! use gpm; then
+ sed \
+ -e "s:#define USE_GPM://#define USE_GPM:" \
+ -i src/con_linux.cpp
+ sed \
+ -e "s:-lgpm::" \
+ -i src/fte-unix.mak
+ fi
+
+ cat /usr/include/linux/keyboard.h \
+ | grep -v "wait.h" \
+ > src/hacked_keyboard.h
+
+ sed \
+ -e "s:<linux/keyboard.h>:\"hacked_keyboard.h\":" \
+ -i src/con_linux.cpp
+}
+
+src_compile() {
+ DEFFLAGS="PREFIX=/usr CONFIGDIR=/usr/share/fte \
+ DEFAULT_FTE_CONFIG=../config/main.fte OPTIMIZE="
+
+ set_targets
+ emake $DEFFLAGS TARGETS="$TARGETS" all || die
+}
+
+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 Artistic CHANGES BUGS HISTORY README TODO
+ dohtml doc/*
+
+ dodir usr/share/fte
+ insinto /usr/share/fte
+ doins -r config/*
+
+ rm -rf ${D}/usr/share/fte/CVS
+}
+
+pkg_postinst() {
+ ebegin "Compiling configuration"
+ cd /usr/share/fte || die "missing configuration dir"
+ /usr/bin/cfte main.fte /etc/fte/system.fterc
+ eend $?
+}