Package Details: trang 20181222-1

Git Clone URL: (read-only, click to copy)
Package Base: trang
Description: Converts between different schema languages for XML
Upstream URL:
Licenses: custom
Submitter: ShadowKyogre
Maintainer: bertptrs
Last Packager: bertptrs
Votes: 5
Popularity: 0.000000
First Submitted: 2015-08-13 18:31
Last Updated: 2018-12-22 04:58

Required by (0)

Sources (3)

Latest Comments

archi42 commented on 2020-04-14 11:39

Verifying the signature file with the signing key fails (sha1sums are fine though):

==> Validating source files with sha1sums... ... Passed ... Skipped
    trang ... Passed
==> Verifying source file signatures with gpg... ... FAILED (unknown public key 87D17477BC3A4B95)
==> ERROR: One or more PGP signatures could not be verified!

sha1 of the signature file for me:


(This is on Manjaro, but tested on my Arch machine, and there it happens as well).

mephinet commented on 2017-01-17 20:10

I tried to build this with openjdk version "1.8.0_112", which fails with:

[javac] .../trang/src/jing-trang-20131210/build/mod/rng-parse/gensrc/main/com/thaiopensource/relaxng/parse/compact/ error: incompatible types: Annotations cannot be converted to AnnotationsImpl
[javac] a = IncludeBody(include, scope, a);
[javac] ^
[javac] where AnnotationsImpl,Location,ElementAnnotation,CommentListImpl are type-variables:
[javac] AnnotationsImpl extends Annotations<Location,ElementAnnotation,CommentListImpl> declared in class CompactSyntax
[javac] Location extends Object declared in class CompactSyntax
[javac] ElementAnnotation extends Object declared in class CompactSyntax
[javac] CommentListImpl extends CommentList<Location> declared in class CompactSyntax

The issue is known ( and a patch is available ( - it would be great if you could apply this patch to your PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index bf637cf..69b0983 100644
@@ -13,8 +13,14 @@ depends=(java-runtime-headless)

+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/jing-trang-20131210-java8.patch"
build() {
cd "$srcdir/${_pkgname}-${pkgver}"
@@ -29,4 +35,6 @@ package() {

- '1641a4fa0578ddec1afb374a5da75be6816e659f60c98207619f656cb90ca135')
+ '1641a4fa0578ddec1afb374a5da75be6816e659f60c98207619f656cb90ca135'
+ '880692dc2cf926fb1cb96a68008b11c73f5ebd422fffc8995c9a7526f8ba5767'
+ )

piater commented on 2016-07-25 19:34

Thanks for packaging this. I was actually hunting for jing, and found a working install here. Thus my suggestions:

- Could you make it explicit (in the description, and ideally also by renaming this package to jing-trang) that this package also provides jing?

- Could you add the jing equivalent of the trang launcher script?

- It did not compile for me because of a missing javac. makedepends=(java-environment) fixed it.

- Any reason why not arch=('any')?

ShadowKyogre commented on 2016-04-04 19:51

@unhammer: Updated to a more recent release and used the nicer runner! Thanks a bunch!

unhammer commented on 2016-04-04 18:35

Also seems there's been later releases:

unhammer commented on 2016-04-04 18:32

debian has a nice runner like in /usr/bin/trang, maybe that could be included?

pdxleif commented on 2015-10-08 04:34

Also "java-runtime-headless" is enough of a requirement; no need to list java-environment AND java-runtime.

pdxleif commented on 2015-10-08 04:32

The PKGBUILD needs to be updated. Specifically, it's missing a package() function. And "|| return 1" hasn't been needed for quite some time.