parent
0c6f30779c
commit
11a6da6ba6
@ -0,0 +1,13 @@
|
||||
diff -urN libwps-0.2.6.old//src/lib/libwps_internal.h libwps-0.2.6/src/lib/libwps_internal.h
|
||||
--- libwps-0.2.6.old//src/lib/libwps_internal.h 2012-05-28 13:59:43.855727293 +0200
|
||||
+++ libwps-0.2.6/src/lib/libwps_internal.h 2012-05-28 14:00:16.373727679 +0200
|
||||
@@ -25,6 +25,9 @@
|
||||
#include <libwpd-stream/libwpd-stream.h>
|
||||
#include <libwpd/libwpd.h>
|
||||
#include <string>
|
||||
+#ifdef DEBUG
|
||||
+#include <stdio.h>
|
||||
+#endif
|
||||
|
||||
#if defined(_MSC_VER) || defined(__DJGPP__)
|
||||
typedef signed char int8_t;
|
@ -1,4 +1,5 @@
|
||||
DIST jffi-0.6.0.2.tar.bz2 1855529 RMD160 be9ecd77eb17fb80c75f8dfe21f1bdd62d34596b SHA1 b957f8b52573f4e96a3c242d016cb7fc100a3399 SHA256 a2e5cd14484027807a2ab757d8010fb9903d33a4a0e5e1f045ad8de806a0cb24
|
||||
DIST jffi-1.0.0.tar.gz 1627422 RMD160 0b20a343239b8480e1b6ee787288862b02a4f575 SHA1 fa7d9c3ca58afea36e9ef643f882c828e7ce96d0 SHA256 9950edbaf897cc1fa10fb944336a86ceba92674f54a1eaf59b2ab4881825d25e
|
||||
DIST jffi-1.0.11.tar.gz 1899655 RMD160 7780cc45e4c777d5d70814bc3a25bbd96bb9146e SHA1 744fa907573b37801c9a4085f83cdc8b1ed2f2c6 SHA256 b66781a07e095dbaf9d568b77762e06215da4458d963956ea22dd5adb5f3126a
|
||||
DIST jffi-1.2.2.tar.gz 1759433 RMD160 58b3ba123b9578952ada20dff9510f1e6091faec SHA1 3a79e197c9a9cf7df95b80e2d38c3bd27ca21799 SHA256 c4afe6e3c67f600f9f838c8526a711c5c7859d3d05f7ccb6e7926ef5e484edbd
|
||||
DIST jffi-git-0.7_pre20100131.tgz 1484965 RMD160 8efaecd9575926e268a3b63160a196f6ea466ce2 SHA1 b58cd19600acf6ea8a2adf04b1f1d72b7f84bce5 SHA256 b2256550a38cd120cd61bebd61a76dd373994b62a1c31191c74aec3a0970e30a
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/jni/GNUmakefile b/jni/GNUmakefile
|
||||
index efe6230..25053c7 100755
|
||||
--- a/jni/GNUmakefile
|
||||
+++ b/jni/GNUmakefile
|
||||
@@ -64,7 +64,7 @@ JFLAGS = -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG
|
||||
OFLAGS = -O2 $(JFLAGS)
|
||||
|
||||
# MacOS headers aren't completely warning free, so turn them off
|
||||
-WERROR = -Werror
|
||||
+WERROR =
|
||||
ifneq ($(OS),darwin)
|
||||
WFLAGS += -Wundef $(WERROR)
|
||||
endif
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jffi/jffi-1.2.2.ebuild,v 1.1 2012/05/28 10:06:09 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 versionator vcs-snapshot
|
||||
|
||||
DESCRIPTION="An optimized Java interface to libffi"
|
||||
HOMEPAGE="http://github.com/jnr/jffi"
|
||||
SRC_URI="https://github.com/jnr/jffi/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 LGPL-3 )"
|
||||
SLOT="1.2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
virtual/libffi"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
dev-java/junit:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
epatch "${FILESDIR}"/${P}_no-werror.patch
|
||||
|
||||
find "${WORKDIR}" -iname '*.jar' -delete
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
src_compile() {
|
||||
# generate Version.java
|
||||
cat <<-EOF > src/main/java/com/kenai/jffi/Version.java
|
||||
package com.kenai.jffi;
|
||||
public final class Version {
|
||||
private Version() {}
|
||||
public static final int MAJOR = $(get_version_component_range 1);
|
||||
public static final int MINOR = $(get_version_component_range 2);
|
||||
public static final int MICRO = $(get_version_component_range 3);
|
||||
}
|
||||
EOF
|
||||
|
||||
java-pkg-2_src_compile
|
||||
|
||||
# generate headers
|
||||
mkdir -p build/jni
|
||||
javah -d build/jni -classpath target/classes \
|
||||
com.kenai.jffi.Foreign \
|
||||
com.kenai.jffi.ObjectBuffer \
|
||||
com.kenai.jffi.Version \
|
||||
|| die
|
||||
|
||||
#build native library.
|
||||
local args=(
|
||||
SRC_DIR=jni
|
||||
JNI_DIR=jni
|
||||
BUILD_DIR=build/jni
|
||||
VERSION=$(get_version_component_range 1-2)
|
||||
USE_SYSTEM_LIBFFI=1
|
||||
-f jni/GNUmakefile
|
||||
)
|
||||
emake "${args[@]}"
|
||||
}
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
src_test() {
|
||||
# build native test library
|
||||
emake BUILD_DIR=build -f libtest/GNUmakefile
|
||||
|
||||
_JAVA_OPTIONS="-Djffi.boot.library.path=build/jni" \
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cat <<-EOF > boot.properties
|
||||
jffi.boot.library.path = ${JAVA_PKG_LIBDEST}
|
||||
EOF
|
||||
jar -uf target/${PN}.jar boot.properties || die
|
||||
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
java-pkg_doso build/jni/lib${PN}-$(get_version_component_range 1-2).so
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST jnr-constants-0.8.2.tar.gz 110511 RMD160 0782daf04bba7284012b68418dd2f93791eba3d5 SHA1 2c6925b670d6723b1bbfc98081e6d1eae102ccbe SHA256 924b242877a8472e5828a5ae5f9d5a1f0c0981b7629cd68600d76c9536f2f323
|
||||
DIST jnr-constants-0.8.3.tar.gz 110622 RMD160 b9fd8ea9d552cf76a361e2c55b5e1971ef7cb881 SHA1 f7ec88ed681fd8c67c8ab6475f3b93bc33448b58 SHA256 e4dec305fa7c703dd9a693f9d417d7a16cec8b690c122078fb3518b0f4c258c8
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-constants/jnr-constants-0.8.3.ebuild,v 1.1 2012/05/28 14:24:19 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 vcs-snapshot
|
||||
|
||||
DESCRIPTION="A set of platform constants (e.g. errno values)"
|
||||
HOMEPAGE="https://github.com/jnr/jnr-constants"
|
||||
SRC_URI="https://github.com/jnr/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 LGPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.5
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
>=dev-java/junit-4.8:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
}
|
||||
|
||||
JAVA_ANT_ENCODING="UTF-8"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST jnr-ffi-0.5.10.tar.gz 559174 RMD160 9c7794644b7f22b84859f847a2e13e359123799b SHA1 55b0af8b65353373a799fbad7152e98676739d20 SHA256 6d13ae0ca2a63bcee0fcdb81263d676925658b0b466769e893279b453b636c9a
|
||||
DIST jnr-ffi-0.6.0.tar.gz 97712 RMD160 cb0ed527d24b055d211bf34371d2f105b2eb0ca5 SHA1 8ca1fc9ceed63eec6a3a656cc9e2633c9d88f3d8 SHA256 91f7a1c21020892332849b9edc5ab7ad98dd7fabe03756fe0a48189ab796a24a
|
||||
DIST jnr-ffi-0.7.4.tar.gz 130458 RMD160 4a9827286b080de80f04cbef510626e4eb765e58 SHA1 a771f9155d633b473c02b6a48b5ee611f56b9923 SHA256 8c17175a5aaaf5fa2ceea255606a745f864b0f81411a75b6a94141dbe50c0a3c
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-ffi/jnr-ffi-0.7.4.ebuild,v 1.1 2012/05/28 12:37:01 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 vcs-snapshot
|
||||
|
||||
DESCRIPTION="An abstracted interface to invoking native functions from java"
|
||||
HOMEPAGE="https://github.com/jnr/jnr-ffi"
|
||||
SRC_URI="https://github.com/jnr/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 LGPL-3 )"
|
||||
SLOT="0.7"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/jffi:1.2
|
||||
dev-java/jnr-x86asm:1.0
|
||||
dev-java/asm:4"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
>=dev-java/junit-4.8:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
|
||||
JAVA_ANT_ENCODING="UTF-8"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="asm-4,jffi-1.2,jnr-x86asm-1.0"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
src_test() {
|
||||
# Fails, upstream pom has ignore test failures enabled.
|
||||
rm -v src/test/java/jnr/ffi/StringArrayTest.java || die
|
||||
|
||||
# build native test library
|
||||
emake BUILD_DIR=build -f libtest/GNUmakefile
|
||||
|
||||
_JAVA_OPTIONS="-Djnr.ffi.library.path=build" \
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST jnr-posix-1.1.4.tar.gz 195235 RMD160 ff676df8f8192ce8fdc9743b29c5318ff1fb9439 SHA1 fd7e262510196b7d54eea1d843cd688f76907ce8 SHA256 efac5b9239a2d89036d26e647b55a3dac52eb0383d133ca44914de8c35d9006f
|
||||
DIST jnr-posix-1.1.8.tar.gz 206617 RMD160 a668159c4f51276280961443a087036c5e2256fe SHA1 d54f8dd3d681d7df115c355189e830a39fa9dbea SHA256 c66c469cd97ed5a1f1cee10f71ea4a50c18c96f47019d93508aaef3d2a6fa9b1
|
||||
DIST jnr-posix-2.0.0.tar.gz 54286 RMD160 919671a430b52988b95cc563cfc6f15ce8182dfb SHA1 668a039b2da45b5b3ef12ab8d300e59484792a58 SHA256 e7121253092afd81adf2a28225ee92b5adb8bcb36e3d9aa159b5861fb8b27400
|
||||
DIST jnr-posix-2.1.tar.gz 59192 RMD160 70ba7c6b2ca56d0d07a1387519a2361baa9cf43e SHA1 7f043d7641c773761ba42df6e8a107472f5a0767 SHA256 f7d89fa5066f9bac80ec8a6b8c8f9e99f66fa2fe898a54ff4459ce8e1190a10c
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-posix/jnr-posix-2.1.ebuild,v 1.1 2012/05/28 15:18:57 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Lightweight cross-platform POSIX emulation layer for Java"
|
||||
HOMEPAGE="https://github.com/jnr/jnr-posix"
|
||||
SRC_URI="https://github.com/jnr/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( CPL-1.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="2.1"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/jnr-constants:0
|
||||
dev-java/jnr-ffi:0.7"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
test? (
|
||||
dev-java/ant-junit
|
||||
dev-java/junit:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
|
||||
JAVA_ANT_ENCODING="UTF-8"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="jnr-constants,jnr-ffi-0.7"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
src_test() {
|
||||
# Fails, upstream pom has ignore test failures enabled.
|
||||
rm -v src/test/java/jnr/posix/FileStatTest.java || die
|
||||
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
dodoc README.txt
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST oasis-0.3.0~rc5.tar.gz 294647 RMD160 cd6057f9b8d7c4c8fc1ecdaccc6d469faad96531 SHA1 a41c75341bab01dba6214617a1a8d64a33af1c34 SHA256 1e3eb1056276cb40b1e90d3b46e74c1bdc42f3f876047ab122d441b45dd391de
|
||||
DIST oasis-0.3.0~rc6.tar.gz 294996 RMD160 267e400c1d087d655add4e288178db35251fde66 SHA1 0d9eda43d7274523e8b03174f5104951190c586f SHA256 d077717ced28e318020e1a2dda7839f81f0f71c121929786e4e0162554a20ef4
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/oasis/oasis-0.3.0_rc6.ebuild,v 1.1 2012/05/28 12:40:43 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
OASIS_BUILD_TESTS=1
|
||||
OASIS_BUILD_DOCS=1
|
||||
|
||||
inherit oasis
|
||||
|
||||
MY_P=${P/_/\~}
|
||||
DESCRIPTION="OASIS is a tool to integrate a configure, build and install system in OCaml project"
|
||||
HOMEPAGE="http://oasis.forge.ocamlcore.org/index.php"
|
||||
SRC_URI="http://forge.ocamlcore.org/frs/download.php/880/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1-linking-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-ml/ocaml-data-notation-0.0.3"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ml/ocamlify
|
||||
dev-ml/ocamlmod
|
||||
test? (
|
||||
>=dev-ml/ocaml-fileutils-0.4.2
|
||||
>=dev-ml/ounit-1.1.0
|
||||
>=dev-ml/ocaml-expect-0.0.2
|
||||
dev-ml/extlib
|
||||
)"
|
||||
|
||||
STRIP_MASK="*/bin/*"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
DOCS=( "README.txt" "TODO.txt" "AUTHORS.txt" "CHANGES.txt" )
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/DateTime-Format-Strptime/DateTime-Format-Strptime-1.510.0.ebuild,v 1.1 2012/05/28 12:36:27 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DROLSKY
|
||||
MODULE_VERSION=1.51
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Parse and Format DateTimes using Strptime"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/DateTime-0.44
|
||||
>=dev-perl/DateTime-Locale-0.45
|
||||
>=dev-perl/DateTime-TimeZone-0.79
|
||||
>=dev-perl/Params-Validate-0.91"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.31"
|
||||
|
||||
SRC_TEST=do
|
@ -1 +1,2 @@
|
||||
DIST DateTime-Format-Strptime-1.5000.tar.gz 27707 RMD160 70ec474a8b57b7b36bf99a6378fd56fa2be3eff2 SHA1 8040a3e3e89340e5e240e3ef7cf1871cc1e4e238 SHA256 1ef191ac4adff361e873c88e27a432b03398815248e36a9e514ee71e17cea554
|
||||
DIST DateTime-Format-Strptime-1.51.tar.gz 26632 RMD160 89424b4a73226f269023c20d04b61827feecb2ea SHA1 e859aa9e4192623a628ffa5fbffdd82932e44986 SHA256 9c499ff101fc54516a10d0b737ed31ba016fd3ede8fe4798eaf25841e3d56267
|
||||
|
@ -1 +1,2 @@
|
||||
DIST Math-Random-MT-1.13.tar.gz 9589 RMD160 e4779fb05847e5dad82411513dfeac14a3ee034a SHA1 5089b67a12c35bc7447166168736802973d18740 SHA256 988c38d962529a266ba5699734f91a08e29eafd5bfee1819beebe8c08e90deef
|
||||
DIST Math-Random-MT-1.14.tar.gz 10480 RMD160 123057e90e29e4a277a0b25a9026884d17f02c94 SHA1 0aafe41f4641881066efcc4efa2bed51790cdb1b SHA256 aef7190bdf8920805ca4c81dd638383b18de80a15f038b78577fb0e8b4efc23f
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Math-Random-MT/Math-Random-MT-1.140.0.ebuild,v 1.1 2012/05/28 11:12:23 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=FANGLY
|
||||
MODULE_VERSION=1.14
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="The Mersenne Twister PRNG"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST=do
|
@ -0,0 +1 @@
|
||||
DIST StarCluster-0.93.3.tar.gz 2334885 SHA256 fcda894be33ba309b1c7a94d6c28f1674c3f05ec756133138a39db2138d080d0 SHA512 f81cfc528a00f45f6e720645f44666947f1c51dd3453ac5d78b201d6c3a3cd9f6d97cb7a2802eaf04603d9a19810045ca6071722c9af884ba7e407ffc99078ea WHIRLPOOL b6bfde98f3b660211c5e08965cc6ee31fc9038ec4039ef5aa12ab9c5d474f60f66c1745fb93cce7e05cb361cff6091f60714168ffca81e4033f2fecc5d9d448f
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer><email>tampakrap@gentoo.org</email></maintainer>
|
||||
<maintainer>
|
||||
<email>johneed@hotmail.com,della5@iinet.com.au</email>
|
||||
<name>Ian Delaney aka idella4 proxy maintainer</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>jtriley@mit.edu</email>
|
||||
<name>Justin Riley</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="epydoc">Enable build of apidocs in html using epydoc</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/starcluster/starcluster-0.93.3.ebuild,v 1.1 2012/05/28 12:54:05 tampakrap Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils bash-completion-r1
|
||||
MY_PN="StarCluster"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Utility for creating / managing general purpose computing clusters"
|
||||
HOMEPAGE="http://web.mit.edu/star/cluster"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="doc bash-completion epydoc"
|
||||
|
||||
RDEPEND=">=dev-python/ssh-1.7.13
|
||||
>=dev-python/boto-2.3.0
|
||||
>=dev-python/jinja-2.6
|
||||
>=dev-python/decorator-3.1.1
|
||||
>=dev-python/pyasn1-0.0.13_beta
|
||||
>=dev-python/workerpool-0.9.2"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx
|
||||
dev-python/epydoc
|
||||
dev-python/matplotlib )
|
||||
dev-python/setuptools"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
use doc && emake -C docs/sphinx html
|
||||
|
||||
mkdocs() {
|
||||
local exit_status=0
|
||||
local msg="build with epydoc failed"
|
||||
pushd docs/epydoc/
|
||||
PATH=$PATH:./ PYTHONPATH="${S}/build-${PYTHON_ABI}/lib" ./build.sh || exit_status=1
|
||||
[[ $exit_status != 0 ]] && eerror "$msg"
|
||||
popd sets
|
||||
return $exit_status
|
||||
}
|
||||
use epydoc && python_execute_function -f mkdocs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
dobashcomp completion/${PN}-completion.sh ${PN}
|
||||
|
||||
use doc && dohtml -r docs/sphinx/_build/html/
|
||||
if use epydoc; then
|
||||
docompress -x usr/share/doc/${P}/apidocs/api-objects.txt
|
||||
insinto usr/share/doc/${P}/
|
||||
doins -r docs/apidocs/
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
distutils_src_test -v ${PN}/tests
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST workerpool-0.9.2.tar.gz 7747 SHA256 ab2eaf05e236140c62c7411d13ecc4ddedc365966282719a35afc53043c00f82 SHA512 d5ce36ff48b297adb40baf40a53823cc8b6e39b0c7eb880541dffb5ea1d0849e50c344e63f1ac3089d51fc1fe6e73ff2a26df03f9d68f24980222fe3ef7f01c5 WHIRLPOOL 093221fb442abe017591fa79b85abbd1824b63ec89aaf62eb87cb50975dd5164cd3a1ef36c51336e2dcb97aef3fdd18695691e73bfaaa168077172bcc5a49db3
|
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer><email>tampakrap@gentoo.org</email></maintainer>
|
||||
<maintainer>
|
||||
<email>johneed@hotmail.com,della5@iinet.com.au</email>
|
||||
<name>Ian Delaney aka idella4 proxy maintainer</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>jtriley@mit.edu</email>
|
||||
<name>Justin Riley</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/workerpool/workerpool-0.9.2.ebuild,v 1.1 2012/05/28 12:50:14 tampakrap Exp $
|
||||
|
||||
EAPI=4
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython"
|
||||
DISTUTILS_SRC_TEST=nosetests
|
||||
PYTHON_TESTS_RESTRICTED_ABIS="3.*"
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Module for distributing jobs to a pool of worker threads."
|
||||
HOMEPAGE="http://github.com/shazow/workerpool"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test examples"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
src_test() {
|
||||
distutils_src_test -v test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use examples; then
|
||||
docompress -x usr/share/doc/${P}/samples
|
||||
insinto usr/share/doc/${P}/
|
||||
doins -r samples
|
||||
fi
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DIST facets-1.4.5.gem 971264 RMD160 9ce13b80b3e60c77e362548d9fef698510eabe7b SHA1 3f299af9c9c1c57177780d63b4ba1a33bab1a1ac SHA256 15b4f2fdb3088b3587b10ba7feb011659faf7e8696c07234897be5a66be3c3e5
|
||||
DIST facets-2.8.4.gem 254976 RMD160 2eb1315d640488cb13eb75d93e211bd300e32c13 SHA1 6ee28fd0e5793def389d9162fbac1cf28989e653 SHA256 4c87b88e57926697b69e42156e9e2841ae1997a4abb02a0128be9550dad39706
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facets/facets-1.4.5.ebuild,v 1.7 2012/05/01 18:24:13 armin76 Exp $
|
||||
|
||||
inherit ruby gems
|
||||
|
||||
IUSE=""
|
||||
|
||||
# upstream switched to a strange naming scheme
|
||||
# MY_P=$PN-${PV:0:4}"."${PV:4:2}"."${PV:6:2}
|
||||
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
DESCRIPTION="Facets is an extension library adding extra functionality to Ruby"
|
||||
HOMEPAGE="http://facets.rubyforge.org/"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc64 x86"
|
||||
|
||||
DEPEND=">=dev-lang/ruby-1.8.5"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facets/facets-2.8.4-r1.ebuild,v 1.6 2012/05/01 18:24:14 armin76 Exp $
|
||||
|
||||
EAPI=2
|
||||
# ree18 -> test failure on hash ordering
|
||||
# jruby -> many failures and jruby crash
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="AUTHORS HISTORY.rdoc NOTES README.rdoc demo/hook.rdoc demo/scenario_require.rdoc"
|
||||
RUBY_FAKEGEM_REQUIRE_PATHS="lib/core lib/more"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Facets is an extension library adding extra functionality to Ruby"
|
||||
HOMEPAGE="http://facets.rubyforge.org/"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
epatch "${FILESDIR}/${P}-fix-tests.patch"
|
||||
|
||||
mkdir -p doc/rdoc || die "Unable to make directory for documentation."
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
--- test/core/unboundmethod/test_arguments.rb.~1~ 2011-01-23 12:39:57.721680315 +0100
|
||||
+++ test/core/unboundmethod/test_arguments.rb 2011-01-23 13:03:36.583697764 +0100
|
||||
@@ -1,4 +1,5 @@
|
||||
require 'facets/unboundmethod/arguments'
|
||||
+require 'test/unit'
|
||||
|
||||
class Test_UnboundMethod_Arguments < Test::Unit::TestCase
|
||||
|
@ -0,0 +1,19 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Sun May 20 17:02:54 UTC 2012
|
||||
Subject: build-system
|
||||
|
||||
do not rename the target if debug is enabled
|
||||
|
||||
--- stratagus_2.2.6.orig/CMakeLists.txt
|
||||
+++ stratagus_2.2.6.orig/CMakeLists.txt
|
||||
@@ -729,10 +729,6 @@
|
||||
add_executable(stratagus WIN32 ${stratagus_SRCS} ${stratagus_HDRS})
|
||||
target_link_libraries(stratagus ${stratagus_LIBS})
|
||||
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
- set_target_properties(stratagus PROPERTIES OUTPUT_NAME stratagus-dbg)
|
||||
-endif()
|
||||
-
|
||||
if(WIN32 AND MINGW AND ENABLE_STATIC)
|
||||
set_target_properties(stratagus PROPERTIES LINK_FLAGS "${LINK_FLAGS} -static-libgcc -Wl,--stack,10485760")
|
||||
endif()
|
@ -0,0 +1,11 @@
|
||||
--- makefile.old 2012-05-28 14:02:44.787705444 +0200
|
||||
+++ makefile 2012-05-28 14:03:44.520524011 +0200
|
||||
@@ -458,7 +458,7 @@
|
||||
$(CC) $(PROFILELDFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||
|
||||
$(TOLUA): $(TOLUAOBJS) lua/tolua.c lua/tolualua.c
|
||||
- $(CC) $(CFLAGS) $(PROFILELDFLAGS) $(LDFLAGS) -o $@ $(TOLUAOBJS) lua/tolua.c lua/tolualua.c $(LIBS)
|
||||
+ $(CC) $(CFLAGS) $(PROFILELDFLAGS) $(LDFLAGS) -o $@ $(TOLUAOBJS) lua/tolua.c lua/tolualua.c
|
||||
|
||||
#
|
||||
# An install rule.
|
@ -1,13 +0,0 @@
|
||||
--- ../lib/edit/p_info.txt.old 2010-03-20 20:40:53.000000000 +0100
|
||||
+++ ../lib/edit/p_info.txt 2010-03-20 20:41:05.000000000 +0100
|
||||
@@ -1559,8 +1559,8 @@
|
||||
S:O:70:12:25d3
|
||||
|
||||
# Used for corruptions that can change your subrace
|
||||
-S:N:9:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
-S:D:A:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
+S:N:9:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
+S:D:A:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
S:S:0:0:0:0:0:0:0:100
|
||||
S:K:0:0:0:0:0:0:0:0
|
||||
S:P:0:0:0
|
@ -0,0 +1,404 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-8.0.3.ebuild,v 1.2 2012/05/28 12:43:01 chithanh Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
GIT_ECLASS="git-2"
|
||||
EXPERIMENTAL="true"
|
||||
fi
|
||||
|
||||
inherit base autotools multilib flag-o-matic python toolchain-funcs ${GIT_ECLASS}
|
||||
|
||||
OPENGL_DIR="xorg-x11"
|
||||
|
||||
MY_PN="${PN/m/M}"
|
||||
MY_P="${MY_PN}-${PV/_/-}"
|
||||
MY_SRC_P="${MY_PN}Lib-${PV/_/-}"
|
||||
|
||||
FOLDER="${PV/_rc*/}"
|
||||
|
||||
DESCRIPTION="OpenGL-like graphic library for Linux"
|
||||
HOMEPAGE="http://mesa3d.sourceforge.net/"
|
||||
|
||||
SRC_PATCHES="mirror://gentoo/${P}-gentoo-patches-02.tar.bz2"
|
||||
if [[ $PV = 9999* ]]; then
|
||||
SRC_URI="${SRC_PATCHES}"
|
||||
else
|
||||
SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_SRC_P}.tar.bz2
|
||||
${SRC_PATCHES}"
|
||||
fi
|
||||
|
||||
# Most of the code is MIT/X11.
|
||||
# ralloc is LGPL-3
|
||||
# GLES[2]/gl[2]{,ext,platform}.h are SGI-B-2.0
|
||||
LICENSE="MIT LGPL-3 SGI-B-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
INTEL_CARDS="i915 i965 intel"
|
||||
RADEON_CARDS="r100 r200 r300 r600 radeon"
|
||||
VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} nouveau vmware"
|
||||
for card in ${VIDEO_CARDS}; do
|
||||
IUSE_VIDEO_CARDS+=" video_cards_${card}"
|
||||
done
|
||||
|
||||
IUSE="${IUSE_VIDEO_CARDS}
|
||||
bindist +classic d3d debug +egl g3dvl +gallium gbm gles1 gles2 +llvm +nptl openvg osmesa pax_kernel pic selinux shared-dricore +shared-glapi vdpau wayland xa xvmc kernel_FreeBSD"
|
||||
|
||||
REQUIRED_USE="
|
||||
d3d? ( gallium )
|
||||
g3dvl? ( gallium )
|
||||
llvm? ( gallium )
|
||||
openvg? ( egl gallium )
|
||||
gbm? ( shared-glapi )
|
||||
g3dvl? ( || ( vdpau xvmc ) )
|
||||
vdpau? ( g3dvl )
|
||||
xa? ( gallium )
|
||||
xvmc? ( g3dvl )
|
||||
video_cards_intel? ( || ( classic gallium ) )
|
||||
video_cards_i915? ( || ( classic gallium ) )
|
||||
video_cards_i965? ( classic )
|
||||
video_cards_nouveau? ( || ( classic gallium ) )
|
||||
video_cards_radeon? ( || ( classic gallium ) )
|
||||
video_cards_r100? ( classic )
|
||||
video_cards_r200? ( classic )
|
||||
video_cards_r300? ( gallium )
|
||||
video_cards_r600? ( gallium )
|
||||
video_cards_vmware? ( gallium )
|
||||
"
|
||||
|
||||
LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.32"
|
||||
# not a runtime dependency of this package, but dependency of packages which
|
||||
# depend on this package, bug #342393
|
||||
EXTERNAL_DEPEND="
|
||||
>=x11-proto/dri2proto-2.6
|
||||
>=x11-proto/glproto-1.4.15
|
||||
"
|
||||
# keep correct libdrm and dri2proto dep
|
||||
# keep blocks in rdepend for binpkg
|
||||
RDEPEND="${EXTERNAL_DEPEND}
|
||||
!<x11-base/xorg-server-1.7
|
||||
!<=x11-proto/xf86driproto-2.0.3
|
||||
classic? ( app-admin/eselect-mesa )
|
||||
gallium? ( app-admin/eselect-mesa )
|
||||
>=app-admin/eselect-opengl-1.2.5
|
||||
dev-libs/expat
|
||||
gbm? ( sys-fs/udev )
|
||||
>=x11-libs/libX11-1.3.99.901
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXxf86vm
|
||||
>=x11-libs/libxcb-1.8
|
||||
d3d? ( app-emulation/wine )
|
||||
vdpau? ( >=x11-libs/libvdpau-0.4.1 )
|
||||
wayland? ( dev-libs/wayland )
|
||||
xvmc? ( >=x11-libs/libXvMC-1.0.6 )
|
||||
${LIBDRM_DEPSTRING}[video_cards_nouveau?,video_cards_vmware?]
|
||||
video_cards_nouveau? ( <x11-libs/libdrm-2.4.34 )
|
||||
"
|
||||
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? ( >=sys-devel/llvm-2.9 )
|
||||
=dev-lang/python-2*
|
||||
dev-libs/libxml2[python]
|
||||
virtual/pkgconfig
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
x11-misc/makedepend
|
||||
>=x11-proto/xextproto-7.0.99.1
|
||||
x11-proto/xf86driproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# It is slow without texrels, if someone wants slow
|
||||
# mesa without texrels +pic use is worth the shot
|
||||
QA_EXECSTACK="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
|
||||
QA_WX_LOAD="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
|
||||
|
||||
# Think about: ggi, fbcon, no-X configs
|
||||
|
||||
pkg_setup() {
|
||||
# workaround toc-issue wrt #386545
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
[[ $PV = 9999* ]] && git-2_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# apply patches
|
||||
if [[ ${PV} != 9999* && -n ${SRC_PATCHES} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_SOURCE="${WORKDIR}/patches" \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
epatch
|
||||
fi
|
||||
|
||||
# relax the requirement that r300 must have llvm, bug 380303
|
||||
epatch "${FILESDIR}"/${PN}-8.0-dont-require-llvm-for-r300.patch
|
||||
|
||||
# fix for hardened pax_kernel, bug 240956
|
||||
[[ ${PV} != 9999* ]] && epatch "${FILESDIR}"/glx_ro_text_segm.patch
|
||||
|
||||
# Solaris needs some recent POSIX stuff in our case
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
sed -i -e "s/-DSVR4/-D_POSIX_C_SOURCE=200112L/" configure.ac || die
|
||||
fi
|
||||
|
||||
# Tests fail against python-3, bug #407887
|
||||
sed -i 's|/usr/bin/env python|/usr/bin/env python2|' src/glsl/tests/compare_ir || die
|
||||
|
||||
base_src_prepare
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
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")
|
||||
$(use_enable gallium gallium-egl)
|
||||
"
|
||||
fi
|
||||
|
||||
if use gallium; then
|
||||
myconf+="
|
||||
$(use_enable d3d d3d1x)
|
||||
$(use_enable g3dvl gallium-g3dvl)
|
||||
$(use_enable llvm gallium-llvm)
|
||||
$(use_enable openvg)
|
||||
$(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
|
||||
if ! use video_cards_i915; then
|
||||
gallium_enable video_cards_intel i915
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_r300 r300
|
||||
gallium_enable video_cards_r600 r600
|
||||
if ! use video_cards_r300 && \
|
||||
! use video_cards_r600; then
|
||||
gallium_enable video_cards_radeon r300 r600
|
||||
fi
|
||||
fi
|
||||
|
||||
# x86 hardened pax_kernel needs glx-rts, bug 240956
|
||||
if use pax_kernel; then
|
||||
myconf+="
|
||||
$(use_enable x86 glx-rts)
|
||||
"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--enable-dri \
|
||||
--enable-glx \
|
||||
$(use_enable !bindist texture-float) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable egl) \
|
||||
$(use_enable gbm) \
|
||||
$(use_enable gles1) \
|
||||
$(use_enable gles2) \
|
||||
$(use_enable nptl glx-tls) \
|
||||
$(use_enable osmesa) \
|
||||
$(use_enable !pic asm) \
|
||||
$(use_enable shared-dricore) \
|
||||
$(use_enable shared-glapi) \
|
||||
--with-dri-drivers=${DRI_DRIVERS} \
|
||||
--with-gallium-drivers=${GALLIUM_DRIVERS} \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
|
||||
if use !bindist; then
|
||||
dodoc docs/patents.txt
|
||||
fi
|
||||
|
||||
# Save the glsl-compiler for later use
|
||||
if ! tc-is-cross-compiler; then
|
||||
dobin "${S}"/src/glsl/glsl_compiler
|
||||
fi
|
||||
|
||||
# Install config file for eselect mesa
|
||||
insinto /usr/share/mesa
|
||||
newins "${FILESDIR}/eselect-mesa.conf.8.0.1" eselect-mesa.conf
|
||||
|
||||
# Move libGL and others from /usr/lib to /usr/lib/opengl/blah/lib
|
||||
# because user can eselect desired GL provider.
|
||||
ebegin "Moving libGL and friends for dynamic switching"
|
||||
dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/{lib,extensions,include}
|
||||
local x
|
||||
for x in "${ED}"/usr/$(get_libdir)/lib{EGL,GL*,OpenVG}.{la,a,so*}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/lib \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
for x in "${ED}"/usr/include/GL/{gl.h,glx.h,glext.h,glxext.h}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/include \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
eend $?
|
||||
|
||||
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 "${S}/$(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}"
|
||||
insinto "/usr/$(get_libdir)/dri/"
|
||||
if [ -f "${S}/$(get_libdir)/${x}" ]; then
|
||||
insopts -m0755
|
||||
doins "${S}/$(get_libdir)/${x}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
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
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Switch to the xorg implementation.
|
||||
echo
|
||||
eselect opengl set --use-old ${OPENGL_DIR}
|
||||
|
||||
# switch to xorg-x11 and back if necessary, bug #374647 comment 11
|
||||
OLD_IMPLEM="$(eselect opengl show)"
|
||||
if [[ ${OPENGL_DIR}x != ${OLD_IMPLEM}x ]]; then
|
||||
eselect opengl set ${OPENGL_DIR}
|
||||
eselect opengl set ${OLD_IMPLEM}
|
||||
fi
|
||||
|
||||
# Select classic/gallium drivers
|
||||
if use classic || use gallium; then
|
||||
eselect mesa set --auto
|
||||
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
|
||||
|
||||
local using_radeon r_flag
|
||||
for r_flag in ${RADEON_CARDS}; do
|
||||
if use video_cards_${r_flag}; then
|
||||
using_radeon=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${using_radeon} = 1 ]] && ! 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
|
||||
}
|
||||
|
||||
# $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
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST beets-1.0b14.tar.gz 500373 RMD160 1d4e9de5f7f8f11f9101c12da2d2469bbc4b2e4c SHA1 6cd4a3eff6fd5f7d340a5dc9ff57647bd23f4720 SHA256 7bb71cdc2e3b6a523fab5d650776643d31b638ff97ad3c36ac34b2e4f92dde5c
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/beets/beets-1.0_beta14.ebuild,v 1.2 2012/05/28 12:51:32 sochotnicky Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils python
|
||||
|
||||
MY_PV=${PV/_beta/b}
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="A media library management system for obsessive-compulsive music geeks."
|
||||
SRC_URI="http://beets.googlecode.com/files/${PN}-${MY_PV}.tar.gz"
|
||||
HOMEPAGE="http://beets.radbox.org/"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/munkres
|
||||
dev-python/python-musicbrainz-ngs
|
||||
dev-python/unidecode
|
||||
media-libs/mutagen"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,22 @@
|
||||
virtual/libffi >=virtual/jdk-1.5 virtual/pkgconfig test? ( dev-java/ant-junit:0 dev-java/junit:4 ) >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/ant-core-1.7.0 >=dev-java/javatoolkit-0.3.0-r2 >=dev-lang/python-2.4
|
||||
virtual/libffi >=virtual/jre-1.5 >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip )
|
||||
1.2
|
||||
https://github.com/jnr/jffi/tarball/1.2.2 -> jffi-1.2.2.tar.gz
|
||||
|
||||
http://github.com/jnr/jffi
|
||||
|| ( Apache-2.0 LGPL-3 )
|
||||
An optimized Java interface to libffi
|
||||
~amd64 ~ppc ~x86
|
||||
eutils java-ant-2 java-pkg-2 java-utils-2 multilib toolchain-funcs user vcs-snapshot versionator
|
||||
elibc_FreeBSD doc source test elibc_FreeBSD
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install preinst prepare setup test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
>=virtual/jdk-1.5 test? ( dev-java/ant-junit:0 >=dev-java/junit-4.8:4 ) >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/ant-core-1.7.0 >=dev-java/javatoolkit-0.3.0-r2 >=dev-lang/python-2.4
|
||||
>=virtual/jre-1.5 >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip )
|
||||
0
|
||||
https://github.com/jnr/jnr-constants/tarball/0.8.3 -> jnr-constants-0.8.3.tar.gz
|
||||
|
||||
https://github.com/jnr/jnr-constants
|
||||
|| ( Apache-2.0 LGPL-3 )
|
||||
A set of platform constants (e.g. errno values)
|
||||
~amd64 ~x86
|
||||
eutils java-ant-2 java-pkg-2 java-utils-2 multilib toolchain-funcs user vcs-snapshot versionator
|
||||
elibc_FreeBSD doc source test elibc_FreeBSD
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install preinst prepare setup test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
dev-java/jffi:1.2 dev-java/jnr-x86asm:1.0 dev-java/asm:4 >=virtual/jdk-1.5 test? ( dev-java/ant-junit:0 >=dev-java/junit-4.8:4 ) >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/ant-core-1.7.0 >=dev-java/javatoolkit-0.3.0-r2 >=dev-lang/python-2.4
|
||||
dev-java/jffi:1.2 dev-java/jnr-x86asm:1.0 dev-java/asm:4 >=virtual/jre-1.5 >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip )
|
||||
0.7
|
||||
https://github.com/jnr/jnr-ffi/tarball/0.7.4 -> jnr-ffi-0.7.4.tar.gz
|
||||
|
||||
https://github.com/jnr/jnr-ffi
|
||||
|| ( Apache-2.0 LGPL-3 )
|
||||
An abstracted interface to invoking native functions from java
|
||||
~amd64 ~x86
|
||||
eutils java-ant-2 java-pkg-2 java-utils-2 multilib toolchain-funcs user vcs-snapshot versionator
|
||||
elibc_FreeBSD doc source test elibc_FreeBSD
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install preinst prepare setup test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue