parent
54f2b803a9
commit
e7918015d0
@ -1 +1,2 @@
|
||||
DIST elektra-0.7.1.tar.gz 1347524 SHA256 ff90ae274935eac9c9c5c85ca7e66049be46a31d9ef08bc59a59858a15284c8c SHA512 25ca25e95d1a20a79ba97b094dc9630fb791f6653c2bacec751cc51492202831b7d28ae0786081e6be91581245bda3f5b7e2f3b523f7faa6bfb1d97b3d209684 WHIRLPOOL e90e7c126f2467c8ae29e3cffd5d8a6bfa444dfd38edcc8809d49562825aff8ec6c826139da4a2aa09e38935ee63b48674431c7cc27e2a14d372b2b8270b170d
|
||||
DIST elektra-0.8.3.tar.gz 1092409 SHA256 48fab82a6b1e8f0038c43ae9ade4da25b697d0aa74e39b7b94056ab7febc4be1 SHA512 e298c0515515a3a59fe28e695fd347ce775465d95f95f8d08c54e0223baf24300ec7e876d35fd3a07f2348290fdc7f740557333b26e847d09b4c41df63a1d886 WHIRLPOOL 64673416e96cc0a8f3ffbfc3f88525de3bc1270b381d0642b59f0a4f9d49db5cb296bd10a2839bc2baea82f58dcb6416ada1031553d378cba858d8f94df2d3b9
|
||||
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/elektra/elektra-0.7.1.ebuild,v 1.6 2012/06/23 07:47:24 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="universal and secure framework to store config parameters in a hierarchical key-value pair mechanism"
|
||||
HOMEPAGE="http://sourceforge.net/projects/elektra/"
|
||||
SRC_URI="ftp://ftp.markus-raab.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="iconv static-libs test"
|
||||
|
||||
RDEPEND="dev-libs/libxml2"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool
|
||||
iconv? ( virtual/libiconv )
|
||||
test? ( dev-libs/libxml2[static-libs] )"
|
||||
|
||||
src_prepare() {
|
||||
einfo 'Removing bundled libltdl'
|
||||
rm -rf libltdl || die
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-test.patch \
|
||||
"${FILESDIR}"/${P}-ltdl.patch \
|
||||
"${FILESDIR}"/${P}-automake-1.12.patch
|
||||
|
||||
touch config.rpath
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# berkeleydb, daemon, fstab, gconf, python do not work
|
||||
econf \
|
||||
--enable-filesys \
|
||||
--enable-hosts \
|
||||
--enable-ini \
|
||||
--enable-passwd \
|
||||
--disable-berkeleydb \
|
||||
--disable-fstab \
|
||||
--disable-gconf \
|
||||
--disable-daemon \
|
||||
--enable-cpp \
|
||||
--disable-python \
|
||||
--enable-gcov \
|
||||
$(use_enable iconv) \
|
||||
$(use_enable static-libs static) \
|
||||
--with-docdir=/usr/share/doc/${PF} \
|
||||
--with-develdocdir=/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${D}" -name "*.a" -delete || die
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/elektra/elektra-0.8.3.ebuild,v 1.2 2012/11/04 12:01:55 xmw Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils eutils
|
||||
|
||||
DESCRIPTION="universal and secure framework to store config parameters in a hierarchical key-value pair mechanism"
|
||||
HOMEPAGE="http://freedesktop.org/wiki/Software/Elektra"
|
||||
SRC_URI="ftp://ftp.markus-raab.org/${PN}/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dbus doc examples iconv inifile simpleini static-libs syslog tcl test xml yajl"
|
||||
|
||||
RDEPEND="dev-libs/libxml2"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool
|
||||
doc? ( app-doc/doxygen )
|
||||
iconv? ( virtual/libiconv )
|
||||
test? ( dev-libs/libxml2[static-libs] )
|
||||
yajl? ( <dev-libs/yajl-2 )"
|
||||
|
||||
src_configure() {
|
||||
local my_plugins="ccode;dump;error;fstab;glob;hexcode;hidden;hosts;network;ni;null;path;resolver;struct;success;template;timeofday;tracer;type;validation"
|
||||
|
||||
#fix QA issues with upstream patches
|
||||
epatch "${FILESDIR}/${P}-introduce-attributes.patch"
|
||||
epatch "${FILESDIR}/${P}-fix-yajl-if-user-config.patch"
|
||||
|
||||
#move doc files to correct location
|
||||
sed -e "s/elektra-api/${PF}/" \
|
||||
-i cmake/ElektraCache.cmake || die
|
||||
|
||||
use dbus && my_plugins+=";dbus"
|
||||
use doc && my_plugins+=";doc"
|
||||
use iconv && my_plugins+=";iconv"
|
||||
use inifile && my_plugins+=";simpleini"
|
||||
use syslog && my_plugins+=";syslog"
|
||||
use tcl && my_plugins+=";tcl"
|
||||
use xml && my_plugins+=";xmltool"
|
||||
use yajl && my_plugins+=";yajl"
|
||||
|
||||
local mycmakeargs=(
|
||||
"-DPLUGINS=${my_plugins}"
|
||||
"-DLATEX_COMPILER=OFF"
|
||||
$(cmake-utils_use doc BUILD_DOCUMENTATION)
|
||||
$(cmake-utils_use examples BUILD_EXAMPLES)
|
||||
$(cmake-utils_use static-libs BUILD_STATIC)
|
||||
$(cmake-utils_use test BUILD_TESTING)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
dodoc doc/{AUTHORS,CHANGES,NEWS,README,todo/TODO}
|
||||
|
||||
if use doc ; then
|
||||
rm -rf "${D}/usr/share/doc/${PF}/man" || die
|
||||
pushd ${CMAKE_BUILD_DIR}/doc/man/man3
|
||||
local my_f
|
||||
for my_f in *.3 ; do
|
||||
newman ${my_f} ${PN}-${my_f}
|
||||
elog "installed /usr/share/man/man3/${my_f} as ${PN}-${my_f}"
|
||||
done
|
||||
popd
|
||||
fi
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
--- a/src/plugins/yajl/yajl.c
|
||||
+++ b/src/plugins/yajl/yajl.c
|
||||
@@ -23,6 +23,10 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
+#ifndef HAVE_KDBCONFIG
|
||||
+# include "kdbconfig.h"
|
||||
+#endif
|
||||
+
|
||||
#include "yajl.h"
|
||||
|
||||
#include <kdberrors.h>
|
||||
@@ -340,7 +344,7 @@
|
||||
KeySet *config= elektraPluginGetConfig(handle);
|
||||
|
||||
// ksClear (returned);
|
||||
- if (keyIsUser(parentKey))
|
||||
+ if (!strncmp(keyName(parentKey), "user", 4))
|
||||
{
|
||||
const Key * lookup = ksLookupByName(config, "/user_path", 0);
|
||||
if (!lookup)
|
||||
@@ -422,7 +426,7 @@
|
||||
return 1; /* success */
|
||||
}
|
||||
|
||||
-int elektraYajlSet(Plugin *handle, KeySet *returned, Key *parentKey)
|
||||
+int elektraYajlSet(Plugin *handle ELEKTRA_UNUSED, KeySet *returned, Key *parentKey)
|
||||
{
|
||||
yajl_gen_config conf = { 1, " " };
|
||||
yajl_gen g = yajl_gen_alloc(&conf, NULL);
|
@ -0,0 +1,27 @@
|
||||
--- a/src/include/CMakeLists.txt
|
||||
+++ b/src/include/CMakeLists.txt
|
||||
@@ -22,6 +22,9 @@
|
||||
check_include_file(time.h HAVE_TIME_H)
|
||||
check_include_file(unistd.h HAVE_UNISTD_H)
|
||||
|
||||
+set (ELEKTRA_DEPRECATED "__attribute__ ((deprecated))")
|
||||
+set (ELEKTRA_UNUSED "__attribute__ ((unused))")
|
||||
+
|
||||
configure_file (
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/kdb.h"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/kdb.h"
|
||||
--- a/src/include/kdbconfig.h
|
||||
+++ b/src/include/kdbconfig.h
|
||||
@@ -30,6 +30,12 @@
|
||||
* to search for user configuration. */
|
||||
#define KDB_DB_HOME "@KDB_DB_HOME@"
|
||||
|
||||
+/** Declares a parameter as unused. */
|
||||
+#define ELEKTRA_UNUSED @ELEKTRA_UNUSED@
|
||||
+
|
||||
+/** Declares an API as deprecated. */
|
||||
+#define ELEKTRA_DEPRECATED @ELEKTRA_DEPRECATED@
|
||||
+
|
||||
/* disable debug output messages */
|
||||
#define DEBUG @DEBUG@
|
||||
|
@ -0,0 +1 @@
|
||||
DIST eselect-timezone-0.1.tar.gz 1243 SHA256 3e660ede3d2ecec40dfb176530a2b9fd10b8636e2305dcafdf991a3ac01cc36a SHA512 57601d4d34533ba12c458860b753486cc474e31ce2c3e731ad5bf9179094a74e92f79f47c6928e92d70d6a7fa54c606100c334d74ce243564a0c9a1e72a43bfa WHIRLPOOL 484e0003a3b32bd6cd0562119c345185e6f2ae044c4acdd22a92dac62f39bd5951ea6986561a057f4e44128157b4c733004b49c81583ebfddeef88ab9acf9767
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-timezone/eselect-timezone-0.1.ebuild,v 1.1 2012/11/04 17:35:44 ottxor Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Manages timezone selection"
|
||||
HOMEPAGE="http://www.gentoo.org"
|
||||
SRC_URI="http://dev.gentoo.org/~ottxor/distfiles/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins timezone.eselect
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>ottxor@gentoo.org</email>
|
||||
<name>Christoph Junghans</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,17 @@
|
||||
--- a/src/whowatch.c
|
||||
+++ b/src/whowatch.c
|
||||
@@ -436,12 +436,12 @@
|
||||
gettimeofday(&after, 0);
|
||||
tv.tv_sec -= (after.tv_sec - before.tv_sec);
|
||||
if(retval > 0) {
|
||||
- int key = read_key();
|
||||
+ key = getkey();
|
||||
key_action(key);
|
||||
}
|
||||
if(tv.tv_sec <= 0) {
|
||||
ticks++;
|
||||
- periodic();
|
||||
+ main_periodic();
|
||||
tv.tv_sec = TIMEOUT;
|
||||
}
|
||||
#endif
|
@ -0,0 +1,20 @@
|
||||
--- src/Makefile.in.org 2006-03-16 11:53:33.000000000 +0100
|
||||
+++ src/Makefile.in 2012-11-05 03:45:48.854646487 +0100
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
top_builddir = .
|
||||
|
||||
-CC = @echo " Compiling" [$@] ; @CC@
|
||||
+CC = @CC@
|
||||
PACKAGE = @PACKAGE@
|
||||
VERSION = @VERSION@
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
whowatch_LDFLAGS =
|
||||
CFLAGS = @CFLAGS@ -Wall -I. -ggdb
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
-CCLD = @echo " Creating" $@ ; @CC@
|
||||
+CCLD = @CC@
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
all: whowatch
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/whowatch/whowatch-1.8.3-r1.ebuild,v 1.1 2012/11/05 03:01:58 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="interactive who-like program that displays information about users currently logged on in real time"
|
||||
HOMEPAGE="http://wizard.ae.krakow.pl/~mike/"
|
||||
SRC_URI="http://wizard.ae.krakow.pl/~mike/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/ncurses"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-exit.patch \
|
||||
"${FILESDIR}"/${P}-verbose.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/${PN}
|
||||
doman ${PN}.1
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
diff -Nur tiobench-0.3.3.orig/tiotest.c tiobench-0.3.3/tiotest.c
|
||||
--- tiobench-0.3.3.orig/tiotest.c 2001-03-05 02:34:00.000000000 +0000
|
||||
+++ tiobench-0.3.3/tiotest.c 2012-11-04 22:44:41.695677071 +0000
|
||||
@@ -31,7 +31,7 @@
|
||||
*/
|
||||
ArgumentOptions args;
|
||||
|
||||
-static void * aligned_alloc(ssize_t size)
|
||||
+static void * tio_aligned_alloc(ssize_t size)
|
||||
{
|
||||
caddr_t a;
|
||||
a = mmap((caddr_t )0, size,
|
||||
@@ -281,7 +281,7 @@
|
||||
pthread_attr_setscope(&(d->threads[i].thread_attr),
|
||||
PTHREAD_SCOPE_SYSTEM);
|
||||
|
||||
- d->threads[i].buffer = aligned_alloc( d->threads[i].blockSize );
|
||||
+ d->threads[i].buffer = tio_aligned_alloc( d->threads[i].blockSize );
|
||||
if( d->threads[i].buffer == NULL )
|
||||
{
|
||||
perror("Error allocating memory");
|
@ -1 +1,2 @@
|
||||
DIST xca-0.9.0.tar.gz 688445 SHA256 6f0c9a23281752b47a2bf8ee5e56486a5eec948462bb2f3528c3a1379975432d SHA512 ac336b718ac6dd02ae4422bd38e0fd68542e5e3af989c98a535fe74e116151d4404fc4d8c12f14fa30f4f1cafc5e66abddfbb70568e3a348090e5921918e1e5a WHIRLPOOL 6f9af58385be26f553f226a726e3e07472db20adc6c971ecca6511b909507701b9759f5217b2c96dae946140c0d67fe116ad08a33178f9c845c373f99e71731e
|
||||
DIST xca-0.9.1.tar.gz 754570 SHA256 e5562d9af4e03e5e730a85a9ca4eb80386288f18f84de24bb9ff0dfcc7110cbc SHA512 2b8b2f6d704b6a9ce3230970f5f734b035bb00215411ae09783b313910dabe75e7675cf9738b084b2a795c0daa092e95246583d53e66e56e505f635b9d1f16a4 WHIRLPOOL a472cc2a34f34d5e93f0a5b9b044ea5353932de1f7d6ccc28f36e064160f342d148988e595d3866835cfb6455d51bc4f48131e84bc9533dab915521cbe89c723
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- configure 2011-11-07 01:09:32.000000000 -0500
|
||||
+++ configure.new 2012-11-04 15:23:20.572917111 -0500
|
||||
@@ -42,7 +42,7 @@
|
||||
prefix=${prefix:=/usr/local}
|
||||
CFLAGS=${CFLAGS:=-Wall -ggdb -O2}
|
||||
CC=${CC:=gcc}
|
||||
-LDFLAGS=""
|
||||
+LDFLAGS="${LDFLAGS}"
|
||||
LIBS="-lstdc++"
|
||||
LDIRS=
|
||||
MOC=moc
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/xca-0.9.1.ebuild,v 1.1 2012/11/04 21:48:59 c1pher Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests and revokation lists"
|
||||
HOMEPAGE="http://www.hohnstaedt.de/xca.html"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-libs/openssl-0.9.8[-bindist]
|
||||
x11-libs/qt-gui:4"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-text/linuxdoc-tools )"
|
||||
|
||||
src_prepare() {
|
||||
# http://sourceforge.net/tracker/index.php?func=detail&aid=1800298&group_id=62274&atid=500028
|
||||
epatch "${FILESDIR}"/${PN}-0.9.0-qt_detection.patch
|
||||
epatch "${FILESDIR}"/${P}-ldflags.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local LINUXDOC
|
||||
use doc || LINUXDOC='touch $@ && true'
|
||||
|
||||
QTDIR="${EPREFIX}/usr" \
|
||||
STRIP="true" \
|
||||
LINUXDOC="${LINUXDOC}" \
|
||||
CC="$(tc-getCXX)" \
|
||||
LD="$(tc-getLD)" \
|
||||
CFLAGS="${CXXFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
prefix="${EPREFIX}/usr" \
|
||||
docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
./configure || die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake destdir="${D}" mandir="share/man" install
|
||||
|
||||
dodoc AUTHORS
|
||||
|
||||
insinto /etc/xca
|
||||
doins misc/*.txt
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST vice-2.3.tar.gz 11602378 SHA256 b1817c8dce023069d5c15234c2b4da0a152d297ee8ed01f0b361795c4beeb50e SHA512 3d42b59b8c3042ac6acacfd709767a351cdd4077ed730a84fcec9064ec5a478a16ded7b55818eb623dec9a5fa899d6b9dc68042b5a2bfadd14f34ab5ba80b842 WHIRLPOOL f6873913f17a715a62ff19acbdac8be31021d3592b0d6e692469e206651c7241c718596a767c5808e4adf47e0032d365777c97595ad9c4fd66aafbcefc3cdafa
|
||||
DIST vice-2.4.tar.gz 13656511 SHA256 ff8b8d5f0f497d1f8e75b95bbc4204993a789284a08a8a59ba727ad81dcace10 SHA512 ad197fc35eb80c9738b7f4f551d350dbb4440c7c8103e5d472b7f7ea5106c1356e9d6e3f481552a028a313129ef233833d3147e03f6f00b9890229d5708e3ebb WHIRLPOOL 80f89f7c144fe1ef2305e109049b49e47dfa4af9b69d0d848bf7b06bd0f2d210669acece363b550abad1c50f53dd45a30397eb1bfacfaa443c9e865c686d0823
|
||||
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/vice-2.4.ebuild,v 1.1 2012/11/05 01:11:56 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools eutils games toolchain-funcs
|
||||
|
||||
DESCRIPTION="The Versatile Commodore 8-bit Emulator"
|
||||
HOMEPAGE="http://vice-emu.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="Xaw3d alsa gnome nls png readline sdl ipv6 memmap ethernet oss zlib X gif jpeg xv dga xrandr ffmpeg lame pulseaudio"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXpm
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXt
|
||||
x11-libs/libXxf86vm
|
||||
x11-apps/xset
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( !gnome? ( x11-libs/libXaw ) )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gnome? (
|
||||
x11-libs/gtk+:2
|
||||
dev-libs/atk
|
||||
x11-libs/pango
|
||||
)
|
||||
lame? ( media-sound/lame )
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
ethernet? (
|
||||
>=net-libs/libpcap-0.9.8
|
||||
>=net-libs/libnet-1.1.2.1
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
png? ( media-libs/libpng:0 )
|
||||
readline? ( sys-libs/readline )
|
||||
sdl? ( media-libs/libsdl )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg )
|
||||
xv? ( x11-libs/libXv )
|
||||
dga? ( x11-libs/libXxf86dga )
|
||||
xrandr? ( x11-libs/libXrandr )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
x11-apps/bdftopcf
|
||||
x11-apps/mkfontdir
|
||||
x11-proto/xproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
x11-proto/xextproto
|
||||
dga? ( x11-proto/xf86dgaproto )
|
||||
xv? ( x11-proto/videoproto )
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "s:/usr/local/lib/VICE:${GAMES_DATADIR}/${PN}:" \
|
||||
man/vice.1 \
|
||||
$(grep -rl --exclude="*texi" /usr/local/lib doc) \
|
||||
|| die
|
||||
sed -i \
|
||||
-e "/VICEDIR=/s:=.*:=\"${GAMES_DATADIR}/${PN}\";:" \
|
||||
configure.in \
|
||||
|| die
|
||||
sed -i \
|
||||
-e "s:\(#define LIBDIR \).*:\1\"${GAMES_DATADIR}/${PN}\":" \
|
||||
-e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
|
||||
src/arch/unix/archdep.h \
|
||||
src/arch/sdl/archdep_unix.h
|
||||
AT_NO_RECURSIVE=1 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# don't try to actually run fc-cache (bug #280976)
|
||||
FCCACHE=/bin/true \
|
||||
PKG_CONFIG=$(tc-getPKG_CONFIG) \
|
||||
egamesconf \
|
||||
--disable-dependency-tracking \
|
||||
--enable-fullscreen \
|
||||
--enable-parsid \
|
||||
--with-resid \
|
||||
--without-arts \
|
||||
--without-midas \
|
||||
$(use_enable ffmpeg) \
|
||||
$(use_enable lame) \
|
||||
$(use_enable gnome gnomeui) \
|
||||
$(use_enable nls) \
|
||||
$(use_with Xaw3d xaw3d) \
|
||||
$(use_with alsa) \
|
||||
$(use_with pulseaudio pulse) \
|
||||
$(use_with png) \
|
||||
$(use_with readline) \
|
||||
$(use_with sdl sdlsound) \
|
||||
$(use_enable ipv6) \
|
||||
$(use oss || echo --without-oss) \
|
||||
$(use_enable memmap) \
|
||||
$(use_enable ethernet) \
|
||||
$(use_with zlib) \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog FEEDBACK README
|
||||
prepgamesdirs
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/air/air-2.0.0.ebuild,v 1.1 2010/02/26 20:43:37 patrick Exp $
|
||||
|
||||
DESCRIPTION="A GUI front-end to dd/dcfldd"
|
||||
HOMEPAGE="http://air-imager.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/air-imager/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-perl/perl-tk-804.027
|
||||
userland_GNU? ( app-arch/sharutils )
|
||||
sys-apps/sed
|
||||
dev-lang/perl"
|
||||
|
||||
RDEPEND="app-arch/mt-st
|
||||
sys-apps/dcfldd
|
||||
net-analyzer/netcat
|
||||
net-analyzer/cryptcat
|
||||
dev-lang/perl
|
||||
userland_GNU? ( sys-apps/coreutils )"
|
||||
|
||||
src_compile() {
|
||||
einfo "nothing to compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
PERLTK_VER=$(best_version dev-perl/perl-tk)
|
||||
export PERLTK_VER=${PERLTK_VER:17:7}
|
||||
|
||||
env INTERACTIVE=no INSTALL_DIR="${D}/usr" TEMP_DIR="${T}" \
|
||||
FINAL_INSTALL_DIR=/usr \
|
||||
./install-${P} \
|
||||
|| die "failed to install - please attach ${T}/air-install.log to a bug report at http://bugs.gentoo.org"
|
||||
|
||||
dodoc README
|
||||
|
||||
dodoc "${T}/air-install.log"
|
||||
|
||||
chown -R root:0 "${D}"
|
||||
fowners root:users /usr/share/air/logs
|
||||
fperms ug+rwx /usr/share/air/logs
|
||||
if [ -p "${D}usr/share/air/air-fifo" ]; then
|
||||
fperms ug+rw /usr/share/air/air-fifo
|
||||
fowners root:users /usr/share/air/air-fifo
|
||||
fi
|
||||
fperms a+x /usr/bin/air
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The author, steve@unixgurus.com, would appreciate an email of the install file /usr/share/doc/${PF}/air-install.log"
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST unicode-data_5.1.0.orig.tar.gz 7830119 SHA256 0ebe51bebfeca31a6696354056579a29e14700fa1f87913b1c7bf9b502375f3b SHA512 cee12354b91a04d77281a10c7bca04a5c670b4a1226cfdca08d9b99e3a75078336e01d83e3a5ffae928265e2b9787c94a6e30f0bb0fc7adb751ebc262ad64476 WHIRLPOOL e2925a6960b7f5f6b01dd08141f0eaa59ce9502986a960fdccd4eb6216a9f4b8a367291222bbaba813d54f53663507adb7bee1ca4c44fb933730cce355041fd2
|
||||
DIST unicode-data_6.0.0.orig.tar.gz 8339514 SHA256 7622f16577a4b49a991195eac4421a7195650f3b40f971c6a6b98890b10c1d6d SHA512 a0847b67e5014678b4be87ca5e6e84d915d1d27d9286feed30f8d314c122c455f059b1764db1badbad989965e40c5203978e6e7c57e47b6d86889d1a29aa68cd WHIRLPOOL 0d733e7bd931f33e5075aebf55f054ab2774eb27ee7a052c56e34289414e0ed016d4926e9027bee49907d30982acf5309a2e81e8ba246f9f14870846df65d53a
|
||||
DIST unicode-data_6.1.0.orig.tar.gz 8549251 SHA256 e8c6f6ce45c6ab563173813b5817f66865c0c4c2aa577612ba68080e54a092e6 SHA512 8df65c837c686eff1c236d4325fb276928952c570f05224299f52528a4b80354da6e4e3db40acebd0247f328a511363fda62e3e357cdd3119947a495f437cff5 WHIRLPOOL a29824047f1c037948978ec9837f652ab010d08238e0c11564864d8125cfc3abde2526b1af7697b9f26deff9fee44050410a722d63adc3f4d8966cc6ed5ac0f9
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST anki-1.2.11.tgz 1886062 SHA256 ca075fd0c0d6851d22046de8f6fa90d7c442cdd4a6783f7c6ffad7fbc46f5089 SHA512 f04ba85afb146c912c77fa047a74dfae34b2900bc4a0c5ab86d2c0787fa69339bd354d1def7083e74ac16da3e8e03efcf49808d817bc502ebb69944cd2ad4d9c WHIRLPOOL dbd445cc4439b6b582a11ae62b813f1773c15b90412d12aa3f06db07a778137d9c0aa06710354a2ab88055887f6d2e44db0f260ebaa4e6042012012a7ee3ee55
|
||||
DIST anki-2.0.2.tgz 2821066 SHA256 26176d49b10e2b06ba37f3b8fecd6559f42f262089ea20f317db01ea64ca6cd5 SHA512 1f1392857689b26690938156e7c3b58cfd0e3d82c3fe0fbfcde3f3a48f6d902f5b29408b93e45eb04f56bec76a8c5f1f89c6cb079145da2bbd3fc181690e553f WHIRLPOOL a3202487eebd6a9d5aeef400697ca0facfee130388297098c0b116939606cc9142ec374f8b83294c63d6331626e1c93792fd56a3d6dc2967eaade4ff40e83f32
|
||||
DIST anki-2.0.3.tgz 2823500 SHA256 9b34259dc0489d7a97e5193567c78cfec82a53ce4e35318d55640e1c2a05be2c SHA512 49071f128d4783c31c9ac3c8bdb02fcbc6b15b946a8d50559d58adc93e78ef20935bb504172b16f6e17d10f1e6196cee353583d91ae0d298ebaf3f36e1e8ab48 WHIRLPOOL d57d91374c447b76cbeca52bd892bf2a3c2cc985b22cbcc45bdf825d417f4e90ebe22123956f8242fa2f0fd3df6afe3b661bde123e83fbd8bc24bdeff1643f58
|
||||
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-2.0.3.ebuild,v 1.1 2012/11/05 08:41:39 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
|
||||
HOMEPAGE="http://ichi2.net/anki/"
|
||||
SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="latex +recording +sound"
|
||||
|
||||
RDEPEND="dev-python/PyQt4[X,svg,webkit]
|
||||
>=dev-python/httplib2-0.7.4
|
||||
dev-python/beautifulsoup:python-2
|
||||
recording? ( media-sound/lame
|
||||
>=dev-python/pyaudio-0.2.4 )
|
||||
sound? ( media-video/mplayer )
|
||||
latex? ( app-text/texlive
|
||||
app-text/dvipng )"
|
||||
DEPEND=""
|
||||
|
||||
pkg_setup(){
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm -r libanki/thirdparty || die
|
||||
python_convert_shebangs -r 2 .
|
||||
}
|
||||
|
||||
# Nothing to configure or compile
|
||||
src_configure() {
|
||||
true;
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
true;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin/
|
||||
doexe anki
|
||||
|
||||
doicon ${PN}.png
|
||||
domenu anki.desktop
|
||||
|
||||
doman anki.1
|
||||
|
||||
dodoc README README.development README.translating
|
||||
insinto "$(python_get_sitedir)"
|
||||
doins -r aqt libanki/anki
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<app-misc/anki-2" ; then
|
||||
elog "Anki 2 is a rewrite of Anki with many new features and"
|
||||
elog "a new database format. On the first run your decks are"
|
||||
elog "converted to the new format and a backup of your Anki-1"
|
||||
elog "decks is created. Please read the following:"
|
||||
elog "http://ankisrs.net/anki2.html"
|
||||
elog "The mobile clients for Anki 2 are still under development."
|
||||
fi
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/beanstalkd-1.8.ebuild,v 1.1 2012/11/05 07:32:17 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="test? 2"
|
||||
|
||||
inherit eutils python user
|
||||
|
||||
DESCRIPTION="A fast, distributed, in-memory workqueue service"
|
||||
HOMEPAGE="http://xph.us/software/beanstalkd/"
|
||||
SRC_URI="mirror://github/kr/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
IUSE="test"
|
||||
|
||||
pkg_setup() {
|
||||
enewuser beanstalk -1 -1 /var/lib/beanstalkd daemon
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin beanstalkd
|
||||
|
||||
DATADIR=/var/lib/${PN}
|
||||
dodir ${DATADIR}
|
||||
fowners beanstalk:daemon ${DATADIR}
|
||||
|
||||
doman doc/"${PN}".1
|
||||
|
||||
dodoc README NEWS.md doc/*.txt
|
||||
|
||||
newconfd "${FILESDIR}/conf-1.4.2" beanstalkd
|
||||
newinitd "${FILESDIR}/init-${PV}" beanstalkd
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of MIT
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/files/init-1.8,v 1.1 2012/11/05 07:32:17 patrick Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting beanstalkd"
|
||||
/sbin/start-stop-daemon --start \
|
||||
--background \
|
||||
--pidfile ${PIDFILE} --make-pidfile \
|
||||
--exec ${BEANSTALKD_BINARY} \
|
||||
-- -b ${DATADIR} -p ${PORT} -l ${ADDR} -u ${USER}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping beanstalkd"
|
||||
start-stop-daemon --stop --quiet \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${BEANSTALKD_BINARY}
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=417773
|
||||
diff -rupN gpsdrive-2.11.org//src/CMakeLists.txt gpsdrive-2.11/src/CMakeLists.txt
|
||||
--- gpsdrive-2.11.org//src/CMakeLists.txt 2012-06-19 20:02:50.960300653 +0200
|
||||
+++ gpsdrive-2.11/src/CMakeLists.txt 2012-06-19 20:03:03.263146846 +0200
|
||||
@@ -28,7 +28,7 @@ if (WITH_POSTGIS)
|
||||
endif (WITH_POSTGIS)
|
||||
|
||||
if (WITH_MAPNIK)
|
||||
- find_package(Boost COMPONENTS filesystem REQUIRED)
|
||||
+ find_package(Boost COMPONENTS filesystem thread REQUIRED)
|
||||
find_package(Mapnik REQUIRED)
|
||||
add_definitions(-DMAPNIK)
|
||||
endif (WITH_MAPNIK)
|
||||
@@ -177,6 +177,7 @@ if (WITH_MAPNIK)
|
||||
set(GPSDRIVE_LINK_LIBRARIES
|
||||
${GPSDRIVE_LINK_LIBRARIES}
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
+ ${Boost_THREAD_LIBRARY}
|
||||
${MAPNIK_LIBRARIES}
|
||||
)
|
||||
endif (WITH_MAPNIK)
|
@ -1,2 +1,3 @@
|
||||
DIST gramps-3.4.0.tar.gz 9470815 SHA256 4d029c4f3d3ffd369cbf3859f86f3602ce97a038ed6238b9811d0bf3cd15acf0 SHA512 469fbbcb1e864f0c5a771f83e4592ff27f86b017fd9fe9d6d56fff04aa888bfd08d1a6d2bfcccb244328b3a78c7b22e031452d9eb409b674cf0369e0af8aed0f WHIRLPOOL f068bb558cd5a6c5b4bf03dfb0d7a389aa8ea3175d2240d3a9d612a684a1cfbdf781b98d8ba859bfeaf5843ea744b721673b8115495777401bbc165922bebf08
|
||||
DIST gramps-3.4.1.tar.gz 10024633 SHA256 dc0cabfbe5586d5f38af6364a7adfdb52a543614583f60a5ecbdb317d0bac8c7 SHA512 550b104458eacdeb765bf856808474d73b18903cdc56b91c7a5cb0ee28a3fef6ae48979daa6ec36a693b396697a415838dda7aa5314800c4118865205883fca5 WHIRLPOOL 3f7d40962a8b339d2af59767e692ae2d7c831e489675dac3d46c2ee53a3c0a4a340a346a9e317718bf85eb43fff0a3d6461656c00218ea978176d6813ba0f0bb
|
||||
DIST gramps-3.4.2.tar.gz 9799202 SHA256 8cfc19b53ddf2bb864356c6749ac7703560bd818a3d47bb514f05d7b07a5b222 SHA512 73406fd5f5a29af5c8b03972a40ca73cc2198e93bacbf05bec521828c6fd50229b099380eafb7515e4e49c19f8395d992cf03a7ce256d85884294466eb3daa6b WHIRLPOOL dc0e996f71f0bc1e44a367509ea1862ade333c2870354a1e0a4017f0ca460a8235bf7c38f4818782d6c3f5c370db97258f1787db828a7b8b79cafdbcaca40cb2
|
||||
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-3.4.2.ebuild,v 1.1 2012/11/04 16:41:19 fauli Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit eutils gnome2 python
|
||||
|
||||
DESCRIPTION="Genealogical Research and Analysis Management Programming System"
|
||||
HOMEPAGE="http://www.gramps-project.org/"
|
||||
SRC_URI="mirror://sourceforge/gramps/Stable/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="gnome reports spell webkit"
|
||||
|
||||
RDEPEND="dev-python/bsddb3
|
||||
>=dev-python/pygtk-2.16.0
|
||||
dev-python/pygoocanvas
|
||||
x11-misc/xdg-utils
|
||||
gnome-base/librsvg:2
|
||||
gnome? ( dev-python/libgnome-python
|
||||
dev-python/gconf-python )
|
||||
spell? ( dev-python/gtkspell-python )
|
||||
reports? ( media-gfx/graphviz )
|
||||
webkit? ( dev-python/pywebkitgtk )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/libiconv
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="NEWS README TODO"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF} --disable-mime-install PYTHON="${EROOT}"/usr/bin/python2"
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
epatch "${FILESDIR}/${PN}-3.4.0-use_bsddb3.patch"
|
||||
|
||||
# This is for bug 215944, so .pyo/.pyc files don't get into the
|
||||
# file system
|
||||
python_clean_py-compile_files
|
||||
|
||||
# Fix install path, bug 423315 for example
|
||||
einfo "Fix installation path"
|
||||
find . -iname 'Makefile.in' | xargs \
|
||||
sed "s;\(pkgdatadir = \)\(\$(datadir)\);\1$(python_get_sitedir);" -i \
|
||||
|| die
|
||||
find . -iname 'Makefile.in' | xargs \
|
||||
sed "s;\(pkgpythondir = \)\(\$(datadir)\);\1$(python_get_sitedir);" -i \
|
||||
|| die
|
||||
|
||||
sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \
|
||||
-i src/Makefile.in || die
|
||||
|
||||
sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \
|
||||
-i src/docgen/Makefile.in || die
|
||||
|
||||
einfo "Fix wrapper script"
|
||||
sed "s;@datadir@;$(python_get_sitedir);" \
|
||||
-i gramps.sh.in || die
|
||||
|
||||
einfo "Fix icon location"
|
||||
sed "s;gramps/;pixmap/;g" -i data/gramps.keys.in || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_need_rebuild
|
||||
gnome2_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
python_mod_optimize ${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
python_mod_cleanup ${PN}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- screen-4.0.3/Makefile.in
|
||||
+++ screen-4.0.3/Makefile.in
|
||||
@@ -68,7 +68,7 @@
|
||||
$(CC) $(LDFLAGS) -o $@ $(OFILES) $(LIBS)
|
||||
|
||||
.c.o:
|
||||
- $(CC) -c -I. -I$(srcdir) $(M_CFLAGS) $(DEFS) $(OPTIONS) $(CFLAGS) $<
|
||||
+ $(CC) -c -I. -I$(srcdir) $(M_CFLAGS) $(DEFS) $(OPTIONS) $(CPPFLAGS) $(CFLAGS) $<
|
||||
|
||||
install_bin: .version screen
|
||||
-if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \
|
@ -0,0 +1,245 @@
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/db/db.cpp mongodb-src-r2.0.6-patched/db/db.cpp
|
||||
--- mongodb-src-r2.0.6/db/db.cpp 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/db/db.cpp 2012-07-10 22:27:16.496886220 +0200
|
||||
@@ -326,7 +326,7 @@
|
||||
boost::filesystem::path path( dbpath );
|
||||
for ( boost::filesystem::directory_iterator i( path );
|
||||
i != boost::filesystem::directory_iterator(); ++i ) {
|
||||
- string fileName = boost::filesystem::path(*i).leaf();
|
||||
+ string fileName = boost::filesystem::path(*i).leaf().string();
|
||||
if ( boost::filesystem::is_directory( *i ) &&
|
||||
fileName.length() && fileName[ 0 ] == '$' )
|
||||
boost::filesystem::remove_all( *i );
|
||||
@@ -655,11 +655,6 @@
|
||||
dbExecCommand = argv[0];
|
||||
|
||||
srand(curTimeMicros());
|
||||
-#if( BOOST_VERSION >= 104500 )
|
||||
- boost::filesystem::path::default_name_check( boost::filesystem2::no_check );
|
||||
-#else
|
||||
- boost::filesystem::path::default_name_check( boost::filesystem::no_check );
|
||||
-#endif
|
||||
|
||||
{
|
||||
unsigned x = 0x12345678;
|
||||
@@ -976,7 +971,7 @@
|
||||
if (params.count("shutdown")){
|
||||
bool failed = false;
|
||||
|
||||
- string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).native_file_string();
|
||||
+ string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).string();
|
||||
if ( !boost::filesystem::exists( name ) || boost::filesystem::file_size( name ) == 0 )
|
||||
failed = true;
|
||||
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/db/dur.cpp mongodb-src-r2.0.6-patched/db/dur.cpp
|
||||
--- mongodb-src-r2.0.6/db/dur.cpp 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/db/dur.cpp 2012-07-10 21:56:28.866778732 +0200
|
||||
@@ -692,7 +692,7 @@
|
||||
|
||||
bool samePartition = true;
|
||||
try {
|
||||
- const string dbpathDir = boost::filesystem::path(dbpath).native_directory_string();
|
||||
+ const string dbpathDir = boost::filesystem::path(dbpath).string();
|
||||
samePartition = onSamePartition(getJournalDir().string(), dbpathDir);
|
||||
}
|
||||
catch(...) {
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/db/dur_journal.cpp mongodb-src-r2.0.6-patched/db/dur_journal.cpp
|
||||
--- mongodb-src-r2.0.6/db/dur_journal.cpp 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/db/dur_journal.cpp 2012-07-10 22:04:18.583472723 +0200
|
||||
@@ -169,7 +169,7 @@
|
||||
for ( boost::filesystem::directory_iterator i( getJournalDir() );
|
||||
i != boost::filesystem::directory_iterator();
|
||||
++i ) {
|
||||
- string fileName = boost::filesystem::path(*i).leaf();
|
||||
+ string fileName = boost::filesystem::path(*i).leaf().string();
|
||||
if( str::startsWith(fileName, "j._") )
|
||||
return true;
|
||||
}
|
||||
@@ -185,7 +185,7 @@
|
||||
for ( boost::filesystem::directory_iterator i( getJournalDir() );
|
||||
i != boost::filesystem::directory_iterator();
|
||||
++i ) {
|
||||
- string fileName = boost::filesystem::path(*i).leaf();
|
||||
+ string fileName = boost::filesystem::path(*i).leaf().string();
|
||||
if( str::startsWith(fileName, "j._") ) {
|
||||
try {
|
||||
removeOldJournalFile(*i);
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/db/dur_recover.cpp mongodb-src-r2.0.6-patched/db/dur_recover.cpp
|
||||
--- mongodb-src-r2.0.6/db/dur_recover.cpp 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/db/dur_recover.cpp 2012-07-10 22:02:18.226799055 +0200
|
||||
@@ -71,7 +71,7 @@
|
||||
i != filesystem::directory_iterator();
|
||||
++i ) {
|
||||
filesystem::path filepath = *i;
|
||||
- string fileName = filesystem::path(*i).leaf();
|
||||
+ string fileName = filesystem::path(*i).leaf().string();
|
||||
if( str::startsWith(fileName, "j._") ) {
|
||||
unsigned u = str::toUnsigned( str::after(fileName, '_') );
|
||||
if( m.count(u) ) {
|
||||
@@ -84,7 +84,7 @@
|
||||
if( i != m.begin() && m.count(i->first - 1) == 0 ) {
|
||||
uasserted(13532,
|
||||
str::stream() << "unexpected file in journal directory " << dir.string()
|
||||
- << " : " << filesystem::path(i->second).leaf() << " : can't find its preceeding file");
|
||||
+ << " : " << filesystem::path(i->second).leaf().string() << " : can't find its preceeding file");
|
||||
}
|
||||
files.push_back(i->second);
|
||||
}
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/db/instance.cpp mongodb-src-r2.0.6-patched/db/instance.cpp
|
||||
--- mongodb-src-r2.0.6/db/instance.cpp 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/db/instance.cpp 2012-07-10 22:08:55.213488817 +0200
|
||||
@@ -645,13 +645,13 @@
|
||||
i != boost::filesystem::directory_iterator(); ++i ) {
|
||||
if ( directoryperdb ) {
|
||||
boost::filesystem::path p = *i;
|
||||
- string dbName = p.leaf();
|
||||
+ string dbName = p.leaf().string();
|
||||
p /= ( dbName + ".ns" );
|
||||
if ( MMF::exists( p ) )
|
||||
names.push_back( dbName );
|
||||
}
|
||||
else {
|
||||
- string fileName = boost::filesystem::path(*i).leaf();
|
||||
+ string fileName = boost::filesystem::path(*i).leaf().string();
|
||||
if ( fileName.length() > 3 && fileName.substr( fileName.length() - 3, 3 ) == ".ns" )
|
||||
names.push_back( fileName.substr( 0, fileName.length() - 3 ) );
|
||||
}
|
||||
@@ -893,7 +893,7 @@
|
||||
}
|
||||
|
||||
void acquirePathLock(bool doingRepair) {
|
||||
- string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).native_file_string();
|
||||
+ string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).string();
|
||||
|
||||
bool oldFile = false;
|
||||
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/db/pdfile.cpp mongodb-src-r2.0.6-patched/db/pdfile.cpp
|
||||
--- mongodb-src-r2.0.6/db/pdfile.cpp 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/db/pdfile.cpp 2012-07-10 22:11:44.103498643 +0200
|
||||
@@ -1987,7 +1987,7 @@
|
||||
virtual bool apply( const Path &p ) {
|
||||
if ( !boost::filesystem::exists( p ) )
|
||||
return false;
|
||||
- boostRenameWrapper( p, newPath_ / ( p.leaf() + ".bak" ) );
|
||||
+ boostRenameWrapper( p, newPath_ / ( p.leaf().string() + ".bak" ) );
|
||||
return true;
|
||||
}
|
||||
virtual const char * op() const {
|
||||
@@ -2093,7 +2093,7 @@
|
||||
uniqueReservedPath( ( preserveClonedFilesOnFailure || backupOriginalFiles ) ?
|
||||
"backup" : "$tmp" );
|
||||
BOOST_CHECK_EXCEPTION( boost::filesystem::create_directory( reservedPath ) );
|
||||
- string reservedPathString = reservedPath.native_directory_string();
|
||||
+ string reservedPathString = reservedPath.string();
|
||||
|
||||
bool res;
|
||||
{
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/dbtests/framework.cpp mongodb-src-r2.0.6-patched/dbtests/framework.cpp
|
||||
--- mongodb-src-r2.0.6/dbtests/framework.cpp 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/dbtests/framework.cpp 2012-07-10 22:29:20.610226773 +0200
|
||||
@@ -281,7 +281,7 @@
|
||||
boost::filesystem::create_directory(p);
|
||||
}
|
||||
|
||||
- string dbpathString = p.native_directory_string();
|
||||
+ string dbpathString = p.string();
|
||||
dbpath = dbpathString.c_str();
|
||||
|
||||
cmdLine.prealloc = false;
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/pch.h mongodb-src-r2.0.6-patched/pch.h
|
||||
--- mongodb-src-r2.0.6/pch.h 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/pch.h 2012-07-10 21:35:57.133373738 +0200
|
||||
@@ -79,7 +79,7 @@
|
||||
//#include <boost/any.hpp>
|
||||
#include "boost/thread/once.hpp"
|
||||
//#include <boost/archive/iterators/transform_width.hpp>
|
||||
-#define BOOST_FILESYSTEM_VERSION 2
|
||||
+#define BOOST_FILESYSTEM_VERSION 3
|
||||
#include <boost/filesystem/convenience.hpp>
|
||||
#include <boost/filesystem/exception.hpp>
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/shell/shell_utils.cpp mongodb-src-r2.0.6-patched/shell/shell_utils.cpp
|
||||
--- mongodb-src-r2.0.6/shell/shell_utils.cpp 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/shell/shell_utils.cpp 2012-07-10 22:38:58.443593723 +0200
|
||||
@@ -388,7 +388,7 @@
|
||||
#endif
|
||||
}
|
||||
|
||||
- argv_.push_back( programPath.native_file_string() );
|
||||
+ argv_.push_back( programPath.string() );
|
||||
|
||||
port_ = -1;
|
||||
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/tools/restore.cpp mongodb-src-r2.0.6-patched/tools/restore.cpp
|
||||
--- mongodb-src-r2.0.6/tools/restore.cpp 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/tools/restore.cpp 2012-07-10 22:45:00.046948094 +0200
|
||||
@@ -131,7 +131,7 @@
|
||||
log(2) << "drillDown: " << root.string() << endl;
|
||||
|
||||
// skip hidden files and directories
|
||||
- if (root.leaf()[0] == '.' && root.leaf() != ".")
|
||||
+ if (root.leaf().string()[0] == '.' && root.leaf().string() != ".")
|
||||
return;
|
||||
|
||||
if ( is_directory( root ) ) {
|
||||
@@ -210,7 +210,7 @@
|
||||
ns += "." + _coll;
|
||||
}
|
||||
else {
|
||||
- string l = root.leaf();
|
||||
+ string l = root.leaf().string();
|
||||
l = l.substr( 0 , l.find_last_of( "." ) );
|
||||
ns += "." + l;
|
||||
}
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/tools/tool.cpp mongodb-src-r2.0.6-patched/tools/tool.cpp
|
||||
--- mongodb-src-r2.0.6/tools/tool.cpp 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/tools/tool.cpp 2012-07-10 22:23:53.356874403 +0200
|
||||
@@ -113,12 +113,6 @@
|
||||
// we want durability to be disabled.
|
||||
cmdLine.dur = false;
|
||||
|
||||
-#if( BOOST_VERSION >= 104500 )
|
||||
- boost::filesystem::path::default_name_check( boost::filesystem2::no_check );
|
||||
-#else
|
||||
- boost::filesystem::path::default_name_check( boost::filesystem::no_check );
|
||||
-#endif
|
||||
-
|
||||
_name = argv[0];
|
||||
|
||||
/* using the same style as db.cpp */
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/util/background.cpp mongodb-src-r2.0.6-patched/util/background.cpp
|
||||
--- mongodb-src-r2.0.6/util/background.cpp 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/util/background.cpp 2012-07-10 21:47:40.420081320 +0200
|
||||
@@ -89,7 +89,7 @@
|
||||
if ( msTimeOut ) {
|
||||
// add msTimeOut millisecond to current time
|
||||
boost::xtime xt;
|
||||
- boost::xtime_get( &xt, boost::TIME_UTC );
|
||||
+ boost::xtime_get( &xt, boost::TIME_UTC_ );
|
||||
|
||||
unsigned long long ns = msTimeOut * 1000000ULL; // milli to nano
|
||||
if ( xt.nsec + ns < 1000000000 ) {
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/util/concurrency/mutex.h mongodb-src-r2.0.6-patched/util/concurrency/mutex.h
|
||||
--- mongodb-src-r2.0.6/util/concurrency/mutex.h 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/util/concurrency/mutex.h 2012-07-10 21:45:51.333408307 +0200
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
inline boost::xtime incxtimemillis( long long s ) {
|
||||
boost::xtime xt;
|
||||
- boost::xtime_get(&xt, boost::TIME_UTC);
|
||||
+ boost::xtime_get(&xt, boost::TIME_UTC_);
|
||||
xt.sec += (int)( s / 1000 );
|
||||
xt.nsec += (int)(( s % 1000 ) * 1000000);
|
||||
if ( xt.nsec >= 1000000000 ) {
|
||||
diff -ru '--exclude=mongo_vstudio.cpp' mongodb-src-r2.0.6/util/queue.h mongodb-src-r2.0.6-patched/util/queue.h
|
||||
--- mongodb-src-r2.0.6/util/queue.h 2012-06-04 15:42:54.000000000 +0200
|
||||
+++ mongodb-src-r2.0.6-patched/util/queue.h 2012-07-10 22:14:00.243506560 +0200
|
||||
@@ -82,7 +82,7 @@
|
||||
Timer timer;
|
||||
|
||||
boost::xtime xt;
|
||||
- boost::xtime_get(&xt, boost::TIME_UTC);
|
||||
+ boost::xtime_get(&xt, boost::TIME_UTC_);
|
||||
xt.sec += maxSecondsToWait;
|
||||
|
||||
scoped_lock l( _lock );
|
@ -0,0 +1,215 @@
|
||||
--- a/src/mongo/db/db.cpp 2012-08-28 08:28:11.000000000 +0300
|
||||
+++ b/src/mongo/db/db.cpp 2012-10-21 18:25:50.000000000 +0300
|
||||
@@ -348,7 +348,7 @@
|
||||
boost::filesystem::path path( dbpath );
|
||||
for ( boost::filesystem::directory_iterator i( path );
|
||||
i != boost::filesystem::directory_iterator(); ++i ) {
|
||||
- string fileName = boost::filesystem::path(*i).leaf();
|
||||
+ string fileName = boost::filesystem::path(*i).leaf().string();
|
||||
if ( boost::filesystem::is_directory( *i ) &&
|
||||
fileName.length() && fileName[ 0 ] == '$' )
|
||||
boost::filesystem::remove_all( *i );
|
||||
@@ -748,11 +748,11 @@
|
||||
dbExecCommand = argv[0];
|
||||
|
||||
srand(curTimeMicros());
|
||||
-#if( BOOST_VERSION >= 104500 )
|
||||
- boost::filesystem::path::default_name_check( boost::filesystem2::no_check );
|
||||
-#else
|
||||
- boost::filesystem::path::default_name_check( boost::filesystem::no_check );
|
||||
-#endif
|
||||
+// #if( BOOST_VERSION >= 104500 )
|
||||
+// boost::filesystem::path::default_name_check( boost::filesystem2::no_check );
|
||||
+// #else
|
||||
+// boost::filesystem::path::default_name_check( boost::filesystem::no_check );
|
||||
+// #endif
|
||||
|
||||
{
|
||||
unsigned x = 0x12345678;
|
||||
@@ -1083,7 +1083,7 @@
|
||||
if (params.count("shutdown")){
|
||||
bool failed = false;
|
||||
|
||||
- string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).native_file_string();
|
||||
+ string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).string();
|
||||
if ( !boost::filesystem::exists( name ) || boost::filesystem::file_size( name ) == 0 )
|
||||
failed = true;
|
||||
|
||||
--- a/src/mongo/db/dur.cpp 2012-08-28 08:28:11.000000000 +0300
|
||||
+++ b/src/mongo/db/dur.cpp 2012-10-21 18:25:50.000000000 +0300
|
||||
@@ -770,7 +770,7 @@
|
||||
|
||||
bool samePartition = true;
|
||||
try {
|
||||
- const string dbpathDir = boost::filesystem::path(dbpath).native_directory_string();
|
||||
+ const string dbpathDir = boost::filesystem::path(dbpath).string();
|
||||
samePartition = onSamePartition(getJournalDir().string(), dbpathDir);
|
||||
}
|
||||
catch(...) {
|
||||
--- a/src/mongo/db/dur_journal.cpp 2012-08-28 08:28:11.000000000 +0300
|
||||
+++ b/src/mongo/db/dur_journal.cpp 2012-10-21 18:25:50.000000000 +0300
|
||||
@@ -176,7 +176,7 @@
|
||||
for ( boost::filesystem::directory_iterator i( getJournalDir() );
|
||||
i != boost::filesystem::directory_iterator();
|
||||
++i ) {
|
||||
- string fileName = boost::filesystem::path(*i).leaf();
|
||||
+ string fileName = boost::filesystem::path(*i).leaf().string();
|
||||
if( anyFiles || str::startsWith(fileName, "j._") )
|
||||
return true;
|
||||
}
|
||||
@@ -194,7 +194,7 @@
|
||||
for ( boost::filesystem::directory_iterator i( getJournalDir() );
|
||||
i != boost::filesystem::directory_iterator();
|
||||
++i ) {
|
||||
- string fileName = boost::filesystem::path(*i).leaf();
|
||||
+ string fileName = boost::filesystem::path(*i).leaf().string();
|
||||
if( str::startsWith(fileName, "j._") ) {
|
||||
try {
|
||||
removeOldJournalFile(*i);
|
||||
--- a/src/mongo/db/dur_recover.cpp 2012-08-28 08:28:11.000000000 +0300
|
||||
+++ b/src/mongo/db/dur_recover.cpp 2012-10-21 18:25:50.000000000 +0300
|
||||
@@ -72,7 +72,7 @@
|
||||
i != boost::filesystem::directory_iterator();
|
||||
++i ) {
|
||||
boost::filesystem::path filepath = *i;
|
||||
- string fileName = boost::filesystem::path(*i).leaf();
|
||||
+ string fileName = boost::filesystem::path(*i).leaf().string();
|
||||
if( str::startsWith(fileName, "j._") ) {
|
||||
unsigned u = str::toUnsigned( str::after(fileName, '_') );
|
||||
if( m.count(u) ) {
|
||||
@@ -85,7 +85,7 @@
|
||||
if( i != m.begin() && m.count(i->first - 1) == 0 ) {
|
||||
uasserted(13532,
|
||||
str::stream() << "unexpected file in journal directory " << dir.string()
|
||||
- << " : " << boost::filesystem::path(i->second).leaf() << " : can't find its preceeding file");
|
||||
+ << " : " << boost::filesystem::path(i->second).leaf().string() << " : can't find its preceeding file");
|
||||
}
|
||||
files.push_back(i->second);
|
||||
}
|
||||
--- a/src/mongo/db/instance.cpp 2012-08-28 08:28:11.000000000 +0300
|
||||
+++ b/work/mongodb-src-r2.2.0/src/mongo/db/instance.cpp 2012-10-21 18:25:50.000000000 +0300
|
||||
@@ -833,13 +833,13 @@
|
||||
i != boost::filesystem::directory_iterator(); ++i ) {
|
||||
if ( directoryperdb ) {
|
||||
boost::filesystem::path p = *i;
|
||||
- string dbName = p.leaf();
|
||||
+ string dbName = p.leaf().string();
|
||||
p /= ( dbName + ".ns" );
|
||||
if ( exists( p ) )
|
||||
names.push_back( dbName );
|
||||
}
|
||||
else {
|
||||
- string fileName = boost::filesystem::path(*i).leaf();
|
||||
+ string fileName = boost::filesystem::path(*i).leaf().string();
|
||||
if ( fileName.length() > 3 && fileName.substr( fileName.length() - 3, 3 ) == ".ns" )
|
||||
names.push_back( fileName.substr( 0, fileName.length() - 3 ) );
|
||||
}
|
||||
@@ -1102,7 +1102,7 @@
|
||||
}
|
||||
|
||||
void acquirePathLock(bool doingRepair) {
|
||||
- string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).native_file_string();
|
||||
+ string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).string();
|
||||
|
||||
bool oldFile = false;
|
||||
|
||||
--- a/src/mongo/db/pdfile.cpp 2012-08-28 08:28:11.000000000 +0300
|
||||
+++ b/src/mongo/db/pdfile.cpp 2012-10-21 18:25:50.000000000 +0300
|
||||
@@ -1675,7 +1675,7 @@
|
||||
virtual bool apply( const Path &p ) {
|
||||
if ( !boost::filesystem::exists( p ) )
|
||||
return false;
|
||||
- boostRenameWrapper( p, newPath_ / ( p.leaf() + ".bak" ) );
|
||||
+ boostRenameWrapper( p, newPath_ / ( p.leaf().string() + ".bak" ) );
|
||||
return true;
|
||||
}
|
||||
virtual const char * op() const {
|
||||
@@ -1783,7 +1783,7 @@
|
||||
uniqueReservedPath( ( preserveClonedFilesOnFailure || backupOriginalFiles ) ?
|
||||
"backup" : "_tmp" );
|
||||
MONGO_ASSERT_ON_EXCEPTION( boost::filesystem::create_directory( reservedPath ) );
|
||||
- string reservedPathString = reservedPath.native_directory_string();
|
||||
+ string reservedPathString = reservedPath.string();
|
||||
|
||||
bool res;
|
||||
{
|
||||
--- a/src/mongo/dbtests/framework.cpp 2012-08-28 08:28:11.000000000 +0300
|
||||
+++ b/src/mongo/dbtests/framework.cpp 2012-10-21 18:25:50.000000000 +0300
|
||||
@@ -199,7 +199,7 @@
|
||||
boost::filesystem::create_directory(p);
|
||||
}
|
||||
|
||||
- string dbpathString = p.native_directory_string();
|
||||
+ string dbpathString = p.string();
|
||||
dbpath = dbpathString.c_str();
|
||||
|
||||
cmdLine.prealloc = false;
|
||||
--- a/src/mongo/pch.h 2012-08-28 08:28:11.000000000 +0300
|
||||
+++ b/src/mongo/pch.h 2012-10-21 18:25:50.000000000 +0300
|
||||
@@ -44,7 +44,7 @@
|
||||
#include "string.h"
|
||||
#include "limits.h"
|
||||
|
||||
-#define BOOST_FILESYSTEM_VERSION 2
|
||||
+#define BOOST_FILESYSTEM_VERSION 3
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <boost/smart_ptr.hpp>
|
||||
#include <boost/function.hpp>
|
||||
--- a/src/mongo/shell/shell_utils_launcher.cpp 2012-08-28 08:28:11.000000000 +0300
|
||||
+++ b/src/mongo/shell/shell_utils_launcher.cpp 2012-10-21 18:25:50.000000000 +0300
|
||||
@@ -184,7 +184,7 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
- _argv.push_back( programPath.native_file_string() );
|
||||
+ _argv.push_back( programPath.string() );
|
||||
|
||||
_port = -1;
|
||||
|
||||
--- a/src/mongo/tools/restore.cpp 2012-08-28 08:28:11.000000000 +0300
|
||||
+++ b/src/mongo/tools/restore.cpp 2012-10-21 18:25:50.000000000 +0300
|
||||
@@ -174,7 +174,7 @@
|
||||
log(2) << "drillDown: " << root.string() << endl;
|
||||
|
||||
// skip hidden files and directories
|
||||
- if (root.leaf()[0] == '.' && root.leaf() != ".")
|
||||
+ if (root.leaf().string()[0] == '.' && root.leaf().string() != ".")
|
||||
return;
|
||||
|
||||
if ( is_directory( root ) ) {
|
||||
@@ -255,7 +255,7 @@
|
||||
|
||||
verify( ns.size() );
|
||||
|
||||
- string oldCollName = root.leaf(); // Name of the collection that was dumped from
|
||||
+ string oldCollName = root.leaf().string(); // Name of the collection that was dumped from
|
||||
oldCollName = oldCollName.substr( 0 , oldCollName.find_last_of( "." ) );
|
||||
if (use_coll) {
|
||||
ns += "." + _coll;
|
||||
@@ -287,7 +287,7 @@
|
||||
if (!boost::filesystem::exists(metadataFile.string())) {
|
||||
// This is fine because dumps from before 2.1 won't have a metadata file, just print a warning.
|
||||
// System collections shouldn't have metadata so don't warn if that file is missing.
|
||||
- if (!startsWith(metadataFile.leaf(), "system.")) {
|
||||
+ if (!startsWith(metadataFile.leaf().string(), "system.")) {
|
||||
log() << metadataFile.string() << " not found. Skipping." << endl;
|
||||
}
|
||||
} else {
|
||||
--- a/src/mongo/tools/tool.cpp 2012-08-28 08:28:11.000000000 +0300
|
||||
+++ b/src/mongo/tools/tool.cpp 2012-10-21 18:25:50.000000000 +0300
|
||||
@@ -118,11 +118,11 @@
|
||||
// we want durability to be disabled.
|
||||
cmdLine.dur = false;
|
||||
|
||||
-#if( BOOST_VERSION >= 104500 )
|
||||
- boost::filesystem::path::default_name_check( boost::filesystem2::no_check );
|
||||
-#else
|
||||
- boost::filesystem::path::default_name_check( boost::filesystem::no_check );
|
||||
-#endif
|
||||
+// #if( BOOST_VERSION >= 104500 )
|
||||
+// boost::filesystem::path::default_name_check( boost::filesystem2::no_check );
|
||||
+// #else
|
||||
+// boost::filesystem::path::default_name_check( boost::filesystem::no_check );
|
||||
+// #endif
|
||||
|
||||
_name = argv[0];
|
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.0.7-r2.ebuild,v 1.1 2012/11/04 14:23:25 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
|
||||
inherit eutils boost-utils flag-o-matic multilib pax-utils scons-utils user versionator
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20120514-10gen-mms-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mms-agent static-libs v8"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo )"
|
||||
RDEPEND="
|
||||
v8? ( dev-lang/v8 )
|
||||
>=dev-libs/boost-1.50
|
||||
dev-libs/libpcre[cxx]
|
||||
net-libs/libpcap
|
||||
app-arch/snappy"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
|
||||
if use v8; then
|
||||
scons_opts+=" --usev8"
|
||||
else
|
||||
scons_opts+=" --usesm"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.0-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.0-r1-boost-1.50.patch"
|
||||
|
||||
# drop -Werror
|
||||
sed -i -e '/Werror/d' SConstruct || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${D}"/usr
|
||||
|
||||
use static-libs || rm "${D}/usr/$(get_libdir)/libmongoclient.a"
|
||||
|
||||
use v8 && pax-mark m "${D}"/usr/bin/{mongo,mongod}
|
||||
|
||||
for x in /var/{lib,log,run}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 1.8 ]]; then
|
||||
ewarn "You just upgraded from a previous version of mongodb !"
|
||||
ewarn "Make sure you run 'mongod --upgrade' before using this version."
|
||||
fi
|
||||
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
|
||||
}
|
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.2.0-r2.ebuild,v 1.1 2012/11/04 14:23:24 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
|
||||
inherit eutils boost-utils flag-o-matic multilib pax-utils scons-utils user versionator
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20120830-10gen-mms-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mms-agent static-libs v8"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo )"
|
||||
RDEPEND="
|
||||
v8? ( dev-lang/v8 )
|
||||
>=dev-libs/boost-1.50
|
||||
dev-libs/libpcre[cxx]
|
||||
dev-util/google-perftools
|
||||
net-libs/libpcap
|
||||
app-arch/snappy"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
|
||||
scons_opts+=" --use-system-tcmalloc"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
scons_opts+=" --use-system-boost"
|
||||
|
||||
if use v8; then
|
||||
scons_opts+=" --usev8"
|
||||
else
|
||||
scons_opts+=" --usesm"
|
||||
fi
|
||||
|
||||
local boostver=$(boost-utils_get_best_slot)
|
||||
scons_opts+=" --boost-version=${boostver/./_}"
|
||||
append-cxxflags "-I$(boost-utils_get_includedir)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r2-boost-1.50.patch"
|
||||
|
||||
# FIXME: apply only this fix [1] on x86 boxes as it breaks /usr/lib symlink
|
||||
# on amd64 machines [2].
|
||||
# [1] https://jira.mongodb.org/browse/SERVER-5575
|
||||
# [2] https://bugs.gentoo.org/show_bug.cgi?id=434664
|
||||
if use !prefix && [[ "$(get_libdir)" == "lib" ]]; then
|
||||
epatch "${FILESDIR}/${PN}-2.2-fix-x86client.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
use static-libs || rm "${ED}/usr/$(get_libdir)/libmongoclient.a"
|
||||
|
||||
use v8 && pax-mark m "${ED}"/usr/bin/{mongo,mongod}
|
||||
|
||||
for x in /var/{lib,log,run}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 1.8 ]]; then
|
||||
ewarn "You just upgraded from a previous version of mongodb !"
|
||||
ewarn "Make sure you run 'mongod --upgrade' before using this version."
|
||||
fi
|
||||
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST mysql-workbench-gpl-5.2.35-src.tar.gz 17874329 SHA256 3681351af061637ce54dcc1b490325e9a4a0b42127e642e60220845fcfc2cbaa SHA512 1b7e94811b39204761dfd9308a51fb78068e2f2cfd141b8add52fdb1eecb51daafe903adcd5ff20066c22606060a672bde479705da7b7bde88719a8d3f12974f WHIRLPOOL 0e1d9d3297eb7fa414804714045db47bc64b4d3888c4de26b8d0a091ddd0b83f88f306c0906e3ac0e598b0f1976f94f58b0b6a42b2db98b173cb2e95519db7ac
|
||||
DIST mysql-workbench-gpl-5.2.40-src.tar.gz 18902330 SHA256 782be704afd7f2348bab98479c1ace807f83811f24aa268d5853486909c356ed SHA512 adbf5a6ded8f38bbbe3ce91fc0bb8fd7914d8287446302d1b3fca892b5a332883b71c23a481f7f0ebd04f4bfb6275f6a58c5913d6f4bb89a6be9741bd3320495 WHIRLPOOL d36f0ecd8697acf81db43054990b7b74e0df9e51dcdc8ca4329ae26d64292d5011fda776e1790063a4118b02660b471a0fbad5b301188e288180c8cd45ebf5d0
|
||||
DIST mysql-workbench-gpl-5.2.43-src.tar.gz 30541959 SHA256 d11fb0eb323f4044f7857417d3dd37d8f85a74b8cdb3eb352d770f3ba3900149 SHA512 34c4fe73aef6a5fc83723d489bc6463b49d500ed09346a959a8431c46d5fd7e283f85484bfe9dccb37f8d7ce43ddb0d52c80da734db964c74501c25601c6fab9 WHIRLPOOL 3197570909f1940b37322576e19bd0097ec2da94d57831702e6b38e816f1a1fd15b067c7ac3a6b3a39e2af815cc3466d12b066e0b286fa56b77286a8677d2a90
|
||||
DIST mysql-workbench-gpl-5.2.44-src.tar.gz 30799313 SHA256 f78a393e0f8bbc51b6be761ac3e0988c21d774a35efa081ef204d8c47ab841e0 SHA512 1a7939b34b1d50c0cdca37b6b007f2bb0aab299b2ba851e2f3c3095dcacc9056994337a79efa0022a5f2a6a760362ac9e9f4fdf7be6b1a7d9c12993b499bf403 WHIRLPOOL c59b0e555e98ae9b552e05cf3aa6ab9791e81784590e24b52c499844ce20ed34e093d5102fdbd9273a0465dd46c285aa57a1392b64122e135ded50fd46f286d5
|
||||
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.43.ebuild,v 1.1 2012/09/16 17:18:43 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_DEPEND=2
|
||||
|
||||
inherit gnome2 eutils flag-o-matic python autotools
|
||||
|
||||
MY_P="${PN}-gpl-${PV}-src"
|
||||
|
||||
DESCRIPTION="MySQL Workbench"
|
||||
HOMEPAGE="http://dev.mysql.com/workbench/"
|
||||
SRC_URI="mirror://mysql/Downloads/MySQLGUITools/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug doc gnome-keyring nls static-libs"
|
||||
|
||||
# Build system bundles an unreleased copy of dev-libs/antlr-c 3.4 so we
|
||||
# can't depend on our own packaged version right now.
|
||||
|
||||
CDEPEND="dev-db/sqlite:3
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
dev-libs/glib:2
|
||||
gnome-base/libglade:2.0
|
||||
dev-libs/libsigc++:2
|
||||
dev-libs/boost
|
||||
>=dev-cpp/ctemplate-0.95
|
||||
>=dev-libs/libxml2-2.6.2:2
|
||||
>=dev-cpp/glibmm-2.14:2
|
||||
>=dev-cpp/gtkmm-2.14:2.4
|
||||
dev-db/libiodbc
|
||||
dev-libs/libzip
|
||||
>=virtual/mysql-5.1
|
||||
dev-libs/libpcre
|
||||
virtual/opengl
|
||||
>=dev-lang/lua-5.1[deprecated]
|
||||
x11-libs/pango
|
||||
|| ( sys-libs/e2fsprogs-libs
|
||||
dev-libs/ossp-uuid )
|
||||
>=x11-libs/cairo-1.5.12[svg]
|
||||
dev-python/pexpect
|
||||
>=dev-python/paramiko-1.7.4
|
||||
doc? ( dev-python/pysqlite:2 )
|
||||
gnome-keyring? ( gnome-base/libgnome-keyring )
|
||||
nls? ( sys-devel/gettext )"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-admin/sudo
|
||||
sys-apps/net-tools"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/"${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
# Make sure we use Python 2 since the code is not compatible with 3.
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# ifconfig isn't in the normal path
|
||||
sed -i -e 's:ifconfig:/sbin/ifconfig:' plugins/wb.admin/backend/wb_server_control.py || die
|
||||
|
||||
# Remove hardcoded CXXFLAGS
|
||||
sed -i -e 's/debug_flags="-ggdb3 /debug_flags="/' configure || die
|
||||
sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/Makefile.in ext/scintilla/gtk/Makefile.am || die
|
||||
|
||||
# Remove bundled ctemplate version to make sure we use the system
|
||||
# version, but leave a directory to avoid confusing configure, bug
|
||||
# 357539.
|
||||
rm -rf ext/ctemplate || die
|
||||
mkdir -p ext/ctemplate/ctemplate-src || die
|
||||
|
||||
# Regenerate autotools files to work around broken libtool for
|
||||
# antlr, bug 431756.
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls i18n) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST Regina-REXX-3.3.tar.gz 940352 SHA256 3bce9da3631dbf073b8373359fb8a2924d7b511995e7dfd34deca8c6b5d0582c SHA512 d7b4816886fc4d9d9a75091c1220f5b00bfc4ee6d2e066185126735bb47e664b0283576e5119ad0f11fe88a158c6db8aab81fa46f631583fe28f7279dbba115f WHIRLPOOL f964de0da6f9b60800d194ee79a2926a99f3e94f7eaa9cb69715223eb6b47b8877980a66b8d9ef48b6b3ee88cd4106742ca05ae2c618d1a76236d4d4d9ecbfe3
|
||||
DIST Regina-REXX-3.4.tar.gz 1044259 SHA256 2ecbe44c13ec63b93ab80f415ccd023ea51d1d31bef42444f5e579a6169dab0e SHA512 20432421fc773fdf874adb38fbe74a4eff337672e44775cb7bf4b7343b01d8036df1b672e1a2fa34de7a7e4c0be5d7dd2c62283d856212f185bc4a28507c710e WHIRLPOOL 80e751412e8c548cb10ed5074f175bd732844959b207e13333ff2767d6e46743ffa5039a3b09ce62913edb83beded86f6031f5fa7bc446bd1336a008fe2ea76d
|
||||
DIST Regina-REXX-3.6.tar.gz 1140272 RMD160 b1684ee514fde0ca657532bc0db265c46354ffbe SHA1 6e7709bc07b22f4b26cb1893a967f499c304b26a SHA256 687a52327b74e75cf383c427268346ef884c9aed6cdd7d3108feff2171ecfbcc
|
||||
DIST Regina-REXX-3.6.tar.gz 1140272 SHA256 687a52327b74e75cf383c427268346ef884c9aed6cdd7d3108feff2171ecfbcc SHA512 07a65c633da97e2a696c3d038808fa377af05f99fef2322398f4712726f4b7311957afeb9e2c18988feb29392ef06ddae7f7bde1a7574af0b0e8bbd286aa2e8e WHIRLPOOL be930cd0e8cf96a95eccf61d711ec633d7acfaf7b383f2633ac696bddbf8c01ab2ba2ef4bda8cf0f4f9404128e9f3eabbb3168864a5b93360f46b5f09fa1feb1
|
||||
|
@ -0,0 +1,14 @@
|
||||
#!/sbin/runscript
|
||||
|
||||
start() {
|
||||
ebegin "Starting Regina stack"
|
||||
start-stop-daemon --start --pidfile /var/run/rxstack.pid \
|
||||
--exec /usr/bin/rxstack -- -d
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Regina stack"
|
||||
start-stop-daemon --stop --exec /usr/bin/rxstack
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/regina-rexx/regina-rexx-3.6-r1.ebuild,v 1.2 2012/11/04 19:50:35 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Portable Rexx interpreter"
|
||||
HOMEPAGE="http://regina-rexx.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/Regina-REXX-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~s390 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/Regina-REXX-${PV}
|
||||
|
||||
MAKEOPTS+=" -j1"
|
||||
|
||||
DOCS=( BUGS HACKERS.txt README.Unix README_SAFE TODO )
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's/CFLAGS=/UPSTREAM_CFLAGS=/' -i common/incdebug.m4 || die
|
||||
|
||||
sed -e 's|-$(INSTALL) -m 755 -c ./rxstack.init.d $(DESTDIR)$(sysconfdir)/rc.d/init.d/rxstack||' \
|
||||
-i Makefile.in || die
|
||||
|
||||
eautoconf
|
||||
tc-export CC #don't move it as tc-getCC
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LIBEXE="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newinitd "${FILESDIR}"/rxstack-r1 rxstack
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You may want to run"
|
||||
elog
|
||||
elog "\trc-update add rxstack default"
|
||||
elog
|
||||
elog "to enable Rexx queues (optional)."
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
diff -Naur tk8.5.11.orig/generic/ttk/ttkTreeview.c tk8.5.11/generic/ttk/ttkTreeview.c
|
||||
--- tk8.5.11.orig/generic/ttk/ttkTreeview.c 2011-11-01 10:05:27.000000000 -0400
|
||||
+++ tk8.5.11/generic/ttk/ttkTreeview.c 2012-11-04 13:23:41.000000000 -0500
|
||||
@@ -485,11 +485,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
-/* + unshare(objPtr) --
|
||||
+/* + unshareObj(objPtr) --
|
||||
* Ensure that a Tcl_Obj * has refcount 1 -- either return objPtr
|
||||
* itself, or a duplicated copy.
|
||||
*/
|
||||
-static Tcl_Obj *unshare(Tcl_Obj *objPtr)
|
||||
+static Tcl_Obj *unshareObj(Tcl_Obj *objPtr)
|
||||
{
|
||||
if (Tcl_IsShared(objPtr)) {
|
||||
Tcl_Obj *newObj = Tcl_DuplicateObj(objPtr);
|
||||
@@ -2525,7 +2525,7 @@
|
||||
} else { /* set column */
|
||||
int length;
|
||||
|
||||
- item->valuesObj = unshare(item->valuesObj);
|
||||
+ item->valuesObj = unshareObj(item->valuesObj);
|
||||
|
||||
/* Make sure -values is fully populated:
|
||||
*/
|
||||
@@ -2826,7 +2826,7 @@
|
||||
*/
|
||||
for (parent = item->parent; parent; parent = parent->parent) {
|
||||
if (!(parent->state & TTK_STATE_OPEN)) {
|
||||
- parent->openObj = unshare(parent->openObj);
|
||||
+ parent->openObj = unshareObj(parent->openObj);
|
||||
Tcl_SetBooleanObj(parent->openObj, 1);
|
||||
parent->state |= TTK_STATE_OPEN;
|
||||
TtkRedisplayWidget(&tv->core);
|
@ -1,4 +1,3 @@
|
||||
DIST icu4c-49_1_2-docs.zip 4245617 SHA256 50fcc81a797b20ebaf12167479f24eac323bad21d012ca366701f62eccdabb94 SHA512 84ddc1e4cc3e4617e6a93c6ada3e7e5fa470fb34fed3ca4e3c57a741bbdd279d402d3fd313543230f2c73c3197300311eafd2d91c207ff64d3eca9833907a32b WHIRLPOOL 44fde7cfc560bb29e16f32ab4ca300c87469747719ba5a0e0622ed5eb64911e5f5969328a9cef71f0c4aee455093233d0a5c0f8719559d705c2698de2f457662
|
||||
DIST icu4c-49_1_2-src.tgz 19010646 SHA256 cce83cc88a2ff79d65c05426facbf30530bbe13a1cfda04b3ab81b55414cf5a3 SHA512 83997878222ada25be281c35b766906a9997da350068d4f7400874ea37133baeef0e8277dc117219c37ab486b643125b4b73ace956507d2237c1c9002173a140 WHIRLPOOL 68ff12ab0b3b5e471ced5d07c7170494e24526591587669b86a2a732ce3d0dda4abd74e2dcfdc3dd2e66a30b28d897836a6b0c1f1148101e1b51ffc87a87f080
|
||||
DIST icu4c-50_rc-docs.zip 6125408 SHA256 7e09e7481bfb12e3a84ebf4bf46afad986f8fae49cdef79deb5ae95fdc458800 SHA512 c367921082346812c0cae94d2f805e83814d68ee46256e736d5225ea5c71e1625b15f4b25064482750b2432d591123439c0ca00e929f5dae1895ba971db45d0e WHIRLPOOL 50ee21358efc355269abd9d173e0c9b203e4a33174e9a6956c3121128a12113bf09aba832c756f2c4c011e517fb3ce31563996a9286306bbcac87f4936cfafe7
|
||||
DIST icu4c-50_rc-src.tgz 19637660 SHA256 1336b0da4e862fc9b5d40c93c1a9be61aff635d9b743b5138176619409e6bb0b SHA512 be6dd349134a13848e4ff005c045db456a365212c558f38e0f371aa376e69f1044ff010308923c9542ec2ba3edba5521907e2a0dbb9e53f65d4dbe340aa2a019 WHIRLPOOL e71f3d8da84ff8b0d31df6b3b11cb065e366e9a4b8387411c75d4114c31533682867811b178c19c78c2670818b733db9489aff43ee4b377031aca6687a26359a
|
||||
|
@ -1,112 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-50_rc-r1.ebuild,v 1.2 2012/10/28 21:16:21 floppym Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils toolchain-funcs versionator
|
||||
|
||||
MAJOR_VERSION="$(get_version_component_range 1)"
|
||||
if [[ "${PV}" =~ ^[[:digit:]]+_rc[[:digit:]]*$ ]]; then
|
||||
MINOR_VERSION="1"
|
||||
else
|
||||
MINOR_VERSION="$(get_version_component_range 2)"
|
||||
fi
|
||||
|
||||
DESCRIPTION="International Components for Unicode"
|
||||
HOMEPAGE="http://www.icu-project.org/"
|
||||
|
||||
BASE_URI="http://download.icu-project.org/files/icu4c/${PV/_/}"
|
||||
SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz"
|
||||
DOCS_ARCHIVE="icu4c-${PV//./_}-docs.zip"
|
||||
|
||||
SRC_URI="${BASE_URI}/${SRC_ARCHIVE}
|
||||
doc? ( ${BASE_URI}/${DOCS_ARCHIVE} )"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/50"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug doc examples static-libs"
|
||||
|
||||
DEPEND="doc? ( app-arch/unzip )"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${PN}/source"
|
||||
|
||||
QA_DT_NEEDED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}\.${MINOR_VERSION}.*"
|
||||
QA_FLAGS_IGNORED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}\.${MINOR_VERSION}.*"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${SRC_ARCHIVE}"
|
||||
if use doc; then
|
||||
mkdir docs
|
||||
pushd docs > /dev/null
|
||||
unpack "${DOCS_ARCHIVE}"
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s/#CXXFLAGS =/CXXFLAGS =/" -i config/icu.pc.in || die "sed failed"
|
||||
|
||||
# Do not hardcode flags in icu-config and icu-*.pc files.
|
||||
# https://ssl.icu-project.org/trac/ticket/6102
|
||||
local variable
|
||||
for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do
|
||||
sed -e "/^${variable} =.*/s: *@${variable}@\( *$\)\?::" -i config/icu.pc.in config/Makefile.inc.in || die "sed failed"
|
||||
done
|
||||
|
||||
if [[ "$(tc-getCXX)" == *clang* ]]; then
|
||||
# Store -std=c++11 flag in CXXFLAGS in icu-config and icu-*.pc files for API consumers, if this flag is supported and required.
|
||||
if $(tc-getCXX) -c -std=c++11 -x c++ - -o /dev/null <<< "char16_t string[] = u\"...\";" &> /dev/null && ! $(tc-getCXX) -c -x c++ - -o /dev/null <<< "char16_t string[] = u\"...\";" &> /dev/null; then
|
||||
sed -e "/^CXXFLAGS =/s/ *$/ -std=c++11/" -i config/icu.pc.in config/Makefile.inc.in || die "sed failed"
|
||||
fi
|
||||
else
|
||||
# Store -std=gnu++11 flag in CXXFLAGS in icu-config and icu-*.pc files for API consumers, if this flag is supported and required.
|
||||
if $(tc-getCXX) -c -std=gnu++11 -x c++ - -o /dev/null <<< "char16_t string[] = u\"...\";" &> /dev/null && ! $(tc-getCXX) -c -x c++ - -o /dev/null <<< "char16_t string[] = u\"...\";" &> /dev/null; then
|
||||
sed -e "/^CXXFLAGS =/s/ *$/ -std=gnu++11/" -i config/icu.pc.in config/Makefile.inc.in || die "sed failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
sed -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" -i common/unicode/uconfig.h
|
||||
|
||||
epatch "${FILESDIR}/${PN}-4.8.1-fix_binformat_fonts.patch"
|
||||
epatch "${FILESDIR}/${PN}-4.8.1.1-fix_ltr.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-renaming \
|
||||
$(use_enable debug) \
|
||||
$(use_enable examples samples) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERBOSE="1"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# INTLTEST_OPTS: intltest options
|
||||
# -e: Exhaustive testing
|
||||
# -l: Reporting of memory leaks
|
||||
# -v: Increased verbosity
|
||||
# IOTEST_OPTS: iotest options
|
||||
# -e: Exhaustive testing
|
||||
# -v: Increased verbosity
|
||||
# CINTLTST_OPTS: cintltst options
|
||||
# -e: Exhaustive testing
|
||||
# -v: Increased verbosity
|
||||
emake -j1 VERBOSE="1" check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" VERBOSE="1" install
|
||||
|
||||
dohtml ../readme.html
|
||||
dodoc ../unicode-license.txt
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}/html/api
|
||||
doins -r "${WORKDIR}/docs/"*
|
||||
fi
|
||||
}
|
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-50_rc-r3.ebuild,v 1.1 2012/11/05 11:56:17 scarabeus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs base autotools
|
||||
|
||||
DESCRIPTION="International Components for Unicode"
|
||||
HOMEPAGE="http://www.icu-project.org/"
|
||||
SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug doc examples static-libs"
|
||||
|
||||
RDEPEND="!dev-libs/icu:0/50"
|
||||
DEPEND="
|
||||
doc? (
|
||||
app-doc/doxygen[dot]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}/source"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.8.1-fix_binformat_fonts.patch"
|
||||
"${FILESDIR}/${PN}-4.8.1.1-fix_ltr.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
local variable
|
||||
|
||||
base_src_prepare
|
||||
|
||||
# Do not hardcode flags in icu-config and icu-*.pc files.
|
||||
# https://ssl.icu-project.org/trac/ticket/6102
|
||||
for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do
|
||||
sed \
|
||||
-e "/^${variable} =.*/s: *@${variable}@\( *$\)\?::" \
|
||||
-i config/icu.pc.in \
|
||||
-i config/Makefile.inc.in \
|
||||
|| die
|
||||
done
|
||||
|
||||
# Disable renaming as it is stupind thing to do
|
||||
sed -i \
|
||||
-e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
|
||||
common/unicode/uconfig.h || die
|
||||
|
||||
# Fix linking of icudata
|
||||
sed -i \
|
||||
-e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
|
||||
config/mh-linux || die
|
||||
|
||||
# Append doxygen configuration to configure
|
||||
sed -i \
|
||||
-e 's:icudefs.mk:icudefs.mk Doxyfile:' \
|
||||
configure.in || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local cross_opts
|
||||
|
||||
# bootstrap for cross compilation
|
||||
if tc-is-cross-compiler; then
|
||||
CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
|
||||
CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
|
||||
RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
|
||||
./configure --disable-renaming --disable-debug \
|
||||
--disable-samples --enable-static || die
|
||||
emake
|
||||
mkdir -p "${WORKDIR}/host/"
|
||||
cp -a {bin,lib,config,tools} "${WORKDIR}/host/"
|
||||
emake clean
|
||||
|
||||
cross_opts="--with-cross-build=${WORKDIR}/host"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--disable-renaming \
|
||||
$(use_enable debug) \
|
||||
$(use_enable examples samples) \
|
||||
$(use_enable static-libs static) \
|
||||
${cross_opts}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
doxygen -u Doxyfile || die
|
||||
doxygen Doxyfile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# INTLTEST_OPTS: intltest options
|
||||
# -e: Exhaustive testing
|
||||
# -l: Reporting of memory leaks
|
||||
# -v: Increased verbosity
|
||||
# IOTEST_OPTS: iotest options
|
||||
# -e: Exhaustive testing
|
||||
# -v: Increased verbosity
|
||||
# CINTLTST_OPTS: cintltst options
|
||||
# -e: Exhaustive testing
|
||||
# -v: Increased verbosity
|
||||
emake -j1 VERBOSE="1" check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dohtml ../readme.html
|
||||
dodoc ../unicode-license.txt
|
||||
|
||||
use doc && dohtml -p api -r doc/html/
|
||||
}
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-50_rc.ebuild,v 1.1 2012/10/25 18:53:59 floppym Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
MAJOR_VERSION="$(get_version_component_range 1)"
|
||||
if [[ "${PV}" =~ ^[[:digit:]]+_rc[[:digit:]]*$ ]]; then
|
||||
MINOR_VERSION="1"
|
||||
else
|
||||
MINOR_VERSION="$(get_version_component_range 2)"
|
||||
fi
|
||||
|
||||
DESCRIPTION="International Components for Unicode"
|
||||
HOMEPAGE="http://www.icu-project.org/"
|
||||
|
||||
BASE_URI="http://download.icu-project.org/files/icu4c/${PV/_/}"
|
||||
SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz"
|
||||
DOCS_ARCHIVE="icu4c-${PV//./_}-docs.zip"
|
||||
|
||||
SRC_URI="${BASE_URI}/${SRC_ARCHIVE}
|
||||
doc? ( ${BASE_URI}/${DOCS_ARCHIVE} )"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/50"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug doc examples static-libs"
|
||||
|
||||
DEPEND="doc? ( app-arch/unzip )"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${PN}/source"
|
||||
|
||||
QA_DT_NEEDED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}\.${MINOR_VERSION}.*"
|
||||
QA_FLAGS_IGNORED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}\.${MINOR_VERSION}.*"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${SRC_ARCHIVE}"
|
||||
if use doc; then
|
||||
mkdir docs
|
||||
pushd docs > /dev/null
|
||||
unpack "${DOCS_ARCHIVE}"
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Do not hardcode flags into icu-config.
|
||||
# https://ssl.icu-project.org/trac/ticket/6102
|
||||
local variable
|
||||
for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do
|
||||
sed -i -e "/^${variable} =.*/s:@${variable}@::" config/Makefile.inc.in || die "sed failed"
|
||||
done
|
||||
|
||||
sed -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" -i common/unicode/uconfig.h
|
||||
|
||||
epatch "${FILESDIR}/${PN}-4.8.1-fix_binformat_fonts.patch"
|
||||
epatch "${FILESDIR}/${PN}-4.8.1.1-fix_ltr.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-renaming \
|
||||
$(use_enable debug) \
|
||||
$(use_enable examples samples) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERBOSE="1"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# INTLTEST_OPTS: intltest options
|
||||
# -e: Exhaustive testing
|
||||
# -l: Reporting of memory leaks
|
||||
# -v: Increased verbosity
|
||||
# IOTEST_OPTS: iotest options
|
||||
# -e: Exhaustive testing
|
||||
# -v: Increased verbosity
|
||||
# CINTLTST_OPTS: cintltst options
|
||||
# -e: Exhaustive testing
|
||||
# -v: Increased verbosity
|
||||
emake -j1 VERBOSE="1" check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" VERBOSE="1" install
|
||||
|
||||
dohtml ../readme.html
|
||||
dodoc ../unicode-license.txt
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}/html/api
|
||||
doins -r "${WORKDIR}/docs/"*
|
||||
fi
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.0-r3.ebuild,v 1.1 2012/11/04 17:36:12 c1pher Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
|
||||
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2
|
||||
mirror://gentoo/${P}-idea.patch.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.8"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-uscore.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.5.0-x32.patch
|
||||
epatch "${FILESDIR}"/${PN}-multilib-syspath.patch
|
||||
epatch "${WORKDIR}"/${P}-idea.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-padlock-support for bug #201917
|
||||
# --disable-asm: http://trac.videolan.org/vlc/ticket/620
|
||||
econf \
|
||||
--disable-padlock-support \
|
||||
--disable-dependency-tracking \
|
||||
--enable-noexecstack \
|
||||
--disable-O-flag-munging \
|
||||
$(use_enable static-libs static) \
|
||||
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use static-libs || find "${ED}" -name '*.la' -delete
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libowfat-0.24.tar.bz2 112302 SHA256 64c6b42af4c9df60f2c672ef89f056cfb8f0c6f437359dfca6618b5d1b9805af SHA512 5caba110fd872c3b2a6f68db3e776479a9fe3b741fc685eb960b84b336c97c7d2325601762de3ea2a5b0872b43c9f3196c29c0575dbc219a56893d039063d871 WHIRLPOOL 3c221dedfbcab439f1a91b7787113a9dcd6dfa64264bc8f0fcb2d465411eb6457a567917dea49e7a5596edeff5a8a9aa89c24e27ca79266536cdefb4362e8325
|
||||
DIST libowfat-0.28.tar.bz2 129622 SHA256 392348c2bbde78cde001ba0ef62c8c2ae27105218fc3ba3833d13d26ecdaa541 SHA512 789b722cdde18c82132c28e356dfcf825754a74bd15b43c084ff2763160564bee457f18352d0009c108d513f90e50fa155f6ecc3f80d597b2f26b2800c65576d WHIRLPOOL 3314aadf2edd7a15a8c6701c4ddf068b20c8f73249164a86195e083e0f6ebc7e3bb2d5bcb0875156e4931cbb7a50b54de8175feba2363f17ff9649edda056742
|
||||
DIST libowfat-0.29.tar.bz2 139489 SHA256 4badbdeed6bef4337f1edd6b86fb7154c5592509c272dcdc09c693161cbc6427 SHA512 35b3be01f288a24ebf01e1f860bc2bba7431db890be1b117f9a7f0702532610d283f6e569b1a1d1e625a4fec3394d2c6ed5c2bf512a11c38ecf89cf89ec72136 WHIRLPOOL cc23d2c0a643b6a65b5d07a555bb1bd32d5f5f572e1fe414725e28e51614c53f538e4c7a7a24022c10784ae8097714549624b5f548700970c8aa34ad3b926dfe
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libowfat/libowfat-0.29.ebuild,v 1.1 2012/11/05 06:52:33 patrick Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit flag-o-matic toolchain-funcs eutils
|
||||
|
||||
DESCRIPTION="reimplement libdjb - excellent libraries from Dan Bernstein."
|
||||
SRC_URI="http://dl.fefe.de/${P}.tar.bz2"
|
||||
HOMEPAGE="http://www.fefe.de/libowfat/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~sparc ~x86"
|
||||
IUSE="diet"
|
||||
|
||||
RDEPEND="diet? ( >=dev-libs/dietlibc-0.33_pre20090721 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-apps/sed-4"
|
||||
|
||||
pkg_setup() {
|
||||
# Required for mult/umult64.c to be usable
|
||||
append-flags -fomit-frame-pointer
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s:^CFLAGS.*:CFLAGS=-I. ${CFLAGS}:" \
|
||||
-e "s:^DIET.*:DIET?=/usr/bin/diet -Os:" \
|
||||
-e "s:^prefix.*:prefix=/usr:" \
|
||||
-e "s:^INCLUDEDIR.*:INCLUDEDIR=\${prefix}/include/libowfat:" \
|
||||
-i GNUmakefile || die "sed failed"
|
||||
epatch "${FILESDIR}/libowfat-0.28-GNUmakefile.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 \
|
||||
CC=$(tc-getCC) \
|
||||
$( use diet || echo 'DIET=' )
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake -j1 \
|
||||
LIBDIR="${D}/usr/lib" \
|
||||
MAN3DIR="${D}/usr/share/man/man3" \
|
||||
INCLUDEDIR="${D}/usr/include/libowfat" \
|
||||
install || die "emake install failed"
|
||||
|
||||
cd "${D}"/usr/share/man
|
||||
mv man3/buffer.3 man3/owfat-buffer.3
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue