parent
e110ba6a61
commit
95a177f4d6
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29478 BLAKE2B 2b27b0390d4d54617cc99289e806ad3ec86a82e09b80e8aebc7e2f7093ed2f5779ffa138b83efbe02c91b69dfba1cbbe50da39aa0660ba52fb4e17908ec5dd42 SHA512 27f799a8a27694c0726279932d5ef26037a56a98aecc09d0f87b8c3b7b8afb80d43717be7cc73429a1677051bbc50613c62eedfee8dc6d0771374f58dd1690a0
|
||||
TIMESTAMP 2023-03-31T04:39:34Z
|
||||
MANIFEST Manifest.files.gz 29477 BLAKE2B 2319a99aae4bc65d406cfdc4a0ba3b7a00212cebd3d36522b9264cbafed125027b555f8792292ab247ff21fd456c7840e392028f89e19559efee3b7210ec4b19 SHA512 df000d05bc0532bef70204d1a7f368c4359141f7cee645bdea17979f996d2a8fd965e7ec0c2300a8fb1e7d412cd650ced3c9f6453da0b66802010cfc4705c7ba
|
||||
TIMESTAMP 2023-03-31T08:09:33Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmQmZAZfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmQmlT1fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAwoBAAiJe4NTpa/OslITxnyZC+DHvDbp6/P3vD+iX8LKF4bX3a+xRMa9Cnc5A+
|
||||
Xg7oDN2kP2L9o1pHJKyWMcnsIcIE9+hyBnD/AuI3xkuFCHrPrSaLy9PQwaSD8xmz
|
||||
P37KlSJ7vxG2bIeBBj8IHM3sj6kev7jljtiqIEDzjd4I5eEI6VRT9+LFzcygribE
|
||||
4FousYqf07e15xigRvGg6cSCylV/NztI7f0b4PYwPOXGgTHyMSlHs3GTijOUiV0/
|
||||
0Z9RcvdESnLIUnR+W8yo6mmjiio0M81MAKoP8yB7xmiyFC3083DYDypsHO9wmC02
|
||||
3fh8Ao5YyItGeC5TqFAmkBY81J2WhCD9jde9vDKTg4IYshLgg67mxDJrp8R+RQ6l
|
||||
25NZ4a1KW69o0KLmvvvrMEKE8436ULqIbIf4+0DnwLeohZVPsNpmsWszGxmFbsUg
|
||||
3Wv/hNYbu5eI6CUC5w0jqJKuvT7Q+LExLiC170sHymI5YlvgW2m4JMPQ/xWLiYGU
|
||||
h+PT7wERcs4X2+/dKulDjL7HKbLDg+NjtH3NSkpKMKqM1F8SmHld+7OyelYFqDuT
|
||||
k86p7tBdwMGmuJSt5bJmqP2UZCUfTsKwsLqhD60TwET1A299OZQbcXmmiyHlpymo
|
||||
S2cIrX+6uJVnxHFb2olFDstpjzCFuSmiaSCQ7K6g8aG3zBjRk8w=
|
||||
=Wl3M
|
||||
klB9Kg/8DUXUTz8JVacZLHF5vlUvBnVLxbC/bO3DTYcdMFWtH9mAzCV6DjqeaMx4
|
||||
r+L9E0zt0KD1p0i+YGn5DsVANhcwH4i+2dR2fZoH4/v0kJL/JVnEpyVgtdoaDQgo
|
||||
ok2yT7Vaw1tHNq//yIUCE/o4ZxQN+cM50ZO6JMvrtCGMbRtB5JHcYg6Ns2xezXkZ
|
||||
GDV9ZuN3lQesSP4PqH8gd6NafhNieIxNkRW8DNC6qNepGd32MIT798lsU235nHCI
|
||||
yYdq3+c0GYxEc9VOS4JMOpkjNBkLfH9mj41iW/DiRA/d6B3j150ZLfwcWmudbxKe
|
||||
OpN3K/YFI08BgmNarMMdPCpVdof7+023ckQj2hqxhT08sNSrD3yamSSw2J67a8vw
|
||||
auwMBqvy5cCjlOwml/MxPaPIK5N/40Cf4DVn7P69OzYEwNl2JIwMX2Vy9vUKW5UI
|
||||
GCI02D8KzCik+6Xot+B0rmPv0rWO/RAy+CkcGH/P9+Z6+OfK5kwo0IFvebquL3OH
|
||||
Az5c44nKO5ihEWqpjuKnxSQ1Ht3j0muBdblor7VKLGm/18oxt3+86IANqKv2QE47
|
||||
wSPjvpwROufk+qsCiyVmJaPW67zNOfac0K7K6DaFh8XMyi2++b4+rsIuDh/EAYDG
|
||||
+zs/mfGXP6CmQIwA2S+KP06qEPyrAJyRiSDk+VPXlSH6MfRhHjI=
|
||||
=9/3L
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST clustershell-1.9.1.gh.tar.gz 383917 BLAKE2B 90d8c8390453a2c843bbb909a741d24d5f8e4b8eb03631bbe81b98973fce95d96dd3e68d0b951bc23d067057222c858e5041a3bafde200e0e2d14a0be995689f SHA512 32ee8b43d92e7ada8c81facc6a0609c39beee9189fa6fb9c2237387a58134f99fb2e6ab6e5de35c8e6fc8d3cef57f74f4c08b14968484546859071dff2594eb1
|
||||
DIST clustershell-1.9.gh.tar.gz 382574 BLAKE2B 031eb9683db330f3b90ac06fa9a0409ea72c1be3d83c8d0519e0080ead715386043c925a6dbaeafdb38351c54f1508c050279603cd81bc2de60ba2df5733f636 SHA512 9eb4e9663a6381fa27311d1d70002ba64066ee6e2e08aaf772974d8097c6ca2d020563fc8478064e76bc6e56d37ed7eefc2919db99a2f5b26bd878fa7b764a15
|
||||
EBUILD clustershell-1.9.1.ebuild 1134 BLAKE2B a382459c7be182f5b215aa6775a4f05098d4d513423fb40f314d014a7f126c6d626e75777f0757e3411cf2cf5dfab87ba815afa34ff3542ca27a995dcee006c4 SHA512 52118a47e4edd4010e814ea82ff0245140a6daa3799e440cde1b8591065dfb6bb37fdaf24a75c44a3894849db50d30258aaef2ca6e335cd0cf97e5e06712d301
|
||||
EBUILD clustershell-1.9.1.ebuild 1133 BLAKE2B f33c5fde46ef7a8a6f962c40147f1b7ae020365185a5dffb87415e3613e8ff8d1617253851f4cfb3b622c791f7c71f0a346400d3f38fce7d9f4f2ef074b19d81 SHA512 8195776d408ee32391fcecd4550f07dd94d37cfb52539ec8b54a36158bf6889378d44592f1526b5b3188f4aba0d0c20b9df5e9913093ef297886ea7a00fd462e
|
||||
EBUILD clustershell-1.9.ebuild 1156 BLAKE2B c2aa3e12edaf2a17208373c440617d7dceebbe018c7364ba3e6f50ab954f3274e9b3236a8e1b1843bcc7eb579f8230e9d1f783d7ba0ce3c11e8ec9a0f27401be SHA512 0bb4cddc8fafee1e860474b822b82bc29f5ad7d0bb63f7062c0dd98ac4955a2f6f61e169a9882d534ac555959f5f1366b9185a81c00bb4768e6c50d3fa81e72e
|
||||
MISC metadata.xml 610 BLAKE2B 1baa68f298ccc1117524968f3ddef220f068e876cfe8d6e5243a5f3144bfa8db21aa93bdb92efd3e7082c0e32b2747d2b544687114b09b78f823636d9b9be5b7 SHA512 0e4a89c4ea24577e065ed6b1a5714cfabea0a3452d546a16824608d2fdbc97ac39fb43d49c7adb279342a774b6719d52707b54091fc30326cbef14755fc04e0f
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,8 @@
|
||||
AUX batik-1.14-modules 461 BLAKE2B a22123561682c3990ad289ca888453b876bb1a4de03b435445758386297cb8e1058db777d4c79941a407c4b95ad8623a6450dc8ba0acf71f66b25a666ab7695c SHA512 19ec52318a76f16122e0740bb8f744e6b669537ad75f44931c1cf64c407a1d11b6eba4ea4b0e0e37ec5402e9ff99b76e8ae0e5b65f529f6ad56e30625cb7b77e
|
||||
AUX batik-squiggle.desktop 177 BLAKE2B 7f4fbc31f31f6ddbdb7802ad4ea6b87c21b39b83cec2caf5f8b68634693b05c66e3f7da6d2cf69f5da6defa2d44fa4c5a0eba4af13308b8f18fb666be86b1d40 SHA512 7e7be90a0a779752cf04bbb1e702f5f3ca773129f7dfebcc3352e55f81cad2d65f6067e07c075f730b7f11235529804856fc226703b5e213216bc110dd978d8e
|
||||
DIST batik-src-1.14.tar.gz 17647867 BLAKE2B 9385e77e739ece921012310a53953a6e258a5d748987e85dd20783ca248ae55619db6472b7590a45fe40a1b51c693478a37a7dbe1a958b42392c525e5f228815 SHA512 689c52f58f8f0456c89bd18745d2d92e7590b9054bea71b96be87d44977057d583e78504cbf14afc3e0c585d2383dac3009c7c421de868c847db045e921da8fb
|
||||
DIST batik-src-1.16.tar.gz 13495722 BLAKE2B 041442b5485588a23b6e335cc46630b3c73fb8a36157e8bc77baa7b399bf7986549039f27e89727ebc98b8492095b957c8c6deb12b232a39784844e4c5edf6ab SHA512 024ab7a204d00b6c855e26c62a326dfcde5fb486a7635890c6fcb37d421c7195ae04b3d292daabc0fcb6564f55bfa93d6fef15cf4c2dad77e569ca17d1eeb250
|
||||
DIST batik-src-1.16.tar.gz.asc 833 BLAKE2B fdcfb26b9cc0d4fb0c37ce42d65628629ab0c27257ebe07715d5b2786500515125a240957c9ba76333aa54320905273031354cf09ee29e3a79fc7529640ebf03 SHA512 7fc3450d2b4d19e03528707fc20d6e18af926938ad24ad7460cc1c423c6c40507059fff2e2921d82fc582a4b486a75141fb407d450b043e2cc5007e0c2d486ea
|
||||
EBUILD batik-1.14-r1.ebuild 5212 BLAKE2B 3d4b50a16f0e0e940fa0a7074abbce4824f703d50d3099af157ebdeb3d8147fb7f016b105837e044a836a79fbe96a0e48d8948c1669d0e46d8a64065eed69835 SHA512 39bddd9d287ed85594924148da66586dd9d42e91bce2a18337826494e16846080524b7845266a32675cd8a5891b41c6f1540beb958d1fb3eb07533fcbfb9a6f1
|
||||
EBUILD batik-1.16.ebuild 6228 BLAKE2B 271da700349b4d8e27317dc62c30a3cb2d62517e4d02a8f9a74c1eb59de23ed38e0ec0f0f8fc318333f5c58d0f1b26208d7139b30f0142741f9f9c512a49cf32 SHA512 eaab9e535e0dc7fcbba27386848dd11f25b62b4f433e3d3a925de331e125632e3c40662f38405374ea6e46626667d57f276a2c4a431f5d0c79f3f852850a8ba7
|
||||
MISC metadata.xml 610 BLAKE2B c589c175b595deb71eae6b8fccd46f4d6b82331f636cff28b6074300b6495efb780d157bb1b5b1359070cca7405138fcff719d72f1038023357fc7ab05c52b87 SHA512 73a6bb61c87645d1600ab90ca954599208c8599e967f6e999d973fa80e9693435db8a75ace95c8881486c8e2929d5a201a51e821e5f58763c273b21b5a32c229
|
||||
|
@ -0,0 +1,229 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.apache.xmlgraphics:batik:${PV}"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit desktop java-pkg-2 java-pkg-simple xdg-utils verify-sig
|
||||
|
||||
DESCRIPTION="XML Graphics Batik"
|
||||
HOMEPAGE="https://xmlgraphics.apache.org/batik/"
|
||||
SRC_URI="mirror://apache/xmlgraphics/batik/source/batik-src-${PV}.tar.gz
|
||||
verify-sig? ( https://downloads.apache.org/xmlgraphics/batik/source/batik-src-${PV}.tar.gz.asc )"
|
||||
S="${WORKDIR}/batik-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1.16"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/jacl:0
|
||||
dev-java/rhino:1.6
|
||||
dev-java/xalan:0
|
||||
dev-java/xml-commons-external:1.4
|
||||
dev-java/xmlgraphics-commons:2
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${CP_DEPEND}
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${CP_DEPEND}
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-xmlgraphics-batik )"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/xmlgraphics-batik.apache.org.asc"
|
||||
|
||||
DOCS=( CHANGES NOTICE README )
|
||||
|
||||
# Modules batik-rasterizer-ext and batik-squiggle-ext, upstream puts their jar files in the extensions
|
||||
# directory, see batik-extension/src/main/resources/org/apache/batik/extensions/README.txt
|
||||
# We comment them out but keep them in the mudules list for later.
|
||||
# The same for batik-test-old which depends on fop-transcoder-allinone which itself depends on batik.
|
||||
# We also don't build batik-shared-resources since we install those resources on global scope.
|
||||
# And we don't build batik-all. Instead we install the modules.
|
||||
# BATIK_MODULES is the "Reactor Build Order" extracted from the output of "mvn dependency:tree":
|
||||
# mvn -DskipTests dependency:tree \
|
||||
# | sed -n '/Reactor Build Order:/,/Building org/p' \
|
||||
# | cut -d':' -f2 | cut -d' ' -f1 | grep 'batik-' || die
|
||||
BATIK_MODULES=(
|
||||
# batik-shared-resources
|
||||
batik-constants
|
||||
batik-i18n
|
||||
batik-test
|
||||
batik-util
|
||||
batik-awt-util
|
||||
batik-css
|
||||
batik-ext
|
||||
batik-xml
|
||||
batik-dom
|
||||
batik-parser
|
||||
batik-svg-dom
|
||||
batik-anim
|
||||
batik-gvt
|
||||
batik-script
|
||||
batik-bridge
|
||||
batik-svggen
|
||||
batik-transcoder
|
||||
batik-codec
|
||||
batik-extension
|
||||
batik-gui-util
|
||||
batik-svgrasterizer
|
||||
# batik-rasterizer-ext
|
||||
batik-rasterizer
|
||||
batik-slideshow
|
||||
batik-swing
|
||||
batik-svgbrowser
|
||||
# batik-squiggle-ext
|
||||
batik-squiggle
|
||||
batik-svgpp
|
||||
batik-ttf2svg
|
||||
# batik-all
|
||||
batik-test-swing
|
||||
batik-test-svg
|
||||
# batik-test-old
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
java-pkg_clean
|
||||
java-pkg-2_src_prepare
|
||||
# We drop support for jython due to bug #825486.
|
||||
rm batik-script/src/main/java/org/apache/batik/script/jpython/JPythonInterpreter.java || die
|
||||
rm batik-script/src/main/java/org/apache/batik/script/jpython/JPythonInterpreterFactory.java || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# We loop over the modules list and compile the jar files.
|
||||
local module
|
||||
for module in "${BATIK_MODULES[@]}"; do
|
||||
einfo "Compiling ${module}"
|
||||
|
||||
JAVA_JAR_FILENAME="${module}.jar"
|
||||
JAVA_MAIN_CLASS=""
|
||||
JAVA_RESOURCE_DIRS=""
|
||||
JAVA_SRC_DIR=""
|
||||
|
||||
# Not all of the modules have resources.
|
||||
if [[ -d "${module}/src/main/resources" ]]; then
|
||||
JAVA_RESOURCE_DIRS="${module}/src/main/resources"
|
||||
fi
|
||||
|
||||
# Get Main-Class from the module's pom.xml
|
||||
JAVA_MAIN_CLASS=$( sed -n 's:.*<mainClass>\(.*\)</mainClass>:\1:p' "${module}/pom.xml" )
|
||||
|
||||
# Some modules don't have source code.
|
||||
if [[ -d "${module}/src/main/java/org" ]]; then
|
||||
JAVA_SRC_DIR="${module}/src/main/java"
|
||||
java-pkg-simple_src_compile
|
||||
else
|
||||
# This case applies to batik-rasterizer.
|
||||
if [[ -d "${module}/src/main/resources/org" ]]; then
|
||||
jar -cfe "${module}.jar" "${JAVA_MAIN_CLASS}" -C "${module}/src/main/resources" . || die
|
||||
# Else for batik-squiggle (also batik-rasterizer-ext, batik-squiggle-ext)
|
||||
else
|
||||
# Create the JAR file (not possible without adding at least one file).
|
||||
jar -cfe "${module}.jar" "${JAVA_MAIN_CLASS}" -C . README || die
|
||||
zip -d "${module}.jar" "README"
|
||||
fi
|
||||
fi
|
||||
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA+=":${module}.jar"
|
||||
|
||||
rm -fr target || die
|
||||
done
|
||||
|
||||
if use doc; then
|
||||
JAVA_SRC_DIR=""
|
||||
JAVA_JAR_FILENAME="ignoreme.jar"
|
||||
|
||||
for module in "${BATIK_MODULES[@]}"; do
|
||||
# Some modules don't have source code
|
||||
if [[ -d "${module}/src/main/java/org" ]]; then
|
||||
JAVA_SRC_DIR+=( "${module}/src/main/java" )
|
||||
fi
|
||||
done
|
||||
|
||||
java-pkg-simple_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
|
||||
for module in "${BATIK_MODULES[@]}"; do
|
||||
einfo "Testing ${module}"
|
||||
|
||||
JAVA_TEST_SRC_DIR=""
|
||||
JAVA_TEST_RESOURCE_DIRS=""
|
||||
JAVA_TEST_RUN_ONLY=""
|
||||
|
||||
if [[ -d "${module}/src/test/resources" ]]; then
|
||||
JAVA_TEST_RESOURCE_DIRS="${module}/src/test/resources"
|
||||
fi
|
||||
|
||||
# https://github.com/apache/xmlgraphics-batik/blob/refs/tags/batik-1_14/batik-util/pom.xml#L74-L75
|
||||
if [[ "${module}" == batik-util ]]; then
|
||||
JAVA_TEST_RUN_ONLY="org.apache.batik.util.Base64TestCases"
|
||||
fi
|
||||
|
||||
if [[ -d "${module}/src/test/java/org" ]]; then
|
||||
JAVA_TEST_SRC_DIR="${module}/src/test/java"
|
||||
java-pkg-simple_src_test
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
domenu "${FILESDIR}"/batik-squiggle.desktop
|
||||
doicon batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/init.svg
|
||||
|
||||
for module in "${BATIK_MODULES[@]}"; do
|
||||
JAVA_MAIN_CLASS=$( sed -n 's:.*<mainClass>\(.*\)</mainClass>:\1:p' "${module}/pom.xml" )
|
||||
|
||||
java-pkg_dojar "${module}.jar"
|
||||
|
||||
# Add a launcher if the module has a MainClass.
|
||||
if [[ -n "${JAVA_MAIN_CLASS}" ]]; then
|
||||
java-pkg_dolauncher "${module}-${SLOT}" --main "${JAVA_MAIN_CLASS}"
|
||||
fi
|
||||
|
||||
# Some modules don't have source code
|
||||
if [[ -d "${module}/src/main/java/org" ]]; then
|
||||
if use source; then
|
||||
java-pkg_dosrc "${module}/src/main/java/*"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
local java_policy_file="${JAVA_PKG_SHAREPATH}/etc/${PN}.policy"
|
||||
insinto "$(dirname "${java_policy_file}")"
|
||||
newins - "$(basename "${java_policy_file}")" <<- _EOF_
|
||||
grant codeBase "file:${EPREFIX}${JAVA_PKG_JARDEST}/-" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
_EOF_
|
||||
java-pkg_register-environment-variable \
|
||||
gjl_java_args \
|
||||
"-Djava.security.policy=file:${EPREFIX}${java_policy_file}"
|
||||
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc target/api
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST javahelp-2.0.05_p20170719.tar.gz 6045243 BLAKE2B 3cea100e6087f7f8884a04cc1b046f2611e4c516be0086faec685a85311f2cfd9ca49ee9f3fdff37d7e9a496685dc288601521047a3d4c2ae6b31faee2ad7390 SHA512 6d98c33f831052133176cf50419aae6dc1f5715485bcfd33f7e346cb694f5483b1f7a159f47799a72933db8ca42d83cb73b23946179aa6ccaee946d524b3bd36
|
||||
EBUILD javahelp-2.0.05_p20170719-r2.ebuild 1671 BLAKE2B b888661cec8fb5809bad3659fd3350ffc915b27aa3d9291eed88f0a0194aa702358639c7546840a56b20664565bc9442748b25164bf8418b92cab82e2322dab7 SHA512 f5182e636d07e823fc4314fe077a539e86af3d7e265884b62b42dc176dc13d48924d9491a80dd0bcfcbee7f951f3db770880a14099c11f9fb52135fe515b9fe1
|
||||
EBUILD javahelp-2.0.05_p20170719-r3.ebuild 1612 BLAKE2B 200c30695215557ec36930715715a0dd758b7b49d09b670a7c705b53c6ddf69e9a28b4f865fa1c341c1815d26d9fd9337c8ed61ce3a904a5b7aba05aeff93a2c SHA512 cd34ea7328258e5d9a36aaff43b17e5734bbcaca80c8bb9bd9a12b114be8713f1883faf4ddda209d0d85afe28c655ead198ed5a267a164d0b14be5f31bc2ca31
|
||||
MISC metadata.xml 705 BLAKE2B 99d50e7e4960fd92f1b9f34d830ee22246f88c5224beb09eb581fa10b128753985c991b22a002eb8cc6ecb599475d0d88a50cfeb76734a4d687fc3c34d88686b SHA512 c20f79d6b27ea89d68d8f9655804986827e4bb5fff86b525047d8b34cb1c30c051af76d732da63a38ee9b311e78fdaaa4e3e2fa1232cde0230b7e75f6af37b6f
|
||||
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
COMMIT="3ca862d8626096770598a3a256886d205246f4a4"
|
||||
JAVA_PKG_IUSE="examples source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="The JavaHelp system online help system"
|
||||
HOMEPAGE="https://javaee.github.io/javahelp/"
|
||||
SRC_URI="https://github.com/javaee/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
CDEPEND="dev-java/tomcat-servlet-api:2.4"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${CDEPEND}"
|
||||
|
||||
DEPEND="virtual/jdk:1.8
|
||||
${CDEPEND}"
|
||||
|
||||
JAVA_PKG_NV_DEPEND="virtual/jdk:1.8"
|
||||
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
_eant() {
|
||||
local \
|
||||
servlet_jar=$(java-pkg_getjar tomcat-servlet-api-2.4 servlet-api.jar) \
|
||||
jsp_jar=$(java-pkg_getjar tomcat-servlet-api-2.4 jsp-api.jar)
|
||||
|
||||
eant \
|
||||
-f javahelp_nbproject/build.xml \
|
||||
-Dfile.reference.servlet-api.jar="${servlet_jar}" \
|
||||
-Dfile.reference.jsp-api.jar="${jsp_jar}" \
|
||||
-Dservlet-jar="${servlet_jar}" \
|
||||
-Djsp-jar="${jsp_jar}" \
|
||||
-Dservlet-jar-present=true \
|
||||
-Djsp-jar-present=true \
|
||||
-Dtomcat-zip-present=true \
|
||||
${@}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
_eant release
|
||||
}
|
||||
|
||||
#Does not actually run anything
|
||||
#src_test() {
|
||||
# _eant test
|
||||
#}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar javahelp_nbproject/dist/lib/*.jar
|
||||
|
||||
java-pkg_dolauncher jhsearch \
|
||||
--main com.sun.java.help.search.QueryEngine
|
||||
java-pkg_dolauncher jhindexer \
|
||||
--main com.sun.java.help.search.Indexer
|
||||
|
||||
use source && java-pkg_dosrc \
|
||||
jhMaster/JSearch/*/com \
|
||||
jhMaster/JavaHelp/src/*/{javax,com}
|
||||
|
||||
use examples && java-pkg_doexamples jhMaster/JavaHelp/demos
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-2 java-ant-2 java-osgi
|
||||
|
||||
MY_P="apache-${P/-servlet-api/}-src"
|
||||
DESCRIPTION="Tomcat's Servlet API 2.4/JSP API 2.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="https://archive.apache.org/dist/tomcat/tomcat-5/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.4"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
IUSE="doc source"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8
|
||||
source? ( app-arch/zip )"
|
||||
RDEPEND=">=virtual/jdk-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/servletapi"
|
||||
|
||||
src_compile() {
|
||||
local antflags="jar $(use_doc javadoc examples)"
|
||||
eant ${antflags} -f jsr154/build.xml
|
||||
eant ${antflags} -f jsr152/build.xml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv jsr{154,152}/dist/lib/*.jar "${S}"
|
||||
|
||||
if use doc ; then
|
||||
mkdir docs
|
||||
cd "${S}/jsr154/build"
|
||||
mv docs "${S}/docs/servlet"
|
||||
mv examples "${S}/docs/servlet/examples"
|
||||
|
||||
cd "${S}/jsr152/build"
|
||||
mv docs "${S}/docs/jsp"
|
||||
mv examples "${S}/docs/jsp/examples"
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
java-osgi_dojar-fromfile --no-auto-version "jsp-api.jar" "${FILESDIR}/jsp-api-2.0-manifest" "Java Server Pages API Bundle"
|
||||
java-osgi_dojar-fromfile --no-auto-version "servlet-api.jar" "${FILESDIR}/servlet-api-2.4-manifest" "Servlet API Bundle"
|
||||
use doc && java-pkg_dohtml -r docs/*
|
||||
use source && java-pkg_dosrc jsr{152,154}/src/share/javax
|
||||
}
|
Binary file not shown.
@ -0,0 +1,272 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
MY_P="${PN}-$(ver_cut 1-3)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(ver_cut 1-2)
|
||||
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
|
||||
RUBYVERSION=${SLOT}.0
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="https://www.ruby-lang.org/"
|
||||
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc jit +rdoc rubytests socks5 +ssl static-libs systemtap tk xemacs"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( sys-libs/gdbm:= )
|
||||
jemalloc? ( dev-libs/jemalloc:= )
|
||||
jit? ( || ( sys-devel/gcc:* sys-devel/clang:* ) )
|
||||
ssl? (
|
||||
=dev-libs/openssl-1.1*:0=
|
||||
)
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
tk? (
|
||||
dev-lang/tcl:0=[threads]
|
||||
dev-lang/tk:0=[threads]
|
||||
)
|
||||
dev-libs/libyaml
|
||||
dev-libs/libffi:=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib
|
||||
virtual/libcrypt:=
|
||||
>=app-eselect/eselect-ruby-20191222
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BUNDLED_GEMS="
|
||||
>=dev-ruby/minitest-5.13.0[ruby_targets_ruby27]
|
||||
>=dev-ruby/net-telnet-0.2.0[ruby_targets_ruby27]
|
||||
>=dev-ruby/power_assert-1.1.7[ruby_targets_ruby27]
|
||||
>=dev-ruby/rake-13.0.1[ruby_targets_ruby27]
|
||||
>=dev-ruby/test-unit-3.3.4[ruby_targets_ruby27]
|
||||
>=dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby27]
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
${BUNDLED_GEMS}
|
||||
virtual/rubygems[ruby_targets_ruby27]
|
||||
>=dev-ruby/bundler-2.1.4[ruby_targets_ruby27]
|
||||
>=dev-ruby/did_you_mean-1.3.1[ruby_targets_ruby27]
|
||||
>=dev-ruby/json-2.0.2[ruby_targets_ruby27]
|
||||
rdoc? ( >=dev-ruby/rdoc-6.1.2[ruby_targets_ruby27] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/2.7/{003,010}*.patch
|
||||
|
||||
if use elibc_musl ; then
|
||||
eapply "${FILESDIR}"/2.7/{900,901}-musl-*.patch
|
||||
fi
|
||||
|
||||
# Reset time on patched gem_prelude.rb to avoid the need for a base
|
||||
# ruby during bootstrapping, bug 787137
|
||||
touch -t 202001010000 gem_prelude.rb || die
|
||||
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
# Remove bundled gems that we will install via PDEPEND, bug
|
||||
# 539700.
|
||||
rm -fr gems/* || die
|
||||
# Don't install CLI tools since they will clash with the gem
|
||||
rm -f bin/{racc,racc2y,y2racc} || die
|
||||
sed -i -e '/executables/ s:^:#:' lib/racc/racc.gemspec || die
|
||||
|
||||
einfo "Removing bundled libraries..."
|
||||
rm -fr ext/fiddle/libffi-3.2.1 || die
|
||||
|
||||
if use prefix ; then
|
||||
# Fix hardcoded SHELL var in mkmf library
|
||||
sed -i -e "s#\(SHELL = \).*#\1${EPREFIX}/bin/sh#" lib/mkmf.rb || die
|
||||
|
||||
if [[ ${CHOST} == *darwin* ]] ; then
|
||||
# avoid symlink loop on Darwin (?!)
|
||||
sed -i \
|
||||
-e '/LIBRUBY_ALIASES=/s/lib$(RUBY_INSTALL_NAME).$(SOEXT)//' \
|
||||
configure.ac || die
|
||||
|
||||
# make ar/libtool hack for Darwin work
|
||||
sed -i \
|
||||
-e "s/ac_cv_prog_ac_ct_AR='libtool/ac_cv_prog_AR='${CHOST}-libtool/" \
|
||||
configure.ac || die
|
||||
|
||||
# disable using security framework (GCC barfs on those headers)
|
||||
sed -i \
|
||||
-e 's/MAC_OS_X_VERSION_MIN_REQUIRED/_DISABLED_/' \
|
||||
random.c || die
|
||||
fi
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local modules= myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use tk ; then
|
||||
modules="${modules},tk"
|
||||
fi
|
||||
|
||||
# Provide an empty LIBPATHENV because we disable rpath but we do not
|
||||
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
|
||||
# #564272
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--with-readline-dir="${EPREFIX}"/usr \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_with jemalloc jemalloc) \
|
||||
$(use_enable jit jit-support ) \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable systemtap dtrace) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable static-libs install-static-library) \
|
||||
$(use_with static-libs static-linked-ext) \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no
|
||||
|
||||
# Makefile is broken because it lacks -ldl
|
||||
rm -rf ext/-test-/popen_deadlock || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" MJIT_CFLAGS="${CFLAGS}" MJIT_OPTFLAGS="" MJIT_DEBUGFLAGS=""
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
einfo "Removing default gems before installation"
|
||||
rm -rf lib/bundler* lib/rdoc/rdoc.gemspec || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${S}:${ED}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
|
||||
if [[ ${CHOST} == *darwin* ]] ; then
|
||||
DYLD_LIBRARY_PATH="${S}:${ED}/usr/$(get_libdir)${DYLD_LIBRARY_PATH+:}${DYLD_LIBRARY_PATH}"
|
||||
export DYLD_LIBRARY_PATH
|
||||
fi
|
||||
|
||||
RUBYLIB="${S}:${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
# Create directory for the default gems
|
||||
local gem_home="${EPREFIX}/usr/$(get_libdir)/ruby/gems/${RUBYVERSION}"
|
||||
mkdir -p "${D}/${gem_home}" || die "mkdir gem home failed"
|
||||
|
||||
emake V=1 DESTDIR="${D}" GEM_DESTDIR=${gem_home} install
|
||||
|
||||
# Remove installed rubygems and rdoc copy
|
||||
rm -rf "${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -rf "${ED}/usr/bin/"gem"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
rm -rf "${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -rf "${ED}/usr/bin/"{bundle,bundler,ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" GEM_DESTDIR=${gem_home} install-doc
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodoc -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README*
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${EROOT}"/usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(23|24|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -0,0 +1,267 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
MY_P="${PN}-$(ver_cut 1-3)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(ver_cut 1-2)
|
||||
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
|
||||
RUBYVERSION=${SLOT}.0
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="https://www.ruby-lang.org/"
|
||||
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc jit +rdoc rubytests socks5 +ssl static-libs systemtap tk xemacs"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( sys-libs/gdbm:= )
|
||||
jemalloc? ( dev-libs/jemalloc:= )
|
||||
jit? ( || ( sys-devel/gcc:* sys-devel/clang:* ) )
|
||||
ssl? (
|
||||
=dev-libs/openssl-1.1*:0=
|
||||
)
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
tk? (
|
||||
dev-lang/tcl:0=[threads]
|
||||
dev-lang/tk:0=[threads]
|
||||
)
|
||||
dev-libs/libyaml
|
||||
dev-libs/libffi:=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib
|
||||
virtual/libcrypt:=
|
||||
>=app-eselect/eselect-ruby-20201225
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BUNDLED_GEMS="
|
||||
>=dev-ruby/minitest-5.14.2[ruby_targets_ruby30]
|
||||
>=dev-ruby/power_assert-1.2.0[ruby_targets_ruby30]
|
||||
>=dev-ruby/rake-13.0.3[ruby_targets_ruby30]
|
||||
>=dev-ruby/rbs-1.0.0[ruby_targets_ruby30]
|
||||
>=dev-ruby/rexml-3.2.4[ruby_targets_ruby30]
|
||||
>=dev-ruby/rss-0.2.9[ruby_targets_ruby30]
|
||||
>=dev-ruby/test-unit-3.3.7[ruby_targets_ruby30]
|
||||
>=dev-ruby/typeprof-0.11.0[ruby_targets_ruby30]
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
${BUNDLED_GEMS}
|
||||
virtual/rubygems[ruby_targets_ruby30]
|
||||
>=dev-ruby/bundler-2.2.15[ruby_targets_ruby30]
|
||||
>=dev-ruby/did_you_mean-1.5.0[ruby_targets_ruby30]
|
||||
>=dev-ruby/json-2.5.1[ruby_targets_ruby30]
|
||||
rdoc? ( >=dev-ruby/rdoc-6.3.0[ruby_targets_ruby30] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/"${SLOT}"/010*.patch
|
||||
|
||||
if use elibc_musl ; then
|
||||
eapply "${FILESDIR}"/3.0/900-musl-*.patch
|
||||
eapply "${FILESDIR}"/3.0/901-musl-*.patch
|
||||
fi
|
||||
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
# Remove bundled gems that we will install via PDEPEND, bug
|
||||
# 539700.
|
||||
rm -fr gems/* || die
|
||||
touch gems/bundled_gems || die
|
||||
# Don't install CLI tools since they will clash with the gem
|
||||
rm -f bin/{racc,racc2y,y2racc} || die
|
||||
sed -i -e '/executables/ s:^:#:' lib/racc/racc.gemspec || die
|
||||
|
||||
einfo "Removing bundled libraries..."
|
||||
rm -fr ext/fiddle/libffi-3.2.1 || die
|
||||
|
||||
if use prefix ; then
|
||||
# Fix hardcoded SHELL var in mkmf library
|
||||
sed -i -e "s#\(SHELL = \).*#\1${EPREFIX}/bin/sh#" lib/mkmf.rb || die
|
||||
|
||||
if [[ ${CHOST} == *darwin* ]] ; then
|
||||
# avoid symlink loop on Darwin (?!)
|
||||
sed -i \
|
||||
-e '/LIBRUBY_ALIASES=/s/lib$(RUBY_INSTALL_NAME).$(SOEXT)//' \
|
||||
configure.ac || die
|
||||
|
||||
# make ar/libtool hack for Darwin work
|
||||
sed -i \
|
||||
-e "s/ac_cv_prog_ac_ct_AR='libtool/ac_cv_prog_AR='${CHOST}-libtool/" \
|
||||
configure.ac || die
|
||||
fi
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local modules= myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use tk ; then
|
||||
modules="${modules},tk"
|
||||
fi
|
||||
|
||||
# Provide an empty LIBPATHENV because we disable rpath but we do not
|
||||
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
|
||||
# #564272
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--with-readline-dir="${EPREFIX}"/usr \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_with jemalloc jemalloc) \
|
||||
$(use_enable jit jit-support ) \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable systemtap dtrace) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable static-libs install-static-library) \
|
||||
$(use_with static-libs static-linked-ext) \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no
|
||||
|
||||
# Makefile is broken because it lacks -ldl
|
||||
rm -rf ext/-test-/popen_deadlock || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" MJIT_CFLAGS="${CFLAGS}" MJIT_OPTFLAGS="" MJIT_DEBUGFLAGS=""
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
einfo "Removing default gems before installation"
|
||||
rm -rf lib/bundler* lib/rdoc/rdoc.gemspec || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${S}:${ED}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
|
||||
if [[ ${CHOST} == *darwin* ]] ; then
|
||||
DYLD_LIBRARY_PATH="${S}:${ED}/usr/$(get_libdir)${DYLD_LIBRARY_PATH+:}${DYLD_LIBRARY_PATH}"
|
||||
export DYLD_LIBRARY_PATH
|
||||
fi
|
||||
|
||||
RUBYLIB="${S}:${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
# Create directory for the default gems
|
||||
local gem_home="${EPREFIX}/usr/$(get_libdir)/ruby/gems/${RUBYVERSION}"
|
||||
mkdir -p "${D}/${gem_home}" || die "mkdir gem home failed"
|
||||
|
||||
emake V=1 DESTDIR="${D}" GEM_DESTDIR=${gem_home} install
|
||||
|
||||
# Remove installed rubygems and rdoc copy
|
||||
rm -rf "${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -rf "${ED}/usr/bin/"gem"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
rm -rf "${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -rf "${ED}/usr/bin/"{bundle,bundler,ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" GEM_DESTDIR=${gem_home} install-doc
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodoc -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS.md doc/NEWS* README*
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${EROOT}"/usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(23|24|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -0,0 +1,251 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
MY_P="${PN}-$(ver_cut 1-3)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(ver_cut 1-2)
|
||||
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
|
||||
RUBYVERSION=${SLOT}.0
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="https://www.ruby-lang.org/"
|
||||
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc jit +rdoc socks5 +ssl static-libs systemtap tk xemacs"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( sys-libs/gdbm:= )
|
||||
jemalloc? ( dev-libs/jemalloc:= )
|
||||
jit? ( || ( sys-devel/gcc:* sys-devel/clang:* ) )
|
||||
ssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
tk? (
|
||||
dev-lang/tcl:0=[threads]
|
||||
dev-lang/tk:0=[threads]
|
||||
)
|
||||
dev-libs/libyaml
|
||||
dev-libs/libffi:=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib
|
||||
virtual/libcrypt:=
|
||||
>=app-eselect/eselect-ruby-20201225
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BUNDLED_GEMS="
|
||||
>=dev-ruby/minitest-5.15.0[ruby_targets_ruby31]
|
||||
>=dev-ruby/power_assert-2.0.1[ruby_targets_ruby31]
|
||||
>=dev-ruby/rake-13.0.6[ruby_targets_ruby31]
|
||||
>=dev-ruby/rbs-2.1.0[ruby_targets_ruby31]
|
||||
>=dev-ruby/rexml-3.2.5[ruby_targets_ruby31]
|
||||
>=dev-ruby/rss-0.2.9[ruby_targets_ruby31]
|
||||
>=dev-ruby/test-unit-3.5.3[ruby_targets_ruby31]
|
||||
>=dev-ruby/typeprof-0.12.2[ruby_targets_ruby31]
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
${BUNDLED_GEMS}
|
||||
virtual/rubygems[ruby_targets_ruby31]
|
||||
>=dev-ruby/bundler-2.3.3[ruby_targets_ruby31]
|
||||
>=dev-ruby/did_you_mean-1.6.1[ruby_targets_ruby31]
|
||||
>=dev-ruby/json-2.6.1[ruby_targets_ruby31]
|
||||
rdoc? ( >=dev-ruby/rdoc-6.3.3[ruby_targets_ruby31] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/"${SLOT}"/011*.patch
|
||||
|
||||
if use elibc_musl ; then
|
||||
eapply "${FILESDIR}"/3.1/901-musl-*.patch
|
||||
fi
|
||||
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
# Remove bundled gems that we will install via PDEPEND, bug
|
||||
# 539700.
|
||||
rm -fr gems/* || die
|
||||
touch gems/bundled_gems || die
|
||||
# Don't install CLI tools since they will clash with the gem
|
||||
rm -f bin/{racc,racc2y,y2racc} || die
|
||||
sed -i -e '/executables/ s:^:#:' lib/racc/racc.gemspec || die
|
||||
|
||||
einfo "Removing bundled libraries..."
|
||||
rm -fr ext/fiddle/libffi-3.2.1 || die
|
||||
|
||||
# Remove tests that are known to fail or require a network connection
|
||||
rm -f test/ruby/test_process.rb test/rubygems/test_gem{,_path_support}.rb || die
|
||||
rm -f test/rinda/test_rinda.rb test/socket/test_tcp.rb test/fiber/test_address_resolve.rb test/resolv/test_addr.rb \
|
||||
spec/ruby/library/socket/tcpsocket/{initialize,open}_spec.rb|| die
|
||||
sed -i -e '/def test_test/askip "Depends on system setup"' test/ruby/test_file_exhaustive.rb || die
|
||||
|
||||
if use prefix ; then
|
||||
# Fix hardcoded SHELL var in mkmf library
|
||||
sed -i -e "s#\(SHELL = \).*#\1${EPREFIX}/bin/sh#" lib/mkmf.rb || die
|
||||
|
||||
if [[ ${CHOST} == *darwin* ]] ; then
|
||||
# avoid symlink loop on Darwin (?!)
|
||||
sed -i \
|
||||
-e '/LIBRUBY_ALIASES=/s/lib$(RUBY_INSTALL_NAME).$(SOEXT)//' \
|
||||
configure.ac || die
|
||||
|
||||
# make ar/libtool hack for Darwin work
|
||||
sed -i \
|
||||
-e "s/ac_cv_prog_ac_ct_AR='libtool/ac_cv_prog_AR='${CHOST}-libtool/" \
|
||||
configure.ac || die
|
||||
fi
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local modules="win32,win32ole" myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use tk ; then
|
||||
modules="${modules},tk"
|
||||
fi
|
||||
|
||||
# Provide an empty LIBPATHENV because we disable rpath but we do not
|
||||
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
|
||||
# #564272
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--with-readline-dir="${EPREFIX}"/usr \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_with jemalloc jemalloc) \
|
||||
$(use_enable jit jit-support ) \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable systemtap dtrace) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable static-libs install-static-library) \
|
||||
$(use_with static-libs static-linked-ext) \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no
|
||||
|
||||
# Makefile is broken because it lacks -ldl
|
||||
rm -rf ext/-test-/popen_deadlock || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" MJIT_CFLAGS="${CFLAGS}" MJIT_OPTFLAGS="" MJIT_DEBUGFLAGS=""
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake V=1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
einfo "Removing default gems before installation"
|
||||
rm -rf lib/bundler* lib/rdoc/rdoc.gemspec || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${S}:${ED}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
|
||||
if [[ ${CHOST} == *darwin* ]] ; then
|
||||
DYLD_LIBRARY_PATH="${S}:${ED}/usr/$(get_libdir)${DYLD_LIBRARY_PATH+:}${DYLD_LIBRARY_PATH}"
|
||||
export DYLD_LIBRARY_PATH
|
||||
fi
|
||||
|
||||
RUBYLIB="${S}:${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
# Create directory for the default gems
|
||||
local gem_home="${EPREFIX}/usr/$(get_libdir)/ruby/gems/${RUBYVERSION}"
|
||||
mkdir -p "${D}/${gem_home}" || die "mkdir gem home failed"
|
||||
|
||||
emake V=1 DESTDIR="${D}" GEM_DESTDIR=${gem_home} install
|
||||
|
||||
# Remove installed rubygems and rdoc copy
|
||||
rm -rf "${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -rf "${ED}/usr/bin/"gem"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
rm -rf "${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -rf "${ED}/usr/bin/"{bundle,bundler,ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" GEM_DESTDIR=${gem_home} install-doc
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodoc -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS.md doc/NEWS* README*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${EROOT}"/usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(23|24|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -0,0 +1,270 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
MY_P="${PN}-$(ver_cut 1-3)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(ver_cut 1-2)
|
||||
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
|
||||
RUBYVERSION=${SLOT}.0
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="https://www.ruby-lang.org/"
|
||||
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc jit +rdoc socks5 +ssl static-libs systemtap tk xemacs"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( sys-libs/gdbm:= )
|
||||
jemalloc? ( dev-libs/jemalloc:= )
|
||||
jit? ( >=virtual/rust-1.58.1 )
|
||||
ssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
tk? (
|
||||
dev-lang/tcl:0=[threads]
|
||||
dev-lang/tk:0=[threads]
|
||||
)
|
||||
dev-libs/libyaml
|
||||
dev-libs/libffi:=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib
|
||||
virtual/libcrypt:=
|
||||
>=app-eselect/eselect-ruby-20221225
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BUNDLED_GEMS="
|
||||
>=dev-ruby/debug-1.7.1[ruby_targets_ruby32]
|
||||
>=dev-ruby/matrix-0.4.2[ruby_targets_ruby32]
|
||||
>=dev-ruby/minitest-5.16.3[ruby_targets_ruby32]
|
||||
>=dev-ruby/net-ftp-0.2.0[ruby_targets_ruby32]
|
||||
>=dev-ruby/net-imap-0.3.4[ruby_targets_ruby32]
|
||||
>=dev-ruby/net-pop-0.1.2[ruby_targets_ruby32]
|
||||
>=dev-ruby/net-smtp-0.3.3[ruby_targets_ruby32]
|
||||
>=dev-ruby/power_assert-2.0.3[ruby_targets_ruby32]
|
||||
>=dev-ruby/prime-0.1.2[ruby_targets_ruby32]
|
||||
>=dev-ruby/rake-13.0.6[ruby_targets_ruby32]
|
||||
>=dev-ruby/rbs-2.8.2[ruby_targets_ruby32]
|
||||
>=dev-ruby/rexml-3.2.5[ruby_targets_ruby32]
|
||||
>=dev-ruby/rss-0.2.9[ruby_targets_ruby32]
|
||||
>=dev-ruby/test-unit-3.5.7[ruby_targets_ruby32]
|
||||
>=dev-ruby/typeprof-0.21.3[ruby_targets_ruby32]
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
${BUNDLED_GEMS}
|
||||
virtual/rubygems[ruby_targets_ruby32]
|
||||
>=dev-ruby/bundler-2.3.3[ruby_targets_ruby32]
|
||||
>=dev-ruby/did_you_mean-1.6.1[ruby_targets_ruby32]
|
||||
>=dev-ruby/json-2.6.1[ruby_targets_ruby32]
|
||||
rdoc? ( >=dev-ruby/rdoc-6.3.3[ruby_targets_ruby32] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/"${SLOT}"/010*.patch
|
||||
|
||||
if use elibc_musl ; then
|
||||
eapply "${FILESDIR}"/${SLOT}/901-musl-*.patch
|
||||
fi
|
||||
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
# Remove bundled gems that we will install via PDEPEND, bug
|
||||
# 539700.
|
||||
rm -fr gems/* || die
|
||||
touch gems/bundled_gems || die
|
||||
# Don't install CLI tools since they will clash with the gem
|
||||
rm -f bin/{racc,racc2y,y2racc} || die
|
||||
sed -i -e '/executables/ s:^:#:' lib/racc/racc.gemspec || die
|
||||
|
||||
# Remove tests that are known to fail or require a network connection
|
||||
rm -f test/ruby/test_process.rb test/rubygems/test_gem{,_path_support}.rb || die
|
||||
rm -f test/rinda/test_rinda.rb test/socket/test_tcp.rb test/fiber/test_address_resolve.rb spec/ruby/library/socket/tcpsocket/{initialize,open}_spec.rb|| die
|
||||
|
||||
# Remove webrick tests because setting LD_LIBRARY_PATH does not work for them.
|
||||
rm -rf tool/test/webrick || die
|
||||
|
||||
# Avoid test using the system ruby
|
||||
sed -i -e '/test_dumb_terminal/aomit "Uses system ruby"' test/reline/test_reline.rb || die
|
||||
|
||||
# Avoid testing against hard-coded blockdev devices that most likely are not available
|
||||
sed -i -e '/def blockdev/a@blockdev = nil' test/ruby/test_file_exhaustive.rb || die
|
||||
|
||||
# Avoid tests that require gem downloads
|
||||
sed -i -e '/^test-syntax-suggest/ s/\$(TEST_RUNNABLE)/no/' common.mk || die
|
||||
sed -i -e '/^check:/ s/\$(TEST_RUNNABLE)-\$(PREPARE_SYNTAX_SUGGEST) test-syntax-suggest//' common.mk || die
|
||||
|
||||
if use prefix ; then
|
||||
# Fix hardcoded SHELL var in mkmf library
|
||||
sed -i -e "s#\(SHELL = \).*#\1${EPREFIX}/bin/sh#" lib/mkmf.rb || die
|
||||
|
||||
if [[ ${CHOST} == *darwin* ]] ; then
|
||||
# avoid symlink loop on Darwin (?!)
|
||||
sed -i \
|
||||
-e '/LIBRUBY_ALIASES=/s/lib$(RUBY_INSTALL_NAME).$(SOEXT)//' \
|
||||
configure.ac || die
|
||||
|
||||
# make ar/libtool hack for Darwin work
|
||||
sed -i \
|
||||
-e "s/ac_cv_prog_ac_ct_AR='libtool/ac_cv_prog_AR='${CHOST}-libtool/" \
|
||||
configure.ac || die
|
||||
fi
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local modules="win32,win32ole" myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use tk ; then
|
||||
modules="${modules},tk"
|
||||
fi
|
||||
|
||||
# Provide an empty LIBPATHENV because we disable rpath but we do not
|
||||
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
|
||||
# #564272
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--with-readline-dir="${EPREFIX}"/usr \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_with jemalloc jemalloc) \
|
||||
$(use_enable jit jit-support) \
|
||||
$(use_enable jit yjit) \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable systemtap dtrace) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable static-libs install-static-library) \
|
||||
$(use_with static-libs static-linked-ext) \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no
|
||||
|
||||
# Makefile is broken because it lacks -ldl
|
||||
rm -rf ext/-test-/popen_deadlock || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LD_LIBRARY_PATH="${S}:${ED}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" MJIT_CFLAGS="${CFLAGS}" MJIT_OPTFLAGS="" MJIT_DEBUGFLAGS=""
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export LD_LIBRARY_PATH="${S}:${ED}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
emake V=1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
einfo "Removing default gems before installation"
|
||||
rm -rf lib/bundler* lib/rdoc/rdoc.gemspec || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${S}:${ED}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
|
||||
if [[ ${CHOST} == *darwin* ]] ; then
|
||||
DYLD_LIBRARY_PATH="${S}:${ED}/usr/$(get_libdir)${DYLD_LIBRARY_PATH+:}${DYLD_LIBRARY_PATH}"
|
||||
export DYLD_LIBRARY_PATH
|
||||
fi
|
||||
|
||||
RUBYLIB="${S}:${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
# Create directory for the default gems
|
||||
local gem_home="${EPREFIX}/usr/$(get_libdir)/ruby/gems/${RUBYVERSION}"
|
||||
mkdir -p "${D}/${gem_home}" || die "mkdir gem home failed"
|
||||
|
||||
emake V=1 DESTDIR="${D}" GEM_DESTDIR=${gem_home} install
|
||||
|
||||
# Remove installed rubygems and rdoc copy
|
||||
rm -rf "${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -rf "${ED}/usr/bin/"gem"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
rm -rf "${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -rf "${ED}/usr/bin/"{bundle,bundler,ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" GEM_DESTDIR=${gem_home} install-doc
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodoc -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS.md README*
|
||||
dodoc -r doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${EROOT}"/usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(23|24|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST shoulda-context-1.2.2.gem 24064 BLAKE2B a6068da369c00a36e6056a8ebba96eca90efddf94613dfc90c9f2a47bec2c054a41fa61b861b2f3ec1195e417bdc54ab60d53f91bc5e0f167eac07b84880892b SHA512 b09f5ce2db59bbb26d5678b17b6641b79df7983d25e81a31bc10c42b702bdba09795b692d711d59c103beb2f691b503567e37c46668f77e600416551ef2c5e05
|
||||
EBUILD shoulda-context-1.2.2-r1.ebuild 859 BLAKE2B e2c0ecb860be7ea490f41dda1f39bfd9b16285fb864d0c1c2697710073df6f3200a2ba3c4b3bde77db6194cab96bc82999f2f48c75d27daed2eeec1ee3fd07bf SHA512 ff6f5a3fc08c7a6c64cd9a75d7f3c03406bb60244b1dd688ec0b2533071a7c80d34d3c46dc8985aff0909c40c43ea1c05a2e7959ffc60a4baa64d21c08ac2823
|
||||
MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14
|
||||
EBUILD shoulda-context-1.2.2-r1.ebuild 852 BLAKE2B 6addba448dde56887773831bc27f2d30e5876dc431c613b24f64e23864dfbe1d662409e505c02ed57a03e4527cdd395fad105a45da512233195c297a8a2f0311 SHA512 f42ba27eb91f5bfa955b03b257a327bce3fa0e3feadae1a6a4a84a7fe2352a16da038cb1537bfe1669046cfed92674b7ce10a7074b6a529b50436d6c36a0db3b
|
||||
MISC metadata.xml 412 BLAKE2B cdab2c06a1407db99bd231afebddc4fd87361378cec2767b0b58c0da4fe7d3ceaa522b0a0dbede8ca496ca1840d37ac257de62f12135ffb6ea2922eac9160d84 SHA512 16fbc3b54f33c73173d09e5af860fb1e46c8498574b2f2b727e164052c8e813f25a6a75b541442469d961b515a52d5562157404136a8c00125e5c122f91a3003
|
||||
|
@ -1,8 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">thoughtbot/shoulda-context</remote-id>
|
||||
<remote-id type="rubygems">shoulda-context</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST time-0.2.1.tar.gz 25363 BLAKE2B 8f9a3dae104a03cc012b156fe696890a655b8a81627e23c3cc3c811b15d1a195d5e7ca1da1b9ab8ee81895e291962be2f64bdf021a376e77a3195695a0a876c1 SHA512 695ea9907338fc13fd8b7ab98ed57d811c05e0609c99585eff80acd172d38408c705857dc25ff78b310a6945e768e5403d9c4453b357676f39d40418982c97e6
|
||||
DIST time-0.2.2.tar.gz 26129 BLAKE2B 9d7c507c06fca17c9a2734f1116524344518635562b0ba924cdf5e0b0b52cb31f6dffa7aa3c8c06e0d2f5f2c1ffdcef2a92756cd915822be6a1510f08fa91c56 SHA512 4866cd7df233222ed76cf3b35c842b6e1652b429aa15609bfe40f89683ad5df2ce7f37f41dfb0e85f610f2ebf4e431ea8046d67c3aed7aa345d928fe33ba1ae3
|
||||
EBUILD time-0.2.1.ebuild 1018 BLAKE2B b3a8aa3d73bb8023162151d14f64d41a35342bdc621389379877998c18a76ead9813d6321d8a67ff603cfe0e89573caac00bfd5a659e3d7ba6d0421fecd2fec7 SHA512 8abb76652502d9a54677d5aa863729a406f1dbfd9399daff715b7a08161a9de3ca65786e19368ee98b12fe3c76fa5bd3976b74ef6c4a229a3fd7344e076ba251
|
||||
EBUILD time-0.2.2.ebuild 1025 BLAKE2B a5e32af2f19421735c07f43914f9b29f6bf874c5b18a6429b2b4e7c77da900df50d9eabbc2555a5bf54d0b3786ad0f46b5a69a3a3f17f43c24fd4df0b21ae772 SHA512 6678e39a1eb2f142b8195e5c5fbb0dd55c9e0b13d15692bcf8fdb09b2905940775917afc64d0ba826d4c561fc8908b086b06889c0e4384343e554eb767441dc6
|
||||
MISC metadata.xml 336 BLAKE2B 319e2c60fbca7c2a86ddd03dc6b837e5f596e12fa5b9dbf002a955c23e8eeeb26bb91a4526a6a67604b6eded037f99f8e95334899fea2d1b3d1715457eb7dc6c SHA512 8ab5bc044b940fea3297ab6cb12a4fd3204602558812dc059d59e8a7f72ebe137ae637127270c40e8fdec3a8c00c9778d109f499b4828ac4d03f38ed7b0fa292
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby27 ruby30 ruby31 ruby32"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="time.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Extends the Time class with methods for parsing and conversion"
|
||||
HOMEPAGE="https://github.com/ruby/time"
|
||||
SRC_URI="https://github.com/ruby/time/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/date"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e 's/__dir__/"."/' \
|
||||
-e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
|
||||
-e 's/git ls-files -z/find * -print0/' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,186 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
inherit autotools cmake flag-o-matic python-any-r1 toolchain-funcs xdg
|
||||
|
||||
# TODO: try unbundling, albeit compatibility with (and between) these
|
||||
# tend to be volatile and it may not be the best idea "yet"
|
||||
HASH_GLSLANG=6d41bb9c557c5a0eec61ffba1f775dc5f717a8f7
|
||||
HASH_SPIRV=4e2fdb25671c742a9fbe93a6034eb1542244c7e1
|
||||
HASH_VULKAN=a3dd2655a3a68c2a67c55a0f8b77dcb8b166ada2
|
||||
|
||||
DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator"
|
||||
HOMEPAGE="https://github.com/snes9xgit/snes9x/"
|
||||
SRC_URI="
|
||||
https://github.com/snes9xgit/snes9x/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
gui? (
|
||||
https://github.com/KhronosGroup/glslang/archive/${HASH_GLSLANG}.tar.gz
|
||||
-> glslang-${HASH_GLSLANG}.tar.gz
|
||||
https://github.com/KhronosGroup/SPIRV-Cross/archive/${HASH_SPIRV}.tar.gz
|
||||
-> spirv-cross-${HASH_SPIRV}.tar.gz
|
||||
https://github.com/KhronosGroup/Vulkan-Headers/archive/${HASH_VULKAN}.tar.gz
|
||||
-> vulkan-headers-${HASH_VULKAN}.tar.gz
|
||||
)"
|
||||
|
||||
LICENSE="
|
||||
Snes9x GPL-2 GPL-2+ LGPL-2.1 LGPL-2.1+ ISC MIT ZLIB
|
||||
gui? ( Apache-2.0 CC0-1.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="alsa debug gui libretro netplay oss portaudio pulseaudio wayland xinerama +xv"
|
||||
RESTRICT="bindist"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/libpng:=
|
||||
sys-libs/zlib:=[minizip]
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gui? (
|
||||
dev-cpp/cairomm:0
|
||||
dev-cpp/glibmm:2
|
||||
dev-cpp/gtkmm:3.0[wayland?]
|
||||
dev-libs/glib:2
|
||||
dev-libs/libsigc++:2
|
||||
media-libs/libepoxy
|
||||
media-libs/libsdl2[joystick]
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3[wayland?]
|
||||
x11-libs/libXrandr
|
||||
portaudio? ( media-libs/portaudio )
|
||||
pulseaudio? ( media-libs/libpulse )
|
||||
wayland? ( dev-libs/wayland )
|
||||
)
|
||||
libretro? ( !games-emulation/libretro-snes9x )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xv? ( x11-libs/libXv )"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
gui? ( ${PYTHON_DEPS} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.62.1-flags.patch
|
||||
"${FILESDIR}"/${PN}-1.62.1-gcc13.patch
|
||||
"${FILESDIR}"/${PN}-1.62.1-optional-wayland.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# used by bundled glslang
|
||||
use gui && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use gui; then
|
||||
rmdir external/{glslang,SPIRV-Cross,vulkan-headers} || die
|
||||
mv ../glslang-${HASH_GLSLANG} external/glslang || die
|
||||
mv ../SPIRV-Cross-${HASH_SPIRV} external/SPIRV-Cross || die
|
||||
mv ../Vulkan-Headers-${HASH_VULKAN} external/vulkan-headers || die
|
||||
fi
|
||||
|
||||
if use gui; then
|
||||
CMAKE_USE_DIR=${S}/gtk
|
||||
cmake_src_prepare
|
||||
else
|
||||
default
|
||||
fi
|
||||
|
||||
pushd unix >/dev/null || die
|
||||
eautoreconf
|
||||
popd >/dev/null || die
|
||||
|
||||
rm -r unzip || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC CXX # for libretro
|
||||
|
||||
local econfargs=(
|
||||
$(use_enable alsa sound-alsa)
|
||||
$(use_enable debug debugger)
|
||||
$(use_enable netplay)
|
||||
$(use_enable xinerama)
|
||||
$(use_enable xv xvideo)
|
||||
--enable-gamepad
|
||||
--enable-gzip
|
||||
--enable-screenshot
|
||||
--enable-zip
|
||||
--disable-libyuv # unpackaged
|
||||
--with-system-zip
|
||||
)
|
||||
|
||||
pushd unix >/dev/null || die
|
||||
econf "${econfargs[@]}"
|
||||
popd >/dev/null || die
|
||||
|
||||
if use gui; then
|
||||
# bundled SPIRV-Cross fails with -Werror=odr
|
||||
filter-lto
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=no
|
||||
-DDEBUGGER=$(usex debug)
|
||||
-DUSE_ALSA=$(usex alsa)
|
||||
-DUSE_OSS=$(usex oss)
|
||||
-DUSE_PORTAUDIO=$(usex portaudio)
|
||||
-DUSE_PULSEAUDIO=$(usex pulseaudio)
|
||||
-DUSE_SYSTEMZIP=yes
|
||||
-DUSE_WAYLAND=$(usex wayland)
|
||||
-DUSE_XV=$(usex xv)
|
||||
|
||||
# this controls both vulkan output and shader support, could be
|
||||
# behind a USE but it currently fails to build if disabled and
|
||||
# adds no dependencies given they are bundled (for now)
|
||||
-DUSE_SLANG=yes
|
||||
|
||||
# gets used for LOCALE/DATADIR too early (installs to /usr//locale)
|
||||
-DCMAKE_INSTALL_DATAROOTDIR=share
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use libretro; then
|
||||
emake -C libretro LTO=
|
||||
# rebuild objects given libretro uses different defines (bug #791475)
|
||||
rm *.o || die
|
||||
fi
|
||||
|
||||
emake -C unix
|
||||
|
||||
use gui && cmake_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# currently no tests, but don't run the cmake phase while unconfigured
|
||||
use gui && cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use libretro; then
|
||||
exeinto /usr/$(get_libdir)/libretro
|
||||
doexe libretro/snes9x_libretro.so
|
||||
fi
|
||||
|
||||
dobin unix/snes9x
|
||||
|
||||
local DOCS=(
|
||||
README.md
|
||||
docs/{changes,control-inputs,controls,snapshots}.txt
|
||||
unix/snes9x.conf.default
|
||||
)
|
||||
einstalldocs
|
||||
|
||||
if use gui; then
|
||||
DOCS=( AUTHORS )
|
||||
cmake_src_install
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST qtractor-0.9.31.tar.gz 2009829 BLAKE2B a7c3da14e8b77bd6ebc61514fa8f4c1aee59a113758526b58d0e861f628bd2b0710c9990855e69264ffa05003ea22abe84c4ce29820f8436b4f2d9806fa6901a SHA512 bd86b0c0568b2f318aafb09b33bfd6e1956c622b3a6d743455baa4cbcd5c496f6849159b88bfc27fa726966fd76114a0211418486da937e356eeac248f7c4d47
|
||||
DIST qtractor-0.9.32.tar.gz 2015021 BLAKE2B de2b6967431d908863189600a3a59eca82bb6c2f683be082f8ea35578af36cc1d3884c6d6e0abd5eae03f5cceac02fd1186e6ed0b87a7c8d5085bcd897c89f8d SHA512 3dd26df167ffd91efeadd1d8532fd720b848dfe37789b0492f313e6aac0917dda341618cc5ca6262135ee7f9795990f2ceb6c089c4d7c65d29948de1a480f687
|
||||
DIST qtractor-0.9.33.tar.gz 2014555 BLAKE2B b2de591c8be935403f8c54682758a891bd9ead07626aede7d1015915941a0558e9f9aeeed3cda5b2b60c52637a80d72e10edc6d29c5d05d87bcfaca31df58e7a SHA512 cb5f26e124a3b43afeaa7f175338ea54ffdd907ee95935c9188ed890afbfea7706fcd45cf6f3c208abfd93ddfbc1ec6fbd1ee2c11a5505f45c97d98950944811
|
||||
EBUILD qtractor-0.9.31.ebuild 2504 BLAKE2B 38434a737c64dfe61dca5992d7464be1fdf913e8aa9d1683caa0cdba18f44db432b3103c590fb2667dc43762c6aee1da9feb65a110d815f040e8c31387e3c1fe SHA512 44ab440cce00e1eb5447880649ab292391ec9a737c2e3444ef15e26c744afed70449bca8ccceb022238c6e421bd7418dbd5fa8d0ac5fa530013e094d7bf896af
|
||||
EBUILD qtractor-0.9.32.ebuild 2506 BLAKE2B 46d09c6cd1d134e986c05c9b33315df426683c25e589c8a15463d7b3e0ab732819eebccc0f078beb64f6669786b4bfe34b8d6dfc86a5709fbf925a727a8f219f SHA512 930cd1fa23ebdc64148530c4abe214f5c06dae1e3651ca065be9a6fa51843dff03ee1ff2df599e946112bd61b5f7f02ab6f5d4d76e9b8f1ce21aa0b400dc3496
|
||||
EBUILD qtractor-0.9.33.ebuild 2506 BLAKE2B 46d09c6cd1d134e986c05c9b33315df426683c25e589c8a15463d7b3e0ab732819eebccc0f078beb64f6669786b4bfe34b8d6dfc86a5709fbf925a727a8f219f SHA512 930cd1fa23ebdc64148530c4abe214f5c06dae1e3651ca065be9a6fa51843dff03ee1ff2df599e946112bd61b5f7f02ab6f5d4d76e9b8f1ce21aa0b400dc3496
|
||||
MISC metadata.xml 891 BLAKE2B c85e76d86b5e559e2de880a440e8bdddfb8d67de2b7216a42ebb1ec7cce7b9a4dc8ccf20732e4b4ea489a14fcf5584aecef193e9fe3ac2bb0159011002607a60 SHA512 fcc0f8b61f0b9d9fd3d49c5f00f46b739012a6e8e4f7664bf08ae277b279d282d11056f9ca986788a7e444da53a17aeab46c2ee30fa945eb54dd271b11cf4a55
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
Fri, 31 Mar 2023 04:39:30 +0000
|
||||
Fri, 31 Mar 2023 08:09:28 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 31 Mar 2023 04:39:30 +0000
|
||||
Fri, 31 Mar 2023 08:09:28 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
BDEPEND=verify-sig? ( sec-keys/openpgp-keys-apache-xmlgraphics-batik ) verify-sig? ( app-crypt/gnupg >=app-portage/gemato-16 )
|
||||
DEFINED_PHASES=compile install postinst postrm preinst prepare setup test unpack
|
||||
DEPEND=dev-java/jacl:0 dev-java/rhino:1.6 dev-java/xalan:0 dev-java/xml-commons-external:1.4 dev-java/xmlgraphics-commons:2 >=virtual/jdk-1.8:* >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip ) test? ( dev-java/junit:4 )
|
||||
DESCRIPTION=XML Graphics Batik
|
||||
EAPI=8
|
||||
HOMEPAGE=https://xmlgraphics.apache.org/batik/
|
||||
INHERIT=desktop java-pkg-2 java-pkg-simple xdg-utils verify-sig
|
||||
IUSE=doc source test verify-sig
|
||||
KEYWORDS=~amd64 ~arm64 ~ppc64 ~x86
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=dev-java/jacl:0 dev-java/rhino:1.6 dev-java/xalan:0 dev-java/xml-commons-external:1.4 dev-java/xmlgraphics-commons:2 >=virtual/jre-1.8:* >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=1.16
|
||||
SRC_URI=mirror://apache/xmlgraphics/batik/source/batik-src-1.16.tar.gz verify-sig? ( https://downloads.apache.org/xmlgraphics/batik/source/batik-src-1.16.tar.gz.asc )
|
||||
_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d java-pkg-2 1794573de2f5124d88b64ee5dc9aabb4 java-pkg-simple 7dacd744ab3fb5ec581318fefaa7a9e5 java-utils-2 8c72ea36a4935f626b13a30141d0d39c verify-sig ed3712fa46ee0fdc2dbbad539e20ff26 xdg-utils baea6080dd821f5562d715887954c9d3
|
||||
_md5_=6ed6e93fe990f2742d16ecda7bfff509
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup
|
||||
DEPEND=virtual/jdk:1.8 dev-java/tomcat-servlet-api:2.4 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 dev-java/javatoolkit
|
||||
DESCRIPTION=The JavaHelp system online help system
|
||||
EAPI=8
|
||||
HOMEPAGE=https://javaee.github.io/javahelp/
|
||||
INHERIT=java-pkg-2 java-ant-2
|
||||
IUSE=examples source
|
||||
KEYWORDS=amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris
|
||||
LICENSE=GPL-2-with-linking-exception
|
||||
RDEPEND=>=virtual/jre-1.4 dev-java/tomcat-servlet-api:2.4 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/javaee/javahelp/archive/3ca862d8626096770598a3a256886d205246f4a4.tar.gz -> javahelp-2.0.05_p20170719.tar.gz
|
||||
_eclasses_=java-ant-2 5a1b508f2544b7cac8ec27c170676de0 java-pkg-2 1794573de2f5124d88b64ee5dc9aabb4 java-utils-2 8c72ea36a4935f626b13a30141d0d39c multilib d1408425c7c4a7669b9b17735404b693 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||
_md5_=4f1b469f4907b26166c31faf1da1151c
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup
|
||||
DEPEND=>=virtual/jdk-1.8 source? ( app-arch/zip ) >=dev-java/java-config-2.2.0-r3 >=dev-java/ant-core-1.8.2:0 dev-java/javatoolkit
|
||||
DESCRIPTION=Tomcat's Servlet API 2.4/JSP API 2.0 implementation
|
||||
EAPI=7
|
||||
HOMEPAGE=https://tomcat.apache.org/
|
||||
INHERIT=java-pkg-2 java-ant-2 java-osgi
|
||||
IUSE=doc source
|
||||
KEYWORDS=amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=virtual/jdk-1.8:* >=dev-java/java-config-2.2.0-r3
|
||||
SLOT=2.4
|
||||
SRC_URI=https://archive.apache.org/dist/tomcat/tomcat-5/v5.5.36/src/apache-tomcat-5.5.36-src.tar.gz
|
||||
_eclasses_=java-ant-2 5a1b508f2544b7cac8ec27c170676de0 java-osgi c82db640aeccac34f009e90c7bb10a81 java-pkg-2 1794573de2f5124d88b64ee5dc9aabb4 java-utils-2 8c72ea36a4935f626b13a30141d0d39c multilib d1408425c7c4a7669b9b17735404b693 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||
_md5_=3037ebb67bccfb6c7b14f5f21f34e929
|
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
BDEPEND=sys-devel/gnuconfig >=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.5:1.16 ) >=sys-devel/autoconf-2.71-r5 >=sys-devel/libtool-2.4.7
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare test
|
||||
DEPEND=berkdb? ( sys-libs/db:= ) gdbm? ( sys-libs/gdbm:= ) jemalloc? ( dev-libs/jemalloc:= ) jit? ( || ( sys-devel/gcc:* sys-devel/clang:* ) ) ssl? ( =dev-libs/openssl-1.1*:0= ) socks5? ( >=net-proxy/dante-1.1.13 ) systemtap? ( dev-util/systemtap ) tk? ( dev-lang/tcl:0=[threads] dev-lang/tk:0=[threads] ) dev-libs/libyaml dev-libs/libffi:= sys-libs/readline:0= sys-libs/zlib virtual/libcrypt:= >=app-eselect/eselect-ruby-20191222
|
||||
DESCRIPTION=An object-oriented scripting language
|
||||
EAPI=7
|
||||
HOMEPAGE=https://www.ruby-lang.org/
|
||||
INHERIT=autotools flag-o-matic
|
||||
IUSE=berkdb debug doc examples gdbm ipv6 jemalloc jit +rdoc rubytests socks5 +ssl static-libs systemtap tk xemacs
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=|| ( Ruby-BSD BSD-2 )
|
||||
PDEPEND=>=dev-ruby/minitest-5.13.0[ruby_targets_ruby27] >=dev-ruby/net-telnet-0.2.0[ruby_targets_ruby27] >=dev-ruby/power_assert-1.1.7[ruby_targets_ruby27] >=dev-ruby/rake-13.0.1[ruby_targets_ruby27] >=dev-ruby/test-unit-3.3.4[ruby_targets_ruby27] >=dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby27] virtual/rubygems[ruby_targets_ruby27] >=dev-ruby/bundler-2.1.4[ruby_targets_ruby27] >=dev-ruby/did_you_mean-1.3.1[ruby_targets_ruby27] >=dev-ruby/json-2.0.2[ruby_targets_ruby27] rdoc? ( >=dev-ruby/rdoc-6.1.2[ruby_targets_ruby27] ) xemacs? ( app-xemacs/ruby-modes )
|
||||
RDEPEND=berkdb? ( sys-libs/db:= ) gdbm? ( sys-libs/gdbm:= ) jemalloc? ( dev-libs/jemalloc:= ) jit? ( || ( sys-devel/gcc:* sys-devel/clang:* ) ) ssl? ( =dev-libs/openssl-1.1*:0= ) socks5? ( >=net-proxy/dante-1.1.13 ) systemtap? ( dev-util/systemtap ) tk? ( dev-lang/tcl:0=[threads] dev-lang/tk:0=[threads] ) dev-libs/libyaml dev-libs/libffi:= sys-libs/readline:0= sys-libs/zlib virtual/libcrypt:= >=app-eselect/eselect-ruby-20191222
|
||||
SLOT=2.7
|
||||
SRC_URI=https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.8.tar.xz
|
||||
_eclasses_=autotools f0d3196128225dee3220e65f3371bc7a edos2unix 33e347e171066657f91f8b0c72ec8773 eutils 8f942ebdcf04334697649d4a0bf65a32 flag-o-matic 514815b1cc0dd4aeac177c2e812b3b1a gnuconfig b6b3e92f8b8c996400074b5f61a59256 libtool 9d3a9a889a6fa62ae794f817c156491b multilib d1408425c7c4a7669b9b17735404b693 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e wrapper 4a1902f969e5718126434fc35f3a0d9c
|
||||
_md5_=c03340f2396704f7e1da21ca50983f23
|
@ -0,0 +1,16 @@
|
||||
BDEPEND=sys-devel/gnuconfig >=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.5:1.16 ) >=sys-devel/autoconf-2.71-r5 >=sys-devel/libtool-2.4.7
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare test
|
||||
DEPEND=berkdb? ( sys-libs/db:= ) gdbm? ( sys-libs/gdbm:= ) jemalloc? ( dev-libs/jemalloc:= ) jit? ( || ( sys-devel/gcc:* sys-devel/clang:* ) ) ssl? ( =dev-libs/openssl-1.1*:0= ) socks5? ( >=net-proxy/dante-1.1.13 ) systemtap? ( dev-util/systemtap ) tk? ( dev-lang/tcl:0=[threads] dev-lang/tk:0=[threads] ) dev-libs/libyaml dev-libs/libffi:= sys-libs/readline:0= sys-libs/zlib virtual/libcrypt:= >=app-eselect/eselect-ruby-20201225
|
||||
DESCRIPTION=An object-oriented scripting language
|
||||
EAPI=7
|
||||
HOMEPAGE=https://www.ruby-lang.org/
|
||||
INHERIT=autotools flag-o-matic
|
||||
IUSE=berkdb debug doc examples gdbm ipv6 jemalloc jit +rdoc rubytests socks5 +ssl static-libs systemtap tk xemacs
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=|| ( Ruby-BSD BSD-2 )
|
||||
PDEPEND=>=dev-ruby/minitest-5.14.2[ruby_targets_ruby30] >=dev-ruby/power_assert-1.2.0[ruby_targets_ruby30] >=dev-ruby/rake-13.0.3[ruby_targets_ruby30] >=dev-ruby/rbs-1.0.0[ruby_targets_ruby30] >=dev-ruby/rexml-3.2.4[ruby_targets_ruby30] >=dev-ruby/rss-0.2.9[ruby_targets_ruby30] >=dev-ruby/test-unit-3.3.7[ruby_targets_ruby30] >=dev-ruby/typeprof-0.11.0[ruby_targets_ruby30] virtual/rubygems[ruby_targets_ruby30] >=dev-ruby/bundler-2.2.15[ruby_targets_ruby30] >=dev-ruby/did_you_mean-1.5.0[ruby_targets_ruby30] >=dev-ruby/json-2.5.1[ruby_targets_ruby30] rdoc? ( >=dev-ruby/rdoc-6.3.0[ruby_targets_ruby30] ) xemacs? ( app-xemacs/ruby-modes )
|
||||
RDEPEND=berkdb? ( sys-libs/db:= ) gdbm? ( sys-libs/gdbm:= ) jemalloc? ( dev-libs/jemalloc:= ) jit? ( || ( sys-devel/gcc:* sys-devel/clang:* ) ) ssl? ( =dev-libs/openssl-1.1*:0= ) socks5? ( >=net-proxy/dante-1.1.13 ) systemtap? ( dev-util/systemtap ) tk? ( dev-lang/tcl:0=[threads] dev-lang/tk:0=[threads] ) dev-libs/libyaml dev-libs/libffi:= sys-libs/readline:0= sys-libs/zlib virtual/libcrypt:= >=app-eselect/eselect-ruby-20201225
|
||||
SLOT=3.0
|
||||
SRC_URI=https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.6.tar.xz
|
||||
_eclasses_=autotools f0d3196128225dee3220e65f3371bc7a edos2unix 33e347e171066657f91f8b0c72ec8773 eutils 8f942ebdcf04334697649d4a0bf65a32 flag-o-matic 514815b1cc0dd4aeac177c2e812b3b1a gnuconfig b6b3e92f8b8c996400074b5f61a59256 libtool 9d3a9a889a6fa62ae794f817c156491b multilib d1408425c7c4a7669b9b17735404b693 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e wrapper 4a1902f969e5718126434fc35f3a0d9c
|
||||
_md5_=0ae06db04aae1a5d4d9830b9f7bb8f78
|
@ -0,0 +1,16 @@
|
||||
BDEPEND=sys-devel/gnuconfig >=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.5:1.16 ) >=sys-devel/autoconf-2.71-r5 >=sys-devel/libtool-2.4.7
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare test
|
||||
DEPEND=berkdb? ( sys-libs/db:= ) gdbm? ( sys-libs/gdbm:= ) jemalloc? ( dev-libs/jemalloc:= ) jit? ( || ( sys-devel/gcc:* sys-devel/clang:* ) ) ssl? ( dev-libs/openssl:0= ) socks5? ( >=net-proxy/dante-1.1.13 ) systemtap? ( dev-util/systemtap ) tk? ( dev-lang/tcl:0=[threads] dev-lang/tk:0=[threads] ) dev-libs/libyaml dev-libs/libffi:= sys-libs/readline:0= sys-libs/zlib virtual/libcrypt:= >=app-eselect/eselect-ruby-20201225
|
||||
DESCRIPTION=An object-oriented scripting language
|
||||
EAPI=8
|
||||
HOMEPAGE=https://www.ruby-lang.org/
|
||||
INHERIT=autotools flag-o-matic
|
||||
IUSE=berkdb debug doc examples gdbm ipv6 jemalloc jit +rdoc socks5 +ssl static-libs systemtap tk xemacs
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=|| ( Ruby-BSD BSD-2 )
|
||||
PDEPEND=>=dev-ruby/minitest-5.15.0[ruby_targets_ruby31] >=dev-ruby/power_assert-2.0.1[ruby_targets_ruby31] >=dev-ruby/rake-13.0.6[ruby_targets_ruby31] >=dev-ruby/rbs-2.1.0[ruby_targets_ruby31] >=dev-ruby/rexml-3.2.5[ruby_targets_ruby31] >=dev-ruby/rss-0.2.9[ruby_targets_ruby31] >=dev-ruby/test-unit-3.5.3[ruby_targets_ruby31] >=dev-ruby/typeprof-0.12.2[ruby_targets_ruby31] virtual/rubygems[ruby_targets_ruby31] >=dev-ruby/bundler-2.3.3[ruby_targets_ruby31] >=dev-ruby/did_you_mean-1.6.1[ruby_targets_ruby31] >=dev-ruby/json-2.6.1[ruby_targets_ruby31] rdoc? ( >=dev-ruby/rdoc-6.3.3[ruby_targets_ruby31] ) xemacs? ( app-xemacs/ruby-modes )
|
||||
RDEPEND=berkdb? ( sys-libs/db:= ) gdbm? ( sys-libs/gdbm:= ) jemalloc? ( dev-libs/jemalloc:= ) jit? ( || ( sys-devel/gcc:* sys-devel/clang:* ) ) ssl? ( dev-libs/openssl:0= ) socks5? ( >=net-proxy/dante-1.1.13 ) systemtap? ( dev-util/systemtap ) tk? ( dev-lang/tcl:0=[threads] dev-lang/tk:0=[threads] ) dev-libs/libyaml dev-libs/libffi:= sys-libs/readline:0= sys-libs/zlib virtual/libcrypt:= >=app-eselect/eselect-ruby-20201225
|
||||
SLOT=3.1
|
||||
SRC_URI=https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.4.tar.xz
|
||||
_eclasses_=autotools f0d3196128225dee3220e65f3371bc7a flag-o-matic 514815b1cc0dd4aeac177c2e812b3b1a gnuconfig b6b3e92f8b8c996400074b5f61a59256 libtool 9d3a9a889a6fa62ae794f817c156491b multilib d1408425c7c4a7669b9b17735404b693 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||
_md5_=5134a515b8a4829c319a57adf0ed8449
|
@ -0,0 +1,16 @@
|
||||
BDEPEND=sys-devel/gnuconfig >=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.5:1.16 ) >=sys-devel/autoconf-2.71-r5 >=sys-devel/libtool-2.4.7
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare test
|
||||
DEPEND=berkdb? ( sys-libs/db:= ) gdbm? ( sys-libs/gdbm:= ) jemalloc? ( dev-libs/jemalloc:= ) jit? ( >=virtual/rust-1.58.1 ) ssl? ( dev-libs/openssl:0= ) socks5? ( >=net-proxy/dante-1.1.13 ) systemtap? ( dev-util/systemtap ) tk? ( dev-lang/tcl:0=[threads] dev-lang/tk:0=[threads] ) dev-libs/libyaml dev-libs/libffi:= sys-libs/readline:0= sys-libs/zlib virtual/libcrypt:= >=app-eselect/eselect-ruby-20221225
|
||||
DESCRIPTION=An object-oriented scripting language
|
||||
EAPI=8
|
||||
HOMEPAGE=https://www.ruby-lang.org/
|
||||
INHERIT=autotools flag-o-matic
|
||||
IUSE=berkdb debug doc examples gdbm ipv6 jemalloc jit +rdoc socks5 +ssl static-libs systemtap tk xemacs
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=|| ( Ruby-BSD BSD-2 )
|
||||
PDEPEND=>=dev-ruby/debug-1.7.1[ruby_targets_ruby32] >=dev-ruby/matrix-0.4.2[ruby_targets_ruby32] >=dev-ruby/minitest-5.16.3[ruby_targets_ruby32] >=dev-ruby/net-ftp-0.2.0[ruby_targets_ruby32] >=dev-ruby/net-imap-0.3.4[ruby_targets_ruby32] >=dev-ruby/net-pop-0.1.2[ruby_targets_ruby32] >=dev-ruby/net-smtp-0.3.3[ruby_targets_ruby32] >=dev-ruby/power_assert-2.0.3[ruby_targets_ruby32] >=dev-ruby/prime-0.1.2[ruby_targets_ruby32] >=dev-ruby/rake-13.0.6[ruby_targets_ruby32] >=dev-ruby/rbs-2.8.2[ruby_targets_ruby32] >=dev-ruby/rexml-3.2.5[ruby_targets_ruby32] >=dev-ruby/rss-0.2.9[ruby_targets_ruby32] >=dev-ruby/test-unit-3.5.7[ruby_targets_ruby32] >=dev-ruby/typeprof-0.21.3[ruby_targets_ruby32] virtual/rubygems[ruby_targets_ruby32] >=dev-ruby/bundler-2.3.3[ruby_targets_ruby32] >=dev-ruby/did_you_mean-1.6.1[ruby_targets_ruby32] >=dev-ruby/json-2.6.1[ruby_targets_ruby32] rdoc? ( >=dev-ruby/rdoc-6.3.3[ruby_targets_ruby32] ) xemacs? ( app-xemacs/ruby-modes )
|
||||
RDEPEND=berkdb? ( sys-libs/db:= ) gdbm? ( sys-libs/gdbm:= ) jemalloc? ( dev-libs/jemalloc:= ) jit? ( >=virtual/rust-1.58.1 ) ssl? ( dev-libs/openssl:0= ) socks5? ( >=net-proxy/dante-1.1.13 ) systemtap? ( dev-util/systemtap ) tk? ( dev-lang/tcl:0=[threads] dev-lang/tk:0=[threads] ) dev-libs/libyaml dev-libs/libffi:= sys-libs/readline:0= sys-libs/zlib virtual/libcrypt:= >=app-eselect/eselect-ruby-20221225
|
||||
SLOT=3.2
|
||||
SRC_URI=https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.xz
|
||||
_eclasses_=autotools f0d3196128225dee3220e65f3371bc7a flag-o-matic 514815b1cc0dd4aeac177c2e812b3b1a gnuconfig b6b3e92f8b8c996400074b5f61a59256 libtool 9d3a9a889a6fa62ae794f817c156491b multilib d1408425c7c4a7669b9b17735404b693 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||
_md5_=a57f7a50e6eddc20ee6c4fc61cf86341
|
Binary file not shown.
@ -1,17 +1,17 @@
|
||||
BDEPEND=ruby_targets_ruby27? ( test? ( dev-ruby/test-unit:2[ruby_targets_ruby27(-)] <dev-ruby/mocha-1[ruby_targets_ruby27(-)] ) ) ruby_targets_ruby30? ( test? ( dev-ruby/test-unit:2[ruby_targets_ruby30(-)] <dev-ruby/mocha-1[ruby_targets_ruby30(-)] ) ) ruby_targets_ruby27? ( dev-lang/ruby:2.7 ) ruby_targets_ruby30? ( dev-lang/ruby:3.0 ) ruby_targets_ruby27? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby27(-)] ) ) ruby_targets_ruby30? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby30(-)] ) ) ruby_targets_ruby27? ( test? ( dev-ruby/rake[ruby_targets_ruby27(-)] ) ) ruby_targets_ruby30? ( test? ( dev-ruby/rake[ruby_targets_ruby30(-)] ) ) ruby_targets_ruby27? ( virtual/rubygems[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( virtual/rubygems[ruby_targets_ruby30(-)] ) test? ( ruby_targets_ruby27? ( virtual/rubygems[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( virtual/rubygems[ruby_targets_ruby30(-)] ) )
|
||||
BDEPEND=ruby_targets_ruby27? ( test? ( dev-ruby/test-unit:2[ruby_targets_ruby27(-)] <dev-ruby/mocha-1[ruby_targets_ruby27(-)] ) ) ruby_targets_ruby30? ( test? ( dev-ruby/test-unit:2[ruby_targets_ruby30(-)] <dev-ruby/mocha-1[ruby_targets_ruby30(-)] ) ) ruby_targets_ruby31? ( test? ( dev-ruby/test-unit:2[ruby_targets_ruby31(-)] <dev-ruby/mocha-1[ruby_targets_ruby31(-)] ) ) ruby_targets_ruby27? ( dev-lang/ruby:2.7 ) ruby_targets_ruby30? ( dev-lang/ruby:3.0 ) ruby_targets_ruby31? ( dev-lang/ruby:3.1 ) ruby_targets_ruby27? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby27(-)] ) ) ruby_targets_ruby30? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby30(-)] ) ) ruby_targets_ruby31? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby31(-)] ) ) ruby_targets_ruby27? ( test? ( dev-ruby/rake[ruby_targets_ruby27(-)] ) ) ruby_targets_ruby30? ( test? ( dev-ruby/rake[ruby_targets_ruby30(-)] ) ) ruby_targets_ruby31? ( test? ( dev-ruby/rake[ruby_targets_ruby31(-)] ) ) ruby_targets_ruby27? ( virtual/rubygems[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( virtual/rubygems[ruby_targets_ruby30(-)] ) ruby_targets_ruby31? ( virtual/rubygems[ruby_targets_ruby31(-)] ) test? ( ruby_targets_ruby27? ( virtual/rubygems[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( virtual/rubygems[ruby_targets_ruby30(-)] ) ruby_targets_ruby31? ( virtual/rubygems[ruby_targets_ruby31(-)] ) )
|
||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
||||
DEPEND=ruby_targets_ruby27? ( dev-lang/ruby:2.7 ) ruby_targets_ruby30? ( dev-lang/ruby:3.0 ) ruby_targets_ruby27? ( virtual/rubygems[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( virtual/rubygems[ruby_targets_ruby30(-)] )
|
||||
DEPEND=ruby_targets_ruby27? ( dev-lang/ruby:2.7 ) ruby_targets_ruby30? ( dev-lang/ruby:3.0 ) ruby_targets_ruby31? ( dev-lang/ruby:3.1 ) ruby_targets_ruby27? ( virtual/rubygems[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( virtual/rubygems[ruby_targets_ruby30(-)] ) ruby_targets_ruby31? ( virtual/rubygems[ruby_targets_ruby31(-)] )
|
||||
DESCRIPTION=Context framework extracted from Shoulda
|
||||
EAPI=7
|
||||
HOMEPAGE=https://github.com/thoughtbot/shoulda-context
|
||||
INHERIT=ruby-fakegem
|
||||
IUSE=doc test ruby_targets_ruby27 ruby_targets_ruby30 doc test test
|
||||
IUSE=doc test ruby_targets_ruby27 ruby_targets_ruby30 ruby_targets_ruby31 doc test test
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=ruby_targets_ruby27? ( dev-lang/ruby:2.7 ) ruby_targets_ruby30? ( dev-lang/ruby:3.0 ) ruby_targets_ruby27? ( virtual/rubygems[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( virtual/rubygems[ruby_targets_ruby30(-)] )
|
||||
REQUIRED_USE=|| ( ruby_targets_ruby27 ruby_targets_ruby30 )
|
||||
RDEPEND=ruby_targets_ruby27? ( dev-lang/ruby:2.7 ) ruby_targets_ruby30? ( dev-lang/ruby:3.0 ) ruby_targets_ruby31? ( dev-lang/ruby:3.1 ) ruby_targets_ruby27? ( virtual/rubygems[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( virtual/rubygems[ruby_targets_ruby30(-)] ) ruby_targets_ruby31? ( virtual/rubygems[ruby_targets_ruby31(-)] )
|
||||
REQUIRED_USE=|| ( ruby_targets_ruby27 ruby_targets_ruby30 ruby_targets_ruby31 )
|
||||
RESTRICT=!test? ( test ) !test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://rubygems.org/gems/shoulda-context-1.2.2.gem
|
||||
_eclasses_=estack 055c42df72f76a4f45ec92b35e83cd56 multilib d1408425c7c4a7669b9b17735404b693 ruby-fakegem b3d68f90713fe925c1833722c17f6ef8 ruby-ng e68c3e575d599044297cb3253a2566d7 ruby-utils 2412b1152083f1e866ae6df229d51d30 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||
_md5_=b13e429f9c1245f921ab8f34a4f3a485
|
||||
_md5_=4536ca1490e8154bea6e106b3fa4f65a
|
||||
|
@ -0,0 +1,17 @@
|
||||
BDEPEND=test? ( ruby_targets_ruby27? ( dev-ruby/date[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( dev-ruby/date[ruby_targets_ruby30(-)] ) ruby_targets_ruby31? ( dev-ruby/date[ruby_targets_ruby31(-)] ) ruby_targets_ruby32? ( dev-ruby/date[ruby_targets_ruby32(-)] ) ) ruby_targets_ruby27? ( dev-lang/ruby:2.7 ) ruby_targets_ruby30? ( dev-lang/ruby:3.0 ) ruby_targets_ruby31? ( dev-lang/ruby:3.1 ) ruby_targets_ruby32? ( dev-lang/ruby:3.2 ) ruby_targets_ruby27? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby27(-)] ) ) ruby_targets_ruby30? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby30(-)] ) ) ruby_targets_ruby31? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby31(-)] ) ) ruby_targets_ruby32? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby32(-)] ) ) ruby_targets_ruby27? ( test? ( dev-ruby/rake[ruby_targets_ruby27(-)] ) ) ruby_targets_ruby30? ( test? ( dev-ruby/rake[ruby_targets_ruby30(-)] ) ) ruby_targets_ruby31? ( test? ( dev-ruby/rake[ruby_targets_ruby31(-)] ) ) ruby_targets_ruby32? ( test? ( dev-ruby/rake[ruby_targets_ruby32(-)] ) ) ruby_targets_ruby27? ( virtual/rubygems[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( virtual/rubygems[ruby_targets_ruby30(-)] ) ruby_targets_ruby31? ( virtual/rubygems[ruby_targets_ruby31(-)] ) ruby_targets_ruby32? ( virtual/rubygems[ruby_targets_ruby32(-)] ) test? ( ruby_targets_ruby27? ( virtual/rubygems[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( virtual/rubygems[ruby_targets_ruby30(-)] ) ruby_targets_ruby31? ( virtual/rubygems[ruby_targets_ruby31(-)] ) ruby_targets_ruby32? ( virtual/rubygems[ruby_targets_ruby32(-)] ) )
|
||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
||||
DEPEND=ruby_targets_ruby27? ( dev-lang/ruby:2.7 ) ruby_targets_ruby30? ( dev-lang/ruby:3.0 ) ruby_targets_ruby31? ( dev-lang/ruby:3.1 ) ruby_targets_ruby32? ( dev-lang/ruby:3.2 ) ruby_targets_ruby27? ( virtual/rubygems[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( virtual/rubygems[ruby_targets_ruby30(-)] ) ruby_targets_ruby31? ( virtual/rubygems[ruby_targets_ruby31(-)] ) ruby_targets_ruby32? ( virtual/rubygems[ruby_targets_ruby32(-)] )
|
||||
DESCRIPTION=Extends the Time class with methods for parsing and conversion
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/ruby/time
|
||||
INHERIT=ruby-fakegem
|
||||
IUSE=test ruby_targets_ruby27 ruby_targets_ruby30 ruby_targets_ruby31 ruby_targets_ruby32 doc test test
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=BSD-2
|
||||
RDEPEND=ruby_targets_ruby27? ( dev-ruby/date[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( dev-ruby/date[ruby_targets_ruby30(-)] ) ruby_targets_ruby31? ( dev-ruby/date[ruby_targets_ruby31(-)] ) ruby_targets_ruby32? ( dev-ruby/date[ruby_targets_ruby32(-)] ) ruby_targets_ruby27? ( dev-lang/ruby:2.7 ) ruby_targets_ruby30? ( dev-lang/ruby:3.0 ) ruby_targets_ruby31? ( dev-lang/ruby:3.1 ) ruby_targets_ruby32? ( dev-lang/ruby:3.2 ) ruby_targets_ruby27? ( virtual/rubygems[ruby_targets_ruby27(-)] ) ruby_targets_ruby30? ( virtual/rubygems[ruby_targets_ruby30(-)] ) ruby_targets_ruby31? ( virtual/rubygems[ruby_targets_ruby31(-)] ) ruby_targets_ruby32? ( virtual/rubygems[ruby_targets_ruby32(-)] )
|
||||
REQUIRED_USE=|| ( ruby_targets_ruby27 ruby_targets_ruby30 ruby_targets_ruby31 ruby_targets_ruby32 )
|
||||
RESTRICT=!test? ( test ) !test? ( test ) !test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/ruby/time/archive/v0.2.2.tar.gz -> time-0.2.2.tar.gz
|
||||
_eclasses_=estack 055c42df72f76a4f45ec92b35e83cd56 multilib d1408425c7c4a7669b9b17735404b693 ruby-fakegem b3d68f90713fe925c1833722c17f6ef8 ruby-ng e68c3e575d599044297cb3253a2566d7 ruby-utils 2412b1152083f1e866ae6df229d51d30 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e
|
||||
_md5_=2ba0ba0375f82f53f09cfdf91f2ea25a
|
Binary file not shown.
@ -0,0 +1,17 @@
|
||||
BDEPEND=virtual/pkgconfig gui? ( || ( >=dev-lang/python-3.11.1-r1:3.11 >=dev-lang/python-3.10.9-r1:3.10 >=dev-lang/python-3.9.16-r1:3.9 ) ) sys-devel/gnuconfig >=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.5:1.16 ) >=sys-devel/autoconf-2.71-r5 >=sys-devel/libtool-2.4.7 >=dev-util/ninja-1.8.2 >=dev-util/cmake-3.20.5
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup test
|
||||
DEPEND=media-libs/libpng:= sys-libs/zlib:=[minizip] x11-libs/libX11 x11-libs/libXext alsa? ( media-libs/alsa-lib ) gui? ( dev-cpp/cairomm:0 dev-cpp/glibmm:2 dev-cpp/gtkmm:3.0[wayland?] dev-libs/glib:2 dev-libs/libsigc++:2 media-libs/libepoxy media-libs/libsdl2[joystick] x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/gtk+:3[wayland?] x11-libs/libXrandr portaudio? ( media-libs/portaudio ) pulseaudio? ( media-libs/libpulse ) wayland? ( dev-libs/wayland ) ) libretro? ( !games-emulation/libretro-snes9x ) xinerama? ( x11-libs/libXinerama ) xv? ( x11-libs/libXv ) x11-base/xorg-proto
|
||||
DESCRIPTION=Super Nintendo Entertainment System (SNES) emulator
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/snes9xgit/snes9x/
|
||||
IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info
|
||||
INHERIT=autotools cmake flag-o-matic python-any-r1 toolchain-funcs xdg
|
||||
IUSE=alsa debug gui libretro netplay oss portaudio pulseaudio wayland xinerama +xv
|
||||
KEYWORDS=~amd64 ~ppc64 ~x86
|
||||
LICENSE=Snes9x GPL-2 GPL-2+ LGPL-2.1 LGPL-2.1+ ISC MIT ZLIB gui? ( Apache-2.0 CC0-1.0 BSD )
|
||||
RDEPEND=media-libs/libpng:= sys-libs/zlib:=[minizip] x11-libs/libX11 x11-libs/libXext alsa? ( media-libs/alsa-lib ) gui? ( dev-cpp/cairomm:0 dev-cpp/glibmm:2 dev-cpp/gtkmm:3.0[wayland?] dev-libs/glib:2 dev-libs/libsigc++:2 media-libs/libepoxy media-libs/libsdl2[joystick] x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/gtk+:3[wayland?] x11-libs/libXrandr portaudio? ( media-libs/portaudio ) pulseaudio? ( media-libs/libpulse ) wayland? ( dev-libs/wayland ) ) libretro? ( !games-emulation/libretro-snes9x ) xinerama? ( x11-libs/libXinerama ) xv? ( x11-libs/libXv )
|
||||
RESTRICT=bindist
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/snes9xgit/snes9x/archive/1.62.3.tar.gz -> snes9x-1.62.3.tar.gz gui? ( https://github.com/KhronosGroup/glslang/archive/6d41bb9c557c5a0eec61ffba1f775dc5f717a8f7.tar.gz -> glslang-6d41bb9c557c5a0eec61ffba1f775dc5f717a8f7.tar.gz https://github.com/KhronosGroup/SPIRV-Cross/archive/4e2fdb25671c742a9fbe93a6034eb1542244c7e1.tar.gz -> spirv-cross-4e2fdb25671c742a9fbe93a6034eb1542244c7e1.tar.gz https://github.com/KhronosGroup/Vulkan-Headers/archive/a3dd2655a3a68c2a67c55a0f8b77dcb8b166ada2.tar.gz -> vulkan-headers-a3dd2655a3a68c2a67c55a0f8b77dcb8b166ada2.tar.gz )
|
||||
_eclasses_=autotools f0d3196128225dee3220e65f3371bc7a cmake 7fb5980de96325cbab639f5b2187357c flag-o-matic 514815b1cc0dd4aeac177c2e812b3b1a gnuconfig b6b3e92f8b8c996400074b5f61a59256 libtool 9d3a9a889a6fa62ae794f817c156491b multilib d1408425c7c4a7669b9b17735404b693 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 python-any-r1 d2955aaac8daaaa69fcc6dc93ed19f29 python-utils-r1 429bfd4e8d8e39db5385ba5744f30788 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e xdg 4a14c5c24f121e7da66e5aab4a168c6e xdg-utils baea6080dd821f5562d715887954c9d3
|
||||
_md5_=e9ae0dd7e0e072817a628a4972e94bba
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,16 +0,0 @@
|
||||
BDEPEND=virtual/pkgconfig nls? ( sys-devel/gettext ) sys-devel/gnuconfig >=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.5:1.16 ) >=sys-devel/autoconf-2.71-r5 >=sys-devel/libtool-2.4.7 >=dev-util/ninja-1.8.2 >=dev-util/cmake-3.20.5 virtual/pkgconfig
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup test
|
||||
DEPEND=media-libs/libjpeg-turbo:= sys-libs/zlib:= x11-libs/fltk:1 x11-libs/libX11 x11-libs/libXext x11-libs/libXi x11-libs/libXrandr x11-libs/libXrender x11-libs/pixman gnutls? ( net-libs/gnutls:= ) nls? ( virtual/libiconv ) server? ( dev-libs/libbsd dev-libs/openssl:0= sys-libs/pam x11-libs/libXau x11-libs/libXdamage x11-libs/libXdmcp x11-libs/libXfixes x11-libs/libXfont2 x11-libs/libXtst x11-libs/pixman x11-libs/xtrans x11-apps/xauth x11-apps/xinit x11-apps/xkbcomp x11-apps/xsetroot x11-misc/xkeyboard-config opengl? ( media-libs/libglvnd[X] ) ) drm? ( x11-libs/libdrm ) server? ( media-fonts/font-util x11-base/xorg-proto x11-libs/libxcvt x11-libs/libxkbfile x11-misc/util-macros opengl? ( media-libs/mesa ) ) java? ( >=dev-java/java-config-2.2.0-r3 ) dev-util/desktop-file-utils x11-misc/shared-mime-info
|
||||
DESCRIPTION=Remote desktop viewer display system
|
||||
EAPI=7
|
||||
HOMEPAGE=https://tigervnc.org
|
||||
INHERIT=autotools cmake eapi8-dosym flag-o-matic java-pkg-opt-2 optfeature systemd xdg
|
||||
IUSE=dri3 +drm gnutls java nls +opengl +server xinerama java
|
||||
KEYWORDS=~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=media-libs/libjpeg-turbo:= sys-libs/zlib:= x11-libs/fltk:1 x11-libs/libX11 x11-libs/libXext x11-libs/libXi x11-libs/libXrandr x11-libs/libXrender x11-libs/pixman gnutls? ( net-libs/gnutls:= ) nls? ( virtual/libiconv ) server? ( dev-libs/libbsd dev-libs/openssl:0= sys-libs/pam x11-libs/libXau x11-libs/libXdamage x11-libs/libXdmcp x11-libs/libXfixes x11-libs/libXfont2 x11-libs/libXtst x11-libs/pixman x11-libs/xtrans x11-apps/xauth x11-apps/xinit x11-apps/xkbcomp x11-apps/xsetroot x11-misc/xkeyboard-config opengl? ( media-libs/libglvnd[X] ) ) java? ( virtual/jre:1.8 ) server? ( dev-lang/perl sys-process/psmisc ) java? ( >=dev-java/java-config-2.2.0-r3 )
|
||||
REQUIRED_USE=dri3? ( drm ) opengl? ( server )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/TigerVNC/tigervnc/archive/v1.12.0.tar.gz -> tigervnc-1.12.0.tar.gz server? ( ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-21.1.1.tar.xz https://github.com/TigerVNC/tigervnc/commit/0c5a2b2e7759c2829c07186cfce4d24aa9b5274e.patch -> tigervnc-1.12.0-xserver-21.patch )
|
||||
_eclasses_=autotools f0d3196128225dee3220e65f3371bc7a cmake 7fb5980de96325cbab639f5b2187357c eapi8-dosym 741bfa77afb2a9321261501aca58c208 edos2unix 33e347e171066657f91f8b0c72ec8773 eutils 8f942ebdcf04334697649d4a0bf65a32 flag-o-matic 514815b1cc0dd4aeac177c2e812b3b1a gnuconfig b6b3e92f8b8c996400074b5f61a59256 java-pkg-opt-2 4d26f2efd4c5ec82b66d1e8816f421b2 java-utils-2 8c72ea36a4935f626b13a30141d0d39c libtool 9d3a9a889a6fa62ae794f817c156491b multilib d1408425c7c4a7669b9b17735404b693 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 optfeature 222cb475c5a4f7ae7cfb0bf510a6fe54 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 systemd 5f4bb0758df2e483babf68cd517078ca toolchain-funcs 14a8ae365191b518fad51caad7a08f3e wrapper 4a1902f969e5718126434fc35f3a0d9c xdg 4a14c5c24f121e7da66e5aab4a168c6e xdg-utils baea6080dd821f5562d715887954c9d3
|
||||
_md5_=4ef459ebd20b0b45ce7d01d45968e964
|
@ -1,9 +0,0 @@
|
||||
DEFINED_PHASES=-
|
||||
DESCRIPTION=Metapackage for the xorg module provided by tigervnc
|
||||
EAPI=8
|
||||
HOMEPAGE=https://tigervnc.org/
|
||||
KEYWORDS=~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86
|
||||
LICENSE=metapackage
|
||||
RDEPEND=~net-misc/tigervnc-1.12.0[server] =x11-base/xorg-server-21.1*
|
||||
SLOT=0
|
||||
_md5_=69e14a97ed148c710a66b4acdf1eb58c
|
Binary file not shown.
@ -0,0 +1,9 @@
|
||||
DEFINED_PHASES=install
|
||||
DESCRIPTION=OpenPGP keys used by xmlgraphics.apache.org/batik
|
||||
EAPI=8
|
||||
HOMEPAGE=https://xmlgraphics.apache.org/batik/download.html
|
||||
KEYWORDS=amd64 ~arm arm64 ppc64 x86
|
||||
LICENSE=public-domain
|
||||
SLOT=0
|
||||
SRC_URI=https://downloads.apache.org/xmlgraphics/batik/KEYS -> openpgp-keys-apache-xmlgraphics-batik-20170410-KEYS.asc
|
||||
_md5_=64d9f42df290b7b7dd039fc646c9a366
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
DEFINED_PHASES=install postinst prerm setup unpack
|
||||
DEPEND=|| ( virtual/httpd-cgi virtual/httpd-fastcgi ) app-admin/webapp-config
|
||||
DESCRIPTION=The MediaWiki wiki web application (as used on wikipedia.org)
|
||||
EAPI=8
|
||||
HOMEPAGE=http://www.mediawiki.org
|
||||
INHERIT=webapp
|
||||
IUSE=imagemagick mysql postgres +sqlite vhosts
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~ppc ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-lang/php-7.3.19[calendar,ctype,fileinfo,iconv,intl,json(+),postgres?,session,ssl,unicode,xml,xmlreader] imagemagick? ( virtual/imagemagick-tools ) !imagemagick? ( dev-lang/php[gd] ) mysql? ( dev-lang/php[mysql,mysqli] ) sqlite? ( dev-db/sqlite[fts3(+)] dev-lang/php[pdo,sqlite] ) virtual/httpd-php app-admin/webapp-config
|
||||
REQUIRED_USE=|| ( mysql postgres sqlite )
|
||||
RESTRICT=test
|
||||
SLOT=1.38.6
|
||||
SRC_URI=http://releases.wikimedia.org/mediawiki/1.38/mediawiki-1.38.6.tar.gz
|
||||
_eclasses_=webapp 1aad5c010cfdf11d0376c80467b0de4c
|
||||
_md5_=923b84e3f9c1a3644367439ecf855235
|
@ -0,0 +1,16 @@
|
||||
DEFINED_PHASES=install postinst prerm setup unpack
|
||||
DEPEND=|| ( virtual/httpd-cgi virtual/httpd-fastcgi ) app-admin/webapp-config
|
||||
DESCRIPTION=The MediaWiki wiki web application (as used on wikipedia.org)
|
||||
EAPI=8
|
||||
HOMEPAGE=http://www.mediawiki.org
|
||||
INHERIT=webapp
|
||||
IUSE=imagemagick mysql postgres +sqlite vhosts
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~ppc ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=dev-lang/php[calendar,ctype,fileinfo,iconv,intl,json(+),postgres?,session,ssl,unicode,xml,xmlreader] imagemagick? ( virtual/imagemagick-tools ) !imagemagick? ( dev-lang/php[gd] ) mysql? ( dev-lang/php[mysql,mysqli] ) sqlite? ( dev-db/sqlite[fts3(+)] dev-lang/php[pdo,sqlite] ) virtual/httpd-php app-admin/webapp-config
|
||||
REQUIRED_USE=|| ( mysql postgres sqlite )
|
||||
RESTRICT=test
|
||||
SLOT=1.39.3
|
||||
SRC_URI=http://releases.wikimedia.org/mediawiki/1.39/mediawiki-1.39.3.tar.gz
|
||||
_eclasses_=webapp 1aad5c010cfdf11d0376c80467b0de4c
|
||||
_md5_=9791e692802a8aa56fbd189a21b3d017
|
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
Fri, 31 Mar 2023 04:39:30 +0000
|
||||
Fri, 31 Mar 2023 08:09:28 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri Mar 31 04:39:30 AM UTC 2023
|
||||
Fri Mar 31 08:09:28 AM UTC 2023
|
||||
|
@ -1 +1 @@
|
||||
Fri, 31 Mar 2023 05:00:01 +0000
|
||||
Fri, 31 Mar 2023 08:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
2563d31b42460624d6eaefe4b3e0c73f2cbc1b7c 1680236048 2023-03-31T04:14:08+00:00
|
||||
0af85dead3893c7007f9b80b63fd3f570d778d94 1680248999 2023-03-31T07:49:59+00:00
|
||||
|
@ -1 +1 @@
|
||||
1680237601 Fri 31 Mar 2023 04:40:01 AM UTC
|
||||
1680250201 Fri 31 Mar 2023 08:10:01 AM UTC
|
||||
|
@ -1 +1 @@
|
||||
Fri, 31 Mar 2023 04:39:30 +0000
|
||||
Fri, 31 Mar 2023 08:09:28 +0000
|
||||
|
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
EBUILD tigervnc-xorg-module-1.12.0.ebuild 452 BLAKE2B 97f1a04d5c7610ca254d4aed5270a4996267ff538f2f8205da49a407eefab3ac44c970b34e970918709c10dcd06b1b1abb1459d6dd00a02450470bef51228922 SHA512 1ce2c3fcadba4316bfab72882eed619576ea38a404499c4506e61a0952b2dc786cf9dcdfa4739e283724bc3f9595cd1ecc318de9d52d0824348f645d904892c2
|
||||
EBUILD tigervnc-xorg-module-1.13.0.ebuild 452 BLAKE2B 97f1a04d5c7610ca254d4aed5270a4996267ff538f2f8205da49a407eefab3ac44c970b34e970918709c10dcd06b1b1abb1459d6dd00a02450470bef51228922 SHA512 1ce2c3fcadba4316bfab72882eed619576ea38a404499c4506e61a0952b2dc786cf9dcdfa4739e283724bc3f9595cd1ecc318de9d52d0824348f645d904892c2
|
||||
EBUILD tigervnc-xorg-module-1.13.1.ebuild 457 BLAKE2B d140db31d7fc14436d0577b9d6c5dc76f944cc085e546f6ab241d30292bf90e43715c5c8c0a9257ecb642957d60076384b93495d9a3042e693351364ff29c398 SHA512 89d7c67336ba9aef161d18a5a5210ad67dead62257b2de1f295455120fd15de472e62593fa005954cad38123ab3c91ac1337f77d96379cdbf9c7eb94a4721ddc
|
||||
MISC metadata.xml 331 BLAKE2B a429af641beadf65a9af48b70d47442530df38a6653daa75a67bae2f86dafe206ee745086336ef10af5e1d11ed6df08c017a99e2f434c0d8015549e78c8825f2 SHA512 dca884d6e2edf72771b5062195aa3d379ded3d0b9c74f9f7bd4c6f5ae432128e93d53c8b24bcfe76963b9705be325668edab703cd2f8724123b1c70fda59c786
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
XSERVER_VERSION="21.1.1"
|
||||
|
||||
DESCRIPTION="Metapackage for the xorg module provided by tigervnc"
|
||||
HOMEPAGE="https://tigervnc.org/"
|
||||
|
||||
LICENSE="metapackage"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
~net-misc/tigervnc-${PV}[server]
|
||||
=x11-base/xorg-server-${XSERVER_VERSION%.*}*
|
||||
"
|
@ -1,57 +0,0 @@
|
||||
See https://bugs.gentoo.org/852830
|
||||
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -234,6 +234,7 @@
|
||||
add_subdirectory(java)
|
||||
endif()
|
||||
|
||||
+option(BUILD_SERVER "Build TigerVNC server" ON)
|
||||
option(BUILD_VIEWER "Build TigerVNC viewer" ON)
|
||||
if(BUILD_VIEWER)
|
||||
# Check for FLTK
|
||||
@@ -276,7 +277,7 @@
|
||||
endif()
|
||||
|
||||
# Check for PAM library
|
||||
-if(UNIX AND NOT APPLE)
|
||||
+if(BUILD_SERVER AND UNIX AND NOT APPLE)
|
||||
check_include_files(security/pam_appl.h HAVE_PAM_H)
|
||||
set(CMAKE_REQUIRED_LIBRARIES -lpam)
|
||||
check_function_exists(pam_start HAVE_PAM_START)
|
||||
@@ -315,9 +316,6 @@
|
||||
add_subdirectory(media)
|
||||
endif()
|
||||
|
||||
-add_subdirectory(tests)
|
||||
-
|
||||
-
|
||||
if(BUILD_VIEWER)
|
||||
add_subdirectory(release)
|
||||
endif()
|
||||
--- a/common/rfb/CMakeLists.txt
|
||||
+++ b/common/rfb/CMakeLists.txt
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
set(RFB_LIBRARIES ${JPEG_LIBRARIES} ${PIXMAN_LIBRARY} os rdr)
|
||||
|
||||
-if(UNIX AND NOT APPLE)
|
||||
+if(BUILD_SERVER AND UNIX AND NOT APPLE)
|
||||
set(RFB_SOURCES ${RFB_SOURCES} UnixPasswordValidator.cxx
|
||||
UnixPasswordValidator.h pam.c pam.h)
|
||||
set(RFB_LIBRARIES ${RFB_LIBRARIES} ${PAM_LIBS})
|
||||
--- a/unix/CMakeLists.txt
|
||||
+++ b/unix/CMakeLists.txt
|
||||
@@ -1,6 +1,8 @@
|
||||
add_subdirectory(tx)
|
||||
add_subdirectory(common)
|
||||
-add_subdirectory(vncconfig)
|
||||
-add_subdirectory(vncpasswd)
|
||||
-add_subdirectory(vncserver)
|
||||
-add_subdirectory(x0vncserver)
|
||||
+if(BUILD_SERVER)
|
||||
+ add_subdirectory(vncconfig)
|
||||
+ add_subdirectory(vncpasswd)
|
||||
+ add_subdirectory(vncserver)
|
||||
+ add_subdirectory(x0vncserver)
|
||||
+endif()
|
@ -1,55 +0,0 @@
|
||||
https://github.com/TigerVNC/tigervnc/commit/736b50d04e1ba965696cd15d456dc2b7fc123150.patch
|
||||
https://github.com/TigerVNC/tigervnc/commit/f2577107f7f55382c524d8c738a777e5cdd80f60.patch
|
||||
|
||||
From: Joakim Tjernlund <joakim.tjernlund@infinera.com>
|
||||
Date: Wed, 24 Nov 2021 21:09:36 +0100
|
||||
Subject: [PATCH] xorg-version.h: Increase supported Xorg version to 1.21
|
||||
|
||||
--- a/unix/xserver/hw/vnc/xorg-version.h
|
||||
+++ b/unix/xserver/hw/vnc/xorg-version.h
|
||||
@@ -33,8 +33,8 @@
|
||||
#error "X.Org older than 1.16 is not supported"
|
||||
#endif
|
||||
|
||||
-#if XORG_AT_LEAST(1, 21, 0)
|
||||
-#error "X.Org newer than 1.20 is not supported"
|
||||
+#if XORG_AT_LEAST(1, 22, 0)
|
||||
+#error "X.Org newer than 1.21 is not supported"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
From: Joakim Tjernlund <joakim.tjernlund@infinera.com>
|
||||
Date: Wed, 24 Nov 2021 21:10:56 +0100
|
||||
Subject: [PATCH] xvnc: adapt for 1.21
|
||||
|
||||
VENDOR_STRING is gone as is DEFAULT_LOG_VERBOSITY
|
||||
site.h has been removed and is not needed.
|
||||
--- a/unix/xserver/hw/vnc/xvnc.c
|
||||
+++ b/unix/xserver/hw/vnc/xvnc.c
|
||||
@@ -69,7 +69,6 @@ extern char buildtime[];
|
||||
#undef VENDOR_RELEASE
|
||||
#undef VENDOR_STRING
|
||||
#include "version-config.h"
|
||||
-#include "site.h"
|
||||
|
||||
#define XVNCVERSION "TigerVNC 1.12.80"
|
||||
#define XVNCCOPYRIGHT ("Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)\n" \
|
||||
@@ -111,14 +110,13 @@ static Bool Render = TRUE;
|
||||
static Bool displaySpecified = FALSE;
|
||||
static char displayNumStr[16];
|
||||
|
||||
-static int vncVerbose = DEFAULT_LOG_VERBOSITY;
|
||||
+static int vncVerbose = 0;
|
||||
|
||||
static void
|
||||
vncPrintBanner(void)
|
||||
{
|
||||
ErrorF("\nXvnc %s - built %s\n%s", XVNCVERSION, buildtime, XVNCCOPYRIGHT);
|
||||
- ErrorF("Underlying X server release %d, %s\n\n", VENDOR_RELEASE,
|
||||
- VENDOR_STRING);
|
||||
+ ErrorF("Underlying X server release %d\n\n", VENDOR_RELEASE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -1,199 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
inherit autotools cmake eapi8-dosym flag-o-matic java-pkg-opt-2 optfeature systemd xdg
|
||||
|
||||
XSERVER_VERSION="21.1.1"
|
||||
|
||||
DESCRIPTION="Remote desktop viewer display system"
|
||||
HOMEPAGE="https://tigervnc.org"
|
||||
SRC_URI="https://github.com/TigerVNC/tigervnc/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
server? (
|
||||
ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${XSERVER_VERSION}.tar.xz
|
||||
https://github.com/TigerVNC/tigervnc/commit/0c5a2b2e7759c2829c07186cfce4d24aa9b5274e.patch -> ${P}-xserver-21.patch
|
||||
)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
|
||||
IUSE="dri3 +drm gnutls java nls +opengl +server xinerama"
|
||||
REQUIRED_USE="
|
||||
dri3? ( drm )
|
||||
opengl? ( server )
|
||||
"
|
||||
|
||||
CDEPEND="
|
||||
media-libs/libjpeg-turbo:=
|
||||
sys-libs/zlib:=
|
||||
x11-libs/fltk:1
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/pixman
|
||||
gnutls? ( net-libs/gnutls:= )
|
||||
nls? ( virtual/libiconv )
|
||||
server? (
|
||||
dev-libs/libbsd
|
||||
dev-libs/openssl:0=
|
||||
sys-libs/pam
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXfont2
|
||||
x11-libs/libXtst
|
||||
x11-libs/pixman
|
||||
x11-libs/xtrans
|
||||
x11-apps/xauth
|
||||
x11-apps/xinit
|
||||
x11-apps/xkbcomp
|
||||
x11-apps/xsetroot
|
||||
x11-misc/xkeyboard-config
|
||||
opengl? ( media-libs/libglvnd[X] )
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
java? ( virtual/jre:1.8 )
|
||||
server? (
|
||||
dev-lang/perl
|
||||
sys-process/psmisc
|
||||
)"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
drm? ( x11-libs/libdrm )
|
||||
server? (
|
||||
media-fonts/font-util
|
||||
x11-base/xorg-proto
|
||||
x11-libs/libxcvt
|
||||
x11-libs/libxkbfile
|
||||
x11-misc/util-macros
|
||||
opengl? ( media-libs/mesa )
|
||||
)"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Restore Java viewer
|
||||
"${FILESDIR}"/${PN}-1.11.0-install-java-viewer.patch
|
||||
"${FILESDIR}"/${PN}-1.12.0-xsession-path.patch
|
||||
"${FILESDIR}"/${PN}-1.12.0-disable-server-and-pam.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if use server; then
|
||||
cp -r "${WORKDIR}"/xorg-server-${XSERVER_VERSION}/. unix/xserver || die
|
||||
eapply "${FILESDIR}"/${P}-xorg-1.21.patch
|
||||
eapply "${DISTDIR}"/${P}-xserver-21.patch
|
||||
fi
|
||||
|
||||
cmake_src_prepare
|
||||
|
||||
if use server; then
|
||||
cd unix/xserver || die
|
||||
eapply ../xserver${XSERVER_VERSION}.patch
|
||||
eautoreconf
|
||||
sed -i 's:\(present.h\):../present/\1:' os/utils.c || die
|
||||
sed -i '/strcmp.*-fakescreenfps/,/^ \}/d' os/utils.c || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use arm || use hppa; then
|
||||
append-flags "-fPIC"
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DENABLE_GNUTLS=$(usex gnutls)
|
||||
-DENABLE_NLS=$(usex nls)
|
||||
-DBUILD_JAVA=$(usex java)
|
||||
-DBUILD_SERVER=$(usex server)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
if use server; then
|
||||
cd unix/xserver || die
|
||||
econf \
|
||||
$(use_enable opengl glx) \
|
||||
$(use_enable drm libdrm) \
|
||||
--disable-config-hal \
|
||||
--disable-config-udev \
|
||||
--disable-devel-docs \
|
||||
--disable-dri \
|
||||
$(use_enable dri3) \
|
||||
--disable-glamor \
|
||||
--disable-kdrive \
|
||||
--disable-libunwind \
|
||||
--disable-linux-acpi \
|
||||
--disable-record \
|
||||
--disable-selective-werror \
|
||||
--disable-static \
|
||||
--disable-unit-tests \
|
||||
--disable-xephyr \
|
||||
$(use_enable xinerama) \
|
||||
--disable-xnest \
|
||||
--disable-xorg \
|
||||
--disable-xvfb \
|
||||
--disable-xwin \
|
||||
--enable-dri2 \
|
||||
--with-pic \
|
||||
--without-dtrace \
|
||||
--disable-present \
|
||||
--with-sha1=libcrypto
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
if use server; then
|
||||
# deps of the vnc module and the module itself
|
||||
local d subdirs=(
|
||||
fb xfixes Xext dbe $(usex opengl glx "") $(usev dri3) randr render
|
||||
damageext miext Xi xkb composite dix mi os hw/vnc
|
||||
)
|
||||
for d in "${subdirs[@]}"; do
|
||||
emake -C unix/xserver/"${d}"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use server; then
|
||||
emake -C unix/xserver/hw/vnc DESTDIR="${D}" install
|
||||
rm -v "${ED}"/usr/$(get_libdir)/xorg/modules/extensions/libvnc.la || die
|
||||
|
||||
newconfd "${FILESDIR}"/${PN}-${PV}.confd ${PN}
|
||||
newinitd "${FILESDIR}"/${PN}-${PV}.initd ${PN}
|
||||
|
||||
systemd_douserunit unix/vncserver/vncserver@.service
|
||||
|
||||
# comment out pam_selinux.so, the server does not start if missing
|
||||
# part of bug #746227
|
||||
sed -i -e '/pam_selinux/s/^/#/' "${ED}"/etc/pam.d/tigervnc || die
|
||||
|
||||
# install vncserver to /usr/bin too, see bug #836620
|
||||
dosym8 -r /usr/libexec/vncserver /usr/bin/vncserver
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
local OPTIONAL_DM="gnome-base/gdm x11-misc/lightdm x11-misc/sddm x11-misc/slim"
|
||||
use server && \
|
||||
optfeature "keeping track of the xorg-server module" net-misc/tigervnc-xorg-module && \
|
||||
optfeature_header "Install any additional display manager package:" && \
|
||||
optfeature "proper session support" ${OPTIONAL_DM}
|
||||
}
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST openpgp-keys-apache-xmlgraphics-batik-20170410-KEYS.asc 18450 BLAKE2B 160f9fb04c0b349b59b50c5fcc811ac087407be682f114b2f32c7747f7b1c46d0def6fe27aa3b79ef1b8e35cdcece8cc3761a89ec00b8575b8919944173c79d5 SHA512 98c2d7e51c76c64c9c0040bd18851d08cb55f383d7850a01bcd7df3e0b5eb123e23bf064e10d58d72d627edfa118f1c12bb814e71be5255834274179b90fdc6b
|
||||
EBUILD openpgp-keys-apache-xmlgraphics-batik-20170410.ebuild 567 BLAKE2B a45ccace7d55942fcdf3d715917214f54f1505ad3d9e413f6f62ec05483abdc51342cb0885a90e7102193a715c0fee7853f53b616efb146d195300d546946164 SHA512 40f46d964e5c849686b7ded779bcd01a79f35ea7a95dacbc44e1bd5726201a123e788ef88d546e522f9c43c1f1b2996a3b868ec201cee3db017bf9b57e1ea648
|
||||
MISC metadata.xml 243 BLAKE2B d1937cd00ce74d225075f1cf0e2584ce3f3d04b4ab3bd4ce636326ef8ed6ccaa54535a1c126025464e48a272959a579e08ceb008b8bacb2160f8f623fea5b6b3 SHA512 5431123c80f2e11811efde927819546af19c9ca93c9810399fe784c77ad2201696a081ed146df5b59fbf78ffb39cf8633cd6805e16ca82244aa8458c2ab8c4fd
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="OpenPGP keys used by xmlgraphics.apache.org/batik"
|
||||
HOMEPAGE="https://xmlgraphics.apache.org/batik/download.html"
|
||||
SRC_URI="https://downloads.apache.org/xmlgraphics/batik/KEYS -> ${P}-KEYS.asc"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
local files=( ${A} )
|
||||
insinto /usr/share/openpgp-keys
|
||||
newins - xmlgraphics-batik.apache.org.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue