1 |
commit: 0e666ef5eba2a00e83ee193cc07850a11583fd3f |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 29 21:46:31 2018 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 29 21:46:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e666ef5 |
7 |
|
8 |
app-editors/joe: version bump 4.6 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/644184 |
11 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
12 |
|
13 |
app-editors/joe/Manifest | 1 + |
14 |
app-editors/joe/files/joe-4.6-db.patch | 11 +++++++ |
15 |
app-editors/joe/joe-4.6.ebuild | 56 ++++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 68 insertions(+) |
17 |
|
18 |
diff --git a/app-editors/joe/Manifest b/app-editors/joe/Manifest |
19 |
index a774b916eb9..15f8bc77960 100644 |
20 |
--- a/app-editors/joe/Manifest |
21 |
+++ b/app-editors/joe/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST joe-4.2.tar.gz 1341048 BLAKE2B 112163e67311051dad8714e19cdee1a11ff3bbe297341c89a4023f7d68fac7eecde57d1d522f72407b0a77c227c7af424ce20567c0c47dea6c14ac41f2f2301b SHA512 7c34f4467d89330ac195cfa76481d9ede4ee3764d0b1b24d091d1e6325bff451d2a9bc9f86a73404c9909587bcbe3e0c14511b739ec121edb7595ea1fcba028f |
24 |
DIST joe-4.3.tar.gz 1270523 BLAKE2B 442e05dd29a0a8d4a26500c89a2cafee88bf2d1ed00a4cb539d940e2e849456e6c4c5bf347b4803ee02ab38311b225cc8034177a1e0b7a1967a2629fd283b7e2 SHA512 a711ce129518863856b8f581ac7acdd7661f5e571cb77c5411317e0db0344c9ba44e73ec2ca9a307e639170a7914d53352eebcd00a33c9270809551f12376e69 |
25 |
DIST joe-4.4.tar.gz 1350062 BLAKE2B eb58117e313ef4abc31026a2800f2b9258c12d0d865c768138ec42a97c1f7fedcd8e397f7aaf13f8bb3776f2571d5a85e27ea7f9a6fbd6710d935a2b80afcd1f SHA512 ef31443dda30569c5193cd1907e06f1caba349f746dedf3611b5527080e49a4026001d3d06629f3c9c712ae9265866efbdbba6f51d110c0e6ee95f39f0e3059d |
26 |
+DIST joe-4.6.tar.gz 1895046 BLAKE2B fbf53d3b5b066cb32bb26b08d7d314a3bb89ac5ae22db498cdf3597bf8cb322bd9aa05543debd47ac7380a33982c388e13f38c60747503494c582393ae8eb13d SHA512 3dd64a994fb3d352a12bf027ef16d57d14ac2577fd63fb6b6e25cae46052befaa7c15dc029bff2f8c3275df90f0343bd46313601055d97277ea4540e109fbe82 |
27 |
|
28 |
diff --git a/app-editors/joe/files/joe-4.6-db.patch b/app-editors/joe/files/joe-4.6-db.patch |
29 |
new file mode 100644 |
30 |
index 00000000000..6270e9045cd |
31 |
--- /dev/null |
32 |
+++ b/app-editors/joe/files/joe-4.6-db.patch |
33 |
@@ -0,0 +1,11 @@ |
34 |
+--- a/desktop/Makefile.am 2018-01-15 12:01:12.624449958 +0100 |
35 |
++++ b/desktop/Makefile.am 2018-01-15 12:01:38.964448343 +0100 |
36 |
+@@ -1,8 +1,2 @@ |
37 |
+ desktopdir = $(datarootdir)/applications |
38 |
+ dist_desktop_DATA = joe.desktop jmacs.desktop jstar.desktop jpico.desktop |
39 |
+- |
40 |
+-update-databases: |
41 |
+- -update-desktop-database $(desktopdir) |
42 |
+- |
43 |
+-install-data-hook: update-databases |
44 |
+-uninstall-hook: update-databases |
45 |
|
46 |
diff --git a/app-editors/joe/joe-4.6.ebuild b/app-editors/joe/joe-4.6.ebuild |
47 |
new file mode 100644 |
48 |
index 00000000000..9c03dcbe1bc |
49 |
--- /dev/null |
50 |
+++ b/app-editors/joe/joe-4.6.ebuild |
51 |
@@ -0,0 +1,56 @@ |
52 |
+# Copyright 1999-2018 Gentoo Foundation |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI=6 |
56 |
+ |
57 |
+inherit autotools gnome2-utils |
58 |
+ |
59 |
+DESCRIPTION="A free ASCII-Text Screen Editor for UNIX" |
60 |
+HOMEPAGE="https://sourceforge.net/projects/joe-editor/" |
61 |
+SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz" |
62 |
+ |
63 |
+LICENSE="GPL-1+ CC-BY-3.0" |
64 |
+SLOT="0" |
65 |
+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" |
66 |
+IUSE="xterm" |
67 |
+ |
68 |
+DEPEND=">=sys-libs/ncurses-5.2-r2:0=" |
69 |
+RDEPEND="${DEPEND} |
70 |
+ xterm? ( >=x11-terms/xterm-239 )" |
71 |
+ |
72 |
+PATCHES=( |
73 |
+ "${FILESDIR}/${PN}-4.3-tinfo.patch" |
74 |
+ "${FILESDIR}/${P}-db.patch" |
75 |
+) |
76 |
+ |
77 |
+DOCS=( README.md NEWS.md docs/hacking.md docs/man.md ) |
78 |
+ |
79 |
+src_prepare() { |
80 |
+ default |
81 |
+ # Enable xterm mouse support in the rc files |
82 |
+ if use xterm; then |
83 |
+ pushd "${S}"/rc &>/dev/null || die |
84 |
+ local i |
85 |
+ for i in *rc*.in; do |
86 |
+ sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die |
87 |
+ done |
88 |
+ popd &>/dev/null |
89 |
+ fi |
90 |
+ eautoreconf |
91 |
+} |
92 |
+ |
93 |
+pkg_postinst() { |
94 |
+ xdg_desktop_database_update |
95 |
+ gnome2_icon_cache_update |
96 |
+ if use xterm; then |
97 |
+ elog "To enable full xterm clipboard you need to set the allowWindowOps" |
98 |
+ elog "resources to true. This is usually found in /etc/X11/app-defaults/XTerm" |
99 |
+ elog "This is false by default due to potential security problems on some" |
100 |
+ elog "architectures (see bug #91453)." |
101 |
+ fi |
102 |
+} |
103 |
+ |
104 |
+pkg_postrm(){ |
105 |
+ xdg_desktop_database_update |
106 |
+ gnome2_icon_cache_update |
107 |
+} |