parent
1c2513d41b
commit
8cf2bbdc4f
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
DIST molecule-3.3.4.tar.gz 280980 BLAKE2B af704a8a8d709323441e6e6057bf7a62b0d89aa582eff4d9139b521ed0729c36836f324cd1741f441fae4ed4b9c148de76c2502a01ce5a7b142bfe32bc7fd391 SHA512 8ccc6e121d028bc9d477504a3e5067486d4a3e37f2c27a9686b068c9dac2185db7f965960affb4f9e958bb68d3c3a72786459ea3d221d781377d899b0d75d5a5
|
@ -0,0 +1,84 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
DISTUTILS_SINGLE_IMPL=1
|
||||||
|
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_PN="${PN#ansible-}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="A toolkit designed to aid in the development and testing of Ansible roles"
|
||||||
|
HOMEPAGE="https://pypi.org/project/molecule/ https://github.com/ansible-community/molecule/"
|
||||||
|
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="selinux"
|
||||||
|
|
||||||
|
RDEPEND="$(python_gen_cond_dep '
|
||||||
|
>=app-admin/ansible-lint-5.0.12[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/cerberus-1.3.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/click-8.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/click-help-colors[${PYTHON_USEDEP}]
|
||||||
|
dev-python/enrich[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
dev-python/packaging[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/paramiko-3[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/pluggy-1.0[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/pyyaml-6[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rich[${PYTHON_USEDEP}]
|
||||||
|
dev-python/subprocess-tee[${PYTHON_USEDEP}]
|
||||||
|
>=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
|
||||||
|
selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
|
||||||
|
')"
|
||||||
|
BDEPEND="$(python_gen_cond_dep '
|
||||||
|
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||||
|
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
|
||||||
|
doc? (
|
||||||
|
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
test? (
|
||||||
|
dev-python/ansi2html[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/pexpect-5[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pytest-html-3.0.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-plus[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-testinfra[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-verbose-parametrize[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
')"
|
||||||
|
|
||||||
|
S="${WORKDIR}"/${MY_P}
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' 'dev-python/sphinx_ansible_theme'
|
||||||
|
distutils_enable_tests --install pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if ! use selinux; then
|
||||||
|
sed -i "/^\s\+selinux/d" setup.cfg || die "Failed to remove dependency on SELinux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Several issues with tests from this file:
|
||||||
|
# - quite a few of these use the network;
|
||||||
|
# - test_command_dependency[shell] only works if Molecule has previously been installed;
|
||||||
|
# - tests involving creation of a new scenario fail on ansible-lint errors, even though
|
||||||
|
# a config file is deployed which should skip expected issues.
|
||||||
|
rm -f src/molecule/test/functional/test_command.py
|
||||||
|
# Uses unpackaged yamllint
|
||||||
|
rm -f src/molecule/test/unit/cookiecutter/test_molecule.py
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
distutils_install_for_testing --via-venv
|
||||||
|
distutils-r1_python_test
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>marecki@gentoo.org</email>
|
||||||
|
<name>Marek Szuba</name>
|
||||||
|
</maintainer>
|
||||||
|
<stabilize-allarches/>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">molecule</remote-id>
|
||||||
|
<remote-id type="github">ansible-community/molecule</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -1,3 +1,2 @@
|
|||||||
DIST sudo-1.9.6p1.tar.gz 4119888 BLAKE2B 02bdb551c46cff11ac56e64937c64e6a29ccd8e0af34ea2f6b33c223bee8f7ad958d0fc3d7ef8ef12bf5bc82565769b923ff112a3f3d6bf6999fa4f6ea55e38e SHA512 632dfe72f04ce9a7a5a7236fcd5c09ce4535e695ced49d24dd848e3a7b1bea7380df44188b9e475af4271069539b5a5816948a98fbb0649ebebaba8b4c4b7745
|
DIST sudo-1.9.6p1.tar.gz 4119888 BLAKE2B 02bdb551c46cff11ac56e64937c64e6a29ccd8e0af34ea2f6b33c223bee8f7ad958d0fc3d7ef8ef12bf5bc82565769b923ff112a3f3d6bf6999fa4f6ea55e38e SHA512 632dfe72f04ce9a7a5a7236fcd5c09ce4535e695ced49d24dd848e3a7b1bea7380df44188b9e475af4271069539b5a5816948a98fbb0649ebebaba8b4c4b7745
|
||||||
DIST sudo-1.9.7.tar.gz 4194242 BLAKE2B 5addf9fc0a8fea8ada89f240f827dcec973277f120ad98f7942f8e46e2869c676eaca044b9c46e43dab120efea3413c71e19c30ef5b0d9cc4d9ad8f0413dbffe SHA512 53e9f18f6c0acd4f80c0cd695cd23781310e9edd305d1b3ea19653efa3fd7faba149daef0ba4953615b140a8816bc980c9bd8d28545dd8db98075abf11b63e61
|
|
||||||
DIST sudo-1.9.7p1.tar.gz 4197591 BLAKE2B fff3eab8b4de6276135229c5fe12e7eced98af988b7686600e6a63b8615f6357ab2c5f95ef6f1872534476c4398a28c4f468ffc316e0cff7d4b32e6068aa97d4 SHA512 bc85d9de1566de24883375edd1c4cd24b1f24437bb16d181bfa3c9c94cead220c69ad00d6727560ca195765ced970e95d69b9ce01dbea448de39afac9a902fb4
|
DIST sudo-1.9.7p1.tar.gz 4197591 BLAKE2B fff3eab8b4de6276135229c5fe12e7eced98af988b7686600e6a63b8615f6357ab2c5f95ef6f1872534476c4398a28c4f468ffc316e0cff7d4b32e6068aa97d4 SHA512 bc85d9de1566de24883375edd1c4cd24b1f24437bb16d181bfa3c9c94cead220c69ad00d6727560ca195765ced970e95d69b9ce01dbea448de39afac9a902fb4
|
||||||
|
@ -1,254 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit pam multilib libtool systemd tmpfiles toolchain-funcs
|
|
||||||
|
|
||||||
MY_P="${P/_/}"
|
|
||||||
MY_P="${MY_P/beta/b}"
|
|
||||||
|
|
||||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
|
||||||
HOMEPAGE="https://www.sudo.ws/"
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
inherit mercurial
|
|
||||||
EHG_REPO_URI="https://www.sudo.ws/repos/sudo"
|
|
||||||
else
|
|
||||||
uri_prefix=
|
|
||||||
case ${P} in
|
|
||||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
SRC_URI="https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
|
||||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
|
||||||
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-solaris"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Basic license is ISC-style as-is, some files are released under
|
|
||||||
# 3-clause BSD license
|
|
||||||
LICENSE="ISC BSD"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="gcrypt ldap nls offensive pam sasl +secure-path selinux +sendmail skey ssl sssd"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
sys-libs/zlib:=
|
|
||||||
gcrypt? ( dev-libs/libgcrypt:= )
|
|
||||||
ldap? (
|
|
||||||
>=net-nds/openldap-2.1.30-r1
|
|
||||||
sasl? (
|
|
||||||
dev-libs/cyrus-sasl
|
|
||||||
net-nds/openldap[sasl]
|
|
||||||
)
|
|
||||||
)
|
|
||||||
pam? ( sys-libs/pam )
|
|
||||||
sasl? ( dev-libs/cyrus-sasl )
|
|
||||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
|
||||||
ssl? ( dev-libs/openssl:0= )
|
|
||||||
sssd? ( sys-auth/sssd[sudo] )
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
>=app-misc/editor-wrapper-3
|
|
||||||
virtual/editor
|
|
||||||
ldap? ( dev-lang/perl )
|
|
||||||
pam? ( sys-auth/pambase )
|
|
||||||
selinux? ( sec-policy/selinux-sudo )
|
|
||||||
sendmail? ( virtual/mta )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
sys-devel/bison
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
?? ( pam skey )
|
|
||||||
?? ( gcrypt ssl )
|
|
||||||
"
|
|
||||||
|
|
||||||
MAKEOPTS+=" SAMPLES="
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
elibtoolize
|
|
||||||
}
|
|
||||||
|
|
||||||
set_secure_path() {
|
|
||||||
# first extract the default ROOTPATH from build env
|
|
||||||
SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env;
|
|
||||||
echo "${ROOTPATH}")
|
|
||||||
case "${SECURE_PATH}" in
|
|
||||||
*/usr/sbin*) ;;
|
|
||||||
*) SECURE_PATH=$(unset PATH;
|
|
||||||
. "${EPREFIX}"/etc/profile.env; echo "${PATH}")
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
if [[ -z ${SECURE_PATH} ]] ; then
|
|
||||||
ewarn " Failed to detect SECURE_PATH, please report this"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# then remove duplicate path entries
|
|
||||||
cleanpath() {
|
|
||||||
local newpath thisp IFS=:
|
|
||||||
for thisp in $1 ; do
|
|
||||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
|
||||||
newpath+=:${thisp}
|
|
||||||
else
|
|
||||||
einfo " Duplicate entry ${thisp} removed..."
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
SECURE_PATH=${newpath#:}
|
|
||||||
}
|
|
||||||
cleanpath /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin${SECURE_PATH:+:${SECURE_PATH}}
|
|
||||||
|
|
||||||
# finally, strip gcc paths #136027
|
|
||||||
rmpath() {
|
|
||||||
local e newpath thisp IFS=:
|
|
||||||
for thisp in ${SECURE_PATH} ; do
|
|
||||||
for e ; do [[ ${thisp} == ${e} ]] && continue 2 ; done
|
|
||||||
newpath+=:${thisp}
|
|
||||||
done
|
|
||||||
SECURE_PATH=${newpath#:}
|
|
||||||
}
|
|
||||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local SECURE_PATH
|
|
||||||
set_secure_path
|
|
||||||
tc-export PKG_CONFIG #767712
|
|
||||||
|
|
||||||
# audit: somebody got to explain me how I can test this before I
|
|
||||||
# enable it.. - Diego
|
|
||||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
|
||||||
# until `make` time, so we have to use a full path here rather than
|
|
||||||
# basing off other values.
|
|
||||||
myeconfargs=(
|
|
||||||
# requires some python eclass
|
|
||||||
--disable-python
|
|
||||||
--enable-tmpfiles.d="${EPREFIX}"/usr/lib/tmpfiles.d
|
|
||||||
--enable-zlib=system
|
|
||||||
--with-editor="${EPREFIX}"/usr/libexec/editor
|
|
||||||
--with-env-editor
|
|
||||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo
|
|
||||||
--with-rundir="${EPREFIX}"/run/sudo
|
|
||||||
--with-vardir="${EPREFIX}"/var/db/sudo
|
|
||||||
--without-linux-audit
|
|
||||||
--without-opie
|
|
||||||
$(use_enable gcrypt)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable sasl)
|
|
||||||
$(use_enable ssl openssl)
|
|
||||||
$(use_with ldap)
|
|
||||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo)
|
|
||||||
$(use_with offensive insults)
|
|
||||||
$(use_with offensive all-insults)
|
|
||||||
$(use_with pam)
|
|
||||||
$(use_with pam pam-login)
|
|
||||||
$(use_with secure-path secure-path "${SECURE_PATH}")
|
|
||||||
$(use_with selinux)
|
|
||||||
$(use_with sendmail)
|
|
||||||
$(use_with skey)
|
|
||||||
$(use_with sssd)
|
|
||||||
)
|
|
||||||
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if use ldap ; then
|
|
||||||
dodoc README.LDAP
|
|
||||||
|
|
||||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
|
||||||
# See ldap.conf(5) and README.LDAP for details
|
|
||||||
# This file should only be readable by root
|
|
||||||
|
|
||||||
# supported directives: host, port, ssl, ldap_version
|
|
||||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
|
||||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
if use sasl ; then
|
|
||||||
cat <<-EOF >> "${T}"/ldap.conf.sudo
|
|
||||||
|
|
||||||
# SASL directives: use_sasl, sasl_mech, sasl_auth_id
|
|
||||||
# sasl_secprops, rootuse_sasl, rootsasl_auth_id, krb5_ccname
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
doins "${T}"/ldap.conf.sudo
|
|
||||||
fperms 0440 /etc/ldap.conf.sudo
|
|
||||||
|
|
||||||
insinto /etc/openldap/schema
|
|
||||||
newins doc/schema.OpenLDAP sudo.schema
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use pam; then
|
|
||||||
pamd_mimic system-auth sudo auth account session
|
|
||||||
pamd_mimic system-auth sudo-i auth account session
|
|
||||||
fi
|
|
||||||
|
|
||||||
keepdir /var/db/sudo/lectured
|
|
||||||
fperms 0700 /var/db/sudo/lectured
|
|
||||||
fperms 0711 /var/db/sudo #652958
|
|
||||||
|
|
||||||
# Don't install into /run as that is a tmpfs most of the time
|
|
||||||
# (bug #504854)
|
|
||||||
rm -rf "${ED}"/run || die
|
|
||||||
|
|
||||||
find "${ED}" -type f -name "*.la" -delete || die #697812
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
tmpfiles_process sudo.conf
|
|
||||||
|
|
||||||
#652958
|
|
||||||
local sudo_db="${EROOT}/var/db/sudo"
|
|
||||||
if [[ "$(stat -c %a "${sudo_db}")" -ne 711 ]] ; then
|
|
||||||
chmod 711 "${sudo_db}" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use ldap ; then
|
|
||||||
ewarn
|
|
||||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
|
||||||
ewarn
|
|
||||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
|
||||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
|
||||||
ewarn "configured in /etc/nsswitch.conf."
|
|
||||||
ewarn
|
|
||||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
|
||||||
ewarn " sudoers: ldap files"
|
|
||||||
ewarn
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if use prefix ; then
|
|
||||||
ewarn
|
|
||||||
ewarn "To use sudo, you need to change file ownership and permissions"
|
|
||||||
ewarn "with root privileges, as follows:"
|
|
||||||
ewarn
|
|
||||||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
|
||||||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
|
||||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
|
||||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
|
||||||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
|
||||||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
|
||||||
ewarn
|
|
||||||
fi
|
|
||||||
|
|
||||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
|
||||||
elog "password program from the following list. Starred packages will"
|
|
||||||
elog "automatically register for the use with sudo (but will not force"
|
|
||||||
elog "the -A option):"
|
|
||||||
elog ""
|
|
||||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
|
||||||
elog " net-misc/x11-ssh-askpass"
|
|
||||||
elog ""
|
|
||||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
|
||||||
elog "variable to the program you want to use."
|
|
||||||
}
|
|
Binary file not shown.
@ -1,3 +1,6 @@
|
|||||||
DIST rarlinux-6.0.1_p20210407.tar.gz 610095 BLAKE2B 897a72f7fca5efe828bf21cfd6ce5a320b5aba8fb9ca7f83991fda292ab753f860188c632aa96fa5c8e50bc3bbfda644d163e349e68a655681f36e1d36d5991f SHA512 55627c4cf7ad1651f4f9d79650b9b6ea203e20573f65158c366e4a2ec5492549e0f74d7c5ec96b71f7264a6ecebd7f6b5d8706d294f0e4bb66ca7d5eb57d9f39
|
DIST rarlinux-6.0.1_p20210407.tar.gz 610095 BLAKE2B 897a72f7fca5efe828bf21cfd6ce5a320b5aba8fb9ca7f83991fda292ab753f860188c632aa96fa5c8e50bc3bbfda644d163e349e68a655681f36e1d36d5991f SHA512 55627c4cf7ad1651f4f9d79650b9b6ea203e20573f65158c366e4a2ec5492549e0f74d7c5ec96b71f7264a6ecebd7f6b5d8706d294f0e4bb66ca7d5eb57d9f39
|
||||||
|
DIST rarlinux-6.0.2_p20210611.tar.gz 610546 BLAKE2B 927a7f60af431e84e9ff19dc1abf52c4697068264d3c67a17ada324bfb00975824e26937a19dea023cda772066991de719ec68fb1fb380f6656130af67202131 SHA512 6b6ef629dd0e681702fb0835cf6fe9962dc2ce774291f800893308a93a0a498099775e7d897d69375f68107b0ce0862bb2a6a169b8fbda534091678e9be3f09c
|
||||||
DIST rarlinux-x64-6.0.1_p20210407.tar.gz 598720 BLAKE2B 7b33c2d10064db20d9bea0d416e3531dbafec659733ac361fb6c87afd646bdbf8eb8ac8581c854ec2cf193a8fbb3fe3da028a20653ead6e566e9b8de4be3b1e9 SHA512 58b308ee90dbbb416cbb1d510372fc6099c499155787e521a9103347ca853d0c30552a3f0d74207cb456fa3081a7d41c11685208bc996325b825f832cba12b12
|
DIST rarlinux-x64-6.0.1_p20210407.tar.gz 598720 BLAKE2B 7b33c2d10064db20d9bea0d416e3531dbafec659733ac361fb6c87afd646bdbf8eb8ac8581c854ec2cf193a8fbb3fe3da028a20653ead6e566e9b8de4be3b1e9 SHA512 58b308ee90dbbb416cbb1d510372fc6099c499155787e521a9103347ca853d0c30552a3f0d74207cb456fa3081a7d41c11685208bc996325b825f832cba12b12
|
||||||
|
DIST rarlinux-x64-6.0.2_p20210611.tar.gz 599150 BLAKE2B ff60f32ee5215403e622bc5c341b8212c3deee0020155043e4c7c3d5feff113da351412a91fd42f46e3293dc5975fd2beca558e3e45744cdc5356ace82af6c93 SHA512 909eb3b05c56327ccec101652d1d68ca5eb97ba3a7223954724fbccf4960b07ffa0ff5fe5405c53a248342a3ae171325e7bbf7fadeaf63c1c45bf00853e0a940
|
||||||
DIST winrar-x64-6.0.1_p20210407.exe 3342736 BLAKE2B d85763f9f78528c0da838efc4ad131eaffd0c97087394df32373847110127735f8199fedc7d577dee7fff97cb31566d1431eb31a202c36f340cbf5acbea045ce SHA512 9b897be51947871cbc4a3395e4f25644ac5bf328c86b033c58b127710264abb1486dac28f91b421c6f8e1196466fd91313acd379077fdfba7795df8cb929a7b2
|
DIST winrar-x64-6.0.1_p20210407.exe 3342736 BLAKE2B d85763f9f78528c0da838efc4ad131eaffd0c97087394df32373847110127735f8199fedc7d577dee7fff97cb31566d1431eb31a202c36f340cbf5acbea045ce SHA512 9b897be51947871cbc4a3395e4f25644ac5bf328c86b033c58b127710264abb1486dac28f91b421c6f8e1196466fd91313acd379077fdfba7795df8cb929a7b2
|
||||||
|
DIST winrar-x64-6.0.2_p20210611.exe 3348968 BLAKE2B 482e5c34cae9c452b539f6e9e89efc7db8e463cc58b4db43cd25caa7e3fc6ab7945a7a17e9605b9d6d505c31a9a343a29812531dc5ba319765bf80fcc775426e SHA512 4c2bd804465e6bd948de248a7a0893f4b38728665b8e67c65bfc14766475072960250057ad1afc457a0df1f128da96d69483b000a5da18826776ea0a4377230a
|
||||||
|
@ -0,0 +1,109 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
DESCRIPTION="RAR compressor/uncompressor"
|
||||||
|
HOMEPAGE="https://rarlab.com/"
|
||||||
|
URI_x86="https://mirror.whissi.de/distfiles/rar/rarlinux-${PV}.tar.gz"
|
||||||
|
URI_amd64="https://mirror.whissi.de/distfiles/rar/rarlinux-x64-${PV}.tar.gz"
|
||||||
|
URI_w64="https://mirror.whissi.de/distfiles/rar/winrar-x64-${PV}.exe"
|
||||||
|
SRC_URI="x86? ( ${URI_x86} )
|
||||||
|
amd64? ( ${URI_amd64} )
|
||||||
|
all_sfx? (
|
||||||
|
${URI_x86}
|
||||||
|
${URI_amd64}
|
||||||
|
${URI_w64}
|
||||||
|
)"
|
||||||
|
|
||||||
|
LICENSE="RAR BSD BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86"
|
||||||
|
IUSE="all_sfx"
|
||||||
|
RESTRICT="mirror bindist"
|
||||||
|
|
||||||
|
DEPEND="all_sfx? ( app-arch/unrar )"
|
||||||
|
RDEPEND="sys-libs/glibc"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}"
|
||||||
|
|
||||||
|
QA_FLAGS_IGNORED="opt/rar/default.sfx
|
||||||
|
opt/rar/default-elf32.sfx
|
||||||
|
opt/rar/default-elf64.sfx
|
||||||
|
opt/rar/default-win32.sfx
|
||||||
|
opt/rar/default-win64.sfx
|
||||||
|
opt/rar/WinCon.SFX
|
||||||
|
opt/rar/WinCon64.SFX
|
||||||
|
opt/rar/Zip.SFX
|
||||||
|
opt/rar/Zip64.SFX
|
||||||
|
opt/rar/unrar
|
||||||
|
opt/rar/rar"
|
||||||
|
QA_PRESTRIPPED=${QA_FLAGS_IGNORED}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
local _file
|
||||||
|
|
||||||
|
for _file in ${A}; do
|
||||||
|
if [[ "${_file}" == rarli* ]]; then
|
||||||
|
if [[ "${_file}" =~ x64 ]]; then
|
||||||
|
if ! use amd64; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
unpack "${_file}"
|
||||||
|
elif [[ ! "${_file}" =~ x64 ]]; then
|
||||||
|
if ! use x86; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
unpack "${_file}"
|
||||||
|
else
|
||||||
|
die "Unknown SRC file '${_file}'!"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
rm -f "${S}"/license.txt
|
||||||
|
|
||||||
|
if use all_sfx ; then
|
||||||
|
mkdir sfx
|
||||||
|
cd sfx
|
||||||
|
for _file in ${A}; do
|
||||||
|
if [[ "${_file}" == rarli* ]]; then
|
||||||
|
unpack "${_file}"
|
||||||
|
if [[ "${_file}" =~ x64 ]]; then
|
||||||
|
mv rar/default.sfx default-elf64.sfx || die
|
||||||
|
else
|
||||||
|
mv rar/default.sfx default-elf32.sfx || die
|
||||||
|
fi
|
||||||
|
elif [[ "${_file}" == winrar* ]]; then
|
||||||
|
ln -s "${DISTDIR}"/${_file} w64.rar || die
|
||||||
|
unpack ./w64.rar
|
||||||
|
mv Default.SFX default-win32.sfx || die
|
||||||
|
mv Default64.SFX default-win64.sfx || die
|
||||||
|
else
|
||||||
|
die "Unknown SFX file '${_file}'!"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() { :; }
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
exeinto /opt/rar
|
||||||
|
doexe rar unrar
|
||||||
|
|
||||||
|
dodir /opt/bin
|
||||||
|
dosym ../rar/rar /opt/bin/rar
|
||||||
|
dosym ../rar/unrar /opt/bin/unrar
|
||||||
|
|
||||||
|
insinto /opt/rar
|
||||||
|
if use all_sfx ; then
|
||||||
|
doins "${WORKDIR}"/sfx/*.{sfx,SFX}
|
||||||
|
else
|
||||||
|
doins default.sfx
|
||||||
|
fi
|
||||||
|
doins rarfiles.lst
|
||||||
|
dodoc *.txt
|
||||||
|
}
|
@ -1,3 +1,3 @@
|
|||||||
DIST unrar-6.0.4.tar.gz 232379 BLAKE2B 39382eeb71cafdeaa608ef497c44cd88d950d761e5c8395a224b2bdd530328a0060dec658aec943f9af8e135ce29cf86c3522ed17799f869cd0d84cbd7acc74a SHA512 9d2beb39fa0e3c60298b482967f1ae51d8a6531c88f5b8b053cc8905c033c0235cabb776d8449f9d96da6b81946167b84d19acdf93dda7ada14cc3c53bb7df19
|
DIST unrar-6.0.4.tar.gz 232379 BLAKE2B 39382eeb71cafdeaa608ef497c44cd88d950d761e5c8395a224b2bdd530328a0060dec658aec943f9af8e135ce29cf86c3522ed17799f869cd0d84cbd7acc74a SHA512 9d2beb39fa0e3c60298b482967f1ae51d8a6531c88f5b8b053cc8905c033c0235cabb776d8449f9d96da6b81946167b84d19acdf93dda7ada14cc3c53bb7df19
|
||||||
DIST unrar-6.0.5.tar.gz 232702 BLAKE2B 8e33d116ae9de06818379f4303241dd7f44ba319619829d0eb2c9257b3fd27e473b636d40edd6049a1ff096ea722fee0a71bf145456923b2664087dbf7d4554d SHA512 cd6d9b316a2daf2f3f81b28b4d6054cbe7ca9a7e39087a5dc7e4c554e5d5590b395243f03f019bf358e127be48dd219e827fdb6af7543305a52c3f87f6e32dd7
|
DIST unrar-6.0.5.tar.gz 232702 BLAKE2B 8e33d116ae9de06818379f4303241dd7f44ba319619829d0eb2c9257b3fd27e473b636d40edd6049a1ff096ea722fee0a71bf145456923b2664087dbf7d4554d SHA512 cd6d9b316a2daf2f3f81b28b4d6054cbe7ca9a7e39087a5dc7e4c554e5d5590b395243f03f019bf358e127be48dd219e827fdb6af7543305a52c3f87f6e32dd7
|
||||||
DIST unrar-6.0.6.tar.gz 232874 BLAKE2B dd32f09167a641d7a63a2dc4979f6eb4462b1a16529e92fd0fb1e0e27f4eeb22e7ee15b96e7aa9d852db4dddd09d73efb53f2bcb2426e12612afa244f06f0387 SHA512 cb50cdde120c02461bb6618e4b8773a221982c5ba81309669001b9713fc14bedc42bc5a601f30a62674be7ffd5c674d51be285c02a468d6e3fe0ebc02da8bd8f
|
DIST unrar-6.0.7.tar.gz 232903 BLAKE2B eba5179f622726046fabedac03e8c05f7dd2f64782dc0be18010deb22c1036b895cbb9429f44239e63d9c04f3e031b4f9787462f4f643f8bca11b135de08f547 SHA512 2c50d1f58f5189e59dad36eb25aa50a34572f583242e624846c9791c5609e83d4ee76314d785771fe514ec3378749dcb86e4c97a8d2a3ab7b469df49a5c5f412
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,14 +1,7 @@
|
|||||||
DIST BookFAQ-4.10.6c.pdf 183227 BLAKE2B 50065fea13a2f5fed0e0de52b316968da05ebaf7fc8704fd9860b07ac83af9423ff2937a5b134a987b32dfec108b86548e4b0e0bcaddb1608850f336dc38ba7b SHA512 99a80740dd996d0a5f6ad198d82b9cbf991dac13096f4220530a9e87103791b65a43c887797efb261e2e461a0a89e652f18665095a661e68d1bbd763d8385d6d
|
|
||||||
DIST BookFAQ-4.10.7.pdf 182327 BLAKE2B 5a625b1d455a7313ccd9a36296b11390c7497ba7cab4fe952933c29b9e706cac370332057a79d444100130dc5d4097258f71c6d51e36cc7b74cd62d8685f5479 SHA512 79a10f6b0d318ef19b05fc28b499d7d60a358a7a15cf8194a4a935721e35fe34c50b05b50032eb7134183b4ef8f4fc8f43f742007e2ffa0db0bf9c6ddd8ec917
|
DIST BookFAQ-4.10.7.pdf 182327 BLAKE2B 5a625b1d455a7313ccd9a36296b11390c7497ba7cab4fe952933c29b9e706cac370332057a79d444100130dc5d4097258f71c6d51e36cc7b74cd62d8685f5479 SHA512 79a10f6b0d318ef19b05fc28b499d7d60a358a7a15cf8194a4a935721e35fe34c50b05b50032eb7134183b4ef8f4fc8f43f742007e2ffa0db0bf9c6ddd8ec917
|
||||||
DIST BookForApplicationDevelopers-4.10.6c.pdf 3731281 BLAKE2B 40a7ba97dbde79bbdfcf800922bad6e8678818fcb49d175a1f8514dff1c893036fddc9f5a04710961a9612fa7d5ce9e422e5bf12d025f665cc60c29af4094b23 SHA512 1b78eb945bd8819daa0d218d069e9a799736ce8e8added481038e4c61619f533491b5d1119791e0adefb5c5bf0eedcc36435b23120ea3276977c459d20e1ee3c
|
|
||||||
DIST BookForApplicationDevelopers-4.10.7.pdf 3796649 BLAKE2B 75acd17cfd29245604fb95ffd606b72ef59943d3916e34e0c33ed271d92f2091994c99ebbae0b95fc09bc42092e1983a320142bc62a7156d702584dd276273ec SHA512 273c0b0ca94dc9d26b44955ea13150417e766b08762b5b2c94d743fbf6ea7b47dada9009cc8765b62e3e7e6a2ad37b95168c45f206e20cbb23cea9c577da3f64
|
DIST BookForApplicationDevelopers-4.10.7.pdf 3796649 BLAKE2B 75acd17cfd29245604fb95ffd606b72ef59943d3916e34e0c33ed271d92f2091994c99ebbae0b95fc09bc42092e1983a320142bc62a7156d702584dd276273ec SHA512 273c0b0ca94dc9d26b44955ea13150417e766b08762b5b2c94d743fbf6ea7b47dada9009cc8765b62e3e7e6a2ad37b95168c45f206e20cbb23cea9c577da3f64
|
||||||
DIST BookForToolkitDevelopers-4.10.6c.pdf 7331646 BLAKE2B f5ef48bf09284e1207dbfd9513c096dba0595dd357caf45f52aa164206fb0c24935844b3b45f95d606339756c0a9bd558965b78de7cb62abc5bfd74a2b01bfbd SHA512 e108577c2d3dba45422fd5523b2a6fc222457e0cae76e34ebb2d1f4692b4ff9714a8a9f1ae95307aaae528b86373a844821a4a073733185ee56a3df94ce6e24a
|
|
||||||
DIST BookForToolkitDevelopers-4.10.7.pdf 7336024 BLAKE2B f217c2bd01b73138f5b6b7f4211f5277fe2ea0f48e9849fedc4d5c56b766b69705fac2cf3d7523c8d008d6a546e4753ce485d852c4b8886a2403c6ba7212704e SHA512 62a68b3c02dc301f3c627da3b029620606e975316f90637b76e06e5e766647608d69eb29a14fdbe3264401d664eecd5d128b9990cef0c5f6f69d244dc804cfb8
|
DIST BookForToolkitDevelopers-4.10.7.pdf 7336024 BLAKE2B f217c2bd01b73138f5b6b7f4211f5277fe2ea0f48e9849fedc4d5c56b766b69705fac2cf3d7523c8d008d6a546e4753ce485d852c4b8886a2403c6ba7212704e SHA512 62a68b3c02dc301f3c627da3b029620606e975316f90637b76e06e5e766647608d69eb29a14fdbe3264401d664eecd5d128b9990cef0c5f6f69d244dc804cfb8
|
||||||
DIST Geant4InstallationGuide-4.10.6c.pdf 327501 BLAKE2B 9379ce8243dcdc08f764f7217b86d1dd414c649cfc163702a16e883774be9ea2242b8f326672be0088dd180de727c95539227d8d17002f0bf79e74ecf5a5955c SHA512 3c480f493d093d22c6cf4378ddcebd7d192684a4202597fe04640e695cecc7ec36fb403311eae8a59fd88a5136d5734fadf03174b3391cdc06744a7b91834caa
|
|
||||||
DIST Geant4InstallationGuide-4.10.7.pdf 282056 BLAKE2B 36e3ce01c836796973a63f1f48248024d55e6cb4c2383aa245baaf85b57fbc722d2ff518c11078434571160d2ccfe8d8b7770c58e31a24b264100cdf792b7508 SHA512 13372a61629c6ccadbec4416da06db1c8f53be5f69d8918997643de16f8547d74eb604cbf1b6fba55001093ce3cfbf74f0ebf249cc6f7dae877c9397d67d153b
|
DIST Geant4InstallationGuide-4.10.7.pdf 282056 BLAKE2B 36e3ce01c836796973a63f1f48248024d55e6cb4c2383aa245baaf85b57fbc722d2ff518c11078434571160d2ccfe8d8b7770c58e31a24b264100cdf792b7508 SHA512 13372a61629c6ccadbec4416da06db1c8f53be5f69d8918997643de16f8547d74eb604cbf1b6fba55001093ce3cfbf74f0ebf249cc6f7dae877c9397d67d153b
|
||||||
DIST IntroductionToGeant4-4.10.6c.pdf 142963 BLAKE2B 69b3594fbe888c4d00cf41f27a20a4127df970d4b58da68ab921245b7a888f3d3e439c6bc2fd2b32b7720aef6e867159ea1dcc22a66f4fb91c78c7a8c60ff255 SHA512 ef04dfc8ef49f05d3eaeb625fa61d74c6b59dd1b3504d63ddf6a0c80dd547ca03f5ce0cd28fdd7e9f1638bb91ce7dbea059cc5ae26ed776d78767cddf8b237be
|
|
||||||
DIST IntroductionToGeant4-4.10.7.pdf 142118 BLAKE2B 975906d4cc1dd2a54bd283c228cc4ff577f842eac853b491899dbce243732231843ee9296c4511f171fdb089f98a4bf8dc14fbed85b3e3fd908f77d7e4395a6c SHA512 940cfe00e9ffac83ceedde03438a2b05b80ce6f7d763811924ec07e2eb8f69516c3a2ba18bf7bfab37c1026a00481d483129835830ecfd75e4277ef063dbd464
|
DIST IntroductionToGeant4-4.10.7.pdf 142118 BLAKE2B 975906d4cc1dd2a54bd283c228cc4ff577f842eac853b491899dbce243732231843ee9296c4511f171fdb089f98a4bf8dc14fbed85b3e3fd908f77d7e4395a6c SHA512 940cfe00e9ffac83ceedde03438a2b05b80ce6f7d763811924ec07e2eb8f69516c3a2ba18bf7bfab37c1026a00481d483129835830ecfd75e4277ef063dbd464
|
||||||
DIST PhysicsListGuide-4.10.6c.pdf 343740 BLAKE2B f53d7e06692af87aeee32a43406ff8388bc491e3cdfb37c41106e6d0848433ab3ab8c12da2160dc4a89593998f40d3447a026e1b294e989c902352f01e941d68 SHA512 58ffc1ed365f14cd03dce76ce98a6ef54d52bb4b4fa5d6906e64cbb8e81045e2ed980815760d5a25b95883c01ec081bfc8a21def2b43f9b61964cb50a79b5bfd
|
|
||||||
DIST PhysicsListGuide-4.10.7.pdf 347016 BLAKE2B eaf1ba5fadf80180478715e69074e88377a036f4e69d42dbff50b8c8112ecfe32f6265b7397965432b077c34b4e81d8740f008e03f1445b697702d521b1e6944 SHA512 ca90ccfecd9f1c8a3cc34589359d3d1e5ccd8499a2d747fe8735a776b3dd7815e6090d01e42beca2c61c330bc21e34ea0948e8e62cea7ed1e59f61fbad102799
|
DIST PhysicsListGuide-4.10.7.pdf 347016 BLAKE2B eaf1ba5fadf80180478715e69074e88377a036f4e69d42dbff50b8c8112ecfe32f6265b7397965432b077c34b4e81d8740f008e03f1445b697702d521b1e6944 SHA512 ca90ccfecd9f1c8a3cc34589359d3d1e5ccd8499a2d747fe8735a776b3dd7815e6090d01e42beca2c61c330bc21e34ea0948e8e62cea7ed1e59f61fbad102799
|
||||||
DIST PhysicsReferenceManual-4.10.6c.pdf 19489188 BLAKE2B 4323a460a62a9cb7a1bf575489ab02f15bb96dfe017a19d71e15f6d3a06ed8355246c2d5f362601ca5dff9cfad1e0032a85cc8aac88e150dca36308925016efe SHA512 7e42749e578809e89ed589498e18e15fa2a62cac61668e628c77af093a85454d79a5738f4ca034c73a2fb7c67afb9a563e9ffc16a20d85fdbab9f57b6bda4d55
|
|
||||||
DIST PhysicsReferenceManual-4.10.7.pdf 19522499 BLAKE2B 9d386c81910ac695c172c2c692ce5b8d6c4b9e7213f07851ddbbad43b299da5788d1027238a25d00fbcae47091c5194d43fd6b8abe0d6385376c4cd98c6f73a2 SHA512 269ddc752a11c8257e9fe042dcc0a115a1bdeb5f312dd16378df6db751477f36758189894a0f07a6303f8fef9a26cff05e99aa691fb83e17c8db3a1de674a8ae
|
DIST PhysicsReferenceManual-4.10.7.pdf 19522499 BLAKE2B 9d386c81910ac695c172c2c692ce5b8d6c4b9e7213f07851ddbbad43b299da5788d1027238a25d00fbcae47091c5194d43fd6b8abe0d6385376c4cd98c6f73a2 SHA512 269ddc752a11c8257e9fe042dcc0a115a1bdeb5f312dd16378df6db751477f36758189894a0f07a6303f8fef9a26cff05e99aa691fb83e17c8db3a1de674a8ae
|
||||||
|
@ -1,40 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
MY_PV=V$(ver_cut 2-3)
|
|
||||||
|
|
||||||
DESCRIPTION="User documentation for Geant4 physics simulation toolkit"
|
|
||||||
HOMEPAGE="https://geant4.web.cern.ch/support/user_documentation"
|
|
||||||
SRC_DOC="https://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides"
|
|
||||||
SRC_URI="
|
|
||||||
${SRC_DOC}/FAQ/BackupVersions/${MY_PV}/fo/BookFAQ.pdf
|
|
||||||
-> BookFAQ-${PV}.pdf
|
|
||||||
${SRC_DOC}/ForApplicationDeveloper/BackupVersions/${MY_PV}/fo/BookForApplicationDevelopers.pdf
|
|
||||||
-> BookForApplicationDevelopers-${PV}.pdf
|
|
||||||
${SRC_DOC}/ForToolkitDeveloper/BackupVersions/${MY_PV}/fo/BookForToolkitDevelopers.pdf
|
|
||||||
-> BookForToolkitDevelopers-${PV}.pdf
|
|
||||||
${SRC_DOC}/InstallationGuide/BackupVersions/${MY_PV}/fo/Geant4InstallationGuide.pdf
|
|
||||||
-> Geant4InstallationGuide-${PV}.pdf
|
|
||||||
${SRC_DOC}/IntroductionToGeant4/BackupVersions/${MY_PV}/fo/IntroductionToGeant4.pdf
|
|
||||||
-> IntroductionToGeant4-${PV}.pdf
|
|
||||||
${SRC_DOC}/PhysicsListGuide/BackupVersions/${MY_PV}/fo/PhysicsListGuide.pdf
|
|
||||||
-> PhysicsListGuide-${PV}.pdf
|
|
||||||
${SRC_DOC}/PhysicsReferenceManual/BackupVersions/${MY_PV}/fo/PhysicsReferenceManual.pdf
|
|
||||||
-> PhysicsReferenceManual-${PV}.pdf
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="geant4"
|
|
||||||
SLOT="4"
|
|
||||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
S="${DISTDIR}"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local doc
|
|
||||||
for doc in *.pdf; do
|
|
||||||
newdoc ${doc} ${doc/-${PV}};
|
|
||||||
done
|
|
||||||
}
|
|
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
DIST amyedit-1.0.tar.bz2 297769 BLAKE2B 9b3640db7f56bc6e5481b46f760e682cedc860e9439a55edcd45b9f1ec0a8dbead3f8f1075c2613da9842a590b56375fde8b3d36c98c813d400960a4d98fdbda SHA512 dce101c5d356cd194703798002c29772b7b7339a97f683ba7459e983988f26722f800a2c36a0c36bdea70a35c8398bc55b5215b4c30779ca22b5f25bbfedbe09
|
|
@ -1,33 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit autotools epatch flag-o-matic
|
|
||||||
|
|
||||||
DESCRIPTION=" AmyEdit is a LaTeX editor"
|
|
||||||
HOMEPAGE="http://amyedit.sf.net"
|
|
||||||
SRC_URI="mirror://sourceforge/amyedit/${P}.tar.bz2"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
RDEPEND=">=dev-cpp/gtkmm-2.6:2.4
|
|
||||||
>=dev-cpp/glibmm-2.14:2
|
|
||||||
>=dev-libs/libsigc++-2.2:2
|
|
||||||
x11-libs/gtksourceview:2.0
|
|
||||||
dev-cpp/gtksourceviewmm:2.0
|
|
||||||
app-text/aspell"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-util/intltool
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}/${P}-keyfile.patch"
|
|
||||||
epatch "${FILESDIR}/${P}-signal.patch"
|
|
||||||
epatch "${FILESDIR}/${P}-gcc45.patch"
|
|
||||||
epatch "${FILESDIR}/${P}-sourceviewmm2.patch"
|
|
||||||
rm -rf "${S}/src/gtksourceviewmm" || die
|
|
||||||
append-cxxflags -std=c++11
|
|
||||||
mv configure.in configure.ac || die
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
@ -1,16 +0,0 @@
|
|||||||
Fix build with gcc 4.5
|
|
||||||
https://bugs.gentoo.org/show_bug.cgi?id=321293
|
|
||||||
|
|
||||||
Index: amyedit-1.0/src/Preferences.cc
|
|
||||||
===================================================================
|
|
||||||
--- amyedit-1.0.orig/src/Preferences.cc
|
|
||||||
+++ amyedit-1.0/src/Preferences.cc
|
|
||||||
@@ -211,7 +211,7 @@ int Preferences::run()
|
|
||||||
}
|
|
||||||
|
|
||||||
void Preferences::edit_latex_commands(){
|
|
||||||
- EditLatexCommands::EditLatexCommands dialog(this);
|
|
||||||
+ EditLatexCommands dialog(this);
|
|
||||||
dialog.run();
|
|
||||||
Amy::populate_text_list_model_from_list(previewoptionslist->get_model(), PrefStruct::instance()->get_keys("Commands"), true);
|
|
||||||
previewoptionslist->select(PrefStruct::instance()->get<Glib::ustring>("General", "preview_combo"));
|
|
@ -1,62 +0,0 @@
|
|||||||
diff -ur amyedit-1.0/src/main.cc amyedit-1.0.new/src/main.cc
|
|
||||||
--- amyedit-1.0/src/main.cc 2006-03-14 06:08:32.000000000 +0700
|
|
||||||
+++ amyedit-1.0.new/src/main.cc 2008-01-07 20:45:39.000000000 +0700
|
|
||||||
@@ -54,7 +54,6 @@
|
|
||||||
|
|
||||||
#include "AmyEdit.hh"
|
|
||||||
#include "gtksourceviewmm/init.hh"
|
|
||||||
-#include "gtkmm_extra/keyfile.h"
|
|
||||||
#include "Utils.hh"
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
@@ -65,7 +64,6 @@
|
|
||||||
|
|
||||||
Gtk::Main m(&argc, &argv);
|
|
||||||
Gtk::SourceViewmm_init();
|
|
||||||
- Glib::keyfile_init();
|
|
||||||
|
|
||||||
/* TODO This should probably be removed and created on demand */
|
|
||||||
|
|
||||||
Only in amyedit-1.0.new/src: main.o
|
|
||||||
Only in amyedit-1.0.new/src: Makefile
|
|
||||||
diff -ur amyedit-1.0/src/Makefile.am amyedit-1.0.new/src/Makefile.am
|
|
||||||
--- amyedit-1.0/src/Makefile.am 2006-03-08 05:44:53.000000000 +0700
|
|
||||||
+++ amyedit-1.0.new/src/Makefile.am 2008-01-07 20:41:46.000000000 +0700
|
|
||||||
@@ -30,8 +30,7 @@
|
|
||||||
gtksourceviewmm/sourcelanguage.cpp \
|
|
||||||
gtksourceviewmm/sourcelanguagesmanager.cpp \
|
|
||||||
gtksourceviewmm/sourceview.cpp \
|
|
||||||
- gtksourceviewmm/init.cc \
|
|
||||||
- gtkmm_extra/keyfile.cc
|
|
||||||
+ gtksourceviewmm/init.cc
|
|
||||||
|
|
||||||
headers = \
|
|
||||||
AboutDialog.hh \
|
|
||||||
@@ -54,15 +53,13 @@
|
|
||||||
gtksourceviewmm/sourcelanguage.h \
|
|
||||||
gtksourceviewmm/sourcelanguagesmanager.h \
|
|
||||||
gtksourceviewmm/sourceview.h \
|
|
||||||
- gtksourceviewmm/init.hh \
|
|
||||||
- gtkmm_extra/keyfile.h
|
|
||||||
+ gtksourceviewmm/init.hh
|
|
||||||
|
|
||||||
privateheaders= \
|
|
||||||
gtksourceviewmm/private/sourcebuffer_p.h \
|
|
||||||
gtksourceviewmm/private/sourcelanguage_p.h \
|
|
||||||
gtksourceviewmm/private/sourcelanguagesmanager_p.h \
|
|
||||||
gtksourceviewmm/private/sourceview_p.h \
|
|
||||||
- gtkmm_extra/private/keyfile_p.h \
|
|
||||||
Utils_p.hh
|
|
||||||
|
|
||||||
if PRECOMPILE_HEADERS
|
|
||||||
diff -ur amyedit-1.0/src/PrefStruct.hh amyedit-1.0.new/src/PrefStruct.hh
|
|
||||||
--- amyedit-1.0/src/PrefStruct.hh 2006-03-09 06:54:41.000000000 +0700
|
|
||||||
+++ amyedit-1.0.new/src/PrefStruct.hh 2008-01-07 20:46:32.000000000 +0700
|
|
||||||
@@ -24,7 +24,6 @@
|
|
||||||
|
|
||||||
#include "Preferences.hh"
|
|
||||||
#include <glibmm/ustring.h>
|
|
||||||
-#include <gtkmm_extra/keyfile.h>
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
class PrefStruct
|
|
@ -1,86 +0,0 @@
|
|||||||
diff -Naur amyeditbroken/src/AmyEdit.cc amyedit-1.0/src/AmyEdit.cc
|
|
||||||
--- amyeditbroken/src/AmyEdit.cc 2006-03-13 22:13:08.000000000 +0100
|
|
||||||
+++ amyedit-1.0/src/AmyEdit.cc 2008-07-12 05:07:43.965608312 +0200
|
|
||||||
@@ -65,9 +65,9 @@
|
|
||||||
|
|
||||||
/* My Signals */
|
|
||||||
// signals when there is a file available
|
|
||||||
-SigC::Signal1<void,bool> signal_file_open;
|
|
||||||
+sigc::signal1<void,bool> signal_file_open;
|
|
||||||
// signals an update to preferences
|
|
||||||
-SigC::Signal0<void> signal_preferences_update;
|
|
||||||
+sigc::signal0<void> signal_preferences_update;
|
|
||||||
/**************/
|
|
||||||
|
|
||||||
AmyEdit* AmyEdit::smInstance=NULL;
|
|
||||||
diff -Naur amyeditbroken/src/EditTabs.cc amyedit-1.0/src/EditTabs.cc
|
|
||||||
--- amyeditbroken/src/EditTabs.cc 2006-03-13 22:25:53.000000000 +0100
|
|
||||||
+++ amyedit-1.0/src/EditTabs.cc 2008-07-12 05:08:41.022094749 +0200
|
|
||||||
@@ -76,7 +76,7 @@
|
|
||||||
set_tab_pos(Gtk::POS_TOP);
|
|
||||||
set_scrollable(true);
|
|
||||||
|
|
||||||
- extern SigC::Signal0<void> signal_preferences_update;
|
|
||||||
+ extern sigc::signal0<void> signal_preferences_update;
|
|
||||||
|
|
||||||
signal_switch_page().connect(sigc::mem_fun(*this, &EditTabs::on_switching_page));
|
|
||||||
signal_preferences_update.connect(sigc::mem_fun(*this, &EditTabs::on_preferences_update));
|
|
||||||
@@ -414,7 +414,7 @@
|
|
||||||
|
|
||||||
bool EditTabs::CloseTab(int tab)
|
|
||||||
{
|
|
||||||
- extern SigC::Signal1<void,bool> signal_file_open;
|
|
||||||
+ extern sigc::signal1<void,bool> signal_file_open;
|
|
||||||
|
|
||||||
if (tab<0)
|
|
||||||
tab=get_current_page();
|
|
||||||
@@ -686,8 +686,8 @@
|
|
||||||
|
|
||||||
void EditTabs::on_switching_page(GtkNotebookPage *page, guint number)
|
|
||||||
{
|
|
||||||
- extern SigC::Signal1<void, int> signal_line_set;
|
|
||||||
- extern SigC::Signal1<void, bool> signal_file_open;
|
|
||||||
+ extern sigc::signal1<void, int> signal_line_set;
|
|
||||||
+ extern sigc::signal1<void, bool> signal_file_open;
|
|
||||||
Page *curtab = get_current_tab();
|
|
||||||
|
|
||||||
if (curtab)
|
|
||||||
@@ -735,7 +735,7 @@
|
|
||||||
|
|
||||||
on_preferences_update();
|
|
||||||
|
|
||||||
- extern SigC::Signal0<void> signal_preferences_update;
|
|
||||||
+ extern sigc::signal0<void> signal_preferences_update;
|
|
||||||
get_buffer()->signal_modified_changed().connect(sigc::mem_fun(*this, &EditTabs::Page::on_modified_changed));
|
|
||||||
get_buffer()->signal_changed().connect(sigc::mem_fun(*this, &EditTabs::Page::on_changed));
|
|
||||||
get_buffer()->signal_mark_set().connect(sigc::mem_fun(*this, &EditTabs::Page::on_mark_changed));
|
|
||||||
@@ -815,7 +815,7 @@
|
|
||||||
|
|
||||||
void EditTabs::Page::on_changed()
|
|
||||||
{
|
|
||||||
- extern SigC::Signal1<void, int> signal_line_set;
|
|
||||||
+ extern sigc::signal1<void, int> signal_line_set;
|
|
||||||
signal_line_set(get_buffer()->get_insert()->get_iter().get_line());
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -823,7 +823,7 @@
|
|
||||||
void EditTabs::Page::on_mark_changed(Gtk::SourceBuffer::iterator iter, Glib::RefPtr<Gtk::SourceBuffer::Mark> mark){
|
|
||||||
if (mark->get_name()=="insert")
|
|
||||||
{
|
|
||||||
- extern SigC::Signal1<void, int> signal_line_set;
|
|
||||||
+ extern sigc::signal1<void, int> signal_line_set;
|
|
||||||
|
|
||||||
signal_line_set(get_buffer()->get_insert()->get_iter().get_line());
|
|
||||||
|
|
||||||
diff -Naur amyeditbroken/src/StatusBar.cc amyedit-1.0/src/StatusBar.cc
|
|
||||||
--- amyeditbroken/src/StatusBar.cc 2005-12-17 15:56:47.000000000 +0100
|
|
||||||
+++ amyedit-1.0/src/StatusBar.cc 2008-07-12 05:09:14.020602906 +0200
|
|
||||||
@@ -50,7 +50,7 @@
|
|
||||||
#include "StatusBar.hh"
|
|
||||||
#include "Utils.hh"
|
|
||||||
|
|
||||||
-SigC::Signal1<void, int> signal_line_set;
|
|
||||||
+sigc::signal1<void, int> signal_line_set;
|
|
||||||
|
|
||||||
StatusBar::StatusBar()
|
|
||||||
{
|
|
@ -1,331 +0,0 @@
|
|||||||
Index: amyedit-1.0/configure.in
|
|
||||||
===================================================================
|
|
||||||
--- amyedit-1.0.orig/configure.in
|
|
||||||
+++ amyedit-1.0/configure.in
|
|
||||||
@@ -36,7 +36,7 @@ AC_ARG_ENABLE(precompiled-headers,
|
|
||||||
AM_CONDITIONAL(PRECOMPILE_HEADERS, test x$enable_precompiled_headers = xyes)
|
|
||||||
|
|
||||||
AC_CHECK_LIB([aspell], [new_aspell_config])
|
|
||||||
-PKG_CHECK_MODULES(AMYEDIT, gtkmm-2.4 >= 2.6 gtksourceview-1.0)
|
|
||||||
+PKG_CHECK_MODULES(AMYEDIT, gtkmm-2.4 >= 2.6 gtksourceview-2.0 gtksourceviewmm-2.0)
|
|
||||||
AC_SUBST(AMYEDIT_CFLAGS)
|
|
||||||
AC_SUBST(AMYEDIT_LIBS)
|
|
||||||
|
|
||||||
Index: amyedit-1.0/src/Makefile.am
|
|
||||||
===================================================================
|
|
||||||
--- amyedit-1.0.orig/src/Makefile.am
|
|
||||||
+++ amyedit-1.0/src/Makefile.am
|
|
||||||
@@ -25,12 +25,7 @@ sources = \
|
|
||||||
TextListViewComboBox.cc \
|
|
||||||
TextListViewListBox.cc \
|
|
||||||
Utils.cc \
|
|
||||||
- main.cc \
|
|
||||||
- gtksourceviewmm/sourcebuffer.cpp \
|
|
||||||
- gtksourceviewmm/sourcelanguage.cpp \
|
|
||||||
- gtksourceviewmm/sourcelanguagesmanager.cpp \
|
|
||||||
- gtksourceviewmm/sourceview.cpp \
|
|
||||||
- gtksourceviewmm/init.cc
|
|
||||||
+ main.cc
|
|
||||||
|
|
||||||
headers = \
|
|
||||||
AboutDialog.hh \
|
|
||||||
@@ -48,18 +43,9 @@ headers = \
|
|
||||||
TextListModel.hh \
|
|
||||||
TextListViewComboBox.hh \
|
|
||||||
TextListViewListBox.hh \
|
|
||||||
- Utils.hh \
|
|
||||||
- gtksourceviewmm/sourcebuffer.h \
|
|
||||||
- gtksourceviewmm/sourcelanguage.h \
|
|
||||||
- gtksourceviewmm/sourcelanguagesmanager.h \
|
|
||||||
- gtksourceviewmm/sourceview.h \
|
|
||||||
- gtksourceviewmm/init.hh
|
|
||||||
+ Utils.hh
|
|
||||||
|
|
||||||
privateheaders= \
|
|
||||||
- gtksourceviewmm/private/sourcebuffer_p.h \
|
|
||||||
- gtksourceviewmm/private/sourcelanguage_p.h \
|
|
||||||
- gtksourceviewmm/private/sourcelanguagesmanager_p.h \
|
|
||||||
- gtksourceviewmm/private/sourceview_p.h \
|
|
||||||
Utils_p.hh
|
|
||||||
|
|
||||||
if PRECOMPILE_HEADERS
|
|
||||||
Index: amyedit-1.0/src/EditTabs.cc
|
|
||||||
===================================================================
|
|
||||||
--- amyedit-1.0.orig/src/EditTabs.cc
|
|
||||||
+++ amyedit-1.0/src/EditTabs.cc
|
|
||||||
@@ -57,8 +57,8 @@ Foundation, Inc., 59 Temple Place, Suite
|
|
||||||
|
|
||||||
#include <gtksourceview/gtksourcebuffer.h>
|
|
||||||
#include <gtksourceviewmm/sourcelanguage.h>
|
|
||||||
-#include <gtksourceviewmm/sourcelanguagesmanager.h>
|
|
||||||
-#include <gtksourceview/gtksourcelanguagesmanager.h>
|
|
||||||
+#include <gtksourceviewmm/sourcelanguagemanager.h>
|
|
||||||
+#include <gtksourceview/gtksourcelanguagemanager.h>
|
|
||||||
#include <gtksourceview/gtksourceiter.h>
|
|
||||||
|
|
||||||
#include <gtkmm/stock.h>
|
|
||||||
@@ -161,7 +161,7 @@ void EditTabs::OpenTab(Glib::ustring fil
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
- Glib::RefPtr<Gtk::SourceBuffer> buffer = is_buffer_open(filename);
|
|
||||||
+ Glib::RefPtr<gtksourceview::SourceBuffer> buffer = is_buffer_open(filename);
|
|
||||||
Page *newpage;
|
|
||||||
|
|
||||||
if (buffer){
|
|
||||||
@@ -553,16 +553,15 @@ Glib::ustring EditTabs::GetUntitledTabNa
|
|
||||||
|
|
||||||
void EditTabs::Undo()
|
|
||||||
{
|
|
||||||
- Glib::RefPtr<Gtk::SourceBuffer> buffer = get_current_view()->get_buffer();
|
|
||||||
+ Glib::RefPtr<gtksourceview::SourceBuffer> buffer = Glib::RefPtr<gtksourceview::SourceBuffer>::cast_static(get_current_view()->get_buffer());
|
|
||||||
if (buffer->can_undo ())
|
|
||||||
buffer->undo ();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
-
|
|
||||||
void EditTabs::Redo()
|
|
||||||
{
|
|
||||||
- Glib::RefPtr<Gtk::SourceBuffer> buffer = get_current_view()->get_buffer();
|
|
||||||
+ Glib::RefPtr<gtksourceview::SourceBuffer> buffer = Glib::RefPtr<gtksourceview::SourceBuffer>::cast_static(get_current_view()->get_buffer());
|
|
||||||
if (buffer->can_redo ())
|
|
||||||
buffer->redo ();
|
|
||||||
|
|
||||||
@@ -625,10 +624,10 @@ void EditTabs::FindNext()
|
|
||||||
Page *curtab = get_current_tab();
|
|
||||||
if (curtab)
|
|
||||||
{
|
|
||||||
- Glib::RefPtr<Gtk::SourceBuffer::Mark> cursor=curtab->get_buffer()->get_insert();
|
|
||||||
- Gtk::SourceBuffer::iterator start, end;
|
|
||||||
+ Glib::RefPtr<gtksourceview::SourceBuffer::Mark> cursor=curtab->get_buffer()->get_insert();
|
|
||||||
+ gtksourceview::SourceBuffer::iterator start, end;
|
|
||||||
GtkTextIter climit;
|
|
||||||
- Gtk::SourceBuffer::iterator limit(&climit);
|
|
||||||
+ gtksourceview::SourceBuffer::iterator limit(&climit);
|
|
||||||
FindDialog fdialog;
|
|
||||||
int result;
|
|
||||||
do
|
|
||||||
@@ -648,7 +647,7 @@ void EditTabs::FindNext()
|
|
||||||
if(gtk_source_iter_forward_search(cursor->get_iter().gobj(),fdialog.get_text().c_str(),fdialog.get_flags(),start.gobj(),end.gobj(),0))
|
|
||||||
{
|
|
||||||
curtab->get_buffer()->select_range(end, start);
|
|
||||||
- (static_cast<Gtk::SourceView*>(curtab->get_child()))->scroll_to(end);
|
|
||||||
+ (static_cast<gtksourceview::SourceView*>(curtab->get_child()))->scroll_to(end);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
@@ -701,7 +700,7 @@ void EditTabs::on_switching_page(GtkNote
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
-Glib::RefPtr <Gtk::SourceBuffer> EditTabs::is_buffer_open(Glib::ustring filename){
|
|
||||||
+Glib::RefPtr <gtksourceview::SourceBuffer> EditTabs::is_buffer_open(Glib::ustring filename){
|
|
||||||
int p = get_n_pages();
|
|
||||||
|
|
||||||
for (int x=0;x<p;x++){
|
|
||||||
@@ -711,19 +710,19 @@ Glib::RefPtr <Gtk::SourceBuffer> EditTab
|
|
||||||
return curtab->get_buffer();
|
|
||||||
}
|
|
||||||
|
|
||||||
- return Glib::RefPtr <Gtk::SourceBuffer> (NULL);
|
|
||||||
+ return Glib::RefPtr <gtksourceview::SourceBuffer> (NULL);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
-EditTabs::Page::Page(EditTabs *parent, Glib::RefPtr<Gtk::SourceBuffer> buffer){
|
|
||||||
+EditTabs::Page::Page(EditTabs *parent, Glib::RefPtr<gtksourceview::SourceBuffer> buffer){
|
|
||||||
|
|
||||||
/* Note to self! CLEAN THIS UP!!!! */
|
|
||||||
|
|
||||||
/* Page is actually a ScrollWindow thing */
|
|
||||||
set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_ALWAYS);
|
|
||||||
|
|
||||||
- Gtk::SourceView *sourceview=Gtk::manage(new Gtk::SourceView());
|
|
||||||
+ gtksourceview::SourceView *sourceview=Gtk::manage(new gtksourceview::SourceView());
|
|
||||||
|
|
||||||
if (buffer)
|
|
||||||
sourceview->set_buffer(buffer);
|
|
||||||
@@ -750,10 +749,10 @@ EditTabs::Page::Page(EditTabs *parent, G
|
|
||||||
* (ie buffer is null) */
|
|
||||||
|
|
||||||
if (!buffer){
|
|
||||||
- Glib::ustring mime_type("text/x-tex");
|
|
||||||
+ Glib::ustring mime_type("latex");
|
|
||||||
|
|
||||||
- Glib::RefPtr<Gtk::SourceLanguagesManager> lm = buffer->get_languages_manager();
|
|
||||||
- Glib::RefPtr<Gtk::SourceLanguage> language = lm->get_language_from_mime_type(mime_type);
|
|
||||||
+ Glib::RefPtr<gtksourceview::SourceLanguageManager> lm = gtksourceview::SourceLanguageManager::create();
|
|
||||||
+ Glib::RefPtr<gtksourceview::SourceLanguage> language = lm->get_language(mime_type);
|
|
||||||
|
|
||||||
|
|
||||||
if (language)
|
|
||||||
@@ -820,7 +819,7 @@ void EditTabs::Page::on_changed()
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
-void EditTabs::Page::on_mark_changed(Gtk::SourceBuffer::iterator iter, Glib::RefPtr<Gtk::SourceBuffer::Mark> mark){
|
|
||||||
+void EditTabs::Page::on_mark_changed(gtksourceview::SourceBuffer::iterator iter, Glib::RefPtr<gtksourceview::SourceBuffer::Mark> mark){
|
|
||||||
if (mark->get_name()=="insert")
|
|
||||||
{
|
|
||||||
extern sigc::signal1<void, int> signal_line_set;
|
|
||||||
@@ -835,14 +834,14 @@ EditTabs *EditTabs::Page::get_parent()
|
|
||||||
return (static_cast<EditTabs*>(Gtk::Widget::get_parent()));
|
|
||||||
}
|
|
||||||
|
|
||||||
-Gtk::SourceView* EditTabs::Page::get_child()
|
|
||||||
+gtksourceview::SourceView* EditTabs::Page::get_child()
|
|
||||||
{
|
|
||||||
- return (static_cast<Gtk::SourceView*>(Gtk::Bin::get_child()));
|
|
||||||
+ return (static_cast<gtksourceview::SourceView*>(Gtk::Bin::get_child()));
|
|
||||||
}
|
|
||||||
|
|
||||||
-Glib::RefPtr<Gtk::SourceBuffer> EditTabs::Page::get_buffer()
|
|
||||||
+Glib::RefPtr<gtksourceview::SourceBuffer> EditTabs::Page::get_buffer()
|
|
||||||
{
|
|
||||||
- return (get_child()->get_buffer());
|
|
||||||
+ return Glib::RefPtr<gtksourceview::SourceBuffer>::cast_static(get_child()->get_buffer());
|
|
||||||
}
|
|
||||||
|
|
||||||
EditTabs::Page *EditTabs::get_current_tab()
|
|
||||||
@@ -850,9 +849,9 @@ EditTabs::Page *EditTabs::get_current_ta
|
|
||||||
return (static_cast<EditTabs::Page*>(get_nth_page(get_current_page())));
|
|
||||||
}
|
|
||||||
|
|
||||||
-Gtk::SourceView *EditTabs::get_current_view()
|
|
||||||
+gtksourceview::SourceView *EditTabs::get_current_view()
|
|
||||||
{
|
|
||||||
- return (static_cast<Gtk::SourceView*>(get_current_tab()->get_child()));
|
|
||||||
+ return (static_cast<gtksourceview::SourceView*>(get_current_tab()->get_child()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@@ -861,8 +860,8 @@ void EditTabs::Page::on_preferences_upda
|
|
||||||
// For things that need to happen for all pages
|
|
||||||
PrefStruct *prefs = PrefStruct::instance();
|
|
||||||
|
|
||||||
- get_child()->set_tabs_width(prefs->get<int>("General", "tab_size"));
|
|
||||||
- get_buffer()->set_highlight(prefs->get<bool>("General", "syntax_highlighting"));
|
|
||||||
+ get_child()->set_tab_width(prefs->get<int>("General", "tab_size"));
|
|
||||||
+ get_buffer()->set_highlight_syntax(prefs->get<bool>("General", "syntax_highlighting"));
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
Index: amyedit-1.0/src/EditTabs.hh
|
|
||||||
===================================================================
|
|
||||||
--- amyedit-1.0.orig/src/EditTabs.hh
|
|
||||||
+++ amyedit-1.0/src/EditTabs.hh
|
|
||||||
@@ -63,11 +63,11 @@ class EditTabs: public Gtk::Notebook
|
|
||||||
class Page:public Gtk::ScrolledWindow
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
- Page(EditTabs *parent, Glib::RefPtr<Gtk::SourceBuffer> buffer=Glib::RefPtr<Gtk::SourceBuffer>());
|
|
||||||
+ Page(EditTabs *parent, Glib::RefPtr<gtksourceview::SourceBuffer> buffer=Glib::RefPtr<gtksourceview::SourceBuffer>());
|
|
||||||
|
|
||||||
EditTabs *get_parent();
|
|
||||||
- Gtk::SourceView *get_child();
|
|
||||||
- Glib::RefPtr<Gtk::SourceBuffer> get_buffer();
|
|
||||||
+ gtksourceview::SourceView *get_child();
|
|
||||||
+ Glib::RefPtr<gtksourceview::SourceBuffer> get_buffer();
|
|
||||||
|
|
||||||
Glib::ustring filename;
|
|
||||||
Gtk::Label *tablabel;
|
|
||||||
@@ -77,8 +77,8 @@ class EditTabs: public Gtk::Notebook
|
|
||||||
void on_close_me();
|
|
||||||
void on_modified_changed();
|
|
||||||
void on_changed();
|
|
||||||
- void on_mark_changed(Gtk::SourceBuffer::iterator iter,
|
|
||||||
- Glib::RefPtr<Gtk::SourceBuffer::Mark> mark);
|
|
||||||
+ void on_mark_changed(gtksourceview::SourceBuffer::iterator iter,
|
|
||||||
+ Glib::RefPtr<gtksourceview::SourceBuffer::Mark> mark);
|
|
||||||
void on_preferences_update();
|
|
||||||
|
|
||||||
};
|
|
||||||
@@ -89,13 +89,13 @@ class EditTabs: public Gtk::Notebook
|
|
||||||
Glib::ustring GetRootFileName();
|
|
||||||
Glib::ustring TabNameFromFile(Glib::ustring start);
|
|
||||||
Glib::ustring GetUntitledTabName(Glib::ustring start);
|
|
||||||
- Glib::RefPtr<Gtk::SourceBuffer> is_buffer_open(Glib::ustring filename);
|
|
||||||
+ Glib::RefPtr<gtksourceview::SourceBuffer> is_buffer_open(Glib::ustring filename);
|
|
||||||
|
|
||||||
void on_switching_page(GtkNotebookPage *page, guint number);
|
|
||||||
public:
|
|
||||||
Page *get_current_tab();
|
|
||||||
private:
|
|
||||||
- Gtk::SourceView *get_current_view();
|
|
||||||
+ gtksourceview::SourceView *get_current_view();
|
|
||||||
|
|
||||||
void on_preferences_update();
|
|
||||||
|
|
||||||
Index: amyedit-1.0/src/SpellDialog.cc
|
|
||||||
===================================================================
|
|
||||||
--- amyedit-1.0.orig/src/SpellDialog.cc
|
|
||||||
+++ amyedit-1.0/src/SpellDialog.cc
|
|
||||||
@@ -267,9 +267,9 @@ int SpellDialog::checkDocument(){
|
|
||||||
aspell_document_checker_reset(checker);
|
|
||||||
|
|
||||||
view = getCurrentPage()->get_child();
|
|
||||||
- buffer = view->get_buffer();
|
|
||||||
+ buffer = Glib::RefPtr<gtksourceview::SourceBuffer>::cast_static(view->get_buffer());
|
|
||||||
|
|
||||||
- buffer->set_check_brackets(false);
|
|
||||||
+ buffer->set_highlight_matching_brackets(false);
|
|
||||||
|
|
||||||
/* areastart has left gravity, arearight has right gravity, as inserts only
|
|
||||||
* occur inside them, they should always mark the beginning and ends of the
|
|
||||||
@@ -315,7 +315,7 @@ int SpellDialog::checkDocument(){
|
|
||||||
buffer->delete_mark(areastart);
|
|
||||||
buffer->delete_mark(areaend);
|
|
||||||
|
|
||||||
- buffer->set_check_brackets(true);
|
|
||||||
+ buffer->set_highlight_matching_brackets(true);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -370,7 +370,7 @@ bool SpellDialog::changeWord(AspellToken
|
|
||||||
/* Close Clicked */
|
|
||||||
|
|
||||||
buffer->place_cursor(wordend);
|
|
||||||
- buffer->set_check_brackets();
|
|
||||||
+ buffer->set_highlight_matching_brackets();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
Index: amyedit-1.0/src/SpellDialog.hh
|
|
||||||
===================================================================
|
|
||||||
--- amyedit-1.0.orig/src/SpellDialog.hh
|
|
||||||
+++ amyedit-1.0/src/SpellDialog.hh
|
|
||||||
@@ -49,8 +49,8 @@ class SpellDialog : public Gtk::Dialog,
|
|
||||||
|
|
||||||
void on_preferences_update();
|
|
||||||
|
|
||||||
- Gtk::SourceView* view;
|
|
||||||
- Glib::RefPtr<Gtk::SourceBuffer> buffer;
|
|
||||||
+ gtksourceview::SourceView* view;
|
|
||||||
+ Glib::RefPtr<gtksourceview::SourceBuffer> buffer;
|
|
||||||
Gtk::Entry misslabel;
|
|
||||||
Gtk::Entry replaceentry;
|
|
||||||
TextListViewListBox listbox;
|
|
||||||
Index: amyedit-1.0/src/main.cc
|
|
||||||
===================================================================
|
|
||||||
--- amyedit-1.0.orig/src/main.cc
|
|
||||||
+++ amyedit-1.0/src/main.cc
|
|
||||||
@@ -53,7 +53,7 @@
|
|
||||||
#include <fstream>
|
|
||||||
|
|
||||||
#include "AmyEdit.hh"
|
|
||||||
-#include "gtksourceviewmm/init.hh"
|
|
||||||
+#include "gtksourceviewmm/init.h"
|
|
||||||
#include "Utils.hh"
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
@@ -63,7 +63,7 @@ int main(int argc, char **argv)
|
|
||||||
textdomain (GETTEXT_PACKAGE);
|
|
||||||
|
|
||||||
Gtk::Main m(&argc, &argv);
|
|
||||||
- Gtk::SourceViewmm_init();
|
|
||||||
+ gtksourceview::init();
|
|
||||||
|
|
||||||
/* TODO This should probably be removed and created on demand */
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>tex@gentoo.org</email>
|
|
||||||
<name>Gentoo TeX Project</name>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="sourceforge">amyedit</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
DIST gcstar-1.7.1.tar.gz 4514370 BLAKE2B 001768d7e2b4d01c97b5a34d078979ce909def1e516166aa305dd03e343bd0188bb54c7adfeb84578f063e860fa78f8faf426f64938eba0688cf5c86feebee4a SHA512 2a37717c6e9bd83758bef99e810ef3321f5558bd5714aa2a332522262182daade9e623f51a256594f74094da3e680ba35d9650d0bc0451226bf41e98fdd57802
|
|
@ -1,26 +0,0 @@
|
|||||||
Install man files in /usr/share/man, not /usr/man
|
|
||||||
|
|
||||||
--- gcstar/install 2008-03-04 22:56:00.000000000 -0500
|
|
||||||
+++ gcstar-1.4.0/install 2008-06-06 18:16:17.819918815 -0400
|
|
||||||
@@ -107,7 +107,7 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
unlink $baseDir.'/bin/'.$binName;
|
|
||||||
- unlink $baseDir.'/man/man1/'.$binName.'.1.gz';
|
|
||||||
+ unlink $baseDir.'/share/man/man1/'.$binName.'.1.gz';
|
|
||||||
|
|
||||||
# remove menu and mime items
|
|
||||||
|
|
||||||
@@ -187,9 +187,9 @@
|
|
||||||
mkpath $baseDir.'/bin';
|
|
||||||
copy 'bin/gcstar', $baseDir.'/bin/'.$binName;
|
|
||||||
|
|
||||||
- verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/man/man1';
|
|
||||||
- mkpath $baseDir.'/man/man1';
|
|
||||||
- my $manPage = "$baseDir/man/man1/$binName.1";
|
|
||||||
+ verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/share/man/man1';
|
|
||||||
+ mkpath $baseDir.'/share/man/man1';
|
|
||||||
+ my $manPage = "$baseDir/share/man/man1/$binName.1";
|
|
||||||
copy 'man/gcstar.1', $manPage;
|
|
||||||
`gzip -f $manPage 2>&1 >/dev/null`;
|
|
||||||
|
|
@ -1,67 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="6"
|
|
||||||
|
|
||||||
inherit desktop xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Manage your collections of movies, games, books, music and more"
|
|
||||||
HOMEPAGE="http://www.gcstar.org/"
|
|
||||||
# Gna permanently shut down in May 2017
|
|
||||||
# Original SRC_URI was http://download.gna.org/gcstar/${P}.tar.gz
|
|
||||||
SRC_URI="https://launchpad.net/gcstar/1.7/${PV}/+download/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="cddb mp3 spell stats tellico vorbis"
|
|
||||||
|
|
||||||
RDEPEND="dev-lang/perl
|
|
||||||
dev-perl/Archive-Zip
|
|
||||||
dev-perl/DateTime-Format-Strptime
|
|
||||||
dev-perl/Gtk2
|
|
||||||
dev-perl/HTML-Parser
|
|
||||||
dev-perl/libwww-perl
|
|
||||||
dev-perl/URI
|
|
||||||
dev-perl/XML-Parser
|
|
||||||
dev-perl/XML-Simple
|
|
||||||
virtual/perl-Archive-Tar
|
|
||||||
virtual/perl-Encode
|
|
||||||
virtual/perl-Getopt-Long
|
|
||||||
virtual/perl-File-Path
|
|
||||||
virtual/perl-File-Spec
|
|
||||||
virtual/perl-File-Temp
|
|
||||||
virtual/perl-IO-Compress
|
|
||||||
virtual/perl-libnet
|
|
||||||
virtual/perl-Storable
|
|
||||||
virtual/perl-Time-Piece
|
|
||||||
cddb? ( dev-perl/Net-FreeDB )
|
|
||||||
mp3? ( dev-perl/MP3-Info dev-perl/MP3-Tag )
|
|
||||||
spell? ( dev-perl/gtk2-spell )
|
|
||||||
stats? ( dev-perl/Date-Calc
|
|
||||||
dev-perl/GD[png(+),truetype(+)] )
|
|
||||||
tellico? ( virtual/perl-Digest-MD5
|
|
||||||
virtual/perl-MIME-Base64 )
|
|
||||||
vorbis? ( dev-perl/Ogg-Vorbis-Header-PurePerl )"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${PN}-1.4.0-man.patch" )
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Yes, ED *is* needed here. GCstar's install lacks any concept of DESTDIR.
|
|
||||||
./install --prefix="${ED}usr" \
|
|
||||||
--noclean --nomenu || die "install script failed"
|
|
||||||
|
|
||||||
domenu share/applications/gcstar.desktop
|
|
||||||
for size in 16 22 24 32 36 48 64 72 96 128 256
|
|
||||||
do
|
|
||||||
newicon -s "${size}" share/gcstar/icons/gcstar_${size}x${size}.png gcstar.png
|
|
||||||
done
|
|
||||||
newicon -s scalable share/gcstar/icons/gcstar_scalable.svg gcstar.svg
|
|
||||||
insinto /usr/share/mime/packages
|
|
||||||
doins share/applications/gcstar.xml
|
|
||||||
|
|
||||||
dodoc CHANGELOG README README.fr
|
|
||||||
}
|
|
@ -1,19 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<!-- maintainer-needed -->
|
|
||||||
<longdescription lang="en">
|
|
||||||
GCstar is an application for managing your collections. It supports many
|
|
||||||
types of collections, including movies, books, games, comics, stamps,
|
|
||||||
coins, and many more. You can even create your own collection type for
|
|
||||||
whatever unique thing it is that you collect! Detailed information on
|
|
||||||
each item can be automatically retrieved from the internet and you can
|
|
||||||
store additional data, such as the location or who you've lent it to.
|
|
||||||
You may also search and filter your collections by many criteria.
|
|
||||||
</longdescription>
|
|
||||||
<use>
|
|
||||||
<flag name="stats">Enable statistics reporting</flag>
|
|
||||||
<flag name="tellico">Enable support for <pkg>kde-misc/tellico</pkg>
|
|
||||||
files</flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
DIST gnocky-0.0.7.tar.bz2 569945 BLAKE2B 581e79d0126a12d3a24efd8abc4e22e0ac6195ef90143b27aedd2b14b8389b539d90b1e56d5b87bd05dd090df73477d248ef0156d4318f4860153bef69a0c126 SHA512 a4387c68bc7c3e59f122be87b5b68ec7cae9016039fb1f76c8ebfbe421bcf2399ba93419a2d27c61afe937f580dd7e9bff14f4b803bee70aa60c95c7d0f6ad53
|
|
@ -1,23 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
DESCRIPTION="GTK-2 version of gnokii"
|
|
||||||
HOMEPAGE="http://www.gnokii.org/"
|
|
||||||
SRC_URI="http://www.gnokii.org/download/${PN}/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-mobilephone/gnokii
|
|
||||||
dev-libs/glib:2
|
|
||||||
gnome-base/libglade:2.0
|
|
||||||
x11-libs/gtk+:2
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<!-- maintainer-needed -->
|
|
||||||
</pkgmetadata>
|
|
Binary file not shown.
@ -0,0 +1,29 @@
|
|||||||
|
https://bugs.gentoo.org/790176
|
||||||
|
https://github.com/ledger/ledger/issues/2030
|
||||||
|
|
||||||
|
From fa37f595b3c44dc7ac86b29d105ae6417c3e0080 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sam James <sam@gentoo.org>
|
||||||
|
Date: Mon, 14 Jun 2021 12:37:58 +0000
|
||||||
|
Subject: [PATCH] Fix compilation with Boost 1.76
|
||||||
|
--- a/src/expr.cc
|
||||||
|
+++ b/src/expr.cc
|
||||||
|
@@ -35,6 +35,8 @@
|
||||||
|
#include "parser.h"
|
||||||
|
#include "scope.h"
|
||||||
|
|
||||||
|
+#include <boost/smart_ptr/scoped_ptr.hpp>
|
||||||
|
+
|
||||||
|
namespace ledger {
|
||||||
|
|
||||||
|
expr_t::expr_t() : base_type()
|
||||||
|
--- a/src/format.h
|
||||||
|
+++ b/src/format.h
|
||||||
|
@@ -45,6 +45,8 @@
|
||||||
|
#include "expr.h"
|
||||||
|
#include "unistring.h"
|
||||||
|
|
||||||
|
+#include <boost/smart_ptr/scoped_ptr.hpp>
|
||||||
|
+
|
||||||
|
namespace ledger {
|
||||||
|
|
||||||
|
class unistring;
|
@ -0,0 +1,91 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit rpm
|
||||||
|
|
||||||
|
BASE_PV=$(ver_cut 1-3)
|
||||||
|
MY_PV="${PV/_alpha/.alpha}"
|
||||||
|
MY_PV="${MY_PV/_beta/.beta}"
|
||||||
|
[[ ${PV} == *alpha* || ${PV} == *beta* ]] && PN_DEV="Dev"
|
||||||
|
|
||||||
|
DESCRIPTION="Translations for the Libreoffice suite"
|
||||||
|
HOMEPAGE="https://www.libreoffice.org"
|
||||||
|
BASE_SRC_URI_TESTING="https://download.documentfoundation.org/${PN/-l10n/}/testing/${BASE_PV}/rpm"
|
||||||
|
BASE_SRC_URI_STABLE="https://download.documentfoundation.org/${PN/-l10n/}/stable/${BASE_PV}/rpm"
|
||||||
|
|
||||||
|
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux"
|
||||||
|
IUSE="offlinehelp"
|
||||||
|
|
||||||
|
#
|
||||||
|
# when changing the language lists, please be careful to preserve the spaces (bug 491728)
|
||||||
|
#
|
||||||
|
# "en:en-US" for mapping from Gentoo "en" to upstream "en-US" etc.
|
||||||
|
LANGUAGES_HELP=" am ar ast bg bn-IN bn bo bs ca-valencia ca cs da de dz el en-GB en:en-US en-ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko lo lt lv mk nb ne nl nn om pl pt-BR pt ro ru si sid sk sl sq sv ta tg tr ug uk vi zh-CN zh-TW "
|
||||||
|
LANGUAGES="${LANGUAGES_HELP}af as be br brx ckb cy dgo dsb fa fur fy ga gd gug hsb kab kk kmr-Latn kn kok ks lb mai ml mn mni mr my nr nso oc or pa:pa-IN rw sa:sa-IN sat sd sr-Latn sr ss st sw-TZ szl te th tn ts tt uz ve vec xh zu "
|
||||||
|
|
||||||
|
for lang in ${LANGUAGES_HELP}; do
|
||||||
|
helppack="offlinehelp? ( ${BASE_SRC_URI_STABLE}/x86_64/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86_64/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz )"
|
||||||
|
SRC_URI+=" l10n_${lang%:*}? ( ${helppack} )"
|
||||||
|
done
|
||||||
|
for lang in ${LANGUAGES}; do
|
||||||
|
if [[ ${lang%:*} != en ]]; then
|
||||||
|
langpack="${BASE_SRC_URI_STABLE}/x86_64/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86_64/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz"
|
||||||
|
SRC_URI+=" l10n_${lang%:*}? ( ${langpack} )"
|
||||||
|
fi
|
||||||
|
IUSE+=" l10n_${lang%:*}"
|
||||||
|
done
|
||||||
|
unset lang helppack langpack
|
||||||
|
|
||||||
|
RDEPEND+="app-text/hunspell"
|
||||||
|
|
||||||
|
RESTRICT="strip"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
local lang dir rpmdir
|
||||||
|
|
||||||
|
# First remove dictionaries, we want to use system ones.
|
||||||
|
find "${S}" -name *dict*.rpm -delete || die "Failed to remove dictionaries"
|
||||||
|
|
||||||
|
for lang in ${LANGUAGES}; do
|
||||||
|
# break away if not enabled
|
||||||
|
use l10n_${lang%:*} || continue
|
||||||
|
|
||||||
|
dir=${lang#*:}
|
||||||
|
|
||||||
|
# for english we provide just helppack, as translation is always there
|
||||||
|
if [[ ${lang%:*} != en ]]; then
|
||||||
|
rpmdir="LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${dir}/RPMS/"
|
||||||
|
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
||||||
|
rpm_unpack ./${rpmdir}/*.rpm
|
||||||
|
fi
|
||||||
|
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then
|
||||||
|
rpmdir="LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${dir}/RPMS/"
|
||||||
|
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
||||||
|
rpm_unpack ./${rpmdir}/*.rpm
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() { :; }
|
||||||
|
src_compile() { :; }
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local dir="${S}"/opt/${PN/-l10n/}$(ver_cut 1-2)/
|
||||||
|
# Condition required for people who do not install anything e.g. no l10n
|
||||||
|
# or just english with no offlinehelp.
|
||||||
|
if [[ -d "${dir}" ]] ; then
|
||||||
|
insinto /usr/$(get_libdir)/${PN/-l10n/}/
|
||||||
|
doins -r "${dir}"/*
|
||||||
|
fi
|
||||||
|
# remove extensions that are in l10n for some weird reason
|
||||||
|
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/ || \
|
||||||
|
die "Failed to remove extensions"
|
||||||
|
}
|
@ -0,0 +1,664 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||||
|
PYTHON_REQ_USE="threads(+),xml"
|
||||||
|
|
||||||
|
MY_PV="${PV/_alpha/.alpha}"
|
||||||
|
MY_PV="${MY_PV/_beta/.beta}"
|
||||||
|
# experimental ; release ; old
|
||||||
|
# Usually the tarballs are moved a lot so this should make everyone happy.
|
||||||
|
DEV_URI="
|
||||||
|
https://dev-builds.libreoffice.org/pre-releases/src
|
||||||
|
https://download.documentfoundation.org/libreoffice/src/${MY_PV:0:5}/
|
||||||
|
https://downloadarchive.documentfoundation.org/libreoffice/old/${MY_PV}/src
|
||||||
|
"
|
||||||
|
ADDONS_URI="https://dev-www.libreoffice.org/src/"
|
||||||
|
|
||||||
|
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
||||||
|
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||||
|
|
||||||
|
[[ ${MY_PV} == *9999* ]] && inherit git-r3
|
||||||
|
inherit autotools bash-completion-r1 check-reqs eapi8-dosym flag-o-matic java-pkg-opt-2 multiprocessing python-single-r1 qmake-utils toolchain-funcs xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="A full office productivity suite"
|
||||||
|
HOMEPAGE="https://www.libreoffice.org"
|
||||||
|
SRC_URI="branding? ( https://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||||
|
[[ -n ${PATCHSET} ]] && SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}"
|
||||||
|
|
||||||
|
# Split modules following git/tarballs; Core MUST be first!
|
||||||
|
# Help is used for the image generator
|
||||||
|
# Only release has the tarballs
|
||||||
|
if [[ ${MY_PV} != *9999* ]]; then
|
||||||
|
for i in ${DEV_URI}; do
|
||||||
|
SRC_URI+=" ${i}/${PN}-${MY_PV}.tar.xz"
|
||||||
|
SRC_URI+=" ${i}/${PN}-help-${MY_PV}.tar.xz"
|
||||||
|
done
|
||||||
|
unset i
|
||||||
|
fi
|
||||||
|
unset DEV_URI
|
||||||
|
|
||||||
|
# Really required addons
|
||||||
|
# These are bundles that can't be removed for now due to huge patchsets.
|
||||||
|
# If you want them gone, patches are welcome.
|
||||||
|
ADDONS_SRC=(
|
||||||
|
# not packaged in Gentoo, https://www.netlib.org/fp/dtoa.c
|
||||||
|
"${ADDONS_URI}/dtoa-20180411.tgz"
|
||||||
|
# not packaged in Gentoo, https://skia.org/
|
||||||
|
"${ADDONS_URI}/skia-m88-59bafeeaa7de9eb753e3778c414e01dcf013dcd8.tar.xz"
|
||||||
|
# QR code generating library for >=libreoffice-6.4, bug #691740
|
||||||
|
"${ADDONS_URI}/QR-Code-generator-1.4.0.tar.gz"
|
||||||
|
"base? (
|
||||||
|
${ADDONS_URI}/commons-logging-1.2-src.tar.gz
|
||||||
|
${ADDONS_URI}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
|
||||||
|
${ADDONS_URI}/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
|
||||||
|
${ADDONS_URI}/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
|
||||||
|
${ADDONS_URI}/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
|
||||||
|
${ADDONS_URI}/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip
|
||||||
|
${ADDONS_URI}/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
|
||||||
|
${ADDONS_URI}/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
|
||||||
|
${ADDONS_URI}/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip
|
||||||
|
${ADDONS_URI}/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
|
||||||
|
${ADDONS_URI}/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
|
||||||
|
${ADDONS_URI}/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
|
||||||
|
)"
|
||||||
|
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||||
|
# no release for 8 years, should we package it?
|
||||||
|
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
|
||||||
|
# Does not build with 1.6 rhino at all
|
||||||
|
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
|
||||||
|
# requirement of rhino
|
||||||
|
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
|
||||||
|
# not packageable
|
||||||
|
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
|
||||||
|
)
|
||||||
|
SRC_URI+=" ${ADDONS_SRC[*]}"
|
||||||
|
|
||||||
|
unset ADDONS_URI
|
||||||
|
unset ADDONS_SRC
|
||||||
|
|
||||||
|
# Extensions that need extra work:
|
||||||
|
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
||||||
|
|
||||||
|
IUSE="accessibility base bluetooth +branding clang coinmp +cups custom-cflags +dbus debug eds firebird
|
||||||
|
googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test vulkan
|
||||||
|
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
|
||||||
|
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||||
|
base? ( firebird java )
|
||||||
|
bluetooth? ( dbus )
|
||||||
|
gtk? ( dbus )
|
||||||
|
libreoffice_extensions_nlpsolver? ( java )
|
||||||
|
libreoffice_extensions_scripting-beanshell? ( java )
|
||||||
|
libreoffice_extensions_scripting-javascript? ( java )
|
||||||
|
libreoffice_extensions_wiki-publisher? ( java )
|
||||||
|
"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
[[ ${MY_PV} == *9999* ]] || \
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
dev-util/intltool
|
||||||
|
sys-devel/bison
|
||||||
|
sys-devel/flex
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig
|
||||||
|
odk? ( >=app-doc/doxygen-1.8.4 )
|
||||||
|
"
|
||||||
|
COMMON_DEPEND="${PYTHON_DEPS}
|
||||||
|
app-arch/unzip
|
||||||
|
app-arch/zip
|
||||||
|
app-crypt/gpgme[cxx]
|
||||||
|
app-text/hunspell:=
|
||||||
|
>=app-text/libabw-0.1.0
|
||||||
|
>=app-text/libebook-0.1
|
||||||
|
app-text/libepubgen
|
||||||
|
>=app-text/libetonyek-0.1
|
||||||
|
app-text/libexttextcat
|
||||||
|
app-text/liblangtag
|
||||||
|
>=app-text/libmspub-0.1.0
|
||||||
|
>=app-text/libmwaw-0.3.1
|
||||||
|
>=app-text/libnumbertext-1.0.6
|
||||||
|
>=app-text/libodfgen-0.1.0
|
||||||
|
app-text/libqxp
|
||||||
|
app-text/libstaroffice
|
||||||
|
app-text/libwpd:0.10[tools]
|
||||||
|
app-text/libwpg:0.3
|
||||||
|
>=app-text/libwps-0.4
|
||||||
|
app-text/mythes
|
||||||
|
>=dev-cpp/clucene-2.3.3.4-r2
|
||||||
|
>=dev-cpp/libcmis-0.5.2
|
||||||
|
dev-db/unixODBC
|
||||||
|
>=games-engines/box2d-2.4.1:0
|
||||||
|
dev-lang/perl
|
||||||
|
>=dev-libs/boost-1.72.0:=[nls]
|
||||||
|
dev-libs/expat
|
||||||
|
dev-libs/hyphen
|
||||||
|
dev-libs/icu:=
|
||||||
|
dev-libs/libassuan
|
||||||
|
dev-libs/libgpg-error
|
||||||
|
dev-libs/liborcus:0/0.16
|
||||||
|
dev-libs/librevenge
|
||||||
|
dev-libs/libxml2
|
||||||
|
dev-libs/libxslt
|
||||||
|
dev-libs/nspr
|
||||||
|
dev-libs/nss
|
||||||
|
>=dev-libs/redland-1.0.16
|
||||||
|
>=dev-libs/xmlsec-1.2.28[nss]
|
||||||
|
media-gfx/fontforge
|
||||||
|
media-gfx/graphite2
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype:2
|
||||||
|
>=media-libs/harfbuzz-0.9.42:=[graphite,icu]
|
||||||
|
media-libs/lcms:2
|
||||||
|
>=media-libs/libcdr-0.1.0
|
||||||
|
>=media-libs/libepoxy-1.3.1[X]
|
||||||
|
>=media-libs/libfreehand-0.1.0
|
||||||
|
media-libs/libpagemaker
|
||||||
|
>=media-libs/libpng-1.4:0=
|
||||||
|
>=media-libs/libvisio-0.1.0
|
||||||
|
media-libs/libzmf
|
||||||
|
>=net-libs/neon-0.31.1:=
|
||||||
|
net-misc/curl
|
||||||
|
sci-mathematics/lpsolve
|
||||||
|
sys-libs/zlib
|
||||||
|
virtual/glu
|
||||||
|
virtual/jpeg:0
|
||||||
|
virtual/opengl
|
||||||
|
x11-libs/cairo[X]
|
||||||
|
x11-libs/libXinerama
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libXrender
|
||||||
|
accessibility? (
|
||||||
|
$(python_gen_cond_dep 'dev-python/lxml[${PYTHON_MULTI_USEDEP}]')
|
||||||
|
)
|
||||||
|
bluetooth? (
|
||||||
|
dev-libs/glib:2
|
||||||
|
net-wireless/bluez
|
||||||
|
)
|
||||||
|
clang? (
|
||||||
|
|| (
|
||||||
|
( sys-devel/clang:12
|
||||||
|
sys-devel/llvm:12
|
||||||
|
=sys-devel/lld-12* )
|
||||||
|
( sys-devel/clang:11
|
||||||
|
sys-devel/llvm:11
|
||||||
|
=sys-devel/lld-11* )
|
||||||
|
( sys-devel/clang:10
|
||||||
|
sys-devel/llvm:10
|
||||||
|
=sys-devel/lld-10* )
|
||||||
|
)
|
||||||
|
)
|
||||||
|
coinmp? ( sci-libs/coinor-mp )
|
||||||
|
cups? ( net-print/cups )
|
||||||
|
dbus? ( sys-apps/dbus[X] )
|
||||||
|
eds? (
|
||||||
|
dev-libs/glib:2
|
||||||
|
gnome-base/dconf
|
||||||
|
gnome-extra/evolution-data-server
|
||||||
|
)
|
||||||
|
firebird? ( >=dev-db/firebird-3.0.2.32703.0-r1[server] )
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0
|
||||||
|
media-libs/gst-plugins-base:1.0
|
||||||
|
)
|
||||||
|
gtk? (
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/gobject-introspection
|
||||||
|
gnome-base/dconf
|
||||||
|
media-libs/mesa[egl]
|
||||||
|
x11-libs/gtk+:3[X]
|
||||||
|
x11-libs/pango
|
||||||
|
)
|
||||||
|
kde? (
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
dev-qt/qtx11extras:5
|
||||||
|
kde-frameworks/kconfig:5
|
||||||
|
kde-frameworks/kcoreaddons:5
|
||||||
|
kde-frameworks/ki18n:5
|
||||||
|
kde-frameworks/kio:5
|
||||||
|
kde-frameworks/kwindowsystem:5
|
||||||
|
)
|
||||||
|
ldap? ( net-nds/openldap )
|
||||||
|
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
|
||||||
|
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
||||||
|
mariadb? ( dev-db/mariadb-connector-c )
|
||||||
|
!mariadb? ( dev-db/mysql-connector-c )
|
||||||
|
pdfimport? ( app-text/poppler:=[cxx] )
|
||||||
|
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
||||||
|
"
|
||||||
|
# FIXME: cppunit should be moved to test conditional
|
||||||
|
# after everything upstream is under gbuild
|
||||||
|
# as dmake execute tests right away
|
||||||
|
# tests apparently also need google-carlito-fonts (not packaged)
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
>=dev-libs/libatomic_ops-7.2d
|
||||||
|
dev-perl/Archive-Zip
|
||||||
|
>=dev-util/cppunit-1.14.0
|
||||||
|
>=dev-util/gperf-3.1
|
||||||
|
dev-util/mdds:1/1.5
|
||||||
|
media-libs/glm
|
||||||
|
sys-devel/ucpp
|
||||||
|
x11-base/xorg-proto
|
||||||
|
x11-libs/libXt
|
||||||
|
x11-libs/libXtst
|
||||||
|
java? (
|
||||||
|
dev-java/ant-core
|
||||||
|
|| (
|
||||||
|
dev-java/openjdk:11
|
||||||
|
dev-java/openjdk-bin:11
|
||||||
|
)
|
||||||
|
)
|
||||||
|
test? (
|
||||||
|
app-crypt/gnupg
|
||||||
|
dev-util/cppunit
|
||||||
|
media-fonts/dejavu
|
||||||
|
media-fonts/liberation-fonts
|
||||||
|
)
|
||||||
|
"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
!app-office/libreoffice-bin
|
||||||
|
!app-office/libreoffice-bin-debug
|
||||||
|
media-fonts/liberation-fonts
|
||||||
|
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
||||||
|
java? ( || (
|
||||||
|
dev-java/openjdk:11
|
||||||
|
dev-java/openjdk-jre-bin:11
|
||||||
|
>=virtual/jre-1.8
|
||||||
|
) )
|
||||||
|
kde? ( kde-frameworks/breeze-icons:* )
|
||||||
|
"
|
||||||
|
if [[ ${MY_PV} != *9999* ]] && [[ ${PV} != *_* ]]; then
|
||||||
|
PDEPEND="=app-office/libreoffice-l10n-$(ver_cut 1-2)*"
|
||||||
|
else
|
||||||
|
# Translations are not reliable on live ebuilds
|
||||||
|
# rather force people to use english only.
|
||||||
|
PDEPEND="!app-office/libreoffice-l10n"
|
||||||
|
fi
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
# "${WORKDIR}"/${PATCHSET/.tar.xz/}
|
||||||
|
|
||||||
|
# not upstreamable stuff
|
||||||
|
"${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
|
||||||
|
"${FILESDIR}/${PN}-6.1-nomancompress.patch"
|
||||||
|
"${FILESDIR}/${PN}-7.0.3.1-qt5detect.patch"
|
||||||
|
|
||||||
|
# master branch
|
||||||
|
"${FILESDIR}/${PN}-7.1.3.2-bashism.patch" # bug 780432
|
||||||
|
)
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||||
|
|
||||||
|
_check_reqs() {
|
||||||
|
CHECKREQS_MEMORY="512M"
|
||||||
|
if is-flagq "-g*" && ! is-flagq "-g*0" ; then
|
||||||
|
CHECKREQS_DISK_BUILD="22G"
|
||||||
|
else
|
||||||
|
CHECKREQS_DISK_BUILD="6G"
|
||||||
|
fi
|
||||||
|
check-reqs_$1
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
if use x86; then
|
||||||
|
elog "Unfortunately for packaging reasons on x86, various Java-based wizards,"
|
||||||
|
elog "most notably Report Builder in LibreOffice Base, will not be available."
|
||||||
|
elog "See also: https://bugs.gentoo.org/785640"
|
||||||
|
else
|
||||||
|
use base ||
|
||||||
|
ewarn "If you plan to use Base application you must enable USE base."
|
||||||
|
use java ||
|
||||||
|
ewarn "Without USE java, several wizards are not going to be available."
|
||||||
|
fi
|
||||||
|
|
||||||
|
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_pretend
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
java-pkg-opt-2_pkg_setup
|
||||||
|
python-single-r1_pkg_setup
|
||||||
|
xdg_environment_reset
|
||||||
|
|
||||||
|
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if [[ ${MY_PV} = *9999* ]]; then
|
||||||
|
local base_uri branch mypv
|
||||||
|
base_uri="https://anongit.freedesktop.org/git"
|
||||||
|
branch="master"
|
||||||
|
mypv=${MY_PV/.9999}
|
||||||
|
[[ ${mypv} != ${MY_PV} ]] && branch="${PN}-${mypv/./-}"
|
||||||
|
git-r3_fetch "${base_uri}/${PN}/core" "refs/heads/${branch}"
|
||||||
|
git-r3_checkout "${base_uri}/${PN}/core"
|
||||||
|
LOCOREGIT_VERSION=${EGIT_VERSION}
|
||||||
|
|
||||||
|
git-r3_fetch "${base_uri}/${PN}/help" "refs/heads/master"
|
||||||
|
git-r3_checkout "${base_uri}/${PN}/help" "helpcontent2" # doesn't match on help
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# sandbox violations on many systems, we don't need it. Bug #646406
|
||||||
|
sed -i \
|
||||||
|
-e "/KF5_CONFIG/s/kf5-config/no/" \
|
||||||
|
configure.ac || die "Failed to disable kf5-config"
|
||||||
|
|
||||||
|
AT_M4DIR="m4" eautoreconf
|
||||||
|
# hack in the autogen.sh
|
||||||
|
touch autogen.lastrun
|
||||||
|
|
||||||
|
# sed in the tests
|
||||||
|
sed -i \
|
||||||
|
-e "s#all : build unitcheck#all : build#g" \
|
||||||
|
solenv/gbuild/Module.mk || die
|
||||||
|
sed -i \
|
||||||
|
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
|
||||||
|
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
|
||||||
|
Makefile.in || die
|
||||||
|
|
||||||
|
sed -i \
|
||||||
|
-e "s,/usr/share/bash-completion/completions,$(get_bashcompdir)," \
|
||||||
|
-e "s,\$INSTALLDIRNAME.sh,${PN}," \
|
||||||
|
bin/distro-install-desktop-integration || die
|
||||||
|
|
||||||
|
if use branding; then
|
||||||
|
# hack...
|
||||||
|
mv -v "${WORKDIR}/branding-intro.png" "icon-themes/colibre/brand/intro.png" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Don't list pdfimport support in desktop when built with none, bug # 605464
|
||||||
|
if ! use pdfimport; then
|
||||||
|
sed -i \
|
||||||
|
-e ":MimeType: s:application/pdf;::" \
|
||||||
|
-e ":Keywords: s:pdf;::" \
|
||||||
|
sysui/desktop/menus/draw.desktop || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Set up Google API keys, see https://www.chromium.org/developers/how-tos/api-keys
|
||||||
|
# Note: these are for Gentoo use ONLY. For your own distribution, please get
|
||||||
|
# your own set of keys. Feel free to contact chromium@gentoo.org for more info.
|
||||||
|
local google_default_client_id="329227923882.apps.googleusercontent.com"
|
||||||
|
local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu"
|
||||||
|
|
||||||
|
# Show flags set at the beginning
|
||||||
|
einfo "Preset CFLAGS: ${CFLAGS}"
|
||||||
|
einfo "Preset LDFLAGS: ${LDFLAGS}"
|
||||||
|
|
||||||
|
if use clang ; then
|
||||||
|
# Force clang
|
||||||
|
einfo "Enforcing the use of clang due to USE=clang ..."
|
||||||
|
AR=llvm-ar
|
||||||
|
CC=${CHOST}-clang
|
||||||
|
CXX=${CHOST}-clang++
|
||||||
|
NM=llvm-nm
|
||||||
|
RANLIB=llvm-ranlib
|
||||||
|
LDFLAGS+=" -fuse-ld=lld"
|
||||||
|
else
|
||||||
|
# Force gcc
|
||||||
|
einfo "Enforcing the use of gcc due to USE=-clang ..."
|
||||||
|
AR=gcc-ar
|
||||||
|
CC=${CHOST}-gcc
|
||||||
|
CXX=${CHOST}-g++
|
||||||
|
NM=gcc-nm
|
||||||
|
RANLIB=gcc-ranlib
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use custom-cflags ; then
|
||||||
|
elog "USE=custom-cflags has been selected. You are on your own to make sure that"
|
||||||
|
elog "the build succeeds. Good luck!"
|
||||||
|
else
|
||||||
|
strip-flags
|
||||||
|
fi
|
||||||
|
|
||||||
|
export LO_CLANG_CC=${CC}
|
||||||
|
export LO_CLANG_CXX=${CXX}
|
||||||
|
|
||||||
|
# Show flags set at the end
|
||||||
|
einfo " Used CFLAGS: ${CFLAGS}"
|
||||||
|
einfo " Used LDFLAGS: ${LDFLAGS}"
|
||||||
|
|
||||||
|
# Ensure we use correct toolchain
|
||||||
|
tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
|
||||||
|
|
||||||
|
if use vulkan && ! use clang ; then
|
||||||
|
ewarn "Building skia with gcc may lead to performance issues. Disable vulkan or enable clang."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# optimization flags
|
||||||
|
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||||
|
# System python enablement:
|
||||||
|
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||||
|
export PYTHON_LIBS=$(python_get_LIBS)
|
||||||
|
|
||||||
|
use kde && export QT5DIR="$(qt5_get_bindir)/.."
|
||||||
|
|
||||||
|
local gentoo_buildid="Gentoo official package"
|
||||||
|
if [[ -n ${LOCOREGIT_VERSION} ]]; then
|
||||||
|
gentoo_buildid+=" (from git: ${LOCOREGIT_VERSION})"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# system headers/libs/...: enforce using system packages
|
||||||
|
# --disable-breakpad: requires not-yet-in-tree dev-utils/breakpad
|
||||||
|
# --enable-cairo: ensure that cairo is always required
|
||||||
|
# --enable-*-link: link to the library rather than just dlopen on runtime
|
||||||
|
# --enable-release-build: build the libreoffice as release
|
||||||
|
# --disable-fetch-external: prevent dowloading during compile phase
|
||||||
|
# --enable-extension-integration: enable any extension integration support
|
||||||
|
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
||||||
|
# --disable-report-builder: too much java packages pulled in without pkgs
|
||||||
|
# --without-system-sane: just sane.h header that is used for scan in writer,
|
||||||
|
# not linked or anything else, worthless to depend on
|
||||||
|
# --disable-pdfium: not yet packaged
|
||||||
|
# --without-system-qrcodegen: has no real build system and LO is the only user
|
||||||
|
local myeconfargs=(
|
||||||
|
--with-system-dicts
|
||||||
|
--with-system-epoxy
|
||||||
|
--with-system-headers
|
||||||
|
--with-system-jars
|
||||||
|
--with-system-libs
|
||||||
|
--enable-build-opensymbol
|
||||||
|
--enable-cairo-canvas
|
||||||
|
--enable-largefile
|
||||||
|
--enable-mergelibs
|
||||||
|
--enable-neon
|
||||||
|
--enable-python=system
|
||||||
|
--enable-randr
|
||||||
|
--enable-release-build
|
||||||
|
--disable-breakpad
|
||||||
|
--disable-bundle-mariadb
|
||||||
|
--disable-ccache
|
||||||
|
--disable-epm
|
||||||
|
--disable-fetch-external
|
||||||
|
--disable-gtk3-kde5
|
||||||
|
--disable-online-update
|
||||||
|
--disable-openssl
|
||||||
|
--disable-pdfium
|
||||||
|
--disable-vlc
|
||||||
|
--with-extra-buildid="${gentoo_buildid}"
|
||||||
|
--enable-extension-integration
|
||||||
|
--with-external-dict-dir="${EPREFIX}/usr/share/myspell"
|
||||||
|
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell"
|
||||||
|
--with-external-thes-dir="${EPREFIX}/usr/share/myspell"
|
||||||
|
--with-external-tar="${DISTDIR}"
|
||||||
|
--with-lang=""
|
||||||
|
--with-parallelism=$(makeopts_jobs)
|
||||||
|
--with-system-ucpp
|
||||||
|
--with-tls=nss
|
||||||
|
--with-vendor="Gentoo Foundation"
|
||||||
|
--with-x
|
||||||
|
--without-fonts
|
||||||
|
--without-myspell-dicts
|
||||||
|
--with-help="html"
|
||||||
|
--without-helppack-integration
|
||||||
|
--with-system-gpgmepp
|
||||||
|
--without-system-jfreereport
|
||||||
|
--without-system_apache_commons
|
||||||
|
--without-system-sane
|
||||||
|
--without-system-qrcodegen
|
||||||
|
$(use_enable base report-builder)
|
||||||
|
$(use_enable bluetooth sdremote-bluetooth)
|
||||||
|
$(use_enable coinmp)
|
||||||
|
$(use_enable cups)
|
||||||
|
$(use_enable dbus)
|
||||||
|
$(use_enable debug)
|
||||||
|
$(use_enable eds evolution2)
|
||||||
|
$(use_enable firebird firebird-sdbc)
|
||||||
|
$(use_enable gstreamer gstreamer-1-0)
|
||||||
|
$(use_enable gtk gtk3)
|
||||||
|
$(use_enable kde kf5)
|
||||||
|
$(use_enable kde qt5)
|
||||||
|
$(use_enable ldap)
|
||||||
|
$(use_enable odk)
|
||||||
|
$(use_enable pdfimport)
|
||||||
|
$(use_enable postgres postgresql-sdbc)
|
||||||
|
$(use_enable vulkan skia)
|
||||||
|
$(use_with accessibility lxml)
|
||||||
|
$(use_with coinmp system-coinmp)
|
||||||
|
$(use_with googledrive gdrive-client-id ${google_default_client_id})
|
||||||
|
$(use_with googledrive gdrive-client-secret ${google_default_client_secret})
|
||||||
|
$(use_with java)
|
||||||
|
$(use_with odk doxygen)
|
||||||
|
)
|
||||||
|
|
||||||
|
if use eds || use gtk; then
|
||||||
|
myeconfargs+=( --enable-dconf --enable-gio )
|
||||||
|
else
|
||||||
|
myeconfargs+=( --disable-dconf --disable-gio )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# libreoffice extensions handling
|
||||||
|
for lo_xt in ${LO_EXTS}; do
|
||||||
|
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
||||||
|
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt}) )
|
||||||
|
else
|
||||||
|
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt}) )
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if use java; then
|
||||||
|
# hsqldb: system one is too new
|
||||||
|
myeconfargs+=(
|
||||||
|
--without-junit
|
||||||
|
--without-system-hsqldb
|
||||||
|
--with-ant-home="${ANT_HOME}"
|
||||||
|
)
|
||||||
|
if has_version "dev-java/openjdk:11"; then
|
||||||
|
myeconfargs+=( -with-jdk-home="${EPREFIX}/usr/$(get_libdir)/openjdk-11" )
|
||||||
|
elif has_version "dev-java/openjdk-bin:11"; then
|
||||||
|
myeconfargs+=( --with-jdk-home="/opt/openjdk-bin-11" )
|
||||||
|
fi
|
||||||
|
|
||||||
|
use libreoffice_extensions_scripting-beanshell && \
|
||||||
|
myeconfargs+=( --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar) )
|
||||||
|
|
||||||
|
use libreoffice_extensions_scripting-javascript && \
|
||||||
|
myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar) )
|
||||||
|
fi
|
||||||
|
|
||||||
|
is-flagq "-flto*" && myeconfargs+=( --enable-lto )
|
||||||
|
|
||||||
|
MARIADBCONFIG="$(type -p $(usex mariadb mariadb mysql)_config)" \
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# more and more LO stuff tries to use OpenGL, including tests during build
|
||||||
|
# bug 501508, bug 540624, bug 545974 and probably more
|
||||||
|
addpredict /dev/dri
|
||||||
|
addpredict /dev/ati
|
||||||
|
addpredict /dev/nvidiactl
|
||||||
|
|
||||||
|
local target
|
||||||
|
use test && target="build" || target="build-nocheck"
|
||||||
|
|
||||||
|
# this is not a proper make script
|
||||||
|
make ${target} || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
make unitcheck || die
|
||||||
|
make slowcheck || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# This is not Makefile so no buildserver
|
||||||
|
emake DESTDIR="${D}" distro-pack-install -o build -o check
|
||||||
|
|
||||||
|
# bug 593514
|
||||||
|
if use gtk; then
|
||||||
|
dosym libreoffice/program/liblibreofficekitgtk.so \
|
||||||
|
/usr/$(get_libdir)/liblibreofficekitgtk.so
|
||||||
|
fi
|
||||||
|
|
||||||
|
# bash completion aliases
|
||||||
|
bashcomp_alias \
|
||||||
|
libreoffice \
|
||||||
|
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
||||||
|
|
||||||
|
if use branding; then
|
||||||
|
insinto /usr/$(get_libdir)/${PN}/program
|
||||||
|
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||||
|
dodir /etc/env.d
|
||||||
|
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN} || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# bug 703474
|
||||||
|
insinto /usr/include
|
||||||
|
doins -r include/LibreOfficeKit
|
||||||
|
|
||||||
|
local lodir=/usr/$(get_libdir)/libreoffice
|
||||||
|
# patching this would break tests
|
||||||
|
cat <<-EOF > "${T}"/uno.py
|
||||||
|
import sys, os
|
||||||
|
sys.path.append('${EPREFIX}${lodir}/program')
|
||||||
|
os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:${EPREFIX}${lodir}/program/fundamentalrc')
|
||||||
|
EOF
|
||||||
|
sed -e "/^import sys/d" -e "/^import os/d" \
|
||||||
|
-i "${D}"${lodir}/program/uno.py || die "cleanup dupl imports failed"
|
||||||
|
cat "${D}"${lodir}/program/uno.py >> "${T}"/uno.py || die
|
||||||
|
cp "${T}"/uno.py "${D}"${lodir}/program/uno.py || die
|
||||||
|
|
||||||
|
# more system pyuno mess
|
||||||
|
sed -e "/sOffice = \"\" # lets hope for the best/s:\"\":\"${EPREFIX}${lodir}/program\":" \
|
||||||
|
-i "${D}"${lodir}/program/officehelper.py || die
|
||||||
|
|
||||||
|
python_optimize "${D}"${lodir}/program
|
||||||
|
# link python bridge in site-packages, bug 667802
|
||||||
|
local py pyc loprogdir=/usr/$(get_libdir)/libreoffice/program
|
||||||
|
for py in uno.py unohelper.py officehelper.py; do
|
||||||
|
dosym8 -r ${loprogdir}/${py} $(python_get_sitedir)/${py}
|
||||||
|
while IFS="" read -d $'\0' -r pyc; do
|
||||||
|
pyc=${pyc//*\/}
|
||||||
|
dosym8 -r ${loprogdir}/__pycache__/${pyc} $(python_get_sitedir)/__pycache__/${pyc}
|
||||||
|
done < <(find "${D}"${lodir}/program -type f -name ${py/.py/*.pyc} -print0)
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_mimeinfo_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_mimeinfo_database_update
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
DIST godep-74.tar.gz 71366 BLAKE2B ce16803fd0bbc7a28de2957b47faf1b88461387a240628d87346f8a64ef19ba2cb4d61fd3a37a990a4c99fb42a2583379ff015163da307ff08f1e3d4ce3f85dd SHA512 c131fd72cd6d6f3d3603c8698a9c4213c6402956488bcf169a846a87607f46c6e94184a6c5c3d4fc04110231a0954e0024c3008577d3ede7aa0825460f430add
|
|
@ -1,33 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
EGO_PN=github.com/tools/godep
|
|
||||||
|
|
||||||
if [[ ${PV} = *9999* ]]; then
|
|
||||||
inherit golang-vcs
|
|
||||||
else
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
EGIT_COMMIT=v${PV}
|
|
||||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
||||||
inherit golang-vcs-snapshot
|
|
||||||
fi
|
|
||||||
inherit golang-build
|
|
||||||
|
|
||||||
DESCRIPTION="dependency tool for go"
|
|
||||||
HOMEPAGE="https://github.com/tools/godep"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
export -n GOCACHE XDG_CACHE_HOME #681204
|
|
||||||
golang-build_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin godep
|
|
||||||
dodoc src/${EGO_PN}/*.md
|
|
||||||
}
|
|
@ -1,33 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
EGO_PN=github.com/tools/godep
|
|
||||||
|
|
||||||
if [[ ${PV} = *9999* ]]; then
|
|
||||||
inherit golang-vcs
|
|
||||||
else
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
EGIT_COMMIT=v${PV}
|
|
||||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
||||||
inherit golang-vcs-snapshot
|
|
||||||
fi
|
|
||||||
inherit golang-build
|
|
||||||
|
|
||||||
DESCRIPTION="dependency tool for go"
|
|
||||||
HOMEPAGE="https://github.com/tools/godep"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
export -n GOCACHE XDG_CACHE_HOME #681204
|
|
||||||
golang-build_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin godep
|
|
||||||
dodoc src/${EGO_PN}/*.md
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<!-- maintainer-needed -->
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">tools/godep</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
Binary file not shown.
@ -1,4 +1,3 @@
|
|||||||
DIST commons-lang-2.0-src.tar.gz 440989 BLAKE2B d71d73504c740138bdb9c1e190e0f4e846fb08a35d8ee2430ac2e24b0094e83cfc8cab9eaa44230c0d7fd26ec768bf7b448f04e123467acc20d49af6efe3008b SHA512 aecbbdd8eb2712981dcd8615bac2ec69e3ea7ae137407287d2a9b3eeaddb48e5367bc9c5cb8d232429ac6091548dac8af67e0593366365c04fcfe39984c3e549
|
|
||||||
DIST commons-lang-2.6-src.tar.gz 564032 BLAKE2B 9d72b0426f2146eaa8498a6601edf80dbf45a16ef5ee14cf4ed87130e6d3732d5c713f25f44c10435baa1357f61a271acb88483915968aaf645d1ceaa318c601 SHA512 4a30ed153f93fe6616a28974721bdf005d064203ef8a3dd375d6c1176647c0cdbd29cfde2a580e2c8d26bfa4655be6be7025b8ccae94086dcd816676c5cf8e87
|
DIST commons-lang-2.6-src.tar.gz 564032 BLAKE2B 9d72b0426f2146eaa8498a6601edf80dbf45a16ef5ee14cf4ed87130e6d3732d5c713f25f44c10435baa1357f61a271acb88483915968aaf645d1ceaa318c601 SHA512 4a30ed153f93fe6616a28974721bdf005d064203ef8a3dd375d6c1176647c0cdbd29cfde2a580e2c8d26bfa4655be6be7025b8ccae94086dcd816676c5cf8e87
|
||||||
DIST commons-lang-3.12.0-sources.tar.gz 1072858 BLAKE2B d6b7ee9ef165e60f61d8d0dfaaf38919877f2edc6742cd58b2b70d379e807e75d9dc24e19f23db1b174d1797d6ef0af7700d686dd835d7a40bf2b2a91346e215 SHA512 80d1b960ae0b02859be329ea60d68cef33f3c7be7ec19752b3c9cfef442adef480878317ce2cfa309a27e662e2c72cab22023eaa3702e27970a1e5d55ca43f57
|
DIST commons-lang-3.12.0-sources.tar.gz 1072858 BLAKE2B d6b7ee9ef165e60f61d8d0dfaaf38919877f2edc6742cd58b2b70d379e807e75d9dc24e19f23db1b174d1797d6ef0af7700d686dd835d7a40bf2b2a91346e215 SHA512 80d1b960ae0b02859be329ea60d68cef33f3c7be7ec19752b3c9cfef442adef480878317ce2cfa309a27e662e2c72cab22023eaa3702e27970a1e5d55ca43f57
|
||||||
DIST commons-lang3-3.1-src.tar.gz 638619 BLAKE2B f971afc9bdd3896178bc4be0b6c5d8809f1c1ac0d69ad73ba0d71c185c600ca7a55c3b4877af64b552ccebed9567aa7830f236f2c0d9c38f259870b894c9d745 SHA512 4d201c695a9b908a1809bbab689f80c6aa508b221b4c2786974eada08e647936f5879841c64eed509032ffdd5410735480e7ecb2910295d0f79e857c27019560
|
DIST commons-lang3-3.1-src.tar.gz 638619 BLAKE2B f971afc9bdd3896178bc4be0b6c5d8809f1c1ac0d69ad73ba0d71c185c600ca7a55c3b4877af64b552ccebed9567aa7830f236f2c0d9c38f259870b894c9d745 SHA512 4d201c695a9b908a1809bbab689f80c6aa508b221b4c2786974eada08e647936f5879841c64eed509032ffdd5410735480e7ecb2910295d0f79e857c27019560
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
JAVA_PKG_IUSE="doc source test"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-ant-2
|
|
||||||
|
|
||||||
DESCRIPTION="Jakarta components to manipulate core java classes"
|
|
||||||
HOMEPAGE="http://commons.apache.org/lang/"
|
|
||||||
SRC_URI="mirror://apache/jakarta/commons/lang/source/${P}-src.tar.gz"
|
|
||||||
DEPEND=">=virtual/jdk-1.4
|
|
||||||
test? ( dev-java/ant-junit )"
|
|
||||||
RDEPEND=">=virtual/jre-1.4"
|
|
||||||
LICENSE="Apache-1.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
S="${WORKDIR}/${P}-src"
|
|
||||||
|
|
||||||
java_prepare() {
|
|
||||||
java-pkg_clean
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_newjar dist/${P}.jar ${PN}.jar
|
|
||||||
|
|
||||||
dodoc RELEASE-NOTES.txt
|
|
||||||
java-pkg_dohtml DEVELOPERS-GUIDE.html PROPOSAL.html STATUS.html
|
|
||||||
use doc && java-pkg_dojavadoc dist/docs/api
|
|
||||||
use source && java-pkg_dosrc src/java/*
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
DIST freemarker-2.3.25.tar.gz 1873971 BLAKE2B 52c64938c67ac0303b07f4aa74c3fc7ccc0be68bd37a7c6c663ac0849acc9f2236d1028abb377efa6fdb518840b1961e71c1a02a37388864f9be14b3b443f28a SHA512 32a41a73a2f71a4e0ae8829da2c09e07204aa2b4a6899e2c7a3db0bde5d3e129ec7b44b7299a20165d7eb88f4f7d1bd9f0b7a1fd116dc11493134bec2306d1ac
|
|
@ -1,60 +0,0 @@
|
|||||||
diff -Naur a/build.xml b/build.xml
|
|
||||||
--- a/build.xml 2016-06-14 19:48:01.000000000 +0100
|
|
||||||
+++ b/build.xml 2016-12-22 22:41:41.988262564 +0000
|
|
||||||
@@ -27,6 +27,10 @@
|
|
||||||
xmlns:u="http://freemarker.org/util"
|
|
||||||
>
|
|
||||||
|
|
||||||
+ <path id="gentoo.classpath">
|
|
||||||
+ <pathelement path="${gentoo.classpath}/"/>
|
|
||||||
+ </path>
|
|
||||||
+
|
|
||||||
<!-- ================================================================== -->
|
|
||||||
<!-- Properties -->
|
|
||||||
<!-- ================================================================== -->
|
|
||||||
@@ -143,13 +147,11 @@
|
|
||||||
/>
|
|
||||||
|
|
||||||
<mkdir dir="${_javaccOutputDir}" />
|
|
||||||
- <ivy:retrieve conf="parser" pattern="build/javacc-home.tmp/[artifact].[ext]" />
|
|
||||||
<javacc:generate
|
|
||||||
target="src/main/javacc/FTL.jj"
|
|
||||||
outputdirectory="${_javaccOutputDir}"
|
|
||||||
javacchome="build/javacc-home.tmp"
|
|
||||||
/>
|
|
||||||
- <delete dir="build/javacc-home.tmp" />
|
|
||||||
|
|
||||||
<replace
|
|
||||||
file="${_javaccOutputDir}/FMParser.java"
|
|
||||||
@@ -271,6 +273,7 @@
|
|
||||||
verify="yes" stubversion="1.2"
|
|
||||||
/>
|
|
||||||
|
|
||||||
+<!--
|
|
||||||
<ivy:cachepath conf="build.jsp2.0" pathid="ivy.dep.jsp2.0" />
|
|
||||||
<javac srcdir="build/src-main-java-filtered" destdir="build/classes" deprecation="off"
|
|
||||||
debug="on" optimize="off" target="1.5" source="1.5" encoding="utf-8"
|
|
||||||
@@ -286,6 +289,7 @@
|
|
||||||
freemarker/ext/jsp/FreeMarkerJspFactory21.java,
|
|
||||||
freemarker/ext/jsp/FreeMarkerJspApplicationContext.java"
|
|
||||||
/>
|
|
||||||
+!-->
|
|
||||||
|
|
||||||
<!-- There's no build.jsp2.0, as those classes are part of the common build subset. -->
|
|
||||||
|
|
||||||
@@ -301,6 +305,7 @@
|
|
||||||
freemarker/ext/jsp/FreeMarkerJspApplicationContext.java"
|
|
||||||
/>
|
|
||||||
|
|
||||||
+<!--
|
|
||||||
<ivy:cachepath conf="build.jython2.0" pathid="ivy.dep.jython2.0" />
|
|
||||||
<javac srcdir="build/src-main-java-filtered" destdir="build/classes" deprecation="off"
|
|
||||||
debug="on" optimize="off" target="1.5" source="1.5" encoding="utf-8"
|
|
||||||
@@ -325,6 +330,7 @@
|
|
||||||
includes="
|
|
||||||
freemarker/ext/jython/_Jython22VersionAdapter.java"
|
|
||||||
/>
|
|
||||||
+!-->
|
|
||||||
|
|
||||||
<ivy:cachepath conf="build.jython2.5" pathid="ivy.dep.jython2.5" />
|
|
||||||
<javac srcdir="build/src-main-java-filtered" destdir="build/classes" deprecation="off"
|
|
@ -1,69 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
MY_PN="incubator-${PN}"
|
|
||||||
JAVA_PKG_IUSE="doc source"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-ant-2
|
|
||||||
|
|
||||||
DESCRIPTION="A Java tool to generate text output based on templates"
|
|
||||||
HOMEPAGE="http://freemarker.org/"
|
|
||||||
SRC_URI="https://github.com/apache/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="2.3"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
CP_DEPEND="dev-java/avalon-logkit:2.0
|
|
||||||
dev-java/commons-logging:0
|
|
||||||
dev-java/dom4j:1
|
|
||||||
dev-java/jaxen:1.1
|
|
||||||
dev-java/jython:2.7
|
|
||||||
dev-java/log4j:0
|
|
||||||
dev-java/rhino:1.6
|
|
||||||
dev-java/slf4j-api:0
|
|
||||||
dev-java/xalan:0
|
|
||||||
java-virtuals/servlet-api:2.5"
|
|
||||||
|
|
||||||
RDEPEND="${CP_DEPEND}
|
|
||||||
>=virtual/jre-1.7"
|
|
||||||
|
|
||||||
DEPEND="${CP_DEPEND}
|
|
||||||
>=virtual/jdk-1.7
|
|
||||||
dev-java/javacc:0"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/build.xml.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
EANT_BUILD_TARGET="compile"
|
|
||||||
EANT_EXTRA_ARGS="-Ddeps.available=true"
|
|
||||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
rm -rv \
|
|
||||||
src/main/java/freemarker/ext/jdom \
|
|
||||||
src/main/java/freemarker/ext/xml/_JdomNavigator.java \
|
|
||||||
src/main/java/freemarker/ext/beans/JRebelClassChangeNotifier.java || die
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e '/<ivy:cachepath/d' \
|
|
||||||
-e 's/"ivy\.dep[^"]*"/"gentoo.classpath"/g' \
|
|
||||||
-e "s:javacchome=\"[^\"]*\":javacchome=\"${EPREFIX%/}/usr/share/javacc/lib\":g" \
|
|
||||||
build.xml || die
|
|
||||||
|
|
||||||
java-pkg-2_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
jar cf ${PN}.jar -C build/classes . || die
|
|
||||||
java-pkg_dojar ${PN}.jar
|
|
||||||
|
|
||||||
dodoc README
|
|
||||||
use doc && java-pkg_dojavadoc build/api
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>java@gentoo.org</email>
|
|
||||||
<name>Java</name>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="sourceforge">freemarker</remote-id>
|
|
||||||
<remote-id type="github">apache/incubator-freemarker</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
DIST ell-0.39.tar.xz 523932 BLAKE2B de1cb68347ed9047bb1fe79dc91ed1db7ab466a5610647660a4eb50519c620f8ea28767538d0cb79e3c3de17f884227f1dd957453c56df322ffff2c5856e94ee SHA512 ee525268276aec13bd8004c8211c768c682fbbe4b50d5dfa886a76cfa20be98e867cb2b1850b23fc16cf47b942e21ad272f19ae3d5cff36ce856ae8811938dc0
|
|
||||||
DIST ell-0.40.tar.xz 524256 BLAKE2B de7326cfc7d00970fdeb5f19e38b9c68e6443544f5a6397aa031a7dcd0d61c77ab72303ad51d36e8fbc2c34c954631636f7f42bae0c40cd75498882ab78e2c85 SHA512 bc721e300e5b689dc51f794019e731eb252ad74dd199bec7685373ffa32ad42950aae9e36cb74d3b6590016c046589acb3ae8c009c4a14bd89331913392e923e
|
DIST ell-0.40.tar.xz 524256 BLAKE2B de7326cfc7d00970fdeb5f19e38b9c68e6443544f5a6397aa031a7dcd0d61c77ab72303ad51d36e8fbc2c34c954631636f7f42bae0c40cd75498882ab78e2c85 SHA512 bc721e300e5b689dc51f794019e731eb252ad74dd199bec7685373ffa32ad42950aae9e36cb74d3b6590016c046589acb3ae8c009c4a14bd89331913392e923e
|
||||||
|
DIST ell-0.41.tar.xz 525240 BLAKE2B 80614190c1237fdbb867300418d474d50e163fba7ca15f4c74c3019b4d407da8319b67be5a88886894dd8869620bae1338e91d28993077690e93260ed1dc3cf6 SHA512 bfbc18195126196776a0d00b4ae8bd8358a6cd1d2f8221132fdae1f323172f148a3faad84a951774ca38a3a72e8d96512b9cac84d9ef3a6cddf4b1490b34453e
|
||||||
|
@ -1,94 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit libtool multilib-minimal usr-ldscript
|
|
||||||
|
|
||||||
PATCH_SET="${PN}-10.36-patchset-01.tar.xz"
|
|
||||||
|
|
||||||
DESCRIPTION="Perl-compatible regular expression library"
|
|
||||||
HOMEPAGE="https://www.pcre.org/"
|
|
||||||
MY_P="pcre2-${PV/_rc/-RC}"
|
|
||||||
if [[ ${PV} != *_rc* ]] ; then
|
|
||||||
# Only the final releases are available here.
|
|
||||||
SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
|
|
||||||
https://ftp.pcre.org/pub/pcre/${MY_P}.tar.bz2"
|
|
||||||
else
|
|
||||||
SRC_URI="https://ftp.pcre.org/pub/pcre/Testing/${MY_P}.tar.bz2"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -n "${PATCH_SET}" ]] ; then
|
|
||||||
SRC_URI+=" https://dev.gentoo.org/~whissi/dist/${PN}/${PATCH_SET}
|
|
||||||
https://dev.gentoo.org/~polynomial-c/dist/${PATCH_SET}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/3" # libpcre2-posix.so version
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="bzip2 +jit libedit +pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
|
|
||||||
REQUIRED_USE="?? ( libedit readline )"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
bzip2? ( app-arch/bzip2 )
|
|
||||||
libedit? ( dev-libs/libedit )
|
|
||||||
readline? ( sys-libs/readline:0= )
|
|
||||||
zlib? ( sys-libs/zlib )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
MULTILIB_CHOST_TOOLS=(
|
|
||||||
/usr/bin/pcre2-config
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ -d "${WORKDIR}/patches" ]] ; then
|
|
||||||
rm "${WORKDIR}"/patches/pcre2-10.36-001-issue2698.patch || die
|
|
||||||
eapply "${WORKDIR}"/patches
|
|
||||||
fi
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
elibtoolize
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local myeconfargs=(
|
|
||||||
--enable-pcre2-8
|
|
||||||
--enable-shared
|
|
||||||
--with-match-limit-depth=$(usex recursion-limit 8192 MATCH_LIMIT)
|
|
||||||
$(multilib_native_use_enable bzip2 pcre2grep-libbz2)
|
|
||||||
$(multilib_native_use_enable libedit pcre2test-libedit)
|
|
||||||
$(multilib_native_use_enable readline pcre2test-libreadline)
|
|
||||||
$(multilib_native_use_enable zlib pcre2grep-libz)
|
|
||||||
$(use_enable jit)
|
|
||||||
$(use_enable jit pcre2grep-jit)
|
|
||||||
$(use_enable pcre16 pcre2-16)
|
|
||||||
$(use_enable pcre32 pcre2-32)
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
$(use_enable unicode)
|
|
||||||
)
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=")
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
emake \
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
$(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \
|
|
||||||
install
|
|
||||||
multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
find "${ED}" -type f -name "*.la" -delete || die
|
|
||||||
}
|
|
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
DIST Gtk2-Spell-1.04.tar.gz 17512 BLAKE2B bcbebd399609c289f04b76d466a1414ba0cf3d654dced50799b4300853a73556e4a0c2d7cb769bcd3084ba00e850c494b0ba8f345ad558e443a1808023b93008 SHA512 b0f71158e56efe561e9999066e896c92b90e9b046e6193fe0b96b4b8fbd4d10d9fc906b9313b4c5c5fbc93cdd33b710eea3170a9677bcdea46fa22032d19b960
|
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
DIST_NAME=Gtk2-Spell
|
|
||||||
DIST_AUTHOR=TSCH
|
|
||||||
DIST_VERSION=1.04
|
|
||||||
inherit perl-module virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="Bindings for GtkSpell with Gtk2.x"
|
|
||||||
HOMEPAGE="http://gtk2-perl.sf.net/ https://metacpan.org/release/Gtk2-Spell"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
KEYWORDS="amd64 ~hppa ~ppc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
x11-libs/gtk+:2
|
|
||||||
>=app-text/gtkspell-2:2
|
|
||||||
>=dev-perl/glib-perl-1.240.0
|
|
||||||
>=dev-perl/Gtk2-1.012
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-perl/ExtUtils-Depends
|
|
||||||
dev-perl/ExtUtils-PkgConfig
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
src_test() {
|
|
||||||
virtx perl-module_src_test
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>perl@gentoo.org</email>
|
|
||||||
<name>Gentoo Perl Project</name>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="cpan">Gtk2-Spell</remote-id>
|
|
||||||
<remote-id type="cpan-module">Gtk2::Spell</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
Binary file not shown.
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
PYTHON_REQ_USE="sqlite"
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
HOMEPAGE="http://www.grantjenks.com/docs/diskcache/
|
||||||
|
https://github.com/grantjenks/python-diskcache/"
|
||||||
|
DESCRIPTION="Disk and file backed cache"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/grantjenks/python-diskcache/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz"
|
||||||
|
S=${WORKDIR}/python-diskcache-${PV}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# remove dep on pytest-xdist and pytest-cov
|
||||||
|
sed -i -e '/-n auto/d' -e '/--cov/d' tox.ini || die
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local ignore=(
|
||||||
|
# django tests don't work with django-3.2, and django-3.1
|
||||||
|
# doesn't work with py3.10
|
||||||
|
tests/test_djangocache.py
|
||||||
|
tests/test_doctest.py
|
||||||
|
README.rst
|
||||||
|
)
|
||||||
|
epytest ${ignore[@]/#/--ignore }
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST pyls-spyder-0.3.2-gh.tar.gz 8781 BLAKE2B ac24e0433c2e5ba43274d6266bc7532e7a1f1b0c3c34b9acfe10e5c7d789937536e81c4b19f96090f32d34c932529c0f4c23b49d2b01e7a0b628f8c2dd6f7611 SHA512 c08910ebaf161ceb712f273f054add1f3a202684b001d8d95650555bd67fa5675b3fef9e3d62d0d1b9da0f5adfeae9ff0fbfee44e4362856550d77582dbc6e95
|
|
||||||
DIST pyls-spyder-0.4.0-gh.tar.gz 8854 BLAKE2B d14a78be98c1db0a37a2fffe2e6bd8955687a95af8524c852d434e57cdd157dda8f5ecceb19ad34527dedede4497c59fb7949a709d266803c2d8cd67c60380ce SHA512 5a9d6667cb85434ec41a176e097d20c78751d5f3879d4d361e097da214b54b37fbef97d95a763a58d7f5e3c148215672e769091814f06a34139c6625cdae3f9f
|
DIST pyls-spyder-0.4.0-gh.tar.gz 8854 BLAKE2B d14a78be98c1db0a37a2fffe2e6bd8955687a95af8524c852d434e57cdd157dda8f5ecceb19ad34527dedede4497c59fb7949a709d266803c2d8cd67c60380ce SHA512 5a9d6667cb85434ec41a176e097d20c78751d5f3879d4d361e097da214b54b37fbef97d95a763a58d7f5e3c148215672e769091814f06a34139c6625cdae3f9f
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Spyder extensions for the python language server"
|
|
||||||
HOMEPAGE="https://github.com/spyder-ide/pyls-spyder
|
|
||||||
https://pypi.org/project/pyls-spyder/"
|
|
||||||
SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}-gh.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/python-language-server-0.36.2[${PYTHON_USEDEP}]"
|
|
||||||
BDEPEND="test? ( dev-python/mock )"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
@ -0,0 +1 @@
|
|||||||
|
DIST sphinx_ansible_theme-0.6.0.tar.gz 37606 BLAKE2B 3b27d15133e167602ce9515fb630ed9ecb0b0d346450417900e616476fa80aa216c033741121f82289d9e5bf977e01395663e5f61c4682576e8b773c17af2723 SHA512 d134a9e6eab0cab8e60c251a69e7b3dfa2864e5e19d65ce2e8b565a601e4b5255536f6b69ac17952ebd14929471a487200fc97c9c5e1f3f8232daf8e4ed63cef
|
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>marecki@gentoo.org</email>
|
||||||
|
<name>Marek Szuba</name>
|
||||||
|
</maintainer>
|
||||||
|
<stabilize-allarches/>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">ansible-community/sphinx_ansible_theme</remote-id>
|
||||||
|
<remote-id type="pypi">sphinx-ansible-theme</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A reusable Ansible Sphinx theme"
|
||||||
|
HOMEPAGE="https://github.com/ansible-community/sphinx_ansible_theme"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND="dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]"
|
||||||
|
BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||||
|
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]"
|
@ -1 +0,0 @@
|
|||||||
DIST sphinxcontrib-httpdomain-1.7.0.tar.gz 37493 BLAKE2B e34682029ed2f59cb8c70b2a5270a2f89c4cb08179fdf3a53c65f1ad23eebba71bff5385b5d3fd971a6e3341457b253e4187632a8bf856ca208843938bbde056 SHA512 8c6e40dfaa29a552164078fbc96de578b2aac269cb0ce5e228293a85f87c4db4ef8c902868caccaca709df938d4e3917cc77b3da9bd889b9c6f8c6fa242dcc0d
|
|
@ -1,13 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>python@gentoo.org</email>
|
|
||||||
<name>Python</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="pypi">sphinxcontrib-httpdomain</remote-id>
|
|
||||||
<remote-id type="github">sphinx-contrib/httpdomain</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Extension providing a Sphinx domain for describing RESTful HTTP APIs"
|
|
||||||
HOMEPAGE="https://github.com/sphinx-contrib/httpdomain
|
|
||||||
https://sphinxcontrib-httpdomain.readthedocs.io/"
|
|
||||||
SRC_URI="https://github.com/sphinx-contrib/httpdomain/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN#sphinxcontrib-}-${PV}"
|
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
||||||
dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/six[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/bottle[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
find "${ED}" -name '*.pth' -delete || die
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
DIST sphinxcontrib-httpexample-0.10.3.tar.gz 30489 BLAKE2B 1100f28398d0d23559fb7ebea8263be5da6f2db09e9d5f48513d80d2cd580d2ff436df84b532eba8fb0c30eb3787a86f57f75750aeb0857b52af09885ba9a124 SHA512 de776f20e566a5b2ec4fcbad82d2ac39988ccf651a14d38d353dfd9cda7c15289acbb41db56df9189e42c2637bfd70fd4915d19d4ee718ddd4de476ddc34151f
|
|
@ -1,19 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>chutzpah@gentoo.org</email>
|
|
||||||
<name>Patrick McLean</name>
|
|
||||||
</maintainer>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>williamh@gentoo.org</email>
|
|
||||||
<name>William Hubbs</name>
|
|
||||||
</maintainer>
|
|
||||||
<maintainer type="person" proxied="yes">
|
|
||||||
<email>vpayno+gentoo@gmail.com</email>
|
|
||||||
<name>Victor Payno</name>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="pypi">sphinxcontrib-httpexample</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Adds example directive for sphinx-contrib httpdomain"
|
|
||||||
HOMEPAGE="https://github.com/collective/sphinxcontrib-httpexample"
|
|
||||||
SRC_URI="https://github.com/collective/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/astunparse[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinxcontrib-httpdomain[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="${RDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-python/snapshottest[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx-testing[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
sed -e "s:pytest-runner::" -i setup.cfg || die
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
pytest -vv || die "tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
Binary file not shown.
@ -1,4 +1,3 @@
|
|||||||
DIST qtwebengine-5.15.2-chromium87-ppc64le.tar.xz 28536 BLAKE2B 98f8e01e7026d9df1d30ae453d4394d3c4ad04c0620a2496235d45f5f1080c2280e040826cde7f72d9771bfc80d0c3df56c9dcbe4f763cec432ad56de37d64c5 SHA512 c90a76f44a9d720624016fd082ab3036f12e13b9789e869ebaf5e4774afca7d4187faf187f365f696d1a7eda05ca75516556ee9d291cdb3408d57cc4b23e2654
|
DIST qtwebengine-5.15.2-chromium87-ppc64le.tar.xz 28536 BLAKE2B 98f8e01e7026d9df1d30ae453d4394d3c4ad04c0620a2496235d45f5f1080c2280e040826cde7f72d9771bfc80d0c3df56c9dcbe4f763cec432ad56de37d64c5 SHA512 c90a76f44a9d720624016fd082ab3036f12e13b9789e869ebaf5e4774afca7d4187faf187f365f696d1a7eda05ca75516556ee9d291cdb3408d57cc4b23e2654
|
||||||
DIST qtwebengine-5.15.2_p20210224.tar.xz 320052028 BLAKE2B a1ebaae7cf114041576f4920de1e484bea70c715a470e83e7c47bd8ff95480fc4e408bba173990480732bd464a9eb07d304f4afdb90d943c0a8cbe1e8299df84 SHA512 939292511703f3a6d758d38f1c860ffacd003be65761b19f23e8817bf1121cb9e6351216f737126d8defb1c97ca877e1c6f352e7cfee8e9289274d0793348b51
|
|
||||||
DIST qtwebengine-5.15.2_p20210421.tar.xz 320142308 BLAKE2B 1ed6e3daad8e8da7336c1575f524f1474eb043a44a86eebdc2375e9a01dbb21a4bf622b01525c627ff5846bb375b19617ca78f418749d6e4ce53b376da0b8317 SHA512 3a57cc8eb1aab086ae2ef69b1b1eaac47827d1f460ff53d5954b0dcb6753cc0e5fb24db490ea186141e6659e26a59862e8096126450a9fde6ed1230c00e4ceaa
|
DIST qtwebengine-5.15.2_p20210421.tar.xz 320142308 BLAKE2B 1ed6e3daad8e8da7336c1575f524f1474eb043a44a86eebdc2375e9a01dbb21a4bf622b01525c627ff5846bb375b19617ca78f418749d6e4ce53b376da0b8317 SHA512 3a57cc8eb1aab086ae2ef69b1b1eaac47827d1f460ff53d5954b0dcb6753cc0e5fb24db490ea186141e6659e26a59862e8096126450a9fde6ed1230c00e4ceaa
|
||||||
DIST qtwebengine-5.15.2_p20210521.tar.xz 320126348 BLAKE2B 49a910d19487a720bca751d40bb694536d2ac7002b10de5b949b9bb98baf5f86001e89f522bb05edafc5c050a55f7ac15b6689138cff0912990472735a46bfbc SHA512 f71941667abd1a797442dedb501010cb67512e2df9a818b15ff8901a49987211bddcba80e7cc2a4652db9bf56fc9d969e8fa38de1f3ad112838a1a9c9facde8f
|
DIST qtwebengine-5.15.2_p20210521.tar.xz 320126348 BLAKE2B 49a910d19487a720bca751d40bb694536d2ac7002b10de5b949b9bb98baf5f86001e89f522bb05edafc5c050a55f7ac15b6689138cff0912990472735a46bfbc SHA512 f71941667abd1a797442dedb501010cb67512e2df9a818b15ff8901a49987211bddcba80e7cc2a4652db9bf56fc9d969e8fa38de1f3ad112838a1a9c9facde8f
|
||||||
|
@ -1,135 +0,0 @@
|
|||||||
From 199ea00a9eea13315a652c62778738629185b059 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
||||||
Date: Wed, 10 Mar 2021 17:14:27 +0100
|
|
||||||
Subject: Fix normalization of app locales
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
Use the internal Chromium routine to get the app locale Chromium
|
|
||||||
expects.
|
|
||||||
|
|
||||||
Fixes: QTBUG-91715
|
|
||||||
Change-Id: I5042eb066cb6879ad69628959912f2841867b4e8
|
|
||||||
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
||||||
---
|
|
||||||
src/core/content_browser_client_qt.cpp | 7 ++++++-
|
|
||||||
src/core/content_browser_client_qt.h | 2 ++
|
|
||||||
src/core/web_engine_library_info.cpp | 18 ++++++++--------
|
|
||||||
.../widgets/qwebengineview/tst_qwebengineview.cpp | 24 ++++++++++++++++++++++
|
|
||||||
4 files changed, 40 insertions(+), 11 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp
|
|
||||||
index e13ecd8d1..c2c78ff8b 100644
|
|
||||||
--- a/src/core/content_browser_client_qt.cpp
|
|
||||||
+++ b/src/core/content_browser_client_qt.cpp
|
|
||||||
@@ -471,7 +471,12 @@ std::unique_ptr<net::ClientCertStore> ContentBrowserClientQt::CreateClientCertSt
|
|
||||||
|
|
||||||
std::string ContentBrowserClientQt::GetApplicationLocale()
|
|
||||||
{
|
|
||||||
- return WebEngineLibraryInfo::getApplicationLocale();
|
|
||||||
+ std::string bcp47Name = QLocale().bcp47Name().toStdString();
|
|
||||||
+ if (m_cachedQtLocale != bcp47Name) {
|
|
||||||
+ m_cachedQtLocale = bcp47Name;
|
|
||||||
+ m_appLocale = WebEngineLibraryInfo::getApplicationLocale();
|
|
||||||
+ }
|
|
||||||
+ return m_appLocale;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ContentBrowserClientQt::GetAcceptLangs(content::BrowserContext *context)
|
|
||||||
diff --git a/src/core/content_browser_client_qt.h b/src/core/content_browser_client_qt.h
|
|
||||||
index 7c8aa3ac9..1ccd2926d 100644
|
|
||||||
--- a/src/core/content_browser_client_qt.h
|
|
||||||
+++ b/src/core/content_browser_client_qt.h
|
|
||||||
@@ -269,6 +269,8 @@ public:
|
|
||||||
|
|
||||||
private:
|
|
||||||
scoped_refptr<ShareGroupQtQuick> m_shareGroupQtQuick;
|
|
||||||
+ std::string m_appLocale;
|
|
||||||
+ std::string m_cachedQtLocale;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace QtWebEngineCore
|
|
||||||
diff --git a/src/core/web_engine_library_info.cpp b/src/core/web_engine_library_info.cpp
|
|
||||||
index 2ad5b7565..09a4141b0 100644
|
|
||||||
--- a/src/core/web_engine_library_info.cpp
|
|
||||||
+++ b/src/core/web_engine_library_info.cpp
|
|
||||||
@@ -46,6 +46,7 @@
|
|
||||||
#include "components/spellcheck/spellcheck_buildflags.h"
|
|
||||||
#include "content/public/common/content_paths.h"
|
|
||||||
#include "sandbox/policy/switches.h"
|
|
||||||
+#include "ui/base/l10n/l10n_util.h"
|
|
||||||
#include "ui/base/ui_base_paths.h"
|
|
||||||
#include "ui/base/ui_base_switches.h"
|
|
||||||
|
|
||||||
@@ -353,18 +354,15 @@ base::string16 WebEngineLibraryInfo::getApplicationName()
|
|
||||||
std::string WebEngineLibraryInfo::getApplicationLocale()
|
|
||||||
{
|
|
||||||
base::CommandLine *parsedCommandLine = base::CommandLine::ForCurrentProcess();
|
|
||||||
- if (!parsedCommandLine->HasSwitch(switches::kLang)) {
|
|
||||||
+ if (parsedCommandLine->HasSwitch(switches::kLang)) {
|
|
||||||
+ return parsedCommandLine->GetSwitchValueASCII(switches::kLang);
|
|
||||||
+ } else {
|
|
||||||
const QString &locale = QLocale().bcp47Name();
|
|
||||||
-
|
|
||||||
- // QLocale::bcp47Name returns "en" for American English locale. Chromium requires the "US" suffix
|
|
||||||
- // to clarify the dialect and ignores the shorter version.
|
|
||||||
- if (locale == "en")
|
|
||||||
- return "en-US";
|
|
||||||
-
|
|
||||||
- return locale.toStdString();
|
|
||||||
+ std::string resolvedLocale;
|
|
||||||
+ if (l10n_util::CheckAndResolveLocale(locale.toStdString(), &resolvedLocale))
|
|
||||||
+ return resolvedLocale;
|
|
||||||
}
|
|
||||||
-
|
|
||||||
- return parsedCommandLine->GetSwitchValueASCII(switches::kLang);
|
|
||||||
+ return "en-US";
|
|
||||||
}
|
|
||||||
|
|
||||||
#if defined(OS_WIN)
|
|
||||||
diff --git a/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp b/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp
|
|
||||||
index 021986381..bf2c28ae6 100644
|
|
||||||
--- a/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp
|
|
||||||
+++ b/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp
|
|
||||||
@@ -123,6 +123,7 @@ private Q_SLOTS:
|
|
||||||
void doNotBreakLayout();
|
|
||||||
|
|
||||||
void changeLocale();
|
|
||||||
+ void mixLangLocale();
|
|
||||||
void inputMethodsTextFormat_data();
|
|
||||||
void inputMethodsTextFormat();
|
|
||||||
void keyboardEvents();
|
|
||||||
@@ -1210,6 +1211,29 @@ void tst_QWebEngineView::changeLocale()
|
|
||||||
QCOMPARE(errorLines.first().toUtf8(), QByteArrayLiteral("Die Website ist nicht erreichbar"));
|
|
||||||
}
|
|
||||||
|
|
||||||
+void tst_QWebEngineView::mixLangLocale()
|
|
||||||
+{
|
|
||||||
+ for (QString locale : { "en_DK", "de_CH", "eu_ES" }) {
|
|
||||||
+ QLocale::setDefault(locale);
|
|
||||||
+ QWebEngineView view;
|
|
||||||
+ QSignalSpy loadSpy(&view, &QWebEngineView::loadFinished);
|
|
||||||
+
|
|
||||||
+ bool terminated = false;
|
|
||||||
+ auto sc = connect(view.page(), &QWebEnginePage::renderProcessTerminated, [&] () { terminated = true; });
|
|
||||||
+
|
|
||||||
+ view.load(QUrl("qrc:///resources/dummy.html"));
|
|
||||||
+ QTRY_VERIFY(terminated || loadSpy.count() == 1);
|
|
||||||
+
|
|
||||||
+ QVERIFY2(!terminated,
|
|
||||||
+ qPrintable(QString("Locale [%1] terminated: %2, loaded: %3").arg(locale).arg(terminated).arg(loadSpy.count())));
|
|
||||||
+ QVERIFY(loadSpy.first().first().toBool());
|
|
||||||
+
|
|
||||||
+ QString content = toPlainTextSync(view.page());
|
|
||||||
+ QVERIFY2(!content.isEmpty() && content.contains("test content"), qPrintable(content));
|
|
||||||
+ }
|
|
||||||
+ QLocale::setDefault(QLocale("en"));
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
void tst_QWebEngineView::inputMethodsTextFormat_data()
|
|
||||||
{
|
|
||||||
QTest::addColumn<QString>("string");
|
|
||||||
--
|
|
||||||
cgit v1.2.1
|
|
||||||
|
|
@ -1,189 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
QTVER=$(ver_cut 1-3)
|
|
||||||
inherit multiprocessing python-any-r1 qt5-build
|
|
||||||
|
|
||||||
DESCRIPTION="Library for rendering dynamic web content in Qt5 C++ and QML applications"
|
|
||||||
|
|
||||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
|
||||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
|
|
||||||
if [[ ${PV} == ${QTVER}_p* ]]; then
|
|
||||||
SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz"
|
|
||||||
S="${WORKDIR}/${P}"
|
|
||||||
QT5_BUILD_DIR="${S}_build"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# patchset based on https://github.com/chromium-ppc64le releases
|
|
||||||
SRC_URI+=" ppc64? ( https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-5.15.2-chromium87-ppc64le.tar.xz )"
|
|
||||||
|
|
||||||
IUSE="alsa bindist designer geolocation +jumbo-build kerberos pulseaudio +system-ffmpeg +system-icu widgets"
|
|
||||||
REQUIRED_USE="designer? ( widgets )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-arch/snappy:=
|
|
||||||
dev-libs/glib:2
|
|
||||||
dev-libs/nspr
|
|
||||||
dev-libs/nss
|
|
||||||
dev-libs/expat
|
|
||||||
dev-libs/libevent:=
|
|
||||||
dev-libs/libxml2[icu]
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-libs/re2:=
|
|
||||||
~dev-qt/qtcore-${QTVER}
|
|
||||||
~dev-qt/qtdeclarative-${QTVER}
|
|
||||||
~dev-qt/qtgui-${QTVER}
|
|
||||||
~dev-qt/qtnetwork-${QTVER}
|
|
||||||
~dev-qt/qtprintsupport-${QTVER}
|
|
||||||
~dev-qt/qtwebchannel-${QTVER}[qml]
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype
|
|
||||||
media-libs/harfbuzz:=
|
|
||||||
media-libs/lcms:2
|
|
||||||
media-libs/libjpeg-turbo:=
|
|
||||||
media-libs/libpng:0=
|
|
||||||
>=media-libs/libvpx-1.5:=[svc(+)]
|
|
||||||
media-libs/libwebp:=
|
|
||||||
media-libs/mesa[egl,X(+)]
|
|
||||||
media-libs/opus
|
|
||||||
sys-apps/dbus
|
|
||||||
sys-apps/pciutils
|
|
||||||
sys-libs/zlib[minizip]
|
|
||||||
virtual/libudev
|
|
||||||
x11-libs/libdrm
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXcomposite
|
|
||||||
x11-libs/libXcursor
|
|
||||||
x11-libs/libXdamage
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXi
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXrender
|
|
||||||
x11-libs/libXScrnSaver
|
|
||||||
x11-libs/libXtst
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
designer? ( ~dev-qt/designer-${QTVER} )
|
|
||||||
geolocation? ( ~dev-qt/qtpositioning-${QTVER} )
|
|
||||||
kerberos? ( virtual/krb5 )
|
|
||||||
pulseaudio? ( media-sound/pulseaudio:= )
|
|
||||||
system-ffmpeg? ( media-video/ffmpeg:0= )
|
|
||||||
system-icu? ( >=dev-libs/icu-68.2:= )
|
|
||||||
widgets? (
|
|
||||||
~dev-qt/qtdeclarative-${QTVER}[widgets]
|
|
||||||
~dev-qt/qtwidgets-${QTVER}
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
>=app-arch/gzip-1.7
|
|
||||||
dev-util/gperf
|
|
||||||
dev-util/ninja
|
|
||||||
dev-util/re2c
|
|
||||||
net-libs/nodejs
|
|
||||||
sys-devel/bison
|
|
||||||
ppc64? ( >=dev-util/gn-0.1807 )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-5.15.0-disable-fatal-warnings.patch" # bug 695446
|
|
||||||
"${FILESDIR}/${P}-fix-crash-w-app-locales.patch" # bug 773919, QTBUG-91715
|
|
||||||
"${FILESDIR}/${P}-chromium-87-v8-icu68.patch" # downstream, bug 757606
|
|
||||||
"${FILESDIR}/${P}-disable-git.patch" # downstream snapshot fix
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV} == ${QTVER}_p* ]]; then
|
|
||||||
# This is made from git, and for some reason will fail w/o .git directories.
|
|
||||||
mkdir -p .git src/3rdparty/chromium/.git || die
|
|
||||||
|
|
||||||
# We need to make sure this integrates well into Qt 5.15.2 installation.
|
|
||||||
# Otherwise revdeps fail w/o heavy changes. This is the simplest way to do it.
|
|
||||||
sed -e "/^MODULE_VERSION/s/5.*/${QTVER}/" -i .qmake.conf || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# QTBUG-88657 - jumbo-build could still make trouble
|
|
||||||
if ! use jumbo-build; then
|
|
||||||
sed -i -e 's|use_jumbo_build=true|use_jumbo_build=false|' \
|
|
||||||
src/buildtools/config/common.pri || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# bug 630834 - pass appropriate options to ninja when building GN
|
|
||||||
sed -e "s/\['ninja'/&, '-j$(makeopts_jobs)', '-l$(makeopts_loadavg "${MAKEOPTS}" 0)', '-v'/" \
|
|
||||||
-i src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py || die
|
|
||||||
|
|
||||||
# bug 620444 - ensure local headers are used
|
|
||||||
find "${S}" -type f -name "*.pr[fio]" | \
|
|
||||||
xargs sed -i -e 's|INCLUDEPATH += |&$${QTWEBENGINE_ROOT}_build/include $${QTWEBENGINE_ROOT}/include |' || die
|
|
||||||
|
|
||||||
if use system-icu; then
|
|
||||||
# Sanity check to ensure that bundled copy of ICU is not used.
|
|
||||||
# Whole src/3rdparty/chromium/third_party/icu directory cannot be deleted because
|
|
||||||
# src/3rdparty/chromium/third_party/icu/BUILD.gn is used by build system.
|
|
||||||
# If usage of headers of bundled copy of ICU occurs, then lists of shim headers in
|
|
||||||
# shim_headers("icui18n_shim") and shim_headers("icuuc_shim") in
|
|
||||||
# src/3rdparty/chromium/third_party/icu/BUILD.gn should be updated.
|
|
||||||
local file
|
|
||||||
while read file; do
|
|
||||||
echo "#error This file should not be used!" > "${file}" || die
|
|
||||||
done < <(find src/3rdparty/chromium/third_party/icu -type f "(" -name "*.c" -o -name "*.cpp" -o -name "*.h" ")" 2>/dev/null)
|
|
||||||
fi
|
|
||||||
|
|
||||||
qt_use_disable_config alsa webengine-alsa src/buildtools/config/linux.pri
|
|
||||||
qt_use_disable_config pulseaudio webengine-pulseaudio src/buildtools/config/linux.pri
|
|
||||||
|
|
||||||
qt_use_disable_mod designer webenginewidgets src/plugins/plugins.pro
|
|
||||||
|
|
||||||
qt_use_disable_mod widgets widgets src/src.pro
|
|
||||||
|
|
||||||
qt5-build_src_prepare
|
|
||||||
|
|
||||||
# we need to generate ppc64 stuff because upstream does not ship it yet
|
|
||||||
if use ppc64; then
|
|
||||||
einfo "Patching for ppc64le and generating build files"
|
|
||||||
eapply "${FILESDIR}/qtwebengine-5.15.2-enable-ppc64.patch"
|
|
||||||
pushd src/3rdparty/chromium > /dev/null || die
|
|
||||||
eapply -p0 "${WORKDIR}/${PN}-ppc64le"
|
|
||||||
popd > /dev/null || die
|
|
||||||
pushd src/3rdparty/chromium/third_party/libvpx > /dev/null || die
|
|
||||||
mkdir -vp source/config/linux/ppc64 || die
|
|
||||||
mkdir -p source/libvpx/test || die
|
|
||||||
touch source/libvpx/test/test.mk || die
|
|
||||||
./generate_gni.sh || die
|
|
||||||
popd >/dev/null || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
export NINJA_PATH=/usr/bin/ninja
|
|
||||||
export NINJAFLAGS="${NINJAFLAGS:--j$(makeopts_jobs) -l$(makeopts_loadavg "${MAKEOPTS}" 0) -v}"
|
|
||||||
|
|
||||||
local myqmakeargs=(
|
|
||||||
--
|
|
||||||
-no-build-qtpdf
|
|
||||||
-printing-and-pdf
|
|
||||||
-system-opus
|
|
||||||
-system-webp
|
|
||||||
$(usex alsa '-alsa' '-no-alsa')
|
|
||||||
$(usex bindist '-no-proprietary-codecs' '-proprietary-codecs')
|
|
||||||
$(usex geolocation '-webengine-geolocation' '-no-webengine-geolocation')
|
|
||||||
$(usex kerberos '-webengine-kerberos' '-no-webengine-kerberos')
|
|
||||||
$(usex pulseaudio '-pulseaudio' '-no-pulseaudio')
|
|
||||||
$(usex system-ffmpeg '-system-ffmpeg' '-qt-ffmpeg')
|
|
||||||
$(usex system-icu '-webengine-icu' '-no-webengine-icu')
|
|
||||||
)
|
|
||||||
qt5-build_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
qt5-build_src_install
|
|
||||||
|
|
||||||
# bug 601472
|
|
||||||
if [[ ! -f ${D}${QT5_LIBDIR}/libQt5WebEngine.so ]]; then
|
|
||||||
die "${CATEGORY}/${PF} failed to build anything. Please report to https://bugs.gentoo.org/"
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST gnome-shell-extension-control-blur-effect-on-lock-screen-20201211.tar.gz 15576 BLAKE2B 142cfb895f9adf2163e36a6005e222897c18e5ca347a9e6958664226abe9f4a6dd1a616b917ccee9531d3f1c27a3e8981a1d3335795543b782736a61b115fe67 SHA512 87efd0e222ba5676caabdff5fdb365e4f769ee4ca15a4718739934b40c3616c031283a1c3883d65dfc75ea59fdb63a9eaf3522465740602f987a136de688b19f
|
DIST gnome-shell-extension-control-blur-effect-on-lock-screen-20201211.tar.gz 15576 BLAKE2B 142cfb895f9adf2163e36a6005e222897c18e5ca347a9e6958664226abe9f4a6dd1a616b917ccee9531d3f1c27a3e8981a1d3335795543b782736a61b115fe67 SHA512 87efd0e222ba5676caabdff5fdb365e4f769ee4ca15a4718739934b40c3616c031283a1c3883d65dfc75ea59fdb63a9eaf3522465740602f987a136de688b19f
|
||||||
|
DIST gnome-shell-extension-control-blur-effect-on-lock-screen-20210430.tar.gz 14854 BLAKE2B 20f1863c14fd1f578e50fdb7d818f7fc03c60833f8129b0300a467f201788b69dc0d405eaa637bc933a3ea69ce480acbadf6dd7ad7d7f4395b814cc53665a1e3 SHA512 64ff64d88a9127d981bc9a2e58fa12d04be723aedc29e172784cdd977bab4828cc6c52a293f11216f6f034e43cef025f83c71ec3cb2ae93d6e90ed77b565c7a5
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue