Sync with portage [Fri Apr 30 20:41:52 MSK 2021].
This commit is contained in:
parent
ad3969e749
commit
f00e9bccfc
432 changed files with 3549 additions and 3208 deletions
Binary file not shown.
Binary file not shown.
|
@ -11,7 +11,7 @@ SRC_URI="http://entrproject.org/code/${P}.tar.gz"
|
|||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -11,13 +11,11 @@ SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
|
|||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux"
|
||||
IUSE="ipv6 libressl pam ssl"
|
||||
IUSE="ipv6 pam ssl"
|
||||
|
||||
RDEPEND="
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
pam? ( sys-libs/pam )"
|
||||
BDEPEND="
|
||||
|
|
|
@ -11,13 +11,10 @@ SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
|
|||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux"
|
||||
IUSE="ipv6 libressl pam ssl"
|
||||
IUSE="ipv6 pam ssl"
|
||||
|
||||
RDEPEND="
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
ssl? ( dev-libs/openssl:0= )"
|
||||
DEPEND="${RDEPEND}
|
||||
pam? ( sys-libs/pam )"
|
||||
BDEPEND="
|
||||
|
|
|
@ -11,13 +11,11 @@ SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
|
|||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
|
||||
IUSE="ipv6 libressl pam ssl"
|
||||
IUSE="ipv6 pam ssl"
|
||||
|
||||
RDEPEND="
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
pam? ( sys-libs/pam )"
|
||||
BDEPEND="
|
||||
|
|
|
@ -15,7 +15,7 @@ SRC_URI="https://github.com/pwsafe/pwsafe/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
|
|||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="libressl qr test +xml yubikey"
|
||||
IUSE="qr test +xml yubikey"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
|
@ -25,8 +25,7 @@ DEPEND="
|
|||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X]
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
dev-libs/openssl:0=
|
||||
qr? ( media-gfx/qrencode )
|
||||
xml? ( dev-libs/xerces-c )
|
||||
yubikey? ( sys-auth/ykpers )"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -14,7 +14,7 @@ SRC_URI="https://github.com/balabit/syslog-ng/releases/download/${P}/${P}.tar.gz
|
|||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="amqp caps dbi geoip2 http ipv6 json kafka libressl mongodb pacct python redis smtp snmp test spoof-source systemd tcpd"
|
||||
IUSE="amqp caps dbi geoip2 http ipv6 json kafka mongodb pacct python redis smtp snmp test spoof-source systemd tcpd"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
@ -38,8 +38,7 @@ RDEPEND="
|
|||
spoof-source? ( net-libs/libnet:1.1= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
dev-libs/openssl:0="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/criterion )"
|
||||
BDEPEND="
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -14,7 +14,7 @@ SRC_URI="https://github.com/balabit/syslog-ng/releases/download/${P}/${P}.tar.gz
|
|||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="amqp caps dbi geoip2 http ipv6 json kafka libressl mongodb pacct python redis smtp snmp test spoof-source systemd tcpd"
|
||||
IUSE="amqp caps dbi geoip2 http ipv6 json kafka mongodb pacct python redis smtp snmp test spoof-source systemd tcpd"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
@ -38,8 +38,7 @@ RDEPEND="
|
|||
spoof-source? ( net-libs/libnet:1.1= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
dev-libs/openssl:0="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/criterion )"
|
||||
BDEPEND="
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -14,7 +14,7 @@ SRC_URI="https://github.com/balabit/syslog-ng/releases/download/${P}/${P}.tar.gz
|
|||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="amqp caps dbi geoip2 http ipv6 json kafka libressl mongodb pacct python redis smtp snmp test spoof-source systemd tcpd"
|
||||
IUSE="amqp caps dbi geoip2 http ipv6 json kafka mongodb pacct python redis smtp snmp test spoof-source systemd tcpd"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
@ -38,8 +38,7 @@ RDEPEND="
|
|||
spoof-source? ( net-libs/libnet:1.1= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
dev-libs/openssl:0="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/criterion )"
|
||||
BDEPEND="
|
||||
|
|
|
@ -14,7 +14,7 @@ SRC_URI="https://github.com/balabit/syslog-ng/releases/download/${P}/${P}.tar.gz
|
|||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="amqp caps dbi geoip2 http ipv6 json kafka libressl mongodb pacct python redis smtp snmp test spoof-source systemd tcpd"
|
||||
IUSE="amqp caps dbi geoip2 http ipv6 json kafka mongodb pacct python redis smtp snmp test spoof-source systemd tcpd"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
@ -38,8 +38,7 @@ RDEPEND="
|
|||
spoof-source? ( net-libs/libnet:1.1= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
dev-libs/openssl:0="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/criterion )"
|
||||
BDEPEND="
|
||||
|
|
|
@ -14,7 +14,7 @@ SRC_URI="https://github.com/balabit/syslog-ng/releases/download/${P}/${P}.tar.gz
|
|||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="amqp caps dbi geoip2 http ipv6 json kafka libressl mongodb pacct python redis smtp snmp test spoof-source systemd tcpd"
|
||||
IUSE="amqp caps dbi geoip2 http ipv6 json kafka mongodb pacct python redis smtp snmp test spoof-source systemd tcpd"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
@ -38,8 +38,7 @@ RDEPEND="
|
|||
spoof-source? ( net-libs/libnet:1.1= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
dev-libs/openssl:0="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/criterion )"
|
||||
BDEPEND="
|
||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
@ -12,12 +12,11 @@ SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.xz"
|
|||
LICENSE="BSD-2"
|
||||
SLOT="0/0.1"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="libressl static-libs test"
|
||||
IUSE="static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
|
||||
libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
|
||||
dev-libs/openssl:0=[${MULTILIB_USEDEP}]
|
||||
dev-libs/hidapi[${MULTILIB_USEDEP}]
|
||||
dev-libs/json-c:=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
|
|
Binary file not shown.
|
@ -21,7 +21,7 @@ LICENSE="GPL-2 dtrace? ( CDDL )"
|
|||
SLOT="0/$(ver_cut 1-2)"
|
||||
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
|
||||
KEYWORDS="amd64"
|
||||
IUSE="alsa debug doc dtrace headless java libressl lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
|
||||
IUSE="alsa debug doc dtrace headless java lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
|
||||
|
||||
CDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
|
@ -54,8 +54,7 @@ CDEPEND="
|
|||
x11-libs/libXinerama
|
||||
)
|
||||
)
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
dev-libs/openssl:0=
|
||||
lvm? ( sys-fs/lvm2 )
|
||||
opus? ( media-libs/opus )
|
||||
udev? ( >=virtual/udev-171 )
|
||||
|
|
|
@ -21,7 +21,7 @@ LICENSE="GPL-2 dtrace? ( CDDL )"
|
|||
SLOT="0/$(ver_cut 1-2)"
|
||||
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="alsa debug doc dtrace headless java libressl lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
|
||||
IUSE="alsa debug doc dtrace headless java lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
|
||||
|
||||
CDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
|
@ -54,8 +54,7 @@ CDEPEND="
|
|||
x11-libs/libXinerama
|
||||
)
|
||||
)
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
dev-libs/openssl:0=
|
||||
lvm? ( sys-fs/lvm2 )
|
||||
opus? ( media-libs/opus )
|
||||
udev? ( >=virtual/udev-171 )
|
||||
|
|
|
@ -21,7 +21,7 @@ LICENSE="GPL-2 dtrace? ( CDDL )"
|
|||
SLOT="0/$(ver_cut 1-2)"
|
||||
[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="alsa debug doc dtrace headless java libressl lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
|
||||
IUSE="alsa debug doc dtrace headless java lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
|
||||
|
||||
CDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
|
@ -54,8 +54,7 @@ CDEPEND="
|
|||
x11-libs/libXinerama
|
||||
)
|
||||
)
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
dev-libs/openssl:0=
|
||||
lvm? ( sys-fs/lvm2 )
|
||||
opus? ( media-libs/opus )
|
||||
udev? ( >=virtual/udev-171 )
|
||||
|
|
Binary file not shown.
|
@ -1 +1,2 @@
|
|||
DIST mysql++-3.2.5.tar.gz 4748218 BLAKE2B ffceddb360cf6f0f38b7647f68e52ad9b659642c598c2aab7736813bf61d07316900d843749c2f9f4c753bd2087711ca712cc430f12b3a475c63ae3e5b11aff7 SHA512 5fa042a350322fa74afa28dc5e53f15cad32517001ab817493bf0d13a64e6559712f5e61184ef38a97bc8fe69f8732aaf436bc5d1663e4873f8baebee2e00892
|
||||
DIST mysql++-3.3.0.tar.gz 4635623 BLAKE2B 0d5bb3dc7eeee92d10eb82b0537a7caff7faec2f330bb3081790b63544caa2e6967aaaf2adc8f68b9b0854da8f0374eda73d4ced50d77fbc119f83fec84376e3 SHA512 cd50f9edc9531b385d91d70aa292629dc7b839fd296f07db470f37c4748617c5c2dba647adf8965d70e2788e9264288d8ca941a6dcd8d08ff7d838e7947e6465
|
||||
|
|
60
dev-db/mysql++/mysql++-3.3.0.ebuild
Normal file
60
dev-db/mysql++/mysql++-3.3.0.ebuild
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit autotools libtool flag-o-matic
|
||||
|
||||
DESCRIPTION="C++ API interface to the MySQL database"
|
||||
HOMEPAGE="https://tangentsoft.net/mysql++/"
|
||||
SRC_URI="https://www.tangentsoft.net/mysqlpp/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="|| ( dev-db/mysql-connector-c dev-db/mariadb-connector-c )"
|
||||
DEPEND="${RDEPEND}"
|
||||
DOCS=( CREDITS.txt CONTRIBUTING.md doc/ssqls-pretty )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.2.1-gold.patch
|
||||
"${FILESDIR}"/${PN}-3.2.4-only-unit-tests.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Bug filed upstream about deprecated std::auto_ptr
|
||||
append-cxxflags $(test-flags-CXX -Wno-deprecated-declarations)
|
||||
# Bad symlink for libtool in the archive
|
||||
rm "${S}/ltmain.sh" || die
|
||||
|
||||
default
|
||||
|
||||
# we don't use eautoreconf to avoid dev-util/bakefile
|
||||
_elibtoolize --auto-ltdl --install --copy --force
|
||||
elibtoolize
|
||||
|
||||
# Current MySQL libraries are always with threads and slowly being removed
|
||||
sed -i -e "s/mysqlclient_r/mysqlclient/" "${S}/configure" || die
|
||||
rm "${S}/doc/"README-*-RPM.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--enable-thread-check
|
||||
--with-mysql="${EPREFIX}/usr"
|
||||
--with-mysql-lib="${EPREFIX}$(mysql_config --variable=pkglibdir)"
|
||||
--with-mysql-include="${EPREFIX}$(mysql_config --variable=pkgincludedir)"
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ONLY_UNIT_TESTS=1 "${S}"/dtest || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# install the docs and HTML pages
|
||||
use doc && dodoc -r doc/pdf/ doc/refman/ doc/userman/ doc/html/
|
||||
}
|
|
@ -4,3 +4,4 @@ DIST percona-toolkit-3.0.9.tar.gz 15197340 BLAKE2B 095d8c0b26853caa6d2515de1d8fb
|
|||
DIST percona-toolkit-3.1.0.tar.gz 18106856 BLAKE2B 4a08e70a03d80e86e2fd7ba4ac77be9568643faf46bb653ef9e18015b95d36936034369a8adf9de4e09d2ca6cd25a845b140d6dd2c41027597f08d74f328ad26 SHA512 6dd2de997fe9627897dad453277544142cbdcba41bf30de21ee10c292c671bc089df0e299a8e386af082511c57ac53621b8e11f4ae43e98ea41eeca0c76f652f
|
||||
DIST percona-toolkit-3.2.1.tar.gz 15521123 BLAKE2B 7f8222a2afe2c0700d8f965bb5f8d2ef99c1136b977454ef04133fa8dfeb0192c49552dfde90a2d4d69116c2ba7c4a998fc330f64546691982946624bf24efef SHA512 17fd9f10d2d5671c3ce75dfeba501b9c34b216844b8d8ceb03fadbfb6396cedb7b672d52af7a831739a417d6fcc5b538b4772ffdb9b55816d94fac87e88ba472
|
||||
DIST percona-toolkit-3.3.0.tar.gz 15342520 BLAKE2B fcafede75cf15ad61efe18eac057cedab11e570cc6a17d48345cd046638b6b1c89b8f233f26cd051301ea0d6bdd03996b4007fc09a84cd44464beb3ca7150b70 SHA512 87bb5bcccabf782eafc0e363f3a5d75e9e28d5edd9d4278df5f455c90207296dc9035f85311567bd210109a2796484010d8a11fa4d4a5bee09f228aedb6b3bb2
|
||||
DIST percona-toolkit-3.3.1.tar.gz 15348084 BLAKE2B 1bae3bc96144d23d51afca624b4ff4c7d5e118db857b5bf7721b8fa3fbc43e0ed87c52113e694e5defa0c70643a018ce1a7d2e437f097bac407344456f70ca1f SHA512 ee82613e15746820739042d34cf7cac0ba7e9f2825234ba39d7bfb8e0a52ab9b8d23ca47cb6a6afe2525c01f69fc81130a3be67b8a191c98d0d43e960a736cb0
|
||||
|
|
51
dev-db/percona-toolkit/percona-toolkit-3.3.1.ebuild
Normal file
51
dev-db/percona-toolkit/percona-toolkit-3.3.1.ebuild
Normal file
|
@ -0,0 +1,51 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Advanced command-line tools to perform a variety of MySQL and system tasks"
|
||||
HOMEPAGE="https://www.percona.com/software/mysql-tools/percona-toolkit"
|
||||
SRC_URI="https://www.percona.com/downloads/${PN}/${PV}/source/tarball/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 Artistic )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
# Package warrants IUSE doc
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="dev-perl/DBI
|
||||
dev-perl/DBD-mysql
|
||||
virtual/perl-Time-HiRes"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-perl/JSON
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/Role-Tiny
|
||||
virtual/perl-File-Path
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Time-Local
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-IO-Compress
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-Scalar-List-Utils
|
||||
dev-perl/TermReadKey"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker"
|
||||
|
||||
# Bug #501904 - CVE-2014-2029
|
||||
# sed -i -e '/^=item --\[no\]version-check/,/^default: yes/{/^default: yes/d}' bin/*
|
||||
# ^ is *-no-versioncheck.patch
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.0.7-no-versioncheck.patch
|
||||
"${FILESDIR}"/${PN}-3.0.10-slave-delay-fix.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s/=> 'percona-toolkit',/=> 'Percona::Toolkit',/g" \
|
||||
Makefile.PL || die
|
||||
}
|
|
@ -20,7 +20,7 @@ LICENSE="POSTGRESQL GPL-2"
|
|||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="https://www.postgresql.org/"
|
||||
|
||||
IUSE="debug doc icu kerberos kernel_linux ldap libressl nls pam perl
|
||||
IUSE="debug doc icu kerberos kernel_linux ldap nls pam perl
|
||||
python +readline selinux +server systemd ssl static-libs tcl
|
||||
threads uuid xml zlib"
|
||||
|
||||
|
@ -40,10 +40,7 @@ perl? ( >=dev-lang/perl-5.8:= )
|
|||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
server? ( systemd? ( sys-apps/systemd ) )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
|
|
|
@ -20,7 +20,7 @@ LICENSE="POSTGRESQL GPL-2"
|
|||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="https://www.postgresql.org/"
|
||||
|
||||
IUSE="debug doc icu kerberos kernel_linux ldap libressl llvm nls pam
|
||||
IUSE="debug doc icu kerberos kernel_linux ldap llvm nls pam
|
||||
perl python +readline selinux +server systemd ssl static-libs tcl
|
||||
threads uuid xml zlib"
|
||||
|
||||
|
@ -44,10 +44,7 @@ perl? ( >=dev-lang/perl-5.8:= )
|
|||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
server? ( systemd? ( sys-apps/systemd ) )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
|
|
|
@ -20,7 +20,7 @@ LICENSE="POSTGRESQL GPL-2"
|
|||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="https://www.postgresql.org/"
|
||||
|
||||
IUSE="debug doc icu kerberos kernel_linux ldap libressl llvm nls pam
|
||||
IUSE="debug doc icu kerberos kernel_linux ldap llvm nls pam
|
||||
perl python +readline selinux +server systemd ssl static-libs tcl
|
||||
threads uuid xml zlib"
|
||||
|
||||
|
@ -44,10 +44,7 @@ perl? ( >=dev-lang/perl-5.8:= )
|
|||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
server? ( systemd? ( sys-apps/systemd ) )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
|
|
|
@ -20,7 +20,7 @@ LICENSE="POSTGRESQL GPL-2"
|
|||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="https://www.postgresql.org/"
|
||||
|
||||
IUSE="debug doc icu kerberos kernel_linux ldap libressl llvm nls pam
|
||||
IUSE="debug doc icu kerberos kernel_linux ldap llvm nls pam
|
||||
perl python +readline selinux +server systemd ssl static-libs tcl
|
||||
threads uuid xml zlib"
|
||||
|
||||
|
@ -44,10 +44,7 @@ perl? ( >=dev-lang/perl-5.8:= )
|
|||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
server? ( systemd? ( sys-apps/systemd ) )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
|
|
|
@ -17,7 +17,7 @@ LICENSE="POSTGRESQL GPL-2"
|
|||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="https://www.postgresql.org/"
|
||||
|
||||
IUSE="debug doc kerberos kernel_linux ldap libressl nls pam perl
|
||||
IUSE="debug doc kerberos kernel_linux ldap nls pam perl
|
||||
-pg-legacytimestamp python +readline selinux +server systemd ssl
|
||||
static-libs tcl threads uuid xml zlib"
|
||||
|
||||
|
@ -35,10 +35,7 @@ pam? ( sys-libs/pam )
|
|||
perl? ( >=dev-lang/perl-5.8:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
|
|
|
@ -20,7 +20,7 @@ LICENSE="POSTGRESQL GPL-2"
|
|||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="https://www.postgresql.org/"
|
||||
|
||||
IUSE="debug doc kerberos kernel_linux ldap libressl nls pam perl
|
||||
IUSE="debug doc kerberos kernel_linux ldap nls pam perl
|
||||
-pg-legacytimestamp python +readline selinux +server systemd ssl
|
||||
static-libs tcl threads uuid xml zlib"
|
||||
|
||||
|
@ -38,10 +38,7 @@ pam? ( sys-libs/pam )
|
|||
perl? ( >=dev-lang/perl-5.8:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
server? ( systemd? ( sys-apps/systemd ) )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
|
|
|
@ -18,7 +18,7 @@ LICENSE="POSTGRESQL GPL-2"
|
|||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="https://www.postgresql.org/"
|
||||
|
||||
IUSE="debug icu kerberos kernel_linux ldap libressl llvm lz4
|
||||
IUSE="debug icu kerberos kernel_linux ldap llvm lz4
|
||||
nls pam perl python +readline selinux server systemd
|
||||
ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
|
@ -42,10 +42,7 @@ pam? ( sys-libs/pam )
|
|||
perl? ( >=dev-lang/perl-5.8:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
systemd? ( sys-apps/systemd )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
|
|
Binary file not shown.
|
@ -12,7 +12,7 @@ if [[ ${PV} == 9999* ]] ; then
|
|||
EGIT_REPO_URI="git://developer.intra2net.com/${PN}"
|
||||
else
|
||||
SRC_URI="https://www.intra2net.com/en/developer/${PN}/download/${MY_P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Userspace access to FTDI USB interface chips"
|
||||
|
|
Binary file not shown.
|
@ -4,6 +4,7 @@
|
|||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source test"
|
||||
MAVEN_ID="commons-digester:commons-digester:2.1"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
DIST htmlcleaner-2.13-src.zip 346998 BLAKE2B 883a2550b9ddc0f56d88b1a412b2d9f809e0bb53d56827104aad99f15b4fc5c7f6c88b37cd10dbea5d05e27bc650d93f038142c66ea97ab0bb1bcea810bb40c5 SHA512 bf9cc014688ebb20b0bafba82fc710f25c1db8c173dd3e9f742c31c64f127c3c89b29b151e64a3368b04d278733cce8828831f297834ca9b872a60951e0a2d47
|
||||
DIST htmlcleaner-2.24-src.zip 413806 BLAKE2B 26ac6d150607c3ee00a8afcf58fed313ac570178f84c52a0fe43b0d324e3b32bb60f63db9ae5f171e7a6a7517799c633f85abfeb64e3f7421d655842bb5a5610 SHA512 beb16e383b6d43d0dfd4697b919a30c1a74eea824976521475c458bdda6c5f0eb22f299eddae033cb190a2af4fafde7e7f2c8ab1378bd82f15842a3ca8ebaaff
|
||||
|
|
26
dev-java/htmlcleaner/files/htmlcleaner-2.24-fix-tests.patch
Normal file
26
dev-java/htmlcleaner/files/htmlcleaner-2.24-fix-tests.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
diff --git a/src/test/java/org/htmlcleaner/DomSerializerTest.java b/src/test/java/org/htmlcleaner/DomSerializerTest.java
|
||||
index b09c6d6..f4e83f0 100644
|
||||
--- a/src/test/java/org/htmlcleaner/DomSerializerTest.java
|
||||
+++ b/src/test/java/org/htmlcleaner/DomSerializerTest.java
|
||||
@@ -132,7 +132,7 @@ public class DomSerializerTest extends AbstractHtmlCleanerTest {
|
||||
+ "</html>";
|
||||
|
||||
final String expectedOutput =
|
||||
- "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n"
|
||||
+ "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
|
||||
+ "<html>\n" +
|
||||
" <head/>\n" +
|
||||
" <body>\n" +
|
||||
diff --git a/src/test/java/org/htmlcleaner/TraversalDomSerializerTest.java b/src/test/java/org/htmlcleaner/TraversalDomSerializerTest.java
|
||||
index 3e1d1e9..d406c40 100644
|
||||
--- a/src/test/java/org/htmlcleaner/TraversalDomSerializerTest.java
|
||||
+++ b/src/test/java/org/htmlcleaner/TraversalDomSerializerTest.java
|
||||
@@ -143,7 +143,7 @@ public class TraversalDomSerializerTest extends AbstractHtmlCleanerTest {
|
||||
+ "</html>";
|
||||
|
||||
final String expectedOutput =
|
||||
- "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n"
|
||||
+ "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
|
||||
+ "<html>\n" +
|
||||
" <head/>\n" +
|
||||
" <body>\n" +
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
|
@ -21,19 +21,26 @@ CDEPEND="dev-java/jdom:2"
|
|||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.5"
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-arch/unzip
|
||||
dev-java/ant-core:0
|
||||
test? ( dev-java/junit:4 )
|
||||
>=virtual/jdk-1.5"
|
||||
>=virtual/jdk-1.8:*"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/unzip"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_GENTOO_CLASSPATH="jdom-2"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-tests.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Don't require default.xml to be in the current directory.
|
||||
sed -i "s:\"default\.xml\":\"${JAVA_PKG_SHAREPATH}/default.xml\":g" \
|
||||
src/main/java/org/htmlcleaner/ConfigFileTagProvider.java || die
|
|
@ -1,14 +1,14 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Lots of small utilities for bndlib, a swiss army knife for OSGi"
|
||||
HOMEPAGE="http://www.aqute.biz/Bnd/Bnd"
|
||||
HOMEPAGE="https://bnd.bndtools.org/"
|
||||
SRC_URI="https://github.com/bndtools/bnd/archive/${PV}.REL.tar.gz -> bndlib-${PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
|
@ -22,14 +22,15 @@ KEYWORDS="amd64 ~ppc64 x86"
|
|||
# build biz.aquite.bndlib and biz.aqute.junit in this package.
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
S="${WORKDIR}/bnd-${PV}.REL/aQute.${PN}"
|
||||
|
||||
EANT_BUILD_TARGET="build"
|
||||
|
||||
java_prepare() {
|
||||
src_prepare() {
|
||||
default
|
||||
# Move the correct build.xml into place, needed for testing.
|
||||
cp ../cnf/build.xml . || die "Failed to move build file into the right place."
|
||||
|
|
@ -6,6 +6,3 @@ DIST swt-3.8.2-gtk-linux-x86.zip 5558694 BLAKE2B 8dd0ce9f2c6b8dc448c85a6c509f39e
|
|||
DIST swt-3.8.2-gtk-linux-x86_64.zip 5865160 BLAKE2B 45d60d334eb99f407cf9101a06f65e48543538a386103767700fb0af5ea0cf3da73eefe57b8cc6b3d78cb8f29345869f5474513648560395a69cbd4c9b8ee8a4 SHA512 43a27cb6fc891d7da35f5fcfc6ccb689d2b2c58de70b628b1e7cf07131f0641598b627eeedafb6a8dca715a336a7fb4fb6a03bb29fea3e115a4af571b1574cf8
|
||||
DIST swt-4.10-gtk-linux-ppc64le.zip 3848264 BLAKE2B 214861fde6987906fb24f3187936f3bcb49aebed54fe242427c3737bf6761e8f77d049c376f30ca0fc33e74a1e8a48b6aff6d9863775ee9c33fea7cb2edd1309 SHA512 1b3ede58c2b41abae76f58a303bd3fbf1849ba8be3fd6518325bc22400e960c3ab542e7351b1bc08053e2746ea3e28812e04c2d1789cb1e19ea28745c8a5f39a
|
||||
DIST swt-4.10-gtk-linux-x86_64.zip 3844306 BLAKE2B 0e0ed21708acce347fd025920ee635f586c460f8a9c05a7067fd70eed9da999b4a62a5febd17f0c5546ab15198336038e4ab49a1bd588d49ffb39450353a1911 SHA512 9dd946cb7c11446f553f06b8af516167519bab00d4a89f626cd612be6d18e50023fc537aa3d844a8f7a56a767df00410efe4dd20e2bfd930639330a1e279a7a0
|
||||
DIST swt-4.2-gtk-linux-ppc64.zip 5935799 BLAKE2B 6b1ca0d25d81134239e56ead673303075b6d9c5f20e4ab07fb7b5b87d54582023d02c28a1d330fd40d647bdbc27823ca7b184837cb974706ee13809ebdfd2db4 SHA512 bedd64099380980a6dbe47b86f4719666366680f7580150f97282c6f6b6acc95822493469e950e8fcbc9c584f6fca9f35a59937551ae8b6e799b188dc3751e9d
|
||||
DIST swt-4.2-gtk-linux-x86.zip 5561088 BLAKE2B cf8bda6a48d5d8e389c387162bf2aafde5a95c43d76e444a4b79008e1154348d2c99850851b3d0e428890e6b2da1e4bec53a7f9050169ad4866a5a8352e9ed2b SHA512 e3d53bcd0521411c40f4c37719917f3570a17fb3ea5c617560986273fd155b99d9b0790ba27c57da26663d49ebec4c6a8387b41bd01b0ba934b21724ba98e133
|
||||
DIST swt-4.2-gtk-linux-x86_64.zip 5867140 BLAKE2B 994bf18799297529329637c1b9ebf15638187339b4f56bf8cc1dedfc97c25a1ea4a1664605cac1374fe3d79b321dc450c6129ebef00ddd6f9507f238b7836316 SHA512 56c5ec4ca2ddeed5256dd6ff350dc3911034ecbc414a06ba879f04ab53d6380ca9da9037097f76228ca8182f6076bcd9cc4cb9b01c10766c10048e6576fc5f50
|
||||
|
|
|
@ -1,159 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit epatch flag-o-matic java-pkg-2 java-ant-2 toolchain-funcs java-osgi
|
||||
|
||||
MY_PV="${PV/_rc/RC}"
|
||||
MY_DMF="http://archive.eclipse.org/eclipse/downloads/drops4/R-${MY_PV}-201206081400"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="GTK based SWT Library"
|
||||
HOMEPAGE="http://www.eclipse.org/"
|
||||
SRC_URI="
|
||||
amd64? ( ${MY_DMF}/${MY_P}-gtk-linux-x86_64.zip )
|
||||
ppc? ( ${MY_DMF}/${MY_P}-gtk-linux-x86.zip )
|
||||
ppc64? ( ${MY_DMF}/${MY_P}-gtk-linux-ppc64.zip )
|
||||
x86? ( ${MY_DMF}/${MY_P}-gtk-linux-x86.zip )
|
||||
x86-fbsd? ( ${MY_DMF}/${MY_P}-gtk-linux-x86.zip )"
|
||||
|
||||
LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1"
|
||||
SLOT="4.2"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="cairo opengl"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/atk-1.10.2
|
||||
>=dev-libs/glib-2.32
|
||||
>=x11-libs/gtk+-2.6.8:2
|
||||
x11-libs/libXtst
|
||||
cairo? ( >=x11-libs/cairo-1.4.14 )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/unzip
|
||||
virtual/jdk:1.8
|
||||
virtual/pkgconfig
|
||||
x11-base/xorg-proto
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
>=x11-libs/libXtst-1.1.0"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=virtual/jre-1.4"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
# JNI libraries don't need SONAME, bug #253756
|
||||
QA_SONAME="usr/$(get_libdir)/libswt-.*.so"
|
||||
|
||||
src_unpack() {
|
||||
local DISTFILE=${A}
|
||||
unzip -jq "${DISTDIR}"/${DISTFILE} "*src.zip" || die "Unable to extract distfile"
|
||||
unpack "./src.zip"
|
||||
|
||||
# Cleanup the redirtied directory structure
|
||||
rm -rf about_files/ || die
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# Replace the build.xml to allow compilation without Eclipse tasks
|
||||
cp "${FILESDIR}/build.xml" "${S}/build.xml" || die "Unable to update build.xml"
|
||||
mkdir "${S}/src" && mv "${S}/org" "${S}/src" || die "Unable to restructure SWT sources"
|
||||
|
||||
# Fix Makefiles to respect flags and work with --as-needed
|
||||
epatch "${FILESDIR}"/${P}-as-needed-and-flag-fixes.patch
|
||||
|
||||
# Define missing g_thread_supported() to be 0.
|
||||
sed -i '1s/^/#define g_thread_supported() 0\n\n/' "${S}"/os_custom.h || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Drop jikes support as it seems to be unfriendly with SWT
|
||||
java-pkg_filter-compiler jikes
|
||||
|
||||
local AWT_ARCH
|
||||
local JAWTSO="libjawt.so"
|
||||
if [[ $(tc-arch) == 'x86' ]] ; then
|
||||
AWT_ARCH="i386"
|
||||
elif [[ $(tc-arch) == 'ppc' ]] ; then
|
||||
AWT_ARCH="ppc"
|
||||
elif [[ $(tc-arch) == 'ppc64' ]] ; then
|
||||
AWT_ARCH="ppc64"
|
||||
else
|
||||
AWT_ARCH="amd64"
|
||||
fi
|
||||
if [[ -f "${JAVA_HOME}/jre/lib/${AWT_ARCH}/${JAWTSO}" ]]; then
|
||||
export AWT_LIB_PATH="${JAVA_HOME}/jre/lib/${AWT_ARCH}"
|
||||
elif [[ -f "${JAVA_HOME}/jre/bin/${JAWTSO}" ]]; then
|
||||
export AWT_LIB_PATH="${JAVA_HOME}/jre/bin"
|
||||
elif [[ -f "${JAVA_HOME}/$(get_libdir)/${JAWTSO}" ]] ; then
|
||||
export AWT_LIB_PATH="${JAVA_HOME}/$(get_libdir)"
|
||||
else
|
||||
eerror "${JAWTSO} not found in the JDK being used for compilation!"
|
||||
die "cannot build AWT library"
|
||||
fi
|
||||
|
||||
# Fix the pointer size for AMD64
|
||||
[[ ${ARCH} == "amd64" || ${ARCH} == "ppc64" ]] && export SWT_PTR_CFLAGS=-DJNI64
|
||||
|
||||
local platform="linux"
|
||||
|
||||
use elibc_FreeBSD && platform="freebsd"
|
||||
|
||||
# Bug #461784, g_thread_init is deprecated since glib-2.32.
|
||||
append-cflags -DNO__1g_1thread_1init
|
||||
|
||||
local make="emake -f make_${platform}.mak NO_STRIP=y CC=$(tc-getCC) CXX=$(tc-getCXX)"
|
||||
|
||||
einfo "Building AWT library"
|
||||
${make} make_awt
|
||||
|
||||
einfo "Building SWT library"
|
||||
${make} make_swt
|
||||
|
||||
einfo "Building JAVA-AT-SPI bridge"
|
||||
${make} make_atk
|
||||
|
||||
if use cairo ; then
|
||||
einfo "Building CAIRO support"
|
||||
${make} make_cairo
|
||||
fi
|
||||
|
||||
if use opengl ; then
|
||||
einfo "Building OpenGL component"
|
||||
${make} make_glx
|
||||
fi
|
||||
|
||||
einfo "Building JNI libraries"
|
||||
eant compile
|
||||
|
||||
einfo "Copying missing files"
|
||||
cp -i "${S}/version.txt" "${S}/build/version.txt"
|
||||
cp -i "${S}/src/org/eclipse/swt/internal/SWTMessages.properties" \
|
||||
"${S}/build/org/eclipse/swt/internal/" || die
|
||||
|
||||
einfo "Packing JNI libraries"
|
||||
eant jar
|
||||
}
|
||||
|
||||
src_install() {
|
||||
swtArch=${ARCH}
|
||||
use amd64 && swtArch=x86_64
|
||||
use x86-fbsd && swtArch=x86
|
||||
|
||||
sed "s/SWT_ARCH/${swtArch}/" "${FILESDIR}/${PN}-${SLOT}-manifest" > "MANIFEST_TMP.MF" || die
|
||||
use cairo || sed -i -e "/ org.eclipse.swt.internal.cairo; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
sed -i -e "/ org.eclipse.swt.internal.gnome; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
use opengl || sed -i -e "/ org.eclipse.swt.internal.opengl.glx; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
sed -i -e "/ org.eclipse.swt.internal.webkit; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
java-osgi_newjar-fromfile "swt.jar" "MANIFEST_TMP.MF" "Standard Widget Toolkit for GTK 2.0"
|
||||
|
||||
java-pkg_sointo /usr/$(get_libdir)
|
||||
java-pkg_doso *.so
|
||||
|
||||
dohtml about.html
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -15,8 +15,6 @@ LICENSE="Apache-2.0"
|
|||
SLOT="1.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
BDEPEND="app-arch/unzip"
|
Binary file not shown.
|
@ -2,5 +2,6 @@ DIST php-7.3.27.tar.xz 12137924 BLAKE2B f4648fdc2b8903ce1b68221eeb49e7764c5446a3
|
|||
DIST php-7.3.28.tar.xz 12139380 BLAKE2B 696c573878866e97fcae5fe3e33e83e75bf706d0eec2a66b2532ec54ce730e3f4b3fa6f0659ebf14193b6b2a6292d624bf478706790aab60b13b5cea0a1299fb SHA512 91f4f23fea6e2c5ea1fa5774075e1b1f7cfcc46064ab0d2f03e4f1b9b6c3dd7fd5a59854ed3fe3a8e2962283045f6a1c3273438b4bc0c68b11f41b9338f44274
|
||||
DIST php-7.4.15.tar.xz 10332360 BLAKE2B 3217378a2fa9e3cd030f585696ac48c50bf4f2509401276783ceb3c757155fb4a06dde8fbb93588e96b16f1f8bbcb32337f58a31c2c0c2009d3659136453c4e1 SHA512 51a815852c08518d6706fc719e3bafd214889580cc5ca0e5049ae7e8f6173e83b9486bc9a69afd1ea4ab1778bb2879bd917595cd04cbcc50b182a10230f08175
|
||||
DIST php-7.4.16.tar.xz 10334672 BLAKE2B 685717509115e9607fb8ff4ae439bd3b70e5c1f2a11ab83f4944be74cb1502868b9e3aceb6898288ae6e5cdd50c8dba294c03618eaa7accd10c0b425069ef0cb SHA512 a7845fe0a7c334829bfa9518d3f2947036e1b03c8f4346622f9ab37563ff3af03f6559878b83aa0e6ad69e9919b6478345a0cc6ec59161ef36c64a5073e83f84
|
||||
DIST php-7.4.18.tar.xz 10340980 BLAKE2B e30bff4f1458318af490573a8639cb75d612e545dc8f3e5650ccee06ffc6a6c74e12fd9fada370ef717da3e1aca02652f938b2d1f57401d9d3c6fd73ef3bf9ad SHA512 b44a3fab98f3c81238ee715622d6d57f5ff2f39dc347a60bdbbec433dfef11a3c88366bde0aee55e201ceb79ac4d6cf7f57c6b139de7b0f202564a882ccae42b
|
||||
DIST php-8.0.3.tar.xz 10755796 BLAKE2B 5dd6afe985b4f5e33f456f05edda0207d8dfffbdc35d0b2290e1bd30a93bcfd94d6ef23e7d2c8d77b774a7ff95f49832687c75593d7ab38704b60ba3d9331598 SHA512 9b3631fea5280ed11c14a3ef1badb3da5b8ab19f29faa6b828ab033008ebebc487013d74d401d10b9cf21f354cd81100ba83562f3f080e23220ad38c02fb5a0d
|
||||
DIST php-8.0.5.tar.xz 10666412 BLAKE2B 4f3d0c1ab1aa998889abd7488c800216bd05c41996171929678fc084a2485d4199b49c0bc748612cf2cd1d238619fd183971d043fb8ca72db0b8dec6e2860566 SHA512 f128e1aa37dd808ec1626b6eb5ab7cc76575772ad86f1f640114186a10ffb79bdb07f0b30267ce316c7a54fc6397fa8a41e3476fee52cbe6a7b900eb5c6b83a0
|
||||
|
|
753
dev-lang/php/php-7.4.18.ebuild
Normal file
753
dev-lang/php/php-7.4.18.ebuild
Normal file
|
@ -0,0 +1,753 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit flag-o-matic systemd autotools
|
||||
|
||||
MY_PV=${PV/_rc/RC}
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="https://www.php.net/"
|
||||
SRC_URI="https://www.php.net/distributions/${P}.tar.xz"
|
||||
|
||||
LICENSE="PHP-3.01
|
||||
BSD
|
||||
Zend-2.0
|
||||
bcmath? ( LGPL-2.1+ )
|
||||
fpm? ( BSD-2 )
|
||||
gd? ( gd )
|
||||
unicode? ( BSD-2 LGPL-2.1 )"
|
||||
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2 phpdbg"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} acl argon2 bcmath berkdb bzip2 calendar cdb cjk
|
||||
coverage +ctype curl debug
|
||||
enchant exif ffi +fileinfo +filter firebird
|
||||
+flatfile ftp gd gdbm gmp +iconv imap inifile
|
||||
intl iodbc ipv6 +jit +json kerberos ldap ldap-sasl libedit libressl lmdb
|
||||
mhash mssql mysql mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline selinux +session session-mm sharedmem
|
||||
+simplexml snmp soap sockets sodium spell sqlite ssl
|
||||
sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode webp
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
|
||||
# The Oracle instant client provides its own incompatible ldap library.
|
||||
REQUIRED_USE="
|
||||
|| ( cli cgi fpm apache2 embed phpdbg )
|
||||
cli? ( ^^ ( readline libedit ) )
|
||||
!cli? ( ?? ( readline libedit ) )
|
||||
truetype? ( gd zlib )
|
||||
webp? ( gd zlib )
|
||||
cjk? ( gd zlib )
|
||||
exif? ( gd zlib )
|
||||
xpm? ( gd zlib )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
xmlrpc? ( xml iconv )
|
||||
xmlreader? ( xml )
|
||||
xmlwriter? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
oci8-instant-client? ( !ldap )
|
||||
qdbm? ( !gdbm )
|
||||
session-mm? ( session !threads )
|
||||
mysql? ( || ( mysqli pdo ) )
|
||||
firebird? ( pdo )
|
||||
mssql? ( pdo )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# The supported (that is, autodetected) versions of BDB are listed in
|
||||
# the ./configure script. Other versions *work*, but we need to stick to
|
||||
# the ones that can be detected to avoid a repeat of bug #564824.
|
||||
COMMON_DEPEND="
|
||||
>=app-eselect/eselect-php-0.9.1[apache2?,fpm?]
|
||||
>=dev-libs/libpcre2-10.30[jit?,unicode]
|
||||
fpm? ( acl? ( sys-apps/acl ) )
|
||||
apache2? ( www-servers/apache[apache2_modules_unixd(+),threads=] )
|
||||
argon2? ( app-crypt/argon2:= )
|
||||
berkdb? ( || ( sys-libs/db:5.3
|
||||
sys-libs/db:5.1
|
||||
sys-libs/db:4.8
|
||||
sys-libs/db:4.7
|
||||
sys-libs/db:4.6
|
||||
sys-libs/db:4.5 ) )
|
||||
bzip2? ( app-arch/bzip2:0= )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
coverage? ( dev-util/lcov )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( <app-text/enchant-2.0:0 )
|
||||
ffi? ( >=dev-libs/libffi-3.0.11 )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( >=virtual/jpeg-0-r3:0 media-libs/libpng:0= )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0:0= )
|
||||
gmp? ( dev-libs/gmp:0= )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( >=virtual/imap-c-client-2[kerberos=,ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl )
|
||||
libedit? ( dev-libs/libedit )
|
||||
lmdb? ( dev-db/lmdb:= )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient[sdk] )
|
||||
odbc? ( iodbc? ( dev-db/libiodbc ) !iodbc? ( >=dev-db/unixODBC-1.8.13 ) )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
session-mm? ( dev-libs/mm )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
sodium? ( dev-libs/libsodium:= )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-1.0.1:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
tidy? ( || ( app-text/tidy-html5 app-text/htmltidy ) )
|
||||
tokyocabinet? ( dev-db/tokyocabinet )
|
||||
truetype? ( =media-libs/freetype-2* )
|
||||
unicode? ( dev-libs/oniguruma:= )
|
||||
webp? ( media-libs/libwebp:0= )
|
||||
xml? ( >=dev-libs/libxml2-2.7.6 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xslt? ( dev-libs/libxslt )
|
||||
zip? ( >=dev-libs/libzip-1.2.0:= )
|
||||
zlib? ( >=sys-libs/zlib-1.2.0.4:0= )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/mta
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
# Bison isn't actually needed when building from a release tarball
|
||||
# However, the configure script will warn if it's absent or if you
|
||||
# have an incompatible version installed. See bug 593278.
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/xz-utils
|
||||
>=sys-devel/bison-3.0.1"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PHP_MV="$(ver_cut 1)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/php-iodbc-header-location.patch
|
||||
)
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
# Always install the production INI file, bug 611214.
|
||||
local phpinisrc="php.ini-production-${phpsapi}"
|
||||
cp php.ini-production "${phpinisrc}" || die
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" \
|
||||
-i "${phpinisrc}" || die
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}" || die
|
||||
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" php.ini
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
if use opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \
|
||||
"${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "../ext/opcache.ini" \
|
||||
"${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
einfo "Installing FPM config files php-fpm.conf and www.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
doins sapi/fpm/php-fpm.conf
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}/fpm.d"
|
||||
doins sapi/fpm/www.conf
|
||||
fi
|
||||
|
||||
dodoc php.ini-{development,production}
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# In php-7.x, the FPM pool configuration files have been split off
|
||||
# of the main config. By default the pool config files go in
|
||||
# e.g. /etc/php-fpm.d, which isn't slotted. So here we move the
|
||||
# include directory to a subdirectory "fpm.d" of $PHP_INI_DIR. Later
|
||||
# we'll install the pool configuration file "www.conf" there.
|
||||
php_set_ini_dir fpm
|
||||
sed -i "s~^include=.*$~include=${PHP_INI_DIR}/fpm.d/*.conf~" \
|
||||
sapi/fpm/php-fpm.conf.in \
|
||||
|| die 'failed to move the include directory in php-fpm.conf'
|
||||
|
||||
# Emulate buildconf to support cross-compilation
|
||||
rm -fr aclocal.m4 autom4te.cache config.cache \
|
||||
configure main/php_config.h.in || die
|
||||
eautoconf --force
|
||||
eautoheader
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index #nowarn
|
||||
addpredict /var/lib/net-snmp/mib_indexes #nowarn
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# The php-fpm config file wants localstatedir to be ${EPREFIX}/var
|
||||
# and not the Gentoo default ${EPREFIX}/var/lib. See bug 572002.
|
||||
local our_conf=(
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}/man"
|
||||
--infodir="${PHP_DESTDIR}/info"
|
||||
--libdir="${PHP_DESTDIR}/lib"
|
||||
--with-libdir="$(get_libdir)"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)
|
||||
)
|
||||
|
||||
our_conf+=(
|
||||
$(use_with argon2 password-argon2 "${EPREFIX}/usr")
|
||||
$(use_enable bcmath)
|
||||
$(use_with bzip2 bz2 "${EPREFIX}/usr")
|
||||
$(use_enable calendar)
|
||||
$(use_enable coverage gcov)
|
||||
$(use_enable ctype)
|
||||
$(use_with curl)
|
||||
$(use_enable xml dom)
|
||||
$(use_with enchant)
|
||||
$(use_enable exif)
|
||||
$(use_with ffi)
|
||||
$(use_enable fileinfo)
|
||||
$(use_enable filter)
|
||||
$(use_enable ftp)
|
||||
$(use_with nls gettext "${EPREFIX}/usr")
|
||||
$(use_with gmp gmp "${EPREFIX}/usr")
|
||||
$(use_with mhash mhash "${EPREFIX}/usr")
|
||||
$(use_with iconv iconv \
|
||||
$(use elibc_glibc || use elibc_musl || use elibc_FreeBSD || echo "${EPREFIX}/usr"))
|
||||
$(use_enable intl)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable json)
|
||||
$(use_with kerberos)
|
||||
$(use_with xml libxml)
|
||||
$(use_enable unicode mbstring)
|
||||
$(use_with ssl openssl)
|
||||
$(use_enable pcntl)
|
||||
$(use_enable phar)
|
||||
$(use_enable pdo)
|
||||
$(use_enable opcache)
|
||||
$(use_with postgres pgsql "${EPREFIX}/usr")
|
||||
$(use_enable posix)
|
||||
$(use_with spell pspell "${EPREFIX}/usr")
|
||||
$(use_enable simplexml)
|
||||
$(use_enable sharedmem shmop)
|
||||
$(use_with snmp snmp "${EPREFIX}/usr")
|
||||
$(use_enable soap)
|
||||
$(use_enable sockets)
|
||||
$(use_with sodium)
|
||||
$(use_with sqlite sqlite3)
|
||||
$(use_enable sysvipc sysvmsg)
|
||||
$(use_enable sysvipc sysvsem)
|
||||
$(use_enable sysvipc sysvshm)
|
||||
$(use_with tidy tidy "${EPREFIX}/usr")
|
||||
$(use_enable tokenizer)
|
||||
$(use_enable xml)
|
||||
$(use_enable xmlreader)
|
||||
$(use_enable xmlwriter)
|
||||
$(use_with xmlrpc)
|
||||
$(use_with xslt xsl)
|
||||
$(use_with zip)
|
||||
$(use_with zlib zlib "${EPREFIX}/usr")
|
||||
$(use_enable debug)
|
||||
)
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm || use lmdb || use tokyocabinet ; then
|
||||
our_conf+=( "--enable-dba" )
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
our_conf+=(
|
||||
$(use_with cdb)
|
||||
$(use_with berkdb db4 "${EPREFIX}/usr")
|
||||
$(use_enable flatfile)
|
||||
$(use_with gdbm gdbm "${EPREFIX}/usr")
|
||||
$(use_enable inifile)
|
||||
$(use_with qdbm qdbm "${EPREFIX}/usr")
|
||||
$(use_with tokyocabinet tcadb "${EPREFIX}/usr")
|
||||
$(use_with lmdb lmdb "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Support for the GD graphics library
|
||||
our_conf+=(
|
||||
$(use_with truetype freetype)
|
||||
$(use_enable cjk gd-jis-conv)
|
||||
$(use_with gd jpeg)
|
||||
$(use_with xpm)
|
||||
$(use_with webp)
|
||||
)
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
our_conf+=( $(use_enable gd) )
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
our_conf+=(
|
||||
$(use_with imap imap "${EPREFIX}/usr")
|
||||
$(use_with ssl imap-ssl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
our_conf+=(
|
||||
$(use_with ldap ldap "${EPREFIX}/usr")
|
||||
$(use_with ldap-sasl)
|
||||
)
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
|
||||
our_conf+=( $(use_with mysqli mysqli "${mysqlilib}") )
|
||||
|
||||
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||
if use mysql || use mysqli ; then
|
||||
our_conf+=( $(use_with mysql mysql-sock "${mysqlsock}") )
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc && use iodbc ; then
|
||||
our_conf+=(
|
||||
--without-unixODBC
|
||||
--with-iodbc
|
||||
$(use_with pdo pdo-odbc "iODBC,${EPREFIX}/usr")
|
||||
)
|
||||
elif use odbc ; then
|
||||
our_conf+=(
|
||||
--with-unixODBC="${EPREFIX}/usr"
|
||||
--without-iodbc
|
||||
$(use_with pdo pdo-odbc "unixODBC,${EPREFIX}/usr")
|
||||
)
|
||||
else
|
||||
our_conf+=(
|
||||
--without-unixODBC
|
||||
--without-iodbc
|
||||
--without-pdo-odbc
|
||||
)
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
our_conf+=( $(use_with oci8-instant-client oci8) )
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
our_conf+=(
|
||||
$(use_with mssql pdo-dblib "${EPREFIX}/usr")
|
||||
$(use_with mysql pdo-mysql "${mysqllib}")
|
||||
$(use_with postgres pdo-pgsql)
|
||||
$(use_with sqlite pdo-sqlite)
|
||||
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
|
||||
$(use_with oci8-instant-client pdo-oci)
|
||||
)
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
our_conf+=(
|
||||
$(use_with readline readline "${EPREFIX}/usr")
|
||||
$(use_with libedit)
|
||||
)
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
our_conf+=( $(use_with session-mm mm "${EPREFIX}/usr") )
|
||||
else
|
||||
our_conf+=( $(use_enable session) )
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
our_conf+=( --with-pic )
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-external-pcre affects ext/pcre
|
||||
our_conf+=(
|
||||
--with-external-pcre
|
||||
$(use_with jit pcre-jit)
|
||||
)
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Cache the ./configure test results between SAPIs.
|
||||
our_conf+=( --cache-file="${T}/config.cache" )
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
our_conf+=( ${EXTRA_ECONF:-} )
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
local one_sapi
|
||||
local sapi
|
||||
mkdir -p "${WORKDIR}/sapis-build" || die
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
# The BUILD_DIR variable is used to determine where to output
|
||||
# the files that autotools creates. This was all originally
|
||||
# based on the autotools-utils eclass.
|
||||
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cp -a "${S}" "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
local sapi_conf=(
|
||||
--with-config-file-path="${PHP_INI_DIR}"
|
||||
--with-config-file-scan-dir="${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
)
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm|phpdbg)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( "--enable-${sapi}" )
|
||||
if [[ "fpm" == "${sapi}" ]] ; then
|
||||
sapi_conf+=(
|
||||
$(use_with acl fpm-acl)
|
||||
$(use_with systemd fpm-systemd)
|
||||
)
|
||||
fi
|
||||
else
|
||||
sapi_conf+=( "--disable-${sapi}" )
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( --with-apxs2="${EPREFIX}/usr/bin/apxs" )
|
||||
else
|
||||
sapi_conf+=( --without-apxs2 )
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Construct the $myeconfargs array by concatenating $our_conf
|
||||
# (the common args) and $sapi_conf (the SAPI-specific args).
|
||||
local myeconfargs=( "${our_conf[@]}" )
|
||||
myeconfargs+=( "${sapi_conf[@]}" )
|
||||
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
econf "${myeconfargs[@]}"
|
||||
popd > /dev/null || die
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index #nowarn
|
||||
addpredict /var/lib/net-snmp/mib_indexes #nowarn
|
||||
|
||||
local sapi
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || \
|
||||
die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index #nowarn
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi="", sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi" || die
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir "/usr/share/php${PHP_MV}"
|
||||
|
||||
local file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}" || die
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp${PHP_MV}$(get_libname)" \
|
||||
"libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
# Install the "phar" archive utility.
|
||||
if use phar ; then
|
||||
emake INSTALL_ROOT="${D}" install-pharcmd
|
||||
dosym "..${dest#/usr}/bin/phar" "/usr/bin/phar${SLOT}"
|
||||
fi
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
phpdbg)
|
||||
source="sapi/phpdbg/phpdbg"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}"
|
||||
else
|
||||
dobin "${source}"
|
||||
local name="$(basename ${source})"
|
||||
dosym "..${dest#/usr}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use opcache ; then
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
dolib.so "modules/opcache$(get_libname)"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" "20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
sed -e "s|php5|php${SLOT}|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config" || die
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg" ]] ; then
|
||||
export TEST_PHPDBG_EXECUTABLE="${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d \
|
||||
"session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d \
|
||||
"session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null || die
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
elog
|
||||
elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
|
||||
elog "your apache2 command. OpenRC users can append that string to"
|
||||
elog "APACHE2_OPTS in /etc/conf.d/apache2."
|
||||
elog
|
||||
elog "The apache module configuration file 70_mod_php.conf is"
|
||||
elog "provided (and maintained) by eselect-php."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
local m
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT} || die
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove dead symlinks for SAPIs that were just disabled. For
|
||||
# example, if the user has the cgi SAPI enabled, then he has an
|
||||
# eselect-php symlink for it. If he later reinstalls PHP with
|
||||
# USE="-cgi", that symlink will break. This call to eselect is
|
||||
# supposed to remove that dead link per bug 572436.
|
||||
eselect php cleanup || die
|
||||
|
||||
if ! has "php${SLOT/./-}" ${PHP_TARGETS}; then
|
||||
elog "To build extensions for this version of PHP, you will need to"
|
||||
elog "add php${SLOT/./-} to your PHP_TARGETS USE_EXPAND variable."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Warn about the removal of PHP_INI_VERSION if the user has it set.
|
||||
if [[ -n "${PHP_INI_VERSION}" ]]; then
|
||||
ewarn 'The PHP_INI_VERSION variable has been phased out. You may'
|
||||
ewarn 'remove it from your configuration at your convenience. See'
|
||||
ewarn
|
||||
ewarn ' https://bugs.gentoo.org/611214'
|
||||
ewarn
|
||||
ewarn 'for more information.'
|
||||
fi
|
||||
|
||||
elog "For details on how version slotting works, please see"
|
||||
elog "the wiki:"
|
||||
elog
|
||||
elog " https://wiki.gentoo.org/wiki/PHP"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# This serves two purposes. First, if we have just removed the last
|
||||
# installed version of PHP, then this will remove any dead symlinks
|
||||
# belonging to eselect-php. Second, if a user upgrades slots from
|
||||
# (say) 5.6 to 7.0 and depcleans the old slot, then this will update
|
||||
# his existing symlinks to point to the new 7.0 installation. The
|
||||
# latter is bug 432962.
|
||||
#
|
||||
# Note: the eselect-php package may not be installed at this point,
|
||||
# so we can't die() if this command fails.
|
||||
eselect php cleanup
|
||||
}
|
Binary file not shown.
|
@ -21,7 +21,7 @@ fi
|
|||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
IUSE="crnl-as-line-terminator static-libs"
|
||||
|
||||
BDEPEND=""
|
||||
|
|
|
@ -12,15 +12,12 @@ SRC_URI="https://github.com/OpenSC/OpenSC/releases/download/${PV}/${P}.tar.gz"
|
|||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ppc ppc64 ~s390 ~sparc x86"
|
||||
IUSE="ctapi doc libressl openct notify +pcsc-lite readline secure-messaging ssl test zlib"
|
||||
IUSE="ctapi doc openct notify +pcsc-lite readline secure-messaging ssl test zlib"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="zlib? ( sys-libs/zlib )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( >=dev-libs/libressl-3.1.0:0= )
|
||||
)
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
openct? ( >=dev-libs/openct-0.5.0 )
|
||||
pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )
|
||||
notify? ( dev-libs/glib:2 )"
|
||||
|
|
|
@ -1,66 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 libtool
|
||||
|
||||
DESCRIPTION="Libraries and applications to access smartcards"
|
||||
HOMEPAGE="https://github.com/OpenSC/OpenSC/wiki"
|
||||
SRC_URI="https://github.com/OpenSC/OpenSC/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ppc ppc64 ~s390 ~sparc x86"
|
||||
IUSE="ctapi doc libressl openct notify +pcsc-lite readline secure-messaging ssl test zlib"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="zlib? ( sys-libs/zlib )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( >=dev-libs/libressl-3.1.0:0= )
|
||||
)
|
||||
openct? ( >=dev-libs/openct-0.5.0 )
|
||||
pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )
|
||||
notify? ( dev-libs/glib:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
test? ( dev-util/cmocka )"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
REQUIRED_USE="
|
||||
pcsc-lite? ( !openct !ctapi )
|
||||
openct? ( !pcsc-lite !ctapi )
|
||||
ctapi? ( !pcsc-lite !openct )
|
||||
|| ( pcsc-lite openct ctapi )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-completiondir="$(get_bashcompdir)" \
|
||||
--disable-openpace \
|
||||
--disable-static \
|
||||
--disable-strict \
|
||||
--enable-man \
|
||||
$(use_enable ctapi) \
|
||||
$(use_enable doc) \
|
||||
$(use_enable notify ) \
|
||||
$(use_enable openct) \
|
||||
$(use_enable pcsc-lite pcsc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable secure-messaging sm) \
|
||||
$(use_enable ssl openssl) \
|
||||
$(use_enable test cmocka) \
|
||||
$(use_enable zlib)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( pypy3 python3_{7..9} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Collection of tools for internationalizing Python applications"
|
||||
HOMEPAGE="https://babel.pocoo.org/ https://pypi.org/project/Babel/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${DEPEND}
|
||||
test? ( dev-python/freezegun[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/Babel-2.8.0-py39.patch
|
||||
"${FILESDIR}"/Babel-2.9.0-pypy3.patch
|
||||
)
|
||||
|
||||
src_test() {
|
||||
local -x TZ=UTC
|
||||
distutils-r1_src_test
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( pypy3 python3_{7..9} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Collection of tools for internationalizing Python applications"
|
||||
HOMEPAGE="https://babel.pocoo.org/ https://pypi.org/project/Babel/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
|
||||
|
||||
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
|
||||
' python3_{6..8} pypy3)"
|
||||
DEPEND="${DEPEND}
|
||||
test? ( dev-python/freezegun[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/Babel-2.9.0-pypy3.patch
|
||||
)
|
||||
|
||||
src_test() {
|
||||
local -x TZ=UTC
|
||||
distutils-r1_src_test
|
||||
}
|
|
@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
|
||||
|
||||
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
DIST Babel-2.8.1.tar.gz 8471453 BLAKE2B bc2e66a3c1c77e5b190cdb3f53d149268b6f49adde3040cbe6a3dd8eb98f6caffb3988232e76083e606186a87b9ee6b2b5352de89b7bc43d4f72905f1f594127 SHA512 ed39ad01b873d40d0bc611739761d412ff442b2df3d4c2363ec24501547da678cb752f640a02470c8513073a76c468c27fc16248820c779ef7adbe14d0f07199
|
||||
DIST Babel-2.9.0.tar.gz 8682986 BLAKE2B 0e1e8fe647fdd27230ee9c97f0994772bd5877f262f9cd00eb450445c5780b278249f87d50f98c5ca3fa5eca287c6b4fc74c5e082c522c250d640912f0ebc581 SHA512 250d1a19741eb0d1bda9d6b862f2d4779b6c67f10b8e045f450a271a16587e30f26f35ccccfea8ca13bb519582d2ef83569fa4381d0590fb9b61bf3ebf67e5f6
|
||||
DIST Babel-2.9.1.tar.gz 8683505 BLAKE2B e4c6fe7284f03cd9e3e712156d87a520a437316955679f765aa68ca941bf668c544c96598486f3dad1bbb1f1d9a0719ccd527f23a2b1fb0274e453bdba557bd7 SHA512 89a2ce18301b522907bb66ec5453cbcd4c6b2d494d6928c9c62dc07bd8b6983982db571a85e251a1ea413b6f76fbd515f65c67c9bccf5441c62d351a57f2f4d0
|
||||
|
|
|
@ -1,169 +0,0 @@
|
|||
From 167b71421f113e2210e4deefef5020402492e5be Mon Sep 17 00:00:00 2001
|
||||
From: Felix Schwarz <felix.schwarz@oss.schwarz.eu>
|
||||
Date: Tue, 5 May 2020 09:58:01 +0200
|
||||
Subject: [PATCH] stop using deprecated ElementTree methods "getchildren()" and
|
||||
"getiterator()"
|
||||
|
||||
Both methods were removed in Python 3.9 as mentioned in the release notes:
|
||||
|
||||
> Methods getchildren() and getiterator() of classes ElementTree and Element in
|
||||
> the ElementTree module have been removed. They were deprecated in Python 3.2.
|
||||
> Use iter(x) or list(x) instead of x.getchildren() and x.iter() or
|
||||
> list(x.iter()) instead of x.getiterator().
|
||||
---
|
||||
scripts/import_cldr.py | 18 +++++++++---------
|
||||
1 file changed, 9 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/scripts/import_cldr.py b/scripts/import_cldr.py
|
||||
index 8993b68e..2ed3af91 100755
|
||||
--- a/scripts/import_cldr.py
|
||||
+++ b/scripts/import_cldr.py
|
||||
@@ -598,7 +598,7 @@ def parse_calendar_months(data, calendar):
|
||||
for width in ctxt.findall('monthWidth'):
|
||||
width_type = width.attrib['type']
|
||||
widths = ctxts.setdefault(width_type, {})
|
||||
- for elem in width.getiterator():
|
||||
+ for elem in width.iter():
|
||||
if elem.tag == 'month':
|
||||
_import_type_text(widths, elem, int(elem.attrib['type']))
|
||||
elif elem.tag == 'alias':
|
||||
@@ -616,7 +616,7 @@ def parse_calendar_days(data, calendar):
|
||||
for width in ctxt.findall('dayWidth'):
|
||||
width_type = width.attrib['type']
|
||||
widths = ctxts.setdefault(width_type, {})
|
||||
- for elem in width.getiterator():
|
||||
+ for elem in width.iter():
|
||||
if elem.tag == 'day':
|
||||
_import_type_text(widths, elem, weekdays[elem.attrib['type']])
|
||||
elif elem.tag == 'alias':
|
||||
@@ -634,7 +634,7 @@ def parse_calendar_quarters(data, calendar):
|
||||
for width in ctxt.findall('quarterWidth'):
|
||||
width_type = width.attrib['type']
|
||||
widths = ctxts.setdefault(width_type, {})
|
||||
- for elem in width.getiterator():
|
||||
+ for elem in width.iter():
|
||||
if elem.tag == 'quarter':
|
||||
_import_type_text(widths, elem, int(elem.attrib['type']))
|
||||
elif elem.tag == 'alias':
|
||||
@@ -649,7 +649,7 @@ def parse_calendar_eras(data, calendar):
|
||||
for width in calendar.findall('eras/*'):
|
||||
width_type = NAME_MAP[width.tag]
|
||||
widths = eras.setdefault(width_type, {})
|
||||
- for elem in width.getiterator():
|
||||
+ for elem in width.iter():
|
||||
if elem.tag == 'era':
|
||||
_import_type_text(widths, elem, type=int(elem.attrib.get('type')))
|
||||
elif elem.tag == 'alias':
|
||||
@@ -676,7 +676,7 @@ def parse_calendar_periods(data, calendar):
|
||||
def parse_calendar_date_formats(data, calendar):
|
||||
date_formats = data.setdefault('date_formats', {})
|
||||
for format in calendar.findall('dateFormats'):
|
||||
- for elem in format.getiterator():
|
||||
+ for elem in format.iter():
|
||||
if elem.tag == 'dateFormatLength':
|
||||
type = elem.attrib.get('type')
|
||||
if _should_skip_elem(elem, type, date_formats):
|
||||
@@ -696,7 +696,7 @@ def parse_calendar_date_formats(data, calendar):
|
||||
def parse_calendar_time_formats(data, calendar):
|
||||
time_formats = data.setdefault('time_formats', {})
|
||||
for format in calendar.findall('timeFormats'):
|
||||
- for elem in format.getiterator():
|
||||
+ for elem in format.iter():
|
||||
if elem.tag == 'timeFormatLength':
|
||||
type = elem.attrib.get('type')
|
||||
if _should_skip_elem(elem, type, time_formats):
|
||||
@@ -717,7 +717,7 @@ def parse_calendar_datetime_skeletons(data, calendar):
|
||||
datetime_formats = data.setdefault('datetime_formats', {})
|
||||
datetime_skeletons = data.setdefault('datetime_skeletons', {})
|
||||
for format in calendar.findall('dateTimeFormats'):
|
||||
- for elem in format.getiterator():
|
||||
+ for elem in format.iter():
|
||||
if elem.tag == 'dateTimeFormatLength':
|
||||
type = elem.attrib.get('type')
|
||||
if _should_skip_elem(elem, type, datetime_formats):
|
||||
@@ -880,7 +880,7 @@ def parse_interval_formats(data, tree):
|
||||
interval_formats[None] = elem.text
|
||||
elif elem.tag == "intervalFormatItem":
|
||||
skel_data = interval_formats.setdefault(elem.attrib["id"], {})
|
||||
- for item_sub in elem.getchildren():
|
||||
+ for item_sub in elem:
|
||||
if item_sub.tag == "greatestDifference":
|
||||
skel_data[item_sub.attrib["id"]] = split_interval_pattern(item_sub.text)
|
||||
else:
|
||||
@@ -903,7 +903,7 @@ def parse_currency_formats(data, tree):
|
||||
type = '%s:%s' % (type, curr_length_type)
|
||||
if _should_skip_elem(elem, type, currency_formats):
|
||||
continue
|
||||
- for child in elem.getiterator():
|
||||
+ for child in elem.iter():
|
||||
if child.tag == 'alias':
|
||||
currency_formats[type] = Alias(
|
||||
_translate_alias(['currency_formats', elem.attrib['type']],
|
||||
From 7bdaa28a55e8d8228d5434effa4b1473ab7b3669 Mon Sep 17 00:00:00 2001
|
||||
From: Felix Schwarz <felix.schwarz@oss.schwarz.eu>
|
||||
Date: Tue, 5 May 2020 08:05:56 +0000
|
||||
Subject: [PATCH] fix tests when using Python 3.9a6
|
||||
|
||||
In Python 3.9a6 integer values for future flags were changed to prevent
|
||||
collision with compiler flags. We need to retrieve these at runtime so
|
||||
the test suite works with Python <= 3.8 as well as Python 3.9.
|
||||
---
|
||||
tests/test_util.py | 17 ++++++++++++-----
|
||||
1 file changed, 12 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/tests/test_util.py b/tests/test_util.py
|
||||
index a6a4450c..b9343aaa 100644
|
||||
--- a/tests/test_util.py
|
||||
+++ b/tests/test_util.py
|
||||
@@ -11,6 +11,7 @@
|
||||
# individuals. For the exact contribution history, see the revision
|
||||
# history and logs, available at http://babel.edgewall.org/log/.
|
||||
|
||||
+import __future__
|
||||
import unittest
|
||||
|
||||
import pytest
|
||||
@@ -20,6 +21,12 @@
|
||||
from babel.util import parse_future_flags
|
||||
|
||||
|
||||
+class _FF:
|
||||
+ division = __future__.division.compiler_flag
|
||||
+ print_function = __future__.print_function.compiler_flag
|
||||
+ with_statement = __future__.with_statement.compiler_flag
|
||||
+ unicode_literals = __future__.unicode_literals.compiler_flag
|
||||
+
|
||||
def test_distinct():
|
||||
assert list(util.distinct([1, 2, 1, 3, 4, 4])) == [1, 2, 3, 4]
|
||||
assert list(util.distinct('foobar')) == ['f', 'o', 'b', 'a', 'r']
|
||||
@@ -70,25 +77,25 @@ def test_parse_encoding_non_ascii():
|
||||
from __future__ import print_function,
|
||||
division, with_statement,
|
||||
unicode_literals
|
||||
-''', 0x10000 | 0x2000 | 0x8000 | 0x20000),
|
||||
+''', _FF.print_function | _FF.division | _FF.with_statement | _FF.unicode_literals),
|
||||
('''
|
||||
from __future__ import print_function, division
|
||||
print('hello')
|
||||
-''', 0x10000 | 0x2000),
|
||||
+''', _FF.print_function | _FF.division),
|
||||
('''
|
||||
from __future__ import print_function, division, unknown,,,,,
|
||||
print 'hello'
|
||||
-''', 0x10000 | 0x2000),
|
||||
+''', _FF.print_function | _FF.division),
|
||||
('''
|
||||
from __future__ import (
|
||||
print_function,
|
||||
division)
|
||||
-''', 0x10000 | 0x2000),
|
||||
+''', _FF.print_function | _FF.division),
|
||||
('''
|
||||
from __future__ import \\
|
||||
print_function, \\
|
||||
division
|
||||
-''', 0x10000 | 0x2000),
|
||||
+''', _FF.print_function | _FF.division),
|
||||
])
|
||||
def test_parse_future(source, result):
|
||||
fp = BytesIO(source.encode('latin-1'))
|
|
@ -1,33 +0,0 @@
|
|||
From a291ee5da29fb9767ce8dc5f94e3fa19908f2596 Mon Sep 17 00:00:00 2001
|
||||
From: Keri Volans <keri.volans@gmail.com>
|
||||
Date: Sun, 10 May 2020 18:43:58 +0100
|
||||
Subject: [PATCH] tests/test_dates.py: Fix broken test
|
||||
|
||||
datetime was being incorrectly patched, so the unittest was failing
|
||||
|
||||
Closes https://github.com/python-babel/babel/issues/675
|
||||
---
|
||||
tests/test_dates.py | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/test_dates.py b/tests/test_dates.py
|
||||
index 5be0d16a..3cd70d3e 100644
|
||||
--- a/tests/test_dates.py
|
||||
+++ b/tests/test_dates.py
|
||||
@@ -761,7 +761,6 @@ def test_zh_TW_format():
|
||||
|
||||
|
||||
def test_format_current_moment(monkeypatch):
|
||||
- import datetime as datetime_module
|
||||
frozen_instant = datetime.utcnow()
|
||||
|
||||
class frozen_datetime(datetime):
|
||||
@@ -771,7 +770,7 @@ def utcnow(cls):
|
||||
return frozen_instant
|
||||
|
||||
# Freeze time! Well, some of it anyway.
|
||||
- monkeypatch.setattr(datetime_module, "datetime", frozen_datetime)
|
||||
+ monkeypatch.setattr(dates, "datetime_", frozen_datetime)
|
||||
assert dates.format_datetime(locale="en_US") == dates.format_datetime(frozen_instant, locale="en_US")
|
||||
|
||||
|
Binary file not shown.
|
@ -1,2 +1,3 @@
|
|||
DIST line_profiler-3.0.2.tar.gz 45185 BLAKE2B 04e617cc7b6c9686192281ab1cdfdef2cfc6ce3c7aa6b9962ed2369620618af8835b93bafe89f8d1288b45d4120d71f728ec577d5c5d035699c2d7a49d6be7c1 SHA512 9a5d1821c02fc063081854ba98a17eca21af65d5aecf4ce32c67806d31bf0c936291a30409845ce6f94211cdaaaf0859ab5e2b437e1a086fd4f60fc2a0fd2742
|
||||
DIST line_profiler-3.2.1.gh.tar.gz 54639 BLAKE2B 8840ac41397aa5d5c0cb94dec5f673a021a9bad18a7d67d73a2d90bf59745c5e35f205d67d28edd3ceade075320c6fe00426d5cf536b9b2953fbbf90539a5e9a SHA512 6e4e0fcb44df6a4eeafa66e8254e511ef0a0c616e9c2bb4bac6bc29df5efa1849f9e75e998770ec6fbe62916a22b17465cdc6eeee6c61ffa52658a9bdb773490
|
||||
DIST line_profiler-3.2.2.gh.tar.gz 50780 BLAKE2B 79c5f7f73adaf940e34f96ef799faf08e7a6218cd9346dc3aa86211d04f0cdfe309de23d11f43292aaca121e78df27d0d07ec3efd129e1cc6778b6f8ae83cbbf SHA512 a7279db406adfdae08d375fa18869fdc2276fe360ffb791aa65b13a028470504cd45acfbaa7ccb1c44fb1a5622d9400c5a889f13230514b9d392f09b439af0fd
|
||||
|
|
49
dev-python/line_profiler/line_profiler-3.2.2.ebuild
Normal file
49
dev-python/line_profiler/line_profiler-3.2.2.ebuild
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
# force it to match scikit-build
|
||||
CMAKE_MAKEFILE_GENERATOR=ninja
|
||||
|
||||
inherit cmake distutils-r1
|
||||
|
||||
DESCRIPTION="Line-by-line profiler"
|
||||
HOMEPAGE="https://github.com/pyutils/line_profiler/"
|
||||
SRC_URI="
|
||||
https://github.com/pyutils/line_profiler/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
|
||||
# technically, the package claims to support non-scikit-build build
|
||||
# but it's clearly unmaintained and broken at the moment
|
||||
BDEPEND="
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/scikit-build[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/ubelt[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
cd tests || die
|
||||
epytest
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
python_optimize
|
||||
}
|
|
@ -24,7 +24,7 @@ SRC_URI="
|
|||
)"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc lapack"
|
||||
|
||||
RDEPEND="
|
||||
|
|
|
@ -1,4 +1 @@
|
|||
DIST python-dotenv-0.15.0.tar.gz 30008 BLAKE2B 1a406145f0d0497aa037dc95b80fb04854b2889ba4014e4689a24b142d5d71c49d24ac60406f8b2dc873e661c19e36604ef58eb03c7bc9f890f6d4561be199a6 SHA512 f1f16d2688041259027b12920ac5f47c2d1d96cfc3ec8a362a05ddfb13fee2cf4926c20ad38eda521fcafb6eef8d7895d86dedadef1b1ea2ecd7e33734b07cbe
|
||||
DIST python-dotenv-0.16.0.tar.gz 30903 BLAKE2B 10a737d819bbede558ef87e79b64c4347d05e3dc2bcf76877daf2f3a7afe80230dc95bd2667a7ab6adaad3507d3e55d061b1b43f09f1710778683e79c5aef928 SHA512 8025e3c1e3c2eb5276b13716f3f2f002151c699fa9837d61762fb8bc8b5fe9b58498905ff1689bc62c49612b8d81066e80e0a289164451f5b757bdc6bc0c46eb
|
||||
DIST python-dotenv-0.17.0.tar.gz 31388 BLAKE2B 1b87a0e1cee4444c6bb929e6f3d859aa032da6105666fd48627987295730e1ffbb233197bdd339996a6ab4259ec313bfa76683c7bbcfc82e39ef02556ff45119 SHA512 77e260c2f39c4f6e7cf030ff2617045a50961d031918e11e1c1711693ab41243de9b14657b3f9e8c76799326af51911da4b034728c5011be7784ebf968f08108
|
||||
DIST python-dotenv-0.17.1.tar.gz 31608 BLAKE2B fdddfa1c39282ceec03fc1569d9a7d038e91a046a1248dd27af011dc60361f06f5324504d623a6109d783bb3b5ccac7cae758d918b17f5b0c65a1085bda627ea SHA512 42cdca1356ac2ad80884a5bf3ed419d1202d6a54746f7a21dc9c1bc7579383ac5c72e8b708bc33dfea3904228125fe7b3b2190bfe53e8b4767f5223d59050417
|
||||
|
|
|
@ -1,36 +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} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Manage .env files"
|
||||
HOMEPAGE="https://github.com/theskumar/python-dotenv"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? (
|
||||
>=dev-python/click-5[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/sh-1.09[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# Tests call the "dotenv" command which needs to be in PATH
|
||||
# https://bugs.gentoo.org/743784
|
||||
distutils_install_for_testing
|
||||
pytest -vv || die "Tests fail with ${EPYTHON}"
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Manage .env files"
|
||||
HOMEPAGE="https://github.com/theskumar/python-dotenv"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
>=dev-python/click-5[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/sh-1.09[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
distutils_enable_tests --install pytest
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Manage .env files"
|
||||
HOMEPAGE="https://github.com/theskumar/python-dotenv"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
>=dev-python/click-5[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/sh-1.09[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
distutils_enable_tests --install pytest
|
|
@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
KEYWORDS="amd64 arm64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
|
|
|
@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/cmake
|
||||
|
|
Binary file not shown.
|
@ -12,7 +12,7 @@ S="${WORKDIR}/beamer-${PV}"
|
|||
|
||||
LICENSE="GPL-2 FDL-1.2 LPPL-1.3c"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
BDEPEND="dev-texlive/texlive-latex"
|
||||
|
|
Binary file not shown.
|
@ -118,7 +118,7 @@ S="${WORKDIR}/${P/git-/}"
|
|||
|
||||
LICENSE="Apache-2.0 BSD-2 Boost-1.0 CC0-1.0 ISC LGPL-3+ MIT Unlicense ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
DEPEND="
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
DIST gnome-builder-3.38.2.tar.xz 12078024 BLAKE2B 9cf8a74be5a48b73c21ce247a07fcb1441482edab8fd118a2d773429f68efcd50f4a8a1ef826cf90a9f76e482f25d9a092ca1700504178051fcf903abe9eb1ae SHA512 6f9d284a9c915562fe55a863ddcc385ca9278b4ee201f4b97272f425937066d630c35c0b337bdf94ce4b12226080a9020eb5dc253ccfb25bc6cdbf8e50779569
|
||||
DIST gnome-builder-3.40.0.tar.xz 12088472 BLAKE2B ae392efb375e562b1a2820004a23f6170d78e0cd724924ddd334af7d87ab90e85b0e1996ba593e283a9f8d6e4ae9b5bb9a9d15f61e8ab2f620351ec45434d68b SHA512 9346a42371bd2529a146f81fe5a1b333495c1895978780bcb3748ef7b46e68a08241b261055b855e1d9dca47c1449fbcddc64e8bcfb7e6d780eedea214280fdc
|
||||
DIST gnome-builder-3.40.1.tar.xz 12083836 BLAKE2B 3e4dc4e3e2e1356ee3e52c8898d387875cadd9a866d03d409560d6a5322e2d59883115d7cbb7de16f7d51b5afdf0062982e7bf458614db903077ae114e13532b SHA512 aa53a883286a56c5548f30521b5c0c6980d7d53b4c43771da6049e2605ef8f802a1a0079c4347c03dd85545a69d225cf49c162bf2669bb56307f3543597e9083
|
||||
|
|
183
dev-util/gnome-builder/gnome-builder-3.40.1.ebuild
Normal file
183
dev-util/gnome-builder/gnome-builder-3.40.1.ebuild
Normal file
|
@ -0,0 +1,183 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISABLE_AUTOFORMATTING=1
|
||||
FORCE_PRINT_ELOG=1
|
||||
|
||||
inherit gnome.org gnome2-utils llvm meson optfeature python-single-r1 readme.gentoo-r1 virtualx xdg
|
||||
|
||||
DESCRIPTION="An IDE for writing GNOME-based software"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Builder"
|
||||
|
||||
# FIXME: Review licenses at some point
|
||||
LICENSE="GPL-3+ GPL-2+ LGPL-3+ LGPL-2+ MIT CC-BY-SA-3.0 CC0-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="clang +devhelp doc +git +glade gtk-doc spell sysprof test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# When bumping, pay attention to all the included plugins/*/meson.build (and other) build files and the requirements within.
|
||||
# `grep -rI dependency * --include='meson.build'` can give a good initial idea for external deps and their double checking.
|
||||
# The listed RDEPEND order shold roughly match that output as well, with toplevel one first then sorted by file path.
|
||||
# Most plugins have no extra requirements and default to enabled; we need to handle the ones with extra requirements. Many of
|
||||
# them have optional runtime dependencies, for which we try to at least notify the user via DOC_CONTENTS (but not all small
|
||||
# things); `grep -rI -e 'command-pattern.*=' -e 'push_arg'` can give a (spammy) idea, plus python imports in try/except.
|
||||
|
||||
# FIXME: plugin_flatpak needs flatpak.pc >=0.8.0, ostree-1, libsoup-2.4.pc >=2.52.0 and git plugin enabled
|
||||
# Editorconfig needs old pcre, with vte migrating away, might want it optional or ported to pcre2?
|
||||
# An introspection USE flag of a dep is required if any introspection based language plugin wants to use it (grep for gi.repository). Last full check at 3.28.4
|
||||
|
||||
# TODO: Handle llvm slots via llvm.eclass; see plugins/clang/meson.build
|
||||
# TODO: automagic libportal dep
|
||||
# TODO: automagic sysprof dep for tracing paths from toplevel meson.build
|
||||
RDEPEND="
|
||||
>=dev-libs/libdazzle-3.37.0[introspection]
|
||||
>=dev-libs/glib-2.67.4:2
|
||||
>=x11-libs/gtk+-3.22.26:3[introspection]
|
||||
>=x11-libs/gtksourceview-4.0.0:4[introspection]
|
||||
>=dev-libs/json-glib-1.2.0
|
||||
>=dev-libs/jsonrpc-glib-3.19.91
|
||||
>=x11-libs/pango-1.38.0
|
||||
>=dev-libs/libpeas-1.22.0[python,${PYTHON_SINGLE_USEDEP}]
|
||||
>=dev-libs/template-glib-3.28.0[introspection]
|
||||
>=x11-libs/vte-0.40.2:2.91[introspection]
|
||||
>=net-libs/webkit-gtk-2.26:4=[introspection]
|
||||
>=dev-libs/libxml2-2.9.0
|
||||
git? ( dev-libs/libgit2:=[ssh,threads]
|
||||
>=dev-libs/libgit2-glib-0.28.0.1[ssh]
|
||||
)
|
||||
dev-libs/libpcre:3
|
||||
dev-libs/libpcre2
|
||||
|
||||
>=dev-libs/gobject-introspection-1.54.0:=
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/pygobject-3.22.0:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
${PYTHON_DEPS}
|
||||
clang? ( sys-devel/clang:= )
|
||||
devhelp? ( >=dev-util/devhelp-3.25.1:= )
|
||||
glade? ( >=dev-util/glade-3.22.0:3.10= )
|
||||
spell? ( >=app-text/gspell-1.8:0=
|
||||
app-text/enchant:2 )
|
||||
sysprof? ( >=dev-util/sysprof-3.37.1:0/4[gtk] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# TODO: runtime ctags path finding..
|
||||
|
||||
# desktop-file-utils required for tests, but we have it in deptree for xdg update-desktop-database anyway, so be explicit and unconditional
|
||||
# appstream-glib needed for validation with appstream-util with FEATURES=test
|
||||
BDEPEND="
|
||||
doc? ( $(python_gen_cond_dep '
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||
') )
|
||||
gtk-doc? ( dev-util/gtk-doc
|
||||
app-text/docbook-xml-dtd:4.3 )
|
||||
test? (
|
||||
dev-libs/appstream-glib
|
||||
sys-apps/dbus )
|
||||
dev-util/desktop-file-utils
|
||||
dev-util/glib-utils
|
||||
>=dev-util/meson-0.49.2
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOC_CONTENTS='gnome-builder can use various other dependencies on runtime to provide
|
||||
extra capabilities beyond these expressed via USE flags. Some of these
|
||||
that are currently available with packages include:
|
||||
|
||||
* dev-util/uncrustify and dev-python/autopep8 for various Code Beautifier
|
||||
plugin out of the box functionality.
|
||||
* dev-util/ctags with exuberant-ctags selected via "eselect ctags" for
|
||||
C, C++, Python, JavaScript, CSS, HTML and Ruby autocompletion, semantic
|
||||
highlighting and symbol resolving support.
|
||||
* dev-python/jedi and dev-python/lxml for more accurate Python
|
||||
autocompletion support.
|
||||
* dev-util/valgrind for integration with valgrind.
|
||||
* dev-util/meson for integration with the Meson build system.
|
||||
* dev-util/cargo for integration with the Rust Cargo build system.
|
||||
* dev-util/cmake for integration with the CMake build system.
|
||||
* net-libs/nodejs[npm] for integration with the NPM package system.
|
||||
'
|
||||
# FIXME: Package codespell and mention here
|
||||
# FIXME: Package gnome-code-assistance and mention here, or maybe USE flag and default enable because it's rather important
|
||||
# eslint for additional diagnostics in JavaScript files (what package has this? At least something via NPM..)
|
||||
# jhbuild support
|
||||
# rust support via rust-analyzer (rls plugin now disabled by default); Go via go-langserver
|
||||
# autotools stuff for autotools plugin; gtkmm/autoconf-archive for C++ template
|
||||
# gjs/gettext/mono/PHPize stuff, but most of these are probably installed for other reasons anyways, when needed inside IDE
|
||||
# stylelint for stylesheet (CSS and co) linting
|
||||
# gvls for vala language-server integration
|
||||
|
||||
llvm_check_deps() {
|
||||
has_version "sys-devel/clang:${LLVM_SLOT}"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
use clang && llvm_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dtracing=false
|
||||
-Dprofiling=false # not passing -pg to CFLAGS
|
||||
-Dtcmalloc=false
|
||||
-Dchannel=other
|
||||
|
||||
$(meson_use doc help)
|
||||
$(meson_use gtk-doc docs)
|
||||
|
||||
-Dnetwork_tests=false
|
||||
$(meson_use clang plugin_clang)
|
||||
-Dplugin_color_picker=false # needs libportal
|
||||
$(meson_use devhelp plugin_devhelp)
|
||||
-Dplugin_deviced=false
|
||||
-Dplugin_editorconfig=true # needs libpcre
|
||||
-Dplugin_flatpak=false
|
||||
$(meson_use git plugin_git)
|
||||
$(meson_use glade plugin_glade)
|
||||
-Dplugin_podman=false
|
||||
$(meson_use spell plugin_spellcheck)
|
||||
$(meson_use sysprof plugin_sysprof)
|
||||
-Dplugin_update_manager=false
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
python_optimize
|
||||
if use doc; then
|
||||
rm "${ED}"/usr/share/doc/gnome-builder/en/.buildinfo || die
|
||||
rm "${ED}"/usr/share/doc/gnome-builder/en/objects.inv || die
|
||||
# custom docdir in build system, blocked by https://github.com/mesonbuild/meson/issues/825
|
||||
mv "${ED}"/usr/share/doc/gnome-builder/en "${ED}"/usr/share/doc/${PF}/html || die
|
||||
# _sources subdir left in on purpose, as HTML links to the rst files as "View page source". Additionally default docompress exclusion of /html/ already ensures they aren't compressed, thus linkable as-is.
|
||||
rmdir "${ED}"/usr/share/doc/gnome-builder/ || die
|
||||
fi
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
readme.gentoo_print_elog
|
||||
|
||||
optfeature_header "Code beautifiers"
|
||||
optfeature "Python" dev-python/autopep8
|
||||
optfeature "C/C++/Java" dev-util/uncrustify
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# FIXME: can't run meson_src_test together with virtx or dbus-run-session
|
||||
virtx dbus-run-session meson test -C "${BUILD_DIR}"
|
||||
}
|
|
@ -61,7 +61,7 @@ src_install() {
|
|||
|
||||
# Install standard sub packages
|
||||
local builddirs=(
|
||||
builds/cuda_{cudart,cuobjdump,memcheck,nvcc,nvdisasm,nvml_dev,nvprune,nvrtc,nvtx}
|
||||
builds/cuda_{cudart,cuobjdump,memcheck,nvcc,nvdisasm,nvml_dev,nvprune,nvrtc,nvtx,thrust}
|
||||
builds/lib{cublas,cufft,curand,cusolver,cusparse,npp,nvjpeg}
|
||||
$(usex profiler "builds/cuda_nvprof builds/cuda_cupti" "")
|
||||
$(usex vis-profiler "builds/cuda_nvvp" "")
|
Binary file not shown.
|
@ -19,6 +19,8 @@ RDEPEND=">=dev-games/flatzebra-0.1.6"
|
|||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.9.2-gcc11.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
|
202
games-arcade/burgerspace/files/burgerspace-1.9.2-gcc11.patch
Normal file
202
games-arcade/burgerspace/files/burgerspace-1.9.2-gcc11.patch
Normal file
|
@ -0,0 +1,202 @@
|
|||
--- a/src/BurgerSpaceClient.cpp
|
||||
+++ b/src/BurgerSpaceClient.cpp
|
||||
@@ -209,7 +209,7 @@
|
||||
|
||||
|
||||
void
|
||||
-BurgerSpaceClient::loadPixmaps() throw(PixmapLoadError)
|
||||
+BurgerSpaceClient::loadPixmaps()
|
||||
{
|
||||
/* Tiles:
|
||||
*/
|
||||
--- a/src/BurgerSpaceClient.h
|
||||
+++ b/src/BurgerSpaceClient.h
|
||||
@@ -177,7 +177,7 @@
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
- void loadPixmaps() throw(flatzebra::PixmapLoadError);
|
||||
+ void loadPixmaps();
|
||||
void restoreBackground();
|
||||
void draw();
|
||||
void displayMessage(int row, const char *msg);
|
||||
--- a/src/BurgerSpaceServer.cpp
|
||||
+++ b/src/BurgerSpaceServer.cpp
|
||||
@@ -733,7 +733,7 @@
|
||||
|
||||
|
||||
BurgerSpaceServer::BurgerSpaceServer(int initLevelNumber,
|
||||
- bool _oldMotionMode) throw(int, string)
|
||||
+ bool _oldMotionMode)
|
||||
: theScreenSizeInPixels(SCREEN_WIDTH_IN_PIXELS, SCREEN_HEIGHT_IN_PIXELS),
|
||||
|
||||
initLevelNo(1),
|
||||
@@ -830,7 +830,7 @@
|
||||
|
||||
|
||||
void
|
||||
-BurgerSpaceServer::displayErrorMessage(const string &msg) throw()
|
||||
+BurgerSpaceServer::displayErrorMessage(const string &msg)
|
||||
{
|
||||
cerr << msg << endl;
|
||||
}
|
||||
@@ -871,7 +871,7 @@
|
||||
|
||||
|
||||
void
|
||||
-BurgerSpaceServer::initializeSprites() throw(PixmapLoadError)
|
||||
+BurgerSpaceServer::initializeSprites()
|
||||
/* Initializes the sprites that appear at the beginning of a level,
|
||||
like the ingredients.
|
||||
|
||||
@@ -930,7 +930,7 @@
|
||||
|
||||
|
||||
void
|
||||
-BurgerSpaceServer::initializeMisc() throw(string)
|
||||
+BurgerSpaceServer::initializeMisc()
|
||||
/* Initializes things that need to be initialized once, but not at the
|
||||
beginning of each level.
|
||||
|
||||
@@ -1160,7 +1160,7 @@
|
||||
|
||||
|
||||
void
|
||||
-BurgerSpaceServer::initNextLevel(int levelNo /*= 0*/) throw(int)
|
||||
+BurgerSpaceServer::initNextLevel(int levelNo /*= 0*/)
|
||||
/* Initialize the next level. Increments the current level number if
|
||||
levelNo is zero, or uses levelNo if it is positive.
|
||||
*/
|
||||
@@ -2118,7 +2118,7 @@
|
||||
if (numDirectionsAllowed == 0)
|
||||
{
|
||||
belowStructure = true;
|
||||
- allowedDirections[UP]++;
|
||||
+ allowedDirections[UP] = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2643,7 +2643,7 @@
|
||||
static void
|
||||
loadPixmap(const char **xpmData,
|
||||
SDL_Surface *&pixmap,
|
||||
- Couple &pixmapSize) throw(PixmapLoadError)
|
||||
+ Couple &pixmapSize)
|
||||
{
|
||||
pixmapSize.zero();
|
||||
|
||||
@@ -2661,7 +2661,6 @@
|
||||
|
||||
static void
|
||||
loadPixmap(const char **xpmData, PixmapArray &pa, size_t index)
|
||||
- throw(PixmapLoadError)
|
||||
{
|
||||
// Masks are not be relevant with SDL.
|
||||
|
||||
@@ -2674,7 +2673,7 @@
|
||||
|
||||
|
||||
void
|
||||
-BurgerSpaceServer::loadPixmaps() throw(PixmapLoadError)
|
||||
+BurgerSpaceServer::loadPixmaps()
|
||||
{
|
||||
/* Load the player pixmaps:
|
||||
|
||||
@@ -2813,7 +2812,7 @@
|
||||
|
||||
|
||||
void
|
||||
-BurgerSpaceServer::loadLevel(int levelNo) throw(string)
|
||||
+BurgerSpaceServer::loadLevel(int levelNo)
|
||||
/* Affects the data member 'theCurrentLevel', which must already be
|
||||
initialized to defined values.
|
||||
'levelNo' may exceed NUM_LEVELS.
|
||||
--- a/src/BurgerSpaceServer.h
|
||||
+++ b/src/BurgerSpaceServer.h
|
||||
@@ -72,7 +72,7 @@
|
||||
{
|
||||
public:
|
||||
|
||||
- BurgerSpaceServer(int initLevelNumber, bool _oldMotionMode) throw(int, std::string);
|
||||
+ BurgerSpaceServer(int initLevelNumber, bool _oldMotionMode);
|
||||
|
||||
void finishInit(); // must be called after constructor -- calls virtual functions
|
||||
|
||||
@@ -355,7 +355,7 @@
|
||||
void putSprite(const flatzebra::Sprite &s);
|
||||
void showInstructions();
|
||||
void initGameParameters();
|
||||
- void initNextLevel(int levelNo = 0) throw(int);
|
||||
+ void initNextLevel(int levelNo = 0);
|
||||
void resetPlay();
|
||||
int isPositionAtSideOfStructure(flatzebra::Couple pos) const;
|
||||
void animateTemporarySprites(flatzebra::SpriteList &slist) const;
|
||||
@@ -369,11 +369,11 @@
|
||||
bool ingredientGroupCollidesWithSprite(
|
||||
const flatzebra::Couple groupPos, const flatzebra::Couple groupSize,
|
||||
const flatzebra::Sprite &s) const;
|
||||
- void loadLevel(int levelNo) throw(std::string);
|
||||
- void displayErrorMessage(const std::string &msg) throw();
|
||||
+ void loadLevel(int levelNo);
|
||||
+ void displayErrorMessage(const std::string &msg);
|
||||
void createPlayerSprite();
|
||||
- void initializeSprites() throw(flatzebra::PixmapLoadError);
|
||||
- void initializeMisc() throw(std::string);
|
||||
+ void initializeSprites();
|
||||
+ void initializeMisc();
|
||||
void deleteSprite(flatzebra::Sprite *s) const;
|
||||
void deleteSprites(flatzebra::SpriteList &sl) const;
|
||||
void deleteSprites(IngredientSprite::List &isl) const;
|
||||
@@ -386,7 +386,7 @@
|
||||
size_t carryEnemiesInList(IngredientGroup &g, flatzebra::SpriteList &slist);
|
||||
size_t releaseCarriedEnemies(IngredientGroup &g);
|
||||
void createScoreSprites(long n, flatzebra::Couple center);
|
||||
- void loadPixmaps() throw(flatzebra::PixmapLoadError);
|
||||
+ void loadPixmaps();
|
||||
void moveEnemyList(flatzebra::SpriteList &slist, int speedFactor);
|
||||
flatzebra::Couple getDistanceToPerfectPos(const flatzebra::Sprite &s) const;
|
||||
bool isSpriteOnFloor(const flatzebra::Sprite &s) const;
|
||||
--- a/src/EnemySprite.cpp
|
||||
+++ b/src/EnemySprite.cpp
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
EnemySprite::EnemySprite(const PixmapArray &pa,
|
||||
Couple pos, Couple speed,
|
||||
- Couple collBoxPos, Couple collBosSize) throw(int)
|
||||
+ Couple collBoxPos, Couple collBosSize)
|
||||
: Sprite(pa, pos, speed, Couple(0, 0), collBoxPos, collBosSize),
|
||||
carryingGroup(NULL),
|
||||
disappearanceTime(0),
|
||||
--- a/src/EnemySprite.h
|
||||
+++ b/src/EnemySprite.h
|
||||
@@ -45,7 +45,7 @@
|
||||
flatzebra::Couple pos,
|
||||
flatzebra::Couple speed,
|
||||
flatzebra::Couple collBoxPos,
|
||||
- flatzebra::Couple collBosSize) throw(int);
|
||||
+ flatzebra::Couple collBosSize);
|
||||
/* Calls Sprite constructor.
|
||||
*/
|
||||
|
||||
--- a/src/IngredientSprite.h
|
||||
+++ b/src/IngredientSprite.h
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
IngredientSprite(const flatzebra::PixmapArray &pixmapArray,
|
||||
const flatzebra::Couple &pos,
|
||||
- IngredientGroup *ig) throw(int)
|
||||
+ IngredientGroup *ig)
|
||||
: flatzebra::Sprite(pixmapArray, pos,
|
||||
flatzebra::Couple(0, 0), flatzebra::Couple(0, 0),
|
||||
flatzebra::Couple(0, 5), flatzebra::Couple(24, 1)),
|
||||
--- a/src/server.cpp
|
||||
+++ b/src/server.cpp
|
||||
@@ -304,7 +304,7 @@
|
||||
{
|
||||
public:
|
||||
|
||||
- BurgerSpaceCommandLineServer(int _initLevelNumber, int _sock, Uint32 _minMSBetweenWrites) throw(int, std::string)
|
||||
+ BurgerSpaceCommandLineServer(int _initLevelNumber, int _sock, Uint32 _minMSBetweenWrites)
|
||||
: BurgerSpaceServer(_initLevelNumber, false),
|
||||
sock(_sock),
|
||||
minMSBetweenWrites(_minMSBetweenWrites),
|
Binary file not shown.
|
@ -1,2 +1,3 @@
|
|||
DIST gnome-sudoku-3.36.0.tar.xz 357916 BLAKE2B fa56f8a1aaa87d7fac6c1df182ec8a3572aefe6a2693b3c2784afc0fd050a4085082b2ff6b0bfe8733d4b1d6e28e2e0927270b43a5708fd259d00f8803cb5e93 SHA512 617477b884d9ffb08571b25c76b52f2a418064f7af324673e32f43e8b3327c995ab4ace26feb5edeeadc79a1f7f1a0ef7d7fb39ef9397fc855e476bad29a50dc
|
||||
DIST gnome-sudoku-40.0.tar.xz 355580 BLAKE2B 9561e375fb9112c722317d1e85105e7efe2fa010f17756449f29d8d8fd292882c6f65706e412917166b841ba8618bfecbb8aa340657b61b7e6dba30076a33c49 SHA512 28b32179a038d692b0fe0cdc77971b20ede4865fb99e6b2761399ce554fdc1c8d11fdd96c2637cba44f534c2e84e1550daffc91180546683a13b417417125ca4
|
||||
DIST gnome-sudoku-40.1.tar.xz 358076 BLAKE2B 03a53827956a40a7ce54eef3dfa2d27c455d716cdd7f395c8c1e6b0e1f4e07cccad766b9a5cb23de81ef384b56296dfb117867672ade87fa5efffca740add1ef SHA512 29f97a0f9c7b990cffe66fe99c909822c1050c3c01c703e7967f9aa214824f153b6fba619e2c084dfa66aa66a3d3fd034659a8f0995ae69a9d2a85435e0e38d6
|
||||
|
|
49
games-puzzle/gnome-sudoku/gnome-sudoku-40.1.ebuild
Normal file
49
games-puzzle/gnome-sudoku/gnome-sudoku-40.1.ebuild
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
VALA_MIN_API_VERSION="0.40"
|
||||
|
||||
inherit gnome.org gnome2-utils meson python-any-r1 vala xdg
|
||||
|
||||
DESCRIPTION="Test your logic skills in this number grid puzzle"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Sudoku"
|
||||
|
||||
LICENSE="GPL-3+ CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.40:2
|
||||
dev-libs/libgee:0.8=[introspection]
|
||||
>=x11-libs/gtk+-3.24.0:3[introspection]
|
||||
dev-libs/json-glib
|
||||
>=dev-libs/qqwing-1.3.4
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
$(vala_depend)
|
||||
dev-libs/appstream-glib
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
xdg_src_prepare
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
|
@ -1,2 +1,3 @@
|
|||
DIST gdm-3.36.4.tar.xz 1235796 BLAKE2B eeac6c3c95993d7a75eecd03b51f0519b2f899eaecce8767dbab01eead68bddde21edc999eaf6b7ce747084ac9f88ab71cd7bf602e3bdc5bfe09038e3b01ad3a SHA512 ee8a4ae4a1c4846e4d52fda0b115dfc79ef76b78a2349977767e4212910b5ad331b908601f252292a8a944973372d1dce3124d9ccb8a2519a98d0e4813a6ec61
|
||||
DIST gdm-40.0.tar.xz 800296 BLAKE2B 9c2038758cec09f13c18bd79d431e82a29fb1a2b8ab099498a0b8d920cb93896abceab9157edae8cc15312e03d21eb36b649c2cc8761f9af5fec387c5f28a261 SHA512 b20d02f8a80f6aff8909a69c6c621c20c5aa1b25cfedd68bf95faaaa56d5f7cd5d607d1a7388b97aa06510684f1e9e474248042a00203f496c39930e001bb64c
|
||||
DIST tango-gentoo-v1.1.tar.gz 29322 BLAKE2B 83fa2bf37727e60851dd679054fe1b153ebfea58c9a9a40f891f7d68d3b047b02e8effa1d1b4e08d64500a2072ce7200f159c92a352da7124de27e1b05bb6027 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045
|
||||
|
|
|
@ -0,0 +1,211 @@
|
|||
https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/113
|
||||
|
||||
From 462cc0f5346f5913cf7151044f1c232c5d21c1c3 Mon Sep 17 00:00:00 2001
|
||||
From: Dudemanguy <random342@airmail.cc>
|
||||
Date: Mon, 5 Oct 2020 18:41:55 -0500
|
||||
Subject: [PATCH] meson: allow building with elogind
|
||||
|
||||
Currently, the GDM meson build has a hard dependency on systemd.
|
||||
However, GDM can function just fine if one is using elogind. This allows
|
||||
a user to build GDM against libelogind and also disable the systemd
|
||||
system and user units.
|
||||
---
|
||||
common/meson.build | 2 +-
|
||||
data/meson.build | 62 ++++++++++++++----------
|
||||
data/pam-arch/gdm-launch-environment.pam | 1 +
|
||||
libgdm/meson.build | 2 +-
|
||||
meson.build | 36 +++++++++-----
|
||||
meson_options.txt | 5 +-
|
||||
6 files changed, 66 insertions(+), 42 deletions(-)
|
||||
|
||||
diff --git a/common/meson.build b/common/meson.build
|
||||
index 074dd92e1..bca58f7c4 100644
|
||||
--- a/common/meson.build
|
||||
+++ b/common/meson.build
|
||||
@@ -11,7 +11,7 @@ libgdmcommon_src = files(
|
||||
)
|
||||
|
||||
libgdmcommon_deps = [
|
||||
- libsystemd_dep,
|
||||
+ logind_dep,
|
||||
gobject_dep,
|
||||
gio_dep,
|
||||
gio_unix_dep,
|
||||
diff --git a/data/meson.build b/data/meson.build
|
||||
index 7c5222eaf..403336c31 100644
|
||||
--- a/data/meson.build
|
||||
+++ b/data/meson.build
|
||||
@@ -168,41 +168,53 @@ else
|
||||
service_config.set('PLYMOUTH_QUIT_SERVICE', '')
|
||||
endif
|
||||
|
||||
-if get_option('systemdsystemunitdir') != ''
|
||||
- systemd_systemunitdir = get_option('systemdsystemunitdir')
|
||||
-else
|
||||
- systemd_systemunitdir = systemd_dep.get_pkgconfig_variable('systemdsystemunitdir')
|
||||
+systemdsystemunitdir = get_option('systemdsystemunitdir')
|
||||
+if systemdsystemunitdir != 'no'
|
||||
+ assert(systemd_dep.found(), 'systemd required but not found, please provide a valid systemd system unit dir or disable it')
|
||||
+ if get_option('systemdsystemunitdir') != ''
|
||||
+ systemd_systemunitdir = get_option('systemdsystemunitdir')
|
||||
+ else
|
||||
+ systemd_systemunitdir = systemd_dep.get_pkgconfig_variable('systemdsystemunitdir')
|
||||
+ endif
|
||||
endif
|
||||
|
||||
-if get_option('systemduserunitdir') != ''
|
||||
- systemd_userunitdir = get_option('systemduserunitdir')
|
||||
-else
|
||||
- systemd_userunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir',
|
||||
- define_variable: ['prefix', get_option('prefix')])
|
||||
+systemduserunitdir = get_option('systemduserunitdir')
|
||||
+if systemduserunitdir != 'no'
|
||||
+ assert(systemd_dep.found(), 'systemd required but not found, please provide a valid systemd user unit dir or disable it')
|
||||
+ if get_option('systemduserunitdir') != ''
|
||||
+ systemd_userunitdir = get_option('systemduserunitdir')
|
||||
+ else
|
||||
+ systemd_userunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir',
|
||||
+ define_variable: ['prefix', get_option('prefix')])
|
||||
+ endif
|
||||
endif
|
||||
|
||||
-configure_file(
|
||||
- input: 'gdm.service.in',
|
||||
- output: '@BASENAME@',
|
||||
- configuration: service_config,
|
||||
- install_dir: systemd_systemunitdir,
|
||||
- format: 'cmake'
|
||||
-)
|
||||
+if systemdsystemunitdir != 'no'
|
||||
+ configure_file(
|
||||
+ input: 'gdm.service.in',
|
||||
+ output: '@BASENAME@',
|
||||
+ configuration: service_config,
|
||||
+ install_dir: systemd_systemunitdir,
|
||||
+ format: 'cmake'
|
||||
+ )
|
||||
+endif
|
||||
|
||||
gdm_gnome_session_wanted_targets = []
|
||||
foreach component: gdm_gnome_user_session_wanted_components
|
||||
gdm_gnome_session_wanted_targets += 'Wants=@0@.target'.format(component)
|
||||
endforeach
|
||||
|
||||
-configure_file(
|
||||
- input: 'session.conf.in',
|
||||
- output: 'session.conf',
|
||||
- configuration: {
|
||||
- 'requires_component': gdm_gnome_shell_component,
|
||||
- 'wants_required_components': '\n'.join(gdm_gnome_session_wanted_targets),
|
||||
- },
|
||||
- install_dir: systemd_userunitdir / 'gnome-session@gnome-login.target.d',
|
||||
-)
|
||||
+if systemduserunitdir != 'no'
|
||||
+ configure_file(
|
||||
+ input: 'session.conf.in',
|
||||
+ output: 'session.conf',
|
||||
+ configuration: {
|
||||
+ 'requires_component': gdm_gnome_shell_component,
|
||||
+ 'wants_required_components': '\n'.join(gdm_gnome_session_wanted_targets),
|
||||
+ },
|
||||
+ install_dir: systemd_userunitdir / 'gnome-session@gnome-login.target.d',
|
||||
+ )
|
||||
+endif
|
||||
|
||||
# XSession
|
||||
if get_option('gdm-xsession')
|
||||
diff --git a/libgdm/meson.build b/libgdm/meson.build
|
||||
index 3f8cafbb7..83e95151b 100644
|
||||
--- a/libgdm/meson.build
|
||||
+++ b/libgdm/meson.build
|
||||
@@ -56,7 +56,7 @@ libgdm_deps = [
|
||||
glib_dep,
|
||||
gio_dep,
|
||||
gio_unix_dep,
|
||||
- libsystemd_dep,
|
||||
+ logind_dep,
|
||||
libgdmcommon_dep,
|
||||
]
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index e6fcf4b8b..a86a486b7 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -92,21 +92,30 @@ xdmcp_dep = cc.find_library('Xdmcp', required: get_option('xdmcp'))
|
||||
if xdmcp_dep.found() and get_option('tcp-wrappers')
|
||||
libwrap_dep = cc.find_library('libwrap')
|
||||
endif
|
||||
-# systemd
|
||||
-systemd_dep = dependency('systemd')
|
||||
-libsystemd_dep = dependency('libsystemd')
|
||||
-if meson.version().version_compare('>= 0.53')
|
||||
- systemd_multiseat_x = find_program('systemd-multi-seat-x',
|
||||
- required: false,
|
||||
- dirs: [
|
||||
- systemd_dep.get_pkgconfig_variable('systemdutildir'),
|
||||
- '/lib/systemd',
|
||||
- '/usr/lib/systemd',
|
||||
- ])
|
||||
+
|
||||
+logind_provider = get_option('logind-provider')
|
||||
+systemd_dep = dependency('systemd', required: false)
|
||||
+if logind_provider == 'systemd'
|
||||
+ libsystemd_dep = dependency('libsystemd')
|
||||
+ logind_dep = libsystemd_dep
|
||||
+ if meson.version().version_compare('>= 0.53')
|
||||
+ systemd_multiseat_x = find_program('systemd-multi-seat-x',
|
||||
+ required: false,
|
||||
+ dirs: [
|
||||
+ systemd_dep.get_pkgconfig_variable('systemdutildir'),
|
||||
+ '/lib/systemd',
|
||||
+ '/usr/lib/systemd',
|
||||
+ ])
|
||||
+ else
|
||||
+ systemd_multiseat_x = find_program('systemd-multi-seat-x', required: false)
|
||||
+ endif
|
||||
+ systemd_x_server = systemd_multiseat_x.found()? systemd_multiseat_x.path() : '/lib/systemd/systemd-multi-seat-x'
|
||||
else
|
||||
- systemd_multiseat_x = find_program('systemd-multi-seat-x', required: false)
|
||||
+ elogind_dep = dependency('libelogind')
|
||||
+ logind_dep = elogind_dep
|
||||
+ systemd_x_server = 'disabled'
|
||||
endif
|
||||
-systemd_x_server = systemd_multiseat_x.found()? systemd_multiseat_x.path() : '/lib/systemd/systemd-multi-seat-x'
|
||||
+
|
||||
# Plymouth
|
||||
plymouth_dep = dependency('ply-boot-client', required: get_option('plymouth'))
|
||||
# Check for Solaris auditing API (ADT)
|
||||
@@ -313,6 +322,7 @@ summary({
|
||||
'PAM Syslog': have_pam_syslog,
|
||||
'Supports PAM Extensions': pam_extensions_supported,
|
||||
'SeLinux': libselinux_dep.found(),
|
||||
+ 'Logind Provider': get_option('logind-provider'),
|
||||
'Use GDM Xsession': get_option('gdm-xsession'),
|
||||
'Use UserDisplayServer': get_option('user-display-server'),
|
||||
'Use SystemdJournal': get_option('systemd-journal'),
|
||||
diff --git a/meson_options.txt b/meson_options.txt
|
||||
index 14e0b908b..5135d7d66 100644
|
||||
--- a/meson_options.txt
|
||||
+++ b/meson_options.txt
|
||||
@@ -12,6 +12,7 @@ option('initial-vt', type: 'integer', value: 1, description: 'Initial virtual te
|
||||
option('ipv6', type: 'boolean', value: false, description: 'Enables compilation of IPv6 code.')
|
||||
option('lang-file', type: 'string', value: '', description: 'File containing default language settings.')
|
||||
option('libaudit', type: 'feature', value: 'auto', description: 'Add Linux audit support.')
|
||||
+option('logind-provider', type: 'combo', choices: ['systemd', 'elogind'], value: 'systemd', description: 'Which logind library to use.')
|
||||
option('log-dir', type: 'string', value: '/var/log/gdm', description: 'Log directory.')
|
||||
option('pam-mod-dir', type: 'string', value: '', description: 'Directory to install PAM modules in.')
|
||||
option('pam-prefix', type: 'string', value: '', description: 'Specify where PAM files go.')
|
||||
@@ -27,8 +28,8 @@ option('solaris', type: 'boolean', value: false, description: 'Build for Solaris
|
||||
option('split-authentication', type: 'boolean', value: true, description: 'Enable multiple simultaneous PAM conversations during login.')
|
||||
option('sysconfsubdir', type: 'string', value: 'gdm', description: 'Directory name used under sysconfdir.')
|
||||
option('systemd-journal', type: 'boolean', value: true, description: 'Use journald support.')
|
||||
-option('systemdsystemunitdir', type: 'string', value: '', description: 'Directory for systemd service files.')
|
||||
-option('systemduserunitdir', type: 'string', value: '', description: 'Directory for systemd user service files.')
|
||||
+option('systemdsystemunitdir', type: 'string', value: '', description: 'Directory for systemd service files, or \'no\' to disable.')
|
||||
+option('systemduserunitdir', type: 'string', value: '', description: 'Directory for systemd user service files, or \'no\' to disable.')
|
||||
option('tcp-wrappers', type: 'boolean', value: false, description: 'Use TCP wrappers.')
|
||||
option('udev-dir', type: 'string', value: '', description: 'Directory for udev rules file.')
|
||||
option('user', type: 'string', value: 'gdm', description: 'GDM\'s username.')
|
||||
--
|
||||
GitLab
|
||||
|
207
gnome-base/gdm/gdm-40.0.ebuild
Normal file
207
gnome-base/gdm/gdm-40.0.ebuild
Normal file
|
@ -0,0 +1,207 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop gnome2 meson pam readme.gentoo-r1 systemd toolchain-funcs udev
|
||||
|
||||
DESCRIPTION="GNOME Display Manager for managing graphical display servers and user logins"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/GDM"
|
||||
|
||||
SRC_URI="${SRC_URI}
|
||||
branding? ( https://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="
|
||||
GPL-2+
|
||||
branding? ( CC-BY-SA-4.0 )
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="accessibility audit bluetooth-sound branding elogind fprint ipv6 plymouth selinux systemd tcpd test wayland"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="^^ ( elogind systemd )"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
# dconf, dbus and g-s-d are needed at install time for dconf update
|
||||
# keyutils is automagic dep that makes autologin unlock login keyring when all the passwords match (disk encryption, user pw and login keyring)
|
||||
# dbus-run-session used at runtime
|
||||
COMMON_DEPEND="
|
||||
virtual/udev
|
||||
>=dev-libs/glib-2.56:2
|
||||
>=x11-libs/gtk+-2.91.1:3
|
||||
>=media-libs/libcanberra-0.4[gtk3]
|
||||
>=sys-apps/accountsservice-0.6.35
|
||||
x11-libs/libxcb
|
||||
sys-apps/keyutils:=
|
||||
selinux? ( sys-libs/libselinux )
|
||||
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-base/xorg-server[-minimal]
|
||||
x11-libs/libXdmcp
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
|
||||
systemd? ( >=sys-apps/systemd-186:0=[pam] )
|
||||
elogind? ( >=sys-auth/elogind-239.3[pam] )
|
||||
|
||||
plymouth? ( sys-boot/plymouth )
|
||||
audit? ( sys-process/audit )
|
||||
|
||||
sys-libs/pam
|
||||
sys-auth/pambase[elogind?,systemd?]
|
||||
|
||||
>=gnome-base/dconf-0.20
|
||||
>=gnome-base/gnome-settings-daemon-3.1.4
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
sys-apps/dbus
|
||||
|
||||
>=x11-misc/xdg-utils-1.0.2-r3
|
||||
|
||||
>=dev-libs/gobject-introspection-0.9.12:=
|
||||
"
|
||||
# XXX: These deps are from session and desktop files in data/ directory
|
||||
# fprintd is used via dbus by gdm-fingerprint-extension
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
acct-group/gdm
|
||||
acct-user/gdm
|
||||
>=gnome-base/gnome-session-3.6
|
||||
>=gnome-base/gnome-shell-3.1.90
|
||||
x11-apps/xhost
|
||||
|
||||
accessibility? (
|
||||
>=app-accessibility/orca-3.10
|
||||
gnome-extra/mousetweaks
|
||||
)
|
||||
fprint? ( sys-auth/fprintd[pam] )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
x11-base/xorg-proto
|
||||
"
|
||||
BDEPEND="
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
dev-util/itstool
|
||||
>=gnome-base/dconf-0.20
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
test? ( >=dev-libs/check-0.9.4 )
|
||||
app-text/yelp-tools
|
||||
"
|
||||
|
||||
DOC_CONTENTS="
|
||||
To make GDM start at boot with systemd, run:\n
|
||||
# systemctl enable gdm.service\n
|
||||
\n
|
||||
To make GDM start at boot with OpenRC, edit /etc/conf.d to have
|
||||
DISPLAYMANAGER=\"gdm\" and enable the xdm service:\n
|
||||
# rc-update add xdm
|
||||
\n
|
||||
For passwordless login to unlock your keyring, you need to install
|
||||
sys-auth/pambase with USE=gnome-keyring and set an empty password
|
||||
on your keyring. Use app-crypt/seahorse for that.\n
|
||||
\n
|
||||
You may need to install app-crypt/coolkey and sys-auth/pam_pkcs11
|
||||
for smartcard support
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Gentoo does not have a fingerprint-auth pam stack
|
||||
"${FILESDIR}/${PN}-3.8.4-fingerprint-auth.patch"
|
||||
|
||||
# Add elogind support
|
||||
"${FILESDIR}/${P}-meson-allow-building-with-elogind.patch"
|
||||
|
||||
# Support pam_elogind.so in gdm-launch-environment.pam
|
||||
"${FILESDIR}/pam-elogind.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Show logo when branding is enabled
|
||||
use branding && eapply "${FILESDIR}/${PN}-3.30.3-logo.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --with-initial-vt=7 conflicts with plymouth, bug #453392
|
||||
# gdm-3.30 now reaps (stops) the login screen when the login VT isn't active, which
|
||||
# saves on memory. However this means if we don't start on VT1, gdm doesn't start up
|
||||
# before user manually goes to VT7. Thus as-is we can not keep gdm away from VT1,
|
||||
# so lets try always having it in VT1 and see if that is an issue for people before
|
||||
# hacking up workarounds for the initial start case.
|
||||
local emesonargs=(
|
||||
--localstatedir /var
|
||||
|
||||
-Ddefault-pam-config=exherbo
|
||||
-Dgdm-xsession=true
|
||||
-Dgroup=gdm
|
||||
$(meson_use ipv6)
|
||||
$(meson_feature audit libaudit)
|
||||
-Dlogind-provider=$(usex systemd systemd elogind)
|
||||
-Dpam-mod-dir=$(getpam_mod_dir)
|
||||
$(meson_feature plymouth)
|
||||
-Drun-dir=/run/gdm
|
||||
$(meson_feature selinux)
|
||||
$(meson_use systemd systemd-journal)
|
||||
-Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
-Dsystemduserunitdir="$(systemd_get_userunitdir)"
|
||||
$(meson_use tcpd tcp-wrappers)
|
||||
-Dudev-dir=$(get_udevdir)
|
||||
-Duser=gdm
|
||||
-Duser-display-server=true
|
||||
$(meson_use wayland wayland-support)
|
||||
-Dxdmcp=enabled
|
||||
)
|
||||
|
||||
if use elogind; then
|
||||
emesonargs+=(
|
||||
-Dinitial-vt=7 # TODO: Revisit together with startDM.sh and other xinit talks; also ignores plymouth possibility
|
||||
)
|
||||
fi
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if ! use accessibility ; then
|
||||
rm "${ED}"/usr/share/gdm/greeter/autostart/orca-autostart.desktop || die
|
||||
fi
|
||||
|
||||
if ! use bluetooth-sound ; then
|
||||
# Workaround https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/10
|
||||
# bug #679526
|
||||
insinto /var/lib/gdm/.config/pulse
|
||||
doins "${FILESDIR}"/default.pa
|
||||
fi
|
||||
|
||||
# install XDG_DATA_DIRS gdm changes
|
||||
echo 'XDG_DATA_DIRS="/usr/share/gdm"' > 99xdg-gdm
|
||||
doenvd 99xdg-gdm
|
||||
|
||||
use branding && newicon "${WORKDIR}/tango-gentoo-v1.1/scalable/gentoo.svg" gentoo-gdm.svg
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
local d ret
|
||||
|
||||
# bug #669146; gdm may crash if /var/lib/gdm subdirs are not owned by gdm:gdm
|
||||
ret=0
|
||||
ebegin "Fixing "${EROOT}"/var/lib/gdm ownership"
|
||||
chown --no-dereference gdm:gdm "${EROOT}/var/lib/gdm" || ret=1
|
||||
for d in "${EROOT}/var/lib/gdm/"{.cache,.color,.config,.dbus,.local}; do
|
||||
[[ ! -e "${d}" ]] || chown --no-dereference -R gdm:gdm "${d}" || ret=1
|
||||
done
|
||||
eend ${ret}
|
||||
|
||||
systemd_reenable gdm.service
|
||||
readme.gentoo_print_elog
|
||||
}
|
|
@ -106,7 +106,7 @@ RDEPEND="${DEPEND}
|
|||
"
|
||||
# avoid circular dependency, see bug #546134
|
||||
PDEPEND="
|
||||
>=gnome-base/gdm-3.5[introspection]
|
||||
>=gnome-base/gdm-3.5[introspection(+)]
|
||||
>=gnome-base/gnome-control-center-3.26[bluetooth(+)?,networkmanager(+)?]
|
||||
browser-extension? ( gnome-extra/chrome-gnome-shell )
|
||||
"
|
||||
|
|
|
@ -107,7 +107,7 @@ RDEPEND="${DEPEND}
|
|||
"
|
||||
# avoid circular dependency, see bug #546134
|
||||
PDEPEND="
|
||||
>=gnome-base/gdm-3.5[introspection]
|
||||
>=gnome-base/gdm-3.5[introspection(+)]
|
||||
>=gnome-base/gnome-control-center-3.26[bluetooth(+)?,networkmanager(+)?]
|
||||
browser-extension? ( gnome-extra/chrome-gnome-shell )
|
||||
"
|
||||
|
|
|
@ -106,7 +106,7 @@ RDEPEND="${DEPEND}
|
|||
"
|
||||
# avoid circular dependency, see bug #546134
|
||||
PDEPEND="
|
||||
>=gnome-base/gdm-3.5[introspection]
|
||||
>=gnome-base/gdm-3.5[introspection(+)]
|
||||
>=gnome-base/gnome-control-center-3.26[bluetooth(+)?,networkmanager(+)?]
|
||||
browser-extension? ( gnome-extra/chrome-gnome-shell )
|
||||
"
|
||||
|
|
|
@ -111,7 +111,7 @@ RDEPEND="${DEPEND}
|
|||
"
|
||||
# avoid circular dependency, see bug #546134
|
||||
PDEPEND="
|
||||
>=gnome-base/gdm-3.5[introspection]
|
||||
>=gnome-base/gdm-3.5[introspection(+)]
|
||||
>=gnome-base/gnome-control-center-3.26[bluetooth(+)?,networkmanager(+)?]
|
||||
browser-extension? ( gnome-extra/chrome-gnome-shell )
|
||||
"
|
||||
|
|
Binary file not shown.
|
@ -1,2 +1,3 @@
|
|||
DIST evolution-data-server-3.38.4.tar.xz 4663372 BLAKE2B 1be9159e210b88577dd367a64967aca1facea1c2f4a1611bdf773f8d01c2f4bacfa0eaaca37a9f094570c7897fc4a7be89bd303ce0739bd7f2fc925ac148bd84 SHA512 0b70850519316dd361e6d04607f3f9e4afe1bd0869a34e8403f02cefa7cc5ee683645031e337b6dcba4d89461aa7954e8d36d9c5b1c5bf12fd53b5411b908c3f
|
||||
DIST evolution-data-server-3.40.0.tar.xz 4623568 BLAKE2B 4c0b8de1eb9129e351f90477f06bcaa6b9f37b0d616df3dc2c53635e0f2ea3520546be7f88dd1ee68d32a37b385e68f5c48ca79d36c63a0f9d10261b557162c4 SHA512 d31ef0d270ef64909150c0e087835bb6308125155664eee3375be6a59c9c43cd251e9617adbf819846a7d9bb73309ec51699159ee06465266193ad5dea3c0a00
|
||||
DIST evolution-data-server-3.40.1.tar.xz 4625316 BLAKE2B d795183d07bc7b58a00e3c6f60d3704cf7e0cc6237b079c49f2e21dd7c22098c2b7b3fd2ca50fd3d9268aff8e5eaeea2e0e6c65d09c8bd68b7364445eb926c7c SHA512 47964a0965d412c329743423483c6694d078835b375d457aabe7e45a2b1b3406e4e0d4c1b855460f3c9b327d4d9320e659b0e43243816ec1e9bc49d0fea90f7d
|
||||
|
|
|
@ -0,0 +1,152 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit cmake db-use flag-o-matic gnome2 systemd vala virtualx
|
||||
|
||||
DESCRIPTION="Evolution groupware backend"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
|
||||
|
||||
# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
|
||||
LICENSE="|| ( LGPL-2 LGPL-3 ) BSD Sleepycat"
|
||||
SLOT="0/62-26-20" # subslot = libcamel-1.2/libedataserver-1.2/libebook-1.2.so soname version
|
||||
|
||||
IUSE="berkdb +gnome-online-accounts +gtk gtk-doc +introspection ipv6 ldap kerberos oauth vala +weather"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
|
||||
# gdata-0.17.7 soft required for new gdata_feed_get_next_page_token API to handle more than 100 google tasks
|
||||
# berkdb needed only for migrating old addressbook data from <3.13 versions, bug #519512
|
||||
gdata_depend=">=dev-libs/libgdata-0.17.7:=[vala?]"
|
||||
RDEPEND="
|
||||
>=app-crypt/gcr-3.4
|
||||
>=app-crypt/libsecret-0.5[crypt]
|
||||
>=dev-db/sqlite-3.7.17:=
|
||||
>=dev-libs/glib-2.46:2
|
||||
>=dev-libs/libical-3.0.8:=[glib,introspection?]
|
||||
>=dev-libs/libxml2-2
|
||||
>=dev-libs/nspr-4.4:=
|
||||
>=dev-libs/nss-3.9:=
|
||||
>=net-libs/libsoup-2.58:2.4
|
||||
|
||||
dev-libs/icu:=
|
||||
sys-libs/zlib:=
|
||||
virtual/libiconv
|
||||
|
||||
berkdb? ( >=sys-libs/db-4:= )
|
||||
gtk? (
|
||||
>=app-crypt/gcr-3.4[gtk]
|
||||
>=x11-libs/gtk+-3.16:3
|
||||
>=media-libs/libcanberra-0.25[gtk3]
|
||||
)
|
||||
oauth? (
|
||||
>=dev-libs/json-glib-1.0.4
|
||||
>=net-libs/webkit-gtk-2.28.0:4
|
||||
${gdata_depend}
|
||||
)
|
||||
gnome-online-accounts? (
|
||||
>=net-libs/gnome-online-accounts-3.8:=
|
||||
${gdata_depend} )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
|
||||
kerberos? ( virtual/krb5:= )
|
||||
ldap? ( >=net-nds/openldap-2:= )
|
||||
weather? ( >=dev-libs/libgweather-3.10:2= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
vala? ( $(vala_depend)
|
||||
net-libs/libsoup:2.4[vala]
|
||||
dev-libs/libical[vala]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
dev-util/gperf
|
||||
gtk-doc? ( >=dev-util/gtk-doc-1.14
|
||||
app-text/docbook-xml-dtd:4.1.2 )
|
||||
>=dev-util/intltool-0.35.5
|
||||
>=sys-devel/gettext-0.18.3
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# Some tests fail due to missing locales.
|
||||
# Also, dbus tests are flaky, bugs #397975 #501834
|
||||
# It looks like a nightmare to disable those for now.
|
||||
RESTRICT="test !test? ( test )"
|
||||
|
||||
# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call
|
||||
src_prepare() {
|
||||
use vala && vala_src_prepare
|
||||
cmake_src_prepare
|
||||
gnome2_src_prepare
|
||||
|
||||
eapply "${FILESDIR}"/3.36.5-gtk-doc-1.32-compat.patch
|
||||
|
||||
# Make CMakeLists versioned vala enabled
|
||||
sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \
|
||||
-e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \
|
||||
-i "${S}"/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# /usr/include/db.h is always db-1 on FreeBSD
|
||||
# so include the right dir in CPPFLAGS
|
||||
use berkdb && append-cppflags "-I$(db_includedir)"
|
||||
|
||||
local google_enable
|
||||
if use oauth || use gnome-online-accounts; then
|
||||
google_enable="ON"
|
||||
else
|
||||
google_enable="OFF"
|
||||
fi
|
||||
|
||||
# phonenumber does not exist in tree
|
||||
local mycmakeargs=(
|
||||
-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
|
||||
-DENABLE_GTK_DOC=$(usex gtk-doc)
|
||||
-DWITH_PRIVATE_DOCS=$(usex gtk-doc)
|
||||
-DENABLE_SCHEMAS_COMPILE=OFF
|
||||
-DENABLE_INTROSPECTION=$(usex introspection)
|
||||
-DWITH_KRB5=$(usex kerberos)
|
||||
-DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "")
|
||||
-DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "")
|
||||
-DWITH_OPENLDAP=$(usex ldap)
|
||||
-DWITH_PHONENUMBER=OFF
|
||||
-DENABLE_SMIME=ON
|
||||
-DENABLE_GTK=$(usex gtk)
|
||||
-DENABLE_CANBERRA=$(usex gtk)
|
||||
-DENABLE_OAUTH2=$(usex oauth)
|
||||
-DENABLE_EXAMPLES=OFF
|
||||
-DENABLE_GOA=$(usex gnome-online-accounts)
|
||||
-DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF)
|
||||
# ENABLE_BACKTRACES requires libdwarf ?
|
||||
-DENABLE_IPV6=$(usex ipv6)
|
||||
-DENABLE_WEATHER=$(usex weather)
|
||||
-DENABLE_GOOGLE=${google_enable}
|
||||
-DENABLE_LARGEFILE=ON
|
||||
-DENABLE_VALA_BINDINGS=$(usex vala)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use ldap; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${FILESDIR}"/calentry.schema
|
||||
dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
|
||||
fi
|
||||
}
|
|
@ -1,2 +1,3 @@
|
|||
DIST evolution-ews-3.38.4.tar.xz 651384 BLAKE2B e4f71d38ddef6347ba3c137bac2246a6f4ffb5990ac2b6d3be72549326ae579c0a0f2bf11d19ce578ea37b99d0f8613d8d6a7e2ac75b9381e3b8c96646e483fc SHA512 98c1fecfa45bb2fe8337a1da54f09ef620128e4bba28b008aab3117291f7df708e6676421f3b8514448d035f1288591e54642f1426830fca7ba0320e3f3a99fc
|
||||
DIST evolution-ews-3.40.0.tar.xz 666148 BLAKE2B f8d7f6c917114e57bcc8ea93072f520069f7f183ce67ef5a5304c6721b3b9dae262ad5a2a8fc78b8ea75495f7f31f565b5db8e5bb02acaa5666ced15c0c3c5f2 SHA512 c5b0fdfbe455941444974738853a1c0346b77b96a483db8ff5b509a7c7dda90a0c1795749f3b17eeef4b3c2aceb06e51d2c5f9d784c0b6c17c78f8c37bc1c9af
|
||||
DIST evolution-ews-3.40.1.tar.xz 672448 BLAKE2B ac6548c2567dd1ca303def27a21974f93d44c1175e8474bebaa6576dc63f8624c32e9357186e2c1412ca2091412b17e0f244c60919652ede55fb77e1bb384b90 SHA512 8d0477b500ee1b0c6a9527f2d63fe0b4238862425a079729478a8df880f35e6a1166d2f8f77cafa73844351f0cffe171d857366c4527770d7436d8b4ace29b99
|
||||
|
|
68
gnome-extra/evolution-ews/evolution-ews-3.40.1.ebuild
Normal file
68
gnome-extra/evolution-ews/evolution-ews-3.40.1.ebuild
Normal file
|
@ -0,0 +1,68 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake gnome2
|
||||
|
||||
DESCRIPTION="Evolution module for connecting to Microsoft Exchange Web Services"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# libical-glib currently (2020-02-29) oddly behind USE=introspection
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/glib-2.62:2
|
||||
>=dev-libs/libical-3.0.5:0=[introspection(-)]
|
||||
>=dev-libs/json-glib-1.0.4
|
||||
>=dev-libs/libmspack-0.4
|
||||
dev-libs/libxml2:2
|
||||
>=gnome-extra/evolution-data-server-${PV}:0=
|
||||
>=mail-client/evolution-${PV}:2.0
|
||||
>=net-libs/libsoup-2.58:2.4
|
||||
>=x11-libs/gtk+-3.10:3
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( net-libs/uhttpmock )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
>=dev-util/intltool-0.35.5
|
||||
>=sys-devel/gettext-0.18.3
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# Unittests fail to find libevolution-ews.so
|
||||
RESTRICT="test !test? ( test )"
|
||||
|
||||
# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare
|
||||
# call; if needed, set them after cmake_src_prepare call, if that works
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_MSPACK=ON
|
||||
-DENABLE_TESTS=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
}
|
Binary file not shown.
|
@ -1,2 +1,3 @@
|
|||
DIST evolution-3.38.4.tar.xz 12165500 BLAKE2B 0f60774fab861bb5999a5cbafa04de96e02b01092f257f0bd31d13eafb31c89b17994d0d013ee80b40e7b1af37ad8966c4a93379d138488a63280ca24062edba SHA512 b27f5e495d039a0a274ec2e68654abec64ea9cf81fe9a46b3a460a49325b1dcbe86ab1a7bbd9912254406c8faddc115b7a59a736dec42e1ca641edcc340743a8
|
||||
DIST evolution-3.40.0.tar.xz 12215660 BLAKE2B fb60c2dd45cae22d8095cf0f7a0f4691816f3a5a3417b9bf3af2a6171f86d63b32bf8efd3a57fb665f22c6a07491d25fa685c60c198a1ddd50533b5ef18ae626 SHA512 9d672143213e5b37a15b8667b0c6cc6d6217cff981569fa937309839926607e3ef1f39743a5a1cf9ab2a181413fed85c4b36bb4dbf21dee492753d17d7f88548
|
||||
DIST evolution-3.40.1.tar.xz 12223944 BLAKE2B 00e37d45c5139e77ab9461948185467c9d2fadd3b315bdc65b6a55fe78e605a1eb65479ced304fc0d5a2bd2acf813164fc567254ad8e692701823420195c810a SHA512 acebe937e7bce5e998b86ceb8e53b07ffc9f558543b72cc5d68a54ca2714684bdf3f22726f243754c6ecea7205ccb1b9411095e9c62ca7f9890d2edb0a0b0d00
|
||||
|
|
152
mail-client/evolution/evolution-3.40.1.ebuild
Normal file
152
mail-client/evolution/evolution-3.40.1.ebuild
Normal file
|
@ -0,0 +1,152 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake gnome2 flag-o-matic readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Integrated mail, addressbook and calendaring functionality"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
|
||||
|
||||
# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
|
||||
LICENSE="|| ( LGPL-2 LGPL-3 ) CC-BY-SA-3.0 FDL-1.3+ OPENLDAP"
|
||||
SLOT="2.0"
|
||||
|
||||
IUSE="archive +bogofilter geolocation gtk-doc highlight ldap spamassassin spell ssl +weather ytnef"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
# glade-3 support is for maintainers only per configure.ac
|
||||
# pst is not mature enough and changes API/ABI frequently
|
||||
# dconf explicitely needed for backup plugin
|
||||
# gnome-desktop support is optional with --enable-gnome-desktop
|
||||
# automagic libunity dep
|
||||
# >=gspell-1.8 to ensure it uses enchant:2 like webkit-gtk
|
||||
DEPEND="
|
||||
>=app-crypt/gcr-3.4:=[gtk]
|
||||
>=app-text/enchant-2.2.0:2
|
||||
>=dev-libs/glib-2.56:2[dbus]
|
||||
>=dev-libs/libxml2-2.7.3:2
|
||||
>=gnome-base/gnome-desktop-2.91.3:3=
|
||||
>=gnome-base/gsettings-desktop-schemas-2.91.92
|
||||
>=gnome-extra/evolution-data-server-${PV}:=[gtk,weather?]
|
||||
>=media-libs/libcanberra-0.25[gtk3]
|
||||
>=net-libs/libsoup-2.42:2.4
|
||||
>=net-libs/webkit-gtk-2.28.0:4[spell?]
|
||||
>=x11-libs/cairo-1.9.15:=[glib]
|
||||
>=x11-libs/gdk-pixbuf-2.24:2
|
||||
>=x11-libs/gtk+-3.22:3
|
||||
>=x11-libs/libnotify-0.7:=
|
||||
>=x11-misc/shared-mime-info-0.22
|
||||
|
||||
>=app-text/iso-codes-0.49
|
||||
dev-libs/atk
|
||||
gnome-base/dconf
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
|
||||
archive? ( >=app-arch/gnome-autoar-0.1.1[gtk] )
|
||||
bogofilter? ( mail-filter/bogofilter )
|
||||
geolocation? (
|
||||
>=media-libs/libchamplain-0.12:0.12[gtk]
|
||||
>=media-libs/clutter-1.0.0:1.0
|
||||
>=media-libs/clutter-gtk-0.90:1.0
|
||||
>=sci-geosciences/geocode-glib-3.10.0
|
||||
x11-libs/mx:1.0 )
|
||||
ldap? ( >=net-nds/openldap-2:= )
|
||||
spamassassin? ( mail-filter/spamassassin )
|
||||
spell? ( >=app-text/gspell-1.8:= )
|
||||
ssl? (
|
||||
>=dev-libs/nspr-4.6.1:=
|
||||
>=dev-libs/nss-3.11:= )
|
||||
weather? ( >=dev-libs/libgweather-3.10:2= )
|
||||
ytnef? ( net-mail/ytnef )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
highlight? ( app-text/highlight )
|
||||
"
|
||||
BDEPEND="
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
dev-util/itstool
|
||||
gtk-doc? ( dev-util/gtk-doc
|
||||
app-text/docbook-xml-dtd:4.3 )
|
||||
>=dev-util/intltool-0.40.0
|
||||
>=sys-devel/gettext-0.18.3
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="To change the default browser if you are not using GNOME, edit
|
||||
~/.local/share/applications/mimeapps.list so it includes the
|
||||
following content:
|
||||
|
||||
[Default Applications]
|
||||
x-scheme-handler/http=firefox.desktop
|
||||
x-scheme-handler/https=firefox.desktop
|
||||
|
||||
(replace firefox.desktop with the name of the appropriate .desktop
|
||||
file from /usr/share/applications if you use a different browser)."
|
||||
|
||||
# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare
|
||||
# call; if needed, set them after cmake_src_prepare call, if that works
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Use NSS/NSPR only if 'ssl' is enabled.
|
||||
local mycmakeargs=(
|
||||
-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
|
||||
-DENABLE_SCHEMAS_COMPILE=OFF
|
||||
-DENABLE_GTK_DOC=$(usex gtk-doc)
|
||||
-DWITH_OPENLDAP=$(usex ldap)
|
||||
-DENABLE_SMIME=$(usex ssl)
|
||||
-DENABLE_GNOME_DESKTOP=ON
|
||||
-DWITH_ENCHANT_VERSION=2
|
||||
-DENABLE_CANBERRA=ON
|
||||
-DENABLE_AUTOAR=$(usex archive)
|
||||
-DWITH_HELP=ON
|
||||
-DENABLE_YTNEF=OFF
|
||||
-DWITH_BOGOFILTER=$(usex bogofilter)
|
||||
-DWITH_SPAMASSASSIN=$(usex spamassassin)
|
||||
-DENABLE_GSPELL=$(usex spell)
|
||||
-DENABLE_TEXT_HIGHLIGHT=$(usex highlight)
|
||||
-DENABLE_WEATHER=$(usex weather)
|
||||
-DENABLE_CONTACT_MAPS=$(usex geolocation)
|
||||
-DENABLE_YTNEF=$(usex ytnef)
|
||||
-DENABLE_PST_IMPORT=OFF
|
||||
-DWITH_GLADE_CATALOG=OFF
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# Problems with prelink:
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=731680
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=732148
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1114538
|
||||
echo PRELINK_PATH_MASK=/usr/bin/evolution > ${T}/99${PN}
|
||||
doenvd "${T}"/99${PN}
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
readme.gentoo_print_elog
|
||||
}
|
|
@ -73,7 +73,7 @@ src_prepare() {
|
|||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dprofile=development
|
||||
-Dprofile=release
|
||||
-Drevno="${PR}"
|
||||
-Dvaladoc=disabled
|
||||
-Dcontractor=disabled
|
||||
|
|
|
@ -19,7 +19,7 @@ HOMEPAGE="https://neomutt.org/"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl
|
||||
IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet
|
||||
lmdb nls notmuch pgp-classic qdbm sasl selinux slang smime-classic
|
||||
ssl tokyocabinet test"
|
||||
REQUIRED_USE="
|
||||
|
@ -50,11 +50,8 @@ CDEPEND="
|
|||
sasl? ( >=dev-libs/cyrus-sasl-2 )
|
||||
!slang? ( sys-libs/ncurses:0= )
|
||||
slang? ( sys-libs/slang )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-1.0.2u:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
"
|
||||
ssl? ( >=dev-libs/openssl-1.0.2u:0= )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/tcl:=
|
||||
net-mail/mailbase
|
||||
|
|
|
@ -19,7 +19,7 @@ HOMEPAGE="https://neomutt.org/"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl
|
||||
IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet
|
||||
lmdb nls notmuch pgp-classic qdbm sasl selinux slang smime-classic
|
||||
ssl tokyocabinet test"
|
||||
REQUIRED_USE="
|
||||
|
@ -50,10 +50,7 @@ CDEPEND="
|
|||
sasl? ( >=dev-libs/cyrus-sasl-2 )
|
||||
!slang? ( sys-libs/ncurses:0= )
|
||||
slang? ( sys-libs/slang )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-1.0.2u:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
ssl? ( >=dev-libs/openssl-1.0.2u:0= )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/tcl:=
|
||||
|
|
|
@ -19,7 +19,7 @@ HOMEPAGE="https://neomutt.org/"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl
|
||||
IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet
|
||||
lmdb nls notmuch pgp-classic qdbm sasl selinux slang smime-classic
|
||||
ssl tokyocabinet test"
|
||||
REQUIRED_USE="
|
||||
|
@ -50,10 +50,7 @@ CDEPEND="
|
|||
sasl? ( >=dev-libs/cyrus-sasl-2 )
|
||||
!slang? ( sys-libs/ncurses:0= )
|
||||
slang? ( sys-libs/slang )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-1.0.2u:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
ssl? ( >=dev-libs/openssl-1.0.2u:0= )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/tcl:=
|
||||
|
|
|
@ -19,7 +19,7 @@ HOMEPAGE="https://neomutt.org/"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet libressl
|
||||
IUSE="autocrypt berkdb doc gdbm gnutls gpgme idn kerberos kyotocabinet
|
||||
lmdb nls notmuch pgp-classic qdbm sasl selinux slang smime-classic
|
||||
ssl tokyocabinet test"
|
||||
REQUIRED_USE="
|
||||
|
@ -50,10 +50,7 @@ CDEPEND="
|
|||
sasl? ( >=dev-libs/cyrus-sasl-2 )
|
||||
!slang? ( sys-libs/ncurses:0= )
|
||||
slang? ( sys-libs/slang )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-1.0.2u:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
ssl? ( >=dev-libs/openssl-1.0.2u:0= )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/tcl:=
|
||||
|
|
Binary file not shown.
|
@ -1,6 +1,8 @@
|
|||
DIST ImageMagick-6.9.12-10.tar.xz 9154060 BLAKE2B 23f9ba449970190a8fee14b161ff893199188f93d9a29e188325448b97a68b61ba70a92289c096371e2988db3d599b52d0d8df06105d06f5dcc4f7d3c6ef4ea5 SHA512 75f3450cfbf779af22efc02733f99ac62ed92ad869ae28a279805ffe38adb515507592e7111ba881ac5b781972841942f7f8e5ecc8ab6f773aef8de454a80b35
|
||||
DIST ImageMagick-6.9.12-7.tar.xz 9156816 BLAKE2B 56a13ff744b15fb987232b70d9ea2a14b10de709011375da2b970e408d91079be38ccc5a301308734293c18c81d78a2e68ecee56b7d8478c6222cd7745b847ab SHA512 cfb261c60c07bc52cd491173a17040b33b0fa95f396d933fe9e14767cb5d009a8ebe7194949c2387c723d3a0492bc7b7a078ed89ce8a0024dd8ed73b40748d4c
|
||||
DIST ImageMagick-6.9.12-8.tar.xz 9159788 BLAKE2B ceb383d93cd70a2d5755a982a47a7f996b4e9cd4eaa7cfcb14d01fdc84904ccac9d897337616116f0fbf1bed7640ba93bcf5426552a83b45d2de455cbf0bda42 SHA512 e248aab0490eaf382a7be36679c23c0a84386302d5a1cd0d054af79fa95d8f6f03a5ad0f628cd818d453284f9b353168491ed58047338ec8eec15983d3007fed
|
||||
DIST ImageMagick-6.9.12-9.tar.xz 9161440 BLAKE2B 05c7e3290060fe83aaf1f88761fa2afe63b720fe397ab2f22264d1c4b28cc92c33a2f94782994dce33f8f4528df7cc60503460b23183f815cc43e169cf38c73c SHA512 90848fa3381c69c6526fe6473b9b847cfa81e500aa7ad2be32c4030de1fb84432d83c1dee75a90914e6a18d6aa747aa58696adec43ff61e797f92d0dbcfde01a
|
||||
DIST ImageMagick-7.0.11-10.tar.xz 10280304 BLAKE2B 9db1c26eb80dfb929bfced2ac0d6adc29e4e68c759611723812edfb4bf8132d1e39e053506c43179d468ac4027ddea8a85bd5f34d0d738778b7b92546bbbeef8 SHA512 a92a8a65ab7503edada45da9c34488deb79c00d005afcc85a17365fd76c83a174a7213bea4bd072f1125f2342722cb067ffa1513f6530db9608cb6dcff4f68d1
|
||||
DIST ImageMagick-7.0.11-7.tar.xz 10280524 BLAKE2B a4d0cb3e157bff25245d6c3bf3eba55d6f3693ba66d8c5efbc757b31077b1bac0753dca095f853455793355e92e8376a8e41acf3809115c6dbae47977190c42d SHA512 5c36aa566892f0e473ccec0058d7113779704cdf8f4d747132434216c9c0f304de5aafbbbcacc4b21d7e6224e3b9c9439fe6b446e28e821f614c2d1026a280e7
|
||||
DIST ImageMagick-7.0.11-8.tar.xz 10280632 BLAKE2B 99c41f09b740f4222b17efa41c8b54445ccb3cfd23aa16d6ae16433952e6c94a02c8db0ffaa3b51e432a2bddb39060b1789b4778f1d9f756b0b992d706a3884d SHA512 e4aa87b30bb75fba815cd4f617a7c0dba29523c03ad6670c7514842587678553d0b45100ccd6e041d59628cf30fe047243d440af78b39d0f82cd405ff0ea0f96
|
||||
DIST ImageMagick-7.0.11-9.tar.xz 10266692 BLAKE2B 18e2b7d5e8f93af68cd7a7379968279a1119d25a06bc131465c9ebb500f923664b4332c02828d0837fd1f15395de99b1bdacaf016f1a4a021d71dbe7d0878f46 SHA512 73ecb116fd8885f2ec88a12ae8b36c51b37de3e7e2aa2f9fbbd24a90bc0d78d7603663ec8003abea8af0f200a6176fb26998963a9bb90ce80ebc7feb2dd8921a
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue