This commit is contained in:
Mario Fetka
2023-05-26 12:27:54 +02:00
parent 1f44a2d3b4
commit 9079259fcc
23 changed files with 31 additions and 1360 deletions

View File

@@ -1,6 +1,4 @@
DIST xxe-perso-10_2_0.zip 86723082 BLAKE2B e6ff3115322e64d6943f18402a5dbd4245bc10986ba642bdc11df92e47ff8e5486da601f2c5d1199dd394cbaf0d485a1ef9a8d940df26dd3e3d09528cb7b6605 SHA512 702aaf36778640ea090b02cf98b3b22935e2f8d1151311522ed0d8d7720a4460cc11e3339c9b65c6ef46a81921ff2be118438140604db2e0bfa20b6d8a20c0a0
DIST xxe-perso-10_3_0.zip 87333279 BLAKE2B f0acf9b670f51f76d1ebbb6fa46c9600de6749f4776039a0db857e756ecc4a84ba77f2127c7396c9113fdd1236868a19eae72367522222f87080fbe23ae748fc SHA512 c335b8611c429c32f1cb5441395cfe20eff0b9e88811c92990046dc4ca2ee0c70a6a64b6c40b4ee8b90883f5b87c98ba30a29de2826721a3c4ab785b9d4250fd
EBUILD xxe-10.2.0.ebuild 2335 BLAKE2B be8da75b7ecca193c22fcfb356a98b89195abc85e81cd8e06ae8266d9483480b4e6e793b41c5c10c52232e4f8e74796ec36202085e6bdf584f70cd4b6d01644e SHA512 67b0bedcafc8ff1a1a43ba15fcdf948e7b4dbb311e9a4e198a09796c94e9b6ae0a27ad6e0519beb6a6d560ee7626e75b405dd28aebaf705980dfdcdf7258f833
EBUILD xxe-10.3.0.ebuild 2257 BLAKE2B d08d9eaa0033d7a15cb1140c7670693803d7874b1b0ac8184fa3dc909707008923135fde8415371a1f032e1d4973e87dbe9e6e8aef09586fa4aceef4c511deb9 SHA512 32764950348270e522549869b387f578cba29c45a4b55f6beb6c511544e389c155d2e7ce70c76b1ea2b02c4982db34c2b7646643acfa4f19a49285977318c952
DIST xxe-perso-10_4_0.zip 87564257 BLAKE2B 736251876ecc7c6dad4232afa8e18d74cb6553813835d3f5d34388b176f08437386270ba41824738a947b376707833dc6871923330df6c8cc6d9a747627261c6 SHA512 367794ff4ee9d9f36334ead64ca166e0a293598cd95c072040a61abdb821dce288a513c83bc4bfc5296e220fef84aad9bbf89dcd94bd55596efb19f7e293e9bc
EBUILD xxe-10.4.0.ebuild 2257 BLAKE2B d08d9eaa0033d7a15cb1140c7670693803d7874b1b0ac8184fa3dc909707008923135fde8415371a1f032e1d4973e87dbe9e6e8aef09586fa4aceef4c511deb9 SHA512 32764950348270e522549869b387f578cba29c45a4b55f6beb6c511544e389c155d2e7ce70c76b1ea2b02c4982db34c2b7646643acfa4f19a49285977318c952
MISC ChangeLog 2997 BLAKE2B c485a198c3a1ddda9c6f2f069fa73ee2c4deeb4eee4d28ec2f964e30cbc1a9f2299ee0e0ad0e4bda56c5ee5e7de5b7fd89b4b209c2834b9037350ca72bfa3f50 SHA512 6c1fadc9affbc2d88d3ad04db1298dd76d3f76769ecb9a5c59fd4e2f290495310500c0f95e95d062a3711d802805814597c87037fa24e3337c929ff3fc3b20dc
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c

View File

@@ -1,79 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
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="https://www.xmlmind.com/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.8
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/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 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 xxeconvert \
--main "com.xmlmind.xmleditapp.convert.StartConvert" \
--java_args "-Xss4m -Xmx512m"
java-pkg_dolauncher ${PN} \
--main "com.xmlmind.xmleditapp.desktop.QuickStart" \
--java_args "-Xss4m -Xmx512m"
# for direct run without creating an env.d file link them
dodir /opt/bin
dosym ${dir}/bin/authvalue /opt/bin/authvalue
dosym ${dir}/bin/xmltool /opt/bin/xmltool
dosym ${dir}/bin/xxeconvert /opt/bin/xxeconvert
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;"
}