1 |
monsieurp 15/07/03 17:12:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: jext-5.0-r2.ebuild |
5 |
Log: |
6 |
Add patch to get the package to compile with jdk-1.8. Update dev-java/jython dependency to :2.7. Fix bug 552452. |
7 |
|
8 |
Signed-off-by: Patrice Clement <monsieurp@g.o> |
9 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8) |
10 |
|
11 |
Revision Changes Path |
12 |
1.24 app-editors/jext/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/jext/ChangeLog?rev=1.24&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/jext/ChangeLog?rev=1.24&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/jext/ChangeLog?r1=1.23&r2=1.24 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/jext/ChangeLog,v |
21 |
retrieving revision 1.23 |
22 |
retrieving revision 1.24 |
23 |
diff -u -r1.23 -r1.24 |
24 |
--- ChangeLog 9 Jun 2015 09:50:13 -0000 1.23 |
25 |
+++ ChangeLog 3 Jul 2015 17:12:09 -0000 1.24 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for app-editors/jext |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-editors/jext/ChangeLog,v 1.23 2015/06/09 09:50:13 jlec Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jext/ChangeLog,v 1.24 2015/07/03 17:12:09 monsieurp Exp $ |
31 |
+ |
32 |
+*jext-5.0-r2 (03 Jul 2015) |
33 |
+ |
34 |
+ 03 Jul 2015; Patrice Clement <monsieurp@g.o> |
35 |
+ +files/jext-5.0-enum-as-keyword.patch, +jext-5.0-r2.ebuild: |
36 |
+ Add patch to get the package to compile with jdk-1.8. Update dev-java/jython |
37 |
+ dependency to :2.7. Fix bug 552452. |
38 |
|
39 |
09 Jun 2015; Justin Lecher <jlec@g.o> metadata.xml: |
40 |
Updating remote-id in metadata.xml |
41 |
|
42 |
|
43 |
|
44 |
1.1 app-editors/jext/jext-5.0-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/jext/jext-5.0-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/jext/jext-5.0-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: jext-5.0-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2015 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/jext/jext-5.0-r2.ebuild,v 1.1 2015/07/03 17:12:09 monsieurp Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
JAVA_PKG_IUSE="doc" |
58 |
inherit java-pkg-2 java-ant-2 |
59 |
|
60 |
DESCRIPTION="A cool and fully featured editor in Java" |
61 |
HOMEPAGE="http://www.jext.org/" |
62 |
MY_PV="${PV/_}" |
63 |
SRC_URI="mirror://sourceforge/${PN}/${PN}-sources-${MY_PV}.tar.gz" |
64 |
LICENSE="|| ( GPL-2 JPython )" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="" |
68 |
|
69 |
CDEPEND="dev-java/jython:2.7 |
70 |
dev-java/jgoodies-looks:1.2 |
71 |
dev-java/gnu-regexp:1" |
72 |
DEPEND=">=virtual/jdk-1.6 |
73 |
${CDEPEND}" |
74 |
RDEPEND=">=virtual/jre-1.6 |
75 |
${CDEPEND}" |
76 |
|
77 |
S="${WORKDIR}/${PN}-src-${MY_PV}" |
78 |
|
79 |
# Necessary otherwise it chokes on compiling with jdk-1.8 |
80 |
# due to unmappable characters. |
81 |
JAVA_ANT_ENCODING="ISO-8859-1" |
82 |
|
83 |
java_prepare() { |
84 |
# bundles some com.microstar.xml who knows what's that |
85 |
# also com.jgoodies.uif_lite which is apparently some jgoodies-looks |
86 |
# example code which we don't package and there is probably no point |
87 |
rm -v "${S}"/extplugins/Admin/*.jar || die |
88 |
rm -rf src/lib/gnu || die |
89 |
|
90 |
# Fix "enum as a keyword" error. |
91 |
epatch "${FILESDIR}"/"${P}"-enum-as-keyword.patch |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
cd "${S}/src" || die |
96 |
eant jar $(use_doc javadocs) \ |
97 |
-Dclasspath="$(java-pkg_getjars jython-2.7,jgoodies-looks-1.2,gnu-regexp-1)" |
98 |
} |
99 |
|
100 |
src_install () { |
101 |
java-pkg_newjar lib/${P}.jar |
102 |
java-pkg_dojar lib/dawn*.jar |
103 |
|
104 |
java-pkg_dolauncher ${PN} \ |
105 |
--main org.jext.Jext \ |
106 |
--java_args '-Dpython.path=$(java-config --classpath=jython-2.7)' \ |
107 |
-pre "${FILESDIR}/${PN}-pre" |
108 |
|
109 |
if use doc; then |
110 |
java-pkg_dohtml -r docs/api |
111 |
fi |
112 |
} |
113 |
|
114 |
pkg_postinst() { |
115 |
elog "Plugins are currently not built/installed. Patches welcome." |
116 |
} |