parent
f1dd3a9536
commit
bfc324a269
@ -0,0 +1,55 @@
|
||||
diff -rupN old/sagan-1.0.0RC3/configure.ac new/sagan-1.0.0RC3/configure.ac
|
||||
--- old/sagan-1.0.0RC3/configure.ac 2014-06-16 22:23:22.000000000 +0200
|
||||
+++ new/sagan-1.0.0RC3/configure.ac 2015-10-11 21:04:26.493632624 +0200
|
||||
@@ -192,29 +192,15 @@ If you're not interested in libesmtp sup
|
||||
fi
|
||||
|
||||
if test "$LOGNORM" = "yes"; then
|
||||
- AC_MSG_RESULT([------- liblognorm support is enabled -------])
|
||||
- AC_CHECK_HEADER([liblognorm.h])
|
||||
- AC_CHECK_HEADERS([json/json.h json.h], [break], [AC_MSG_ERROR([json-c headers not found or not usable.
|
||||
-This library is important for the correlation aspects of Sagan! Please see
|
||||
-https://wiki.quadrantsec.com/bin/view/Main/LibLogNorm. To disable this feature
|
||||
-use the --disable-lognorm flag.])])
|
||||
- AC_CHECK_LIB(estr, main,,AC_MSG_ERROR(The libestr library cannot be found.
|
||||
-This library is important for the correlation aspects of Sagan! Please see
|
||||
-https://wiki.quadrantsec.com/bin/view/Main/LibLogNorm. To disable this feature
|
||||
-use the --disable-lognorm flag. ))
|
||||
- AC_CHECK_LIB(ee, main,,AC_MSG_ERROR(The libee library cannot be found.
|
||||
-This library is important for the correlation aspects of Sagan! Please see
|
||||
-https://wiki.quadrantsec.com/bin/view/Main/LibLogNorm. To disable this feature
|
||||
-use the --disable-lognorm flag. ))
|
||||
- AC_CHECK_LIB(lognorm, main,,AC_MSG_ERROR(The liblognorm library cannot be found.
|
||||
-This library is important for the correlation aspects of Sagan! Please see
|
||||
-https://wiki.quadrantsec.com/bin/view/Main/LibLogNorm. To disable this feature
|
||||
-use the --disable-lognorm flag. ))
|
||||
- AC_CHECK_LIB(json, json_object_put,, [ AC_CHECK_LIB(json-c, json_object_put,,AC_MSG_ERROR(The json library cannot be found.
|
||||
-This library is important for the correlation aspects of Sagan! Please see
|
||||
-https://wiki.quadrantsec.com/bin/view/Main/LibLogNorm. To disable this feature
|
||||
-use the --disable-lognorm flag.)) ],)
|
||||
- fi
|
||||
+ AC_MSG_RESULT([------- liblognorm support is enabled -------])
|
||||
+
|
||||
+ PKG_CHECK_MODULES(LIBEE, libee >= 0.3.2)
|
||||
+ PKG_CHECK_MODULES(LIBESTR, libestr >= 0.1.9)
|
||||
+ PKG_CHECK_MODULES([JSON_C], [json-c],, [
|
||||
+ PKG_CHECK_MODULES([JSON_C], [json],,)
|
||||
+ ])
|
||||
+ PKG_CHECK_MODULES(LIBLOGNORM, lognorm >= 1.0.2)
|
||||
+fi
|
||||
|
||||
if test "$LIBPCAP" = "yes"; then
|
||||
AC_MSG_RESULT([------- libpcap support is enabled -------])
|
||||
diff -rupN old/sagan-1.0.0RC3/src/Makefile.am new/sagan-1.0.0RC3/src/Makefile.am
|
||||
--- old/sagan-1.0.0RC3/src/Makefile.am 2014-06-16 22:23:22.000000000 +0200
|
||||
+++ new/sagan-1.0.0RC3/src/Makefile.am 2015-10-11 21:05:28.754492699 +0200
|
||||
@@ -2,6 +2,9 @@ AUTOMAKE_OPIONS=foreign no-dependencies
|
||||
|
||||
bin_PROGRAMS = sagan
|
||||
|
||||
+sagan_CFLAGS = $(JSON_C_CFLAGS) $(LIBESTR_CFLAGS) $(LIBLOGNORM_CFLAGS)
|
||||
+sagan_LDFLAGS = $(JSON_C_LIBS) $(LIBESTR_LIBS) $(LIBLOGNORM_LIBS)
|
||||
+
|
||||
sagan_SOURCES = sagan.c \
|
||||
sagan-classifications.c \
|
||||
sagan-config.c \
|
@ -1,15 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
<email>brendan@horan.hk</email>
|
||||
<name>Brendan Horan</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">Snappy is a compression/decompression library. It does not aim for
|
||||
maximum compression, or compatibility with any other compression
|
||||
library; instead, it aims for very high speeds and reasonable
|
||||
compression.</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="google-code">snappy</remote-id>
|
||||
<remote-id type="github">google/snappy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,123 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
MY_EXTRAS_VER="20150509-1847Z"
|
||||
|
||||
# Build system
|
||||
BUILD="cmake"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='embedded extraengine perl ssl static-libs community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mariadb-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# create symlink for the tests to find the replace util
|
||||
ln -s "${BUILD_DIR}/extra/replace" "${BUILD_DIR}/client/"
|
||||
|
||||
# These are failing in MariaDB 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test, main.mysql_client_test_nonblock:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam
|
||||
# fails due to bad cleanup of previous tests when run in parallel
|
||||
# The tool is deprecated anyway
|
||||
# Bug 532288
|
||||
|
||||
for t in main.mysql_client_test main.mysql_client_test_nonblock \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help \
|
||||
archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
|
||||
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
|
||||
--testcase-timeout=30
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -0,0 +1,126 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_EXTRAS_VER="20150127-1351Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
||||
# Build type
|
||||
BUILD="cmake"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# Define the mysql-extras source
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/mysql-extras.git"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='embedded extraengine perl ssl static-libs community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# create symlink for the tests to find mysql_tzinfo_to_sql
|
||||
ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
|
||||
|
||||
# These are failing in MySQL 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help-notwin
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
|
||||
# fails due to bad cleanup of previous tests when run in parallel
|
||||
# The tool is deprecated anyway
|
||||
# Bug 532288
|
||||
|
||||
for t in main.mysql_client_test \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help-notwin main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
|
||||
--testcase-timeout=30 --reorder
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST invokebinder-1.2.tar.gz 28581 SHA256 378ab47e625729974b25c81a60abd425abf155a27f60c7c2728ad3a78fd9a1d4 SHA512 aaf56fa008307d56805c6de7d47285d358f4c5018f1704a8f3b44c5bda5045dc20f588e70ce6fbb3486a48f80d30a7669d568e373717401780b13dd4737a8b16 WHIRLPOOL 1c46acfcb2d6c2c53bb24e94aca5afdc578fb6a72c7b3f83e80c22e69cb98e44257c10ba92bfa86c4ec766fea6216cb0604d9be5b2bb755efcae0fa5b0bc8859
|
||||
DIST invokebinder-1.6.tar.gz 36027 SHA256 db59600de448c9253976c0a288ad6575edbdc83ed6a6d58332b902ab9d337c4d SHA512 cacdd6dd5fe74bbba940be1b3d53b183adc247b74e89cc0784805b2ad2c63d12ca1abe20bacf0a90ea50db7574e43d4ac52b5a46e61912e5153e2ac2f6bc559a WHIRLPOOL 967f8bb39b588d381e3495756e79b7e738f631935aadddf5c6396d7367fcd19584f4d4ae3cb9734aafac17ca62906da8fc0459a9194f9f55671d5503b19265de
|
||||
|
@ -0,0 +1,230 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 10/12/15 9:24 PM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="invokebinder-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="invokebinder-1.6"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath"/>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/junit/junit/4.9/junit-4.9.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.7"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.7">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.7"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.7">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Provide a friendly DSL for binding method handles"
|
||||
HOMEPAGE="https://github.com/headius/invokebinder"
|
||||
SRC_URI="https://github.com/headius/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="Apache-2.0"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
)"
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_TEST_TARGET="test"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-build.xml build.xml || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "target/${P}.jar" "${PN}.jar"
|
||||
use source && java-pkg_dosrc src/main/java/com
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc target/site/apidocs
|
||||
dodoc README.markdown
|
||||
fi
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2015 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
|
||||
|
||||
MY_PN="Jama"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A Java Matrix Package"
|
||||
HOMEPAGE="http://math.nist.gov/javanumerics/jama/"
|
||||
SRC_URI="http://math.nist.gov/javanumerics/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}"
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit base java-pkg-2
|
||||
|
||||
MY_PN="Jama"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A Java Matrix Package"
|
||||
HOMEPAGE="http://math.nist.gov/javanumerics/jama/"
|
||||
SRC_URI="http://math.nist.gov/javanumerics/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_compile() {
|
||||
mkdir -p build || die
|
||||
|
||||
ejavac -d build $(find Jama -name '*.java')
|
||||
|
||||
$(java-config -j) cf ${MY_PN}.jar -C build ${MY_PN} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar ${MY_PN}.jar
|
||||
|
||||
dodoc Jama/ChangeLog
|
||||
|
||||
use doc && java-pkg_dojavadoc Jama/doc
|
||||
use source && java-pkg_dosrc Jama
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
https://bugzilla.gnome.org/756477
|
||||
|
||||
fix build w/newer releases of bionic (android)
|
||||
|
||||
--- a/gio/gthreadedresolver.c
|
||||
+++ b/gio/gthreadedresolver.c
|
||||
@@ -263,7 +263,7 @@ lookup_by_address_finish (GResolver *resolver,
|
||||
|
||||
#if defined(G_OS_UNIX)
|
||||
|
||||
-#ifdef __BIONIC__
|
||||
+#if defined __BIONIC__ && !defined BIND_4_COMPAT
|
||||
/* Copy from bionic/libc/private/arpa_nameser_compat.h
|
||||
* and bionic/libc/private/arpa_nameser.h */
|
||||
typedef struct {
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit libtool toolchain-funcs multilib-minimal
|
||||
|
||||
DESCRIPTION="GNU charset conversion library for libc which doesn't implement it"
|
||||
HOMEPAGE="https://www.gnu.org/software/libiconv/"
|
||||
SRC_URI="mirror://gnu/libiconv/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="!sys-libs/glibc
|
||||
!userland_GNU? ( !sys-apps/man-pages )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-no-gets.patch
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Disable NLS support because that creates a circular dependency
|
||||
# between libiconv and gettext
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
--docdir="\$(datarootdir)/doc/${PF}/html" \
|
||||
--disable-nls \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use static-libs || find "${ED}" -name 'lib*.la' -delete
|
||||
|
||||
# Install in /lib as utils installed in /lib like gnutar
|
||||
# can depend on this
|
||||
gen_usr_ldscript -a iconv charset
|
||||
|
||||
# If we have a GNU userland, we probably have sys-apps/man-pages
|
||||
# installed, which means we want to rename our copies #503162.
|
||||
# The use of USELAND=GNU is kind of a hack though ...
|
||||
if use userland_GNU ; then
|
||||
cd "${ED}"/usr/share/man || die
|
||||
local f
|
||||
for f in man*/*.[0-9] ; do
|
||||
mv "${f}" "${f%/*}/${PN}-${f#*/}" || die
|
||||
done
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST gettext-0.19.6.tar.gz 18619659 SHA256 ed4b4c19bd3a3034eb6769500a3592ff616759ef43cf30586dbb7a17c9dd695d SHA512 46adfd4a6d0038aba999658bebe51117e3ab3dc149a9054c1087d3e79ec7ba3371a7e78a8ca30a8872d162c2dc44aba6e67e4d64808c4f92e1e2bd674174f1db WHIRLPOOL 1988f9ddfd603734b4a632291925c8e5b31e7384eea1c6641d52aa58cb6b8f892e7664dd145a53435b7d2a4540ac65aeae1cb528a004c35832087c2820dafbcb
|
@ -0,0 +1,35 @@
|
||||
this has been sent upstream
|
||||
|
||||
From eac944b0757963ac1ba035ea72617734510ede22 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@chromium.org>
|
||||
Date: Mon, 12 Oct 2015 17:58:51 -0400
|
||||
Subject: [PATCH] intl/localename: control langinfo.h inclusion
|
||||
|
||||
This header is only used to work around buggy behavior in old versions
|
||||
of glibc, so do not include it all the time. Otherwise we get build
|
||||
failures on systems that do not provide langinfo.h.
|
||||
|
||||
* gettext-runtime/intl/localename.c: Wrap langinfo.h include with same
|
||||
ifdefs used in the source later on.
|
||||
---
|
||||
gettext-runtime/intl/localename.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gettext-runtime/intl/localename.c b/gettext-runtime/intl/localename.c
|
||||
index f8cf3f2..c27be86 100644
|
||||
--- a/gettext-runtime/intl/localename.c
|
||||
+++ b/gettext-runtime/intl/localename.c
|
||||
@@ -38,7 +38,9 @@
|
||||
# if defined __APPLE__ && defined __MACH__
|
||||
# include <xlocale.h>
|
||||
# endif
|
||||
-# include <langinfo.h>
|
||||
+# if __GLIBC__ >= 2 && !defined __UCLIBC__
|
||||
+# include <langinfo.h>
|
||||
+# endif
|
||||
# if !defined IN_LIBINTL
|
||||
# include "glthread/lock.h"
|
||||
# endif
|
||||
--
|
||||
2.5.2
|
||||
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# Note: Keep version bumps in sync with sys-devel/gettext.
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_P="gettext-${PV}"
|
||||
|
||||
inherit eutils multilib-minimal toolchain-funcs libtool
|
||||
|
||||
DESCRIPTION="the GNU international library (split out of gettext)"
|
||||
HOMEPAGE="https://www.gnu.org/software/gettext/"
|
||||
SRC_URI="mirror://gnu/gettext/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="static-libs +threads"
|
||||
|
||||
DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]"
|
||||
# Block C libraries known to provide libintl.
|
||||
RDEPEND="${DEPEND}
|
||||
!sys-libs/glibc
|
||||
!<sys-devel/gettext-0.19.6-r1"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/gettext-runtime"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.19.5-langinfo.patch
|
||||
|
||||
# The libtool files are stored higher up, so make sure we run in the
|
||||
# whole tree and not just the subdir we build.
|
||||
elibtoolize "${WORKDIR}"
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
# Emacs support is now in a separate package.
|
||||
--without-emacs
|
||||
--without-lispdir
|
||||
# Normally this controls nls behavior in general, but the libintl
|
||||
# subdir is skipped unless this is explicitly set. ugh.
|
||||
--enable-nls
|
||||
# This magic flag enables libintl.
|
||||
--with-included-gettext
|
||||
# The gettext package provides this library.
|
||||
--disable-c++
|
||||
--disable-libasprintf
|
||||
# No java until someone cares.
|
||||
--disable-java
|
||||
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable threads)
|
||||
)
|
||||
ECONF_SOURCE=${S} econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# We only need things in the intl/ subdir.
|
||||
emake DESTDIR="${D}" install -C intl
|
||||
|
||||
gen_usr_ldscript -a intl
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use static-libs || prune_libtool_files --all
|
||||
|
||||
rm -f "${ED}"/usr/share/locale/locale.alias "${ED}"/usr/lib/charset.alias
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>base-system</herd>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST serd-0.18.2.tar.bz2 291053 SHA256 8e3d8402c33fa217572d3ee936919037420fb237fb8603a7b024ab482a94eac1 SHA512 2e775f50efbefa88d291999a26bf8e6602b5791affc9b9073451eb1406db654a63d2b91eb862ba7e714b5ce9ad51f7b7b259714476cd1532cf17fc072a923c3f WHIRLPOOL 85d8599a3c4f1c26d438b741b70f75b0c3b7265a973b93bafa45f59f3a669b664d979ff49f9894f36c76d1c1826818222a089051b7202a71b85f30d2cba80980
|
||||
DIST serd-0.20.0.tar.bz2 363807 SHA256 64515f4f5eb27ba2ba151027a72a77672f6ee8a2a3b58991ad5c045135feabbf SHA512 d313abb6423b0b1dd30b5c4f7ede45a5e51b3c8676b49215e106a75d73280e07c48b3895f2d88aeac2117eaf9c82cdb58bfc530895ad17a34d810c256868d1ef WHIRLPOOL 0cb4e6b9c870cc2bf5a34eb5c25a4a5fbcc90737ac646688338b9529baa774da29cd9f8659cdcc8f13e714949ea0ed840af28ed81a869465f8902b3e24cbeb27
|
||||
DIST serd-0.22.0.tar.bz2 340371 SHA256 7b030287b4b75f35e6212b145648bec0be6580cc5434caa6d2fe64a38562afd2 SHA512 532f9bcf1edafb4fb74c521c11e3582133096068c883ecdfb97483c1344de6c2effc7cef8efa0c5d919667d5ef51e3f62af0a02faf0d518216e0746933a859d3 WHIRLPOOL 11e3757a322b578ee648e53774d0390de4b295f5f8c187a8f7dc6bc59249845d890548324107b7c9dbf03ab851a61e9e71f5997e1fdefafeaf5610350292d58f
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE='threads(+)'
|
||||
inherit python-any-r1 waf-utils
|
||||
|
||||
DESCRIPTION="Library for RDF syntax which supports reading and writing Turtle and NTriples"
|
||||
HOMEPAGE="http://drobilla.net/software/serd/"
|
||||
SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc static-libs test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS=( "AUTHORS" "NEWS" "README" )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
waf-utils_src_configure \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use test && echo "--test") \
|
||||
$(use doc && echo "--docs") \
|
||||
$(use static-libs && echo "--static")
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./waf test || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST sord-0.12.0.tar.bz2 285075 SHA256 126baa06480b6930f874e8c519d4168d8224f7a3203a49b287e24c6bfdf91cb8 SHA512 c24c82fd4d9f74d10923d0cf405d2eabbaabd66b3b11e29719115515edcd8ccbc4a32866ca510dc676ca6ca833b0d9c8ccf43d36f6b0ef010d0211cee821db02 WHIRLPOOL 76d392bd63270fc2c0cb19ce89fc5bc1cc0777ae230912d831ed74705df96d6b7528f36679e53f0d929825db9042592f88746a31af8d65ee187bcb40ae7d1a1c
|
||||
DIST sord-0.12.2.tar.bz2 303365 SHA256 bd0538d37de5e782023a7261d8ee9d83a792a12eeea7d94dec7a93dd9cda0767 SHA512 2906808138658f89cb6ab939c20e0a092180535629c75b1a0277648af18fb019055dd3cde53f57d7b0d635666be98848bed021ba0bd922a34cfaae3a98c66cbd WHIRLPOOL c731ceb92650b1af7ce4cb53bf209cfc632d74a204eae0b2ea1fcc1ccbca5564a22c83f6e746c1ad9761be4ec155b62cecc5fe90079dff613826d2e275a09df6
|
||||
DIST sord-0.14.0.tar.bz2 311442 SHA256 7656d8ec56a43e0f0a168fe78670a7628a42d3a597b53c7a72ac243a74e0f19a SHA512 7c59997752fec7db00f2fca3bf5400b3a57141efe1cee031ca24e69e2c31b3aefbb78f51fe9d46a96b06fe685bc896210bd8271846b878c266a90ec257dc7b55 WHIRLPOOL 9ae84f0ba2f0cedf051251119a4b1f03c67a26a63534dd8af265e5828adac471a3840b02763922f88c13149551371030529fd87f8a8cf7b816f1a5d6dfe391d4
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE='threads(+)'
|
||||
inherit python-any-r1 waf-utils
|
||||
|
||||
DESCRIPTION="Library for storing RDF data in memory"
|
||||
HOMEPAGE="http://drobilla.net/software/sord/"
|
||||
SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc static-libs test"
|
||||
|
||||
RDEPEND=">=dev-libs/serd-0.14.0"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( "AUTHORS" "NEWS" "README" )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
waf-utils_src_configure \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use test && echo "--test") \
|
||||
$(use doc && echo "--docs") \
|
||||
$(use static-libs && echo "--static")
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./waf test || die
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=FROGGS
|
||||
MODULE_VERSION=1.440
|
||||
inherit perl-module toolchain-funcs
|
||||
|
||||
DESCRIPTION="building, finding and using SDL binaries"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa x86"
|
||||
|
||||
# File::Fetch, File::Find, Test::More -> dev-lang/perl
|
||||
RDEPEND="dev-perl/Archive-Extract
|
||||
dev-perl/Archive-Zip
|
||||
dev-perl/Capture-Tiny
|
||||
dev-perl/File-ShareDir
|
||||
dev-perl/File-Which
|
||||
dev-perl/Text-Patch
|
||||
media-libs/libsdl
|
||||
virtual/perl-Archive-Tar
|
||||
virtual/perl-Digest-SHA
|
||||
virtual/perl-ExtUtils-CBuilder
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
dev-perl/Module-Build
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-File-Temp"
|
||||
DEPEND=${RDEPEND}
|
||||
|
||||
SRC_TEST=do
|
||||
myconf='--with-sdl-config'
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC
|
||||
perl-module_src_prepare
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=FROGGS
|
||||
MODULE_VERSION=1.444
|
||||
inherit perl-module toolchain-funcs
|
||||
|
||||
DESCRIPTION="building, finding and using SDL binaries"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
|
||||
# File::Fetch, File::Find, Test::More -> dev-lang/perl
|
||||
RDEPEND="dev-perl/Archive-Extract
|
||||
dev-perl/Archive-Zip
|
||||
dev-perl/Capture-Tiny
|
||||
dev-perl/File-ShareDir
|
||||
dev-perl/File-Which
|
||||
dev-perl/Text-Patch
|
||||
media-libs/libsdl
|
||||
virtual/perl-Archive-Tar
|
||||
virtual/perl-Digest-SHA
|
||||
virtual/perl-ExtUtils-CBuilder
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
dev-perl/Module-Build
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-File-Temp"
|
||||
DEPEND=${RDEPEND}
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC
|
||||
epatch "${FILESDIR}"/${P}-fix-build-option.patch
|
||||
perl-module_src_prepare
|
||||
}
|
||||
|
||||
SRC_TEST=do
|
||||
myconf='--with-sdl-config'
|
@ -1,3 +1 @@
|
||||
DIST Alien-SDL-1.440.tar.gz 346309 SHA256 cc25c9319d2db984b049eed5559582b2a6e0072af9b48d621a7772a1dcd18961 SHA512 3af6f80f376927d031a5ff1dfefb2b24d6824657424010970a4ae11d539893ac09ebfe0c2555da1600d5d9a4f830f7d5ab51593991eb8d239eaacff9f7328987 WHIRLPOOL 1cef55c0dbf33e7ebcc2d9200dce49603d1a9e55e8f7a5192fd8d29cbc8d624410490e53e5998206b66ea5cfb078cef5ff974bb821c57f1ab028fdd7a40c0d2a
|
||||
DIST Alien-SDL-1.444.tar.gz 349527 SHA256 66cc4f1f4d55a3fd34869838f21bc0ed4a1a0c1f07158f85a0edd12fc35dbc74 SHA512 0c638351a22efcb83eb24b1c28a7db4a05c1f685717fcd735cd03692e11589649e1f7fed4b6c52c0b8f48c208b5daf301432bd986375f966f02c61d922f2cd79 WHIRLPOOL 87c0bb3a827265206332a63d29ba3fed4b1dd31546a601f78ed23e4dc5693b8784a7e47771823bd488bb6c19348f09da6c46d2cc254c272d82c4b1e5a840fdfc
|
||||
DIST Alien-SDL-1.446.tar.gz 350448 SHA256 c9aa2c9dc3c63d89773c7d7203f2a46d1b924d0c72d9f801af147a3dc8bc512a SHA512 dfb5f104f449857b9567ca93a0c3b15aed2618e27019569c95c4b7469e1f7d5cc390fe2dda9c6add41e9648c1f6efe053d08a4bd0fcc5bc546a217721bea824c WHIRLPOOL d449168885362a7533eb167ae3d4655b1bdb0a3188c8cbd44c6aa4b38c68d816117954434d51b711d7cf5fc54d511b2dd53952ae1c6e44e106918b0960b6bd0f
|
||||
|
@ -1 +1,2 @@
|
||||
DIST rospkg-1.0.35.tar.gz 88589 SHA256 9ce13cb1d0f470f24cdb7f665d53948fcd0db19be7c8946ad998cbcf3998da30 SHA512 01e59dc3eb8290af661dc54902da950649a81b3caa0b65ad7dba18c0c6d0ba1ed08bec802edbced49f65515f20f1b8db719bfb576eb38c87982386aac22a2e31 WHIRLPOOL 20ebafd588c6cf8598d155cdd6ec76a9f1b7ce1bb9f1a545159a75d4fe5c3621005ea5abb5b15080716439bdec91a943855a564014eee295999126caed5c34e3
|
||||
DIST rospkg-1.0.37.tar.gz 89332 SHA256 733e9e30d30a1f293f2d2b07060d231746ce88f7cfecb076d466d9aece5a0a8a SHA512 5e8e938831aac0c14b18d0f5063c8c8d50a2f13a4a15ce15955d854a840a8b46bab42d854b6d61d1e4e6bdef95f90e10008838d16b31e7d5b0d963b1c3c246d6 WHIRLPOOL 3d50c070197019b607e23a430affec8950539e0b32dd88f14e85027acea87435abebd8f58c4aeadd11cafee00d2faa26a3d9d88a0afb6efdc42dc0797642ef39
|
||||
|
@ -0,0 +1,21 @@
|
||||
https://github.com/ros-infrastructure/rospkg/pull/90
|
||||
|
||||
commit 7be8d9e5ec3c6bffd970e93053078b707879c7b9
|
||||
Author: Alexis Ballier <aballier@gentoo.org>
|
||||
Date: Tue Oct 13 10:08:42 2015 +0200
|
||||
|
||||
src/rospkg/os_detect.py: Use "string in dict" instead of "dict.has_key(string)" for python3 compatibility.
|
||||
|
||||
diff --git a/src/rospkg/os_detect.py b/src/rospkg/os_detect.py
|
||||
index 14b57c2..554b607 100644
|
||||
--- a/src/rospkg/os_detect.py
|
||||
+++ b/src/rospkg/os_detect.py
|
||||
@@ -150,7 +150,7 @@ class FdoDetect(OsDetector):
|
||||
"""
|
||||
def __init__(self, fdo_id):
|
||||
release_info = read_os_release()
|
||||
- if release_info is not None and release_info.has_key("ID") and release_info["ID"] == fdo_id:
|
||||
+ if release_info is not None and "ID" in release_info and release_info["ID"] == fdo_id:
|
||||
self.release_info = release_info
|
||||
else:
|
||||
self.release_info = None
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2014 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} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="http://github.com/ros-infrastructure/rospkg"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Standalone Python library for the ROS package system"
|
||||
HOMEPAGE="http://wiki.ros.org/rospkg"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
# Needed for tests
|
||||
S="${WORKDIR}/${PN}"
|
||||
EGIT_CHECKOUT_DIR="${S}"
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/norecurse.patch"
|
||||
"${FILESDIR}/py3.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
nosetests --with-coverage --cover-package=rospkg --with-xunit test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
# Avoid recursing into /usr/share when looking for packages.
|
||||
dodir /usr/share
|
||||
touch "${ED}/usr/share/rospack_norecurse"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST sqlite3-1.3.10.gem 60416 SHA256 70d815be84bd9630a0b68b236fd2811eef4297a8e4b53e3df89dd39f2d39efe3 SHA512 0a35896a4b9ce4f1e0f29ef9385f13b418b089d9bad467290e21eb12a4d09ce755231f5844c5009013ac9c73a27f7050ce899660d93d6ecc9e919f048a073cfe WHIRLPOOL 95f5f6d2944012cd4778f5d29e63ae43208e247ff5a9d184409dec4756beb14b90878c5ae6b337bf3f3d1fb9049de0cf65625a8544a429c735d5d9b66f90cd1d
|
||||
DIST sqlite3-1.3.11.gem 60928 SHA256 de8ecdcc00a7af0cda98661ed94ce442964b9403b425e95c3ac4544b1f3720a7 SHA512 02bef5f8f61d1f04c79d9032d62c9d708dddc2446dd256ad13f932ed4cae256d6c60f742a285bc4015ef5b1fb13e9541738f31fd270fe22320fc176525fe37bb WHIRLPOOL 2fb319f159e50d372ae374a6656b7452a746f6a85d94c7b15745feea73dc9c107dd4c51af54c76115ebe184ef906e41e53f2a72b9beffdada5a533cc5f142494
|
||||
|
@ -0,0 +1,82 @@
|
||||
# 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="faq"
|
||||
RUBY_FAKEGEM_DOCDIR="doc faq"
|
||||
RUBY_FAKEGEM_EXTRADOC="API_CHANGES.rdoc README.rdoc ChangeLog.cvs CHANGELOG.rdoc"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="An extension library to access a SQLite database from Ruby"
|
||||
HOMEPAGE="https://github.com/sparklemotion/sqlite3-ruby"
|
||||
LICENSE="BSD"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND+=" >=dev-db/sqlite-3.6.16:3"
|
||||
DEPEND+=" >=dev-db/sqlite-3.6.16:3"
|
||||
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake-compiler
|
||||
dev-ruby/hoe
|
||||
doc? ( dev-ruby/redcloth )
|
||||
test? ( dev-ruby/minitest:5 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# We remove the vendor_sqlite3 rake task because it's used to
|
||||
# bundle SQlite3 which we definitely don't want.
|
||||
rm tasks/vendor_sqlite3.rake || die
|
||||
|
||||
# Remove license line from hoe to avoid depending on a newer
|
||||
# version.
|
||||
sed -i -e '/license/d' tasks/gem.rake || die
|
||||
|
||||
sed -i -e 's:, HOE.spec::' -e '/task :test/d' tasks/native.rake || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/sqlite3 extconf.rb || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
rdoc --title "${P} Dcoumentation" -o doc --main README.rdoc lib *.rdoc ext/*/*.c || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
# TODO: not sure what happens with jruby
|
||||
|
||||
emake -Cext/sqlite3 V=1
|
||||
mv ext/sqlite3/sqlite3_native$(get_modname) lib/sqlite3/ || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
|
||||
# sqlite3 was called sqlite3-ruby before, so add a spec file that
|
||||
# simply loads sqlite3 to make sure that old projects load correctly
|
||||
# we don't even need to create a file to load this: the `require
|
||||
# sqlite3` was already part of sqlite3-ruby requirements.
|
||||
cat - <<EOF > "${T}/sqlite3-ruby.gemspec"
|
||||
# generated by ebuild
|
||||
# $Id$
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "sqlite3-ruby"
|
||||
s.version = "${RUBY_FAKEGEM_VERSION}"
|
||||
s.summary = "Fake gem to load sqlite3"
|
||||
s.homepage = "${HOMEPAGE}"
|
||||
s.specification_version = 3
|
||||
s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"])
|
||||
end
|
||||
EOF
|
||||
RUBY_FAKEGEM_NAME=sqlite3-ruby \
|
||||
RUBY_FAKEGEM_GEMSPEC="${T}/sqlite3-ruby.gemspec" \
|
||||
ruby_fakegem_install_gemspec
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# 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 doc/text/news.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
# Assume for now that ruby22 is not eselected yet and only depend on
|
||||
# yard for the other ruby implementations. Without this assumption
|
||||
# bootstrapping ruby22 won't be possible due to the yard dependency
|
||||
# tree.
|
||||
#USE_RUBY="${USE_RUBY/ruby22/}" ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
DESCRIPTION="An xUnit family unit testing framework for Ruby"
|
||||
HOMEPAGE="https://rubygems.org/gems/test-unit"
|
||||
|
||||
LICENSE="|| ( Ruby GPL-2 ) PSF-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
# power_assert does not work with ruby19 but is not needed for backward
|
||||
# compatibility:
|
||||
# https://github.com/k-tsj/power_assert/issues/8#issuecomment-71363455
|
||||
USE_RUBY="${USE_RUBY/ruby19/}" ruby_add_rdepend "dev-ruby/power_assert"
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*ruby19)
|
||||
# Remove metadata to avoid registering the unsupported
|
||||
# power_assert dependency.
|
||||
rm -f ../metadata || die
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
if use doc; then
|
||||
yard doc --title ${PN} || die
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} test/run-test.rb || die "testsuite failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
newbin "${FILESDIR}"/testrb-3 testrb-2
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
Preprocessor changes in GCC 5 cause guile-snarf to output garbage.
|
||||
|
||||
https://bugs.gentoo.org/560736
|
||||
|
||||
--- a/libguile/guile-snarf.in
|
||||
+++ b/libguile/guile-snarf.in
|
||||
@@ -50,7 +50,7 @@
|
||||
## Apparently, AIX's preprocessor is unhappy if you try to #include an
|
||||
## empty file.
|
||||
echo "/* cpp arguments: $@ */" ;
|
||||
- ${cpp} -DSCM_MAGIC_SNARF_INITS -DSCM_MAGIC_SNARFER "$@" > ${temp} && cpp_ok_p=true
|
||||
+ ${cpp} -P -DSCM_MAGIC_SNARF_INITS -DSCM_MAGIC_SNARFER "$@" > ${temp} && cpp_ok_p=true
|
||||
grep "^ *\^ *\^" ${temp} | sed -e "s/^ *\^ *\^//" -e "s/\^\ *:\ *\^.*/;/"
|
||||
}
|
||||
|
@ -0,0 +1,34 @@
|
||||
Make guile-readline optional
|
||||
|
||||
https://bugs.gentoo.org/392553
|
||||
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -24,7 +24,7 @@
|
||||
#
|
||||
AUTOMAKE_OPTIONS = 1.10
|
||||
|
||||
-SUBDIRS = oop libguile ice-9 guile-config guile-readline emacs \
|
||||
+SUBDIRS = oop libguile ice-9 guile-config @GUILE_READLINE@ emacs \
|
||||
scripts srfi doc examples test-suite benchmark-suite lang am
|
||||
|
||||
bin_SCRIPTS = guile-tools
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -57,7 +57,15 @@ AH_TOP(/*GUILE_CONFIGURE_COPYRIGHT*/)
|
||||
#
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
-AC_CONFIG_SUBDIRS(guile-readline)
|
||||
+GUILE_READLINE=
|
||||
+AC_ARG_ENABLE([readline],
|
||||
+ [AS_HELP_STRING([--disable-readline],
|
||||
+ [disable building guile-readline])],
|
||||
+ if test "x$enable_readline" != xno; then
|
||||
+ AC_CONFIG_SUBDIRS([guile-readline])
|
||||
+ GUILE_READLINE="guile-readline"
|
||||
+ fi)
|
||||
+AC_SUBST([GUILE_READLINE])
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
|
@ -0,0 +1,15 @@
|
||||
Prevent sandbox violation when installing
|
||||
|
||||
https://bugs.gentoo.org/521546
|
||||
|
||||
--- a/guile-config/Makefile.am
|
||||
+++ b/guile-config/Makefile.am
|
||||
@@ -39,8 +39,3 @@ guile-config: guile-config.in ${top_builddir}/libguile/libpath.h
|
||||
-e s:@-GUILE_VERSION-@:${GUILE_VERSION}:
|
||||
chmod +x guile-config.tmp
|
||||
mv guile-config.tmp guile-config
|
||||
-
|
||||
-## Get rid of any copies of the configuration script under the old
|
||||
-## name, so people don't end up running ancient copies of it.
|
||||
-install-exec-local:
|
||||
- rm -f ${bindir}/build-guile
|
@ -0,0 +1,15 @@
|
||||
With ncurses[tinfo] tgoto will be in libtinfo
|
||||
|
||||
https://bugs.gentoo.org/539316
|
||||
|
||||
--- a/guile-readline/configure.in
|
||||
+++ b/guile-readline/configure.in
|
||||
@@ -33,7 +33,7 @@ if test "$MINGW32" = "yes" ; then
|
||||
fi
|
||||
AC_SUBST(EXTRA_DEFS)
|
||||
|
||||
-for termlib in ncurses curses termcap terminfo termlib ; do
|
||||
+for termlib in ncurses curses termcap terminfo termlib tinfo ; do
|
||||
AC_CHECK_LIB(${termlib}, tgoto,
|
||||
[LIBS="-l${termlib} $LIBS"; break])
|
||||
done
|
@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils autotools flag-o-matic elisp-common
|
||||
|
||||
DESCRIPTION="Scheme interpreter"
|
||||
HOMEPAGE="https://www.gnu.org/software/guile/"
|
||||
SRC_URI="mirror://gnu/guile/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="debug debug-freelist debug-malloc +deprecated discouraged emacs networking nls readline +regex +threads"
|
||||
|
||||
RESTRICT="!regex? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/gmp-4.1:0=
|
||||
dev-libs/libltdl:0=
|
||||
sys-devel/gettext
|
||||
sys-libs/ncurses:0=
|
||||
emacs? ( virtual/emacs )
|
||||
readline? ( sys-libs/readline:0= )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/texinfo
|
||||
sys-devel/libtool"
|
||||
|
||||
# Guile seems to contain some slotting support, /usr/share/guile/ is slotted,
|
||||
# but there are lots of collisions. Most in /usr/share/libguile. Therefore
|
||||
# I'm slotting this in the same slot as guile-1.6* for now.
|
||||
SLOT="12"
|
||||
MAJOR="1.8"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-fix_guile-config.patch" \
|
||||
"${FILESDIR}/${P}-gcc46.patch" \
|
||||
"${FILESDIR}/${P}-gcc5.patch" \
|
||||
"${FILESDIR}/${P}-makeinfo-5.patch" \
|
||||
"${FILESDIR}/${P}-gtexinfo-5.patch" \
|
||||
"${FILESDIR}/${P}-readline.patch" \
|
||||
"${FILESDIR}/${P}-tinfo.patch" \
|
||||
"${FILESDIR}/${P}-sandbox.patch"
|
||||
|
||||
sed \
|
||||
-e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g" \
|
||||
-e "/AM_PROG_CC_STDC/d" \
|
||||
-i guile-readline/configure.in
|
||||
|
||||
epatch_user
|
||||
|
||||
mv "${S}"/configure.{in,ac} || die
|
||||
mv "${S}"/guile-readline/configure.{in,ac} || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# see bug #178499
|
||||
filter-flags -ftree-vectorize
|
||||
|
||||
#will fail for me if posix is disabled or without modules -- hkBst
|
||||
econf \
|
||||
--disable-error-on-warning \
|
||||
--disable-static \
|
||||
--enable-posix \
|
||||
$(use_enable networking) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable regex) \
|
||||
$(use deprecated || use_enable discouraged) \
|
||||
$(use_enable deprecated) \
|
||||
$(use_enable emacs elisp) \
|
||||
$(use_enable nls) \
|
||||
--disable-rpath \
|
||||
$(use_enable debug-freelist) \
|
||||
$(use_enable debug-malloc) \
|
||||
$(use_enable debug guile-debug) \
|
||||
$(use_with threads) \
|
||||
--with-modules \
|
||||
EMACS=no
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
# Above we have disabled the build system's Emacs support;
|
||||
# for USE=emacs we compile (and install) the files manually
|
||||
if use emacs; then
|
||||
cd emacs
|
||||
elisp-compile *.el || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README THANKS
|
||||
|
||||
# texmacs needs this, closing bug #23493
|
||||
dodir /etc/env.d
|
||||
echo "GUILE_LOAD_PATH=\"${EPREFIX}/usr/share/guile/${MAJOR}\"" > "${ED}"/etc/env.d/50guile
|
||||
|
||||
# necessary for registering slib, see bug 206896
|
||||
keepdir /usr/share/guile/site
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} emacs/*.{el,elc} || die
|
||||
elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[ "${EROOT}" == "/" ] && pkg_config
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if has_version dev-scheme/slib; then
|
||||
einfo "Registering slib with guile"
|
||||
install_slib_for_guile
|
||||
fi
|
||||
}
|
||||
|
||||
_pkg_prerm() {
|
||||
rm -f "${EROOT}"/usr/share/guile/site/slibcat
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST nanum-3.0.tar.gz 37345484 SHA256 b6d057112076ba36d7c476f291424d292d222ad4effd3300a779565d2ebc5f7b SHA512 f2fcb765910a5cc1e04d18c0007d84e2ec970e286f09d4cf212a13b6c6c8838e4932e37e15ad0801d3b596ea7ce2605f93826968c940ffa50707d9e7aa313200 WHIRLPOOL ca47c54cbd893083ff6a5b3fbdf1d110e1ee1d53ea7c47c18326ee528aede320ad1824d18cd6a809334d32d7291adb89f8661e77dde36b234ffb5935d52e6450
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>fonts</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit font
|
||||
|
||||
DESCRIPTION="The Nanum Korean fonts distributed by Naver"
|
||||
HOMEPAGE="http://hangeul.naver.com/2014/nanum"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="OFL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="binchecks strip"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
FONT_SUFFIX="ttf"
|
@ -1,2 +1,3 @@
|
||||
DIST lilv-0.18.0.tar.bz2 201334 SHA256 55995dd966df233337d80ff59c7b2a7ed0df56e82ec06d179feb518f00733ccd SHA512 a4892446220f642fb555eed39ce50a8235546c4415e979fe7f54acdc89fca6e437632b714e179806f3cbb80c81c0988978b8e1bcaa904c5e23ca789f6cb39206 WHIRLPOOL b36bbf7ce471e5cac4da7cb3fee3eea59dc85d494f745aec1a2fd8cc34289bd24c4c77302ea2613292847a65c4d84440b1a4780b4f45b6fac9585ceb005716ad
|
||||
DIST lilv-0.20.0.tar.bz2 207948 SHA256 428a39f1265d44c55f2604829a12ade0ea13e1a1022ff937ca2a9ad227bd422a SHA512 bbc8b9154339cd145a61c5e4613fd31a2e457df8242c55371f3245564d3b23d028a0bc0ffafac393119bb47171b7c735f0c3a55cf5bffc6920ae89aa877240e5 WHIRLPOOL 1e71e553f1b969d40042633c9eb63b96ef1f9d72d8087326414f840ffe8ee38094f63cabf0efc57dece04471e7d4897140fbb886bad21f11a6282d420530d51c
|
||||
DIST lilv-0.22.0.tar.bz2 217207 SHA256 cd279321223ef11ca01551767d3c16d68cb31f689e02320a0b2e37b4f7d17ab4 SHA512 6c2827c1658437bd00f66f81d87c55c9dc26b575dd42f6dcce04c58f4a924fd6fa1499730f1b5ab4703d0537d722e6fd0d841fce065660b37540d257cf13024a WHIRLPOOL acc86bef9e3e2b1153aefa5c0c15f57594c898c43be9eb9e77219eacb57baf9dc284da1fe7990b79c7627c26f624ee3a8d369963f59f8635a32112d2a7417558
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE='threads(+)'
|
||||
|
||||
inherit base python-any-r1 waf-utils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Library to make the use of LV2 plugins as simple as possible for applications"
|
||||
HOMEPAGE="http://drobilla.net/software/lilv/"
|
||||
SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc +dyn-manifest static-libs test"
|
||||
|
||||
RDEPEND="media-libs/lv2
|
||||
>=media-libs/sratom-0.4.0
|
||||
>=dev-libs/serd-0.14.0
|
||||
>=dev-libs/sord-0.13.0"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( "AUTHORS" "NEWS" "README" )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
waf-utils_src_configure \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--no-bash-completion \
|
||||
$(use test && echo "--test") \
|
||||
$(use doc && echo "--docs") \
|
||||
$(use static-libs && echo "--static") \
|
||||
$(use dyn-manifest && echo "--dyn-manifest")
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./waf test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
waf-utils_src_install
|
||||
newbashcomp utils/lilv.bash_completion ${PN}
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST qtractor-0.7.0.tar.gz 1447905 SHA256 5cda28d210e0301dfd1c426b015c0568dab29b8d27f8b5f0a7d0a4ae7eed22e4 SHA512 daa04b477d261ebd6d2af62db7cc708ab03960202332294ac7f62b475cbde5cb94db931674bd693ea4374aff489234ed0cefc5fc191d8ab079685b8039e03399 WHIRLPOOL 11d741a5799c352125f56a7ebcafec49442ffa4103c1be96d9e034ec0025ccbc681d26ea234e835b05d9d252e26d584810fa9dd1f05bd6adf1a866d734f65ec6
|
||||
DIST qtractor-0.7.1.tar.gz 1438633 SHA256 d0425f7d48f0032fd6ae4fc4b3d8f97d3dd21d08653fb4e26be5c8471da1cd89 SHA512 fa2210426388d0efdf920f591ad776c582867e9a556efaad3a03b575cd1f5702b686d347ad6a3991db07fcd7142b227d4b812095d91e280a01dc3f8dddfc8ede WHIRLPOOL af69a1e4c77a58961b63d431fa09eff8a7a5082dd35b8887f173c462e967b4be0843e203d4ca1cc9df9b869fbe3695e3f2187bc052dcbdc3ba7b39669a1f7bd5
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qmake-utils flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Qtractor is an Audio/MIDI multi-track sequencer"
|
||||
HOMEPAGE="http://qtractor.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/qtractor/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="debug dssi libsamplerate mad osc qt5 rubberband vorbis cpu_flags_x86_sse zlib"
|
||||
|
||||
RDEPEND="
|
||||
!qt5? (
|
||||
>=dev-qt/qtcore-4.2:4
|
||||
>=dev-qt/qtgui-4.7:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
media-libs/alsa-lib
|
||||
media-libs/libsndfile
|
||||
media-sound/jack-audio-connection-kit
|
||||
media-libs/ladspa-sdk
|
||||
>=media-libs/lilv-0.16.0
|
||||
media-libs/lv2
|
||||
media-libs/suil
|
||||
dssi? ( media-libs/dssi )
|
||||
mad? ( media-libs/libmad )
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
osc? ( media-libs/liblo )
|
||||
rubberband? ( media-libs/rubberband )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
qt5? ( dev-qt/linguist-tools:5 )"
|
||||
|
||||
DOCS="README ChangeLog TODO AUTHORS"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable mad libmad) \
|
||||
$(use_enable libsamplerate) \
|
||||
$(use_enable vorbis libvorbis) \
|
||||
$(use_enable osc liblo) \
|
||||
--enable-ladspa \
|
||||
$(use_enable dssi) \
|
||||
--enable-lilv \
|
||||
$(use_enable qt5) \
|
||||
$(use_with qt5 qt5 "$(qt5_get_libdir)/qt5") \
|
||||
$(use_enable rubberband librubberband) \
|
||||
$(use_enable cpu_flags_x86_sse sse) \
|
||||
$(use_enable zlib libz) \
|
||||
$(use_enable debug)
|
||||
|
||||
if use qt5 ; then
|
||||
eqmake5 ${PN}.pro -o ${PN}.mak
|
||||
else
|
||||
eqmake4 ${PN}.pro -o ${PN}.mak
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
}
|
@ -1 +1 @@
|
||||
Mon, 12 Oct 2015 19:41:22 +0000
|
||||
Tue, 13 Oct 2015 10:11:26 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 12 Oct 2015 19:41:22 +0000
|
||||
Tue, 13 Oct 2015 10:11:26 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue