parent
5ffe76fae9
commit
af48c58855
@ -1,4 +1,2 @@
|
||||
DIST sudo-1.8.16.tar.gz 2707358 SHA256 2d83826fc5125bf073acc203dbda1cf2abeee017090ccc9dddb0431a53d5064d SHA512 7cf5399eb65c4b39071213c27c34d35ed2ea9c4578f19f6e8d3777179914fa30a2848c042e9f85e90e3b5d056322b9eb6c79e2d3b9b210a795e9921a1b00200b WHIRLPOOL 747bff26e93475441aab6bb6ff8e51114f8155277d570cbdb28909b7e63a49fcdcf5d65f186a2ec067f1100cac3c0a2e6f3a7611f78d83794f41d6884a8c6fc9
|
||||
DIST sudo-1.8.18p1.tar.gz 2822109 SHA256 e5a0471c721281a693025bbde33ebd9d3db43245d83ab8516bbfc23980379434 SHA512 8dceeb5024c4f94fcc15e75fa2fd164af5e0597734f95df43207738b3258c4d396e102faf2b6811e399f1cdbdbf617b87e5bfcc1e591ea6722f45d81d1098fe5 WHIRLPOOL 094c1232517706a6da4a0548f7ab5c0c7b9e12f8ce584db97d0c4793a38c4044538637f2834b9f3104326bd5b4b826d08ab79b1dc2c5b950de7d7f558685ef7b
|
||||
DIST sudo-1.8.19p1.tar.gz 2860124 SHA256 b8afb1cf8736b6c61f171f2bf4b174818d9e00e92ef73da55fabcd01286ffc92 SHA512 99fd482d34166021210b96959404aec22b4e793d04fd2037f7ca07118a817fe17ce2133662f20b820aa1f409e8f153ee3c1635e775a667dd4c95bcc94bfd6474 WHIRLPOOL a8ae1ac6a1af8b4e23a61efa00372a67fce6d171ef1a13b60a2d93a1326098f016906875a097567002794e1d61d0b45966f12099ac21fa0de5f1db8b54b93a2a
|
||||
DIST sudo-1.8.19p2.tar.gz 2861855 SHA256 237e18e67c2ad59ecacfa4b7707198b09fcf84914621585a9bc670dcc31a52e0 SHA512 21c83403e7ff219a273b2c4873be0d858997558ca150bc8239379a9dfcc587fdd7c0c49cdf4cdc27dfd6dd45f9f089fa034b58bfcee07dceb4a481542251b3fc WHIRLPOOL 550ed115ea711d6ba9aa698cd988295b74327dd770d79b6852f9f3f00a1c0420bbdcce5cc7c49467e0cf8a57fc79dbcfc73edaf3ad697e06ba9fd48919fece0b
|
||||
|
@ -1,200 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils pam multilib libtool
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${MY_P/beta/b}
|
||||
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~sparc-solaris"
|
||||
IUSE="ldap nls pam offensive selinux skey +sendmail"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
sendmail? ( virtual/mta )"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_rootpath() {
|
||||
# FIXME: secure_path is a compile time setting. using ROOTPATH
|
||||
# is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path ..."
|
||||
|
||||
# first extract the default ROOTPATH from build env
|
||||
ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
|
||||
if [[ -z ${ROOTPATH} ]] ; then
|
||||
ewarn " Failed to find ROOTPATH, please report this"
|
||||
fi
|
||||
|
||||
# then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:$thisp
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${ROOTPATH} ; do
|
||||
for e ; do [[ $thisp == $e ]] && continue 2 ; done
|
||||
newpath+=:$thisp
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local ROOTPATH
|
||||
set_rootpath
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
econf \
|
||||
--enable-zlib=system \
|
||||
--with-secure-path="${ROOTPATH}" \
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
$(use_enable nls) \
|
||||
$(use_with pam) \
|
||||
$(use_with skey) \
|
||||
$(use_with selinux) \
|
||||
$(use_with sendmail) \
|
||||
--without-opie \
|
||||
--without-linux-audit \
|
||||
--with-rundir="${EPREFIX}"/var/run/sudo \
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo \
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP
|
||||
dosbin plugins/sudoers/sudoers2ldif
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
|
||||
EOF
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
|
||||
insinto /etc/openldap/schema
|
||||
newins doc/schema.OpenLDAP sudo.schema
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
|
||||
# Don't install into /var/run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${D}"/var/run
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
if use prefix ; then
|
||||
ewarn
|
||||
ewarn "To use sudo, you need to change file ownership and permissions"
|
||||
ewarn "with root privileges, as follows:"
|
||||
ewarn
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
||||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
||||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -1,202 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils pam multilib libtool
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${MY_P/beta/b}
|
||||
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~sparc-solaris"
|
||||
fi
|
||||
IUSE="ldap nls pam offensive selinux skey +sendmail"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
sendmail? ( virtual/mta )"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_rootpath() {
|
||||
# FIXME: secure_path is a compile time setting. using ROOTPATH
|
||||
# is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path ..."
|
||||
|
||||
# first extract the default ROOTPATH from build env
|
||||
ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
|
||||
if [[ -z ${ROOTPATH} ]] ; then
|
||||
ewarn " Failed to find ROOTPATH, please report this"
|
||||
fi
|
||||
|
||||
# then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:$thisp
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${ROOTPATH} ; do
|
||||
for e ; do [[ $thisp == $e ]] && continue 2 ; done
|
||||
newpath+=:$thisp
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local ROOTPATH
|
||||
set_rootpath
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
econf \
|
||||
--enable-zlib=system \
|
||||
--with-secure-path="${ROOTPATH}" \
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
$(use_enable nls) \
|
||||
$(use_with pam) \
|
||||
$(use_with skey) \
|
||||
$(use_with selinux) \
|
||||
$(use_with sendmail) \
|
||||
--without-opie \
|
||||
--without-linux-audit \
|
||||
--with-rundir="${EPREFIX}"/var/run/sudo \
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo \
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP
|
||||
dosbin plugins/sudoers/sudoers2ldif
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
|
||||
EOF
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
|
||||
insinto /etc/openldap/schema
|
||||
newins doc/schema.OpenLDAP sudo.schema
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
|
||||
# Don't install into /var/run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${D}"/var/run
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
if use prefix ; then
|
||||
ewarn
|
||||
ewarn "To use sudo, you need to change file ownership and permissions"
|
||||
ewarn "with root privileges, as follows:"
|
||||
ewarn
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
||||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
||||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST vice-2.4.22.tar.gz 25180343 SHA256 767e00eb9dbd1a9bcc6db8b4cd1697b8bc744b1d507bbac930975ee130378d9d SHA512 b43e609ae2f43717d10e079d3b8ac284e5c4920ed222c7502e9a7b75dfe32784628031ae6cf8672c8d9d50576fb714cecdd1a9292bf53477f4bbd52c10403975 WHIRLPOOL 580de25d739585c0316c91aba44bb17b2cd4cc19f162e3c5e53b8a7a9e3f694e8c5d8d549b232259d5c9ed077549410b220169a3c026ebad55bc7c537922be81
|
||||
DIST vice-2.4.27.tar.gz 25561665 SHA256 ce8b8649308b38f5245490c9df13230d075d3e571b538807d4ca8dd1d53e0b47 SHA512 589b9892f3180db6f169e74b863171f08567045862f2f47cac73ef946e81d55dcde5373fc910cfd1659238669f12ee6ad934c7143c87fad736cda77479439bec WHIRLPOOL 44633477e9ec5bf6b950efa6743647304770a44d58c624b623c992d09735446c79185ca410af60768554b62c0db4675e99c9db1a25c49b3b861860d00a298406
|
||||
DIST vice-2.4.31.tar.gz 25898329 SHA256 4c38685de5f492463cf1b0a570909bfba0dc5c2ffab3218081b630a47118f4a5 SHA512 eebd25fb808b1837ea8d76b1399d3d7ed80a66ae206ea3e0d51fe0fb9df21f3bfeb3fbe353c1022e02754987116e33d4c6888e61448b3250ebefbbfe1b854e94 WHIRLPOOL 0c0b57f452d3299050811874988ac9909f970ae4230b2268ee8285bfb358c8f58702141059b973d862eb4b7d7e5084d77b62b13b5b7a10e8718864b790f00500
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Patch to fix compiling with ffmpeg-3.
|
||||
# Backported from: https://sourceforge.net/p/vice-emu/code/31580/
|
||||
|
||||
--- /src/gfxoutputdrv/ffmpeglib.h
|
||||
+++ /src/gfxoutputdrv/ffmpeglib.h
|
||||
@@ -76,6 +76,14 @@
|
||||
#define AVCodecID CodecID
|
||||
#endif
|
||||
|
||||
+#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(55,17,103)
|
||||
+#define VICE_AV_PIX_FMT_RGB24 PIX_FMT_RGB24
|
||||
+#define VICE_AV_PixelFormat PixelFormat
|
||||
+#else
|
||||
+#define VICE_AV_PIX_FMT_RGB24 AV_PIX_FMT_RGB24
|
||||
+#define VICE_AV_PixelFormat AVPixelFormat
|
||||
+#endif
|
||||
+
|
||||
/* avcodec fucntions */
|
||||
typedef void(*av_init_packet_t)(AVPacket *pkt);
|
||||
typedef int(*avcodec_open2_t)(AVCodecContext*, AVCodec*, AVDictionary **);
|
||||
@@ -118,7 +126,7 @@
|
||||
|
||||
/* swscale functions */
|
||||
typedef struct SwsContext * (*sws_getContext_t)(int srcW, int srcH,
|
||||
- enum PixelFormat srcFormat, int dstW, int dstH, enum PixelFormat dstFormat,
|
||||
+ enum VICE_AV_PixelFormat srcFormat, int dstW, int dstH, enum VICE_AV_PixelFormat dstFormat,
|
||||
int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
|
||||
typedef void (*sws_freeContext_t)(struct SwsContext *swsContext);
|
||||
typedef int (*sws_scale_t)(struct SwsContext *context, uint8_t* srcSlice[],
|
||||
|
||||
--- /src/gfxoutputdrv/ffmpegdrv.c
|
||||
+++ /src/gfxoutputdrv/ffmpegdrv.c
|
||||
@@ -671,8 +671,8 @@
|
||||
picture is needed too. It is then converted to the required
|
||||
output format */
|
||||
video_st.tmp_frame = NULL;
|
||||
- if (c->pix_fmt != PIX_FMT_RGB24) {
|
||||
- video_st.tmp_frame = ffmpegdrv_alloc_picture(PIX_FMT_RGB24, c->width, c->height);
|
||||
+ if (c->pix_fmt != VICE_AV_PIX_FMT_RGB24) {
|
||||
+ video_st.tmp_frame = ffmpegdrv_alloc_picture(VICE_AV_PIX_FMT_RGB24, c->width, c->height);
|
||||
if (!video_st.tmp_frame) {
|
||||
log_debug("ffmpegdrv: could not allocate temporary picture");
|
||||
return -1;
|
||||
@@ -769,9 +769,9 @@
|
||||
|
||||
#ifdef HAVE_FFMPEG_SWSCALE
|
||||
/* setup scaler */
|
||||
- if (c->pix_fmt != PIX_FMT_RGB24) {
|
||||
+ if (c->pix_fmt != VICE_AV_PIX_FMT_RGB24) {
|
||||
sws_ctx = VICE_P_SWS_GETCONTEXT
|
||||
- (video_width, video_height, PIX_FMT_RGB24,
|
||||
+ (video_width, video_height, VICE_AV_PIX_FMT_RGB24,
|
||||
video_width, video_height, c->pix_fmt,
|
||||
SWS_BICUBIC,
|
||||
NULL, NULL, NULL);
|
||||
@@ -948,7 +948,7 @@
|
||||
|
||||
c = video_st.st->codec;
|
||||
|
||||
- if (c->pix_fmt != PIX_FMT_RGB24) {
|
||||
+ if (c->pix_fmt != VICE_AV_PIX_FMT_RGB24) {
|
||||
ffmpegdrv_fill_rgb_image(screenshot, video_st.tmp_frame);
|
||||
|
||||
if (sws_ctx != NULL) {
|
@ -0,0 +1,174 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit autotools eutils toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="The Versatile Commodore 8-bit Emulator"
|
||||
HOMEPAGE="http://vice-emu.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
|
||||
|
||||
# upstream says gtk3 and sdl2 shouldn't be exposed yet.
|
||||
#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
|
||||
REQUIRED_USE="?? ( gtk sdl )"
|
||||
|
||||
GTK_COMMON="
|
||||
x11-libs/pango
|
||||
x11-libs/cairo"
|
||||
# gtk3? (
|
||||
# x11-libs/gtk+:3
|
||||
# vte? ( x11-libs/vte:2.90 )
|
||||
# ${GTK_COMMON}
|
||||
# )
|
||||
RDEPEND="
|
||||
virtual/jpeg:0
|
||||
virtual/opengl
|
||||
media-libs/giflib
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
sdlsound? ( media-libs/libsdl[sound] )
|
||||
ethernet? (
|
||||
>=net-libs/libpcap-0.9.8
|
||||
>=net-libs/libnet-1.1.2.1:1.1
|
||||
)
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
lame? ( media-sound/lame )
|
||||
nls? ( virtual/libintl )
|
||||
png? ( media-libs/libpng:0 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
sdl? (
|
||||
media-libs/libsdl[joystick,video]
|
||||
)
|
||||
!sdl? (
|
||||
fullscreen? (
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXxf86vm )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
sys-libs/readline:0
|
||||
)
|
||||
gtk? (
|
||||
x11-libs/gtk+:2
|
||||
vte? ( x11-libs/vte:0 )
|
||||
x11-libs/gtkglext
|
||||
${GTK_COMMON}
|
||||
)
|
||||
!sdl? ( !gtk? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libXv
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( x11-libs/libXaw )
|
||||
) )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
!sdl? (
|
||||
fullscreen? ( x11-proto/xf86vidmodeproto )
|
||||
!gtk? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
)
|
||||
)
|
||||
x11-apps/bdftopcf
|
||||
x11-apps/mkfontdir
|
||||
x11-proto/xproto
|
||||
x11-proto/xextproto
|
||||
media-libs/fontconfig
|
||||
x11-proto/videoproto
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
PATCH=(
|
||||
"${FILESDIR}"/${P}-autotools.patch
|
||||
)
|
||||
#"${FILESDIR}"/vice_rath.txt
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e 's/building//' \
|
||||
doc/Makefile.am || die
|
||||
sed -i \
|
||||
-e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
|
||||
doc/Makefile.am \
|
||||
doc/readmes/Makefile.am || die
|
||||
sed -i \
|
||||
-e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
|
||||
doc/html/Makefile.am || die
|
||||
sed -i \
|
||||
-e "s:/usr/local/lib/VICE:/usr/$(get_libdir)/${PN}:" \
|
||||
man/vice.1 \
|
||||
$(grep -rl --exclude="*texi" /usr/local/lib doc) || die
|
||||
sed -i \
|
||||
-e "/VICEDIR=/s:=.*:=\"/usr/$(get_libdir)/${PN}\";:" \
|
||||
configure.ac || die
|
||||
sed -i \
|
||||
-e "s:\(#define LIBDIR \).*:\1\"/usr/$(get_libdir)/${PN}\":" \
|
||||
-e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
|
||||
src/arch/unix/archdep.h \
|
||||
src/arch/sdl/archdep_unix.h || die
|
||||
rm -rf src/lib/{libffmpeg,liblame} || die
|
||||
sed -i \
|
||||
-e '/SUBDIRS/s/libffmpeg//;' \
|
||||
-e '/SUBDIRS/s/liblame//;' \
|
||||
src/lib/Makefile.am || die
|
||||
AT_NO_RECURSIVE=1 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local gui_arg snd_arg
|
||||
|
||||
snd_arg+=" $(use_with alsa)"
|
||||
snd_arg+=" $(use_with oss)"
|
||||
snd_arg+=" $(use_with pulseaudio pulse)"
|
||||
snd_arg+=" $(use_with sdlsound)"
|
||||
|
||||
gui_arg+=" $(use_enable sdl sdlui)"
|
||||
# The gtk UI code has raw calls to XOpenDisplay and
|
||||
# is missing -lX11 if vte doesn't pull it in.
|
||||
#if use gtk2 || use gtk3 ; then
|
||||
if use gtk ; then
|
||||
use vte || append-libs -lX11
|
||||
fi
|
||||
gui_arg+=" $(use_enable gtk gnomeui)"
|
||||
#gui_arg+=" $(use_enable gtk3 gnomeui3)"
|
||||
gui_arg+=" $(use_enable Xaw3d xaw3d)"
|
||||
|
||||
# --with-readline is forced to avoid using the embedded copy
|
||||
# don't try to actually run fc-cache (bug #280976)
|
||||
FCCACHE=/bin/true \
|
||||
PKG_CONFIG=$(tc-getPKG_CONFIG) \
|
||||
econf \
|
||||
--enable-parsid \
|
||||
--with-resid \
|
||||
--with-readline \
|
||||
--without-arts \
|
||||
--without-midas \
|
||||
$(use_enable ethernet) \
|
||||
$(use_enable ffmpeg) \
|
||||
$(use_enable ffmpeg external-ffmpeg) \
|
||||
$(use_enable fullscreen) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable lame) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable vte) \
|
||||
$(use_with png) \
|
||||
$(use_with threads uithreads) \
|
||||
$(use_with zlib) \
|
||||
${gui_arg} \
|
||||
${snd_arg} \
|
||||
--disable-option-checking
|
||||
# --disable-option-checking has to be last
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="FEEDBACK"
|
||||
default
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST innotop-1.11.1.tar.gz 178295 SHA256 c93a4fb496ce1749aaaf0a70f0899ed1fa1aa5cd231208b6b3424285c77dc1b7 SHA512 49654e8ed81f5690c7e80fb169ad514caedb8d62e22bddc12cc234701875bc8ca7e2cc79061c10557d63dadbb40f2328a58b38dcf8aa60469c0c1558dbf0bed9 WHIRLPOOL 5b6162973be67821f46d580425a2ee23877687365cd6b87ca55c84d30115e02ce85197eacc80d30690f9523b711d16bcae9d87696eb78c10b8ea5db233948bb9
|
||||
DIST innotop-1.9.0.tar.gz 143179 SHA256 bc2669ea88fb728c6c4ed9c695c4d0b7b9ae5df0f158ef23e8853694bf4f240a SHA512 a3fe26b7e9e4a4608f6ef68e8cfefca080fd5799cc7780ffadd0b6bd0a0cfd035561bf6c10436f556b8fc79726304cae408343a231a57d02c74e3bd29b941a17 WHIRLPOOL 76226828f8c91608b03d49802cc082a77b552f7a482ab2186e71a4f9fb56662d17d4ee04c5187df78ca68a733ca4a710b3d6156e0b028375576c8abb9b7effd8
|
||||
DIST innotop-1.9.1.tar.gz 147677 SHA256 117e5af58a83af79b6cf99877b25b1479197597be5a7d51b245a0ad9c69f4d3d SHA512 5c19891fc8df2cbf15f0df1af68501624ccb9d79c22a786e3a5fa4aa527be964392131da095a529f628c50528b196070f35009a49c9a87ae9f8bb2f4062e5ab5 WHIRLPOOL b06b4c720333f433408d3f97355ad319aa3897bffa3f71da18462eb74e1d2065a60a0e91f55c26f37bb624530e18cf3e9acf4fdf7bb245e8555987eab3dee617
|
||||
DIST innotop-1.11.4.tar.gz 179683 SHA256 fb0d7d2558e2198d9224b44dc4220d4c62e1b5b0069312012306275be39b4ab9 SHA512 678d57074fd4fc87c93032052b87dc187cfe273e99fef8ec8f93131f8d885613bacda7b900f56e7572a6cc51c36c26fe1968e55dd1736b8509fb6e269c9d2aff WHIRLPOOL 7f80d74c0e05a3d1dcc7285714ce97ef4f90c4b978519d2117b1be7fcb590f52c488f041f718016b08e6bf8a87abee99228628d2c0588ef35afe668b2ae22ed1
|
||||
|
@ -1,25 +1,27 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI="6"
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A text-mode MySQL and InnoDB monitor like mytop, but with many more features"
|
||||
HOMEPAGE="https://github.com/innotop/innotop"
|
||||
SRC_URI="https://innotop.googlecode.com/files/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/innotop/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-perl/DBD-mysql
|
||||
DEPEND="dev-perl/DBI
|
||||
dev-perl/DBD-mysql
|
||||
dev-perl/TermReadKey
|
||||
virtual/perl-Term-ANSIColor
|
||||
virtual/perl-Time-HiRes"
|
||||
SRC_TEST="do"
|
||||
|
||||
DIST_TEST="do parallel"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A text-mode MySQL and InnoDB monitor like mytop, but with many more features"
|
||||
HOMEPAGE="https://github.com/innotop/innotop"
|
||||
SRC_URI="https://innotop.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-perl/DBD-mysql
|
||||
dev-perl/TermReadKey
|
||||
virtual/perl-Term-ANSIColor
|
||||
virtual/perl-Time-HiRes"
|
||||
SRC_TEST="do"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST phpMyAdmin-4.0.10.18-all-languages.tar.xz 4769668 SHA256 7c57c21ccb0d913bdd6ee1d57cfd9887204e1be8546595c5957b7d475c59b6d7 SHA512 f81cf0d952ec9777189072f490e9e1409610353bb29355772890f7f5681fd80da771c546d1109a59068fc120a3408f0d0a6101f6d57724e67cd40b9d648d47be WHIRLPOOL 16d557cf3a0d57f8e36f288a1be50632348b552decf866b6b7abf76203ecdc1839559820ba6550309b31b37cbce4e5774185348be1210f00ca235648de85042b
|
||||
DIST phpMyAdmin-4.0.10.19-all-languages.tar.xz 4762856 SHA256 221bfb2d3d001a44e6b19398d927ccf9f71470b3d139e111ffa1ffa62c76b232 SHA512 276c6d807366c461836c1ab70945f7793778a84ff176fcb2860b5aa45f4dd1a34f41c0e96afb491c626f9a8628903d4b181d9a2b7f89f983416dbb0563af6d35 WHIRLPOOL bf9ab4913d797aa1e6474228459472933c09a2b1040aa1475d3357158e5795cae0faccfaf34fd32b6b52dea27856add7a730d631c1ef2c755b09156e8dd58684
|
||||
DIST phpMyAdmin-4.6.5.1-all-languages.tar.xz 6162164 SHA256 e163b08b6d1137fd7c48ea97e8e53be415b1937f5e5f7e070936a60c3b9a3df0 SHA512 e6f90af32b77785ff49d9be4033e29e5b64df84d1a37dbe214df9049ef25ecfaee8e443aa9b789c408993541ea85c8e670b350071bd7f3437711462e164afad8 WHIRLPOOL 7e4f5d8e214192c33700b321343510f23f772c5c1a322749c2aded037be9b5743899fd67965743c5498615ae4cf73d0d2d5954ddd11c71b63724e2225ab3f200
|
||||
DIST phpMyAdmin-4.6.5.2-all-languages.tar.xz 6136880 SHA256 8cb549c0cd04ecaa3b2a8d9315e7c88528603fa6fe91057b13173f6afba80894 SHA512 10fecd5f313b3685b3d4d7c86b20e9466abc54298267f2ed41cf81096fae5bf8472860ac3ebd5ecba8644b43f69eaf944625a8a12beaba637bcefba0940f3a11 WHIRLPOOL e9de7fcbc50c0b3ea37f7e2dee1290340abd23211248285b36513459dc8c761a95be47a41698de34a4728afd653d87aa214367d162fef820f6a73413ff1ccf9b
|
||||
DIST phpMyAdmin-4.6.6-all-languages.tar.xz 6147904 SHA256 b7b9e0f88ca740fcba249e7e3e7d51d1923b038b7742cde72de193a2b0a2654f SHA512 7bd18b83f205604dc653ef2daffb22d0bf99a4e2a7960958fb1687daf2a800a76e34477748c6239394e99ab060e789971b73cf8e66adb3182f1b17002345c054 WHIRLPOOL a18f525b999c855d5dfb48371c40957460bb3a361445d856d05f7348d23cea1392a53f11e99b0199878616e33a529c602639f9ba212f866df89490b32f552f87
|
||||
DIST phpMyAdmin-4.7.0-beta1-all-languages.tar.xz 5678136 SHA256 afe5e42e2b60f0a9371e26946a84a02800f2107805bfd615f47aa82d015cc55d SHA512 49c4c1006580b56a379defcbd9ba140557511a06af0b86792ee32383db400bcc5e2050b14f40698735a9972a1ca197ab7678524d1c7ac0dc96d2649b5eb7bba4 WHIRLPOOL caa053dd7da1de834744d4d4b86bf817d4922b0c749ffbf557c1f18032065785af974072f3b575fa58c1ae35a02fb5eb9389ac8abc9e274102532a0c94fbf34d
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils webapp
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_PN="phpMyAdmin"
|
||||
MY_P="${MY_PN}-${MY_PV}-all-languages"
|
||||
|
||||
DESCRIPTION="Web-based administration for MySQL database in PHP"
|
||||
HOMEPAGE="https://www.phpmyadmin.net/"
|
||||
SRC_URI="https://files.phpmyadmin.net/${MY_PN}/${MY_PV}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="setup"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php[crypt,ctype,filter,json,session,unicode]
|
||||
|| (
|
||||
dev-lang/php[mysqli]
|
||||
dev-lang/php[mysql]
|
||||
)
|
||||
virtual/httpd-php:*
|
||||
"
|
||||
|
||||
need_httpd_cgi
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
webapp_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc README RELEASE-DATE-${MY_PV} ChangeLog || die
|
||||
rm -f LICENSE README* RELEASE-DATE-${MY_PV}
|
||||
|
||||
if ! use setup; then
|
||||
rm -rf setup || die "Cannot remove setup utility"
|
||||
elog "The phpMyAdmin setup utility has been removed."
|
||||
elog "It is a regular target of various exploits. If you need it, set USE=setup."
|
||||
else
|
||||
elog "You should consider disabling the setup USE flag"
|
||||
elog "to exclude the setup utility if you don't use it."
|
||||
elog "It regularly is the target of various exploits."
|
||||
fi
|
||||
|
||||
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
|
||||
doins -r .
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt
|
||||
webapp_src_install
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
http://icculus.org/pipermail/physfs/2017-January/001217.html
|
||||
|
||||
diff -r 34ebe997c5c0 archivers/zip.c
|
||||
--- a/archivers/zip.c Fri Jan 01 12:53:41 2016 -0500
|
||||
+++ b/archivers/zip.c Wed Jan 25 20:56:26 2017 +0300
|
||||
@@ -327,7 +327,8 @@
|
||||
return(0);
|
||||
|
||||
inflateEnd(&finfo->stream);
|
||||
- memcpy(&finfo->stream, &str, sizeof (z_stream));
|
||||
+ inflateCopy(&finfo->stream, &str);
|
||||
+ inflateEnd(&str);
|
||||
finfo->uncompressed_position = finfo->compressed_position = 0;
|
||||
} /* if */
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="Abstraction layer for filesystem and archive access"
|
||||
HOMEPAGE="http://icculus.org/physfs/"
|
||||
SRC_URI="http://icculus.org/physfs/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="doc grp hog mvl qpak static-libs wad +zip"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-zip_seek.diff"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e 's:-Werror::' CMakeLists.txt || die
|
||||
# make sure these libs aren't used
|
||||
rm -rf lzma zlib*
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPHYSFS_ARCHIVE_7Z=OFF
|
||||
-DPHYSFS_BUILD_SHARED=ON
|
||||
-DPHYSFS_BUILD_TEST=OFF
|
||||
-DPHYSFS_BUILD_WX_TEST=OFF
|
||||
-DPHYSFS_INTERNAL_ZLIB=OFF
|
||||
-DPHYSFS_BUILD_STATIC="$(usex static-libs)"
|
||||
-DPHYSFS_ARCHIVE_GRP="$(usex grp)"
|
||||
-DPHYSFS_ARCHIVE_HOG="$(usex hog)"
|
||||
-DPHYSFS_ARCHIVE_MVL="$(usex mvl)"
|
||||
-DPHYSFS_ARCHIVE_WAD="$(usex wad)"
|
||||
-DPHYSFS_ARCHIVE_QPAK="$(usex qpak)"
|
||||
-DPHYSFS_ARCHIVE_ZIP="$(usex zip)"
|
||||
)
|
||||
|
||||
cmake-multilib_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-multilib_src_compile
|
||||
|
||||
if multilib_is_native_abi && use doc ; then
|
||||
doxygen || die "doxygen failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( CHANGELOG.txt CREDITS.txt TODO.txt )
|
||||
local HTML_DOCS=$(usex doc 'docs/html/*' '')
|
||||
|
||||
cmake-multilib_src_install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST mmix-20131017.tgz 308016 SHA256 aa64c4b9dc3cf51f07b330791f8ce542b0ae8a1132e098fa95a19b31350050b4 SHA512 e816b1ee9205b9f4a2e25ff183c48736ea66e63721a49f0b574850c5872ae85a6e847d802a01b5aa120ac969638d5d05e9b3135512d9362a4d672564f1228922 WHIRLPOOL e93f29e0a640e219ee2ded0034cbf300e9f6deed2bf9ed04081406cdfaaa952e0b3566525b86e35dfb480288e0ceef1744fefdc533ad0126952603cd698bbb6a
|
||||
DIST mmix-20160804.tgz 308410 SHA256 fad8e64fddf2d75cbcd5080616b47e11a2d292a428cdb0c12e579be680ecdee9 SHA512 35c518227a4ee40d0aa3be02eda2ab8b2a27696fa789f5007a978419d07b3deebb7f391895e63e3556aeb38dc1ded3bddf2b860125ebf8f7848375e90dc7af75 WHIRLPOOL 177cc9d3b2426a554628b5487fd7ff9b8098a9292c2f2a14087df526b1af22c4388fa0e812486affd4d07f11ce386a9426ab4729f39b3821a97008e46396a5bd
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Donald Knuth's MMIX Assembler and Simulator"
|
||||
HOMEPAGE="http://www-cs-faculty.stanford.edu/~knuth/mmix.html http://mmix.cs.hm.edu"
|
||||
SRC_URI="http://mmix.cs.hm.edu/src/${P}.tgz"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND="virtual/tex-base
|
||||
doc? ( dev-texlive/texlive-genericrecommended )"
|
||||
RDEPEND=""
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="${PN}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-20110420-makefile.patch
|
||||
"${FILESDIR}"/${PN}-20131017-format-security.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake all \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
CC="$(tc-getCC)"
|
||||
|
||||
if use doc ; then
|
||||
emake doc
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dobin ${PN} ${PN}al m${PN} mmotype abstime
|
||||
dodoc README ${PN}.1
|
||||
|
||||
if use doc ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins *.ps
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST appstream-0.10.5.tar.gz 1797978 SHA256 b3f17f49c4ad7a503954f7baee16f47ba0f845c5e684798b1109db881bba2a06 SHA512 c427234049c8e8e158a7d64dc2dab6c3ea155dfe6fc0df1c2a5cd5ab611c65e36bf86ac57de69eb3dcff5ed5f71f37aef5d239e356e8e0a7a4fa763f246efb14 WHIRLPOOL bc127f66a20df1a946cdf64e66c6e4e3ea4c50653f174d6afc6f7eaa136d55352c7df2bb178ce452100ba95ab59304009546f5515f11221145b5be4274eb6841
|
||||
DIST appstream-0.10.6.tar.gz 1821879 SHA256 cac8f86a375eda4df06375732af80f2bb7e8682ea0d1e72ddd9e20e9c84b9444 SHA512 9f8b4ddc39d580c62b166df0d9a2c5e4caac1b433d25a4e9118b7c73ceea5c7b1ff78f02d682a68cdfeb8da29e806a4838cfc11637fca2982f436af333605256 WHIRLPOOL d895df7b6682eb2834ee24504e5bb7924a492317800094282eb38ad17a28995d9dcbde4925522272dacf6cff738847d333eb00d1f86c8c088baf257da74c505b
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_AUTODEPS="false"
|
||||
KDE_TEST="forceoptional-recursive"
|
||||
inherit kde5 xdg-utils
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = live ]]; then
|
||||
EGIT_REPO_URI="https://github.com/ximion/${PN}"
|
||||
else
|
||||
inherit versionator
|
||||
MY_PV="$(replace_all_version_separators '_')"
|
||||
MY_P="APPSTREAM_${MY_PV}"
|
||||
SRC_URI="https://github.com/ximion/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
S="${WORKDIR}/${PN}-${MY_P}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/"
|
||||
|
||||
LICENSE="LGPL-2.1+ GPL-2+"
|
||||
# check APPSTREAM_LIB_API_LEVEL
|
||||
SLOT="0/4"
|
||||
IUSE="apt doc qt5"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libyaml
|
||||
dev-libs/snowball-stemmer
|
||||
qt5? ( dev-qt/qtcore:5 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
dev-util/itstool
|
||||
sys-devel/gettext
|
||||
test? (
|
||||
qt5? ( dev-qt/qttest:5 )
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
xdg_environment_reset
|
||||
|
||||
local mycmakeargs=(
|
||||
-DSTEMMING=ON
|
||||
-DL18N=ON
|
||||
-DVAPI=OFF
|
||||
-DMAINTAINER=OFF
|
||||
-DSANITIZERS=OFF
|
||||
-DDOCUMENTATION=OFF
|
||||
-DAPT_SUPPORT=$(usex apt)
|
||||
-DINSTALL_PREBUILT_DOCS=$(usex doc)
|
||||
-DQT=$(usex qt5)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libb64-1.2.1.zip 23316 SHA256 20106f0ba95cfd9c35a13c71206643e3fb3e46512df3e2efb2fdbf87116314b2 SHA512 8b1e5c8086a38be82471b5f37393f3f236c923f4a2bb737209a297cbab32a9f0a5c4af4ac912c695f0f7d8ff9458d97ce0d01092fbacbfe7181e4fd816e2153d WHIRLPOOL c31b8581adaa8516527f35e63aafe8ca93a6cef783fe416063cee2313bcc6ae41b7dd8efd75bba778954cafeaad250090b18df706ba349b684c84908387abe26
|
||||
DIST libb64-1.2.src.zip 16063 SHA256 343d8d61c5cbe3d3407394f16a5390c06f8ff907bd8d614c16546310b689bfd3 SHA512 ac041c78bf324a027e311fb10935886f8713f9b6ac53136396186a5b5fd936efdf6add715899827591bdf6d3727f6e27f680bc273c7634517cc2e1941140f596 WHIRLPOOL 4dfd317674dfe9daa7832bbddb3e668e83a11d216aa8fd05d3cb8b9697397c73183aadc0c8124e68f0397bf64cb1c9e819abd216ede4bf3d7f85176c05c8cf35
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Fast Base64 encoding/decoding routines"
|
||||
HOMEPAGE="http://libb64.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="CC-PD"
|
||||
# static library, so always rebuild
|
||||
SLOT="0/${PVR}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
src_compile() {
|
||||
# override -O3, -Werror non-sense
|
||||
emake -C src CFLAGS="${CFLAGS} -I../include"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib src/libb64.a
|
||||
insinto /usr/include
|
||||
doins -r include/b64
|
||||
dodoc AUTHORS BENCHMARKS CHANGELOG README
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST miniupnpc-1.8.tar.gz 70624 SHA256 bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c SHA512 8eedac9ad473fc952ca8896fe534d6da6b1b234e8b6f35f721394d4c71aca84ed287ca6c4f0455b50d97a45e4cd34e27d99a6813386e0864781364aa607e13d4 WHIRLPOOL 5b76ccbb5ed7daa9bb0d481b424b7c31a5f6dc85c5c812ba10175a29aefc0d3924f3db2aa8c3529d1241be59d67d1d4c702d27aad2de8c8a07fecf3857d73169
|
||||
DIST miniupnpc-1.9.20150917.tar.gz 82609 SHA256 3087c32929c1e9db4947d6a184694e06ec604bca29449b75daec295a5d8f11da SHA512 1fe2613d19cbd16b6f6e9c8205e984548fb96d032a71a849f9b25486dc71b07ee270d2bfc324f218abe80c45f0b13b6af00e59cbf3a9e35b83ea5073bb897f65 WHIRLPOOL 60d0e9c94ddf8ef19106217158d01cc2f3edb854f34326c80c6ae694b65b80f1bc6810cc2b24a7b8525ef7c3982324c9859bdbdcb2e2e944747c371ba2015a6a
|
||||
DIST miniupnpc-1.9.20151008.tar.gz 83538 SHA256 e444ac3b587ce82709c4d0cfca1fe71f44f9fc433e9f946b12b9e1bfe667a633 SHA512 b13e6044184f47d0f9e78c4c97d2887ab763121b2b21c86652bf3ea1b05335cfbcfd91eecb8d1dcfb5530f2528e6cf3e9c49c742d5e771dba68a774d2c2ad4ca WHIRLPOOL 839b531eb6cae7ada0bbaa0c4230a1f6889f6a288a114262bf6e27aa27638800636127fea3066427fb030e8f449794681d2bffeb8e2d30876d8ef9e4a3ade3cc
|
||||
DIST miniupnpc-2.0.20161216.tar.gz 85780 SHA256 01e14408d6fc628de9afabc4417b84adeaba4c0ec517e7b8e278cb2993dafd3e SHA512 ed1413fa6cd8eeb0d01e595e5470b255b1119a9bcf28da17765a4a3f0eb2b514409a9bfe9cd041274761b61441389c290754055ff07d599bb653a4efe47e920f WHIRLPOOL fde2dc16f5cfd6e7d066ec49646ac79b6d262988afe928d80aaf47f6b7f868a272ac46d3136c56ed8373e800d1538fe4dd6c34255080e2bd01cc0cb8b56e37fc
|
||||
|
@ -0,0 +1,90 @@
|
||||
From 095e90929d114e4b6cece67cb405741c14747356 Mon Sep 17 00:00:00 2001
|
||||
From: Jamie Lennox <jamielennox@gmail.com>
|
||||
Date: Wed, 28 Sep 2016 15:03:53 +1000
|
||||
Subject: [PATCH] Filter token data out of catch_errors middleware
|
||||
|
||||
If an exception is caught by the catch_errors middleware the entire
|
||||
request is dumped into the log including sensitive information like
|
||||
tokens. Filter that information before outputting the failed request.
|
||||
|
||||
Closes-Bug: #1628031
|
||||
Change-Id: I2563403993513c37751576223275350cac2e0937
|
||||
---
|
||||
oslo_middleware/catch_errors.py | 6 +++++-
|
||||
oslo_middleware/tests/test_catch_errors.py | 25 +++++++++++++++++++++++++
|
||||
2 files changed, 30 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/oslo_middleware/catch_errors.py b/oslo_middleware/catch_errors.py
|
||||
index 43d085f..0934fc5 100644
|
||||
--- a/oslo_middleware/catch_errors.py
|
||||
+++ b/oslo_middleware/catch_errors.py
|
||||
@@ -14,6 +14,7 @@
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
+import re
|
||||
|
||||
import webob.dec
|
||||
import webob.exc
|
||||
@@ -24,6 +25,8 @@ from oslo_middleware import base
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
+_TOKEN_RE = re.compile('^(X-\w+-Token):.*$', flags=re.MULTILINE)
|
||||
+
|
||||
|
||||
class CatchErrors(base.ConfigurableMiddleware):
|
||||
"""Middleware that provides high-level error handling.
|
||||
@@ -37,7 +40,8 @@ class CatchErrors(base.ConfigurableMiddleware):
|
||||
try:
|
||||
response = req.get_response(self.application)
|
||||
except Exception:
|
||||
+ req_str = _TOKEN_RE.sub(r'\1: <removed>', req.as_text())
|
||||
LOG.exception(_LE('An error occurred during '
|
||||
- 'processing the request: %s'), req)
|
||||
+ 'processing the request: %s'), req_str)
|
||||
response = webob.exc.HTTPInternalServerError()
|
||||
return response
|
||||
diff --git a/oslo_middleware/tests/test_catch_errors.py b/oslo_middleware/tests/test_catch_errors.py
|
||||
index 920bbe2..0b675e2 100644
|
||||
--- a/oslo_middleware/tests/test_catch_errors.py
|
||||
+++ b/oslo_middleware/tests/test_catch_errors.py
|
||||
@@ -13,6 +13,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
+import fixtures
|
||||
import mock
|
||||
from oslotest import base as test_base
|
||||
import webob.dec
|
||||
@@ -45,3 +46,27 @@ class CatchErrorsTest(test_base.BaseTestCase):
|
||||
self._test_has_request_id(application,
|
||||
webob.exc.HTTPInternalServerError.code)
|
||||
self.assertEqual(1, log_exc.call_count)
|
||||
+
|
||||
+ def test_filter_tokens_from_log(self):
|
||||
+ logger = self.useFixture(fixtures.FakeLogger(nuke_handlers=False))
|
||||
+
|
||||
+ @webob.dec.wsgify
|
||||
+ def application(req):
|
||||
+ raise Exception()
|
||||
+
|
||||
+ app = catch_errors.CatchErrors(application)
|
||||
+ req = webob.Request.blank('/test',
|
||||
+ text=u'test data',
|
||||
+ method='POST',
|
||||
+ headers={'X-Auth-Token': 'secret1',
|
||||
+ 'X-Service-Token': 'secret2',
|
||||
+ 'X-Other-Token': 'secret3'})
|
||||
+ res = req.get_response(app)
|
||||
+ self.assertEqual(500, res.status_int)
|
||||
+
|
||||
+ output = logger.output
|
||||
+
|
||||
+ self.assertIn('X-Auth-Token: <removed>', output)
|
||||
+ self.assertIn('X-Service-Token: <removed>', output)
|
||||
+ self.assertIn('X-Other-Token: <removed>', output)
|
||||
+ self.assertIn('test data', output)
|
||||
--
|
||||
2.7.4
|
||||
|
@ -0,0 +1,90 @@
|
||||
From 095e90929d114e4b6cece67cb405741c14747356 Mon Sep 17 00:00:00 2001
|
||||
From: Jamie Lennox <jamielennox@gmail.com>
|
||||
Date: Wed, 28 Sep 2016 15:03:53 +1000
|
||||
Subject: [PATCH] Filter token data out of catch_errors middleware
|
||||
|
||||
If an exception is caught by the catch_errors middleware the entire
|
||||
request is dumped into the log including sensitive information like
|
||||
tokens. Filter that information before outputting the failed request.
|
||||
|
||||
Closes-Bug: #1628031
|
||||
Change-Id: I2563403993513c37751576223275350cac2e0937
|
||||
---
|
||||
oslo_middleware/catch_errors.py | 6 +++++-
|
||||
oslo_middleware/tests/test_catch_errors.py | 25 +++++++++++++++++++++++++
|
||||
2 files changed, 30 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/oslo_middleware/catch_errors.py b/oslo_middleware/catch_errors.py
|
||||
index 43d085f..0934fc5 100644
|
||||
--- a/oslo_middleware/catch_errors.py
|
||||
+++ b/oslo_middleware/catch_errors.py
|
||||
@@ -14,6 +14,7 @@
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
+import re
|
||||
|
||||
import webob.dec
|
||||
import webob.exc
|
||||
@@ -24,6 +25,8 @@ from oslo_middleware import base
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
+_TOKEN_RE = re.compile('^(X-\w+-Token):.*$', flags=re.MULTILINE)
|
||||
+
|
||||
|
||||
class CatchErrors(base.ConfigurableMiddleware):
|
||||
"""Middleware that provides high-level error handling.
|
||||
@@ -37,7 +40,8 @@ class CatchErrors(base.ConfigurableMiddleware):
|
||||
try:
|
||||
response = req.get_response(self.application)
|
||||
except Exception:
|
||||
+ req_str = _TOKEN_RE.sub(r'\1: <removed>', req.as_text())
|
||||
LOG.exception(_LE('An error occurred during '
|
||||
- 'processing the request: %s'), req)
|
||||
+ 'processing the request: %s'), req_str)
|
||||
response = webob.exc.HTTPInternalServerError()
|
||||
return response
|
||||
diff --git a/oslo_middleware/tests/test_catch_errors.py b/oslo_middleware/tests/test_catch_errors.py
|
||||
index 920bbe2..0b675e2 100644
|
||||
--- a/oslo_middleware/tests/test_catch_errors.py
|
||||
+++ b/oslo_middleware/tests/test_catch_errors.py
|
||||
@@ -13,6 +13,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
+import fixtures
|
||||
import mock
|
||||
from oslotest import base as test_base
|
||||
import webob.dec
|
||||
@@ -45,3 +46,27 @@ class CatchErrorsTest(test_base.BaseTestCase):
|
||||
self._test_has_request_id(application,
|
||||
webob.exc.HTTPInternalServerError.code)
|
||||
self.assertEqual(1, log_exc.call_count)
|
||||
+
|
||||
+ def test_filter_tokens_from_log(self):
|
||||
+ logger = self.useFixture(fixtures.FakeLogger(nuke_handlers=False))
|
||||
+
|
||||
+ @webob.dec.wsgify
|
||||
+ def application(req):
|
||||
+ raise Exception()
|
||||
+
|
||||
+ app = catch_errors.CatchErrors(application)
|
||||
+ req = webob.Request.blank('/test',
|
||||
+ text=u'test data',
|
||||
+ method='POST',
|
||||
+ headers={'X-Auth-Token': 'secret1',
|
||||
+ 'X-Service-Token': 'secret2',
|
||||
+ 'X-Other-Token': 'secret3'})
|
||||
+ res = req.get_response(app)
|
||||
+ self.assertEqual(500, res.status_int)
|
||||
+
|
||||
+ output = logger.output
|
||||
+
|
||||
+ self.assertIn('X-Auth-Token: <removed>', output)
|
||||
+ self.assertIn('X-Service-Token: <removed>', output)
|
||||
+ self.assertIn('X-Other-Token: <removed>', output)
|
||||
+ self.assertIn('test data', output)
|
||||
--
|
||||
2.7.4
|
||||
|
@ -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=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="PyMySQL"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Pure-Python MySQL Driver"
|
||||
HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
|
||||
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# While tests exist, they require an unsecure server to run without manual config file
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} runtests.py || die
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST cloc-1.64.pl 408977 SHA256 79edea7ea1f442b1632001e23418193ae4571810e60de8bd25e491036d60eb3d SHA512 bed788cb77ce9ae83714fc14ca04d90d5ae73a7443e180ab815ab81b1d58737f51a8c81360eb7be756afc9d324f9dcf1174b5505b665401217231087ba9461ad WHIRLPOOL 5c56b8be65d16bdadb79950fc4fb3446f36705ea6f5d5ca13304d290e5669a9370cc7b20f60ba1c5e5c4a147d62603beb34e5829a26223efa1ae36e690916518
|
||||
DIST cloc-1.66.tar.gz 215719 SHA256 3a8a6d090e6adda9c842583eb49847d6469c65fcf8b2ccefd8e4b18dbb29524e SHA512 2f0bb2de83c6cd8eee251dbf418002301fdfa76bfda6cfbd0d746d9ea0c9d27cf3ee91110504819c4b85e0ae6c1c496fb125c3ede0d516d452cfea6af46e9473 WHIRLPOOL 96a5447d6f3ec406e596a682a418d890d581a3c5e4cb62cf797a908c20147cbe425ef4282cb30b80af79c6deaccbe9895f91904ff871729341458d113d853e01
|
||||
DIST cloc-1.70.tar.gz 318879 SHA256 5b574bac85b0ff4c48d7c3fe32578703b5fb796689de692b903ee43349671615 SHA512 fb92101130dd8476ccafe488cf4ec06deb2f1b428649d686a0f19250c8fcf2717e7e44b73ec5493cc61f8237c31c016465f9006757d39df1b6a9f726abd93eb2 WHIRLPOOL 568897df73a0e8b092a16815ee4a9c641d13c983d830aae470ba028a1d18b421155e82c576bbe554e026fea303b692abf6f0ab5500ead45652b1752cdbc84957
|
||||
DIST cloc-1.72.tar.gz 347245 SHA256 dfd238115948ef6c9c3f9c89094ff9fb7a77ff1d23d0ff81aed7c445565f87be SHA512 e83567fcc2703b6de761c44d3b85e4c176eaff9f35419a202bd4c00b5cc9160d39251deb762d57b40aacf4fe6322cf79877032ed29abec2a5f00c1abb8d44021 WHIRLPOOL 0f7bf2e033e26f373dfdeca1c44d01a3ab491bf6f5d7ebc725fe3640b2fd046eda91b167c0795f457be27854016c1592577479b552e4e0e3d7164608baf430b6
|
||||
DIST cloc.1.pod 12468 SHA256 0e6890acd5836ec43aabed1476e2a1417ea4d454968297c68c1b782e818f979b SHA512 50b4085704c7936de9993476195570957c9c5e864f4a2dbac114ff148a813b50ccba0c6e29d5bda4c4e5cd7c7a09e314233438ddd28f0e0585db54975e602659 WHIRLPOOL 25d9b78a7a0fb88f2ff1192afd8cd5963ab61b06883874b8339a1d4fefbeac4b080d413107f06b34975cd2e7ea92e4313767f2c2aebf39e21ef7cd408bf152ae
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Count Lines of Code"
|
||||
HOMEPAGE="https://github.com/AlDanial/cloc"
|
||||
SRC_URI="https://github.com/AlDanial/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
DEPEND="dev-lang/perl"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-perl/Algorithm-Diff
|
||||
dev-perl/Regexp-Common
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-File-Temp"
|
||||
|
||||
src_compile() {
|
||||
pod2man "Unix/${PN}.1.pod" > "${PN}.1" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doman "${PN}.1"
|
||||
dobin "Unix/${PN}"
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Kcov is a code coverage tester for compiled languages, Python and Bash"
|
||||
HOMEPAGE="https://github.com/SimonKagstrom/kcov"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
if [ "${PV}" -eq 9999 ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SimonKagstrom/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/SimonKagstrom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/elfutils
|
||||
net-misc/curl
|
||||
sys-devel/binutils:*
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST sysdig-0.12.1.tar.gz 674159 SHA256 7d4ab158ea8059b2340c4b4cc40c315d30b508cb7236d2f079d4458bc2959691 SHA512 ca83ebd5684e480417e83ac90443690d60c2b673f62059a1619cc79704a90486329c8490f139625eee3479eded3ac433db574fb3574ddc50330b174b4246479a WHIRLPOOL 6e2eaa4a438779e6e5ef8885fed3af2fabb314aac521ad9d670594b29d809b601ae97ba87217c9cafb2467e4a7ac51d6026c072cd83c3f439ddb0b13f216b0cb
|
||||
DIST sysdig-0.13.0.tar.gz 678671 SHA256 2a5e744cef11348aa36d88bff9974557727e3b632a41e4b3b5e1903d0e911d3e SHA512 7f3229e2b087a09bde31def5695a2e306feff454e172d535455153e5e199c29fb37a2d18b700ca2a89c9d3b4238b72e005f2a12f864adf2025351dc214922cc0 WHIRLPOOL 6adbf65e04f73a0fdafb35cbd2ab4626beab76f66d775bf0c66c5a55cf7a25e3a9feb73e92deab297c8cdd96161d2c0d59cd6e019f4ed7650cadd4bd2e8e1423
|
||||
DIST sysdig-0.14.0.tar.gz 682944 SHA256 e6a856fee9f7b00e3a46f176bf39fa737c20e684eeb38d34c1636684c3259e93 SHA512 b08ab671d58e41623003ecddc085da1e61133959578851208b9affc41d50a8163cd17e6beb7cc0c8833f435af9bd4b89565995d3a87920a8c2c1ce1530882f8d WHIRLPOOL 6e730237c590f0310b7cafc3e75c69fed7a996c91c71ec9b8b89e22f78456c6435925aa5e061473df3c29d5c2f5dd8d6ace5e6b659a81f26efefb087238590ac
|
||||
|
@ -0,0 +1,92 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
|
||||
MODULES_OPTIONAL_USE=modules
|
||||
inherit linux-mod bash-completion-r1 cmake-utils
|
||||
|
||||
DESCRIPTION="A system exploration and troubleshooting tool"
|
||||
HOMEPAGE="http://www.sysdig.org/"
|
||||
SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+modules"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/jq:0=
|
||||
dev-lang/luajit:2=
|
||||
>=dev-libs/jsoncpp-0.6_pre:0=
|
||||
dev-libs/libb64:0=
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/zlib:0=
|
||||
dev-libs/openssl:0=
|
||||
net-misc/curl:0="
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
virtual/os-headers"
|
||||
|
||||
# needed for the kernel module
|
||||
CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS"
|
||||
|
||||
pkg_pretend() {
|
||||
linux-mod_pkg_setup
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:-ggdb::' CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# we will use linux-mod for that
|
||||
-DBUILD_DRIVER=OFF
|
||||
# libscap examples are not installed or really useful
|
||||
-DBUILD_LIBSCAP_EXAMPLES=OFF
|
||||
|
||||
# unbundle the deps
|
||||
-DUSE_BUNDLED_DEPS=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
|
||||
# setup linux-mod ugliness
|
||||
MODULE_NAMES="sysdig-probe(extra:${S}/driver:)"
|
||||
BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"'
|
||||
BUILD_TARGETS="all"
|
||||
|
||||
if use modules; then
|
||||
cmake-utils_src_make configure_driver
|
||||
|
||||
cp "${BUILD_DIR}"/driver/Makefile.dkms driver/Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
linux-mod_src_install
|
||||
|
||||
# remove sources
|
||||
rm -r "${ED%/}"/usr/src || die
|
||||
|
||||
# move bashcomp to the proper location
|
||||
dobashcomp "${ED%/}"/usr/etc/bash_completion.d/sysdig || die
|
||||
rm -r "${ED%/}"/usr/etc || die
|
||||
}
|
@ -0,0 +1,415 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
#
|
||||
# @ECLASS: mozconfig-v6.46.eclass
|
||||
# @MAINTAINER:
|
||||
# mozilla team <mozilla@gentoo.org>
|
||||
# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v6
|
||||
# @DESCRIPTION:
|
||||
# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey)
|
||||
# to provide a single common place for the common mozilla engine compoments.
|
||||
#
|
||||
# The eclass provides all common dependencies as well as common use flags.
|
||||
#
|
||||
# Some use flags which may be optional in particular mozilla packages can be
|
||||
# supported through setting eclass variables.
|
||||
#
|
||||
# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3,
|
||||
# and so ebuilds inheriting this eclass do not need to inherit that.
|
||||
|
||||
case ${EAPI} in
|
||||
0|1|2|3|4)
|
||||
die "EAPI=${EAPI} not supported"
|
||||
;;
|
||||
5)
|
||||
inherit multilib
|
||||
;;
|
||||
esac
|
||||
|
||||
inherit flag-o-matic toolchain-funcs mozcoreconf-v4
|
||||
|
||||
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
|
||||
# @DESCRIPTION:
|
||||
# Set this variable before the inherit line, when an ebuild needs to provide
|
||||
# optional necko-wifi support via IUSE="wifi". Currently this would include
|
||||
# ebuilds for firefox, and potentially seamonkey.
|
||||
#
|
||||
# Leave the variable UNSET if necko-wifi support should not be available.
|
||||
# Set the variable to "enabled" if the use flag should be enabled by default.
|
||||
# Set the variable to any value if the use flag should exist but not be default-enabled.
|
||||
|
||||
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT
|
||||
# @DESCRIPTION:
|
||||
# Set this variable before the inherit line, when an ebuild needs to provide
|
||||
# deterministic jit support via IUSE="jit". The upstream default will be used
|
||||
# otherwise, which is generally to enable jit unless support for the platform
|
||||
# is missing.
|
||||
#
|
||||
# Set the variable to "enabled" if the use flag should be enabled by default.
|
||||
# Set the variable to any value if the use flag should exist but not be default-enabled.
|
||||
|
||||
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_GTK3
|
||||
# @DESCRIPTION:
|
||||
# Set this variable before the inherit line, when an ebuild can provide
|
||||
# optional gtk3 support via IUSE="gtk3". Currently this would include
|
||||
# ebuilds for firefox, but thunderbird and seamonkey could follow in the future.
|
||||
#
|
||||
# Leave the variable UNSET if gtk3 support should not be available.
|
||||
# Set the variable to "enabled" if the use flag should be enabled by default.
|
||||
# Set the variable to any value if the use flag should exist but not be default-enabled.
|
||||
|
||||
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_GTK2ONLY
|
||||
# @DESCRIPTION:
|
||||
# Set this variable before the inherit line, when an ebuild can provide
|
||||
# optional gtk2-only support via IUSE="gtk2".
|
||||
#
|
||||
# Note that this option conflicts directly with MOZCONFIG_OPTIONAL_GTK3, both
|
||||
# variables cannot be set at the same time and this variable will be ignored if
|
||||
# MOZCONFIG_OPTIONAL_GTK3 is set.
|
||||
#
|
||||
# Leave the variable UNSET if gtk2-only support should not be available.
|
||||
# Set the variable to "enabled" if the use flag should be enabled by default.
|
||||
# Set the variable to any value if the use flag should exist but not be default-enabled.
|
||||
|
||||
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_QT5
|
||||
# @DESCRIPTION:
|
||||
# Set this variable before the inherit line, when an ebuild can provide
|
||||
# optional qt5 support via IUSE="qt5". Currently this would include
|
||||
# ebuilds for firefox, but thunderbird and seamonkey could follow in the future.
|
||||
#
|
||||
# Leave the variable UNSET if qt5 support should not be available.
|
||||
# Set the variable to "enabled" if the use flag should be enabled by default.
|
||||
# Set the variable to any value if the use flag should exist but not be default-enabled.
|
||||
|
||||
# use-flags common among all mozilla ebuilds
|
||||
IUSE="${IUSE} dbus debug +jemalloc neon pulseaudio selinux +skia startup-notification system-cairo
|
||||
system-harfbuzz system-icu system-jpeg system-libevent system-sqlite system-libvpx"
|
||||
|
||||
# some notes on deps:
|
||||
# gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 2.14
|
||||
# media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau
|
||||
|
||||
RDEPEND=">=app-text/hunspell-1.2:=
|
||||
dev-libs/atk
|
||||
dev-libs/expat
|
||||
>=x11-libs/cairo-1.10[X]
|
||||
x11-libs/gdk-pixbuf
|
||||
>=x11-libs/pango-1.22.0
|
||||
>=media-libs/libpng-1.6.25:0=[apng]
|
||||
>=media-libs/mesa-10.2:*
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.4.10
|
||||
kernel_linux? ( media-libs/alsa-lib )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
virtual/freedesktop-icon-theme
|
||||
dbus? ( >=sys-apps/dbus-0.60
|
||||
>=dev-libs/dbus-glib-0.72 )
|
||||
startup-notification? ( >=x11-libs/startup-notification-0.8 )
|
||||
>=dev-libs/glib-2.26:2
|
||||
>=sys-libs/zlib-1.2.3
|
||||
>=virtual/libffi-3.0.10
|
||||
virtual/ffmpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
system-cairo? ( >=x11-libs/cairo-1.12[X,xcb] >=x11-libs/pixman-0.19.2 )
|
||||
system-icu? ( >=dev-libs/icu-56.1:= )
|
||||
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
|
||||
system-libevent? ( =dev-libs/libevent-2.0*:0= )
|
||||
system-sqlite? ( >=dev-db/sqlite-3.14.1:3[secure-delete,debug=] )
|
||||
system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc] )
|
||||
system-harfbuzz? ( >=media-libs/harfbuzz-1.2.6:0=[graphite,icu] >=media-gfx/graphite2-1.3.8 )
|
||||
"
|
||||
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
|
||||
MOZCONFIG_OPTIONAL_GTK2ONLY=
|
||||
if [[ ${MOZCONFIG_OPTIONAL_GTK3} = "enabled" ]]; then
|
||||
IUSE+=" +gtk3"
|
||||
else
|
||||
IUSE+=" gtk3"
|
||||
fi
|
||||
RDEPEND+="
|
||||
gtk3? ( >=x11-libs/gtk+-3.4.0:3 )
|
||||
!gtk3? ( >=x11-libs/gtk+-2.18:2 )"
|
||||
elif [[ -n ${MOZCONFIG_OPTIONAL_GTK2ONLY} ]]; then
|
||||
if [[ ${MOZCONFIG_OPTIONAL_GTK2ONLY} = "enabled" ]]; then
|
||||
IUSE+=" +gtk2"
|
||||
else
|
||||
IUSE+=" gtk2"
|
||||
fi
|
||||
RDEPEND+="
|
||||
gtk2? ( >=x11-libs/gtk+-2.18:2 )
|
||||
!gtk2? ( >=x11-libs/gtk+-3.4.0:3 )"
|
||||
else
|
||||
RDEPEND+="
|
||||
>=x11-libs/gtk+-2.18:2"
|
||||
fi
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_QT5} ]]; then
|
||||
inherit qmake-utils
|
||||
if [[ ${MOZCONFIG_OPTIONAL_QT5} = "enabled" ]]; then
|
||||
IUSE+=" +qt5"
|
||||
else
|
||||
IUSE+=" qt5"
|
||||
fi
|
||||
RDEPEND+="
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
dev-qt/qtdeclarative:5
|
||||
)"
|
||||
fi
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then
|
||||
if [[ ${MOZCONFIG_OPTIONAL_WIFI} = "enabled" ]]; then
|
||||
IUSE+=" +wifi"
|
||||
else
|
||||
IUSE+=" wifi"
|
||||
fi
|
||||
RDEPEND+="
|
||||
wifi? (
|
||||
kernel_linux? ( >=sys-apps/dbus-0.60
|
||||
>=dev-libs/dbus-glib-0.72
|
||||
net-misc/networkmanager )
|
||||
)"
|
||||
fi
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then
|
||||
if [[ ${MOZCONFIG_OPTIONAL_JIT} = "enabled" ]]; then
|
||||
IUSE+=" +jit"
|
||||
else
|
||||
IUSE+=" jit"
|
||||
fi
|
||||
fi
|
||||
|
||||
DEPEND="app-arch/zip
|
||||
app-arch/unzip
|
||||
>=sys-devel/binutils-2.16.1
|
||||
sys-apps/findutils
|
||||
${RDEPEND}"
|
||||
|
||||
RDEPEND+="
|
||||
selinux? ( sec-policy/selinux-mozilla )"
|
||||
|
||||
# force system-icu if system-harfbuzz is selected, to avoid potential ABI issues
|
||||
REQUIRED_USE="
|
||||
system-harfbuzz? ( system-icu )"
|
||||
|
||||
# only one of gtk3 or qt5 should be permitted to be selected, since only one will be used.
|
||||
[[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]] && [[ -n ${MOZCONFIG_OPTIONAL_QT5} ]] && \
|
||||
REQUIRED_USE+=" ?? ( gtk3 qt5 )"
|
||||
|
||||
# only one of gtk2 or qt5 should be permitted to be selected, since only one will be used.
|
||||
[[ -n ${MOZCONFIG_OPTIONAL_GTK2ONLY} ]] && [[ -n ${MOZCONFIG_OPTIONAL_QT5} ]] && \
|
||||
REQUIRED_USE+=" ?? ( gtk2 qt5 )"
|
||||
|
||||
# @FUNCTION: mozconfig_config
|
||||
# @DESCRIPTION:
|
||||
# Set common configure options for mozilla packages.
|
||||
# Call this within src_configure() phase, after mozconfig_init
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# inherit mozconfig-v6.46
|
||||
#
|
||||
# src_configure() {
|
||||
# mozconfig_init
|
||||
# mozconfig_config
|
||||
# # ... misc ebuild-unique settings via calls to
|
||||
# # ... mozconfig_{annotate,use_with,use_enable}
|
||||
# mozconfig_final
|
||||
# }
|
||||
|
||||
mozconfig_config() {
|
||||
# Migrated from mozcoreconf-2
|
||||
mozconfig_annotate 'system_libs' \
|
||||
--with-system-zlib \
|
||||
--with-system-bz2
|
||||
|
||||
if has bindist ${IUSE}; then
|
||||
mozconfig_use_enable !bindist official-branding
|
||||
if [[ ${PN} == firefox ]] && use bindist ; then
|
||||
mozconfig_annotate '' --with-branding=browser/branding/aurora
|
||||
fi
|
||||
fi
|
||||
|
||||
# Enable position independent executables
|
||||
mozconfig_annotate 'enabled by Gentoo' --enable-pie
|
||||
mozconfig_use_enable debug
|
||||
mozconfig_use_enable debug tests
|
||||
|
||||
if ! use debug ; then
|
||||
mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols
|
||||
else
|
||||
mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols
|
||||
fi
|
||||
|
||||
mozconfig_use_enable startup-notification
|
||||
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]] ; then
|
||||
# wifi pulls in dbus so manage both here
|
||||
mozconfig_use_enable wifi necko-wifi
|
||||
if use kernel_linux && use wifi && ! use dbus; then
|
||||
echo "Enabling dbus support due to wifi request"
|
||||
mozconfig_annotate 'dbus required by necko-wifi on linux' --enable-dbus
|
||||
else
|
||||
mozconfig_use_enable dbus
|
||||
fi
|
||||
else
|
||||
mozconfig_use_enable dbus
|
||||
mozconfig_annotate 'disabled' --disable-necko-wifi
|
||||
fi
|
||||
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then
|
||||
mozconfig_use_enable jit ion
|
||||
fi
|
||||
|
||||
# These are enabled by default in all mozilla applications
|
||||
mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${SYSROOT}${EPREFIX}"/usr
|
||||
mozconfig_annotate '' --with-system-nss --with-nss-prefix="${SYSROOT}${EPREFIX}"/usr
|
||||
mozconfig_annotate '' --x-includes="${SYSROOT}${EPREFIX}"/usr/include --x-libraries="${SYSROOT}${EPREFIX}"/usr/$(get_libdir)
|
||||
if use system-libevent; then
|
||||
mozconfig_annotate '' --with-system-libevent="${SYSROOT}${EPREFIX}"/usr
|
||||
fi
|
||||
mozconfig_annotate '' --prefix="${EPREFIX}"/usr
|
||||
mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
mozconfig_annotate 'Gentoo default' --enable-system-hunspell
|
||||
mozconfig_annotate '' --disable-gnomeui
|
||||
mozconfig_annotate '' --enable-gio
|
||||
mozconfig_annotate '' --disable-crashreporter
|
||||
mozconfig_annotate 'Gentoo default' --with-system-png
|
||||
mozconfig_annotate '' --enable-system-ffi
|
||||
mozconfig_annotate 'Gentoo default to honor system linker' --disable-gold
|
||||
mozconfig_use_enable skia
|
||||
mozconfig_annotate '' --disable-gconf
|
||||
mozconfig_annotate '' --with-intl-api
|
||||
|
||||
# default toolkit is cairo-gtk2, optional use flags can change this
|
||||
local toolkit="cairo-gtk2"
|
||||
local toolkit_comment=""
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
|
||||
if use gtk3; then
|
||||
toolkit="cairo-gtk3"
|
||||
toolkit_comment="gtk3 use flag"
|
||||
fi
|
||||
fi
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_GTK2ONLY} ]]; then
|
||||
if ! use gtk2 ; then
|
||||
toolkit="cairo-gtk3"
|
||||
else
|
||||
toolkit_comment="gtk2 use flag"
|
||||
fi
|
||||
fi
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_QT5} ]]; then
|
||||
if use qt5; then
|
||||
toolkit="cairo-qt"
|
||||
toolkit_comment="qt5 use flag"
|
||||
# need to specify these vars because the qt5 versions are not found otherwise,
|
||||
# and setting --with-qtdir overrides the pkg-config include dirs
|
||||
local i
|
||||
for i in qmake moc rcc; do
|
||||
echo "export HOST_${i^^}=\"$(qt5_get_bindir)/${i}\"" \
|
||||
>> "${S}"/.mozconfig || die
|
||||
done
|
||||
echo 'unset QTDIR' >> "${S}"/.mozconfig || die
|
||||
mozconfig_annotate '+qt5' --disable-gio
|
||||
fi
|
||||
fi
|
||||
mozconfig_annotate "${toolkit_comment}" --enable-default-toolkit=${toolkit}
|
||||
|
||||
# Use jemalloc unless libc is not glibc >= 2.4
|
||||
# at this time the minimum glibc in the tree is 2.9 so we should be safe.
|
||||
if use elibc_glibc && use jemalloc; then
|
||||
# We must force-enable jemalloc 4 via .mozconfig
|
||||
echo "export MOZ_JEMALLOC4=1" >> "${S}"/.mozconfig || die
|
||||
mozconfig_annotate '' --enable-replace-malloc
|
||||
fi
|
||||
|
||||
# Instead of the standard --build= and --host=, mozilla uses --host instead
|
||||
# of --build, and --target intstead of --host.
|
||||
# Note, mozilla also has --build but it does not do what you think it does.
|
||||
# Set both --target and --host as mozilla uses python to guess values otherwise
|
||||
mozconfig_annotate '' --target="${CHOST}"
|
||||
mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
|
||||
|
||||
mozconfig_use_enable pulseaudio
|
||||
|
||||
mozconfig_use_enable system-cairo
|
||||
mozconfig_use_enable system-sqlite
|
||||
mozconfig_use_with system-jpeg
|
||||
mozconfig_use_with system-icu
|
||||
mozconfig_use_with system-libvpx
|
||||
mozconfig_use_with system-harfbuzz
|
||||
mozconfig_use_with system-harfbuzz system-graphite2
|
||||
|
||||
# Modifications to better support ARM, bug 553364
|
||||
if use neon ; then
|
||||
mozconfig_annotate '' --with-fpu=neon
|
||||
mozconfig_annotate '' --with-thumb=yes
|
||||
mozconfig_annotate '' --with-thumb-interwork=no
|
||||
fi
|
||||
if [[ ${CHOST} == armv* ]] ; then
|
||||
mozconfig_annotate '' --with-float-abi=hard
|
||||
mozconfig_annotate '' --enable-skia
|
||||
|
||||
if ! use system-libvpx ; then
|
||||
sed -i -e "s|softfp|hard|" \
|
||||
"${S}"/media/libvpx/moz.build
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: mozconfig_install_prefs
|
||||
# @DESCRIPTION:
|
||||
# Set preferences into the prefs.js file specified as a parameter to
|
||||
# the function. This sets both some common prefs to all mozilla
|
||||
# packages, and any prefs that may relate to the use flags administered
|
||||
# by mozconfig_config().
|
||||
#
|
||||
# Call this within src_install() phase, after copying the template
|
||||
# prefs file (if any) from ${FILESDIR}
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# inherit mozconfig-v6.46
|
||||
#
|
||||
# src_install() {
|
||||
# cp "${FILESDIR}"/gentoo-default-prefs.js \
|
||||
# "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \
|
||||
# || die
|
||||
#
|
||||
# mozconfig_install_prefs \
|
||||
# "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js"
|
||||
#
|
||||
# ...
|
||||
# }
|
||||
|
||||
mozconfig_install_prefs() {
|
||||
local prefs_file="${1}"
|
||||
|
||||
einfo "Adding prefs from mozconfig to ${prefs_file}"
|
||||
|
||||
# set dictionary path, to use system hunspell
|
||||
echo "pref(\"spellchecker.dictionary_path\", \"${EPREFIX}/usr/share/myspell\");" \
|
||||
>>"${prefs_file}" || die
|
||||
|
||||
# force the graphite pref if system-harfbuzz is enabled, since the pref cant disable it
|
||||
if use system-harfbuzz ; then
|
||||
echo "sticky_pref(\"gfx.font_rendering.graphite.enabled\",true);" \
|
||||
>>"${prefs_file}" || die
|
||||
fi
|
||||
|
||||
# force cairo as the canvas renderer if USE=skia is disabled
|
||||
if ! use skia ; then
|
||||
echo "lockPref(\"gfx.canvas.azure.backends\",\"cairo\");" \
|
||||
>>"${prefs_file}" || die
|
||||
echo "lockPref(\"gfx.content.azure.backends\",\"cairo\");" \
|
||||
>>"${prefs_file}" || die
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST stockfish-7-src.zip 158788 SHA256 89f1bb855c9251c1c644156d82960c71aa68e837390367f5111aa756e0785f36 SHA512 e5f2bb5e1309db9bf8e89ed35d69c7cf1c63b9da5158dfb32faea33113569c337781e40ec3f4fc03760f1e17acfbb671ecc2eaf57dec1fd018173fe0ae6d70d1 WHIRLPOOL 201d405b977355be3326f21567b2b836522d8d021fdab028d74fb3dd21b5eb281825f28df56d35f6a85b0e91cad9f2f674775180715a96f11e85ad4a06f0d663
|
||||
DIST stockfish-8-src.zip 159017 SHA256 7bad36f21f649ab24f6d7786bbb1b74b3e4037f165f32e3d42d1ae19c8874ce9 SHA512 4dcc8c6e975367e96d5b4e76c241094e1bade53fd19fa29320a5df10177ff5ae04844ca7ae9f9cfe929aa1341d898aabbbe523bbdab4c5beef75ca8332ce50c1 WHIRLPOOL ac28ea7e89a447e465dfc102cc4f1a7a9131e0933bf52f57b00483f541065613d678797c807d462c6b364a1052b86c55e0471bfb76fe8e61e3355ea79133fc84
|
||||
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
|
||||
HOMEPAGE="http://stockfishchess.org/"
|
||||
|
||||
SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
|
||||
general-32 general-64 +optimize"
|
||||
|
||||
DEPEND="|| ( app-arch/unzip app-arch/zip )"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${P}-src/src"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# prevent pre-stripping
|
||||
sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
|
||||
|| die 'failed to disable stripping in the Makefile'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local my_arch
|
||||
|
||||
# generic unoptimized first
|
||||
use general-32 && my_arch=general-32
|
||||
use general-64 && my_arch=general-64
|
||||
|
||||
# x86
|
||||
use x86 && my_arch=x86-32-old
|
||||
use cpu_flags_x86_sse && my_arch=x86-32
|
||||
|
||||
# amd64
|
||||
use amd64 && my_arch=x86-64
|
||||
use cpu_flags_x86_popcnt && my_arch=x86-64-modern
|
||||
|
||||
# both bmi2 and avx2 are part of hni (haswell new instructions)
|
||||
use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
|
||||
|
||||
# other architectures
|
||||
use armv7 && my_arch=armv7
|
||||
use ppc && my_arch=ppc
|
||||
use ppc64 && my_arch=ppc64
|
||||
|
||||
# Skip the "build" target and use "all" instead to avoid the config
|
||||
# sanity check (which would throw a fit about our compiler). There's
|
||||
# a nice hack in the Makefile that overrides the value of CXX with
|
||||
# COMPILER to support Travis CI and we abuse it to make sure that we
|
||||
# build with our compiler of choice.
|
||||
emake all ARCH="${my_arch}" \
|
||||
COMP=$(tc-getCXX) \
|
||||
COMPILER=$(tc-getCXX) \
|
||||
debug=$(usex debug "yes" "no") \
|
||||
optimize=$(usex optimize "yes" "no")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
dodoc ../AUTHORS ../Readme.md
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST manaplus-1.6.12.24.tar.xz 11762256 SHA256 980967aaf530effbd8e59ececa87af992f55bdf97f0900bc0a9b6d235abcc4bc SHA512 b39f5c1fdab4c9fc95b09f83f0914852d4c6e3754a3bca7ede2208add9f070e7d7decddb0fc73ced8ecbe93ae7f5016bf1843630fa18f2799c0d26a96aaf58e4 WHIRLPOOL 9ee09b2ddda084aabe5c0bdddf5c9ad0e5c6264742996edcd5f0824a8a3757b9bddfa401bbf570c496fc040008a28637c215f98a65c10c5d1b08ff24652f2c39
|
||||
DIST manaplus-1.7.1.21.tar.xz 14776172 SHA256 bfe25bc284a0aaf566ebad5e39434a666ec5bb53b1a8556b505296ff649a3061 SHA512 d3ebd2c4d00e6998f21a6ae40a7ae6c4988850086f70ae4d41ac894a061b8b398bc6ab54018ee8ca5a9c4c5024b8fd697190d36ba1a3f6d3cdfa19c11af74712 WHIRLPOOL 3075f4a92a8fdd2601fa7afa42889d9ec40aa3764f4ee068b15231497d93f2c6e9f3deff2e78af36f96df71a62c6392124c4712f376662a8774b2535ba3bab0f
|
||||
DIST manaplus-1.7.1.7.tar.xz 11762860 SHA256 a6f7169d1c5103cfdb09f9b9bde984b9953209e6affc599b3597abdece17abb3 SHA512 319cbf0ca198142f303a7c35a83f6cd477c896d855ec022a829eed106e8b107bc2a306a93b2f38b7d4cbe0b2909cd10d8345c28fece92e80842405d45fed59c1 WHIRLPOOL 6e69aa6bdefa22e2ad65d2066adcbb7362ffcd8ea40cc346f30da7d83b072f5bf78d5bf623a480fac044b36411d1d14ea61be8a7b7ae6292ac9faad92563310a
|
||||
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
[[ ${PV} == 9999 ]] && inherit autotools git-r3
|
||||
|
||||
DESCRIPTION="OpenSource 2D MMORPG client for Evol Online and The Mana World"
|
||||
HOMEPAGE="http://manaplus.evolonline.org"
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/ManaPlus/ManaPlus.git"
|
||||
else
|
||||
SRC_URI="http://download.evolonline.org/manaplus/download/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="mumble nls opengl pugixml +sdl2 test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-games/physfs-1.0.0
|
||||
media-fonts/dejavu
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/mplus-outline-fonts
|
||||
media-fonts/wqy-microhei
|
||||
media-libs/libpng:0=
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
x11-apps/xmessage
|
||||
x11-libs/libX11
|
||||
x11-misc/xdg-utils
|
||||
mumble? ( media-sound/mumble )
|
||||
nls? ( virtual/libintl )
|
||||
opengl? ( virtual/opengl )
|
||||
pugixml? ( dev-libs/pugixml )
|
||||
!pugixml? ( dev-libs/libxml2 )
|
||||
sdl2? (
|
||||
media-libs/libsdl2[X,opengl?,video]
|
||||
media-libs/sdl2-gfx
|
||||
media-libs/sdl2-image[png]
|
||||
media-libs/sdl2-mixer[vorbis]
|
||||
media-libs/sdl2-net
|
||||
media-libs/sdl2-ttf
|
||||
)
|
||||
!sdl2? (
|
||||
media-libs/libsdl[X,opengl?,video]
|
||||
media-libs/sdl-gfx
|
||||
media-libs/sdl-image[png]
|
||||
media-libs/sdl-mixer[vorbis]
|
||||
media-libs/sdl-net
|
||||
media-libs/sdl-ttf
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CONFIG_SHELL=/bin/bash \
|
||||
econf \
|
||||
--localedir=/usr/share/locale \
|
||||
--without-internalsdlgfx \
|
||||
$(use_with mumble) \
|
||||
$(use_enable nls) \
|
||||
$(use_with opengl) \
|
||||
--enable-libxml=$(usex pugixml pugixml libxml) \
|
||||
$(use_with sdl2) \
|
||||
$(use_enable test unittests)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
local destpath="/usr/share/${PN}"
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${destpath}"/data/fonts/dejavusans-bold.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${destpath}"/data/fonts/dejavusans.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf "${destpath}"/data/fonts/dejavusansmono-bold.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSansMono.ttf "${destpath}"/data/fonts/dejavusansmono.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSerifCondensed-Bold.ttf "${destpath}"/data/fonts/dejavuserifcondensed-bold.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSerifCondensed.ttf "${destpath}"/data/fonts/dejavuserifcondensed.ttf
|
||||
dosym /usr/share/fonts/liberation-fonts/LiberationMono-Bold.ttf "${destpath}"/data/fonts/liberationsansmono-bold.ttf
|
||||
dosym /usr/share/fonts/liberation-fonts/LiberationMono-Regular.ttf "${destpath}"/data/fonts/liberationsansmono.ttf
|
||||
dosym /usr/share/fonts/liberation-fonts/LiberationSans-Bold.ttf "${destpath}"/data/fonts/liberationsans-bold.ttf
|
||||
dosym /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf "${destpath}"/data/fonts/liberationsans.ttf
|
||||
dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-bold.ttf "${destpath}"/data/fonts/mplus-1p-bold.ttf
|
||||
dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-regular.ttf "${destpath}"/data/fonts/mplus-1p-regular.ttf
|
||||
dosym /usr/share/fonts/wqy-microhei/wqy-microhei.ttc "${destpath}"/data/fonts/wqy-microhei.ttf
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make check
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
From 1de3c56c636adfdb74970bf9d7a5424af3830d92 Mon Sep 17 00:00:00 2001
|
||||
From: Yuri Konotopov <ykonotopov@gnome.org>
|
||||
Date: Mon, 23 Jan 2017 19:43:30 +0400
|
||||
Subject: [PATCH 3/6] connector: assume that "enabled-extensions" array can
|
||||
contains duplicates
|
||||
|
||||
See-Also: https://bugzilla.gnome.org/show_bug.cgi?id=777650
|
||||
Fixes: https://github.com/nE0sIghT/chrome-gnome-shell-mirror/issues/26
|
||||
---
|
||||
connector/chrome-gnome-shell.py | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/connector/chrome-gnome-shell.py b/connector/chrome-gnome-shell.py
|
||||
index 719a347..0b92d83 100755
|
||||
--- a/connector/chrome-gnome-shell.py
|
||||
+++ b/connector/chrome-gnome-shell.py
|
||||
@@ -424,9 +424,10 @@ class ChromeGNOMEShell(Gio.Application):
|
||||
continue
|
||||
|
||||
if extension['enable']:
|
||||
- uuids.append(extension['uuid'])
|
||||
+ if not extension['uuid'] in uuids:
|
||||
+ uuids.append(extension['uuid'])
|
||||
elif extension['uuid'] in uuids:
|
||||
- uuids.remove(extension['uuid'])
|
||||
+ uuids = [value for value in uuids if value != extension['uuid']]
|
||||
|
||||
settings.set_strv(ENABLED_EXTENSIONS_KEY, uuids)
|
||||
|
||||
--
|
||||
2.10.2
|
||||
|
@ -0,0 +1,91 @@
|
||||
From dca4a3538f86d8e2e957945a691430573192716d Mon Sep 17 00:00:00 2001
|
||||
From: Yuri Konotopov <ykonotopov@gnome.org>
|
||||
Date: Tue, 24 Jan 2017 19:42:19 +0400
|
||||
Subject: [PATCH 6/6] connector: do not use get_dbus_connection after
|
||||
GApplication was released.
|
||||
|
||||
Fixes: https://github.com/nE0sIghT/chrome-gnome-shell-mirror/issues/27
|
||||
---
|
||||
connector/chrome-gnome-shell.py | 22 +++++++++++++---------
|
||||
1 file changed, 13 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/connector/chrome-gnome-shell.py b/connector/chrome-gnome-shell.py
|
||||
index 0f6e5f1..ac6740a 100755
|
||||
--- a/connector/chrome-gnome-shell.py
|
||||
+++ b/connector/chrome-gnome-shell.py
|
||||
@@ -106,21 +106,26 @@ class ChromeGNOMEShell(Gio.Application):
|
||||
self.hold()
|
||||
|
||||
# Is there any way to hook this to shutdown?
|
||||
- def cleanup(self):
|
||||
- debug('Cleanup')
|
||||
+ def clean_release(self):
|
||||
+ debug('Release')
|
||||
|
||||
if self.shellAppearedId:
|
||||
Gio.bus_unwatch_name(self.shellAppearedId)
|
||||
|
||||
if self.shellSignalId:
|
||||
- self.get_dbus_connection().signal_unsubscribe(self.shellSignalId)
|
||||
+ dbus_connection = self.get_dbus_connection()
|
||||
+
|
||||
+ if dbus_connection is not None:
|
||||
+ dbus_connection.signal_unsubscribe(self.shellSignalId)
|
||||
+
|
||||
+ self.release()
|
||||
|
||||
def default_exception_hook(self, exception_type, value, tb):
|
||||
log_error("Uncaught exception of type %s occured" % exception_type)
|
||||
traceback.print_tb(tb)
|
||||
log_error("Exception: %s" % value)
|
||||
|
||||
- self.release()
|
||||
+ self.clean_release()
|
||||
|
||||
def add_simple_action(self, name, callback, parameter_type):
|
||||
action = Gio.SimpleAction.new(
|
||||
@@ -191,7 +196,7 @@ class ChromeGNOMEShell(Gio.Application):
|
||||
# noinspection PyUnusedLocal
|
||||
def on_service_timeout(self, data):
|
||||
debug('On service timeout')
|
||||
- self.release()
|
||||
+ self.clean_release()
|
||||
|
||||
return False
|
||||
|
||||
@@ -203,7 +208,7 @@ class ChromeGNOMEShell(Gio.Application):
|
||||
|
||||
if len(text_length_bytes) == 0:
|
||||
debug('Release condition: %s' % str(condition))
|
||||
- self.release()
|
||||
+ self.clean_release()
|
||||
return
|
||||
|
||||
# Unpack message length as 4 byte integer.
|
||||
@@ -255,14 +260,14 @@ class ChromeGNOMEShell(Gio.Application):
|
||||
# noinspection PyUnusedLocal
|
||||
def on_hup(self, source, condition, data):
|
||||
debug('On hup: %s' % str(condition))
|
||||
- self.release()
|
||||
+ self.clean_release()
|
||||
|
||||
return False
|
||||
|
||||
# noinspection PyUnusedLocal
|
||||
def on_sigint(self, data):
|
||||
debug('On sigint')
|
||||
- self.release()
|
||||
+ self.clean_release()
|
||||
|
||||
return False
|
||||
|
||||
@@ -545,6 +550,5 @@ if __name__ == '__main__':
|
||||
app = ChromeGNOMEShell('--gapplication-service' in sys.argv)
|
||||
|
||||
app.run(sys.argv)
|
||||
- app.cleanup()
|
||||
|
||||
debug('Quit')
|
||||
--
|
||||
2.10.2
|
||||
|
@ -0,0 +1,28 @@
|
||||
From 48ded6911e60fb8415190b252ca420b994e6c525 Mon Sep 17 00:00:00 2001
|
||||
From: Yuri Konotopov <ykonotopov@gnome.org>
|
||||
Date: Mon, 23 Jan 2017 22:29:12 +0400
|
||||
Subject: [PATCH 4/6] connector: assume version 1 for extensions without
|
||||
version in metadata
|
||||
|
||||
Bug: https://github.com/nE0sIghT/chrome-gnome-shell-mirror/issues/27
|
||||
See-Also: https://git.gnome.org/browse/extensions-web/commit/?id=214f03ee90f0f391d3d4fdec23feedf45e3d0507
|
||||
---
|
||||
connector/chrome-gnome-shell.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/connector/chrome-gnome-shell.py b/connector/chrome-gnome-shell.py
|
||||
index 0b92d83..0f6e5f1 100755
|
||||
--- a/connector/chrome-gnome-shell.py
|
||||
+++ b/connector/chrome-gnome-shell.py
|
||||
@@ -506,7 +506,7 @@ class ChromeGNOMEShell(Gio.Application):
|
||||
http_request['installed'][uuid] = {
|
||||
'version': int(extensions[uuid]['version'])
|
||||
}
|
||||
- except ValueError:
|
||||
+ except (ValueError, KeyError):
|
||||
http_request['installed'][uuid] = {
|
||||
'version': 1
|
||||
}
|
||||
--
|
||||
2.10.2
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST lxappearance-0.5.5.tar.xz 295756 SHA256 8cae82e6425ba8a0267774e4d10096df2d91b0597520058331684a5ece068b4c SHA512 7e6740b598f2b2856650fe94ccdfea94a0717c27dee6415b3abc58b0587acdca6aef22be7ec950e7c76127ef414f06eb70bfdea5f9324d2fb99cbbf2bf78522d WHIRLPOOL d60dc308e7c08e105100f9c1624987abf6fbe16529b0b3dd9870e16de8abeae2247f5b5f13f0c4655a2a11e5b46f8a8d73b3aeddf2e4a348f64d79eae6328835
|
||||
DIST lxappearance-0.6.2.tar.xz 165788 SHA256 4462136e01f991d4c546f23a8cf59a4092f88ecdff587597959f8062e2ea201f SHA512 ddfd63045cae61f60e2745e7fbdafcf68cdc0443a7ff271ff11a40f39b2e08de902a980f6c68e1615a690690a3c33abc2de8ab854d08f7707be210b0addb67e7 WHIRLPOOL 47507d945e68e0b8e40a114a58dac954622b5552395e85156a0b4a933126d4ad62e63d2f5e4d233569f5d684b52875548631ba4a911dec8c555bb42feb864f0a
|
||||
DIST lxappearance-0.6.3.tar.xz 165656 SHA256 7222d858b8fef4b7967c42142d61e82ded6dd42dc5ef1d59caad775795928b38 SHA512 035cc952a33ac25408a4158cb4e745b17af3f29b5ceedfbe6b37235d16c801658403e862cd35ad7c8ca20fe6186fab1dce74a6e8d3b2eec12a30d532fc21662c WHIRLPOOL 591466317554e11cfadb9ac0f6c94abac13d2064d1631fee87be25ace4b2bd2e3dc6c32274c9a547d872d5de22ac333a1a3be28be620bf3765a265fb32bf2ea7
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="LXDE GTK+ theme switcher"
|
||||
HOMEPAGE="http://lxde.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="dbus"
|
||||
|
||||
RDEPEND="x11-libs/gtk+:2
|
||||
dbus? ( dev-libs/dbus-glib )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
dev-util/intltool
|
||||
sys-devel/gettext"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable dbus)
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST lxpanel-0.7.0.tar.xz 1479456 SHA256 bd010d13b1627335f45be1755f7f260dc439c2cfbce942bc36705fa2cffd0b53 SHA512 396147a24e852dd7288f99281116c797df4dbb1912925a6b4403ffe74bb8e3d821f7cd96965bedb2db9aff2d1ca3ae89be6e5712df04353a69a9cca5b03589aa WHIRLPOOL a5e4394e198b29bffa834b789bf34332e617837f0ebea0ea29bf595100c43aeb7d0a7698bbedb739dc058433462e1df661b41537f49904b77a4e7663360e45af
|
||||
DIST lxpanel-0.8.1.tar.xz 1485612 SHA256 c657eb049a0f59e7b2d1ad6cb621c272833b765705c19089e48b3c248351b1e0 SHA512 cebad5e9399618adcc47ad0f2542bd57ce6cd707d65e9f1f67e2a435607e91e948c14102eb5534bb8d60a964277ef98658ec8d7a0109121a4b4f6067b385e39d WHIRLPOOL 8f721f6d81a89f35a2a44e33e0faaca2a1e956d1b826a11f85e3586721238c92a299336c35dcd876d3e98a26691255d9d8118828d5dbd124fd5ffc9367d23629
|
||||
DIST lxpanel-0.8.2.tar.xz 1488548 SHA256 516ac4c83494ee99b2a0d2466458519a9a2668272eeff6d2162af3683b634104 SHA512 abab9175c4a4e591a33c39fbc41754e458eea60c79f5a40d56848338b910a867bafed09b4d1f2596a588beb79bfb5efe54c798ff5f7b0ee74f6245a1b0417918 WHIRLPOOL d9ffdb25c206a63c4431d5c1d4aa2563aaa884c9fa4d18d6215e4eb66899d2760895847452ccaf246051aafbd8353b4aa5e630ba46f5f6aff85a3f8d5ae3845d
|
||||
DIST lxpanel-0.9.2.tar.xz 1514748 SHA256 e66811a014cde9cb4882aeae48e96125729b9b1ec40e909031f4520eaa020cf1 SHA512 d7b5733345233a44466b6786133b8c3f3c9217a5195654b8dde3447a0dfc198082d991b2bc0cc60ddf200ebb95d636885b36d5642c11f4cd913f66228c12bd3a WHIRLPOOL 3e546c09580f6a03ebc575835c58d3218bf59ca66c8d8ca357d922eee2c39376cf6e6c70594a0372049a5f24487374ce23b25c696743faed080f54a4f5871c71
|
||||
DIST lxpanel-0.9.3.tar.xz 1515144 SHA256 342cfa205f255acf69c76ba0ca6c77c890f3955a879b755931c80ffae4d98fb1 SHA512 c6aea97f66ee1d576822fda0bf1aed3849b3c74bab856816b7d23331e48b26005f1ba12eddcc0abbf5a6f08add3cb4a0674ccd13f118cec0b6294edd6f1b2343 WHIRLPOOL b2bcac570a724bd422ce3be1fbd3ae679dba9855373fd91030c500ffdf452a37b380be3f4a9561a7aa7cdcb3219846e71bb4d56f7156142365afe8fe9a124eb0
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Lightweight X11 desktop panel for LXDE"
|
||||
HOMEPAGE="http://lxde.org/"
|
||||
SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE="+alsa wifi"
|
||||
|
||||
RDEPEND="dev-libs/keybinder:0=
|
||||
x11-libs/gtk+:2
|
||||
>=x11-libs/libfm-1.2.0[gtk]
|
||||
x11-libs/libwnck:1
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXpm
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/libX11
|
||||
lxde-base/lxmenu-data
|
||||
lxde-base/menu-cache
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
wifi? ( net-wireless/wireless-tools )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
DOC_CONTENTS="If you have problems with broken icons shown in the main panel,
|
||||
you will have to configure panel settings via its menu.
|
||||
This will not be an issue with first time installations."
|
||||
|
||||
src_configure() {
|
||||
local plugins="netstatus,volume,cpu,deskno,batt, \
|
||||
kbled,xkb,thermal,cpufreq,monitors"
|
||||
|
||||
use wifi && plugins+=",netstat"
|
||||
use alsa && plugins+=",volumealsa"
|
||||
[[ ${CHOST} == *-interix* ]] && plugins=deskno,kbled,xkb
|
||||
|
||||
econf $(use_enable alsa) --with-x --with-plugins="${plugins}"
|
||||
# the gtk+ dep already pulls in libX11, so we might as well hardcode with-x
|
||||
}
|
||||
|
||||
src_install () {
|
||||
default
|
||||
|
||||
# Get rid of the .la files.
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Lightweight X11 desktop panel for LXDE"
|
||||
HOMEPAGE="http://lxde.org/"
|
||||
SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE="+alsa wifi"
|
||||
|
||||
RDEPEND="dev-libs/keybinder:0=
|
||||
x11-libs/gtk+:2
|
||||
>=x11-libs/libfm-1.2.0[gtk]
|
||||
x11-libs/libwnck:1
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXpm
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/libX11
|
||||
lxde-base/lxmenu-data
|
||||
lxde-base/menu-cache
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
wifi? ( net-wireless/wireless-tools )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
DOC_CONTENTS="If you have problems with broken icons shown in the main panel,
|
||||
you will have to configure panel settings via its menu.
|
||||
This will not be an issue with first time installations."
|
||||
|
||||
src_configure() {
|
||||
local plugins="netstatus,volume,cpu,deskno,batt, \
|
||||
kbled,xkb,thermal,cpufreq,monitors"
|
||||
|
||||
use wifi && plugins+=",netstat"
|
||||
use alsa && plugins+=",volumealsa"
|
||||
[[ ${CHOST} == *-interix* ]] && plugins=deskno,kbled,xkb
|
||||
|
||||
econf $(use_enable alsa) --with-x --with-plugins="${plugins}"
|
||||
# the gtk+ dep already pulls in libX11, so we might as well hardcode with-x
|
||||
}
|
||||
|
||||
src_install () {
|
||||
default
|
||||
|
||||
# Get rid of the .la files.
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST lxtask-0.1.6.tar.xz 135480 SHA256 f78d6a9953dfbedfa00f69b3e908e326398cd40f541bc8a6a08f5f0a06894345 SHA512 e3c139cea8260b1f1af9c3fb524beefedaac440eef6bc1efdeac73ecdbe4d44dcd277160e64306b681ddbd9eb0f5bc5077957a492f7a06ffcd0c844aad88f827 WHIRLPOOL 9aa64ea0b6d6bc108cfa18f5b3dd7c2bb63ac48287a00a8825e715ce2fb90e6058e06187456397759b71fc2e0969ef4863b9b005e2d39659abe1c674c48dcd3e
|
||||
DIST lxtask-0.1.7.tar.xz 137152 SHA256 f0b65a6b145856000383badafd14ab7944fd98e95c9efdc03474a5a7ff8630fe SHA512 eb5c6af2d0953d09d62b53efda1f88140cc6d5734ef98effd9a72b896e397d0c29ff4263b93c12fd23fcb0ec129b31eb769b0a8c769ae92ed9fc1d2f2689a4ef WHIRLPOOL fdb4cbad73aa232dcf918f3f245f7a3185273f18b39161ab27629fbf46aafa097d8574f454d3b1419269fe1a2119c8b1605de18460794538a7ab8ad4645c8cb3
|
||||
DIST lxtask-0.1.8.tar.xz 137288 SHA256 dfb443805f72857b5ad711d4bb862a9cd3db0cd2df16d0c24f23ed679b0bef40 SHA512 095904df6ecea699a2ea44ca6f1677d8882b1bb26926b716bd0d6a65ce5aece99e3ac833d5bf08dcadb42e269baa1d3bd7c6e974e58a64f6da147763e9a40c6a WHIRLPOOL 150f2ce1bea20cf31b539fb1067f3d272fec6a974a42d865fc2289dd9d31727df5f3f53610e976b769c2cdd9f3cba3a7534c0405d5f49b789c7fe3238c216d84
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="LXDE Task manager"
|
||||
HOMEPAGE="http://lxde.sf.net/"
|
||||
SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86 ~arm-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/gtk+:2
|
||||
dev-libs/glib:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
>=dev-util/intltool-0.40.0"
|
||||
|
||||
# Upstream report:
|
||||
# https://sourceforge.net/p/lxde/patches/535/
|
||||
PATCHES=( "${FILESDIR}/lxtask-0.1.7-fix-no-common.patch" )
|
@ -0,0 +1,165 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
MOZ_ESR=""
|
||||
MOZ_LIGHTNING_VER="4.7.3"
|
||||
|
||||
# Can be updated using scripts/get_langs.sh from mozilla overlay
|
||||
MOZ_LANGS=(ar ast be bg bn-BD br ca cs cy da de el en en-GB en-US es-AR
|
||||
es-ES et eu fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM id is it ja ko lt
|
||||
nb-NO nl nn-NO pa-IN pl pt-BR pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr
|
||||
uk vi zh-CN zh-TW )
|
||||
|
||||
# Convert the ebuild version to the upstream mozilla version, used by
|
||||
MOZ_PN="${PN/-bin}"
|
||||
MOZ_PV="${PV/_beta/b}"
|
||||
MOZ_PV="${MOZ_PV/_rc/rc}"
|
||||
|
||||
if [[ ${MOZ_ESR} == 1 ]]; then
|
||||
# ESR releases have slightly version numbers
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
|
||||
MOZ_P="${MOZ_PN}-${MOZ_PV}"
|
||||
|
||||
MOZ_HTTP_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases"
|
||||
|
||||
inherit eutils multilib pax-utils fdo-mime gnome2-utils nsplugins mozlinguas-v2
|
||||
|
||||
DESCRIPTION="Thunderbird Mail Client"
|
||||
SRC_URI="${SRC_URI}
|
||||
amd64? ( ${MOZ_HTTP_URI}/${MOZ_PV}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 )
|
||||
x86? ( ${MOZ_HTTP_URI}/${MOZ_PV}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )
|
||||
https://dev.gentoo.org/~axs/distfiles/lightning-${MOZ_LIGHTNING_VER}.tar.xz
|
||||
"
|
||||
# the below only works when upstream releases the xpi with all locales bundled
|
||||
# ${MOZ_HTTP_URI/${MOZ_PN}/calendar/lightning}/${MOZ_LIGHTNING_VER}/linux/lightning.xpi -> lightning-${MOZ_LIGHTNING_VER}.xpi
|
||||
|
||||
HOMEPAGE="http://www.mozilla.com/thunderbird"
|
||||
RESTRICT="strip mirror"
|
||||
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
||||
IUSE="+crashreporter selinux"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="virtual/freedesktop-icon-theme
|
||||
dev-libs/atk
|
||||
>=sys-apps/dbus-0.60
|
||||
>=dev-libs/dbus-glib-0.72
|
||||
>=dev-libs/glib-2.26:2
|
||||
>=media-libs/alsa-lib-1.0.16
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.4.10:2
|
||||
>=x11-libs/cairo-1.10[X]
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-2.18:2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
>=x11-libs/pango-1.22.0
|
||||
crashreporter? ( net-misc/curl )
|
||||
selinux? ( sec-policy/selinux-thunderbird )
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${MOZ_PN}/*.so
|
||||
opt/${MOZ_PN}/${MOZ_PN}
|
||||
opt/${MOZ_PN}/${PN}
|
||||
opt/${MOZ_PN}/crashreporter
|
||||
opt/${MOZ_PN}/plugin-container
|
||||
opt/${MOZ_PN}/mozilla-xremote-client
|
||||
opt/${MOZ_PN}/updater
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MOZ_PN}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Unpack language packs
|
||||
mozlinguas_src_unpack
|
||||
#xpi_unpack lightning-${MOZ_LIGHTNING_VER}.xpi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare MOZILLA_FIVE_HOME="/opt/${MOZ_PN}"
|
||||
|
||||
local size sizes icon_path icon name
|
||||
sizes="16 22 24 32 48 256"
|
||||
icon_path="${S}/chrome/icons/default"
|
||||
icon="${PN}-icon"
|
||||
name="Thunderbird"
|
||||
|
||||
# Install icons and .desktop for menu entry
|
||||
for size in ${sizes}; do
|
||||
insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
|
||||
newins "${icon_path}/default${size}.png" "${icon}.png"
|
||||
done
|
||||
# Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
|
||||
newicon "${S}"/chrome/icons/default/default48.png "${icon}.png"
|
||||
domenu "${FILESDIR}"/icon/${PN}.desktop
|
||||
|
||||
# Install thunderbird in /opt
|
||||
dodir ${MOZILLA_FIVE_HOME%/*}
|
||||
mv "${S}" "${D}"${MOZILLA_FIVE_HOME}
|
||||
cd "${WORKDIR}" || die # PWD no longer exists so move to somewhere that does
|
||||
|
||||
# Install language packs
|
||||
MOZEXTENSION_TARGET="distribution/bundles" \
|
||||
mozlinguas_src_install
|
||||
|
||||
# Install language packs for calendar
|
||||
mozlinguas_xpistage_langpacks \
|
||||
"${ED%/}/${MOZILLA_FIVE_HOME%/}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}" \
|
||||
"${WORKDIR}"/lightning-${MOZ_LIGHTNING_VER} lightning calendar
|
||||
|
||||
# Create /usr/bin/thunderbird-bin
|
||||
dodir /usr/bin/
|
||||
cat <<EOF >"${D}"/usr/bin/${PN}
|
||||
#!/bin/sh
|
||||
unset LD_PRELOAD
|
||||
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}"
|
||||
exec ${MOZILLA_FIVE_HOME}/thunderbird "\$@"
|
||||
EOF
|
||||
fperms 0755 /usr/bin/${PN}
|
||||
|
||||
# revdep-rebuild entry
|
||||
insinto /etc/revdep-rebuild
|
||||
doins "${FILESDIR}"/10${PN}
|
||||
|
||||
# Enable very specific settings for thunderbird-3
|
||||
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs.js \
|
||||
"${D}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js" || \
|
||||
die "failed to cp thunderbird-gentoo-default-prefs.js"
|
||||
|
||||
# Plugins dir
|
||||
share_plugins_dir
|
||||
|
||||
pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{thunderbird-bin,thunderbird,plugin-container}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
elog "If calendar fails to show up in extensions, or if you need to force it"
|
||||
elog "to be reloaded in your profile (ie: after re-emerging ${PN}"
|
||||
elog "to enable or disable locales via LINGUAS), please open config editor"
|
||||
elog "and set extensions.lastAppVersion to 38.0.0 to force a reload. If this"
|
||||
elog "fails to show the calendar extension after restarting with above change"
|
||||
elog "please file a bug report."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,391 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
WANT_AUTOCONF="2.1"
|
||||
MOZ_ESR=""
|
||||
MOZ_LIGHTNING_VER="4.7.7"
|
||||
MOZ_LIGHTNING_GDATA_VER="2.6"
|
||||
|
||||
# This list can be updated using scripts/get_langs.sh from the mozilla overlay
|
||||
MOZ_LANGS=(ar ast be bg bn-BD br ca cs cy da de el en en-GB en-US es-AR
|
||||
es-ES et eu fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM id is it ja ko lt
|
||||
nb-NO nl nn-NO pa-IN pl pt-BR pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr
|
||||
uk vi zh-CN zh-TW )
|
||||
|
||||
# Convert the ebuild version to the upstream mozilla version, used by mozlinguas
|
||||
MOZ_PV="${PV/_beta/b}"
|
||||
|
||||
# Enigmail version
|
||||
EMVER="1.9.1"
|
||||
|
||||
# Patches
|
||||
PATCH="thunderbird-38.0-patches-0.1"
|
||||
PATCHFF="firefox-45.0-patches-10"
|
||||
|
||||
MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases"
|
||||
|
||||
# ESR releases have slightly version numbers
|
||||
if [[ ${MOZ_ESR} == 1 ]]; then
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
MOZ_P="${PN}-${MOZ_PV}"
|
||||
|
||||
MOZCONFIG_OPTIONAL_JIT="enabled"
|
||||
inherit flag-o-matic toolchain-funcs mozconfig-v6.45 makeedit autotools pax-utils check-reqs nsplugins mozlinguas-v2 fdo-mime gnome2-utils
|
||||
|
||||
DESCRIPTION="Thunderbird Mail Client"
|
||||
HOMEPAGE="http://www.mozilla.com/en-US/thunderbird/"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
||||
IUSE="bindist crypt hardened ldap lightning +minimal mozdom selinux"
|
||||
RESTRICT="!bindist? ( bindist )"
|
||||
|
||||
PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c}/mozilla/patchsets/{${PATCH},${PATCHFF}}.tar.xz )
|
||||
SRC_URI="${SRC_URI}
|
||||
${MOZ_HTTP_URI}/${MOZ_PV}/source/${MOZ_P}.source.tar.xz
|
||||
https://dev.gentoo.org/~axs/distfiles/lightning-${MOZ_LIGHTNING_VER}.tar.xz
|
||||
lightning? ( https://dev.gentoo.org/~axs/distfiles/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}-r1.tar.xz )
|
||||
crypt? ( http://www.enigmail.net/download/source/enigmail-${EMVER}.tar.gz )
|
||||
${PATCH_URIS[@]}"
|
||||
|
||||
ASM_DEPEND=">=dev-lang/yasm-1.1"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-libs/nss-3.21.1
|
||||
>=dev-libs/nspr-4.12
|
||||
!x11-plugins/enigmail
|
||||
crypt? ( || (
|
||||
( >=app-crypt/gnupg-2.0
|
||||
|| (
|
||||
app-crypt/pinentry[gtk(-)]
|
||||
app-crypt/pinentry[qt4(-)]
|
||||
app-crypt/pinentry[qt5(-)]
|
||||
)
|
||||
)
|
||||
=app-crypt/gnupg-1.4*
|
||||
) )"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
amd64? ( ${ASM_DEPEND}
|
||||
virtual/opengl )
|
||||
x86? ( ${ASM_DEPEND}
|
||||
virtual/opengl )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-thunderbird )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MOZ_P}"
|
||||
|
||||
BUILD_OBJ_DIR="${S}/tbird"
|
||||
|
||||
pkg_setup() {
|
||||
moz_pkgsetup
|
||||
|
||||
export MOZILLA_DIR="${S}/mozilla"
|
||||
|
||||
if ! use bindist ; then
|
||||
elog "You are enabling official branding. You may not redistribute this build"
|
||||
elog "to any users on your network or the internet. Doing so puts yourself into"
|
||||
elog "a legal problem with Mozilla Foundation"
|
||||
elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag"
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
# Ensure we have enough disk space to compile
|
||||
CHECKREQS_DISK_BUILD="4G"
|
||||
check-reqs_pkg_setup
|
||||
|
||||
if use jit && [[ -n ${PROFILE_IS_HARDENED} ]]; then
|
||||
ewarn "You are emerging this package on a hardened profile with USE=jit enabled."
|
||||
ewarn "This is horribly insecure as it disables all PAGEEXEC restrictions."
|
||||
ewarn "Please ensure you know what you are doing. If you don't, please consider"
|
||||
ewarn "emerging the package with USE=-jit"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Unpack language packs
|
||||
mozlinguas_src_unpack
|
||||
|
||||
# this version of lightning is a .tar.xz, no xpi needed
|
||||
#xpi_unpack lightning-${MOZ_LIGHTNING_VER}.xpi
|
||||
|
||||
# this version of gdata-provider is a .tar.xz , no xpi needed
|
||||
#use lightning && xpi_unpack gdata-provider-${MOZ_LIGHTNING_GDATA_VER}.xpi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Apply our Thunderbird patchset
|
||||
rm -f "${WORKDIR}"/thunderbird/2001_ldap_respect_cflags.patch
|
||||
eapply "${WORKDIR}/thunderbird"
|
||||
|
||||
# Apply our patchset from firefox to thunderbird as well
|
||||
pushd "${S}"/mozilla &>/dev/null || die
|
||||
eapply "${WORKDIR}/firefox"
|
||||
popd &>/dev/null || die
|
||||
|
||||
# Ensure that are plugins dir is enabled as default
|
||||
sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
|
||||
"${S}"/mozilla/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 32bit!"
|
||||
sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \
|
||||
"${S}"/mozilla/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 64bit!"
|
||||
|
||||
# Don't exit with error when some libs are missing which we have in
|
||||
# system.
|
||||
sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \
|
||||
-i "${S}"/mail/installer/Makefile.in || die
|
||||
|
||||
# Don't error out when there's no files to be removed:
|
||||
sed 's@\(xargs rm\)$@\1 -f@' \
|
||||
-i "${S}"/mozilla/toolkit/mozapps/installer/packager.mk || die
|
||||
|
||||
# Shell scripts sometimes contain DOS line endings; bug 391889
|
||||
grep -rlZ --include="*.sh" $'\r$' . |
|
||||
while read -r -d $'\0' file ; do
|
||||
einfo edos2unix "${file}"
|
||||
edos2unix "${file}"
|
||||
done
|
||||
|
||||
# Allow user to apply any additional patches without modifing ebuild
|
||||
eapply_user
|
||||
|
||||
# Confirm the version of lightning being grabbed for langpacks is the same
|
||||
# as that used in thunderbird
|
||||
local THIS_MOZ_LIGHTNING_VER=$(python "${S}"/calendar/lightning/build/makeversion.py ${PV})
|
||||
if [[ ${MOZ_LIGHTNING_VER} != ${THIS_MOZ_LIGHTNING_VER} ]]; then
|
||||
eqawarn "The version of lightning used for localization differs from the version"
|
||||
eqawarn "in thunderbird. Please update MOZ_LIGHTNING_VER in the ebuild from ${MOZ_LIGHTNING_VER}"
|
||||
eqawarn "to ${THIS_MOZ_LIGHTNING_VER}"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
# Ensure we run eautoreconf in mozilla to regenerate configure
|
||||
cd "${S}"/mozilla || die
|
||||
eautoconf
|
||||
cd "${S}"/mozilla/js/src || die
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
MEXTENSIONS="default"
|
||||
|
||||
####################################
|
||||
#
|
||||
# mozconfig, CFLAGS and CXXFLAGS setup
|
||||
#
|
||||
####################################
|
||||
|
||||
mozconfig_init
|
||||
mozconfig_config
|
||||
|
||||
# It doesn't compile on alpha without this LDFLAGS
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
# Add full relro support for hardened
|
||||
use hardened && append-ldflags "-Wl,-z,relro,-z,now"
|
||||
|
||||
mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
|
||||
mozconfig_annotate '' --disable-mailnews
|
||||
mozconfig_annotate '' --enable-calendar
|
||||
|
||||
# Other tb-specific settings
|
||||
mozconfig_annotate '' --with-user-appdir=.thunderbird
|
||||
|
||||
mozconfig_use_enable ldap
|
||||
|
||||
mozlinguas_mozconfig
|
||||
|
||||
# Bug #72667
|
||||
if use mozdom; then
|
||||
MEXTENSIONS="${MEXTENSIONS},inspector"
|
||||
fi
|
||||
|
||||
# Use an objdir to keep things organized.
|
||||
echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig
|
||||
|
||||
# Finalize and report settings
|
||||
mozconfig_final
|
||||
|
||||
####################################
|
||||
#
|
||||
# Configure and build
|
||||
#
|
||||
####################################
|
||||
|
||||
# Disable no-print-directory
|
||||
MAKEOPTS=${MAKEOPTS/--no-print-directory/}
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]]; then
|
||||
append-cxxflags -fno-stack-protector
|
||||
fi
|
||||
|
||||
if use crypt; then
|
||||
pushd "${WORKDIR}"/enigmail &>/dev/null ||die
|
||||
econf
|
||||
popd &>/dev/null ||die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir -p "${BUILD_OBJ_DIR}" && cd "${BUILD_OBJ_DIR}" || die
|
||||
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
|
||||
emake -f "${S}"/client.mk
|
||||
|
||||
# Only build enigmail extension if crypt enabled.
|
||||
if use crypt ; then
|
||||
einfo "Building enigmail"
|
||||
pushd "${WORKDIR}"/enigmail &>/dev/null || die
|
||||
emake -j1
|
||||
emake -j1 xpi
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare emid
|
||||
cd "${BUILD_OBJ_DIR}" || die
|
||||
|
||||
# Copy our preference before omnijar is created.
|
||||
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs-1.js-1 \
|
||||
"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
|
||||
|| die
|
||||
|
||||
mozconfig_install_prefs \
|
||||
"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js"
|
||||
|
||||
# dev-db/sqlite does not have FTS3_TOKENIZER support.
|
||||
# gloda needs it to function, and bad crashes happen when its enabled and doesn't work
|
||||
if in_iuse system-sqlite && use system-sqlite ; then
|
||||
echo "lockPref(\"mailnews.database.global.indexer.enabled\", false);" \
|
||||
>>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die
|
||||
fi
|
||||
|
||||
# Pax mark xpcshell for hardened support, only used for startupcache creation.
|
||||
pax-mark m "${BUILD_OBJ_DIR}"/dist/bin/xpcshell
|
||||
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" \
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Install language packs
|
||||
mozlinguas_src_install
|
||||
|
||||
local size sizes icon_path icon
|
||||
if ! use bindist; then
|
||||
icon_path="${S}/other-licenses/branding/thunderbird"
|
||||
icon="${PN}-icon"
|
||||
|
||||
domenu "${FILESDIR}"/icon/${PN}.desktop
|
||||
else
|
||||
icon_path="${S}/mail/branding/aurora"
|
||||
icon="${PN}-icon-unbranded"
|
||||
|
||||
newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \
|
||||
${PN}.desktop
|
||||
|
||||
sed -i -e "s:Mozilla\ Thunderbird:EarlyBird:g" \
|
||||
"${ED}"/usr/share/applications/${PN}.desktop
|
||||
fi
|
||||
|
||||
# Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
|
||||
newicon "${icon_path}"/mailicon48.png "${icon}".png
|
||||
# Install icons for menu entry
|
||||
sizes="16 22 24 32 48 256"
|
||||
for size in ${sizes}; do
|
||||
newicon -s ${size} "${icon_path}/mailicon${size}.png" "${icon}.png"
|
||||
done
|
||||
|
||||
local emid
|
||||
# stage extra locales for lightning and install over existing
|
||||
mozlinguas_xpistage_langpacks "${BUILD_OBJ_DIR}"/dist/xpi-stage/lightning \
|
||||
"${WORKDIR}"/lightning-${MOZ_LIGHTNING_VER} lightning calendar
|
||||
|
||||
emid='{e2fda1a4-762b-4020-b5ad-a41df1933103}'
|
||||
mkdir -p "${T}/${emid}" || die
|
||||
cp -RLp -t "${T}/${emid}" "${BUILD_OBJ_DIR}"/dist/xpi-stage/lightning/* || die
|
||||
insinto ${MOZILLA_FIVE_HOME}/distribution/extensions
|
||||
doins -r "${T}/${emid}"
|
||||
|
||||
if use lightning; then
|
||||
# move lightning out of distribution/extensions and into extensions for app-global install
|
||||
mv "${ED}"/${MOZILLA_FIVE_HOME}/{distribution,}/extensions/${emid} || die
|
||||
|
||||
# stage extra locales for gdata-provider and install app-global
|
||||
mozlinguas_xpistage_langpacks "${BUILD_OBJ_DIR}"/dist/xpi-stage/gdata-provider \
|
||||
"${WORKDIR}"/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}
|
||||
emid='{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}'
|
||||
mkdir -p "${T}/${emid}" || die
|
||||
cp -RLp -t "${T}/${emid}" "${BUILD_OBJ_DIR}"/dist/xpi-stage/gdata-provider/* || die
|
||||
insinto ${MOZILLA_FIVE_HOME}/extensions
|
||||
doins -r "${T}/${emid}"
|
||||
fi
|
||||
|
||||
if use crypt ; then
|
||||
local enigmail_xpipath="${WORKDIR}/enigmail/build"
|
||||
cd "${T}" || die
|
||||
unzip "${enigmail_xpipath}"/enigmail*.xpi install.rdf || die
|
||||
emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
|
||||
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} || die
|
||||
cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
|
||||
unzip "${enigmail_xpipath}"/enigmail*.xpi || die
|
||||
fi
|
||||
|
||||
# Required in order for jit to work on hardened, for mozilla-31 and above
|
||||
use jit && pax-mark pm "${ED}"${MOZILLA_FIVE_HOME}/{thunderbird,thunderbird-bin}
|
||||
|
||||
# Plugin-container needs to be pax-marked for hardened to ensure plugins such as flash
|
||||
# continue to work as expected.
|
||||
pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/plugin-container
|
||||
|
||||
if use minimal; then
|
||||
rm -r "${ED}"/usr/include "${ED}"${MOZILLA_FIVE_HOME}/{idl,include,lib,sdk} || \
|
||||
die "Failed to remove sdk and headers"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
if use crypt; then
|
||||
local peimpl=$(eselect --brief --colour=no pinentry show)
|
||||
case "${peimpl}" in
|
||||
*gtk*|*qt*) ;;
|
||||
*) ewarn "The pinentry front-end currently selected is not one supported by thunderbird."
|
||||
ewarn "You may be prompted for your password in an inaccessible shell!!"
|
||||
ewarn "Please use 'eselect pinentry' to select either the gtk or qt front-end"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
elog
|
||||
elog "If you experience problems with plugins please issue the"
|
||||
elog "following command : rm \${HOME}/.thunderbird/*/extensions.sqlite ,"
|
||||
elog "then restart thunderbird"
|
||||
if ! use lightning; then
|
||||
elog
|
||||
elog "If calendar fails to show up in extensions please open config editor"
|
||||
elog "and set extensions.lastAppVersion to 38.0.0 to force a reload. If this"
|
||||
elog "fails to show the calendar extension after restarting with above change"
|
||||
elog "please file a bug report."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST glm-0.9.6.1.zip 4232099 SHA256 1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da835c5b06fb0b93bb33e8 SHA512 7f1468c5e60e65181f4685a2429fa8d70350a3576175a55b7c9e8597a03837cb84aeaeb88d311e1e1948c5bd90ad9cee9286433cb78fdee54b0fbe5313ce2f84 WHIRLPOOL 88e0c6df25ee1bf73b625614be61c21c07389a7ecc05e2e74714da08412ab3ab0eba6c99c6a793f7b08d52f6748ef5202d8301c1b6cf4d64ab06184bc9482030
|
||||
DIST glm-0.9.7.6.tar.gz 3457100 SHA256 872fdea580b69b752562adc60734d7472fd97d5724c4ead585564083deac3953 SHA512 d4e1e173405c11b5744df8dc12f0848cd84ab27b868434c0f8fc74f15110b78606564991f3063ccc97e68a0aa1c1cb4a1b40ba6ce7feffb0d1a23c3e5cff315a WHIRLPOOL ac48038cc7ed3e5a7f8a192ba4fe7cd43cc4f5f65cbfebe545ef0b9841f945e9fd6ff1385fa8c8d09ac4c578883827f187290b1154e1f5f01b8558a5e604883b
|
||||
DIST glm-0.9.8.2.tar.gz 3767435 SHA256 430cc444881750622040f386b1e509c238f4813a58e069f9e39d3e3e7b73b629 SHA512 88232f020ba1f749803bd22c6924a834d8a660a7b120269d872438bdc6ccf110f6c5c1fdb8349ee55c58a9fd295a4ae545eaddf227f2175d10f967ef1dd3dc80 WHIRLPOOL b1526dc7ab26cee31d842f59b8d3f69ba95dea028f76154aaf0770b2dd01a12f03889c5e2e8c5caa2bd9cf6e75409042816e73f81f18b43be83d7852ca4ad217
|
||||
DIST glm-0.9.8.3.tar.gz 3767840 SHA256 0c09d7d03e68cef60e6384385739c36eb9d49586f6827c4ca95fac1819c9328e SHA512 708317254941f288449b9abe41b57053d67e689a9a13efcce9d71940ae27fef777a5ffc2e2a33a0142701af78ddc66a17c9f59851e4be8690919fa8e9eeeb2fa WHIRLPOOL 21e4b1e1f0105b0721c98a913234b9a7d78e56b5cac0b9f08b0ac4cefe0459bcaf8f74dc29052bf7b88b5780c632a066a2702b6581cb4e2468ce3995d09afb6d
|
||||
DIST glm-0.9.8.4.tar.gz 3769208 SHA256 a220e60f8711265595be3221e530d632d5823641ecd46a3a54bc174933bff14c SHA512 ff0e0651a695caebe9235882d14e09546d52b3cdf66cca8e2078f15b02a3fca4e47bd97d2807aa329f76aa633af3b4999501bd4d0b22ad44b00558d4917f39ed WHIRLPOOL 4ed7f2550d454148717d813fb387466ed3863411a59c9d376ee64d9d74f9cd961b604b1fc6cfe252fe530060f13a2354872bb263ce4dcb98810125e4d2b13879
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
@ -1,4 +1,5 @@
|
||||
DIST mutagen-1.27.tar.gz 875720 SHA256 cc884fe1e20fe220be7ce7c3b269f4cadc69a8310150a3a41162fba1ca9c88bd SHA512 ae15fb3f5d77025a60e25a2ed25e23f7d21160d4e63c49fe7d01508440ff1f6b673cf34d8f4facc834824825ad6f4d3ed9830133db5aba339ac1eae46f7f50d5 WHIRLPOOL ecd44cc7fde15f87a2a31be84b428a49e97d67ce26c700382b4e2ba7cdb995223ea6dfda101dd7039d4c7ce23a2314d7e523b9849f19189a6ed7bcdb18bbd52e
|
||||
DIST mutagen-1.31.tar.gz 897785 SHA256 0aa011707785fe30935d8655380052a20ba8b972aa738d4f144c457b35b4d699 SHA512 d603afa049e2223dc1050ee26101add4150f8ca57fcee1bbbfd1233276b15fda5972d58e8472135396e54f2778219462619fbec8dddb97c35a7fb7638fec0c23 WHIRLPOOL afe4977ba2da8d8adbcf1b333105eab9f2c79b6a31eeed6199a33c4ac8c4f23b62e2b45a6322c4058d77c3c8ea5ac8581c18dc9ff29b0368aa07713c5694b8ef
|
||||
DIST mutagen-1.35.1.tar.gz 883772 SHA256 49cda72ee5213e60d5d48a80187b0b17d37a6244f37751f72e480c1b1832934e SHA512 e411b86d50a7689589b7d300317dc2a2c4893efe47b66d07bdf5fe92f1d08fcc00c314e3ae1f97d706fcaae6c83c7569bb22b557af2dfc469b1d3c4f0388a260 WHIRLPOOL 6662ed461122fae69cf8844f6460ae8635cc1b7b3e5faf13f83a51d8f02bac927c8d850f727f602ba83b3be41e3c5c28b4ea2dfa2564710d525f5a699992f0e7
|
||||
DIST mutagen-1.36.1.tar.gz 889370 SHA256 ce2e9c85b06df59737ecd82697cb479d31626a19136a23e9ac91fbe654cd7c5f SHA512 8d3b2510f5ce1f0d5e5cbee5f0ef00db6ec770ec25c24b12340c15546cb3ad605c417787171aaa358fe16035e476d96a6ccd68da78d62aa2e89e38f3258a7c66 WHIRLPOOL 8686a32760cadac1caadc2c3048cbc672df59bad774c0c15abb1a30e63cb997f0cefd841f83d1eb55f89aaa984a803b83e7a9e9d15b5df703341d5876b9d0813
|
||||
DIST mutagen-1.36.tar.gz 888238 SHA256 d7ee37e33b8c5893c3ebf66edac31241eb9d48e1dc7ec647bbfbc180565a4bcd SHA512 82aabebdd5df5a6e68a6e983073feced972c5cfd74711c52d12559617fd29ed0835a9067ea5b8b7be7fb34dda0b9c46b81dfa0338834eedfe7e482e2cfcc249f WHIRLPOOL 7628247a475f9b56eea972a36e7ed6aca7a9cfeaa80055f472e0b537af55a68a38cf56faabad24040ae0e82fa2d2d028e304a135d33bf274bf14a58d0f91cd27
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Audio metadata tag reader and writer implemented in pure Python"
|
||||
HOMEPAGE="https://bitbucket.org/lazka/mutagen https://pypi.python.org/pypi/mutagen"
|
||||
SRC_URI="https://bitbucket.org/lazka/${PN}/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
# TODO: Missing support for >=dev-python/eyeD3-0.7 API
|
||||
# test? ( >=dev-python/eyeD3-0.7 )
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# tests/test_flac.py uses temp files with a constant path.
|
||||
# If we had multiple python implementations, we would hit a race.
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( NEWS README.rst )
|
||||
use doc && local HTML_DOCS=( docs/_build/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pa_stable_v190600_20161030.tgz 1450572 SHA256 f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513 SHA512 7ec692cbd8c23878b029fad9d9fd63a021f57e60c4921f602995a2fca070c29f17a280c7f2da5966c4aad29d28434538452f4c822eacf3a60af59a6dc8e9704c WHIRLPOOL c72e2e94c99659ce439840fa2ee56fa7e1bf499601c89e6d891b6a800e4987f3fb4f90c5a4a4cf3e4ae271108f7e8240c5b46c05d8f2b32ac5e15cd3b6c6bf5d
|
||||
DIST pa_stable_v19_20140130.tgz 1504620 SHA256 8fe024a5f0681e112c6979808f684c3516061cc51d3acc0b726af98fc96c8d57 SHA512 078adfdc2cec7fbd4019837eee65f8411b873b51064dfd7334e1c55118c26ea1fb68cb22e46ee69adb69c78d026b00a7ed973c40632e7d79703e12669a62ee3e WHIRLPOOL a86777a4f3af59b64248d14522820a06fc9171fd5de88a2f688b2cc3e39d2374bc4f9d0c39b041fcf189f8db074810597056b45dfde80cbe4cfa7579cd30f3f9
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
|
||||
inherit autotools-multilib
|
||||
|
||||
DESCRIPTION="A free, cross-platform, open-source, audio I/O library"
|
||||
HOMEPAGE="http://www.portaudio.com/"
|
||||
SRC_URI="http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="alsa +cxx debug jack oss static-libs"
|
||||
|
||||
RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
|
||||
jack? ( virtual/jack[${MULTILIB_USEDEP}] )
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r8
|
||||
!app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
DOCS=( README.txt )
|
||||
HTML_DOCS=( index.html )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable debug debug-output)
|
||||
$(use_enable cxx)
|
||||
$(use_with alsa)
|
||||
$(use_with jack)
|
||||
$(use_with oss)
|
||||
)
|
||||
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-multilib_src_compile lib/libportaudio.la
|
||||
autotools-multilib_src_compile
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST kodi-pvr-mythtv-4.12.11.tar.gz 652826 SHA256 3ac4a9ff51f7ae8c3161b350d16ebada262161e3228efc92904e31ec44cb95cf SHA512 2b729dc6ec933ef829ceff48300642f3ee8c9441532bc5024d767196d137d6a567a5e5cff32e9b982b0787aff1c804c2178d56b0b7c3a40a241a8293a203320a WHIRLPOOL dbb035156e306fcc4ddbe713d9243c190d86f51b6a8a38641a21d4e4176e12d5d4925f06433aed29570f86d8daca1f24955e889248ce092abf5c7a938f2e1da2
|
||||
DIST kodi-pvr-mythtv-4.12.12.tar.gz 654045 SHA256 596fc11f26574939c5610f82f033808ca8d923543462254e793eab08d6c7d41c SHA512 74c6f984fdc165bbd20be19bce1879fc2d091c497dc5038ae1e0dbdac5a38f7541231fc9931fe863e482bf9ffeb88b9fdd9aabc83897f46099d7a5237bb24d41 WHIRLPOOL c5549e3f71823fb11e0315851c996df6acf9648781f27a193111c8001faed653d50d1a1f7a791b339213313cbfae4562d0db0503293e1f5b82c4a5243c23ff17
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils kodi-addon
|
||||
|
||||
DESCRIPTION="MythTV PVR for Kodi"
|
||||
HOMEPAGE="https://github.com/janbar/pvr.mythtv"
|
||||
SRC_URI=""
|
||||
|
||||
case ${PV} in
|
||||
9999)
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="git://github.com/janbar/pvr.mythtv.git"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/janbar/pvr.mythtv/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/pvr.mythtv-${PV}"
|
||||
;;
|
||||
esac
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
media-tv/kodi
|
||||
media-libs/kodi-platform
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
@ -1 +1,2 @@
|
||||
DIST opus-tools-0.1.10.tar.gz 312093 SHA256 a2357532d19471b70666e0e0ec17d514246d8b3cb2eb168f68bb0f6fd372b28c SHA512 4ead97b9fe4658968a4b5cbe4bde5e2d8cbfaaea18dd0d817597cc6b6b11f26937b9eee7358ade63568f0213131aa80ecbed169d1b3885980a556871a4a7fe98 WHIRLPOOL 8ecfdf10c55adda1a05f76a515b8583e56e5e80a32fcfda8fbf0db9026e9e3a176c90ef11782d89264e4c85ca139e20c15934790355c2c7c3646a74a248e2816
|
||||
DIST opus-tools-0.1.9.tar.gz 385158 SHA256 b1873dd78c7fbc98cf65d6e10cfddb5c2c03b3af93f922139a2104baedb4643a SHA512 e2cdc0c9c24297565f9d457893bcc548696b1a9c9b66e4cd48ddbe4dcf865bc50da5ed1b438b2b9ecdcd8be1d7c211d2be199f707cdbcd8a46a75353b0173a4c WHIRLPOOL c0acf53763c6263ece4b8b796373ba689006282987043ed15c3d747d08cc9fae76e968a643919b4d9d08a00acc9b8ad46e4fefbdd43263d7293ae2fb93e88278
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Royalty-free, highly versatile audio codec"
|
||||
HOMEPAGE="http://opus-codec.org/"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://git.opus-codec.org/${PN}.git"
|
||||
elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot
|
||||
SRC_URI="https://dev.gentoo.org/~lu_zero/${PN}/${P}.tar.xz"
|
||||
else # Official release
|
||||
SRC_URI="http://downloads.xiph.org/releases/opus/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="flac"
|
||||
|
||||
RDEPEND=">=media-libs/libogg-1.3.0
|
||||
>=media-libs/opus-1.0.3
|
||||
flac? ( >=media-libs/flac-1.1.3 )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ ${PV} == *9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with flac)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST quodlibet-3.5.1.tar.gz 3421676 SHA256 f168606ce931c30fcd478d354916bb07ae4ca9a61113af9b988e33f73adcb6c6 SHA512 c14447b17d15ad65fc54e4c81b26b190fa4622b1d83b0b7a4c85e42e332585fe067f93a2f0236bab20186072fb2af0a334bb2741660edb282f1e5e7a00a23c9d WHIRLPOOL 733a7bc88797561a27d2757422bb65bb09f366f91824772b54ac99aefa95b8769f1f566772424a8a819fc7e861bead048ab5c2f4ffc4656d46235454739d09b0
|
||||
DIST quodlibet-3.6.2.tar.gz 3454566 SHA256 289233ddd26d3d436139e63b01177ead3017b5aa51ff4bd6e6198ec177c6e318 SHA512 2551f5149feb4125087f2102e1e0cfb4b810b92b3ffd9f2b1ed37a7b821933c6b7d718c6b3674569eb2dfe1fd75176bf4d5e4b6587cbbb4f405229dcd7b4a850 WHIRLPOOL ef3acbf8e809fbcd2e638347de4c6af328919114adb9ee3aa17a220a42e2fee96177598a7730a48cfa7d977f055a58a7442694d5bd6c92e953732f4fa4303b05
|
||||
DIST quodlibet-3.7.0.tar.gz 3651906 SHA256 a7bf4bd1dadd6e0156380c5e82fbde396106da15a5600484f54c6904d2d9e550 SHA512 900fd49cc2ece6e681116962529e6648ed487fcb7492832940ad2210bf47a4a0fefb0500c1a1477bd440d2cb5be9a330a1b0e4a87b7d332d710e25bf087779fb WHIRLPOOL 5dc12fbe05b2a6c4ca86d510498bb6376e37cda8cfbda6614686cc543ef1ac926167ef03997caf40e83a136c8391dfb9aaa369106204e3a0cd57778340d099af
|
||||
DIST quodlibet-3.7.1.tar.gz 3651908 SHA256 229a26289880860abfd0ec31d9f0aa830c84a3f78205feb11f3ec710e02f02cd SHA512 73f2a909e29178fb4074dbf451a6d04170aebecb7934248b04b909f9639c9098054eefe3343cfb67cc3c622f6d453b5417e5233d4d2ec9c87c48a0c5b4debf4f WHIRLPOOL 2149daf74da7bc01a9822d841de7634c72cca02ef2ab59ae8ac2cd4716e72bed2d6f3342c3b32ddd66c393ecab7c311729e424175a8c7264de0edf2525391187
|
||||
DIST quodlibet-3.8.0.tar.gz 3693127 SHA256 265c9d3da66a82fceb8882d09d40659ee1ccd6e9da7a5a3ab4b828f8b36b7122 SHA512 c51587f557239525ea7e77566b59c3209a7703bec29aae07ad28c3001bd220700a29a0923704532ad2a42ec5241725e3030bee63c644371f929666f345dfce56 WHIRLPOOL 8ce4f522ab6442d6645ec0b64a5dfda27d950193c644a133ed7ce2061f5a6083d00c6088455865da8b60b44b9b1963dfa75db42640ea3a3f1da23a31cf572772
|
||||
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit distutils-r1 gnome2-utils fdo-mime
|
||||
|
||||
DESCRIPTION="audio library tagger, manager, and player for GTK+"
|
||||
HOMEPAGE="http://quodlibet.readthedocs.org"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE="+dbus gstreamer ipod +udev"
|
||||
|
||||
RDEPEND="dev-libs/keybinder:3[introspection]
|
||||
dev-python/feedparser[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
>=media-libs/mutagen-1.22[${PYTHON_USEDEP}]
|
||||
x11-libs/gtk+[introspection]
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gst-plugins-good:1.0
|
||||
media-plugins/gst-plugins-meta:1.0
|
||||
)
|
||||
!gstreamer? ( media-libs/xine-lib )
|
||||
dbus? (
|
||||
app-misc/media-player-info
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
)
|
||||
ipod? ( media-libs/libgpod[python,${PYTHON_USEDEP}] )
|
||||
udev? ( virtual/udev )
|
||||
!media-plugins/quodlibet-plugins"
|
||||
DEPEND="dev-util/intltool"
|
||||
REQUIRED_USE="ipod? ( dbus )"
|
||||
|
||||
S="${WORKDIR}/${PN}-release-${PV}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
local qlconfig=${PN}/config.py
|
||||
|
||||
if ! use gstreamer; then
|
||||
sed -i -e '/backend/s:gstbe:xinebe:' ${qlconfig} || die
|
||||
fi
|
||||
|
||||
sed -i -e '/gst_pipeline/s:"":"alsasink":' ${qlconfig} || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
dodoc NEWS README
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit distutils-r1 gnome2-utils fdo-mime
|
||||
|
||||
DESCRIPTION="audio library tagger, manager, and player for GTK+"
|
||||
HOMEPAGE="http://quodlibet.readthedocs.org"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
IUSE="+dbus gstreamer ipod +udev"
|
||||
|
||||
RDEPEND="dev-libs/keybinder:3[introspection]
|
||||
dev-python/feedparser[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
>=media-libs/mutagen-1.22[${PYTHON_USEDEP}]
|
||||
x11-libs/gtk+[introspection]
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gst-plugins-good:1.0
|
||||
media-plugins/gst-plugins-meta:1.0
|
||||
)
|
||||
!gstreamer? ( media-libs/xine-lib )
|
||||
dbus? (
|
||||
app-misc/media-player-info
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
)
|
||||
ipod? ( media-libs/libgpod[python,${PYTHON_USEDEP}] )
|
||||
udev? ( virtual/udev )
|
||||
!media-plugins/quodlibet-plugins"
|
||||
DEPEND="dev-util/intltool"
|
||||
REQUIRED_USE="ipod? ( dbus )"
|
||||
|
||||
S="${WORKDIR}/${PN}-release-${PV}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
local qlconfig=${PN}/config.py
|
||||
|
||||
if ! use gstreamer; then
|
||||
sed -i -e '/backend/s:gstbe:xinebe:' ${qlconfig} || die
|
||||
fi
|
||||
|
||||
sed -i -e '/gst_pipeline/s:"":"alsasink":' ${qlconfig} || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
dodoc NEWS README
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit distutils-r1 gnome2-utils fdo-mime
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST obs-studio-0.16.2.tar.gz 4979287 SHA256 f5b1a5a4e3900a2b2df4ec6f4a51e0816db1ceed432849ed58301da77ccf4f5c SHA512 ef74b20aa3927134d0deb9513af67abe5dc99199626245a93011bd69d41b811695bc1f071dcd6ed826c2bd5f35247906975f74638c9cd0a39b9415ac88aac425 WHIRLPOOL 5576c4da240ea65d84e195decb655b8774b1540bcde7d01060a38b47e1c561b485c24b88b2771a10b94fe8a0d6d77c05d25ee65313278879609474ff451b2628
|
||||
DIST obs-studio-17.0.0.tar.gz 5243839 SHA256 5b7d9a6389011c74fec777667edeb1ac7d8ae7faff13f141650d295d7cd9181e SHA512 17c0b400762e4b12dc619ed7ef36bf364f2f7c3f350630dfcfd3b46c72ec488d08dea5a13ef177c24c2f52760170e3c0bef50cec80362e0d542eab096986db7b WHIRLPOOL cda17b9dc5f29084f2eab614136d59deda1dc7f4f6e15b3e9d67907716ecb580b402eddfb3e06ef9bfe76c9e59fa92a07adc16e30ed492f95b44766ad4a67526
|
||||
DIST obs-studio-17.0.2.tar.gz 5540286 SHA256 555740290a5eefcc2788174334322ec9bd271f2255730ef947e160cde6858e09 SHA512 932dde63f9648c65bf0ed0459e441113e91b9f7a9debb3b18ca30152395358449b03738499aaf99364cc9c4a21da61abdc5920e7347c040dcfbe0b46d3bf0520 WHIRLPOOL 178f4947cf181f95a0b575bdf5f4e7fcf5cb2d4a8ac96c06d8f14edcd16dca899a9446e3702fcdab7b501f464c758f8651c5f82955742ca55b42ae3e1dfd4c4b
|
||||
|
@ -0,0 +1,110 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/jp9000/obs-studio.git"
|
||||
EGIT_SUBMODULES=()
|
||||
else
|
||||
SRC_URI="https://github.com/jp9000/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Software for Recording and Streaming Live Video Content"
|
||||
HOMEPAGE="https://obsproject.com"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+alsa fdk imagemagick jack pulseaudio truetype v4l"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/jansson-2.5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtmultimedia:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtquickcontrols:5
|
||||
dev-qt/qtsql:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
media-video/ffmpeg:=[x264]
|
||||
net-misc/curl
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
fdk? ( media-libs/fdk-aac:= )
|
||||
imagemagick? ( media-gfx/imagemagick:= )
|
||||
jack? ( virtual/jack )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
truetype? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
)
|
||||
v4l? ( media-libs/libv4l )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
CMAKE_REMOVE_MODULES_LIST=( FindFreetype )
|
||||
|
||||
src_configure() {
|
||||
local libdir=$(get_libdir)
|
||||
local mycmakeargs=(
|
||||
-DDISABLE_ALSA=$(usex !alsa)
|
||||
-DDISABLE_FREETYPE=$(usex !truetype)
|
||||
-DDISABLE_JACK=$(usex !jack)
|
||||
-DDISABLE_LIBFDK=$(usex !fdk)
|
||||
-DDISABLE_PULSEAUDIO=$(usex !pulseaudio)
|
||||
-DDISABLE_V4L2=$(usex !v4l)
|
||||
-DLIBOBS_PREFER_IMAGEMAGICK=$(usex imagemagick)
|
||||
-DOBS_MULTIARCH_SUFFIX=${libdir#lib}
|
||||
-DOBS_VERSION_OVERRIDE=${PV}
|
||||
-DUNIX_STRUCTURE=1
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
|
||||
if ! use alsa && ! use pulseaudio; then
|
||||
elog
|
||||
elog "For the audio capture features to be available,"
|
||||
elog "either the 'alsa' or the 'pulseaudio' USE-flag needs to"
|
||||
elog "be enabled."
|
||||
elog
|
||||
fi
|
||||
|
||||
if ! has_version "sys-apps/dbus"; then
|
||||
elog
|
||||
elog "The 'sys-apps/dbus' package is not installed, but"
|
||||
elog "could be used for disabling hibernating, screensaving,"
|
||||
elog "and sleeping. Where it is not installed,"
|
||||
elog "'xdg-screensaver reset' is used instead"
|
||||
elog "(if 'x11-misc/xdg-utils' is installed)."
|
||||
elog
|
||||
fi
|
||||
|
||||
if ! has_version "media-libs/speex"; then
|
||||
elog
|
||||
elog "For the speexdsp-based noise suppression filter"
|
||||
elog "to be available, the 'media-libs/speex' package needs"
|
||||
elog "to be installed."
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue