parent
e6414d33f9
commit
1a611b1d3e
Binary file not shown.
Binary file not shown.
@ -0,0 +1,172 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{5,6} )
|
||||||
|
inherit autotools python-single-r1 systemd
|
||||||
|
|
||||||
|
MY_PV_MM=$(ver_cut 1-2)
|
||||||
|
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||||
|
HOMEPAGE="https://syslog-ng.com/open-source-log-management"
|
||||||
|
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 ~s390 ~sparc ~x86"
|
||||||
|
IUSE="amqp caps dbi geoip geoip2 http ipv6 json libressl mongodb pacct python redis smtp spoof-source systemd tcpd"
|
||||||
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
|
# unit tests require https://github.com/Snaipe/Criterion with additional deps
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/glib-2.10.1:2
|
||||||
|
>=dev-libs/ivykis-0.42.3
|
||||||
|
>=dev-libs/libpcre-6.1:=
|
||||||
|
!dev-libs/eventlog
|
||||||
|
amqp? ( >=net-libs/rabbitmq-c-0.8.0:=[ssl] )
|
||||||
|
caps? ( sys-libs/libcap )
|
||||||
|
dbi? ( >=dev-db/libdbi-0.9.0 )
|
||||||
|
geoip? ( >=dev-libs/geoip-1.5.0 )
|
||||||
|
geoip2? ( dev-libs/libmaxminddb:= )
|
||||||
|
http? ( net-misc/curl )
|
||||||
|
json? ( >=dev-libs/json-c-0.9:= )
|
||||||
|
mongodb? ( >=dev-libs/mongo-c-driver-1.2.0 )
|
||||||
|
python? ( ${PYTHON_DEPS} )
|
||||||
|
redis? ( >=dev-libs/hiredis-0.11.0:= )
|
||||||
|
smtp? ( net-libs/libesmtp )
|
||||||
|
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= )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
sys-devel/flex
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS NEWS.md CONTRIBUTING.md contrib/syslog-ng.conf.{HP-UX,RedHat,SunOS,doc}
|
||||||
|
contrib/syslog2ng "${T}/syslog-ng.conf.gentoo.hardened"
|
||||||
|
"${T}/syslog-ng.logrotate.hardened" "${FILESDIR}/README.hardened" )
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use python && python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local f
|
||||||
|
|
||||||
|
use python && python_fix_shebang .
|
||||||
|
|
||||||
|
# remove bundled libs
|
||||||
|
rm -r lib/ivykis || die
|
||||||
|
|
||||||
|
# drop scl modules requiring json
|
||||||
|
if use !json; then
|
||||||
|
sed -i -r '/cim|elasticsearch|ewmm|graylog2|loggly|logmatic|netskope|nodejs|osquery|slack/d' scl/Makefile.am || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# drop scl modules requiring http
|
||||||
|
if use !http; then
|
||||||
|
sed -i -r '/slack|telegram/d' scl/Makefile.am || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# use gentoo default path
|
||||||
|
if use systemd; then
|
||||||
|
sed -e 's@/etc/syslog-ng.conf@/etc/syslog-ng/syslog-ng.conf@g;s@/var/run@/run@g' \
|
||||||
|
-i contrib/systemd/syslog-ng@default || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
for f in syslog-ng.logrotate.hardened.in syslog-ng.logrotate.in; do
|
||||||
|
sed \
|
||||||
|
-e "s#@GENTOO_RESTART@#$(usex systemd "systemctl kill -s HUP syslog-ng@default" \
|
||||||
|
"/etc/init.d/syslog-ng reload")#g" \
|
||||||
|
"${FILESDIR}/${f}" > "${T}/${f/.in/}" || die
|
||||||
|
done
|
||||||
|
|
||||||
|
for f in syslog-ng.conf.gentoo.fbsd.in \
|
||||||
|
syslog-ng.conf.gentoo.hardened.in \
|
||||||
|
syslog-ng.conf.gentoo.in; do
|
||||||
|
sed -e "s/@SYSLOGNG_VERSION@/${MY_PV_MM}/g" "${FILESDIR}/${f}" > "${T}/${f/.in/}" || die
|
||||||
|
done
|
||||||
|
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--disable-docs
|
||||||
|
--disable-java
|
||||||
|
--disable-java-modules
|
||||||
|
--disable-riemann
|
||||||
|
--enable-manpages
|
||||||
|
--localstatedir=/var/lib/syslog-ng
|
||||||
|
--sysconfdir=/etc/syslog-ng
|
||||||
|
--with-embedded-crypto
|
||||||
|
--with-ivykis=system
|
||||||
|
--with-module-dir=/usr/$(get_libdir)/syslog-ng
|
||||||
|
--with-pidfile-dir=/var/run
|
||||||
|
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||||
|
$(use_enable amqp)
|
||||||
|
$(usex amqp --with-librabbitmq-client=system --without-librabbitmq-client)
|
||||||
|
$(use_enable caps linux-caps)
|
||||||
|
$(use_enable dbi sql)
|
||||||
|
$(use_enable geoip)
|
||||||
|
$(use_enable geoip2)
|
||||||
|
$(use_enable http)
|
||||||
|
$(use_enable ipv6)
|
||||||
|
$(use_enable json)
|
||||||
|
$(use_enable mongodb)
|
||||||
|
$(usex mongodb --with-mongoc=system "--without-mongoc --disable-legacy-mongodb-options")
|
||||||
|
$(use_enable pacct)
|
||||||
|
$(use_enable python)
|
||||||
|
$(use_enable redis)
|
||||||
|
$(use_enable smtp)
|
||||||
|
$(use_enable spoof-source)
|
||||||
|
$(use_enable systemd)
|
||||||
|
$(use_enable tcpd tcp-wrapper)
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Install default configuration
|
||||||
|
insinto /etc/default
|
||||||
|
doins contrib/systemd/syslog-ng@default
|
||||||
|
|
||||||
|
insinto /etc/syslog-ng
|
||||||
|
if use userland_BSD ; then
|
||||||
|
newins "${T}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf
|
||||||
|
else
|
||||||
|
newins "${T}/syslog-ng.conf.gentoo" syslog-ng.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${T}/syslog-ng.logrotate" syslog-ng
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}/syslog-ng.rc" syslog-ng
|
||||||
|
newconfd "${FILESDIR}/syslog-ng.confd" syslog-ng
|
||||||
|
keepdir /etc/syslog-ng/patterndb.d /var/lib/syslog-ng
|
||||||
|
find "${D}" -name '*.la' -delete || die
|
||||||
|
|
||||||
|
use python && python_optimize
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# bug #355257
|
||||||
|
if ! has_version app-admin/logrotate ; then
|
||||||
|
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||||
|
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||||
|
elog "for logrotate to use."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use systemd; then
|
||||||
|
ewarn "The service file for systemd has changed to support multiple instances."
|
||||||
|
ewarn "To start the default instance issue:"
|
||||||
|
ewarn "# systemctl start syslog-ng@default"
|
||||||
|
fi
|
||||||
|
}
|
@ -1,70 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
DESCRIPTION="Yet Another Log Analyzer"
|
|
||||||
HOMEPAGE="http://www.yaala.org/"
|
|
||||||
SRC_URI="http://www.${PN}.org/files/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
IUSE="gd storable"
|
|
||||||
|
|
||||||
RDEPEND="dev-lang/perl
|
|
||||||
gd? ( dev-perl/GDGraph )
|
|
||||||
storable? ( virtual/perl-Storable )"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${PF}-correct-paths.patch
|
|
||||||
|
|
||||||
sed -i "s:/var/lib/${PN}:/usr/bin:g" packaging/${PN}.cron || die 'Failed to correct path in cron file.'
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ${PN}
|
|
||||||
|
|
||||||
# Switch to ^y when we switch to EAPI=6.
|
|
||||||
local mod="Y${PN:1}"
|
|
||||||
|
|
||||||
exeinto /usr/lib64/perl5/vendor_perl/${mod}/
|
|
||||||
doexe lib/${mod}/*.pm
|
|
||||||
|
|
||||||
exeinto /usr/lib64/perl5/vendor_perl/${mod}/Data/
|
|
||||||
doexe lib/${mod}/Data/*.pm
|
|
||||||
|
|
||||||
exeinto /usr/lib64/perl5/vendor_perl/${mod}/Parser/
|
|
||||||
doexe lib/${mod}/Parser/*.pm
|
|
||||||
|
|
||||||
exeinto /usr/lib64/perl5/vendor_perl/${mod}/Report/
|
|
||||||
doexe lib/${mod}/Report/*.pm
|
|
||||||
|
|
||||||
dodoc AUTHORS CHANGELOG README{,.persistency,.selections}
|
|
||||||
|
|
||||||
insinto /usr/share/${PN}
|
|
||||||
doins -r reports
|
|
||||||
doins -r sample_configs
|
|
||||||
|
|
||||||
insinto /etc/${PN}
|
|
||||||
doins {,webserver.}config
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
doins packaging/${PN}.cron
|
|
||||||
|
|
||||||
if use storable ; then
|
|
||||||
dodir /var/lib/${PN}
|
|
||||||
keepdir /var/lib/${PN}
|
|
||||||
chmod 777 /var/lib/${PN}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "It is required that you change the configuration files in /etc/${PN}"
|
|
||||||
ewarn "before you run \`yaala ...\`, otherwise it will refuse to execute because"
|
|
||||||
ewarn "Setup.pm checks whether the variable 'select' has been unquoted and set."
|
|
||||||
echo ""
|
|
||||||
elog "Example configuration files can be found in /usr/share/${PN}."
|
|
||||||
}
|
|
Binary file not shown.
@ -1,4 +1,2 @@
|
|||||||
DIST spideroak-bin-7.2.0_amd64.deb 24854982 BLAKE2B 9eab89f2c7713f9edbf97da986744c605113830efa971b5327794aa05640ab6386d76d4473cd3a5f6373611bdf7f2ee5ec8eb59d1b9914de48a7b2f724ce4c4e SHA512 9edaf0a7e6e6e985dd7ae1e969c43373393ea6293b8895d74be48f364513a992865ca5cb3150e5fce23eb49635a3442f5162a2606d8fac1ab1036ed922c214cb
|
DIST spideroak-bin-7.5.0_amd64.deb 20758038 BLAKE2B ecd549ee0d479f576e8d50b44f4f7a13c4d24445af32f460d34081e5b654586f314399b34cff1c937e157582a143fee6b98641a68655552bb6d3609e532ceba4 SHA512 4af9f6b57d8748c03bccb0ab843cf27f70eac8e8cc5f11bb494c597d5fd29f475bf9c68bce8971d3cc1550a6def7bac6beed78fdfb31961b09be61ee14116ddd
|
||||||
DIST spideroak-bin-7.2.0_x86.deb 24773806 BLAKE2B 4c4c778f50efa8b77c6d0b2ff522ce3ccacc9c0b6fba5b9acb8e6ea25816b303b34751e47f3e27f6b014c03e02473d22b1eba280618cdd9b6c639b82f2425d70 SHA512 758bdaefe307c4c7b7eebc47ebbb835e66c0a57350e34a2cd818212de1d800ae432459933d9613af60b877889724fe90726dd6705fa152b2478bd55552e541ba
|
DIST spideroak-bin-7.5.0_x86.deb 24779422 BLAKE2B 8cdae243794e5de6a8326e335b539d004c0ba0f1121b85067acbffffbef67f4a0c785f3b794abb62a5eedfd459c8e4d5e48cf8848b005ba637150b286b13db22 SHA512 32504b6e6931f1e923d4202f0b3201c93190128d30767ec41ac11cf7c8c751b87094bdedcf44dda3ae8089543418366c5a78093b9236fee5f95e7f89a29141fc
|
||||||
DIST spideroak-bin-7.3.0_amd64.deb 18514400 BLAKE2B 3c0d617c4b791cc0e5a9c82111c9486c18ab09d2bfc4102d69b266f6e3d4185a9d74d640ddd3733a86dac1f87f3360968636407ee4f3da6c2bd20779c16e6ddb SHA512 f27cfac3f9055281fece38ba68781287cd886c7c40b998e63cfc1aba0a036b375a06b9cc60390b7e4845ef9c4eae2d94914669dd345ba8de90424ff98ec28d58
|
|
||||||
DIST spideroak-bin-7.3.0_x86.deb 24779422 BLAKE2B 8cdae243794e5de6a8326e335b539d004c0ba0f1121b85067acbffffbef67f4a0c785f3b794abb62a5eedfd459c8e4d5e48cf8848b005ba637150b286b13db22 SHA512 32504b6e6931f1e923d4202f0b3201c93190128d30767ec41ac11cf7c8c751b87094bdedcf44dda3ae8089543418366c5a78093b9236fee5f95e7f89a29141fc
|
|
||||||
|
@ -1,104 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="6"
|
|
||||||
|
|
||||||
inherit eutils unpacker
|
|
||||||
|
|
||||||
DESCRIPTION="Secure free online backup, storage, and sharing system"
|
|
||||||
HOMEPAGE="https://spideroak.com"
|
|
||||||
|
|
||||||
SRC_URI_BASE="https://spideroak.com/release/spideroak"
|
|
||||||
SRC_URI="x86? ( ${SRC_URI_BASE}/deb_x86 -> ${P}_x86.deb )
|
|
||||||
amd64? ( ${SRC_URI_BASE}/deb_x64 -> ${P}_amd64.deb )"
|
|
||||||
|
|
||||||
RESTRICT="mirror strip"
|
|
||||||
|
|
||||||
LICENSE="spideroak"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="dbus X"
|
|
||||||
|
|
||||||
DEPEND="dev-util/patchelf"
|
|
||||||
RDEPEND="
|
|
||||||
app-crypt/mit-krb5[keyutils]
|
|
||||||
media-libs/libpng:1.2
|
|
||||||
dbus? ( sys-apps/dbus )
|
|
||||||
X? (
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype:2
|
|
||||||
dev-libs/glib:2
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXrender
|
|
||||||
x11-libs/libXt
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
S=${WORKDIR}
|
|
||||||
|
|
||||||
QA_PREBUILT="*"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Set RPATH for preserve-libs handling (bug #400979).
|
|
||||||
cd "${S}/opt/SpiderOakONE/lib" || die
|
|
||||||
local x
|
|
||||||
for x in `find` ; do
|
|
||||||
# Use \x7fELF header to separate ELF executables and libraries
|
|
||||||
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
|
|
||||||
patchelf --set-rpath '$ORIGIN' "${x}" || \
|
|
||||||
die "patchelf failed on ${x}"
|
|
||||||
done
|
|
||||||
|
|
||||||
#Remove the libraries that break compatibility in modern systems
|
|
||||||
#SpiderOak will use the system libs instead
|
|
||||||
rm -f "${S}/opt/SpiderOakONE/lib/libstdc++.so.6"
|
|
||||||
rm -f "${S}/opt/SpiderOakONE/lib/libgcc_s.so.1"
|
|
||||||
rm -f "${S}/opt/SpiderOakONE/lib/libpng12.so.0"
|
|
||||||
rm -f "${S}/opt/SpiderOakONE/lib/libz.so.1"
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
#install the wrapper script
|
|
||||||
exeinto /usr/bin
|
|
||||||
doexe usr/bin/SpiderOakONE
|
|
||||||
|
|
||||||
# inotify_dir_watcher needs to be marked executable, bug #453266
|
|
||||||
#chmod a+rx opt/SpiderOakONE/lib/inotify_dir_watcher
|
|
||||||
|
|
||||||
#install the executable
|
|
||||||
exeinto /opt/SpiderOakONE/lib
|
|
||||||
doexe opt/SpiderOakONE/lib/SpiderOakONE
|
|
||||||
doexe opt/SpiderOakONE/lib/inotify_dir_watcher
|
|
||||||
rm -f opt/SpiderOakONE/lib/{SpiderOakONE,inotify_dir_watcher}
|
|
||||||
|
|
||||||
#install the prebundled libraries
|
|
||||||
insinto /opt/SpiderOakONE
|
|
||||||
doins -r opt/SpiderOakONE/lib
|
|
||||||
|
|
||||||
#install the config files
|
|
||||||
use dbus || rm -rf etc/dbus-1
|
|
||||||
insinto /
|
|
||||||
doins -r etc
|
|
||||||
|
|
||||||
#install the manpage
|
|
||||||
doman usr/share/man/man1/SpiderOakONE.1.gz
|
|
||||||
|
|
||||||
if use X; then
|
|
||||||
domenu usr/share/applications/SpiderOakONE.desktop
|
|
||||||
doicon usr/share/pixmaps/SpiderOakONE.png
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if ! use X; then
|
|
||||||
einfo "For instructions on running SpiderOakONE without a GUI, please read the FAQ:"
|
|
||||||
einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/"
|
|
||||||
einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2018 Gentoo Authors
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI="6"
|
EAPI="6"
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST pybliographer-1.2.15.tar.gz 1859977 BLAKE2B e658f76e7f766beec598d0397f10e7613b8a529d7f1eeccda6364bc93bfb33bb5b9e121b9edcd4bc62dd414bca0ffb4684792baf36228522c9d509c59b0f8833 SHA512 f4b3478f60f042ebc7538f044a8c4014fda5202576e3f894b31c79430400e834c59f859f895efa187a89016f4e2625ee6be20751f31843e179fbdfb54ba65330
|
|
||||||
DIST pybliographer-1.2.18.tar.gz 2174899 BLAKE2B 4723a01d386a1da6f1de6b730e4e38ef1dedfeb7a72310f40fd7475710fd92236bdb484e102bf93340c8b826ddda0353e143cc741cd6b57acbedd82e40e4181b SHA512 b4a97d7e0aec3b4d7c68169d4d8799911b4da0591e819a67429c45d2b451be6be129214631770cf26f2083a935b55575d35c4f3b11ea74a9b39e55feea376204
|
DIST pybliographer-1.2.18.tar.gz 2174899 BLAKE2B 4723a01d386a1da6f1de6b730e4e38ef1dedfeb7a72310f40fd7475710fd92236bdb484e102bf93340c8b826ddda0353e143cc741cd6b57acbedd82e40e4181b SHA512 b4a97d7e0aec3b4d7c68169d4d8799911b4da0591e819a67429c45d2b451be6be129214631770cf26f2083a935b55575d35c4f3b11ea74a9b39e55feea376204
|
||||||
DIST pybliographer-1.4.0.tar.xz 1834356 BLAKE2B ba4892f707c2da3f007cb916b158258a59a41cc631e49deacdd784213d506d8e4286c463afb4148c7cb30ed7084ae1a60eee0e62d1bfe13a26bd9fd70a9e60f8 SHA512 aef50e9815b9ff28618ca72c0b50033a24a1bcaa91c9fdbf3014371bb9b4bcaf8fcdffb0fa38e59d37ccfdb4c1383cd601c73aa2e34f4078c514ae9de7341f2a
|
DIST pybliographer-1.4.0.tar.xz 1834356 BLAKE2B ba4892f707c2da3f007cb916b158258a59a41cc631e49deacdd784213d506d8e4286c463afb4148c7cb30ed7084ae1a60eee0e62d1bfe13a26bd9fd70a9e60f8 SHA512 aef50e9815b9ff28618ca72c0b50033a24a1bcaa91c9fdbf3014371bb9b4bcaf8fcdffb0fa38e59d37ccfdb4c1383cd601c73aa2e34f4078c514ae9de7341f2a
|
||||||
|
@ -1,66 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
GCONF_DEBUG="no"
|
|
||||||
|
|
||||||
inherit autotools gnome2 python-single-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Pybliographer is a tool for working with bibliographic databases"
|
|
||||||
HOMEPAGE="https://pybliographer.org"
|
|
||||||
SRC_URI="mirror://sourceforge/pybliographer/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="${PYTHON_DEPS}
|
|
||||||
>=app-text/recode-3.6-r1
|
|
||||||
app-text/rarian
|
|
||||||
dev-libs/glib:2
|
|
||||||
dev-python/gconf-python:2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/gnome-vfs-python:2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/libgnome-python:2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pygobject:2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pygtk:2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-bibtex-1.2.5[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
app-text/gnome-doc-utils
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Workaround for bug 487204.
|
|
||||||
sed -i \
|
|
||||||
-e 's:\$(srcdir)/::g' \
|
|
||||||
tests/Makefile.am || die "sed failed"
|
|
||||||
|
|
||||||
# Install Python modules into site-packages directories.
|
|
||||||
find -name Makefile.am | xargs sed -i \
|
|
||||||
-e "/^pybdir[[:space:]]*=[[:space:]]*/s:\$(datadir):$(python_get_sitedir):" || die "sed failed"
|
|
||||||
sed -i \
|
|
||||||
-e "s:\${datadir}/@PACKAGE@:$(python_get_sitedir)/@PACKAGE@:" \
|
|
||||||
etc/installer.in || die "sed failed"
|
|
||||||
sed -i \
|
|
||||||
-e "s:gladedir = \$(datadir):gladedir = $(python_get_sitedir):" \
|
|
||||||
Pyblio/GnomeUI/glade/Makefile.am || die "sed failed"
|
|
||||||
|
|
||||||
# Fix shebang manually as otherwise python_fix_shebang gets confused
|
|
||||||
sed -i -e 's: @python_path@:/usr/bin/python2:' pybliographer.py || die
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
gnome2_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
gnome2_src_configure --disable-depchecks
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
gnome2_src_install
|
|
||||||
python_fix_shebang "${D}"
|
|
||||||
}
|
|
@ -1,2 +1,2 @@
|
|||||||
DIST wps-office_10.1.0.6757_x86.tar.xz 134095644 BLAKE2B ad44db7aa752055b59a52870041aa4c16d146e3068a8d95c8939efcc979a514a3ae6fcde1bca5eb90833c47c051295722e547316337c5f56727252cae133b994 SHA512 ba5001f0fd2a605c3688084d34aa293a728ac46d52379cea6db8c5232c4331e60476d5845087002071f89ec9d8bdf7c020222b4aaff780736eaeff5a273f40ee
|
DIST wps-office_10.1.0.6758_x86.tar.xz 134090056 BLAKE2B b137774b23c947cf81e3c3b4bdde105285c415ae18c14ed6e11ab72d10287ec7129b63c17c73494c146da94d5df0c266f7bc4b7490f6740ff0cb89c99d89f2d2 SHA512 ed1a59e3abfdda71025eacfd6eb6f699459ce815894232ca6205990f4de5cb7a51c958a354edb01b6411ffba691aa03c839720f156ea467c018e005dcc795d75
|
||||||
DIST wps-office_10.1.0.6757_x86_64.tar.xz 131336404 BLAKE2B dfaa30f643d9fb08db711cd4ddec76ad3c10bc5435f4c6a2b245b9232059a22f918364e585c9a9551612ee10eff1535a44b5f300a8863f39d4cabb2f7c76b467 SHA512 5f9f88cc9795a317267531cb1cd260d86e1613dc5eef34005eaa58dd8ac0715ce3ba1da60ee83c617cb16d759b0da9274963f8a4fb4a86c4890eca0565af9c62
|
DIST wps-office_10.1.0.6758_x86_64.tar.xz 131332480 BLAKE2B 030474fe48d392f6b8d00da19b8be97e5e19414cac64567c563d6dfc79a89e40ef7cdf0551219bada63661a69aa23ba3bfa8a808d41d0fa6f4c61e61b0871678 SHA512 2e1510d79119a4950437023ec34199e3e6e5ddc43e655af0cc0993758f640887395771ca27a4eec1bb9e81788738221d135d652feda988b6a3194090229c9cfd
|
||||||
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST poppler-0.74.0.tar.xz 1514044 BLAKE2B af3821d5a5c68a3f2541cd9468fd7318ad0182cda66cea068dc42208fef6c2af78a401e50a6a5906cdc943de7339620937ddc6f69f0d8d1b15082aabc6cc3482 SHA512 4e48e2ffb559863ee693930db3b8594fd7e60e4b4ca3cdeb198faf90a6f4dbb5e102461492a12058221bc1218fe7e17c9085afb9e7956ae4bf26c11674315e66
|
DIST poppler-0.74.0.tar.xz 1514044 BLAKE2B af3821d5a5c68a3f2541cd9468fd7318ad0182cda66cea068dc42208fef6c2af78a401e50a6a5906cdc943de7339620937ddc6f69f0d8d1b15082aabc6cc3482 SHA512 4e48e2ffb559863ee693930db3b8594fd7e60e4b4ca3cdeb198faf90a6f4dbb5e102461492a12058221bc1218fe7e17c9085afb9e7956ae4bf26c11674315e66
|
||||||
|
DIST poppler-0.75.0.tar.xz 1523872 BLAKE2B 245f574e985570a1d0923e732da8694728506fc59382c9e4532159867e1b18ad9f03f6b995891796d72a6e401d2c86ac18403c9219bf533e36c8a07a1dc85d61 SHA512 6a1b76cc5095b7c5809eaa5072aeb4ea615744ff8ffce537f40a3f73a81fc12cc18d596876ceda1c78b5312ad20535f72366e69c861b620d108616f24a98e6b8
|
||||||
|
@ -0,0 +1,127 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit cmake-utils flag-o-matic toolchain-funcs xdg-utils
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
|
||||||
|
SLOT="0/9999"
|
||||||
|
else
|
||||||
|
SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
SLOT="0/86" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||||
|
HOMEPAGE="https://poppler.freedesktop.org/"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
IUSE="cairo cjk curl cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
|
||||||
|
|
||||||
|
# No test data provided
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
dev-util/glib-utils
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype
|
||||||
|
sys-libs/zlib
|
||||||
|
cairo? (
|
||||||
|
dev-libs/glib:2
|
||||||
|
x11-libs/cairo
|
||||||
|
introspection? ( dev-libs/gobject-introspection:= )
|
||||||
|
)
|
||||||
|
curl? ( net-misc/curl )
|
||||||
|
jpeg? ( virtual/jpeg:0 )
|
||||||
|
jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
|
||||||
|
lcms? ( media-libs/lcms:2 )
|
||||||
|
nss? ( >=dev-libs/nss-3.19:0 )
|
||||||
|
png? ( media-libs/libpng:0= )
|
||||||
|
qt5? (
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtxml:5
|
||||||
|
)
|
||||||
|
tiff? ( media-libs/tiff:0 )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
cjk? ( app-text/poppler-data )
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS NEWS README README-XPDF )
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-0.60.1-qt5-dependencies.patch"
|
||||||
|
"${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch"
|
||||||
|
"${FILESDIR}/${PN}-0.71.0-respect-cflags.patch"
|
||||||
|
"${FILESDIR}/${PN}-0.61.0-respect-cflags.patch"
|
||||||
|
"${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cmake-utils_src_prepare
|
||||||
|
|
||||||
|
# Clang doesn't grok this flag, the configure nicely tests that, but
|
||||||
|
# cmake just uses it, so remove it if we use clang
|
||||||
|
if [[ ${CC} == clang ]] ; then
|
||||||
|
sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
|
||||||
|
sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
|
||||||
|
-i CMakeLists.txt || die
|
||||||
|
else
|
||||||
|
einfo "policy(SET CMP0002 OLD) - workaround can be removed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# we need to up the C++ version, bug #622526, #643278
|
||||||
|
append-cxxflags -std=c++11
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
xdg_environment_reset
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DBUILD_GTK_TESTS=OFF
|
||||||
|
-DBUILD_QT5_TESTS=OFF
|
||||||
|
-DBUILD_CPP_TESTS=OFF
|
||||||
|
-DENABLE_SPLASH=ON
|
||||||
|
-DENABLE_ZLIB=ON
|
||||||
|
-DENABLE_ZLIB_UNCOMPRESS=OFF
|
||||||
|
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
||||||
|
-DSPLASH_CMYK=OFF
|
||||||
|
-DUSE_FIXEDPOINT=OFF
|
||||||
|
-DUSE_FLOAT=OFF
|
||||||
|
-DWITH_Cairo=$(usex cairo)
|
||||||
|
-DENABLE_LIBCURL=$(usex curl)
|
||||||
|
-DENABLE_CPP=$(usex cxx)
|
||||||
|
-DWITH_JPEG=$(usex jpeg)
|
||||||
|
-DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
|
||||||
|
-DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
|
||||||
|
-DENABLE_CMS=$(usex lcms lcms2 none)
|
||||||
|
-DWITH_NSS3=$(usex nss)
|
||||||
|
-DWITH_PNG=$(usex png)
|
||||||
|
$(cmake-utils_use_find_package qt5 Qt5Core)
|
||||||
|
-DWITH_TIFF=$(usex tiff)
|
||||||
|
-DENABLE_UTILS=$(usex utils)
|
||||||
|
)
|
||||||
|
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
|
||||||
|
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake-utils_src_install
|
||||||
|
|
||||||
|
# live version doesn't provide html documentation
|
||||||
|
if use cairo && use doc && [[ ${PV} != *9999* ]]; then
|
||||||
|
# For now install gtk-doc there
|
||||||
|
insinto /usr/share/gtk-doc/html/poppler
|
||||||
|
doins -r "${S}"/glib/reference/html/*
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit vim-plugin
|
||||||
|
|
||||||
|
DESCRIPTION="vim plugin: extra syntax highlighting for help files"
|
||||||
|
HOMEPAGE="http://www.drchip.org/astronaut/vim/"
|
||||||
|
LICENSE="public-domain"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
VIM_PLUGIN_HELPTEXT=\
|
||||||
|
"This plugin provides additional syntax highlighting for help files."
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
# use hi def link, bug #101797 / bug #101804
|
||||||
|
sed -i -e 's,^hi link,hi def link,' \
|
||||||
|
"after/syntax/help.vim.d/extra-help-syntax.vim" || die
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit vim-plugin
|
||||||
|
|
||||||
|
DESCRIPTION="vim plugin: PGN (chess Portable Game Notation) syntax highlighting"
|
||||||
|
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=677"
|
||||||
|
|
||||||
|
LICENSE="vim.org"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
VIM_PLUGIN_HELPTEXT=\
|
||||||
|
"This plugin provides syntax highlighting for PGN files."
|
@ -0,0 +1,15 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit vim-plugin
|
||||||
|
|
||||||
|
DESCRIPTION="vim plugin: SELinux type enforcement policy syntax"
|
||||||
|
HOMEPAGE="http://www.cip.ifi.lmu.de/~bleher/selinux/"
|
||||||
|
LICENSE="vim"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
VIM_PLUGIN_HELPTEXT=\
|
||||||
|
"This plugin provides syntax highlighting for SELinux type enforcement
|
||||||
|
policy (*.te) files."
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST eclipsito-0_pre20130713.tar.xz 162972 BLAKE2B 193a3b2c4bee39bfb87c49eb8b077804d26ef1f84a1dc2c3546d235ab6fa8f86340c943b1a5ce1044dcd5681751d856a044d75866717a0c976e82c86ae8a1ab1 SHA512 b238692950bc93059fb16df8e6301669583185976ae4f12519d1917a13fea2b53c5b3462f2da61d63025019eee10037a3a96b2ac742545d61b80f2ab7964d41b
|
DIST eclipsito-0_pre20130713.tar.xz 162972 BLAKE2B 193a3b2c4bee39bfb87c49eb8b077804d26ef1f84a1dc2c3546d235ab6fa8f86340c943b1a5ce1044dcd5681751d856a044d75866717a0c976e82c86ae8a1ab1 SHA512 b238692950bc93059fb16df8e6301669583185976ae4f12519d1917a13fea2b53c5b3462f2da61d63025019eee10037a3a96b2ac742545d61b80f2ab7964d41b
|
||||||
|
DIST eclipsito-20180510.tar.gz 66661 BLAKE2B 0cd1879314eaf4acfcb26cd37f27c50208263cc584d15cb19cfee4d75b29e925d7840be6f39fdf2b6aa05d26f1497284d2d772f9a42ea81398aeec9b1ebad029 SHA512 420cc4ed44fc80065452b39350625f5621175e0bd2aae1ba38a409134bd92af23b492c01f826234431fec68e09eecdf47d61a06f02338e5998c2c5cad44fd142
|
||||||
|
@ -0,0 +1,28 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
JAVA_PKG_IUSE="doc source"
|
||||||
|
|
||||||
|
COMMIT="0eb2fbb739898f55265027c2796f77fbee9f4ab2"
|
||||||
|
|
||||||
|
inherit java-pkg-2 java-pkg-simple vcs-snapshot
|
||||||
|
|
||||||
|
DESCRIPTION="A small subset of Eclipse core libraries for modular applications"
|
||||||
|
HOMEPAGE="https://github.com/bardsoftware/eclipsito"
|
||||||
|
SRC_URI="https://github.com/bardsoftware/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="EPL-1.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND=">=virtual/jre-1.8"
|
||||||
|
DEPEND=">=virtual/jdk-1.8"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P}/org.bardsoftware.${PN}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
rm -r src/org/bardsoftware/test || die
|
||||||
|
}
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST libclc-0.2.0_pre20180915.tar.gz 170385 BLAKE2B 43a90347936be5ad383fe4e4b06523aac455596d6cb1fc58038811ea19b4f6ab2091ffc345e68ff2ad7f7f1615713085000711b31b9d1ad3911a85bc0db93d5b SHA512 5b8e68f7683d72390d8f9c263e15a54b4b4613b73eff2bf3881d7a35d6480468693a62dcaed159fd8421ae80768d6aaebcd6c33163b082c0a2cf15581d37dcab
|
DIST libclc-0.2.0_pre20180915.tar.gz 170385 BLAKE2B 43a90347936be5ad383fe4e4b06523aac455596d6cb1fc58038811ea19b4f6ab2091ffc345e68ff2ad7f7f1615713085000711b31b9d1ad3911a85bc0db93d5b SHA512 5b8e68f7683d72390d8f9c263e15a54b4b4613b73eff2bf3881d7a35d6480468693a62dcaed159fd8421ae80768d6aaebcd6c33163b082c0a2cf15581d37dcab
|
||||||
|
DIST libclc-0.2.0_pre20190313.tar.gz 176803 BLAKE2B c9ecd5053685c2de89d92ae4e9cc9e9f8bee24ca05e5ddca6fffd0b45356b7d4a96b54d9bebf316624e0a49594a33ebb156ae6c4b963093bdc6c1067548b2bd0 SHA512 22813bcd76e77c018acbdf2a3d3d300c2996e169c17729726ae8a93c39f85033cfa1f6d43907a7c026451bcdfcce6fbdc64a202961492aa951ef1b818c3f9335
|
||||||
|
@ -0,0 +1,83 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://llvm.org/git/${PN}.git
|
||||||
|
https://github.com/llvm-mirror/${PN}.git"
|
||||||
|
EGIT_COMMIT="45017385361603d6328997a2272d140e50786686"
|
||||||
|
|
||||||
|
if [[ ${PV} = 9999* ]]; then
|
||||||
|
GIT_ECLASS="git-r3"
|
||||||
|
EXPERIMENTAL="true"
|
||||||
|
else
|
||||||
|
GIT_ECLASS=""
|
||||||
|
S="${WORKDIR}/libclc-${EGIT_COMMIT}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit llvm prefix python-any-r1 toolchain-funcs ${GIT_ECLASS}
|
||||||
|
|
||||||
|
DESCRIPTION="OpenCL C library"
|
||||||
|
HOMEPAGE="http://libclc.llvm.org/"
|
||||||
|
|
||||||
|
if [[ ${PV} = 9999* ]]; then
|
||||||
|
SRC_URI="${SRC_PATCHES}"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/llvm-mirror/libclc/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||||
|
${SRC_PATCHES}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="|| ( MIT BSD )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi"
|
||||||
|
IUSE="${IUSE_VIDEO_CARDS}"
|
||||||
|
REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
|| (
|
||||||
|
sys-devel/clang:9
|
||||||
|
sys-devel/clang:8
|
||||||
|
sys-devel/clang:7
|
||||||
|
sys-devel/clang:6
|
||||||
|
sys-devel/clang:5
|
||||||
|
sys-devel/clang:4
|
||||||
|
>=sys-devel/clang-3.9:0
|
||||||
|
)
|
||||||
|
${PYTHON_DEPS}"
|
||||||
|
|
||||||
|
llvm_check_deps() {
|
||||||
|
has_version "sys-devel/clang:${LLVM_SLOT}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
if use prefix; then
|
||||||
|
hprefixify configure.py
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# we do not need llvm_pkg_setup
|
||||||
|
python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local libclc_targets=()
|
||||||
|
|
||||||
|
use video_cards_nvidia && libclc_targets+=("nvptx--" "nvptx64--" "nvptx--nvidiacl" "nvptx64--nvidiacl")
|
||||||
|
use video_cards_r600 && libclc_targets+=("r600--")
|
||||||
|
use video_cards_radeonsi && libclc_targets+=("amdgcn--" "amdgcn-mesa-mesa3d" "amdgcn--amdhsa")
|
||||||
|
|
||||||
|
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
|
||||||
|
|
||||||
|
./configure.py \
|
||||||
|
--with-cxx-compiler="$(tc-getCXX)" \
|
||||||
|
--with-llvm-config="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" \
|
||||||
|
--prefix="${EPREFIX}/usr" "${libclc_targets[@]}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake VERBOSE=1
|
||||||
|
}
|
@ -1,4 +1,3 @@
|
|||||||
DIST poco-1.4.6-all-doc.zip 2072762 BLAKE2B 51b8426d050e7ae373fbb0f3959657e37f1c3aeda75f5bf5cd3dc99e08414a9e65f61ea71dee6d8c40148f41157e2eac0888e64c5020707352c74b262ffae741 SHA512 458e1a3c6a6017b5ae5efcbd0d7b2bbf50aedd6ddc7ae7befddac07ed133b7243208aadd6ecdb17b3fa273e04eb0da4d73b1d3e5591aee98b754e430b2248e52
|
DIST poco-1.4.6-all-doc.zip 2072762 BLAKE2B 51b8426d050e7ae373fbb0f3959657e37f1c3aeda75f5bf5cd3dc99e08414a9e65f61ea71dee6d8c40148f41157e2eac0888e64c5020707352c74b262ffae741 SHA512 458e1a3c6a6017b5ae5efcbd0d7b2bbf50aedd6ddc7ae7befddac07ed133b7243208aadd6ecdb17b3fa273e04eb0da4d73b1d3e5591aee98b754e430b2248e52
|
||||||
DIST poco-1.4.6p4-all.tar.bz2 3158594 BLAKE2B 76accf617ddd087131a5960c131680451959704fee4b17b65bf85367a172d2fe023c9c7efde59fe5bd4142c7ca153734fb4ccbbf06bd5d0365a59d6e75a328a5 SHA512 ae4e1190a0ba719f807d0abaf1c47ff445a8f5867157f209260672546f3755ff021c7073bc8d5e656be383d5667dc15ad7eae8208728053fb61439c4c80a7fca
|
DIST poco-1.4.6p4-all.tar.bz2 3158594 BLAKE2B 76accf617ddd087131a5960c131680451959704fee4b17b65bf85367a172d2fe023c9c7efde59fe5bd4142c7ca153734fb4ccbbf06bd5d0365a59d6e75a328a5 SHA512 ae4e1190a0ba719f807d0abaf1c47ff445a8f5867157f209260672546f3755ff021c7073bc8d5e656be383d5667dc15ad7eae8208728053fb61439c4c80a7fca
|
||||||
DIST poco-1.7.6.tar.gz 8044937 BLAKE2B ad9bf61eb00ce4e1ef5079e07be04ceff79bf823cba49ffb0e144a1e579d9de4f6f8d3df6b629c522de5c2b7b4c7df0933777686b72190d717e407bc28ae2a49 SHA512 a02b7ff66acf080942517b3b8644d6e5c7136c5edc6e58fd13083a74b97b5619253fc9db7863284a565226f95410ad4da1fa9738d14885f560aeb03c1f7c18aa
|
|
||||||
DIST poco-1.9.0.tar.gz 10012966 BLAKE2B 98848e87008c71dc5131dbd1c2b17afc414074a3e26237918baf231b4e56ce3d69347cf7a3017715895f4ee56a428672fcb804fb3c732da0000ccc9790b0081d SHA512 de2346d62b2e89ba04abe62a83f6ede7a496e80bcbe53a880a1aa8e87a8ebd9a430dd70fdc6aada836bb1021c6df21375fd0cbcf62dbb6e29a2f65d6d90cf2b9
|
DIST poco-1.9.0.tar.gz 10012966 BLAKE2B 98848e87008c71dc5131dbd1c2b17afc414074a3e26237918baf231b4e56ce3d69347cf7a3017715895f4ee56a428672fcb804fb3c732da0000ccc9790b0081d SHA512 de2346d62b2e89ba04abe62a83f6ede7a496e80bcbe53a880a1aa8e87a8ebd9a430dd70fdc6aada836bb1021c6df21375fd0cbcf62dbb6e29a2f65d6d90cf2b9
|
||||||
|
@ -1,115 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit cmake-utils
|
|
||||||
|
|
||||||
DESCRIPTION="C++ libraries for building network-based applications"
|
|
||||||
HOMEPAGE="https://pocoproject.org/"
|
|
||||||
SRC_URI="https://github.com/pocoproject/${PN}/archive/${P}-release.tar.gz -> ${P}.tar.gz"
|
|
||||||
LICENSE="Boost-1.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE="7z apache cppparser +crypto +data examples +file2pagecompiler +json +pagecompiler iodbc libressl +mongodb mysql +net odbc pdf pocodoc sqlite +ssl test +util +xml +zip"
|
|
||||||
REQUIRED_USE="7z? ( xml )
|
|
||||||
apache? ( net util )
|
|
||||||
file2pagecompiler? ( pagecompiler )
|
|
||||||
iodbc? ( odbc )
|
|
||||||
mongodb? ( data )
|
|
||||||
mysql? ( data )
|
|
||||||
odbc? ( data )
|
|
||||||
pagecompiler? ( json net util xml )
|
|
||||||
pocodoc? ( cppparser util xml )
|
|
||||||
sqlite? ( data )
|
|
||||||
test? ( data? ( sqlite ) json util xml )"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/libpcre-8.13
|
|
||||||
xml? ( dev-libs/expat )
|
|
||||||
apache? ( dev-libs/apr
|
|
||||||
dev-libs/apr-util
|
|
||||||
www-servers/apache )
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
odbc? ( iodbc? ( dev-db/libiodbc )
|
|
||||||
!iodbc? ( dev-db/unixODBC ) )
|
|
||||||
ssl? (
|
|
||||||
!libressl? ( <dev-libs/openssl-1.1.0:0= )
|
|
||||||
libressl? ( dev-libs/libressl )
|
|
||||||
)
|
|
||||||
sqlite? ( dev-db/sqlite:3 )
|
|
||||||
zip? ( sys-libs/zlib )"
|
|
||||||
DEPEND="${DEPEND}
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}-${P}-release"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${PN}-1.7.2-iodbc-incdir.patch" )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if use test ; then
|
|
||||||
# ignore missing tests on experimental library
|
|
||||||
# and tests requiring running DB-servers, internet connections, etc.
|
|
||||||
sed -i \
|
|
||||||
-e '/testsuite/d' \
|
|
||||||
{Data/{MySQL,ODBC},MongoDB,Net,NetSSL_OpenSSL,PDF}/CMakeLists.txt || die
|
|
||||||
# Poco expands ~ using passwd, which does not match $HOME in the build environment
|
|
||||||
sed -i \
|
|
||||||
-e '/CppUnit_addTest.*testExpand/d' \
|
|
||||||
Foundation/testsuite/src/PathTest.cpp || die
|
|
||||||
# ignore failing Crypto test since upstream does not seem to care,
|
|
||||||
# see https://github.com/pocoproject/poco/issues/1209
|
|
||||||
sed -i \
|
|
||||||
-e '/RSATest, testRSACipherLarge/d' \
|
|
||||||
Crypto/testsuite/src/RSATest.cpp || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DPOCO_UNBUNDLED=ON
|
|
||||||
-DENABLE_APACHECONNECTOR="$(usex apache)"
|
|
||||||
-DENABLE_CPPPARSER="$(usex cppparser)"
|
|
||||||
-DENABLE_CRYPTO="$(usex ssl)"
|
|
||||||
-DENABLE_DATA="$(usex data)"
|
|
||||||
-DENABLE_DATA_MYSQL="$(usex mysql)"
|
|
||||||
-DENABLE_DATA_ODBC="$(usex odbc)"
|
|
||||||
-DENABLE_DATA_SQLITE="$(usex sqlite)"
|
|
||||||
-DENABLE_JSON="$(usex util)"
|
|
||||||
-DENABLE_MONGODB="$(usex mongodb)"
|
|
||||||
-DENABLE_NET="$(usex net)"
|
|
||||||
-DENABLE_NETSSL="$(usex ssl)"
|
|
||||||
-DENABLE_NETSSL_WIN=OFF
|
|
||||||
-DENABLE_PAGECOMPILER="$(usex pagecompiler)"
|
|
||||||
-DENABLE_PAGECOMPILER_FILE2PAGE="$(usex file2pagecompiler)"
|
|
||||||
-DENABLE_PDF="$(usex pdf)"
|
|
||||||
-DENABLE_POCODOC="$(usex pocodoc)"
|
|
||||||
-DENABLE_SEVENZIP="$(usex 7z)"
|
|
||||||
-DENABLE_TESTS="$(usex test)"
|
|
||||||
-DENABLE_UTIL="$(usex util)"
|
|
||||||
-DENABLE_XML="$(usex xml)"
|
|
||||||
-DENABLE_ZIP="$(usex zip)"
|
|
||||||
)
|
|
||||||
|
|
||||||
if ! use iodbc ; then
|
|
||||||
sed -i -e 's|iodbc||' cmake/FindODBC.cmake || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
for sd in */samples ; do
|
|
||||||
insinto /usr/share/doc/${PF}/examples/${sd%/samples}
|
|
||||||
doins -r ${sd}
|
|
||||||
done
|
|
||||||
find "${D}/usr/share/doc/${PF}/examples" \
|
|
||||||
-iname "*.sln" -or -iname "*.vcproj" -or \
|
|
||||||
-iname "*.vmsbuild" -or -iname "*.properties" \
|
|
||||||
| xargs rm
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,115 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit cmake-utils
|
|
||||||
|
|
||||||
DESCRIPTION="C++ libraries for building network-based applications"
|
|
||||||
HOMEPAGE="https://pocoproject.org/"
|
|
||||||
SRC_URI="https://github.com/pocoproject/${PN}/archive/${P}-release.tar.gz -> ${P}.tar.gz"
|
|
||||||
LICENSE="Boost-1.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE="7z apache cppparser +crypto +data examples +file2pagecompiler +json +pagecompiler iodbc libressl +mongodb mysql +net odbc pdf pocodoc sqlite +ssl test +util +xml +zip"
|
|
||||||
REQUIRED_USE="7z? ( xml )
|
|
||||||
apache? ( net util )
|
|
||||||
file2pagecompiler? ( pagecompiler )
|
|
||||||
iodbc? ( odbc )
|
|
||||||
mongodb? ( data )
|
|
||||||
mysql? ( data )
|
|
||||||
odbc? ( data )
|
|
||||||
pagecompiler? ( json net util xml )
|
|
||||||
pocodoc? ( cppparser util xml )
|
|
||||||
sqlite? ( data )
|
|
||||||
test? ( data? ( sqlite ) json util xml )"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/libpcre-8.13
|
|
||||||
xml? ( dev-libs/expat )
|
|
||||||
apache? ( dev-libs/apr
|
|
||||||
dev-libs/apr-util
|
|
||||||
www-servers/apache )
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
odbc? ( iodbc? ( dev-db/libiodbc )
|
|
||||||
!iodbc? ( dev-db/unixODBC ) )
|
|
||||||
ssl? (
|
|
||||||
!libressl? ( <dev-libs/openssl-1.1.0:0= )
|
|
||||||
libressl? ( dev-libs/libressl )
|
|
||||||
)
|
|
||||||
sqlite? ( dev-db/sqlite:3 )
|
|
||||||
zip? ( sys-libs/zlib )"
|
|
||||||
DEPEND="${DEPEND}
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}-${P}-release"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${PN}-1.7.2-iodbc-incdir.patch" )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if use test ; then
|
|
||||||
# ignore missing tests on experimental library
|
|
||||||
# and tests requiring running DB-servers, internet connections, etc.
|
|
||||||
sed -i \
|
|
||||||
-e '/testsuite/d' \
|
|
||||||
{Data/{MySQL,ODBC},MongoDB,Net,NetSSL_OpenSSL,PDF}/CMakeLists.txt || die
|
|
||||||
# Poco expands ~ using passwd, which does not match $HOME in the build environment
|
|
||||||
sed -i \
|
|
||||||
-e '/CppUnit_addTest.*testExpand/d' \
|
|
||||||
Foundation/testsuite/src/PathTest.cpp || die
|
|
||||||
# ignore failing Crypto test since upstream does not seem to care,
|
|
||||||
# see https://github.com/pocoproject/poco/issues/1209
|
|
||||||
sed -i \
|
|
||||||
-e '/RSATest, testRSACipherLarge/d' \
|
|
||||||
Crypto/testsuite/src/RSATest.cpp || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DPOCO_UNBUNDLED=ON
|
|
||||||
-DENABLE_APACHECONNECTOR="$(usex apache)"
|
|
||||||
-DENABLE_CPPPARSER="$(usex cppparser)"
|
|
||||||
-DENABLE_CRYPTO="$(usex ssl)"
|
|
||||||
-DENABLE_DATA="$(usex data)"
|
|
||||||
-DENABLE_DATA_MYSQL="$(usex mysql)"
|
|
||||||
-DENABLE_DATA_ODBC="$(usex odbc)"
|
|
||||||
-DENABLE_DATA_SQLITE="$(usex sqlite)"
|
|
||||||
-DENABLE_JSON="$(usex util)"
|
|
||||||
-DENABLE_MONGODB="$(usex mongodb)"
|
|
||||||
-DENABLE_NET="$(usex net)"
|
|
||||||
-DENABLE_NETSSL="$(usex ssl)"
|
|
||||||
-DENABLE_NETSSL_WIN=OFF
|
|
||||||
-DENABLE_PAGECOMPILER="$(usex pagecompiler)"
|
|
||||||
-DENABLE_PAGECOMPILER_FILE2PAGE="$(usex file2pagecompiler)"
|
|
||||||
-DENABLE_PDF="$(usex pdf)"
|
|
||||||
-DENABLE_POCODOC="$(usex pocodoc)"
|
|
||||||
-DENABLE_SEVENZIP="$(usex 7z)"
|
|
||||||
-DENABLE_TESTS="$(usex test)"
|
|
||||||
-DENABLE_UTIL="$(usex util)"
|
|
||||||
-DENABLE_XML="$(usex xml)"
|
|
||||||
-DENABLE_ZIP="$(usex zip)"
|
|
||||||
)
|
|
||||||
|
|
||||||
if ! use iodbc ; then
|
|
||||||
sed -i -e 's|iodbc||' cmake/FindODBC.cmake || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
for sd in */samples ; do
|
|
||||||
insinto /usr/share/doc/${PF}/examples/${sd%/samples}
|
|
||||||
doins -r ${sd}
|
|
||||||
done
|
|
||||||
find "${D}/usr/share/doc/${PF}/examples" \
|
|
||||||
-iname "*.sln" -or -iname "*.vcproj" -or \
|
|
||||||
-iname "*.vmsbuild" -or -iname "*.properties" \
|
|
||||||
| xargs rm
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,140 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
GNOME2_LA_PUNT="yes"
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
# libanjuta-language-vala.so links to a specific slot of libvala; we want to
|
||||||
|
# avoid automagic behavior.
|
||||||
|
VALA_MIN_API_VERSION="0.40"
|
||||||
|
VALA_MAX_API_VERSION="${VALA_MIN_API_VERSION}"
|
||||||
|
|
||||||
|
# We inherit autotools explicitly because GNOME2_EAUTORECONF is set only conditionally later, so gnome2.eclass doesn't do it for us
|
||||||
|
inherit autotools gnome2 flag-o-matic readme.gentoo-r1 python-single-r1 vala
|
||||||
|
|
||||||
|
DESCRIPTION="A versatile IDE for GNOME"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Apps/Anjuta"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||||
|
|
||||||
|
IUSE="debug devhelp glade +introspection packagekit subversion terminal test vala"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
# FIXME: automagically uses libgda:6 if available
|
||||||
|
# FIXME: make python dependency non-automagic
|
||||||
|
COMMON_DEPEND="
|
||||||
|
>=dev-libs/glib-2.34:2[dbus]
|
||||||
|
x11-libs/gdk-pixbuf:2
|
||||||
|
>=x11-libs/gtk+-3.10:3
|
||||||
|
>=dev-libs/libxml2-2.4.23
|
||||||
|
>=dev-libs/gdl-3.5.5:3=
|
||||||
|
>=x11-libs/gtksourceview-3:3.0
|
||||||
|
|
||||||
|
sys-devel/autogen
|
||||||
|
|
||||||
|
>=gnome-extra/libgda-5:5=
|
||||||
|
dev-util/ctags
|
||||||
|
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXrender
|
||||||
|
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
|
||||||
|
devhelp? ( >=dev-util/devhelp-3.7.4:= )
|
||||||
|
glade? ( >=dev-util/glade-3.12:3.10= )
|
||||||
|
introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
|
||||||
|
subversion? (
|
||||||
|
>=dev-vcs/subversion-1.8:=
|
||||||
|
>=net-libs/serf-1.2:1=
|
||||||
|
>=dev-libs/apr-1:=
|
||||||
|
>=dev-libs/apr-util-1:= )
|
||||||
|
terminal? ( >=x11-libs/vte-0.27.6:2.91 )
|
||||||
|
vala? ( $(vala_depend) )
|
||||||
|
"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
gnome-base/gsettings-desktop-schemas
|
||||||
|
packagekit? ( app-admin/packagekit-base )
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
>=dev-lang/perl-5
|
||||||
|
>=dev-util/gtk-doc-am-1.4
|
||||||
|
>=dev-util/intltool-0.40.1
|
||||||
|
sys-devel/bison
|
||||||
|
sys-devel/flex
|
||||||
|
>=sys-devel/gettext-0.17
|
||||||
|
virtual/pkgconfig
|
||||||
|
!!dev-libs/gnome-build
|
||||||
|
test? (
|
||||||
|
app-text/docbook-xml-dtd:4.1.2
|
||||||
|
app-text/docbook-xml-dtd:4.5 )
|
||||||
|
app-text/yelp-tools
|
||||||
|
dev-libs/gobject-introspection-common
|
||||||
|
gnome-base/gnome-common
|
||||||
|
"
|
||||||
|
# yelp-tools, gi-common and gnome-common are required by eautoreconf
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if use vala; then
|
||||||
|
DISABLE_AUTOFORMATTING="yes"
|
||||||
|
DOC_CONTENTS="To create a generic vala project you will need to specify
|
||||||
|
desired valac versioned binary to be used, to do that you
|
||||||
|
will need to:
|
||||||
|
1. Go to 'Build' -> 'Configure project'
|
||||||
|
2. Add 'VALAC=/usr/bin/valac-X.XX' (respecting quotes) to
|
||||||
|
'Configure options'."
|
||||||
|
|
||||||
|
sed -i -e "s/\[0.40\], \[0.38\], \[0.36\], \[0.34\], \[0.32\], \[0.30\], \[0.28\], \[0.26\], \[0.24\], \[0.22\], \[0.20\], \[0.18\]/[${VALA_MAX_API_VERSION}]/" configure.ac || die
|
||||||
|
GNOME2_EAUTORECONF="yes"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# COPYING is used in Anjuta's help/about entry
|
||||||
|
DOCS="AUTHORS ChangeLog COPYING FUTURE MAINTAINERS NEWS README ROADMAP THANKS TODO"
|
||||||
|
|
||||||
|
# Conflicts with -pg in a plugin, bug #266777
|
||||||
|
filter-flags -fomit-frame-pointer
|
||||||
|
|
||||||
|
# Do not build benchmarks, they are not installed and for dev purpose only
|
||||||
|
sed -e '/SUBDIRS =/ s/benchmark//' \
|
||||||
|
-i plugins/symbol-db/Makefile.{am,in} || die
|
||||||
|
|
||||||
|
use vala && vala_src_prepare
|
||||||
|
gnome2_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
gnome2_src_configure \
|
||||||
|
--disable-neon \
|
||||||
|
--disable-static \
|
||||||
|
$(use_enable debug) \
|
||||||
|
$(use_enable devhelp plugin-devhelp) \
|
||||||
|
$(use_enable glade plugin-glade) \
|
||||||
|
$(use_enable glade glade-catalog) \
|
||||||
|
$(use_enable introspection) \
|
||||||
|
$(use_enable packagekit) \
|
||||||
|
$(use_enable subversion plugin-subversion) \
|
||||||
|
$(use_enable subversion serf) \
|
||||||
|
$(use_enable terminal plugin-terminal) \
|
||||||
|
$(use_enable vala)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# COPYING is used in Anjuta's help/about entry
|
||||||
|
docompress -x "/usr/share/doc/${PF}/COPYING"
|
||||||
|
|
||||||
|
# Anjuta uses a custom rule to install DOCS, get rid of it
|
||||||
|
gnome2_src_install
|
||||||
|
rm -rf "${ED}"/usr/share/doc/${PN} || die "rm failed"
|
||||||
|
|
||||||
|
use vala && readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_pkg_postinst
|
||||||
|
use vala && readme.gentoo_print_elog
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST devhelp-3.24.0.tar.xz 615460 BLAKE2B b81ac9b1453c0edff45fa746a556343345a150c6436d68db4d51f716704eca70e7aa1af4f3deb5b5c2747db65de619be119f36af807490aa8f95fd070c68cc39 SHA512 56b1eeaf9d3c3357d3140002bed5c29bf7b21953d964405190a1c9cad69d08000efa0220bbc36c67db4151b15ee37c37e061e6fa63c8a79f626e1ec0ce386062
|
DIST devhelp-3.24.0.tar.xz 615460 BLAKE2B b81ac9b1453c0edff45fa746a556343345a150c6436d68db4d51f716704eca70e7aa1af4f3deb5b5c2747db65de619be119f36af807490aa8f95fd070c68cc39 SHA512 56b1eeaf9d3c3357d3140002bed5c29bf7b21953d964405190a1c9cad69d08000efa0220bbc36c67db4151b15ee37c37e061e6fa63c8a79f626e1ec0ce386062
|
||||||
DIST devhelp-3.26.1.tar.xz 613508 BLAKE2B a84d6bb55a81f0beda0603f343022b997e263934fc48ccc95503e156a0ee0984e1c945af785971c45f197865147c63be354ace72582d3575692dd5eed7e1e724 SHA512 76beec8846703004202229853a7a208b31bf56e2f10c102a3bb6e88fb9e54aded027e6ab9620706629dcb02cf5973f1d4fe88d217a7b3b8cb0efc948b02ca660
|
DIST devhelp-3.26.1.tar.xz 613508 BLAKE2B a84d6bb55a81f0beda0603f343022b997e263934fc48ccc95503e156a0ee0984e1c945af785971c45f197865147c63be354ace72582d3575692dd5eed7e1e724 SHA512 76beec8846703004202229853a7a208b31bf56e2f10c102a3bb6e88fb9e54aded027e6ab9620706629dcb02cf5973f1d4fe88d217a7b3b8cb0efc948b02ca660
|
||||||
DIST devhelp-3.28.1.tar.xz 642992 BLAKE2B d3b3a2768b33fb47f05d35d9e6fe970d2f42c564c37916123d7377515dfb5a8277c51f543d103d4b34b11d72e3fbf4d7efc63296e118b1b6a6ac5ba557376a02 SHA512 a42208cbb7ad677a9c130eb637bbe52ca9fbdacd6bb7714ea3cd71285ad4983d7131dfab003ffaf0be1faccd04f215ad68429d4dcb7b49dbb0eebc0e10350f0b
|
DIST devhelp-3.28.1.tar.xz 642992 BLAKE2B d3b3a2768b33fb47f05d35d9e6fe970d2f42c564c37916123d7377515dfb5a8277c51f543d103d4b34b11d72e3fbf4d7efc63296e118b1b6a6ac5ba557376a02 SHA512 a42208cbb7ad677a9c130eb637bbe52ca9fbdacd6bb7714ea3cd71285ad4983d7131dfab003ffaf0be1faccd04f215ad68429d4dcb7b49dbb0eebc0e10350f0b
|
||||||
|
DIST devhelp-3.30.1.tar.xz 317956 BLAKE2B 8646fb97f0649bc166c8a21472f4c638f37bdfdc9e34b7214f0e5bd32c1c78664cc320f978fb27e313de54e88cf31685596f4bf7f43235ae96345292db6a9fc1 SHA512 f6f028948edd4c6954eaeeb026bf69c11284d725925d354ef42ecc67275cdcac66e8d3657d95d50926350543489b2bb2fa3a194d99d01494bedac60d3a2b4bbc
|
||||||
|
@ -0,0 +1,79 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
# gedit-3.8 is python3 only, this also per:
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=979450
|
||||||
|
PYTHON_COMPAT=( python{3_5,3_6} )
|
||||||
|
|
||||||
|
inherit gnome.org gnome2-utils meson python-single-r1 xdg
|
||||||
|
|
||||||
|
DESCRIPTION="An API documentation browser for GNOME"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Apps/Devhelp"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0/3-6" # subslot = 3-(libdevhelp-3 soname version)
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="gedit gtk-doc +introspection"
|
||||||
|
REQUIRED_USE="gedit? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
>=dev-libs/glib-2.56:2
|
||||||
|
>=x11-libs/gtk+-3.22:3[introspection?]
|
||||||
|
>=net-libs/webkit-gtk-2.20:4[introspection?]
|
||||||
|
>=gui-libs/amtk-5.0:5
|
||||||
|
gnome-base/gsettings-desktop-schemas
|
||||||
|
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
|
||||||
|
"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
gedit? (
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
app-editors/gedit[introspection,python,${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygobject:3[${PYTHON_USEDEP}] )
|
||||||
|
"
|
||||||
|
# libxml2 required for glib-compile-resources
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
dev-libs/libxml2:2
|
||||||
|
dev-util/glib-utils
|
||||||
|
dev-util/itstool
|
||||||
|
gtk-doc? (
|
||||||
|
>=dev-util/gtk-doc-1.25
|
||||||
|
app-text/docbook-xml-dtd:4.3 )
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PV}-optional-introspection.patch
|
||||||
|
"${FILESDIR}"/${PV}-optional-gedit.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use gedit && python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Dflatpak_build=false
|
||||||
|
$(meson_use gedit gedit_plugin)
|
||||||
|
$(meson_use gtk-doc gtk_doc)
|
||||||
|
$(meson_use introspection)
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
use gedit && python_optimize "${ED%/}"/usr/$(get_libdir)/gedit/plugins
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_pkg_postinst
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_pkg_postrm
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
@ -0,0 +1,37 @@
|
|||||||
|
From 5bb00c3748741d585d544c96933a25bd399736ed Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mart Raudsepp <leio@gentoo.org>
|
||||||
|
Date: Fri, 22 Mar 2019 19:47:49 +0200
|
||||||
|
Subject: [PATCH 2/2] build: Add optionality for gedit plugin installation
|
||||||
|
|
||||||
|
---
|
||||||
|
meson.build | 4 +++-
|
||||||
|
meson_options.txt | 1 +
|
||||||
|
2 files changed, 4 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index a0def09c..2d1d3e0a 100644
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -155,7 +155,9 @@ add_global_arguments(supported_warning_cflags, language : 'c')
|
||||||
|
##### end CFLAGS
|
||||||
|
|
||||||
|
subdir('data')
|
||||||
|
-subdir('plugins/gedit-plugin')
|
||||||
|
+if get_option('gedit_plugin')
|
||||||
|
+ subdir('plugins/gedit-plugin')
|
||||||
|
+endif
|
||||||
|
subdir('po')
|
||||||
|
subdir('help')
|
||||||
|
subdir('devhelp')
|
||||||
|
diff --git a/meson_options.txt b/meson_options.txt
|
||||||
|
index 2eaa7ff9..8fdb5a89 100644
|
||||||
|
--- a/meson_options.txt
|
||||||
|
+++ b/meson_options.txt
|
||||||
|
@@ -1,3 +1,4 @@
|
||||||
|
option('flatpak_build', type : 'boolean', value : false, description : 'Flatpak build mode')
|
||||||
|
+option('gedit_plugin', type : 'boolean', value : true, description : 'Install the gedit plugin')
|
||||||
|
option('gtk_doc', type : 'boolean', value : false, description : 'Build the API reference')
|
||||||
|
option('introspection', type : 'boolean', value : true, description : 'Build GObject Introspection data')
|
||||||
|
--
|
||||||
|
2.17.0
|
||||||
|
|
@ -0,0 +1,38 @@
|
|||||||
|
From 3434481e901a0ffbcba9817e4c0641ca8c19275a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mart Raudsepp <leio@gentoo.org>
|
||||||
|
Date: Fri, 22 Mar 2019 19:44:40 +0200
|
||||||
|
Subject: [PATCH 1/2] build: Add optionality for introspection build
|
||||||
|
|
||||||
|
---
|
||||||
|
devhelp/meson.build | 2 ++
|
||||||
|
meson_options.txt | 1 +
|
||||||
|
2 files changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/devhelp/meson.build b/devhelp/meson.build
|
||||||
|
index ea217895..f88fcb07 100644
|
||||||
|
--- a/devhelp/meson.build
|
||||||
|
+++ b/devhelp/meson.build
|
||||||
|
@@ -123,6 +123,7 @@ PKG_CONFIG.generate(
|
||||||
|
requires : LIBDEVHELP_DEPS_STR
|
||||||
|
)
|
||||||
|
|
||||||
|
+if get_option('introspection')
|
||||||
|
GNOME.generate_gir(
|
||||||
|
libdevhelp,
|
||||||
|
export_packages : 'libdevhelp-@0@'.format(LIBDEVHELP_API_VERSION_FULL),
|
||||||
|
@@ -139,3 +140,4 @@ GNOME.generate_gir(
|
||||||
|
include_directories : ROOT_INCLUDE_DIR,
|
||||||
|
install : true
|
||||||
|
)
|
||||||
|
+endif
|
||||||
|
diff --git a/meson_options.txt b/meson_options.txt
|
||||||
|
index a10fc603..2eaa7ff9 100644
|
||||||
|
--- a/meson_options.txt
|
||||||
|
+++ b/meson_options.txt
|
||||||
|
@@ -1,2 +1,3 @@
|
||||||
|
option('flatpak_build', type : 'boolean', value : false, description : 'Flatpak build mode')
|
||||||
|
option('gtk_doc', type : 'boolean', value : false, description : 'Build the API reference')
|
||||||
|
+option('introspection', type : 'boolean', value : true, description : 'Build GObject Introspection data')
|
||||||
|
--
|
||||||
|
2.17.0
|
||||||
|
|
@ -0,0 +1,35 @@
|
|||||||
|
From b30057251d3f2b5860b36505fed440a6bebe0359 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Shiba <not@telling.you>
|
||||||
|
Date: Wed, 19 Dec 2018 00:37:57 +0100
|
||||||
|
Subject: [PATCH] elogind support
|
||||||
|
|
||||||
|
---
|
||||||
|
daemon/meson.build | 11 ++++++++++-
|
||||||
|
2 files changed, 11 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/daemon/meson.build b/daemon/meson.build
|
||||||
|
index d0cf87c..c7f85d7 100644
|
||||||
|
--- a/daemon/meson.build
|
||||||
|
+++ b/daemon/meson.build
|
||||||
|
@@ -11,8 +11,17 @@ sysprofd_sources = [
|
||||||
|
# NOTE: This is used in data/meson.build
|
||||||
|
pkglibexecdir = join_paths(get_option('prefix'), get_option('libexecdir'), 'sysprof')
|
||||||
|
|
||||||
|
+# Check for sd-bus support either by systemd or elogind
|
||||||
|
+sdbus_dep = dependency('libsystemd', version: '>=222', required: false)
|
||||||
|
+if not sdbus_dep.found()
|
||||||
|
+ sdbus_dep = dependency('libelogind', version: '>=239.3', required: false)
|
||||||
|
+ if not sdbus_dep.found()
|
||||||
|
+ error('sysprofd requires sd-bus but neither systemd nor elogind were found')
|
||||||
|
+ endif
|
||||||
|
+endif
|
||||||
|
+
|
||||||
|
sysprofd_deps = [
|
||||||
|
- dependency('libsystemd', version: '>=222'),
|
||||||
|
+ sdbus_dep,
|
||||||
|
dependency('glib-2.0'),
|
||||||
|
]
|
||||||
|
|
||||||
|
--
|
||||||
|
2.18.1
|
||||||
|
|
@ -0,0 +1,73 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit gnome.org gnome2-utils meson systemd xdg
|
||||||
|
|
||||||
|
DESCRIPTION="System-wide Linux Profiler"
|
||||||
|
HOMEPAGE="http://sysprof.com/"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+ GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="elogind gtk systemd"
|
||||||
|
REQUIRED_USE="?? ( elogind systemd )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/glib-2.44:2
|
||||||
|
sys-auth/polkit
|
||||||
|
gtk? ( >=x11-libs/gtk+-3.22.0:3 )
|
||||||
|
elogind? ( >=sys-auth/elogind-239.3 )
|
||||||
|
systemd? ( >=sys-apps/systemd-222:0= )
|
||||||
|
"
|
||||||
|
# libxml2 required for glib-compile-resources; appstream-glib for appdata.xml developer_name tag translation
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-libs/appstream-glib
|
||||||
|
dev-libs/libxml2:2
|
||||||
|
dev-util/itstool
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
>=sys-kernel/linux-headers-2.6.32
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/${PV}-elogind.patch )
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# -Dwith_sysprofd=host currently unavailable from ebuild
|
||||||
|
local emesonargs=(
|
||||||
|
$(meson_use gtk enable_gtk)
|
||||||
|
-Dwith_sysprofd=$(usex systemd bundled $(usex elogind bundled none))
|
||||||
|
-Dsystemdunitdir=$(systemd_get_systemunitdir)
|
||||||
|
# -Ddebugdir
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_pkg_postinst
|
||||||
|
gnome2_schemas_update
|
||||||
|
|
||||||
|
elog "On many systems, especially amd64, it is typical that with a modern"
|
||||||
|
elog "toolchain -fomit-frame-pointer for gcc is the default, because"
|
||||||
|
elog "debugging is still possible thanks to gcc4/gdb location list feature."
|
||||||
|
elog "However sysprof is not able to construct call trees if frame pointers"
|
||||||
|
elog "are not present. Therefore -fno-omit-frame-pointer CFLAGS is suggested"
|
||||||
|
elog "for the libraries and applications involved in the profiling. That"
|
||||||
|
elog "means a CPU register is used for the frame pointer instead of other"
|
||||||
|
elog "purposes, which means a very minimal performance loss when there is"
|
||||||
|
elog "register pressure."
|
||||||
|
if ! use systemd && ! use elogind; then
|
||||||
|
elog ""
|
||||||
|
elog "Without systemd or elogind, sysprof may not function when launched as a"
|
||||||
|
elog "regular user, thus suboptimal running from root account may be necessary."
|
||||||
|
if use gtk; then
|
||||||
|
elog "Under wayland, that limits the recording usage to sysprof-cli utility."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_pkg_postrm
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,160 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit gnome.org gnome2-utils meson xdg
|
||||||
|
|
||||||
|
DESCRIPTION="GNOME's main interface to configure various aspects of the desktop"
|
||||||
|
HOMEPAGE="https://git.gnome.org/browse/gnome-control-center/"
|
||||||
|
SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="2"
|
||||||
|
IUSE="+bluetooth +cups debug elogind flickr +gnome-online-accounts +ibus input_devices_wacom kerberos networkmanager systemd v4l wayland"
|
||||||
|
REQUIRED_USE="
|
||||||
|
flickr? ( gnome-online-accounts )
|
||||||
|
^^ ( elogind systemd )
|
||||||
|
" # Theoretically "?? ( elogind systemd )" is fine too, lacking some functionality at runtime, but needs testing if handled gracefully enough
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||||
|
|
||||||
|
# kerberos unfortunately means mit-krb5; build fails with heimdal
|
||||||
|
# display panel requires colord and gnome-settings-daemon[colord]
|
||||||
|
# wacom panel requires gsd-enums.h from gsd at build time, probably also runtime support
|
||||||
|
# printer panel requires cups and smbclient (the latter is not patched yet to be separately optional)
|
||||||
|
# >=polkit-0.114 for .policy files gettext ITS
|
||||||
|
clutter_gtk_dep="media-libs/clutter-gtk:1.0"
|
||||||
|
# First block is toplevel meson.build deps in order of occurrence (plus deeper deps if in same conditional). Second block is dependency() from subdir meson.builds, sorted by directory name occurrence order
|
||||||
|
COMMON_DEPEND="
|
||||||
|
gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.25.3:= )
|
||||||
|
>=media-sound/pulseaudio-2.0[glib]
|
||||||
|
>=sys-apps/accountsservice-0.6.39
|
||||||
|
>=x11-misc/colord-0.1.34:0=
|
||||||
|
>=x11-libs/gdk-pixbuf-2.23.0:2
|
||||||
|
>=dev-libs/glib-2.53.0:2
|
||||||
|
>=gnome-base/gnome-desktop-3.27.90:3=
|
||||||
|
>=gnome-base/gnome-settings-daemon-3.25.90[colord,input_devices_wacom?]
|
||||||
|
>=gnome-base/gsettings-desktop-schemas-3.27.2
|
||||||
|
dev-libs/libxml2:2
|
||||||
|
>=sys-auth/polkit-0.114
|
||||||
|
>=sys-power/upower-0.99:=
|
||||||
|
x11-libs/libX11
|
||||||
|
>=x11-libs/libXi-1.2
|
||||||
|
flickr? ( >=media-libs/grilo-0.3.0:0.3= )
|
||||||
|
>=x11-libs/gtk+-3.22.0:3[X,wayland=]
|
||||||
|
cups? (
|
||||||
|
>=net-print/cups-1.7[dbus]
|
||||||
|
>=net-fs/samba-4.0.0[client]
|
||||||
|
)
|
||||||
|
v4l? (
|
||||||
|
${clutter_gtk_dep}
|
||||||
|
>=media-video/cheese-3.28.0 )
|
||||||
|
ibus? ( >=app-i18n/ibus-1.5.2 )
|
||||||
|
wayland? ( virtual/libgudev )
|
||||||
|
networkmanager? (
|
||||||
|
>=gnome-extra/nm-applet-1.8.0
|
||||||
|
>=net-misc/networkmanager-1.10.0:=[modemmanager]
|
||||||
|
>=net-misc/modemmanager-0.7.990 )
|
||||||
|
bluetooth? ( >=net-wireless/gnome-bluetooth-3.18.2:= )
|
||||||
|
input_devices_wacom? (
|
||||||
|
${clutter_gtk_dep}
|
||||||
|
>=dev-libs/libwacom-0.27
|
||||||
|
>=media-libs/clutter-1.11.3:1.0 )
|
||||||
|
kerberos? ( app-crypt/mit-krb5 )
|
||||||
|
|
||||||
|
x11-libs/cairo[glib]
|
||||||
|
>=x11-libs/colord-gtk-0.1.24
|
||||||
|
net-libs/libsoup:2.4
|
||||||
|
media-libs/fontconfig
|
||||||
|
gnome-base/libgtop:2=
|
||||||
|
app-crypt/libsecret
|
||||||
|
>=media-libs/libcanberra-0.13[gtk3]
|
||||||
|
>=dev-libs/libpwquality-1.2.2
|
||||||
|
"
|
||||||
|
# systemd/elogind USE flagged because package manager will potentially try to satisfy a
|
||||||
|
# "|| ( systemd ( elogind openrc-settingsd)" via systemd if openrc-settingsd isn't already installed.
|
||||||
|
# libgnomekbd needed only for gkbd-keyboard-display tool
|
||||||
|
# gnome-color-manager needed for gcm-calibrate and gcm-viewer calls from color panel
|
||||||
|
# <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x
|
||||||
|
#
|
||||||
|
# mouse panel needs a concrete set of X11 drivers at runtime, bug #580474
|
||||||
|
# Also we need newer driver versions to allow wacom and libinput drivers to
|
||||||
|
# not collide
|
||||||
|
#
|
||||||
|
# system-config-printer provides org.fedoraproject.Config.Printing service and interface
|
||||||
|
# cups-pk-helper provides org.opensuse.cupspkhelper.mechanism.all-edit policykit helper policy
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
systemd? ( >=sys-apps/systemd-31 )
|
||||||
|
elogind? ( app-admin/openrc-settingsd
|
||||||
|
sys-auth/elogind )
|
||||||
|
x11-themes/adwaita-icon-theme
|
||||||
|
>=gnome-extra/gnome-color-manager-3.1.2
|
||||||
|
cups? (
|
||||||
|
app-admin/system-config-printer
|
||||||
|
net-print/cups-pk-helper )
|
||||||
|
>=gnome-base/libgnomekbd-3
|
||||||
|
wayland? ( dev-libs/libinput )
|
||||||
|
!wayland? (
|
||||||
|
>=x11-drivers/xf86-input-libinput-0.19.0
|
||||||
|
input_devices_wacom? ( >=x11-drivers/xf86-input-wacom-0.33.0 ) )
|
||||||
|
flickr? ( media-plugins/grilo-plugins:0.3[flickr,gnome-online-accounts] )
|
||||||
|
|
||||||
|
!<gnome-base/gdm-2.91.94
|
||||||
|
!gnome-extra/gnome-media[pulseaudio]
|
||||||
|
!<gnome-extra/gnome-media-2.32.0-r300
|
||||||
|
!<net-wireless/gnome-bluetooth-3.3.2
|
||||||
|
"
|
||||||
|
# PDEPEND to avoid circular dependency; gnome-session-check-accelerated called by info panel
|
||||||
|
# gnome-session-2.91.6-r1 also needed so that 10-user-dirs-update is run at login
|
||||||
|
PDEPEND=">=gnome-base/gnome-session-2.91.6-r1"
|
||||||
|
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
dev-libs/libxslt
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
app-text/docbook-xml-dtd:4.2
|
||||||
|
x11-base/xorg-proto
|
||||||
|
dev-libs/libxml2:2
|
||||||
|
dev-util/gdbus-codegen
|
||||||
|
dev-util/glib-utils
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
# Patches from gnome-3-28 branch on top of 3.28.2
|
||||||
|
# Makes some panels and dependencies optional
|
||||||
|
# https://bugzilla.gnome.org/686840, 697478, 700145
|
||||||
|
# Fix some absolute paths to be appropriate for Gentoo
|
||||||
|
"${WORKDIR}"/patches/
|
||||||
|
# Extra patch to fix incomplete USE=-cups support in patchset; amend it into the cups optionality commit for next patchset
|
||||||
|
"${FILESDIR}"/${PV}-conditional-cups-tests.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
$(meson_use bluetooth)
|
||||||
|
$(meson_use v4l cheese)
|
||||||
|
-Dcups=$(usex cups enabled disabled)
|
||||||
|
-Ddocumentation=true # manpage
|
||||||
|
-Dgoa=$(usex gnome-online-accounts enabled disabled)
|
||||||
|
-Dgrilo=$(usex flickr enabled disabled)
|
||||||
|
$(meson_use ibus)
|
||||||
|
-Dkerberos=$(usex kerberos enabled disabled)
|
||||||
|
$(meson_use networkmanager network_manager)
|
||||||
|
-Dtracing=false
|
||||||
|
$(meson_use input_devices_wacom wacom)
|
||||||
|
$(meson_use wayland)
|
||||||
|
# bashcompletions installed to $datadir/bash-completion/completions by v3.28.2, which is the same as $(get_bashcompdir)
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
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 gnome-shell-extension-gsconnect-12.tar.gz 1034122 BLAKE2B dc9e4003532bbb500c81d2bd0d2a715f60bb5c70b6bcf3286ebd8b2219d511f51e63c93ef30b0b71ced720531c811462f3b343d9a9eaa07ef4a56a498e5c497f SHA512 3b88aa7ff6e55556a6e438376c578a007d41d266dc91f6d56dfccde217bd0ede7ed40c10b05903582d9bde392f0a375f34b1fbdfd1aae0204f46b9d7e6c246ef
|
DIST gnome-shell-extension-gsconnect-12.tar.gz 1034122 BLAKE2B dc9e4003532bbb500c81d2bd0d2a715f60bb5c70b6bcf3286ebd8b2219d511f51e63c93ef30b0b71ced720531c811462f3b343d9a9eaa07ef4a56a498e5c497f SHA512 3b88aa7ff6e55556a6e438376c578a007d41d266dc91f6d56dfccde217bd0ede7ed40c10b05903582d9bde392f0a375f34b1fbdfd1aae0204f46b9d7e6c246ef
|
||||||
DIST gnome-shell-extension-gsconnect-20.tar.gz 282464 BLAKE2B 1d0949a34f209f85ebe857494ef94ca429755c13d4988f5ef965f90194b7fad2d37ba0ebfb65ddb2df0db8aba17f27ca400e19755e528cf445dc1cd2b5a8b9d5 SHA512 7db21a580593f429eb7d89054d6ec5e867d33ddc36e29a7e08ba54be8941cc507f081539fdbb0b14bd9ef3c6461964f02e23c12136f475c683c90685e4ea1354
|
DIST gnome-shell-extension-gsconnect-20.tar.gz 282464 BLAKE2B 1d0949a34f209f85ebe857494ef94ca429755c13d4988f5ef965f90194b7fad2d37ba0ebfb65ddb2df0db8aba17f27ca400e19755e528cf445dc1cd2b5a8b9d5 SHA512 7db21a580593f429eb7d89054d6ec5e867d33ddc36e29a7e08ba54be8941cc507f081539fdbb0b14bd9ef3c6461964f02e23c12136f475c683c90685e4ea1354
|
||||||
|
DIST gnome-shell-extension-gsconnect-21.tar.gz 290699 BLAKE2B cfdaf5d3e02e7a73009ff6f355f9ba444a811fa0834f1d16ac191217a613b56ab39d0952fdd1119e2e6371ba3e5ac89473d1a10de922189c6b2a40e0518b97fc SHA512 3382b5043fcaa359cb12777098f4f89ccdca1a20c6e0b953a8f165563902e3b4d0d469f09a59d01bad708748969efd79651cdd5ab9129c29ff656c6a918e0821
|
||||||
|
@ -0,0 +1,60 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit gnome2-utils meson readme.gentoo-r1
|
||||||
|
|
||||||
|
DESCRIPTION="KDE Connect implementation for Gnome Shell"
|
||||||
|
HOMEPAGE="https://github.com/andyholmes/gnome-shell-extension-gsconnect"
|
||||||
|
SRC_URI="https://github.com/andyholmes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="nautilus"
|
||||||
|
|
||||||
|
COMMON_DEPEND="dev-libs/glib:2"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
app-eselect/eselect-gnome-shell-extensions
|
||||||
|
>=dev-libs/gjs-1.48
|
||||||
|
>=gnome-base/gnome-shell-3.28
|
||||||
|
gnome-base/gvfs
|
||||||
|
|| ( ( net-libs/gnome-online-accounts dev-libs/libgdata ) dev-libs/folks )
|
||||||
|
|| ( media-libs/libcanberra media-libs/gsound )
|
||||||
|
nautilus? (
|
||||||
|
dev-python/nautilus-python
|
||||||
|
gnome-base/nautilus[introspection] )
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}"
|
||||||
|
BDEPEND="virtual/pkgconfig"
|
||||||
|
|
||||||
|
DISABLE_AUTOFORMATTING="yes"
|
||||||
|
DOC_CONTENTS="For knowing more about how to do the setup, please visit:
|
||||||
|
https://github.com/andyholmes/gnome-shell-extension-gsconnect/wiki/Installation"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
meson_src_configure \
|
||||||
|
$(meson_use nautilus)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
gnome2_schemas_savelist
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
ebegin "Updating list of installed extensions"
|
||||||
|
eselect gnome-shell-extensions update
|
||||||
|
eend $?
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
DIST amtk-5.0.0.tar.xz 368524 BLAKE2B dae5e6c832fd0cb94a7afa0524a9ce863f72023a3648b01004c834f6a17fa285ccbe4d3ec87b54101b4fa644c3530ec6f4faebf3fa971ef201a4e6455a3fff54 SHA512 86433a7b314bfbdd00cd53a7223561645b0ebd40ec519f97b61e8df073b88c76425182ad71a49794090a51eddf68b81f4c7d88c4bf6a618311aa92908f5bea73
|
@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit gnome2
|
||||||
|
|
||||||
|
DESCRIPTION="Actions, Menus and Toolbars Kit for GTK+ applications"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Projects/Amtk"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
|
SLOT="5"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="+introspection"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/glib-2.52:2
|
||||||
|
>=x11-libs/gtk+-3.22:3
|
||||||
|
introspection? ( >=dev-libs/gobject-introspection-1.42:= )
|
||||||
|
"
|
||||||
|
DEPEND="${DEPEND}
|
||||||
|
>=sys-devel/gettext-0.19.4
|
||||||
|
>=dev-util/gtk-doc-am-1.25
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
gnome2_src_configure \
|
||||||
|
--disable-gtk-doc \
|
||||||
|
--disable-installed-tests \
|
||||||
|
$(use_enable introspection) \
|
||||||
|
--disable-valgrind
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>gnome@gentoo.org</email>
|
||||||
|
<name>Gentoo GNOME Desktop</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
|
DIST fontforge-20190317.tar.gz 22762120 BLAKE2B 5cb85d2fb9a2a08fe64548f2667c026e916dd0239d17d8f8d7d2fe8ecb51f2106cf3dc6e6298014c0deadffbfe91925327b483ed4750a171fb621aea8bdee60b SHA512 55f9b0f7cafb1aa5a1461dbf39b52ca6b69a2baa6b761c8c28f86a0bb99e090d9ecc981294f51dadd9297b5ebd3036f01cb4f17b9a97a737eb567b4ae6522f20
|
||||||
DIST fontforge-dist-20170731.tar.xz 13985256 BLAKE2B 7bc49a3b7747de419e4fafb445062873cf9bf56aa73fd7499509b787a1c0fd6c47b0b5d7bfeb2a69d9237f9f66f989af968b0d00e9d5e57030906394f042f29c SHA512 26f7a40714460716a24dd0229fdb027f3766bcc48db64b8993436ddcb6277898f9f3b67ad4fc0be515b2b38e01370d1c7d9ee3c6ece1be862b7d8c9882411f11
|
DIST fontforge-dist-20170731.tar.xz 13985256 BLAKE2B 7bc49a3b7747de419e4fafb445062873cf9bf56aa73fd7499509b787a1c0fd6c47b0b5d7bfeb2a69d9237f9f66f989af968b0d00e9d5e57030906394f042f29c SHA512 26f7a40714460716a24dd0229fdb027f3766bcc48db64b8993436ddcb6277898f9f3b67ad4fc0be515b2b38e01370d1c7d9ee3c6ece1be862b7d8c9882411f11
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,360 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
inherit bash-completion-r1 flag-o-matic gnome2-utils linux-info systemd user udev multilib-minimal
|
||||||
|
|
||||||
|
DESCRIPTION="A networked sound server with an advanced plugin system"
|
||||||
|
HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/"
|
||||||
|
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${P}.tar.xz"
|
||||||
|
|
||||||
|
# libpulse-simple and libpulse link to libpulse-core; this is daemon's
|
||||||
|
# library and can link to gdbm and other GPL-only libraries. In this
|
||||||
|
# cases, we have a fully GPL-2 package. Leaving the rest of the
|
||||||
|
# GPL-forcing USE flags for those who use them.
|
||||||
|
LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
# +alsa-plugin as discussed in bug #519530
|
||||||
|
IUSE="+alsa +alsa-plugin +asyncns bluetooth +caps dbus doc equalizer elogind gconf
|
||||||
|
+gdbm +glib gtk ipv6 jack libsamplerate libressl lirc native-headset neon
|
||||||
|
ofono-headset +orc oss qt5 realtime selinux sox ssl systemd system-wide tcpd test
|
||||||
|
+udev +webrtc-aec +X zeroconf"
|
||||||
|
|
||||||
|
# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
|
||||||
|
REQUIRED_USE="
|
||||||
|
?? ( elogind systemd )
|
||||||
|
bluetooth? ( dbus )
|
||||||
|
equalizer? ( dbus )
|
||||||
|
ofono-headset? ( bluetooth )
|
||||||
|
native-headset? ( bluetooth )
|
||||||
|
realtime? ( dbus )
|
||||||
|
udev? ( || ( alsa oss ) )
|
||||||
|
"
|
||||||
|
|
||||||
|
# libpcre needed in some cases, bug #472228
|
||||||
|
CDEPEND="
|
||||||
|
|| (
|
||||||
|
elibc_glibc? ( virtual/libc )
|
||||||
|
elibc_uclibc? ( virtual/libc )
|
||||||
|
dev-libs/libpcre
|
||||||
|
)
|
||||||
|
>=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
|
||||||
|
X? (
|
||||||
|
>=x11-libs/libX11-1.4.0[${MULTILIB_USEDEP}]
|
||||||
|
>=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libSM[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libICE[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
caps? ( >=sys-libs/libcap-2.22-r2[${MULTILIB_USEDEP}] )
|
||||||
|
libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 )
|
||||||
|
alsa? ( >=media-libs/alsa-lib-1.0.19 )
|
||||||
|
glib? ( >=dev-libs/glib-2.26.0:2[${MULTILIB_USEDEP}] )
|
||||||
|
zeroconf? ( >=net-dns/avahi-0.6.12[dbus] )
|
||||||
|
jack? ( virtual/jack )
|
||||||
|
tcpd? ( sys-apps/tcp-wrappers[${MULTILIB_USEDEP}] )
|
||||||
|
lirc? ( app-misc/lirc )
|
||||||
|
dbus? ( >=sys-apps/dbus-1.0.0[${MULTILIB_USEDEP}] )
|
||||||
|
gtk? ( x11-libs/gtk+:3 )
|
||||||
|
bluetooth? (
|
||||||
|
>=net-wireless/bluez-5
|
||||||
|
>=sys-apps/dbus-1.0.0
|
||||||
|
media-libs/sbc
|
||||||
|
)
|
||||||
|
asyncns? ( net-libs/libasyncns[${MULTILIB_USEDEP}] )
|
||||||
|
udev? ( >=virtual/udev-143[hwdb(+)] )
|
||||||
|
equalizer? ( sci-libs/fftw:3.0 )
|
||||||
|
ofono-headset? ( >=net-misc/ofono-1.13 )
|
||||||
|
orc? ( >=dev-lang/orc-0.4.15 )
|
||||||
|
sox? ( >=media-libs/soxr-0.1.1 )
|
||||||
|
ssl? (
|
||||||
|
!libressl? ( dev-libs/openssl:0= )
|
||||||
|
libressl? ( dev-libs/libressl:= )
|
||||||
|
)
|
||||||
|
media-libs/speexdsp
|
||||||
|
gdbm? ( sys-libs/gdbm:= )
|
||||||
|
webrtc-aec? ( >=media-libs/webrtc-audio-processing-0.2 )
|
||||||
|
elogind? ( sys-auth/elogind )
|
||||||
|
systemd? ( sys-apps/systemd:0=[${MULTILIB_USEDEP}] )
|
||||||
|
dev-libs/libltdl:0
|
||||||
|
selinux? ( sec-policy/selinux-pulseaudio )
|
||||||
|
" # libltdl is a valid RDEPEND, libltdl.so is used for native abi in pulsecore and daemon
|
||||||
|
|
||||||
|
RDEPEND="${CDEPEND}
|
||||||
|
realtime? ( sys-auth/rtkit )
|
||||||
|
gconf? ( >=gnome-base/gconf-3.2.6 )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
sys-devel/m4
|
||||||
|
doc? ( app-doc/doxygen )
|
||||||
|
test? ( >=dev-libs/check-0.9.10 )
|
||||||
|
X? (
|
||||||
|
x11-base/xorg-proto
|
||||||
|
>=x11-libs/libXtst-1.0.99.2[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
dev-libs/libatomic_ops
|
||||||
|
virtual/pkgconfig
|
||||||
|
system-wide? ( || ( dev-util/unifdef sys-freebsd/freebsd-ubin ) )
|
||||||
|
dev-util/intltool
|
||||||
|
>=sys-devel/gettext-0.18.1
|
||||||
|
"
|
||||||
|
# This is a PDEPEND to avoid a circular dep
|
||||||
|
PDEPEND="
|
||||||
|
alsa? ( alsa-plugin? ( >=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio,${MULTILIB_USEDEP}] ) )
|
||||||
|
"
|
||||||
|
|
||||||
|
# alsa-utils dep is for the alsasound init.d script (see bug #155707)
|
||||||
|
# bluez dep is for the bluetooth init.d script
|
||||||
|
# PyQt5 dep is for the qpaeq script
|
||||||
|
RDEPEND="${RDEPEND}
|
||||||
|
equalizer? ( qt5? ( dev-python/PyQt5[dbus,widgets] ) )
|
||||||
|
system-wide? (
|
||||||
|
alsa? ( media-sound/alsa-utils )
|
||||||
|
bluetooth? ( >=net-wireless/bluez-5 )
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/pulseaudio-11.1-disable-flat-volumes.patch # bug 627894
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
CONFIG_CHECK="~HIGH_RES_TIMERS"
|
||||||
|
WARNING_HIGH_RES_TIMERS="CONFIG_HIGH_RES_TIMERS:\tis not set (required for enabling timer-based scheduling in pulseaudio)\n"
|
||||||
|
check_extra_config
|
||||||
|
|
||||||
|
if linux_config_exists; then
|
||||||
|
local snd_hda_prealloc_size=$(linux_chkconfig_string SND_HDA_PREALLOC_SIZE)
|
||||||
|
if [ -n "${snd_hda_prealloc_size}" ] && [ "${snd_hda_prealloc_size}" -lt 2048 ]; then
|
||||||
|
ewarn "A preallocated buffer-size of 2048 (kB) or higher is recommended for the HD-audio driver!"
|
||||||
|
ewarn "CONFIG_SND_HDA_PREALLOC_SIZE=${snd_hda_prealloc_size}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
linux-info_pkg_setup
|
||||||
|
gnome2_environment_reset #543364
|
||||||
|
|
||||||
|
enewgroup audio 18 # Just make sure it exists
|
||||||
|
|
||||||
|
if use system-wide; then
|
||||||
|
enewgroup pulse-access
|
||||||
|
enewgroup pulse
|
||||||
|
enewuser pulse -1 -1 /var/run/pulse pulse,audio
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Skip test that cannot work with sandbox, bug #501846
|
||||||
|
sed -i -e '/lock-autospawn-test /d' src/Makefile.am || die
|
||||||
|
sed -i -e 's/lock-autospawn-test$(EXEEXT) //' src/Makefile.in || die
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--disable-adrian-aec
|
||||||
|
--disable-bluez4
|
||||||
|
--disable-esound
|
||||||
|
--disable-gconf
|
||||||
|
--disable-solaris
|
||||||
|
--enable-largefile
|
||||||
|
--localstatedir="${EPREFIX}"/var
|
||||||
|
--with-systemduserunitdir=$(systemd_get_userunitdir)
|
||||||
|
--with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d
|
||||||
|
$(multilib_native_use_enable alsa)
|
||||||
|
$(multilib_native_use_enable bluetooth bluez5)
|
||||||
|
$(multilib_native_use_enable glib gsettings)
|
||||||
|
$(multilib_native_use_enable gtk gtk3)
|
||||||
|
$(multilib_native_use_enable jack)
|
||||||
|
$(multilib_native_use_enable libsamplerate samplerate)
|
||||||
|
$(multilib_native_use_enable lirc)
|
||||||
|
$(multilib_native_use_enable orc)
|
||||||
|
$(multilib_native_use_enable oss oss-output)
|
||||||
|
$(multilib_native_use_enable ssl openssl)
|
||||||
|
# tests involve random modules, so just do them for the native
|
||||||
|
$(multilib_native_use_enable test default-build-tests)
|
||||||
|
$(multilib_native_use_enable udev)
|
||||||
|
$(multilib_native_use_enable webrtc-aec)
|
||||||
|
$(multilib_native_use_enable zeroconf avahi)
|
||||||
|
$(multilib_native_use_with equalizer fftw)
|
||||||
|
$(multilib_native_use_with sox soxr)
|
||||||
|
$(multilib_native_usex gdbm '--with-database=gdbm' '--with-database=simple')
|
||||||
|
$(use_enable glib glib2)
|
||||||
|
$(use_enable asyncns)
|
||||||
|
$(use_enable neon neon-opt)
|
||||||
|
$(use_enable tcpd tcpwrap)
|
||||||
|
$(use_enable dbus)
|
||||||
|
$(use_enable X x11)
|
||||||
|
$(use_enable systemd systemd-daemon)
|
||||||
|
# systemd-login isn't necessary for non-native, but the rest of systemd are; not changing it at this point close to a meson port
|
||||||
|
$(use_enable systemd systemd-login)
|
||||||
|
$(use_enable systemd systemd-journal)
|
||||||
|
$(use_enable ipv6)
|
||||||
|
$(use_with caps)
|
||||||
|
)
|
||||||
|
|
||||||
|
if use elogind && multilib_is_native_abi; then
|
||||||
|
myconf+=(
|
||||||
|
--enable-systemd-login
|
||||||
|
SYSTEMDLOGIN_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null`
|
||||||
|
SYSTEMDLOGIN_LIBS=`pkg-config --libs "libelogind" 2>/dev/null`
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use bluetooth; then
|
||||||
|
myconf+=(
|
||||||
|
$(multilib_native_use_enable native-headset bluez5-native-headset)
|
||||||
|
$(multilib_native_use_enable ofono-headset bluez5-ofono-headset)
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! multilib_is_native_abi; then
|
||||||
|
myconf+=(
|
||||||
|
# hack around unnecessary checks
|
||||||
|
# (results don't matter, we're not building anything using it)
|
||||||
|
ac_cv_lib_ltdl_lt_dladvise_init=yes
|
||||||
|
LIBSPEEX_CFLAGS=' '
|
||||||
|
LIBSPEEX_LIBS=' '
|
||||||
|
)
|
||||||
|
else
|
||||||
|
# Make padsp work for non-native ABI, supposedly only possible with glibc; this is used by /usr/bin/padsp that comes from native build, thus we need this argument for native build
|
||||||
|
if use elibc_glibc ; then
|
||||||
|
myconf+=( --with-pulsedsp-location="${EPREFIX}"'/usr/\\$$LIB/pulseaudio' )
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
ECONF_SOURCE=${S} \
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
if multilib_is_native_abi; then
|
||||||
|
emake
|
||||||
|
use doc && emake doxygen
|
||||||
|
else
|
||||||
|
local targets=( libpulse.la libpulsedsp.la libpulse-simple.la )
|
||||||
|
use glib && targets+=( libpulse-mainloop-glib.la )
|
||||||
|
emake -C src ${targets[*]}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
# We avoid running the toplevel check target because that will run
|
||||||
|
# po/'s tests too, and they are broken. Officially, it should work
|
||||||
|
# with intltool 0.41, but that doesn't look like a stable release.
|
||||||
|
if multilib_is_native_abi; then
|
||||||
|
emake -C src check
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
if multilib_is_native_abi; then
|
||||||
|
emake -j1 DESTDIR="${D}" bashcompletiondir="$(get_bashcompdir)" install
|
||||||
|
if use doc ; then
|
||||||
|
docinto html
|
||||||
|
dodoc -r doxygen/html/
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
local targets=( libpulse.la libpulse-simple.la )
|
||||||
|
use glib && targets+=( libpulse-mainloop-glib.la )
|
||||||
|
emake DESTDIR="${D}" install-pkgconfigDATA
|
||||||
|
emake DESTDIR="${D}" -C src \
|
||||||
|
install-libLTLIBRARIES \
|
||||||
|
install-padsplibLTLIBRARIES \
|
||||||
|
lib_LTLIBRARIES="${targets[*]}" \
|
||||||
|
install-pulseincludeHEADERS
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
if use system-wide; then
|
||||||
|
newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio
|
||||||
|
|
||||||
|
use_define() {
|
||||||
|
local define=${2:-$(echo $1 | tr '[:lower:]' '[:upper:]')}
|
||||||
|
|
||||||
|
use "$1" && echo "-D$define" || echo "-U$define"
|
||||||
|
}
|
||||||
|
|
||||||
|
unifdef $(use_define zeroconf AVAHI) \
|
||||||
|
$(use_define alsa) \
|
||||||
|
$(use_define bluetooth) \
|
||||||
|
$(use_define udev) \
|
||||||
|
"${FILESDIR}/pulseaudio.init.d-5" \
|
||||||
|
> "${T}/pulseaudio"
|
||||||
|
|
||||||
|
doinitd "${T}/pulseaudio"
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||||
|
|
||||||
|
# We need /var/run/pulse, bug #442852
|
||||||
|
systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}.conf"
|
||||||
|
else
|
||||||
|
# Prevent warnings when system-wide is not used, bug #447694
|
||||||
|
if use dbus ; then
|
||||||
|
rm "${ED%/}"/etc/dbus-1/system.d/pulseaudio-system.conf || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use zeroconf ; then
|
||||||
|
sed -e '/module-zeroconf-publish/s:^#::' \
|
||||||
|
-i "${ED%/}/etc/pulse/default.pa" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
dodoc NEWS README todo
|
||||||
|
|
||||||
|
# Create the state directory
|
||||||
|
use prefix || diropts -o pulse -g pulse -m0755
|
||||||
|
|
||||||
|
find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
if use system-wide; then
|
||||||
|
elog "You have enabled the 'system-wide' USE flag for pulseaudio."
|
||||||
|
elog "This mode should only be used on headless servers, embedded systems,"
|
||||||
|
elog "or thin clients. It will usually require manual configuration, and is"
|
||||||
|
elog "incompatible with many expected pulseaudio features."
|
||||||
|
elog "On normal desktop systems, system-wide mode is STRONGLY DISCOURAGED."
|
||||||
|
elog "For more information, see"
|
||||||
|
elog " https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/"
|
||||||
|
elog " https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/"
|
||||||
|
elog " https://wiki.gentoo.org/wiki/PulseAudio#Headless_server"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use equalizer && ! use qt5; then
|
||||||
|
elog "You've enabled the 'equalizer' USE-flag but not the 'qt5' USE-flag."
|
||||||
|
elog "This will build the equalizer module, but the 'qpaeq' tool"
|
||||||
|
elog "which is required to set equalizer levels will not work."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use equalizer && use qt5; then
|
||||||
|
elog "You will need to load some extra modules to make qpaeq work."
|
||||||
|
elog "You can do that by adding the following two lines in"
|
||||||
|
elog "/etc/pulse/default.pa and restarting pulseaudio:"
|
||||||
|
elog "load-module module-equalizer-sink"
|
||||||
|
elog "load-module module-dbus-protocol"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use native-headset && use ofono-headset; then
|
||||||
|
elog "You have enabled both native and ofono headset profiles. The runtime decision"
|
||||||
|
elog "which to use is done via the 'headset' argument of module-bluetooth-discover."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use libsamplerate; then
|
||||||
|
elog "The libsamplerate based resamplers are now deprecated, because they offer no"
|
||||||
|
elog "particular advantage over speex. Upstream suggests disabling them."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
@ -0,0 +1,54 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit autotools user
|
||||||
|
|
||||||
|
DESCRIPTION="Play sounds on remote Unix systems without data transfer"
|
||||||
|
HOMEPAGE="http://rplay.doit.org/"
|
||||||
|
SRC_URI="${HOMEPAGE}dist/${P}.tar.gz
|
||||||
|
mirror://debian/pool/main/r/${PN}/${PN}_${PV}-16.debian.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="media-sound/gsm"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${WORKDIR}/debian/patches"
|
||||||
|
"${FILESDIR}/${P}-built-in_function_exit-r1.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup rplayd ""
|
||||||
|
enewuser rplayd "" "" "" rplayd
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
mv configure.{in,ac} || die
|
||||||
|
mv rx/configure.{in,ac} || die
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
--enable-rplayd-user=rplayd \
|
||||||
|
--enable-rplayd-group=rplayd
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# This is borrowed from the old einstall helper, and is necessary
|
||||||
|
# (at least some of variables).
|
||||||
|
emake prefix="${ED}/usr" \
|
||||||
|
libdir="${ED}/usr/$(get_libdir)" \
|
||||||
|
datadir="${ED}/usr/share" \
|
||||||
|
infodir="${ED}/usr/share/info" \
|
||||||
|
localstatedir="${ED}/var/lib" \
|
||||||
|
mandir="${ED}/usr/share/man" \
|
||||||
|
sysconfdir="${ED}/etc" \
|
||||||
|
install
|
||||||
|
}
|
@ -1,3 +1,2 @@
|
|||||||
DIST volumeicon-0.4.6.tar.gz 136769 BLAKE2B 3044843571052b9e543279435e090d81f2a675495c4563458141327a6a542ea65dd8323058beec1ebe80fbb42ac5a439b39c95ea5b63cb4ec0c302fddc6b7833 SHA512 f5b649a113270a417046532ec9b80e738afe1275ce919a8a7adafbac05cdf58f9454a5386d3304cce652a90e63bc5297fa8cd5b369e0f1149c898483cbfe2f71
|
DIST volumeicon-0.4.6.tar.gz 136769 BLAKE2B 3044843571052b9e543279435e090d81f2a675495c4563458141327a6a542ea65dd8323058beec1ebe80fbb42ac5a439b39c95ea5b63cb4ec0c302fddc6b7833 SHA512 f5b649a113270a417046532ec9b80e738afe1275ce919a8a7adafbac05cdf58f9454a5386d3304cce652a90e63bc5297fa8cd5b369e0f1149c898483cbfe2f71
|
||||||
DIST volumeicon-0.5.0.tar.gz 160089 BLAKE2B cb91924d5058edaf21897d58f1df4dbda200e30142f57d22e3e22ce7ddb87cc7bd6538cd339d1b985d839f51f7845dc59648c17762c77c34bb387839c72432e3 SHA512 26c4973a600495886222920e6eea80a7d54ebecf9b9fa46dea6808e25bf3b5edc5b37ff0740da270e77faac687d2151d8cc53259b356e17ce99ed0e38b7fbe38
|
|
||||||
DIST volumeicon-0.5.1.tar.gz 172401 BLAKE2B 6638ef0746fff8eab8e4ff80698793ec8cc5ac2152cbe52f61cd06041c3f5f9e690818f885e362009354a768e46d157fc6a82389e87024cc0cd072ec3b50ffe5 SHA512 a96c79f91a8a0ec96f3297af659cf738547bb33e5908edb6b499bcc5081c61339ceaccc3a854a2f953a6f177fe6d8be1578cacab522d8be63a9dda8cf7c7a452
|
DIST volumeicon-0.5.1.tar.gz 172401 BLAKE2B 6638ef0746fff8eab8e4ff80698793ec8cc5ac2152cbe52f61cd06041c3f5f9e690818f885e362009354a768e46d157fc6a82389e87024cc0cd072ec3b50ffe5 SHA512 a96c79f91a8a0ec96f3297af659cf738547bb33e5908edb6b499bcc5081c61339ceaccc3a854a2f953a6f177fe6d8be1578cacab522d8be63a9dda8cf7c7a452
|
||||||
|
@ -1,26 +1,29 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=5
|
EAPI=7
|
||||||
|
|
||||||
DESCRIPTION="A lightweight volume control that sits in your systray"
|
DESCRIPTION="A lightweight volume control that sits in your systray"
|
||||||
HOMEPAGE="http://softwarebakery.com/maato/volumeicon.html"
|
HOMEPAGE="http://nullwise.com/volumeicon.html"
|
||||||
SRC_URI="http://softwarebakery.com/maato/files/${PN}/${P}.tar.gz"
|
SRC_URI="http://nullwise.com/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
IUSE="libnotify"
|
IUSE="libnotify"
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/glib-2
|
RDEPEND="
|
||||||
|
dev-libs/glib:2
|
||||||
media-libs/alsa-lib
|
media-libs/alsa-lib
|
||||||
x11-libs/gtk+:3
|
x11-libs/gtk+:3[X]
|
||||||
x11-libs/libX11
|
x11-libs/libX11
|
||||||
libnotify? ( >=x11-libs/libnotify-0.7 )"
|
libnotify? ( >=x11-libs/libnotify-0.7 )
|
||||||
|
"
|
||||||
DEPEND="${RDEPEND}
|
DEPEND="${RDEPEND}
|
||||||
virtual/pkgconfig"
|
dev-util/intltool
|
||||||
|
sys-devel/gettext
|
||||||
DOCS="AUTHORS ChangeLog"
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
# $(use_enable !alsa oss) fails wrt #419891, is likely only for OSS4
|
# $(use_enable !alsa oss) fails wrt #419891, is likely only for OSS4
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
DESCRIPTION="A lightweight volume control that sits in your systray"
|
|
||||||
HOMEPAGE="http://softwarebakery.com/maato/volumeicon.html"
|
|
||||||
SRC_URI="http://softwarebakery.com/maato/files/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="libnotify"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/glib-2
|
|
||||||
media-libs/alsa-lib
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/libX11
|
|
||||||
libnotify? ( >=x11-libs/libnotify-0.7 )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
DOCS="AUTHORS ChangeLog"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# $(use_enable !alsa oss) fails wrt #419891, is likely only for OSS4
|
|
||||||
econf $(use_enable libnotify notify)
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
Fri, 22 Mar 2019 20:08:39 +0000
|
Sat, 23 Mar 2019 17:08:38 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Fri, 22 Mar 2019 20:08:39 +0000
|
Sat, 23 Mar 2019 17:08:38 +0000
|
||||||
|
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue