parent
98d5be87e0
commit
3d8c438e67
@ -1 +1,3 @@
|
||||
LOGSTASH_FORWARDER_ARGS="-quiet -syslog=true"
|
||||
#LOGSTASH_FORWARDER_USER=""
|
||||
#LOGSTASH_FORWARDER_GROUP=""
|
||||
|
@ -0,0 +1,83 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-utils eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
|
||||
HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk"
|
||||
SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
IUSE="ewf jpeg ntfs reiserfs static qt4"
|
||||
|
||||
REQUIRED_USE="static? ( !qt4 )"
|
||||
|
||||
# WARNING: reiserfs support does NOT work with reiserfsprogs
|
||||
# you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released).
|
||||
DEPEND="
|
||||
static? (
|
||||
sys-apps/util-linux[static-libs]
|
||||
>=sys-libs/ncurses-5.2[static-libs]
|
||||
jpeg? ( virtual/jpeg:0[static-libs] )
|
||||
ntfs? ( sys-fs/ntfs3g[static-libs] )
|
||||
reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8[static-libs] )
|
||||
>=sys-fs/e2fsprogs-1.35[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
!arm? ( ewf? ( app-forensics/libewf:=[static-libs] ) )
|
||||
)
|
||||
!static? (
|
||||
sys-apps/util-linux
|
||||
>=sys-libs/ncurses-5.2
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
ntfs? ( sys-fs/ntfs3g )
|
||||
reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 )
|
||||
>=sys-fs/e2fsprogs-1.35
|
||||
sys-libs/zlib
|
||||
!arm? ( ewf? ( app-forensics/libewf:= ) )
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
)"
|
||||
RDEPEND="!static? ( ${DEPEND} )"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
DOCS=( )
|
||||
PATCHES=( "${FILESDIR}/fix_rare_crash-6.14.patch" )
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# this is static method is the same used by upstream for their 'static' make
|
||||
# target, but better, as it doesn't break.
|
||||
use static && append-ldflags -static
|
||||
|
||||
# --with-foo are broken, any use of --with/--without disable the
|
||||
# functionality.
|
||||
# The following variation must be used.
|
||||
use reiserfs || myconf+=" --without-reiserfs"
|
||||
use ntfs || myconf+=" --without-ntfs --without-ntfs3g"
|
||||
use jpeg || myconf+=" --without-jpeg"
|
||||
use ewf || myconf+=" --without-ewf"
|
||||
myconf+=$(usex qt4 " --enable-qt" " --disable-qt")
|
||||
|
||||
econf \
|
||||
--docdir "${ROOT}/usr/share/doc/${P}" \
|
||||
--enable-sudo \
|
||||
${myconf}
|
||||
|
||||
# perform safety checks for NTFS, REISERFS and JPEG
|
||||
if use ntfs && ! egrep -q '^#define HAVE_LIBNTFS(3G)? 1$' "${S}"/config.h ; then
|
||||
die "Failed to find either NTFS or NTFS-3G library."
|
||||
fi
|
||||
if use reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h ; then
|
||||
die "Failed to find reiserfs library."
|
||||
fi
|
||||
if use jpeg && egrep -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then
|
||||
die "Failed to find jpeg library."
|
||||
fi
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-utils eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
|
||||
HOMEPAGE="http://www.cgsecurity.org/wiki/TestDisk"
|
||||
SRC_URI="http://www.cgsecurity.org/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
IUSE="ewf jpeg ntfs reiserfs static qt4"
|
||||
|
||||
REQUIRED_USE="static? ( !qt4 )"
|
||||
|
||||
# WARNING: reiserfs support does NOT work with reiserfsprogs
|
||||
# you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released).
|
||||
DEPEND="
|
||||
static? (
|
||||
sys-apps/util-linux[static-libs]
|
||||
>=sys-libs/ncurses-5.2[static-libs]
|
||||
jpeg? ( virtual/jpeg:0[static-libs] )
|
||||
ntfs? ( sys-fs/ntfs3g[static-libs] )
|
||||
reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8[static-libs] )
|
||||
>=sys-fs/e2fsprogs-1.35[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
!arm? ( ewf? ( app-forensics/libewf:=[static-libs] ) )
|
||||
)
|
||||
!static? (
|
||||
sys-apps/util-linux
|
||||
>=sys-libs/ncurses-5.2
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
ntfs? ( sys-fs/ntfs3g )
|
||||
reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 )
|
||||
>=sys-fs/e2fsprogs-1.35
|
||||
sys-libs/zlib
|
||||
!arm? ( ewf? ( app-forensics/libewf:= ) )
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
)"
|
||||
RDEPEND="!static? ( ${DEPEND} )"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
DOCS=( )
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# this is static method is the same used by upstream for their 'static' make
|
||||
# target, but better, as it doesn't break.
|
||||
use static && append-ldflags -static
|
||||
|
||||
# --with-foo are broken, any use of --with/--without disable the
|
||||
# functionality.
|
||||
# The following variation must be used.
|
||||
use reiserfs || myconf+=" --without-reiserfs"
|
||||
use ntfs || myconf+=" --without-ntfs --without-ntfs3g"
|
||||
use jpeg || myconf+=" --without-jpeg"
|
||||
use ewf || myconf+=" --without-ewf"
|
||||
myconf+=$(usex qt4 " --enable-qt" " --disable-qt")
|
||||
|
||||
econf \
|
||||
--docdir "${ROOT}/usr/share/doc/${P}" \
|
||||
--enable-sudo \
|
||||
${myconf}
|
||||
|
||||
# perform safety checks for NTFS, REISERFS and JPEG
|
||||
if use ntfs && ! egrep -q '^#define HAVE_LIBNTFS(3G)? 1$' "${S}"/config.h ; then
|
||||
die "Failed to find either NTFS or NTFS-3G library."
|
||||
fi
|
||||
if use reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h ; then
|
||||
die "Failed to find reiserfs library."
|
||||
fi
|
||||
if use jpeg && egrep -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then
|
||||
die "Failed to find jpeg library."
|
||||
fi
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils versionator
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-2)$(get_version_component_range 4-4)"
|
||||
|
||||
DESCRIPTION="Demonstration program for visual effects of aalib"
|
||||
HOMEPAGE="http://aa-project.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/aa-project/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mikmod"
|
||||
|
||||
DEPEND="media-libs/aalib:=
|
||||
dev-libs/lzo:=
|
||||
mikmod? ( media-libs/libmikmod:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-noattr.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-protos.patch
|
||||
epatch "${FILESDIR}"/${P}-messager-overlap.patch
|
||||
epatch "${FILESDIR}"/${P}-zbuff-fault.patch
|
||||
epatch "${FILESDIR}"/${P}-printf-cleanup.patch
|
||||
epatch "${FILESDIR}"/${P}-m4-stuff.patch
|
||||
epatch "${FILESDIR}"/${P}-protos.patch
|
||||
epatch "${FILESDIR}"/${P}-disable-pulse.patch
|
||||
|
||||
# unbundle lzo, #515286
|
||||
rm -v README.LZO minilzo.{c,h} mylzo.h || die
|
||||
sed -e 's/minilzo.c//' \
|
||||
-e 's/minilzo.h//' \
|
||||
-e 's/README.LZO//' \
|
||||
-i Makefile.am || die
|
||||
echo 'bb_LDADD = -llzo2' >> Makefile.am || die
|
||||
# update code
|
||||
sed -e 's,#include "minilzo.h",#include <lzo/lzo1x.h>,' \
|
||||
-e 's,int size = image,lzo_uint size = image,' \
|
||||
-i image.c || die
|
||||
|
||||
# rename binary and manpage bb -> bb-aalib
|
||||
|
||||
mv bb.1 bb-aalib.1 || die
|
||||
sed -e 's/bb/bb-aalib/' \
|
||||
-i bb-aalib.1
|
||||
sed -e 's/bin_PROGRAMS = bb/bin_PROGRAMS = bb-aalib/' \
|
||||
-e 's/man_MANS = bb.1/man_MANS = bb-aalib.1/' \
|
||||
-e 's/bb_SOURCES/bb_aalib_SOURCES/' \
|
||||
-e 's/bb_LDADD/bb_aalib_LDADD/' \
|
||||
-i Makefile.am || die
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "bb binary has been renamed to bb-aalib to avoid a naming conflict with sys-apps/busybox."
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
https://bugs.gentoo.org/516964
|
||||
diff --git a/main.c b/main.c
|
||||
index c0648b4..a9fac57 100644
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -160,6 +160,17 @@ main (int argc, char *argv[])
|
||||
aa_flush (context);
|
||||
if (tolower (aa_getkey (context, 1)) != 'n')
|
||||
{
|
||||
+ /* Unfortunately recently added native pulseaudio
|
||||
+ * driver in libmikmod does not allow you to
|
||||
+ * call 'MikMod_Update' in a non-blocking way.
|
||||
+ *
|
||||
+ * It's a known limitation of simple pulseaudio API
|
||||
+ * thus we derevisted pulseaudio driver to fallback
|
||||
+ * on alsa, oss or whatever used to work for user.
|
||||
+ */
|
||||
+ drv_pulseaudio.Name = NULL;
|
||||
+ drv_pulseaudio.Version = NULL;
|
||||
+
|
||||
MikMod_RegisterAllDrivers ();
|
||||
MikMod_RegisterLoader (&load_s3m);
|
||||
/*md_mode |= DMODE_SOFT_MUSIC; */
|
@ -0,0 +1,16 @@
|
||||
diff --git a/bb.c b/bb.c
|
||||
index 95850ef..a394d00 100644
|
||||
--- a/bb.c
|
||||
+++ b/bb.c
|
||||
@@ -27,2 +27,3 @@
|
||||
#include <aalib.h>
|
||||
+#include <time.h>
|
||||
#include "bb.h"
|
||||
diff --git a/main.c b/main.c
|
||||
index 417ff62..c0648b4 100644
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -23,2 +23,3 @@
|
||||
|
||||
+#include <ctype.h>
|
||||
#include <string.h>
|
@ -0,0 +1 @@
|
||||
DIST resolve-march-native-0.9.tar.gz 7688 SHA256 b8e0efd881fca5dfe200e3c9767b1948265ca5e4daf8169332a941f8184c713f SHA512 2079153a1d7f8f352baa1a0000d9e120d976bca8cef2a81dde85ba1689a260fb899c8b6d97f9cd79dda41c5b67b9fe76bfdf0fc5bc88ef09d2915a29f3ed33e2 WHIRLPOOL c46f233eb59b284dd5262026ea83974bdb0825e8b797087a89ac7249542a478624da8e9540cf92869dbc41afb62fdb5e3623a1ec4fa5aa18354d770daf4be832
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>sping@gentoo.org</email>
|
||||
<name>Sebastian Pipping</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Resolve GCC flag -march=native"
|
||||
HOMEPAGE="https://github.com/hartwork/resolve-march-native"
|
||||
SRC_URI="https://github.com/hartwork/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-devel/gcc"
|
@ -1,4 +1,3 @@
|
||||
DIST ecjsrc-3.7.2.jar 1366333 SHA256 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b SHA512 53b9800a53d494330ef517983c756d622eaab242552586775f85a694142faa43d348131f9b49ec6ba41066c7d19dcb339eab3140302d46ccbcc7a2edd30e9d32 WHIRLPOOL 399d971251b022cea47d6db2ddea6f6b0a325789c5a09661782d7fad2b29840863b406f1c2b5f49b8b34b55ff3283519e63a76aed09305fe92b3a0ec866c6d97
|
||||
DIST ecjsrc-4.2.1.jar 1417043 SHA256 d261b2158f598640f1923805d2e9bf47eb21d8333f4e1b37f59f847ad00d48f4 SHA512 967b47a722893ea1f9eb17e69d386881dc87516e93c1d7a2a119d6fb2e053faa0d9d6455b6e4b89c3f23a3ec7ae33686f4acc305d7c6e51929ce7837c9c93eaf WHIRLPOOL 3f91bbf654d8ce0621e3ce21b5a1fce5058c86ad1dd24f89269aba6716945bff8686b6e1829c602864c15f62b45c65f5d5fe0430052dd2419da7e0c0225c95d5
|
||||
DIST ecjsrc-4.4.1.jar 1759152 SHA256 ba3a471d000ae983498a0f398955e2f09d8c1093880c9f37544d47e5460ff82a SHA512 27086c4c6d35a07f38e2c5ae3d34314fcdfe8b03fd1bbd3e652acd10195a0ec4a20b312f4cc0d0e8204b824eb230d1730a2aef9d886896b81f26b93eff1ae2d1 WHIRLPOOL 1b1da40f61ea5b3768e48dd7b9685b9405e35f3b5019acaeae937335f521819743cb7bacd5a7603ea72a20fe1310c6e28fb57d6c64e46b2035b70335029b2937
|
||||
DIST ecjsrc-4.4.2.jar 1764959 SHA256 ad3daf77ab710268f88c41fba87218dcdf502b423217a3799b5227ddf03b5858 SHA512 53e850fc64994b104d45f58c22f1302ceb1f23bcf69300940be5689dfa6278bea14b4506746fec7b14db6f48c24ccbee16755943fffcdd7f6ad4fe5d9ddc1f20 WHIRLPOOL 5c4e40e482b8c30143bb7043822935eac9ff6f425a9d4f175ef5968ebe0bf0cf219f0f5d8046bfc9b77e067a6ff62166bdb7f7c51f887e5675064a2ca85fe721
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple prefix
|
||||
|
||||
DMF="R-${PV}-201409250400"
|
||||
S="${WORKDIR}"
|
||||
|
||||
DESCRIPTION="Ant Compiler Adapter for Eclipse Java Compiler"
|
||||
HOMEPAGE="http://www.eclipse.org/"
|
||||
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF/.0}/ecjsrc-${PV}.jar"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
SLOT="4.4"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
~dev-java/eclipse-ecj-${PV}
|
||||
>=dev-java/ant-core-1.7"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
JAVA_PKG_FILTER_COMPILER="jikes"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="ant-core,eclipse-ecj-4.4"
|
||||
|
||||
java_prepare() {
|
||||
rm build.xml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
find -name "*.properties" | xargs jar uvf "${S}/${PN}.jar" || die "jar update failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
insinto /usr/share/java-config-2/compiler
|
||||
doins "${FILESDIR}/ecj-${SLOT}"
|
||||
eprefixify "${D}"/usr/share/java-config-2/compiler/ecj-${SLOT}
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST ecjsrc-3.7.2.jar 1366333 SHA256 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b SHA512 53b9800a53d494330ef517983c756d622eaab242552586775f85a694142faa43d348131f9b49ec6ba41066c7d19dcb339eab3140302d46ccbcc7a2edd30e9d32 WHIRLPOOL 399d971251b022cea47d6db2ddea6f6b0a325789c5a09661782d7fad2b29840863b406f1c2b5f49b8b34b55ff3283519e63a76aed09305fe92b3a0ec866c6d97
|
||||
DIST ecjsrc-4.2.1.jar 1417043 SHA256 d261b2158f598640f1923805d2e9bf47eb21d8333f4e1b37f59f847ad00d48f4 SHA512 967b47a722893ea1f9eb17e69d386881dc87516e93c1d7a2a119d6fb2e053faa0d9d6455b6e4b89c3f23a3ec7ae33686f4acc305d7c6e51929ce7837c9c93eaf WHIRLPOOL 3f91bbf654d8ce0621e3ce21b5a1fce5058c86ad1dd24f89269aba6716945bff8686b6e1829c602864c15f62b45c65f5d5fe0430052dd2419da7e0c0225c95d5
|
||||
DIST ecjsrc-4.4.1.jar 1759152 SHA256 ba3a471d000ae983498a0f398955e2f09d8c1093880c9f37544d47e5460ff82a SHA512 27086c4c6d35a07f38e2c5ae3d34314fcdfe8b03fd1bbd3e652acd10195a0ec4a20b312f4cc0d0e8204b824eb230d1730a2aef9d886896b81f26b93eff1ae2d1 WHIRLPOOL 1b1da40f61ea5b3768e48dd7b9685b9405e35f3b5019acaeae937335f521819743cb7bacd5a7603ea72a20fe1310c6e28fb57d6c64e46b2035b70335029b2937
|
||||
DIST ecjsrc-4.4.2.jar 1764959 SHA256 ad3daf77ab710268f88c41fba87218dcdf502b423217a3799b5227ddf03b5858 SHA512 53e850fc64994b104d45f58c22f1302ceb1f23bcf69300940be5689dfa6278bea14b4506746fec7b14db6f48c24ccbee16755943fffcdd7f6ad4fe5d9ddc1f20 WHIRLPOOL 5c4e40e482b8c30143bb7043822935eac9ff6f425a9d4f175ef5968ebe0bf0cf219f0f5d8046bfc9b77e067a6ff62166bdb7f7c51f887e5675064a2ca85fe721
|
||||
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_PN="ecj"
|
||||
DMF="R-${PV}-201409250400"
|
||||
|
||||
DESCRIPTION="Eclipse Compiler for Java"
|
||||
HOMEPAGE="http://www.eclipse.org/"
|
||||
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF}/${MY_PN}src-${PV}.jar"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
SLOT="4.4"
|
||||
IUSE="+ant userland_GNU"
|
||||
|
||||
COMMON_DEP="
|
||||
app-eselect/eselect-java"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.6"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
userland_GNU? ( sys-apps/findutils )"
|
||||
PDEPEND="
|
||||
ant? ( ~dev-java/ant-eclipse-ecj-${PV} )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
JAVA_PKG_WANT_SOURCE=1.6
|
||||
JAVA_PKG_WANT_TARGET=1.6
|
||||
|
||||
java_prepare() {
|
||||
# These have their own package.
|
||||
rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java || die
|
||||
rm -fr org/eclipse/jdt/internal/antadapter || die
|
||||
|
||||
rm build.xml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
find -name "*.properties" -or -name "*.rsc" -or -name "*.props" \
|
||||
-or -wholename "*/META-INF/*" | xargs jar uvf "${S}/${PN}.jar" || die "jar update failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
|
||||
java-pkg_dolauncher ${MY_PN}-${SLOT} --main \
|
||||
org.eclipse.jdt.internal.compiler.batch.Main
|
||||
|
||||
java-pkg_newjar ${PN}.jar ${MY_PN}.jar
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "To select between slots of ECJ..."
|
||||
einfo " # eselect ecj"
|
||||
|
||||
eselect ecj update ecj-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ecj update
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST libcec-2.1.3.tar.gz 1087121 SHA256 2aa88451b528184b02077ee8c6cd10e2f89121a6a05b1b35b4b792b03108a9d1 SHA512 79ddab6e1572030d860fa2ba43db7ed4ea6eb7914d3b9936c9de622f1328c1795ae3076d0c6abde193fa610a7916439f8cebdcf3bf22b59f6546ac591b4e5956 WHIRLPOOL e8400d037dee3bdb007b5e731aa794ac5dcf94ad1d4c1d1cbe39c059c77f2b2785288f3fbc987fa64eafb1dc0e2a96a9575a3cb5740edf25088c586a1b628e3d
|
||||
DIST libcec-2.1.4.tar.gz 1093796 SHA256 79bef5232a5c9ab987ca3a2d4bfcaeb80480fd26f502dc1a996fe845d90fe147 SHA512 e2107b2003e003de8efea4b46a7776516652a2b27a0e0983a763324b3ac1ed2995cb0adb76e2f450bea72a1a0bdecfc5b3408fa702c74189204d694f5e9d2d8a WHIRLPOOL 4b8120755cf08dbc7ae8f2a5314f6c4e0c2ddc059b138ab594a26f7ac931cb34536a5bb2894a65902f1ba093007c1b08abeaf4306edef95059af8c85edad3e99
|
||||
DIST libcec-2.2.0.tar.gz 1099150 SHA256 fd4f47a18d6e0f4b9e6f5831280207ee2b2a5fc2741ae32ae09ad12a8aa52917 SHA512 7932a45e581e207aa651e9fe72450fda52b0441fb48e40e971a530f9d5d26b87e6446322393750d85bae223519dc2a73613352a3fe42939eff2c5f8863a09cd7 WHIRLPOOL ff8581c21e280fda6333aec840cbc08fd8d23ffa795fe173076d1863c0b8fdc86fb7838c2035940dac61362ec1c74054e6e450fff7ba5426ff57a2016c6eab83
|
||||
DIST libcec-3.0.1.tar.gz 1117284 SHA256 7e3670c8949a1964d6e5481f56dfff838857da10bdc60b506f6e9b7f117e253e SHA512 b579853d2d20d1007cb9128c8bb457da7c0c0138bba82fd45b05971be9c2232af6a064ab0a4f88bab10f6bda23baefffc43e717ad08b86bba3cf05c211ac5ee4 WHIRLPOOL 46583c7c8b45613a152fe37536992186a6929733dccde0399bed0cc86d07bb6e14da58ae42a12ee1ca192a2716b95b48bda9722749abfd40418b5f0f067f7a40
|
||||
|
@ -0,0 +1,16 @@
|
||||
diff --git a/support/git-rev.sh b/support/git-rev.sh
|
||||
index 5dce3d0..4aadae6 100755
|
||||
--- a/support/git-rev.sh
|
||||
+++ b/support/git-rev.sh
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
## cmake doesn't read the variable when it doesn't end with a newline, and I haven't figured out how to have it add a newline directly...
|
||||
-echo -n "`git --no-pager log --abbrev=7 -n 1 --pretty=format:"%h"`\n"
|
||||
-
|
||||
+if [ -d .git ]; then
|
||||
+ echo "`git --no-pager log --abbrev=7 -n 1 --pretty=format:"%h"`"
|
||||
+else
|
||||
+ echo "<unknown>"
|
||||
+fi
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit cmake-utils eutils linux-info python-single-r1
|
||||
|
||||
DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor"
|
||||
HOMEPAGE="http://libcec.pulse-eight.com"
|
||||
SRC_URI="http://github.com/Pulse-Eight/${PN}/archive/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~arm ~amd64 ~x86"
|
||||
|
||||
IUSE="cubox exynos python raspberry-pi +xrandr"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="virtual/udev
|
||||
dev-libs/lockdev
|
||||
dev-libs/libplatform
|
||||
xrandr? ( x11-libs/libXrandr )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
python? (
|
||||
dev-lang/swig
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
CONFIG_CHECK="~USB_ACM"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-envcheck.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
use python || comment_add_subdirectory "src/pyCecClient"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_useno python SKIP_PYTHON_WRAPPER)
|
||||
$(cmake-utils_use_has exynos EXYNOS_API) \
|
||||
$(cmake-utils_use_has cubox TDA955X_API)
|
||||
$(cmake-utils_use_has raspberry-pi RPI_API)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,161 @@
|
||||
diff -Naurd mpfr-3.1.3-a/PATCHES mpfr-3.1.3-b/PATCHES
|
||||
--- mpfr-3.1.3-a/PATCHES 2015-07-02 10:50:08.046573308 +0000
|
||||
+++ mpfr-3.1.3-b/PATCHES 2015-07-02 10:50:08.126574142 +0000
|
||||
@@ -0,0 +1 @@
|
||||
+muldiv-2exp-overflow
|
||||
diff -Naurd mpfr-3.1.3-a/VERSION mpfr-3.1.3-b/VERSION
|
||||
--- mpfr-3.1.3-a/VERSION 2015-07-02 10:49:24.042113845 +0000
|
||||
+++ mpfr-3.1.3-b/VERSION 2015-07-02 10:50:08.126574142 +0000
|
||||
@@ -1 +1 @@
|
||||
-3.1.3-p1
|
||||
+3.1.3-p2
|
||||
diff -Naurd mpfr-3.1.3-a/src/div_2si.c mpfr-3.1.3-b/src/div_2si.c
|
||||
--- mpfr-3.1.3-a/src/div_2si.c 2015-06-19 19:55:10.000000000 +0000
|
||||
+++ mpfr-3.1.3-b/src/div_2si.c 2015-07-02 10:50:08.106573933 +0000
|
||||
@@ -49,7 +49,7 @@
|
||||
rnd_mode = MPFR_RNDZ;
|
||||
return mpfr_underflow (y, rnd_mode, MPFR_SIGN(y));
|
||||
}
|
||||
- else if (MPFR_UNLIKELY(n < 0 && (__gmpfr_emax < MPFR_EMIN_MIN - n ||
|
||||
+ else if (MPFR_UNLIKELY(n <= 0 && (__gmpfr_emax < MPFR_EMIN_MIN - n ||
|
||||
exp > __gmpfr_emax + n)) )
|
||||
return mpfr_overflow (y, rnd_mode, MPFR_SIGN(y));
|
||||
|
||||
diff -Naurd mpfr-3.1.3-a/src/div_2ui.c mpfr-3.1.3-b/src/div_2ui.c
|
||||
--- mpfr-3.1.3-a/src/div_2ui.c 2015-06-19 19:55:10.000000000 +0000
|
||||
+++ mpfr-3.1.3-b/src/div_2ui.c 2015-07-02 10:50:08.106573933 +0000
|
||||
@@ -32,7 +32,7 @@
|
||||
rnd_mode),
|
||||
("y[%Pu]=%.*Rg inexact=%d", mpfr_get_prec(y), mpfr_log_prec, y, inexact));
|
||||
|
||||
- if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (x)))
|
||||
+ if (MPFR_UNLIKELY (n == 0 || MPFR_IS_SINGULAR (x)))
|
||||
return mpfr_set (y, x, rnd_mode);
|
||||
else
|
||||
{
|
||||
diff -Naurd mpfr-3.1.3-a/src/mpfr.h mpfr-3.1.3-b/src/mpfr.h
|
||||
--- mpfr-3.1.3-a/src/mpfr.h 2015-07-02 10:49:24.038113803 +0000
|
||||
+++ mpfr-3.1.3-b/src/mpfr.h 2015-07-02 10:50:08.126574142 +0000
|
||||
@@ -27,7 +27,7 @@
|
||||
#define MPFR_VERSION_MAJOR 3
|
||||
#define MPFR_VERSION_MINOR 1
|
||||
#define MPFR_VERSION_PATCHLEVEL 3
|
||||
-#define MPFR_VERSION_STRING "3.1.3-p1"
|
||||
+#define MPFR_VERSION_STRING "3.1.3-p2"
|
||||
|
||||
/* Macros dealing with MPFR VERSION */
|
||||
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
|
||||
diff -Naurd mpfr-3.1.3-a/src/mul_2si.c mpfr-3.1.3-b/src/mul_2si.c
|
||||
--- mpfr-3.1.3-a/src/mul_2si.c 2015-06-19 19:55:10.000000000 +0000
|
||||
+++ mpfr-3.1.3-b/src/mul_2si.c 2015-07-02 10:50:08.106573933 +0000
|
||||
@@ -39,7 +39,7 @@
|
||||
{
|
||||
mpfr_exp_t exp = MPFR_GET_EXP (x);
|
||||
MPFR_SETRAW (inexact, y, x, exp, rnd_mode);
|
||||
- if (MPFR_UNLIKELY( n > 0 && (__gmpfr_emax < MPFR_EMIN_MIN + n ||
|
||||
+ if (MPFR_UNLIKELY(n >= 0 && (__gmpfr_emax < MPFR_EMIN_MIN + n ||
|
||||
exp > __gmpfr_emax - n)))
|
||||
return mpfr_overflow (y, rnd_mode, MPFR_SIGN(y));
|
||||
else if (MPFR_UNLIKELY(n < 0 && (__gmpfr_emin > MPFR_EMAX_MAX + n ||
|
||||
diff -Naurd mpfr-3.1.3-a/src/version.c mpfr-3.1.3-b/src/version.c
|
||||
--- mpfr-3.1.3-a/src/version.c 2015-07-02 10:49:24.042113845 +0000
|
||||
+++ mpfr-3.1.3-b/src/version.c 2015-07-02 10:50:08.126574142 +0000
|
||||
@@ -25,5 +25,5 @@
|
||||
const char *
|
||||
mpfr_get_version (void)
|
||||
{
|
||||
- return "3.1.3-p1";
|
||||
+ return "3.1.3-p2";
|
||||
}
|
||||
diff -Naurd mpfr-3.1.3-a/tests/tmul_2exp.c mpfr-3.1.3-b/tests/tmul_2exp.c
|
||||
--- mpfr-3.1.3-a/tests/tmul_2exp.c 2015-06-19 19:55:10.000000000 +0000
|
||||
+++ mpfr-3.1.3-b/tests/tmul_2exp.c 2015-07-02 10:50:08.106573933 +0000
|
||||
@@ -242,6 +242,76 @@
|
||||
large (MPFR_EMAX_MAX);
|
||||
}
|
||||
|
||||
+/* Cases where the function overflows on n = 0 when rounding is like
|
||||
+ away from zero. */
|
||||
+static void
|
||||
+overflow0 (mpfr_exp_t emax)
|
||||
+{
|
||||
+ mpfr_exp_t old_emax;
|
||||
+ mpfr_t x, y1, y2;
|
||||
+ int neg, r, op;
|
||||
+ static char *sop[4] = { "mul_2ui", "mul_2si", "div_2ui", "div_2si" };
|
||||
+
|
||||
+ old_emax = mpfr_get_emax ();
|
||||
+ set_emax (emax);
|
||||
+
|
||||
+ mpfr_init2 (x, 8);
|
||||
+ mpfr_inits2 (6, y1, y2, (mpfr_ptr) 0);
|
||||
+
|
||||
+ mpfr_set_inf (x, 1);
|
||||
+ mpfr_nextbelow (x);
|
||||
+
|
||||
+ for (neg = 0; neg <= 1; neg++)
|
||||
+ {
|
||||
+ RND_LOOP (r)
|
||||
+ {
|
||||
+ int inex1, inex2;
|
||||
+ unsigned int flags1, flags2;
|
||||
+
|
||||
+ /* Even if there isn't an overflow (rounding ~ toward zero),
|
||||
+ the result is the same as the one of an overflow. */
|
||||
+ inex1 = mpfr_overflow (y1, (mpfr_rnd_t) r, neg ? -1 : 1);
|
||||
+ flags1 = MPFR_FLAGS_INEXACT;
|
||||
+ if (mpfr_inf_p (y1))
|
||||
+ flags1 |= MPFR_FLAGS_OVERFLOW;
|
||||
+ for (op = 0; op < 4; op++)
|
||||
+ {
|
||||
+ mpfr_clear_flags ();
|
||||
+ inex2 =
|
||||
+ op == 0 ? mpfr_mul_2ui (y2, x, 0, (mpfr_rnd_t) r) :
|
||||
+ op == 1 ? mpfr_mul_2si (y2, x, 0, (mpfr_rnd_t) r) :
|
||||
+ op == 2 ? mpfr_div_2ui (y2, x, 0, (mpfr_rnd_t) r) :
|
||||
+ op == 3 ? mpfr_div_2si (y2, x, 0, (mpfr_rnd_t) r) :
|
||||
+ (MPFR_ASSERTN (0), 0);
|
||||
+ flags2 = __gmpfr_flags;
|
||||
+ if (!(mpfr_equal_p (y1, y2) &&
|
||||
+ SAME_SIGN (inex1, inex2) &&
|
||||
+ flags1 == flags2))
|
||||
+ {
|
||||
+ printf ("Error in overflow0 for %s, mpfr_%s, emax = %"
|
||||
+ MPFR_EXP_FSPEC "d,\nx = ",
|
||||
+ mpfr_print_rnd_mode ((mpfr_rnd_t) r), sop[op],
|
||||
+ (mpfr_eexp_t) emax);
|
||||
+ mpfr_dump (x);
|
||||
+ printf ("Expected ");
|
||||
+ mpfr_dump (y1);
|
||||
+ printf (" with inex = %d, flags =", inex1);
|
||||
+ flags_out (flags1);
|
||||
+ printf ("Got ");
|
||||
+ mpfr_dump (y2);
|
||||
+ printf (" with inex = %d, flags =", inex2);
|
||||
+ flags_out (flags2);
|
||||
+ exit (1);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ mpfr_neg (x, x, MPFR_RNDN);
|
||||
+ }
|
||||
+
|
||||
+ mpfr_clears (x, y1, y2, (mpfr_ptr) 0);
|
||||
+ set_emax (old_emax);
|
||||
+}
|
||||
+
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
@@ -334,6 +404,11 @@
|
||||
underflow0 ();
|
||||
large0 ();
|
||||
|
||||
+ if (mpfr_get_emax () != MPFR_EMAX_MAX)
|
||||
+ overflow0 (mpfr_get_emax ());
|
||||
+ overflow0 (MPFR_EMAX_MAX);
|
||||
+ overflow0 (-1);
|
||||
+
|
||||
tests_end_mpfr ();
|
||||
return 0;
|
||||
}
|
@ -0,0 +1,217 @@
|
||||
diff -Naurd mpfr-3.1.3-a/PATCHES mpfr-3.1.3-b/PATCHES
|
||||
--- mpfr-3.1.3-a/PATCHES 2015-07-17 08:54:48.592799981 +0000
|
||||
+++ mpfr-3.1.3-b/PATCHES 2015-07-17 08:54:48.616811495 +0000
|
||||
@@ -0,0 +1 @@
|
||||
+muldiv-2exp-underflow
|
||||
diff -Naurd mpfr-3.1.3-a/VERSION mpfr-3.1.3-b/VERSION
|
||||
--- mpfr-3.1.3-a/VERSION 2015-07-02 10:50:08.126574142 +0000
|
||||
+++ mpfr-3.1.3-b/VERSION 2015-07-17 08:54:48.616811495 +0000
|
||||
@@ -1 +1 @@
|
||||
-3.1.3-p2
|
||||
+3.1.3-p3
|
||||
diff -Naurd mpfr-3.1.3-a/src/div_2si.c mpfr-3.1.3-b/src/div_2si.c
|
||||
--- mpfr-3.1.3-a/src/div_2si.c 2015-07-02 10:50:08.106573933 +0000
|
||||
+++ mpfr-3.1.3-b/src/div_2si.c 2015-07-17 08:54:48.608807656 +0000
|
||||
@@ -45,7 +45,8 @@
|
||||
if (rnd_mode == MPFR_RNDN &&
|
||||
(__gmpfr_emin > MPFR_EMAX_MAX - (n - 1) ||
|
||||
exp < __gmpfr_emin + (n - 1) ||
|
||||
- (inexact >= 0 && mpfr_powerof2_raw (y))))
|
||||
+ ((MPFR_IS_NEG (y) ? inexact <= 0 : inexact >= 0) &&
|
||||
+ mpfr_powerof2_raw (y))))
|
||||
rnd_mode = MPFR_RNDZ;
|
||||
return mpfr_underflow (y, rnd_mode, MPFR_SIGN(y));
|
||||
}
|
||||
diff -Naurd mpfr-3.1.3-a/src/div_2ui.c mpfr-3.1.3-b/src/div_2ui.c
|
||||
--- mpfr-3.1.3-a/src/div_2ui.c 2015-07-02 10:50:08.106573933 +0000
|
||||
+++ mpfr-3.1.3-b/src/div_2ui.c 2015-07-17 08:54:48.608807656 +0000
|
||||
@@ -44,7 +44,9 @@
|
||||
if (MPFR_UNLIKELY (n >= diffexp)) /* exp - n <= emin - 1 */
|
||||
{
|
||||
if (rnd_mode == MPFR_RNDN &&
|
||||
- (n > diffexp || (inexact >= 0 && mpfr_powerof2_raw (y))))
|
||||
+ (n > diffexp ||
|
||||
+ ((MPFR_IS_NEG (y) ? inexact <= 0 : inexact >= 0) &&
|
||||
+ mpfr_powerof2_raw (y))))
|
||||
rnd_mode = MPFR_RNDZ;
|
||||
return mpfr_underflow (y, rnd_mode, MPFR_SIGN (y));
|
||||
}
|
||||
diff -Naurd mpfr-3.1.3-a/src/mpfr.h mpfr-3.1.3-b/src/mpfr.h
|
||||
--- mpfr-3.1.3-a/src/mpfr.h 2015-07-02 10:50:08.126574142 +0000
|
||||
+++ mpfr-3.1.3-b/src/mpfr.h 2015-07-17 08:54:48.616811495 +0000
|
||||
@@ -27,7 +27,7 @@
|
||||
#define MPFR_VERSION_MAJOR 3
|
||||
#define MPFR_VERSION_MINOR 1
|
||||
#define MPFR_VERSION_PATCHLEVEL 3
|
||||
-#define MPFR_VERSION_STRING "3.1.3-p2"
|
||||
+#define MPFR_VERSION_STRING "3.1.3-p3"
|
||||
|
||||
/* Macros dealing with MPFR VERSION */
|
||||
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
|
||||
diff -Naurd mpfr-3.1.3-a/src/mul_2si.c mpfr-3.1.3-b/src/mul_2si.c
|
||||
--- mpfr-3.1.3-a/src/mul_2si.c 2015-07-02 10:50:08.106573933 +0000
|
||||
+++ mpfr-3.1.3-b/src/mul_2si.c 2015-07-17 08:54:48.608807656 +0000
|
||||
@@ -48,7 +48,8 @@
|
||||
if (rnd_mode == MPFR_RNDN &&
|
||||
(__gmpfr_emin > MPFR_EMAX_MAX + (n + 1) ||
|
||||
exp < __gmpfr_emin - (n + 1) ||
|
||||
- (inexact >= 0 && mpfr_powerof2_raw (y))))
|
||||
+ ((MPFR_IS_NEG (y) ? inexact <= 0 : inexact >= 0) &&
|
||||
+ mpfr_powerof2_raw (y))))
|
||||
rnd_mode = MPFR_RNDZ;
|
||||
return mpfr_underflow (y, rnd_mode, MPFR_SIGN(y));
|
||||
}
|
||||
diff -Naurd mpfr-3.1.3-a/src/version.c mpfr-3.1.3-b/src/version.c
|
||||
--- mpfr-3.1.3-a/src/version.c 2015-07-02 10:50:08.126574142 +0000
|
||||
+++ mpfr-3.1.3-b/src/version.c 2015-07-17 08:54:48.616811495 +0000
|
||||
@@ -25,5 +25,5 @@
|
||||
const char *
|
||||
mpfr_get_version (void)
|
||||
{
|
||||
- return "3.1.3-p2";
|
||||
+ return "3.1.3-p3";
|
||||
}
|
||||
diff -Naurd mpfr-3.1.3-a/tests/tmul_2exp.c mpfr-3.1.3-b/tests/tmul_2exp.c
|
||||
--- mpfr-3.1.3-a/tests/tmul_2exp.c 2015-07-02 10:50:08.106573933 +0000
|
||||
+++ mpfr-3.1.3-b/tests/tmul_2exp.c 2015-07-17 08:54:48.608807656 +0000
|
||||
@@ -50,77 +50,82 @@
|
||||
{
|
||||
mpfr_t x, y, z1, z2;
|
||||
mpfr_exp_t emin;
|
||||
- int i, k;
|
||||
+ int i, k, s;
|
||||
int prec;
|
||||
int rnd;
|
||||
int div;
|
||||
int inex1, inex2;
|
||||
unsigned int flags1, flags2;
|
||||
|
||||
- /* Test mul_2si(x, e - k), div_2si(x, k - e) and div_2ui(x, k - e)
|
||||
- * with emin = e, x = 1 + i/16, i in { -1, 0, 1 }, and k = 1 to 4,
|
||||
- * by comparing the result with the one of a simple division.
|
||||
+ /* Test mul_2si(x, e - k), div_2si(x, k - e) and div_2ui(x, k - e) with
|
||||
+ * emin = e, x = s * (1 + i/16), i in { -1, 0, 1 }, s in { -1, 1 }, and
|
||||
+ * k = 1 to 4, by comparing the result with the one of a simple division.
|
||||
*/
|
||||
emin = mpfr_get_emin ();
|
||||
set_emin (e);
|
||||
mpfr_inits2 (8, x, y, (mpfr_ptr) 0);
|
||||
for (i = 15; i <= 17; i++)
|
||||
- {
|
||||
- inex1 = mpfr_set_ui_2exp (x, i, -4, MPFR_RNDN);
|
||||
- MPFR_ASSERTN (inex1 == 0);
|
||||
- for (prec = 6; prec >= 3; prec -= 3)
|
||||
- {
|
||||
- mpfr_inits2 (prec, z1, z2, (mpfr_ptr) 0);
|
||||
- RND_LOOP (rnd)
|
||||
- for (k = 1; k <= 4; k++)
|
||||
- {
|
||||
- /* The following one is assumed to be correct. */
|
||||
- inex1 = mpfr_mul_2si (y, x, e, MPFR_RNDN);
|
||||
- MPFR_ASSERTN (inex1 == 0);
|
||||
- inex1 = mpfr_set_ui (z1, 1 << k, MPFR_RNDN);
|
||||
- MPFR_ASSERTN (inex1 == 0);
|
||||
- mpfr_clear_flags ();
|
||||
- /* Do not use mpfr_div_ui to avoid the optimization
|
||||
- by mpfr_div_2si. */
|
||||
- inex1 = mpfr_div (z1, y, z1, (mpfr_rnd_t) rnd);
|
||||
- flags1 = __gmpfr_flags;
|
||||
-
|
||||
- for (div = 0; div <= 2; div++)
|
||||
+ for (s = 1; s >= -1; s -= 2)
|
||||
+ {
|
||||
+ inex1 = mpfr_set_si_2exp (x, s * i, -4, MPFR_RNDN);
|
||||
+ MPFR_ASSERTN (inex1 == 0);
|
||||
+ for (prec = 6; prec >= 3; prec -= 3)
|
||||
+ {
|
||||
+ mpfr_inits2 (prec, z1, z2, (mpfr_ptr) 0);
|
||||
+ RND_LOOP (rnd)
|
||||
+ for (k = 1; k <= 4; k++)
|
||||
{
|
||||
+ /* The following one is assumed to be correct. */
|
||||
+ inex1 = mpfr_mul_2si (y, x, e, MPFR_RNDN);
|
||||
+ MPFR_ASSERTN (inex1 == 0);
|
||||
+ inex1 = mpfr_set_ui (z1, 1 << k, MPFR_RNDN);
|
||||
+ MPFR_ASSERTN (inex1 == 0);
|
||||
mpfr_clear_flags ();
|
||||
- inex2 = div == 0 ?
|
||||
- mpfr_mul_2si (z2, x, e - k, (mpfr_rnd_t) rnd) : div == 1 ?
|
||||
- mpfr_div_2si (z2, x, k - e, (mpfr_rnd_t) rnd) :
|
||||
- mpfr_div_2ui (z2, x, k - e, (mpfr_rnd_t) rnd);
|
||||
- flags2 = __gmpfr_flags;
|
||||
- if (flags1 == flags2 && SAME_SIGN (inex1, inex2) &&
|
||||
- mpfr_equal_p (z1, z2))
|
||||
- continue;
|
||||
- printf ("Error in underflow(");
|
||||
- if (e == MPFR_EMIN_MIN)
|
||||
- printf ("MPFR_EMIN_MIN");
|
||||
- else if (e == emin)
|
||||
- printf ("default emin");
|
||||
- else if (e >= LONG_MIN)
|
||||
- printf ("%ld", (long) e);
|
||||
- else
|
||||
- printf ("<LONG_MIN");
|
||||
- printf (") with mpfr_%s,\nx = %d/16, prec = %d, k = %d, "
|
||||
- "%s\n", div == 0 ? "mul_2si" : div == 1 ?
|
||||
- "div_2si" : "div_2ui", i, prec, k,
|
||||
- mpfr_print_rnd_mode ((mpfr_rnd_t) rnd));
|
||||
- printf ("Expected ");
|
||||
- mpfr_out_str (stdout, 16, 0, z1, MPFR_RNDN);
|
||||
- printf (", inex = %d, flags = %u\n", SIGN (inex1), flags1);
|
||||
- printf ("Got ");
|
||||
- mpfr_out_str (stdout, 16, 0, z2, MPFR_RNDN);
|
||||
- printf (", inex = %d, flags = %u\n", SIGN (inex2), flags2);
|
||||
- exit (1);
|
||||
- } /* div */
|
||||
- } /* k */
|
||||
- mpfr_clears (z1, z2, (mpfr_ptr) 0);
|
||||
- } /* prec */
|
||||
- } /* i */
|
||||
+ /* Do not use mpfr_div_ui to avoid the optimization
|
||||
+ by mpfr_div_2si. */
|
||||
+ inex1 = mpfr_div (z1, y, z1, (mpfr_rnd_t) rnd);
|
||||
+ flags1 = __gmpfr_flags;
|
||||
+
|
||||
+ for (div = 0; div <= 2; div++)
|
||||
+ {
|
||||
+ mpfr_clear_flags ();
|
||||
+ inex2 =
|
||||
+ div == 0 ?
|
||||
+ mpfr_mul_2si (z2, x, e - k, (mpfr_rnd_t) rnd) :
|
||||
+ div == 1 ?
|
||||
+ mpfr_div_2si (z2, x, k - e, (mpfr_rnd_t) rnd) :
|
||||
+ mpfr_div_2ui (z2, x, k - e, (mpfr_rnd_t) rnd);
|
||||
+ flags2 = __gmpfr_flags;
|
||||
+ if (flags1 == flags2 && SAME_SIGN (inex1, inex2) &&
|
||||
+ mpfr_equal_p (z1, z2))
|
||||
+ continue;
|
||||
+ printf ("Error in underflow(");
|
||||
+ if (e == MPFR_EMIN_MIN)
|
||||
+ printf ("MPFR_EMIN_MIN");
|
||||
+ else if (e == emin)
|
||||
+ printf ("default emin");
|
||||
+ else if (e >= LONG_MIN)
|
||||
+ printf ("%ld", (long) e);
|
||||
+ else
|
||||
+ printf ("<LONG_MIN");
|
||||
+ printf (") with mpfr_%s,\nx = %d/16, prec = %d, k = %d,"
|
||||
+ " %s\n", div == 0 ? "mul_2si" : div == 1 ?
|
||||
+ "div_2si" : "div_2ui", s * i, prec, k,
|
||||
+ mpfr_print_rnd_mode ((mpfr_rnd_t) rnd));
|
||||
+ printf ("Expected ");
|
||||
+ mpfr_out_str (stdout, 16, 0, z1, MPFR_RNDN);
|
||||
+ printf (", inex = %d, flags = %u\n",
|
||||
+ SIGN (inex1), flags1);
|
||||
+ printf ("Got ");
|
||||
+ mpfr_out_str (stdout, 16, 0, z2, MPFR_RNDN);
|
||||
+ printf (", inex = %d, flags = %u\n",
|
||||
+ SIGN (inex2), flags2);
|
||||
+ exit (1);
|
||||
+ } /* div */
|
||||
+ } /* k */
|
||||
+ mpfr_clears (z1, z2, (mpfr_ptr) 0);
|
||||
+ } /* prec */
|
||||
+ } /* i */
|
||||
mpfr_clears (x, y, (mpfr_ptr) 0);
|
||||
set_emin (emin);
|
||||
}
|
@ -0,0 +1,204 @@
|
||||
diff -Naurd mpfr-3.1.3-a/PATCHES mpfr-3.1.3-b/PATCHES
|
||||
--- mpfr-3.1.3-a/PATCHES 2015-07-17 08:58:21.094987384 +0000
|
||||
+++ mpfr-3.1.3-b/PATCHES 2015-07-17 08:58:21.118986898 +0000
|
||||
@@ -0,0 +1 @@
|
||||
+frexp
|
||||
diff -Naurd mpfr-3.1.3-a/VERSION mpfr-3.1.3-b/VERSION
|
||||
--- mpfr-3.1.3-a/VERSION 2015-07-17 08:54:48.616811495 +0000
|
||||
+++ mpfr-3.1.3-b/VERSION 2015-07-17 08:58:21.118986898 +0000
|
||||
@@ -1 +1 @@
|
||||
-3.1.3-p3
|
||||
+3.1.3-p4
|
||||
diff -Naurd mpfr-3.1.3-a/src/frexp.c mpfr-3.1.3-b/src/frexp.c
|
||||
--- mpfr-3.1.3-a/src/frexp.c 2015-06-19 19:55:09.000000000 +0000
|
||||
+++ mpfr-3.1.3-b/src/frexp.c 2015-07-17 08:58:21.106987142 +0000
|
||||
@@ -26,6 +26,13 @@
|
||||
mpfr_frexp (mpfr_exp_t *exp, mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd)
|
||||
{
|
||||
int inex;
|
||||
+ unsigned int saved_flags = __gmpfr_flags;
|
||||
+ MPFR_BLOCK_DECL (flags);
|
||||
+
|
||||
+ MPFR_LOG_FUNC
|
||||
+ (("x[%Pu]=%.*Rg rnd=%d", mpfr_get_prec (x), mpfr_log_prec, x, rnd),
|
||||
+ ("y[%Pu]=%.*Rg exp=%" MPFR_EXP_FSPEC "d inex=%d", mpfr_get_prec (y),
|
||||
+ mpfr_log_prec, y, (mpfr_eexp_t) *exp, inex));
|
||||
|
||||
if (MPFR_UNLIKELY(MPFR_IS_SINGULAR(x)))
|
||||
{
|
||||
@@ -49,8 +56,32 @@
|
||||
}
|
||||
}
|
||||
|
||||
- inex = mpfr_set (y, x, rnd);
|
||||
+ MPFR_BLOCK (flags, inex = mpfr_set (y, x, rnd));
|
||||
+ __gmpfr_flags = saved_flags;
|
||||
+
|
||||
+ /* Possible overflow due to the rounding, no possible underflow. */
|
||||
+
|
||||
+ if (MPFR_UNLIKELY (MPFR_OVERFLOW (flags)))
|
||||
+ {
|
||||
+ int inex2;
|
||||
+
|
||||
+ /* An overflow here means that the exponent of y would be larger than
|
||||
+ the one of x, thus x would be rounded to the next power of 2, and
|
||||
+ the returned y should be 1/2 in absolute value, rounded (i.e. with
|
||||
+ possible underflow or overflow). This also implies that x and y are
|
||||
+ different objects, so that the exponent of x has not been lost. */
|
||||
+ MPFR_LOG_MSG (("Internal overflow\n", 0));
|
||||
+ MPFR_ASSERTD (x != y);
|
||||
+ *exp = MPFR_GET_EXP (x) + 1;
|
||||
+ inex2 = mpfr_set_si_2exp (y, MPFR_INT_SIGN (x), -1, rnd);
|
||||
+ MPFR_LOG_MSG (("inex=%d inex2=%d\n", inex, inex2));
|
||||
+ if (inex2 != 0)
|
||||
+ inex = inex2;
|
||||
+ MPFR_RET (inex);
|
||||
+ }
|
||||
+
|
||||
*exp = MPFR_GET_EXP (y);
|
||||
- MPFR_SET_EXP (y, 0);
|
||||
+ /* Do not use MPFR_SET_EXP because the range has not been checked yet. */
|
||||
+ MPFR_EXP (y) = 0;
|
||||
return mpfr_check_range (y, inex, rnd);
|
||||
}
|
||||
diff -Naurd mpfr-3.1.3-a/src/mpfr.h mpfr-3.1.3-b/src/mpfr.h
|
||||
--- mpfr-3.1.3-a/src/mpfr.h 2015-07-17 08:54:48.616811495 +0000
|
||||
+++ mpfr-3.1.3-b/src/mpfr.h 2015-07-17 08:58:21.114986979 +0000
|
||||
@@ -27,7 +27,7 @@
|
||||
#define MPFR_VERSION_MAJOR 3
|
||||
#define MPFR_VERSION_MINOR 1
|
||||
#define MPFR_VERSION_PATCHLEVEL 3
|
||||
-#define MPFR_VERSION_STRING "3.1.3-p3"
|
||||
+#define MPFR_VERSION_STRING "3.1.3-p4"
|
||||
|
||||
/* Macros dealing with MPFR VERSION */
|
||||
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
|
||||
diff -Naurd mpfr-3.1.3-a/src/version.c mpfr-3.1.3-b/src/version.c
|
||||
--- mpfr-3.1.3-a/src/version.c 2015-07-17 08:54:48.616811495 +0000
|
||||
+++ mpfr-3.1.3-b/src/version.c 2015-07-17 08:58:21.118986898 +0000
|
||||
@@ -25,5 +25,5 @@
|
||||
const char *
|
||||
mpfr_get_version (void)
|
||||
{
|
||||
- return "3.1.3-p3";
|
||||
+ return "3.1.3-p4";
|
||||
}
|
||||
diff -Naurd mpfr-3.1.3-a/tests/tfrexp.c mpfr-3.1.3-b/tests/tfrexp.c
|
||||
--- mpfr-3.1.3-a/tests/tfrexp.c 2015-06-19 19:55:10.000000000 +0000
|
||||
+++ mpfr-3.1.3-b/tests/tfrexp.c 2015-07-17 08:58:21.106987142 +0000
|
||||
@@ -129,12 +129,115 @@
|
||||
mpfr_clear (x);
|
||||
}
|
||||
|
||||
+static void check1 (void)
|
||||
+{
|
||||
+ mpfr_exp_t emin, emax, e;
|
||||
+ mpfr_t x, y1, y2;
|
||||
+ int r, neg, red;
|
||||
+
|
||||
+ emin = mpfr_get_emin ();
|
||||
+ emax = mpfr_get_emax ();
|
||||
+ set_emin (MPFR_EMIN_MIN);
|
||||
+ set_emax (MPFR_EMAX_MAX);
|
||||
+
|
||||
+ mpfr_init2 (x, 7);
|
||||
+ mpfr_inits2 (4, y1, y2, (mpfr_ptr) 0);
|
||||
+
|
||||
+ mpfr_set_ui_2exp (x, 1, -2, MPFR_RNDN);
|
||||
+ while (mpfr_regular_p (x))
|
||||
+ {
|
||||
+ /* Test the exponents up to 3 and with the maximum exponent
|
||||
+ (to check potential intermediate overflow). */
|
||||
+ if (MPFR_GET_EXP (x) == 4)
|
||||
+ mpfr_set_exp (x, MPFR_EMAX_MAX);
|
||||
+ e = MPFR_GET_EXP (x);
|
||||
+ for (neg = 0; neg < 2; neg++)
|
||||
+ {
|
||||
+ RND_LOOP (r)
|
||||
+ {
|
||||
+ int inex1, inex2;
|
||||
+ mpfr_exp_t e1, e2;
|
||||
+ unsigned int flags1, flags2;
|
||||
+
|
||||
+ for (red = 0; red < 2; red++)
|
||||
+ {
|
||||
+ if (red)
|
||||
+ {
|
||||
+ /* e1: exponent of the rounded value of x. */
|
||||
+ MPFR_ASSERTN (e1 == e || e1 == e + 1);
|
||||
+ set_emin (e);
|
||||
+ set_emax (e);
|
||||
+ mpfr_clear_flags ();
|
||||
+ inex1 = e1 < 0 ?
|
||||
+ mpfr_mul_2ui (y1, x, -e1, (mpfr_rnd_t) r) :
|
||||
+ mpfr_div_2ui (y1, x, e1, (mpfr_rnd_t) r);
|
||||
+ flags1 = __gmpfr_flags;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ inex1 = mpfr_set (y1, x, (mpfr_rnd_t) r);
|
||||
+ e1 = MPFR_IS_INF (y1) ? e + 1 : MPFR_GET_EXP (y1);
|
||||
+ flags1 = inex1 != 0 ? MPFR_FLAGS_INEXACT : 0;
|
||||
+ }
|
||||
+ mpfr_clear_flags ();
|
||||
+ inex2 = mpfr_frexp (&e2, y2, x, (mpfr_rnd_t) r);
|
||||
+ flags2 = __gmpfr_flags;
|
||||
+ set_emin (MPFR_EMIN_MIN);
|
||||
+ set_emax (MPFR_EMAX_MAX);
|
||||
+ if ((!red || e == 0) &&
|
||||
+ (! mpfr_regular_p (y2) || MPFR_GET_EXP (y2) != 0))
|
||||
+ {
|
||||
+ printf ("Error in check1 for %s, red = %d, x = ",
|
||||
+ mpfr_print_rnd_mode ((mpfr_rnd_t) r), red);
|
||||
+ mpfr_dump (x);
|
||||
+ printf ("Expected 1/2 <= |y| < 1, got y = ");
|
||||
+ mpfr_dump (y2);
|
||||
+ exit (1);
|
||||
+ }
|
||||
+ if (!red)
|
||||
+ {
|
||||
+ if (e2 > 0)
|
||||
+ mpfr_mul_2ui (y2, y2, e2, MPFR_RNDN);
|
||||
+ else if (e2 < 0)
|
||||
+ mpfr_div_2ui (y2, y2, -e2, MPFR_RNDN);
|
||||
+ }
|
||||
+ if (! (SAME_SIGN (inex1, inex2) &&
|
||||
+ mpfr_equal_p (y1, y2) &&
|
||||
+ flags1 == flags2))
|
||||
+ {
|
||||
+ printf ("Error in check1 for %s, red = %d, x = ",
|
||||
+ mpfr_print_rnd_mode ((mpfr_rnd_t) r), red);
|
||||
+ mpfr_dump (x);
|
||||
+ printf ("Expected y1 = ");
|
||||
+ mpfr_dump (y1);
|
||||
+ printf ("Got y2 = ");
|
||||
+ mpfr_dump (y2);
|
||||
+ printf ("Expected inex ~= %d, got %d\n", inex1, inex2);
|
||||
+ printf ("Expected flags:");
|
||||
+ flags_out (flags1);
|
||||
+ printf ("Got flags: ");
|
||||
+ flags_out (flags2);
|
||||
+ exit (1);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ mpfr_neg (x, x, MPFR_RNDN);
|
||||
+ }
|
||||
+ mpfr_nextabove (x);
|
||||
+ }
|
||||
+
|
||||
+ mpfr_clears (x, y1, y2, (mpfr_ptr) 0);
|
||||
+ set_emin (emin);
|
||||
+ set_emax (emax);
|
||||
+}
|
||||
+
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
tests_start_mpfr ();
|
||||
|
||||
check_special ();
|
||||
+ check1 ();
|
||||
|
||||
tests_end_mpfr ();
|
||||
return 0;
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
|
||||
inherit eutils libtool multilib multilib-minimal
|
||||
|
||||
MY_PV=${PV/_p*}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
PLEVEL=${PV/*p}
|
||||
DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
|
||||
HOMEPAGE="http://www.mpfr.org/"
|
||||
SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/gmp-4.1.4-r2[${MULTILIB_USEDEP},static-libs?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PLEVEL} != ${PV} ]] ; then
|
||||
local i
|
||||
for (( i = 1; i <= PLEVEL; ++i )) ; do
|
||||
epatch "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i})
|
||||
done
|
||||
fi
|
||||
find . -type f -exec touch -r configure {} +
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19
|
||||
ECONF_SOURCE=${S} \
|
||||
user_redefine_cc=yes \
|
||||
econf \
|
||||
--docdir="\$(datarootdir)/doc/${PF}" \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use static-libs || find "${ED}"/usr -name '*.la' -delete
|
||||
|
||||
# clean up html/license install
|
||||
pushd "${ED}"/usr/share/doc/${PF} >/dev/null
|
||||
dohtml *.html && rm COPYING* *.html || die
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 1)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 1)
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
diff -Naurp CursesFun.c.old CursesFun.c
|
||||
--- CursesFun.c.old 2005-03-05 09:15:20.714006864 -0500
|
||||
+++ CursesFun.c 2005-03-05 09:16:14.501829872 -0500
|
||||
@@ -1276,8 +1276,8 @@ XS(XS_Curses_newterm)
|
||||
c_exactargs("newterm", items, 3);
|
||||
{
|
||||
char * type = ST(0) != &PL_sv_undef ? (char *)SvPV(ST(0),PL_na) : NULL;
|
||||
- FILE * outfd = IoIFP(sv_2io(ST(1)));
|
||||
- FILE * infd = IoIFP(sv_2io(ST(2)));
|
||||
+ FILE * outfd = PerlIO_findFILE(IoIFP(sv_2io(ST(1))));
|
||||
+ FILE * infd = PerlIO_findFILE(IoIFP(sv_2io(ST(2))));
|
||||
SCREEN * ret = newterm(type, outfd, infd);
|
||||
|
||||
ST(0) = sv_newmortal();
|
||||
@@ -3450,7 +3450,7 @@ XS(XS_Curses_putwin)
|
||||
c_exactargs("putwin", items, 2);
|
||||
{
|
||||
WINDOW *win = c_sv2window(ST(0), 0);
|
||||
- FILE * filep = IoIFP(sv_2io(ST(1)));
|
||||
+ FILE * filep = PerlIO_findFILE(IoIFP(sv_2io(ST(1))));
|
||||
int ret = putwin(win, filep);
|
||||
|
||||
ST(0) = sv_newmortal();
|
||||
@@ -3469,7 +3469,7 @@ XS(XS_Curses_getwin)
|
||||
#ifdef C_GETWIN
|
||||
c_exactargs("getwin", items, 1);
|
||||
{
|
||||
- FILE * filep = IoIFP(sv_2io(ST(0)));
|
||||
+ FILE * filep = PerlIO_findFILE(IoIFP(sv_2io(ST(0))));
|
||||
WINDOW * ret = getwin(filep);
|
||||
|
||||
ST(0) = sv_newmortal();
|
@ -1,2 +1 @@
|
||||
DIST Twig-1.12.3.tgz 81967 SHA256 1aafe50c3f4c1a16064ff0dd7352edaa732c6dc2bd5a5db704e2a91807ed0922 SHA512 42887a367ac1ab1b8a201083ef09ba88372a764644c990b19d9ec26bd5edf2032347ca77b6be35d368cb7dcc5fbf8be57286ec1fe2804c22235aeb4aec97a83d WHIRLPOOL 2fe4e331a34e4eade4917695c368e8425dae06fd12fc954815d2791e66f970aad652c1f95a0de2bff84d7b9173a579e92be82b760005b8ebc455cc59ce2bfd49
|
||||
DIST Twig-1.16.3.tgz 87723 SHA256 f5ff9fadf10529e658a2d23abe19301cc799304c7ac85d0d572a341e28767b1f SHA512 36cf2c01d7550f3e9021d516ba905c34d8759c22ecef2c8a242dede43970af87d7145de22b27a06d077cdee01edbdd8e9d6a9f2f44fa53ed6b53d3e0da9d7abc WHIRLPOOL 36553498fe8aebb10965192b5e346e51ec0aaafee2db6bc1cb7bfa101c2276a20d5cf8970f73daae6c00e52292e0e152fa4938a1074cb0e57ed5cb5ac17f11fa
|
||||
DIST Twig-1.20.0.tgz 93341 SHA256 8f41a64e548d7819daf7c4471a52ab0143836b8edeeba774152973e1f74af5a7 SHA512 de033a85e1952ce6b2fdf7f27d19757b2de9ad3112aff794bbe7786d37f9e693e1cfb2754b2768e2d7d902df988929bbf2ac8f4a4d3f0c8e21fac12e7b94d4dd WHIRLPOOL 0fe61486952df23516e347b5177ac59766b054caa173d679239be25ad0edb5fb0b1d0acfd0023b0ca62e7c5514131e270514c1808b5e24875935c94e120351b3
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml"
|
||||
PHP_PEAR_PN="Twig"
|
||||
PHP_PEAR_URI="pear.twig-project.org"
|
||||
inherit php-pear-lib-r1
|
||||
|
||||
DESCRIPTION="PHP templating engine with syntax similar to Django"
|
||||
HOMEPAGE="http://twig.sensiolabs.org/"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
pwd
|
||||
dodoc AUTHORS README.markdown
|
||||
#rm AUTHORS README.markdown
|
||||
php-pear-lib-r1_src_install
|
||||
rm -r "${D}"/usr/share/php/docs
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST amodem-1.11.tar.gz 19869 SHA256 00a4c19fb8a9e6dff9459a2cb021c0adc5c669ac1658685f2388457c409931c6 SHA512 f045a771215b50eb387a92209bd1aba0f47f7779b78b720ce49590d6e14ad0b176be6099f78e3b959a61f018b06768bad1f39555c77388d545d088f5cede3fb7 WHIRLPOOL b6b42dd5b240c4704ee26a86a43e9b254673bee2782c976317abf501075b0ed225028df650e03f1b88195c31d75269217ee573ac29370af2afc367cc7488fae9
|
||||
DIST amodem-1.12.0.tar.gz 19926 SHA256 725a9a57f8f636ba61083b557ee36cfb9b2d30b9a226e1ebd23f15c398357199 SHA512 7707545f77c0680959e6df398cf48c6600d2b9f94e26f6752a47a8434475cc4dff4147a00c7a8a89740d203aed4974ea4cb034921c2da93838bac5faf02816c5 WHIRLPOOL ad25d9ffd1979128396bacaad359974db2ba4d2f2d1d9e79dda61ca1108a6909f37ede43f1d12c7c27025486074fcad955caedff599a466a1fa58bfd57290447
|
||||
DIST amodem-1.12.tar.gz 27490 SHA256 d4842f2df83d0eda7036665d0699e2c265a1933a3b0c3d6555040c52bdac282e SHA512 7fc5927137f0c250092aafafcfacd218218874c4bd2803a126f5310cf22aa2339217094420cba7b003492477670ba83c04ff7610fc15b80c905eb75ee35b1d2d WHIRLPOOL 1c5f0337f47ddc5bd4812e891f7fa2c8c5699541eb5530def8d1b7bd2331b7a039c711077ddc5ba6c748b0ab7a887765f859e3782d29e2c0e1ced921a5d18ae1
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Transmit data between two computers using audio"
|
||||
HOMEPAGE="https://github.com/romanz/amodem"
|
||||
SRC_URI="https://github.com/romanz/amodem/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
@ -1,3 +1,2 @@
|
||||
DIST psych-2.0.11.gem 126976 SHA256 9a0f04a59098c7a16495f03d88421bf2edf9067f2a37c4026bb82eb069ef465e SHA512 1162f2294adb1ce5c195b21a6a7e6ff6f5bdaa3690d9a59e6f97eb93f3ea728726f72c4d6dfe462d1c91fe39ca8d70ca570393b71e5389e5f50a2eb7278687b7 WHIRLPOOL 3b4d72d7ab6f97c9e05182d9a48be1348c716e0c75f0143c169fa8064c0e5bb09efc218fe191f7fb1957ca918ae970fb46c46817fbec1583ab8a089be4e5e2c3
|
||||
DIST psych-2.0.12.gem 127488 SHA256 879990cb62844898fec506f1aa7012ddb87c55ce8f7bbc89fc607e2ff638aa87 SHA512 8e6d54b390efba0bcb77f04a16e7724311d83e1e6f1e18f01c9fb6cd87971f823c5c4b9c14232b749c04a446ab00a57fe7baa4712a1d43346ee3d72d351fcbe6 WHIRLPOOL 20864a8d1f6512548c33aab8979087ec9596b3a162f22ca64932d2bfa91ddb78e89b35c36462e7c5b1674ac36c1fdd0c210b91ae3ff40108af0e9d4c2ee26996
|
||||
DIST psych-2.0.13.gem 127488 SHA256 731e44df80f1fbe28b7d753830b138f2100c7cb9ff52137a061c151af474fdb5 SHA512 d2b54408c3860f7260022d091fbeb8daeec1a206ba5e99c8f2677f68112c24f4bad85c37244b6f6e6efd55e429499f6750b29102aa1c1c79ba1da4963690b9e9 WHIRLPOOL 6f6eb86dbcea7b867778ebf19593521e01f75b0f61325704d921bfc9de570f90d6a52c63cada8c5d41b495dc5b31900d757efe820acbd9d32a259048b31221e6
|
||||
DIST psych-2.0.15.gem 128000 SHA256 ac7afd35a2e6ec6eef08a3c7b5e1127be20e6521b4c8346988acd3d46548982f SHA512 895d726a4ecd0d2d18c350aa9aa8bdfb8da3193211ce275313907dc46d45907731d60b41485e01a1ffb5d49133021d837416376340cc1468358970b2eeba7002 WHIRLPOOL 7e055e394cd9cb84d3c433cb80235e82a688a13d7e8d9be79e5b8c0c43cdbe414a14bb36fcd7ffe218b78d2ea0b324b6297837d36cae62fc008ebfeef9ca41b8
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="A libyaml wrapper for Ruby"
|
||||
HOMEPAGE="https://github.com/tenderlove/psych"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND+=" >=dev-libs/libyaml-0.1.6"
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/minitest-4.0:0 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '1igem "minitest", "~>4.0"' test/psych/helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/${PN} extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -Cext/${PN}
|
||||
cp ext/${PN}/${PN}$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:test/${PN}:. -e "Dir['test/psych/**/test_*.rb'].each {|f| require f}" || die
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more"
|
||||
HOMEPAGE="http://sass-lang.com/"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/listen-1.3.1:1 !!<dev-ruby/haml-3.1 !!<dev-ruby/sass-3.2.19-r1:0 !!<dev-ruby/sass-3.3.14-r1:3.3"
|
||||
|
||||
# tests could use `less` if we had it
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm -rf vendor/listen || die
|
||||
|
||||
# Don't require maruku as markdown provider but let yard decide.
|
||||
sed -i -e '/maruku/d' .yardopts || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
RUBOCOP=false ${RUBY} -S rake test || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST freeciv-2.4.4.tar.bz2 38847925 SHA256 8307fc9d69571b031ccc465e8029d8a7ea3dbef4e3651f2de07356aba931e2a3 SHA512 3f2ff619b21c36748a98bda98c923ec9ea71faf18cac77d8b247e4a79c4a8f41c9b399e648a0a51fe54738de3276081c31ded98f769104812125d304716796a7 WHIRLPOOL 0eb8374ad2d7174dab8971c39c0ce7f14e72c1c7a64dfa8461a054a53d2b659af71197bad7c65e65e3e5da4fd5552bfb10aa2fa8b9870c9b1fbd7e03c58c9c00
|
||||
DIST freeciv-2.5.0.tar.bz2 40323793 SHA256 bd9f7523ea79b8d2806d0c1844a9f48506ccd18276330580319913c43051210b SHA512 f03bafdca47da0677ad81ed945afe79bbd01ae871b95e6bdaf6249acb8420e78e3210dd60f520d960ec127e1d443f45c11fcc484b49b6bb59cab5904e51fc651 WHIRLPOOL 1a9768837b40c6c19ff6138d07074d96d75d2cecdb671180659d9380beb7c996fcb0be2fb343166fe46e92cc2c2e7495be2683f62440540cea3072f34e928391
|
||||
DIST freeciv-2.5.1.tar.bz2 40686265 SHA256 4e420a9ad91aa7966039ec3b63501725c8261a4ff734d56fe801414fae772696 SHA512 c0f5df3df7bab9ad8e9e7ce75ea90a539ca7e6aafb0af2b57a3d30b095e30f3b093e66bd8b92524e0e19919e0f5d4b822946219bf270e6071102db56290119b8 WHIRLPOOL 1773d56801316afae6ab470b1b1fdf71b42bd42ff0f7ede62b28c5ef7abcd0af36887401937a028b4a9a2e19f994389ef5f63c0395545ebcb367ff2089e2fd55
|
||||
|
@ -0,0 +1,178 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils gnome2-utils games
|
||||
|
||||
DESCRIPTION="multiplayer strategy game (Civilization Clone)"
|
||||
HOMEPAGE="http://www.freeciv.org/"
|
||||
SRC_URI="mirror://sourceforge/freeciv/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="auth aimodules dedicated +gtk ipv6 mapimg modpack mysql nls qt5 readline sdl +server +sound sqlite system-lua"
|
||||
|
||||
# postgres isn't yet really supported by upstream
|
||||
RDEPEND="app-arch/bzip2
|
||||
app-arch/xz-utils
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
auth? (
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
!mysql? ( ( !sqlite? ( virtual/mysql ) ) )
|
||||
)
|
||||
readline? ( sys-libs/readline:0 )
|
||||
dedicated? ( aimodules? ( dev-libs/libltdl:0 ) )
|
||||
!dedicated? (
|
||||
media-libs/libpng:0
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
mapimg? ( media-gfx/imagemagick )
|
||||
modpack? ( x11-libs/gtk+:2 )
|
||||
nls? ( virtual/libintl )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
sdl? (
|
||||
media-libs/libsdl[video]
|
||||
media-libs/sdl-gfx
|
||||
media-libs/sdl-image[png]
|
||||
media-libs/sdl-ttf
|
||||
)
|
||||
server? ( aimodules? ( sys-devel/libtool:2 ) )
|
||||
sound? (
|
||||
media-libs/libsdl[sound]
|
||||
media-libs/sdl-mixer[vorbis]
|
||||
)
|
||||
!sdl? ( !gtk? ( x11-libs/gtk+:2 ) )
|
||||
)
|
||||
system-lua? ( >=dev-lang/lua-5.2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
!dedicated? (
|
||||
x11-proto/xextproto
|
||||
nls? ( sys-devel/gettext )
|
||||
)"
|
||||
|
||||
pkg_setup() {
|
||||
if use !dedicated && use !server ; then
|
||||
ewarn "Disabling server USE flag will make it impossible"
|
||||
ewarn "to start local games, but you will still be able to"
|
||||
ewarn "join multiplayer games."
|
||||
fi
|
||||
games_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
||||
# install the .desktop in /usr/share/applications
|
||||
# install the icons in /usr/share/pixmaps
|
||||
sed -i \
|
||||
-e 's:^.*\(desktopfiledir = \).*:\1/usr/share/applications:' \
|
||||
-e 's:^\(icon[0-9]*dir = \)$(prefix)\(.*\):\1/usr\2:' \
|
||||
-e 's:^\(icon[0-9]*dir = \)$(datadir)\(.*\):\1/usr/share\2:' \
|
||||
client/Makefile.in \
|
||||
server/Makefile.in \
|
||||
tools/Makefile.in \
|
||||
data/icons/Makefile.in || die
|
||||
sed -i -e 's/=SDL/=X-SDL/' bootstrap/freeciv-sdl.desktop.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myclient myopts mydatabase
|
||||
|
||||
if use auth ; then
|
||||
if use !mysql && use !sqlite ; then
|
||||
einfo "No database backend chosen, defaulting"
|
||||
einfo "to mysql!"
|
||||
mydatabase=mysql
|
||||
else
|
||||
use mysql && mydatabase="${mydatabase} mysql"
|
||||
use sqlite && mydatabase="${mydatabase} sqlite3"
|
||||
fi
|
||||
else
|
||||
mydatabase=no
|
||||
fi
|
||||
|
||||
if use dedicated ; then
|
||||
myclient="no"
|
||||
myopts="--enable-server"
|
||||
else
|
||||
if use !sdl && use !gtk && ! use qt5 ; then
|
||||
einfo "No client backend given, defaulting to"
|
||||
einfo "gtk2 client!"
|
||||
myclient="gtk2"
|
||||
else
|
||||
use sdl && myclient+=" sdl"
|
||||
use gtk && myclient+=" gtk2"
|
||||
use qt5 && myclient+=" qt"
|
||||
fi
|
||||
myopts="$(use_enable server) --without-ggz-client"
|
||||
fi
|
||||
|
||||
# disabling shared libs will break aimodules USE flag
|
||||
egamesconf \
|
||||
--docdir="/usr/share/doc/${P}" \
|
||||
--localedir=/usr/share/locale \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable mapimg) \
|
||||
--enable-aimodules="$(usex aimodules "yes" "no")" \
|
||||
--enable-shared \
|
||||
--enable-fcdb="${mydatabase}" \
|
||||
$(use_enable nls) \
|
||||
$(use_with readline) \
|
||||
$(use_enable sound sdl-mixer) \
|
||||
--enable-fcmp="$(usex modpack "gtk2" "no")" \
|
||||
$(use_enable system-lua sys-lua) \
|
||||
${myopts} \
|
||||
--enable-client="${myclient}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use dedicated ; then
|
||||
rm -rf "${D}/usr/share/pixmaps"
|
||||
rm -f "${D}"/usr/share/man/man6/freeciv-{client,gtk2,gtk3,modpack,qt,sdl,xaw}*
|
||||
else
|
||||
if use server ; then
|
||||
# Create and install the html manual. It can't be done for dedicated
|
||||
# servers, because the 'freeciv-manual' tool is then not built. Also
|
||||
# delete freeciv-manual from the GAMES_BINDIR, because it's useless.
|
||||
# Note: to have it localized, it should be ran from _postinst, or
|
||||
# something like that, but then it's a PITA to avoid orphan files...
|
||||
./tools/freeciv-manual || die
|
||||
dohtml manual*.html
|
||||
fi
|
||||
if use sdl ; then
|
||||
make_desktop_entry freeciv-sdl "Freeciv (SDL)" freeciv-client
|
||||
else
|
||||
rm -f "${D}"/usr/share/man/man6/freeciv-sdl*
|
||||
fi
|
||||
rm -f "${D}"/usr/share/man/man6/freeciv-xaw*
|
||||
fi
|
||||
find "${D}" -name "freeciv-manual*" -delete
|
||||
|
||||
rm -f "${D}$(games_get_libdir)"/*.a
|
||||
prune_libtool_files
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
From 386f6af25a4f5276765a121f98dd00d0bf6a743d Mon Sep 17 00:00:00 2001
|
||||
From: David Faure <faure@kde.org>
|
||||
Date: Sun, 26 Jul 2015 17:04:43 +0200
|
||||
Subject: [PATCH] set proper cmake min req, matching kdelibs4, before project;
|
||||
fix build accordingly
|
||||
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
gtk3proxies/CMakeLists.txt | 2 +-
|
||||
gtkproxies/CMakeLists.txt | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 0ef2243..9d77fcd 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
+cmake_minimum_required(VERSION 2.8.9)
|
||||
project(kdegtkconfig)
|
||||
-cmake_minimum_required(VERSION 2.6)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
|
||||
|
||||
find_package(KDE4 REQUIRED)
|
||||
diff --git a/gtk3proxies/CMakeLists.txt b/gtk3proxies/CMakeLists.txt
|
||||
index 856a3f6..d43597e 100644
|
||||
--- a/gtk3proxies/CMakeLists.txt
|
||||
+++ b/gtk3proxies/CMakeLists.txt
|
||||
@@ -2,7 +2,7 @@ find_package(GTK3 REQUIRED)
|
||||
|
||||
include_directories(${GTK3_INCLUDE_DIRS})
|
||||
|
||||
-add_definitions("-DDATA_DIR=\\\"${DATA_INSTALL_DIR}/kcm-gtk-module/\\\"")
|
||||
+add_definitions(-DDATA_DIR="\\\"${DATA_INSTALL_DIR}/kcm-gtk-module/\\\"")
|
||||
|
||||
add_executable(gtk3_preview preview3.c)
|
||||
target_link_libraries(gtk3_preview ${GTK3_LIBRARY} ${GOBJECT2_LIBRARY} ${GLIB2_LIBRARY})
|
||||
diff --git a/gtkproxies/CMakeLists.txt b/gtkproxies/CMakeLists.txt
|
||||
index 9821cbf..18ee2d5 100644
|
||||
--- a/gtkproxies/CMakeLists.txt
|
||||
+++ b/gtkproxies/CMakeLists.txt
|
||||
@@ -6,7 +6,7 @@ add_executable(reload_gtk_apps reload.c)
|
||||
target_link_libraries(reload_gtk_apps ${GTK2_LIBRARIES})
|
||||
install(TARGETS reload_gtk_apps RUNTIME DESTINATION "${KDE4_LIBEXEC_INSTALL_DIR}")
|
||||
|
||||
-add_definitions("-DDATA_DIR=\\\"${DATA_INSTALL_DIR}/kcm-gtk-module/\\\"")
|
||||
+add_definitions(-DDATA_DIR="\\\"${DATA_INSTALL_DIR}/kcm-gtk-module/\\\"")
|
||||
|
||||
add_executable(gtk_preview preview.c)
|
||||
target_link_libraries(gtk_preview ${GTK2_LIBRARIES} ${GTK2_GIOMM_LIBRARY})
|
||||
--
|
||||
2.4.6
|
||||
|
@ -1 +1,2 @@
|
||||
DIST k4dirstat-2.7.5.tar.bz2 225485 SHA256 20fcf97285c8e1836cec94b05dc4e3ae92e0f7e806cd278d46ec2c3287f5ff31 SHA512 57853c00c26cbef13523455c854e38da7eddfb4382c6143a25a2c43a319c4c03037cba44340097c0612a329f2308f0f1e54ffe8cf1329d8d05755231a50da895 WHIRLPOOL c37a2797caec7515fcaca93f9ca3d8103bfb151526d6c5148f19f58e673ae2f13e71b2d76f626c9d148ab402efeefa2a3f2747ad7c88e7c8f3a46cd3ef646419
|
||||
DIST k4dirstat-3.0.tar.bz2 231647 SHA256 edbae93e477556e48dc45b93f6462e8b7ca61cacf3d38c97d1a81c412860bb12 SHA512 07b707e09c71fab1614a917172ac4182a1460b4413ce497d26d34f85624d588ae7424366773d288c8070d1bc070633c7a6667d4950c4cb77b890ef2afe5e5b64 WHIRLPOOL f3069ceaef3a1a7cd7bcc9f6fa92febbe5f15e1aaaf51da79e2889663d165ab26f629d7341df07fd6629b66656816312d201eff974e9eaa4a4f66560da83d77f
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Nice KDE replacement to the du command"
|
||||
HOMEPAGE="https://bitbucket.org/jeromerobert/k4dirstat/"
|
||||
SRC_URI="https://bitbucket.org/jeromerobert/k4dirstat/get/k4dirstat-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kdelibs4support)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kjobwidgets)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
sys-libs/zlib
|
||||
!kde-misc/kdirstat:4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
$(add_frameworks_dep kdoctools)
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS CREDITS TODO )
|
||||
|
||||
src_unpack() {
|
||||
# tarball contains git revision hash, which we don't want in the ebuild.
|
||||
default
|
||||
mv "${WORKDIR}"/*k4dirstat-* "${S}" || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST sylpheed-3.3.0.tar.bz2 3294536 SHA256 4d8f791aaf0f347439512aec72cd8262f90e020352cb2f7b63727ac5bc07353b SHA512 75e2a7573b2eba0f54386e020a82daee7219e45cd032b4568b04362c88fe84bdde6a4023e1259ea06767944c32f605d739121aa7e389b4538924c6eefafff372 WHIRLPOOL c31a173f6f39cf4177bb32083efc97387d9477e11f270f08de7cb650f2af997a52b0031daa44c0f07d78aab692735c0dd7b1e4f1c887cd1f09cd042d5ddabfe9
|
||||
DIST sylpheed-3.4.2.tar.bz2 3474176 SHA256 198de08d01a5c150adae6b6612da80674bbc7ed59b58bbd7508124b869322ba3 SHA512 1bfaf5636facb6ca55173e914904be7f9fb9ca98eb440f5b548fbbbe03f5dfb5428801e878f3275d3683e715d0b4bd33f63f69f5f98578ce1a25cef695406b5e WHIRLPOOL a7dda342adb598027765c5ab6d14ae3e850bf39ff63d90a79927fa2aec1bf539454357cb6dea8664d21f68deeccf78fada264d04b0a14ff311ff5827717c4aa8
|
||||
DIST sylpheed-3.4.3.tar.bz2 3474313 SHA256 09fae954c775073b43ce2f660a6bed1087237659eade1c68913cb86add1fb905 SHA512 cadae6a6855fae8c2df249d83cfd2d7b214062e3e49c74f6d64b3c2f97a9eb2586f14e2b766715e07fa1b229e4462cd39eee69bd02c26053b1ed93a497c3836b WHIRLPOOL 4d76ba80a60c3f0513b80af8854292712a74e5a9b5d2e53b82de0edee4fea7b76316b807af396bcda918a0e5c9e66b05e4201d89992a443cc3bb582574653431
|
||||
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A lightweight email client and newsreader"
|
||||
HOMEPAGE="http://sylpheed.sraoss.jp/"
|
||||
SRC_URI="http://sylpheed.sraoss.jp/${PN}/v${PV%.*}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
IUSE="crypt ipv6 ldap nls oniguruma pda spell ssl xface"
|
||||
|
||||
CDEPEND="x11-libs/gtk+:2
|
||||
nls? ( sys-devel/gettext )
|
||||
crypt? ( app-crypt/gpgme )
|
||||
ldap? ( net-nds/openldap )
|
||||
oniguruma? ( dev-libs/oniguruma )
|
||||
pda? ( app-pda/jpilot )
|
||||
spell? ( app-text/gtkspell:2 )
|
||||
ssl? ( dev-libs/openssl )"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-misc/mime-types
|
||||
net-misc/curl"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
xface? ( media-libs/compface )"
|
||||
|
||||
src_configure() {
|
||||
local htmldir=/usr/share/doc/${PF}/html
|
||||
econf \
|
||||
$(use_enable crypt gpgme) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable oniguruma) \
|
||||
$(use_enable pda jpilot) \
|
||||
$(use_enable spell gtkspell) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable xface compface) \
|
||||
--with-manualdir=${htmldir}/manual \
|
||||
--with-faqdir=${htmldir}/faq \
|
||||
--disable-updatecheck
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog* NEWS* PLUGIN* README* TODO*
|
||||
|
||||
doicon *.png
|
||||
domenu *.desktop
|
||||
|
||||
cd plugin/attachment_tool
|
||||
docinto plugin/attachment_tool
|
||||
emake DESTDIR="${D}" install-plugin
|
||||
dodoc README
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A lightweight email client and newsreader"
|
||||
HOMEPAGE="http://sylpheed.sraoss.jp/"
|
||||
SRC_URI="http://sylpheed.sraoss.jp/${PN}/v${PV%.*}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="crypt ipv6 ldap nls oniguruma pda spell ssl xface"
|
||||
|
||||
CDEPEND="x11-libs/gtk+:2
|
||||
nls? ( sys-devel/gettext )
|
||||
crypt? ( app-crypt/gpgme )
|
||||
ldap? ( net-nds/openldap )
|
||||
oniguruma? ( dev-libs/oniguruma )
|
||||
pda? ( app-pda/jpilot )
|
||||
spell? ( app-text/gtkspell:2 )
|
||||
ssl? ( dev-libs/openssl )"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-misc/mime-types
|
||||
net-misc/curl"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
xface? ( media-libs/compface )"
|
||||
|
||||
src_configure() {
|
||||
local htmldir=/usr/share/doc/${PF}/html
|
||||
econf \
|
||||
$(use_enable crypt gpgme) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable oniguruma) \
|
||||
$(use_enable pda jpilot) \
|
||||
$(use_enable spell gtkspell) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable xface compface) \
|
||||
--with-manualdir=${htmldir}/manual \
|
||||
--with-faqdir=${htmldir}/faq \
|
||||
--disable-updatecheck
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog* NEWS* README* TODO*
|
||||
|
||||
doicon *.png
|
||||
domenu *.desktop
|
||||
}
|
@ -0,0 +1,455 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
GIT_ECLASS="git-r3"
|
||||
EXPERIMENTAL="true"
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS}
|
||||
|
||||
OPENGL_DIR="xorg-x11"
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
FOLDER="${PV/_rc*/}"
|
||||
|
||||
DESCRIPTION="OpenGL-like graphic library for Linux"
|
||||
HOMEPAGE="http://mesa3d.sourceforge.net/"
|
||||
|
||||
if [[ $PV == 9999* ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
RESTRICT="!bindist? ( bindist )"
|
||||
|
||||
INTEL_CARDS="i915 i965 ilo intel"
|
||||
RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
|
||||
VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} freedreno nouveau vmware"
|
||||
for card in ${VIDEO_CARDS}; do
|
||||
IUSE_VIDEO_CARDS+=" video_cards_${card}"
|
||||
done
|
||||
|
||||
IUSE="${IUSE_VIDEO_CARDS}
|
||||
bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm
|
||||
+nptl opencl osmesa pax_kernel openmax pic selinux +udev vaapi vdpau
|
||||
wayland xvmc xa kernel_FreeBSD"
|
||||
|
||||
REQUIRED_USE="
|
||||
d3d9? ( dri3 gallium )
|
||||
llvm? ( gallium )
|
||||
opencl? ( gallium llvm )
|
||||
openmax? ( gallium )
|
||||
gles1? ( egl )
|
||||
gles2? ( egl )
|
||||
vaapi? ( gallium )
|
||||
vdpau? ( gallium )
|
||||
wayland? ( egl gbm )
|
||||
xa? ( gallium )
|
||||
video_cards_freedreno? ( gallium )
|
||||
video_cards_intel? ( classic )
|
||||
video_cards_i915? ( || ( classic gallium ) )
|
||||
video_cards_i965? ( classic )
|
||||
video_cards_ilo? ( gallium )
|
||||
video_cards_nouveau? ( || ( classic gallium ) )
|
||||
video_cards_radeon? ( || ( classic gallium ) )
|
||||
video_cards_r100? ( classic )
|
||||
video_cards_r200? ( classic )
|
||||
video_cards_r300? ( gallium llvm )
|
||||
video_cards_r600? ( gallium )
|
||||
video_cards_radeonsi? ( gallium llvm )
|
||||
video_cards_vmware? ( gallium )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
"
|
||||
|
||||
LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.60"
|
||||
# keep correct libdrm and dri2proto dep
|
||||
# keep blocks in rdepend for binpkg
|
||||
RDEPEND="
|
||||
!<x11-base/xorg-server-1.7
|
||||
!<=x11-proto/xf86driproto-2.0.3
|
||||
abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
|
||||
classic? ( app-eselect/eselect-mesa )
|
||||
gallium? ( app-eselect/eselect-mesa )
|
||||
>=app-eselect/eselect-opengl-1.3.0
|
||||
udev? ( kernel_linux? ( >=virtual/libudev-215:=[${MULTILIB_USEDEP}] ) )
|
||||
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
|
||||
gbm? ( >=virtual/libudev-215:=[${MULTILIB_USEDEP}] )
|
||||
dri3? ( >=virtual/libudev-215:=[${MULTILIB_USEDEP}] )
|
||||
>=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXdamage-1.1.4-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libxcb-1.9.3:=[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes:=[${MULTILIB_USEDEP}]
|
||||
llvm? (
|
||||
video_cards_radeonsi? ( || (
|
||||
>=dev-libs/elfutils-0.155-r1:=[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libelf-0.8.13-r2:=[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
!video_cards_r600? (
|
||||
video_cards_radeon? ( || (
|
||||
>=dev-libs/elfutils-0.155-r1:=[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libelf-0.8.13-r2:=[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
)
|
||||
>=sys-devel/llvm-3.4.2:=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
opencl? (
|
||||
app-eselect/eselect-opencl
|
||||
dev-libs/libclc
|
||||
|| (
|
||||
>=dev-libs/elfutils-0.155-r1:=[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libelf-0.8.13-r2:=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
)
|
||||
openmax? ( >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( >=x11-libs/libva-0.35.0:=[${MULTILIB_USEDEP}] )
|
||||
vdpau? ( >=x11-libs/libvdpau-0.7:=[${MULTILIB_USEDEP}] )
|
||||
wayland? ( >=dev-libs/wayland-1.2.0:=[${MULTILIB_USEDEP}] )
|
||||
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )
|
||||
${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vmware?,${MULTILIB_USEDEP}]
|
||||
"
|
||||
for card in ${INTEL_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_intel] )
|
||||
"
|
||||
done
|
||||
|
||||
for card in ${RADEON_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] )
|
||||
"
|
||||
done
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
llvm? (
|
||||
video_cards_radeonsi? ( sys-devel/llvm[video_cards_radeon] )
|
||||
)
|
||||
opencl? (
|
||||
>=sys-devel/llvm-3.4.2:=[${MULTILIB_USEDEP}]
|
||||
>=sys-devel/clang-3.4.2:=[${MULTILIB_USEDEP}]
|
||||
>=sys-devel/gcc-4.6
|
||||
)
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
>=x11-proto/dri2proto-2.8-r1:=[${MULTILIB_USEDEP}]
|
||||
dri3? (
|
||||
>=x11-proto/dri3proto-1.0:=[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/presentproto-1.0:=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
>=x11-proto/glproto-1.4.17-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/xextproto-7.2.1-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
[[ ${PV} == "9999" ]] && DEPEND+="
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]")
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
EGIT_CHECKOUT_DIR=${S}
|
||||
|
||||
# It is slow without texrels, if someone wants slow
|
||||
# mesa without texrels +pic use is worth the shot
|
||||
QA_EXECSTACK="usr/lib*/libGL.so*"
|
||||
QA_WX_LOAD="usr/lib*/libGL.so*"
|
||||
|
||||
pkg_setup() {
|
||||
# warning message for bug 459306
|
||||
if use llvm && has_version sys-devel/llvm[!debug=]; then
|
||||
ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm"
|
||||
ewarn "detected! This can cause problems. For details, see bug 459306."
|
||||
fi
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# fix for hardened pax_kernel, bug 240956
|
||||
[[ ${PV} != 9999* ]] && epatch "${FILESDIR}"/glx_ro_text_segm.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf
|
||||
|
||||
if use classic; then
|
||||
# Configurable DRI drivers
|
||||
driver_enable swrast
|
||||
|
||||
# Intel code
|
||||
driver_enable video_cards_i915 i915
|
||||
driver_enable video_cards_i965 i965
|
||||
if ! use video_cards_i915 && \
|
||||
! use video_cards_i965; then
|
||||
driver_enable video_cards_intel i915 i965
|
||||
fi
|
||||
|
||||
# Nouveau code
|
||||
driver_enable video_cards_nouveau nouveau
|
||||
|
||||
# ATI code
|
||||
driver_enable video_cards_r100 radeon
|
||||
driver_enable video_cards_r200 r200
|
||||
if ! use video_cards_r100 && \
|
||||
! use video_cards_r200; then
|
||||
driver_enable video_cards_radeon radeon r200
|
||||
fi
|
||||
fi
|
||||
|
||||
if use egl; then
|
||||
myconf+="--with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm") "
|
||||
fi
|
||||
|
||||
if use gallium; then
|
||||
myconf+="
|
||||
$(use_enable d3d9 nine)
|
||||
$(use_enable llvm gallium-llvm)
|
||||
$(use_enable openmax omx)
|
||||
$(use_enable vaapi va)
|
||||
$(use_enable vdpau)
|
||||
$(use_enable xa)
|
||||
$(use_enable xvmc)
|
||||
"
|
||||
gallium_enable swrast
|
||||
gallium_enable video_cards_vmware svga
|
||||
gallium_enable video_cards_nouveau nouveau
|
||||
gallium_enable video_cards_i915 i915
|
||||
gallium_enable video_cards_ilo ilo
|
||||
if ! use video_cards_i915 && \
|
||||
! use video_cards_i965; then
|
||||
gallium_enable video_cards_intel i915
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_r300 r300
|
||||
gallium_enable video_cards_r600 r600
|
||||
gallium_enable video_cards_radeonsi radeonsi
|
||||
if ! use video_cards_r300 && \
|
||||
! use video_cards_r600; then
|
||||
gallium_enable video_cards_radeon r300 r600
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_freedreno freedreno
|
||||
# opencl stuff
|
||||
if use opencl; then
|
||||
myconf+="
|
||||
$(use_enable opencl)
|
||||
--with-clang-libdir="${EPREFIX}/usr/lib"
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
||||
# x86 hardened pax_kernel needs glx-rts, bug 240956
|
||||
if use pax_kernel; then
|
||||
myconf+="
|
||||
$(use_enable x86 glx-rts)
|
||||
"
|
||||
fi
|
||||
|
||||
# on abi_x86_32 hardened we need to have asm disable
|
||||
if [[ ${ABI} == x86* ]] && use pic; then
|
||||
myconf+=" --disable-asm"
|
||||
fi
|
||||
|
||||
# build fails with BSD indent, bug #428112
|
||||
use userland_GNU || export INDENT=cat
|
||||
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
--enable-dri \
|
||||
--enable-glx \
|
||||
--enable-shared-glapi \
|
||||
$(use_enable !bindist texture-float) \
|
||||
$(use_enable d3d9 nine) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dri3) \
|
||||
$(use_enable egl) \
|
||||
$(use_enable gbm) \
|
||||
$(use_enable gles1) \
|
||||
$(use_enable gles2) \
|
||||
$(use_enable nptl glx-tls) \
|
||||
$(use_enable osmesa) \
|
||||
$(use_enable !udev sysfs) \
|
||||
--enable-llvm-shared-libs \
|
||||
--with-dri-drivers=${DRI_DRIVERS} \
|
||||
--with-gallium-drivers=${GALLIUM_DRIVERS} \
|
||||
PYTHON2="${PYTHON}" \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
if use classic || use gallium; then
|
||||
ebegin "Moving DRI/Gallium drivers for dynamic switching"
|
||||
local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so )
|
||||
keepdir /usr/$(get_libdir)/dri
|
||||
dodir /usr/$(get_libdir)/mesa
|
||||
for x in ${gallium_drivers[@]}; do
|
||||
if [ -f "$(get_libdir)/gallium/${x}" ]; then
|
||||
mv -f "${ED}/usr/$(get_libdir)/dri/${x}" "${ED}/usr/$(get_libdir)/dri/${x/_dri.so/g_dri.so}" \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
if use classic; then
|
||||
emake -C "${BUILD_DIR}/src/mesa/drivers/dri" DESTDIR="${D}" install
|
||||
fi
|
||||
for x in "${ED}"/usr/$(get_libdir)/dri/*.so; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${x/dri/mesa}" \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
pushd "${ED}"/usr/$(get_libdir)/dri || die "pushd failed"
|
||||
ln -s ../mesa/*.so . || die "Creating symlink failed"
|
||||
# remove symlinks to drivers known to eselect
|
||||
for x in ${gallium_drivers[@]}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
rm "${x}" || die "Failed to remove ${x}"
|
||||
fi
|
||||
done
|
||||
popd
|
||||
eend $?
|
||||
fi
|
||||
if use opencl; then
|
||||
ebegin "Moving Gallium/Clover OpenCL implementation for dynamic switching"
|
||||
local cl_dir="/usr/$(get_libdir)/OpenCL/vendors/mesa"
|
||||
dodir ${cl_dir}/{lib,include}
|
||||
if [ -f "${ED}/usr/$(get_libdir)/libOpenCL.so" ]; then
|
||||
mv -f "${ED}"/usr/$(get_libdir)/libOpenCL.so* \
|
||||
"${ED}"${cl_dir}
|
||||
fi
|
||||
if [ -f "${ED}/usr/include/CL/opencl.h" ]; then
|
||||
mv -f "${ED}"/usr/include/CL \
|
||||
"${ED}"${cl_dir}/include
|
||||
fi
|
||||
eend $?
|
||||
fi
|
||||
|
||||
if use openmax; then
|
||||
echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share/mesa/xdg\"" > "${T}/99mesaxdgomx"
|
||||
doenvd "${T}"/99mesaxdgomx
|
||||
keepdir /usr/share/mesa/xdg
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files --all
|
||||
einstalldocs
|
||||
|
||||
if use !bindist; then
|
||||
dodoc docs/patents.txt
|
||||
fi
|
||||
|
||||
# Install config file for eselect mesa
|
||||
insinto /usr/share/mesa
|
||||
newins "${FILESDIR}/eselect-mesa.conf.9.2" eselect-mesa.conf
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if use llvm; then
|
||||
local llvm_tests='lp_test_arit lp_test_arit lp_test_blend lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format lp_test_printf lp_test_printf'
|
||||
pushd src/gallium/drivers/llvmpipe >/dev/null || die
|
||||
emake ${llvm_tests}
|
||||
pax-mark m ${llvm_tests}
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
emake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Switch to the xorg implementation.
|
||||
echo
|
||||
eselect opengl set --use-old ${OPENGL_DIR}
|
||||
|
||||
# Select classic/gallium drivers
|
||||
if use classic || use gallium; then
|
||||
eselect mesa set --auto
|
||||
fi
|
||||
|
||||
# Switch to mesa opencl
|
||||
if use opencl; then
|
||||
eselect opencl set --use-old ${PN}
|
||||
fi
|
||||
|
||||
# run omxregister-bellagio to make the OpenMAX drivers known system-wide
|
||||
if use openmax; then
|
||||
ebegin "Registering OpenMAX drivers"
|
||||
BELLAGIO_SEARCH_PATH="${EPREFIX}/usr/$(get_libdir)/libomxil-bellagio0" \
|
||||
OMX_BELLAGIO_REGISTRY=${EPREFIX}/usr/share/mesa/xdg/.omxregister \
|
||||
omxregister-bellagio
|
||||
eend $?
|
||||
fi
|
||||
|
||||
# warn about patent encumbered texture-float
|
||||
if use !bindist; then
|
||||
elog "USE=\"bindist\" was not set. Potentially patent encumbered code was"
|
||||
elog "enabled. Please see patents.txt for an explanation."
|
||||
fi
|
||||
|
||||
if ! has_version media-libs/libtxc_dxtn; then
|
||||
elog "Note that in order to have full S3TC support, it is necessary to install"
|
||||
elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice"
|
||||
elog "textures in some apps, and some others even require this to run."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use openmax; then
|
||||
rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister
|
||||
fi
|
||||
}
|
||||
|
||||
# $1 - VIDEO_CARDS flag
|
||||
# other args - names of DRI drivers to enable
|
||||
# TODO: avoid code duplication for a more elegant implementation
|
||||
driver_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
DRI_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
DRI_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
gallium_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
GALLIUM_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
GALLIUM_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST gmusicbrowser-1.1.13.tar.gz 2083888 SHA256 0da5eeff037fe61e3f63723e5eba7f7f28018d7a81c7ab334a450dc28d8ab341 SHA512 65f070161b85b1a91d0d856b1886c90f3090d0da4fb83b6fcb99d5bb024f401c62e1b9b52cc1bcf5a487dc675d20b360e3f25a09931f664cb2496c7f891ced4f WHIRLPOOL f4d7af9599944a416b6ee7abe15fe6cb7cb58bcdf85507e26cd97438ab3ed396e3fa5598842efb289debe11abf37fefe56209b11fb2af7b5e0c9c1bc4f0630d1
|
||||
DIST gmusicbrowser-1.1.14.tar.gz 2252178 SHA256 c1064ca4247470158469f2d0e73f0ecc6ccb4b280cbaa709e20ba81efcfba956 SHA512 fedf8125833f3f7cbd9b1a4d4adc2cf989788d39f1a6beb72ce88fe409cf28861a6093b91332fd836175ade045b90a22c0c516f46e99a0fd73566fabf52be156 WHIRLPOOL cb9d6496a550dcf648087b88d60288cf7c65d72e01dd60c200a0ee30058d01bf9b23d99e9628a1350f977b92b0493bf9d1f2d26651b3d323ec3c69546d07f11e
|
||||
DIST gmusicbrowser-1.1.15.tar.gz 2349451 SHA256 1ec881d148ccc26bdbab66ca701fd2216e034c3b613d6e66c17ac702271c677b SHA512 9176be8f2b1b6c832099feff87a7a526efaa3c512c9b7b6d433f1a157ac1185adb05185f52f9ce1b3b41afc967c37345d216a090b472927a661747e25479cbdc WHIRLPOOL b9fa86d43a904d8adb587f8eebae9fcc3463fb7f7c04b44d14365742de9bda240dde7fd4e27df88b812418af1e0f00955afde8184600729dd8ab06aa220d689d
|
||||
|
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit fdo-mime gnome2-utils
|
||||
|
||||
DESCRIPTION="An open-source jukebox for large collections of mp3/ogg/flac files"
|
||||
HOMEPAGE="http://gmusicbrowser.org/"
|
||||
SRC_URI="http://${PN}.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
GSTREAMER_DEPEND="
|
||||
dev-perl/GStreamer
|
||||
dev-perl/GStreamer-Interfaces
|
||||
media-plugins/gst-plugins-meta:0.10"
|
||||
MPLAYER_DEPEND="media-video/mplayer"
|
||||
MPV_DEPEND="media-video/mpv"
|
||||
OTHER_DEPEND="
|
||||
media-sound/alsa-utils
|
||||
media-sound/flac123
|
||||
|| ( media-sound/mpg123 media-sound/mpg321 )
|
||||
media-sound/vorbis-tools"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-perl/gtk2-perl
|
||||
virtual/perl-MIME-Base64
|
||||
|| ( net-misc/wget dev-perl/AnyEvent-HTTP )
|
||||
|| (
|
||||
( ${GSTREAMER_DEPEND} )
|
||||
( ${MPLAYER_DEPEND} )
|
||||
( ${MPV_DEPEND} )
|
||||
( ${OTHER_DEPEND} )
|
||||
)"
|
||||
DEPEND="sys-devel/gettext"
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DOCS="AUTHORS NEWS README" \
|
||||
DESTDIR="${D}" \
|
||||
iconsdir="${D}/usr/share/icons/hicolor/32x32/apps" \
|
||||
liconsdir="${D}/usr/share/icons/hicolor/48x48/apps" \
|
||||
miconsdir="${D}/usr/share/pixmaps" \
|
||||
install
|
||||
|
||||
dohtml layout_doc.html
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
elog "Gmusicbrowser supports gstreamer, mplayer, mpv and mpg123/ogg123..."
|
||||
elog "for audio playback. Needed dependencies:"
|
||||
elog "Gstreamer: ${GSTREAMER_DEPEND}"
|
||||
elog "mplayer: ${MPLAYER_DEPEND}"
|
||||
elog "mpv: ${MPV_DEPEND}"
|
||||
elog "mpg123/ogg123...: ${OTHER_DEPEND}"
|
||||
elog
|
||||
elog "This ebuild just ensures at least one implementation is installed!"
|
||||
elog
|
||||
elog "other optional dependencies:"
|
||||
elog " dev-perl/Net-DBus (for dbus support and mpris1/2 plugins)"
|
||||
elog " dev-perl/Gtk2-WebKit (for Web context plugin)"
|
||||
elog " dev-perl/Gtk2-Notify (for Notify plugin)"
|
||||
elog " dev-perl/gnome2-wnck (for Titlebar plugin)"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST helm-0.4.1.tar.gz 10170154 SHA256 00fa6b973b3e13d574a19dc009e07cbbcb7823476ffc59cc89e6816b7a70bd72 SHA512 093abfd47a7f3e25d168df675b8a9c067a361ae1891af208c75ec4bc02d8a30cc5de4ab2433179bcbb6074c142c8ef9b4ef11b1854fdde0551fcd340dd6b8fe0 WHIRLPOOL 6d7297b2e064d24252d11b415225e081cb2033230aba013e774198b66e6ca89196691ed8db61d9baa02e7cc09497af61462f36244668a8b3469828388f3c5d49
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Open source polyphonic software synthesizer with lots of modulation"
|
||||
HOMEPAGE="http://tytel.org/helm/"
|
||||
SRC_URI="https://github.com/mtytel/helm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-libs/alsa-lib
|
||||
media-libs/lv2
|
||||
media-sound/jack-audio-connection-kit
|
||||
virtual/opengl
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
src_prepare() {
|
||||
rm patches/Synth/.DS_Store || die
|
||||
sed -e 's|/usr/lib/|/usr/'$(get_libdir)'/|' -i Makefile || die
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake PREFIX=/usr all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
make_desktop_entry /usr/bin/helm Helm /usr/share/helm/icons/helm_icon_32_1x.png
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proaudio</herd>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST gpac-0.5.0.tar.gz 7861057 SHA256 42971ac39511a1b6d1db39af664ce887b38c8657328c88cd200d87a02de81c24 SHA512 dee7701c791c441c1f050d9591d4e4dd7bdd2908f535233b114959c9a0adc256b3d5e40f5c84fd0f8b1c6764bfe6b35ec0af6bfd1fb056d593aeedca75105278 WHIRLPOOL 1797afa09864a1e9632c121dc2076963ec5e73395abdcd76896d23dc675e03847a42d733ae9fc3bb29bd26b7b336ea0f49e6e8e79c87a0bd0458cd429a7bf271
|
||||
DIST gpac-0.5.1_pre5456.tar.xz 5938432 SHA256 81746ad1d9a8ae0a84c73652d1af5d86d9c36229b278422c13e353893893a83c SHA512 25883e32d83dc2b4649c506b86f745d2f8eaaaa75fff629b534205979aeb519a167243e62ec0d78e453d1edc27435acffd521a8c08a739cde05196f61e93ac47 WHIRLPOOL af5a89cb52802bc45edd29c6f0f5ce9f48decea16eef8a76c33c7161a6d48b3d43f1a2b4c3049d2f1f92d0c3f22b787a33c1652f42d2c0cf3b84ad58c2fb7589
|
||||
DIST gpac-0.5.2.tar.gz 9044537 SHA256 14de020482fc0452240f368564baa95a71b729980e4f36d94dd75c43ac4d9d5c SHA512 b6828953333c6615a2a57845190c246681f4d83a73e1f96f200fed6bfe97b7273ab5d30618b7782cd442e68e8c9e37971792dfd6366dcf21b3b3bdbb1a8bc979 WHIRLPOOL d3e45dd7eb7070aca8d9bbc55d235f31a2955b682f1f0ae145b14db8dda69397fb840beadd7c0631bee0560f6bb3bad23a0abbc9571bab4df323136dd1c1c122
|
||||
|
@ -0,0 +1,15 @@
|
||||
Export gf_isom_set_pixel_aspect_ratio.
|
||||
media-video/x264-encoder needs it and this funcion used to be exported.
|
||||
|
||||
diff --git a/src/isomedia/isom_write.c b/src/isomedia/isom_write.c
|
||||
index e935acc..9841d85 100644
|
||||
--- a/src/isomedia/isom_write.c
|
||||
+++ b/src/isomedia/isom_write.c
|
||||
@@ -1270,6 +1270,7 @@ GF_Err gf_isom_set_visual_info(GF_ISOFile *movie, u32 trackNumber, u32 StreamDes
|
||||
}
|
||||
}
|
||||
|
||||
+GF_EXPORT
|
||||
GF_Err gf_isom_set_pixel_aspect_ratio(GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 hSpacing, u32 vSpacing)
|
||||
{
|
||||
GF_Err e;
|
@ -0,0 +1,80 @@
|
||||
Index: gpac-0.5.2/configure
|
||||
===================================================================
|
||||
--- gpac-0.5.2.orig/configure
|
||||
+++ gpac-0.5.2/configure
|
||||
@@ -101,6 +101,7 @@ has_xmlrpc="no"
|
||||
has_openjpeg="no"
|
||||
gprof_build="no"
|
||||
static_build="no"
|
||||
+static_libs="no"
|
||||
want_pic="no"
|
||||
want_gcov="no"
|
||||
has_joystick="no"
|
||||
@@ -248,6 +249,7 @@ GPAC configuration options:
|
||||
--enable-amr-wb enable AMR WB library
|
||||
--enable-amr enable both AMR NB and WB libraries
|
||||
--enable-static-bin GPAC static build
|
||||
+ --enable-static-lib GPAC static libraries build
|
||||
--static-mp4box configure for static linking of MP4Box.
|
||||
--enable-depth enables depth handling in the compositor
|
||||
|
||||
@@ -1775,6 +1777,8 @@ for opt do
|
||||
;;
|
||||
--enable-static-bin) static_build="yes";
|
||||
;;
|
||||
+ --enable-static-lib) static_libs="yes";
|
||||
+ ;;
|
||||
--disable-ipv6) has_ipv6="no"
|
||||
;;
|
||||
--disable-wx) has_wx="no"
|
||||
@@ -2452,6 +2456,7 @@ echo "** GPAC $version rev$revision Core
|
||||
echo "debug version: $debuginfo"
|
||||
echo "GProf enabled: $gprof_build"
|
||||
echo "Static build enabled: $static_build"
|
||||
+echo "Static libs build enabled: $static_libs"
|
||||
echo "Memory tracking enabled: $use_memory_tracking"
|
||||
echo "Use standard memory allocator: $use_std_alloc"
|
||||
echo "Fixed-Point Version: $use_fixed_point"
|
||||
@@ -3064,6 +3069,7 @@ echo "CONFIG_AMR_WB_FT=$has_amr_wb" >> c
|
||||
echo "DEBUGBUILD=$debuginfo" >> config.mak
|
||||
echo "GPROFBUILD=$gprof_build" >> config.mak
|
||||
echo "STATICBUILD=$static_build" >> config.mak
|
||||
+echo "STATICLIBS=$static_libs" >> config.mak
|
||||
|
||||
echo "CONFIG_IPV6=$has_ipv6" >> config.mak
|
||||
if test "$has_ipv6" = "yes" ; then
|
||||
Index: gpac-0.5.2/Makefile
|
||||
===================================================================
|
||||
--- gpac-0.5.2.orig/Makefile
|
||||
+++ gpac-0.5.2/Makefile
|
||||
@@ -203,7 +203,9 @@ ifeq ($(GPAC_ENST), yes)
|
||||
$(INSTALL) $(INSTFLAGS) -m 644 $(SRC_PATH)/include/gpac/enst/*.h "$(DESTDIR)$(prefix)/include/gpac/enst"
|
||||
endif
|
||||
mkdir -p "$(DESTDIR)$(prefix)/$(libdir)"
|
||||
+ifeq ($(STATICLIBS),yes)
|
||||
$(INSTALL) $(INSTFLAGS) -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(prefix)/$(libdir)"
|
||||
+endif
|
||||
$(MAKE) installdylib
|
||||
|
||||
uninstall-lib:
|
||||
Index: gpac-0.5.2/src/Makefile
|
||||
===================================================================
|
||||
--- gpac-0.5.2.orig/src/Makefile
|
||||
+++ gpac-0.5.2/src/Makefile
|
||||
@@ -606,12 +606,16 @@ compositor: $(LIBGPAC_COMPOSITOR)
|
||||
@echo "OBJS $(OBJS)"
|
||||
@echo "LIBS $(EXTRALIBS)"
|
||||
ifeq ($(CONFIG_DARWIN),yes)
|
||||
+ifeq ($(STATICLIBS),yes)
|
||||
$(LIBTOOL) -s -o ../bin/gcc/libgpac_static.a $(OBJS)
|
||||
$(RANLIB) ../bin/gcc/libgpac_static.a
|
||||
+endif
|
||||
$(CC) $(SHFLAGS) $(LD_SONAME) $(LDFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
|
||||
else
|
||||
+ifeq ($(STATICLIBS),yes)
|
||||
$(AR) cr ../bin/gcc/libgpac_static.a $(OBJS)
|
||||
$(RANLIB) ../bin/gcc/libgpac_static.a
|
||||
+endif
|
||||
$(CC) $(SHFLAGS) $(LD_SONAME) $(LDFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
|
||||
ifeq (,$(findstring yes, $(CONFIG_WIN32)))
|
||||
mv $@ $@.$(VERSION_SONAME)
|
@ -0,0 +1,85 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 62b7850..ff4b589 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -219,7 +219,9 @@ ifeq ($(GPAC_ENST), yes)
|
||||
$(INSTALL) $(INSTFLAGS) -m 644 $(SRC_PATH)/include/gpac/enst/*.h "$(DESTDIR)$(prefix)/include/gpac/enst"
|
||||
endif
|
||||
mkdir -p "$(DESTDIR)$(prefix)/$(libdir)"
|
||||
+ifeq ($(STATICLIBS),yes)
|
||||
$(INSTALL) $(INSTFLAGS) -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(prefix)/$(libdir)"
|
||||
+endif
|
||||
$(MAKE) installdylib
|
||||
|
||||
uninstall-lib:
|
||||
diff --git a/configure b/configure
|
||||
index df00dff..561bcd3 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -101,6 +101,7 @@ has_xmlrpc="no"
|
||||
has_openjpeg="no"
|
||||
gprof_build="no"
|
||||
static_build="no"
|
||||
+static_libs="no"
|
||||
want_pic="no"
|
||||
want_gcov="no"
|
||||
has_joystick="no"
|
||||
@@ -252,6 +253,7 @@ GPAC configuration options:
|
||||
--enable-amr-wb enable AMR WB library
|
||||
--enable-amr enable both AMR NB and WB libraries
|
||||
--enable-static-bin link statically against libgpac
|
||||
+ --enable-static-lib GPAC static libraries build
|
||||
--static-mp4box configure for static linking of MP4Box only.
|
||||
--enable-depth enables depth handling in the compositor
|
||||
|
||||
@@ -1849,6 +1851,8 @@ for opt do
|
||||
;;
|
||||
--enable-static-bin) static_build="yes";
|
||||
;;
|
||||
+ --enable-static-lib) static_libs="yes";
|
||||
+ ;;
|
||||
--disable-ipv6) has_ipv6="no"
|
||||
;;
|
||||
--disable-wx) has_wx="no"
|
||||
@@ -2525,6 +2529,7 @@ echo "** GPAC $version rev$revision Core Configuration **"
|
||||
echo "debug version: $debuginfo"
|
||||
echo "GProf enabled: $gprof_build"
|
||||
echo "Static build enabled: $static_build"
|
||||
+echo "Static libs build enabled: $static_libs"
|
||||
echo "Memory tracking enabled: $use_memory_tracking"
|
||||
echo "Fixed-Point Version: $use_fixed_point"
|
||||
echo "IPV6 Support: $has_ipv6"
|
||||
@@ -3133,6 +3138,7 @@ echo "DEBUGBUILD=$debuginfo" >> config.mak
|
||||
echo "GPROFBUILD=$gprof_build" >> config.mak
|
||||
echo "MP4BOX_STATIC=$static_mp4box" >> config.mak
|
||||
echo "STATICBUILD=$static_build" >> config.mak
|
||||
+echo "STATICLIBS=$static_libs" >> config.mak
|
||||
|
||||
echo "CONFIG_IPV6=$has_ipv6" >> config.mak
|
||||
if test "$has_ipv6" = "yes" ; then
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index ba9d9ab..89ea67f 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -610,17 +610,20 @@ compositor: $(LIBGPAC_COMPOSITOR)
|
||||
@echo "LIBS $(EXTRALIBS)"
|
||||
|
||||
ifeq ($(CONFIG_DARWIN),yes)
|
||||
-
|
||||
+ifeq ($(STATICLIBS),yes)
|
||||
$(LIBTOOL) -s -o ../bin/gcc/libgpac_static.a $(OBJS)
|
||||
$(RANLIB) ../bin/gcc/libgpac_static.a
|
||||
+endif
|
||||
ifneq ($(STATICBUILD),yes)
|
||||
$(CC) $(SHFLAGS) $(LD_SONAME) $(LDFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
|
||||
endif
|
||||
|
||||
else
|
||||
|
||||
+ifeq ($(STATICLIBS),yes)
|
||||
$(AR) cr ../bin/gcc/libgpac_static.a $(OBJS)
|
||||
$(RANLIB) ../bin/gcc/libgpac_static.a
|
||||
+endif
|
||||
ifneq ($(STATICBUILD),yes)
|
||||
$(CC) $(SHFLAGS) $(LD_SONAME) $(LDFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
|
||||
mv $@ $@.$(VERSION_SONAME)
|
@ -0,0 +1,115 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/gpac/gpac"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/gpac/gpac/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="GPAC is an implementation of the MPEG-4 Systems standard developed from scratch in ANSI C"
|
||||
HOMEPAGE="http://gpac.wp.mines-telecom.fr/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="a52 aac alsa debug dvb ffmpeg ipv6 jack jpeg jpeg2k mad opengl oss png pulseaudio sdl ssl static-libs theora truetype vorbis xml xvid"
|
||||
|
||||
RDEPEND="
|
||||
a52? ( media-libs/a52dec )
|
||||
aac? ( >=media-libs/faad2-2.0 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dvb? ( media-tv/linuxtv-dvb-apps )
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
jpeg? ( virtual/jpeg )
|
||||
mad? ( >=media-libs/libmad-0.15.1b )
|
||||
opengl? ( virtual/opengl media-libs/freeglut virtual/glu )
|
||||
>=media-libs/libogg-1.1
|
||||
png? ( >=media-libs/libpng-1.4 )
|
||||
vorbis? ( >=media-libs/libvorbis-1.1 )
|
||||
theora? ( media-libs/libtheora )
|
||||
truetype? ( >=media-libs/freetype-2.1.4 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.0 )
|
||||
xvid? ( >=media-libs/xvid-1.0.1 )
|
||||
sdl? ( media-libs/libsdl )
|
||||
jpeg2k? ( media-libs/openjpeg:0 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
x11-libs/libXt
|
||||
x11-libs/libX11
|
||||
x11-libs/libXv
|
||||
x11-libs/libXext"
|
||||
# disabled upstream, see applications/Makefile
|
||||
# wxwidgets? ( =x11-libs/wxGTK-2.8* )
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
my_use() {
|
||||
local flag="$1" pflag="${2:-$1}"
|
||||
if use ${flag}; then
|
||||
echo "--use-${pflag}=system"
|
||||
else
|
||||
echo "--use-${pflag}=no"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/110_all_implicitdecls.patch \
|
||||
"${FILESDIR}"/${PN}-0.5.2-static-libs.patch \
|
||||
"${FILESDIR}"/${PN}-0.5.2-gf_isom_set_pixel_aspect_ratio.patch
|
||||
sed -i -e "s:\(--disable-.*\)=\*):\1):" configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC CXX AR RANLIB
|
||||
|
||||
econf \
|
||||
--enable-svg \
|
||||
--enable-pic \
|
||||
--disable-amr \
|
||||
--use-js=no \
|
||||
--use-ogg=system \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable jack jack yes) \
|
||||
$(use_enable opengl) \
|
||||
$(use_enable oss oss-audio) \
|
||||
$(use_enable pulseaudio pulseaudio yes) \
|
||||
$(use_enable sdl) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable static-libs static-lib) \
|
||||
--disable-wx \
|
||||
$(my_use a52) \
|
||||
$(my_use aac faad) \
|
||||
$(my_use dvb dvbx) \
|
||||
$(my_use ffmpeg) \
|
||||
$(my_use jpeg) \
|
||||
$(my_use jpeg2k openjpeg) \
|
||||
$(my_use mad) \
|
||||
$(my_use png) \
|
||||
$(my_use theora) \
|
||||
$(my_use truetype ft) \
|
||||
$(my_use vorbis) \
|
||||
$(my_use xvid) \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--libdir="/$(get_libdir)" \
|
||||
--verbose
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake STRIP="true" DESTDIR="${D}" install
|
||||
emake STRIP="true" DESTDIR="${D}" install-lib
|
||||
dodoc AUTHORS BUGS Changelog README TODO
|
||||
dodoc doc/*.txt
|
||||
dohtml doc/*.html
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
Index: x264-snapshot-20150820-2245/configure
|
||||
===================================================================
|
||||
--- x264-snapshot-20150820-2245.orig/configure
|
||||
+++ x264-snapshot-20150820-2245/configure
|
||||
@@ -1086,7 +1086,7 @@ fi
|
||||
|
||||
if [ "$gpac" = "auto" -a "$lsmash" != "yes" ] ; then
|
||||
gpac="no"
|
||||
- GPAC_LIBS="-lgpac_static"
|
||||
+ GPAC_LIBS="-lgpac"
|
||||
cc_check "" -lz && GPAC_LIBS="$GPAC_LIBS -lz"
|
||||
if [ "$SYS" = "WINDOWS" ] ; then
|
||||
cc_check "" -lws2_32 && GPAC_LIBS="$GPAC_LIBS -lws2_32"
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit flag-o-matic multilib toolchain-funcs eutils
|
||||
|
||||
DESCRIPTION="A free commandline encoder for X264/AVC streams"
|
||||
HOMEPAGE="http://www.videolan.org/developers/x264.html"
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://git.videolan.org/x264.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
inherit versionator
|
||||
MY_P="x264-snapshot-$(get_version_component_range 3)-2245"
|
||||
SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="10bit avs custom-cflags ffmpeg ffmpegsource +interlaced mp4 +threads"
|
||||
|
||||
REQUIRED_USE="ffmpegsource? ( ffmpeg )"
|
||||
|
||||
RDEPEND="ffmpeg? ( virtual/ffmpeg )
|
||||
~media-libs/x264-${PV}[10bit=,interlaced=,threads=]
|
||||
ffmpegsource? ( media-libs/ffmpegsource )
|
||||
mp4? ( >=media-video/gpac-0.5.2 )"
|
||||
|
||||
ASM_DEP=">=dev-lang/yasm-1.2.0"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( ${ASM_DEP} )
|
||||
x86? ( ${ASM_DEP} )
|
||||
x86-fbsd? ( ${ASM_DEP} )
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/gpac.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
|
||||
# let upstream pick the optimization level by default
|
||||
use custom-cflags || filter-flags -O?
|
||||
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--system-libx264 \
|
||||
--host="${CHOST}" \
|
||||
--disable-lsmash \
|
||||
$(usex 10bit "--bit-depth=10" "") \
|
||||
$(usex avs "" "--disable-avs") \
|
||||
$(usex ffmpeg "" "--disable-lavf --disable-swscale") \
|
||||
$(usex ffmpegsource "" "--disable-ffms") \
|
||||
$(usex interlaced "" "--disable-interlaced") \
|
||||
$(usex mp4 "" "--disable-gpac") \
|
||||
$(usex threads "" "--disable-thread") || die
|
||||
|
||||
# this is a nasty workaround for bug #376925 for x264 that also applies
|
||||
# here, needed because as upstream doesn't like us fiddling with their CFLAGS
|
||||
if use custom-cflags; then
|
||||
local cflags
|
||||
cflags="$(grep "^CFLAGS=" config.mak | sed 's/CFLAGS=//')"
|
||||
cflags="${cflags//$(get-flag O)/}"
|
||||
cflags="${cflags//-O? /$(get-flag O) }"
|
||||
cflags="${cflags//-g /}"
|
||||
sed -i "s:^CFLAGS=.*:CFLAGS=${cflags//:/\\:}:" config.mak
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 21 Aug 2015 19:11:20 +0000
|
||||
Sat, 22 Aug 2015 21:11:11 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 21 Aug 2015 19:11:20 +0000
|
||||
Sat, 22 Aug 2015 21:11:12 +0000
|
||||
|
@ -1,14 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup test
|
||||
DEPEND=dev-libs/libltdl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] augeas? ( app-admin/augeas ) dbus? ( >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) iconv? ( >=virtual/libiconv-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) java? ( >=virtual/jdk-1.8.0 ) qt5? ( >=dev-qt/qtdeclarative-5.3 >=dev-qt/qtgui-5.3 >=dev-qt/qttest-5.3 >=dev-qt/qtwidgets-5.3 ) uname? ( sys-apps/coreutils ) systemd? ( sys-apps/systemd[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) yajl? ( >=dev-libs/yajl-1.0.11-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) doc? ( app-doc/doxygen ) test? ( >=dev-cpp/gtest-1.7.0 ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) java? ( >=dev-java/java-config-2.2.0 )
|
||||
DEPEND=dev-libs/libltdl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] augeas? ( app-admin/augeas ) dbus? ( >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) iconv? ( >=virtual/libiconv-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) java? ( >=virtual/jdk-1.8.0 ) qt5? ( >=dev-qt/qtdeclarative-5.3:5 >=dev-qt/qtgui-5.3:5 >=dev-qt/qttest-5.3:5 >=dev-qt/qtwidgets-5.3:5 ) uname? ( sys-apps/coreutils ) systemd? ( sys-apps/systemd[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) yajl? ( >=dev-libs/yajl-1.0.11-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) doc? ( app-doc/doxygen ) test? ( >=dev-cpp/gtest-1.7.0 ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) java? ( >=dev-java/java-config-2.2.0 )
|
||||
DESCRIPTION=Universal and secure framework to store config parameters in a hierarchical key-value pair mechanism
|
||||
EAPI=5
|
||||
HOMEPAGE=http://freedesktop.org/wiki/Software/Elektra
|
||||
IUSE=dbus doc qt5 static-libs test augeas iconv ini java simpleini syslog systemd tcl +uname xml yajl abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 elibc_FreeBSD java
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=dev-libs/libltdl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] augeas? ( app-admin/augeas ) dbus? ( >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) iconv? ( >=virtual/libiconv-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) java? ( >=virtual/jdk-1.8.0 ) qt5? ( >=dev-qt/qtdeclarative-5.3 >=dev-qt/qtgui-5.3 >=dev-qt/qttest-5.3 >=dev-qt/qtwidgets-5.3 ) uname? ( sys-apps/coreutils ) systemd? ( sys-apps/systemd[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) yajl? ( >=dev-libs/yajl-1.0.11-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) java? ( >=dev-java/java-config-2.2.0 )
|
||||
RDEPEND=dev-libs/libltdl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] augeas? ( app-admin/augeas ) dbus? ( >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) iconv? ( >=virtual/libiconv-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) java? ( >=virtual/jdk-1.8.0 ) qt5? ( >=dev-qt/qtdeclarative-5.3:5 >=dev-qt/qtgui-5.3:5 >=dev-qt/qttest-5.3:5 >=dev-qt/qtwidgets-5.3:5 ) uname? ( sys-apps/coreutils ) systemd? ( sys-apps/systemd[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) yajl? ( >=dev-libs/yajl-1.0.11-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) java? ( >=dev-java/java-config-2.2.0 )
|
||||
RESTRICT=test
|
||||
SLOT=0/0.8.12
|
||||
SRC_URI=ftp://ftp.markus-raab.org/elektra/releases/elektra-0.8.12.tar.gz
|
||||
_eclasses_=cmake-multilib e82cd2608890af2e6a4965cc715b0135 cmake-utils f474224ef49d530640a43a04ae94928e eutils 351a78113be5b393c09a2c948701ad36 flag-o-matic 02090c5a622458303e6bf68837ac6b96 java-pkg-opt-2 4a567b4a22dd2dc61b77c056d29353a5 java-utils-2 7c8af272d218f7b7df22fd16bb0bfb63 multibuild ce2c2ede0c914b77f5dfc4e2ff2d0249 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multilib-build c47eec09e82c8a750127ff2abf0745b1 multilib-minimal a93a9b4153a5f1c746bdd3b20ef9d834 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=97751ae2d29159b823c0ce82237840a4
|
||||
_md5_=9a3f7b339cb39dd4d2394ba2fd39eb56
|
||||
|
@ -1,12 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup test unpack
|
||||
DEPEND=dev-libs/libltdl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] augeas? ( app-admin/augeas ) dbus? ( >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) iconv? ( >=virtual/libiconv-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) java? ( >=virtual/jdk-1.8.0 ) qt5? ( >=dev-qt/qtdeclarative-5.3 >=dev-qt/qtgui-5.3 >=dev-qt/qttest-5.3 >=dev-qt/qtwidgets-5.3 ) uname? ( sys-apps/coreutils ) systemd? ( sys-apps/systemd[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) yajl? ( >=dev-libs/yajl-1.0.11-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) doc? ( app-doc/doxygen ) test? ( >=dev-cpp/gtest-1.7.0 ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) java? ( >=dev-java/java-config-2.2.0 ) >=dev-vcs/git-1.8.2.1
|
||||
DEPEND=dev-libs/libltdl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] augeas? ( app-admin/augeas ) dbus? ( >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) iconv? ( >=virtual/libiconv-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) java? ( >=virtual/jdk-1.8.0 ) qt5? ( >=dev-qt/qtdeclarative-5.3:5 >=dev-qt/qtgui-5.3:5 >=dev-qt/qttest-5.3:5 >=dev-qt/qtwidgets-5.3:5 ) uname? ( sys-apps/coreutils ) systemd? ( sys-apps/systemd[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) yajl? ( >=dev-libs/yajl-1.0.11-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) doc? ( app-doc/doxygen ) test? ( >=dev-cpp/gtest-1.7.0 ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) java? ( >=dev-java/java-config-2.2.0 ) >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=Universal and secure framework to store config parameters in a hierarchical key-value pair mechanism
|
||||
EAPI=5
|
||||
HOMEPAGE=http://freedesktop.org/wiki/Software/Elektra
|
||||
IUSE=dbus doc qt5 static-libs test augeas iconv ini java simpleini syslog systemd tcl +uname xml yajl abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 elibc_FreeBSD java
|
||||
LICENSE=BSD
|
||||
RDEPEND=dev-libs/libltdl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] augeas? ( app-admin/augeas ) dbus? ( >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) iconv? ( >=virtual/libiconv-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) java? ( >=virtual/jdk-1.8.0 ) qt5? ( >=dev-qt/qtdeclarative-5.3 >=dev-qt/qtgui-5.3 >=dev-qt/qttest-5.3 >=dev-qt/qtwidgets-5.3 ) uname? ( sys-apps/coreutils ) systemd? ( sys-apps/systemd[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) yajl? ( >=dev-libs/yajl-1.0.11-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) java? ( >=dev-java/java-config-2.2.0 )
|
||||
RDEPEND=dev-libs/libltdl:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] augeas? ( app-admin/augeas ) dbus? ( >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) iconv? ( >=virtual/libiconv-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) java? ( >=virtual/jdk-1.8.0 ) qt5? ( >=dev-qt/qtdeclarative-5.3:5 >=dev-qt/qtgui-5.3:5 >=dev-qt/qttest-5.3:5 >=dev-qt/qtwidgets-5.3:5 ) uname? ( sys-apps/coreutils ) systemd? ( sys-apps/systemd[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) yajl? ( >=dev-libs/yajl-1.0.11-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) java? ( >=dev-java/java-config-2.2.0 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
_eclasses_=cmake-multilib e82cd2608890af2e6a4965cc715b0135 cmake-utils f474224ef49d530640a43a04ae94928e eutils 351a78113be5b393c09a2c948701ad36 flag-o-matic 02090c5a622458303e6bf68837ac6b96 git-r3 1502b9838d043db47700b8120083e637 java-pkg-opt-2 4a567b4a22dd2dc61b77c056d29353a5 java-utils-2 7c8af272d218f7b7df22fd16bb0bfb63 multibuild ce2c2ede0c914b77f5dfc4e2ff2d0249 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multilib-build c47eec09e82c8a750127ff2abf0745b1 multilib-minimal a93a9b4153a5f1c746bdd3b20ef9d834 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=57e7424ea4a1950e37f1024dfcfc716b
|
||||
_md5_=e5841e418e548444a1206d3ccdb02528
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=static? ( sys-apps/util-linux[static-libs] >=sys-libs/ncurses-5.2[static-libs] jpeg? ( virtual/jpeg:0[static-libs] ) ntfs? ( sys-fs/ntfs3g[static-libs] ) reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8[static-libs] ) >=sys-fs/e2fsprogs-1.35[static-libs] sys-libs/zlib[static-libs] !arm? ( ewf? ( app-forensics/libewf:=[static-libs] ) ) ) !static? ( sys-apps/util-linux >=sys-libs/ncurses-5.2 jpeg? ( virtual/jpeg:0 ) ntfs? ( sys-fs/ntfs3g ) reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 ) >=sys-fs/e2fsprogs-1.35 sys-libs/zlib !arm? ( ewf? ( app-forensics/libewf:= ) ) qt4? ( dev-qt/qtgui:4 ) ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=Checks and undeletes partitions + PhotoRec, signature based recovery tool
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.cgsecurity.org/wiki/TestDisk
|
||||
IUSE=ewf jpeg ntfs reiserfs static qt4
|
||||
KEYWORDS=~amd64 ~arm ~ppc ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=!static? ( static? ( sys-apps/util-linux[static-libs] >=sys-libs/ncurses-5.2[static-libs] jpeg? ( virtual/jpeg:0[static-libs] ) ntfs? ( sys-fs/ntfs3g[static-libs] ) reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8[static-libs] ) >=sys-fs/e2fsprogs-1.35[static-libs] sys-libs/zlib[static-libs] !arm? ( ewf? ( app-forensics/libewf:=[static-libs] ) ) ) !static? ( sys-apps/util-linux >=sys-libs/ncurses-5.2 jpeg? ( virtual/jpeg:0 ) ntfs? ( sys-fs/ntfs3g ) reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 ) >=sys-fs/e2fsprogs-1.35 sys-libs/zlib !arm? ( ewf? ( app-forensics/libewf:= ) ) qt4? ( dev-qt/qtgui:4 ) ) )
|
||||
REQUIRED_USE=static? ( !qt4 )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.cgsecurity.org/testdisk-6.14.tar.bz2
|
||||
_eclasses_=autotools 8056957fdccf2b3cd6e282a4b4551d1a autotools-utils 0bf099a6e3dfeaf20a7a94504d8dd896 eutils 351a78113be5b393c09a2c948701ad36 flag-o-matic 02090c5a622458303e6bf68837ac6b96 libtool 7f78cd7d403808a350c9ae23f5821fb4 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361
|
||||
_md5_=bcf6d32a0846ebaacd70cd0286439f47
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=static? ( sys-apps/util-linux[static-libs] >=sys-libs/ncurses-5.2[static-libs] jpeg? ( virtual/jpeg:0[static-libs] ) ntfs? ( sys-fs/ntfs3g[static-libs] ) reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8[static-libs] ) >=sys-fs/e2fsprogs-1.35[static-libs] sys-libs/zlib[static-libs] !arm? ( ewf? ( app-forensics/libewf:=[static-libs] ) ) ) !static? ( sys-apps/util-linux >=sys-libs/ncurses-5.2 jpeg? ( virtual/jpeg:0 ) ntfs? ( sys-fs/ntfs3g ) reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 ) >=sys-fs/e2fsprogs-1.35 sys-libs/zlib !arm? ( ewf? ( app-forensics/libewf:= ) ) qt4? ( dev-qt/qtgui:4 ) ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=Checks and undeletes partitions + PhotoRec, signature based recovery tool
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.cgsecurity.org/wiki/TestDisk
|
||||
IUSE=ewf jpeg ntfs reiserfs static qt4
|
||||
KEYWORDS=~amd64 ~arm ~ppc ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=!static? ( static? ( sys-apps/util-linux[static-libs] >=sys-libs/ncurses-5.2[static-libs] jpeg? ( virtual/jpeg:0[static-libs] ) ntfs? ( sys-fs/ntfs3g[static-libs] ) reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8[static-libs] ) >=sys-fs/e2fsprogs-1.35[static-libs] sys-libs/zlib[static-libs] !arm? ( ewf? ( app-forensics/libewf:=[static-libs] ) ) ) !static? ( sys-apps/util-linux >=sys-libs/ncurses-5.2 jpeg? ( virtual/jpeg:0 ) ntfs? ( sys-fs/ntfs3g ) reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 ) >=sys-fs/e2fsprogs-1.35 sys-libs/zlib !arm? ( ewf? ( app-forensics/libewf:= ) ) qt4? ( dev-qt/qtgui:4 ) ) )
|
||||
REQUIRED_USE=static? ( !qt4 )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.cgsecurity.org/testdisk-7.0.tar.bz2
|
||||
_eclasses_=autotools 8056957fdccf2b3cd6e282a4b4551d1a autotools-utils 0bf099a6e3dfeaf20a7a94504d8dd896 eutils 351a78113be5b393c09a2c948701ad36 flag-o-matic 02090c5a622458303e6bf68837ac6b96 libtool 7f78cd7d403808a350c9ae23f5821fb4 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361
|
||||
_md5_=fae486e319fb3b953a6248b56abc7060
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue