public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/xalan-serializer/
Date: Tue, 16 Mar 2021 11:18:52 +0000 (UTC)	[thread overview]
Message-ID: <1615893528.a04bda69ce003bf0557ec7803fc847195ebec9ff.fordfrog@gentoo> (raw)

commit:     a04bda69ce003bf0557ec7803fc847195ebec9ff
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 16 11:18:33 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Mar 16 11:18:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a04bda69

dev-java/xalan-serializer: eapi7 + jdk 11 compilation fix

based on https://github.com/gentoo/gentoo/pull/19946

Closes: https://github.com/gentoo/gentoo/pull/19946
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 .../xalan-serializer-2.7.2-r1.ebuild               | 41 ++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/dev-java/xalan-serializer/xalan-serializer-2.7.2-r1.ebuild b/dev-java/xalan-serializer/xalan-serializer-2.7.2-r1.ebuild
new file mode 100644
index 00000000000..1f6ae506e46
--- /dev/null
+++ b/dev-java/xalan-serializer/xalan-serializer-2.7.2-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PV="$(ver_rs 1- '_')"
+MY_P="xalan-j_${MY_PV}"
+
+DESCRIPTION="DOM Level 3 serializer from Apache Xalan, shared by Xalan and Xerces"
+HOMEPAGE="https://xalan.apache.org/"
+SRC_URI="mirror://apache/xalan/xalan-j/source/${MY_P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*"
+
+JAVA_SRC_DIR="src"
+JAVA_RESOURCE_DIRS="resources"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	default
+	# kill all non-serializer sources to ease javadocs and dosrc
+	find src/org/ -type f ! -path "src/org/apache/xml/serializer/*" -delete || die
+
+	# remove bundled jars
+	find -name "*.jar" -delete || die
+	rm src/*.tar.gz || die
+
+	# move resources elsewhere
+	mkdir -p resources/org/apache/xml/serializer || die
+	mv src/org/apache/xml/serializer/*.properties resources/org/apache/xml/serializer/ || die
+}


             reply	other threads:[~2021-03-16 11:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-16 11:18 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-12 17:12 [gentoo-commits] repo/gentoo:master commit in: dev-java/xalan-serializer/ Arthur Zamarin
2024-02-19  9:07 Miroslav Šulc
2024-02-17 14:48 Sam James
2024-02-16 21:39 Sam James
2024-02-16 19:25 Sam James
2024-02-16 19:25 Sam James
2024-01-17  9:28 Miroslav Šulc
2024-01-17  9:28 Miroslav Šulc
2023-10-27  7:11 Florian Schmaus
2023-10-19 12:17 Sam James
2023-10-19 12:17 Sam James
2023-10-19 12:17 Sam James
2023-09-19 11:12 Miroslav Šulc
2021-03-27  7:48 Miroslav Šulc
2021-03-26 18:45 Sam James
2021-03-26  7:50 Agostino Sarubbo
2021-03-26  7:45 Agostino Sarubbo
2019-05-18  1:14 Aaron Bauman
2018-03-01  8:46 Michał Górny
2017-07-13 20:42 Alexis Ballier
2017-01-29 15:54 Fabian Groffen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1615893528.a04bda69ce003bf0557ec7803fc847195ebec9ff.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox