This commit is contained in:
Mario Fetka
2019-09-16 11:01:03 +02:00
parent 09f2d182c0
commit e627aad8ba
5 changed files with 181 additions and 26 deletions

View File

@@ -1,8 +1,10 @@
DIST xxe-perso-5_3_0.tar.gz 27324575 BLAKE2B a21124805e4ccee216f51c131279fcbac50d10d0eb88c07a52fabea6c90af9ab1c2aa05b110b2d44ae8413208f043fa5be8cc85a5370ea3e33b0fe8d47f47229 SHA512 011824df5f88de3079181ce7f7e7a0844890e49e28b0fdb32858206d3e649cbeaa162d478f58e0b1c1e7748c78ff16eaf1d9bc692c85824528f060cc97d5fbc3
DIST xxe-perso-7_3_0.zip 77703539 BLAKE2B 9ae5d0343f8e09681eff73e00b5e6f11413b75ba6959878ca605c01afa614b4c05c57522f6d900637f2bd952a5e4ad47b08dbd79549315aed047ed0757611520 SHA512 234d01f37a1836c3862cd0fff9c4c52d954768854918eb6dd6271018ddbe5da4cb427c9a9a745605c5caab3c9c47697928db11b4368eb3cffadd25fc815fb0b7
DIST xxe-perso-8_0_0.zip 75565050 BLAKE2B ba356efa387ec6ce3a954edbc48c3ab411ef94fc1c587fb32d1282091fde5db85337e9c958bc29cd09cd0b9cacdab4f0a7c760e9eda438315cfea410ae000428 SHA512 1fb416718a30170286e249ccf971e2df1cac2ee3c3a9b9a8cfcf60cd4edcb4b8c046de12db81db6d94d6aa5063d8d0f6918d10bb91683d83f20f20a1f6f51d58
DIST xxe-perso-9_1_0.zip 83146264 BLAKE2B bc05156c4cd19812b8b87ba9f74490ea7c7606e687c1d3ea4b4b943fc3cf892f393012f387d25d68f4e14bb68fe799932afdaaf5da4ac4ff027fb5428ebc09bc SHA512 ac1a37b77e860e4f3aaa1eba9b7e68621d43a1b57cd8b2d5fd487e43ece5ef81a10e7ad5c22c9e7f4bf760aadeccdba64ecfa6ce80a431075ca080c60b5774bc
EBUILD xxe-5.3.0.ebuild 2783 BLAKE2B f57142d711b1de2549f2ea92dec9a3f4b00c5f0410fa10eb52688e638b93d4691d136d361429e476688fb90d962981f51779dad56e849fe1cbe6e8e8b0a1f7e8 SHA512 30889e2d48a11623415b99107fbd44e583ffb9294c6e4aa66ccee676e60de8604122ca6134f48ce3662b4fc468eaf88b2da9d8979f4dc3341aa8cbd401e369bb
EBUILD xxe-7.3.0.ebuild 2702 BLAKE2B 279779edd80cdb05ca3466e62222cd1f3b304b74558755773fde36aea349cda2c2f388c99c9c10faa7fd4a2e9e8c07d4141bcaf6f04926067fd82e636465bd70 SHA512 9567ce06b97d69429c48bffd89b1236d386877510528b152be94605ad132ed01191f95a874ae825a7c774707571200e6c89479e64e107cb623b5861c9a1e1248
EBUILD xxe-8.0.0.ebuild 2702 BLAKE2B 279779edd80cdb05ca3466e62222cd1f3b304b74558755773fde36aea349cda2c2f388c99c9c10faa7fd4a2e9e8c07d4141bcaf6f04926067fd82e636465bd70 SHA512 9567ce06b97d69429c48bffd89b1236d386877510528b152be94605ad132ed01191f95a874ae825a7c774707571200e6c89479e64e107cb623b5861c9a1e1248
EBUILD xxe-9.1.0.ebuild 2683 BLAKE2B b331967b9142f69b7d6b29cefe17cb40dcde10c98163d1795e6a4f6166aa9fd1fa53311bffc17111f686e42335fce2596e90ee7b2fcee8771b6987b692a3247a SHA512 a847bb9ccb85790dd1c55f74597d4f882261e87c8161a1786917305cb673a6a2db5a88c7a1aace9085fe4d5ea52270ff82986f9fdda2ecbbada3d3bd8a1ac8a2
MISC ChangeLog 2827 BLAKE2B 0051513e1e9afc82175837aaa0ac00519ca2ffb7991f41a6c15d85d11da6c820240b6a0aebe65a7340b90be793ab69c36a3ee517b3c65000cbef568d1665c209 SHA512 a68a23ad84e22f78c16d797f22f6a4eaa4b46d3d515683e3cc03f073281cb60dec4e1f8a76feddea3f33cb1fb733fc97b5aeeced8f227e0dbec6af56dbb1ebd8
MISC metadata.xml 205 BLAKE2B 2885a6508cc84e8c20c79cd20d9fd3269df33e1ce3c6394fda79b8f7f17b6f92ade1a3177ca71e41b027cd1f16cb7795f1dfb4b99a3aa1f6f8055bb778d633a4 SHA512 ef3a39d2cd131cd29451ec2d009484e89b60e8cbeed5fc0f5f899cebb0c5f9867682ce603982e4de32004493944c6ff99a4c797e7ef2441d6049e5a616143a8b

View File

@@ -0,0 +1,86 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
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 '_')
MY_P="${PN}-perso-${MY_PV}"
SRC_URI="http://www.xmlmind.net/xmleditor/_download/${MY_P}.zip"
LICENSE="xxe-perso"
# license does not allow redistributing, and they seem to silently update
# distfiles...
RESTRICT="mirror"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.6
dev-java/javahelp:0
dev-java/saxon:6.5
dev-java/saxon:9
dev-java/xml-commons-resolver:0
"
S="${WORKDIR}/${MY_P}"
pkg_setup() { :; }
src_compile() { :; }
src_install() {
local dir="/opt/${PN}"
# buggy binary crap also requires the demo dir ??
insinto "${dir}"
doins -r addon demo
# 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/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 csscheck \
--main "com.xmlmind.xmledit.stylesheet.StyleSheetLoader" \
--java_args "-Dxml.catalog.files=\"${dir}/addon/config/catalog.xml\""
java-pkg_dolauncher deployxxe \
--main "com.xmlmind.xmledittool.deploy.DeployTool"
java-pkg_dolauncher authvalue \
--main "com.xmlmind.netutil.SimpleAuthenticatorModule" \
--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 xxetool \
--main "com.xmlmind.xmleditapp.tool.StartTool" \
--java_args "-Xss4m -Xmx512m"
java-pkg_dolauncher ${PN} \
--main "com.xmlmind.xmleditapp.app.QuickStart" \
--java_args "-Xss4m -Xmx512m"
# for direct run without creating an env.d file link them
dodir /opt/bin
dosym ${dir}/bin/csscheck /opt/bin/csscheck
dosym ${dir}/bin/deployxxe /opt/bin/deployxxe
dosym ${dir}/bin/authvalue /opt/bin/authvalue
dosym ${dir}/bin/xmltool /opt/bin/xmltool
dosym ${dir}/bin/xxetool /opt/bin/xxetool
dosym ${dir}/bin/xxe /opt/bin/xxe
dohtml -r doc/*
dodoc legal/ditac.* legal/expr.* legal/icons.* legal/relaxng.* \
legal/xerces.* legal/xsdregex.* legal/xxe-* legal.txt
doicon bin/icon/xxe.png
make_desktop_entry xxe "XMLmind XML Editor" xxe "Development;TextEditor;"
}

View File

@@ -0,0 +1,86 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
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 '_')
MY_P="${PN}-perso-${MY_PV}"
SRC_URI="http://www.xmlmind.net/xmleditor/_download/${MY_P}.zip"
LICENSE="xxe-perso"
# license does not allow redistributing, and they seem to silently update
# distfiles...
RESTRICT="mirror"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.6
dev-java/javahelp:0
dev-java/saxon:6.5
dev-java/saxon:9
dev-java/xml-commons-resolver:0
"
S="${WORKDIR}/${MY_P}"
pkg_setup() { :; }
src_compile() { :; }
src_install() {
local dir="/opt/${PN}"
# buggy binary crap also requires the demo dir ??
insinto "${dir}"
doins -r addon demo
# 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}_tool.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 csscheck \
--main "com.xmlmind.xmledit.stylesheet.StyleSheetLoader" \
--java_args "-Dxml.catalog.files=\"${dir}/addon/config/catalog.xml\""
java-pkg_dolauncher deployxxe \
--main "com.xmlmind.xmledittool.deploy.DeployTool"
java-pkg_dolauncher authvalue \
--main "com.xmlmind.netutil.SimpleAuthenticatorModule" \
--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 xxetool \
--main "com.xmlmind.xmleditapp.tool.StartTool" \
--java_args "-Xss4m -Xmx512m"
java-pkg_dolauncher ${PN} \
--main "com.xmlmind.xmleditapp.app.QuickStart" \
--java_args "-Xss4m -Xmx512m"
# for direct run without creating an env.d file link them
dodir /opt/bin
dosym ${dir}/bin/csscheck /opt/bin/csscheck
dosym ${dir}/bin/deployxxe /opt/bin/deployxxe
dosym ${dir}/bin/authvalue /opt/bin/authvalue
dosym ${dir}/bin/xmltool /opt/bin/xmltool
dosym ${dir}/bin/xxetool /opt/bin/xxetool
dosym ${dir}/bin/xxe /opt/bin/xxe
dohtml -r doc/*
dodoc legal/ditac.* legal/expr.* legal/icons.* legal/relaxng.* \
legal/xerces.* legal/xsdregex.* legal/xxe-* legal.txt
doicon bin/icon/xxe.png
make_desktop_entry xxe "XMLmind XML Editor" xxe "Development;TextEditor;"
}