parent
e907a48409
commit
6371c19dbe
@ -1,2 +1,3 @@
|
||||
DIST lxd-2.5.tar.bz2 2267313 SHA256 d87ac77ec6f47cd3e3417a78b0c315dac367bc89c532cf1784d80b31e57cfc8d SHA512 c023f2b9ccd958560eead23806cb60a04371a3721420f5c0d65e55cf2d7647d6690677619c4f8fa91573545817a1444d9d61f6a2b6ca8c3870136911cb1fbce9 WHIRLPOOL e4702e2597c5fe88ffa5139b829146ea474959799910bed79db617d9486da73d9de77c1ad398c1112d04109a858e5684f2c676bfe9fd4d68cf5081fbc0f6ae7a
|
||||
DIST lxd-2.7.tar.bz2 2309735 SHA256 2681a77888e19ed95ea0bd562dee9d03d703d01d25ab8cb8e80eb6c6a5f115ed SHA512 53a34e96a1478bd73f5b12988a10162fc4d93554cfd66a38a82879662e63a6d34cbdba432dea6e45733cb66f3b40b46146c4be2d38a66eb3d553f8157104b212 WHIRLPOOL 7fd13e545c632ee16b96f172948509838bcd85fe3541bd014168acb978811827367d86461eb68579fd6aaf3311a87f960057f207eb9b5a6b908a0aac81a5004d
|
||||
DIST lxd-2.8.tar.bz2 2317466 SHA256 57f08bd3c26ea4f32453aa163b502301ae0a80716d6de56b069eeebb35850011 SHA512 fdf906add25ab0b79ea7669ad569873a256f0cfc220ed816b0dc2c9b1e525a19e2606678d90d50c4f548b4322a2896d4c12069337f9571a9a4f6646fb6f673a5 WHIRLPOOL 049f3664e60e8f6fd98c8403db31db6e1dd5f6efed2e74b9007f9f99a4b337e9f58852253d226fc294c4bc964dd6d5d732a8a386606f206a74d83a32470dc1d3
|
||||
|
@ -0,0 +1,22 @@
|
||||
--- /Makefile.orig 2016-07-11 23:34:40.299664675 +0000
|
||||
+++ /Makefile 2016-07-11 23:37:00.816018727 +0000
|
||||
@@ -12,19 +12,11 @@
|
||||
|
||||
.PHONY: default
|
||||
default:
|
||||
- # Must a few times due to go get race
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
go install -v $(DEBUG) ./...
|
||||
@echo "LXD built successfully"
|
||||
|
||||
.PHONY: client
|
||||
client:
|
||||
- # Must a few times due to go get race
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
- -go get -t -v -d ./...
|
||||
go install -v $(DEBUG) ./lxc
|
||||
@echo "LXD client built successfully"
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Group which owns the shared socket
|
||||
LXD_OPTIONS+=" --group lxd"
|
||||
|
||||
|
||||
|
||||
# Enable cpu profiling into the specified file
|
||||
#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
|
||||
|
||||
# Enable memory profiling into the specified file
|
||||
#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
|
||||
|
||||
|
||||
|
||||
# Enables debug mode
|
||||
#LXD_OPTIONS+=" --debug"
|
||||
|
||||
# For debugging, print a complete stack trace every n seconds
|
||||
#LXD_OPTIONS+=" --print-goroutines-every 5"
|
||||
|
||||
# Enables verbose mode
|
||||
#LXD_OPTIONS+=" -v"
|
||||
|
||||
# Logfile to log to
|
||||
#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
|
||||
|
||||
# Enables syslog logging
|
||||
#LXD_OPTIONS+=" --syslog"
|
@ -0,0 +1,50 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DAEMON=/usr/sbin/lxd
|
||||
PIDFILE=/run/lxd.pid
|
||||
|
||||
extra_commands="stopall"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use lxcfs
|
||||
|
||||
# remove with 2.0 release
|
||||
need cgmanager
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting lxd server"
|
||||
|
||||
start-stop-daemon --start \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${DAEMON} \
|
||||
--background \
|
||||
--make-pidfile \
|
||||
-- \
|
||||
${LXD_OPTIONS}
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
|
||||
stopall
|
||||
else
|
||||
ebegin "Stopping lxd service (but not containers)"
|
||||
start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
|
||||
stopall() {
|
||||
ebegin "Stopping lxd service and containers"
|
||||
if "${DAEMON}" shutdown; then
|
||||
/etc/init.d/lxd zap
|
||||
rm -f ${PIDFILE}
|
||||
fi
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,199 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Fast, dense and secure container management"
|
||||
HOMEPAGE="https://linuxcontainers.org/lxd/introduction/"
|
||||
EGO_PN_PARENT="github.com/lxc"
|
||||
EGO_PN="${EGO_PN_PARENT}/lxd"
|
||||
|
||||
# The source is repackaged using a script at:
|
||||
# https://dev.gentoo.org/~stasibear/lxd_repackage.py
|
||||
# This is necessary because go's native package management assumes
|
||||
# that a build starts with checking out many git repositories, often
|
||||
# from HEAD. This provides no way to build the same code repeatably,
|
||||
# and anyway portage requires that fetching is only done from SRC_URI.
|
||||
# The only sane alternative I've seen is in the consul ebuild, which
|
||||
# is more transparent but raises other questions.
|
||||
SRC_URI="https://dev.gentoo.org/~stasibear/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
PLOCALES="de el fr ja"
|
||||
IUSE="+daemon nls test"
|
||||
|
||||
# IUSE and PLOCALES must be defined before l10n inherited
|
||||
inherit bash-completion-r1 golang-build l10n linux-info systemd user vcs-snapshot
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/go-1.7.1
|
||||
dev-go/go-crypto
|
||||
dev-go/go-net
|
||||
dev-libs/protobuf
|
||||
nls? ( sys-devel/gettext )
|
||||
test? (
|
||||
app-misc/jq
|
||||
dev-db/sqlite
|
||||
net-misc/curl
|
||||
sys-devel/gettext
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
daemon? (
|
||||
app-admin/cgmanager
|
||||
app-arch/xz-utils
|
||||
app-emulation/lxc[cgmanager,seccomp]
|
||||
net-dns/dnsmasq[dhcp,ipv6]
|
||||
net-misc/rsync[xattr]
|
||||
sys-apps/iproute2[ipv6]
|
||||
sys-fs/squashfs-tools
|
||||
virtual/acl
|
||||
)
|
||||
"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~BRIDGE
|
||||
~DUMMY
|
||||
~IP6_NF_NAT
|
||||
~IP6_NF_TARGET_MASQUERADE
|
||||
~IPV6
|
||||
~IP_NF_NAT
|
||||
~IP_NF_TARGET_MASQUERADE
|
||||
~MACVLAN
|
||||
~NETFILTER_XT_MATCH_COMMENT
|
||||
~NET_IPGRE
|
||||
~NET_IPGRE_DEMUX
|
||||
~NET_IPIP
|
||||
~NF_NAT_MASQUERADE_IPV4
|
||||
~NF_NAT_MASQUERADE_IPV6
|
||||
~VXLAN
|
||||
"
|
||||
|
||||
ERROR_BRIDGE="BRIDGE: needed for network commands"
|
||||
ERROR_DUMMY="DUMMY: needed for network commands"
|
||||
ERROR_IP6_NF_NAT="IP6_NF_NAT: needed for network commands"
|
||||
ERROR_IP6_NF_TARGET_MASQUERADE="IP6_NF_TARGET_MASQUERADE: needed for network commands"
|
||||
ERROR_IPV6="IPV6: needed for network commands"
|
||||
ERROR_IP_NF_NAT="IP_NF_NAT: needed for network commands"
|
||||
ERROR_IP_NF_TARGET_MASQUERADE="IP_NF_TARGET_MASQUERADE: needed for network commands"
|
||||
ERROR_MACVLAN="MACVLAN: needed for network commands"
|
||||
ERROR_NETFILTER_XT_MATCH_COMMENT="NETFILTER_XT_MATCH_COMMENT: needed for network commands"
|
||||
ERROR_NET_IPGRE="NET_IPGRE: needed for network commands"
|
||||
ERROR_NET_IPGRE_DEMUX="NET_IPGRE_DEMUX: needed for network commands"
|
||||
ERROR_NET_IPIP="NET_IPIP: needed for network commands"
|
||||
ERROR_NF_NAT_MASQUERADE_IPV4="NF_NAT_MASQUERADE_IPV4: needed for network commands"
|
||||
ERROR_NF_NAT_MASQUERADE_IPV6="NF_NAT_MASQUERADE_IPV6: needed for network commands"
|
||||
ERROR_VXLAN="VXLAN: needed for network commands"
|
||||
|
||||
PATCHES=("${FILESDIR}/${P}-dont-go-get.patch")
|
||||
|
||||
# KNOWN ISSUES:
|
||||
# - Translations may not work. I've been unsuccessful in forcing
|
||||
# localized output. Anyway, upstream (Canonical) doesn't install the
|
||||
# message files.
|
||||
|
||||
src_prepare() {
|
||||
cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
|
||||
|
||||
default_src_prepare
|
||||
|
||||
tmpgoroot="${T}/goroot"
|
||||
mkdir -p "$tmpgoroot" || die "Failed to create temporary GOROOT"
|
||||
cp -sR "$(get_golibdir_gopath)"/* "${tmpgoroot}" || die "Failed to copy files to temporary GOROOT"
|
||||
|
||||
# Warn on unhandled locale changes
|
||||
l10n_find_plocales_changes po "" .po
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
golang-build_src_compile
|
||||
|
||||
cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
|
||||
|
||||
tmpgoroot="${T}/goroot"
|
||||
if use daemon; then
|
||||
# Build binaries
|
||||
GOPATH="${S}:${tmpgoroot}" emake
|
||||
else
|
||||
# build client tool
|
||||
GOPATH="${S}:${tmpgoroot}" emake client
|
||||
fi
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use daemon; then
|
||||
# Go native tests should succeed
|
||||
golang-build_src_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Installs all src,pkg to /usr/lib/go-gentoo
|
||||
golang-build_src_install
|
||||
|
||||
cd "${S}"
|
||||
dobin bin/lxc
|
||||
if use daemon; then
|
||||
dosbin bin/lxd
|
||||
dobin bin/fuidshift
|
||||
fi
|
||||
|
||||
cd "src/${EGO_PN}"
|
||||
|
||||
if use nls; then
|
||||
for lingua in ${PLOCALES}; do
|
||||
if use linguas_${lingua}; then
|
||||
domo po/${lingua}.mo
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if use daemon; then
|
||||
newinitd "${FILESDIR}"/${P}.initd lxd
|
||||
newconfd "${FILESDIR}"/${P}.confd lxd
|
||||
|
||||
systemd_dounit "${FILESDIR}"/lxd.service
|
||||
fi
|
||||
|
||||
newbashcomp config/bash/lxd-client lxc
|
||||
|
||||
dodoc AUTHORS CONTRIBUTING.md README.md doc/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
||||
einfo "including a Quick Start."
|
||||
|
||||
# The messaging below only applies to daemon installs
|
||||
use daemon || return 0
|
||||
|
||||
# The control socket will be owned by (and writeable by) this group.
|
||||
enewgroup lxd
|
||||
|
||||
# Ubuntu also defines an lxd user but it appears unused (the daemon
|
||||
# must run as root)
|
||||
|
||||
einfo
|
||||
einfo "Though not strictly required, some features are enabled at run-time"
|
||||
einfo "when the relevant helper programs are detected:"
|
||||
einfo "- sys-apps/apparmor"
|
||||
einfo "- sys-fs/btrfs-progs"
|
||||
einfo "- sys-fs/lvm2"
|
||||
einfo "- sys-fs/lxcfs"
|
||||
einfo "- sys-fs/zfs"
|
||||
einfo "- sys-process/criu"
|
||||
einfo
|
||||
einfo "Since these features can't be disabled at build-time they are"
|
||||
einfo "not USE-conditional."
|
||||
einfo
|
||||
einfo "Networks with bridge.mode=fan are unsupported due to requiring"
|
||||
einfo "a patched kernel and iproute2."
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST todo-2.10.tar.gz 56509 SHA256 55b6b86a970c25efcd05b24b37e8141bab623ddfa681638d49fd6fd6907eda2c SHA512 b14d9d13948836d971f72b941770e8e2c59d171d35f074205900619c5c3efd7ca0a482887046c1865890afb6595fe27c69677c54ea5824163d291e16fa5329d3 WHIRLPOOL 4282bad14c1ffac5642577ed9de4bec273eb56be28b9a019e06b11d181b56bef708167eef31fafaec607a502edd1f4edf82b1d5ba0eb4df4c27e01944f9795d6
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>monsieurp@gentoo.org</email>
|
||||
<name>Patrice Clement</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="A CLI-based TODO list manager"
|
||||
HOMEPAGE="http://todotxt.com/"
|
||||
SRC_URI="https://github.com/ginatrapani/${PN}.txt-cli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="app-shells/bash"
|
||||
|
||||
S="${WORKDIR}/${PN}.txt-cli-${PV}"
|
||||
|
||||
DOCS=( README.textile CONTRIBUTING.md LICENSE todo.cfg )
|
||||
|
||||
src_test() {
|
||||
make test || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin "${PN}.sh" "${PN}"
|
||||
newbashcomp "${PN}_completion" "${PN}"
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
commit 843c41decfa85e351349f7a410893ac85c9d60b7
|
||||
Author: Pino Toscano <pino@kde.org>
|
||||
Date: Sat Oct 8 16:17:17 2016 +0200
|
||||
|
||||
cmake: find PostgreSQL 9.6
|
||||
|
||||
diff --git a/cmake/modules/FindCalligraPostgreSQL.cmake b/cmake/modules/FindCalligraPostgreSQL.cmake
|
||||
index 035508b..98a1e88 100644
|
||||
--- a/cmake/modules/FindCalligraPostgreSQL.cmake
|
||||
+++ b/cmake/modules/FindCalligraPostgreSQL.cmake
|
||||
@@ -83,7 +83,7 @@ set(PostgreSQL_ROOT_DIR_MESSAGE "Set the PostgreSQL_ROOT system variable to wher
|
||||
|
||||
|
||||
set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS}
|
||||
- "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
||||
+ "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
||||
|
||||
# Define additional search paths for root directories.
|
||||
foreach (suffix ${PostgreSQL_KNOWN_VERSIONS} )
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils java-pkg-2
|
||||
|
||||
MY_PV_1="${PV/_beta/b}"
|
||||
MY_PV="${MY_PV_1/_rc/}"
|
||||
MY_URI_PV_1="${PV/rc/}"
|
||||
MY_URI_PV="${MY_URI_PV_1//_/%20}"
|
||||
|
||||
DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
|
||||
HOMEPAGE="http://www.jabref.org/"
|
||||
# SRC_URI="mirror://sourceforge/jabref/JabRef-${MY_PV}.jar"
|
||||
SRC_URI="https://github.com/JabRef/jabref/releases/download/v${PV}/JabRef-${MY_PV}.jar"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -v "${DISTDIR}/${A}" . || die
|
||||
unzip ${A} images/icons/JabRef-icon-48.png || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "JabRef-${MY_PV}.jar"
|
||||
java-pkg_dolauncher "${PN}" --jar "${PN}.jar"
|
||||
newicon images/icons/JabRef-icon-48.png JabRef-bin-icon.png
|
||||
make_desktop_entry "${PN}" JabRef-bin JabRef-bin-icon Office
|
||||
}
|
@ -0,0 +1,207 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
MY_EXTRAS_VER="20160721-1526Z"
|
||||
# The wsrep API version must match between upstream WSREP and sys-cluster/galera major number
|
||||
WSREP_REVISION="25"
|
||||
SUBSLOT="18"
|
||||
MYSQL_PV_MAJOR="5.6"
|
||||
|
||||
JAVA_PKG_OPT_USE="jdbc"
|
||||
|
||||
inherit toolchain-funcs java-pkg-opt-2 mysql-multilib-r1
|
||||
|
||||
HOMEPAGE="http://mariadb.org/"
|
||||
DESCRIPTION="An enhanced, drop-in replacement for MySQL"
|
||||
|
||||
IUSE="bindist cracklib galera kerberos innodb-lz4 innodb-lzo innodb-snappy jdbc mroonga odbc oqgraph pam sphinx sst-rsync sst-xtrabackup tokudb systemd xml"
|
||||
RESTRICT="!bindist? ( bindist )"
|
||||
|
||||
REQUIRED_USE="server? ( tokudb? ( jemalloc ) ) static? ( !pam ) jdbc? ( extraengine server !static )"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
MY_PATCH_DIR="${WORKDIR}/mysql-extras-${MY_EXTRAS_VER}"
|
||||
|
||||
PATCHES=(
|
||||
"${MY_PATCH_DIR}"/20006_all_cmake_elib-mariadb-10.1.16.patch
|
||||
"${MY_PATCH_DIR}"/20009_all_mariadb_myodbc_symbol_fix-5.5.38.patch
|
||||
"${MY_PATCH_DIR}"/20015_all_mariadb-pkgconfig-location.patch
|
||||
"${MY_PATCH_DIR}"/20018_all_mariadb-10.1.16-without-clientlibs-tools.patch
|
||||
)
|
||||
|
||||
COMMON_DEPEND="
|
||||
mroonga? ( app-text/groonga-normalizer-mysql )
|
||||
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
!bindist? (
|
||||
sys-libs/binutils-libs:0=
|
||||
>=sys-libs/readline-4.1:0=
|
||||
)
|
||||
server? (
|
||||
cracklib? ( sys-libs/cracklib:0= )
|
||||
extraengine? (
|
||||
odbc? ( dev-db/unixODBC:0= )
|
||||
xml? ( dev-libs/libxml2:2= )
|
||||
)
|
||||
innodb-lz4? ( app-arch/lz4 )
|
||||
innodb-lzo? ( dev-libs/lzo )
|
||||
innodb-snappy? ( app-arch/snappy )
|
||||
oqgraph? ( >=dev-libs/boost-1.40.0:0= dev-libs/judy:0= )
|
||||
pam? ( virtual/pam:0= )
|
||||
tokudb? ( app-arch/snappy )
|
||||
)
|
||||
>=dev-libs/libpcre-8.35:3=
|
||||
"
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
|
||||
server? ( extraengine? ( jdbc? ( >=virtual/jdk-1.6 ) ) )
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND="${RDEPEND} ${COMMON_DEPEND}
|
||||
galera? (
|
||||
sys-apps/iproute2
|
||||
=sys-cluster/galera-${WSREP_REVISION}*
|
||||
sst-rsync? ( sys-process/lsof )
|
||||
sst-xtrabackup? ( net-misc/socat[ssl] )
|
||||
)
|
||||
perl? ( !dev-db/mytop
|
||||
virtual/perl-Getopt-Long
|
||||
dev-perl/TermReadKey
|
||||
virtual/perl-Term-ANSIColor
|
||||
virtual/perl-Time-HiRes )
|
||||
server? ( extraengine? ( jdbc? ( >=virtual/jre-1.6 ) ) )
|
||||
"
|
||||
# xtrabackup-bin causes a circular dependency if DBD-mysql is not already installed
|
||||
PDEPEND="galera? ( sst-xtrabackup? ( || ( >=dev-db/xtrabackup-bin-2.2.4 dev-db/percona-xtrabackup ) ) )"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS+=( /usr/include/mysql/mysql_version.h
|
||||
/usr/include/mysql/private/probes_mysql_nodtrace.h
|
||||
/usr/include/mysql/private/probes_mysql_dtrace.h )
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
mysql-multilib-r1_pkg_setup
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
java-pkg-opt-2_pkg_preinst
|
||||
mysql-multilib-r1_pkg_preinst
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-opt-2_src_prepare
|
||||
mysql-multilib-r1_src_prepare
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
# bug 508724 mariadb cannot use ld.gold
|
||||
tc-ld-disable-gold
|
||||
|
||||
local MYSQL_CMAKE_NATIVE_DEFINES=(
|
||||
-DWITH_JEMALLOC=$(usex jemalloc system)
|
||||
-DWITH_PCRE=system
|
||||
)
|
||||
local MYSQL_CMAKE_EXTRA_DEFINES=(
|
||||
-DPLUGIN_AUTH_GSSAPI_CLIENT=$(usex kerberos YES NO)
|
||||
)
|
||||
if use server ; then
|
||||
# Federated{,X} must be treated special otherwise they will not be built as plugins
|
||||
if ! use extraengine ; then
|
||||
MYSQL_CMAKE_NATIVE_DEFINES+=(
|
||||
-DPLUGIN_FEDERATED=NO
|
||||
-DPLUGIN_FEDERATEDX=NO )
|
||||
fi
|
||||
|
||||
MYSQL_CMAKE_NATIVE_DEFINES+=(
|
||||
-DPLUGIN_OQGRAPH=$(usex oqgraph YES NO)
|
||||
-DPLUGIN_SPHINX=$(usex sphinx YES NO)
|
||||
-DPLUGIN_TOKUDB=$(usex tokudb YES NO)
|
||||
-DPLUGIN_AUTH_PAM=$(usex pam YES NO)
|
||||
-DPLUGIN_CRACKLIB_PASSWORD_CHECK=$(usex cracklib YES NO)
|
||||
-DPLUGIN_CASSANDRA=NO
|
||||
-DPLUGIN_SEQUENCE=$(usex extraengine YES NO)
|
||||
-DPLUGIN_SPIDER=$(usex extraengine YES NO)
|
||||
-DPLUGIN_CONNECT=$(usex extraengine YES NO)
|
||||
-DCONNECT_WITH_MYSQL=1
|
||||
-DCONNECT_WITH_LIBXML2=$(usex xml)
|
||||
-DCONNECT_WITH_ODBC=$(usex odbc)
|
||||
-DCONNECT_WITH_JDBC=$(usex jdbc)
|
||||
-DWITH_WSREP=$(usex galera)
|
||||
-DWITH_INNODB_LZ4=$(usex innodb-lz4 ON OFF)
|
||||
-DWITH_INNODB_LZO=$(usex innodb-lzo ON OFF)
|
||||
-DWITH_INNODB_SNAPPY=$(usex innodb-snappy ON OFF)
|
||||
-DPLUGIN_MROONGA=$(usex mroonga YES NO)
|
||||
-DPLUGIN_AUTH_GSSAPI=$(usex kerberos YES NO)
|
||||
)
|
||||
fi
|
||||
mysql-multilib-r1_src_configure
|
||||
}
|
||||
|
||||
# Official test instructions:
|
||||
# USE='embedded extraengine perl server openssl static-libs' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mariadb-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
multilib_src_test() {
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
einfo "Server tests not available on non-native abi".
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
if ! use server ; then
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && ewarn "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might run out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}" || die
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder
|
||||
retstatus_tests=$?
|
||||
|
||||
popd || die
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
local failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
|
||||
[[ -z "$failures" ]] || eerror "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST mysql-connector-c-6.1.5-src.tar.gz 3455028 SHA256 278f2b40f3980079bc7ad247cb2bf08967ce56ef79da468ae26ff2e2a560be66 SHA512 be47ed70865744ff9ecb9376972208504327514f03635e54c05e81d324bcf9ba777300a12738d8ca32b95c9c31d734dc9f6ebb7bb24fd11821560a6b0f09bb56 WHIRLPOOL bfdd17908cae63ef5b5006bdf28432bb12738044fe99960fdddab6da527ab41211a48396270a778ce500c5758c2f5d50c1fd850a92c684996612ab7c38637c61
|
||||
DIST mysql-connector-c-6.1.6-src.tar.gz 3475044 SHA256 2222433012c415871958b61bc4f3683e1ebe77e3389f698b267058c12533ea78 SHA512 2a3db4aec5b8e5357fa407d6e2b52534f7aa9c0b78c4ebe9a61e2e25dc5f7dc1f1962f6e6fd847107ce53ca369e0babe7118b947a87189495212596348cfd760 WHIRLPOOL 6a0a55a47a88606c12511f9fd155bafcf5d73b1ffa2c4877b838bca018f4a8a8f4427ac6af6e4c567eced7e1108dba4a613255f813ab481e8ea948b3a6cdff33
|
||||
DIST mysql-connector-c-6.1.9-src.tar.gz 3494748 SHA256 4e808704443365ad5b649673d03eca8fbebc0a4da9f1f96616c6bd1b1901ab2b SHA512 3127d08428e820044e25ab5ebb741a128325be6ca0fca0300cab33891693e11e57d4ded5a25918a67d23cceb8a2c6ee99879ffb50c31bc4c2e225a9dba9674dc WHIRLPOOL 7f0cb1fa7bb0f77447f4884b567e7881d8d9c1dda2e27250838fe8a51ac4ddcb8f7aa683fe11a3f7f9545f90918b15fe9e033da138c86e5bd4f360164ebaeb2e
|
||||
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS+=(
|
||||
/usr/include/mysql/my_config.h
|
||||
)
|
||||
|
||||
# wrap the config script
|
||||
MULTILIB_CHOST_TOOLS=( /usr/bin/mysql_config )
|
||||
|
||||
DESCRIPTION="C client library for MariaDB/MySQL"
|
||||
HOMEPAGE="https://dev.mysql.com/downloads/connector/c/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SRC_URI="mirror://mysql/Downloads/Connector-C/${P}-src.tar.gz"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc64 ~x86"
|
||||
|
||||
SUBSLOT="18"
|
||||
SLOT="0/${SUBSLOT}"
|
||||
IUSE="+ssl static-libs"
|
||||
|
||||
CDEPEND="
|
||||
sys-libs/zlib:=[${MULTILIB_USEDEP}]
|
||||
ssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/mysql[client-libs(+)]
|
||||
!dev-db/mysql-cluster[client-libs(+)]
|
||||
!dev-db/mariadb[client-libs(+)]
|
||||
!dev-db/mariadb-connector-c[mysqlcompat]
|
||||
!dev-db/mariadb-galera[client-libs(+)]
|
||||
!dev-db/percona-server[client-libs(+)]
|
||||
"
|
||||
DEPEND="${CDEPEND}"
|
||||
|
||||
DOCS=( README Docs/ChangeLog )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/mysql_com.patch" )
|
||||
|
||||
multilib_src_configure() {
|
||||
mycmakeargs+=(
|
||||
-DINSTALL_LAYOUT=RPM
|
||||
-DINSTALL_LIBDIR=$(get_libdir)
|
||||
-DWITH_DEFAULT_COMPILER_OPTIONS=OFF
|
||||
-DWITH_DEFAULT_FEATURE_SET=OFF
|
||||
-DENABLED_LOCAL_INFILE=ON
|
||||
-DMYSQL_UNIX_ADDR="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||
-DWITH_ZLIB=system
|
||||
-DENABLE_DTRACE=OFF
|
||||
-DWITH_SSL=$(usex ssl system bundled)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.a" -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} && -e "${EROOT}usr/$(get_libdir)/libmysqlclient.so" ]] ; then
|
||||
elog "Due to ABI changes when switching between different client libraries,"
|
||||
elog "revdep-rebuild must find and rebuild all packages linking to libmysqlclient."
|
||||
elog "Please run: revdep-rebuild --library libmysqlclient.so.${SUBSLOT}"
|
||||
ewarn "Failure to run revdep-rebuild may cause issues with other programs or libraries"
|
||||
fi
|
||||
}
|
@ -0,0 +1,123 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils flag-o-matic systemd toolchain-funcs user
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value and data structures database"
|
||||
HOMEPAGE="http://redis.io/"
|
||||
SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
|
||||
IUSE="+jemalloc tcmalloc luajit test"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="luajit? ( dev-lang/luajit:2 )
|
||||
!luajit? ( dev-lang/lua:5.1 )
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.2 )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.63
|
||||
test? ( dev-lang/tcl:0= )
|
||||
${RDEPEND}"
|
||||
REQUIRED_USE="?? ( tcmalloc jemalloc )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV/_/-}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup redis 75
|
||||
enewuser redis 75 -1 /var/lib/redis redis
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-3.2.5-shared.patch \
|
||||
"${FILESDIR}"/${PN}-3.2.3-config.patch \
|
||||
"${FILESDIR}"/${PN}-3.2.3-sharedlua.patch
|
||||
eapply_user
|
||||
|
||||
# Copy lua modules into build dir
|
||||
cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
|
||||
cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
|
||||
# Append cflag for lua_cjson
|
||||
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles=""
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-3.2 configure.ac
|
||||
sed -i \
|
||||
-e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
|
||||
-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with luajit)
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# geohash-int can't be built with -std=c99 either
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/geohash-int/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC AR RANLIB
|
||||
|
||||
local myconf=""
|
||||
|
||||
if use tcmalloc ; then
|
||||
myconf="${myconf} USE_TCMALLOC=yes"
|
||||
elif use jemalloc ; then
|
||||
myconf="${myconf} JEMALLOC_SHARED=yes"
|
||||
else
|
||||
myconf="${myconf} MALLOC=yes"
|
||||
fi
|
||||
|
||||
emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
|
||||
fperms 0644 /etc/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd" redis
|
||||
newinitd "${FILESDIR}/redis.initd-4" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-2" redis.service
|
||||
systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym /usr/sbin/redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils flag-o-matic systemd toolchain-funcs user
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value and data structures database"
|
||||
HOMEPAGE="http://redis.io/"
|
||||
SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
|
||||
IUSE="+jemalloc tcmalloc luajit test"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="luajit? ( dev-lang/luajit:2 )
|
||||
!luajit? ( >=dev-lang/lua-5.1:* )
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.2 )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.63
|
||||
test? ( dev-lang/tcl:0= )
|
||||
${RDEPEND}"
|
||||
REQUIRED_USE="?? ( tcmalloc jemalloc )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV/_/-}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup redis 75
|
||||
enewuser redis 75 -1 /var/lib/redis redis
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-3.2.5-shared.patch \
|
||||
"${FILESDIR}"/${PN}-3.2.3-config.patch \
|
||||
"${FILESDIR}"/${PN}-3.2.3-sharedlua.patch
|
||||
eapply_user
|
||||
|
||||
# Copy lua modules into build dir
|
||||
cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
|
||||
cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
|
||||
# Append cflag for lua_cjson
|
||||
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles=""
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-3.2 configure.ac
|
||||
sed -i \
|
||||
-e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
|
||||
-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
-e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,lua,g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with luajit)
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# geohash-int can't be built with -std=c99 either
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/geohash-int/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC AR RANLIB
|
||||
|
||||
local myconf=""
|
||||
|
||||
if use tcmalloc ; then
|
||||
myconf="${myconf} USE_TCMALLOC=yes"
|
||||
elif use jemalloc ; then
|
||||
myconf="${myconf} JEMALLOC_SHARED=yes"
|
||||
else
|
||||
myconf="${myconf} MALLOC=yes"
|
||||
fi
|
||||
|
||||
emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
|
||||
fperms 0644 /etc/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd" redis
|
||||
newinitd "${FILESDIR}/redis.initd-4" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-2" redis.service
|
||||
systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym /usr/sbin/redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
@ -0,0 +1,155 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
# Don't block arm. See bug #600134.
|
||||
#MULTILIB_COMPAT=( abi_ppc_64 abi_x86_{32,64} )
|
||||
KEYWORDS="-* ~amd64 ~arm ~x86"
|
||||
|
||||
inherit java-vm-2 multilib-build toolchain-funcs
|
||||
|
||||
BASE_URI="https://dev.gentoo.org/~chewi/distfiles"
|
||||
SRC_URI="doc? ( ${BASE_URI}/${PN}-doc-${PV}.tar.xz )
|
||||
source? ( ${BASE_URI}/${PN}-src-${PV}.tar.xz )
|
||||
multilib? ( amd64? ( abi_x86_32? ( ${BASE_URI}/${PN}-core-${PV}-x86.tar.xz ) ) )"
|
||||
|
||||
for abi in amd64 arm x86; do
|
||||
SRC_URI+="
|
||||
${abi}? (
|
||||
${BASE_URI}/${PN}-core-${PV}-${abi}.tar.xz
|
||||
examples? ( ${BASE_URI}/${PN}-examples-${PV}-${abi}.tar.xz )
|
||||
)"
|
||||
done
|
||||
|
||||
DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
SLOT="8"
|
||||
|
||||
IUSE="+alsa +cups doc examples +gtk headless-awt multilib nsplugin pulseaudio selinux source +webstart"
|
||||
REQUIRED_USE="gtk? ( !headless-awt ) nsplugin? ( !headless-awt )"
|
||||
|
||||
RESTRICT="preserve-libs strip"
|
||||
QA_PREBUILT="opt/.*"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.42:2%
|
||||
>=dev-libs/nss-3.28.1%
|
||||
>=dev-libs/nspr-4.10%
|
||||
>=media-libs/fontconfig-2.11:1.0%
|
||||
>=media-libs/freetype-2.5.5:2%
|
||||
>=media-libs/lcms-2.6:2%
|
||||
>=sys-libs/zlib-1.2.8-r1%
|
||||
virtual/jpeg:62%
|
||||
alsa? ( >=media-libs/alsa-lib-1.0% )
|
||||
cups? ( >=net-print/cups-2.0% )
|
||||
gtk? (
|
||||
>=dev-libs/atk-2.16.0%
|
||||
>=x11-libs/cairo-1.14.2%
|
||||
x11-libs/gdk-pixbuf:2%
|
||||
>=x11-libs/gtk+-2.24:2%
|
||||
>=x11-libs/pango-1.36%
|
||||
)
|
||||
!headless-awt? (
|
||||
media-libs/giflib:0/7%
|
||||
=media-libs/libpng-1.6*%
|
||||
>=x11-libs/libX11-1.6%
|
||||
>=x11-libs/libXcomposite-0.4%
|
||||
>=x11-libs/libXext-1.3%
|
||||
>=x11-libs/libXi-1.7%
|
||||
>=x11-libs/libXrender-0.9.8%
|
||||
>=x11-libs/libXtst-1.2%
|
||||
)"
|
||||
|
||||
RDEPEND=">=sys-devel/gcc-4.9.4[multilib?]
|
||||
>=sys-libs/glibc-2.22[multilib?]
|
||||
virtual/ttf-fonts
|
||||
selinux? ( sec-policy/selinux-java )
|
||||
multilib? ( ${RDEPEND//%/[${MULTILIB_USEDEP}]} )
|
||||
!multilib? ( ${RDEPEND//%/} )"
|
||||
|
||||
PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
|
||||
nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )
|
||||
pulseaudio? ( dev-java/icedtea-sound )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ "$(tc-is-softfloat)" != "no" ]]; then
|
||||
die "These binaries require a hardfloat system."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use alsa; then
|
||||
rm -v */jre/lib/*/libjsoundalsa.* || die
|
||||
fi
|
||||
|
||||
if use headless-awt; then
|
||||
rm -vr */jre/lib/*/lib*{[jx]awt,splashscreen}* \
|
||||
*/{,jre/}bin/policytool */bin/appletviewer || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
local dest="/opt/${P}-${ABI}"
|
||||
dest="${dest/%-${DEFAULT_ABI}/}"
|
||||
local ddest="${ED}${dest#/}"
|
||||
dodir "${dest}"
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
dodoc ${P}-${ABI}/doc/{ASSEMBLY_EXCEPTION,AUTHORS,NEWS,README,THIRD_PARTY_README}
|
||||
use doc && dodoc -r ${P}/doc/html
|
||||
|
||||
# doins doesn't preserve executable bits.
|
||||
cp -pRP ${P}-${ABI}/{bin,include,jre,lib,man} "${ddest}" || die
|
||||
|
||||
if use examples; then
|
||||
cp -pRP ${P}-${ABI}/{demo,sample} "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp ${P}/src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Use default VMHANDLE.
|
||||
java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh"
|
||||
else
|
||||
local x native=$(get_system_arch ${DEFAULT_ABI})
|
||||
|
||||
for x in {,/jre}/{bin,lib/$(get_system_arch)} /jre/lib/rt.jar; do
|
||||
dodir "${dest}"${x%/*}
|
||||
cp -pRP ${P}-${ABI}${x} "${ddest}"${x} || die
|
||||
done
|
||||
|
||||
for x in ${P}-${DEFAULT_ABI}{,/jre}/lib/*; do
|
||||
[[ ${x##*/} = ${native} ]] && continue
|
||||
[[ -e "${ddest}"/${x#*/} ]] && continue
|
||||
dosym "${EPREFIX}"/opt/${P}/${x#*/} "${dest}"/${x#*/}
|
||||
done
|
||||
|
||||
# Use ABI-suffixed VMHANDLE.
|
||||
VMHANDLE+="-${ABI}" java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh"
|
||||
fi
|
||||
|
||||
# Both icedtea itself and the icedtea ebuild set PAX markings but we
|
||||
# disable them for the icedtea-bin build because the line below will
|
||||
# respect end-user settings when icedtea-bin is actually installed.
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# Each invocation appends to the config.
|
||||
java-vm_revdep-mask "${EPREFIX}${dest}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use multilib; then
|
||||
multilib_foreach_abi multilib_src_install
|
||||
else
|
||||
multilib_src_install
|
||||
fi
|
||||
|
||||
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
VERSION="IcedTea JDK @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/usr/@LIBDIR@/icedtea@SLOT@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/usr/@LIBDIR@/icedtea@SLOT@"
|
||||
JAVAC="${JAVA_HOME}/bin/javac"
|
||||
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
|
||||
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
|
||||
LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/jre/lib/@PLATFORM@/xawt/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
|
||||
MANPATH="@GENTOO_PORTAGE_EPREFIX@/usr/@LIBDIR@/icedtea@SLOT@/man"
|
||||
PROVIDES_TYPE="JDK JRE"
|
||||
PROVIDES_VERSION="1.@SLOT@"
|
||||
# Taken from sun.boot.class.path property
|
||||
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar"
|
||||
GENERATION="2"
|
||||
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
|
@ -1,3 +1,4 @@
|
||||
DIST libnl-1.1.4.tar.gz 1174974 SHA256 4f80c21fe5bbcdde6e72b59b4f98306063a41421f909887c34e58d93e746d063 SHA512 25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4 WHIRLPOOL eab5547dce7b11c86123fbcc9cd8e00100c7e78f48a4a9fef40f80f89407ea705b701f8f0eb7df63997866f17b0cf0924b43c69b29fa1f1b016fe997371b950e
|
||||
DIST libnl-3.2.28-in6.patch.xz 6368 SHA256 0cbb8dc4e3cdc90a4a0608a26af1971d7c1c397bb5f089de8c8d640e57b7b631 SHA512 de14f7540e514871db2058236a339192443423e56f2f5bd52e02ff06873c9e411029b12f3119e57eb01201ce3643ce78ca3e8d9ada4f6ba318df96288304bead WHIRLPOOL 1f1ebfc06a0cf516202cee3aaee92d7ed584ec9633d48c23e666d40bf48d658cc27a00c9f8881a7e976e21fc66fb867e10cadd8a6c0c8826ff4fab712cb20f3d
|
||||
DIST libnl-3.2.28.tar.gz 941954 SHA256 cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5437c41 SHA512 b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9 WHIRLPOOL ff49346ddc31105a300ebffc0e4d4956ac85ade5e92e884c62e696d7d4234d40e63cf4839e6b6fd2d98d2122662d36d3f41666391686a83c8bf966e53e22ed25
|
||||
DIST libnl-3.2.29.tar.gz 963681 SHA256 0beb593dc6abfffa18a5c787b27884979c1b7e7f1fd468c801e3cc938a685922 SHA512 45e22b02368c479e01db7160345a0d3c73abf345e7b49bf350811243a17f307f5c6c3df639ec1e0c456707578aca8d69aad8afa697ac21449f521a3e39712670 WHIRLPOOL 1273dcaee79ecfdca947110c5e7ff70947703b1b0fda43fdb7c74edd78c6938f675e9a586aaff8feefce56a1f3137cbc50d3626ac336e6afa2ca8cbd8627e6eb
|
||||
|
@ -1,295 +0,0 @@
|
||||
--- a/dev/null
|
||||
+++ b/include/linux-private/linux/in6.h
|
||||
@@ -0,0 +1,292 @@
|
||||
+/*
|
||||
+ * Types and definitions for AF_INET6
|
||||
+ * Linux INET6 implementation
|
||||
+ *
|
||||
+ * Authors:
|
||||
+ * Pedro Roque <roque@di.fc.ul.pt>
|
||||
+ *
|
||||
+ * Sources:
|
||||
+ * IPv6 Program Interfaces for BSD Systems
|
||||
+ * <draft-ietf-ipngwg-bsd-api-05.txt>
|
||||
+ *
|
||||
+ * Advanced Sockets API for IPv6
|
||||
+ * <draft-stevens-advanced-api-00.txt>
|
||||
+ *
|
||||
+ * This program is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU General Public License
|
||||
+ * as published by the Free Software Foundation; either version
|
||||
+ * 2 of the License, or (at your option) any later version.
|
||||
+ */
|
||||
+
|
||||
+#ifndef _LINUX_IN6_H
|
||||
+#define _LINUX_IN6_H
|
||||
+
|
||||
+#include <linux/types.h>
|
||||
+
|
||||
+/*
|
||||
+ * IPv6 address structure
|
||||
+ */
|
||||
+
|
||||
+#if __UAPI_DEF_IN6_ADDR
|
||||
+struct in6_addr {
|
||||
+ union {
|
||||
+ __u8 u6_addr8[16];
|
||||
+#if __UAPI_DEF_IN6_ADDR_ALT
|
||||
+ __be16 u6_addr16[8];
|
||||
+ __be32 u6_addr32[4];
|
||||
+#endif
|
||||
+ } in6_u;
|
||||
+#define s6_addr in6_u.u6_addr8
|
||||
+#if __UAPI_DEF_IN6_ADDR_ALT
|
||||
+#define s6_addr16 in6_u.u6_addr16
|
||||
+#define s6_addr32 in6_u.u6_addr32
|
||||
+#endif
|
||||
+};
|
||||
+#endif /* __UAPI_DEF_IN6_ADDR */
|
||||
+
|
||||
+#if __UAPI_DEF_SOCKADDR_IN6
|
||||
+struct sockaddr_in6 {
|
||||
+ unsigned short int sin6_family; /* AF_INET6 */
|
||||
+ __be16 sin6_port; /* Transport layer port # */
|
||||
+ __be32 sin6_flowinfo; /* IPv6 flow information */
|
||||
+ struct in6_addr sin6_addr; /* IPv6 address */
|
||||
+ __u32 sin6_scope_id; /* scope id (new in RFC2553) */
|
||||
+};
|
||||
+#endif /* __UAPI_DEF_SOCKADDR_IN6 */
|
||||
+
|
||||
+#if __UAPI_DEF_IPV6_MREQ
|
||||
+struct ipv6_mreq {
|
||||
+ /* IPv6 multicast address of group */
|
||||
+ struct in6_addr ipv6mr_multiaddr;
|
||||
+
|
||||
+ /* local IPv6 address of interface */
|
||||
+ int ipv6mr_ifindex;
|
||||
+};
|
||||
+#endif /* __UAPI_DEF_IVP6_MREQ */
|
||||
+
|
||||
+#define ipv6mr_acaddr ipv6mr_multiaddr
|
||||
+
|
||||
+struct in6_flowlabel_req {
|
||||
+ struct in6_addr flr_dst;
|
||||
+ __be32 flr_label;
|
||||
+ __u8 flr_action;
|
||||
+ __u8 flr_share;
|
||||
+ __u16 flr_flags;
|
||||
+ __u16 flr_expires;
|
||||
+ __u16 flr_linger;
|
||||
+ __u32 __flr_pad;
|
||||
+ /* Options in format of IPV6_PKTOPTIONS */
|
||||
+};
|
||||
+
|
||||
+#define IPV6_FL_A_GET 0
|
||||
+#define IPV6_FL_A_PUT 1
|
||||
+#define IPV6_FL_A_RENEW 2
|
||||
+
|
||||
+#define IPV6_FL_F_CREATE 1
|
||||
+#define IPV6_FL_F_EXCL 2
|
||||
+#define IPV6_FL_F_REFLECT 4
|
||||
+#define IPV6_FL_F_REMOTE 8
|
||||
+
|
||||
+#define IPV6_FL_S_NONE 0
|
||||
+#define IPV6_FL_S_EXCL 1
|
||||
+#define IPV6_FL_S_PROCESS 2
|
||||
+#define IPV6_FL_S_USER 3
|
||||
+#define IPV6_FL_S_ANY 255
|
||||
+
|
||||
+
|
||||
+/*
|
||||
+ * Bitmask constant declarations to help applications select out the
|
||||
+ * flow label and priority fields.
|
||||
+ *
|
||||
+ * Note that this are in host byte order while the flowinfo field of
|
||||
+ * sockaddr_in6 is in network byte order.
|
||||
+ */
|
||||
+
|
||||
+#define IPV6_FLOWINFO_FLOWLABEL 0x000fffff
|
||||
+#define IPV6_FLOWINFO_PRIORITY 0x0ff00000
|
||||
+
|
||||
+/* These definitions are obsolete */
|
||||
+#define IPV6_PRIORITY_UNCHARACTERIZED 0x0000
|
||||
+#define IPV6_PRIORITY_FILLER 0x0100
|
||||
+#define IPV6_PRIORITY_UNATTENDED 0x0200
|
||||
+#define IPV6_PRIORITY_RESERVED1 0x0300
|
||||
+#define IPV6_PRIORITY_BULK 0x0400
|
||||
+#define IPV6_PRIORITY_RESERVED2 0x0500
|
||||
+#define IPV6_PRIORITY_INTERACTIVE 0x0600
|
||||
+#define IPV6_PRIORITY_CONTROL 0x0700
|
||||
+#define IPV6_PRIORITY_8 0x0800
|
||||
+#define IPV6_PRIORITY_9 0x0900
|
||||
+#define IPV6_PRIORITY_10 0x0a00
|
||||
+#define IPV6_PRIORITY_11 0x0b00
|
||||
+#define IPV6_PRIORITY_12 0x0c00
|
||||
+#define IPV6_PRIORITY_13 0x0d00
|
||||
+#define IPV6_PRIORITY_14 0x0e00
|
||||
+#define IPV6_PRIORITY_15 0x0f00
|
||||
+
|
||||
+/*
|
||||
+ * IPV6 extension headers
|
||||
+ */
|
||||
+#if __UAPI_DEF_IPPROTO_V6
|
||||
+#define IPPROTO_HOPOPTS 0 /* IPv6 hop-by-hop options */
|
||||
+#define IPPROTO_ROUTING 43 /* IPv6 routing header */
|
||||
+#define IPPROTO_FRAGMENT 44 /* IPv6 fragmentation header */
|
||||
+#define IPPROTO_ICMPV6 58 /* ICMPv6 */
|
||||
+#define IPPROTO_NONE 59 /* IPv6 no next header */
|
||||
+#define IPPROTO_DSTOPTS 60 /* IPv6 destination options */
|
||||
+#define IPPROTO_MH 135 /* IPv6 mobility header */
|
||||
+#endif /* __UAPI_DEF_IPPROTO_V6 */
|
||||
+
|
||||
+/*
|
||||
+ * IPv6 TLV options.
|
||||
+ */
|
||||
+#define IPV6_TLV_PAD1 0
|
||||
+#define IPV6_TLV_PADN 1
|
||||
+#define IPV6_TLV_ROUTERALERT 5
|
||||
+#define IPV6_TLV_JUMBO 194
|
||||
+#define IPV6_TLV_HAO 201 /* home address option */
|
||||
+
|
||||
+/*
|
||||
+ * IPV6 socket options
|
||||
+ */
|
||||
+#if __UAPI_DEF_IPV6_OPTIONS
|
||||
+#define IPV6_ADDRFORM 1
|
||||
+#define IPV6_2292PKTINFO 2
|
||||
+#define IPV6_2292HOPOPTS 3
|
||||
+#define IPV6_2292DSTOPTS 4
|
||||
+#define IPV6_2292RTHDR 5
|
||||
+#define IPV6_2292PKTOPTIONS 6
|
||||
+#define IPV6_CHECKSUM 7
|
||||
+#define IPV6_2292HOPLIMIT 8
|
||||
+#define IPV6_NEXTHOP 9
|
||||
+#define IPV6_AUTHHDR 10 /* obsolete */
|
||||
+#define IPV6_FLOWINFO 11
|
||||
+
|
||||
+#define IPV6_UNICAST_HOPS 16
|
||||
+#define IPV6_MULTICAST_IF 17
|
||||
+#define IPV6_MULTICAST_HOPS 18
|
||||
+#define IPV6_MULTICAST_LOOP 19
|
||||
+#define IPV6_ADD_MEMBERSHIP 20
|
||||
+#define IPV6_DROP_MEMBERSHIP 21
|
||||
+#define IPV6_ROUTER_ALERT 22
|
||||
+#define IPV6_MTU_DISCOVER 23
|
||||
+#define IPV6_MTU 24
|
||||
+#define IPV6_RECVERR 25
|
||||
+#define IPV6_V6ONLY 26
|
||||
+#define IPV6_JOIN_ANYCAST 27
|
||||
+#define IPV6_LEAVE_ANYCAST 28
|
||||
+
|
||||
+/* IPV6_MTU_DISCOVER values */
|
||||
+#define IPV6_PMTUDISC_DONT 0
|
||||
+#define IPV6_PMTUDISC_WANT 1
|
||||
+#define IPV6_PMTUDISC_DO 2
|
||||
+#define IPV6_PMTUDISC_PROBE 3
|
||||
+/* same as IPV6_PMTUDISC_PROBE, provided for symetry with IPv4
|
||||
+ * also see comments on IP_PMTUDISC_INTERFACE
|
||||
+ */
|
||||
+#define IPV6_PMTUDISC_INTERFACE 4
|
||||
+/* weaker version of IPV6_PMTUDISC_INTERFACE, which allows packets to
|
||||
+ * get fragmented if they exceed the interface mtu
|
||||
+ */
|
||||
+#define IPV6_PMTUDISC_OMIT 5
|
||||
+
|
||||
+/* Flowlabel */
|
||||
+#define IPV6_FLOWLABEL_MGR 32
|
||||
+#define IPV6_FLOWINFO_SEND 33
|
||||
+
|
||||
+#define IPV6_IPSEC_POLICY 34
|
||||
+#define IPV6_XFRM_POLICY 35
|
||||
+#endif
|
||||
+
|
||||
+/*
|
||||
+ * Multicast:
|
||||
+ * Following socket options are shared between IPv4 and IPv6.
|
||||
+ *
|
||||
+ * MCAST_JOIN_GROUP 42
|
||||
+ * MCAST_BLOCK_SOURCE 43
|
||||
+ * MCAST_UNBLOCK_SOURCE 44
|
||||
+ * MCAST_LEAVE_GROUP 45
|
||||
+ * MCAST_JOIN_SOURCE_GROUP 46
|
||||
+ * MCAST_LEAVE_SOURCE_GROUP 47
|
||||
+ * MCAST_MSFILTER 48
|
||||
+ */
|
||||
+
|
||||
+/*
|
||||
+ * Advanced API (RFC3542) (1)
|
||||
+ *
|
||||
+ * Note: IPV6_RECVRTHDRDSTOPTS does not exist. see net/ipv6/datagram.c.
|
||||
+ */
|
||||
+
|
||||
+#define IPV6_RECVPKTINFO 49
|
||||
+#define IPV6_PKTINFO 50
|
||||
+#define IPV6_RECVHOPLIMIT 51
|
||||
+#define IPV6_HOPLIMIT 52
|
||||
+#define IPV6_RECVHOPOPTS 53
|
||||
+#define IPV6_HOPOPTS 54
|
||||
+#define IPV6_RTHDRDSTOPTS 55
|
||||
+#define IPV6_RECVRTHDR 56
|
||||
+#define IPV6_RTHDR 57
|
||||
+#define IPV6_RECVDSTOPTS 58
|
||||
+#define IPV6_DSTOPTS 59
|
||||
+#define IPV6_RECVPATHMTU 60
|
||||
+#define IPV6_PATHMTU 61
|
||||
+#define IPV6_DONTFRAG 62
|
||||
+#if 0 /* not yet */
|
||||
+#define IPV6_USE_MIN_MTU 63
|
||||
+#endif
|
||||
+
|
||||
+/*
|
||||
+ * Netfilter (1)
|
||||
+ *
|
||||
+ * Following socket options are used in ip6_tables;
|
||||
+ * see include/linux/netfilter_ipv6/ip6_tables.h.
|
||||
+ *
|
||||
+ * IP6T_SO_SET_REPLACE / IP6T_SO_GET_INFO 64
|
||||
+ * IP6T_SO_SET_ADD_COUNTERS / IP6T_SO_GET_ENTRIES 65
|
||||
+ */
|
||||
+
|
||||
+/*
|
||||
+ * Advanced API (RFC3542) (2)
|
||||
+ */
|
||||
+#define IPV6_RECVTCLASS 66
|
||||
+#define IPV6_TCLASS 67
|
||||
+
|
||||
+/*
|
||||
+ * Netfilter (2)
|
||||
+ *
|
||||
+ * Following socket options are used in ip6_tables;
|
||||
+ * see include/linux/netfilter_ipv6/ip6_tables.h.
|
||||
+ *
|
||||
+ * IP6T_SO_GET_REVISION_MATCH 68
|
||||
+ * IP6T_SO_GET_REVISION_TARGET 69
|
||||
+ * IP6T_SO_ORIGINAL_DST 80
|
||||
+ */
|
||||
+
|
||||
+#define IPV6_AUTOFLOWLABEL 70
|
||||
+/* RFC5014: Source address selection */
|
||||
+#define IPV6_ADDR_PREFERENCES 72
|
||||
+
|
||||
+#define IPV6_PREFER_SRC_TMP 0x0001
|
||||
+#define IPV6_PREFER_SRC_PUBLIC 0x0002
|
||||
+#define IPV6_PREFER_SRC_PUBTMP_DEFAULT 0x0100
|
||||
+#define IPV6_PREFER_SRC_COA 0x0004
|
||||
+#define IPV6_PREFER_SRC_HOME 0x0400
|
||||
+#define IPV6_PREFER_SRC_CGA 0x0008
|
||||
+#define IPV6_PREFER_SRC_NONCGA 0x0800
|
||||
+
|
||||
+/* RFC5082: Generalized Ttl Security Mechanism */
|
||||
+#define IPV6_MINHOPCOUNT 73
|
||||
+
|
||||
+#define IPV6_ORIGDSTADDR 74
|
||||
+#define IPV6_RECVORIGDSTADDR IPV6_ORIGDSTADDR
|
||||
+#define IPV6_TRANSPARENT 75
|
||||
+#define IPV6_UNICAST_IF 76
|
||||
+
|
||||
+/*
|
||||
+ * Multicast Routing:
|
||||
+ * see include/uapi/linux/mroute6.h.
|
||||
+ *
|
||||
+ * MRT6_BASE 200
|
||||
+ * ...
|
||||
+ * MRT6_MAX
|
||||
+ */
|
||||
+#endif /* _LINUX_IN6_H */
|
@ -0,0 +1,215 @@
|
||||
static_assert is a reserved keyword in C++14 now.
|
||||
|
||||
--- a/include/CGameScript.h
|
||||
+++ b/include/CGameScript.h
|
||||
@@ -40,7 +40,7 @@
|
||||
// current most recent version
|
||||
#define GS_VERSION 8
|
||||
|
||||
-static_assert(GS_VERSION - GS_FIRST_SUPPORTED_VERSION + 1 == sizeof(GS_MinLxVersion)/sizeof(Version), GS_MinLxVersion__sizecheck);
|
||||
+static_openlierox_assert(GS_VERSION - GS_FIRST_SUPPORTED_VERSION + 1 == sizeof(GS_MinLxVersion)/sizeof(Version), GS_MinLxVersion__sizecheck);
|
||||
|
||||
// Error codes
|
||||
#define GSE_OK 1
|
||||
--- a/include/EndianSwap.h
|
||||
+++ b/include/EndianSwap.h
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
template <int n>
|
||||
void ByteSwap(unsigned char * b) {
|
||||
- static_assert(n == 1 || n % 2 == 0, n_must_be_equal);
|
||||
+ static_openlierox_assert(n == 1 || n % 2 == 0, n_must_be_equal);
|
||||
for(int i = 0; i < n/2; ++i) {
|
||||
std::swap(b[i], b[n - i - 1]);
|
||||
}
|
||||
@@ -57,8 +57,8 @@
|
||||
|
||||
template <int size, int nmemb, typename T>
|
||||
static size_t fwrite_endian_compat_wrapper(FILE* stream, T d) {
|
||||
- static_assert(nmemb == 1, nmemb__equals1);
|
||||
- static_assert(size == sizeof(T), size__mismatch);
|
||||
+ static_openlierox_assert(nmemb == 1, nmemb__equals1);
|
||||
+ static_openlierox_assert(size == sizeof(T), size__mismatch);
|
||||
EndianSwap(d);
|
||||
return fwrite(&d, sizeof(T), 1, stream);
|
||||
}
|
||||
@@ -69,8 +69,8 @@
|
||||
|
||||
template <int size, int nmemb, typename T>
|
||||
static size_t fread_compat_wrapper(FILE* stream, T& d) {
|
||||
- static_assert(nmemb == 1, nmemb__equals1);
|
||||
- static_assert(size == sizeof(T), size__mismatch);
|
||||
+ static_openlierox_assert(nmemb == 1, nmemb__equals1);
|
||||
+ static_openlierox_assert(size == sizeof(T), size__mismatch);
|
||||
return fread(&d, sizeof(T), 1, stream);
|
||||
}
|
||||
|
||||
--- a/include/ProjAction.h
|
||||
+++ b/include/ProjAction.h
|
||||
@@ -125,7 +125,7 @@
|
||||
__TRL_UBOUND = INT_MAX // force enum to be of size int
|
||||
};
|
||||
|
||||
-static_assert(sizeof(Proj_TrailType) == sizeof(int), Proj_TrailType__SizeCheck);
|
||||
+static_openlierox_assert(sizeof(Proj_TrailType) == sizeof(int), Proj_TrailType__SizeCheck);
|
||||
|
||||
|
||||
struct Proj_Trail {
|
||||
@@ -176,7 +176,7 @@
|
||||
__PJ_UBOUND = INT_MAX // force enum to be of size int
|
||||
};
|
||||
|
||||
-static_assert(sizeof(Proj_ActionType) == sizeof(int), Proj_ActionType__SizeCheck);
|
||||
+static_openlierox_assert(sizeof(Proj_ActionType) == sizeof(int), Proj_ActionType__SizeCheck);
|
||||
|
||||
|
||||
struct ProjCollisionType;
|
||||
@@ -379,7 +379,7 @@
|
||||
__PET_LBOUND = INT_MIN,
|
||||
__PET_UBOUND = INT_MAX
|
||||
} type;
|
||||
- static_assert(sizeof(Type) == sizeof(int), Proj_Event_Type__SizeCheck);
|
||||
+ static_openlierox_assert(sizeof(Type) == sizeof(int), Proj_Event_Type__SizeCheck);
|
||||
|
||||
Proj_Event(Type t = PET_UNSET) : type(t) {}
|
||||
Proj_TimerEvent timer;
|
||||
--- a/include/ProjectileDesc.h
|
||||
+++ b/include/ProjectileDesc.h
|
||||
@@ -60,7 +60,7 @@
|
||||
ATT_QUADRATIC, // The force fades out using the inverse quadratic function
|
||||
};
|
||||
|
||||
-static_assert(sizeof(Proj_GfxType) == sizeof(int), Proj_Type__SizeCheck);
|
||||
+static_openlierox_assert(sizeof(Proj_GfxType) == sizeof(int), Proj_Type__SizeCheck);
|
||||
|
||||
|
||||
// Animation types
|
||||
@@ -73,7 +73,7 @@
|
||||
__ANI_UBOUND = INT_MAX,
|
||||
};
|
||||
|
||||
-static_assert(sizeof(Proj_AnimType) == sizeof(int), Proj_AnimType__SizeCheck);
|
||||
+static_openlierox_assert(sizeof(Proj_AnimType) == sizeof(int), Proj_AnimType__SizeCheck);
|
||||
|
||||
|
||||
|
||||
--- a/include/StaticAssert.h
|
||||
+++ b/include/StaticAssert.h
|
||||
@@ -10,11 +10,11 @@
|
||||
#ifndef __OLX__STATICASSERT_H__
|
||||
#define __OLX__STATICASSERT_H__
|
||||
|
||||
-template <bool b> class static_assert_failure;
|
||||
-template <> class static_assert_failure<true> { char foo; };
|
||||
-template <int s> class static_assert_test{};
|
||||
+template <bool b> class static_openlierox_assert_failure;
|
||||
+template <> class static_openlierox_assert_failure<true> { char foo; };
|
||||
+template <int s> class static_openlierox_assert_test{};
|
||||
|
||||
-#define static_assert(X, desc) \
|
||||
- typedef static_assert_test< (int)sizeof(static_assert_failure< (bool)(X) >) > static_assert_typedef_##desc;
|
||||
+#define static_openlierox_assert(X, desc) \
|
||||
+ typedef static_openlierox_assert_test< (int)sizeof(static_openlierox_assert_failure< (bool)(X) >) > static_assert_typedef_##desc;
|
||||
|
||||
#endif
|
||||
--- a/include/WeaponDesc.h
|
||||
+++ b/include/WeaponDesc.h
|
||||
@@ -34,7 +34,7 @@
|
||||
__WCL_UBOUND = INT_MAX,
|
||||
};
|
||||
|
||||
-static_assert(sizeof(Wpn_Class) == sizeof(int), Wpn_Class__SizeCheck);
|
||||
+static_openlierox_assert(sizeof(Wpn_Class) == sizeof(int), Wpn_Class__SizeCheck);
|
||||
|
||||
// Weapon types
|
||||
enum Wpn_Type {
|
||||
@@ -46,7 +46,7 @@
|
||||
__WPN_UBOUND = INT_MAX
|
||||
};
|
||||
|
||||
-static_assert(sizeof(Wpn_Type) == sizeof(int), Wpn_Type__SizeCheck);
|
||||
+static_openlierox_assert(sizeof(Wpn_Type) == sizeof(int), Wpn_Type__SizeCheck);
|
||||
|
||||
|
||||
// Special Weapons
|
||||
@@ -58,7 +58,7 @@
|
||||
__SPC_UBOUND = INT_MAX
|
||||
};
|
||||
|
||||
-static_assert(sizeof(Wpn_Special) == sizeof(int), Wpn_Special__SizeCheck);
|
||||
+static_openlierox_assert(sizeof(Wpn_Special) == sizeof(int), Wpn_Special__SizeCheck);
|
||||
|
||||
|
||||
|
||||
--- a/src/client/DeprecatedGUI/Menu_FloatingOptions.cpp
|
||||
+++ b/src/client/DeprecatedGUI/Menu_FloatingOptions.cpp
|
||||
@@ -134,7 +134,7 @@
|
||||
};
|
||||
|
||||
static const int sFloatingOpt_InputNames__size = sizeof(sFloatingOpt_InputNames) / sizeof(std::string);
|
||||
-static_assert( sFloatingOpt_InputNames__size == __SIN_PLY_BOTTOM - 5, inputopts__sizecheck );
|
||||
+static_openlierox_assert( sFloatingOpt_InputNames__size == __SIN_PLY_BOTTOM - 5, inputopts__sizecheck );
|
||||
|
||||
|
||||
///////////////////
|
||||
--- a/src/client/Options.cpp
|
||||
+++ b/src/client/Options.cpp
|
||||
@@ -51,11 +51,11 @@
|
||||
const std::string gen_keys[] = {"Chat", "ShowScore", "ShowHealth", "ShowSettings", "TakeScreenshot", "ViewportManager", "SwitchMode", "ToggleTopBar", "TeamChat", "IrcChat", "Console"};
|
||||
const std::string gen_def[] = {"i", "tab", "h", "space", "F12", "F2", "F5", "F8", "o", "F4", "F3"};
|
||||
|
||||
-static_assert( sizeof(ply_keys) / sizeof(std::string) == __SIN_PLY_BOTTOM, ply_keys__sizecheck );
|
||||
-static_assert( sizeof(ply_def1) / sizeof(std::string) == __SIN_PLY_BOTTOM, ply_def1__sizecheck );
|
||||
-static_assert( sizeof(ply_def2) / sizeof(std::string) == __SIN_PLY_BOTTOM, ply_def2__sizecheck );
|
||||
-static_assert( sizeof(gen_keys) / sizeof(std::string) == __SIN_GENERAL_BOTTOM, gen_keys__sizecheck );
|
||||
-static_assert( sizeof(gen_def) / sizeof(std::string) == __SIN_GENERAL_BOTTOM, gen_def__sizecheck );
|
||||
+static_openlierox_assert( sizeof(ply_keys) / sizeof(std::string) == __SIN_PLY_BOTTOM, ply_keys__sizecheck );
|
||||
+static_openlierox_assert( sizeof(ply_def1) / sizeof(std::string) == __SIN_PLY_BOTTOM, ply_def1__sizecheck );
|
||||
+static_openlierox_assert( sizeof(ply_def2) / sizeof(std::string) == __SIN_PLY_BOTTOM, ply_def2__sizecheck );
|
||||
+static_openlierox_assert( sizeof(gen_keys) / sizeof(std::string) == __SIN_GENERAL_BOTTOM, gen_keys__sizecheck );
|
||||
+static_openlierox_assert( sizeof(gen_def) / sizeof(std::string) == __SIN_GENERAL_BOTTOM, gen_def__sizecheck );
|
||||
|
||||
static const Version defaultMinVersion("OpenLieroX/0.58_rc1");
|
||||
|
||||
--- a/src/common/CScriptableVars.cpp
|
||||
+++ b/src/common/CScriptableVars.cpp
|
||||
@@ -32,7 +32,7 @@
|
||||
{"Race", "Race gamemode settings"},
|
||||
};
|
||||
|
||||
-static_assert( sizeof(GameInfoGroupDescriptions) / (sizeof(char*) * 2) == GIG_Size, GIG_desc__sizecheck );
|
||||
+static_openlierox_assert( sizeof(GameInfoGroupDescriptions) / (sizeof(char*) * 2) == GIG_Size, GIG_desc__sizecheck );
|
||||
|
||||
|
||||
std::string AdvancedLevelDescription(AdvancedLevel l) {
|
||||
--- a/src/common/FeatureList.cpp
|
||||
+++ b/src/common/FeatureList.cpp
|
||||
@@ -114,7 +114,7 @@
|
||||
Feature::Unset()
|
||||
};
|
||||
|
||||
-static_assert(__FTI_BOTTOM == sizeof(featureArray)/sizeof(Feature) - 1, featureArray__sizecheck);
|
||||
+static_openlierox_assert(__FTI_BOTTOM == sizeof(featureArray)/sizeof(Feature) - 1, featureArray__sizecheck);
|
||||
|
||||
|
||||
|
||||
--- a/src/main.cpp
|
||||
+++ b/src/main.cpp
|
||||
@@ -135,12 +135,12 @@
|
||||
static void DoSystemChecks() {
|
||||
// sadly, these sizeof are directly used in CGameScript.cpp/CMap.cpp
|
||||
// TODO: fix this issue
|
||||
- static_assert(sizeof(char) == 1, sizeof_char__equals1);
|
||||
- static_assert(sizeof(short) == 2, sizeof_short__equals2);
|
||||
- static_assert(sizeof(int) == 4, sizeof_int__equals4);
|
||||
- static_assert(sizeof(float) == 4, sizeof_float__equals4);
|
||||
+ static_openlierox_assert(sizeof(char) == 1, sizeof_char__equals1);
|
||||
+ static_openlierox_assert(sizeof(short) == 2, sizeof_short__equals2);
|
||||
+ static_openlierox_assert(sizeof(int) == 4, sizeof_int__equals4);
|
||||
+ static_openlierox_assert(sizeof(float) == 4, sizeof_float__equals4);
|
||||
// sometimes the return value of SendMessage is used as a pointer
|
||||
- static_assert(sizeof(DWORD) == sizeof(void*), sizeof_dword__equals_p);
|
||||
+ static_openlierox_assert(sizeof(DWORD) == sizeof(void*), sizeof_dword__equals_p);
|
||||
}
|
||||
|
||||
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils eutils games
|
||||
|
||||
MY_PN="OpenLieroX"
|
||||
MY_P="${MY_PN}_${PV}"
|
||||
DESCRIPTION="Real-time excessive Worms-clone"
|
||||
HOMEPAGE="http://openlierox.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/openlierox/${MY_P}.src.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X breakpad debug joystick"
|
||||
|
||||
RDEPEND="media-libs/sdl-mixer
|
||||
media-libs/sdl-image
|
||||
media-libs/gd[jpeg,png]
|
||||
dev-libs/libxml2
|
||||
dev-libs/libzip
|
||||
net-misc/curl
|
||||
joystick? ( media-libs/libsdl[joystick] )
|
||||
!joystick? ( media-libs/libsdl )
|
||||
X? ( x11-libs/libX11
|
||||
media-libs/libsdl[X] )
|
||||
!X? ( media-libs/libsdl )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.58_rc1-icu.patch \
|
||||
"${FILESDIR}"/${PN}-0.58_rc1-curl.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs="
|
||||
$(cmake-utils_use debug DEBUG)
|
||||
$(cmake-utils_use X X11)
|
||||
-D BREAKPAD=$(use breakpad && echo "Yes" || echo "No")
|
||||
-D DISABLE_JOYSTICK=$(use joystick && echo "No" || echo "Yes")
|
||||
-D SYSTEM_DATA_DIR=${GAMES_DATADIR}
|
||||
-D VERSION=${PV}"
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# NOTE: App uses case-insensitive file-handling
|
||||
insinto "${GAMES_DATADIR}"/${PN}/
|
||||
doins -r share/gamedir/*
|
||||
|
||||
dodoc doc/{README,ChangeLog,Development,TODO}
|
||||
insinto /usr/share/doc/"${PF}"
|
||||
doins -r doc/original_lx_docs
|
||||
|
||||
doicon share/OpenLieroX.*
|
||||
make_desktop_entry openlierox OpenLieroX OpenLieroX \
|
||||
"Game;ActionGame;ArcadeGame;"
|
||||
|
||||
dogamesbin "${CMAKE_BUILD_DIR}"/bin/openlierox
|
||||
|
||||
prepgamesdirs
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST libgsf-1.14.34.tar.xz 609880 SHA256 f0fea447e0374a73df45b498fd1701393f8e6acb39746119f8a292fb4a0cb528 SHA512 9a9fbb178147ed80572a8e727b1d3ba1f305c12c6a3b151016daf7eb51b7bf75b30d3397070ce98d6e83acf9617b15eb281fa976df291ab894119d2647826532 WHIRLPOOL c998d25adf0898b65219a9fe78075f8123a448e079fb167acc61b3cbe9093dcb2d9867a48d9d544b3a7b838a41559a3eac1b88e204294d56e49191f3d16f8e48
|
||||
DIST libgsf-1.14.36.tar.xz 609764 SHA256 71b7507f86c0f7c341bb362bdc7925a2ae286729be0bf5b8fd9581ffbbd62940 SHA512 ca0345fa4190df4d392e7cf71187d2f3b0c4bbe2312f18c076f1a9fa90e7803a754cec9a7df3da9cd00ded800eb4ad78e7acb099350dcf44c35181cddade7a85 WHIRLPOOL e99ea9a087aad127c469d353c3632d75e98a12045c8e198bb02280991ad6970b0198654ab525dd067e038caba75e710a2203868463900aa409bae332c797b8d2
|
||||
DIST libgsf-1.14.40.tar.xz 616780 SHA256 350638894b5e324d8880b50e4bc43daabaf9f3f43a66010af080ffa2d32d51e0 SHA512 6fcae7b44f4558a7149fa7c33a23ce288674df4d1120c87aed987edabd9d010e82fefaea0532e1179185a228265a29eae2360a16c7109960a52a098535ad4d5e WHIRLPOOL 0f3a5d26fc95f414e9451df887018aefbf96af6ce3f86fa4f4f1b730ad96ea6d16ce206c517f137c69edc402d65452b75865f2724456a0b8d5ece621d21dd86f
|
||||
DIST libgsf-1.14.41.tar.xz 616944 SHA256 150b98586a1021d5c49b3d4d065d0aa3e3674ae31db131af5372499d2d3f08d3 SHA512 e3892500288e5d1d9e46cdd3940d872ae2504fe54babe2dc085218c3e1a5aff5a7220c88bde730239af4a56c340a22f47337280b8892f0ab31e1e751adea9bc3 WHIRLPOOL ba632c383b95131ad9d684245a5265a414e2e6b96e183c12ddc37598d58d6b919d0d8ab3a725bf2b3ef56cdac5e11d7bd1f60229e0b907fdde70618ebd50234a
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="The GNOME Structured File Library"
|
||||
HOMEPAGE="https://developer.gnome.org/gsf/"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0/114" # libgsf-1.so version
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bzip2 gtk +introspection"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.26:2
|
||||
>=dev-libs/libxml2-2.4.16:2
|
||||
sys-libs/zlib
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.12
|
||||
>=dev-util/intltool-0.35.0
|
||||
dev-libs/gobject-introspection-common
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
$(use_with bzip2 bz2) \
|
||||
$(use_enable introspection) \
|
||||
$(use_with gtk gdk-pixbuf)
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="The GNOME Structured File Library"
|
||||
HOMEPAGE="https://developer.gnome.org/gsf/"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0/114" # libgsf-1.so version
|
||||
KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bzip2 gtk +introspection"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.26:2
|
||||
>=dev-libs/libxml2-2.4.16:2
|
||||
sys-libs/zlib
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
gtk? (
|
||||
x11-libs/gdk-pixbuf:2
|
||||
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
|
||||
)
|
||||
introspection? ( >=dev-libs/gobject-introspection-1:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.12
|
||||
>=dev-util/intltool-0.35.0
|
||||
dev-libs/gobject-introspection-common
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
$(use_with bzip2 bz2) \
|
||||
$(use_enable introspection) \
|
||||
$(use_with gtk gdk-pixbuf)
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="The GNOME Structured File Library"
|
||||
HOMEPAGE="https://developer.gnome.org/gsf/"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0/114" # libgsf-1.so version
|
||||
KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bzip2 gtk +introspection"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.26:2
|
||||
>=dev-libs/libxml2-2.4.16:2
|
||||
sys-libs/zlib
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
gtk? (
|
||||
x11-libs/gdk-pixbuf:2
|
||||
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
|
||||
)
|
||||
introspection? ( >=dev-libs/gobject-introspection-1:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.12
|
||||
>=dev-util/intltool-0.35.0
|
||||
dev-libs/gobject-introspection-common
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
$(use_with bzip2 bz2) \
|
||||
$(use_enable introspection) \
|
||||
$(use_with gtk gdk-pixbuf)
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
Fix build failure with giflib 4.2.
|
||||
Patch by Andrew Savchenko <bircoph@gmail.com>.
|
||||
https://bugs.gentoo.org/486804
|
||||
|
||||
--- libAfterImage-1.20/ungif.h.orig
|
||||
+++ libAfterImage-1.20/ungif.h
|
||||
@@ -7,6 +7,12 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
+#if (GIFLIB_MAJOR>4) || ((GIFLIB_MAJOR==4) && (GIFLIB_MINOR>=2))
|
||||
+static inline void PrintGifError(void) {
|
||||
+ fprintf(stderr, "%s\n", GifErrorString());
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
#ifdef __GNUC__
|
||||
#define ASIM_PrintGifError() do{ fprintf( stderr, "%s():%d:<%s> ",__FUNCTION__, __LINE__, path?path:"null" ); PrintGifError(); }while(0)
|
||||
#else
|
@ -1,382 +0,0 @@
|
||||
diff -Naurd libAfterImage-1.20.orig/export.c libAfterImage-1.20/export.c
|
||||
--- libAfterImage-1.20.orig/export.c 2016-05-01 11:44:19.000000000 +0300
|
||||
+++ libAfterImage-1.20/export.c 2016-05-02 10:57:59.688984491 +0300
|
||||
@@ -1048,6 +1048,9 @@
|
||||
Bool new_image = True ;
|
||||
START_TIME(started);
|
||||
int cmap_size = 1;
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ int errcode;
|
||||
+#endif
|
||||
#define GIF_NETSCAPE_EXT_BYTES 3
|
||||
unsigned char netscape_ext_bytes[GIF_NETSCAPE_EXT_BYTES] = { 0x1, 0x0, 0x0};
|
||||
#define GIF_GCE_BYTES 4
|
||||
@@ -1086,10 +1089,18 @@
|
||||
|
||||
while( cmap_size < 256 && cmap_size < (int)cmap.count+(gce_bytes[0]&0x01) )
|
||||
cmap_size = cmap_size<<1 ;
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ if( (gif_cmap = GifMakeMapObject(cmap_size, NULL )) == NULL )
|
||||
+#else
|
||||
if( (gif_cmap = MakeMapObject(cmap_size, NULL )) == NULL )
|
||||
+#endif
|
||||
{
|
||||
free( mapped_im );
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ ASIM_PrintGifError(E_GIF_ERR_NOT_ENOUGH_MEM);
|
||||
+#else
|
||||
ASIM_PrintGifError();
|
||||
+#endif
|
||||
return False;
|
||||
}
|
||||
memcpy( &(gif_cmap->Colors[0]), &(cmap.entries[0]), MIN(cmap.count,(unsigned int)cmap_size)*3 );
|
||||
@@ -1101,13 +1112,25 @@
|
||||
SavedImage *images = NULL ;
|
||||
int count = 0 ;
|
||||
/* TODO: do something about multiimage files !!! */
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ gif = open_gif_read(infile, &errcode);
|
||||
+#else
|
||||
gif = open_gif_read(infile);
|
||||
+#endif
|
||||
if( gif == NULL || get_gif_saved_images(gif, -1, &images, &count) == GIF_ERROR)
|
||||
{
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ ASIM_PrintGifError(errcode);
|
||||
+#else
|
||||
ASIM_PrintGifError();
|
||||
+#endif
|
||||
if( gif )
|
||||
{
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ DGifCloseFile(gif, &errcode);
|
||||
+#else
|
||||
DGifCloseFile(gif);
|
||||
+#endif
|
||||
gif = NULL ;
|
||||
}
|
||||
if (infile)
|
||||
@@ -1123,14 +1146,22 @@
|
||||
gif_src = *gif ;
|
||||
gif->SColorMap = NULL ;
|
||||
gif->Image.ColorMap = NULL ;
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ DGifCloseFile(gif, &errcode);
|
||||
+#else
|
||||
DGifCloseFile(gif);
|
||||
+#endif
|
||||
gif = NULL;
|
||||
fclose (infile);
|
||||
infile = NULL;
|
||||
outfile = open_writeable_image_file( path );
|
||||
|
||||
if (outfile)
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ gif = EGifOpenFileHandle(fileno(outfile), &errcode);
|
||||
+#else
|
||||
gif = EGifOpenFileHandle(fileno(outfile));
|
||||
+#endif
|
||||
|
||||
if (gif)
|
||||
{
|
||||
@@ -1141,26 +1172,46 @@
|
||||
gif_src.SColorMap )) == GIF_OK )
|
||||
status = write_gif_saved_images( gif, images, count );
|
||||
if( status != GIF_OK )
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ ASIM_PrintGifError(status);
|
||||
+#else
|
||||
ASIM_PrintGifError();
|
||||
+#endif
|
||||
}
|
||||
if (gif_src.SColorMap)
|
||||
{ /* we only want to save private colormap if it is any different from
|
||||
* screen colormap ( saves us 768 bytes per image ) */
|
||||
if( gif_cmap->ColorCount == gif_src.SColorMap->ColorCount )
|
||||
dont_save_cmap = ( memcmp( gif_cmap->Colors, gif_src.SColorMap->Colors, gif_cmap->ColorCount*sizeof(GifColorType)) == 0 );
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ GifFreeMapObject(gif_src.SColorMap);
|
||||
+#else
|
||||
FreeMapObject(gif_src.SColorMap);
|
||||
+#endif
|
||||
}
|
||||
if (gif)
|
||||
{
|
||||
EGifPutExtension(gif, GRAPHICS_EXT_FUNC_CODE, GIF_GCE_BYTES, &(gce_bytes[0]));
|
||||
if( get_flags( params->gif.flags, EXPORT_ANIMATION_REPEATS ) )
|
||||
{
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ EGifPutExtensionLeader(gif, APPLICATION_EXT_FUNC_CODE);
|
||||
+ EGifPutExtensionBlock(gif, 11, "NETSCAPE2.0");
|
||||
+ EGifPutExtensionBlock(gif, GIF_NETSCAPE_EXT_BYTES, &(netscape_ext_bytes[0]));
|
||||
+ EGifPutExtensionTrailer(gif);
|
||||
+#else
|
||||
EGifPutExtensionFirst(gif, APPLICATION_EXT_FUNC_CODE, 11, "NETSCAPE2.0");
|
||||
EGifPutExtensionLast(gif, 0, GIF_NETSCAPE_EXT_BYTES, &(netscape_ext_bytes[0]));
|
||||
+#endif
|
||||
}
|
||||
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ if( (errcode = EGifPutImageDesc(gif, 0, 0, im->width, im->height, false, (dont_save_cmap)?NULL:gif_cmap )) == GIF_ERROR )
|
||||
+ ASIM_PrintGifError(errcode);
|
||||
+#else
|
||||
if( EGifPutImageDesc(gif, 0, 0, im->width, im->height, FALSE, (dont_save_cmap)?NULL:gif_cmap ) == GIF_ERROR )
|
||||
ASIM_PrintGifError();
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
free_gif_saved_images( images, count );
|
||||
@@ -1172,24 +1223,46 @@
|
||||
outfile = open_writeable_image_file(path);
|
||||
|
||||
if (outfile)
|
||||
+ {
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ gif = EGifOpenFileHandle(fileno(outfile), &errcode);
|
||||
+ if (errcode != E_GIF_SUCCEEDED)
|
||||
+ ASIM_PrintGifError(errcode);
|
||||
+#else
|
||||
if ((gif = EGifOpenFileHandle(fileno(outfile))) == NULL)
|
||||
ASIM_PrintGifError();
|
||||
+#endif
|
||||
+ }
|
||||
}
|
||||
|
||||
if( new_image && gif )
|
||||
{
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ if( (errcode = EGifPutScreenDesc(gif, im->width, im->height, cmap_size, 0, gif_cmap )) == GIF_ERROR )
|
||||
+ ASIM_PrintGifError(errcode);
|
||||
+#else
|
||||
if( EGifPutScreenDesc(gif, im->width, im->height, cmap_size, 0, gif_cmap ) == GIF_ERROR )
|
||||
ASIM_PrintGifError();
|
||||
+#endif
|
||||
|
||||
EGifPutExtension(gif, 0xf9, GIF_GCE_BYTES, &(gce_bytes[0]));
|
||||
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ if( (errcode = EGifPutImageDesc(gif, 0, 0, im->width, im->height, false, NULL )) == GIF_ERROR )
|
||||
+ ASIM_PrintGifError(errcode);
|
||||
+#else
|
||||
if( EGifPutImageDesc(gif, 0, 0, im->width, im->height, FALSE, NULL ) == GIF_ERROR )
|
||||
ASIM_PrintGifError();
|
||||
+#endif
|
||||
}
|
||||
|
||||
if( gif_cmap )
|
||||
{
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ GifFreeMapObject(gif_cmap);
|
||||
+#else
|
||||
FreeMapObject(gif_cmap);
|
||||
+#endif
|
||||
gif_cmap = NULL ;
|
||||
}
|
||||
if( gif )
|
||||
@@ -1203,12 +1276,23 @@
|
||||
register int *src = mapped_im + x*y;
|
||||
while( --x >= 0 )
|
||||
row_pointer[x] = src[x] ;
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ if( (errcode = EGifPutLine(gif, row_pointer, im->width)) == GIF_ERROR)
|
||||
+ ASIM_PrintGifError(errcode);
|
||||
+#else
|
||||
if( EGifPutLine(gif, row_pointer, im->width) == GIF_ERROR)
|
||||
ASIM_PrintGifError();
|
||||
+#endif
|
||||
}
|
||||
free( row_pointer );
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ EGifCloseFile(gif, &errcode);
|
||||
+ if (errcode != E_GIF_SUCCEEDED)
|
||||
+ ASIM_PrintGifError(errcode);
|
||||
+#else
|
||||
if (EGifCloseFile(gif) == GIF_ERROR)
|
||||
ASIM_PrintGifError();
|
||||
+#endif
|
||||
gif = NULL;
|
||||
}
|
||||
free( mapped_im );
|
||||
diff -Naurd libAfterImage-1.20.orig/import.c libAfterImage-1.20/import.c
|
||||
--- libAfterImage-1.20.orig/import.c 2016-05-01 11:44:19.000000000 +0300
|
||||
+++ libAfterImage-1.20/import.c 2016-05-02 11:01:58.979496755 +0300
|
||||
@@ -2178,6 +2178,9 @@
|
||||
int transparent = -1 ;
|
||||
unsigned int y;
|
||||
unsigned int width = 0, height = 0;
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ int errcode;
|
||||
+#endif
|
||||
ColorMapObject *cmap = NULL ;
|
||||
|
||||
START_TIME(started);
|
||||
@@ -2186,7 +2189,11 @@
|
||||
|
||||
if ((fp = open_image_file(path)) == NULL)
|
||||
return NULL;
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ if( (gif = open_gif_read(fp, &errcode)) != NULL )
|
||||
+#else
|
||||
if( (gif = open_gif_read(fp)) != NULL )
|
||||
+#endif
|
||||
{
|
||||
SavedImage *sp = NULL ;
|
||||
int count = 0 ;
|
||||
@@ -2289,13 +2296,21 @@
|
||||
}
|
||||
free_gif_saved_images( sp, count );
|
||||
}else if( status != GIF_OK )
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ ASIM_PrintGifError(status);
|
||||
+#else
|
||||
ASIM_PrintGifError();
|
||||
+#endif
|
||||
else if( params->subimage == -1 )
|
||||
show_error( "Image file \"%s\" does not have any valid image information.", path );
|
||||
else
|
||||
show_error( "Image file \"%s\" does not have subimage %d.", path, params->subimage );
|
||||
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ DGifCloseFile(gif, &errcode);
|
||||
+#else
|
||||
DGifCloseFile(gif);
|
||||
+#endif
|
||||
fclose( fp );
|
||||
}
|
||||
SHOW_TIME("image loading",started);
|
||||
diff -Naurd libAfterImage-1.20.orig/ungif.c libAfterImage-1.20/ungif.c
|
||||
--- libAfterImage-1.20.orig/ungif.c 2011-01-15 08:52:22.000000000 +0300
|
||||
+++ libAfterImage-1.20/ungif.c 2016-05-02 16:03:57.590148737 +0300
|
||||
@@ -75,13 +75,21 @@
|
||||
if( sp )
|
||||
{
|
||||
if (sp->ImageDesc.ColorMap)
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ GifFreeMapObject(sp->ImageDesc.ColorMap);
|
||||
+#else
|
||||
FreeMapObject(sp->ImageDesc.ColorMap);
|
||||
+#endif
|
||||
|
||||
if (sp->RasterBits)
|
||||
free((char *)sp->RasterBits);
|
||||
|
||||
if (sp->ExtensionBlocks)
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ GifFreeExtensions(sp->ExtensionBlockCount, sp->ExtensionBlocks);
|
||||
+#else
|
||||
FreeExtension(sp);
|
||||
+#endif
|
||||
|
||||
if( !reusable )
|
||||
free( sp );
|
||||
@@ -119,11 +127,19 @@
|
||||
return ret;
|
||||
}
|
||||
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+GifFileType*
|
||||
+open_gif_read( FILE *in_stream, int *errcode )
|
||||
+{
|
||||
+ return DGifOpen(in_stream, fread_gif, errcode);
|
||||
+}
|
||||
+#else
|
||||
GifFileType*
|
||||
open_gif_read( FILE *in_stream )
|
||||
{
|
||||
return DGifOpen(in_stream, fread_gif);
|
||||
}
|
||||
+#endif
|
||||
|
||||
int
|
||||
get_gif_image_desc( GifFileType *gif, SavedImage *im )
|
||||
@@ -151,7 +167,11 @@
|
||||
memcpy( &(im->ImageDesc), &(gif->Image), sizeof(GifImageDesc));
|
||||
if( gif->Image.ColorMap )
|
||||
{
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ im->ImageDesc.ColorMap = GifMakeMapObject(gif->Image.ColorMap->ColorCount, NULL);
|
||||
+#else
|
||||
im->ImageDesc.ColorMap = MakeMapObject(gif->Image.ColorMap->ColorCount, NULL);
|
||||
+#endif
|
||||
fseek( gif->UserData, start_pos+9, SEEK_SET );
|
||||
fread( im->ImageDesc.ColorMap->Colors, 1, gif->Image.ColorMap->ColorCount*3, gif->UserData);
|
||||
fseek( gif->UserData, end_pos, SEEK_SET );
|
||||
@@ -166,6 +186,9 @@
|
||||
{
|
||||
GifRecordType RecordType;
|
||||
GifByteType *ExtData;
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ int ExtCode;
|
||||
+#endif
|
||||
SavedImage temp_save;
|
||||
int curr_image = 0, ret_count = *ret_images ;
|
||||
int status = GIF_OK;
|
||||
@@ -197,13 +220,23 @@
|
||||
break;
|
||||
|
||||
case EXTENSION_RECORD_TYPE:
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ status = DGifGetExtension(gif,&ExtCode,&ExtData);
|
||||
+#else
|
||||
status = DGifGetExtension(gif,&temp_save.Function,&ExtData);
|
||||
+#endif
|
||||
while (ExtData != NULL && status == GIF_OK )
|
||||
{
|
||||
/* Create an extension block with our data */
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+ if ((status = GifAddExtensionBlock(&temp_save.ExtensionBlockCount, &temp_save.ExtensionBlocks,
|
||||
+ ExtCode, sizeof(ExtData), ExtData)) == GIF_OK)
|
||||
+ status = DGifGetExtension(gif,&ExtCode,&ExtData);
|
||||
+#else
|
||||
if ((status = AddExtensionBlock(&temp_save, ExtData[0], (char*)&(ExtData[1]))) == GIF_OK)
|
||||
status = DGifGetExtensionNext(gif, &ExtData);
|
||||
temp_save.Function = 0;
|
||||
+#endif
|
||||
}
|
||||
break;
|
||||
|
||||
diff -Naurd libAfterImage-1.20.orig/ungif.h libAfterImage-1.20/ungif.h
|
||||
--- libAfterImage-1.20.orig/ungif.h 2011-01-15 08:52:22.000000000 +0300
|
||||
+++ libAfterImage-1.20/ungif.h 2016-05-02 10:57:59.715983533 +0300
|
||||
@@ -7,11 +7,29 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
+#if ((GIFLIB_MAJOR==4) && (GIFLIB_MINOR>=2))
|
||||
+static inline void PrintGifError(void) {
|
||||
+ fprintf(stderr, "%s\n", GifErrorString());
|
||||
+}
|
||||
+#elif (GIFLIB_MAJOR>=5)
|
||||
+static inline void PrintGifError(int code) {
|
||||
+ fprintf(stderr, "%s\n", GifErrorString(code));
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+#ifdef __GNUC__
|
||||
+#define ASIM_PrintGifError(code) do{ fprintf( stderr, "%s():%d:<%s> ",__FUNCTION__, __LINE__, path?path:"null" ); PrintGifError(code); }while(0)
|
||||
+#else
|
||||
+#define ASIM_PrintGifError(code) do{ PrintGifError(code); }while(0)
|
||||
+#endif
|
||||
+#else // (GIFLIB_MAJOR>=5)
|
||||
#ifdef __GNUC__
|
||||
#define ASIM_PrintGifError() do{ fprintf( stderr, "%s():%d:<%s> ",__FUNCTION__, __LINE__, path?path:"null" ); PrintGifError(); }while(0)
|
||||
#else
|
||||
#define ASIM_PrintGifError() do{ PrintGifError(); }while(0)
|
||||
#endif
|
||||
+#endif // (GIFLIB_MAJOR>=5)
|
||||
|
||||
#define GIF_GCE_DELAY_BYTE_LOW 1
|
||||
#define GIF_GCE_DELAY_BYTE_HIGH 2
|
||||
@@ -24,7 +42,11 @@
|
||||
|
||||
|
||||
int fread_gif( GifFileType *gif, GifByteType* buf, int len );
|
||||
+#if (GIFLIB_MAJOR>=5)
|
||||
+GifFileType* open_gif_read( FILE *in_stream, int *errcode );
|
||||
+#else
|
||||
GifFileType* open_gif_read( FILE *in_stream );
|
||||
+#endif
|
||||
|
||||
int get_gif_image_desc( GifFileType *gif, SavedImage *im );
|
||||
|
@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit autotools
|
||||
|
||||
MY_PN=libAfterImage
|
||||
|
||||
DESCRIPTION="Afterstep's standalone generic image manipulation library"
|
||||
HOMEPAGE="http://www.afterstep.org/afterimage/index.php"
|
||||
SRC_URI="ftp://ftp.afterstep.org/stable/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="+X cpu_flags_x86_mmx examples gif jpeg nls opengl png static-libs shm +shaping svg tiff truetype"
|
||||
|
||||
RDEPEND="
|
||||
X? ( x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender )
|
||||
gif? ( media-libs/giflib:0= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
opengl? ( virtual/opengl )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( gnome-base/librsvg:2 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
truetype? ( media-libs/freetype )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xextproto )
|
||||
virtual/pkgconfig
|
||||
!!x11-wm/afterstep"
|
||||
REQUIRED_USE="
|
||||
opengl? ( X )
|
||||
shaping? ( X )
|
||||
shm? ( X )"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# fix some ldconfig problem in makefile.in
|
||||
eapply -p0 "${FILESDIR}"/${PN}-makefile.in.patch
|
||||
# fix lib paths in afterimage-config
|
||||
eapply -p0 "${FILESDIR}"/${PN}-config.patch
|
||||
# fix gif unbundle
|
||||
eapply -p0 "${FILESDIR}"/${PN}-gif.patch
|
||||
# fix for libpng15 compability
|
||||
eapply -p0 "${FILESDIR}"/${PN}-libpng15.patch
|
||||
# add giflib-5 API support, bug 571654
|
||||
eapply "${FILESDIR}"/${PN}-giflib5.patch
|
||||
# do not build examples
|
||||
use examples || sed -i \
|
||||
-e '/^all:/s/apps//' \
|
||||
-e '/^install:/s/install.apps//' \
|
||||
Makefile.in || die "sed failed"
|
||||
# remove forced flags
|
||||
sed -i \
|
||||
-e 's/CFLAGS="-O3"//' \
|
||||
-e 's/ -rdynamic//' \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
mv configure.in configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable cpu_flags_x86_mmx mmx-optimization) \
|
||||
$(use_enable opengl glx) \
|
||||
$(use_enable nls i18n) \
|
||||
$(use_enable shaping) \
|
||||
$(use_enable shm shmimage ) \
|
||||
$(use_enable static-libs staticlibs) \
|
||||
$(use_with X x) \
|
||||
$(use_with gif) \
|
||||
$(use_with jpeg) \
|
||||
$(use_with png) \
|
||||
$(use_with svg) \
|
||||
$(use_with tiff) \
|
||||
$(use_with truetype ttf) \
|
||||
--enable-sharedlibs \
|
||||
--with-xpm \
|
||||
--without-builtin-gif \
|
||||
--without-builtin-jpeg \
|
||||
--without-builtin-png \
|
||||
--without-builtin-zlib \
|
||||
--without-afterbase
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
AFTER_DOC_DIR="${ED}/usr/share/doc/${PF}" \
|
||||
install
|
||||
dodoc ChangeLog README
|
||||
if use examples; then
|
||||
cd apps || die
|
||||
mv ascompose.man ascompose.1 || die
|
||||
doman ascompose.1
|
||||
emake clean
|
||||
rm Makefile* ascompose.1 || die
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins *
|
||||
fi
|
||||
}
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils autotools
|
||||
|
||||
MY_PN=libAfterImage
|
||||
|
||||
DESCRIPTION="Afterstep's standalone generic image manipulation library"
|
||||
HOMEPAGE="http://www.afterstep.org/afterimage/index.php"
|
||||
SRC_URI="ftp://ftp.afterstep.org/stable/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="examples gif jpeg cpu_flags_x86_mmx nls png static-libs svg tiff truetype"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
jpeg? ( virtual/jpeg:= )
|
||||
gif? ( <media-libs/giflib-5 )
|
||||
svg? ( gnome-base/librsvg )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
truetype? ( media-libs/freetype )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
x11-proto/xextproto
|
||||
!!x11-wm/afterstep"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
# fix some ldconfig problem in makefile.in
|
||||
epatch "${FILESDIR}"/${PN}-makefile.in.patch
|
||||
# fix lib paths in afterimage-config
|
||||
epatch "${FILESDIR}"/${PN}-config.patch
|
||||
# fix gif unbundle
|
||||
epatch "${FILESDIR}"/${PN}-gif.patch
|
||||
# fix for libpng15 compability
|
||||
epatch "${FILESDIR}"/${PN}-libpng15.patch
|
||||
# fix for gif library bug #486804
|
||||
epatch "${FILESDIR}"/${PN}-giflib42.patch
|
||||
# do not build examples
|
||||
sed -i \
|
||||
-e '/^all:/s/apps//' \
|
||||
-e '/^install:/s/install.apps//' \
|
||||
Makefile.in || die
|
||||
# remove forced flags
|
||||
sed -i \
|
||||
-e 's/CFLAGS="-O3"//' \
|
||||
-e 's/ -rdynamic//' \
|
||||
configure.in || die "sed failed"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs staticlibs) \
|
||||
$(use_enable nls i18n) \
|
||||
$(use_enable cpu_flags_x86_mmx mmx-optimization) \
|
||||
$(use_with png) \
|
||||
$(use_with jpeg) \
|
||||
$(use_with gif) \
|
||||
$(use_with svg) \
|
||||
$(use_with tiff) \
|
||||
$(use_with truetype ttf) \
|
||||
--enable-glx \
|
||||
--enable-sharedlibs \
|
||||
--with-x \
|
||||
--with-xpm \
|
||||
--without-builtin-gif \
|
||||
--without-builtin-jpeg \
|
||||
--without-builtin-png \
|
||||
--without-builtin-zlib \
|
||||
--without-afterbase
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
AFTER_DOC_DIR="${ED}/usr/share/doc/${PF}" \
|
||||
install
|
||||
dodoc ChangeLog README
|
||||
if use examples; then
|
||||
cd apps || die
|
||||
emake clean
|
||||
rm Makefile* || die
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins *
|
||||
fi
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool
|
||||
|
||||
DESCRIPTION="C64 SID player library"
|
||||
HOMEPAGE="http://critical.ch/distfiles/"
|
||||
SRC_URI="http://critical.ch/distfiles/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="1"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
DOCS="AUTHORS DEVELOPER"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gcc43.patch
|
||||
elibtoolize # required for fbsd .so versioning
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -f "${ED}"/usr/lib*/${PN}.la
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool
|
||||
|
||||
MY_P=sidplay-libs-${PV}
|
||||
|
||||
DESCRIPTION="C64 SID player library"
|
||||
HOMEPAGE="http://sidplay2.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/sidplay2/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}2-gcc41.patch \
|
||||
"${FILESDIR}"/${P}-fbsd.patch \
|
||||
"${FILESDIR}"/${P}-gcc43.patch
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static) \
|
||||
--with-pic
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
docinto libsidplay
|
||||
dodoc libsidplay/{AUTHORS,ChangeLog,README,TODO}
|
||||
|
||||
docinto libsidutils
|
||||
dodoc libsidutils/{AUTHORS,ChangeLog,README,TODO}
|
||||
|
||||
docinto resid
|
||||
dodoc resid/{AUTHORS,ChangeLog,NEWS,README,THANKS,TODO}
|
||||
|
||||
doenvd "${FILESDIR}"/65resid
|
||||
|
||||
# Libs: -line of libsidutils.pc and libsidplay2.pc reference .la files!
|
||||
# find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool
|
||||
|
||||
MY_P=sidplay-libs-${PV}
|
||||
|
||||
DESCRIPTION="C64 SID player library"
|
||||
HOMEPAGE="http://sidplay2.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/sidplay2/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}2-gcc41.patch \
|
||||
"${FILESDIR}"/${P}-fbsd.patch \
|
||||
"${FILESDIR}"/${P}-gcc43.patch \
|
||||
"${FILESDIR}"/${P}-no_libtool_reference.patch
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static) \
|
||||
--with-pic
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
docinto libsidplay
|
||||
dodoc libsidplay/{AUTHORS,ChangeLog,README,TODO}
|
||||
|
||||
docinto libsidutils
|
||||
dodoc libsidutils/{AUTHORS,ChangeLog,README,TODO}
|
||||
|
||||
docinto resid
|
||||
dodoc resid/{AUTHORS,ChangeLog,NEWS,README,THANKS,TODO}
|
||||
|
||||
doenvd "${FILESDIR}"/65resid
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,8 +1,2 @@
|
||||
DIST mpd-0.19.10.tar.xz 701668 SHA256 c386eb3d22f98dc993b5ae3c272f969aa7763713483c6800040ebf1791b15851 SHA512 037e1ccd69456bd7d388cbcba26de83144816684fb266995b173df960051e84203d3fc7255d7766eee5dbe0629dbb7745b9821664486158d33da4f29189edef8 WHIRLPOOL 02c2ec2c898fbeb9bf39ae9a2b57d85881825489a033f56b6140602f7cd6176f39d4aa09f0dfd2391214bd70d3ffab0e7a7eefcba8085e5ea7d15168028efa53
|
||||
DIST mpd-0.19.11.tar.xz 703064 SHA256 7a5c66aa5af97a5b7af3dc49e3d2594071dafd62a14e2e9f7c9a5a86342836c6 SHA512 3ad505a75651facd141efbb43ebb86a9f1b66a0bc044d39c9131068fc20d05037ad449935fd6fc20917dfd690cdc256c1d1deb7427039d2345b13bea2b2eb66e WHIRLPOOL da4a05fce7276e8f98acfe2a0eceb71e747049d9c64b7eed226b5e8e3b2c5fd197098b20509e5cb2ad2f280a4f3872439a893ad58677be5b79b251d57b04c90d
|
||||
DIST mpd-0.19.12.tar.xz 703340 SHA256 7b6fe6c7ce72f5f80a276d680072b524ecb395e546e252b8f3a0756377e1e875 SHA512 a608c99096d0ec9158cba5615be344a47d76c5be830ba34445e330f141aaa828784772d772df20d71d4c65e78ea5dfe9fb59ea4f4f823fa112a00517963a6e7e WHIRLPOOL ab1c0ba6a92f5582c774b36f10d2433ccd4b796cb38d35ff0accdf0d29b95268f13f462446b72df52f2b8fb4a7b5e297fb37d1303b38412c4e73f0769dbbf7bd
|
||||
DIST mpd-0.19.14.tar.xz 703388 SHA256 2fd23805132e5002a4d24930001a7c7d3aaf55e3bd0cd71af5385895160e99e7 SHA512 378c31033fd846c4a025c3e45ea61fd79378421371e1b4aa2ac3cf9f10d5c47d930bc6b052055f8f2c70fa98c6d471be73e3e6d6ede568057f7279753b017f40 WHIRLPOOL 2c095e75031daa86c9d49999a52ca41eb4233e2c4f1c3dc2e97cba734b083b28d91450d812a3b61e71ca3b350588332efb122451d1dfbb980d2c93458fb59e5e
|
||||
DIST mpd-0.19.15.tar.xz 704000 SHA256 0cb9a223894b038ce966ce6d651d9b3ea3bdc7d7b9bec8d1e9e7e091cbc29b8b SHA512 19cf80dcaadbc164e3f1b0989266b16edc232a9f3549718ccaabf8849ef5821ac8b5416ccc05a58f23bb788a06007b12136fb8b17013311080b72e67a4adc8a5 WHIRLPOOL 6205261e6b9f3eab8aacba8cfd75d4de4e4a097419ad2d69954a8eb3544701068857c7bb84c09fc1cfa9022e13542832362ecd7711666740fafc79b0b307b2e5
|
||||
DIST mpd-0.19.18.tar.xz 707252 SHA256 764c991c54980cb97e876e3f65d63410c0c561b7be996b832e058053e005ed47 SHA512 9674a8e9d2086373c59d3ce66bddb70e914f863dc384a283071ac8003ddae304d7020fc654db72c6f4aa30cb18e67dadd3d0a62069538a7ec666c3076e7bc1f8 WHIRLPOOL cbf6f66c61d7c5b690e4175666eb65272c2eeb9e558abe14f6dea008609dfacd5d027106fb412121cbc4ffe7304209f3793505148727e18c4e5c03bd76e1db79
|
||||
DIST mpd-0.19.19.tar.xz 707356 SHA256 bc856cda4136403446d53d11576f86990b61d1fe4668f6008e9eae47450d4e1d SHA512 949bfab2aa5dffb4089ce2023accc934648091d36768f8e4c75f62b4038e21db1e2ef3bb07a0f1cf6a91d0532cac8e7146be948d84dc4d7cdc5b252b7d815b64 WHIRLPOOL 1b2c68d998a26de41bca25cbeab0c6478406c831ac4322162d2c258622224137a1a2dcd88b690ee1869c7f2652201fd534ee773a6e51f6e61bdb5926783f4d75
|
||||
DIST mpd-0.19.21.tar.xz 708512 SHA256 8305b8bc026f4b6bde28b8dd09bfdddbe5590acf36358eed4d083a396e301730 SHA512 a65690012a74def273ffb4e87465d8f3f7f2ce6f6e9117e35aa0891cd638f904df0ef4c4923c39e9a0c3e1d93d09aab713979adf5c191b54fa7e8b5b81abd232 WHIRLPOOL 397bc2158591137ab8a30e3377458dcef0ea600e218723831977ea7ec9f5b14ae1221b2b7456daa9e249b3aa95c61f7a1f0742656ace42c837e28892dd3d7604
|
||||
|
@ -1,251 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic linux-info multilib readme.gentoo systemd user
|
||||
|
||||
DESCRIPTION="The Music Player Daemon (mpd)"
|
||||
HOMEPAGE="https://www.musicpd.org"
|
||||
SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ppc ppc64 ~sh x86 ~x86-fbsd ~x64-macos"
|
||||
IUSE="adplug +alsa ao audiofile bzip2 cdio +curl debug +eventfd expat faad
|
||||
+fifo +ffmpeg flac fluidsynth +glib gme +icu +id3tag +inotify +ipv6 jack
|
||||
lame mms libav libmpdclient libsamplerate libsoxr +mad mikmod modplug
|
||||
mpg123 musepack +network nfs ogg openal opus oss pipe pulseaudio recorder
|
||||
samba selinux sid +signalfd sndfile soundcloud sqlite systemd tcpd twolame
|
||||
unicode upnp vorbis wavpack wildmidi zeroconf zip zlib"
|
||||
|
||||
OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder"
|
||||
DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod
|
||||
modplug mpg123 musepack ogg flac sid vorbis wavpack wildmidi"
|
||||
ENCODER_PLUGINS="audiofile flac lame twolame vorbis"
|
||||
|
||||
REQUIRED_USE="|| ( ${OUTPUT_PLUGINS} )
|
||||
|| ( ${DECODER_PLUGINS} )
|
||||
ao? ( glib )
|
||||
gme? ( glib )
|
||||
jack? ( glib )
|
||||
network? ( || ( ${ENCODER_PLUGINS} )
|
||||
glib )
|
||||
recorder? ( || ( ${ENCODER_PLUGINS} ) )
|
||||
sid? ( glib )
|
||||
soundcloud? ( glib )
|
||||
sqlite? ( glib )
|
||||
opus? ( ogg )
|
||||
upnp? ( expat )
|
||||
vorbis? ( glib )
|
||||
wavpack? ( glib )"
|
||||
|
||||
CDEPEND="!<sys-cluster/mpich2-1.4_rc2
|
||||
adplug? ( media-libs/adplug )
|
||||
alsa? ( media-sound/alsa-utils
|
||||
media-libs/alsa-lib )
|
||||
ao? ( media-libs/libao[alsa?,pulseaudio?] )
|
||||
audiofile? ( media-libs/audiofile )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdio? ( dev-libs/libcdio-paranoia )
|
||||
curl? ( net-misc/curl )
|
||||
expat? ( dev-libs/expat )
|
||||
faad? ( media-libs/faad2 )
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:0= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
flac? ( media-libs/flac[ogg?] )
|
||||
fluidsynth? ( media-sound/fluidsynth )
|
||||
glib? ( dev-libs/glib:2 )
|
||||
gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 )
|
||||
icu? ( dev-libs/icu:= )
|
||||
id3tag? ( media-libs/libid3tag )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
lame? ( network? ( media-sound/lame ) )
|
||||
libmpdclient? ( media-libs/libmpdclient )
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
mad? ( media-libs/libmad )
|
||||
mikmod? ( media-libs/libmikmod:0 )
|
||||
mms? ( media-libs/libmms )
|
||||
modplug? ( media-libs/libmodplug )
|
||||
mpg123? ( >=media-sound/mpg123-1.12.2 )
|
||||
musepack? ( media-sound/musepack-tools )
|
||||
network? ( >=media-libs/libshout-2
|
||||
!lame? ( !vorbis? ( media-libs/libvorbis ) ) )
|
||||
nfs? ( net-fs/libnfs )
|
||||
ogg? ( media-libs/libogg )
|
||||
openal? ( media-libs/openal )
|
||||
opus? ( media-libs/opus )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
samba? ( || ( <net-fs/samba-4.0.25[smbclient] >=net-fs/samba-4.0.25 ) )
|
||||
sid? ( media-libs/libsidplay:2 )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
soundcloud? ( >=dev-libs/yajl-2 )
|
||||
libsoxr? ( media-libs/soxr )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
twolame? ( media-sound/twolame )
|
||||
upnp? ( net-libs/libupnp )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
wavpack? ( media-sound/wavpack )
|
||||
wildmidi? ( media-sound/wildmidi )
|
||||
zeroconf? ( net-dns/avahi[dbus] )
|
||||
zip? ( dev-libs/zziplib )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-mpd )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use network || ewarn "Icecast and Shoutcast streaming needs networking."
|
||||
use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream."
|
||||
|
||||
enewuser mpd "" "" "/var/lib/mpd" audio
|
||||
|
||||
if use eventfd; then
|
||||
CONFIG_CHECK+=" ~EVENTFD"
|
||||
ERROR_EVENTFD="${P} requires eventfd in-kernel support."
|
||||
fi
|
||||
if use signalfd; then
|
||||
CONFIG_CHECK+=" ~SIGNALFD"
|
||||
ERROR_SIGNALFD="${P} requires signalfd in-kernel support."
|
||||
fi
|
||||
if use inotify; then
|
||||
CONFIG_CHECK+=" ~INOTIFY_USER"
|
||||
ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
|
||||
fi
|
||||
if use eventfd || use signalfd || use inotify; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
DOC_CONTENTS="If you will be starting mpd via /etc/init.d/mpd, please make
|
||||
sure that MPD's pid_file is _set_."
|
||||
|
||||
cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed"
|
||||
epatch "${FILESDIR}"/${PN}-0.18.conf.patch
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mpdconf="--enable-database --disable-roar --disable-documentation
|
||||
--enable-dsd --enable-largefile --disable-osx --disable-shine-encoder
|
||||
--disable-solaris-output --enable-tcp --enable-un --disable-werror
|
||||
--docdir=${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
if use network; then
|
||||
mpdconf+=" --enable-shout $(use_enable vorbis vorbis-encoder)
|
||||
--enable-httpd-output $(use_enable lame lame-encoder)
|
||||
$(use_enable twolame twolame-encoder)
|
||||
$(use_enable audiofile wave-encoder)"
|
||||
else
|
||||
mpdconf+=" --disable-shout --disable-vorbis-encoder
|
||||
--disable-httpd-output --disable-lame-encoder
|
||||
--disable-twolame-encoder --disable-wave-encoder"
|
||||
fi
|
||||
|
||||
if use samba || use upnp; then
|
||||
mpdconf+=" --enable-neighbor-plugins"
|
||||
fi
|
||||
|
||||
append-lfs-flags
|
||||
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders"
|
||||
|
||||
econf \
|
||||
$(use_enable eventfd) \
|
||||
$(use_enable signalfd) \
|
||||
$(use_enable libmpdclient) \
|
||||
$(use_enable expat) \
|
||||
$(use_enable upnp) \
|
||||
$(use_enable adplug) \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable ao) \
|
||||
$(use_enable audiofile) \
|
||||
$(use_enable zlib) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable cdio cdio-paranoia) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable samba smbclient) \
|
||||
$(use_enable nfs) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable ffmpeg) \
|
||||
$(use_enable fifo) \
|
||||
$(use_enable flac) \
|
||||
$(use_enable fluidsynth) \
|
||||
$(use_enable gme) \
|
||||
$(use_enable id3tag id3) \
|
||||
$(use_enable inotify) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable cdio iso9660) \
|
||||
$(use_enable jack) \
|
||||
$(use_enable soundcloud) \
|
||||
$(use_enable tcpd libwrap) \
|
||||
$(use_enable libsamplerate lsr) \
|
||||
$(use_enable libsoxr soxr) \
|
||||
$(use_enable mad) \
|
||||
$(use_enable mikmod) \
|
||||
$(use_enable mms) \
|
||||
$(use_enable modplug) \
|
||||
$(use_enable musepack mpc) \
|
||||
$(use_enable mpg123) \
|
||||
$(use_enable openal) \
|
||||
$(use_enable opus) \
|
||||
$(use_enable oss) \
|
||||
$(use_enable pipe pipe-output) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable recorder recorder-output) \
|
||||
$(use_enable sid sidplay) \
|
||||
$(use_enable sndfile sndfile) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_enable systemd systemd-daemon) \
|
||||
$(use_enable vorbis) \
|
||||
$(use_enable wavpack) \
|
||||
$(use_enable wildmidi) \
|
||||
$(use_enable zip zzip) \
|
||||
$(use_enable icu) \
|
||||
$(use_enable glib) \
|
||||
$(use_enable faad aac) \
|
||||
$(use_with zeroconf zeroconf avahi) \
|
||||
"$(systemd_with_unitdir)" \
|
||||
${mpdconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
insinto /etc
|
||||
newins doc/mpdconf.dist mpd.conf
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}2.init ${PN}
|
||||
|
||||
if use unicode; then
|
||||
sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \
|
||||
"${ED}"/etc/mpd.conf || die "sed failed"
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||
|
||||
use prefix || diropts -m0755 -o mpd -g audio
|
||||
dodir /var/lib/mpd
|
||||
keepdir /var/lib/mpd
|
||||
dodir /var/lib/mpd/music
|
||||
keepdir /var/lib/mpd/music
|
||||
dodir /var/lib/mpd/playlists
|
||||
keepdir /var/lib/mpd/playlists
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
|
||||
# also change the homedir if the user has existed before
|
||||
usermod -d "/var/lib/mpd" mpd
|
||||
}
|
@ -1,253 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic linux-info multilib readme.gentoo systemd user
|
||||
|
||||
DESCRIPTION="The Music Player Daemon (mpd)"
|
||||
HOMEPAGE="https://www.musicpd.org"
|
||||
SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~x86 ~x86-fbsd ~x64-macos"
|
||||
IUSE="adplug +alsa ao audiofile bzip2 cdio +curl debug +eventfd expat faad
|
||||
+fifo +ffmpeg flac fluidsynth +glib gme +icu +id3tag +inotify +ipv6 jack
|
||||
lame mms libav libmpdclient libsamplerate libsoxr +mad mikmod modplug
|
||||
mpg123 musepack +network nfs ogg openal opus oss pipe pulseaudio recorder
|
||||
samba selinux sid +signalfd sndfile soundcloud sqlite systemd tcpd twolame
|
||||
unicode upnp vorbis wavpack wildmidi zeroconf zip zlib"
|
||||
|
||||
OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder"
|
||||
DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod
|
||||
modplug mpg123 musepack ogg flac sid vorbis wavpack wildmidi"
|
||||
ENCODER_PLUGINS="audiofile flac lame twolame vorbis"
|
||||
|
||||
REQUIRED_USE="|| ( ${OUTPUT_PLUGINS} )
|
||||
|| ( ${DECODER_PLUGINS} )
|
||||
ao? ( glib )
|
||||
gme? ( glib )
|
||||
jack? ( glib )
|
||||
network? ( || ( ${ENCODER_PLUGINS} )
|
||||
glib )
|
||||
recorder? ( || ( ${ENCODER_PLUGINS} ) )
|
||||
sid? ( glib )
|
||||
soundcloud? ( glib )
|
||||
sqlite? ( glib )
|
||||
opus? ( ogg )
|
||||
upnp? ( expat )
|
||||
vorbis? ( glib )
|
||||
wavpack? ( glib )"
|
||||
|
||||
CDEPEND="!<sys-cluster/mpich2-1.4_rc2
|
||||
adplug? ( media-libs/adplug )
|
||||
alsa? ( media-sound/alsa-utils
|
||||
media-libs/alsa-lib )
|
||||
ao? ( media-libs/libao[alsa?,pulseaudio?] )
|
||||
audiofile? ( media-libs/audiofile )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdio? ( dev-libs/libcdio-paranoia )
|
||||
curl? ( net-misc/curl )
|
||||
expat? ( dev-libs/expat )
|
||||
faad? ( media-libs/faad2 )
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:0= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
flac? ( media-libs/flac[ogg?] )
|
||||
fluidsynth? ( media-sound/fluidsynth )
|
||||
glib? ( dev-libs/glib:2 )
|
||||
gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 )
|
||||
icu? ( dev-libs/icu:= )
|
||||
id3tag? ( media-libs/libid3tag )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
lame? ( network? ( media-sound/lame ) )
|
||||
libmpdclient? ( media-libs/libmpdclient )
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
mad? ( media-libs/libmad )
|
||||
mikmod? ( media-libs/libmikmod:0 )
|
||||
mms? ( media-libs/libmms )
|
||||
modplug? ( media-libs/libmodplug )
|
||||
mpg123? ( >=media-sound/mpg123-1.12.2 )
|
||||
musepack? ( media-sound/musepack-tools )
|
||||
network? ( >=media-libs/libshout-2
|
||||
!lame? ( !vorbis? ( media-libs/libvorbis ) ) )
|
||||
nfs? ( net-fs/libnfs )
|
||||
ogg? ( media-libs/libogg )
|
||||
openal? ( media-libs/openal )
|
||||
opus? ( media-libs/opus )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
samba? ( || ( <net-fs/samba-4.0.25[smbclient] >=net-fs/samba-4.0.25 ) )
|
||||
sid? ( media-libs/libsidplay:2 )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
soundcloud? ( >=dev-libs/yajl-2 )
|
||||
libsoxr? ( media-libs/soxr )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
twolame? ( media-sound/twolame )
|
||||
upnp? ( net-libs/libupnp )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
wavpack? ( media-sound/wavpack )
|
||||
wildmidi? ( media-sound/wildmidi )
|
||||
zeroconf? ( net-dns/avahi[dbus] )
|
||||
zip? ( dev-libs/zziplib )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-mpd )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use network || ewarn "Icecast and Shoutcast streaming needs networking."
|
||||
use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream."
|
||||
|
||||
enewuser mpd "" "" "/var/lib/mpd" audio
|
||||
|
||||
if use eventfd; then
|
||||
CONFIG_CHECK+=" ~EVENTFD"
|
||||
ERROR_EVENTFD="${P} requires eventfd in-kernel support."
|
||||
fi
|
||||
if use signalfd; then
|
||||
CONFIG_CHECK+=" ~SIGNALFD"
|
||||
ERROR_SIGNALFD="${P} requires signalfd in-kernel support."
|
||||
fi
|
||||
if use inotify; then
|
||||
CONFIG_CHECK+=" ~INOTIFY_USER"
|
||||
ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
|
||||
fi
|
||||
if use eventfd || use signalfd || use inotify; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
DOC_CONTENTS="If you will be starting mpd via /etc/init.d/mpd, please make
|
||||
sure that MPD's pid_file is _set_."
|
||||
|
||||
cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed"
|
||||
epatch "${FILESDIR}"/${PN}-0.18.conf.patch
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mpdconf="--enable-database --disable-roar --disable-documentation
|
||||
--enable-dsd --enable-largefile --disable-osx --disable-shine-encoder
|
||||
--disable-solaris-output --enable-tcp --enable-un --disable-werror
|
||||
--docdir=${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
if use network; then
|
||||
mpdconf+=" --enable-shout $(use_enable vorbis vorbis-encoder)
|
||||
--enable-httpd-output $(use_enable lame lame-encoder)
|
||||
$(use_enable twolame twolame-encoder)
|
||||
$(use_enable audiofile wave-encoder)"
|
||||
else
|
||||
mpdconf+=" --disable-shout --disable-vorbis-encoder
|
||||
--disable-httpd-output --disable-lame-encoder
|
||||
--disable-twolame-encoder --disable-wave-encoder"
|
||||
fi
|
||||
|
||||
if use samba || use upnp; then
|
||||
mpdconf+=" --enable-neighbor-plugins"
|
||||
fi
|
||||
|
||||
append-lfs-flags
|
||||
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders"
|
||||
|
||||
econf \
|
||||
$(use_enable eventfd) \
|
||||
$(use_enable signalfd) \
|
||||
$(use_enable libmpdclient) \
|
||||
$(use_enable expat) \
|
||||
$(use_enable upnp) \
|
||||
$(use_enable adplug) \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable ao) \
|
||||
$(use_enable audiofile) \
|
||||
$(use_enable zlib) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable cdio cdio-paranoia) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable samba smbclient) \
|
||||
$(use_enable nfs) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable ffmpeg) \
|
||||
$(use_enable fifo) \
|
||||
$(use_enable flac) \
|
||||
$(use_enable fluidsynth) \
|
||||
$(use_enable gme) \
|
||||
$(use_enable id3tag id3) \
|
||||
$(use_enable inotify) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable cdio iso9660) \
|
||||
$(use_enable jack) \
|
||||
$(use_enable soundcloud) \
|
||||
$(use_enable tcpd libwrap) \
|
||||
$(use_enable libsamplerate lsr) \
|
||||
$(use_enable libsoxr soxr) \
|
||||
$(use_enable mad) \
|
||||
$(use_enable mikmod) \
|
||||
$(use_enable mms) \
|
||||
$(use_enable modplug) \
|
||||
$(use_enable musepack mpc) \
|
||||
$(use_enable mpg123) \
|
||||
$(use_enable openal) \
|
||||
$(use_enable opus) \
|
||||
$(use_enable oss) \
|
||||
$(use_enable pipe pipe-output) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable recorder recorder-output) \
|
||||
$(use_enable sid sidplay) \
|
||||
$(use_enable sndfile sndfile) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_enable systemd systemd-daemon) \
|
||||
$(use_enable vorbis) \
|
||||
$(use_enable wavpack) \
|
||||
$(use_enable wildmidi) \
|
||||
$(use_enable zip zzip) \
|
||||
$(use_enable icu) \
|
||||
$(use_enable glib) \
|
||||
$(use_enable faad aac) \
|
||||
$(use_with zeroconf zeroconf avahi) \
|
||||
"$(systemd_with_unitdir)" \
|
||||
${mpdconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
insinto /etc
|
||||
newins doc/mpdconf.dist mpd.conf
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}2.init ${PN}
|
||||
|
||||
systemd_newuserunit systemd/${PN}.service ${PN}.service
|
||||
|
||||
if use unicode; then
|
||||
sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \
|
||||
"${ED}"/etc/mpd.conf || die "sed failed"
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||
|
||||
use prefix || diropts -m0755 -o mpd -g audio
|
||||
dodir /var/lib/mpd
|
||||
keepdir /var/lib/mpd
|
||||
dodir /var/lib/mpd/music
|
||||
keepdir /var/lib/mpd/music
|
||||
dodir /var/lib/mpd/playlists
|
||||
keepdir /var/lib/mpd/playlists
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
|
||||
# also change the homedir if the user has existed before
|
||||
usermod -d "/var/lib/mpd" mpd
|
||||
}
|
@ -1,255 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic linux-info multilib readme.gentoo systemd user
|
||||
|
||||
DESCRIPTION="The Music Player Daemon (mpd)"
|
||||
HOMEPAGE="https://www.musicpd.org"
|
||||
SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~x86 ~x86-fbsd ~x64-macos"
|
||||
IUSE="adplug +alsa ao audiofile bzip2 cdio +curl debug +eventfd expat faad
|
||||
+fifo +ffmpeg flac fluidsynth +glib gme +icu +id3tag +inotify +ipv6 jack
|
||||
lame mms libav libmpdclient libsamplerate libsoxr +mad mikmod modplug
|
||||
mpg123 musepack +network nfs ogg openal opus oss pipe pulseaudio recorder
|
||||
samba selinux sid +signalfd sndfile soundcloud sqlite systemd tcpd twolame
|
||||
unicode upnp vorbis wavpack wildmidi zeroconf zip zlib"
|
||||
|
||||
OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder"
|
||||
DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod
|
||||
modplug mpg123 musepack ogg flac sid vorbis wavpack wildmidi"
|
||||
ENCODER_PLUGINS="audiofile flac lame twolame vorbis"
|
||||
|
||||
REQUIRED_USE="|| ( ${OUTPUT_PLUGINS} )
|
||||
|| ( ${DECODER_PLUGINS} )
|
||||
ao? ( glib )
|
||||
gme? ( glib )
|
||||
jack? ( glib )
|
||||
network? ( || ( ${ENCODER_PLUGINS} )
|
||||
glib )
|
||||
recorder? ( || ( ${ENCODER_PLUGINS} ) )
|
||||
sid? ( glib )
|
||||
soundcloud? ( glib )
|
||||
sqlite? ( glib )
|
||||
opus? ( ogg )
|
||||
upnp? ( expat )
|
||||
vorbis? ( glib )
|
||||
wavpack? ( glib )"
|
||||
|
||||
CDEPEND="!<sys-cluster/mpich2-1.4_rc2
|
||||
adplug? ( media-libs/adplug )
|
||||
alsa? ( media-sound/alsa-utils
|
||||
media-libs/alsa-lib )
|
||||
ao? ( media-libs/libao[alsa?,pulseaudio?] )
|
||||
audiofile? ( media-libs/audiofile )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdio? ( dev-libs/libcdio-paranoia )
|
||||
curl? ( net-misc/curl )
|
||||
expat? ( dev-libs/expat )
|
||||
faad? ( media-libs/faad2 )
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:0= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
flac? ( media-libs/flac[ogg?] )
|
||||
fluidsynth? ( media-sound/fluidsynth )
|
||||
glib? ( dev-libs/glib:2 )
|
||||
gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 )
|
||||
icu? ( dev-libs/icu:= )
|
||||
id3tag? ( media-libs/libid3tag )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
lame? ( network? ( media-sound/lame ) )
|
||||
libmpdclient? ( media-libs/libmpdclient )
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
mad? ( media-libs/libmad )
|
||||
mikmod? ( media-libs/libmikmod:0 )
|
||||
mms? ( media-libs/libmms )
|
||||
modplug? ( media-libs/libmodplug )
|
||||
mpg123? ( >=media-sound/mpg123-1.12.2 )
|
||||
musepack? ( media-sound/musepack-tools )
|
||||
network? ( >=media-libs/libshout-2
|
||||
!lame? ( !vorbis? ( media-libs/libvorbis ) ) )
|
||||
nfs? ( net-fs/libnfs )
|
||||
ogg? ( media-libs/libogg )
|
||||
openal? ( media-libs/openal )
|
||||
opus? ( media-libs/opus )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
samba? ( || ( <net-fs/samba-4.0.25[smbclient] >=net-fs/samba-4.0.25 ) )
|
||||
sid? ( media-libs/libsidplay:2 )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
soundcloud? ( >=dev-libs/yajl-2 )
|
||||
libsoxr? ( media-libs/soxr )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
twolame? ( media-sound/twolame )
|
||||
upnp? ( net-libs/libupnp )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
wavpack? ( media-sound/wavpack )
|
||||
wildmidi? ( media-sound/wildmidi )
|
||||
zeroconf? ( net-dns/avahi[dbus] )
|
||||
zip? ( dev-libs/zziplib )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-mpd )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use network || ewarn "Icecast and Shoutcast streaming needs networking."
|
||||
use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream."
|
||||
|
||||
enewuser mpd "" "" "/var/lib/mpd" audio
|
||||
|
||||
if use eventfd; then
|
||||
CONFIG_CHECK+=" ~EVENTFD"
|
||||
ERROR_EVENTFD="${P} requires eventfd in-kernel support."
|
||||
fi
|
||||
if use signalfd; then
|
||||
CONFIG_CHECK+=" ~SIGNALFD"
|
||||
ERROR_SIGNALFD="${P} requires signalfd in-kernel support."
|
||||
fi
|
||||
if use inotify; then
|
||||
CONFIG_CHECK+=" ~INOTIFY_USER"
|
||||
ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
|
||||
fi
|
||||
if use eventfd || use signalfd || use inotify; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
DOC_CONTENTS="If you will be starting mpd via /etc/init.d/mpd, please make
|
||||
sure that MPD's pid_file is _set_."
|
||||
|
||||
cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed"
|
||||
epatch "${FILESDIR}"/${PN}-0.18.conf.patch
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mpdconf="--enable-database --disable-roar --disable-documentation
|
||||
--enable-dsd --enable-largefile --disable-osx --disable-shine-encoder
|
||||
--disable-solaris-output --enable-tcp --enable-un --disable-werror
|
||||
--docdir=${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
if use network; then
|
||||
mpdconf+=" --enable-shout $(use_enable vorbis vorbis-encoder)
|
||||
--enable-httpd-output $(use_enable lame lame-encoder)
|
||||
$(use_enable twolame twolame-encoder)
|
||||
$(use_enable audiofile wave-encoder)"
|
||||
else
|
||||
mpdconf+=" --disable-shout --disable-vorbis-encoder
|
||||
--disable-httpd-output --disable-lame-encoder
|
||||
--disable-twolame-encoder --disable-wave-encoder"
|
||||
fi
|
||||
|
||||
if use samba || use upnp; then
|
||||
mpdconf+=" --enable-neighbor-plugins"
|
||||
fi
|
||||
|
||||
append-lfs-flags
|
||||
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders"
|
||||
|
||||
econf \
|
||||
$(use_enable eventfd) \
|
||||
$(use_enable signalfd) \
|
||||
$(use_enable libmpdclient) \
|
||||
$(use_enable expat) \
|
||||
$(use_enable upnp) \
|
||||
$(use_enable adplug) \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable ao) \
|
||||
$(use_enable audiofile) \
|
||||
$(use_enable zlib) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable cdio cdio-paranoia) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable samba smbclient) \
|
||||
$(use_enable nfs) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable ffmpeg) \
|
||||
$(use_enable fifo) \
|
||||
$(use_enable flac) \
|
||||
$(use_enable fluidsynth) \
|
||||
$(use_enable gme) \
|
||||
$(use_enable id3tag id3) \
|
||||
$(use_enable inotify) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable cdio iso9660) \
|
||||
$(use_enable jack) \
|
||||
$(use_enable soundcloud) \
|
||||
$(use_enable tcpd libwrap) \
|
||||
$(use_enable libsamplerate lsr) \
|
||||
$(use_enable libsoxr soxr) \
|
||||
$(use_enable mad) \
|
||||
$(use_enable mikmod) \
|
||||
$(use_enable mms) \
|
||||
$(use_enable modplug) \
|
||||
$(use_enable musepack mpc) \
|
||||
$(use_enable mpg123) \
|
||||
$(use_enable openal) \
|
||||
$(use_enable opus) \
|
||||
$(use_enable oss) \
|
||||
$(use_enable pipe pipe-output) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable recorder recorder-output) \
|
||||
$(use_enable sid sidplay) \
|
||||
$(use_enable sndfile sndfile) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_enable systemd systemd-daemon) \
|
||||
$(use_enable vorbis) \
|
||||
$(use_enable wavpack) \
|
||||
$(use_enable wildmidi) \
|
||||
$(use_enable zip zzip) \
|
||||
$(use_enable icu) \
|
||||
$(use_enable glib) \
|
||||
$(use_enable faad aac) \
|
||||
$(use_with zeroconf zeroconf avahi) \
|
||||
"$(systemd_with_unitdir)" \
|
||||
${mpdconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
insinto /etc
|
||||
newins doc/mpdconf.dist mpd.conf
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}2.init ${PN}
|
||||
|
||||
systemd_newuserunit systemd/${PN}.service ${PN}.service
|
||||
sed -i '/WantedBy=/c WantedBy=default.target' \
|
||||
"${ED}"/usr/lib/systemd/user/mpd.service || die "sed failed"
|
||||
|
||||
if use unicode; then
|
||||
sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \
|
||||
"${ED}"/etc/mpd.conf || die "sed failed"
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||
|
||||
use prefix || diropts -m0755 -o mpd -g audio
|
||||
dodir /var/lib/mpd
|
||||
keepdir /var/lib/mpd
|
||||
dodir /var/lib/mpd/music
|
||||
keepdir /var/lib/mpd/music
|
||||
dodir /var/lib/mpd/playlists
|
||||
keepdir /var/lib/mpd/playlists
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
|
||||
# also change the homedir if the user has existed before
|
||||
usermod -d "/var/lib/mpd" mpd
|
||||
}
|
@ -1,255 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic linux-info multilib readme.gentoo systemd user
|
||||
|
||||
DESCRIPTION="The Music Player Daemon (mpd)"
|
||||
HOMEPAGE="https://www.musicpd.org"
|
||||
SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~x86 ~x86-fbsd ~x64-macos"
|
||||
IUSE="adplug +alsa ao audiofile bzip2 cdio +curl debug +eventfd expat faad
|
||||
+fifo +ffmpeg flac fluidsynth +glib gme +icu +id3tag +inotify +ipv6 jack
|
||||
lame mms libav libmpdclient libsamplerate libsoxr +mad mikmod modplug
|
||||
mpg123 musepack +network nfs ogg openal opus oss pipe pulseaudio recorder
|
||||
samba selinux sid +signalfd sndfile soundcloud sqlite systemd tcpd twolame
|
||||
unicode upnp vorbis wavpack wildmidi zeroconf zip zlib"
|
||||
|
||||
OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder"
|
||||
DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod
|
||||
modplug mpg123 musepack ogg flac sid vorbis wavpack wildmidi"
|
||||
ENCODER_PLUGINS="audiofile flac lame twolame vorbis"
|
||||
|
||||
REQUIRED_USE="|| ( ${OUTPUT_PLUGINS} )
|
||||
|| ( ${DECODER_PLUGINS} )
|
||||
ao? ( glib )
|
||||
gme? ( glib )
|
||||
jack? ( glib )
|
||||
network? ( || ( ${ENCODER_PLUGINS} )
|
||||
glib )
|
||||
recorder? ( || ( ${ENCODER_PLUGINS} ) )
|
||||
sid? ( glib )
|
||||
soundcloud? ( glib )
|
||||
sqlite? ( glib )
|
||||
opus? ( ogg )
|
||||
upnp? ( expat )
|
||||
vorbis? ( glib )
|
||||
wavpack? ( glib )"
|
||||
|
||||
CDEPEND="!<sys-cluster/mpich2-1.4_rc2
|
||||
adplug? ( media-libs/adplug )
|
||||
alsa? ( media-sound/alsa-utils
|
||||
media-libs/alsa-lib )
|
||||
ao? ( media-libs/libao[alsa?,pulseaudio?] )
|
||||
audiofile? ( media-libs/audiofile )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdio? ( dev-libs/libcdio-paranoia )
|
||||
curl? ( net-misc/curl )
|
||||
expat? ( dev-libs/expat )
|
||||
faad? ( media-libs/faad2 )
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:0= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
flac? ( media-libs/flac[ogg?] )
|
||||
fluidsynth? ( media-sound/fluidsynth )
|
||||
glib? ( dev-libs/glib:2 )
|
||||
gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 )
|
||||
icu? ( dev-libs/icu:= )
|
||||
id3tag? ( media-libs/libid3tag )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
lame? ( network? ( media-sound/lame ) )
|
||||
libmpdclient? ( media-libs/libmpdclient )
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
mad? ( media-libs/libmad )
|
||||
mikmod? ( media-libs/libmikmod:0 )
|
||||
mms? ( media-libs/libmms )
|
||||
modplug? ( media-libs/libmodplug )
|
||||
mpg123? ( >=media-sound/mpg123-1.12.2 )
|
||||
musepack? ( media-sound/musepack-tools )
|
||||
network? ( >=media-libs/libshout-2
|
||||
!lame? ( !vorbis? ( media-libs/libvorbis ) ) )
|
||||
nfs? ( net-fs/libnfs )
|
||||
ogg? ( media-libs/libogg )
|
||||
openal? ( media-libs/openal )
|
||||
opus? ( media-libs/opus )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
samba? ( || ( <net-fs/samba-4.0.25[smbclient] >=net-fs/samba-4.0.25 ) )
|
||||
sid? ( media-libs/libsidplay:2 )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
soundcloud? ( >=dev-libs/yajl-2 )
|
||||
libsoxr? ( media-libs/soxr )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
twolame? ( media-sound/twolame )
|
||||
upnp? ( net-libs/libupnp )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
wavpack? ( media-sound/wavpack )
|
||||
wildmidi? ( media-sound/wildmidi )
|
||||
zeroconf? ( net-dns/avahi[dbus] )
|
||||
zip? ( dev-libs/zziplib )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-mpd )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use network || ewarn "Icecast and Shoutcast streaming needs networking."
|
||||
use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream."
|
||||
|
||||
enewuser mpd "" "" "/var/lib/mpd" audio
|
||||
|
||||
if use eventfd; then
|
||||
CONFIG_CHECK+=" ~EVENTFD"
|
||||
ERROR_EVENTFD="${P} requires eventfd in-kernel support."
|
||||
fi
|
||||
if use signalfd; then
|
||||
CONFIG_CHECK+=" ~SIGNALFD"
|
||||
ERROR_SIGNALFD="${P} requires signalfd in-kernel support."
|
||||
fi
|
||||
if use inotify; then
|
||||
CONFIG_CHECK+=" ~INOTIFY_USER"
|
||||
ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
|
||||
fi
|
||||
if use eventfd || use signalfd || use inotify; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
DOC_CONTENTS="If you will be starting mpd via /etc/init.d/mpd, please make
|
||||
sure that MPD's pid_file is _set_."
|
||||
|
||||
cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed"
|
||||
epatch "${FILESDIR}"/${PN}-0.18.conf.patch
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mpdconf="--enable-database --disable-roar --disable-documentation
|
||||
--enable-dsd --enable-largefile --disable-osx --disable-shine-encoder
|
||||
--disable-solaris-output --enable-tcp --enable-un --disable-werror
|
||||
--docdir=${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
if use network; then
|
||||
mpdconf+=" --enable-shout $(use_enable vorbis vorbis-encoder)
|
||||
--enable-httpd-output $(use_enable lame lame-encoder)
|
||||
$(use_enable twolame twolame-encoder)
|
||||
$(use_enable audiofile wave-encoder)"
|
||||
else
|
||||
mpdconf+=" --disable-shout --disable-vorbis-encoder
|
||||
--disable-httpd-output --disable-lame-encoder
|
||||
--disable-twolame-encoder --disable-wave-encoder"
|
||||
fi
|
||||
|
||||
if use samba || use upnp; then
|
||||
mpdconf+=" --enable-neighbor-plugins"
|
||||
fi
|
||||
|
||||
append-lfs-flags
|
||||
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders"
|
||||
|
||||
econf \
|
||||
$(use_enable eventfd) \
|
||||
$(use_enable signalfd) \
|
||||
$(use_enable libmpdclient) \
|
||||
$(use_enable expat) \
|
||||
$(use_enable upnp) \
|
||||
$(use_enable adplug) \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable ao) \
|
||||
$(use_enable audiofile) \
|
||||
$(use_enable zlib) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable cdio cdio-paranoia) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable samba smbclient) \
|
||||
$(use_enable nfs) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable ffmpeg) \
|
||||
$(use_enable fifo) \
|
||||
$(use_enable flac) \
|
||||
$(use_enable fluidsynth) \
|
||||
$(use_enable gme) \
|
||||
$(use_enable id3tag id3) \
|
||||
$(use_enable inotify) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable cdio iso9660) \
|
||||
$(use_enable jack) \
|
||||
$(use_enable soundcloud) \
|
||||
$(use_enable tcpd libwrap) \
|
||||
$(use_enable libsamplerate lsr) \
|
||||
$(use_enable libsoxr soxr) \
|
||||
$(use_enable mad) \
|
||||
$(use_enable mikmod) \
|
||||
$(use_enable mms) \
|
||||
$(use_enable modplug) \
|
||||
$(use_enable musepack mpc) \
|
||||
$(use_enable mpg123) \
|
||||
$(use_enable openal) \
|
||||
$(use_enable opus) \
|
||||
$(use_enable oss) \
|
||||
$(use_enable pipe pipe-output) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable recorder recorder-output) \
|
||||
$(use_enable sid sidplay) \
|
||||
$(use_enable sndfile sndfile) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_enable systemd systemd-daemon) \
|
||||
$(use_enable vorbis) \
|
||||
$(use_enable wavpack) \
|
||||
$(use_enable wildmidi) \
|
||||
$(use_enable zip zzip) \
|
||||
$(use_enable icu) \
|
||||
$(use_enable glib) \
|
||||
$(use_enable faad aac) \
|
||||
$(use_with zeroconf zeroconf avahi) \
|
||||
"$(systemd_with_unitdir)" \
|
||||
${mpdconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
insinto /etc
|
||||
newins doc/mpdconf.dist mpd.conf
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}2.init ${PN}
|
||||
|
||||
systemd_newuserunit systemd/${PN}.service ${PN}.service
|
||||
sed -i '/WantedBy=/c WantedBy=default.target' \
|
||||
"${ED}"/usr/lib/systemd/user/mpd.service || die "sed failed"
|
||||
|
||||
if use unicode; then
|
||||
sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \
|
||||
"${ED}"/etc/mpd.conf || die "sed failed"
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||
|
||||
use prefix || diropts -m0755 -o mpd -g audio
|
||||
dodir /var/lib/mpd
|
||||
keepdir /var/lib/mpd
|
||||
dodir /var/lib/mpd/music
|
||||
keepdir /var/lib/mpd/music
|
||||
dodir /var/lib/mpd/playlists
|
||||
keepdir /var/lib/mpd/playlists
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
|
||||
# also change the homedir if the user has existed before
|
||||
usermod -d "/var/lib/mpd" mpd
|
||||
}
|
@ -1,257 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils flag-o-matic linux-info multilib systemd user
|
||||
|
||||
DESCRIPTION="The Music Player Daemon (mpd)"
|
||||
HOMEPAGE="https://www.musicpd.org"
|
||||
SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~x86 ~x86-fbsd ~x64-macos"
|
||||
IUSE="adplug +alsa ao audiofile bzip2 cdio +curl debug +eventfd expat faad
|
||||
+fifo +ffmpeg flac fluidsynth +glib gme +icu +id3tag +inotify +ipv6 jack
|
||||
lame mms libav libmpdclient libsamplerate libsoxr +mad mikmod modplug
|
||||
mpg123 musepack +network nfs ogg openal opus oss pipe pulseaudio recorder
|
||||
samba selinux sid +signalfd sndfile soundcloud sqlite systemd tcpd twolame
|
||||
unicode upnp vorbis wavpack wildmidi zeroconf zip zlib"
|
||||
|
||||
OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder"
|
||||
DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod
|
||||
modplug mpg123 musepack ogg flac sid vorbis wavpack wildmidi"
|
||||
ENCODER_PLUGINS="audiofile flac lame twolame vorbis"
|
||||
|
||||
REQUIRED_USE="|| ( ${OUTPUT_PLUGINS} )
|
||||
|| ( ${DECODER_PLUGINS} )
|
||||
ao? ( glib )
|
||||
gme? ( glib )
|
||||
jack? ( glib )
|
||||
network? ( || ( ${ENCODER_PLUGINS} )
|
||||
glib )
|
||||
recorder? ( || ( ${ENCODER_PLUGINS} ) )
|
||||
sid? ( glib )
|
||||
soundcloud? ( glib )
|
||||
sqlite? ( glib )
|
||||
opus? ( ogg )
|
||||
upnp? ( expat )
|
||||
vorbis? ( glib )
|
||||
wavpack? ( glib )"
|
||||
|
||||
CDEPEND="!<sys-cluster/mpich2-1.4_rc2
|
||||
adplug? ( media-libs/adplug )
|
||||
alsa? ( media-sound/alsa-utils
|
||||
media-libs/alsa-lib )
|
||||
ao? ( media-libs/libao[alsa?,pulseaudio?] )
|
||||
audiofile? ( media-libs/audiofile )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdio? ( dev-libs/libcdio-paranoia )
|
||||
curl? ( net-misc/curl )
|
||||
expat? ( dev-libs/expat )
|
||||
faad? ( media-libs/faad2 )
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:0= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
flac? ( media-libs/flac[ogg?] )
|
||||
fluidsynth? ( media-sound/fluidsynth )
|
||||
glib? ( dev-libs/glib:2 )
|
||||
gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 )
|
||||
icu? ( dev-libs/icu:= )
|
||||
id3tag? ( media-libs/libid3tag )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
lame? ( network? ( media-sound/lame ) )
|
||||
libmpdclient? ( media-libs/libmpdclient )
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
mad? ( media-libs/libmad )
|
||||
mikmod? ( media-libs/libmikmod:0 )
|
||||
mms? ( media-libs/libmms )
|
||||
modplug? ( media-libs/libmodplug )
|
||||
mpg123? ( >=media-sound/mpg123-1.12.2 )
|
||||
musepack? ( media-sound/musepack-tools )
|
||||
network? ( >=media-libs/libshout-2
|
||||
!lame? ( !vorbis? ( media-libs/libvorbis ) ) )
|
||||
nfs? ( net-fs/libnfs )
|
||||
ogg? ( media-libs/libogg )
|
||||
openal? ( media-libs/openal )
|
||||
opus? ( media-libs/opus )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
samba? ( || ( <net-fs/samba-4.0.25[smbclient] >=net-fs/samba-4.0.25 ) )
|
||||
sid? ( media-libs/libsidplay:2 )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
soundcloud? ( >=dev-libs/yajl-2 )
|
||||
libsoxr? ( media-libs/soxr )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
twolame? ( media-sound/twolame )
|
||||
upnp? ( net-libs/libupnp )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
wavpack? ( media-sound/wavpack )
|
||||
wildmidi? ( media-sound/wildmidi )
|
||||
zeroconf? ( net-dns/avahi[dbus] )
|
||||
zip? ( dev-libs/zziplib )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-mpd )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.18.conf.patch
|
||||
"${FILESDIR}"/${PN}-0.9.15-systemd.patch # bug 584742
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use network || ewarn "Icecast and Shoutcast streaming needs networking."
|
||||
use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream."
|
||||
|
||||
enewuser mpd "" "" "/var/lib/mpd" audio
|
||||
|
||||
if use eventfd; then
|
||||
CONFIG_CHECK+=" ~EVENTFD"
|
||||
ERROR_EVENTFD="${P} requires eventfd in-kernel support."
|
||||
fi
|
||||
if use signalfd; then
|
||||
CONFIG_CHECK+=" ~SIGNALFD"
|
||||
ERROR_SIGNALFD="${P} requires signalfd in-kernel support."
|
||||
fi
|
||||
if use inotify; then
|
||||
CONFIG_CHECK+=" ~INOTIFY_USER"
|
||||
ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
|
||||
fi
|
||||
if use eventfd || use signalfd || use inotify; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
|
||||
elog "If you will be starting mpd via /etc/init.d/mpd, please make
|
||||
sure that MPD's pid_file is _set_."
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed"
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mpdconf="--enable-database --disable-roar --disable-documentation
|
||||
--enable-dsd --enable-largefile --disable-osx --disable-shine-encoder
|
||||
--disable-solaris-output --enable-tcp --enable-un --disable-werror
|
||||
--docdir=${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
if use network; then
|
||||
mpdconf+=" --enable-shout $(use_enable vorbis vorbis-encoder)
|
||||
--enable-httpd-output $(use_enable lame lame-encoder)
|
||||
$(use_enable twolame twolame-encoder)
|
||||
$(use_enable audiofile wave-encoder)"
|
||||
else
|
||||
mpdconf+=" --disable-shout --disable-vorbis-encoder
|
||||
--disable-httpd-output --disable-lame-encoder
|
||||
--disable-twolame-encoder --disable-wave-encoder"
|
||||
fi
|
||||
|
||||
if use samba || use upnp; then
|
||||
mpdconf+=" --enable-neighbor-plugins"
|
||||
fi
|
||||
|
||||
append-lfs-flags
|
||||
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders"
|
||||
|
||||
econf \
|
||||
$(use_enable eventfd) \
|
||||
$(use_enable signalfd) \
|
||||
$(use_enable libmpdclient) \
|
||||
$(use_enable expat) \
|
||||
$(use_enable upnp) \
|
||||
$(use_enable adplug) \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable ao) \
|
||||
$(use_enable audiofile) \
|
||||
$(use_enable zlib) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable cdio cdio-paranoia) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable samba smbclient) \
|
||||
$(use_enable nfs) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable ffmpeg) \
|
||||
$(use_enable fifo) \
|
||||
$(use_enable flac) \
|
||||
$(use_enable fluidsynth) \
|
||||
$(use_enable gme) \
|
||||
$(use_enable id3tag id3) \
|
||||
$(use_enable inotify) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable cdio iso9660) \
|
||||
$(use_enable jack) \
|
||||
$(use_enable soundcloud) \
|
||||
$(use_enable tcpd libwrap) \
|
||||
$(use_enable libsamplerate lsr) \
|
||||
$(use_enable libsoxr soxr) \
|
||||
$(use_enable mad) \
|
||||
$(use_enable mikmod) \
|
||||
$(use_enable mms) \
|
||||
$(use_enable modplug) \
|
||||
$(use_enable musepack mpc) \
|
||||
$(use_enable mpg123) \
|
||||
$(use_enable openal) \
|
||||
$(use_enable opus) \
|
||||
$(use_enable oss) \
|
||||
$(use_enable pipe pipe-output) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable recorder recorder-output) \
|
||||
$(use_enable sid sidplay) \
|
||||
$(use_enable sndfile sndfile) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable vorbis) \
|
||||
$(use_enable wavpack) \
|
||||
$(use_enable wildmidi) \
|
||||
$(use_enable zip zzip) \
|
||||
$(use_enable icu) \
|
||||
$(use_enable glib) \
|
||||
$(use_enable faad aac) \
|
||||
$(use_with zeroconf zeroconf avahi) \
|
||||
--with-systemdsystemunitdir=$(systemd_get_systemunitdir) \
|
||||
${mpdconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
insinto /etc
|
||||
newins doc/mpdconf.dist mpd.conf
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}2.init ${PN}
|
||||
|
||||
systemd_newuserunit systemd/${PN}.service ${PN}.service
|
||||
sed -i '/WantedBy=/c WantedBy=default.target' \
|
||||
"${ED}"/usr/lib/systemd/user/mpd.service || die "sed failed"
|
||||
|
||||
if use unicode; then
|
||||
sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \
|
||||
"${ED}"/etc/mpd.conf || die "sed failed"
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||
|
||||
use prefix || diropts -m0755 -o mpd -g audio
|
||||
dodir /var/lib/mpd
|
||||
keepdir /var/lib/mpd
|
||||
dodir /var/lib/mpd/music
|
||||
keepdir /var/lib/mpd/music
|
||||
dodir /var/lib/mpd/playlists
|
||||
keepdir /var/lib/mpd/playlists
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# also change the homedir if the user has existed before
|
||||
usermod -d "/var/lib/mpd" mpd
|
||||
}
|
@ -1,257 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils flag-o-matic linux-info multilib systemd user
|
||||
|
||||
DESCRIPTION="The Music Player Daemon (mpd)"
|
||||
HOMEPAGE="https://www.musicpd.org"
|
||||
SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~x86 ~x86-fbsd ~x64-macos"
|
||||
IUSE="adplug +alsa ao audiofile bzip2 cdio +curl debug +eventfd expat faad
|
||||
+fifo +ffmpeg flac fluidsynth +glib gme +icu +id3tag +inotify +ipv6 jack
|
||||
lame mms libav libmpdclient libsamplerate libsoxr +mad mikmod modplug
|
||||
mpg123 musepack +network nfs ogg openal opus oss pipe pulseaudio recorder
|
||||
samba selinux sid +signalfd sndfile soundcloud sqlite systemd tcpd twolame
|
||||
unicode upnp vorbis wavpack wildmidi zeroconf zip zlib"
|
||||
|
||||
OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder"
|
||||
DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod
|
||||
modplug mpg123 musepack ogg flac sid vorbis wavpack wildmidi"
|
||||
ENCODER_PLUGINS="audiofile flac lame twolame vorbis"
|
||||
|
||||
REQUIRED_USE="|| ( ${OUTPUT_PLUGINS} )
|
||||
|| ( ${DECODER_PLUGINS} )
|
||||
ao? ( glib )
|
||||
gme? ( glib )
|
||||
jack? ( glib )
|
||||
network? ( || ( ${ENCODER_PLUGINS} )
|
||||
glib )
|
||||
recorder? ( || ( ${ENCODER_PLUGINS} ) )
|
||||
sid? ( glib )
|
||||
soundcloud? ( glib )
|
||||
sqlite? ( glib )
|
||||
opus? ( ogg )
|
||||
upnp? ( expat )
|
||||
vorbis? ( glib )
|
||||
wavpack? ( glib )"
|
||||
|
||||
CDEPEND="!<sys-cluster/mpich2-1.4_rc2
|
||||
adplug? ( media-libs/adplug )
|
||||
alsa? ( media-sound/alsa-utils
|
||||
media-libs/alsa-lib )
|
||||
ao? ( media-libs/libao[alsa?,pulseaudio?] )
|
||||
audiofile? ( media-libs/audiofile )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdio? ( dev-libs/libcdio-paranoia )
|
||||
curl? ( net-misc/curl )
|
||||
expat? ( dev-libs/expat )
|
||||
faad? ( media-libs/faad2 )
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:0= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
flac? ( media-libs/flac[ogg?] )
|
||||
fluidsynth? ( media-sound/fluidsynth )
|
||||
glib? ( dev-libs/glib:2 )
|
||||
gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 )
|
||||
icu? ( dev-libs/icu:= )
|
||||
id3tag? ( media-libs/libid3tag )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
lame? ( network? ( media-sound/lame ) )
|
||||
libmpdclient? ( media-libs/libmpdclient )
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
mad? ( media-libs/libmad )
|
||||
mikmod? ( media-libs/libmikmod:0 )
|
||||
mms? ( media-libs/libmms )
|
||||
modplug? ( media-libs/libmodplug )
|
||||
mpg123? ( >=media-sound/mpg123-1.12.2 )
|
||||
musepack? ( media-sound/musepack-tools )
|
||||
network? ( >=media-libs/libshout-2
|
||||
!lame? ( !vorbis? ( media-libs/libvorbis ) ) )
|
||||
nfs? ( net-fs/libnfs )
|
||||
ogg? ( media-libs/libogg )
|
||||
openal? ( media-libs/openal )
|
||||
opus? ( media-libs/opus )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
samba? ( || ( <net-fs/samba-4.0.25[smbclient] >=net-fs/samba-4.0.25 ) )
|
||||
sid? ( || ( media-libs/libsidplay:2 media-libs/libsidplayfp ) )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
soundcloud? ( >=dev-libs/yajl-2 )
|
||||
libsoxr? ( media-libs/soxr )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
twolame? ( media-sound/twolame )
|
||||
upnp? ( net-libs/libupnp )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
wavpack? ( media-sound/wavpack )
|
||||
wildmidi? ( media-sound/wildmidi )
|
||||
zeroconf? ( net-dns/avahi[dbus] )
|
||||
zip? ( dev-libs/zziplib )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-mpd )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.18.conf.patch
|
||||
"${FILESDIR}"/${PN}-0.9.15-systemd.patch # bug 584742
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use network || ewarn "Icecast and Shoutcast streaming needs networking."
|
||||
use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream."
|
||||
|
||||
enewuser mpd "" "" "/var/lib/mpd" audio
|
||||
|
||||
if use eventfd; then
|
||||
CONFIG_CHECK+=" ~EVENTFD"
|
||||
ERROR_EVENTFD="${P} requires eventfd in-kernel support."
|
||||
fi
|
||||
if use signalfd; then
|
||||
CONFIG_CHECK+=" ~SIGNALFD"
|
||||
ERROR_SIGNALFD="${P} requires signalfd in-kernel support."
|
||||
fi
|
||||
if use inotify; then
|
||||
CONFIG_CHECK+=" ~INOTIFY_USER"
|
||||
ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
|
||||
fi
|
||||
if use eventfd || use signalfd || use inotify; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
|
||||
elog "If you will be starting mpd via /etc/init.d/mpd, please make
|
||||
sure that MPD's pid_file is _set_."
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed"
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mpdconf="--enable-database --disable-roar --disable-documentation
|
||||
--enable-dsd --enable-largefile --disable-osx --disable-shine-encoder
|
||||
--disable-solaris-output --enable-tcp --enable-un --disable-werror
|
||||
--docdir=${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
if use network; then
|
||||
mpdconf+=" --enable-shout $(use_enable vorbis vorbis-encoder)
|
||||
--enable-httpd-output $(use_enable lame lame-encoder)
|
||||
$(use_enable twolame twolame-encoder)
|
||||
$(use_enable audiofile wave-encoder)"
|
||||
else
|
||||
mpdconf+=" --disable-shout --disable-vorbis-encoder
|
||||
--disable-httpd-output --disable-lame-encoder
|
||||
--disable-twolame-encoder --disable-wave-encoder"
|
||||
fi
|
||||
|
||||
if use samba || use upnp; then
|
||||
mpdconf+=" --enable-neighbor-plugins"
|
||||
fi
|
||||
|
||||
append-lfs-flags
|
||||
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders"
|
||||
|
||||
econf \
|
||||
$(use_enable eventfd) \
|
||||
$(use_enable signalfd) \
|
||||
$(use_enable libmpdclient) \
|
||||
$(use_enable expat) \
|
||||
$(use_enable upnp) \
|
||||
$(use_enable adplug) \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable ao) \
|
||||
$(use_enable audiofile) \
|
||||
$(use_enable zlib) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable cdio cdio-paranoia) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable samba smbclient) \
|
||||
$(use_enable nfs) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable ffmpeg) \
|
||||
$(use_enable fifo) \
|
||||
$(use_enable flac) \
|
||||
$(use_enable fluidsynth) \
|
||||
$(use_enable gme) \
|
||||
$(use_enable id3tag id3) \
|
||||
$(use_enable inotify) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable cdio iso9660) \
|
||||
$(use_enable jack) \
|
||||
$(use_enable soundcloud) \
|
||||
$(use_enable tcpd libwrap) \
|
||||
$(use_enable libsamplerate lsr) \
|
||||
$(use_enable libsoxr soxr) \
|
||||
$(use_enable mad) \
|
||||
$(use_enable mikmod) \
|
||||
$(use_enable mms) \
|
||||
$(use_enable modplug) \
|
||||
$(use_enable musepack mpc) \
|
||||
$(use_enable mpg123) \
|
||||
$(use_enable openal) \
|
||||
$(use_enable opus) \
|
||||
$(use_enable oss) \
|
||||
$(use_enable pipe pipe-output) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable recorder recorder-output) \
|
||||
$(use_enable sid sidplay) \
|
||||
$(use_enable sndfile sndfile) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable vorbis) \
|
||||
$(use_enable wavpack) \
|
||||
$(use_enable wildmidi) \
|
||||
$(use_enable zip zzip) \
|
||||
$(use_enable icu) \
|
||||
$(use_enable glib) \
|
||||
$(use_enable faad aac) \
|
||||
$(use_with zeroconf zeroconf avahi) \
|
||||
--with-systemdsystemunitdir=$(systemd_get_systemunitdir) \
|
||||
${mpdconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
insinto /etc
|
||||
newins doc/mpdconf.dist mpd.conf
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}2.init ${PN}
|
||||
|
||||
systemd_newuserunit systemd/${PN}.service ${PN}.service
|
||||
sed -i '/WantedBy=/c WantedBy=default.target' \
|
||||
"${ED}"/usr/lib/systemd/user/mpd.service || die "sed failed"
|
||||
|
||||
if use unicode; then
|
||||
sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \
|
||||
"${ED}"/etc/mpd.conf || die "sed failed"
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||
|
||||
use prefix || diropts -m0755 -o mpd -g audio
|
||||
dodir /var/lib/mpd
|
||||
keepdir /var/lib/mpd
|
||||
dodir /var/lib/mpd/music
|
||||
keepdir /var/lib/mpd/music
|
||||
dodir /var/lib/mpd/playlists
|
||||
keepdir /var/lib/mpd/playlists
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# also change the homedir if the user has existed before
|
||||
usermod -d "/var/lib/mpd" mpd
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST devedeng-4.8.5.tar.gz 1881298 SHA256 f60fb43a97ef23d888d82e77bd762df488a3c5fa4606f3c3e3ae2eb63346688e SHA512 a62969c252d1ebfc3fa5225de3207dff9aeecdec717fcb4add9961e855c4bee473521cb632505f58f66ea81a59bf0d79017face7a5d128168d2211c343d9dc6c WHIRLPOOL eb5d9ea6888d1e186b8c623f08e1196daa35134a5f3e751590e70f5bf3c6b12d3b62317a5e4ea576059bc001669a1a3f4730825182768054c6d41e05eae3b540
|
||||
DIST devedeng-4.8.6.tar.gz 1881541 SHA256 9c3097e3a5994ea0b664cce841fb79d851de682280bdfb5b077beb4fc962d71f SHA512 14690dccc6c1d95441f1d020a6fddeee294724101473ffc8b04611b65ae665037b5ae6bca510d9683469602204549a046410656563ae6139e5210dc653049d93 WHIRLPOOL 8caea33c518e194e4e091e6224741d866dafe085f12aa14ed8ee3d5552399d64876338cc7c2e646b9d3edfa18f7f3448f5f0096801b78f5900ea4364811026d3
|
||||
DIST devedeng-4.8.7.tar.gz 1883405 SHA256 f699fa129fe41acf277cae05d92768c7ca7ac4021baaffd2a7b5d6ce58a33a79 SHA512 30e40f93c51b576e283de15d2526d686d3b8e3f04795aac6aa25ee4b418e1d44c2b80e880446f66494197f26e8f036e7def0c26e168a0553c454ccd859876ba6 WHIRLPOOL a3d4c86b09a5b205ced1036255c724a141d9e6e01b86870aeba68d1566089955005e4c5a898c5236876b2be39d95ac22f3481462ee14262ade40e0c3cef3c964
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="DevedeNG is a program to create video DVDs and CDs (VCD, sVCD or CVD)"
|
||||
HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
|
||||
SRC_URI="https://github.com/rastersoft/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="libav"
|
||||
|
||||
RDEPEND="dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
x11-libs/gtk+:3
|
||||
|| ( media-video/vlc media-video/mpv media-video/mplayer )
|
||||
!libav? ( media-video/ffmpeg )
|
||||
libav? ( media-video/libav )
|
||||
media-video/dvdauthor
|
||||
media-video/vcdimager
|
||||
virtual/cdrtools
|
||||
|| ( app-cdr/brasero app-cdr/k3b )"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
|
||||
inherit distutils-r1 git-r3
|
||||
|
||||
DESCRIPTION="DevedeNG is a program to create video DVDs and CDs (VCD, sVCD or CVD)"
|
||||
HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://github.com/rastersoft/${PN}.git"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="libav"
|
||||
|
||||
RDEPEND="dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
x11-libs/gtk+:3
|
||||
|| ( media-video/vlc media-video/mpv media-video/mplayer )
|
||||
!libav? ( media-video/ffmpeg )
|
||||
libav? ( media-video/libav )
|
||||
media-video/dvdauthor
|
||||
media-video/vcdimager
|
||||
virtual/cdrtools
|
||||
|| ( app-cdr/brasero app-cdr/k3b )"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
@ -1 +1 @@
|
||||
Sun, 29 Jan 2017 20:13:28 +0000
|
||||
Mon, 30 Jan 2017 05:43:20 +0000
|
||||
|
@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201701-75">
|
||||
<title>Perl: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in Perl, the worst of
|
||||
which could allow remote attackers to execute arbitrary code.
|
||||
</synopsis>
|
||||
<product type="ebuild">perl</product>
|
||||
<announced>2017-01-29</announced>
|
||||
<revised>2017-01-29: 1</revised>
|
||||
<bug>580612</bug>
|
||||
<bug>588592</bug>
|
||||
<bug>589680</bug>
|
||||
<bug>606750</bug>
|
||||
<bug>606752</bug>
|
||||
<access>local, remote</access>
|
||||
<affected>
|
||||
<package name="dev-lang/perl" auto="yes" arch="*">
|
||||
<unaffected range="ge">5.22.3_rc4</unaffected>
|
||||
<vulnerable range="lt">5.22.3_rc4</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>Perl is a highly capable, feature-rich programming language.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in Perl. Please review the
|
||||
CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could possibly execute arbitrary code with the
|
||||
privileges of the process, cause a Denial of Service condition, or
|
||||
escalate privileges.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All Perl users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=dev-lang/perl-5.22.3_rc4"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-8607">CVE-2015-8607</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-8853">CVE-2015-8853</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-1238">CVE-2016-1238</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2381">CVE-2016-2381</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-6185">CVE-2016-6185</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="2017-01-21T22:09:19Z">whissi</metadata>
|
||||
<metadata tag="submitter" timestamp="2017-01-29T23:40:34Z">b-man</metadata>
|
||||
</glsa>
|
@ -1 +1 @@
|
||||
Sun, 29 Jan 2017 20:13:28 +0000
|
||||
Mon, 30 Jan 2017 05:43:21 +0000
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install postinst prepare setup test unpack
|
||||
DEPEND=>=dev-lang/go-1.7.1 dev-go/go-crypto dev-go/go-net dev-libs/protobuf nls? ( sys-devel/gettext ) test? ( app-misc/jq dev-db/sqlite net-misc/curl sys-devel/gettext ) >=dev-lang/go-1.4.2:= virtual/pkgconfig
|
||||
DESCRIPTION=Fast, dense and secure container management
|
||||
EAPI=6
|
||||
HOMEPAGE=https://linuxcontainers.org/lxd/introduction/
|
||||
IUSE=+daemon nls test linguas_de linguas_el linguas_fr linguas_ja
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=daemon? ( app-admin/cgmanager app-arch/xz-utils app-emulation/lxc[cgmanager,seccomp] net-dns/dnsmasq[dhcp,ipv6] net-misc/rsync[xattr] sys-apps/iproute2[ipv6] sys-fs/squashfs-tools virtual/acl )
|
||||
SLOT=0
|
||||
SRC_URI=https://dev.gentoo.org/~stasibear/distfiles/lxd-2.8.tar.bz2
|
||||
_eclasses_=bash-completion-r1 acf715fa09463f043fbfdc1640f3fb85 eutils ea170b525f6a38a006be05c9d9429f13 golang-base 08fe6e0e2b4750daff8887a7f0e1f873 golang-build a44f10e6bd86ecccf2a07cc0d4cf6bec l10n e26ea0642846685782f1813642e7ff0f linux-info af49d8ab3be91bb1d38b7201dc9e5123 multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87 vcs-snapshot 2b65ecb2d0f91e4322c2ac8d673993bd versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=061a78a8fc7e75d150cd849da9dabf8e
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=install test
|
||||
DESCRIPTION=A CLI-based TODO list manager
|
||||
EAPI=6
|
||||
HOMEPAGE=http://todotxt.com/
|
||||
IUSE=test
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=app-shells/bash
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/ginatrapani/todo.txt-cli/archive/v2.10.tar.gz -> todo-2.10.tar.gz
|
||||
_eclasses_=bash-completion-r1 acf715fa09463f043fbfdc1640f3fb85 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=138ce07e4982bbdccf3aa5649de7adf7
|
@ -1,16 +1,16 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare pretend setup test unpack
|
||||
DEPEND=dev-lang/perl dev-libs/boost dev-qt/qtcore:4[exceptions] media-libs/libpng:0 sys-libs/zlib virtual/libiconv attica? ( dev-libs/libattica ) color-management? ( media-libs/opencolorio ) crypt? ( app-crypt/qca:2[qt4(+)] ) eigen? ( dev-cpp/eigen:3 ) exif? ( media-gfx/exiv2:= ) fftw? ( sci-libs/fftw:3.0 ) fontconfig? ( media-libs/fontconfig ) freetds? ( dev-db/freetds ) glib? ( dev-libs/glib:2 ) gsf? ( gnome-extra/libgsf ) gsl? ( sci-libs/gsl ) import-filter? ( app-text/libetonyek app-text/libodfgen app-text/libwpd:* app-text/libwpg:* app-text/libwps dev-libs/librevenge media-libs/libvisio ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/openjpeg:0 ) kdcraw? ( >=kde-apps/libkdcraw-4.4:4[aqua=] ) lcms? ( media-libs/lcms:2 x11-libs/libX11 ) marble? ( >=kde-apps/marble-4.4:4[aqua=] ) mysql? ( virtual/mysql ) okular? ( >=kde-apps/okular-4.4:4=[aqua=] ) opengl? ( media-libs/glew:0 virtual/glu ) openexr? ( media-libs/openexr ) pdf? ( app-text/poppler:= media-gfx/pstoedit ) pim? ( >=kde-apps/kdepimlibs-4.4:4[aqua=] ) postgres? ( dev-db/postgresql:* dev-libs/libpqxx ) spacenav? ( dev-libs/libspnav ) sybase? ( dev-db/freetds ) tiff? ( media-libs/tiff:0 ) truetype? ( media-libs/freetype:2 ) vc? ( <dev-libs/vc-1.0.0 ) xbase? ( dev-db/xbase ) calligra_features_kexi? ( >=dev-db/sqlite-3.8.7:3[extensions(+)] dev-libs/icu:= ) calligra_features_krita? ( dev-qt/qtdeclarative:4 net-misc/curl x11-libs/libX11 x11-libs/libXi ) calligra_features_words? ( dev-libs/libxslt ) x11-misc/shared-mime-info >=sys-apps/sed-4 sys-devel/make >=dev-util/cmake-3.5.2 dev-util/automoc virtual/pkgconfig !aqua? ( >=x11-libs/libXtst-1.1.0 x11-proto/xf86vidmodeproto ) handbook? ( app-text/docbook-xml-dtd:4.2 app-text/docbook-xsl-stylesheets ) opengl? ( >=dev-qt/qtopengl-4.8.5:4 ) webkit? ( >=dev-qt/qtwebkit-4.8.5:4 ) dev-lang/perl >=dev-qt/qt3support-4.8.5:4[accessibility] >=dev-qt/qtcore-4.8.5:4[qt3support,ssl] >=dev-qt/qtdbus-4.8.5:4 >=dev-qt/designer-4.8.5:4 >=dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] >=dev-qt/qtscript-4.8.5:4 >=dev-qt/qtsql-4.8.5:4[qt3support] >=dev-qt/qtsvg-4.8.5:4 >=dev-qt/qttest-4.8.5:4 >=kde-frameworks/kdelibs-4.14.22:4[webkit?]
|
||||
DEPEND=dev-lang/perl dev-libs/boost dev-qt/qtcore:4[exceptions] media-libs/libpng:0= sys-libs/zlib virtual/libiconv color-management? ( media-libs/opencolorio ) crypt? ( app-crypt/qca:2[qt4] ) eigen? ( dev-cpp/eigen:3 ) exif? ( media-gfx/exiv2:= ) fftw? ( sci-libs/fftw:3.0 ) fontconfig? ( media-libs/fontconfig ) freetds? ( dev-db/freetds ) glib? ( dev-libs/glib:2 ) gsf? ( gnome-extra/libgsf ) gsl? ( sci-libs/gsl:= ) import-filter? ( app-text/libetonyek app-text/libodfgen app-text/libwpd:* app-text/libwpg:* app-text/libwps dev-libs/librevenge media-libs/libvisio ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/openjpeg:0 ) kdcraw? ( >=kde-apps/libkdcraw-4.4:4[aqua=] ) lcms? ( media-libs/lcms:2 x11-libs/libX11 ) marble? ( >=kde-apps/marble-4.4:4[aqua=] ) mysql? ( virtual/mysql ) okular? ( kde-apps/okular:4=[aqua=] ) openexr? ( media-libs/openexr:= ) opengl? ( media-libs/glew:0 virtual/glu ) pdf? ( app-text/poppler:= media-gfx/pstoedit ) pim? ( >=kde-apps/kdepimlibs-4.4:4[aqua=] ) postgres? ( dev-db/postgresql:* dev-libs/libpqxx ) spacenav? ( dev-libs/libspnav ) sybase? ( dev-db/freetds ) tiff? ( media-libs/tiff:0 ) truetype? ( media-libs/freetype:2 ) vc? ( <dev-libs/vc-1.0.0 ) xbase? ( dev-db/xbase ) calligra_features_kexi? ( dev-db/sqlite:3[extensions(+)] dev-libs/icu:= ) calligra_features_krita? ( dev-qt/qtdeclarative:4 net-misc/curl x11-libs/libX11 x11-libs/libXi ) calligra_features_words? ( dev-libs/libxslt ) x11-misc/shared-mime-info >=sys-apps/sed-4 sys-devel/make >=dev-util/cmake-3.5.2 dev-util/automoc virtual/pkgconfig !aqua? ( >=x11-libs/libXtst-1.1.0 x11-proto/xf86vidmodeproto ) handbook? ( app-text/docbook-xml-dtd:4.2 app-text/docbook-xsl-stylesheets ) opengl? ( >=dev-qt/qtopengl-4.8.5:4 ) webkit? ( >=dev-qt/qtwebkit-4.8.5:4 ) dev-lang/perl >=dev-qt/qt3support-4.8.5:4[accessibility] >=dev-qt/qtcore-4.8.5:4[qt3support,ssl] >=dev-qt/qtdbus-4.8.5:4 >=dev-qt/designer-4.8.5:4 >=dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] >=dev-qt/qtscript-4.8.5:4 >=dev-qt/qtsql-4.8.5:4[qt3support] >=dev-qt/qtsvg-4.8.5:4 >=dev-qt/qttest-4.8.5:4 >=kde-frameworks/kdelibs-4.14.22:4[webkit?]
|
||||
DESCRIPTION=KDE Office Suite
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.calligra.org/
|
||||
IUSE=attica color-management +crypt +eigen +exif fftw +fontconfig freetds +glew +glib +gsf gsl import-filter +jpeg jpeg2k +kdcraw +lcms marble mysql +okular openexr +pdf +pim postgres spacenav sybase test tiff +threads +truetype vc xbase +xml calligra_features_author calligra_features_braindump calligra_features_flow calligra_features_gemini calligra_features_karbon calligra_features_kexi calligra_features_krita calligra_features_plan calligra_features_sheets calligra_features_stage calligra_features_words opengl +webkit +handbook aqua
|
||||
IUSE=color-management +crypt +eigen +exif fftw +fontconfig freetds +glew +glib +gsf gsl import-filter +jpeg jpeg2k +kdcraw +lcms marble mysql +okular openexr +pdf +pim postgres spacenav sybase test tiff +threads +truetype vc xbase +xml calligra_features_author calligra_features_braindump calligra_features_flow calligra_features_gemini calligra_features_karbon calligra_features_kexi calligra_features_krita calligra_features_plan calligra_features_sheets calligra_features_stage calligra_features_words opengl +webkit +handbook aqua
|
||||
KEYWORDS=~amd64 ~arm ~x86
|
||||
LICENSE=GPL-2
|
||||
PDEPEND=>=app-office/calligra-l10n-2.9
|
||||
RDEPEND=dev-lang/perl dev-libs/boost dev-qt/qtcore:4[exceptions] media-libs/libpng:0 sys-libs/zlib virtual/libiconv attica? ( dev-libs/libattica ) color-management? ( media-libs/opencolorio ) crypt? ( app-crypt/qca:2[qt4(+)] ) eigen? ( dev-cpp/eigen:3 ) exif? ( media-gfx/exiv2:= ) fftw? ( sci-libs/fftw:3.0 ) fontconfig? ( media-libs/fontconfig ) freetds? ( dev-db/freetds ) glib? ( dev-libs/glib:2 ) gsf? ( gnome-extra/libgsf ) gsl? ( sci-libs/gsl ) import-filter? ( app-text/libetonyek app-text/libodfgen app-text/libwpd:* app-text/libwpg:* app-text/libwps dev-libs/librevenge media-libs/libvisio ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/openjpeg:0 ) kdcraw? ( >=kde-apps/libkdcraw-4.4:4[aqua=] ) lcms? ( media-libs/lcms:2 x11-libs/libX11 ) marble? ( >=kde-apps/marble-4.4:4[aqua=] ) mysql? ( virtual/mysql ) okular? ( >=kde-apps/okular-4.4:4=[aqua=] ) opengl? ( media-libs/glew:0 virtual/glu ) openexr? ( media-libs/openexr ) pdf? ( app-text/poppler:= media-gfx/pstoedit ) pim? ( >=kde-apps/kdepimlibs-4.4:4[aqua=] ) postgres? ( dev-db/postgresql:* dev-libs/libpqxx ) spacenav? ( dev-libs/libspnav ) sybase? ( dev-db/freetds ) tiff? ( media-libs/tiff:0 ) truetype? ( media-libs/freetype:2 ) vc? ( <dev-libs/vc-1.0.0 ) xbase? ( dev-db/xbase ) calligra_features_kexi? ( >=dev-db/sqlite-3.8.7:3[extensions(+)] dev-libs/icu:= ) calligra_features_krita? ( dev-qt/qtdeclarative:4 net-misc/curl x11-libs/libX11 x11-libs/libXi ) calligra_features_words? ( dev-libs/libxslt ) kde-frameworks/oxygen-icons handbook? ( kde-frameworks/kdelibs:4[handbook] ) opengl? ( >=dev-qt/qtopengl-4.8.5:4 ) webkit? ( >=dev-qt/qtwebkit-4.8.5:4 ) dev-lang/perl >=dev-qt/qt3support-4.8.5:4[accessibility] >=dev-qt/qtcore-4.8.5:4[qt3support,ssl] >=dev-qt/qtdbus-4.8.5:4 >=dev-qt/designer-4.8.5:4 >=dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] >=dev-qt/qtscript-4.8.5:4 >=dev-qt/qtsql-4.8.5:4[qt3support] >=dev-qt/qtsvg-4.8.5:4 >=dev-qt/qttest-4.8.5:4 >=kde-frameworks/kdelibs-4.14.22:4[webkit?]
|
||||
RDEPEND=dev-lang/perl dev-libs/boost dev-qt/qtcore:4[exceptions] media-libs/libpng:0= sys-libs/zlib virtual/libiconv color-management? ( media-libs/opencolorio ) crypt? ( app-crypt/qca:2[qt4] ) eigen? ( dev-cpp/eigen:3 ) exif? ( media-gfx/exiv2:= ) fftw? ( sci-libs/fftw:3.0 ) fontconfig? ( media-libs/fontconfig ) freetds? ( dev-db/freetds ) glib? ( dev-libs/glib:2 ) gsf? ( gnome-extra/libgsf ) gsl? ( sci-libs/gsl:= ) import-filter? ( app-text/libetonyek app-text/libodfgen app-text/libwpd:* app-text/libwpg:* app-text/libwps dev-libs/librevenge media-libs/libvisio ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/openjpeg:0 ) kdcraw? ( >=kde-apps/libkdcraw-4.4:4[aqua=] ) lcms? ( media-libs/lcms:2 x11-libs/libX11 ) marble? ( >=kde-apps/marble-4.4:4[aqua=] ) mysql? ( virtual/mysql ) okular? ( kde-apps/okular:4=[aqua=] ) openexr? ( media-libs/openexr:= ) opengl? ( media-libs/glew:0 virtual/glu ) pdf? ( app-text/poppler:= media-gfx/pstoedit ) pim? ( >=kde-apps/kdepimlibs-4.4:4[aqua=] ) postgres? ( dev-db/postgresql:* dev-libs/libpqxx ) spacenav? ( dev-libs/libspnav ) sybase? ( dev-db/freetds ) tiff? ( media-libs/tiff:0 ) truetype? ( media-libs/freetype:2 ) vc? ( <dev-libs/vc-1.0.0 ) xbase? ( dev-db/xbase ) calligra_features_kexi? ( dev-db/sqlite:3[extensions(+)] dev-libs/icu:= ) calligra_features_krita? ( dev-qt/qtdeclarative:4 net-misc/curl x11-libs/libX11 x11-libs/libXi ) calligra_features_words? ( dev-libs/libxslt ) kde-frameworks/oxygen-icons handbook? ( kde-frameworks/kdelibs:4[handbook] ) opengl? ( >=dev-qt/qtopengl-4.8.5:4 ) webkit? ( >=dev-qt/qtwebkit-4.8.5:4 ) dev-lang/perl >=dev-qt/qt3support-4.8.5:4[accessibility] >=dev-qt/qtcore-4.8.5:4[qt3support,ssl] >=dev-qt/qtdbus-4.8.5:4 >=dev-qt/designer-4.8.5:4 >=dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] >=dev-qt/qtscript-4.8.5:4 >=dev-qt/qtsql-4.8.5:4[qt3support] >=dev-qt/qtsvg-4.8.5:4 >=dev-qt/qttest-4.8.5:4 >=kde-frameworks/kdelibs-4.14.22:4[webkit?]
|
||||
REQUIRED_USE=calligra_features_author? ( calligra_features_words ) calligra_features_gemini? ( opengl ) calligra_features_krita? ( eigen exif lcms opengl ) calligra_features_plan? ( pim ) calligra_features_sheets? ( eigen ) calligra_features_stage? ( webkit ) vc? ( calligra_features_krita ) test? ( calligra_features_karbon )
|
||||
RESTRICT=test
|
||||
SLOT=4
|
||||
SRC_URI=mirror://kde/stable/calligra-2.9.11/calligra-2.9.11.tar.xz
|
||||
_eclasses_=check-reqs aee25bdf4e2f459af86d17f7c41dcdf6 cmake-utils f0c2647fb321257c91c6a967f362d053 eutils ea170b525f6a38a006be05c9d9429f13 fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 7366202dd55cb8f018f5d450d54e7749 gnome2-utils c6dcdf3a2c22b578b16adb945dc85c35 kde4-base 958da2c50ab906e72cd6fc7c77146404 kde4-functions 1aadb525279ddf31ca3c8e6d56ebecb5 multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing 7bb10a841be2368af0c00f27dd67560b toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c virtualx 86c9305a59b3e0459e7fbef3a5f30b96 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=1255cc33054dc2819df95a6cbd4bc5ed
|
||||
_md5_=c5c5d54d22d6a96c5819d6ff55ede99c
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install preinst prepare setup unpack
|
||||
DEPEND=app-arch/unzip >=dev-java/java-config-2.2.0-r3
|
||||
DESCRIPTION=Java GUI for managing BibTeX and other bibliographies
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.jabref.org/
|
||||
IUSE=elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=>=virtual/jre-1.8 >=dev-java/java-config-2.2.0-r3
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/JabRef/jabref/releases/download/v3.8.2/JabRef-3.8.2.jar
|
||||
_eclasses_=eutils ea170b525f6a38a006be05c9d9429f13 java-pkg-2 eb1f0d7d874162c70088f5ae32c31ee7 java-utils-2 a50950a73b5d5db46f42638e2996a087 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=a3fe948b2fd57c0c6689291f9994ac74
|
@ -0,0 +1,16 @@
|
||||
DEFINED_PHASES=compile config configure install postinst preinst prepare pretend setup test unpack
|
||||
DEPEND=|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) server? ( extraengine? ( jdbc? ( >=virtual/jdk-1.6 ) ) ) mroonga? ( app-text/groonga-normalizer-mysql ) kerberos? ( virtual/krb5[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) systemd? ( sys-apps/systemd:= ) !bindist? ( sys-libs/binutils-libs:0= >=sys-libs/readline-4.1:0= ) server? ( cracklib? ( sys-libs/cracklib:0= ) extraengine? ( odbc? ( dev-db/unixODBC:0= ) xml? ( dev-libs/libxml2:2= ) ) innodb-lz4? ( app-arch/lz4 ) innodb-lzo? ( dev-libs/lzo ) innodb-snappy? ( app-arch/snappy ) oqgraph? ( >=dev-libs/boost-1.40.0:0= dev-libs/judy:0= ) pam? ( virtual/pam:0= ) tokudb? ( app-arch/snappy ) ) >=dev-libs/libpcre-8.35:3= jdbc? ( >=dev-java/java-config-2.2.0-r3 ) virtual/pkgconfig sys-devel/make >=dev-util/cmake-3.5.2 kernel_linux? ( sys-process/procps:0= dev-libs/libaio:0= ) >=sys-apps/sed-4 >=sys-apps/texinfo-4.7-r1 !dev-db/mariadb-native-client[mysqlcompat] jemalloc? ( dev-libs/jemalloc:0= ) tcmalloc? ( dev-util/google-perftools:0= ) systemtap? ( >=dev-util/systemtap-1.3:0= ) openssl? ( >=dev-libs/openssl-1.0.0:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,static-libs?] ) libressl? ( dev-libs/libressl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,static-libs?] ) >=sys-libs/zlib-1.2.3:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,static-libs?] sys-libs/ncurses:0= virtual/yacc static? ( sys-libs/ncurses[static-libs] )
|
||||
DESCRIPTION=An enhanced, drop-in replacement for MySQL
|
||||
EAPI=6
|
||||
HOMEPAGE=http://mariadb.org/
|
||||
IUSE=bindist cracklib galera kerberos innodb-lz4 innodb-lzo innodb-snappy jdbc mroonga odbc oqgraph pam sphinx sst-rsync sst-xtrabackup tokudb systemd xml elibc_FreeBSD jdbc abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 debug embedded extraengine jemalloc latin1 libressl +openssl +perl profiling selinux +server systemtap static static-libs tcmalloc test yassl
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
PDEPEND=galera? ( sst-xtrabackup? ( || ( >=dev-db/xtrabackup-bin-2.2.4 dev-db/percona-xtrabackup ) ) ) perl? ( >=dev-perl/DBD-mysql-2.9004 ) ~virtual/mysql-5.6[embedded=,static=] virtual/libmysqlclient:0/18[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,static-libs=]
|
||||
RDEPEND=mroonga? ( app-text/groonga-normalizer-mysql ) kerberos? ( virtual/krb5[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) systemd? ( sys-apps/systemd:= ) !bindist? ( sys-libs/binutils-libs:0= >=sys-libs/readline-4.1:0= ) server? ( cracklib? ( sys-libs/cracklib:0= ) extraengine? ( odbc? ( dev-db/unixODBC:0= ) xml? ( dev-libs/libxml2:2= ) ) innodb-lz4? ( app-arch/lz4 ) innodb-lzo? ( dev-libs/lzo ) innodb-snappy? ( app-arch/snappy ) oqgraph? ( >=dev-libs/boost-1.40.0:0= dev-libs/judy:0= ) pam? ( virtual/pam:0= ) tokudb? ( app-arch/snappy ) ) >=dev-libs/libpcre-8.35:3= galera? ( sys-apps/iproute2 =sys-cluster/galera-25* sst-rsync? ( sys-process/lsof ) sst-xtrabackup? ( net-misc/socat[ssl] ) ) perl? ( !dev-db/mytop virtual/perl-Getopt-Long dev-perl/TermReadKey virtual/perl-Term-ANSIColor virtual/perl-Time-HiRes ) server? ( extraengine? ( jdbc? ( >=virtual/jre-1.6 ) ) ) jdbc? ( >=dev-java/java-config-2.2.0-r3 ) kernel_linux? ( sys-process/procps:0= dev-libs/libaio:0= ) >=sys-apps/sed-4 >=sys-apps/texinfo-4.7-r1 !dev-db/mariadb-native-client[mysqlcompat] jemalloc? ( dev-libs/jemalloc:0= ) tcmalloc? ( dev-util/google-perftools:0= ) systemtap? ( >=dev-util/systemtap-1.3:0= ) openssl? ( >=dev-libs/openssl-1.0.0:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,static-libs?] ) libressl? ( dev-libs/libressl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,static-libs?] ) >=sys-libs/zlib-1.2.3:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,static-libs?] sys-libs/ncurses:0= selinux? ( sec-policy/selinux-mysql ) abi_x86_32? ( !app-emulation/emul-linux-x86-db[-abi_x86_32(-)] ) !dev-db/mysql !dev-db/mariadb-galera !dev-db/percona-server !dev-db/mysql-cluster server? ( !prefix? ( dev-db/mysql-init-scripts ) ) !<virtual/mysql-5.6-r4
|
||||
REQUIRED_USE=server? ( tokudb? ( jemalloc ) ) static? ( !pam ) jdbc? ( extraengine server !static ) ^^ ( yassl openssl libressl ) !server? ( !extraengine !embedded ) ?? ( tcmalloc jemalloc ) static? ( !libressl !openssl yassl )
|
||||
RESTRICT=!bindist? ( bindist )
|
||||
SLOT=0/18
|
||||
SRC_URI=https://downloads.mariadb.org/interstitial/mariadb-10.1.21/source/mariadb-10.1.21.tar.gz mirror://gentoo/mysql-extras-20160721-1526Z.tar.bz2 https://gitweb.gentoo.org/proj/mysql-extras.git/snapshot/mysql-extras-20160721-1526Z.tar.bz2 https://dev.gentoo.org/~grknight/distfiles/mysql-extras-20160721-1526Z.tar.bz2 https://dev.gentoo.org/~robbat2/distfiles/mysql-extras-20160721-1526Z.tar.bz2 https://dev.gentoo.org/~jmbsvicetto/distfiles/mysql-extras-20160721-1526Z.tar.bz2
|
||||
_eclasses_=cmake-utils f0c2647fb321257c91c6a967f362d053 eutils ea170b525f6a38a006be05c9d9429f13 flag-o-matic 7366202dd55cb8f018f5d450d54e7749 java-pkg-opt-2 40db73f27fc6458ec2105812a4f261c7 java-utils-2 a50950a73b5d5db46f42638e2996a087 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 multiprocessing 7bb10a841be2368af0c00f27dd67560b mysql-multilib-r1 6a82189013ed0dabf468cfe7c55fef1d prefix 99dcca42e6528d8fe3c214bf5731aaf2 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=dcdd5b31b876f49484303914978aac25
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare test
|
||||
DEPEND=sys-libs/zlib:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ssl? ( dev-libs/openssl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) sys-devel/make >=dev-util/cmake-3.5.2
|
||||
DESCRIPTION=C client library for MariaDB/MySQL
|
||||
EAPI=6
|
||||
HOMEPAGE=https://dev.mysql.com/downloads/connector/c/
|
||||
IUSE=+ssl static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=sys-libs/zlib:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ssl? ( dev-libs/openssl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) !dev-db/mysql[client-libs(+)] !dev-db/mysql-cluster[client-libs(+)] !dev-db/mariadb[client-libs(+)] !dev-db/mariadb-connector-c[mysqlcompat] !dev-db/mariadb-galera[client-libs(+)] !dev-db/percona-server[client-libs(+)]
|
||||
SLOT=0/18
|
||||
SRC_URI=mirror://mysql/Downloads/Connector-C/mysql-connector-c-6.1.9-src.tar.gz
|
||||
_eclasses_=cmake-multilib 273c15f5a0a06438a38bb5c3e98fa2db cmake-utils f0c2647fb321257c91c6a967f362d053 eutils ea170b525f6a38a006be05c9d9429f13 flag-o-matic 7366202dd55cb8f018f5d450d54e7749 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 multiprocessing 7bb10a841be2368af0c00f27dd67560b toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=d44c3aeac498e604fea63e6419a5ecf4
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup
|
||||
DEPEND=virtual/pkgconfig >=sys-devel/autoconf-2.63 test? ( dev-lang/tcl:0= ) luajit? ( dev-lang/luajit:2 ) !luajit? ( >=dev-lang/lua-5.1:* ) tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=A persistent caching system, key-value and data structures database
|
||||
EAPI=6
|
||||
HOMEPAGE=http://redis.io/
|
||||
IUSE=+jemalloc tcmalloc luajit test
|
||||
KEYWORDS=~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris
|
||||
LICENSE=BSD
|
||||
RDEPEND=luajit? ( dev-lang/luajit:2 ) !luajit? ( >=dev-lang/lua-5.1:* ) tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 )
|
||||
REQUIRED_USE=?? ( tcmalloc jemalloc )
|
||||
SLOT=0
|
||||
SRC_URI=http://download.redis.io/releases/redis-3.2.6.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils ea170b525f6a38a006be05c9d9429f13 flag-o-matic 7366202dd55cb8f018f5d450d54e7749 libtool 4890219c51da247200223277f993e054 multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87
|
||||
_md5_=254752ecbcc463ad54228baec98be57d
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup
|
||||
DEPEND=virtual/pkgconfig >=sys-devel/autoconf-2.63 test? ( dev-lang/tcl:0= ) luajit? ( dev-lang/luajit:2 ) !luajit? ( dev-lang/lua:5.1 ) tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=A persistent caching system, key-value and data structures database
|
||||
EAPI=6
|
||||
HOMEPAGE=http://redis.io/
|
||||
IUSE=+jemalloc tcmalloc luajit test
|
||||
KEYWORDS=~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris
|
||||
LICENSE=BSD
|
||||
RDEPEND=luajit? ( dev-lang/luajit:2 ) !luajit? ( dev-lang/lua:5.1 ) tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 )
|
||||
REQUIRED_USE=?? ( tcmalloc jemalloc )
|
||||
SLOT=0
|
||||
SRC_URI=http://download.redis.io/releases/redis-3.2.6.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils ea170b525f6a38a006be05c9d9429f13 flag-o-matic 7366202dd55cb8f018f5d450d54e7749 libtool 4890219c51da247200223277f993e054 multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 user 80aaa71614ced86f02ee1a513821dc87
|
||||
_md5_=7eb7eb40712a71b38492e37575d908ba
|
@ -1,15 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare prerm pretend setup test unpack
|
||||
DEPEND=>=dev-libs/glib-2.26:2 >=dev-util/systemtap-1 media-libs/fontconfig >=media-libs/freetype-2.5.3:2=[infinality?] >=media-libs/lcms-2.5 >=sys-libs/zlib-1.2.3:= virtual/jpeg:0= kerberos? ( virtual/krb5 ) sctp? ( net-misc/lksctp-tools ) smartcard? ( sys-apps/pcsc-lite ) sunec? ( >=dev-libs/nss-3.16.1-r1 ) >=media-libs/alsa-lib-1.0 >=net-print/cups-1.2.12 >=media-libs/giflib-4.1.6:= >=media-libs/libpng-1.2:0= >=x11-libs/libX11-1.1.3 >=x11-libs/libXext-1.1.1 >=x11-libs/libXi-1.1.3 >=x11-libs/libXrender-0.9.4 >=x11-libs/libXtst-1.0.3 x11-libs/libXcomposite >=x11-libs/libXau-1.0.3 >=x11-libs/libXdmcp-1.0.2 >=x11-libs/libXinerama-1.0.2 x11-proto/inputproto >=x11-proto/xextproto-7.1.1 x11-proto/xineramaproto x11-proto/xproto || ( dev-java/icedtea-bin:8 dev-java/icedtea-bin:7 dev-java/icedtea:8 dev-java/icedtea:7 ) app-arch/cpio app-arch/unzip app-arch/zip app-misc/ca-certificates dev-lang/perl !libressl? ( dev-libs/openssl ) libressl? ( dev-libs/libressl ) sys-apps/attr sys-apps/lsb-release x11-libs/libXt virtual/pkgconfig pax_kernel? ( sys-apps/elfix ) >=sys-apps/sed-4 >=dev-java/java-config-2.2.0-r3 >=dev-java/java-config-2.2.0-r3 >=app-eselect/eselect-java-0.2.0
|
||||
DESCRIPTION=A harness to build OpenJDK using Free Software build tools and dependencies
|
||||
EAPI=5
|
||||
HOMEPAGE=http://icedtea.classpath.org
|
||||
IUSE=+alsa cacao +cups doc examples +gtk headless-awt infinality jamvm +jbootstrap kerberos libressl nsplugin pax_kernel +pch pulseaudio sctp selinux shenandoah smartcard +source +sunec test +webstart zero elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~ppc64 ~x86
|
||||
LICENSE=Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C
|
||||
PDEPEND=webstart? ( >=dev-java/icedtea-web-1.6.1:0 ) nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] ) pulseaudio? ( dev-java/icedtea-sound )
|
||||
RDEPEND=>=dev-libs/glib-2.26:2 >=dev-util/systemtap-1 media-libs/fontconfig >=media-libs/freetype-2.5.3:2=[infinality?] >=media-libs/lcms-2.5 >=sys-libs/zlib-1.2.3:= virtual/jpeg:0= kerberos? ( virtual/krb5 ) sctp? ( net-misc/lksctp-tools ) smartcard? ( sys-apps/pcsc-lite ) sunec? ( >=dev-libs/nss-3.16.1-r1 ) !dev-java/icedtea:0 !dev-java/icedtea-web:7 >=gnome-base/gsettings-desktop-schemas-3.12.2 virtual/ttf-fonts alsa? ( >=media-libs/alsa-lib-1.0 ) cups? ( >=net-print/cups-1.2.12 ) gtk? ( >=dev-libs/atk-1.30.0 >=x11-libs/cairo-1.8.8:= x11-libs/gdk-pixbuf:2 >=x11-libs/gtk+-2.8:2= >=x11-libs/pango-1.24.5 ) !headless-awt? ( >=media-libs/giflib-4.1.6:= >=media-libs/libpng-1.2:0= >=x11-libs/libX11-1.1.3 >=x11-libs/libXext-1.1.1 >=x11-libs/libXi-1.1.3 >=x11-libs/libXrender-0.9.4 >=x11-libs/libXtst-1.0.3 x11-libs/libXcomposite ) selinux? ( sec-policy/selinux-java ) >=dev-java/java-config-2.2.0-r3 >=dev-java/java-config-2.2.0-r3 >=app-eselect/eselect-java-0.2.0
|
||||
REQUIRED_USE=gtk? ( !headless-awt )
|
||||
SLOT=8
|
||||
SRC_URI=http://icedtea.classpath.org/download/source/icedtea-3.2.0.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.2.0/openjdk.tar.xz -> icedtea-3.2-openjdk-200203ccf4bb.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.2.0/corba.tar.xz -> icedtea-3.2-corba-9d3757e6da35.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.2.0/jaxp.tar.xz -> icedtea-3.2-jaxp-81c2773fbb0d.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.2.0/jaxws.tar.xz -> icedtea-3.2-jaxws-f57f3ddddff6.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.2.0/jdk.tar.xz -> icedtea-3.2-jdk-0cc71de3df18.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.2.0/hotspot.tar.xz -> icedtea-3.2-hotspot-be4aeaa327f7.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.2.0/nashorn.tar.xz -> icedtea-3.2-nashorn-0fb33c8b64d1.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.2.0/langtools.tar.xz -> icedtea-3.2-langtools-a553c153d376.tar.xz shenandoah? ( http://icedtea.classpath.org/download/drops/icedtea8/3.2.0/shenandoah.tar.xz -> icedtea-3.2-shenandoah-24002f5b584e.tar.xz ) http://icedtea.classpath.org/download/drops/cacao/cacao-c182f119eaad.tar.xz -> icedtea-cacao-c182f119eaad.tar.xz http://icedtea.classpath.org/download/drops/jamvm/jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz -> icedtea-jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz
|
||||
_eclasses_=check-reqs aee25bdf4e2f459af86d17f7c41dcdf6 eutils ea170b525f6a38a006be05c9d9429f13 fdo-mime 92d07846ea8ea54172f8c0112a47ae3d gnome2-utils c6dcdf3a2c22b578b16adb945dc85c35 java-pkg-2 eb1f0d7d874162c70088f5ae32c31ee7 java-utils-2 a50950a73b5d5db46f42638e2996a087 java-vm-2 4fd0e83bad4ea20bac7f73e2e59a0c60 multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing 7bb10a841be2368af0c00f27dd67560b pax-utils 4c2654a34ebe732e85fda354f6ee642f prefix 99dcca42e6528d8fe3c214bf5731aaf2 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=d4d4104845d9d4ad9fd0f8f4fe4dab2a
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare prerm pretend setup test unpack
|
||||
DEPEND=>=dev-libs/glib-2.26:2= >=dev-util/systemtap-1 media-libs/fontconfig:1.0= >=media-libs/freetype-2.5.3:2= >=media-libs/lcms-2.5:2= >=sys-libs/zlib-1.2.3 virtual/jpeg:0= kerberos? ( virtual/krb5 ) sctp? ( net-misc/lksctp-tools ) smartcard? ( sys-apps/pcsc-lite ) sunec? ( >=dev-libs/nss-3.16.1-r1 ) >=media-libs/alsa-lib-1.0 >=net-print/cups-1.2.12 >=media-libs/giflib-4.1.6:0= >=media-libs/libpng-1.2:0= >=x11-libs/libX11-1.1.3 >=x11-libs/libXext-1.1.1 >=x11-libs/libXi-1.1.3 >=x11-libs/libXrender-0.9.4 >=x11-libs/libXtst-1.0.3 x11-libs/libXcomposite >=x11-libs/libXau-1.0.3 >=x11-libs/libXdmcp-1.0.2 >=x11-libs/libXinerama-1.0.2 x11-proto/inputproto >=x11-proto/xextproto-7.1.1 x11-proto/xineramaproto x11-proto/xproto || ( dev-java/icedtea-bin:8 dev-java/icedtea-bin:7 dev-java/icedtea:8 dev-java/icedtea:7 ) app-arch/cpio app-arch/unzip app-arch/zip app-misc/ca-certificates dev-lang/perl !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl:0 ) sys-apps/attr sys-apps/lsb-release x11-libs/libXt virtual/pkgconfig pax_kernel? ( sys-apps/elfix ) >=sys-apps/sed-4 >=dev-java/java-config-2.2.0-r3 >=dev-java/java-config-2.2.0-r3 >=app-eselect/eselect-java-0.2.0
|
||||
DESCRIPTION=A harness to build OpenJDK using Free Software build tools and dependencies
|
||||
EAPI=6
|
||||
HOMEPAGE=http://icedtea.classpath.org
|
||||
IUSE=+alsa cacao +cups doc examples +gtk headless-awt jamvm +jbootstrap kerberos libressl nsplugin pax_kernel +pch pulseaudio sctp selinux shenandoah smartcard +source +sunec test +webstart zero elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~ppc64 ~x86
|
||||
LICENSE=Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C
|
||||
PDEPEND=webstart? ( >=dev-java/icedtea-web-1.6.1:0 ) nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] ) pulseaudio? ( dev-java/icedtea-sound )
|
||||
RDEPEND=>=dev-libs/glib-2.26:2= >=dev-util/systemtap-1 media-libs/fontconfig:1.0= >=media-libs/freetype-2.5.3:2= >=media-libs/lcms-2.5:2= >=sys-libs/zlib-1.2.3 virtual/jpeg:0= kerberos? ( virtual/krb5 ) sctp? ( net-misc/lksctp-tools ) smartcard? ( sys-apps/pcsc-lite ) sunec? ( >=dev-libs/nss-3.16.1-r1 ) !dev-java/icedtea:0 !dev-java/icedtea-web:7 >=gnome-base/gsettings-desktop-schemas-3.12.2 virtual/ttf-fonts alsa? ( >=media-libs/alsa-lib-1.0 ) cups? ( >=net-print/cups-1.2.12 ) gtk? ( >=dev-libs/atk-1.30.0 >=x11-libs/cairo-1.8.8 x11-libs/gdk-pixbuf:2 >=x11-libs/gtk+-2.8:2 >=x11-libs/pango-1.24.5 ) !headless-awt? ( >=media-libs/giflib-4.1.6:0= >=media-libs/libpng-1.2:0= >=x11-libs/libX11-1.1.3 >=x11-libs/libXext-1.1.1 >=x11-libs/libXi-1.1.3 >=x11-libs/libXrender-0.9.4 >=x11-libs/libXtst-1.0.3 x11-libs/libXcomposite ) selinux? ( sec-policy/selinux-java ) >=dev-java/java-config-2.2.0-r3 >=dev-java/java-config-2.2.0-r3 >=app-eselect/eselect-java-0.2.0
|
||||
REQUIRED_USE=gtk? ( !headless-awt )
|
||||
SLOT=8
|
||||
SRC_URI=http://icedtea.classpath.org/download/source/icedtea-3.3.0.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.3.0/openjdk.tar.xz -> icedtea-3.3-openjdk-d5760f7cce54.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.3.0/corba.tar.xz -> icedtea-3.3-corba-8eb9dd5fe2fb.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.3.0/jaxp.tar.xz -> icedtea-3.3-jaxp-faf1c4a9a51d.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.3.0/jaxws.tar.xz -> icedtea-3.3-jaxws-5f5237104669.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.3.0/jdk.tar.xz -> icedtea-3.3-jdk-3642a826880b.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.3.0/hotspot.tar.xz -> icedtea-3.3-hotspot-6efaf77e82a1.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.3.0/nashorn.tar.xz -> icedtea-3.3-nashorn-8c0fe384c4e7.tar.xz http://icedtea.classpath.org/download/drops/icedtea8/3.3.0/langtools.tar.xz -> icedtea-3.3-langtools-d10a13bdc98c.tar.xz shenandoah? ( http://icedtea.classpath.org/download/drops/icedtea8/3.3.0/shenandoah.tar.xz -> icedtea-3.3-shenandoah-d9a978177779.tar.xz ) http://icedtea.classpath.org/download/drops/cacao/cacao-c182f119eaad.tar.xz -> icedtea-cacao-c182f119eaad.tar.xz http://icedtea.classpath.org/download/drops/jamvm/jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz -> icedtea-jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz
|
||||
_eclasses_=check-reqs aee25bdf4e2f459af86d17f7c41dcdf6 eutils ea170b525f6a38a006be05c9d9429f13 fdo-mime 92d07846ea8ea54172f8c0112a47ae3d gnome2-utils c6dcdf3a2c22b578b16adb945dc85c35 java-pkg-2 eb1f0d7d874162c70088f5ae32c31ee7 java-utils-2 a50950a73b5d5db46f42638e2996a087 java-vm-2 4fd0e83bad4ea20bac7f73e2e59a0c60 multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing 7bb10a841be2368af0c00f27dd67560b pax-utils 4c2654a34ebe732e85fda354f6ee642f prefix 99dcca42e6528d8fe3c214bf5731aaf2 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=c567d55a4d1975b9df7ce04cc8e9a673
|
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue