summaryrefslogtreecommitdiff
path: root/app-editors/joe
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-editors/joe
reinit the tree, so we can have metadata
Diffstat (limited to 'app-editors/joe')
-rw-r--r--app-editors/joe/Manifest10
-rw-r--r--app-editors/joe/files/joe-4.3-tinfo.patch30
-rw-r--r--app-editors/joe/joe-4.2.ebuild38
-rw-r--r--app-editors/joe/joe-4.3-r1.ebuild46
-rw-r--r--app-editors/joe/joe-4.4.ebuild46
-rw-r--r--app-editors/joe/metadata.xml25
6 files changed, 195 insertions, 0 deletions
diff --git a/app-editors/joe/Manifest b/app-editors/joe/Manifest
new file mode 100644
index 000000000000..33bc70762310
--- /dev/null
+++ b/app-editors/joe/Manifest
@@ -0,0 +1,10 @@
+AUX joe-4.3-tinfo.patch 1063 SHA256 dcbd9a65875b45a0929c2a87f29d639ea40db65588584a73c910e738a902ea09 SHA512 93db2de58d2a03412cae7dc2b2769103f3ad275b68e22d6e3379871155656c8d4d4f29fbf014c6c8eb5b70ec234189af52a6b6b6826bfde46d6ee93b92f55bcd WHIRLPOOL c01630b1e9725ed5e9631098c538fb897a1d4b8cf00322467dfcb0536cf2b32272d8c7a6d08649644126128dd72c935f7e994664b0d0d028296a25f50837ec39
+DIST joe-4.2.tar.gz 1341048 SHA256 bc5da64bc5683ab7b2962a33214b3537ea17ff6528a3c60ba170359e31e86974 SHA512 7c34f4467d89330ac195cfa76481d9ede4ee3764d0b1b24d091d1e6325bff451d2a9bc9f86a73404c9909587bcbe3e0c14511b739ec121edb7595ea1fcba028f WHIRLPOOL 9dd996e266d96894d8e8b17ab9cadd5eef02568b4778245c9af82f745b288fc1dbb7ee401da2a148a6f5afaf627b91638fad25adafb8c5671576fa38ff31aedc
+DIST joe-4.3.tar.gz 1270523 SHA256 985d6a8f943a06e64165996c24d7fecaeae8c59efb52998a49b3fb4b8a3e26e1 SHA512 a711ce129518863856b8f581ac7acdd7661f5e571cb77c5411317e0db0344c9ba44e73ec2ca9a307e639170a7914d53352eebcd00a33c9270809551f12376e69 WHIRLPOOL a09bb8170942c470b7e9d1d43fbba003d7fa3c25f47ee8a6902a249b7cc253d1b7d7a1431b447b0729c51102cb49e241625c7d30bb7b11fc1d30a5e6c9c11cd1
+DIST joe-4.4.tar.gz 1350062 SHA256 a5704828bbca29acb9e200414fef522c66cdf9ce28150f402d6767da43460979 SHA512 ef31443dda30569c5193cd1907e06f1caba349f746dedf3611b5527080e49a4026001d3d06629f3c9c712ae9265866efbdbba6f51d110c0e6ee95f39f0e3059d WHIRLPOOL a1d1cb7b519b62b4380f5b281ea49f06556fb670f4e77b63af2e8f0265794ca907502d76fcf756620111f115c260c3a72bb54d1dc52eb3b9a04f3392aad5ba7b
+EBUILD joe-4.2.ebuild 1170 SHA256 4814b782714a2ee0e906a702a37b3f3ce1ab31dc2661d9a512a3297ea1a8c5da SHA512 e0b51d75d14eb5bc34fd8628ce36f77cb4154965fe8189fccbb2d5d4a4dc746f6ccee09b13a50347a532619b06f13ec254c0c1fd37caaefa9886ca1e6e8504c9 WHIRLPOOL a34b668acbfc527bc154ad0fe98faaa20f10330734ed736047182f4bd044a8b8cc9728bc3febc118e74efc57a473575599d69155b7f6e1b16151a47fc2f532f2
+EBUILD joe-4.3-r1.ebuild 1303 SHA256 59e58d759bbbd005df71611c32719564422d5546e2c404a8fce0baa768cfe90f SHA512 a93ff4ceea8a3fabca0b5c8ffbe0a610ccb446e6ab77ac161c4b6b4a6d63b6ba72fbc7328e0f3b6973ed8808909de0751499d696a2b2e76c705852086ef73d5a WHIRLPOOL 39432042be62563bdf2d74165d0b75d34f7d6878654a39b62c23988a630d2c4bb13d8a783096af72a4a3c73958cf96b73c0ceb848bde23ea72c9e11031848346
+EBUILD joe-4.4.ebuild 1310 SHA256 d487a80cc43470c5027a364b634752cc3ca24ea4f2428ecb9bbc5be482f0c085 SHA512 a7c1af5371c00715107834b52d2d8ba368fccdfe9f01b8d0b7c0a1423fb5c17e7808a10c5e7999f1fb6b2f0f86c3f4ede6b9803416cd5a592d0cc30a476ac140 WHIRLPOOL ddc5f26b78ee0d1647268061553c0eb6d5ffaa01d8b3e5c1478be7e3fdca0d845185de2c62f775833f7bd2dfcf6c017bc7e9843a38ffe3bcc749fefe8bb6b36d
+MISC ChangeLog 5460 SHA256 8b154124514ec58cecec4f83261d59a6d69bed7d32c112049a1eb27c74e75c8c SHA512 c62d6feaf242d630f4c38d5fb2d0bc1438bcf9aa7cd23b09fac29756ee623c6dc5861171fbaf9b23a28896425ebb5ab178eedbededbb3ca32da378fbd989a2fd WHIRLPOOL 584b6764b7275b1f393c72816e760eef1771bcafb45c70ebb94de5c70849f53199f377b19e00c99597236b8e28996f7162843a88d935eea8939fe734386a1e97
+MISC ChangeLog-2015 10842 SHA256 be0f3879bc83f8e2fb6ca9c7e0827d74827929b18d8c21a4c4fd1b40559b806f SHA512 17e8efc2b71a219810237e08f687ffaf810698685180fd38a3e7a4667ca90d97cd5000a346a1ef350a4e4d1034438437af3e644133eca45c4edc90ba39d28a28 WHIRLPOOL 3de0ed2a94ba65462fa2ead3acd6e5735ef18b01c60cf118b38cd36a0e6b552d6d18a97d67fb77df085f3fcc625c5048aa703c812e0b71a319ea8e38f1159705
+MISC metadata.xml 914 SHA256 270873d328134a450720a9f8001f441e02cbda456ca88b3d5917e865fe7ef96c SHA512 12324115a08719acf2377848a9cb930b4ad69764624a1cf093e4ef3e124fef85e059476a0f1b353314a03d97089fe0c518adf47f2da102f7492a1e612c420b15 WHIRLPOOL 0db68c8ca2f849e6020b8ed82c70f6d6e1f8bde0570dbd78f5faea25820e28d3c995f23dd04bce2ccc48e93e6393987b2d180ed3269af7e36c1edc6046c7eed5
diff --git a/app-editors/joe/files/joe-4.3-tinfo.patch b/app-editors/joe/files/joe-4.3-tinfo.patch
new file mode 100644
index 000000000000..fd259e183fd0
--- /dev/null
+++ b/app-editors/joe/files/joe-4.3-tinfo.patch
@@ -0,0 +1,30 @@
+# HG changeset patch
+# User Lars Wendler <polynomial-c@gentoo.org>
+# Date 1473084371 -7200
+# Mon Sep 05 16:06:11 2016 +0200
+# Node ID ae8afbceeed4e446a63ad3111291a98d1390ade2
+# Parent 57c0a14aedcb8eef82d5828721b55aac02847ee7
+configure.ac: search for ncurses' tinfo library if available
+
+ncurses can be built to split out the lowlevel terminfo library
+from ncurses library. In this case there's a libtinfo.so file
+alongside the usual libncurses*.so files.
+This patch adds tinfo to AC_SEARCH_LIBS when ncurses support
+is enabled. Without this patch configure silently fails to find
+tgetflag and thus does not link to ncurses at all.
+I've tested this change on both, ncurses with separate tinfo lib
+and ncurses without separate tinfo lib and in both cases joe
+successfully links against ncurses.
+
+diff --git a/configure.ac b/configure.ac
+--- a/configure.ac
++++ b/configure.ac
+@@ -39,7 +39,7 @@
+ curses=$enableval, curses=yes)
+
+ if test "$curses" = "yes"; then
+- search_libs="ncurses curses"
++ search_libs="tinfo ncurses curses"
+ fi
+
+ AC_ARG_ENABLE(termcap,
diff --git a/app-editors/joe/joe-4.2.ebuild b/app-editors/joe/joe-4.2.ebuild
new file mode 100644
index 000000000000..750368519c35
--- /dev/null
+++ b/app-editors/joe/joe-4.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A free ASCII-Text Screen Editor for UNIX"
+HOMEPAGE="https://sourceforge.net/projects/joe-editor/"
+SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz"
+
+LICENSE="GPL-1+ CC-BY-3.0"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
+IUSE="xterm"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2"
+RDEPEND="xterm? ( >=x11-terms/xterm-239 )"
+
+DOCS=( README.md NEWS.md docs/hacking.md docs/man.md )
+
+src_prepare() {
+ default
+ # Enable xterm mouse support in the rc files
+ if use xterm; then
+ cd "${S}"/rc
+ for i in *rc*.in; do
+ sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die "sed failed"
+ done
+ fi
+}
+
+pkg_postinst() {
+ if use xterm; then
+ elog "To enable full xterm clipboard you need to set the allowWindowOps"
+ elog "resources to true. This is usually found in /etc/X11/app-defaults/XTerm"
+ elog "This is false by default due to potential security problems on some"
+ elog "architectures (see bug #91453)."
+ fi
+}
diff --git a/app-editors/joe/joe-4.3-r1.ebuild b/app-editors/joe/joe-4.3-r1.ebuild
new file mode 100644
index 000000000000..89f4fbd78d42
--- /dev/null
+++ b/app-editors/joe/joe-4.3-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A free ASCII-Text Screen Editor for UNIX"
+HOMEPAGE="https://sourceforge.net/projects/joe-editor/"
+SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz"
+
+LICENSE="GPL-1+ CC-BY-3.0"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
+IUSE="xterm"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2:0="
+RDEPEND="${DEPEND}
+ xterm? ( >=x11-terms/xterm-239 )"
+
+DOCS=( README.md NEWS.md docs/hacking.md docs/man.md )
+
+PATCHES=( "${FILESDIR}/${PN}-4.3-tinfo.patch" )
+
+src_prepare() {
+ default
+ # Enable xterm mouse support in the rc files
+ if use xterm; then
+ pushd "${S}"/rc &>/dev/null || die
+ local i
+ for i in *rc*.in; do
+ sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die
+ done
+ popd &>/dev/null
+ fi
+ eautoreconf
+}
+
+pkg_postinst() {
+ if use xterm; then
+ elog "To enable full xterm clipboard you need to set the allowWindowOps"
+ elog "resources to true. This is usually found in /etc/X11/app-defaults/XTerm"
+ elog "This is false by default due to potential security problems on some"
+ elog "architectures (see bug #91453)."
+ fi
+}
diff --git a/app-editors/joe/joe-4.4.ebuild b/app-editors/joe/joe-4.4.ebuild
new file mode 100644
index 000000000000..9efa39321ee1
--- /dev/null
+++ b/app-editors/joe/joe-4.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A free ASCII-Text Screen Editor for UNIX"
+HOMEPAGE="https://sourceforge.net/projects/joe-editor/"
+SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz"
+
+LICENSE="GPL-1+ CC-BY-3.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
+IUSE="xterm"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2:0="
+RDEPEND="${DEPEND}
+ xterm? ( >=x11-terms/xterm-239 )"
+
+DOCS=( README.md NEWS.md docs/hacking.md docs/man.md )
+
+PATCHES=( "${FILESDIR}/${PN}-4.3-tinfo.patch" )
+
+src_prepare() {
+ default
+ # Enable xterm mouse support in the rc files
+ if use xterm; then
+ pushd "${S}"/rc &>/dev/null || die
+ local i
+ for i in *rc*.in; do
+ sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die
+ done
+ popd &>/dev/null
+ fi
+ eautoreconf
+}
+
+pkg_postinst() {
+ if use xterm; then
+ elog "To enable full xterm clipboard you need to set the allowWindowOps"
+ elog "resources to true. This is usually found in /etc/X11/app-defaults/XTerm"
+ elog "This is false by default due to potential security problems on some"
+ elog "architectures (see bug #91453)."
+ fi
+}
diff --git a/app-editors/joe/metadata.xml b/app-editors/joe/metadata.xml
new file mode 100644
index 000000000000..9fd1399650ee
--- /dev/null
+++ b/app-editors/joe/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>amynka@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>emacs@gentoo.org</email>
+ <name>Gentoo Emacs project</name>
+</maintainer>
+<longdescription>
+ JOE (Joe's own editor) has the feel of most IBM PC text editors: The
+ key-sequences are reminiscent of WordStar and Turbo-C. JOE is much more
+ powerful than those editors, however. JOE has all of the features a UNIX
+ user should expect: full use of termcap/terminfo, excellent screen update
+ optimizations, simple installation, and all of the UNIX-integration features
+ of VI.
+</longdescription>
+<use>
+ <flag name="xterm">Enable full xterm clipboard support</flag>
+</use>
+<upstream>
+ <remote-id type="sourceforge">joe-editor</remote-id>
+</upstream>
+</pkgmetadata>