summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/joe/ChangeLog11
-rw-r--r--app-editors/joe/Manifest20
-rw-r--r--app-editors/joe/files/joe-3.5-ftyperc.patch43
-rw-r--r--app-editors/joe/files/joe-3.7-ftyperc.patch43
-rw-r--r--app-editors/joe/joe-3.5-r1.ebuild57
-rw-r--r--app-editors/joe/joe-3.7-r2.ebuild56
6 files changed, 220 insertions, 10 deletions
diff --git a/app-editors/joe/ChangeLog b/app-editors/joe/ChangeLog
index ac05f6bdb6a4..25fc510d98b3 100644
--- a/app-editors/joe/ChangeLog
+++ b/app-editors/joe/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-editors/joe
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/ChangeLog,v 1.77 2012/08/21 14:21:30 flameeyes Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/ChangeLog,v 1.78 2013/04/06 14:40:39 tomk Exp $
+
+*joe-3.7-r2 (06 Apr 2013)
+*joe-3.5-r1 (06 Apr 2013)
+
+ 06 Apr 2013; Tom Knight <tomk@gentoo.org> +files/joe-3.5-ftyperc.patch,
+ +files/joe-3.7-ftyperc.patch, +joe-3.5-r1.ebuild, +joe-3.7-r2.ebuild:
+ Added Gentoo-specific file types to ftyperc
21 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> joe-3.7-r1.ebuild:
QA: restore src_compile after prefix screwup.
diff --git a/app-editors/joe/Manifest b/app-editors/joe/Manifest
index 1548e240891a..e846f5604dbe 100644
--- a/app-editors/joe/Manifest
+++ b/app-editors/joe/Manifest
@@ -1,22 +1,26 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX joe-3.5-ftyperc.patch 658 SHA256 c06b87ffa9353426c67dd295d7115cad4c0e86adaff80ca4d2fae2e18c0416e5 SHA512 c36149ff77ef50ef140df920221995ab96862e57f0b4d0e18beeda3b8ea6021c48b5f0579b053590ea4edb498d6b9b87af53206f78f168e0213e100e411ac645 WHIRLPOOL edad66137b1687fb091d9fdbe60b75c162f2a54a6d97d6257e8fc770d3615dd66874b7eb3a8c03c1aa25f0c66c23b8caeb76482995ba19823a5f6194a8a577ff
+AUX joe-3.7-ftyperc.patch 658 SHA256 901bcf63cecc3f87c17d48f91516de50b1f28549a92156fdc9475d45c33490a3 SHA512 c9eb24a21e5b4f55e445c4842a80b16b6dc8691dd2d548a38adf6a384f92191b49fca81bb40552b3bb51e1ac4c0ca3c34f3309065caff854de57dc000ef59bc3 WHIRLPOOL 2fdde1d8e037c0d978ceb62f20b8874a93b43ec61c939b7f0a1be3d8a164142d6675c393bd33bcc747d5ce5bed23629aa49990d8baceccfc6f3852e58872f6fa
AUX joe-3.7-sanitise-includes.patch 629 SHA256 165ce867c3236b53c9ba87fc94f2b68fbab66037d783892fe764d82df31d3a3a SHA512 610f7e5e1f5ad3394237bae1881ba5b632db86456d43484a1789f50d7f2d44abaf97cc80cdfd4668cac2799815b5f011706e6679585079d423431c9c3a17e196 WHIRLPOOL 769e3c6d3d236901eda7be9f82ebaf8a563573953c6dcc9cb1f552e128d8b8661079056908ba0cefc2970c708259ced05d4105b23e10a08671098eba6daa7fc8
AUX joe-3.7-segfault-fix.patch 562 SHA256 bf38cb1db098a7efa880bc4a962b03f180ae5481f2a7a66a5e97f799241c71c3 SHA512 6aebbe2f8d7eeafb3812c28960a9f8712f9c2363c9ff8a9bacce87cff4c1a9440129607aec43e8b0fffd564cafadea8c14dd7972f2205c2d608d88c42d7a2be7 WHIRLPOOL 1a2d45ae752e64e8aeeb8dca4f31486f7d40a3cbd0c89b14704e229cb63f07b6bc82898c6634d27d65860e5f5eabf6bf2d6d6618618b8b40680fb63f802847f8
DIST joe-3.5.tar.gz 613815 SHA256 a295f1c5e0cb0f0ae0446c419a248517cb04ae1881f982964a7a7595cde9f2e6 SHA512 fa683a3eee0fa56c7830beae5c8ac911d343f6bbbb854acded201a47cdcec2b79ca2188394f784e5d9c0cacda617b554cb53fdc77562a44b24d4a633474f1389 WHIRLPOOL 539bfde812d2eb72f0b7b515b2d2cdfddfb11639a1251e716587184c007c2e162b3b1f3386eb610e880200f73bb66d19a30fc0a16cbb07e282c41bbfb5184b1a
DIST joe-3.7.tar.gz 696036 SHA256 cae456e1ad5a8c1d3c94920a3416c2347277739b260e3494d3bc0f2b9b73106f SHA512 1b6ac65309156c422c73194b82c1f855006bb7a73dec957c3a25f68a51e91e6a2a84df9d5d538f08c8900fe0eb0e2b41ef0936437859d5dae5ffc45005e8a90f WHIRLPOOL 4ee918936eb1a902fd4c6e60061180dfef215a57fb0700a5e078cb9db9717eea30094388a472a14f031d80267a5e0ba290360ed89fe44d89269dfddb4e9a31d1
+EBUILD joe-3.5-r1.ebuild 1556 SHA256 f292a683209c3fcd26bb67a8d7878a606e189d1cb4e4eaa4f74ca261ad77bec6 SHA512 ef0de0cb4ea57c1824ba2f681ca0ad18eec26ddb0d6b307cf8fae870bf4e4749340f68d17a8bfb18fd6bd55ccb63a7da5061cf1aa3d6321398c5faf3feb59065 WHIRLPOOL 303f521876f2a5daa1e8d78a648ffd0bd7eefe1af5a46201c607715606bb4707828ddd548605eddeedf8942242ea135402979c6c0b480beba57093818125aa4a
EBUILD joe-3.5.ebuild 1493 SHA256 4d5cd03407a7a9006ffc81a5a6a96b344aac3cf5e4472da06859a233d782afac SHA512 79c8c2519ffc6cab39564f19a768e42b623dcbfa00426a641d71db14bb45a72a7f6b3cf84e1724b012d8b4643f12ba699f834e5b2586f5a6edaf35933caec29f WHIRLPOOL 1df60a895a2bd4ecb027e2dabf20899be84f1c0c2ffa87b01e2670d399282342e8f60a3824546167ee2282103a02ef1ffaa2a5883ff033e97f0a4bb44a0b84c2
EBUILD joe-3.7-r1.ebuild 1692 SHA256 61109032a27407d52a3c728c8cdaf37928c511340329055b088cfa3075de7086 SHA512 39c4e0340260b53c9294580eb3d46feddfa5ea3a997193158f6bcc9d22ae52bc1b16aa72507d9e3837a9162d0fa6f1f8f4d17ea9a91c8786ee8266224b3fd463 WHIRLPOOL b91ed4c082b7c7c85f933bf8287f5d67b94838ae20ccec99bfaed3cad2d4469e18390c65d304b5aef74ebbba2c377b4722c39b4eba5f41aaf0d7819e72256d05
-MISC ChangeLog 9537 SHA256 5b62617d011d6f2f49c1f67989ca3f88beaab5b06b5fce3e9a25694e34a24a32 SHA512 2eb76ffde48593356432d7dfb9ab395defb3cec0667569a0f73588667e66f824de428e007e899bff3cb30ab9d1b21d755c2611e2297e766762a2a0d5bad800a3 WHIRLPOOL 401053734ba4de48256828bf12434181c24bf20cee227d9fbe4b3a3c7a998691667c001762b91e8d86ac62e0a34b7bede0035dda17d76c2a7ff418cb47c74b86
+EBUILD joe-3.7-r2.ebuild 1740 SHA256 b819d5bc054dc68be9a65a6005bd15adb06654a0209abef98b2e460ca733c846 SHA512 6d4ff727a83d691870a2ce8ec08dbfb80ec6efa1d246b45af0b9acb0f324c8d51d60394b52e86590156900fe174c2fc9ea237da200931844483f9b964f647010 WHIRLPOOL 6c16c76fd2782cbfcb15f03b369baadeaff068b383fbc7415e9f779d01b9fd867fdd4a315117d761d4154e69a37258928cb955ec66a159c4ccec94bae06f1564
+MISC ChangeLog 9778 SHA256 c4d79dd1b461cb9231f2a0c3be5ac177db845a50cef82a03fbc51c8cf301776d SHA512 f4c287b5971bfaf3811dcc751ca4431690aff093472794a1a031f6fd315a5ca996d95acdc5e0726da93a10d4fb23acc7be9a7564f00b5ece86058a5251d58285 WHIRLPOOL d025802c9990361fe540e11f69f30549b731649c222ed594810415bbb809966a1f067686e25ba51323a85b2322e0964bcc083cd76c6a4b71a52226c734345812
MISC metadata.xml 723 SHA256 927bea091fb3d3664abb5b1eba1d70e34b7f9b9dec6f50f995e24bcb0688bea3 SHA512 e67fd1288a6b2543cc82ca1f4579a553c4a6e12642eb862cedceb403cfe125d77225b9d0be48b6ccaa70ce5dd8a276e1a107bbe71f4b6224299b3668a2fe5678 WHIRLPOOL c4647b6b7ec3ab94047f647fba5d64a7a4dec62c8421d073b14407ad84790dc99d597eec99a33be8fa21121fe4bdd2d25d73ad12a34ab310bd0315d82414208d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQM5l6AAoJEBzRPIrUMBNCJ6QH+wSWmRCCchUwbqoOqQbugxQn
-wk5m0sYAz7AU5+Pxs7wDhc5wSVs4vpJ5xLku9zXRgrcdYh+1rzceGbMNit7MXzu+
-k31mtDX/IEzYYAPAO3aYaZq4KyozOJF0c8JuRcF3VPeC4a8abk+d5ALrvpzzFXk5
-B95pkBkTrU8ymQb6y8Hr8N8WEyF2w6I9hMlyDS3T2Pc3FWJ46AZgkC3SnuIWvfyN
-77BFxZdm422gcqEueMpKukrKINxQpQ8j5yJvJjVYxzU75y5cK6ChffgWZDvqv4vU
-LwNVeFsl2oYLjrMLaFB4oRkkRsnj6wAYEcfHrvcdpkvUBE8xie48GPyqk0mYEFg=
-=0+xh
+iQEcBAEBCAAGBQJRYDP1AAoJEMUlhJpTlb9JvF0H/3qcYz+bi0dvHYziwecG08Be
+AHhRlUesyu2btscv0ww6UKOv8HtHCteLbieYPvuJMZTLt9HVDx5Ez9ISFoLqgcjV
+rXqn6IvA5AHEbWWVa0BBR6lB30xamgTbfMOrdbTUHaP2MKX5Q39YTFKio8A6pQfD
+Sc5RGCebHLVLZ8Nryb3sFK7tcr+79FhFh6UCYhMihF/vp6F2Il5zAdh9Zer/RMCw
+rQtUrV67qRv86c0WTrHw5xvo4oQfQqXBznGvvdf67RhBJCOHXTH2zADk1V8lJVfu
+QwsgoHDP5F5tOZMKje6AJQG69OxGL/StQt4pypixrBdsFmInUX7qO1Cjyu7FTd0=
+=49Jm
-----END PGP SIGNATURE-----
diff --git a/app-editors/joe/files/joe-3.5-ftyperc.patch b/app-editors/joe/files/joe-3.5-ftyperc.patch
new file mode 100644
index 000000000000..834b57690440
--- /dev/null
+++ b/app-editors/joe/files/joe-3.5-ftyperc.patch
@@ -0,0 +1,43 @@
+--- rc/ftyperc 2006-07-20 16:35:56.000000000 +0100
++++ rc/ftyperc.gentoo 2013-04-05 15:05:11.000000000 +0100
+@@ -709,3 +709,40 @@
+ *jpicorc.in
+ -syntax joerc
+
++ Gentoo files
++*.ebuild
++-autoindent
++-syntax sh
++-pound_comment
++-text_delimiters do=done:if=elif=else=fi:case=esac
++-smarthome
++-smartbacks
++-indentc 9
++-istep 1
++-tab 4
++
++*.eclass
++-autoindent
++-syntax sh
++-pound_comment
++-text_delimiters do=done:if=elif=else=fi:case=esac
++-smarthome
++-smartbacks
++-indentc 9
++-istep 1
++-tab 4
++
++*/etc/portage/*
++-syntax conf
++
++*/make.conf
++-syntax sh
++
++*/etc/conf.d/*
++-syntax conf
++
++*/etc/env.d/*
++-syntax conf
++
++*/usr/portage/profiles/*
++-syntax conf
diff --git a/app-editors/joe/files/joe-3.7-ftyperc.patch b/app-editors/joe/files/joe-3.7-ftyperc.patch
new file mode 100644
index 000000000000..e570d6b1864f
--- /dev/null
+++ b/app-editors/joe/files/joe-3.7-ftyperc.patch
@@ -0,0 +1,43 @@
+--- rc/ftyperc 2008-10-31 01:42:29.000000000 +0000
++++ rc/ftyperc.gentoo 2013-04-05 15:04:49.000000000 +0100
+@@ -753,3 +753,40 @@
+ *jpicorc.in
+ -syntax joerc
+
++ Gentoo files
++*.ebuild
++-autoindent
++-syntax sh
++-pound_comment
++-text_delimiters do=done:if=elif=else=fi:case=esac
++-smarthome
++-smartbacks
++-indentc 9
++-istep 1
++-tab 4
++
++*.eclass
++-autoindent
++-syntax sh
++-pound_comment
++-text_delimiters do=done:if=elif=else=fi:case=esac
++-smarthome
++-smartbacks
++-indentc 9
++-istep 1
++-tab 4
++
++*/etc/portage/*
++-syntax conf
++
++*/make.conf
++-syntax sh
++
++*/etc/conf.d/*
++-syntax conf
++
++*/etc/env.d/*
++-syntax conf
++
++*/usr/portage/profiles/*
++-syntax conf
diff --git a/app-editors/joe/joe-3.5-r1.ebuild b/app-editors/joe/joe-3.5-r1.ebuild
new file mode 100644
index 000000000000..c81bacabcb77
--- /dev/null
+++ b/app-editors/joe/joe-3.5-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/joe-3.5-r1.ebuild,v 1.1 2013/04/06 14:40:39 tomk Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="A free ASCII-Text Screen Editor for UNIX"
+HOMEPAGE="http://sourceforge.net/projects/joe-editor/"
+SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="xterm"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2"
+RDEPEND="xterm? ( >=x11-terms/xterm-239 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-ftyperc.patch"
+
+ cd "${S}"/rc
+
+ # Enable xterm mouse support in the rc files
+ if use xterm; then
+ for i in *rc*.in; do
+ sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die "sed failed"
+ done
+ fi
+}
+
+src_compile() {
+ # Bug 34609 (joe 2.9.8 editor seg-faults on 'find and replace' when compiled with -Os)
+ replace-flags "-Os" "-O2"
+
+ econf || die
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ dodoc ChangeLog HACKING HINTS LIST NEWS README TODO
+ # remove superfluous documentation, fixes bug #116861
+ rm -rf "${D}"/etc/joe/doc
+}
+
+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-3.7-r2.ebuild b/app-editors/joe/joe-3.7-r2.ebuild
new file mode 100644
index 000000000000..5c060a7a585e
--- /dev/null
+++ b/app-editors/joe/joe-3.7-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/joe-3.7-r2.ebuild,v 1.1 2013/04/06 14:40:39 tomk Exp $
+
+EAPI="3"
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="A free ASCII-Text Screen Editor for UNIX"
+HOMEPAGE="http://sourceforge.net/projects/joe-editor/"
+SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~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 )"
+
+src_prepare() {
+ # Fix segfault, bug 283508
+ epatch "${FILESDIR}/${P}-segfault-fix.patch"
+ epatch "${FILESDIR}/${P}-sanitise-includes.patch"
+ epatch "${FILESDIR}/${P}-ftyperc.patch"
+
+ cd "${S}"/rc
+
+ # Enable xterm mouse support in the rc files
+ if use xterm; then
+ for i in *rc*.in; do
+ sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die "sed failed"
+ done
+ fi
+}
+
+src_configure() {
+ # Bug 34609 (joe 2.9.8 editor seg-faults on 'find and replace' when compiled with -Os)
+ replace-flags "-Os" "-O2"
+
+ econf --docdir="${EPREFIX}"/usr/share/doc/${PF} || die
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ dodoc ChangeLog HACKING HINTS LIST NEWS README TODO
+}
+
+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
+}