parent
6b7243e20b
commit
2976fb3cdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,3 @@
|
||||
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
|
||||
|
@ -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,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,3 +1,2 @@
|
||||
DIST apache-tomcat-4.1.40-src.tar.gz 3709719 BLAKE2B f7ca82052c1148a5c384fcbc3871beeddccdb4cfed05ba176581ebb50f52ba867bed8dbc500e97b7348a3a87b9693fb73eb81209df4f31e8c1ced7e30a6af30b SHA512 c455fa3da9da8fcbf1d54ae5dce808f8a4520ccafd627a6b2d1b003c37e8395d8b2a55d5471bf6c196549d082715862b3b8958aef88613293a07fc0160aa5c6e
|
||||
DIST apache-tomcat-5.5.36-src.tar.gz 3743113 BLAKE2B dbfcfd123a23b0ceb9f1fdd936e42324ea8b10cf327a1d0abf1703006535859c7122690a08b5ec27b86b526cc7709a7199b4f35f123538ff11f23f3b489358f3 SHA512 845636b5b992fbbb7d657d192afbab1e6a924bfd0c71b025cf22776eb4527d92d63f9b3f33475d4349a0df4cebd984ba3776eedd7482b820abdea909e90a97b7
|
||||
DIST apache-tomcat-7.0.109-src.tar.gz 5314401 BLAKE2B 56583caea6879bf8ca5cc02a886de3d7af413032f88d367653e709dc1c8f590e78620c788317bbff4b6e65dd3e242cc26863164ac8e7c87334a22636f3ed0703 SHA512 ecf9c0bee0e3e1aa24f299fe633705c5a2f6aa264d9e4968cfc96aa5d0a425c2b0ff07765a8b6c67221766733bdfaed6e6c6377a8d0870d889e7063ce90a46ce
|
||||
|
@ -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.
@ -1,4 +1,8 @@
|
||||
DIST ruby-2.7.7.tar.xz 12101804 BLAKE2B 35f53835259217e344bde7fa3e2fe18e24c3e56eed2ca6dffb7385f38def401e6115944189138b280df5bbb0f5ff2e98f88260165f6e1802c60bd24cc6366397 SHA512 a19be3f0dfce040fe79f439e606f179d6750d2cc6e7b64fd65933edd487f5995573f7d0730beec9d3edadf942f8e9216f01ab3fff189d6cbe9d46a9add3e2683
|
||||
DIST ruby-2.7.8.tar.xz 12105320 BLAKE2B dde5dc368b0e23b19c2f52ec16f233a90f26aa42739882b5222a9112e42d424e16eb781ba0b5351c89c8845724f4e53073f6c60a6e29814c346f824ade5dfab0 SHA512 4b49dff3e1c2e79d914e10418e4c03026f5d4c137dc337f5c720fe26cb9fcdcf4afc6b7c967356cf5fbe04cc5ef431174c48a035becf3e2322c2c45d3c9b2f59
|
||||
DIST ruby-3.0.5.tar.xz 15880196 BLAKE2B 581aa202f6b1b5c72bb18d486c4f74ec87a6c2dd38166c4841b75dba891aabd72c3889b158134b04763cddb22c0f60015f4d21c5130077053e1fcb13e28a8024 SHA512 1c69d18210a2156f7696c678a8d54bf05c4dc49a1401c1ecc5760b1c23fb6ac14053873a225564664d6a327cda274ce72f47d112a6ad8d378f978de4e507e9a0
|
||||
DIST ruby-3.0.6.tar.xz 15864560 BLAKE2B e1fca86cdf267fc2289ef4d605fdf0023265c3a291ca4088361c0acd64310a7c41bf0750b4ac762157c20ceaa5df8bdc0a67374bcad9654bca5c3fc8630ff89c SHA512 abbf883cd9f3ddbd171df8f8c3cd35d930623c4c01a5e01387de0aee9811cca7604b82163e18e04f809773bf1ca5a450f13f62f3db14f191f610e116ae4fa6f8
|
||||
DIST ruby-3.1.3.tar.xz 15300224 BLAKE2B f3ef9031c2902bf5d624dce0a4584724e7a9099fb8b33b86a99026c37f4b91f23ff35c23a3cd7715bf739e6c539cc3612b5a750d00cbacf8e4ebcc70bbc85f41 SHA512 4b0fd334ae56132ba98b8a69adad54bdcf7f7aeabd5eba5b0f0399a3868e2054f9026ca1b1cb2dbb197a9e9b0610b263481949c0623a62071546bc5adff8ca69
|
||||
DIST ruby-3.1.4.tar.xz 15316604 BLAKE2B 5d771c267451c05ae192991976957d43d1131e652ac5a90a8dfff9deba97cf6b139d0113f5d2ed44225a545aa79a1c732555de1efc83d1010d097ec35f7e92dd SHA512 a627bb629a10750b8b2081ad451a41faea0fc85d95aa1e267e3d2a0f56a35bb58195d4a8d13bbdbd82f4197a96dae22b1cee1dfc83861ec33a67ece07aef5633
|
||||
DIST ruby-3.2.1.tar.xz 15094384 BLAKE2B 2dce2201c2c44910fdfe3e58013df9432e6b242baa9cb1f2c0ea3b010a18f9508d9c7802932cca0a05e6b35a2fcd17195a076f6c6741684959065878c31fc2bf SHA512 69caadab9be6b56905ea4fc92fa0e36704f9fa6a0e7e7f4c6bdb79e9cbe8dc57c524f96d9c18802d61aa1ca578fed2e9758692f9d701bf0dba938f0206b721b3
|
||||
DIST ruby-3.2.2.tar.xz 15118856 BLAKE2B 8e09fb0f6808d4572f86ea190db4f4b950ff3a13391bf7bc3e515b6d14f356d3f7c1eb5bbbe2de460ef78edee54462fdf9be56722cd9e27a613febfe45f8c40a SHA512 a29f24cd80f563f6368952d06d6273f7241a409fa9ab2f60e03dde2ac58ca06bee1750715b6134caebf4c061d3503446dc37a6059e19860bb0010eef34951935
|
||||
|
@ -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,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 +1,2 @@
|
||||
DIST time-0.2.1.tar.gz 25363 BLAKE2B 8f9a3dae104a03cc012b156fe696890a655b8a81627e23c3cc3c811b15d1a195d5e7ca1da1b9ab8ee81895e291962be2f64bdf021a376e77a3195695a0a876c1 SHA512 695ea9907338fc13fd8b7ab98ed57d811c05e0609c99585eff80acd172d38408c705857dc25ff78b310a6945e768e5403d9c4453b357676f39d40418982c97e6
|
||||
DIST time-0.2.2.tar.gz 26129 BLAKE2B 9d7c507c06fca17c9a2734f1116524344518635562b0ba924cdf5e0b0b52cb31f6dffa7aa3c8c06e0d2f5f2c1ffdcef2a92756cd915822be6a1510f08fa91c56 SHA512 4866cd7df233222ed76cf3b35c842b6e1652b429aa15609bfe40f89683ad5df2ce7f37f41dfb0e85f610f2ebf4e431ea8046d67c3aed7aa345d928fe33ba1ae3
|
||||
|
@ -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,2 +1,2 @@
|
||||
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
|
||||
|
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,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,5 +1,3 @@
|
||||
DIST tigervnc-1.12.0-xserver-21.patch 3642 BLAKE2B 690860c51d9d2e4606b16318237f86e5a042410dd5778e3d99a01df3fedd7f1993b4fc1eaeb9d193ef9e54d5b25b1d99bfb0bedc8cfb6673983625d9b45c2f92 SHA512 8e9a667557d22e908b1f4e58017f822e98bc608d1e27a09e6b8cfb3b01fe0c5cf9bf484fa634e4109eb7a32234df67fcfdeaca92d4ff982de0e83778c359034d
|
||||
DIST tigervnc-1.12.0.tar.gz 1561898 BLAKE2B 891934e48e3c4f2c36c280ad1562874d3c22ca3118e8eda2f68f9ad7cca978c76b8825100f540774b7a6553e981bd9264e0f717c8313585553741d31706cafad SHA512 a16b15e9cda552a49a3934e4174e49d186d06494d90d11582599ab82559014332662aed7760619a6dfb32a8c95f7d63c68ac7d632c29dd662a6b713f036672bb
|
||||
DIST tigervnc-1.13.0.tar.gz 1986759 BLAKE2B 675284b854e9ce4c328ed5dcc0d22a57f380a3abe1837451bae09d6c03e91fa9e4b0d06f49ade1ba6924bffdc3cc85c5c9b28c594dbc0d0ffeb0aa23e5299f6d SHA512 55936f075ec64880f4b3e9a803f17761abd4c111392ff0fd5289161cd981acae0b57adf26f768db50162e8d7bfd9666686b8d4ac5fc3389c6f9319df16b90be8
|
||||
DIST tigervnc-1.13.1.tar.gz 1989081 BLAKE2B 3f4d395c2788a4d475dcd42793c43f249264db586da85f99d7e0f64ea37854831c61bb5c99945578f8dbeac5ee30e0f7b46fa7f215768c70e750d50689cd4e7a SHA512 9190dbcd3b57ba52286c158c0675104d68463d7e3ea8e23493514b64451ddb511f3daf0f177339bc231155daea376d9c8dc58216663e10aa12f67468f4559da5
|
||||
DIST xorg-server-21.1.1.tar.xz 4958508 BLAKE2B fadac208773700b91003ef18d46e6f2c6b501e59b7491c943f406641e9ff3837a8126034c023e9b6d2d4131ee438c1ef94fa458af1828d4be325519b47069a79 SHA512 8608ed9c1537c95e8a3adea5e3e372a3c5eb841f8e27c84283093f22fb1909e16a800006510da684b13f8f237f33b8a4be3e2537f5f9ab9af4c5ad12770eef0d
|
||||
|
@ -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 @@
|
||||
DIST openpgp-keys-apache-xmlgraphics-batik-20170410-KEYS.asc 18450 BLAKE2B 160f9fb04c0b349b59b50c5fcc811ac087407be682f114b2f32c7747f7b1c46d0def6fe27aa3b79ef1b8e35cdcece8cc3761a89ec00b8575b8919944173c79d5 SHA512 98c2d7e51c76c64c9c0040bd18851d08cb55f383d7850a01bcd7df3e0b5eb123e23bf064e10d58d72d627edfa118f1c12bb814e71be5255834274179b90fdc6b
|
@ -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.
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST mediawiki-1.38.5.tar.gz 55608920 BLAKE2B 4af95e2ca7d0680ff978a320df6430b107db18f0e367d5505d6fc42fecbd7ffa4fc536dc3c9e1dc640345906812046c82e34d44fd6a3461cd2614bde5cf76069 SHA512 74c05628dcee49d0749d839da325bc494c9717db79fc90d6386062f29c2da06ed7c38deb4e6fb46863a37f6dc80b64fff9b1857c959d3b4030ac6a7504f077de
|
||||
DIST mediawiki-1.38.6.tar.gz 55889352 BLAKE2B 0f3422244ae481f9855ecf1f38cf13ef5e5fc945e389c06c1a49684d6392812c0d2a9c64b8ac9a5856ec91e3880ec6b2ef3807f2ccb0927e7d74e36e93c7cf43 SHA512 b42c8253bb6d7d038a443007297693851326f0b12e1c16148e39157e5d57ce3b6e71e39eb28d981458799b548a83c052a3f01cd03bcc69180eecfe7300471bc1
|
||||
DIST mediawiki-1.39.2.tar.gz 55820627 BLAKE2B acbd224d49db80e9888b1b56d3b27d960581284f96a2359555be369ab55aa49b5d12b014bf29e5fec3e8281d961cc5e61b78601e265e84eadbb1d3e0806d34a7 SHA512 630a3b4b18e9df5346c620255e9dee6f7c45b08ca13bb39b6ef4f73893b69a2b22216de3fbd8cff6c2989b3f2bbedc4ab53365389cd7c3c7fbcbd3b2c9bba43f
|
||||
DIST mediawiki-1.39.3.tar.gz 55889372 BLAKE2B b7f8e67841e64744d1b670e2bbe3dda972124c418b3325b31c385ff4021f3710c03dfe7cfea27027f7bc71b1c961a1dc359f3e9f802f6d9bdf93bc590934c37e SHA512 393ae204bd556f13b73838748ce8f41f674645348d2c72cb13e340596313327ed317b93aa72dca207129f91d11d28966c5d805fff1d8dcaffd820281bdf2b71b
|
||||
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit webapp
|
||||
|
||||
MY_BRANCH=$(ver_cut 1-2)
|
||||
|
||||
DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
|
||||
HOMEPAGE="http://www.mediawiki.org"
|
||||
SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86"
|
||||
IUSE="imagemagick mysql postgres +sqlite"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
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"
|
||||
|
||||
need_httpd_cgi
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# remove lua binaries (bug #631554)
|
||||
rm -fr "${S}"/extensions/Scribunto/includes/engines/LuaStandalone/binaries || die "Failed to remove lua binaries"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
# First we install docs and then copy everything left into htdocs dir
|
||||
# to avoid bugs like #236411.
|
||||
|
||||
# We ensure the directories are prepared for writing. The post-
|
||||
# install instructions guide the user to enable the feature.
|
||||
local DOCS="FAQ HISTORY INSTALL README.md RELEASE-NOTES-${PV:0:4} UPGRADE"
|
||||
dodoc ${DOCS} docs/*.txt
|
||||
docinto databases
|
||||
dodoc docs/databases/*
|
||||
# Clean everything not used at the site...
|
||||
rm -rf ${DOCS} COPYING tests docs || die
|
||||
find . -name Makefile -delete || die
|
||||
# and install
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
# If imagemagick is enabled then setup for image upload.
|
||||
# We ensure the directory is prepared for writing.
|
||||
if use imagemagick ; then
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/images
|
||||
fi
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
|
||||
webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
webapp_pkg_postinst
|
||||
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
echo
|
||||
elog "=== Consult the release notes ==="
|
||||
elog "Before doing anything, stop and consult the release notes"
|
||||
elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2"
|
||||
echo
|
||||
elog "These detail bug fixes, new features and functionality, and any"
|
||||
elog "particular points that may need to be noted during the upgrade procedure."
|
||||
echo
|
||||
ewarn "Back up existing files and the database before upgrade."
|
||||
ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
|
||||
ewarn "provides an overview of the backup process."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit webapp
|
||||
|
||||
MY_BRANCH=$(ver_cut 1-2)
|
||||
|
||||
DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
|
||||
HOMEPAGE="http://www.mediawiki.org"
|
||||
SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86"
|
||||
IUSE="imagemagick mysql postgres +sqlite"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
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"
|
||||
|
||||
need_httpd_cgi
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# remove lua binaries (bug #631554)
|
||||
rm -fr "${S}"/extensions/Scribunto/includes/engines/LuaStandalone/binaries || die "Failed to remove lua binaries"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
# First we install docs and then copy everything left into htdocs dir
|
||||
# to avoid bugs like #236411.
|
||||
|
||||
# We ensure the directories are prepared for writing. The post-
|
||||
# install instructions guide the user to enable the feature.
|
||||
local DOCS="FAQ HISTORY INSTALL README.md RELEASE-NOTES-${PV:0:4} UPGRADE"
|
||||
dodoc ${DOCS} docs/*.txt
|
||||
docinto databases
|
||||
dodoc docs/databases/*
|
||||
# Clean everything not used at the site...
|
||||
rm -rf ${DOCS} COPYING tests docs || die
|
||||
find . -name Makefile -delete || die
|
||||
# and install
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
# If imagemagick is enabled then setup for image upload.
|
||||
# We ensure the directory is prepared for writing.
|
||||
if use imagemagick ; then
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/images
|
||||
fi
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
|
||||
webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
webapp_pkg_postinst
|
||||
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
echo
|
||||
elog "=== Consult the release notes ==="
|
||||
elog "Before doing anything, stop and consult the release notes"
|
||||
elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2"
|
||||
echo
|
||||
elog "These detail bug fixes, new features and functionality, and any"
|
||||
elog "particular points that may need to be noted during the upgrade procedure."
|
||||
echo
|
||||
ewarn "Back up existing files and the database before upgrade."
|
||||
ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
|
||||
ewarn "provides an overview of the backup process."
|
||||
echo
|
||||
fi
|
||||
}
|
Binary file not shown.
Loading…
Reference in new issue