diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-24 02:09:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-24 02:09:32 +0200 |
commit | dd2aea324c07fe1bd13143bb37eff11117b6130a (patch) | |
tree | 771ed8c8b9b1eb2f02b5843363eed86839ed6e5a /app-text/jing | |
parent | 576b6208d6defe240bfa2477d6dd19f1ed83bfaf (diff) | |
download | darklin4-dd2aea324c07fe1bd13143bb37eff11117b6130a.tar.gz darklin4-dd2aea324c07fe1bd13143bb37eff11117b6130a.tar.bz2 darklin4-dd2aea324c07fe1bd13143bb37eff11117b6130a.tar.xz darklin4-dd2aea324c07fe1bd13143bb37eff11117b6130a.zip |
Dice(kiwi) and dependencies; kiwi and dependecies (still missing zypper)
Diffstat (limited to 'app-text/jing')
-rw-r--r-- | app-text/jing/ChangeLog | 110 | ||||
-rw-r--r-- | app-text/jing/Manifest | 7 | ||||
-rw-r--r-- | app-text/jing/files/build-patch.diff | 23 | ||||
-rw-r--r-- | app-text/jing/files/build-r1.xml | 34 | ||||
-rw-r--r-- | app-text/jing/files/jing-20030619-xerces.patch | 33 | ||||
-rw-r--r-- | app-text/jing/jing-20151127.ebuild | 84 | ||||
-rw-r--r-- | app-text/jing/metadata.xml | 5 |
7 files changed, 296 insertions, 0 deletions
diff --git a/app-text/jing/ChangeLog b/app-text/jing/ChangeLog new file mode 100644 index 0000000..c748f65 --- /dev/null +++ b/app-text/jing/ChangeLog @@ -0,0 +1,110 @@ +# ChangeLog for app-text/jing +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/jing/ChangeLog,v 1.28 2014/08/03 07:23:12 sera Exp $ + + 03 Aug 2014; Ralph Sennhauser <sera@gentoo.org> -jing-20030619-r3.ebuild: + Remove old + + 17 Oct 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> jing-20091111-r1.ebuild: + x86 stable wrt bug #433199 + + 10 Oct 2012; Agostino Sarubbo <ago@gentoo.org> jing-20091111-r1.ebuild: + Stable for amd64, wrt bug #433199 + +*jing-20091111-r1 (25 Jul 2012) + + 25 Jul 2012; Ralph Sennhauser <sera@gentoo.org> -jing-20091111.ebuild, + +jing-20091111-r1.ebuild: + Avoid bogous QA warning. #423103 + Fix saxon slot for classpath. + +*jing-20091111 (24 May 2012) + + 24 May 2012; Ralph Sennhauser <sera@gentoo.org> +jing-20091111.ebuild: + Version bump. + + 06 Nov 2010; Petteri Räty <betelgeuse@gentoo.org> -files/build.xml, + -files/manifest.mf: + Remove unused files from FILESDIR. Fixes bug #344419. + + 02 Jul 2007; Ulrich Mueller <ulm@gentoo.org> metadata.xml: + Remove emacs herd from metadata. + + 30 Mar 2007; Petteri Räty <betelgeuse@gentoo.org> + -jing-20030619-r1.ebuild: + Remove -r1 so that we can get saxon-bin package masked. + + 30 Mar 2007; Petteri Räty <betelgeuse@gentoo.org> + jing-20030619-r3.ebuild: + Marked stable on amd64 for bug #166862. + + 14 Feb 2007; Christian Faulhammer <opfer@gentoo.org> + jing-20030619-r3.ebuild: + stable x86; bug 166862 + + 14 Feb 2007; Petteri Räty <betelgeuse@gentoo.org> + jing-20030619-r3.ebuild: + Added xalan to dependencies as it was missing there. + + 14 Feb 2007; Petteri Räty <betelgeuse@gentoo.org> + -jing-20030619-r2.ebuild: + Removed unused revision. + +*jing-20030619-r3 (20 Jan 2007) + + 20 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> +files/build-r1.xml, + +jing-20030619-r3.ebuild: + Fixed bug #122038, made this compile with jdks >=1.5, cleaned the ebuild and + added the source use flag. + +*jing-20030619-r2 (03 Dec 2006) + + 03 Dec 2006; Joshua Nichols <nichoj@gentoo.org> files/build.xml, + +jing-20030619-r2.ebuild: + Revision bump to support new Java system. No longer uses bundled source from + relaxng-datatype. + + 22 Jan 2006; Joshua Nichols <nichoj@gentoo.org> + +files/jing-20030619-xerces.patch, jing-20030619-r1.ebuild: + Added patch to fix compilation with xerces-2.7 to fix bug #119366. + + 12 Jul 2005; Thomas Matthijs <axxo@gentoo.org> jing-20030619-r1.ebuild: + Style/Dep fixes + + 12 May 2005; Jan Brinkmann <luckyduck@gentoo.org> jing-20030619-r1.ebuild: + stable on amd64, added ~ppc to KEYWORDS + + 17 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> jing-20030619-r1.ebuild: + fixed dependency problem. fixes bug #78312. + + 14 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> jing-20030619-r1.ebuild, + -jing-20030619.ebuild: + marked -r1 stable on x86 and removed the old version which uses packed jars. + + 14 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> jing-20030619.ebuild: + correct java-config calls in the startup script. fixes bug #77912. + +*jing-20030619-r1 (14 Nov 2004) + + 14 Nov 2004; Thomas Matthijs <axxo@gentoo.org> +files/build-patch.diff, + +files/build.xml, +files/manifest.mf, +jing-20030619-r1.ebuild: + build from source 63240, submitted by Jan Brinkmann <lucky@the-luckyduck.de> + + 03 Nov 2004; Thomas Matthijs <axxo@gentoo.org> jing-20030619.ebuild: + depend on app-arch/unzip + + 16 Oct 2004; Thomas Matthijs <axxo@gentoo.org> jing-20030619.ebuild: + use java-pkg_dohtml instead of dohtml to also install the package-list in + case of api docs: #50740 + + 23 Aug 2004; Chris Aniszczyk <zx@gentoo.org> jing-20030619.ebuild: + Marking stable on x86 + + 01 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org> jing-20030619.ebuild: + dev-java/saxon -> dev-java/saxon-bin + +*jing-20030619 (13 May 2004) + + 13 May 2004; <mkennedy@gentoo.org> +metadata.xml, +jing-20030619.ebuild: + Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org> + diff --git a/app-text/jing/Manifest b/app-text/jing/Manifest new file mode 100644 index 0000000..ba0c293 --- /dev/null +++ b/app-text/jing/Manifest @@ -0,0 +1,7 @@ +AUX build-patch.diff 1484 BLAKE2B f87ce71f3c95b26c30b8e4e54df95075b1fb51d1ecb94c556def4df02746756c7de7ce55d4be1d44a010b470d89ac611d6eb748cf80bfd613a82ed1293be7f1f SHA512 4aa31348db21fdc70f288283332f3bf10910f0117e6da69db600965e9581e1eeb72819a88b133a302aee7be9b056016cc487715d5e682bb6f2fd76855da851f4 +AUX build-r1.xml 729 BLAKE2B 67dc19645c98d761bf865907ceb90d66f8d0660fa9a90f12bf87e699b74633da914e24e6b9f7fa734529901ff106b96ef9be9d509a6fbc88659cebd11c8cc802 SHA512 3344812a2565c54f6da25e7438df353ee65c2352b2cf5071661f7cba1abbd84828fb515c631ce129613d4907c4c8d0f7ea3d2b8400d5d90d3afb7afdb8c42233 +AUX jing-20030619-xerces.patch 1393 BLAKE2B 0981214a4afc4f0dafcfbd1b655f01f8b0cd767b0b2e0d88cacfab94e4164119690618ce3eb10aa46919a9779ccd090223ee084e5bdc6ac9a2189688736c2756 SHA512 4562edaab38b625551ab93311f5bb11aba72172a070804ac2dbbb07c347754e0073bf3e68832524d9bfde89f7d67473b6bf850b18a4398b68d704ae6093671f6 +DIST jing-20151127.tar.gz 13746814 BLAKE2B d32610adf57e7e6635c4a8ea676158882c16d388d19561a2bf7d164908ebf6b3ab13d34bfb9e65d51b8bac85279d60a80261ad5d11f6b89c668c4af329b74fec SHA512 ac0ab4df4c462b2e850fd1982abaf870e875e193c4a04976320d972b89768ef193ea394c63101fe23339632f78e2d46ac858640ed90c7516ba1472c6cd940c5e +EBUILD jing-20151127.ebuild 2359 BLAKE2B 0a414f14171e011b5e0eb273a285d09fa66e99912cfdf50dd99410344ac282d4b0d8e8fb6212b01ed9361f212ff4054d429837ef7347bf92c204e240424a28ca SHA512 5f6ca9ca018b1bc19480a20fd82cd93f3defe7873e5c26e4b9a020ef53983727a318cb333d7984de8b1f430c7e29046fe48334d92142ea9e98df312d9f383f73 +MISC ChangeLog 3932 BLAKE2B c63fb1d79ebdc6ba746cc0e0f470fb5731ac2a676937e5f62ef8dc7120c244c0c4d0ff39bca78d5241a49383d9d940069f7c7c7c1d31c81d10b8517f16a905d7 SHA512 8faa44797eca27dba11e728dc3c63f07effd33700660c1c5824691da368a57202426b2c583ba7e4ce7dc1ca627b2989b3ccf0da874859b78fe80748ac865f642 +MISC metadata.xml 157 BLAKE2B 058de8a1959f5f98c25e1d20a0c78facc6278f060b6ec22510c4397f9ec5696b4933deb61adedf86577222829896e3b67ca3ce33d9384fd62ffc436e66e0ed58 SHA512 bbae663e26f48fdc5e272adc2b06c14f77f34c53caf84acb53908ff036e7c12a3edbbc0929d2db56bee861a453381d979c7e0983a23716f629ed2135c22ffece diff --git a/app-text/jing/files/build-patch.diff b/app-text/jing/files/build-patch.diff new file mode 100644 index 0000000..f60d9af --- /dev/null +++ b/app-text/jing/files/build-patch.diff @@ -0,0 +1,23 @@ +diff -uprN src.orig/com/thaiopensource/validate/schematron/SaxonSchemaReaderFactory.java src/com/thaiopensource/validate/schematron/SaxonSchemaReaderFactory.java +--- src.orig/com/thaiopensource/validate/schematron/SaxonSchemaReaderFactory.java 2004-11-07 02:12:02.231733296 +0100 ++++ src/com/thaiopensource/validate/schematron/SaxonSchemaReaderFactory.java 2004-11-07 02:11:40.888977888 +0100 +@@ -1,6 +1,6 @@ + package com.thaiopensource.validate.schematron; + +-import com.icl.saxon.TransformerFactoryImpl; ++import net.sf.saxon.TransformerFactoryImpl; + + import javax.xml.transform.TransformerFactory; + +diff -uprN src.orig/com/thaiopensource/validate/schematron/SchemaReaderImpl.java src/com/thaiopensource/validate/schematron/SchemaReaderImpl.java +--- src.orig/com/thaiopensource/validate/schematron/SchemaReaderImpl.java 2004-11-07 02:12:02.230733448 +0100 ++++ src/com/thaiopensource/validate/schematron/SchemaReaderImpl.java 2004-11-07 02:11:40.886978192 +0100 +@@ -85,7 +85,7 @@ class SchemaReaderImpl implements Schema + private void initTransformerFactory(TransformerFactory factory) { + String name = factory.getClass().getName(); + try { +- if (name.equals("com.icl.saxon.TransformerFactoryImpl")) ++ if (name.equals("net.sf.saxon.TransformerFactoryImpl")) + factory.setAttribute("http://icl.com/saxon/feature/linenumbering", + Boolean.TRUE); + else if (name.equals("org.apache.xalan.processor.TransformerFactoryImpl")) { diff --git a/app-text/jing/files/build-r1.xml b/app-text/jing/files/build-r1.xml new file mode 100644 index 0000000..8de4f9a --- /dev/null +++ b/app-text/jing/files/build-r1.xml @@ -0,0 +1,34 @@ +<?xml version="1.0"?> + +<project name="jing" default="jar"> + <!-- compiles the sources --> + <target name="compile"> + <mkdir dir="build" /> + + <javac srcdir="src" + destdir="build" + source="1.4"> + <classpath> + <fileset dir="bin" includes="*.jar"/> + </classpath> + </javac> + + <!-- we need the *.properties at the correct + position in the jar archive! --> + <copy todir="build"> + <fileset dir="src"> + <include name="**/*.properties" /> + </fileset> + </copy> + <copy todir="build/META-INF"> + <fileset dir="src/META-INF" /> + </copy> + </target> + + <!-- create the jar archive --> + <target name="jar" depends="compile"> + <jar jarfile="bin/jing.jar" + basedir="build"> + </jar> + </target> +</project> diff --git a/app-text/jing/files/jing-20030619-xerces.patch b/app-text/jing/files/jing-20030619-xerces.patch new file mode 100644 index 0000000..5873822 --- /dev/null +++ b/app-text/jing/files/jing-20030619-xerces.patch @@ -0,0 +1,33 @@ +Only in jing-20030619: META-INF +diff -ru jing-20030619-orig/src/com/thaiopensource/relaxng/util/JingTask.java jing-20030619/src/com/thaiopensource/relaxng/util/JingTask.java +--- jing-20030619-orig/src/com/thaiopensource/relaxng/util/JingTask.java 2003-05-30 20:54:52.000000000 -0400 ++++ jing-20030619/src/com/thaiopensource/relaxng/util/JingTask.java 2006-01-22 00:14:34.000000000 -0500 +@@ -178,4 +178,11 @@ + filesets.addElement(set); + } + ++ public String getXMLVersion() { ++ throw new UnsupportedOperationException(); ++ } ++ ++ public int getCharacterOffset() { ++ throw new UnsupportedOperationException(); ++ } + } +diff -ru jing-20030619-orig/src/com/thaiopensource/validate/xerces/ValidatorImpl.java jing-20030619/src/com/thaiopensource/validate/xerces/ValidatorImpl.java +--- jing-20030619-orig/src/com/thaiopensource/validate/xerces/ValidatorImpl.java 2003-06-19 13:57:22.000000000 -0400 ++++ jing-20030619/src/com/thaiopensource/validate/xerces/ValidatorImpl.java 2006-01-22 00:15:10.000000000 -0500 +@@ -330,4 +330,12 @@ + throw (RuntimeException)nested; + return new SAXException(nested); + } ++ ++ public String getXMLVersion() { ++ throw new UnsupportedOperationException(); ++ } ++ public int getCharacterOffset() { ++ throw new UnsupportedOperationException(); ++ } ++ + } +Only in jing-20030619/src/com/thaiopensource/validate/xerces: .ValidatorImpl.java.swp diff --git a/app-text/jing/jing-20151127.ebuild b/app-text/jing/jing-20151127.ebuild new file mode 100644 index 0000000..46cf4dd --- /dev/null +++ b/app-text/jing/jing-20151127.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +COMMIT="1e74846999bbd14ce5248acbd2be9f1e624a9846" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Multi-format schema converter based on RELAX NG" +HOMEPAGE="http://thaiopensource.com/relaxng/trang.html" +SRC_URI="https://github.com/relaxng/jing-trang/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" + +COMMON_DEP=" + dev-java/ant-core:0 + dev-java/iso-relax:0 + dev-java/relaxng-datatype:0 + dev-java/saxon:9 + dev-java/xalan:0 + dev-java/xerces:2 + dev-java/xml-commons-resolver:0" + +RDEPEND=" + >=virtual/jre-1.7 + ${COMMON_DEP}" + +DEPEND=" + >=virtual/jdk-1.7 + dev-java/javacc:0 + dev-java/saxon:6.5 + dev-java/testng:0 + ${COMMON_DEP}" + +S="${WORKDIR}/${PN}-trang-${COMMIT}" + +EANT_ANT_TASKS="testng" +EANT_GENTOO_CLASSPATH="xerces-2,xml-commons-resolver" +JAVA_ANT_REWRITE_CLASSPATH="yes" +JAVA_PKG_BSFIX_NAME="build.xsl" + +java_prepare() { + java-pkg_clean + echo "<version>${PV}</version>" > version.xml || die + + #DS Not sure why this symbol is not found... + sed -i -e '/FeatureKeys/d' \ + mod/schematron/src/main/com/thaiopensource/validate/schematron/OldSaxonSchemaReaderFactory.java || die + + sed -i -e '/FeatureKeys/d' \ + mod/schematron/src/main/com/thaiopensource/validate/schematron/NewSaxonSchemaReaderFactory.java || die + + + # for use with saxon:6.5 + rm -v mod/schematron/src/main/com/thaiopensource/validate/schematron/OldSaxonSchemaReaderFactory.java || die + sed -i -e '/OldSaxonSchemaReaderFactory/d' \ + mod/schematron/mod.xml || die +} + + +src_configure() { + java-ant-2_src_configure + + # Because this crazy package uses XSLT, we need to escape this. + sed -i 's:\${gentoo\.classpath}:${{gentoo.classpath}}:g' build.xsl || die + + EANT_EXTRA_ARGS="-Djavacc.dir=${EROOT}usr/share/javacc/lib" + export LOCALCLASSPATH=$(java-pkg_getjars --build-only --with-dependencies saxon-6.5) +} + + +src_compile() { + EANT_BUILD_TARGET="modbuild" java-pkg-2_src_compile + EANT_GENTOO_CLASSPATH="ant-core,iso-relax,relaxng-datatype,saxon-9,xalan,xerces-2,xml-commons-resolver,iso-relax" \ + EANT_BUILD_TARGET="mod.jing.jar" EANT_BUILD_XML="modbuild.xml" java-pkg-2_src_compile +} + +src_install() { + java-pkg_dojar build/${PN}.jar + java-pkg_dolauncher ${PN} \ + --main com.thaiopensource.relaxng.util.Driver +} diff --git a/app-text/jing/metadata.xml b/app-text/jing/metadata.xml new file mode 100644 index 0000000..838c00a --- /dev/null +++ b/app-text/jing/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +</pkgmetadata> |