parent
adeea13f34
commit
88e6ca96bc
@ -1,3 +1 @@
|
||||
DIST hardinfo-0.5.1.tar.bz2 246924 SHA256 a0df6c0d7c92a7d20710b8eb551197398a965aaae053782b89a32a160b731b7a SHA512 5a4322ff3bddd31710c5aa6e68feadf755ed8f36c1b36bb914c212d431b341fad5cc16afdfe9b8feeb6c219dd1616015d59b142798fc06498e728d1039ddf04d WHIRLPOOL 024bc3aa3570947684a1b28b606f5bb881d6e55190f733b19f51f7d329af286ba34dfcb9fdc328f154c207558913297de3f3e83617a6eed51086045c59bbef07
|
||||
DIST hardinfo-0.5.2_pre20120527.tar.xz 278524 SHA256 d01f1a59b2911f54e0aaea178c0c600f2505abafd0a46c54e80e9aa0fec2db56 SHA512 477082b0f6ae6293b40e672b95bbad6629e67462557e142847115619a0f667ef667da98ab01dfafe17bac27d20c1f9c5ff711e1f8642a4898730c2e2daba8afe WHIRLPOOL 0d39f17279dd93a282dc0f61dd01a13eca345e8aabf52d403dda1c70ae9f0de445c71c4fcc46dbf614a867ea75826288ec50595826b52e131d72daaf1b9f78ba
|
||||
DIST hardinfo-0.5.2_pre20130823.tar.xz 280472 SHA256 afebba2f2ff666577f5871bb34f43f8613163b264d3805b42d38bca59905b542 SHA512 e36bd4eec0090461de5fdb6c17dccf76937ee8fa9cb3411068fc568847f519023037999278bbb8b9a24608ed5b1d7fd2bebfe7115c631ccca1c35fa259cb20b1 WHIRLPOOL 416ef939f3747983f0736efb8cf317f19b4eee7489dea7caeff77782922b09b53442a6b08ec44357dfbe39cc552c7757b99365924b7b48ee92d780feffd3242f
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/hardinfo/hardinfo-0.5.1.ebuild,v 1.1 2012/05/26 21:46:09 hasufell Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="A system information and benchmark tool for Linux systems"
|
||||
HOMEPAGE="http://hardinfo.berlios.de/"
|
||||
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
net-libs/libsoup
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/pango"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags "-O*"
|
||||
default
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/hardinfo/hardinfo-0.5.2_pre20120527.ebuild,v 1.6 2012/12/31 14:18:36 hasufell Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils eutils multilib
|
||||
|
||||
DESCRIPTION="A system information and benchmark tool for Linux systems"
|
||||
HOMEPAGE="http://hardinfo.berlios.de/"
|
||||
SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
net-libs/libsoup
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/pango"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build.patch \
|
||||
"${FILESDIR}"/${P}-underlinking.patch \
|
||||
"${FILESDIR}"/${P}-clang.patch
|
||||
|
||||
sed \
|
||||
-e 's/g_build_filename(prefix, "lib"/g_build_filename(prefix, "'$(get_libdir)'"/' \
|
||||
-i hardinfo/binreloc.c || die
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/cfv/cfv-1.18.3-r1.ebuild,v 1.2 2014/12/26 18:11:21 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Utility to test and create .sfv, .csv, .crc and md5sum files"
|
||||
HOMEPAGE="http://cfv.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/cfv/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="bittorrent"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/python-fchksum[${PYTHON_USEDEP}]
|
||||
bittorrent? (
|
||||
|| (
|
||||
net-p2p/bittorrent[${PYTHON_USEDEP}]
|
||||
net-p2p/bittornado[${PYTHON_USEDEP}]
|
||||
)
|
||||
)"
|
||||
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_fix_shebang cfv
|
||||
dobin cfv
|
||||
doman cfv.1
|
||||
dodoc README Changelog
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/ipkg-utils/ipkg-utils-1.7.050831-r2.ebuild,v 1.1 2014/12/26 18:13:08 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils toolchain-funcs versionator
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 3)"
|
||||
|
||||
DESCRIPTION="Tools for working with the ipkg binary package format"
|
||||
HOMEPAGE="http://www.openembedded.org/"
|
||||
SRC_URI="http://handhelds.org/download/packages/ipkg-utils/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~x86"
|
||||
IUSE="minimal"
|
||||
|
||||
DEPEND="
|
||||
!minimal? (
|
||||
app-crypt/gnupg
|
||||
net-misc/curl
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-tar_call_fixes.patch"
|
||||
epatch "${FILESDIR}/${P}-hashlib.patch"
|
||||
|
||||
sed '/python setup.py build/d' -i Makefile
|
||||
|
||||
if use minimal; then
|
||||
elog "ipkg-upload is not installed when the \`minimal' USE flag is set. If you"
|
||||
elog "need ipkg-upload then rebuild this package without the \`minimal' USE flag."
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils-r1_src_compile
|
||||
emake CC="$(tc-getCC)" || die "emake failed"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
if use minimal; then
|
||||
rm "${ED}usr/bin/ipkg-upload" \
|
||||
"${D}$(python_get_scriptdir)/ipkg-upload" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Consider installing sys-apps/fakeroot for use with the ipkg-build command,"
|
||||
elog "that makes it possible to build packages as a normal user."
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/burn-cd/burn-cd-1.8.0-r1.ebuild,v 1.1 2014/12/26 19:51:34 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Smart console frontend for virtual/cdrtools and dvd+rw-tools"
|
||||
HOMEPAGE="http://burn-cd.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
virtual/cdrtools
|
||||
app-cdr/dvd+rw-tools"
|
||||
DEPEND=""
|
||||
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
python_fix_shebang ${P}
|
||||
newbin ${P} ${PN}
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-4.2.1-r2.ebuild,v 1.1 2014/12/26 18:57:12 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils multilib autotools java-pkg-opt-2 python-single-r1
|
||||
|
||||
DESCRIPTION="general-purpose cryptography library"
|
||||
HOMEPAGE="http://sourceforge.net/projects/beecrypt/"
|
||||
SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="java cxx python static-libs threads doc"
|
||||
|
||||
COMMONDEPEND="!<app-arch/rpm-4.2.1
|
||||
cxx? ( >=dev-libs/icu-2.8:= )
|
||||
python? ( ${PYTHON_DEPS} )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
doc? ( app-doc/doxygen
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-fontsextra
|
||||
)"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jre-1.4 )"
|
||||
|
||||
DOCS="BUGS README BENCHMARKS NEWS"
|
||||
|
||||
REQUIRED_USE="cxx? ( threads )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
use java && java-pkg-opt-2_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-opt-2_src_prepare
|
||||
|
||||
epatch "${FILESDIR}"/${P}-build-system.patch
|
||||
epatch "${FILESDIR}"/${P}-gcc-4.7.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# cpluscplus needs threads support
|
||||
econf \
|
||||
--disable-expert-mode \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable threads) \
|
||||
$(use_with python python "${PYTHON}") \
|
||||
$(use_with cxx cplusplus) \
|
||||
$(use_with java)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
cd include/beecrypt || die
|
||||
doxygen || die "doxygen failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf"
|
||||
echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}"
|
||||
emake check
|
||||
emake bench
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -f "${D%/}$(python_get_sitedir)"/_bc.*a
|
||||
|
||||
use static-libs || find "${ED}" -name '*.la' -delete
|
||||
|
||||
use doc && dohtml -r docs/html/.
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libofx-0.9.10.tar.gz 1433837 SHA256 54e26a4944ef2785087cfd8ed8f187ab9d397d9b92b5acc199dd7d5d095cf695 SHA512 061110702034dbbb9be3adaebe6236a4b0842169d8ee7671bad6c93960b380cbb33953bdf080c8b14f45930b0c817fcfe1bf71f15d9872dd2535a1415f5be895 WHIRLPOOL 2cf39474bde30086b51529d4fccae51c6b1728b413ddf45768283e1404d0b8bb0316a532c3a1436dfee22d4953df8ef42470bf4414cbd1aef7b9fb7c8661ce38
|
||||
DIST libofx-0.9.5.tar.gz 1526857 SHA256 a075c5634b94bad16f8c949eeb77625d31bedea3bb10a8da174b989ffab7e78e SHA512 f7c6e0d85ee1f01216678ec51939ffe09c4a4c5ccc97a5928be45bd2be27418a95004a8a46f17225366908cdd8bb43b19bf95295f0e6422802d3a935a63eb0a9 WHIRLPOOL 67f61361417636e297f45f7c9d3d4de9e88a20c9af4b1a6f811d4b6d6d671f045f3f485b193d24372e89fdbfbd944565bb3ec224578351c1d31cf9c109921d5f
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/libofx-0.9.10.ebuild,v 1.1 2014/12/26 18:50:02 kensington Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="A library to support the Open Financial eXchange XML format"
|
||||
HOMEPAGE="http://libofx.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RDEPEND="
|
||||
>=app-text/opensp-1.5
|
||||
dev-cpp/libxmlpp:2.6
|
||||
>=net-misc/curl-7.9.7
|
||||
virtual/libiconv
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/help2man
|
||||
virtual/pkgconfig
|
||||
test? ( app-crypt/gnupg )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
|
||||
# Be sure DTD gets installed in correct path after redefining docdir in install
|
||||
sed -i \
|
||||
-e 's:$(DESTDIR)$(docdir):$(DESTDIR)$(LIBOFX_DTD_DIR):' \
|
||||
dtd/Makefile.in || die
|
||||
|
||||
# configure arguments alone don't disable everything
|
||||
sed -e "/^SUBDIRS/s/doc//" -i Makefile.in || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install docdir="/usr/share/doc/${PF}"
|
||||
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/{COPYING,INSTALL}
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST lzo-2.06.tar.gz 583045 SHA256 ff79e6f836d62d3f86ef6ce893ed65d07e638ef4d3cb952963471b4234d43e73 SHA512 2369b87627c6f075b58b88189344989969050289185596db1174e6d918baa2b86e6076c8ec9cc68953df10c13bd1145d841603f26bde8a80111fb0d7091bf1c7 WHIRLPOOL 7d7fd154a73ed8a123eefb7934ec387be6cc34264c7601a5b2d92be67feb7e445cabdb1a38693f6f79ab1ccde44ce9e94eb5e4542053ea1acae83593b384bda7
|
||||
DIST lzo-2.08.tar.gz 589045 SHA256 ac1b3e4dee46febe9fd28737eb7f5692d3232ef1a01da10444394c3d47536614 SHA512 d03ae521000d69dd1fc92112a7b6e642c388b2898d7fb6ac4168e947a895e8d5e77199f78f05e036cefe02f346ea242bca694522f3c7959ab6ca19de956162dd WHIRLPOOL bea0357b01cb64018a5afc7b0934065dda944866aa23f44edd4eb615d53c0242b70c836d2d8144ed64df4a438bea5c1b8b5120ee4a7f08af15db171f85c11ac8
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/lzo/lzo-2.06-r1.ebuild,v 1.1 2014/02/28 20:37:12 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="An extremely fast compression and decompression library"
|
||||
HOMEPAGE="http://www.oberhumer.com/opensource/lzo/"
|
||||
SRC_URI="http://www.oberhumer.com/opensource/lzo/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
RDEPEND="abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r19
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32]
|
||||
)"
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc BUGS ChangeLog README THANKS doc/*
|
||||
rm "${ED}"/usr/share/doc/${PF}/COPYING || die
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/*.{c,h}
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/lzo/lzo-2.06.ebuild,v 1.16 2014/01/18 01:50:39 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="An extremely fast compression and decompression library"
|
||||
HOMEPAGE="http://www.oberhumer.com/opensource/lzo/"
|
||||
SRC_URI="http://www.oberhumer.com/opensource/lzo/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc BUGS ChangeLog README THANKS doc/*
|
||||
rm "${ED}"/usr/share/doc/${PF}/COPYING || die
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/*.{c,h}
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/bluej/bluej-3.0.8.ebuild,v 1.3 2012/12/06 04:12:17 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
EANT_BUILD_TARGET="ready-to-run"
|
||||
EANT_DOC_TARGET="doc-core"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DOC_PV="2.0.1"
|
||||
|
||||
DESCRIPTION="An integrated Java environment for introductory teaching"
|
||||
HOMEPAGE="http://bluej.org/"
|
||||
SRC_URI="http://www.bluej.org/download/files/source/BlueJ-source-${PV//./}.zip
|
||||
doc? ( http://bluej.org/download/files/${PN}-ref-manual.pdf
|
||||
http://bluej.org/tutorial/tutorial-${DOC_PV//.}.pdf -> ${PN}-tutorial-${DOC_PV}.pdf
|
||||
http://bluej.org/tutorial/testing-tutorial.pdf -> ${PN}-testing-tutorial.pdf )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.5.0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
java_prepare() {
|
||||
sed -i \
|
||||
-e "s#/usr/lib/jvm/java-6-openjdk#$(java-config -O)#" \
|
||||
-e "/^bluej_home/d" \
|
||||
build.properties || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}
|
||||
doins -r lib icons
|
||||
|
||||
# fix config location and set symlink
|
||||
dodir /etc
|
||||
mv "${D}"/{usr/share/${PN}/lib,etc}/${PN}.defs
|
||||
dosym /{etc,usr/share/${PN}/lib}/${PN}.defs
|
||||
|
||||
use source && java-pkg_dosrc src/${PN}/*
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
use examples && { doins -r examples
|
||||
docompress -x /usr/share/doc/${P}/examples ; }
|
||||
use doc && { doins "${DISTDIR}"/${PN}-*.pdf
|
||||
dohtml -r doc/all/* ; }
|
||||
|
||||
newbin "${FILESDIR}"/${PN}.wrapper ${PN}
|
||||
|
||||
make_desktop_entry ${PN} Blue-J
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/bluej/bluej-3.0.9.ebuild,v 1.3 2013/04/15 08:51:10 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
EANT_BUILD_TARGET="ready-to-run"
|
||||
EANT_DOC_TARGET="doc-core"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DOC_PV="2.0.1"
|
||||
|
||||
DESCRIPTION="An integrated Java environment for introductory teaching"
|
||||
HOMEPAGE="http://bluej.org/"
|
||||
SRC_URI="http://www.bluej.org/download/files/source/BlueJ-source-${PV//./}.zip
|
||||
doc? ( http://bluej.org/download/files/${PN}-ref-manual.pdf
|
||||
http://bluej.org/tutorial/tutorial-${DOC_PV//.}.pdf -> ${PN}-tutorial-${DOC_PV}.pdf
|
||||
http://bluej.org/tutorial/testing-tutorial.pdf -> ${PN}-testing-tutorial.pdf )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.5.0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
java_prepare() {
|
||||
sed -i \
|
||||
-e "s:^build_java_home=.*$:build_java_home=$(java-config -O):" \
|
||||
-e "/^bluej_home/d" \
|
||||
build.properties || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}
|
||||
doins -r lib icons
|
||||
|
||||
# fix config location and set symlink
|
||||
dodir /etc
|
||||
mv "${D}"/{usr/share/${PN}/lib,etc}/${PN}.defs
|
||||
dosym /{etc,usr/share/${PN}/lib}/${PN}.defs
|
||||
|
||||
use source && java-pkg_dosrc src/${PN}/*
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
use examples && { doins -r examples
|
||||
docompress -x /usr/share/doc/${P}/examples ; }
|
||||
use doc && { doins "${DISTDIR}"/${PN}-*.pdf
|
||||
dohtml -r doc/all/* ; }
|
||||
|
||||
newbin "${FILESDIR}"/${PN}.wrapper ${PN}
|
||||
|
||||
make_desktop_entry ${PN} Blue-J
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/bluej/bluej-3.1.0.ebuild,v 1.3 2013/08/28 11:14:12 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
EANT_BUILD_TARGET="ready-to-run"
|
||||
EANT_DOC_TARGET="doc-core"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DOC_PV="2.0.1"
|
||||
|
||||
DESCRIPTION="An integrated Java environment for introductory teaching"
|
||||
HOMEPAGE="http://bluej.org/"
|
||||
SRC_URI="http://www.bluej.org/download/files/source/BlueJ-source-${PV//./}.zip
|
||||
doc? ( http://bluej.org/download/files/${PN}-ref-manual.pdf
|
||||
http://bluej.org/tutorial/tutorial-${DOC_PV//.}.pdf -> ${PN}-tutorial-${DOC_PV}.pdf
|
||||
http://bluej.org/tutorial/testing-tutorial.pdf -> ${PN}-testing-tutorial.pdf )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.5.0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
java_prepare() {
|
||||
sed -i \
|
||||
-e "s:^build_java_home=.*$:build_java_home=$(java-config -O):" \
|
||||
-e "/^bluej_home/d" \
|
||||
build.properties || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}
|
||||
doins -r lib icons
|
||||
|
||||
# fix config location and set symlink
|
||||
dodir /etc
|
||||
mv "${D}"/{usr/share/${PN}/lib,etc}/${PN}.defs
|
||||
dosym /{etc,usr/share/${PN}/lib}/${PN}.defs
|
||||
|
||||
use source && java-pkg_dosrc src/${PN}/*
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
use examples && { doins -r examples
|
||||
docompress -x /usr/share/doc/${P}/examples ; }
|
||||
use doc && { doins "${DISTDIR}"/${PN}-*.pdf
|
||||
dohtml -r doc/all/* ; }
|
||||
|
||||
newbin "${FILESDIR}"/${PN}.wrapper ${PN}
|
||||
|
||||
make_desktop_entry ${PN} Blue-J
|
||||
}
|
@ -1,146 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-5.5.22.ebuild,v 1.4 2014/08/13 09:07:09 nativemad Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cuda eutils flag-o-matic toolchain-funcs unpacker versionator
|
||||
|
||||
MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
|
||||
|
||||
DESCRIPTION="NVIDIA CUDA Software Development Kit"
|
||||
HOMEPAGE="http://developer.nvidia.com/cuda"
|
||||
CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/installers"
|
||||
SRC_URI="
|
||||
amd64? ( ${CURI}/cuda_${PV}_linux_64.run )
|
||||
x86? ( ${CURI}/cuda_${PV}_linux_32.run )"
|
||||
|
||||
LICENSE="CUDPP"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug +doc +examples opencl +cuda"
|
||||
|
||||
RDEPEND="
|
||||
~dev-util/nvidia-cuda-toolkit-${PV}
|
||||
media-libs/freeglut
|
||||
examples? (
|
||||
media-libs/freeimage
|
||||
media-libs/glew
|
||||
virtual/mpi
|
||||
>=x11-drivers/nvidia-drivers-304.54
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S=${WORKDIR}/cuda-samples
|
||||
|
||||
QA_EXECSTACK=(
|
||||
opt/cuda/sdk/0_Simple/cdpSimplePrint/cdpSimplePrint
|
||||
opt/cuda/sdk/0_Simple/cdpSimpleQuicksort/cdpSimpleQuicksort
|
||||
opt/cuda/sdk/bin/x86_64/linux/release/cdpSimplePrint
|
||||
opt/cuda/sdk/bin/x86_64/linux/release/cdpSimpleQuicksort
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpacker
|
||||
unpacker run_files/cuda-samples*run
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use cuda || use opencl; then
|
||||
cuda_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
export RAWLDFLAGS="$(raw-ldflags)"
|
||||
|
||||
sed \
|
||||
-e 's:-O2::g' \
|
||||
-e 's:-O3::g' \
|
||||
-e "/LINK/s:gcc:$(tc-getCC) ${LDFLAGS}:g" \
|
||||
-e "/LINK/s:g++:$(tc-getCXX) ${LDFLAGS}:g" \
|
||||
-e "/CC/s:gcc:$(tc-getCC):g" \
|
||||
-e "/GCC/s:g++:$(tc-getCXX):g" \
|
||||
-e "/ CFLAGS/s|\(:=\)|\1 ${CFLAGS}|g" \
|
||||
-e "/ CXXFLAGS/s|\(:=\)|\1 ${CXXFLAGS}|g" \
|
||||
-e "/NVCCFLAGS/s|\(:=\)|\1 ${NVCCFLAGS} |g" \
|
||||
-e 's:-Wimplicit::g' \
|
||||
-e "s|../../common/lib/linux/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-e "s|../../common/lib/\$(OSLOWER)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-e "s|../../common/lib/\$(OSLOWER)/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-i $(find . -type f -name "Makefile") || die
|
||||
|
||||
sed \
|
||||
-e "/^LDFLAGS/s|\(:=\)$|\1 ${LDFLAGS}|g" \
|
||||
-i 0_Simple/simpleMPI/Makefile || die
|
||||
|
||||
# -e "/ALL_LDFLAGS/s|:=|:= ${RAWLDFLAGS} |g" \
|
||||
find common/inc/GL -delete || die
|
||||
find . -type f -name "*\.a" -delete || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use examples || return
|
||||
local myopts verbose="verbose=1"
|
||||
use debug && myopts+=" dbg=1"
|
||||
export FAKEROOTKEY=1 # Workaround sandbox issue in #462602
|
||||
emake \
|
||||
cuda-install="${EPREFIX}/opt/cuda" \
|
||||
CUDA_PATH="${EPREFIX}/opt/cuda/" \
|
||||
${myopts} ${verbose}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _dir _subdir
|
||||
|
||||
addwrite /dev/nvidiactl
|
||||
addwrite /dev/nvidia0
|
||||
|
||||
for _dir in {0..9}*; do
|
||||
pushd ${_dir} > /dev/null
|
||||
for _subdir in *; do
|
||||
emake -C ${_subdir} run
|
||||
done
|
||||
popd > /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i j f t crap=""
|
||||
if use doc; then
|
||||
ebegin "Installing docs ..."
|
||||
dodoc -r doc releaseNotesData
|
||||
dohtml *htm*
|
||||
eend
|
||||
fi
|
||||
|
||||
crap+=" *.txt doc Samples.htm* releaseNotesData"
|
||||
|
||||
ebegin "Cleaning before installation..."
|
||||
for i in ${crap}; do
|
||||
if [[ -e ${i} ]]; then
|
||||
find ${i} -delete || die
|
||||
fi
|
||||
done
|
||||
eend
|
||||
|
||||
ebegin "Moving files..."
|
||||
for f in $(find .); do
|
||||
local t="$(dirname ${f})"
|
||||
if [[ ${t/obj\/} != ${t} || ${t##*.} == a ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ ! -d ${f} ]]; then
|
||||
if [[ -x ${f} ]]; then
|
||||
exeinto /opt/cuda/sdk/${t}
|
||||
doexe ${f}
|
||||
else
|
||||
insinto /opt/cuda/sdk/${t}
|
||||
doins ${f}
|
||||
fi
|
||||
fi
|
||||
done
|
||||
eend
|
||||
}
|
@ -1,147 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-6.0.37.ebuild,v 1.2 2014/07/02 13:27:02 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cuda eutils flag-o-matic portability toolchain-funcs unpacker versionator
|
||||
|
||||
MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
|
||||
|
||||
DESCRIPTION="NVIDIA CUDA Software Development Kit"
|
||||
HOMEPAGE="http://developer.nvidia.com/cuda"
|
||||
CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/installers"
|
||||
SRC_URI="
|
||||
amd64? ( ${CURI}/cuda_${PV}_linux_64.run )
|
||||
x86? ( ${CURI}/cuda_${PV}_linux_32.run )"
|
||||
|
||||
LICENSE="CUDPP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug +doc +examples opencl +cuda"
|
||||
|
||||
RDEPEND="
|
||||
~dev-util/nvidia-cuda-toolkit-${PV}
|
||||
media-libs/freeglut
|
||||
examples? (
|
||||
media-libs/freeimage
|
||||
media-libs/glew
|
||||
virtual/mpi
|
||||
>=x11-drivers/nvidia-drivers-334.16-r7[uvm]
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S=${WORKDIR}/cuda-samples
|
||||
|
||||
QA_EXECSTACK=(
|
||||
opt/cuda/sdk/0_Simple/cdpSimplePrint/cdpSimplePrint
|
||||
opt/cuda/sdk/0_Simple/cdpSimpleQuicksort/cdpSimpleQuicksort
|
||||
opt/cuda/sdk/bin/x86_64/linux/release/cdpSimplePrint
|
||||
opt/cuda/sdk/bin/x86_64/linux/release/cdpSimpleQuicksort
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpacker
|
||||
unpacker run_files/cuda-samples*run
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use cuda || use opencl; then
|
||||
cuda_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
export RAWLDFLAGS="$(raw-ldflags)"
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
|
||||
sed \
|
||||
-e 's:-O2::g' \
|
||||
-e 's:-O3::g' \
|
||||
-e "/LINK/s:gcc:$(tc-getCC) ${LDFLAGS}:g" \
|
||||
-e "/LINK/s:g++:$(tc-getCXX) ${LDFLAGS}:g" \
|
||||
-e "/CC/s:gcc:$(tc-getCC):g" \
|
||||
-e "/GCC/s:g++:$(tc-getCXX):g" \
|
||||
-e "/ CFLAGS/s|\(:=\)|\1 ${CFLAGS}|g" \
|
||||
-e "/ CXXFLAGS/s|\(:=\)|\1 ${CXXFLAGS}|g" \
|
||||
-e "/NVCCFLAGS/s|\(:=\)|\1 ${NVCCFLAGS} |g" \
|
||||
-e 's:-Wimplicit::g' \
|
||||
-e "s|../../common/lib/linux/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-e "s|../../common/lib/\$(OSLOWER)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-e "s|../../common/lib/\$(OSLOWER)/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-i $(find . -type f -name "Makefile") || die
|
||||
|
||||
# -e "/ALL_LDFLAGS/s|:=|:= ${RAWLDFLAGS} |g" \
|
||||
find common/inc/GL -delete || die
|
||||
find . -type f -name "*\.a" -delete || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use examples || return
|
||||
local myopts verbose="verbose=1"
|
||||
use debug && myopts+=" dbg=1"
|
||||
export FAKEROOTKEY=1 # Workaround sandbox issue in #462602
|
||||
emake \
|
||||
cuda-install="${EPREFIX}/opt/cuda" \
|
||||
CUDA_PATH="${EPREFIX}/opt/cuda/" \
|
||||
MPI_GCC=10 \
|
||||
${myopts} ${verbose}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _dir _subdir
|
||||
|
||||
addwrite /dev/nvidiactl
|
||||
addwrite /dev/nvidia0
|
||||
|
||||
for _dir in {0..9}*; do
|
||||
pushd ${_dir} > /dev/null
|
||||
for _subdir in *; do
|
||||
emake -C ${_subdir} run
|
||||
done
|
||||
popd > /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i j f t crap=""
|
||||
if use doc; then
|
||||
ebegin "Installing docs ..."
|
||||
dodoc -r doc
|
||||
dodoc *.txt */*.pdf
|
||||
treecopy $(find -type f -name readme.txt) "${ED}"/usr/share/doc/${PF}/
|
||||
eend
|
||||
fi
|
||||
|
||||
crap+=" *.txt doc Samples.htm* */*.pdf"
|
||||
|
||||
ebegin "Cleaning before installation..."
|
||||
for i in ${crap}; do
|
||||
if [[ -e ${i} ]]; then
|
||||
find ${i} -delete || die
|
||||
fi
|
||||
done
|
||||
find -type f -name "*.o" -delete
|
||||
find -type f -name "readme.txt" -delete
|
||||
eend
|
||||
|
||||
ebegin "Moving files..."
|
||||
for f in $(find .); do
|
||||
local t="$(dirname ${f})"
|
||||
if [[ ${t/obj\/} != ${t} || ${t##*.} == a ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ ! -d ${f} ]]; then
|
||||
if [[ -x ${f} ]]; then
|
||||
exeinto /opt/cuda/sdk/${t}
|
||||
doexe ${f}
|
||||
else
|
||||
insinto /opt/cuda/sdk/${t}
|
||||
doins ${f}
|
||||
fi
|
||||
fi
|
||||
done
|
||||
eend
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/ark/ark-4.14.3-r1.ebuild,v 1.1 2014/12/26 15:19:04 kensington Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE Archiving tool"
|
||||
HOMEPAGE="http://www.kde.org/applications/utilities/ark
|
||||
http://utils.kde.org/projects/ark"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+archive +bzip2 debug lzma"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep libkonq)
|
||||
sys-libs/zlib
|
||||
archive? ( >=app-arch/libarchive-2.6.1:=[bzip2?,lzma?,zlib] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
# dbus problem
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-crash.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with archive LibArchive)
|
||||
$(cmake-utils_use_with bzip2 BZip2)
|
||||
$(cmake-utils_use_with lzma LibLZMA)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
if ! has_version app-arch/rar ; then
|
||||
elog "For creating rar archives, install app-arch/rar"
|
||||
fi
|
||||
}
|
@ -0,0 +1,81 @@
|
||||
From cd8ad2761d41d1ec0a18cff7f4d166b53c899fc2 Mon Sep 17 00:00:00 2001
|
||||
From: Raphael Kubo da Costa <rakuco@FreeBSD.org>
|
||||
Date: Mon, 24 Nov 2014 01:37:06 +0200
|
||||
Subject: [PATCH] Stop crashing on exit when being used solely as a KPart.
|
||||
|
||||
This change fixes a crash introduced by commit 3b981ca ("Remove Part
|
||||
from KXMLGUIFactory on exit").
|
||||
|
||||
Part::~Part() is the wrong place to call KXMLGUIFactory::removeClient(),
|
||||
as it assumes addClient() had been called in the first place.
|
||||
|
||||
This is only true if Ark is called as a standalone program, since that
|
||||
is done in MainWindow::loadPart()'s call to KXMLGuiWindow::createGUI().
|
||||
|
||||
Conversely, if the Ark KPart is being used as an embedded viewer in,
|
||||
say, Konqueror or to preview an archive inside an archive (ie. Ark
|
||||
inside Ark) that does not hold true and we try to access a
|
||||
KXMLGUIFactory that does not exist.
|
||||
|
||||
Instead, call KXMLGuiWindow::removeClient() in MainWindow's destructor,
|
||||
since in this case we are certain that addClient() was been called
|
||||
before.
|
||||
|
||||
CCBUG: 341187
|
||||
|
||||
(cherry picked from commit 9c30f30b38c36a31e6fcb3aa047a0247ac5a22fb)
|
||||
This was committed for completeness, as there will be no additional
|
||||
releases from the KDE/4.14 branch.
|
||||
|
||||
Conflicts:
|
||||
part/part.cpp
|
||||
---
|
||||
app/mainwindow.cpp | 3 +++
|
||||
part/part.cpp | 3 ---
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp
|
||||
index aee8231..181fe76 100644
|
||||
--- a/app/mainwindow.cpp
|
||||
+++ b/app/mainwindow.cpp
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <KDebug>
|
||||
#include <KEditToolBar>
|
||||
#include <KShortcutsDialog>
|
||||
+#include <KXMLGUIFactory>
|
||||
|
||||
#include <QDragEnterEvent>
|
||||
#include <QDragMoveEvent>
|
||||
@@ -69,6 +70,8 @@ MainWindow::~MainWindow()
|
||||
if (m_recentFilesAction) {
|
||||
m_recentFilesAction->saveEntries(KGlobal::config()->group("Recent Files"));
|
||||
}
|
||||
+
|
||||
+ guiFactory()->removeClient(m_part);
|
||||
delete m_part;
|
||||
m_part = 0;
|
||||
}
|
||||
diff --git a/part/part.cpp b/part/part.cpp
|
||||
index bae4882..09fe1cb 100644
|
||||
--- a/part/part.cpp
|
||||
+++ b/part/part.cpp
|
||||
@@ -53,7 +53,6 @@
|
||||
#include <KStandardGuiItem>
|
||||
#include <KTempDir>
|
||||
#include <KToggleAction>
|
||||
-#include <KXMLGUIFactory>
|
||||
|
||||
#include <QAction>
|
||||
#include <QCursor>
|
||||
@@ -138,8 +137,6 @@ Part::Part(QWidget *parentWidget, QObject *parent, const QVariantList& args)
|
||||
|
||||
Part::~Part()
|
||||
{
|
||||
- factory()->removeClient(this);
|
||||
-
|
||||
saveSplitterSizes();
|
||||
|
||||
m_extractFilesAction->menu()->deleteLater();
|
||||
--
|
||||
2.0.5
|
||||
|
@ -0,0 +1,30 @@
|
||||
Copyright (c) <year> <copyright holder>
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of the <copyright holder> nor the names of any
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
* Modified source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@ -1,3 +1 @@
|
||||
DIST opencv-2.4.5.tar.gz 81884985 SHA256 d30beecf4b57977fbd1635af54c5ab3fc00113e9e59a9d58081732260fe06292 SHA512 2e0ab19203cc5d3a4d83633ee9762441d0d12128752edecb351b3c4abddc1714baf4b320b161f8b58e771933506bfa5a192d394a3b6b5b63d914923c6a767a08 WHIRLPOOL 117551edab5837a9382a6d84dec7f84fb693485e3cad7c08d38158baa22951381eb4958caaaa910dcef6ee2b78a0a494d732d0cac88cd18f1f6ebc2d30e3ddf0
|
||||
DIST opencv-2.4.8.zip 91302285 SHA256 f1ea29de0707939f6e09ae7a78dd271c032cac69a9ba6c6f7eb29fd4f83b9a68 SHA512 a451f4cc2fc7f31a5dba2997c57f3964d8239949dedb62e83b3fb2c68c2533786750906823137fa126a20d28d841aafc3a49b82c6358a6e6bc7d223e66598237 WHIRLPOOL 5881682746b30601421874bf6acb13bd0354b607f2e4da8abaa6077a59c8015c60bfbe888da077eaa7413c5fd8816b50616cee2eeb7dfcd884afff4df8c22561
|
||||
DIST opencv-2.4.9.zip 91684751 SHA256 803010848154988e9cbda8b3fa857fcbb27382c2946ed729e1a7e40600bb4c71 SHA512 8eb6ee11d8260428ae461e06348ce037979efc29b7e33d59c3d348a6b4bae95b7004df4527aba7c634e7356f7b5635c98493dc15a0b43479e8f10f7258540c62 WHIRLPOOL 5bb5e39678b3072b2e8b923216529c84982559dd69d5ec51b8703e65af3401f3a8ff31e4e3bfc076480d0605e333df0b03a61713a927ec058bfaf25b4fa8fd5e
|
||||
|
@ -1,32 +0,0 @@
|
||||
diff -ruN opencv-2.4.5-1-gentoo/CMakeLists.txt opencv-2.4.5/CMakeLists.txt
|
||||
--- opencv-2.4.5-1-gentoo/CMakeLists.txt 2013-04-05 11:00:20.000000000 +0200
|
||||
+++ opencv-2.4.5/CMakeLists.txt 2013-05-02 18:38:59.412094714 +0200
|
||||
@@ -147,6 +147,7 @@
|
||||
OCV_OPTION(WITH_OPENCL "Include OpenCL Runtime support" ON IF (NOT ANDROID AND NOT IOS) )
|
||||
OCV_OPTION(WITH_OPENCLAMDFFT "Include AMD OpenCL FFT library support" ON IF (NOT ANDROID AND NOT IOS) )
|
||||
OCV_OPTION(WITH_OPENCLAMDBLAS "Include AMD OpenCL BLAS library support" ON IF (NOT ANDROID AND NOT IOS) )
|
||||
+OCV_OPTION(WITH_JAVA "Include Java support" ON)
|
||||
|
||||
|
||||
# OpenCV build components
|
||||
@@ -395,6 +396,8 @@
|
||||
include(cmake/OpenCVDetectPython.cmake)
|
||||
|
||||
# --- Java Support ---
|
||||
+if(WITH_JAVA)
|
||||
+
|
||||
include(cmake/OpenCVDetectApacheAnt.cmake)
|
||||
if(ANDROID)
|
||||
include(cmake/OpenCVDetectAndroidSDK.cmake)
|
||||
@@ -412,6 +415,11 @@
|
||||
SET(CAN_BUILD_ANDROID_PROJECTS FALSE)
|
||||
endif()
|
||||
|
||||
+else()
|
||||
+ SET(ANT_EXECUTABLE "")
|
||||
+ SET(CAN_BUILD_ANDROID_PROJECTS FALSE)
|
||||
+endif()
|
||||
+
|
||||
# --- OpenCL ---
|
||||
if(WITH_OPENCL)
|
||||
include(cmake/OpenCVDetectOpenCL.cmake)
|
@ -1,193 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/opencv/opencv-2.4.5.ebuild,v 1.7 2013/09/06 16:39:49 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
|
||||
inherit base toolchain-funcs cmake-utils python java-pkg-opt-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A collection of algorithms and sample code for various computer vision problems"
|
||||
HOMEPAGE="http://opencv.willowgarage.com"
|
||||
SRC_URI="mirror://sourceforge/opencvlibrary/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-fbsd ~amd64-linux"
|
||||
IUSE="cuda doc eigen examples ffmpeg gstreamer gtk ieee1394 ipp jpeg jpeg2k opencl openexr opengl pch png qt4 testprograms threads tiff v4l xine"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2
|
||||
dev-python/numpy
|
||||
sys-libs/zlib
|
||||
cuda? ( <dev-util/nvidia-cuda-toolkit-5.5 )
|
||||
eigen? ( dev-cpp/eigen:2 )
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:0.10
|
||||
media-libs/gst-plugins-base:0.10
|
||||
)
|
||||
gtk? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/gtk+:2
|
||||
)
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/jasper )
|
||||
ieee1394? (
|
||||
media-libs/libdc1394
|
||||
sys-libs/libraw1394
|
||||
)
|
||||
ipp? ( sci-libs/ipp )
|
||||
opencl? ( virtual/opencl )
|
||||
openexr? ( media-libs/openexr )
|
||||
opengl? ( virtual/glu )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qttest:4
|
||||
opengl? ( dev-qt/qtopengl:4 )
|
||||
)
|
||||
threads? ( dev-cpp/tbb )
|
||||
tiff? ( media-libs/tiff )
|
||||
v4l? ( >=media-libs/libv4l-0.8.3 )
|
||||
xine? ( media-libs/xine-lib )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
java? ( >=virtual/jdk-1.6 )
|
||||
"
|
||||
|
||||
# REQUIRED_USE="opengl? ( qt )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.3.1a-libav-0.7.patch"
|
||||
"${FILESDIR}/${PN}-2.4.3-gcc47.patch"
|
||||
"${FILESDIR}/${PN}-2.4.2-cflags.patch"
|
||||
"${FILESDIR}/${PN}-2.4.5-javamagic.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
java-pkg-opt-2_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# remove bundled stuff
|
||||
rm -rf 3rdparty
|
||||
sed -i \
|
||||
-e '/add_subdirectory(3rdparty)/ d' \
|
||||
CMakeLists.txt || die
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
JAVA_ANT_ENCODING="iso-8859-1"
|
||||
# set encoding so even this cmake build will pick it up.
|
||||
export ANT_OPTS+=" -Dfile.encoding=iso-8859-1"
|
||||
java-ant-2_src_configure
|
||||
|
||||
# please dont sort here, order is the same as in CMakeLists.txt
|
||||
local mycmakeargs=(
|
||||
# the optinal dependency libraries
|
||||
$(cmake-utils_use_with ieee1394 1394)
|
||||
-DWITH_AVFOUNDATION=OFF
|
||||
-DWITH_CARBON=OFF
|
||||
$(cmake-utils_use_with eigen)
|
||||
$(cmake-utils_use_with ffmpeg)
|
||||
$(cmake-utils_use_with gstreamer)
|
||||
$(cmake-utils_use_with gtk)
|
||||
$(cmake-utils_use_with ipp)
|
||||
$(cmake-utils_use_with java)
|
||||
$(cmake-utils_use_with jpeg2k JASPER)
|
||||
$(cmake-utils_use_with jpeg)
|
||||
$(cmake-utils_use_with opencl)
|
||||
# $(cmake-utils_use_with opencl OPENCLAMDFFT)
|
||||
# $(cmake-utils_use_with opencl OPENCLAMDBLAS)
|
||||
$(cmake-utils_use_with openexr)
|
||||
$(cmake-utils_use_with opengl)
|
||||
-DWITH_OPENNI=OFF # not packaged
|
||||
$(cmake-utils_use_with png)
|
||||
-DWITH_PVAPI=OFF # not packaged
|
||||
$(cmake-utils_use_with qt4 QT)
|
||||
-DWITH_QUICKTIME=OFF
|
||||
$(cmake-utils_use_with threads TBB)
|
||||
$(cmake-utils_use_with tiff)
|
||||
-DWITH_UNICAP=OFF # not packaged
|
||||
$(cmake-utils_use_with v4l V4L)
|
||||
-DWITH_VIDEOINPUT=OFF # windows only
|
||||
-DWITH_XIMEA=OFF # windows only
|
||||
$(cmake-utils_use_with xine)
|
||||
# the build components
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DBUILD_ANDROID_EXAMPLES=OFF
|
||||
$(cmake-utils_use_build doc DOCS)
|
||||
$(cmake-utils_use_build examples)
|
||||
-DBUILD_PERF_TESTS=OFF
|
||||
$(cmake-utils_use_build testprograms TESTS)
|
||||
# install examples
|
||||
$(cmake-utils_use examples INSTALL_C_EXAMPLES)
|
||||
# build options
|
||||
$(cmake-utils_use_enable pch PRECOMPILED_HEADERS)
|
||||
-DENABLE_OMIT_FRAME_POINTER=OFF #
|
||||
-DENABLE_FAST_MATH=OFF #
|
||||
-DENABLE_SSE=OFF # these options do nothing but
|
||||
-DENABLE_SSE2=OFF # add params to CFLAGS
|
||||
-DENABLE_SSE3=OFF
|
||||
-DENABLE_SSSE3=OFF
|
||||
-DENABLE_SSE41=OFF
|
||||
-DENABLE_SSE42=OFF
|
||||
-DOPENCV_EXTRA_FLAGS_RELEASE="" # black magic
|
||||
)
|
||||
|
||||
if use cuda; then
|
||||
if [[ "$(gcc-version)" > "4.6" ]]; then
|
||||
ewarn "CUDA and >=sys-devel/gcc-4.7 do not play well together. Disabling CUDA support."
|
||||
mycmakeargs+=( "-DWITH_CUDA=OFF" )
|
||||
mycmakeargs+=( "-DWITH_CUBLAS=OFF" )
|
||||
mycmakeargs+=( "-DWITH_CUFFT=OFF" )
|
||||
else
|
||||
mycmakeargs+=( "-DWITH_CUDA=ON" )
|
||||
mycmakeargs+=( "-DWITH_CUBLAS=ON" )
|
||||
mycmakeargs+=( "-DWITH_CUFFT=ON" )
|
||||
fi
|
||||
else
|
||||
mycmakeargs+=( "-DWITH_CUDA=OFF" )
|
||||
mycmakeargs+=( "-DWITH_CUBLAS=OFF" )
|
||||
mycmakeargs+=( "-DWITH_CUFFT=OFF" )
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
mycmakeargs+=( "-DINSTALL_PYTHON_EXAMPLES=ON" )
|
||||
else
|
||||
mycmakeargs+=( "-DINSTALL_PYTHON_EXAMPLES=OFF" )
|
||||
fi
|
||||
|
||||
# things we want to be hard off or not yet figured out
|
||||
mycmakeargs+=(
|
||||
"-DOPENCV_BUILD_3RDPARTY_LIBS=OFF"
|
||||
"-DBUILD_LATEX_DOCS=OFF"
|
||||
"-DBUILD_PACKAGE=OFF"
|
||||
"-DENABLE_PROFILING=OFF"
|
||||
)
|
||||
|
||||
# things we want to be hard enabled not worth useflag
|
||||
mycmakeargs+=(
|
||||
"-DCMAKE_SKIP_RPATH=ON"
|
||||
"-DOPENCV_DOC_INSTALL_PATH=${EPREFIX}/usr/share/doc/${PF}"
|
||||
)
|
||||
|
||||
# hardcode cuda paths
|
||||
mycmakeargs+=(
|
||||
"-DCUDA_NPP_LIBRARY_ROOT_DIR=/opt/cuda"
|
||||
)
|
||||
|
||||
# workaround for bug 413429
|
||||
tc-export CC CXX
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,213 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/opencv/opencv-2.4.8.ebuild,v 1.3 2014/01/25 11:01:29 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
||||
inherit base toolchain-funcs cmake-utils python-single-r1 java-pkg-opt-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A collection of algorithms and sample code for various computer vision problems"
|
||||
HOMEPAGE="http://opencv.willowgarage.com"
|
||||
|
||||
SRC_URI="mirror://sourceforge/opencvlibrary/opencv-unix/${PV}/${P}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/2.4"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
|
||||
IUSE="cuda doc +eigen examples ffmpeg gstreamer gtk ieee1394 ipp jpeg jpeg2k opencl openexr opengl openmp pch png +python qt4 testprograms threads tiff v4l xine"
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
# The following logic is intrinsic in the build system, but we do not enforce
|
||||
# it on the useflags since this just blocks emerging pointlessly:
|
||||
# gtk? ( !qt4 )
|
||||
# opengl? ( || ( gtk qt4 ) )
|
||||
# openmp? ( !threads )
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
cuda? ( >=dev-util/nvidia-cuda-toolkit-5.5 )
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:0.10
|
||||
media-libs/gst-plugins-base:0.10
|
||||
)
|
||||
gtk? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/gtk+:2
|
||||
opengl? ( x11-libs/gtkglext )
|
||||
)
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/jasper )
|
||||
ieee1394? (
|
||||
media-libs/libdc1394
|
||||
sys-libs/libraw1394
|
||||
)
|
||||
ipp? ( sci-libs/ipp )
|
||||
opencl? ( virtual/opencl )
|
||||
openexr? ( media-libs/openexr )
|
||||
opengl? ( virtual/opengl virtual/glu )
|
||||
png? ( media-libs/libpng:0= )
|
||||
python? ( ${PYTHON_DEPS} dev-python/numpy[${PYTHON_USEDEP}] )
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qttest:4
|
||||
opengl? ( dev-qt/qtopengl:4 )
|
||||
)
|
||||
threads? ( dev-cpp/tbb )
|
||||
tiff? ( media-libs/tiff )
|
||||
v4l? ( >=media-libs/libv4l-0.8.3 )
|
||||
xine? ( media-libs/xine-lib )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
eigen? ( dev-cpp/eigen:3 )
|
||||
java? ( >=virtual/jdk-1.6 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.3.1a-libav-0.7.patch"
|
||||
"${FILESDIR}/${PN}-2.4.3-gcc47.patch"
|
||||
"${FILESDIR}/${PN}-2.4.2-cflags.patch"
|
||||
"${FILESDIR}/${PN}-2.4.8-javamagic.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
java-pkg-opt-2_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# remove bundled stuff
|
||||
rm -rf 3rdparty
|
||||
sed -i \
|
||||
-e '/add_subdirectory(3rdparty)/ d' \
|
||||
CMakeLists.txt || die
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use openmp; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
|
||||
JAVA_ANT_ENCODING="iso-8859-1"
|
||||
# set encoding so even this cmake build will pick it up.
|
||||
export ANT_OPTS+=" -Dfile.encoding=iso-8859-1"
|
||||
java-ant-2_src_configure
|
||||
|
||||
# please dont sort here, order is the same as in CMakeLists.txt
|
||||
local mycmakeargs=(
|
||||
# the optinal dependency libraries
|
||||
$(cmake-utils_use_with ieee1394 1394)
|
||||
-DWITH_AVFOUNDATION=OFF
|
||||
-DWITH_CARBON=OFF
|
||||
$(cmake-utils_use_with eigen)
|
||||
$(cmake-utils_use_with ffmpeg)
|
||||
$(cmake-utils_use_with gstreamer)
|
||||
$(cmake-utils_use_with gtk)
|
||||
$(cmake-utils_use_with ipp)
|
||||
$(cmake-utils_use_with java)
|
||||
$(cmake-utils_use_with jpeg2k JASPER)
|
||||
$(cmake-utils_use_with jpeg)
|
||||
$(cmake-utils_use_with opencl)
|
||||
# $(cmake-utils_use_with opencl OPENCLAMDFFT)
|
||||
# $(cmake-utils_use_with opencl OPENCLAMDBLAS)
|
||||
$(cmake-utils_use_with openexr)
|
||||
$(cmake-utils_use_with opengl)
|
||||
$(cmake-utils_use_with openmp)
|
||||
-DWITH_OPENNI=OFF # not packaged
|
||||
$(cmake-utils_use_with png)
|
||||
$(cmake-utils_use_build python opencv_python)
|
||||
-DWITH_PVAPI=OFF # not packaged
|
||||
-DWITH_QUICKTIME=OFF
|
||||
$(cmake-utils_use_with threads TBB)
|
||||
$(cmake-utils_use_with tiff)
|
||||
-DWITH_UNICAP=OFF # not packaged
|
||||
$(cmake-utils_use_with v4l V4L)
|
||||
-DWITH_LIBV4L=ON
|
||||
-DWITH_VIDEOINPUT=OFF # windows only
|
||||
-DWITH_XIMEA=OFF # windows only
|
||||
$(cmake-utils_use_with xine)
|
||||
# the build components
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DBUILD_ANDROID_EXAMPLES=OFF
|
||||
$(cmake-utils_use_build doc DOCS)
|
||||
$(cmake-utils_use_build examples)
|
||||
-DBUILD_PERF_TESTS=OFF
|
||||
$(cmake-utils_use_build testprograms TESTS)
|
||||
# install examples
|
||||
$(cmake-utils_use examples INSTALL_C_EXAMPLES)
|
||||
# build options
|
||||
$(cmake-utils_use_enable pch PRECOMPILED_HEADERS)
|
||||
-DENABLE_OMIT_FRAME_POINTER=OFF #
|
||||
-DENABLE_FAST_MATH=OFF #
|
||||
-DENABLE_SSE=OFF # these options do nothing but
|
||||
-DENABLE_SSE2=OFF # add params to CFLAGS
|
||||
-DENABLE_SSE3=OFF
|
||||
-DENABLE_SSSE3=OFF
|
||||
-DENABLE_SSE41=OFF
|
||||
-DENABLE_SSE42=OFF
|
||||
-DOPENCV_EXTRA_FLAGS_RELEASE="" # black magic
|
||||
)
|
||||
|
||||
if use qt4; then
|
||||
mycmakeargs+=( "-DWITH_QT=4" )
|
||||
else
|
||||
mycmakeargs+=( "-DWITH_QT=OFF" )
|
||||
fi
|
||||
|
||||
if use cuda; then
|
||||
if [[ "$(gcc-version)" > "4.7" ]]; then
|
||||
ewarn "CUDA and >=sys-devel/gcc-4.8 do not play well together. Disabling CUDA support."
|
||||
mycmakeargs+=( "-DWITH_CUDA=OFF" )
|
||||
mycmakeargs+=( "-DWITH_CUBLAS=OFF" )
|
||||
mycmakeargs+=( "-DWITH_CUFFT=OFF" )
|
||||
else
|
||||
mycmakeargs+=( "-DWITH_CUDA=ON" )
|
||||
mycmakeargs+=( "-DWITH_CUBLAS=ON" )
|
||||
mycmakeargs+=( "-DWITH_CUFFT=ON" )
|
||||
fi
|
||||
else
|
||||
mycmakeargs+=( "-DWITH_CUDA=OFF" )
|
||||
mycmakeargs+=( "-DWITH_CUBLAS=OFF" )
|
||||
mycmakeargs+=( "-DWITH_CUFFT=OFF" )
|
||||
fi
|
||||
|
||||
if use examples && use python; then
|
||||
mycmakeargs+=( "-DINSTALL_PYTHON_EXAMPLES=ON" )
|
||||
else
|
||||
mycmakeargs+=( "-DINSTALL_PYTHON_EXAMPLES=OFF" )
|
||||
fi
|
||||
|
||||
# things we want to be hard off or not yet figured out
|
||||
mycmakeargs+=(
|
||||
"-DOPENCV_BUILD_3RDPARTY_LIBS=OFF"
|
||||
"-DBUILD_LATEX_DOCS=OFF"
|
||||
"-DBUILD_PACKAGE=OFF"
|
||||
"-DENABLE_PROFILING=OFF"
|
||||
)
|
||||
|
||||
# things we want to be hard enabled not worth useflag
|
||||
mycmakeargs+=(
|
||||
"-DCMAKE_SKIP_RPATH=ON"
|
||||
"-DOPENCV_DOC_INSTALL_PATH=${EPREFIX}/usr/share/doc/${PF}"
|
||||
)
|
||||
|
||||
# hardcode cuda paths
|
||||
mycmakeargs+=(
|
||||
"-DCUDA_NPP_LIBRARY_ROOT_DIR=/opt/cuda"
|
||||
)
|
||||
|
||||
# workaround for bug 413429
|
||||
tc-export CC CXX
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
Bugfix for version 0.0.1 (reported by Maniac@vdrportal):
|
||||
Either make sure svdrpservice is loaded before remotetimers or apply
|
||||
this patch.
|
||||
|
||||
--- timers.c.orig 2007-03-16 07:39:06.000000000 +0100
|
||||
+++ timers.c 2007-03-16 07:41:27.000000000 +0100
|
||||
@@ -48,7 +48,7 @@
|
||||
// cRemoteTimers -------------------------------------------------
|
||||
|
||||
cRemoteTimers::cRemoteTimers(): refcount(0) {
|
||||
- plugin = cPluginManager::GetPlugin("svdrpservice");
|
||||
+ plugin = NULL;
|
||||
svdrp.handle = -1;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,8 @@
|
||||
|
||||
bool cRemoteTimers::Connect() {
|
||||
refcount++;
|
||||
+ if (!plugin)
|
||||
+ plugin = cPluginManager::GetPlugin("svdrpservice");
|
||||
if (plugin && svdrp.handle < 0) {
|
||||
svdrp.serverIp = RemoteTimersSetup.serverIp;
|
||||
svdrp.serverPort = RemoteTimersSetup.serverPort;
|
@ -1,15 +0,0 @@
|
||||
diff -ru remotetimers-0.0.1-orig/menu.c remotetimers-0.0.1/menu.c
|
||||
--- remotetimers-0.0.1-orig/menu.c 2007-10-07 14:07:19.565912321 +0200
|
||||
+++ remotetimers-0.0.1/menu.c 2007-10-07 14:08:13.062429433 +0200
|
||||
@@ -206,7 +206,11 @@
|
||||
{
|
||||
cString day, name("");
|
||||
if (timer->WeekDays())
|
||||
+#if APIVERSNUM >= 10503
|
||||
+ day = timer->PrintDay(0, timer->WeekDays(), false);
|
||||
+#else
|
||||
day = timer->PrintDay(0, timer->WeekDays());
|
||||
+#endif
|
||||
else if (timer->Day() - time(NULL) < 28 * SECSINDAY) {
|
||||
day = itoa(timer->GetMDay(timer->Day()));
|
||||
name = WeekDayName(timer->Day());
|
@ -1,13 +0,0 @@
|
||||
diff -Naur remotetimers-0.1.1.orig/Makefile remotetimers-0.1.1/Makefile
|
||||
--- remotetimers-0.1.1.orig/Makefile 2009-02-23 21:43:12.000000000 +0100
|
||||
+++ remotetimers-0.1.1/Makefile 2009-02-23 21:44:08.000000000 +0100
|
||||
@@ -34,7 +34,7 @@
|
||||
APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
|
||||
|
||||
### Test whether VDR has locale support
|
||||
-VDRLOCALE = $(shell grep '^LOCALEDIR' $(VDRDIR)/Makefile)
|
||||
+VDRLOCALE = $(shell grep '^LOCDIR' $(VDRDIR)/Make.config)
|
||||
|
||||
### The name of the distribution archive:
|
||||
|
||||
|
@ -0,0 +1,137 @@
|
||||
diff -Naur remotetimers-1.0.1.orig/menu.c remotetimers-1.0.1/menu.c
|
||||
--- remotetimers-1.0.1.orig/menu.c 2014-12-26 18:41:16.359719486 +0100
|
||||
+++ remotetimers-1.0.1/menu.c 2014-12-26 18:42:58.843051214 +0100
|
||||
@@ -189,14 +189,23 @@
|
||||
bool cFreeDiskSpace::HasChanged(const char *SubDir, bool ForceCheck)
|
||||
{
|
||||
cString path(ExchangeChars(strdup(SubDir ? SubDir : ""), true), true);
|
||||
+#if APIVERSNUM > 20101
|
||||
+ path = cString::sprintf("%s/%s", cVideoDirectory::Name(), *path);
|
||||
+#else
|
||||
path = cString::sprintf("%s/%s", VideoDirectory, *path);
|
||||
+#endif
|
||||
if (ForceCheck || time(NULL) - lastDiskSpaceCheck > DISKSPACECHEK || !EntriesOnSameFileSystem(path, lastPath)) {
|
||||
int FreeMB;
|
||||
int Percent;
|
||||
int MBperMinute = -1;
|
||||
lastPath = path;
|
||||
+#if APIVERSNUM > 20101
|
||||
+ if (cVideoDirectory::IsOnVideoDirectoryFileSystem(path)) {
|
||||
+ Percent = cVideoDirectory::VideoDiskSpace(&FreeMB);
|
||||
+#else
|
||||
if (IsOnVideoDirectoryFileSystem(path)) {
|
||||
Percent = ::VideoDiskSpace(&FreeMB);
|
||||
+#endif
|
||||
MBperMinute = Recordings.MBperMinute();
|
||||
}
|
||||
else {
|
||||
@@ -1758,8 +1767,13 @@
|
||||
int len = strlen(RemoteTimersSetup.serverDir);
|
||||
bool remote = len == 0 || (strstr(name, RemoteTimersSetup.serverDir) == name && name[len] == FOLDERDELIMCHAR);
|
||||
if (!remote) {
|
||||
+#if APIVERSNUM > 20101
|
||||
+ if (RecordingsHandler.GetUsage(*fileName) == ruNone) {
|
||||
+ if (RecordingsHandler.Add(ruCut, *fileName))
|
||||
+#else
|
||||
if (!cCutter::Active()) {
|
||||
if (cCutter::Start(*fileName))
|
||||
+#endif
|
||||
Skins.Message(mtInfo, tr("Editing process started"));
|
||||
else
|
||||
Skins.Message(mtError, tr("Can't start editing process!"));
|
||||
@@ -1898,7 +1912,11 @@
|
||||
name[len] = '\0';
|
||||
}
|
||||
cString newName(ExchangeChars(strdup(name), true), true);
|
||||
+#if APIVERSNUM > 20101
|
||||
+ newName = cString::sprintf("%s/%s%s", cVideoDirectory::Name(), *newName, p);
|
||||
+#else
|
||||
newName = cString::sprintf("%s/%s%s", VideoDirectory, *newName, p);
|
||||
+#endif
|
||||
bool wasMoving = cMoveRec::IsMoving();
|
||||
if (Rename(Recording, newName)) {
|
||||
// keep old name when moving recording in background
|
||||
@@ -2215,7 +2233,11 @@
|
||||
|
||||
cString cMenuRecordings::DirectoryName(void)
|
||||
{
|
||||
+#if APIVERSNUM > 20101
|
||||
+ cString d(cVideoDirectory::Name());
|
||||
+#else
|
||||
cString d(VideoDirectory);
|
||||
+#endif
|
||||
if (base) {
|
||||
char *s = ExchangeChars(strdup(base), true);
|
||||
d = AddDirectory(d, s);
|
||||
@@ -2312,9 +2334,17 @@
|
||||
}
|
||||
cRecording *recording = ri->Recording();
|
||||
cString FileName = recording->FileName();
|
||||
+#if APIVERSNUM > 20101
|
||||
+ if (RecordingsHandler.GetUsage(*FileName) != ruNone) {
|
||||
+#else
|
||||
if (cCutter::Active(ri->Recording()->FileName())) {
|
||||
+#endif
|
||||
if (Interface->Confirm(tr("Recording is being edited - really delete?"))) {
|
||||
+#if APIVERSNUM > 20101
|
||||
+ RecordingsHandler.Del(*FileName);
|
||||
+#else
|
||||
cCutter::Stop();
|
||||
+#endif
|
||||
recording = Recordings.GetByName(FileName); // cCutter::Stop() might have deleted it if it was the edited version
|
||||
// we continue with the code below even if recording is NULL,
|
||||
// in order to have the menu updated etc.
|
||||
diff -Naur remotetimers-1.0.1.orig/remotetimers.c remotetimers-1.0.1/remotetimers.c
|
||||
--- remotetimers-1.0.1.orig/remotetimers.c 2014-12-26 18:41:16.363052819 +0100
|
||||
+++ remotetimers-1.0.1/remotetimers.c 2014-12-26 18:42:58.846384548 +0100
|
||||
@@ -172,11 +172,23 @@
|
||||
if (*RemoteTimersSetup.serverDir) {
|
||||
ir->name = cString::sprintf("%s~%s", RemoteTimersSetup.serverDir, recording.Name());
|
||||
|
||||
+#if APIVERSNUM > 20101
|
||||
+ int len = strlen(cVideoDirectory::Name());
|
||||
+#else
|
||||
int len = strlen(VideoDirectory);
|
||||
+#endif
|
||||
ir->fileName = recording.FileName();
|
||||
+#if APIVERSNUM > 20101
|
||||
+ if (strncmp(ir->fileName, cVideoDirectory::Name(), strlen(cVideoDirectory::Name())) == 0 && ir->fileName[len] == '/') {
|
||||
+#else
|
||||
if (strncmp(ir->fileName, VideoDirectory, strlen(VideoDirectory)) == 0 && ir->fileName[len] == '/') {
|
||||
+#endif
|
||||
char *serverDir = ExchangeChars(strdup(RemoteTimersSetup.serverDir), true);
|
||||
+#if APIVERSNUM > 20101
|
||||
+ ir->fileName = cString::sprintf("%s/%s%s", cVideoDirectory::Name(), serverDir, ir->fileName + len);
|
||||
+#else
|
||||
ir->fileName = cString::sprintf("%s/%s%s", VideoDirectory, serverDir, ir->fileName + len);
|
||||
+#endif
|
||||
free(serverDir);
|
||||
}
|
||||
else {
|
||||
diff -Naur remotetimers-1.0.1.orig/watcher.c remotetimers-1.0.1/watcher.c
|
||||
--- remotetimers-1.0.1.orig/watcher.c 2014-12-26 18:41:16.363052819 +0100
|
||||
+++ remotetimers-1.0.1/watcher.c 2014-12-26 18:42:58.846384548 +0100
|
||||
@@ -44,7 +44,11 @@
|
||||
cUpdateWatcher::cUpdateWatcher(): cThread("remotetimers update file watcher")
|
||||
{
|
||||
serverLastModifiedTime = 0;
|
||||
+#if APIVERSNUM > 20101
|
||||
+ clientUpdateFile = AddDirectory(cVideoDirectory::Name(), ".update");
|
||||
+#else
|
||||
clientUpdateFile = AddDirectory(VideoDirectory, ".update");
|
||||
+#endif
|
||||
clientLastDev = 0;
|
||||
inSubDir = false;
|
||||
}
|
||||
@@ -63,7 +67,11 @@
|
||||
// server recordings in subdir: check mtime of subdir/.update
|
||||
char *tmpDir = strdup(RemoteTimersSetup.serverDir);
|
||||
tmpDir = ExchangeChars(tmpDir, true);
|
||||
+#if APIVERSNUM > 20101
|
||||
+ serverUpdateFile = AddDirectory(cVideoDirectory::Name(), AddDirectory(tmpDir, ".update"));
|
||||
+#else
|
||||
serverUpdateFile = AddDirectory(VideoDirectory, AddDirectory(tmpDir, ".update"));
|
||||
+#endif
|
||||
serverLastModifiedTime = LastModifiedTime(serverUpdateFile);
|
||||
free(tmpDir);
|
||||
}
|
@ -0,0 +1,379 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-2.5.2.ebuild,v 1.1 2014/12/26 17:19:29 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Subslot: libavutil major.libavcodec major.libavformat major
|
||||
# Since FFmpeg ships several libraries, subslot is kind of limited here.
|
||||
# Most consumers will use those three libraries, if a "less used" library
|
||||
# changes its soname, consumers will have to be rebuilt the old way
|
||||
# (preserve-libs).
|
||||
# If, for example, a package does not link to libavformat and only libavformat
|
||||
# changes its ABI then this package will be rebuilt needlessly. Hence, such a
|
||||
# package is free _not_ to := depend on FFmpeg but I would strongly encourage
|
||||
# doing so since such a case is unlikely.
|
||||
FFMPEG_SUBSLOT=54.56.56
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-2"
|
||||
EGIT_REPO_URI="git://source.ffmpeg.org/ffmpeg.git"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec"
|
||||
HOMEPAGE="http://ffmpeg.org/"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
else # Release
|
||||
SRC_URI="http://ffmpeg.org/releases/${P/_/-}.tar.bz2"
|
||||
fi
|
||||
FFMPEG_REVISION="${PV#*_p}"
|
||||
|
||||
LICENSE="GPL-2 amr? ( GPL-3 ) encode? ( aac? ( GPL-3 ) ) samba? ( GPL-3 )"
|
||||
SLOT="0/${FFMPEG_SUBSLOT}"
|
||||
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
|
||||
fi
|
||||
IUSE="
|
||||
aac aacplus alsa amr amrenc bindist bluray bs2b +bzip2 cdio celt
|
||||
cpudetection debug doc +encode examples faac fdk flite fontconfig frei0r
|
||||
fribidi gme gnutls gsm +hardcoded-tables +iconv iec61883 ieee1394 jack
|
||||
jpeg2k ladspa libass libcaca libsoxr libv4l lzma modplug mp3 +network
|
||||
openal opengl openssl opus oss pic pulseaudio quvi rtmp samba schroedinger
|
||||
sdl speex ssh static-libs test theora threads truetype twolame v4l vaapi
|
||||
vdpau vorbis vpx wavpack webp X x264 x265 xcb xvid +zlib zvbi
|
||||
"
|
||||
|
||||
ARM_CPU_FEATURES="armv5te armv6 armv6t2 neon armvfp:vfp"
|
||||
MIPS_CPU_FEATURES="mips32r2 mipsdspr1 mipsdspr2 mipsfpu"
|
||||
PPC_CPU_FEATURES="altivec"
|
||||
X86_CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 ssse3 sse4 sse4_2:sse42 xop"
|
||||
|
||||
# String for CPU features in the useflag[:configure_option] form
|
||||
# if :configure_option isn't set, it will use 'useflag' as configure option
|
||||
CPU_FEATURES="
|
||||
${ARM_CPU_FEATURES}
|
||||
${MIPS_CPU_FEATURES}
|
||||
${PPC_CPU_FEATURES}
|
||||
${X86_CPU_FEATURES}
|
||||
"
|
||||
|
||||
for i in ${CPU_FEATURES}; do
|
||||
IUSE="${IUSE} ${i%:*}"
|
||||
done
|
||||
|
||||
FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher"
|
||||
|
||||
for i in ${FFTOOLS}; do
|
||||
IUSE="${IUSE} +fftools_$i"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
|
||||
amr? ( >=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}] )
|
||||
bluray? ( >=media-libs/libbluray-0.3.0-r1[${MULTILIB_USEDEP}] )
|
||||
bs2b? ( >=media-libs/libbs2b-3.1.0-r1[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
cdio? ( >=dev-libs/libcdio-paranoia-0.90_p1-r1[${MULTILIB_USEDEP}] )
|
||||
celt? ( >=media-libs/celt-0.11.1-r1[${MULTILIB_USEDEP}] )
|
||||
encode? (
|
||||
aac? ( >=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}] )
|
||||
aacplus? ( >=media-libs/libaacplus-2.0.2-r1[${MULTILIB_USEDEP}] )
|
||||
amrenc? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] )
|
||||
faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] )
|
||||
mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] )
|
||||
theora? (
|
||||
>=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
twolame? ( >=media-sound/twolame-0.3.13-r1[${MULTILIB_USEDEP}] )
|
||||
wavpack? ( >=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}] )
|
||||
webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )
|
||||
x264? ( >=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}] )
|
||||
x265? ( >=media-libs/x265-1.2:=[${MULTILIB_USEDEP}] )
|
||||
xvid? ( >=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
fdk? ( >=media-libs/fdk-aac-0.1.3[${MULTILIB_USEDEP}] )
|
||||
flite? ( >=app-accessibility/flite-1.4-r4[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
fribidi? ( >=dev-libs/fribidi-0.19.6[${MULTILIB_USEDEP}] )
|
||||
gme? ( >=media-libs/game-music-emu-0.6.0[${MULTILIB_USEDEP}] )
|
||||
gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] )
|
||||
gsm? ( >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] )
|
||||
iconv? ( >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] )
|
||||
iec61883? (
|
||||
>=media-libs/libiec61883-1.2.0-r1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libavc1394-0.5.4-r1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
ieee1394? (
|
||||
>=media-libs/libdc1394-2.2.1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.5.0:0[${MULTILIB_USEDEP}] )
|
||||
libass? ( >=media-libs/libass-0.10.2[${MULTILIB_USEDEP}] )
|
||||
libcaca? ( >=media-libs/libcaca-0.99_beta18-r1[${MULTILIB_USEDEP}] )
|
||||
libsoxr? ( >=media-libs/soxr-0.1.0[${MULTILIB_USEDEP}] )
|
||||
libv4l? ( >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
|
||||
modplug? ( >=media-libs/libmodplug-0.8.8.4-r1[${MULTILIB_USEDEP}] )
|
||||
openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
|
||||
opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] )
|
||||
openssl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] )
|
||||
opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
|
||||
quvi? ( media-libs/libquvi:0.4[${MULTILIB_USEDEP}] )
|
||||
rtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
|
||||
samba? ( >=net-fs/samba-3.6.23-r1[${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.15-r4[sound,video,${MULTILIB_USEDEP}] )
|
||||
speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] )
|
||||
ssh? ( >=net-libs/libssh-0.5.5[${MULTILIB_USEDEP}] )
|
||||
truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( >=x11-libs/libva-1.2.1-r1[${MULTILIB_USEDEP}] )
|
||||
vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] )
|
||||
vorbis? (
|
||||
>=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
vpx? ( >=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}] )
|
||||
X? (
|
||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}]
|
||||
)
|
||||
xcb? ( x11-libs/libxcb[${MULTILIB_USEDEP}] )
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
zvbi? ( >=media-libs/zvbi-0.2.35[${MULTILIB_USEDEP}] )
|
||||
!media-video/qt-faststart
|
||||
!media-libs/libpostproc
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
doc? ( app-text/texi2html )
|
||||
fontconfig? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
gnutls? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
ieee1394? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
ladspa? ( >=media-libs/ladspa-sdk-1.13-r2[${MULTILIB_USEDEP}] )
|
||||
libv4l? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
mmx? ( >=dev-lang/yasm-1.2 )
|
||||
rtmp? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
test? ( net-misc/wget sys-devel/bc )
|
||||
truetype? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20140508-r3
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
|
||||
# faac is license-incompatible with ffmpeg
|
||||
REQUIRED_USE="bindist? ( encode? ( !faac !aacplus ) !openssl )
|
||||
libv4l? ( v4l )
|
||||
fftools_cws2fws? ( zlib )
|
||||
test? ( encode )"
|
||||
|
||||
S=${WORKDIR}/${P/_/-}
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/libavutil/avconfig.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if [[ "${PV%_p*}" != "${PV}" ]] ; then # Snapshot
|
||||
export revision=git-N-${FFMPEG_REVISION}
|
||||
fi
|
||||
epatch_user
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=( ${EXTRA_FFMPEG_CONF} )
|
||||
|
||||
# options to use as use_enable in the foo[:bar] form.
|
||||
# This will feed configure with $(use_enable foo bar)
|
||||
# or $(use_enable foo foo) if no :bar is set.
|
||||
local ffuse=(
|
||||
bzip2:bzlib cpudetection:runtime-cpudetect debug doc
|
||||
gnutls hardcoded-tables iconv lzma network openssl samba:libsmbclient
|
||||
sdl:ffplay vaapi vdpau X:xlib xcb:libxcb xcb:libxcb-shm xcb:libxcb-xfixes zlib
|
||||
)
|
||||
use openssl && myconf+=( --enable-nonfree )
|
||||
use samba && myconf+=( --enable-version3 )
|
||||
|
||||
# Encoders
|
||||
if use encode
|
||||
then
|
||||
ffuse+=( aac:libvo-aacenc amrenc:libvo-amrwbenc mp3:libmp3lame )
|
||||
for i in aacplus faac theora twolame wavpack webp x264 x265 xvid; do
|
||||
ffuse+=( ${i}:lib${i} )
|
||||
done
|
||||
|
||||
# Licensing.
|
||||
if use aac || use amrenc ; then
|
||||
myconf+=( --enable-version3 )
|
||||
fi
|
||||
if use aacplus || use faac ; then
|
||||
myconf+=( --enable-nonfree )
|
||||
fi
|
||||
else
|
||||
myconf+=( --disable-encoders )
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
ffuse+=( cdio:libcdio iec61883:libiec61883 ieee1394:libdc1394 libcaca openal opengl )
|
||||
|
||||
# Indevs
|
||||
use v4l || myconf+=( --disable-indev=v4l2 --disable-outdev=v4l2 )
|
||||
for i in alsa oss jack ; do
|
||||
use ${i} || myconf+=( --disable-indev=${i} )
|
||||
done
|
||||
ffuse+=( libv4l:libv4l2 pulseaudio:libpulse X:x11grab )
|
||||
|
||||
# Outdevs
|
||||
for i in alsa oss sdl ; do
|
||||
use ${i} || myconf+=( --disable-outdev=${i} )
|
||||
done
|
||||
|
||||
# libavfilter options
|
||||
ffuse+=( bs2b:libbs2b flite:libflite frei0r fribidi:libfribidi fontconfig ladspa libass truetype:libfreetype )
|
||||
|
||||
# libswresample options
|
||||
ffuse+=( libsoxr )
|
||||
|
||||
# Threads; we only support pthread for now but ffmpeg supports more
|
||||
ffuse+=( threads:pthreads )
|
||||
|
||||
# Decoders
|
||||
ffuse+=( amr:libopencore-amrwb amr:libopencore-amrnb fdk:libfdk-aac jpeg2k:libopenjpeg )
|
||||
use amr && myconf+=( --enable-version3 )
|
||||
for i in bluray celt gme gsm modplug opus quvi rtmp ssh schroedinger speex vorbis vpx zvbi; do
|
||||
ffuse+=( ${i}:lib${i} )
|
||||
done
|
||||
use fdk && myconf+=( --enable-nonfree )
|
||||
|
||||
for i in "${ffuse[@]}" ; do
|
||||
myconf+=( $(use_enable ${i%:*} ${i#*:}) )
|
||||
done
|
||||
|
||||
# (temporarily) disable non-multilib deps
|
||||
if ! multilib_is_native_abi; then
|
||||
for i in frei0r ; do
|
||||
myconf+=( --disable-${i} )
|
||||
done
|
||||
fi
|
||||
|
||||
# CPU features
|
||||
for i in ${CPU_FEATURES}; do
|
||||
use ${i%:*} || myconf+=( --disable-${i#*:} )
|
||||
done
|
||||
if use pic ; then
|
||||
myconf+=( --enable-pic )
|
||||
# disable asm code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
[[ ${ABI} == x86 ]] && myconf+=( --disable-asm )
|
||||
fi
|
||||
[[ ${ABI} == x32 ]] && myconf+=( --disable-asm ) #427004
|
||||
|
||||
# Try to get cpu type based on CFLAGS.
|
||||
# Bug #172723
|
||||
# We need to do this so that features of that CPU will be better used
|
||||
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
|
||||
# will just ignore it.
|
||||
for i in $(get-flag mcpu) $(get-flag mtune) $(get-flag march) ; do
|
||||
[[ ${i} = native ]] && i="host" # bug #273421
|
||||
myconf+=( --cpu=${i} )
|
||||
break
|
||||
done
|
||||
|
||||
# Mandatory configuration
|
||||
myconf=(
|
||||
--enable-gpl
|
||||
--enable-postproc
|
||||
--enable-avfilter
|
||||
--enable-avresample
|
||||
--disable-stripping
|
||||
"${myconf[@]}"
|
||||
)
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf+=( --target-os=freebsd )
|
||||
;;
|
||||
mingw32*)
|
||||
myconf+=( --target-os=mingw32 )
|
||||
;;
|
||||
*linux*)
|
||||
myconf+=( --target-os=linux )
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
set -- "${S}/configure" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--shlibdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--mandir="${EPREFIX}/usr/share/man" \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--cxx="$(tc-getCXX)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
--optflags="${CFLAGS}" \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
--extra-cxxflags="${CXXFLAGS}" \
|
||||
$(use_enable static-libs static) \
|
||||
"${myconf[@]}"
|
||||
echo "${@}"
|
||||
"${@}" || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake V=1
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
for i in ${FFTOOLS} ; do
|
||||
if use fftools_${i} ; then
|
||||
emake V=1 tools/${i}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake V=1 DESTDIR="${D}" install install-man
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
for i in ${FFTOOLS} ; do
|
||||
if use fftools_${i} ; then
|
||||
dobin tools/${i}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc Changelog README.md CREDITS doc/*.txt doc/APIchanges
|
||||
[ -f "RELEASE_NOTES" ] && dodoc "RELEASE_NOTES"
|
||||
use doc && dohtml -r doc/*
|
||||
if use examples ; then
|
||||
dodoc -r doc/examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
LD_LIBRARY_PATH="${BUILD_DIR}/libpostproc:${BUILD_DIR}/libswscale:${BUILD_DIR}/libswresample:${BUILD_DIR}/libavcodec:${BUILD_DIR}/libavdevice:${BUILD_DIR}/libavfilter:${BUILD_DIR}/libavformat:${BUILD_DIR}/libavutil:${BUILD_DIR}/libavresample" \
|
||||
emake V=1 fate
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 26 Dec 2014 14:37:05 +0000
|
||||
Fri, 26 Dec 2014 20:07:02 +0000
|
||||
|
@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201412-41">
|
||||
<title>OpenVPN: Denial of Service</title>
|
||||
<synopsis>A vulnerability in OpenVPN could lead to Denial of Service.</synopsis>
|
||||
<product type="ebuild">openvpn</product>
|
||||
<announced>December 26, 2014</announced>
|
||||
<revised>December 26, 2014: 1</revised>
|
||||
<bug>531308</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="net-misc/openvpn" auto="yes" arch="*">
|
||||
<unaffected range="ge">2.3.6</unaffected>
|
||||
<vulnerable range="lt">2.3.6</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>OpenVPN is a multi-platform, full-featured SSL VPN solution.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>OpenVPN does not properly handle control channel packets that are too
|
||||
small.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote authenticated attacker could send a specially crafted control
|
||||
channel packet, possibly resulting in a Denial of Service condition.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All OpenVPN users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=net-misc/openvpn-2.3.6"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-8104">CVE-2014-8104</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Thu, 04 Dec 2014 00:38:51 +0000">ackle</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 26 Dec 2014 17:10:38 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201412-42">
|
||||
<title>Xen: Denial of Service</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in Xen, possibly resulting
|
||||
in Denial of Service.
|
||||
</synopsis>
|
||||
<product type="ebuild">xen</product>
|
||||
<announced>December 26, 2014</announced>
|
||||
<revised>December 26, 2014: 1</revised>
|
||||
<bug>523524</bug>
|
||||
<bug>524200</bug>
|
||||
<access>local</access>
|
||||
<affected>
|
||||
<package name="app-emulation/xen" auto="yes" arch="*">
|
||||
<unaffected range="rge">4.2.5-r1</unaffected>
|
||||
<unaffected range="ge">4.4.1-r2</unaffected>
|
||||
<vulnerable range="lt">4.4.1-r2</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>Xen is a bare-metal hypervisor.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in Xen. Please review the
|
||||
CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A local user could possibly cause a Denial of Service condition.</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All Xen 4.2 users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=app-emulation/xen-4.2.5-r1"
|
||||
</code>
|
||||
|
||||
<p>All Xen 4.4 users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=app-emulation/xen-4.4.1-r2"
|
||||
</code>
|
||||
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-7154">CVE-2014-7154</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-7155">CVE-2014-7155</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-7156">CVE-2014-7156</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-7188">CVE-2014-7188</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Wed, 15 Oct 2014 01:33:19 +0000">
|
||||
BlueKnight
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 26 Dec 2014 17:25:23 +0000">Zlogene</metadata>
|
||||
</glsa>
|
@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201412-43">
|
||||
<title>MuPDF: User-assisted execution of arbitrary code</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in MuPDF, possibly
|
||||
resulting in remote code execution or Denial of Service.
|
||||
</synopsis>
|
||||
<product type="ebuild">mupdf</product>
|
||||
<announced>December 26, 2014</announced>
|
||||
<revised>December 26, 2014: 1</revised>
|
||||
<bug>358029</bug>
|
||||
<bug>498876</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="app-text/mupdf" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.3_p20140118</unaffected>
|
||||
<vulnerable range="lt">1.3_p20140118</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>MuPDF is a lightweight PDF viewer and toolkit written in portable C. </p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in MuPDF. Please review
|
||||
the CVE identifier and Secunia Research referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could entice a user to open a specially crafted PDF
|
||||
using MuPDF, possibly resulting in execution of arbitrary code with the
|
||||
privileges of the process or a Denial of Service condition.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All MuPDF users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=app-text/mupdf-1.3_p20140118"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-2013">CVE-2014-2013</uri>
|
||||
<uri link="http://secunia.com/secunia_research/2011-12/">Secunia Research:
|
||||
MuPDF Two Integer Overflow Vulnerabilities
|
||||
</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Fri, 07 Oct 2011 23:37:03 +0000">
|
||||
underling
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 26 Dec 2014 17:54:11 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201412-44">
|
||||
<title>policycoreutils: Privilege escalation</title>
|
||||
<synopsis>A vulnerability in policycoreutils could lead to local privilege
|
||||
escalation.
|
||||
</synopsis>
|
||||
<product type="ebuild">policycoreutils</product>
|
||||
<announced>December 26, 2014</announced>
|
||||
<revised>December 26, 2014: 1</revised>
|
||||
<bug>509896</bug>
|
||||
<access>local</access>
|
||||
<affected>
|
||||
<package name="sys-apps/policycoreutils" auto="yes" arch="*">
|
||||
<unaffected range="ge">2.2.5-r4</unaffected>
|
||||
<vulnerable range="lt">2.2.5-r4</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>policycoreutils is a collection of SELinux policy utilities.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>The seunshare utility is owned by root with 4755 permissions which can
|
||||
be exploited by a setuid system call.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="high">
|
||||
<p>A local attacker may be able to gain escalated privileges.</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All policycoreutils users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose
|
||||
">=sys-apps/policycoreutils-2.2.5-r4"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-3215">CVE-2014-3215</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Tue, 19 Aug 2014 04:53:45 +0000">
|
||||
BlueKnight
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 26 Dec 2014 18:53:38 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201412-45">
|
||||
<title>Facter: Privilege escalation</title>
|
||||
<synopsis>An untrusted search path vulnerability in Facter could lead to
|
||||
local privilege escalation.
|
||||
</synopsis>
|
||||
<product type="ebuild">facter</product>
|
||||
<announced>December 26, 2014</announced>
|
||||
<revised>December 26, 2014: 1</revised>
|
||||
<bug>514476</bug>
|
||||
<access>local</access>
|
||||
<affected>
|
||||
<package name="dev-ruby/facter" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.7.6</unaffected>
|
||||
<vulnerable range="lt">1.7.6</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>Facter is a cross-platform Ruby library for retrieving facts from
|
||||
operating systems.
|
||||
</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Facter includes the current working directory in the search path.</p>
|
||||
</description>
|
||||
<impact type="high">
|
||||
<p>A local attacker may be able to gain escalated privileges.</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All Facter users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=dev-ruby/facter-1.7.6"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-3248">CVE-2014-3248</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Sat, 16 Aug 2014 21:34:38 +0000">
|
||||
BlueKnight
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 26 Dec 2014 18:59:01 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201412-46">
|
||||
<title>LittleCMS: Denial of Service</title>
|
||||
<synopsis>Multiple buffer overflow flaws and a parser error in LittleCMS
|
||||
could cause Denial of Service.
|
||||
</synopsis>
|
||||
<product type="ebuild">lcms</product>
|
||||
<announced>December 26, 2014</announced>
|
||||
<revised>December 26, 2014: 1</revised>
|
||||
<bug>479874</bug>
|
||||
<bug>507788</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="media-libs/lcms" auto="yes" arch="*">
|
||||
<unaffected range="ge">2.6-r1</unaffected>
|
||||
<vulnerable range="lt">2.6-r1</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>LittleCMS, or short lcms, is a color management system for working with
|
||||
ICC profiles. It is used by many applications including GIMP and Firefox.
|
||||
</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple stack-based buffer overflows and a profile parser error have
|
||||
been found in LittleCMS.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could entice a user or automated system to open a
|
||||
specially crafted file containing a malicious ICC profile, possibly
|
||||
resulting in a Denial of Service condition.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All LittleCMS users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=media-libs/lcms-2.6-r1"
|
||||
</code>
|
||||
|
||||
<p>Packages which depend on this library may need to be recompiled. Tools
|
||||
such as revdep-rebuild may assist in identifying these packages.
|
||||
</p>
|
||||
|
||||
<p>NOTE: Gentoo has discontinued support for the LittleCMS 1.9 branch. </p>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4276">CVE-2013-4276</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-0459">CVE-2014-0459</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Mon, 10 Nov 2014 21:58:45 +0000">ackle</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 26 Dec 2014 19:04:58 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201412-47">
|
||||
<title>TORQUE Resource Manager: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in TORQUE Resource
|
||||
Manager, possibly resulting in escalation of privileges or remote code
|
||||
execution.
|
||||
</synopsis>
|
||||
<product type="ebuild">torque</product>
|
||||
<announced>December 26, 2014</announced>
|
||||
<revised>December 26, 2014: 1</revised>
|
||||
<bug>372959</bug>
|
||||
<bug>378805</bug>
|
||||
<bug>390167</bug>
|
||||
<bug>484320</bug>
|
||||
<bug>491270</bug>
|
||||
<bug>510726</bug>
|
||||
<access>local, remote</access>
|
||||
<affected>
|
||||
<package name="sys-cluster/torque" auto="yes" arch="*">
|
||||
<unaffected range="ge">4.1.7</unaffected>
|
||||
<unaffected range="rge">2.5.13</unaffected>
|
||||
<vulnerable range="lt">4.1.7</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>TORQUE is a resource manager and queuing system based on OpenPBS.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in TORQUE Resource
|
||||
Manager. Please review the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="high">
|
||||
<p>A context-dependent attacker may be able to gain escalated privileges,
|
||||
execute arbitrary code, or bypass security restrictions.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All TORQUE Resource Manager 4.x users should upgrade to the latest
|
||||
version:
|
||||
</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=sys-cluster/torque-4.1.7"
|
||||
</code>
|
||||
|
||||
<p>All TORQUE Resource Manager 2.x users should upgrade to the latest
|
||||
version:
|
||||
</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=sys-cluster/torque-2.5.13"
|
||||
</code>
|
||||
|
||||
<p>NOTE: One or more of the issues described in this advisory have been
|
||||
fixed in previous updates. They are included in this advisory for the
|
||||
sake of completeness. It is likely that your system is already no longer
|
||||
affected by them.
|
||||
</p>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-2193">CVE-2011-2193</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-2907">CVE-2011-2907</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4925">CVE-2011-4925</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4319">CVE-2013-4319</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4495">CVE-2013-4495</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-0749">CVE-2014-0749</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Fri, 07 Oct 2011 23:38:08 +0000">
|
||||
underling
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 26 Dec 2014 19:24:57 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -1 +1 @@
|
||||
Fri, 26 Dec 2014 14:37:05 +0000
|
||||
Fri, 26 Dec 2014 20:07:03 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue