Browse Source

Sync with portage [Mon May 17 08:43:38 MSK 2021].

tags/1964
Calculate Linux 2 months ago
parent
commit
e20d69d1e0
100 changed files with 930 additions and 1093 deletions
  1. BIN
      Manifest.files.gz
  2. BIN
      acct-group/Manifest.gz
  3. +0
    -0
      acct-group/vnstat/Manifest
  4. +8
    -0
      acct-group/vnstat/metadata.xml
  5. +9
    -0
      acct-group/vnstat/vnstat-0.ebuild
  6. BIN
      acct-user/Manifest.gz
  7. +0
    -0
      acct-user/vnstat/Manifest
  8. +8
    -0
      acct-user/vnstat/metadata.xml
  9. +12
    -0
      acct-user/vnstat/vnstat-0.ebuild
  10. BIN
      app-accessibility/Manifest.gz
  11. +0
    -103
      app-accessibility/caribou/caribou-0.4.21-r2.ebuild
  12. +1
    -1
      app-accessibility/caribou/caribou-0.4.21-r3.ebuild
  13. BIN
      app-admin/Manifest.gz
  14. +1
    -1
      app-admin/xstow/xstow-1.0.2.ebuild
  15. BIN
      app-editors/Manifest.gz
  16. +8
    -2
      app-editors/emacs/emacs-28.0.9999.ebuild
  17. +2
    -0
      app-editors/emacs/metadata.xml
  18. +1
    -1
      app-editors/nano/nano-5.6.1.ebuild
  19. +1
    -1
      app-editors/vis/vis-0.7.ebuild
  20. BIN
      app-emulation/Manifest.gz
  21. +1
    -1
      app-emulation/docker-credential-helpers/docker-credential-helpers-0.6.3.ebuild
  22. +2
    -0
      app-emulation/libvirt/Manifest
  23. +326
    -0
      app-emulation/libvirt/libvirt-7.3.0.ebuild
  24. +8
    -8
      app-emulation/libvirt/libvirt-9999.ebuild
  25. +1
    -0
      app-emulation/qemu-guest-agent/Manifest
  26. +1
    -1
      app-emulation/qemu-guest-agent/qemu-guest-agent-5.0.0.ebuild
  27. +74
    -0
      app-emulation/qemu-guest-agent/qemu-guest-agent-6.0.0.ebuild
  28. +1
    -1
      app-emulation/qemu/qemu-5.2.0-r50.ebuild
  29. BIN
      app-misc/Manifest.gz
  30. +1
    -1
      app-misc/task/task-2.5.3.ebuild
  31. BIN
      app-text/Manifest.gz
  32. +1
    -1
      app-text/asciidoc/asciidoc-9.0.4-r1.ebuild
  33. +9
    -2
      app-text/barcode/barcode-0.99-r1.ebuild
  34. +13
    -0
      app-text/barcode/files/barcode-0.99-install-static-lib.patch
  35. +5
    -5
      app-text/jabref/jabref-2.10-r5.ebuild
  36. BIN
      dev-cpp/Manifest.gz
  37. +1
    -1
      dev-cpp/eigen/eigen-3.3.9.ebuild
  38. BIN
      dev-go/Manifest.gz
  39. +1
    -3
      dev-go/godep/metadata.xml
  40. BIN
      dev-java/Manifest.gz
  41. +4
    -4
      dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.15-r1.ebuild
  42. +5
    -3
      dev-java/antlr/antlr-2.7.7-r9.ebuild
  43. +16
    -11
      dev-java/antlr/antlr-3.2-r1.ebuild
  44. +8
    -8
      dev-java/antlr/files/3.2-test-fixes.patch
  45. +1
    -1
      dev-java/avalon-framework/avalon-framework-4.2.0-r2.ebuild
  46. +1
    -1
      dev-java/avalon-logkit/avalon-logkit-2.1-r9.ebuild
  47. +1
    -1
      dev-java/commons-codec/commons-codec-1.15.ebuild
  48. +1
    -1
      dev-java/commons-collections/commons-collections-4.1-r1.ebuild
  49. +1
    -1
      dev-java/commons-io/commons-io-2.8.0.ebuild
  50. +1
    -1
      dev-java/commons-lang/commons-lang-3.11-r1.ebuild
  51. +1
    -1
      dev-java/commons-logging/commons-logging-1.2-r3.ebuild
  52. +1
    -1
      dev-java/commons-math/commons-math-3.6.1-r1.ebuild
  53. +1
    -1
      dev-java/easymock/easymock-3.3.1-r1.ebuild
  54. +1
    -1
      dev-java/jackcess/jackcess-4.0.0.ebuild
  55. +0
    -1
      dev-java/jaxen/Manifest
  56. +0
    -200
      dev-java/jaxen/files/jaxen-1.1.4_maven1-build.xml
  57. +0
    -51
      dev-java/jaxen/jaxen-1.1.4-r1.ebuild
  58. +0
    -64
      dev-java/jdom/jdom-2.0.6-r4.ebuild
  59. +1
    -1
      dev-java/jflex/jflex-1.6.1-r1.ebuild
  60. +0
    -1
      dev-java/joda-time/Manifest
  61. +0
    -262
      dev-java/joda-time/files/joda-time-2.7-build.xml
  62. +0
    -61
      dev-java/joda-time/joda-time-2.7-r1.ebuild
  63. +1
    -1
      dev-java/log4j/log4j-1.2.17-r3.ebuild
  64. +1
    -1
      dev-java/objenesis-test/objenesis-test-3.2.ebuild
  65. +1
    -1
      dev-java/objenesis/objenesis-3.2.ebuild
  66. +1
    -1
      dev-java/oracle-javamail/oracle-javamail-1.5.6-r1.ebuild
  67. +1
    -1
      dev-java/poi/poi-5.0.0.ebuild
  68. +1
    -1
      dev-java/slf4j-api/slf4j-api-1.7.30-r1.ebuild
  69. +0
    -1
      dev-java/snakeyaml/Manifest
  70. +0
    -50
      dev-java/snakeyaml/snakeyaml-1.16.ebuild
  71. +1
    -1
      dev-java/sparsebitset/sparsebitset-1.2.ebuild
  72. +1
    -1
      dev-java/sun-jms/sun-jms-1.1-r2.ebuild
  73. +7
    -5
      dev-java/swt/swt-4.10-r1.ebuild
  74. +1
    -1
      dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.108.ebuild
  75. +1
    -1
      dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.65.ebuild
  76. +1
    -1
      dev-java/tomcat-servlet-api/tomcat-servlet-api-9.0.45.ebuild
  77. +0
    -3
      dev-java/xom/Manifest
  78. +0
    -49
      dev-java/xom/files/xom-1.2.6.patch
  79. +0
    -18
      dev-java/xom/files/xom-strip-fallback-parser.patch
  80. +0
    -79
      dev-java/xom/xom-1.2.10.ebuild
  81. +0
    -42
      dev-java/xom/xom-1.3.2.ebuild
  82. BIN
      dev-lang/Manifest.gz
  83. +0
    -4
      dev-lang/moarvm/metadata.xml
  84. +0
    -4
      dev-lang/nqp/metadata.xml
  85. +2
    -1
      dev-lang/perl/Manifest
  86. +2
    -2
      dev-lang/perl/perl-5.34.0_rc2.ebuild
  87. +0
    -4
      dev-lang/rakudo/metadata.xml
  88. BIN
      dev-libs/Manifest.gz
  89. +2
    -2
      dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild
  90. +1
    -1
      dev-libs/libfstrcmp/libfstrcmp-0.7-r1.ebuild
  91. +1
    -1
      dev-libs/libudfread/libudfread-1.1.1.ebuild
  92. +1
    -0
      dev-libs/nss/Manifest
  93. +357
    -0
      dev-libs/nss/nss-3.65.ebuild
  94. +1
    -1
      dev-libs/protobuf/protobuf-3.15.8.ebuild
  95. +1
    -1
      dev-libs/simdjson/simdjson-0.9.2.ebuild
  96. BIN
      dev-ml/Manifest.gz
  97. +1
    -1
      dev-ml/alcotest/alcotest-1.2.3-r3.ebuild
  98. +1
    -1
      dev-ml/astring/astring-0.8.5.ebuild
  99. +1
    -1
      dev-ml/async_kernel/async_kernel-0.14.0.ebuild
  100. +1
    -1
      dev-ml/async_unix/async_unix-0.14.0.ebuild

BIN
Manifest.files.gz View File


BIN
acct-group/Manifest.gz View File


+ 0
- 0
acct-group/vnstat/Manifest View File


+ 8
- 0
acct-group/vnstat/metadata.xml View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sam@gentoo.org</email>
<name>Sam James</name>
</maintainer>
</pkgmetadata>

+ 9
- 0
acct-group/vnstat/vnstat-0.ebuild View File

@@ -0,0 +1,9 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit acct-group

DESCRIPTION="Group for vnstat network monitoring"
ACCT_GROUP_ID=229

BIN
acct-user/Manifest.gz View File


+ 0
- 0
acct-user/vnstat/Manifest View File


+ 8
- 0
acct-user/vnstat/metadata.xml View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sam@gentoo.org</email>
<name>Sam James</name>
</maintainer>
</pkgmetadata>

+ 12
- 0
acct-user/vnstat/vnstat-0.ebuild View File

@@ -0,0 +1,12 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit acct-user

DESCRIPTION="User for vnstat network monitoring"
ACCT_USER_ID=229
ACCT_USER_GROUPS=( vnstat )

acct-user_add_deps

BIN
app-accessibility/Manifest.gz View File


+ 0
- 103
app-accessibility/caribou/caribou-0.4.21-r2.ebuild View File

@@ -1,103 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

GNOME2_LA_PUNT="yes"

PYTHON_COMPAT=( python3_{7..9} )

PYTHON_REQ_USE="xml"

inherit gnome2 python-r1 vala

DESCRIPTION="Input assistive technology intended for switch and pointer users"
HOMEPAGE="https://wiki.gnome.org/Projects/Caribou"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"

IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

COMMON_DEPEND="
app-accessibility/at-spi2-core
>=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
>=x11-libs/gtk+-3:3[introspection]
x11-libs/gtk+:2
>=dev-libs/gobject-introspection-0.10.7:=
dev-libs/libgee:0.8
dev-libs/libxml2
>=media-libs/clutter-1.5.11:1.0[introspection]
x11-libs/libX11
x11-libs/libxklavier
x11-libs/libXtst
${PYTHON_DEPS}
$(vala_depend)
"
# gsettings-desktop-schemas is needed for the 'toolkit-accessibility' key
# pyatspi-2.1.90 needed to run caribou if pygobject:3 is installed
# librsvg needed to load svg images in css styles
RDEPEND="${COMMON_DEPEND}
dev-libs/glib[dbus]
>=dev-python/pyatspi-2.1.90[${PYTHON_USEDEP}]
>=gnome-base/gsettings-desktop-schemas-3
gnome-base/librsvg:2
sys-apps/dbus
!<x11-base/xorg-server-1.20.10
"
DEPEND="${COMMON_DEPEND}
dev-libs/libxslt
>=dev-util/intltool-0.35.5
virtual/pkgconfig
"

PATCHES=(
"${FILESDIR}/${PN}-fix-compilation-error.patch"
"${FILESDIR}/${PN}-fix-subkey-popmenu.patch"
"${FILESDIR}/${PN}-fix-xadapter-xkb-calls.patch"
"${FILESDIR}/${PN}-fix-antler-style-css.patch"
)

src_prepare() {
# FIXME: Now this supports python3 too...
# delete custom PYTHONPATH, useless on Gentoo and potential bug source
# + caribou is python2 only so fix the shell scripts
# sed -e '/export PYTHONPATH=.*python/ d' \
# -e "s:@PYTHON@:${EPREFIX}/usr/bin/python2:" \
# -i bin/{antler-keyboard,caribou-preferences}.in ||
# die "sed failed"

vala_src_prepare
gnome2_src_prepare

prepare_caribou() {
mkdir -p "${BUILD_DIR}" || die
}
python_foreach_impl prepare_caribou
}

src_configure() {
ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir \
gnome2_src_configure \
--disable-docs \
--disable-static \
--enable-gtk3-module \
--enable-gtk2-module
}

src_compile() {
python_foreach_impl run_in_build_dir gnome2_src_compile
}

src_test() {
python_foreach_impl run_in_build_dir default
}

src_install() {
python_foreach_impl run_in_build_dir gnome2_src_install

# https://bugzilla.gnome.org/show_bug.cgi?id=769323
dodoc AUTHORS NEWS README # ChangeLog simply points to git log
}

+ 1
- 1
app-accessibility/caribou/caribou-0.4.21-r3.ebuild View File

@@ -15,7 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"

COMMON_DEPEND="
${PYTHON_DEPS}


BIN
app-admin/Manifest.gz View File


+ 1
- 1
app-admin/xstow/xstow-1.0.2.ebuild View File

@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/xstow/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="amd64 ppc ~x86"
IUSE="ncurses"

DEPEND="ncurses? ( sys-libs/ncurses:0= )"


BIN
app-editors/Manifest.gz View File


+ 8
- 2
app-editors/emacs/emacs-28.0.9999.ebuild View File

@@ -40,7 +40,7 @@ DESCRIPTION="The extensible, customizable, self-documenting real-time display ed
HOMEPAGE="https://www.gnu.org/software/emacs/"

LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp gpm gsettings gtk gui gzip-el harfbuzz imagemagick +inotify jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int Xaw3d xft +xpm xwidgets zlib"
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp gpm gsettings gtk gui gzip-el harfbuzz imagemagick +inotify jit jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int Xaw3d xft +xpm xwidgets zlib"
RESTRICT="test"

RDEPEND="app-emacs/emacs-common[games?,gui(-)?]
@@ -52,6 +52,7 @@ RDEPEND="app-emacs/emacs-common[games?,gui(-)?]
gmp? ( dev-libs/gmp:0= )
gpm? ( sys-libs/gpm )
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
jit? ( sys-devel/gcc:=[jit(-)] )
json? ( dev-libs/jansson )
kerberos? ( virtual/krb5 )
lcms? ( media-libs/lcms:2 )
@@ -140,6 +141,10 @@ src_prepare() {
|| die "Upstream version number changed to ${FULL_VERSION}"
fi

# These files ignore LDFLAGS. We assign the variable here, because
# for live ebuilds FULL_VERSION doesn't exist in global scope
use jit && QA_FLAGS_IGNORED="usr/$(get_libdir)/emacs/${FULL_VERSION}/native-lisp/.*"

eapply_user

# Fix filename reference in redirected man page
@@ -261,6 +266,7 @@ src_configure() {
$(use_with games gameuser ":gamestat") \
$(use_with gmp libgmp) \
$(use_with gpm) \
$(use_with jit native-compilation) \
$(use_with json) \
$(use_with kerberos) $(use_with kerberos kerberos5) \
$(use_with lcms lcms2) \
@@ -310,7 +316,7 @@ src_install() {
# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el || die
rm -rf "${ED}"/usr/share/{appdata,applications,icons} || die
rm -rf "${ED}/usr/$(get_libdir)" || die
rm -rf "${ED}/usr/$(get_libdir)/systemd" || die
rm -rf "${ED}"/var || die

# remove unused <version>/site-lisp dir


+ 2
- 0
app-editors/emacs/metadata.xml View File

@@ -38,6 +38,8 @@
engine</flag>
<flag name="imagemagick">Use <pkg>media-gfx/imagemagick</pkg> for image
processing</flag>
<flag name="jit">Compile with Emacs Lisp native compiler support via
libgccjit</flag>
<flag name="json">Compile with native JSON support using
<pkg>dev-libs/jansson</pkg></flag>
<flag name="libxml2">Use <pkg>dev-libs/libxml2</pkg> to parse XML instead


+ 1
- 1
app-editors/nano/nano-5.6.1.ebuild View File

@@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then
else
MY_P="${PN}-${PV/_}"
SRC_URI="https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi

DESCRIPTION="GNU GPL'd Pico clone with more functionality"


+ 1
- 1
app-editors/vis/vis-0.7.ebuild View File

@@ -14,7 +14,7 @@ SRC_URI="https://github.com/martanne/vis/releases/download/v${PV}/${P}.tar.gz
test? ( https://github.com/martanne/vis-test/releases/download/v${MY_PTV}/vis-test-${MY_PTV}.tar.gz )"
LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
KEYWORDS="amd64 arm x86"
IUSE="+ncurses +lua selinux test tre"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
RESTRICT="!test? ( test )"


BIN
app-emulation/Manifest.gz View File


+ 1
- 1
app-emulation/docker-credential-helpers/docker-credential-helpers-0.6.3.ebuild View File

@@ -13,7 +13,7 @@ SLOT="0"
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
KEYWORDS="amd64 ~arm64"
KEYWORDS="amd64 arm64"
EGIT_COMMIT="v${PV}"
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
inherit golang-vcs-snapshot


+ 2
- 0
app-emulation/libvirt/Manifest View File

@@ -4,3 +4,5 @@ DIST libvirt-7.1.0.tar.xz 8645944 BLAKE2B 97a76091616b427fc64a6a3caf5d9b04d7b9ae
DIST libvirt-7.1.0.tar.xz.asc 833 BLAKE2B 2610cff98967260a5005840e1b03cff16790da82d9a51f14d6b34453db3ba89aa34915bba69d57b333f50d17e2492c77e85ee4e6282b8fe5f4cd0f7ace638334 SHA512 6c92c91bc7f23b32deee3442008b44d6469a9cabf2ed39459afcbfce9b3f2b1b655514a068c4bcdc8909ba02a0a4762e8f845ae4dba8da18719acf45614ca6da
DIST libvirt-7.2.0.tar.xz 8661052 BLAKE2B eae6b4e7422690dd780e1647e2a39dfdff0562f3e63bce9ca5ee34540dec3755269efaad459d1b516b56fdeb1503cc966ffa60378aaa18210b972b739716fe34 SHA512 f6bb26ca7cb5a8d342f1f39afd051ed76b71414e1b934557cf50784da17e4f2fb3301c2ace3b593fcdeb6a18ad559a007ad594111c2c348b9157d3a59d475928
DIST libvirt-7.2.0.tar.xz.asc 833 BLAKE2B c389d80ef4f7627230b88446ef77daab1bf34e49e20cfb5c5418500fdf388af23aeb2458551548cb732c868f87f35a5c28acff8c01faebe985a6953953a69149 SHA512 526955a9f9d294635e63a4ed20c3e478fb4b5f3a63150a59ff30d84ad16a286ddb4c6508d0317c56df63a0d22a099085697df344fe2b15bce07acf9f05cda331
DIST libvirt-7.3.0.tar.xz 8680468 BLAKE2B 88ad3dbac627203419eb80b28649613480a287014688b5b75b9a18d60b3d2b2c6628c803384ce0eed81bf84cdc0dd8539b072f32ccf0319f09bebaaeb0e089bf SHA512 e039d5cc000c0f29ead4faddf154852ee8d8b5943e940b717eabb33cc9990d3f257a942b05a661bf6c36df5b5763c31df3f8b5a0fc21e8111a81c57da42d903e
DIST libvirt-7.3.0.tar.xz.asc 833 BLAKE2B 812a7cf4bcaef88a4229008579a18da19d78b0a988890359907e4067b5eb6d74176907875a3a27775ffabaf29fb4d0e92c7f2ec13042ef8657c09ad6b287984d SHA512 f5349bb6c7919b54518a2ffc058592fb588045d37d18dfce5efb7e2f512c2a19b0f956d6ee34a16982cdaec4c23954300f7e130656afeb3cf535c65a0d62c04e

+ 326
- 0
app-emulation/libvirt/libvirt-7.3.0.ebuild View File

@@ -0,0 +1,326 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

PYTHON_COMPAT=( python3_{7,8,9} )

inherit meson bash-completion-r1 linux-info python-any-r1 readme.gentoo-r1 tmpfiles verify-sig

if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt.git"
SRC_URI=""
SLOT="0"
else
SRC_URI="https://libvirt.org/sources/${P}.tar.xz
verify-sig? ( https://libvirt.org/sources/${P}.tar.xz.asc )"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
SLOT="0/${PV}"
fi

DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="https://www.libvirt.org/ https://gitlab.com/libvirt/libvirt/"
LICENSE="LGPL-2.1"
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libvirt.org.asc
IUSE="
apparmor audit bash-completion +caps dtrace firewalld fuse glusterfs
iscsi iscsi-direct +libvirtd lvm libssh lxc nfs nls numa openvz
parted pcap policykit +qemu rbd sasl selinux +udev
virtualbox +virt-network wireshark-plugins xen zfs
"

REQUIRED_USE="
firewalld? ( virt-network )
libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
lxc? ( caps libvirtd )
openvz? ( libvirtd )
qemu? ( libvirtd )
virt-network? ( libvirtd )
virtualbox? ( libvirtd )
xen? ( libvirtd )"

BDEPEND="
app-text/xhtml1
dev-lang/perl
dev-libs/libxslt
dev-perl/XML-XPath
dev-python/docutils
virtual/pkgconfig
bash-completion? ( >=app-shells/bash-completion-2.0 )
verify-sig? ( app-crypt/openpgp-keys-libvirt )"

# gettext.sh command is used by the libvirt command wrappers, and it's
# non-optional, so put it into RDEPEND.
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
# package will use 3 by default. Since we don't have slot pinning in an API,
# we must go with the most recent
RDEPEND="
acct-user/qemu
app-misc/scrub
>=dev-libs/glib-2.48.0
dev-libs/libgcrypt:0
dev-libs/libnl:3
>=dev-libs/libxml2-2.7.6
>=net-analyzer/openbsd-netcat-1.105-r1
>=net-libs/gnutls-1.0.25:0=
net-libs/libssh2
net-libs/libtirpc
net-libs/rpcsvc-proto
>=net-misc/curl-7.18.0
sys-apps/dbus
sys-apps/dmidecode
sys-devel/gettext
sys-libs/ncurses:0=
sys-libs/readline:=
virtual/acl
apparmor? ( sys-libs/libapparmor )
audit? ( sys-process/audit )
caps? ( sys-libs/libcap-ng )
dtrace? ( dev-util/systemtap )
firewalld? ( >=net-firewall/firewalld-0.6.3 )
fuse? ( sys-fs/fuse:0= )
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
iscsi? ( sys-block/open-iscsi )
iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
libssh? ( net-libs/libssh )
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] )
lxc? ( !sys-apps/systemd[cgroup-hybrid(-)] )
nfs? ( net-fs/nfs-utils )
numa? (
>sys-process/numactl-2.0.2
sys-process/numad
)
parted? (
>=sys-block/parted-1.8[device-mapper]
sys-fs/lvm2[-device-mapper-only(-)]
)
pcap? ( >=net-libs/libpcap-1.0.0 )
policykit? (
acct-group/libvirt
>=sys-auth/polkit-0.9
)
qemu? (
>=app-emulation/qemu-2.11
dev-libs/yajl
)
rbd? ( sys-cluster/ceph )
sasl? ( dev-libs/cyrus-sasl )
selinux? ( >=sys-libs/libselinux-2.0.85 )
virt-network? (
net-dns/dnsmasq[dhcp,ipv6,script]
net-firewall/ebtables
>=net-firewall/iptables-1.4.10[ipv6]
net-misc/radvd
sys-apps/iproute2[-minimal]
)
wireshark-plugins? ( net-analyzer/wireshark:= )
xen? (
>=app-emulation/xen-4.6.0
app-emulation/xen-tools:=
)
udev? (
virtual/libudev
>=x11-libs/libpciaccess-0.10.9
)
zfs? ( sys-fs/zfs )"

DEPEND="${BDEPEND}
${RDEPEND}
${PYTHON_DEPS}"

PATCHES=(
"${FILESDIR}"/${PN}-6.0.0-fix_paths_in_libvirt-guests_sh.patch
"${FILESDIR}"/${PN}-6.7.0-do-not-use-sysconfig.patch
"${FILESDIR}"/${PN}-6.7.0-fix-paths-for-apparmor.patch
)

pkg_setup() {
# Check kernel configuration:
CONFIG_CHECK=""
use fuse && CONFIG_CHECK+="
~FUSE_FS"

use lvm && CONFIG_CHECK+="
~BLK_DEV_DM
~DM_MULTIPATH
~DM_SNAPSHOT"

use lxc && CONFIG_CHECK+="
~BLK_CGROUP
~CGROUP_CPUACCT
~CGROUP_DEVICE
~CGROUP_FREEZER
~CGROUP_NET_PRIO
~CGROUP_PERF
~CGROUPS
~CGROUP_SCHED
~CPUSETS
~IPC_NS
~MACVLAN
~NAMESPACES
~NET_CLS_CGROUP
~NET_NS
~PID_NS
~POSIX_MQUEUE
~SECURITYFS
~USER_NS
~UTS_NS
~VETH
~!GRKERNSEC_CHROOT_MOUNT
~!GRKERNSEC_CHROOT_DOUBLE
~!GRKERNSEC_CHROOT_PIVOT
~!GRKERNSEC_CHROOT_CHMOD
~!GRKERNSEC_CHROOT_CAPS"

kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
~DEVPTS_MULTIPLE_INSTANCES"

use virt-network && CONFIG_CHECK+="
~BRIDGE_EBT_MARK_T
~BRIDGE_NF_EBTABLES
~NETFILTER_ADVANCED
~NETFILTER_XT_CONNMARK
~NETFILTER_XT_MARK
~NETFILTER_XT_TARGET_CHECKSUM
~IP_NF_FILTER
~IP_NF_MANGLE
~IP_NF_NAT
~IP_NF_TARGET_MASQUERADE
~IP6_NF_FILTER
~IP6_NF_MANGLE
~IP6_NF_NAT"
# Bandwidth Limiting Support
use virt-network && CONFIG_CHECK+="
~BRIDGE_EBT_T_NAT
~IP_NF_TARGET_REJECT
~NET_ACT_POLICE
~NET_CLS_FW
~NET_CLS_U32
~NET_SCH_HTB
~NET_SCH_INGRESS
~NET_SCH_SFQ"

ERROR_USER_NS="Optional depending on LXC configuration."

if [[ -n ${CONFIG_CHECK} ]]; then
linux-info_pkg_setup
fi

python-any-r1_pkg_setup
}

src_prepare() {
touch "${S}/.mailmap" || die

default
python_fix_shebang .

# Tweak the init script:
cp "${FILESDIR}/libvirtd.init-r19" "${S}/libvirtd.init" || die
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
-i "${S}/libvirtd.init" || die "sed failed"
}

src_configure() {
local emesonargs=(
$(meson_feature apparmor)
$(meson_use apparmor apparmor_profiles)
$(meson_feature audit)
$(meson_feature caps capng)
$(meson_feature dtrace)
$(meson_feature firewalld)
$(meson_feature fuse)
$(meson_feature glusterfs)
$(meson_feature glusterfs storage_gluster)
$(meson_feature iscsi storage_iscsi)
$(meson_feature iscsi-direct storage_iscsi_direct)
$(meson_feature libvirtd driver_libvirtd)
$(meson_feature libssh)
$(meson_feature lvm storage_lvm)
$(meson_feature lvm storage_mpath)
$(meson_feature lxc driver_lxc)
$(meson_feature nls)
$(meson_feature numa numactl)
$(meson_feature numa numad)
$(meson_feature openvz driver_openvz)
$(meson_feature parted storage_disk)
$(meson_feature pcap libpcap)
$(meson_feature policykit polkit)
$(meson_feature qemu driver_qemu)
$(meson_feature qemu yajl)
$(meson_feature rbd storage_rbd)
$(meson_feature sasl)
$(meson_feature selinux)
$(meson_feature udev)
$(meson_feature virt-network driver_network)
$(meson_feature virtualbox driver_vbox)
$(meson_feature wireshark-plugins wireshark_dissector)
$(meson_feature xen driver_libxl)
$(meson_feature zfs storage_zfs)

-Dnetcf=disabled
-Dsanlock=disabled

-Ddriver_esx=enabled
-Dinit_script=systemd
-Dqemu_user=$(usex caps qemu root)
-Dqemu_group=$(usex caps qemu root)
-Ddriver_remote=enabled
-Dstorage_fs=enabled
-Ddriver_vmware=enabled

--localstatedir="${EPREFIX}/var"
-Drunstatedir="${EPREFIX}/run"
-Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
)

meson_src_configure
}

src_test() {
export VIR_TEST_DEBUG=1
meson_src_test
}

src_install() {
meson_src_install

# Depending on configuration option, libvirt will create some bogus
# directoreis. They are either not used, or libvirtd is able to create
# them on demand, so let's remove them.
#
# Note, we are using -f here so that rm does not fail or warn if the
# directory is nonexistent.
rm -rf "${D}"/etc/sysconfig
rm -rf "${D}"/var
rm -rf "${D}"/run

use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!

newtmpfiles "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf

newinitd "${S}/libvirtd.init" libvirtd
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
newinitd "${FILESDIR}/virtlockd.init-r2" virtlockd
newinitd "${FILESDIR}/virtlogd.init-r2" virtlogd

newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests

DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r3")
DISABLE_AUTOFORMATTING=true
readme.gentoo_create_doc
}

pkg_postinst() {
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml || die
fi

use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!

readme.gentoo_print_elog
}

+ 8
- 8
app-emulation/libvirt/libvirt-9999.ebuild View File

@@ -5,7 +5,7 @@ EAPI=7

PYTHON_COMPAT=( python3_{7,8,9} )

inherit meson bash-completion-r1 linux-info python-any-r1 readme.gentoo-r1 tmpfiles
inherit meson bash-completion-r1 linux-info python-any-r1 readme.gentoo-r1 tmpfiles verify-sig

if [[ ${PV} = *9999* ]]; then
inherit git-r3
@@ -22,9 +22,10 @@ fi
DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="https://www.libvirt.org/ https://gitlab.com/libvirt/libvirt/"
LICENSE="LGPL-2.1"
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libvirt.org.asc
IUSE="
apparmor audit +caps dtrace firewalld fuse glusterfs iscsi
iscsi-direct +libvirtd lvm libssh lxc nfs nls numa openvz
apparmor audit bash-completion +caps dtrace firewalld fuse glusterfs
iscsi iscsi-direct +libvirtd lvm libssh lxc nfs nls numa openvz
parted pcap policykit +qemu rbd sasl selinux +udev
virtualbox +virt-network wireshark-plugins xen zfs
"
@@ -45,7 +46,9 @@ BDEPEND="
dev-libs/libxslt
dev-perl/XML-XPath
dev-python/docutils
virtual/pkgconfig"
virtual/pkgconfig
bash-completion? ( >=app-shells/bash-completion-2.0 )
verify-sig? ( app-crypt/openpgp-keys-libvirt )"

# gettext.sh command is used by the libvirt command wrappers, and it's
# non-optional, so put it into RDEPEND.
@@ -98,7 +101,7 @@ RDEPEND="
>=sys-auth/polkit-0.9
)
qemu? (
>=app-emulation/qemu-1.5.0
>=app-emulation/qemu-2.11
dev-libs/yajl
)
rbd? ( sys-cluster/ceph )
@@ -293,9 +296,6 @@ src_install() {
rm -rf "${D}"/var
rm -rf "${D}"/run

newbashcomp "${BUILD_DIR}/tools/bash-completion/virsh" virsh
newbashcomp "${BUILD_DIR}/tools/bash-completion/virt-admin" virt-admin

use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!



+ 1
- 0
app-emulation/qemu-guest-agent/Manifest View File

@@ -1,2 +1,3 @@
DIST qemu-4.2.0.tar.xz 62222068 BLAKE2B 27c9fbcd5093af425764674817ab9299224bd03f37b5983786f6f437fff1fab3b7da247c55c4ca8b8c42726b9867005944a2f7f04f2d0d94d753961615f901ef SHA512 2a79973c2b07c53e8c57a808ea8add7b6b2cbca96488ed5d4b669ead8c9318907dec2b6109f180fc8ca8f04c0f73a56e82b3a527b5626b799d7e849f2474ec56
DIST qemu-5.0.0.tar.xz 62426192 BLAKE2B 785d02ef79c95b5c4f0556186054885f9893d4e8a9f4b4f2d6199a4e1ae9c31d7c79dd900305469217f85d61bbe74134b601d5c6c1b0eee2b74792d010f1fd63 SHA512 21ef0cbe107c468a40f0fa2635db2a40048c8790b629dfffca5cd62bb1b502ea8eb133bfc40df5ecf1489e2bffe87f6829aee041cb8a380ff04a8afa23b39fcf
DIST qemu-6.0.0.tar.xz 107333232 BLAKE2B 7746329d3e13782b7c346ce4052cc517cfc65cd9b2d514d199e4d5b8570ca79566ec04b0c114db2e97c84e68eb551e0d4cdce1b14b91a88fe08d2a5f682c1418 SHA512 ee3ff00aebec4d8891d2ff6dabe4e667e510b2a4fe3f6190aa34673a91ea32dcd2db2e9bf94c2f1bf05aa79788f17cfbbedc6027c0988ea08a92587b79ee05e4

+ 1
- 1
app-emulation/qemu-guest-agent/qemu-guest-agent-5.0.0.ebuild View File

@@ -11,7 +11,7 @@ MY_PN="qemu"
MY_P="${MY_PN}-${PV}"

SRC_URI="http://wiki.qemu.org/download/${MY_P}.tar.xz"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
KEYWORDS="amd64 ~ppc ~ppc64 ~x86"

DESCRIPTION="QEMU Guest Agent (qemu-ga) for use when running inside a VM"
HOMEPAGE="https://wiki.qemu.org/Features/GuestAgent"


+ 74
- 0
app-emulation/qemu-guest-agent/qemu-guest-agent-6.0.0.ebuild View File

@@ -0,0 +1,74 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="7"

PYTHON_COMPAT=( python3_{7,8} )

inherit systemd toolchain-funcs udev python-any-r1

MY_PN="qemu"
MY_P="${MY_PN}-${PV}"

SRC_URI="http://wiki.qemu.org/download/${MY_P}.tar.xz"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"

DESCRIPTION="QEMU Guest Agent (qemu-ga) for use when running inside a VM"
HOMEPAGE="https://wiki.qemu.org/Features/GuestAgent"

LICENSE="GPL-2 BSD-2"
SLOT="0"
IUSE=""

RDEPEND="dev-libs/glib"

DEPEND="${RDEPEND}
${PYTHON_DEPS}"

S="${WORKDIR}/${MY_P}"

src_configure() {
tc-export AR LD OBJCOPY RANLIB

local myconf=(
--prefix=/usr
--sysconfdir=/etc
--libdir="/usr/$(get_libdir)"
--localstatedir=/
--disable-bsd-user
--disable-linux-user
--disable-system
--disable-strip
--enable-tools
--disable-werror
--enable-guest-agent
--python="${PYTHON}"
--cc="$(tc-getCC)"
--cxx="$(tc-getCXX)"
--host-cc="$(tc-getBUILD_CC)"
)
echo "./configure ${myconf[*]}"
./configure "${myconf[@]}" || die
}

src_install() {
dobin build/qga/qemu-ga

# Normal init stuff
newinitd "${FILESDIR}/qemu-ga.init-r1" qemu-guest-agent
newconfd "${FILESDIR}/qemu-ga.conf-r1" qemu-guest-agent

insinto /etc/logrotate.d
newins "${FILESDIR}/qemu-ga.logrotate" qemu-guest-agent

# systemd stuff
udev_newrules "${FILESDIR}/qemu-ga-systemd.udev" 99-qemu-guest-agent.rules

systemd_newunit "${FILESDIR}/qemu-ga-systemd.service" \
qemu-guest-agent.service
}

pkg_postinst() {
elog "You should add 'qemu-guest-agent' to the default runlevel."
elog "e.g. rc-update add qemu-guest-agent default"
}

+ 1
- 1
app-emulation/qemu/qemu-5.2.0-r50.ebuild View File

@@ -24,7 +24,7 @@ if [[ ${PV} = *9999* ]]; then
SRC_URI=""
else
SRC_URI="https://download.qemu.org/${P}.tar.xz"
KEYWORDS="~amd64 arm64 ~ppc ~ppc64 ~x86"
KEYWORDS="~amd64 arm64 ~ppc ppc64 ~x86"
fi

DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"


BIN
app-misc/Manifest.gz View File


+ 1
- 1
app-misc/task/task-2.5.3.ebuild View File

@@ -12,7 +12,7 @@ SRC_URI="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
KEYWORDS="amd64 ~arm ~x86 ~x64-macos"
IUSE="+sync"

DEPEND="


BIN
app-text/Manifest.gz View File


+ 1
- 1
app-text/asciidoc/asciidoc-9.0.4-r1.ebuild View File

@@ -13,7 +13,7 @@ SRC_URI="https://github.com/asciidoc-py/asciidoc-py/releases/download/${PV}/${P}

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"



app-text/barcode/barcode-0.99.ebuild → app-text/barcode/barcode-0.99-r1.ebuild View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
@@ -14,7 +14,10 @@ KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
RDEPEND="app-text/libpaper"
DEPEND="${RDEPEND}"

PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
PATCHES=(
"${FILESDIR}"/${P}-fno-common.patch
"${FILESDIR}"/${P}-install-static-lib.patch
)

src_prepare() {
sed -i -e '/^LDFLAGS =/s:=:+=:' \
@@ -25,3 +28,7 @@ src_prepare() {

default
}

src_configure() {
econf --disable-shared
}

+ 13
- 0
app-text/barcode/files/barcode-0.99-install-static-lib.patch View File

@@ -0,0 +1,13 @@
--- barcode-0.99_orig/Makefile.am 2020-12-06 15:39:43.270943391 +0100
+++ barcode-0.99/Makefile.am 2020-12-06 15:40:26.723942515 +0100
@@ -25,7 +25,9 @@
bin_PROGRAMS = barcode sample
-noinst_LTLIBRARIES = libbarcode.la
+lib_LTLIBRARIES = libbarcode.la
+
+include_HEADERS = barcode.h lib/gettext.h
ACLOCAL_AMFLAGS = -I m4

app-text/jabref/jabref-2.10-r4.ebuild → app-text/jabref/jabref-2.10-r5.ebuild View File

@@ -1,11 +1,11 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5
EAPI=7

JAVA_ANT_REWRITE_CLASSPATH="true"

inherit eutils java-pkg-2 java-ant-2 java-utils-2
inherit desktop java-pkg-2 java-ant-2 java-utils-2

MY_PV="${PV/_beta/b}"

@@ -30,11 +30,11 @@ COMMON_DEP="
"

DEPEND="
>=virtual/jdk-1.6
>=virtual/jdk-1.8:*
${COMMON_DEP}"

RDEPEND="
>=virtual/jre-1.6
>=virtual/jre-1.8:*
${COMMON_DEP}"

S="${WORKDIR}/${PN}-${MY_PV}"

BIN
dev-cpp/Manifest.gz View File


+ 1
- 1
dev-cpp/eigen/eigen-3.3.9.ebuild View File

@@ -12,7 +12,7 @@ SRC_URI="https://gitlab.com/lib${PN}/${PN}/-/archive/${PV}/${P}.tar.gz"

LICENSE="MPL-2.0"
SLOT="3"
KEYWORDS="~amd64 ~arm ~arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="cpu_flags_arm_neon cpu_flags_ppc_altivec cpu_flags_ppc_vsx cuda debug doc openmp test" #zvector

RESTRICT="!test? ( test )"


BIN
dev-go/Manifest.gz View File


+ 1
- 3
dev-go/godep/metadata.xml View File

@@ -1,9 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zmedico@gentoo.org</email>
</maintainer>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">tools/godep</remote-id>
</upstream>


BIN
dev-java/Manifest.gz View File


dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.15.ebuild → dev-java/ant-eclipse-ecj/ant-eclipse-ecj-4.15-r1.ebuild View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
@@ -21,10 +21,10 @@ IUSE=""
CDEPEND="~dev-java/eclipse-ecj-${PV}:${SLOT}
dev-java/ant-core:0"
RDEPEND="${CDEPEND}
>=virtual/jre-11"
>=virtual/jre-11:*"
DEPEND="${CDEPEND}
app-arch/unzip
>=virtual/jdk-11"
>=virtual/jdk-11:*"
BDEPEND="app-arch/unzip"

JAVA_GENTOO_CLASSPATH="ant-core,eclipse-ecj-${SLOT}"


dev-java/antlr/antlr-2.7.7-r8.ebuild → dev-java/antlr/antlr-2.7.7-r9.ebuild View File

@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7

JAVA_PKG_IUSE="doc source"

@@ -10,13 +10,14 @@ inherit java-pkg-2 java-pkg-simple
DESCRIPTION="A parser generator for many languages"
HOMEPAGE="https://www.antlr2.org/"
SRC_URI="https://www.antlr2.org/download/${P}.tar.gz"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="examples"

RDEPEND=">=virtual/jre-1.6"
DEPEND=">=virtual/jdk-1.6"
RDEPEND=">=virtual/jre-1.8:*"
DEPEND=">=virtual/jdk-1.8:*"

S="${WORKDIR}/${P}"

@@ -43,5 +44,6 @@ src_install() {
use examples && java-pkg_doexamples examples/java
use source && java-pkg_dosrc antlr

# https://bugs.gentoo.org/789582
einstalldocs
}

dev-java/antlr/antlr-3.2.ebuild → dev-java/antlr/antlr-3.2-r1.ebuild View File

@@ -1,30 +1,38 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI=7

inherit epatch java-pkg-2 java-pkg-simple
JAVA_PKG_IUSE="doc test"

inherit java-pkg-2 java-pkg-simple

DESCRIPTION="A parser generator for many languages"
HOMEPAGE="https://www.antlr3.org/"
SRC_URI="https://www.antlr3.org/download/${P}.tar.gz
https://www.antlr3.org/download/${P}.jar" # Prebuilt version needed.

LICENSE="BSD"
SLOT="3"
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc test"
RESTRICT="!test? ( test )"

CDEPEND=">=dev-java/antlr-2.7.7-r7:0
dev-java/stringtemplate:0"

RDEPEND="${CDEPEND}
>=virtual/jre-1.6"
>=virtual/jre-1.8:*"

DEPEND="${CDEPEND}
>=virtual/jdk-1.6
>=virtual/jdk-1.8:*
test? ( dev-java/junit:4 )"

PATCHES=(
# These fixes have been applied in 3.5.
"${FILESDIR}/${PV}-test-fixes.patch"
"${FILESDIR}/${PV}-java-8.patch"
)

S="${WORKDIR}/${P}"
JAVA_GENTOO_CLASSPATH_EXTRA="${S}/${PN}-runtime.jar"
JAVA_GENTOO_CLASSPATH="antlr,stringtemplate"
@@ -33,13 +41,10 @@ src_unpack() {
unpack ${P}.tar.gz
}

java_prepare() {
src_prepare() {
default
java-pkg_clean

# These fixes have been applied in 3.5.
epatch "${FILESDIR}/${PV}-test-fixes.patch"
epatch "${FILESDIR}/${PV}-java-8.patch"

# Some tests fail under Java 8 in ways that probably aren't limited
# to the tests. This is bad but upstream is never going to update
# 3.2 even though other projects still rely on it. If any issues
@@ -54,7 +59,7 @@ java_prepare() {

src_compile() {
cd "${S}/runtime/Java/src/main" || die
JAVA_JAR_FILENAME="${S}/${PN}-runtime.jar" JAVA_PKG_IUSE="doc" java-pkg-simple_src_compile
JAVA_JAR_FILENAME="${S}/${PN}-runtime.jar" java-pkg-simple_src_compile

cd "${S}/tool/src/main" || die


+ 8
- 8
dev-java/antlr/files/3.2-test-fixes.patch View File

@@ -1,5 +1,5 @@
--- tool/src/test/java/org/antlr/test/BaseTest.java.orig 2010-11-30 01:54:04.000000000 +0000
+++ tool/src/test/java/org/antlr/test/BaseTest.java 2015-09-24 22:25:36.872191194 +0100
--- a/tool/src/test/java/org/antlr/test/BaseTest.java.orig 2010-11-30 01:54:04.000000000 +0000
+++ b/tool/src/test/java/org/antlr/test/BaseTest.java 2015-09-24 22:25:36.872191194 +0100
@@ -130,8 +130,8 @@
try {
Process process =
@@ -43,8 +43,8 @@
buf.append(line);
buf.append('\n');
line = in.readLine();
--- tool/src/test/java/org/antlr/test/TestTopologicalSort.java.orig 2009-09-23 19:36:14.000000000 +0100
+++ tool/src/test/java/org/antlr/test/TestTopologicalSort.java 2010-11-30 01:54:04.000000000 +0000
--- a/tool/src/test/java/org/antlr/test/TestTopologicalSort.java.orig 2009-09-23 19:36:14.000000000 +0100
+++ b/tool/src/test/java/org/antlr/test/TestTopologicalSort.java 2010-11-30 01:54:04.000000000 +0000
@@ -49,7 +49,7 @@
g.addEdge("F", "H");
g.addEdge("E", "F");
@@ -72,8 +72,8 @@
List nodes = g.sort();
String result = nodes.toString();
assertEquals(expecting, result);
--- tool/src/test/java/org/antlr/test/TestSemanticPredicates.java.orig 2009-09-23 19:36:12.000000000 +0100
+++ tool/src/test/java/org/antlr/test/TestSemanticPredicates.java 2015-12-05 13:52:05.923411552 +0000
--- a/tool/src/test/java/org/antlr/test/TestSemanticPredicates.java.orig 2009-09-23 19:36:12.000000000 +0100
+++ b/tool/src/test/java/org/antlr/test/TestSemanticPredicates.java 2015-12-05 13:52:05.923411552 +0000
@@ -731,19 +731,23 @@
"c : a\n" +
" | b\n" +
@@ -111,8 +111,8 @@
}
@Test
--- tool/src/test/java/org/antlr/test/TestAttributes.java.orig 2015-12-05 13:55:55.392843185 +0000
+++ tool/src/test/java/org/antlr/test/TestAttributes.java 2015-12-05 14:04:38.120599871 +0000
--- a/tool/src/test/java/org/antlr/test/TestAttributes.java.orig 2015-12-05 13:55:55.392843185 +0000
+++ b/tool/src/test/java/org/antlr/test/TestAttributes.java 2015-12-05 14:04:38.120599871 +0000
@@ -439,20 +439,15 @@
ErrorManager.setErrorListener(equeue);
Grammar g = new Grammar(


+ 1
- 1
dev-java/avalon-framework/avalon-framework-4.2.0-r2.ebuild View File

@@ -13,7 +13,7 @@ SRC_URI="mirror://apache/avalon/avalon-framework/source/${P}-src.tar.gz"

LICENSE="Apache-2.0"
SLOT="4.2"
KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE=""

CDEPEND="dev-java/avalon-logkit:2.0


+ 1
- 1
dev-java/avalon-logkit/avalon-logkit-2.1-r9.ebuild View File

@@ -13,7 +13,7 @@ DESCRIPTION="Easy-to-use Java logging toolkit"
HOMEPAGE="https://avalon.apache.org/closed.html"
SRC_URI="https://archive.apache.org/dist/excalibur/avalon-logkit/source/avalon-logkit-${PV}-src.tar.gz"

KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
LICENSE="Apache-2.0"
SLOT="2.0"
IUSE=""


+ 1
- 1
dev-java/commons-codec/commons-codec-1.15.ebuild View File

@@ -18,7 +18,7 @@ SRC_URI="mirror://apache/commons/codec/source/${P}-src.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ppc64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux"

# Compile dependencies
# POM: ${P}-src/pom.xml


+ 1
- 1
dev-java/commons-collections/commons-collections-4.1-r1.ebuild View File

@@ -15,7 +15,7 @@ DESCRIPTION="Extends the JCF classes with new interfaces, implementations and ut
HOMEPAGE="https://commons.apache.org/collections/"
SRC_URI="mirror://apache/${PN/-//}/source/${MY_P}-src.tar.gz"
LICENSE="Apache-2.0"
KEYWORDS="amd64 ~arm64 ppc64 x86"
KEYWORDS="amd64 arm64 ppc64 x86"
IUSE="test"
RESTRICT="!test? ( test )"



+ 1
- 1
dev-java/commons-io/commons-io-2.8.0.ebuild View File

@@ -16,7 +16,7 @@ HOMEPAGE="https://commons.apache.org/proper/commons-io/"
SRC_URI="mirror://apache/commons/io/source/${P}-src.tar.gz -> ${P}-sources.tar.gz"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"

DEPEND="
>=virtual/jdk-1.8:*


+ 1
- 1
dev-java/commons-lang/commons-lang-3.11-r1.ebuild View File

@@ -15,7 +15,7 @@ HOMEPAGE="https://commons.apache.org/lang"
SRC_URI="mirror://apache/commons/lang/source/${MY_P}-src.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="3.6"
KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"

CDEPEND="
dev-java/easymock:3.2


+ 1
- 1
dev-java/commons-logging/commons-logging-1.2-r3.ebuild View File

@@ -14,7 +14,7 @@ SRC_URI="mirror://apache/commons/logging/source/${P}-src.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="avalon-framework avalon-logkit log4j servletapi test"
RESTRICT="!test? ( test ) !servletapi? ( test )"



+ 1
- 1
dev-java/commons-math/commons-math-3.6.1-r1.ebuild View File

@@ -21,4 +21,4 @@ RDEPEND=">=virtual/jre-1.8:*"

LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"

+ 1
- 1
dev-java/easymock/easymock-3.3.1-r1.ebuild View File

@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="3.2"
KEYWORDS="amd64 ~arm64 ppc64 x86"
KEYWORDS="amd64 arm64 ppc64 x86"

CDEPEND="
dev-java/cglib:3


+ 1
- 1
dev-java/jackcess/jackcess-4.0.0.ebuild View File

@@ -18,7 +18,7 @@ SRC_URI="https://github.com/jahlborn/${PN}/archive/refs/tags/${P}.tar.gz -> ${P}

LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="amd64 ~arm64 ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"

# Common dependencies
# POM: pom.xml


+ 0
- 1
dev-java/jaxen/Manifest View File

@@ -1,3 +1,2 @@
DIST jaxen-1.1.4-src.tar.gz 268493 BLAKE2B ff51cf3b6507f19549ab864fa4cd53d0b2d0c34a21a944d22feed74d58fb71c0273f5b560cc9c02aa50748f672115e77fab24a2d986508841d6a0ba4b8911690 SHA512 11c1c744af030c50579f872d8c8bf437e48ab4a01e6dd34529f2d9039c154533edaa9b5a367a866e2b57f311f1111717be300db8f80423c5492be38e0cffc031
DIST jaxen-1.1.6.jar 409677 BLAKE2B 55e03939420c103fb5a6d323595ff0cb7653885eb9ba233fd581c5376d2ac90eecde7aa5576f602cdc459cfd9ba9e79c6bb5bfab3ed7805e717a21670a5748ee SHA512 979044fe959493eb6d66fa92b420251cd9c12414051ff6956d5835888a8999d4f337c18646c53806fc19203cef744f53b7597850cd2f695910c90df7a9725b48
DIST jaxen-1.2.0.tar.gz 282829 BLAKE2B 4d89d4fd3dfd8c4113fe7ecc05597ea9dd743d9c871f320936809016ae8cb3a3d4fb3f935de19463e6c99db1b67eff3545e909b707e81f4c0f114ec0f0e7bb97 SHA512 cecfc62eab1cf6586b28594855bd983679a932dbdc6cbdd07d85a9a9458e78b2e784dfd6287e6e87e4f4443239eefbeac59a7316dae53b818379daaccae56b53

+ 0
- 200
dev-java/jaxen/files/jaxen-1.1.4_maven1-build.xml View File

@@ -1,200 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--build.xml generated by maven from project.xml version 1.1.4
on date October 14 2012, time 0755-->
<project default="jar" name="jaxen" basedir=".">
<!--Load local and user build preferences-->
<property file="build.properties"></property>
<property file="${user.home}/build.properties"></property>
<!--Build properties-->
<property name="defaulttargetdir" value="${basedir}/target"></property>
<property name="libdir" value="${user.home}/.maven/repository"></property>
<property name="classesdir" value="${basedir}/target/classes"></property>
<property name="testclassesdir" value="${basedir}/target/test-classes"></property>
<property name="testreportdir" value="${basedir}/target/test-reports"></property>
<property name="distdir" value="${basedir}/dist"></property>
<property name="javadocdir" value="${basedir}/dist/docs/api"></property>
<property name="final.name" value="jaxen-1.1.4"></property>
<property name="proxy.host" value=""></property>
<property name="proxy.port" value=""></property>
<property name="proxy.username" value=""></property>
<property name="proxy.password" value=""></property>
<path id="build.classpath">
<pathelement location="${libdir}/dom4j/jars/dom4j-1.6.1.jar"></pathelement>
<pathelement location="${libdir}/jdom/jars/jdom-1.0.jar"></pathelement>
<pathelement location="${libdir}/xml-apis/jars/xml-apis-1.3.02.jar"></pathelement>
<pathelement location="${libdir}/xerces/jars/xercesImpl-2.6.2.jar"></pathelement>
<pathelement location="${libdir}/xom/jars/xom-1.0.jar"></pathelement>
<pathelement location="${libdir}/maven-plugins/plugins/maven-cobertura-plugin-1.3.jar"></pathelement>
<pathelement location="${libdir}/maven-plugins/plugins/maven-findbugs-plugin-1.3.1.jar"></pathelement>
</path>
<target name="init" description="o Initializes some properties">
<condition property="noget">
<equals arg2="only" arg1="${build.sysclasspath}"></equals>
</condition>
<!--Test if JUNIT is present in ANT classpath-->
<available property="Junit.present" classname="junit.framework.Test"></available>
<!--Test if user defined a proxy-->
<condition property="useProxy">
<and>
<isset property="proxy.host"></isset>
<not>
<equals trim="true" arg2="" arg1="${proxy.host}"></equals>
</not>
</and>
</condition>
</target>
<target name="compile" description="o Compile the code" depends="get-deps">
<mkdir dir="${classesdir}"></mkdir>
<javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
<src>
<pathelement location="${basedir}/src/java/main"></pathelement>
</src>
<classpath refid="build.classpath"></classpath>
</javac>
</target>
<target name="jar" description="o Create the jar" depends="compile,test">
<jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}"></jar>
</target>
<target name="clean" description="o Clean up the generated directories">
<delete dir="${defaulttargetdir}"></delete>
<delete dir="${distdir}"></delete>
</target>
<target name="dist" description="o Create a distribution" depends="jar, javadoc">
<mkdir dir="dist"></mkdir>
<copy todir="dist">
<fileset dir="${defaulttargetdir}" includes="*.jar"></fileset>
<fileset dir="${basedir}" includes="LICENSE*, README*"></fileset>
</copy>
</target>
<target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
<fail message="There were test failures."></fail>
</target>
<target name="internal-test" if="Junit.present" depends="junit-present,compile-tests">
<mkdir dir="${testreportdir}"></mkdir>
<junit dir="${basedir}" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
<sysproperty key="basedir" value="."></sysproperty>
<formatter type="xml"></formatter>
<formatter usefile="false" type="plain"></formatter>
<classpath>
<path refid="build.classpath"></path>
<pathelement path="${testclassesdir}"></pathelement>
<pathelement path="${classesdir}"></pathelement>
</classpath>
<batchtest todir="${testreportdir}">
<fileset dir="${basedir}/src/java/test">
<include name="**/*Test.java"></include>
</fileset>
</batchtest>
</junit>
</target>
<target name="junit-present" unless="Junit.present" depends="init">
<echo>================================= WARNING ================================</echo>
<echo>Junit isn't present in your ${ANT_HOME}/lib directory. Tests not executed.</echo>
<echo>==========================================================================</echo>
</target>
<target name="compile-tests" if="Junit.present" depends="junit-present,compile">
<mkdir dir="${testclassesdir}"></mkdir>
<javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
<src>
<pathelement location="${basedir}/src/java/test"></pathelement>
</src>
<classpath>
<path refid="build.classpath"></path>
<pathelement path="${classesdir}"></pathelement>
</classpath>
</javac>
</target>
<target name="javadoc" description="o Generate javadoc" depends="get-deps">
<mkdir dir="${javadocdir}"></mkdir>
<tstamp>
<format pattern="2001-yyyy" property="year"></format>
</tstamp>
<property name="copyright" value="Copyright &amp;copy; Codehaus. All Rights Reserved."></property>
<property name="title" value="jaxen 1.1.4 API"></property>
<javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="${basedir}/src/java/main" packagenames="org.jaxen.*">
<classpath>
<path refid="build.classpath"></path>
</classpath>
</javadoc>
</target>
<target name="get-dep-dom4j.jar" description="o Download the dependency : dom4j.jar" unless="dom4j.jar" depends="init,setProxy,noProxy,get-custom-dep-dom4j.jar">
<mkdir dir="${libdir}/dom4j/jars/"></mkdir>
<get dest="${libdir}/dom4j/jars/dom4j-1.6.1.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/dom4j/jars/dom4j-1.6.1.jar"></get>
<get dest="${libdir}/dom4j/jars/dom4j-1.6.1.jar" usetimestamp="true" ignoreerrors="true" src="http://dist.codehaus.org//dom4j/jars/dom4j-1.6.1.jar"></get>
</target>
<target name="get-custom-dep-dom4j.jar" if="dom4j.jar" depends="init,setProxy,noProxy">
<mkdir dir="${libdir}/dom4j/jars/"></mkdir>
<get dest="${libdir}/dom4j/jars/dom4j-1.6.1.jar" usetimestamp="true" ignoreerrors="true" src="${dom4j.jar}"></get>
</target>
<target name="get-dep-jdom.jar" description="o Download the dependency : jdom.jar" unless="jdom.jar" depends="init,setProxy,noProxy,get-custom-dep-jdom.jar">
<mkdir dir="${libdir}/jdom/jars/"></mkdir>
<get dest="${libdir}/jdom/jars/jdom-1.0.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/jdom/jars/jdom-1.0.jar"></get>
<get dest="${libdir}/jdom/jars/jdom-1.0.jar" usetimestamp="true" ignoreerrors="true" src="http://dist.codehaus.org//jdom/jars/jdom-1.0.jar"></get>
</target>
<target name="get-custom-dep-jdom.jar" if="jdom.jar" depends="init,setProxy,noProxy">
<mkdir dir="${libdir}/jdom/jars/"></mkdir>
<get dest="${libdir}/jdom/jars/jdom-1.0.jar" usetimestamp="true" ignoreerrors="true" src="${jdom.jar}"></get>
</target>
<target name="get-dep-xml-apis.jar" description="o Download the dependency : xml-apis.jar" unless="xml-apis.jar" depends="init,setProxy,noProxy,get-custom-dep-xml-apis.jar">
<mkdir dir="${libdir}/xml-apis/jars/"></mkdir>
<get dest="${libdir}/xml-apis/jars/xml-apis-1.3.02.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/xml-apis/jars/xml-apis-1.3.02.jar"></get>
<get dest="${libdir}/xml-apis/jars/xml-apis-1.3.02.jar" usetimestamp="true" ignoreerrors="true" src="http://dist.codehaus.org//xml-apis/jars/xml-apis-1.3.02.jar"></get>
</target>
<target name="get-custom-dep-xml-apis.jar" if="xml-apis.jar" depends="init,setProxy,noProxy">
<mkdir dir="${libdir}/xml-apis/jars/"></mkdir>
<get dest="${libdir}/xml-apis/jars/xml-apis-1.3.02.jar" usetimestamp="true" ignoreerrors="true" src="${xml-apis.jar}"></get>
</target>
<target name="get-dep-xercesImpl.jar" description="o Download the dependency : xercesImpl.jar" unless="xercesImpl.jar" depends="init,setProxy,noProxy,get-custom-dep-xercesImpl.jar">
<mkdir dir="${libdir}/xerces/jars/"></mkdir>
<get dest="${libdir}/xerces/jars/xercesImpl-2.6.2.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/xerces/jars/xercesImpl-2.6.2.jar"></get>
<get dest="${libdir}/xerces/jars/xercesImpl-2.6.2.jar" usetimestamp="true" ignoreerrors="true" src="http://dist.codehaus.org//xerces/jars/xercesImpl-2.6.2.jar"></get>
</target>
<target name="get-custom-dep-xercesImpl.jar" if="xercesImpl.jar" depends="init,setProxy,noProxy">
<mkdir dir="${libdir}/xerces/jars/"></mkdir>
<get dest="${libdir}/xerces/jars/xercesImpl-2.6.2.jar" usetimestamp="true" ignoreerrors="true" src="${xercesImpl.jar}"></get>
</target>
<target name="get-dep-xom.jar" description="o Download the dependency : xom.jar" unless="xom.jar" depends="init,setProxy,noProxy,get-custom-dep-xom.jar">
<mkdir dir="${libdir}/xom/jars/"></mkdir>
<get dest="${libdir}/xom/jars/xom-1.0.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/xom/jars/xom-1.0.jar"></get>
<get dest="${libdir}/xom/jars/xom-1.0.jar" usetimestamp="true" ignoreerrors="true" src="http://dist.codehaus.org//xom/jars/xom-1.0.jar"></get>
</target>
<target name="get-custom-dep-xom.jar" if="xom.jar" depends="init,setProxy,noProxy">
<mkdir dir="${libdir}/xom/jars/"></mkdir>
<get dest="${libdir}/xom/jars/xom-1.0.jar" usetimestamp="true" ignoreerrors="true" src="${xom.jar}"></get>
</target>
<target name="get-dep-maven-cobertura-plugin.jar" description="o Download the dependency : maven-cobertura-plugin.jar" unless="maven-cobertura-plugin.jar" depends="init,setProxy,noProxy,get-custom-dep-maven-cobertura-plugin.jar">
<mkdir dir="${libdir}/maven-plugins/plugins/"></mkdir>
<get dest="${libdir}/maven-plugins/plugins/maven-cobertura-plugin-1.3.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/maven-plugins/plugins/maven-cobertura-plugin-1.3.jar"></get>
<get dest="${libdir}/maven-plugins/plugins/maven-cobertura-plugin-1.3.jar" usetimestamp="true" ignoreerrors="true" src="http://dist.codehaus.org//maven-plugins/plugins/maven-cobertura-plugin-1.3.jar"></get>
</target>
<target name="get-custom-dep-maven-cobertura-plugin.jar" if="maven-cobertura-plugin.jar" depends="init,setProxy,noProxy">
<mkdir dir="${libdir}/maven-plugins/plugins/"></mkdir>
<get dest="${libdir}/maven-plugins/plugins/maven-cobertura-plugin-1.3.jar" usetimestamp="true" ignoreerrors="true" src="${maven-cobertura-plugin.jar}"></get>
</target>
<target name="get-dep-maven-findbugs-plugin.jar" description="o Download the dependency : maven-findbugs-plugin.jar" unless="maven-findbugs-plugin.jar" depends="init,setProxy,noProxy,get-custom-dep-maven-findbugs-plugin.jar">
<mkdir dir="${libdir}/maven-plugins/plugins/"></mkdir>
<get dest="${libdir}/maven-plugins/plugins/maven-findbugs-plugin-1.3.1.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/maven-plugins/plugins/maven-findbugs-plugin-1.3.1.jar"></get>
<get dest="${libdir}/maven-plugins/plugins/maven-findbugs-plugin-1.3.1.jar" usetimestamp="true" ignoreerrors="true" src="http://dist.codehaus.org//maven-plugins/plugins/maven-findbugs-plugin-1.3.1.jar"></get>
</target>
<target name="get-custom-dep-maven-findbugs-plugin.jar" if="maven-findbugs-plugin.jar" depends="init,setProxy,noProxy">
<mkdir dir="${libdir}/maven-plugins/plugins/"></mkdir>
<get dest="${libdir}/maven-plugins/plugins/maven-findbugs-plugin-1.3.1.jar" usetimestamp="true" ignoreerrors="true" src="${maven-findbugs-plugin.jar}"></get>
</target>
<target name="get-deps" unless="noget"></target>
<target name="setProxy" if="useProxy" depends="init">
<!--Proxy settings works only with a JDK 1.2 and higher.-->
<echo>Proxy used :</echo>
<echo>Proxy host [${proxy.host}]</echo>
<echo>Proxy port [${proxy.port}]</echo>
<echo>Proxy user [${proxy.username}]</echo>
<setproxy proxyuser="${proxy.username}" proxyport="${proxy.port}" proxypassword="${proxy.password}" proxyhost="${proxy.host}"></setproxy>
</target>
<target name="noProxy" unless="useProxy" depends="init">
<echo>Proxy not used.</echo>
</target>
<target name="install-maven">
<get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar"></get>
<unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar"></unjar>
</target>
</project>

+ 0
- 51
dev-java/jaxen/jaxen-1.1.4-r1.ebuild View File

@@ -1,51 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5

JAVA_PKG_IUSE="doc examples source test"

inherit java-pkg-2 java-ant-2

DESCRIPTION="A Java XPath Engine"
HOMEPAGE="http://jaxen.org"
SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P}-src.tar.gz"

LICENSE="JDOM"
SLOT="1.1"
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
IUSE=""

CDEPEND="
dev-java/xom:0
dev-java/jdom:0
dev-java/dom4j:1"

RDEPEND="
${CDEPEND}
>=virtual/jre-1.4"

DEPEND="
${CDEPEND}
test? ( dev-java/ant-junit:0 )
>=virtual/jdk-1.4"

JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_GENTOO_CLASSPATH="dom4j-1,jdom,xom"
EANT_TEST_EXTRA_ARGS="-DJunit.present=true"

java_prepare() {
cp -v "${FILESDIR}"/${P}_maven1-build.xml build.xml || die
}

src_test() {
java-pkg-2_src_test
}

src_install() {
java-pkg_newjar "target/${P}.jar"

use doc && java-pkg_dojavadoc dist/docs/api
use examples && java-pkg_doexamples src/java/samples
use source && java-pkg_dosrc src/java/main/*
}

+ 0
- 64
dev-java/jdom/jdom-2.0.6-r4.ebuild View File

@@ -1,64 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5

MY_P="JDOM-${PV}"
JAVA_PKG_IUSE="doc source"

inherit epatch java-pkg-2 java-ant-2

DESCRIPTION="Java API to manipulate XML data"
SRC_URI="https://github.com/hunterhacker/${PN}/archive/${MY_P}.tar.gz"
HOMEPAGE="http://www.jdom.org"
LICENSE="Apache-1.1"
SLOT="2"
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

CDEPEND="
dev-java/xalan:0
dev-java/jaxen:1.1
dev-java/iso-relax:0"

RDEPEND="
${CDEPEND}
>=virtual/jre-1.6"

DEPEND="
${CDEPEND}
>=virtual/jdk-1.6
test? ( dev-java/ant-junit:0 )"

JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_BUILD_TARGET="jars"
EANT_TEST_TARGET="junit"
EANT_GENTOO_CLASSPATH="iso-relax,jaxen-1.1,xalan"
S="${WORKDIR}/${PN}-${MY_P}"

PATCHES=(
"${FILESDIR}/build-xml-2.patch"
)

java_prepare() {
java-pkg_clean

epatch "${PATCHES[@]}"

# Remove Android stuff to avoid junit RDEPEND.
rm -vr contrib/src/java/org/jdom2/contrib/android || die
}

src_install() {
java-pkg_newjar build/package/${PN}-${SLOT}.x-????.??.??.??.??.jar ${PN}.jar
java-pkg_newjar build/package/${PN}-${SLOT}.x-????.??.??.??.??-contrib.jar ${PN}-contrib.jar

dodoc {CHANGES,COMMITTERS,README,TODO}.txt
use doc && java-pkg_dojavadoc build/apidocs
use source && java-pkg_dosrc {contrib,core}/src/java/*
}

src_test() {
java-pkg-2_src_test
}

+ 1
- 1
dev-java/jflex/jflex-1.6.1-r1.ebuild View File

@@ -13,7 +13,7 @@ SRC_URI="https://${PN}.de/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86 ~ppc-macos ~x64-macos"
KEYWORDS="amd64 ~arm arm64 ppc64 ~x86 ~ppc-macos ~x64-macos"
IUSE="examples test vim-syntax"
RESTRICT="!test? ( test )"



+ 0
- 1
dev-java/joda-time/Manifest View File

@@ -1,2 +1 @@
DIST joda-time-2.10.10.tar.gz 1052384 BLAKE2B 656efddf6b98f10ce6729c6fa4c76ddfeb86dd94971c2637af3ddcb8a3a47f83948dbd58b04a6249445ef2857c5c5edb994a6d56349ed4ff4130ce9aaebd57e9 SHA512 e7917fd28cd10d7fbee02016b1f13a15a80af099b952cc0e8978bfc7fa389109553804670492c206f2b49bcf910ea093fc1838cb45ce4b7a3a885aac2aaf5943
DIST joda-time-2.7-dist.tar.gz 4007765 BLAKE2B ed34c988dae1f1fb3359e06cccc148f680a04244987464770024635e72d5693036ec4d1648245f44db2fd57c47d9842a964d39e04e9ba510ecda7ec25c853ee7 SHA512 2a9bf91024bf20c4f1a28c87e5c6e560994ba6f7e131757c83a5ab6984ea79549e1d00452dcf767fc5cab374e531649759703acbaed724a1e49436cae0799209

+ 0
- 262
dev-java/joda-time/files/joda-time-2.7-build.xml View File

@@ -1,262 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- ====================================================================== -->
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
<!-- ====================================================================== -->

<!-- ====================================================================== -->
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
<!-- ====================================================================== -->
<!-- -->
<!-- Any modifications will be overwritten. -->
<!-- -->
<!-- Generated by Maven Ant Plugin on 3/22/15 5:59 PM -->
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
<!-- -->
<!-- ====================================================================== -->

<project name="joda-time-from-maven" default="package" basedir=".">

<!-- ====================================================================== -->
<!-- Build environment properties -->
<!-- ====================================================================== -->

<property file="${user.home}/.m2/maven.properties"/>
<property file="maven-build.properties"/>

<property name="maven.build.finalName" value="joda-time-2.7"/>
<property name="maven.build.dir" value="target"/>
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
<property name="maven.build.srcDir.0" value="src/main/java"/>
<property name="maven.build.resourceDir.0" value="."/>
<property name="maven.build.resourceDir.1" value="src/main/java"/>
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
<property name="maven.build.testDir.0" value="src/test/java"/>
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>

<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
<property name="maven.settings.offline" value="false"/>
<property name="maven.settings.interactiveMode" value="true"/>

<!-- ====================================================================== -->
<!-- Defining classpaths -->
<!-- ====================================================================== -->

<path id="build.classpath">
<pathelement location="${maven.repo.local}/org/joda/joda-convert/1.2/joda-convert-1.2.jar"/>
</path>
<path id="build.test.classpath">
<pathelement location="${maven.repo.local}/org/joda/joda-convert/1.2/joda-convert-1.2.jar"/>
<pathelement location="${maven.repo.local}/junit/junit/3.8.2/junit-3.8.2.jar"/>
</path>

<!-- ====================================================================== -->
<!-- Cleaning up target -->
<!-- ====================================================================== -->

<target name="clean" description="Clean the output directory">
<delete dir="${maven.build.dir}"/>
</target>

<!-- ====================================================================== -->
<!-- Compilation target -->
<!-- ====================================================================== -->

<target name="compile" depends="get-deps" description="Compile the code">
<mkdir dir="${maven.build.outputDir}"/>
<javac destdir="${maven.build.outputDir}"
nowarn="false"
debug="true"
optimize="true"
deprecation="false"
target="1.5"
verbose="true"
fork="true"
source="1.5">
<src>
<pathelement location="${maven.build.srcDir.0}"/>
</src>
<classpath refid="build.classpath"/>
</javac>
<mkdir dir="${maven.build.outputDir}/META-INF"/>
<copy todir="${maven.build.outputDir}/META-INF">
<fileset dir="${maven.build.resourceDir.0}">
<include name="LICENSE.txt"/>
<include name="NOTICE.txt"/>
</fileset>
</copy>
</target>

<!-- ====================================================================== -->
<!-- Test-compilation target -->
<!-- ====================================================================== -->

<target name="compile-tests"
depends="compile"
description="Compile the test code"
unless="maven.test.skip">
<mkdir dir="${maven.build.testOutputDir}"/>
<javac destdir="${maven.build.testOutputDir}"
nowarn="false"
debug="true"
optimize="true"
deprecation="false"
target="1.5"
verbose="true"
fork="true"
source="1.5">
<src>
<pathelement location="${maven.build.testDir.0}"/>
</src>
<classpath>
<path refid="build.test.classpath"/>
<pathelement location="${maven.build.outputDir}"/>
</classpath>
</javac>
<copy todir="${maven.build.testOutputDir}">
<fileset dir="${maven.build.testResourceDir.0}"/>
</copy>
</target>

<!-- ====================================================================== -->
<!-- Run all tests -->
<!-- ====================================================================== -->

<target name="test"
depends="compile-tests, junit-missing"
unless="junit.skipped"
description="Run the test cases">
<mkdir dir="${maven.test.reports}"/>
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
<sysproperty key="basedir" value="."/>
<formatter type="xml"/>
<formatter type="plain" usefile="false"/>
<classpath>
<path refid="build.test.classpath"/>
<pathelement location="${maven.build.outputDir}"/>
<pathelement location="${maven.build.testOutputDir}"/>
</classpath>
<batchtest todir="${maven.test.reports}" unless="test">
<fileset dir="${maven.build.testDir.0}">
<include name="**/TestAllPackages.java"/>
<exclude name="**/*Abstract*Test.java"/>
</fileset>
</batchtest>
<batchtest todir="${maven.test.reports}" if="test">
<fileset dir="${maven.build.testDir.0}">
<include name="**/${test}.java"/>
<exclude name="**/*Abstract*Test.java"/>
</fileset>
</batchtest>
</junit>
</target>

<target name="test-junit-present">
<available classname="junit.framework.Test" property="junit.present"/>
</target>

<target name="test-junit-status"
depends="test-junit-present">
<condition property="junit.missing">
<and>
<isfalse value="${junit.present}"/>
<isfalse value="${maven.test.skip}"/>
</and>
</condition>
<condition property="junit.skipped">
<or>
<isfalse value="${junit.present}"/>
<istrue value="${maven.test.skip}"/>
</or>
</condition>
</target>

<target name="junit-missing"
depends="test-junit-status"
if="junit.missing">
<echo>=================================== WARNING ===================================</echo>
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
<echo>===============================================================================</echo>
</target>

<!-- ====================================================================== -->
<!-- Javadoc target -->
<!-- ====================================================================== -->

<target name="javadoc" description="Generates the Javadoc of the application">
<javadoc sourcepath="${maven.build.srcDir.0}"
packagenames="*"
destdir="${maven.reporting.outputDirectory}/apidocs"
access="protected"
old="false"
verbose="false"
encoding="UTF-8"
version="true"
use="true"
author="true"
splitindex="false"
nodeprecated="false"
nodeprecatedlist="false"
notree="false"
noindex="false"
nohelp="false"
nonavbar="false"
serialwarn="false"
charset="ISO-8859-1"
linksource="true"
breakiterator="false">
<link href="http://download.oracle.com/javase/1.5.0/docs/api/"/>
<group title="User packages"/>
<group title="Implementation packages"/>
</javadoc>
</target>

<!-- ====================================================================== -->
<!-- Package target -->
<!-- ====================================================================== -->

<target name="package" depends="compile,test" description="Package the application">
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
compress="true"
index="false"
basedir="${maven.build.outputDir}"
excludes="**/package.html">
</jar>
</target>

<!-- ====================================================================== -->
<!-- A dummy target for the package named after the type it creates -->
<!-- ====================================================================== -->

<target name="jar" depends="package" description="Builds the jar for the application"/>

<!-- ====================================================================== -->
<!-- Download dependencies target -->
<!-- ====================================================================== -->

<target name="test-offline">
<condition property="maven.mode.offline">
<equals arg1="${maven.settings.offline}" arg2="true"/>
</condition>
</target>

<target name="get-deps"
depends="test-offline"
description="Download all dependencies"
unless="maven.mode.offline">
<mkdir dir="${maven.repo.local}"/>
<mkdir dir="${maven.repo.local}/org/joda/joda-convert/1.2"/>
<get src="https://repo.maven.apache.org/maven2/org/joda/joda-convert/1.2/joda-convert-1.2.jar"
dest="${maven.repo.local}/org/joda/joda-convert/1.2/joda-convert-1.2.jar"
usetimestamp="false"
ignoreerrors="true"/>
<mkdir dir="${maven.repo.local}/junit/junit/3.8.2"/>
<get src="https://repo.maven.apache.org/maven2/junit/junit/3.8.2/junit-3.8.2.jar"
dest="${maven.repo.local}/junit/junit/3.8.2/junit-3.8.2.jar"
usetimestamp="false"
ignoreerrors="true"/>
</target>

</project>

+ 0
- 61
dev-java/joda-time/joda-time-2.7-r1.ebuild View File

@@ -1,61 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
JAVA_PKG_IUSE="doc examples source test"
JAVA_ANT_REWRITE_CLASSPATH="true"

inherit java-pkg-2 java-ant-2

DESCRIPTION="A quality open-source replacement for the Java Date and Time classes"
HOMEPAGE="https://www.joda.org/joda-time/ https://github.com/JodaOrg/joda-time/"
SRC_URI="https://github.com/JodaOrg/${PN}/releases/download/v${PV}/${P}-dist.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"

RESTRICT="test"

DEPEND=">=virtual/jdk-1.8
dev-java/joda-convert:0
test? (
dev-java/junit:0
dev-java/ant-junit:0
)"
RDEPEND=">=virtual/jre-1.8"

src_prepare() {
default

rm -v *.jar || die "Failed to remove bundled jars."
cp "${FILESDIR}"/${P}-build.xml "${S}"/build.xml || die "Failed to copy build file."

mkdir -p "${S}"/target/classes || die "Failed to create target classes directory."
cp -Rv "${S}"/src/tz-data/* "${S}"/target/classes/ || die "Failed to copy timezone data."

mkdir -p "${S}"/target/classes/org/joda/time/format || die "Failed to create target classes subdirectory."
cp -Rv "${S}"/src/main/java/org/joda/time/format/*properties "${S}"/target/classes/org/joda/time/format/ || die "Failed to copy message bundles."
}

src_compile() {
EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only joda-convert joda-convert.jar)"

java-pkg-2_src_compile
}

src_test() {
EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only joda-convert joda-convert.jar):$(java-pkg_getjar --build-only junit junit.jar)"

java-pkg-2_src_test
}

src_install() {
java-pkg_newjar target/${P}.jar

dodoc NOTICE.txt RELEASE-NOTES.txt

use doc && java-pkg_dojavadoc target/site/apidocs
use examples && java-pkg_doexamples src/example
use source && java-pkg_dosrc src/main/java/*
}

+ 1
- 1
dev-java/log4j/log4j-1.2.17-r3.ebuild View File

@@ -13,7 +13,7 @@ SRC_URI="mirror://apache/logging/${PN}/${PV}/${P}.tar.gz"
HOMEPAGE="http://logging.apache.org/log4j/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux"
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux"
IUSE="javamail jms"

CDEPEND="


+ 1
- 1
dev-java/objenesis-test/objenesis-test-3.2.ebuild View File

@@ -17,7 +17,7 @@ SRC_URI="https://github.com/easymock/objenesis/archive/refs/tags/${PV}.tar.gz ->

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ppc64 x86"
KEYWORDS="amd64 arm64 ppc64 x86"

DEPEND="
>=virtual/jdk-1.8:*


+ 1
- 1
dev-java/objenesis/objenesis-3.2.ebuild View File

@@ -18,7 +18,7 @@ SRC_URI="https://github.com/easymock/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ppc64 x86"
KEYWORDS="amd64 arm64 ppc64 x86"

# Compile dependencies
# POM: ${P}/main/pom.xml


+ 1
- 1
dev-java/oracle-javamail/oracle-javamail-1.5.6-r1.ebuild View File </