From 3914cf2ee87ce765cf2ad200a5e0a09a6c8b046f Mon Sep 17 00:00:00 2001 From: geos_one Date: Tue, 25 Jan 2011 11:18:00 +0000 Subject: [PATCH] app-editors/xxe: Bump (Portage version: 2.2.0_alpha17-r1/svn/Linux x86_64) git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2810 6952d904-891a-0410-993b-d76249ca496b --- app-editors/xxe/ChangeLog | 7 ++- app-editors/xxe/Manifest | 4 +- app-editors/xxe/xxe-4.8.0.ebuild | 77 ++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+), 2 deletions(-) create mode 100644 app-editors/xxe/xxe-4.8.0.ebuild diff --git a/app-editors/xxe/ChangeLog b/app-editors/xxe/ChangeLog index 0c667596..37456304 100644 --- a/app-editors/xxe/ChangeLog +++ b/app-editors/xxe/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for app-editors/xxe -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*xxe-4.8.0 (25 Jan 2011) + + 25 Jan 2011; Mario Fetka +xxe-4.8.0.ebuild: + Bump + 02 Dec 2010; Mario Fetka xxe-4.7.0.ebuild: remove wrong depend diff --git a/app-editors/xxe/Manifest b/app-editors/xxe/Manifest index 47d7200d..8e95ecfd 100644 --- a/app-editors/xxe/Manifest +++ b/app-editors/xxe/Manifest @@ -1,4 +1,6 @@ DIST xxe-perso-4_7_0.tar.gz 23549166 RMD160 e5841184e9289360063ed127913256ae59783813 SHA1 a20596a6bfa1af02f807024bc17f9fea614f4fec SHA256 24c6446a1e4bbc6993cc6f0449fc658cf1b53971fa7f3c68cf1c4bff1b0e1d67 +DIST xxe-perso-4_8_0.tar.gz 23684470 RMD160 6f2cc91f646aa5f9339868c135e373d48f1f7d1e SHA1 042804b6987482ad679b425977da99cb4b704a76 SHA256 dd6e5732361b608b08939abac76ccb635427e8297247763e56a00fd81f63932e EBUILD xxe-4.7.0.ebuild 2612 RMD160 6c91d703cabb61f1abc86de5a47fdc0dffec501d SHA1 381431a66fec608b57028c83a7af1d50eeb0b4f2 SHA256 a1408942292f841115d396bf97744a80179442407126a9cc2b026f06cf0fbf95 -MISC ChangeLog 464 RMD160 527410b57895e8893283ddb3036b096f9a346bab SHA1 4ce376462dd27b1aea94729db48802df10bad6e6 SHA256 d3c9700a0da3d0786e24eca2a0de2fe16208ab4770e2dfa1c8790e2e8e3313d2 +EBUILD xxe-4.8.0.ebuild 2612 RMD160 1bedc2bf07ad40f10daaa35809749c8fed3a604b SHA1 bdbb3b422987549c33eac033cc4473b3586d49ee SHA256 1a994971fa1fdc07bea94ac0aabd9a36244b5a427cda3e019513140826635cad +MISC ChangeLog 568 RMD160 0ca3c27a7b39088ddc428d80f2224ff708606513 SHA1 a1d62c1308fe51e020c27538a962a5e342be1013 SHA256 88d8a6eea601d0a254d22fe382a61cf242a3de4206de944a46d2d91ee200c08b MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2 diff --git a/app-editors/xxe/xxe-4.8.0.ebuild b/app-editors/xxe/xxe-4.8.0.ebuild new file mode 100644 index 00000000..12164230 --- /dev/null +++ b/app-editors/xxe/xxe-4.8.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit java-pkg-2 versionator + +DESCRIPTION="XMLmind XML Editor allows to author large, complex, modular, XML documents" +HOMEPAGE="http://www.xmlmind.com/xmleditor/" + +MY_PV=$(replace_all_version_separators '_') #${PV/beta/b}) +MY_P="${PN}-perso-${MY_PV}" +S="${WORKDIR}/${MY_P}" +SRC_URI="http://www.xmlmind.net/xmleditor/_download/${MY_P}.tar.gz" +LICENSE="xxe-perso" +# license does not allow redistributing, and they seem to silently update +# distfiles... +RESTRICT="mirror" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=">=virtual/jre-1.5 + dev-java/javahelp + dev-java/saxon:6.5 + dev-java/saxon:9 + dev-java/xml-commons-resolver +" + +src_install () { + local dir="/opt/${PN}" + + # buggy binary crap also requires the demo dir ?? + insinto "${dir}" + doins -r addon demo || die + + # Xerces has been patched hope this gets upstream was version 2.9.1 + # relaxng is a heavely modified version of jing 20030619 + java-pkg_jarinto "${dir}"/lib + java-pkg_dojar bin/${PN}.jar bin/${PN}_help.jar bin/${PN}_tool.jar \ + bin/xsc.jar bin/relaxng.jar bin/xerces.jar + local dep="javahelp,saxon-6.5,saxon-9,xml-commons-resolver" + java-pkg_register-dependency ${dep} + + # put launchers into the xxe/bin dir as expected by the xxe.jar + into "${dir}" + java-pkg_dolauncher convertdoc \ + --main "com.xmlmind.xmleditapp.convert.StartConvertDoc" \ + --java_args "-Xss4m -Xmx512m" + java-pkg_dolauncher csscheck \ + --main "com.xmlmind.xmledit.stylesheet.StyleSheetLoader" \ + --java_args "-Dxml.catalog.files=\"${dir}/addon/config/catalog.xml\"" + java-pkg_dolauncher translatexxe \ + --main "com.xmlmind.xmledittool.translate.TranslateXXE" \ + --java_args "-Xss4m -Xmx512m" + java-pkg_dolauncher xmltool \ + --main "com.xmlmind.xml.xmltool.Main" \ + --java_args "-Dxml.catalog.files=\"${dir}/addon/config/catalog.xml\" -Xss4m -Xmx512m" + java-pkg_dolauncher ${PN} \ + --main "com.xmlmind.xmleditapp.start.Start" \ + --java_args "-Xss4m -Xmx512m" + + dodir /opt/bin || die + dosym ${dir}/bin/convertdoc /opt/bin/convertdoc || die + dosym ${dir}/bin/csscheck /opt/bin/csscheck || die + dosym ${dir}/bin/translatexxe /opt/bin/translatexxe || die + dosym ${dir}/bin/xmltool /opt/bin/xmltool || die + dosym ${dir}/bin/xxe /opt/bin/xxe || die + + dohtml -r doc/* || die + dodoc legal/ditac.* legal/expr.* legal/icons.* legal/relaxng.* legal/xerces.* legal/xsdregex.* legal/xxe-* legal.txt || die + + doicon bin/icon/xxe.png || die + make_desktop_entry xxe "XMLmind XML Editor Personal Edition" xxe "Development;TextEditor;" +}