diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-03-13 22:30:22 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-03-13 22:30:22 +0000 |
commit | c7c349daeab15d72c9882c52e95aeb8451ad5cfc (patch) | |
tree | 455852cb1d84d7e8dec817d85e761841859b9bed /app-editors/fte | |
parent | Fixed minor repoman warning. (diff) | |
download | historical-c7c349daeab15d72c9882c52e95aeb8451ad5cfc.tar.gz historical-c7c349daeab15d72c9882c52e95aeb8451ad5cfc.tar.bz2 historical-c7c349daeab15d72c9882c52e95aeb8451ad5cfc.zip |
Non-maintainer commit, version bump to 20110708.
Package-Manager: portage-2.1.11.55/cvs/Linux x86_64
Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'app-editors/fte')
-rw-r--r-- | app-editors/fte/ChangeLog | 9 | ||||
-rw-r--r-- | app-editors/fte/Manifest | 19 | ||||
-rw-r--r-- | app-editors/fte/fte-20110708.ebuild | 123 |
3 files changed, 141 insertions, 10 deletions
diff --git a/app-editors/fte/ChangeLog b/app-editors/fte/ChangeLog index 153b773fecb5..ea5e1e95ac89 100644 --- a/app-editors/fte/ChangeLog +++ b/app-editors/fte/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-editors/fte -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/fte/ChangeLog,v 1.56 2012/11/21 13:33:03 kensington Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/fte/ChangeLog,v 1.57 2013/03/13 22:30:18 tomwij Exp $ + +*fte-20110708 (13 Mar 2013) + + 13 Mar 2013; Tom Wijsman <TomWij@gentoo.org> +fte-20110708.ebuild: + Non-maintainer commit, version bump to 20110708. 21 Nov 2012; Michael Palimaka <kensington@gentoo.org> -fte-20051115-r1.ebuild: Remove old. diff --git a/app-editors/fte/Manifest b/app-editors/fte/Manifest index 178142f6372f..897681082d2d 100644 --- a/app-editors/fte/Manifest +++ b/app-editors/fte/Manifest @@ -8,17 +8,20 @@ AUX fte-new_keyword.patch 340 SHA256 c30c5c216ee481a6e1fe964d12998b5b36e288d3088 AUX fte-slang.patch 3567 SHA256 00b623d6c05f03243cbc7d6c3fa90f3b083f87b613cfa8110f4e1eaef9695a19 SHA512 3f9504d9b4d6de6e012f0aedf762dce51d1fbc79345f2f45f5303bc81194441396cbd7eadc9457e07814cb6d33b6db6ad1186de026b5b474f9419071e4b75d10 WHIRLPOOL 2cc082f80a33ae22a3a19a0eda86988e70d9f37480c7210f4b5902d8361b114789a692446a6ce092f1809ac9f2efaca34b362b5907ac9f056e83b3a7f6edcd5c DIST fte-20051115-common.zip 187849 SHA256 794031dd1d06156259d21ddcb3dec3196001818ea7116e9786b54314484dabf4 SHA512 18e1657a6fe1b48449dc97a357f00bfeb6626450520b48647e2751cc946d9d1bfc6d77d4b0fbdff0a980121502da870f739846b1db9569ff0b305530ee717323 WHIRLPOOL 5d515bdac01d5730a961b153df202e9ed6535ef536d1163166f9934dea002bb7fe7a6ac4b48d552e7c0ac1b1c96b3a44b6e0d4a7f32c25948f94691a910eb11b DIST fte-20051115-src.zip 549216 SHA256 bb4135e5c39223fa346d20613052e69090b14ed46855d5134bf2dbc4ba40d962 SHA512 320c2c4f27041ff5e7417288e5acc8c776013da4aa7cfc187e6207086851642a7ed961383ca19f6ae6c1717a59453c6a9ca40a1c7eb77dae6e5b9184cd7c346a WHIRLPOOL e8c3e84b7986a7900ea81dfc2b5285edb1f8d413769b400898a3b08083a7b954502d8e57f8a0d74d3d487ad7ea93227e334a89a6e178112cf1dfcf72c25357e4 +DIST fte-20110708-common.zip 200007 SHA256 58411578b31958765f42d2bf29b7aedd9f916955c2c19c96909a1c03e0246af7 SHA512 0bb59a5b6b4a5ef6c1234dadd8922cd50a13ad1f0c06d6046b74a95592ad55f720b43bbc78a42cab63dfc68c5e073d44d5179bd6ed72f346563f43f3c5c146f1 WHIRLPOOL 9d3ed7205b8daf8c4959b8683e979d47a3c842471f312fdcf03a6c6dc36f66bd7dede6a3bb9d4e91f7a91f554165b7360c755857d685dfe55478ae18672cbe55 +DIST fte-20110708-src.zip 504199 SHA256 d6311c542d3f0f2890a54a661c3b67228e27b894b4164e9faf29f014f254499e SHA512 2d59fadcdd988ee85b87425c343341e1b768a7e9ef838c5f8a1f22c4adc5bf2cc37d547f36354ca1740bce07b33d5ae93d14e24001b9dbd3b1b267986564a089 WHIRLPOOL 8a2c7a9053780092fe690b19dfb419bdb66c0617ac49c1fec312ce75fd480bbf691d24da34eeeb38ee267af0eafbc5fd6c6caf06c25ee809b917caa32a9dce51 EBUILD fte-20051115-r3.ebuild 2901 SHA256 cd0ce39997367a23c5e262703e3952c08da885465c8d1f93e7bd568237fc7fac SHA512 bc575ef73d0ef012c05943ba78ad775a5a851e67a502c49cf3254e0d573772d91cd7babacf51d5d055342a05cf354442dc9be716455cd5bb6b4266d063eb2df0 WHIRLPOOL 3d15d7dbddbb102cda044b18520aeb1727039d0519068d8cc8f860a3c41df7691569eb9724ef0480728a88581a8172e7673a25411a77c3865f5e034d736ef84e -MISC ChangeLog 8704 SHA256 d4324e58533a488187000cfa4b0f899a0188637bdb115d3671b67b932599bffb SHA512 ad939d8567c01c33bc795e90e429d73a7718d65f42702f3ae1e6d645e2cfe6ca234b173a831a7e926405ee0618123bdfc37a259ed2143b3b875372b20d563841 WHIRLPOOL 7588de63cc70818201e8e572a2ab6fa5ed7f09178881c440be5887ee8047b7f2acf9d04e8f3d26399ac75c655130a5c910d7aafa80ba2e83b29c7dbf5e2d35da +EBUILD fte-20110708.ebuild 2992 SHA256 d8cb160ec4bf4b9eaf09796786d0838577446bf7bbd74519aec93edc9b5e4449 SHA512 5b29b0aa18aacd73f81dbe72ed5ff71a4029e031c390a5ed0b74b329772540def83f12a10e7738e8aa63f2264f9fcc3caf36afa3f0d7e4a005c7e28cb341cc5d WHIRLPOOL ef0020b7c34c45d2a2a98cff2936e5b2ea05a2e817a2496428e40d58eb63e1de82b58185687ec45b45133b2e9748542acfbbbc134d0b1b5c82982285367c95cb +MISC ChangeLog 8850 SHA256 946ad04e0740c1aca8aa10d3900d34dffb5c093ac695f01a753ca90faf915e17 SHA512 13287363c170006e26012c463ca379ea6ad71332eb80c3db09e27afefcd3ecc5789277d64f2af003a28b44b737aad563c201ef73a51cd1478f1f74d28d89f4d5 WHIRLPOOL a18e9bc040e2ecae8703067480bef08b775c4b1dd1ee2c180eab6eb1ce2073ee54866ad224f6f5636da5f17a30f087c175afbf9f7202f9a0262b9189b253227f MISC metadata.xml 278 SHA256 bb1b426900febb4f6e773e0bd5b5d8b501fba655c9345f2e22f8667b8e5db76e SHA512 79045ee486e7e381698c63be0e662a9110e8c889d6513710be769a1daed18cad7eedea0c4732c4a7c6b79a6d2aa65556b794c3c5cf234ac10d9f138fce57b841 WHIRLPOOL a08e4adb0426a94c6ab7097f0082f7d81fe5be716f9f6d3bcb5473942989a38fcf5b42ea338ba066a39dc1e9085b97de9155094b3be7ecdb2b7fe64990d8f2a3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJQrNeoAAoJEMbwO6tnXQ0sYVgIANKSxIXXZc9vqQPwMbW0ymiQ -MbpFFTZ8nfkbjUsGpVGC7eWQLAt0SoGltjAQ41GGPuH8f6auTZg+dt6DID3+MjYj -bGHtb3c14fqTLxq8wJhoE4guefz6Bd6WTpkNbcB6t1fkUaW+j3xv+6p0BR8rEkJt -8ZzyYOHv6pVJOE43+TlITVrnCkoOjitXiBCsfBsbfFQxAxEVxG2QIt0spUXHDkVM -mWjzfoWqP6OdUsoIkVLaymq3p4Noj0LcOM5UAQXcSlGHYUFaubuDmWVZrUGzxMb7 -vpdFAIC2S77iF4o9CRn22TVVR7Yft4fv68gzF2Asg2cSaQpGwYlz6FQvev6LXKk= -=h14d +iQEcBAEBCAAGBQJRQP3tAAoJEJWyH81tNOV9ubsH/24Hw29cuU+VEtR3EN4MNgVC +KTRqXwbJvz+JkLGSWAavqHn5pRjxfVZvIUVrQA+PSRzaaOE6uLVuveSPoTT5lUNW +a/LsVIrCysEahQ9QXkPhRwFuS2E+CHCeQHfBKUUTyQF50GfIgfIGB8jvp0nj58/e +8H3nLVRWCFSnNBf63sZkL5FAqRuWDXo+vcCCfBiTdfKtJ2efH5GvoqRZoB0JO1oE +tEwca7r/RUAuLhJg50vsMUObR50C5OTuAKB9iOazEvSYhq8dHQkaxvZbri+Rrkfa +FOnhJWvfmb3a8HMnj4g+PXRKNMAlS2vLwIllW7dT71y4Kfao0EWIpiMWv+86jbs= +=IfqI -----END PGP SIGNATURE----- diff --git a/app-editors/fte/fte-20110708.ebuild b/app-editors/fte/fte-20110708.ebuild new file mode 100644 index 000000000000..853fe3e2993a --- /dev/null +++ b/app-editors/fte/fte-20110708.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/fte/fte-20110708.ebuild,v 1.1 2013/03/13 22:30:18 tomwij Exp $ + +EAPI="5" + +inherit eutils toolchain-funcs + +DESCRIPTION="Lightweight text-mode editor" +HOMEPAGE="http://${PN}.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip + mirror://sourceforge/${PN}/${P}-common.zip" + +LICENSE="|| ( GPL-2 Artistic )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc -sparc ~x86 ~x86-interix ~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} s${PN}" + use X && TARGETS="${TARGETS} x${PN}" + + [[ ${CHOST} == *-linux-gnu* ]] \ + && TARGETS="${TARGETS} v${PN}" \ + || TARGETS="${TARGETS} n${PN}" +} + +src_prepare() { + # Do not apply anymore, posibly deprecated. TODO: Check and clean up. + # epatch "${FILESDIR}"/${PN}-gcc34 + # epatch "${FILESDIR}"/${PN}-new_keyword.patch + # epatch "${FILESDIR}"/${PN}-slang.patch + # epatch "${FILESDIR}"/${PN}-interix.patch + + [[ -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/${PN}-unix.mak || die "sed CFLAGS, LDFLAGS, CC" +} + +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/${PN}-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/${PN} \ + DEFAULT_FTE_CONFIG=../config/main.${PN} UOS=${os}" + + set_targets + emake CXX=$(tc-getCXX) OPTIMIZE="${CXXFLAGS}" ${DEFFLAGS} TARGETS="${TARGETS}" all +} + +src_install() { + local files + + keepdir /etc/${PN} + + into /usr + + set_targets + files="${TARGETS} c${PN}" + + for i in ${files}; do + dobin src/$i + done + + dobin "${FILESDIR}"/${PN} + + dodoc BUGS README TODO + dohtml doc/* + + insinto /usr/share/${PN} + doins -r config/* + + rm -rf "${ED}"/usr/share/${PN}/CVS +} + +pkg_postinst() { + ebegin "Compiling configuration" + cd "${EPREFIX}"/usr/share/${PN} || die "missing configuration dir" + "${EPREFIX}"/usr/bin/c${PN} main.${PN} "${EPREFIX}"/etc/${PN}/system.${PN}rc + eend $? +} |