parent
5caa5a195c
commit
65822d4660
@ -1,2 +1,2 @@
|
||||
DIST ulogd-2.0.3.tar.bz2 447550 SHA256 1ec965073e7f4e5605b2bd1c143b2094e495ad24a298e6fc8f6fcbd131234376 SHA512 09d61cca6cd1c8137b3a4e5ce101f54e48f30c98761602a97766554bc4130eda632b8541f5c1e3e2ac686ec718bb4d440d3bea57c811317cabb274917c996140 WHIRLPOOL f79f0300e610ee9de82aee478dec1c28ffbe10c7b4348ddc586229ac53226f238371f1e71d0b33095904d373c26359b848e18069d8da3d7e22a4819568c1ee44
|
||||
DIST ulogd-2.0.4.tar.bz2 452234 SHA256 56b30a13a8832e97178f39b7bb173a0b1dfe173dbb60d99a1a386c0962a2effd SHA512 08e88661fcfbcfd327b03b7a883dc239991f47d5a4e4561f3ada5f6acc8f2349f3bd38c1c67f28e42bbccf4cad63b2b7c3b732c23bf24b7c5f05320d27977773 WHIRLPOOL 94ee731cee8b95295d1c675bb3904be1a5b27a1e901d462f248116c865e79d52703b5330882110d7212bda1bb964fc0c97c3e704589071f47fab4475e1c91161
|
||||
DIST ulogd-2.0.5.tar.bz2 456258 SHA256 a221cb9f77347c0ca00d0937e27c1b90e3291a553cc62a4139b788e2e420e8c0 SHA512 bf00b8adaad7bd04077a83521b0d7accc26e644c8f3386819e7f91476178b6733f1c6554fb82dd0d3913398c83a61d65f61dc973f199f610bfaadc6251504819 WHIRLPOOL fe499ac7b4070581439a05f4f2245f7a42fe5630da5dc32b9b069511ed1faa15fe482eee08d50477d3fb1d0bf0d3855a69fc82fb0f3e8eecdf082fb642519f91
|
||||
|
@ -0,0 +1,45 @@
|
||||
commit c61c05c2d050410c24346d42b013d7cb39149949
|
||||
Author: Harald Welte <laforge@gnumonks.org>
|
||||
Date: Sun May 3 11:08:54 2015 +0200
|
||||
|
||||
configure.ac: Add --without-{mysql,pgsql}
|
||||
|
||||
In some cases you may not want to build a certain output plugin, even
|
||||
if the headers/libraries actually exist on the build host.
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index c814bec..1a7f8de 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -85,7 +85,10 @@ if [! test "x$enable_nfacct" = "xyes"]; then
|
||||
enable_nfacct="no"
|
||||
fi
|
||||
|
||||
-CT_CHECK_POSTGRES_DB()
|
||||
+AC_ARG_WITH([pgsql], AS_HELP_STRING([--without-pgsql], [Build without postgresql output plugin [default=test]]))
|
||||
+AS_IF([test "x$with_pgsql" != "xno"], [
|
||||
+ CT_CHECK_POSTGRES_DB()
|
||||
+])
|
||||
AM_CONDITIONAL(HAVE_PGSQL, test "x$PQLIBPATH" != "x")
|
||||
if test "x$PQLIBPATH" != "x"; then
|
||||
enable_pgsql="yes"
|
||||
@@ -93,7 +96,10 @@ else
|
||||
enable_pgsql="no"
|
||||
fi
|
||||
|
||||
-CT_CHECK_MYSQL_DB()
|
||||
+AC_ARG_WITH([mysql], AS_HELP_STRING([--without-mysql], [Build without mysql output plugin [default=test]]))
|
||||
+AS_IF([test "x$with_mysql" != "xno"], [
|
||||
+ CT_CHECK_MYSQL_DB()
|
||||
+])
|
||||
AM_CONDITIONAL(HAVE_MYSQL, test "x$MYSQL_LIB" != "x")
|
||||
if test "x$MYSQL_LIB" != "x"; then
|
||||
enable_mysql="yes"
|
||||
@@ -101,6 +107,7 @@ else
|
||||
enable_mysql="no"
|
||||
fi
|
||||
|
||||
+
|
||||
AC_ARG_WITH([sqlite], AS_HELP_STRING([--without-sqlite], [Build without SQLITE3 output plugin [default=test]]))
|
||||
AS_IF([test "x$with_sqlite" != "xno"], [
|
||||
PKG_CHECK_MODULES([libsqlite3], [sqlite3], [], [:])
|
@ -1,9 +0,0 @@
|
||||
/var/log/ulogd/ulogd.log /var/log/ulogd/ulogd_syslogemu.log {
|
||||
sharedscripts
|
||||
missingok
|
||||
notifempty
|
||||
create 0640 ulogd
|
||||
postrotate
|
||||
/etc/init.d/ulogd reopen_logs > /dev/null
|
||||
endscript
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
/var/log/ulogd/*.log {
|
||||
sharedscripts
|
||||
missingok
|
||||
notifempty
|
||||
create 0640 ulogd
|
||||
postrotate
|
||||
[ -f /run/ulogd.pid ] && /bin/kill -HUP $(cat /run/ulogd.pid)
|
||||
endscript
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=A userspace logging daemon for netfilter/iptables related logging
|
||||
Before=iptables.service ip6tables.service
|
||||
After=mysql.service postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/sbin/ulogd --uid ulogd --pidfile /run/ulogd.pid
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=network.target
|
@ -0,0 +1,141 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-2.0.5.ebuild,v 1.1 2015/05/30 09:38:29 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit autotools-utils eutils linux-info readme.gentoo systemd user
|
||||
|
||||
DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging"
|
||||
HOMEPAGE="http://netfilter.org/projects/ulogd/index.html"
|
||||
SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.bz2
|
||||
http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
|
||||
IUSE="dbi doc json mysql nfacct +nfct +nflog pcap postgres sqlite -ulog"
|
||||
|
||||
RDEPEND="
|
||||
net-firewall/iptables
|
||||
>=net-libs/libnfnetlink-1.0.1
|
||||
dbi? ( dev-db/libdbi )
|
||||
json? ( dev-libs/jansson )
|
||||
nfacct? (
|
||||
>=net-libs/libmnl-1.0.3
|
||||
>=net-libs/libnetfilter_acct-1.0.1
|
||||
)
|
||||
nfct? ( >=net-libs/libnetfilter_conntrack-1.0.2 )
|
||||
nflog? ( >=net-libs/libnetfilter_log-1.0.0 )
|
||||
mysql? ( virtual/mysql )
|
||||
pcap? ( net-libs/libpcap )
|
||||
postgres? ( dev-db/postgresql:= )
|
||||
sqlite? ( dev-db/sqlite:3 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
app-text/linuxdoc-tools
|
||||
app-text/texlive-core
|
||||
virtual/latex-base
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-remove-db-automagic.patch" )
|
||||
|
||||
DOCS=( AUTHORS README TODO )
|
||||
DOC_CONTENTS="You must have at least one logging stack enabled to make ulogd work.
|
||||
Please edit example configuration located at /etc/ulogd.conf"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ulogd
|
||||
enewuser ulogd -1 -1 /var/log/ulogd ulogd
|
||||
|
||||
linux-info_pkg_setup
|
||||
|
||||
if kernel_is lt 2 6 14; then
|
||||
die "ulogd2 requires kernel newer than 2.6.14"
|
||||
fi
|
||||
|
||||
if kernel_is lt 2 6 18; then
|
||||
ewarn "You are using kernel older than 2.6.18"
|
||||
ewarn "Some ulogd2 features may be unavailable"
|
||||
fi
|
||||
|
||||
if use nfacct && kernel_is lt 3 3 0; then
|
||||
ewarn "NFACCT input plugin requires kernel newer than 3.3.0"
|
||||
fi
|
||||
|
||||
if use ulog && kernel_is gt 3 17 0; then
|
||||
ewarn "ULOG target was removed since 3.17.0 kernel release"
|
||||
ewarn "Consider enabling NFACCT, NFCT or NFLOG support"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# - make all logs to be kept in a single dir /var/log/ulogd
|
||||
# - place sockets in /run instead of /tmp
|
||||
sed -i \
|
||||
-e 's:var/log:var/log/ulogd:g' \
|
||||
-e 's:tmp:run:g' \
|
||||
ulogd.conf.in || die 'sed on ulogd.conf.in failed'
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with dbi)
|
||||
$(use_with json jansson)
|
||||
$(use_enable nfacct)
|
||||
$(use_enable nfct)
|
||||
$(use_enable nflog)
|
||||
$(use_with mysql)
|
||||
$(use_with pcap)
|
||||
$(use_with postgres pgsql)
|
||||
$(use_with sqlite)
|
||||
$(use_enable ulog)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
if use doc; then
|
||||
# prevent access violations from generation of bitmap font files
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
emake -C doc
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
readme.gentoo_create_doc
|
||||
prune_libtool_files --modules
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/${PN}.html
|
||||
dodoc doc/${PN}.dvi doc/${PN}.txt doc/${PN}.ps
|
||||
fi
|
||||
|
||||
use sqlite && dodoc doc/sqlite3.table
|
||||
use mysql && dodoc doc/mysql-*.sql
|
||||
use postgres && dodoc doc/pgsql-*.sql
|
||||
doman ${PN}.8
|
||||
|
||||
insinto /etc
|
||||
doins ${PN}.conf
|
||||
fowners root:ulogd /etc/ulogd.conf
|
||||
fperms 640 /etc/ulogd.conf
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.init" ${PN}
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
diropts -o ulogd -g ulogd
|
||||
keepdir /var/log/ulogd
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST dpkg_1.17.23.tar.xz 4386124 SHA256 90c4af92fc248a7542cf6db1141d69b042130abd82781943b3c2608e78f860b5 SHA512 b0ebb6d072135f8eb0504084aab38d1f7366dd2bbf4a28a66f7fda5777236f56eb14dd43f8b5cd5ab8dd5d467e48b398221a271c2cb52360d09c7b7cec0e531a WHIRLPOOL cda6fab0c05e12a077a1c7c66883c85646b9f45ece209925947583a4f452f54750253249e21c2b650c13e57c4bfbb82caf807ab00a9163dd1db4bc289c874a04
|
||||
DIST dpkg_1.17.25.tar.xz 4407792 SHA256 07019d38ae98fb107c79dbb3690cfadff877f153b8c4970e3a30d2e59aa66baa SHA512 6a4b45c0f59cd11fc104d954ab790dd7e11e650cd6dde303a664023a04bf6fbc49c878eaf00e27dd7f9bf5e79a92b3a5f5923d003942436758a3027364a0b7c7 WHIRLPOOL 6ed2d8a645787a83f431803214cce9b1c7516c4083ffe651deb7c2f8b641b85d3a17271030286155a985dfd0046fbd584d2d750ab8954e8e5af74085d7651bd2
|
||||
DIST dpkg_1.18.0.tar.xz 4330304 SHA256 7b156fbeed5bbfb8aa546a18badb46e471b65fa00777ccd8d7e3bbce002f225a SHA512 8d51082707929d682a04e74843ba941ed66f992d592453e73bd267ba0cfe0c30e07c48c1188519c58d93ca9928631de7c915d34d126e07b81447d3380bd4fc89 WHIRLPOOL d9816e9ba6be50c3ffa29f1ff138f4cecb837b42803780f23217e5f876822cb89a482196df9c2554973c7ac5b236be97355a7f4c6aa56adcb5daf104f05ba2c8
|
||||
DIST dpkg_1.18.1.tar.xz 4340240 SHA256 cb26a97ca21c970cbe63a762125fe21f7437663badf6ce686589fe62650399da SHA512 1aa6b3e5300f80382d84c5f74d945863ea4bc4e71774d6798552421f26cd258b9b96cced1f65b8fca4995c96e2fa55dfb340aa7e1bb8a9f35c74a9fef8dcf0ba WHIRLPOOL 368d3c4e5639f46e0eca572dbcd29800ad4b2f6dadec812065abb0ffacd9846aec26d51f6f386770daa284a91ddd55734bdc9e8db4932df8ea3d0056c5da7839
|
||||
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.17.23.ebuild,v 1.12 2015/02/28 13:24:04 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Package maintenance system for Debian"
|
||||
HOMEPAGE="http://packages.qa.debian.org/dpkg"
|
||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="+bzip2 +lzma nls selinux test unicode +update-alternatives +zlib"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.6.0:=
|
||||
dev-perl/TimeDate
|
||||
>=sys-libs/ncurses-5.2-r7
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
nls? (
|
||||
app-text/po4a
|
||||
>=sys-devel/gettext-0.18.2
|
||||
)
|
||||
test? (
|
||||
dev-perl/DateTime-Format-DateParse
|
||||
dev-perl/IO-String
|
||||
dev-perl/Test-Pod
|
||||
virtual/perl-Test-Harness
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
# do not expect Debian's gzip --rsyncable extension
|
||||
epatch "${FILESDIR}"/${PN}-1.17.0-gzip-rsyncable.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.17.1-flags.patch
|
||||
|
||||
# Force the use of the running bash for get-version (this file is never
|
||||
# installed, so no need to worry about hardcoding a temporary bash)
|
||||
sed -i -e '1c\#!'"${BASH}" get-version || die
|
||||
|
||||
if [[ ${CHOST} == mips64*-linux-gnu ]] ; then
|
||||
# Debian targets use custom full tuples. Map the default one
|
||||
# based on the ABI we're using.
|
||||
local abi
|
||||
if [[ ${ABI} == "n64" ]] ; then
|
||||
abi="mips64"
|
||||
else
|
||||
abi="mipsn32"
|
||||
fi
|
||||
printf "gnu-linux-mips64 ${abi}\ngnu-linux-mips64el ${abi}el\n" >> triplettable
|
||||
fi
|
||||
|
||||
use nls && strip-linguas -i po
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable unicode) \
|
||||
$(use_enable update-alternatives) \
|
||||
$(use_with bzip2 bz2) \
|
||||
$(use_with lzma liblzma) \
|
||||
$(use_with selinux) \
|
||||
$(use_with zlib) \
|
||||
--disable-compiler-warnings \
|
||||
--disable-dselect \
|
||||
--disable-silent-rules \
|
||||
--disable-start-stop-daemon \
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR=$(tc-getAR)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
|
||||
keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.18.0.ebuild,v 1.1 2015/05/19 04:28:19 jer Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.18.1.ebuild,v 1.1 2015/05/30 09:44:47 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib autotools toolchain-funcs
|
@ -0,0 +1,138 @@
|
||||
From 52d3d64863d2fab4128f524870851f18f5cae1fc Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Old=C5=99ich=20Jedli=C4=8Dka?= <oldium.pro@seznam.cz>
|
||||
Date: Sat, 14 Feb 2015 15:31:07 +0100
|
||||
Subject: [PATCH] Fixed compilation with newer ffmpeg/libav.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Oldřich Jedlička <oldium.pro@seznam.cz>
|
||||
---
|
||||
plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp | 60 ++++++++++++++++++++++++-----
|
||||
1 file changed, 50 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp b/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
|
||||
index 5451fd3..2f80fd6 100644
|
||||
--- a/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
|
||||
+++ b/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
|
||||
@@ -86,8 +86,12 @@ public:
|
||||
K3b::Msf length;
|
||||
|
||||
// for decoding. ffmpeg requires 16-byte alignment.
|
||||
+#ifdef HAVE_FFMPEG_AVCODEC_DECODE_AUDIO4
|
||||
+ ::AVFrame* frame;
|
||||
+#else
|
||||
char outputBuffer[AVCODEC_MAX_AUDIO_FRAME_SIZE + 15];
|
||||
char* alignedOutputBuffer;
|
||||
+#endif
|
||||
char* outputBufferPos;
|
||||
int outputBufferSize;
|
||||
::AVPacket packet;
|
||||
@@ -102,14 +106,29 @@ K3bFFMpegFile::K3bFFMpegFile( const QString& filename )
|
||||
d = new Private;
|
||||
d->formatContext = 0;
|
||||
d->codec = 0;
|
||||
+#ifdef HAVE_FFMPEG_AVCODEC_DECODE_AUDIO4
|
||||
+# if LIBAVCODEC_BUILD < AV_VERSION_INT(55,28,1)
|
||||
+ d->frame = avcodec_alloc_frame();
|
||||
+# else
|
||||
+ d->frame = av_frame_alloc();
|
||||
+# endif
|
||||
+#else
|
||||
int offset = 0x10 - (reinterpret_cast<intptr_t>(&d->outputBuffer) & 0xf);
|
||||
d->alignedOutputBuffer = &d->outputBuffer[offset];
|
||||
+#endif
|
||||
}
|
||||
|
||||
|
||||
K3bFFMpegFile::~K3bFFMpegFile()
|
||||
{
|
||||
close();
|
||||
+#ifdef HAVE_FFMPEG_AVCODEC_DECODE_AUDIO4
|
||||
+# if LIBAVCODEC_BUILD < AV_VERSION_INT(55,28,1)
|
||||
+ av_free(d->frame);
|
||||
+# else
|
||||
+ av_frame_free(&d->frame);
|
||||
+# endif
|
||||
+#endif
|
||||
delete d;
|
||||
}
|
||||
|
||||
@@ -326,26 +345,36 @@ int K3bFFMpegFile::fillOutputBuffer()
|
||||
return 0;
|
||||
}
|
||||
|
||||
+#ifdef HAVE_FFMPEG_AVCODEC_DECODE_AUDIO4
|
||||
+ int gotFrame = 0;
|
||||
+ int len = ::avcodec_decode_audio4(
|
||||
+#else
|
||||
d->outputBufferPos = d->alignedOutputBuffer;
|
||||
d->outputBufferSize = AVCODEC_MAX_AUDIO_FRAME_SIZE;
|
||||
-
|
||||
-#ifdef HAVE_FFMPEG_AVCODEC_DECODE_AUDIO3
|
||||
+# ifdef HAVE_FFMPEG_AVCODEC_DECODE_AUDIO3
|
||||
int len = ::avcodec_decode_audio3(
|
||||
-#else
|
||||
-# ifdef HAVE_FFMPEG_AVCODEC_DECODE_AUDIO2
|
||||
- int len = ::avcodec_decode_audio2(
|
||||
# else
|
||||
+# ifdef HAVE_FFMPEG_AVCODEC_DECODE_AUDIO2
|
||||
+ int len = ::avcodec_decode_audio2(
|
||||
+# else
|
||||
int len = ::avcodec_decode_audio(
|
||||
+# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
FFMPEG_CODEC(d->formatContext->streams[0]),
|
||||
+#ifdef HAVE_FFMPEG_AVCODEC_DECODE_AUDIO4
|
||||
+ d->frame,
|
||||
+ &gotFrame,
|
||||
+ &d->packet );
|
||||
+#else
|
||||
(short*)d->alignedOutputBuffer,
|
||||
&d->outputBufferSize,
|
||||
-#ifdef HAVE_FFMPEG_AVCODEC_DECODE_AUDIO3
|
||||
+# ifdef HAVE_FFMPEG_AVCODEC_DECODE_AUDIO3
|
||||
&d->packet );
|
||||
-#else
|
||||
+# else
|
||||
d->packetData, d->packetSize );
|
||||
+# endif
|
||||
#endif
|
||||
|
||||
if( d->packetSize <= 0 || len < 0 )
|
||||
@@ -355,6 +384,17 @@ int K3bFFMpegFile::fillOutputBuffer()
|
||||
return -1;
|
||||
}
|
||||
|
||||
+#ifdef HAVE_FFMPEG_AVCODEC_DECODE_AUDIO4
|
||||
+ if ( gotFrame ) {
|
||||
+ d->outputBufferSize = ::av_samples_get_buffer_size(
|
||||
+ NULL,
|
||||
+ FFMPEG_CODEC(d->formatContext->streams[0])->channels,
|
||||
+ d->frame->nb_samples,
|
||||
+ FFMPEG_CODEC(d->formatContext->streams[0])->sample_fmt,
|
||||
+ 1 );
|
||||
+ d->outputBufferPos = reinterpret_cast<char*>( d->frame->data[0] );
|
||||
+ }
|
||||
+#endif
|
||||
d->packetSize -= len;
|
||||
d->packetData += len;
|
||||
}
|
||||
@@ -420,9 +460,9 @@ K3bFFMpegFile* K3bFFMpegWrapper::open( const QString& filename ) const
|
||||
// mp3 being one of them sadly. Most importantly: allow the libsndfile decoder to do
|
||||
// its thing.
|
||||
//
|
||||
- if( file->type() == CODEC_ID_WMAV1 ||
|
||||
- file->type() == CODEC_ID_WMAV2 ||
|
||||
- file->type() == CODEC_ID_AAC )
|
||||
+ if( file->type() == AV_CODEC_ID_WMAV1 ||
|
||||
+ file->type() == AV_CODEC_ID_WMAV2 ||
|
||||
+ file->type() == AV_CODEC_ID_AAC )
|
||||
#endif
|
||||
return file;
|
||||
}
|
||||
--
|
||||
2.0.5
|
||||
|
@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-2.0.3-r2.ebuild,v 1.1 2015/05/30 13:40:46 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MULTIMEDIA_REQUIRED="always"
|
||||
WEBKIT_REQUIRED="always"
|
||||
KDE_HANDBOOK="optional"
|
||||
KDE_SCM="git"
|
||||
|
||||
# Translations are not available, since this is a snapshot
|
||||
KDE_LINGUAS="ast be bg bs ca ca@valencia cs csb da de el en_GB eo es et eu fi fr
|
||||
ga gl he hi hne hr hu is it ja kk km ko ku lt lv mai mr ms nb nds nl nn oc pa pl
|
||||
pt pt_BR ro ru se sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv th tr ug uk
|
||||
zh_CN zh_TW"
|
||||
|
||||
SRC_URI="mirror://kde/stable/${PN}/${P}a.tar.xz"
|
||||
DOCS=( FAQ PERMISSIONS README )
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="The CD/DVD Kreator for KDE"
|
||||
HOMEPAGE="http://www.k3b.org/"
|
||||
|
||||
LICENSE="GPL-2 FDL-1.2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug dvd emovix encode ffmpeg flac libav mad mp3 musepack sndfile sox taglib vcd vorbis"
|
||||
|
||||
CDEPEND="
|
||||
|| ( kde-apps/libkcddb:4 $(add_kdebase_dep libkcddb) )
|
||||
media-libs/libsamplerate
|
||||
dvd? ( media-libs/libdvdread )
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
flac? ( >=media-libs/flac-1.2[cxx] )
|
||||
mp3? ( media-sound/lame )
|
||||
mad? ( media-libs/libmad )
|
||||
musepack? ( >=media-sound/musepack-tools-444 )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
taglib? ( >=media-libs/taglib-1.5 )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
sys-devel/gettext
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
$(add_kdebase_dep kdelibs 'udev,udisks(+)')
|
||||
app-cdr/cdrdao
|
||||
media-sound/cdparanoia
|
||||
virtual/cdrtools
|
||||
dvd? (
|
||||
>=app-cdr/dvd+rw-tools-7
|
||||
encode? ( media-video/transcode[dvd] )
|
||||
)
|
||||
emovix? ( media-video/emovix )
|
||||
sox? ( media-sound/sox )
|
||||
vcd? ( media-video/vcdimager )
|
||||
"
|
||||
|
||||
DOCS+=( ChangeLog )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.0.3-libav-11.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="
|
||||
mp3? ( encode )
|
||||
sox? ( encode )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DK3B_BUILD_API_DOCS=OFF
|
||||
-DK3B_BUILD_K3BSETUP=OFF
|
||||
-DK3B_BUILD_WAVE_DECODER_PLUGIN=ON
|
||||
-DK3B_ENABLE_HAL_SUPPORT=OFF
|
||||
-DK3B_ENABLE_MUSICBRAINZ=OFF
|
||||
$(cmake-utils_use debug K3B_DEBUG)
|
||||
$(cmake-utils_use dvd K3B_ENABLE_DVD_RIPPING)
|
||||
$(cmake-utils_use encode K3B_BUILD_EXTERNAL_ENCODER_PLUGIN)
|
||||
$(cmake-utils_use ffmpeg K3B_BUILD_FFMPEG_DECODER_PLUGIN)
|
||||
$(cmake-utils_use flac K3B_BUILD_FLAC_DECODER_PLUGIN)
|
||||
$(cmake-utils_use mp3 K3B_BUILD_LAME_ENCODER_PLUGIN)
|
||||
$(cmake-utils_use mad K3B_BUILD_MAD_DECODER_PLUGIN)
|
||||
$(cmake-utils_use musepack K3B_BUILD_MUSE_DECODER_PLUGIN)
|
||||
$(cmake-utils_use sndfile K3B_BUILD_SNDFILE_DECODER_PLUGIN)
|
||||
$(cmake-utils_use sox K3B_BUILD_SOX_ENCODER_PLUGIN)
|
||||
$(cmake-utils_use taglib K3B_ENABLE_TAGLIB)
|
||||
$(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_DECODER_PLUGIN)
|
||||
$(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_ENCODER_PLUGIN)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
echo
|
||||
elog "We don't install k3bsetup anymore because Gentoo doesn't need it."
|
||||
elog "If you get warnings on start-up, uncheck the \"Check system"
|
||||
elog "configuration\" option in the \"Misc\" settings window."
|
||||
echo
|
||||
|
||||
local group=cdrom
|
||||
use kernel_linux || group=operator
|
||||
elog "Make sure you have proper read/write permissions on the cdrom device(s)."
|
||||
elog "Usually, it is sufficient to be in the ${group} group."
|
||||
echo
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/javatoolkit/javatoolkit-0.3.0-r4.ebuild,v 1.7 2012/02/05 01:25:05 floppym Exp $
|
||||
|
||||
EAPI="2"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
PYTHON_USE_WITH="xml"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils eutils multilib
|
||||
|
||||
DESCRIPTION="Collection of Gentoo-specific tools for Java"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/java/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/pyxml"
|
||||
RESTRICT_PYTHON_ABIS="2.4 3.*"
|
||||
|
||||
PYTHON_MODNAME="javatoolkit"
|
||||
|
||||
src_prepare(){
|
||||
epatch "${FILESDIR}/${P}-python2.6.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install --install-scripts="/usr/$(get_libdir)/${PN}/bin"
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/javatoolkit/javatoolkit-0.3.0-r6.ebuild,v 1.11 2013/04/22 17:15:02 ago Exp $
|
||||
|
||||
EAPI="2"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
PYTHON_USE_WITH="xml"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 3.*"
|
||||
|
||||
inherit distutils eutils multilib
|
||||
|
||||
DESCRIPTION="Collection of Gentoo-specific tools for Java"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/java/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
PYTHON_VERSIONED_SCRIPTS=("/usr/lib(32|64)?/${PN}/bin/.*")
|
||||
PYTHON_MODNAME="javatoolkit"
|
||||
|
||||
src_prepare(){
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}/${P}-python2.6.patch"
|
||||
epatch "${FILESDIR}/${P}-no-pyxml.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install --install-scripts="/usr/$(get_libdir)/${PN}/bin"
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr181/jsr181-1.0-r1.ebuild,v 1.2 2015/05/30 19:52:12 monsieurp Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="JSR 181 API classes"
|
||||
HOMEPAGE="http://jax-ws.dev.java.net/"
|
||||
DATE="20060817"
|
||||
MY_P="JAXWS2.0.1m1_source_${DATE}.jar"
|
||||
SRC_URI="https://jax-ws.dev.java.net/jax-ws-201-m1/${MY_P}"
|
||||
|
||||
LICENSE="CDDL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/jaxws-si"
|
||||
|
||||
src_unpack() {
|
||||
printf '%s\n' "A" | $(java-config --java) -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed"
|
||||
unpack ./jaxws-src.zip || die "unzip failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar lib/jsr181-api.jar
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild,v 1.5 2010/02/25 18:56:05 zmedico Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="CamlIDL is a stub code generator for using C/C++ libraries from O'Caml"
|
||||
HOMEPAGE="http://caml.inria.fr/camlidl/"
|
||||
SRC_URI="http://caml.inria.fr/distrib/bazar-ocaml/${P}.tar.gz"
|
||||
LICENSE="QPL-1.0 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~ppc ~amd64"
|
||||
IUSE=""
|
||||
DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt]"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/tests.patch"
|
||||
epatch "${FILESDIR}/includes.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Use the UNIX makefile
|
||||
libdir=`ocamlc -where`
|
||||
sed -i -e "s|OCAMLLIB=.*|OCAMLLIB=${libdir}|" config/Makefile.unix
|
||||
sed -i -e "s|BINDIR=.*|BINDIR=/usr/bin|" config/Makefile.unix
|
||||
ln -s Makefile.unix config/Makefile
|
||||
|
||||
# Make
|
||||
emake -j1 || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo "Running tests..."
|
||||
cd tests
|
||||
( emake CCPP="$(tc-getCXX)" && einfo "Tests finished successfully" ) || die "Tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
libdir=`ocamlc -where`
|
||||
dodir ${libdir}/caml
|
||||
dodir /usr/bin
|
||||
# Install
|
||||
emake BINDIR="${D}/usr/bin" OCAMLLIB="${D}${libdir}" install || die
|
||||
|
||||
# Documentation
|
||||
dodoc README Changes || die
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST ocaml-3.10-refman.html.tar.gz 518472 SHA256 9c4717a8d52a3d2a29792301b98a14e22ea249e1b958dada46e87a01a795ccd9 SHA512 2a401d82fee701c12abd893564e9db5b8d6c5ca17a0bd3c0b286c63d876e8405f2515e1db16c78ad7ad9c76d37456c58fa8fb1bf6efdc058ea86f1184769b026 WHIRLPOOL 9ffae93d4c782f0a690aeb8445d9d2288957d590a5e7db71f21c33d6f4a9c00c4a9cbd21042fee4bde8241251d59f0def1d163c1ac3d9cdc1073bda06638f44b
|
||||
DIST ocaml-3.11-refman.html.tar.gz 536530 SHA256 1c65b334ccb155aefa1e5e930a91f816d843d37e26b27d3a0351c57149005a5c SHA512 da0a266bab05dbb3a06687cfea183b1f92f21c7d03abcefe297e9084b3259a94e87ec63038eef920b2203a0fce9d7a5265abb5314ee3922cacb32a513f71decd WHIRLPOOL 97218af0723cb000b47eaabca01c112f1f85c36409a4cf097a97eacf4196d903321d7e96f2cbbf637cfec24380512738920f3a1f4918b031dec70197ffd811bf
|
||||
DIST ocaml-3.12-refman.html.tar.gz 525840 SHA256 fc553d1d6be95364710462822de702b238a224e7e0d2f58c65360ea77b6bc623 SHA512 b4cc9fa80cb3d889f69e4b305b0078a59db2f26b39d361307462b93ad63cb1d81fe81c2159c3aef2defa3e38c9e655205891b5ef790722a81dc5faa34e962ba4 WHIRLPOOL e16f58ee4f37377ff25f130d5b6c83873effa76edc8de2d17dfb6d36ac80b4b4ded71bd67427008f08041c38ced22f8cea9e5f3cfbf3819ccf80fa92a31ce722
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-doc/ocaml-doc-3.10.ebuild,v 1.2 2008/07/13 06:53:29 josejx Exp $
|
||||
|
||||
DESCRIPTION="Ocaml reference manual (html)"
|
||||
HOMEPAGE="http://caml.inria.fr/pub/docs/manual-ocaml/"
|
||||
SRC_URI="http://caml.inria.fr/pub/distrib/ocaml-${PV}/ocaml-${PV}-refman.html.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/htmlman
|
||||
|
||||
src_install() {
|
||||
dohtml -r *
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "This manual is available online at http://caml.inria.fr/pub/docs/manual-ocaml/"
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-doc/ocaml-doc-3.11.ebuild,v 1.1 2009/11/27 09:30:08 aballier Exp $
|
||||
|
||||
DESCRIPTION="Ocaml reference manual (html)"
|
||||
HOMEPAGE="http://caml.inria.fr/pub/docs/manual-ocaml/"
|
||||
SRC_URI="http://caml.inria.fr/pub/distrib/ocaml-${PV}/ocaml-${PV}-refman.html.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/htmlman
|
||||
|
||||
src_install() {
|
||||
dohtml -r *
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "This manual is available online at http://caml.inria.fr/pub/docs/manual-ocaml/"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST ocaml-make-6.36.0.tar.gz 39038 SHA256 2cf62dcf87c92823a687022460fab6dfabac9d9fbacde4da37d8528c2a0d20dd SHA512 a14dcfee1226b984661fbb5985fa6279529a35efb7ef881f72e71fb44b34fbc4ef4d31a9f094649a37ead59da844e3ca8eec69781dbf41752154bd7cc3fe70ce WHIRLPOOL 2fe18af24bc17254d6bb8b5a6ed0f66ded82b46924b85eb8e76c907c12f21d8b0537d0ed36dab1c0b7a3ddbb6c570d60c1b83539a1d72478917ce22a90d785e2
|
||||
DIST ocaml-makefile-6.37.0.tar.gz 49202 SHA256 99ff58080ed154cc4bd70f915fe4760dffb026a1c0447caa0b3bdb982b24b0a8 SHA512 19d318f8b03116c3e999b61c1a2708f483873ab7ae9260225df79888a86eb39e77867fdefe0df23a50ac1fd422b3b774f96b5b58d9dec449710527df1075a36d WHIRLPOOL d681ae29db4dc6c2731f7a7655295e4c462f3dd24608cf4c4c628f00615531d3ec8f869f1732702e5c2523605a7a7d84a043b8b6deddafed6d0e4ee530e19c7c
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-make/ocaml-make-6.36.0.ebuild,v 1.1 2012/02/19 13:25:36 aballier Exp $
|
||||
|
||||
DESCRIPTION="Generic O'Caml Makefile for GNU Make"
|
||||
HOMEPAGE="http://www.ocaml.info/home/ocaml_sources.html"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-lang/ocaml-3.06-r1
|
||||
>=dev-ml/findlib-0.8"
|
||||
SRC_URI="http://www.ocaml.info/ocaml_sources/${P}.tar.gz"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
src_install () {
|
||||
# Just put the OCamlMakefile into /usr/include
|
||||
# where GNU Make will automatically pick it up.
|
||||
insinto /usr/include
|
||||
doins OCamlMakefile
|
||||
# install documentation
|
||||
dodoc README.txt Changelog
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r calc camlp4 gtk idl threads
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST ocaml-mysql-1.0.4.tar.gz 119584 SHA256 59d11111558986f0ed237016f9758a3cb99e2fdd0ce0dc128319a3ac2a55259e SHA512 7eb3b4075f86e82a15dac53579c953d351968c3cdee957987892fe177af438e0fe57b0e8089ce1fbabcbff05d70262f2c33987c8201523dce35ae7180f264393 WHIRLPOOL a5f2cd0c56b82b523d96439ac3b12ab929fce7d708225f839bec9319508d8cf7eeb22d73fe86fc288562c3b00d5bf482b05cf5f547c02b5a2eb1682f98c66c7a
|
||||
DIST ocaml-mysql-1.1.1.tar.gz 119676 SHA256 f896fa101a05d81b85af8122fe1c2809008a5e5fdca00f9ceeb7eec356369e3a SHA512 a57e69bbde928aa15e4200cf08fe4504450ae95afbec96fab03412708986a628463acaadb1b66c8955baa0c8c8c5260ebeb2e961b907a056749c6546e006988f WHIRLPOOL dbc1ef77b1cb38002a852665561ff69234117d2c241a3d75769e7217b0e7fe40b7474be3da2781a9d28729c46274dab3d79a201b53320b4ce0140b2ea1492d5a
|
||||
|
@ -1,27 +0,0 @@
|
||||
--- etc/shtool.orig 2004-02-15 15:58:06.714608714 +0100
|
||||
+++ etc/shtool 2004-02-15 15:58:45.627450465 +0100
|
||||
@@ -532,13 +532,13 @@
|
||||
if [ ".$opt_e" = .yes -a ".`echo $text | egrep '%d'`" != . ]; then
|
||||
if [ ".$domainname" = . ]; then
|
||||
if [ -f /etc/resolv.conf ]; then
|
||||
- domainname="`egrep '^[ ]*domain' /etc/resolv.conf | head -1 |\
|
||||
+ domainname="`egrep '^[ ]*domain' /etc/resolv.conf | head -n 1 |\
|
||||
sed -e 's/.*domain//' \
|
||||
-e 's/^[ ]*//' -e 's/^ *//' -e 's/^ *//' \
|
||||
-e 's/^\.//' -e 's/^/./' |\
|
||||
awk '{ printf("%s", $1); }'`"
|
||||
if [ ".$domainname" = . ]; then
|
||||
- domainname="`egrep '^[ ]*search' /etc/resolv.conf | head -1 |\
|
||||
+ domainname="`egrep '^[ ]*search' /etc/resolv.conf | head -n 1 |\
|
||||
sed -e 's/.*search//' \
|
||||
-e 's/^[ ]*//' -e 's/^ *//' -e 's/^ *//' \
|
||||
-e 's/ .*//' -e 's/ .*//' \
|
||||
@@ -2100,7 +2100,7 @@
|
||||
if [ -r "$FILE" ]; then
|
||||
# grep out current information
|
||||
id=`grep 'Version [0-9]*.[0-9]*[.abps][0-9]* ([0-9]*-[a-zA-Z]*-[0-9]*)' $FILE | \
|
||||
- head -1 | \
|
||||
+ head -n 1 | \
|
||||
sed -e 's%.*Version \([0-9]*\)\.\([0-9]*\)\([.abps]\)\([0-9]*\) (\([0-9]*-[a-zA-Z]*-[0-9]*\)).*%\1:\2:\3:\4:\5%'`
|
||||
version=`echo $id | awk -F: '{ print $1 }'`
|
||||
revision=`echo $id | awk -F: '{ print $2 }'`
|
@ -1,20 +0,0 @@
|
||||
diff -Naur a/etc/shtool b/etc/shtool
|
||||
--- a/etc/shtool 2005-08-17 14:21:24.000000000 +0200
|
||||
+++ b/etc/shtool 2005-08-17 14:25:01.000000000 +0200
|
||||
@@ -378,8 +378,14 @@
|
||||
tmpdir="$TEMPDIR"
|
||||
fi
|
||||
fi
|
||||
- tmpfile="$tmpdir/.shtool.$$"
|
||||
- rm -f $tmpfile >/dev/null 2>&1
|
||||
+ if mkdir "$tmpdir/.shtool.$$"; then
|
||||
+ tmpfile="$tmpdir/.shtool.$$/shtool.tmp"
|
||||
+ else
|
||||
+ echo "$msgprefix:Error: failed to create temporary file" 1>&2
|
||||
+ exit 1
|
||||
+ fi
|
||||
+ tmpfile="$tmpdir/.shtool.$$/shtool.tmp"
|
||||
+ rm -fr "$tmpdir/.shtool.$$" >/dev/null 2>&1 || true
|
||||
touch $tmpfile
|
||||
fi
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-mysql/ocaml-mysql-1.0.4.ebuild,v 1.5 2014/08/10 20:43:03 slyfox Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit findlib eutils
|
||||
|
||||
IUSE="doc +ocamlopt"
|
||||
|
||||
DESCRIPTION="A package for ocaml that provides access to mysql databases"
|
||||
SRC_URI="http://raevnos.pennmush.org/code/${PN}/${P}.tar.gz"
|
||||
HOMEPAGE="http://raevnos.pennmush.org/code/ocaml-mysql/index.html"
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
|
||||
>=virtual/mysql-4.0"
|
||||
|
||||
RDEPEND="$DEPEND"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2"
|
||||
KEYWORDS="~amd64 ppc x86"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.0.3-head.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.0.3-shtool-r1.patch"
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
emake all || die "make failed"
|
||||
if use ocamlopt; then
|
||||
emake opt || die "make opt failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
findlib_src_preinst
|
||||
emake install || die "make install failed"
|
||||
|
||||
use doc && dohtml -r doc/html/*
|
||||
dodoc CHANGES README VERSION || die
|
||||
}
|
@ -1 +1 @@
|
||||
DIST Text-BibTeX-0.69.tar.gz 285395 SHA256 7fccd930786c0fd0c5f23b36b960fd95e03c43beefd4587009d7bd27e02ff0bf SHA512 06905ce24ccf3c0ad793bb80ee4dca8c57d0c68215decd0d3a92a62da51ab3ce528122cd238b4ba54f97ac2c11ce19521bce92f6ef754ad39eb44c15d24e90bb WHIRLPOOL 0180e56ae27a8d0d6fd2496247fe86af345b9e7d5043cc6ae4952deead1e6f9da78259b96b6af200e2ae662efcc512d12d21ddc9d2937eb7164b6142d3ecb26a
|
||||
DIST Text-BibTeX-0.71.tar.gz 285938 SHA256 cd0cc875b011aba4923b91caf65e448ed39148652e62c3fc4d4e074a982791cb SHA512 1e7ac36bc235e10c17d61ca0137a1bb464b7515840f9969e947c79d8a08830d3d21b270a2119363f345ba604d19300a359362a6a6e0ca21135b533945f93f95d WHIRLPOOL 1108f92de10eb17f34eafdfb61ef0172ea6ea4ed946c7c2fc3d310f58a9e7c2bd98eb094a9303eddd14f5ff25b6f5d2f1794c9cfb00693173ce62476324f0c6c
|
||||
|
@ -1,12 +1,11 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-BibTeX/Text-BibTeX-0.700.0.ebuild,v 1.1 2014/09/08 21:13:17 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-BibTeX/Text-BibTeX-0.710.0.ebuild,v 1.1 2015/05/30 13:45:16 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR="AMBS"
|
||||
MODULE_SECTION="Text"
|
||||
MODULE_VERSION=0.69
|
||||
MODULE_VERSION=0.71
|
||||
|
||||
inherit perl-module
|
||||
|
@ -0,0 +1 @@
|
||||
DIST django-tinymce-1.5.3.tar.gz 2456745 SHA256 2c453782de95d38bb280c2e6a8e34cc0fc4783052c521c4000d73ea853d5d2d4 SHA512 1fae0e40f0d0803a723753e25160950d4a8bd3b443e2d7ad9101558ad20ab3b43f792aafaaf7c064636166860c445b3bec068317bab6203f346cac7753331eea WHIRLPOOL b1779f7464534d8910cc876ab59a264f6c70a3c74e9a60f965aa786881a9d5a320a9bdd2a4ead4ba278ed826b90e923a0b31ee7981e44327961aaff2a400f85b
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-tinymce/django-tinymce-1.5.3.ebuild,v 1.1 2015/05/30 13:05:21 maksbotan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="TinyMCE integration for Django"
|
||||
HOMEPAGE="https://github.com/aljosa/django-tinymce"
|
||||
SRC_URI="https://github.com/aljosa/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-release-${PV}"
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST pyjwt-0.2.1.tar.gz 6320 SHA256 cfd0fad01a9a57fb4b24e59a82ffd50ddc9c2c4344694ec6ef436ae11d5d18aa SHA512 28f24ae705154e70fd15ed13830b1980b21a37df2fb5acd436d9d0ca4bbaf56bf146131762278a239d5a87585a70c282efd6e5fe13fb00e7fc7f0b6204b15713 WHIRLPOOL 9c9362dd79727acbf84b8077ccc501b3ded4e27c5c3d1aaeb214d0558927947531e373b86672930167c1e484eb235c9206634f7b7018e341fafd6fec1ee31485
|
||||
DIST pyjwt-1.3.0.tar.gz 61828 SHA256 fc230244ec4e4014d6eeae894ac852e820a4c843dc209d4f77e76d564f46ee49 SHA512 2b7ab0702bb71041bb7280e0e51958fb6bfb9b8c70ac99e24c4ce92e6d37d0432f3323634dceb371dd47c6b380687b2df92bb6ae9f4df555e4938a9a2f76e0f3 WHIRLPOOL bc4a0d79d37b60aa018607d715e2dc7e275ade326994df9a4ac7e0e70e37c11c7bec4d70d292bedf6f18be8d7aa09f826b80d14a532fd00c650d417223285daf
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyjwt/pyjwt-1.3.0.ebuild,v 1.1 2015/05/30 11:58:00 maksbotan Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
MY_PN="PyJWT"
|
||||
|
||||
DESCRIPTION="JSON Web Token implementation in Python"
|
||||
HOMEPAGE="http://github.com/progrium/pyjwt https://pypi.python.org/pypi/PyJWT/"
|
||||
#SRC_URI="https://github.com/progrium/${P}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE=" MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-runner[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
S="${WORKDIR}"/${MY_PN}-${PV}
|
||||
|
||||
python_prepare_all() {
|
||||
find . -name '__pycache__' -prune -exec rm -rf {} \; || die "Cleaning __pycache__ failed"
|
||||
find . -name '*.pyc' -exec rm -f {} \; || die "Cleaing *.pyc failed"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Available optional features:"
|
||||
optfeature "cryptography" dev-python/cryptography
|
||||
optfeature "flake8" dev-python/flake8
|
||||
|
||||
ewarn "flake8 feature requires 'flake8-import-order' and 'pep8-naming', which are not in portage yet"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST python-social-auth-0.1.26.tar.gz 247579 SHA256 9f0a9e8526850e9d0bdd4e5df4d2a6129c4da5a747887ccbfebafc0d2868120c SHA512 c3637f9a269f2c8465b1896840a5ca0f70bb6c45c93f7d9c08c54434037984538ba95442a164841c069cb5b1fd251d0f3f62baa1dc2754a542baceb2f325bd8b WHIRLPOOL e9d17f1c7b094cf0c20d7cee6ba06e0557b322d24aa6bf53743e49eaa08bf8935e71b7d1793227d53d6ff9cacebae975768feab5f6d37d683df8f16caf19a9ed
|
||||
DIST python-social-auth-0.2.10.tar.gz 297210 SHA256 10dd7df9e2bb6143cf33170ae53b7463a6947ed111da7158d8e3fd60fafe5d91 SHA512 af5247cee0b77f36d1bfdd7457708c2f2053bc779bae8eae0cfe79f0f9236c37882afcbd325863255282eb7559d8f84715b3e983f94d55bd3e7815c5469f150d WHIRLPOOL 7bbc97885ce4d74785b4506b3ddb133fb9751625193742194ca6cc78e3a76fb8e07c9440bfac7e661fe76363a78b66c87049282163c9923015ce3251da235881
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-social-auth/python-social-auth-0.2.10.ebuild,v 1.1 2015/05/30 13:27:45 maksbotan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy to setup social auth mechanism with support for several frameworks and auth providers"
|
||||
HOMEPAGE="http://psa.matiasaguirre.net/"
|
||||
SRC_URI="https://github.com/omab/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep \
|
||||
'dev-python/python-openid[${PYTHON_USEDEP}]' 'python2*')
|
||||
$(python_gen_cond_dep \
|
||||
'dev-python/python3-openid[${PYTHON_USEDEP}]' 'python3*')
|
||||
>=dev-python/oauthlib-0.3.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyjwt-1.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/requests-oauthlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.2.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${DEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
"
|
||||
# tests require internet
|
||||
#"
|
||||
# test? (
|
||||
# dev-python/coverage[${PYTHON_USEDEP}]
|
||||
# dev-python/httpretty[${PYTHON_USEDEP}]
|
||||
# dev-python/mock[${PYTHON_USEDEP}]
|
||||
# dev-python/nose[${PYTHON_USEDEP}]
|
||||
# dev-python/sure[${PYTHON_USEDEP}]
|
||||
# )
|
||||
#"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
#python_test() {
|
||||
# "${S}"/social/tests/run_tests.sh || die "Tests failed on ${EPYTHON}"
|
||||
#}
|
@ -1 +1,2 @@
|
||||
DIST gruff-0.5.1.gem 315904 SHA256 34a3cea74d8f87182dcd8ae0a7981e58a49870cd8bb9aedb4b11e5cf56bccb2d SHA512 30453b6af286548be4727c124662df1b05ef93acb25a443cdb7b02c7076dddcbd71769fa249402456e5f54e27d40e4bb6cd8ba012c1746b3190c7a27c505b8f3 WHIRLPOOL bdd8f72c78780fd2b070edfe21a5f7e0d84c86baf6026bd53e40cf934d279c2cc36f139042fbe1e32fe4dc9e0016771b781ffcff304b1043258f7f9cfb7dc441
|
||||
DIST gruff-0.6.0.gem 316416 SHA256 d44116afdc914a98143fd455004f4aeb725942e8a61650c93e1fde7d307de4b2 SHA512 4771637157d11c85d437d41d63d018915d1214fd09dc7078b883c98f640821aec3ddc64fcd4516ca4bfd06c9523ee5a4b60dc6233903e03d7336ad10989613cb WHIRLPOOL dc55cfe4ca44c85ae753395272492bc8c0091145b48421e7e3da67347525deb07cfb5470c95e7c00bd5369634566794c645059f9dad2e12744578140a92b5207
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/gruff-0.6.0.ebuild,v 1.1 2015/05/31 05:40:28 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.md RELEASE.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="assets rails_generators"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Beautiful graphs for one or multiple datasets"
|
||||
HOMEPAGE="https://github.com/topfunky/gruff"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RUBY_PATCHES=(
|
||||
${PN}-0.3.6-spider.patch
|
||||
)
|
||||
|
||||
# imagemagick is an indirect dependency through rmagick. However, for
|
||||
# gruff to work properly imagemagick needs to be compiled with truetype
|
||||
# support and this cannot be expressed in the rmagick dependency. Tests
|
||||
# also require imagemagick to have jpeg and png support.
|
||||
DEPEND="${DEPEND} test? ( media-gfx/imagemagick[jpeg,png,truetype] )"
|
||||
RDEPEND="${RDEPEND} media-gfx/imagemagick[truetype]"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/rmagick-2.13.4"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/hoe
|
||||
dev-ruby/test-unit
|
||||
)"
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 test/test_*.rb
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST httparty-0.13.3.gem 75776 SHA256 71d5b4f03bf5e16168a300c53286d3e3fb2c5caa9386f486d4fc78d7c02d8f38 SHA512 9a31a92504a795fa88064b8ab6b4b00666ba138b50e8bbb6cedf56d3073be990422acfa8781efc0dea274ca8a78ee902a86a777c0f7cbacaeea2713267acd76d WHIRLPOOL 12990ca45c939d2860878f8a859aa4bd1e37982e2dbcb77a50a9646232ab43602a21551c120115f94af60461ad2ab37ab0ab49e8cd40f61a7dd0ce13fbef325b
|
||||
DIST httparty-0.13.4.gem 78848 SHA256 5dea492ff272e8417fc89730c5166944d0a4b41293d7344c1a0de9e804ef9cde SHA512 7f544c3df689e413bfa47798ccc9bea295d00c084ed15da32f105e68ae40bc12c49f3e90e4cde0d147037a94f88f4130143d164e3afd3a069fa8e7b8bb2f8265 WHIRLPOOL e7ac75dce16b3b5e558d58b9519f8fb617265c883e60f780a9abb0c6e31983685990a9b589287fd3cf128be29ee26f70fe305385443487beb3c9d2d1ff93d589
|
||||
DIST httparty-0.13.5.gem 78848 SHA256 c9b9a31d80af2e5bc5e2a7c37efc5d8aad4c8d9c58b82f18e4ff37cfef7223d5 SHA512 d8408ea085d71d1a3b80519834173618e283c806ecef25f0a2c6029eee23a0f8e07218ac018dbb884a78e9b0e4e91bad11228112811cefb39e2b8a517fce1880 WHIRLPOOL e7b7b8d299ef4d1cb4dd45189044dbdfa357159f01f9743f35664d1820c9309fac96d6e803ed9bd09f626e5411438ff310dfe3c0bc4803973c53c1808a13e4a3
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httparty/httparty-0.13.5.ebuild,v 1.1 2015/05/31 05:46:39 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
# We have a custom test function, but don't null this out so that the
|
||||
# deps are still added
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md History"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Makes http fun! Also, makes consuming restful web services dead easy"
|
||||
HOMEPAGE="http://jnunemaker.github.com/httparty"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend '>=dev-ruby/json-1.8:0 >=dev-ruby/multi_xml-0.5.2'
|
||||
|
||||
ruby_add_bdepend 'dev-ruby/rspec:3 dev-ruby/fakeweb'
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die
|
||||
|
||||
# Avoid test dependency on cucumber. We can't run the features since
|
||||
# they depend on mongrel which is no longer packaged.
|
||||
sed -i -e '/cucumber/I s:^:#:' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S rake spec || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
}
|
@ -1,115 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tex/metapost/metapost-1.212.ebuild,v 1.2 2015/03/31 19:23:56 ulm Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
DESCRIPTION="System for producing graphics"
|
||||
HOMEPAGE="http://tug.org/metapost.html"
|
||||
SRC_URI="http://foundry.supelec.fr/gf/download/frsrelease/383/1651/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/kpathsea
|
||||
>=app-eselect/eselect-mpost-0.3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P}/source
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-cxx-runtime-hack \
|
||||
--disable-afm2pl \
|
||||
--disable-aleph \
|
||||
--disable-bibtex \
|
||||
--disable-bibtex8 \
|
||||
--disable-cfftot1 \
|
||||
--disable-cjkutils \
|
||||
--disable-detex \
|
||||
--disable-devnag \
|
||||
--disable-dialog \
|
||||
--disable-dtl \
|
||||
--enable-dump-share \
|
||||
--disable-dvi2tty \
|
||||
--disable-dvidvi \
|
||||
--disable-dviljk \
|
||||
--disable-dvipdfm \
|
||||
--disable-dvipdfmx \
|
||||
--disable-dvipos \
|
||||
--disable-dvipsk \
|
||||
--disable-gsftopk \
|
||||
--disable-lacheck \
|
||||
--disable-luatex \
|
||||
--disable-lcdf-typetools \
|
||||
--disable-makeindexk \
|
||||
--disable-mf \
|
||||
--disable-mmafm \
|
||||
--disable-mmpfb \
|
||||
--enable-mp \
|
||||
--disable-musixflx \
|
||||
--disable-otfinfo \
|
||||
--disable-otftotfm \
|
||||
--disable-pdfopen \
|
||||
--disable-pdftex \
|
||||
--disable-ps2eps \
|
||||
--disable-ps2pkm \
|
||||
--disable-psutils \
|
||||
--disable-seetexk \
|
||||
--disable-t1dotlessj \
|
||||
--disable-t1lint \
|
||||
--disable-t1rawafm \
|
||||
--disable-t1reencode \
|
||||
--disable-t1testpage \
|
||||
--disable-t1utils \
|
||||
--disable-tex \
|
||||
--disable-tex4htk \
|
||||
--disable-tpic2pdftex \
|
||||
--disable-ttf2pk \
|
||||
--disable-ttfdump \
|
||||
--disable-ttftotype42 \
|
||||
--disable-vlna \
|
||||
--disable-web-progs \
|
||||
--disable-xdv2pdf \
|
||||
--disable-xdvipdfmx \
|
||||
--disable-xetex \
|
||||
--with-system-kpathsea \
|
||||
--with-system-freetype2 \
|
||||
--with-system-gd \
|
||||
--with-system-libpng \
|
||||
--with-system-teckit \
|
||||
--with-system-zlib \
|
||||
--with-system-t1lib \
|
||||
--disable-shared \
|
||||
--disable-largefile \
|
||||
--disable-native-texlive-build \
|
||||
--without-mf-x-toolkit --without-x
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake SHELL=/bin/sh || die
|
||||
cd "${S}/texk/web2c"
|
||||
emake mpost || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/texk/web2c"
|
||||
emake DESTDIR="${D}" \
|
||||
SUBDIRS="" \
|
||||
bin_PROGRAMS="mpost" \
|
||||
nodist_man_MANS="" \
|
||||
dist_man_MANS="" \
|
||||
install-binPROGRAMS || die
|
||||
# Rename it
|
||||
mv "${D}/usr/bin/mpost" "${D}/usr/bin/mpost-${P}" || die "renaming failed"
|
||||
|
||||
cd "${WORKDIR}/${P}"
|
||||
dodoc README CHANGES || die
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
einfo "Calling eselect mpost update"
|
||||
eselect mpost update
|
||||
}
|
@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tex/metapost/metapost-1.504.ebuild,v 1.3 2015/03/31 19:23:56 ulm Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_P=${PN}-beta-${PV}
|
||||
DESCRIPTION="System for producing graphics"
|
||||
HOMEPAGE="http://tug.org/metapost.html"
|
||||
SRC_URI="http://foundry.supelec.fr/gf/download/frsrelease/390/1724/${MY_P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/kpathsea
|
||||
>=app-eselect/eselect-mpost-0.3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/source/texk/web2c
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/invocname.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-cxx-runtime-hack \
|
||||
--disable-afm2pl \
|
||||
--disable-aleph \
|
||||
--disable-bibtex \
|
||||
--disable-bibtex8 \
|
||||
--disable-cfftot1 \
|
||||
--disable-cjkutils \
|
||||
--disable-detex \
|
||||
--disable-devnag \
|
||||
--disable-dialog \
|
||||
--disable-dtl \
|
||||
--enable-dump-share \
|
||||
--disable-dvi2tty \
|
||||
--disable-dvidvi \
|
||||
--disable-dviljk \
|
||||
--disable-dvipdfm \
|
||||
--disable-dvipdfmx \
|
||||
--disable-dvipos \
|
||||
--disable-dvipsk \
|
||||
--disable-gsftopk \
|
||||
--disable-lacheck \
|
||||
--disable-luatex \
|
||||
--disable-lcdf-typetools \
|
||||
--disable-makeindexk \
|
||||
--disable-mf \
|
||||
--disable-mmafm \
|
||||
--disable-mmpfb \
|
||||
--enable-mp \
|
||||
--disable-musixflx \
|
||||
--disable-otfinfo \
|
||||
--disable-otftotfm \
|
||||
--disable-pdfopen \
|
||||
--disable-pdftex \
|
||||
--disable-ps2eps \
|
||||
--disable-ps2pkm \
|
||||
--disable-psutils \
|
||||
--disable-seetexk \
|
||||
--disable-t1dotlessj \
|
||||
--disable-t1lint \
|
||||
--disable-t1rawafm \
|
||||
--disable-t1reencode \
|
||||
--disable-t1testpage \
|
||||
--disable-t1utils \
|
||||
--disable-tex \
|
||||
--disable-tex4htk \
|
||||
--disable-tpic2pdftex \
|
||||
--disable-ttf2pk \
|
||||
--disable-ttfdump \
|
||||
--disable-ttftotype42 \
|
||||
--disable-vlna \
|
||||
--disable-web-progs \
|
||||
--disable-xdv2pdf \
|
||||
--disable-xdvipdfmx \
|
||||
--disable-xetex \
|
||||
--with-system-kpathsea \
|
||||
--with-system-freetype2 \
|
||||
--with-system-gd \
|
||||
--with-system-libpng \
|
||||
--with-system-teckit \
|
||||
--with-system-zlib \
|
||||
--with-system-t1lib \
|
||||
--disable-shared \
|
||||
--disable-largefile \
|
||||
--disable-native-texlive-build \
|
||||
--without-mf-x-toolkit --without-x
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake mpost || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
SUBDIRS="" \
|
||||
bin_PROGRAMS="mpost" \
|
||||
nodist_man_MANS="" \
|
||||
dist_man_MANS="" \
|
||||
install-binPROGRAMS || die
|
||||
# Rename it
|
||||
mv "${D}/usr/bin/mpost" "${D}/usr/bin/mpost-${P}" || die "renaming failed"
|
||||
|
||||
cd "${WORKDIR}/${MY_P}"
|
||||
dodoc README CHANGES || die
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
einfo "Calling eselect mpost update"
|
||||
eselect mpost update
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST slatex-20050609.tar.gz 47617 SHA256 d392d523054f5100698f12477ef65ea7f4b074da2723c60bb9f3410b51a2ab2e SHA512 e62361e12f1d158f04295e7952642bbedf563068052e2815f245893636a984a60cc8c1e18f92aab134e90bc18d226bbb4f3ca6e37dd9ca070759e1ff9396187b WHIRLPOOL d995296626f18631bda3d33f74eb907e92b51704428a3daf9b7e04e0b0405afd093d334146f47a4a08776ed52a2705959c3b4213b573b937c6c019022b487ee3
|
||||
DIST slatex-20090928.tar.bz2 47891 SHA256 6d65765d7a88b8859342bfcc9ae59779fab7afaa4ee8e4f59d22ebd8a6a3885b SHA512 4b289ba86d4e157319436d55cf7951dc5493c40bf3901fe16b879db68a234bfbd71d6dc21b18f43d77a637c973df126709a8e63086507af6ae3b2f3dc712abb1 WHIRLPOOL f9a1f1c0ee3b36ef5f608fb0f844071abe943e12e3ef0504746f8bd9100ed050bd4b73110f30d713b228adb89b40d43319bb9a178e5b3ceeb432b1fc82e4a9a3
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tex/slatex/slatex-20050609.ebuild,v 1.5 2014/08/10 21:27:49 slyfox Exp $
|
||||
|
||||
# for updating the texmf database, id est latex-package_rehash
|
||||
inherit latex-package
|
||||
|
||||
DESCRIPTION="SLaTeX is a Scheme program that allows you to write Scheme code in your (La)TeX source"
|
||||
HOMEPAGE="http://www.ccs.neu.edu/home/dorai/slatex/slatxdoc.html"
|
||||
#http://www.ccs.neu.edu/home/dorai/slatex/slatex.tar.gz
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="freedist" # license doesn't grant the right for modifications
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-scheme/guile"
|
||||
DEPEND="${CDEPEND} dev-scheme/scmxlate !dev-scheme/plt-scheme"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
TARGET_DIR="/usr/share/slatex"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}; cd "${S}"
|
||||
# cp scmxlate-slatex-src.scm scmxlate-slatex-src.scm.old
|
||||
sed "s:\"/home/dorai/.www/slatex/slatex.scm\":\"${TARGET_DIR}/slatex.scm\":" -i scmxlate-slatex-src.scm
|
||||
# diff -u scmxlate-slatex-src.scm.old scmxlate-slatex-src.scm
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local command="(load \"/usr/share/scmxlate/scmxlate.scm\")"
|
||||
# echo "${command}"
|
||||
guile -c "${command}" <<< "guile" || die
|
||||
# mzscheme -e "${command}(exit)" <<< "mzscheme" || die
|
||||
# guile -c "(load \"slatex.scm\")(slatex::process-main-tex-file \"slatxdoc.tex\")" && tex slatxdoc.tex
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${TARGET_DIR}"; doins slatex.scm
|
||||
insinto /usr/share/texmf/tex/latex/slatex/; doins slatex.sty
|
||||
dobin slatex
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST texmfind-2008.1.tar.bz2 241906 SHA256 4a19761b00735c4e6116992bc6aebfde9327fbbd04d5c9afa8033e7ecec4e145 SHA512 b8472b4f08b736818336ad53577656026ed88c6b4dcd946409198bb11f1342a7454ba04fa182a1ec70db223a0d0debba046da83c5aa677462b4a5338e3441ff2 WHIRLPOOL a492949a2a4004e5fa7786b4df16cd27cdb46dbfae1b2f5240353439113e28ed8dfb4f5c98f44119c946c63df4e18f5ae2bd5ca6371006e97d132ad84de8f2b2
|
||||
DIST texmfind-2009.1.tar.bz2 269682 SHA256 8b78352ab95fdbdc687c097075621ecf8b95fc205db6577ffdc0a265b0da3664 SHA512 a23238b233667407ecc0395eabcfb3d70ca50038ea7eef47f92775a5fb3eb782c8bd3cc06a044ec4162ae0f3d1e74e8a8006ba7ed6bb42ef9e115eecd6ff31dc WHIRLPOOL 4da48016d3cd56ce82ba583b66bb248fe9538e709473cfe48b5cd8acd9b974e6c7bd547e0a38cb57dc42b1af55ecb15c6b7bcbe769c046e7b73e2699211f4aec
|
||||
DIST texmfind-2010.1.tar.bz2 297318 SHA256 c139f96059c0cacaf654bdb57757589014203d3fcc4420ce66e108f5d98b6be4 SHA512 0f36d3036f39fdc24d742cc601712ea7fe91e3f29b5042f87523dd5a004acdb0e9be00f8d017a6f1761afd8c053ff33b9920535770c788acd0e97354bbc7153f WHIRLPOOL 88cdbf8cf57971779a41a1e6d1fac653249b4855f0c262708fec9a5e955c1a44cf8ddecf4c751bb33adfe499dee6815077add05e1e6715a9d37875047e2fdb7f
|
||||
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tex/texmfind/texmfind-2008.1.ebuild,v 1.5 2010/11/14 23:53:35 fauli Exp $
|
||||
|
||||
DESCRIPTION="Locate the ebuild providing a certain texmf file through regexp"
|
||||
HOMEPAGE="https://launchpad.net/texmfind/
|
||||
http://home.gna.org/texmfind"
|
||||
SRC_URI="http://launchpad.net/texmfind/2008/${PV}/+download/texmfind-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tex/texmfind/texmfind-2009.1.ebuild,v 1.2 2010/11/14 23:53:35 fauli Exp $
|
||||
|
||||
DESCRIPTION="Locate the ebuild providing a certain texmf file through regexp"
|
||||
HOMEPAGE="https://launchpad.net/texmfind/
|
||||
http://home.gna.org/texmfind"
|
||||
SRC_URI="http://launchpad.net/texmfind/2009/${PV}/+download/texmfind-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST cmocka-0.3.1.tar.gz 100606 SHA256 4b6c61a4d880a66c4d6b3de2f488273394f4455722cd0bd7c5b8d19e21881e25 SHA512 906b977eeaf208b086a65866897b22450abb05040778959f485e616d85149e6c331426550f9478addf1034aed4df4938ed421e60b1980b1955a08421104b639a WHIRLPOOL bfc188d4208036ae92eccc6e10ac6e5f8991bf1ed60167c2edda9d1a55f34b17429bbec0f7186de6f365f1f87fc7dc428300a83251857d860b805c6a7072a963
|
||||
DIST cmocka-0.4.1.tar.xz 68688 SHA256 5bba53c108a693d1cad33a2edd2ee36b0cb7ea0d9b1b94b608784d41f7fec803 SHA512 355334dbdfcda88d37bd2c60a9e714567632e481423fc45627f72a2fe13e2498152c61ad67c83da3cff7843e3e64c6bd4b806240ab714a2420c974a98a7fed96 WHIRLPOOL 52d7b51d3ae2716f0e21a7763678e3755024eba4734f44c0f719979887efa019e0d55b91c68670ab59eee6487c5d5a28c509fee472e92bcf9591210a3952f86a
|
||||
DIST cmocka-1.0.1.tar.xz 80240 SHA256 b36050d7a1224296803d216cba1a9d4c58c31bf308b2d6d6649d61aa5a36753b SHA512 142b3293a8ab137904d07f1ac6a56daf0afbbfcf7816a582c9998b6225aa5d6fe5f2d1b889de7b187142fc24ca4d1cfdbd630e8783858bc9ce89217ff05abc1e WHIRLPOOL c733d08a4907242bce6e8fb6989934fa8c9ae333a6c9a746c8824001722a7897cebdf8c0501bfb22d2ad29536ab32b0d004e327a1ce7b7740c9d24c6a453d6f9
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/cmocka/cmocka-1.0.1.ebuild,v 1.1 2015/05/30 21:00:17 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="A unit testing framework for C"
|
||||
HOMEPAGE="http://cmocka.org/"
|
||||
SRC_URI="https://cmocka.org/files/1.0/${P}.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="doc static-libs test"
|
||||
|
||||
DEPEND="
|
||||
doc? ( app-doc/doxygen[latex] )
|
||||
"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with static-libs STATIC_LIB)
|
||||
$(cmake-utils_use test UNIT_TESTING)
|
||||
$(multilib_is_native_abi && cmake-utils_use_find_package doc Doxygen \
|
||||
|| echo -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi && use doc; then
|
||||
pushd doc || die
|
||||
doxygen Doxyfile || die
|
||||
rm -f html/*.md5 latex/*.md5 latex/Manifest man/man3/_* || die
|
||||
dohtml html/*
|
||||
dodoc latex/*
|
||||
doman man/man3/*.3
|
||||
popd || die
|
||||
fi
|
||||
cmake-utils_src_install
|
||||
}
|
@ -0,0 +1,493 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.8.13-r1.ebuild,v 1.1 2015/05/30 14:55:09 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_OPTIONAL=1
|
||||
WANT_AUTOMAKE="none"
|
||||
GENTOO_DEPEND_ON_PERL="no"
|
||||
|
||||
inherit autotools bash-completion-r1 db-use depend.apache distutils-r1 elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module eutils
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
DESCRIPTION="Advanced version control system"
|
||||
HOMEPAGE="http://subversion.apache.org/"
|
||||
SRC_URI="mirror://apache/${PN}/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="Subversion GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="apache2 berkdb ctypes-python debug doc +dso extras gnome-keyring +http java kde nls perl python ruby sasl test vim-syntax"
|
||||
|
||||
COMMON_DEPEND=">=dev-db/sqlite-3.7.12
|
||||
>=dev-libs/apr-1.3:1
|
||||
>=dev-libs/apr-util-1.3:1
|
||||
dev-libs/expat
|
||||
sys-apps/file
|
||||
sys-libs/zlib
|
||||
app-arch/bzip2
|
||||
berkdb? ( >=sys-libs/db-4.0.14:= )
|
||||
ctypes-python? ( ${PYTHON_DEPS} )
|
||||
gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/libgnome-keyring )
|
||||
kde? ( sys-apps/dbus dev-qt/qtcore:4 dev-qt/qtdbus:4 dev-qt/qtgui:4 >=kde-base/kdelibs-4:4 )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? ( >=dev-lang/ruby-2.0:2.0
|
||||
dev-ruby/rubygems[ruby_targets_ruby20] )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
http? ( >=net-libs/serf-1.2.1 )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
apache2? ( www-servers/apache[apache2_modules_dav] )
|
||||
java? ( >=virtual/jre-1.5 )
|
||||
kde? ( || ( kde-apps/kwalletd:4 kde-base/kwalletd ) )
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-perl/URI )"
|
||||
# Note: ctypesgen doesn't need PYTHON_USEDEP, it's used once
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
!!<sys-apps/sandbox-1.6
|
||||
ctypes-python? ( dev-python/ctypesgen )
|
||||
doc? ( app-doc/doxygen )
|
||||
gnome-keyring? ( virtual/pkgconfig )
|
||||
http? ( virtual/pkgconfig )
|
||||
java? ( >=virtual/jdk-1.5 )
|
||||
kde? ( virtual/pkgconfig )
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( ${PYTHON_DEPS} )"
|
||||
|
||||
REQUIRED_USE="
|
||||
ctypes-python? ( ${PYTHON_REQUIRED_USE} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
test? (
|
||||
${PYTHON_REQUIRED_USE}
|
||||
!dso
|
||||
)"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
if use berkdb ; then
|
||||
local apu_bdb_version="$(${EPREFIX}/usr/bin/apu-1-config --includes \
|
||||
| grep -Eoe '-I${EPREFIX}/usr/include/db[[:digit:]]\.[[:digit:]]' \
|
||||
| sed 's:.*b::')"
|
||||
einfo
|
||||
if [[ -z "${SVN_BDB_VERSION}" ]] ; then
|
||||
if [[ -n "${apu_bdb_version}" ]] ; then
|
||||
SVN_BDB_VERSION="${apu_bdb_version}"
|
||||
einfo "Matching db version to apr-util"
|
||||
else
|
||||
SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/dev/null)")"
|
||||
einfo "SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB."
|
||||
fi
|
||||
fi
|
||||
einfo "Using: Berkeley DB ${SVN_BDB_VERSION}"
|
||||
einfo
|
||||
|
||||
if [[ -n "${apu_bdb_version}" && "${SVN_BDB_VERSION}" != "${apu_bdb_version}" ]]; then
|
||||
eerror "APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying"
|
||||
eerror "to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}."
|
||||
eerror "Rebuild dev-libs/apr-util or set SVN_BDB_VERSION=\"${apu_bdb_version}\"."
|
||||
eerror "Aborting to avoid possible run-time crashes."
|
||||
die "Berkeley DB version mismatch"
|
||||
fi
|
||||
fi
|
||||
|
||||
depend.apache_pkg_setup
|
||||
|
||||
java-pkg-opt-2_pkg_setup
|
||||
|
||||
if ! use http ; then
|
||||
ewarn "WebDAV support is disabled. You need WebDAV to"
|
||||
ewarn "access repositories through the HTTP protocol."
|
||||
ewarn "Consider enabling \"http\" USE flag"
|
||||
echo -ne "\a"
|
||||
fi
|
||||
|
||||
if use debug ; then
|
||||
append-cppflags -DSVN_DEBUG -DAP_DEBUG
|
||||
fi
|
||||
|
||||
# http://mail-archives.apache.org/mod_mbox/subversion-dev/201306.mbox/%3C51C42014.3060700@wandisco.com%3E
|
||||
[[ ${CHOST} == *-solaris2* ]] && append-cppflags -D__EXTENSIONS__
|
||||
|
||||
# Allow for custom repository locations.
|
||||
SVN_REPOS_LOC="${SVN_REPOS_LOC:-${EPREFIX}/var/svn}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.4-interix.patch \
|
||||
"${FILESDIR}"/${PN}-1.5.6-aix-dso.patch \
|
||||
"${FILESDIR}"/${PN}-1.8.0-hpux-dso.patch \
|
||||
"${FILESDIR}"/${PN}-fix-parallel-build-support-for-perl-bindings.patch \
|
||||
"${FILESDIR}"/${PN}-1.8.1-revert_bdb6check.patch
|
||||
epatch_user
|
||||
|
||||
fperms +x build/transform_libtool_scripts.sh
|
||||
|
||||
sed -i \
|
||||
-e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \
|
||||
-e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac
|
||||
|
||||
# this bites us in particular on Solaris
|
||||
sed -i -e '1c\#!/usr/bin/env sh' build/transform_libtool_scripts.sh || \
|
||||
die "/bin/sh is not POSIX shell!"
|
||||
|
||||
eautoconf
|
||||
elibtoolize
|
||||
|
||||
sed -e 's/\(libsvn_swig_py\)-\(1\.la\)/\1-$(EPYTHON)-\2/g' \
|
||||
-i build-outputs.mk || die "sed failed"
|
||||
|
||||
if use python ; then
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://mail-archives.apache.org/mod_mbox/subversion-dev/201306.mbox/%3C20130614113003.GA19257@tarsus.local2%3E
|
||||
# in short, we don't have gnome-keyring stuff here, patch
|
||||
# borrowed from MacPorts
|
||||
epatch "${FILESDIR}"/${PN}-1.8.5-swig-python-no-gnome-keyring.patch
|
||||
fi
|
||||
|
||||
# XXX: make python_copy_sources accept path
|
||||
S=${S}/subversion/bindings/swig/python python_copy_sources
|
||||
rm -r "${S}"/subversion/bindings/swig/python || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use python || use perl || use ruby; then
|
||||
myconf+=" --with-swig"
|
||||
else
|
||||
myconf+=" --without-swig"
|
||||
fi
|
||||
|
||||
if use java ; then
|
||||
myconf+=" --without-junit"
|
||||
fi
|
||||
|
||||
case ${CHOST} in
|
||||
*-aix*)
|
||||
# avoid recording immediate path to sharedlibs into executables
|
||||
append-ldflags -Wl,-bnoipath
|
||||
;;
|
||||
*-interix*)
|
||||
# loader crashes on the LD_PRELOADs...
|
||||
myconf+=" --disable-local-library-preloading"
|
||||
;;
|
||||
*-solaris*)
|
||||
# need -lintl to link
|
||||
use nls && append-libs intl
|
||||
# this breaks installation, on x64 echo replacement is 32-bits
|
||||
myconf+=" --disable-local-library-preloading"
|
||||
;;
|
||||
*-mint*)
|
||||
myconf+=" --enable-all-static --disable-local-library-preloading"
|
||||
;;
|
||||
*)
|
||||
# inject LD_PRELOAD entries for easy in-tree development
|
||||
myconf+=" --enable-local-library-preloading"
|
||||
;;
|
||||
esac
|
||||
|
||||
#version 1.7.7 again tries to link against the older installed version and fails, when trying to
|
||||
#compile for x86 on amd64, so workaround this issue again
|
||||
#check newer versions, if this is still/again needed
|
||||
myconf+=" --disable-disallowing-of-undefined-references"
|
||||
|
||||
# for build-time scripts
|
||||
if use ctypes-python || use python || use test; then
|
||||
python_export_best
|
||||
fi
|
||||
|
||||
if use python && [[ ${CHOST} == *-darwin* ]] ; then
|
||||
export ac_cv_python_link="$(tc-getCC) "'$(PYTHON_CFLAGS) -bundle -undefined dynamic_lookup $(PYTHON_LIBS)'
|
||||
export ac_cv_python_libs='$(PYTHON_CFLAGS) -bundle -undefined dynamic_lookup $(PYTHON_LIBS)'
|
||||
export ac_cv_python_compile="$(tc-getCC)"
|
||||
fi
|
||||
|
||||
# force ruby-2.0
|
||||
# allow overriding Python include directory
|
||||
ac_cv_path_RUBY=$(usex ruby "${EPREFIX}/usr/bin/ruby20" "none") \
|
||||
ac_cv_path_RDOC=$(usex ruby "${EPREFIX}/usr/bin/rdoc20" "none") \
|
||||
ac_cv_python_includes='-I$(PYTHON_INCLUDEDIR)' \
|
||||
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
$(use_with apache2 apache-libexecdir) \
|
||||
$(use_with apache2 apxs "${APXS}") \
|
||||
$(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
|
||||
$(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \
|
||||
$(use_enable dso runtime-module-search) \
|
||||
$(use_with gnome-keyring) \
|
||||
$(use_enable java javahl) \
|
||||
$(use_with java jdk "${JAVA_HOME}") \
|
||||
$(use_with kde kwallet) \
|
||||
$(use_enable nls) \
|
||||
$(use_with sasl) \
|
||||
$(use_with http serf) \
|
||||
${myconf} \
|
||||
--with-apr="${EPREFIX}/usr/bin/apr-1-config" \
|
||||
--with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \
|
||||
--disable-experimental-libtool \
|
||||
--without-jikes \
|
||||
--disable-mod-activation \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake local-all
|
||||
|
||||
if use ctypes-python ; then
|
||||
# pre-generate .py files
|
||||
use ctypes-python && emake ctypes-python
|
||||
|
||||
pushd subversion/bindings/ctypes-python >/dev/null || die
|
||||
distutils-r1_src_compile
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
if use python ; then
|
||||
swig_py_compile() {
|
||||
local p=subversion/bindings/swig/python
|
||||
rm -f ${p} || die
|
||||
ln -s "${BUILD_DIR}" ${p} || die
|
||||
|
||||
python_export PYTHON_INCLUDEDIR
|
||||
emake swig-py \
|
||||
swig_pydir="$(python_get_sitedir)/libsvn" \
|
||||
swig_pydir_extra="$(python_get_sitedir)/svn"
|
||||
}
|
||||
|
||||
# this will give us proper BUILD_DIR for symlinking
|
||||
BUILD_DIR=python \
|
||||
python_foreach_impl swig_py_compile
|
||||
fi
|
||||
|
||||
if use perl ; then
|
||||
emake swig-pl
|
||||
fi
|
||||
|
||||
if use ruby ; then
|
||||
emake swig-rb
|
||||
fi
|
||||
|
||||
if use java ; then
|
||||
emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl
|
||||
fi
|
||||
|
||||
if use extras ; then
|
||||
emake tools
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
|
||||
|
||||
if use java; then
|
||||
emake doc-javahl
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if has_version ~${CATEGORY}/${P} ; then
|
||||
default
|
||||
|
||||
if use ctypes-python ; then
|
||||
python_test() {
|
||||
"${PYTHON}" subversion/bindings/ctypes-python/test/run_all.py \
|
||||
|| die "ctypes-python tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
distutils-r1_src_test
|
||||
fi
|
||||
|
||||
if use python ; then
|
||||
swig_py_test() {
|
||||
pushd "${BUILD_DIR}" >/dev/null || die
|
||||
"${PYTHON}" tests/run_all.py || die "swig-py tests fail with ${EPYTHON}"
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
BUILD_DIR=subversion/bindings/swig/python \
|
||||
python_foreach_impl swig_py_test
|
||||
fi
|
||||
else
|
||||
ewarn "The test suite shows errors when there is an older version of"
|
||||
ewarn "${CATEGORY}/${PN} installed. Please install =${CATEGORY}/${P}*"
|
||||
ewarn "before running the test suite."
|
||||
ewarn "Test suite skipped."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" local-install
|
||||
|
||||
if use ctypes-python ; then
|
||||
pushd subversion/bindings/ctypes-python >/dev/null || die
|
||||
distutils-r1_src_install
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
if use python ; then
|
||||
swig_py_install() {
|
||||
local p=subversion/bindings/swig/python
|
||||
rm -f ${p} || die
|
||||
ln -s "${BUILD_DIR}" ${p} || die
|
||||
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
swig_pydir="$(python_get_sitedir)/libsvn" \
|
||||
swig_pydir_extra="$(python_get_sitedir)/svn" \
|
||||
install-swig-py
|
||||
}
|
||||
|
||||
BUILD_DIR=python \
|
||||
python_foreach_impl swig_py_install
|
||||
fi
|
||||
|
||||
if use perl ; then
|
||||
emake DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl
|
||||
perl_delete_localpod
|
||||
find "${ED}" "(" -name .packlist -o -name "*.bs" ")" -delete
|
||||
fi
|
||||
|
||||
if use ruby ; then
|
||||
emake DESTDIR="${D}" install-swig-rb
|
||||
fi
|
||||
|
||||
if use java ; then
|
||||
emake DESTDIR="${D}" install-javahl
|
||||
java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*$(get_libname)
|
||||
java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
|
||||
rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar
|
||||
fi
|
||||
|
||||
# Install Apache module configuration.
|
||||
if use apache2 ; then
|
||||
keepdir "${APACHE_MODULES_CONFDIR}"
|
||||
insinto "${APACHE_MODULES_CONFDIR}"
|
||||
doins "${FILESDIR}/47_mod_dav_svn.conf"
|
||||
fi
|
||||
|
||||
# Install Bash Completion, bug 43179.
|
||||
newbashcomp tools/client-side/bash_completion svn
|
||||
bashcomp_alias svn svn{admin,dumpfilter,look,sync,version}
|
||||
rm -f tools/client-side/bash_completion
|
||||
|
||||
# Install hot backup script, bug 54304.
|
||||
newbin tools/backup/hot-backup.py svn-hot-backup
|
||||
rm -fr tools/backup
|
||||
|
||||
# Install svnserve init-script and xinet.d snippet, bug 43245.
|
||||
newinitd "${FILESDIR}"/svnserve.initd3 svnserve
|
||||
newconfd "${FILESDIR}"/svnserve.confd svnserve
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/svnserve.xinetd svnserve
|
||||
|
||||
#adjust default user and group with disabled apache2 USE flag, bug 381385
|
||||
use apache2 || sed -e "s\USER:-apache\USER:-svn\g" \
|
||||
-e "s\GROUP:-apache\GROUP:-svnusers\g" \
|
||||
-i "${ED}"etc/init.d/svnserve || die
|
||||
use apache2 || sed -e "0,/apache/s//svn/" \
|
||||
-e "s:apache:svnusers:" \
|
||||
-i "${ED}"etc/xinetd.d/svnserve || die
|
||||
|
||||
# Install documentation.
|
||||
dodoc CHANGES COMMITTERS README
|
||||
dodoc tools/xslt/svnindex.{css,xsl}
|
||||
rm -fr tools/xslt
|
||||
|
||||
# Install extra files.
|
||||
if use extras ; then
|
||||
cat << EOF > 80subversion-extras
|
||||
PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||
ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||
EOF
|
||||
doenvd 80subversion-extras
|
||||
|
||||
emake DESTDIR="${D}" toolsdir="/usr/$(get_libdir)/subversion/bin" install-tools
|
||||
|
||||
find tools "(" -name "*.bat" -o -name "*.in" -o -name ".libs" ")" -print0 | xargs -0 rm -fr
|
||||
rm -fr tools/client-side/svnmucc
|
||||
rm -fr tools/server-side/{svn-populate-node-origins-index,svnauthz-validate}*
|
||||
rm -fr tools/{buildbot,dev,diff,po}
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
find tools -name '*.py' -exec sed -i -e '1s:python:&2:' {} + || die
|
||||
doins -r tools
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
dohtml -r doc/doxygen/html/*
|
||||
|
||||
if use java ; then
|
||||
java-pkg_dojavadoc doc/javadoc
|
||||
fi
|
||||
fi
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
cd "${ED}"usr/share/locale
|
||||
for i in * ; do
|
||||
[[ $i == *$LINGUAS* ]] || { rm -r $i || die ; }
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Compare versions of Berkeley DB, bug 122877.
|
||||
if use berkdb && [[ -f "${EROOT}usr/bin/svn" ]] ; then
|
||||
OLD_BDB_VERSION="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
NEW_BDB_VERSION="$(scanelf -nq "${ED}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
if [[ "${OLD_BDB_VERSION}" != "${NEW_BDB_VERSION}" ]] ; then
|
||||
CHANGED_BDB_VERSION="1"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n "${CHANGED_BDB_VERSION}" ]] ; then
|
||||
ewarn "You upgraded from an older version of Berkeley DB and may experience"
|
||||
ewarn "problems with your repository. Run the following commands as root to fix it:"
|
||||
ewarn " db4_recover -h ${SVN_REPOS_LOC}/repos"
|
||||
ewarn " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
|
||||
fi
|
||||
|
||||
ewarn "If you run subversion as a daemon, you will need to restart it to avoid module mismatches."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
:
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
# Remember: Don't use ${EROOT}${SVN_REPOS_LOC} since ${SVN_REPOS_LOC}
|
||||
# already has EPREFIX in it
|
||||
einfo "Initializing the database in ${SVN_REPOS_LOC}..."
|
||||
if [[ -e "${SVN_REPOS_LOC}/repos" ]] ; then
|
||||
echo "A Subversion repository already exists and I will not overwrite it."
|
||||
echo "Delete \"${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
|
||||
else
|
||||
mkdir -p "${SVN_REPOS_LOC}/conf"
|
||||
|
||||
einfo "Populating repository directory..."
|
||||
# Create initial repository.
|
||||
"${EROOT}usr/bin/svnadmin" create "${SVN_REPOS_LOC}/repos"
|
||||
|
||||
einfo "Setting repository permissions..."
|
||||
SVNSERVE_USER="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
|
||||
SVNSERVE_GROUP="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_GROUP}")"
|
||||
if use apache2 ; then
|
||||
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="apache"
|
||||
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="apache"
|
||||
else
|
||||
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="svn"
|
||||
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="svnusers"
|
||||
fi
|
||||
chmod -Rf go-rwx "${SVN_REPOS_LOC}/conf"
|
||||
chmod -Rf o-rwx "${SVN_REPOS_LOC}/repos"
|
||||
echo "Please create \"${SVNSERVE_GROUP}\" group if it does not exist yet."
|
||||
echo "Afterwards please create \"${SVNSERVE_USER}\" user with homedir \"${SVN_REPOS_LOC}\""
|
||||
echo "and as part of the \"${SVNSERVE_GROUP}\" group if it does not exist yet."
|
||||
echo "Finally, execute \"chown -Rf ${SVNSERVE_USER}:${SVNSERVE_GROUP} ${SVN_REPOS_LOC}/repos\""
|
||||
echo "to finish the configuration."
|
||||
fi
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.8.13.ebuild,v 1.4 2015/05/12 07:54:21 polynomial-c Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.8.13-r2.ebuild,v 1.1 2015/05/30 14:55:09 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue