parent
04b46bdbf8
commit
243dd6316f
@ -0,0 +1,10 @@
|
||||
--- qtlocalpeer.cpp
|
||||
+++ qtlocalpeer.cpp
|
||||
@@ -57,6 +57,7 @@
|
||||
#endif
|
||||
#if defined(Q_OS_UNIX)
|
||||
#include <time.h>
|
||||
+#include <unistd.h>
|
||||
#endif
|
||||
|
||||
namespace QtLP_Private {
|
@ -0,0 +1 @@
|
||||
DIST fbterm-1.7.0.tar.gz 188642 RMD160 208c9045b5ccb7e656cfc12fdf74f38999cbddc1 SHA1 dc7b7ff29212c1551f35bf7a50967454d3b8c67c SHA256 720f600817217257aa4c822e67814495dcb6c8d6326cdde5fe3ba1e457d9915d
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fbterm/fbterm-1.7.ebuild,v 1.1 2012/06/21 17:41:54 naota Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="fast FrameBuffer based TERMinal emulator for Linux"
|
||||
HOMEPAGE="http://fbterm.googlecode.com"
|
||||
SRC_URI="http://fbterm.googlecode.com/files/${P}.0.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="caps gpm video_cards_vesa"
|
||||
|
||||
RDEPEND="caps? ( sys-libs/libcap )
|
||||
gpm? ( sys-libs/gpm )
|
||||
video_cards_vesa? ( dev-libs/libx86 )
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/ncurses
|
||||
virtual/pkgconfig"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
|
||||
src_configure() {
|
||||
local myconfargs=(
|
||||
$(use_enable gpm)
|
||||
$(use_enable video_cards_vesa vesa)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
$(type -P tic) -o "${ED}/usr/share/terminfo/" \
|
||||
"${S}"/terminfo/fbterm || die "Failed to generate terminfo database"
|
||||
if use caps; then
|
||||
setcap "cap_sys_tty_config+ep" "${ED}"/usr/bin/fbterm
|
||||
else
|
||||
fperm u+s /usr/bin/fbterm
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo " ${PN} won't work with vga16fb. You have to use other native"
|
||||
einfo "framebuffer drivers or vesa driver."
|
||||
einfo " See ${EPREFIX}/usr/share/doc/${P}/README for details."
|
||||
einfo " To use ${PN}, ensure You are in video group."
|
||||
einfo " To input CJK merge \"app-i18n/fbterm-ucimf\""
|
||||
einfo
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST ibus-fbterm-0.9.1.tar.gz 106808 RMD160 b1b7eb8089fb3e68f03ec7d2fa677bb4ca0eafb1 SHA1 946e55dcc01afa9b4082253b9b79c83d2a752fae SHA256 98437db4d5d15bbdca3e4b0a08f1bd1be544a305aa1d0f65fedb81b871da2e7c
|
@ -0,0 +1,23 @@
|
||||
diff -Nurap ibus-fbterm-0.9.1.orig//src/display.c ibus-fbterm-0.9.1//src/display.c
|
||||
--- ibus-fbterm-0.9.1.orig//src/display.c 2012-06-06 17:59:26.000000000 +0900
|
||||
+++ ibus-fbterm-0.9.1//src/display.c 2012-06-06 18:05:22.000000000 +0900
|
||||
@@ -212,7 +212,7 @@ static void calculate_status_win()
|
||||
IBusProperty *prop = ibus_prop_list_get(property_list, i);
|
||||
if (!prop) break;
|
||||
|
||||
- w += text_width(prop->label->text);
|
||||
+ w += text_width(ibus_property_get_label(prop)->text);
|
||||
}
|
||||
|
||||
status_bar_win.x = cursor_x;
|
||||
@@ -238,8 +238,8 @@ static void draw_status_bar()
|
||||
IBusProperty *prop = ibus_prop_list_get(property_list, i);
|
||||
if (!prop) break;
|
||||
|
||||
- draw_text(x, y, COLOR_FG, COLOR_BG, prop->label->text, strlen(prop->label->text));
|
||||
- x += FW(text_width(prop->label->text));
|
||||
+ draw_text(x, y, COLOR_FG, COLOR_BG, ibus_property_get_label(prop)->text, strlen(ibus_property_get_label(prop)->text));
|
||||
+ x += FW(text_width(ibus_property_get_label(prop)->text));
|
||||
|
||||
char space = ' ';
|
||||
draw_text(x, y, COLOR_FG, COLOR_BG, &space, 1);
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-fbterm/ibus-fbterm-0.9.1.ebuild,v 1.1 2012/06/22 00:09:45 naota Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="ibus-fbterm is a input method for FbTerm based on iBus."
|
||||
HOMEPAGE="http://ibus-fbterm.googlecode.com"
|
||||
SRC_URI="https://ibus-fbterm.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-i18n/ibus-1.4.1
|
||||
app-i18n/fbterm"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-ibus-1.4.1.patch
|
||||
)
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,13 @@
|
||||
diff --git a/lib/taiyaki.rb b/lib/taiyaki.rb
|
||||
index 3c2ca04..83632e4 100644
|
||||
--- a/lib/taiyaki.rb
|
||||
+++ b/lib/taiyaki.rb
|
||||
@@ -12,7 +12,7 @@ $KCODE = 'e'
|
||||
require 'jcode'
|
||||
|
||||
begin
|
||||
- Kernel::require('progressbar')
|
||||
+ require('progressbar')
|
||||
rescue LoadError
|
||||
$stderr.puts "WARNING:"
|
||||
$stderr.puts(" The required Ruby library 'progressbar' is not found.")
|
@ -0,0 +1,39 @@
|
||||
diff --git a/lib/glib-compat-key-file.h b/lib/glib-compat-key-file.h
|
||||
index 6cae16b..1fb1490 100644
|
||||
--- a/lib/glib-compat-key-file.h
|
||||
+++ b/lib/glib-compat-key-file.h
|
||||
@@ -51,7 +51,7 @@
|
||||
#ifndef __G_KEY_FILE_H__
|
||||
#define __G_KEY_FILE_H__
|
||||
|
||||
-#include <glib/gerror.h>
|
||||
+#include <glib.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
diff --git a/lib/glib-utils.h b/lib/glib-utils.h
|
||||
index 275c96c..7afca67 100644
|
||||
--- a/lib/glib-utils.h
|
||||
+++ b/lib/glib-utils.h
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "config.h"
|
||||
#endif /* HAVE_CONFIG_H */
|
||||
|
||||
-#include <glib/garray.h>
|
||||
+#include <glib.h>
|
||||
#include <glib/gi18n-lib.h>
|
||||
#include "glib-compat-file-utilities.h"
|
||||
#include "glib-compat-key-file.h"
|
||||
diff --git a/lib/tomoe.c b/lib/tomoe.c
|
||||
index 8578c27..4534017 100644
|
||||
--- a/lib/tomoe.c
|
||||
+++ b/lib/tomoe.c
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include <glib/garray.h>
|
||||
+#include <glib.h>
|
||||
#include "tomoe.h"
|
||||
|
||||
static gboolean initialized = FALSE;
|
@ -1,3 +1,4 @@
|
||||
DIST hivex-1.3.2.tar.gz 1082330 RMD160 4c762ee80b5347497559af0c78d7f3962487ca2d SHA1 cdd53de1f6f17a98333b0bde8193458d409fe861 SHA256 e02d664b262f616e842d58a3787315ceb239c5986ff0652b37af9aeed483025c
|
||||
DIST hivex-1.3.3.tar.gz 1135870 RMD160 16b0cd574435164628ad69facdadf4fe0553f073 SHA1 4565d6e3d94c5ad558f403ab2aa0ad19e7ccf738 SHA256 c6342ad9f3cd55fa4eb2f5d3acbeeb9701c94f0ad31eb9809639f8f6fc2c1676
|
||||
DIST hivex-1.3.5.tar.gz 1142710 RMD160 d77697149cf394e00f3e60d72daf21ae290ef774 SHA1 897a2078d43c799bb25f18a6b1ce1779b977c0c2 SHA256 e3614bc5b8fd8ed5268be7183dea015d5ab2007d8b47f1c594e6a947bb834adf
|
||||
DIST hivex-1.3.6.tar.gz 1163454 RMD160 6d1d6fdbb3fc45dcca0c2d7ae7f239e7f82ed3b1 SHA1 d3f89b854a36ac75b7db62096ad279f869294c0f SHA256 aecc2ba1735a818391a430661f805434bf409c9068ffa495763b69ea94e47e64
|
||||
|
@ -0,0 +1,17 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -187,10 +187,12 @@
|
||||
AM_CONDITIONAL([HAVE_HIVEXSH],[test "x$ac_cv_func_open_memstream" = "xyes"])
|
||||
|
||||
dnl Check for OCaml (optional, for OCaml bindings).
|
||||
+AC_ARG_ENABLE([ocaml],
|
||||
+ AS_HELP_STRING([--with-ocaml],[build Ocaml binding]))
|
||||
AC_PROG_OCAML
|
||||
AC_PROG_FINDLIB
|
||||
AM_CONDITIONAL([HAVE_OCAML],
|
||||
- [test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"])
|
||||
+ [test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno" -a "x$enable_ocaml" = "xyes"]])
|
||||
AM_CONDITIONAL([HAVE_OCAMLOPT],
|
||||
[test "x$OCAMLOPT" != "xno" && test "x$OCAMLFIND" != "xno"])
|
||||
|
@ -0,0 +1,36 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -245,8 +245,31 @@
|
||||
AC_MSG_WARN([some Perl modules required to compile or test the Perl bindings are missing])
|
||||
fi
|
||||
|
||||
+AC_ARG_ENABLE([perl],
|
||||
+ AS_HELP_STRING([--with-perl],[build Perl binding]))
|
||||
+
|
||||
+
|
||||
+PERL=
|
||||
+AS_IF([test "x$enable_perl" != "xno" ],[
|
||||
+ AC_CHECK_PROG([PERL],[perl],[yes],[no])
|
||||
+
|
||||
+ for pm in Test::More ExtUtils::MakeMaker IO::Stringy; do
|
||||
+ AC_MSG_CHECKING([for $pm])
|
||||
+ if ! perl -M$pm -e1 >/dev/null 2>&1; then
|
||||
+ AC_MSG_RESULT([no])
|
||||
+ missing_perl_modules=yes
|
||||
+ else
|
||||
+ AC_MSG_RESULT([yes])
|
||||
+ fi
|
||||
+ done
|
||||
+
|
||||
+ AS_IF([test "x$missing_perl_modules" = "xyes"],
|
||||
+ [AC_MSG_FAILURE([some Perl modules required to compile or test the Perl bindings are missing])],
|
||||
+ )
|
||||
+])
|
||||
+
|
||||
AM_CONDITIONAL([HAVE_PERL],
|
||||
- [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes"])
|
||||
+ [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes" -a "x$enable_perl" = "xyes"])
|
||||
|
||||
dnl Check for Python (optional, for Python bindings).
|
||||
PYTHON_PREFIX=
|
@ -0,0 +1,16 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -336,8 +336,11 @@
|
||||
AC_SUBST(PYTHON_INCLUDEDIR)
|
||||
AC_SUBST(PYTHON_INSTALLDIR)
|
||||
|
||||
+AC_ARG_ENABLE([python],
|
||||
+ AS_HELP_STRING([--with-python],[build Python binding]))
|
||||
+
|
||||
AM_CONDITIONAL([HAVE_PYTHON],
|
||||
- [test "x$PYTHON" != "xno" && test "x$PYTHON_INCLUDEDIR" != "x" && test "x$PYTHON_INSTALLDIR" != "x"])
|
||||
+ [test "x$PYTHON_INCLUDEDIR" != "x" -a "x$PYTHON_SITE_PACKAGES" != "x" -a "x$enable_python" = "xyes"])
|
||||
|
||||
dnl Check for Ruby and rake (optional, for Ruby bindings).
|
||||
AC_ARG_ENABLE([ruby],
|
@ -0,0 +1,11 @@
|
||||
--- ruby/Rakefile.in 2012-03-13 19:46:43.000000000 +0400
|
||||
+++ ruby/Rakefile.in 2012-04-15 19:02:42.337118192 +0400
|
||||
@@ -38,7 +38,7 @@
|
||||
# Build locally
|
||||
|
||||
file MAKEFILE => EXT_CONF do |t|
|
||||
- unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd @builddir@/ext/hivex; @RUBY@ #{EXT_CONF} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs"
|
||||
+ unless sh "top_srcdir=@top_srcdir@; top_builddir=@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/hivex; cd @builddir@/ext/hivex; @RUBY@ #{EXT_CONF} --with-_hivex-include=../../$top_srcdir/lib --with-_hivex-lib=../../$top_builddir/lib/.libs --with-ldflags=\"$LDFLAGS\""
|
||||
$stderr.puts "Failed to run extconf"
|
||||
break
|
||||
end
|
@ -0,0 +1,83 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/hivex-1.3.6.ebuild,v 1.1 2012/06/21 18:35:22 maksbotan Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
WANT_AUTOMAKE="1.11"
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
USE_RUBY="ruby18"
|
||||
RUBY_OPTIONAL=yes
|
||||
PYTHON_DEPEND="python? 2:2.6"
|
||||
|
||||
inherit base autotools-utils perl-app python
|
||||
|
||||
DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files"
|
||||
HOMEPAGE="http://libguestfs.org"
|
||||
SRC_URI="http://libguestfs.org/download/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ocaml readline perl python test static-libs ruby"
|
||||
|
||||
RDEPEND="virtual/libiconv
|
||||
virtual/libintl
|
||||
dev-libs/libxml2:2
|
||||
ocaml? ( dev-lang/ocaml[ocamlopt]
|
||||
dev-ml/findlib[ocamlopt]
|
||||
)
|
||||
readline? ( sys-libs/readline )
|
||||
perl? ( dev-perl/IO-stringy )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
perl? (
|
||||
test? ( dev-perl/Pod-Coverage
|
||||
dev-perl/Test-Pod-Coverage ) )
|
||||
ruby? ( dev-ruby/rake )
|
||||
"
|
||||
PATCHES=("${FILESDIR}"/"${PV}"/*.patch)
|
||||
DOCS=(README)
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
python_need_rebuild
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with readline)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable perl)
|
||||
--enable-nls
|
||||
$(use_enable python)
|
||||
$(use_enable ruby)
|
||||
--disable-rpath )
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_compile check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas -i po
|
||||
|
||||
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
if use perl; then
|
||||
fixlocalpod
|
||||
fi
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
Makefile | 35 ++++++++++++++++-------------------
|
||||
1 files changed, 16 insertions(+), 19 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 74453f2..28a3b7d 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -37,15 +37,15 @@ AR =ar
|
||||
STRIP =strip
|
||||
MKDIR =mkdir
|
||||
|
||||
-all: $(BINDIR) $(BINDIR)/multimon $(BINDIR)/gen
|
||||
+all: multimon gen
|
||||
|
||||
-$(BINDIR)/%.s: %.c
|
||||
+%.s: %.c
|
||||
$(CC) $(CFLAGS) -S -o $@ $<
|
||||
|
||||
-$(BINDIR)/%.o: $(BINDIR)/%.s
|
||||
+%.o: %.s
|
||||
$(AS) -c -o $@ $<
|
||||
|
||||
-$(BINDIR)/%.o: %.c
|
||||
+%.o: %.c
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
SRC_L2 =hdlc.c pocsag.c
|
||||
@@ -57,26 +57,23 @@ SRC_MISC =unixinput.c costabf.c xdisplay.c
|
||||
|
||||
SRC_GEN =gen.c gen_dtmf.c gen_sin.c gen_zvei.c gen_hdlc.c costabi.c
|
||||
|
||||
-OBJ_L2 =$(SRC_L2:%.c=$(BINDIR)/%.o)
|
||||
-OBJ_L1 =$(SRC_L1:%.c=$(BINDIR)/%.o)
|
||||
-OBJ_MISC =$(SRC_MISC:%.c=$(BINDIR)/%.o)
|
||||
+OBJ_L2 =$(SRC_L2:%.c=%.o)
|
||||
+OBJ_L1 =$(SRC_L1:%.c=%.o)
|
||||
+OBJ_MISC =$(SRC_MISC:%.c=%.o)
|
||||
|
||||
-OBJ_GEN =$(SRC_GEN:%.c=$(BINDIR)/%.o)
|
||||
+OBJ_GEN =$(SRC_GEN:%.c=%.o)
|
||||
|
||||
-$(BINDIR):
|
||||
- $(MKDIR) $(BINDIR)
|
||||
-
|
||||
-$(BINDIR)/multimon: $(OBJ_L2) $(OBJ_L1) $(OBJ_MISC)
|
||||
+multimon: $(OBJ_L2) $(OBJ_L1) $(OBJ_MISC)
|
||||
$(CC) $(LDFLAGS) $^ $(LIBS) $(LIBSX) -o $@
|
||||
|
||||
-$(BINDIR)/gen: $(OBJ_GEN)
|
||||
+gen: $(OBJ_GEN)
|
||||
$(CC) $(LDFLAGS) $^ $(LIBS) -o $@
|
||||
|
||||
-$(BINDIR)/mkcostab: $(BINDIR)/mkcostab.o
|
||||
+mkcostab: mkcostab.o
|
||||
$(CC) $(LDFLAGS) $^ $(LIBS) -o $@
|
||||
|
||||
-costabi.c costabf.c: $(BINDIR)/mkcostab
|
||||
- $(BINDIR)/mkcostab
|
||||
+costabi.c costabf.c: mkcostab
|
||||
+ ./mkcostab
|
||||
|
||||
clean:
|
||||
$(RM) -f core `find . -name '*.[oas]' -print`
|
||||
@@ -85,8 +82,8 @@ clean:
|
||||
|
||||
|
||||
depend dep:
|
||||
- $(CPP) -M $(CFLAGS) $(SRC_MISC) $(SRC_L1) $(SRC_L2) $(SRC_GEN) mkcostab.c > $(BINDIR)/.depend
|
||||
+ $(CPP) -M $(CFLAGS) $(SRC_MISC) $(SRC_L1) $(SRC_L2) $(SRC_GEN) mkcostab.c > .depend
|
||||
|
||||
-ifeq ($(BINDIR)/.depend,$(wildcard $(BINDIR)/.depend))
|
||||
-include $(BINDIR)/.depend
|
||||
+ifeq (.depend,$(wildcard .depend))
|
||||
+include .depend
|
||||
endif
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,2 @@
|
||||
DIST portpeek-1.9.70.tar.gz 8634 RMD160 3da26cddb24b4f6d7eb99d81e6ccef49b48d2224 SHA1 c0c4f49a8cc865313e842d1775d6dd74c21c25c8 SHA256 21a6edab38ea5c3cba99b27856f5f0918154c5d5f93286618c213f5385e32e2b
|
||||
DIST portpeek-1.9.83.tar.gz 10535 RMD160 b9637e5cd4b8bb2237773227f2d5680af63cfc4c SHA1 541fe4a9f0c26348dc6121438c4f8860223b50a1 SHA256 882703c3b4646eb8f15d34af2d87d7e80ce14b8b15f47706760a84fb1f76cc02
|
||||
DIST portpeek-2.0.22.tar.gz 11373 RMD160 c4738cebb2eece523a305800c0c032919849a6e3 SHA1 c0daab6104012052561442169769d58cb4a4507f SHA256 21caa8aead79f54e553d82bf36e912afe77be22188c75dbbbd5a0229f75f388f
|
||||
DIST portpeek-2.0.23.tar.gz 11381 RMD160 8c997c15b6b568b0b7264c1bc8736859458adcab SHA1 a43554f0f142c6f57558ebbe1a29f6d27b7f21b4 SHA256 fd0dda1e6af6b8c0df5bf70d0151b3292bd44042c6d9da5321235bafccccc520
|
||||
DIST portpeek-2.0.24.tar.gz 11373 RMD160 f5956e5bdde7bf3547a5f569292be1937c91229b SHA1 e039cd167ed745e4ce831ac9d5f424bd1a64a610 SHA256 77b787e2c59743f40ad407c5a3026b3858f2c8475cf4d78cada25f3852691d4d
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-1.9.83.ebuild,v 1.1 2011/12/19 15:45:32 mpagano Exp $
|
||||
|
||||
EAPI="2"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
|
||||
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
|
||||
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-portage/gentoolkit-0.3.0.4
|
||||
>=sys-apps/portage-2.1.10.11
|
||||
|| ( dev-lang/python:2.6 dev-lang/python:2.7 )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs 2 portpeek
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die "dobin failed"
|
||||
doman *.[0-9]
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.0.22.ebuild,v 1.1 2012/04/23 12:40:51 mpagano Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*:2.7"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
|
||||
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
|
||||
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-portage/gentoolkit-0.3.0.5
|
||||
>=sys-apps/portage-2.1.10.49"
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die "dobin failed"
|
||||
doman *.[0-9]
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.0.23.ebuild,v 1.1 2012/05/11 11:44:06 mpagano Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*:2.7"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
|
||||
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
|
||||
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-portage/gentoolkit-0.3.0.5
|
||||
>=sys-apps/portage-2.1.10.49"
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die "dobin failed"
|
||||
doman *.[0-9]
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST calibre-0.8.52.tar.xz 24690364 RMD160 3041d07f0c9b8a67fc0457550968814be4d826e9 SHA1 7ec70aa251f90991be876cac9ea731ddd619b4da SHA256 29eebc8c82dd2cacc70e3fb5bc309020348028752a23765d8956769b79deaf2a
|
||||
DIST calibre-0.8.55.tar.xz 24913320 RMD160 047f676dee0c5e2a544622d07cf06eac33a5b557 SHA1 20dcbd67136e5251a596ced487356b8e01eb618a SHA256 00e0a7c304229b85eabc8331914110f9de22a155cb5e71e68b5e842b313e8305
|
||||
DIST calibre-0.8.56.tar.xz 24928600 RMD160 622c0a2ef5f28395cea3d99ae2df690cf4580e3b SHA1 86f49233bfedfd186706193ab1c735e8ba7011c7 SHA256 877f7d1cfd3098b880f7981e01028360369ed11da74384542c2f3025ce036455
|
||||
DIST calibre-0.8.57.tar.xz 24957924 RMD160 1670c83aeb44f2ada38cbcb8e1579323eefb0dc0 SHA1 204ade1a2986d651fdc7967b4a74fabffd4eb23e SHA256 e724a3228eaf0089e2c59ec814ffdaf9734052cb4fb310df4cdfd0dc57a2c9f7
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST AutomaticTexPlugin_10.6.4.tar.gz 385551 RMD160 3498baebcbad639290a0c9b77b83583ea06a3d40 SHA1 06d31d7c269439406789bd68087464b4925a4093 SHA256 1cb8523cc5a376969c33a765ba95dc2b9576bde79509c8792eaf5c9c70ffaef1
|
||||
DIST AutomaticTexPlugin_11.1.tar.gz 419099 RMD160 e9d4be2e91e5701c4d26e9b394f1389b015ead6f SHA1 17f74ad4a8b802bfead0085160d4a6ed9f66c19f SHA256 be451bb4169e74091bd592b3e679c719da44caf4308b8e3136e390fbbc20de77
|
||||
DIST AutomaticTexPlugin_11.tar.gz 418213 RMD160 676ae0f026985292ca168e3ea5b9d05f201cea64 SHA1 3bcb7a89ce9c1df50a28c573a4e8c588a493cd0e SHA256 a789c3dae4585522bba09dc1f29c5aab9c35764218612d4d9a0dbf45db0b99c9
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/automatictexplugin/automatictexplugin-11.1.ebuild,v 1.1 2012/06/22 08:54:27 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
VIM_PLUGIN_VIM_VERSION="7.3"
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
MY_P="AutomaticTexPlugin_${PV}"
|
||||
DESCRIPTION="vim plugin: a comprehensive plugin for editing LaTeX files"
|
||||
HOMEPAGE="http://atp-vim.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/atp-vim/releases/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="automatic-tex-plugin.txt"
|
||||
|
||||
RDEPEND="|| ( app-editors/vim[python] app-editors/gvim[python] )
|
||||
!app-vim/vim-latex
|
||||
app-vim/align
|
||||
app-text/wdiff
|
||||
>=dev-lang/python-2.7
|
||||
dev-python/psutil
|
||||
dev-tex/latexmk
|
||||
dev-tex/detex
|
||||
virtual/tex-base"
|
@ -1,174 +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/drizzle/drizzle-7.0.2011.03.13.ebuild,v 1.2 2012/06/04 06:27:25 zmedico Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit flag-o-matic libtool autotools eutils pam user versionator
|
||||
|
||||
# Upstream version numbers live in a directory that is [+-][1-2] days either
|
||||
# side of the name the tarball! eg:
|
||||
# https://launchpad.net/drizzle/7.0/2011-03-14/+download/drizzle7-2011.03.13.tar.gz
|
||||
# If the tarball falls on the last day of the month, be really careful!
|
||||
# We name the ebuild for the tarball, and deal with the mess of the name instead
|
||||
|
||||
MY_PN="${PN}$(get_version_component_range 1-1)"
|
||||
MY_PV="$(get_version_component_range 3-5)"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
# This is the mess of the name
|
||||
DIR_PV_B="$(get_version_component_range 1-2)"
|
||||
DIR_PV_DATE="2011-03-14"
|
||||
DIR_PV="${DIR_PV_B}/${DIR_PV_DATE}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="Database optimized for Cloud and Net applications"
|
||||
HOMEPAGE="http://drizzle.org"
|
||||
SRC_URI="http://launchpad.net/drizzle/${DIR_PV}/+download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug tcmalloc doc memcache curl pam gearman +md5 ldap haildb"
|
||||
|
||||
RDEPEND="tcmalloc? ( dev-util/google-perftools )
|
||||
sys-libs/readline
|
||||
sys-apps/util-linux
|
||||
dev-libs/libpcre
|
||||
>=dev-libs/libevent-1.4
|
||||
>=dev-libs/protobuf-2.1.0
|
||||
gearman? ( >=sys-cluster/gearmand-0.12 )
|
||||
pam? ( sys-libs/pam )
|
||||
curl? ( net-misc/curl )
|
||||
memcache? ( >=dev-libs/libmemcached-0.39 )
|
||||
md5? ( >=dev-libs/libgcrypt-1.4.2 )
|
||||
haildb? ( >=dev-db/haildb-2.3.2 )
|
||||
>=dev-libs/boost-1.32
|
||||
ldap? ( net-nds/openldap )
|
||||
!dev-db/libdrizzle"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
dev-util/intltool
|
||||
dev-util/gperf
|
||||
sys-devel/flex
|
||||
doc? ( app-doc/doxygen )
|
||||
>=dev-util/boost-build-1.32"
|
||||
|
||||
pkg_setup() {
|
||||
enewuser drizzle -1 -1 /dev/null nogroup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
#epatch "${FILESDIR}/${PN}-2009.12.1240-nolint.patch"
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
if use debug; then
|
||||
append-flags -DDEBUG
|
||||
fi
|
||||
|
||||
# while I applaud upstreams goal of 0 compiler warnings
|
||||
# the 1412 release didn't achieve it.
|
||||
append-flags -Wno-error
|
||||
|
||||
# Bug #362901
|
||||
append-flags -DBOOST_FILESYSTEM_VERSION=2
|
||||
|
||||
# NOTE disable-all and without-all no longer recognized options
|
||||
# NOTE using --enable on some plugins can cause test failures.
|
||||
# --with should be used instead. A discussion about this here:
|
||||
# https://bugs.launchpad.net/drizzle/+bug/598659
|
||||
# TODO (upstream)
|
||||
# $(use_with memcache memcached-stats-plugin) \
|
||||
# $(use_with memcache memcached-functions-plugin) \
|
||||
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-dependency-tracking \
|
||||
--disable-mtmalloc \
|
||||
$(use_enable tcmalloc) \
|
||||
$(use_enable memcache libmemcached) \
|
||||
$(use_enable gearman libgearman) \
|
||||
$(use_enable ldap libldap) \
|
||||
$(use_with curl auth-http-plugin) \
|
||||
$(use_with pam auth-pam-plugin) \
|
||||
$(use_with md5 md5-plugin) \
|
||||
$(use_with gearman gearman-udf-plugin) \
|
||||
$(use_with gearman logging-gearman-plugin) \
|
||||
$(use_with ldap auth-ldap-plugin) \
|
||||
--without-hello-world-plugin \
|
||||
--disable-pbxt-plugin --without-pbxt-plugin \
|
||||
--disable-rabbitmq-plugin --without-rabbitmq-plugin \
|
||||
$(use_enable haildb libhaildb) \
|
||||
$(use_enable haildb haildb-plugin) \
|
||||
$(use_with haildb haildb-plugin) \
|
||||
--with-auth-test-plugin \
|
||||
--with-auth-file-plugin \
|
||||
--with-simple-user-policy-plugin \
|
||||
--enable-logging-stats-plugin \
|
||||
--with-logging-stats-plugin \
|
||||
--enable-console-plugin \
|
||||
--enable-archive-plugin \
|
||||
${myconf}
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all $(use doc && echo doxygen) || die "build failed"
|
||||
}
|
||||
|
||||
# 5-10 min eta
|
||||
src_test() {
|
||||
# If you want to turn off a test, rename to suffix of .DISABLED
|
||||
# Explicitly allow parallel make check
|
||||
emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
dodoc AUTHORS NEWS README || die
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
if use doc; then
|
||||
docinto apidoc
|
||||
pushd docs/html
|
||||
dohtml -r .
|
||||
popd
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/drizzle.init.d drizzled || die
|
||||
newconfd "${FILESDIR}"/drizzle.conf.d drizzled || die
|
||||
|
||||
if ! use gearman; then
|
||||
sed -i -e '/need gearmand/d' "${D}"/etc/init.d/drizzled \
|
||||
|| die "unable to sed init script (gearman)"
|
||||
fi
|
||||
|
||||
if ! use memcache; then
|
||||
sed -i -e '/need memcached/d' "${D}"/etc/init.d/drizzled \
|
||||
|| die "unable to sed init script (memcache)"
|
||||
fi
|
||||
|
||||
keepdir /var/run/drizzle || die
|
||||
keepdir /var/log/drizzle || die
|
||||
keepdir /var/lib/drizzle/drizzled || die
|
||||
keepdir /etc/drizzle || die
|
||||
|
||||
fperms 0755 /var/run/drizzle || die
|
||||
fperms 0755 /var/log/drizzle || die
|
||||
fperms -R 0700 /var/lib/drizzle || die
|
||||
|
||||
fowners drizzle:nogroup /var/run/drizzle || die
|
||||
fowners drizzle:nogroup /var/log/drizzle || die
|
||||
fowners -R drizzle:nogroup /var/lib/drizzle || die
|
||||
|
||||
pamd_mimic system-auth drizzle auth account session
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
Index: drizzle-2009.12.1240/config/lint-source.am
|
||||
===================================================================
|
||||
--- drizzle-2009.12.1240.orig/config/lint-source.am
|
||||
+++ drizzle-2009.12.1240/config/lint-source.am
|
||||
@@ -27,4 +27,4 @@ lint-rules-gen:
|
||||
.PHONY: cleanlints lint-rules-gen
|
||||
|
||||
# dynamic rules
|
||||
-include config/lint-rules.am
|
||||
+#include config/lint-rules.am
|
@ -0,0 +1,45 @@
|
||||
unix/Makefile.in | 10 +++++-----
|
||||
1 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/unix/Makefile.in b/unix/Makefile.in
|
||||
index bf187ba..763558f 100755
|
||||
--- a/unix/Makefile.in
|
||||
+++ b/unix/Makefile.in
|
||||
@@ -43,7 +43,7 @@ CXX_FLAGS = @CPPFLAGS@ @CXXFLAGS@ @MK_THREADS@ @SHLIB_CFLAGS@ \
|
||||
# (e.g. in Mk4py). This does not affect standard operation, *only* errors.
|
||||
# Happens in gcc 2.95.3, it has been disabled for now (even though slower).
|
||||
#CXXFLAGS = -fomit-frame-pointer $(CXX_FLAGS)
|
||||
-CXXFLAGS = $(CXX_FLAGS)
|
||||
+CXXFLAGS += -I$(srcdir)/../include
|
||||
#CXXFLAGS = -Dq4_CHECK $(CXX_FLAGS)
|
||||
#CXXFLAGS = -Wall -pedantic -Wno-unused $(CXX_FLAGS)
|
||||
|
||||
@@ -134,24 +134,24 @@ libmk4$(LIB_SUFFIX): $(LOBJS)
|
||||
ranlib $@
|
||||
|
||||
libmk4$(SHLIB_SUFFIX): $(LOBJS) $(LINK_SPECIAL_FILES)
|
||||
- $(SHLIB_LD) -o $@ $(LOBJS) $(LINK_SPECIAL_FLAGS)
|
||||
+ $(SHLIB_LD) $(LDFLAGS) -o $@ $(LOBJS) $(LINK_SPECIAL_FLAGS)
|
||||
|
||||
Mk4tcl$(LIB_SUFFIX): mk4tcl.o mk4too.o $(LOBJS)
|
||||
ar rcu $@ mk4tcl.o mk4too.o $(LOBJS)
|
||||
ranlib $@
|
||||
|
||||
Mk4tcl$(SHLIB_SUFFIX): mk4tcl.o mk4too.o $(LOBJS) $(LINK_SPECIAL_FILES)
|
||||
- $(SHLIB_LD) -o $@ mk4tcl.o mk4too.o $(LOBJS) $(LINK_SPECIAL_FLAGS)
|
||||
+ $(SHLIB_LD) $(LDFLAGS) -o $@ mk4tcl.o mk4too.o $(LOBJS) $(LINK_SPECIAL_FLAGS)
|
||||
|
||||
Mk4py$(LIB_SUFFIX): $(PYOBJS) $(LOBJS)
|
||||
ar cru $@ $(PYOBJS) $(LOBJS)
|
||||
ranlib $@
|
||||
|
||||
Mk4py$(SHLIB_SUFFIX): $(PYOBJS) $(LOBJS) $(LINK_SPECIAL_FILES)
|
||||
- $(SHLIB_LD) -o $@ $(PYOBJS) $(LOBJS) $(LINK_SPECIAL_FLAGS)
|
||||
+ $(SHLIB_LD) $(LDFLAGS) -o $@ $(PYOBJS) -L. -lmk4 $(LINK_SPECIAL_FLAGS) $(PYTHON_LIB)
|
||||
|
||||
Mk4lua$(SHLIB_SUFFIX): mk4lua.o $(LOBJS) $(LINK_SPECIAL_FILES)
|
||||
- $(SHLIB_LD) -o $@ mk4lua.o $(LOBJS) $(LINK_SPECIAL_FLAGS)
|
||||
+ $(SHLIB_LD) $(LDFLAGS) -o $@ mk4lua.o $(LOBJS) $(LINK_SPECIAL_FLAGS)
|
||||
|
||||
demo: $(srcdir)/../demos/demo.cpp libmk4$(LIBEXT)
|
||||
$(CXX) $(CXX_SWITCHES) -o $@$(EXEEXT) \
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/metakit-2.4.9.7-r1.ebuild,v 1.1 2012/06/21 09:07:52 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="python? 2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit eutils flag-o-matic multilib python toolchain-funcs
|
||||
|
||||
DESCRIPTION="Embedded database library"
|
||||
HOMEPAGE="http://www.equi4.com/metakit/"
|
||||
SRC_URI="http://www.equi4.com/pub/mk/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~s390 ~sparc ~x86"
|
||||
IUSE="python static tcl"
|
||||
|
||||
DEPEND="tcl? ( dev-lang/tcl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-linking.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf mycxxflags
|
||||
use tcl && myconf+=" --with-tcl=${EPREFIX}/usr/include,${EPREFIX}/usr/$(get_libdir)"
|
||||
use static && myconf+=" --disable-shared"
|
||||
use static || append-cxxflags -fPIC
|
||||
|
||||
CXXFLAGS="${CXXFLAGS} ${mycxxflags}" unix/configure \
|
||||
${myconf} \
|
||||
--host=${CHOST} \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--infodir="${EPREFIX}/usr/share/info" \
|
||||
--mandir="${EPREFIX}/usr/share/man"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake SHLIB_LD="$(tc-getCXX) -shared -Wl,-soname,libmk4.so.2.4"
|
||||
|
||||
if use python; then
|
||||
python_copy_sources
|
||||
|
||||
building() {
|
||||
emake \
|
||||
SHLIB_LD="$(tc-getCXX) -shared" \
|
||||
pyincludedir="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_library)" \
|
||||
python
|
||||
}
|
||||
python_execute_function -s building
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
default
|
||||
|
||||
mv "${ED}"//usr/$(get_libdir)/libmk4.so{,.2.4}
|
||||
dosym libmk4.so.2.4 /usr/$(get_libdir)/libmk4.so.2
|
||||
dosym libmk4.so.2.4 /usr/$(get_libdir)/libmk4.so
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
dodir "$(python_get_sitedir)" || return 1
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
pylibdir="$(python_get_sitedir)" \
|
||||
install-python
|
||||
}
|
||||
python_execute_function -s installation
|
||||
fi
|
||||
|
||||
dohtml Metakit.html
|
||||
dohtml -a html,gif,png,jpg -r doc/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize metakit.py
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup metakit.py
|
||||
fi
|
||||
}
|
@ -0,0 +1,107 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ant-core-1.8.4-r1.ebuild,v 1.2 2012/06/22 11:06:37 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# don't depend on itself
|
||||
JAVA_ANT_DISABLE_ANT_CORE_DEP=true
|
||||
# rewriting build.xml files for the testcases has no reason atm
|
||||
JAVA_PKG_BSFIX_ALL=no
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
inherit eutils java-pkg-2 java-ant-2 prefix versionator
|
||||
|
||||
MY_P="apache-ant-${PV}"
|
||||
|
||||
DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files."
|
||||
HOMEPAGE="http://ant.apache.org/"
|
||||
SRC_URI="mirror://apache/ant/source/${MY_P}-src.tar.bz2
|
||||
http://dev.gentoo.org/~sera/distfiles/ant-${PV}-r1-gentoo.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-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=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
!dev-java/ant-tasks
|
||||
!dev-java/ant-optional"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches/"
|
||||
eprefixify "${WORKDIR}/ant"
|
||||
|
||||
# use our split-ant build.xml
|
||||
mv -f "${WORKDIR}/build.xml" . || die
|
||||
|
||||
# bug #196080
|
||||
java-ant_bsfix_one build.xml
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export ANT_HOME=""
|
||||
|
||||
local bsyscp
|
||||
|
||||
# this ensures that when building ant with bootstrapped ant,
|
||||
# only the source is used for resolving references, and not
|
||||
# the classes in bootstrapped ant
|
||||
# but jikes in kaffe has issues with this...
|
||||
if ! java-pkg_current-vm-matches kaffe; then
|
||||
bsyscp="-Dbuild.sysclasspath=ignore"
|
||||
fi
|
||||
|
||||
CLASSPATH="$(java-config -t)" ./build.sh ${bsyscp} jars-core internal_dist \
|
||||
$(use_doc javadocs) || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/ant/lib
|
||||
for jar in ant.jar ant-bootstrap.jar ant-launcher.jar ; do
|
||||
java-pkg_dojar build/lib/${jar}
|
||||
dosym /usr/share/${PN}/lib/${jar} /usr/share/ant/lib/${jar}
|
||||
done
|
||||
|
||||
dobin "${WORKDIR}/ant" || die "failed to install wrapper"
|
||||
dodir /usr/share/${PN}/bin
|
||||
for each in antRun antRun.pl runant.pl runant.py complete-ant-cmd.pl ; do
|
||||
dobin "${S}/src/script/${each}"
|
||||
dosym /usr/bin/${each} /usr/share/${PN}/bin/${each}
|
||||
done
|
||||
dosym /usr/share/${PN}/bin /usr/share/ant/bin
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r dist/etc
|
||||
dosym /usr/share/${PN}/etc /usr/share/ant/etc
|
||||
|
||||
echo "ANT_HOME=\"${EPREFIX}/usr/share/ant\"" > "${T}/20ant"
|
||||
doenvd "${T}/20ant" || die "failed to install env.d file"
|
||||
|
||||
dodoc NOTICE README WHATSNEW KEYS || die
|
||||
|
||||
if use doc; then
|
||||
dohtml -r manual/*
|
||||
java-pkg_dojavadoc --symlink manual/api build/javadocs
|
||||
fi
|
||||
|
||||
use source && java-pkg_dosrc src/main/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
if ! version_is_at_least 1.7.0 ${REPLACING_VERSIONS}; then
|
||||
elog "The way of packaging ant in Gentoo has changed significantly since"
|
||||
elog "the 1.7.0 version, For more information, please see:"
|
||||
elog "http://www.gentoo.org/proj/en/java/ant-guide.xml"
|
||||
fi
|
||||
|
||||
if ! version_is_at_least 1.7.1 ${REPLACING_VERSIONS}; then
|
||||
elog "Since 1.7.1, the ant-tasks meta-ebuild has been removed and its USE"
|
||||
elog "flags have been moved to dev-java/ant."
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,11 +1,33 @@
|
||||
--- Makefile.orig 2008-10-13 11:25:21.000000000 +0200
|
||||
+++ Makefile 2008-10-13 11:26:08.000000000 +0200
|
||||
@@ -59,7 +59,7 @@
|
||||
Makefile | 11 +++++------
|
||||
1 files changed, 5 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 76e6403..9875e36 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -59,20 +59,19 @@ EXAMPLE=/examples
|
||||
HTML=/html
|
||||
BIN=/usr/bin
|
||||
MAN=/usr/share/man/man1
|
||||
-DOC=/usr/share/doc/lisaac
|
||||
+DOC=${DOC:=/usr/share/doc/lisaac}
|
||||
DESTDIR=
|
||||
CC=gcc
|
||||
CFLAGS=-O2
|
||||
-CC=gcc
|
||||
-CFLAGS=-O2
|
||||
+CC ?=gcc
|
||||
|
||||
all: bin/lisaac.c bin/shorter.c
|
||||
@echo "#define LISAAC_DIRECTORY \"$(DESTDIR)$(LIB)\"" > bin/path.h
|
||||
- $(CC) $(CFLAGS) bin/lisaac.c -o bin/lisaac
|
||||
- $(CC) $(CFLAGS) bin/shorter.c -o bin/shorter
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) bin/lisaac.c -o bin/lisaac
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) bin/shorter.c -o bin/shorter
|
||||
|
||||
interactive_userland: install_lisaac.c
|
||||
@echo - Lisaac compiler installation For Unix / Linux / Windows -
|
||||
@echo Please wait...
|
||||
- $(CC) $(CFLAGS) install_lisaac.c -o install_lisaac
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) install_lisaac.c -o install_lisaac
|
||||
@echo - please run ./install_lisaac to finish the installation
|
||||
|
||||
install:
|
||||
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p8989.ebuild,v 1.1 2012/06/21 06:28:26 phajdan.jr Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic multilib
|
||||
|
||||
BINUTILS_PV="2.20.1"
|
||||
NEWLIB_PV="1.20.0"
|
||||
GCC_PV="4.4.3"
|
||||
NACL_REVISION="${PV##*_p}"
|
||||
|
||||
DESCRIPTION="Native Client newlib-based toolchain (only for compiling IRT)"
|
||||
HOMEPAGE="http://code.google.com/chrome/nativeclient/"
|
||||
SRC_URI="mirror://gnu/binutils/binutils-${BINUTILS_PV}.tar.bz2
|
||||
ftp://sources.redhat.com/pub/newlib/newlib-${NEWLIB_PV}.tar.gz
|
||||
mirror://gnu/gcc/gcc-${GCC_PV}/gcc-${GCC_PV}.tar.bz2
|
||||
http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/nacltoolchain-buildscripts-r${NACL_REVISION}.tar.gz
|
||||
http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/naclbinutils-${BINUTILS_PV}-r${NACL_REVISION}.patch.bz2
|
||||
http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/naclnewlib-${NEWLIB_PV}-r${NACL_REVISION}.patch.bz2
|
||||
http://gsdview.appspot.com/nativeclient-archive2/x86_toolchain/r${NACL_REVISION}/naclgcc-${GCC_PV}-r${NACL_REVISION}.patch.bz2
|
||||
"
|
||||
|
||||
LICENSE="BSD" # NaCl
|
||||
LICENSE+=" || ( GPL-3 LGPL-3 )" # binutils
|
||||
LICENSE+=" NEWLIB LIBGLOSS GPL-2" # newlib
|
||||
LICENSE+=" GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2" # gcc
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# Stripping with a non-NaCl strip breaks the toolchain, bug #386931.
|
||||
# Tests are broken, bug #391761.
|
||||
RESTRICT="strip test"
|
||||
|
||||
# Executable section checks do not make sense for newlib, bug #390383.
|
||||
QA_EXECSTACK="usr/lib*/nacl-toolchain-newlib/*/lib*/*"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/gmp-5.0.2
|
||||
>=dev-libs/mpfr-3.0.1
|
||||
>=sys-libs/glibc-2.8
|
||||
>=sys-libs/zlib-1.1.4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/zip
|
||||
app-arch/unzip
|
||||
dev-libs/mpc
|
||||
dev-libs/cloog-ppl
|
||||
dev-libs/ppl
|
||||
>=media-libs/libart_lgpl-2.1
|
||||
>=sys-apps/texinfo-4.8
|
||||
>=sys-devel/binutils-2.15.94
|
||||
>=sys-devel/bison-1.875
|
||||
>=sys-devel/flex-2.5.4
|
||||
sys-devel/gnuconfig
|
||||
sys-devel/m4
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
>=sys-apps/sed-4
|
||||
sys-devel/gettext
|
||||
virtual/libiconv
|
||||
virtual/yacc
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_setup() {
|
||||
# Unset variables known to break the build. This is a black-list
|
||||
# rather than white-list because it's not obvious how to come up
|
||||
# with a comprehensive white-list.
|
||||
# For more info see bug #413995.
|
||||
unset -v LANGUAGES || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
mkdir SRC || die
|
||||
mv binutils-${BINUTILS_PV} SRC/binutils || die
|
||||
mv newlib-${NEWLIB_PV} SRC/newlib || die
|
||||
mv gcc-${GCC_PV} SRC/gcc || die
|
||||
cd SRC || die
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" epatch "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
strip-flags # See bug #390589.
|
||||
emake PREFIX="${PWD}/${PN}" CANNED_REVISION="yes" build-with-newlib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local TOOLCHAIN_HOME="/usr/$(get_libdir)"
|
||||
dodir "${TOOLCHAIN_HOME}"
|
||||
mv "${WORKDIR}/${PN}" "${ED}/${TOOLCHAIN_HOME}" || die
|
||||
}
|
@ -0,0 +1,140 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala/scala-2.9.2.ebuild,v 1.1 2012/06/21 12:23:30 ali_bush Exp $
|
||||
|
||||
EAPI="3"
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit eutils check-reqs java-pkg-2 java-ant-2 versionator
|
||||
|
||||
MY_P="${PN}-sources-${PV}"
|
||||
|
||||
# creating the binary:
|
||||
# JAVA_PKG_FORCE_VM="$available-1.6" USE="doc examples source" ebuild scala-*.ebuild compile
|
||||
# cd $WORDKIR
|
||||
# fix dist/latest link.
|
||||
# tar -cjf $DISTDIR/scala-$PN-gentoo-binary.tar.bz2 ${MY_P}/dists ${MY_P}/docs/TODO
|
||||
|
||||
DESCRIPTION="The Scala Programming Language"
|
||||
HOMEPAGE="http://www.scala-lang.org/"
|
||||
SRC_URI="!binary? ( ${HOMEPAGE}downloads/distrib/files/${MY_P}.tgz -> ${P}.tar.gz )
|
||||
binary? ( http://dev.gentoo.org/~ali_bush/distfiles/${P}-gentoo-binary.tar.bz2 )"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="binary emacs"
|
||||
# one fails with 1.7, two with 1.4 (blackdown)
|
||||
#RESTRICT="test"
|
||||
|
||||
DEPEND="virtual/jdk:1.6
|
||||
java-virtuals/jdk-with-com-sun
|
||||
!binary? (
|
||||
dev-java/ant-contrib:0
|
||||
)
|
||||
app-arch/xz-utils"
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
!dev-java/scala-bin"
|
||||
|
||||
PDEPEND="emacs? ( app-emacs/scala-mode )"
|
||||
|
||||
S="${WORKDIR}/${P}-sources"
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-2_pkg_setup
|
||||
|
||||
if ! use binary; then
|
||||
debug-print "Checking for sufficient physical RAM"
|
||||
|
||||
ewarn "This package can fail to build with memory allocation errors in some cases."
|
||||
ewarn "If you are unable to build from sources, please try USE=binary"
|
||||
ewarn "for this package. See bug #181390 for more information."
|
||||
|
||||
CHECKREQS_MEMORY="1532M"
|
||||
|
||||
check-reqs_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
if ! use binary; then
|
||||
pushd lib &> /dev/null
|
||||
# other jars are needed for bootstrap
|
||||
#rm -v jline.jar ant/ant-contrib.jar #cldcapi10.jar midpapi10.jar msil.jar *.dll || die
|
||||
rm -v ant/ant-contrib.jar || die
|
||||
java-pkg_jar-from --into ant --build-only ant-contrib
|
||||
popd &> /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if ! use binary; then
|
||||
#unset ANT_OPTS as this is set in the build.xml
|
||||
#sets -X type variables which might come back to bite me
|
||||
unset ANT_OPTS
|
||||
|
||||
# reported in bugzilla that multiple launches use less resources
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=282023
|
||||
eant all.clean
|
||||
eant -Djavac.args="-encoding UTF-8" -Djava6.home=${JAVA_HOME} \
|
||||
newlibs newforkjoin build-opt
|
||||
eant dist.done
|
||||
else
|
||||
einfo "Skipping compilation, USE=binary is set."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
eant test.suite || die "Some tests aren't passed"
|
||||
}
|
||||
|
||||
#scala_launcher() {
|
||||
# local SCALADIR="/usr/share/${PN}"
|
||||
# local bcp="${SCALADIR}/lib/scala-library.jar"
|
||||
# java-pkg_dolauncher "${1}" --main "${2}" \
|
||||
# --java_args "-Xmx256M -Xms32M -Dscala.home=${SCALADIR} -Denv.emacs=${EMACS}"
|
||||
#}
|
||||
|
||||
src_install() {
|
||||
cd dists/latest || die
|
||||
|
||||
local SCALADIR="/usr/share/${PN}/"
|
||||
|
||||
exeinto "${SCALADIR}/bin"
|
||||
doexe $(find bin/ -type f ! -iname '*.bat')
|
||||
|
||||
#sources are .scala so no use for java-pkg_dosrc
|
||||
if use source; then
|
||||
dodir "${SCALADIR}/src"
|
||||
insinto "${SCALADIR}/src"
|
||||
doins src/*-src.jar
|
||||
fi
|
||||
|
||||
java-pkg_dojar lib/*.jar
|
||||
|
||||
doman man/man1/*.1 || die
|
||||
|
||||
#docs and examples are not contained in the binary tgz anymore
|
||||
if ! use binary; then
|
||||
local docdir="doc/${PN}-devel-docs"
|
||||
dodoc doc/README ../../docs/TODO || die
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc "${docdir}/api"
|
||||
dohtml -r "${docdir}/tools" || die
|
||||
fi
|
||||
|
||||
use examples && java-pkg_doexamples "${docdir}/examples"
|
||||
fi
|
||||
|
||||
dodir /usr/bin
|
||||
for b in $(find bin/ -type f ! -iname '*.bat'); do
|
||||
#pushd "${D}/usr/bin" &>/dev/null
|
||||
local _name=$(basename "${b}")
|
||||
dosym "/usr/share/${JAVA_PKG_NAME}/bin/${_name}" "/usr/bin/${_name}"
|
||||
#popd &>/dev/null
|
||||
done
|
||||
#scala_launcher fsc scala.tools.nsc.CompileClient
|
||||
#scala_launcher scala scala.tools.nsc.MainGenericRunner
|
||||
#scala_launcher scalac scala.tools.nsc.Main
|
||||
#scala_launcher scaladoc scala.tools.nsc.ScalaDoc
|
||||
#scala_launcher scalap scala.tools.scalap.Main
|
||||
}
|
@ -1 +1 @@
|
||||
DIST libusbx-1.0.11.tar.bz2 398126 RMD160 8f4ebe82366df9a386edfb36417915006f18e94e SHA1 8ad4cbc47eb9380663ce46ee74e50c1f098beb47 SHA256 38eb9d847650049a8d606bf356cf2237a5c7cc10bf6e72ae52fd0fe381f63690
|
||||
DIST libusbx-1.0.12.tar.bz2 409704 RMD160 80da0c0d294f99924769d530d44b1c2de962d898 SHA1 53621af3f667844207de862fcc39f9b5a4e99c42 SHA256 932ad9c7c18c4d1b42a6b780a4d8fea8c8d92ee6f8666b5b1122e5f408df5ca9
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbx/libusbx-1.0.11.ebuild,v 1.1 2012/05/22 15:58:13 ssuominen Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbx/libusbx-1.0.12.ebuild,v 1.1 2012/06/21 08:36:44 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,68 @@
|
||||
diff -urN a/mozilla/nsprpub/pr/include/md/_linux.cfg b/mozilla/nsprpub/pr/include/md/_linux.cfg
|
||||
--- a/mozilla/nsprpub/pr/include/md/_linux.cfg 2012-05-18 16:55:29.000000000 -0500
|
||||
+++ b/mozilla/nsprpub/pr/include/md/_linux.cfg 2012-06-21 15:10:35.397358851 -0500
|
||||
@@ -211,7 +211,7 @@
|
||||
#define PR_BYTES_PER_DWORD_LOG2 3
|
||||
|
||||
#elif defined(__x86_64__)
|
||||
-
|
||||
+#ifdef __LP64__
|
||||
#define IS_LITTLE_ENDIAN 1
|
||||
#undef IS_BIG_ENDIAN
|
||||
#define IS_64
|
||||
@@ -256,6 +256,54 @@
|
||||
#define PR_BYTES_PER_WORD_LOG2 3
|
||||
#define PR_BYTES_PER_DWORD_LOG2 3
|
||||
|
||||
+#else
|
||||
+
|
||||
+
|
||||
+#define IS_LITTLE_ENDIAN 1
|
||||
+#undef IS_BIG_ENDIAN
|
||||
+
|
||||
+#define PR_BYTES_PER_BYTE 1
|
||||
+#define PR_BYTES_PER_SHORT 2
|
||||
+#define PR_BYTES_PER_INT 4
|
||||
+#define PR_BYTES_PER_INT64 8
|
||||
+#define PR_BYTES_PER_LONG 4
|
||||
+#define PR_BYTES_PER_FLOAT 4
|
||||
+#define PR_BYTES_PER_DOUBLE 8
|
||||
+#define PR_BYTES_PER_WORD 4
|
||||
+#define PR_BYTES_PER_DWORD 8
|
||||
+
|
||||
+#define PR_BITS_PER_BYTE 8
|
||||
+#define PR_BITS_PER_SHORT 16
|
||||
+#define PR_BITS_PER_INT 32
|
||||
+#define PR_BITS_PER_INT64 64
|
||||
+#define PR_BITS_PER_LONG 32
|
||||
+#define PR_BITS_PER_FLOAT 32
|
||||
+#define PR_BITS_PER_DOUBLE 64
|
||||
+#define PR_BITS_PER_WORD 32
|
||||
+
|
||||
+#define PR_BITS_PER_BYTE_LOG2 3
|
||||
+#define PR_BITS_PER_SHORT_LOG2 4
|
||||
+#define PR_BITS_PER_INT_LOG2 5
|
||||
+#define PR_BITS_PER_INT64_LOG2 6
|
||||
+#define PR_BITS_PER_LONG_LOG2 5
|
||||
+#define PR_BITS_PER_FLOAT_LOG2 5
|
||||
+#define PR_BITS_PER_DOUBLE_LOG2 6
|
||||
+#define PR_BITS_PER_WORD_LOG2 5
|
||||
+
|
||||
+#define PR_ALIGN_OF_SHORT 2
|
||||
+#define PR_ALIGN_OF_INT 4
|
||||
+#define PR_ALIGN_OF_LONG 4
|
||||
+#define PR_ALIGN_OF_INT64 4
|
||||
+#define PR_ALIGN_OF_FLOAT 4
|
||||
+#define PR_ALIGN_OF_DOUBLE 4
|
||||
+#define PR_ALIGN_OF_POINTER 4
|
||||
+#define PR_ALIGN_OF_WORD 4
|
||||
+
|
||||
+#define PR_BYTES_PER_WORD_LOG2 2
|
||||
+#define PR_BYTES_PER_DWORD_LOG2 3
|
||||
+
|
||||
+#endif
|
||||
+
|
||||
#elif defined(__mc68000__)
|
||||
|
||||
#undef IS_LITTLE_ENDIAN
|
||||
|
@ -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-libs/nspr/nspr-4.9.1-r1.ebuild,v 1.1 2012/06/22 02:57:33 anarchy Exp $
|
||||
|
||||
EAPI=3
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit autotools eutils multilib toolchain-funcs versionator
|
||||
|
||||
MIN_PV="$(get_version_component_range 2)"
|
||||
|
||||
DESCRIPTION="Netscape Portable Runtime"
|
||||
HOMEPAGE="http://www.mozilla.org/projects/nspr/"
|
||||
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug"
|
||||
|
||||
src_prepare() {
|
||||
mkdir build inst
|
||||
epatch "${FILESDIR}"/${PN}-4.8-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
|
||||
# Patch needs updating
|
||||
#epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.9.1-x32.patch
|
||||
|
||||
# We must run eautoconf to regenerate configure
|
||||
cd "${S}"/mozilla/nsprpub
|
||||
eautoconf
|
||||
|
||||
# make sure it won't find Perl out of Prefix
|
||||
sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
|
||||
"${S}"/mozilla/nsprpub/config/rules.mk || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}"/build
|
||||
|
||||
echo > "${T}"/test.c
|
||||
$(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
|
||||
case $(scanelf -BF'%M' "${T}"/test.o)$(scanmacho -BF'%M' "${T}"/test.o) in
|
||||
ELFCLASS64*|POWERPC64*|X86_64*) myconf="${myconf} --enable-64bit";;
|
||||
ELFCLASS32*|POWERPC*|I386*|ARM*) ;;
|
||||
*) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
|
||||
myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)"
|
||||
|
||||
LC_ALL="C" ECONF_SOURCE="../mozilla/nsprpub" econf \
|
||||
$(use_enable debug) \
|
||||
$(use_enable !debug optimize) \
|
||||
${myconf} || die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/build
|
||||
if tc-is-cross-compiler; then
|
||||
emake CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" \
|
||||
-C config nsinstall || die "failed to build"
|
||||
mv config/{,native-}nsinstall
|
||||
sed -s 's#/nsinstall$#/native-nsinstall#' -i config/autoconf.mk
|
||||
rm config/nsinstall.o
|
||||
fi
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "failed to build"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# Their build system is royally confusing, as usual
|
||||
MINOR_VERSION=${MIN_PV} # Used for .so version
|
||||
cd "${S}"/build
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
cd "${ED}"/usr/$(get_libdir)
|
||||
for file in *.a; do
|
||||
einfo "removing static libraries as upstream has requested!"
|
||||
rm -f ${file} || die "failed to remove static libraries."
|
||||
done
|
||||
|
||||
local n=
|
||||
# aix-soname.patch does this already
|
||||
[[ ${CHOST} == *-aix* ]] ||
|
||||
for file in *$(get_libname); do
|
||||
n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
|
||||
mv ${file} ${n} || die "failed to mv files around"
|
||||
ln -s ${n} ${file} || die "failed to symlink files."
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# install nspr-config
|
||||
dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
|
||||
|
||||
# Remove stupid files in /usr/bin
|
||||
rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST skalibs-1.2.7.tar.gz 208283 RMD160 f5641f79e518727fc5c210359229e76ad28b5283 SHA1 89afe6e868e4c065cc8b4d907dbebe873312b074 SHA256 fdd1cd3d4d484a5b1b5cf504e72b5c9bcda9a0a5c93bf7951c1b16b50215349f
|
||||
DIST skalibs-1.2.8.tar.gz 208866 RMD160 c2ddbdbb2ae08a4cfa901a35b7de5a55ac19ad84 SHA1 8392b7235d666a58614cc809a0bbd5dc7db797d9 SHA256 f823df1de93a41ad33fd70a44e7248c471bb66a0e4a00985a647c4bd6d619fba
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/skalibs/skalibs-1.2.8.ebuild,v 1.1 2012/06/22 07:25:28 xmw Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="development files used for building software at skarnet.org: essentially general-purpose libraries"
|
||||
HOMEPAGE="http://www.skarnet.org/software/skalibs/index.html"
|
||||
SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/prog/${P}
|
||||
|
||||
src_configure() {
|
||||
echo $(tc-getCC) ${CFLAGS} > conf-compile/conf-cc
|
||||
echo $(tc-getCC) ${LDFLAGS} > conf-compile/conf-dynld
|
||||
echo $(tc-getCC) ${LDFLAGS} > conf-compile/conf-ld
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc
|
||||
doins etc/leapsecs.dat
|
||||
|
||||
insinto /usr/include/${PN}
|
||||
doins include/*
|
||||
|
||||
insopts -m0755
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins library.so/*
|
||||
if use static-libs ; then
|
||||
doins library/*
|
||||
fi
|
||||
|
||||
dodir /etc/ld.so.conf.d/
|
||||
echo "/usr/$(get_libdir)/${PN}" > ${ED}/etc/ld.so.conf.d/10${PN}.conf || die
|
||||
|
||||
cd doc || die
|
||||
for f in $(find . -type f ! -name "*.html" ! -name "COPYING") ; do
|
||||
docinto $(dirname f)
|
||||
dodoc $f
|
||||
done
|
||||
docinto html
|
||||
use doc && dohtml -r .
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST common-sense-3.5.tar.gz 12166 RMD160 837a52c8335c66c158f2c3564c4afee305caa4f3 SHA1 9cacf866dd16655cd3951c53bd67803db7bb53f4 SHA256 235d1116092e7ef88bf6e695c605d9ec1c7b530f3544fdb2431dd59a82f5a3be
|
||||
DIST common-sense-3.6.tar.gz 12594 RMD160 6274f881b2abf3731b10744e16d261430a61cb85 SHA1 5be4f69ea11d4b334f0f4250ab1178bd02b51f1d SHA256 86e2c2e109a7dd4bc5441757e729d7d622da125c6e14607a78fb56e057b86b5a
|
||||
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/common-sense/common-sense-3.600.0.ebuild,v 1.1 2012/06/21 18:41:36 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=MLEHMANN
|
||||
MODULE_VERSION=3.6
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="common::sense - save a tree AND a kitten, use common::sense!"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x64-macos ~x86-solaris"
|
||||
IUSE=""
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/Djblets/Djblets-0.6.12.ebuild,v 1.1 2012/04/19 07:34:09 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit distutils versionator
|
||||
|
||||
DESCRIPTION="A collection of useful extensions for Django"
|
||||
HOMEPAGE="http://github.com/djblets"
|
||||
SRC_URI="http://downloads.reviewboard.org/releases/${PN}/$(get_version_component_range 1-2)/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/django
|
||||
dev-python/imaging"
|
||||
|
||||
PYTHON_MODNAME="djblets"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/Djblets/Djblets-0.6.11.ebuild,v 1.2 2012/04/18 16:09:08 floppym Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/Djblets/Djblets-0.6.14.ebuild,v 1.1 2012/06/22 07:28:02 xmw Exp $
|
||||
|
||||
EAPI="3"
|
||||
EAPI=4
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit distutils versionator
|
@ -1,3 +1,2 @@
|
||||
DIST Djblets-0.6.11.tar.gz 274652 RMD160 cf538a0f12a2fa8e7467e808a67ca1c92c4e7f5d SHA1 946550ee608160cb53ec3c86c31102bc3420bf8f SHA256 9ee6295cb8460c1585727d8c436a3dc2b0c59d710f38374de72737bc7100be0d
|
||||
DIST Djblets-0.6.12.tar.gz 275777 RMD160 53b441279bad454ef7f952235e7e0f7a2593cb08 SHA1 e39d5ace12e4abb55b0ce6f7e30a38c8c31352d2 SHA256 6d4e46aed536b29e98a0af83f598f410df34b8f55fb1bd917d76de3222db7f1b
|
||||
DIST Djblets-0.6.13.tar.gz 275934 RMD160 5bf923945eab2d43b9c5456cae6882ec939f8738 SHA1 0259573da0f769582ce8cc4acffb2c15a2c0ebef SHA256 9a769e956e0124ac3654c2f6ef4e19dcd90d967f06e510f5c34879a1ef4bc230
|
||||
DIST Djblets-0.6.14.tar.gz 277749 RMD160 289de11899fbb56a7d50e0738891801569c9ed1e SHA1 8a8d9ab3a0d7df2acfa0e3d1b5e36362c74b5f0f SHA256 66fca180825ded0051a4c85275dd14b2758f7decbd1d71028b83775440f3adce
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST PyQt-x11-gpl-4.8.1.tar.gz 9409175 RMD160 e5ba0d98359ce315432f479a5f44b2c1ae69b77a SHA1 e064ed38817bafde72f2a57679d80d40c7015afb SHA256 1feab80dc82dcd451233edeb1cde9cc75fa38b6e8f47780ec6dc317ebe0cf370
|
||||
DIST PyQt-x11-gpl-4.8.4.tar.gz 9799081 RMD160 100d16e9005e3b83f0030e498a16d99636c9034c SHA1 747236d5dd103687cac54746af0a24a1adbc067c SHA256 fcfa3ecc0b4fad6d93227751b36a6f81ea104ee19dd26905f52de59f060b3e98
|
||||
DIST PyQt-x11-gpl-4.9.1.tar.gz 9742132 RMD160 056d6570ffc5ad873ef36d8181122cbb79d7b5ef SHA1 6aa0e64cdcca0f23946c5e6c244b19189c234306 SHA256 f283557f2190ffc00d72fe8451ac15536cab777c36a9b573031328f401629bb1
|
||||
DIST PyQt-x11-gpl-4.9.2.tar.gz 9801019 RMD160 fbac64fa917c346d982e32c249538ba95032553a SHA1 1c9c4816b23bd566f9582a4554596a1d341d9f7e SHA256 038ef62f89e85df34b8eed98de586caa4c8210746c7ef0e388644538715a3ceb
|
||||
|
@ -0,0 +1,210 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.9.2.ebuild,v 1.1 2012/06/21 18:42:47 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="*"
|
||||
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
|
||||
|
||||
inherit eutils toolchain-funcs qt4-r2 python
|
||||
|
||||
# Minimal supported version of Qt.
|
||||
QT_VER="4.7.2"
|
||||
|
||||
DESCRIPTION="Python bindings for the Qt toolkit"
|
||||
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http://pypi.python.org/pypi/PyQt"
|
||||
|
||||
if [[ ${PV} == *_pre* ]]; then
|
||||
MY_P="PyQt-x11-gpl-snapshot-${PV%_pre*}-${REVISION}"
|
||||
SRC_URI="http://www.gentoo-el.org/~hwoarang/distfiles/${MY_P}.tar.gz"
|
||||
else
|
||||
MY_P="PyQt-x11-gpl-${PV}"
|
||||
SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="X assistant dbus debug declarative doc examples kde multimedia opengl phonon sql svg webkit xmlpatterns"
|
||||
|
||||
REQUIRED_USE="
|
||||
assistant? ( X )
|
||||
declarative? ( X )
|
||||
multimedia? ( X )
|
||||
opengl? ( X )
|
||||
phonon? ( X )
|
||||
sql? ( X )
|
||||
svg? ( X )
|
||||
webkit? ( X )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/sip-4.13.1
|
||||
>=x11-libs/qt-core-${QT_VER}:4
|
||||
>=x11-libs/qt-script-${QT_VER}:4
|
||||
X? (
|
||||
>=x11-libs/qt-gui-${QT_VER}:4[dbus?]
|
||||
>=x11-libs/qt-test-${QT_VER}:4
|
||||
)
|
||||
assistant? ( >=x11-libs/qt-assistant-${QT_VER}:4 )
|
||||
dbus? (
|
||||
>=dev-python/dbus-python-0.80
|
||||
>=x11-libs/qt-dbus-${QT_VER}:4
|
||||
)
|
||||
declarative? ( >=x11-libs/qt-declarative-${QT_VER}:4 )
|
||||
multimedia? ( >=x11-libs/qt-multimedia-${QT_VER}:4 )
|
||||
opengl? (
|
||||
>=x11-libs/qt-opengl-${QT_VER}:4
|
||||
|| ( >=x11-libs/qt-opengl-4.8.0:4 <x11-libs/qt-opengl-4.8.0:4[-egl] )
|
||||
)
|
||||
phonon? (
|
||||
!kde? ( || ( >=x11-libs/qt-phonon-${QT_VER}:4 media-libs/phonon ) )
|
||||
kde? ( media-libs/phonon )
|
||||
)
|
||||
sql? ( >=x11-libs/qt-sql-${QT_VER}:4 )
|
||||
svg? ( >=x11-libs/qt-svg-${QT_VER}:4 )
|
||||
webkit? ( >=x11-libs/qt-webkit-${QT_VER}:4 )
|
||||
xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QT_VER}:4 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dbus? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.7.2-configure.py.patch"
|
||||
)
|
||||
|
||||
PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/pyuic4")
|
||||
|
||||
src_prepare() {
|
||||
if ! use dbus; then
|
||||
sed -e 's/^\([[:blank:]]\+\)check_dbus()/\1pass/' -i configure.py || die
|
||||
fi
|
||||
|
||||
# Support qreal for arm architecture (bug #322349).
|
||||
use arm && epatch "${FILESDIR}/${PN}-4.7.3-qreal_float_support.patch"
|
||||
|
||||
qt4-r2_src_prepare
|
||||
|
||||
# Use proper include directory.
|
||||
sed -e "s:/usr/include:${EPREFIX}/usr/include:g" -i configure.py || die
|
||||
|
||||
python_copy_sources
|
||||
|
||||
preparation() {
|
||||
if [[ $(python_get_version -l --major) == 3 ]]; then
|
||||
rm -fr pyuic/uic/port_v2
|
||||
else
|
||||
rm -fr pyuic/uic/port_v3
|
||||
fi
|
||||
}
|
||||
python_execute_function -s preparation
|
||||
}
|
||||
|
||||
pyqt4_use_enable() {
|
||||
use $1 && echo "--enable=${2:-$1}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf=("$(PYTHON)"
|
||||
configure.py
|
||||
--confirm-license
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--destdir="${EPREFIX}$(python_get_sitedir)"
|
||||
--sipdir="${EPREFIX}/usr/share/sip"
|
||||
--assume-shared
|
||||
--no-timestamp
|
||||
--qsci-api
|
||||
$(use debug && echo --debug)
|
||||
--enable=QtCore
|
||||
--enable=QtNetwork
|
||||
--enable=QtScript
|
||||
--enable=QtXml
|
||||
$(pyqt4_use_enable X QtGui)
|
||||
$(pyqt4_use_enable X QtDesigner) $(use X || echo --no-designer-plugin)
|
||||
$(pyqt4_use_enable X QtScriptTools)
|
||||
$(pyqt4_use_enable X QtTest)
|
||||
$(pyqt4_use_enable assistant QtHelp)
|
||||
$(pyqt4_use_enable dbus QtDBus)
|
||||
$(pyqt4_use_enable declarative QtDeclarative)
|
||||
$(pyqt4_use_enable multimedia QtMultimedia)
|
||||
$(pyqt4_use_enable opengl QtOpenGL)
|
||||
$(pyqt4_use_enable phonon)
|
||||
$(pyqt4_use_enable sql QtSql)
|
||||
$(pyqt4_use_enable svg QtSvg)
|
||||
$(pyqt4_use_enable webkit QtWebKit)
|
||||
$(pyqt4_use_enable xmlpatterns QtXmlPatterns)
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
LINK="$(tc-getCXX)"
|
||||
LINK_SHLIB="$(tc-getCXX)"
|
||||
CFLAGS="${CFLAGS}"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
LFLAGS="${LDFLAGS}")
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}" || die
|
||||
|
||||
local mod
|
||||
for mod in QtCore \
|
||||
$(use X && echo QtDesigner QtGui) \
|
||||
$(use dbus && echo QtDBus) \
|
||||
$(use declarative && echo QtDeclarative) \
|
||||
$(use opengl && echo QtOpenGL); do
|
||||
# Run eqmake4 inside the qpy subdirectories to respect
|
||||
# CC, CXX, CFLAGS, CXXFLAGS, LDFLAGS and avoid stripping.
|
||||
pushd qpy/${mod} > /dev/null || return 1
|
||||
eqmake4 $(ls w_qpy*.pro)
|
||||
popd > /dev/null || return 1
|
||||
|
||||
# Fix insecure runpaths.
|
||||
sed -e "/^LFLAGS[[:space:]]*=/s:-Wl,-rpath,${BUILDDIR}/qpy/${mod}::" \
|
||||
-i ${mod}/Makefile || die "Failed to fix rpath for ${mod}"
|
||||
done
|
||||
|
||||
# Avoid stripping of libpythonplugin.so.
|
||||
if use X; then
|
||||
pushd designer > /dev/null || return 1
|
||||
eqmake4 python.pro
|
||||
popd > /dev/null || return 1
|
||||
fi
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
# INSTALL_ROOT is used by designer/Makefile, other Makefiles use DESTDIR.
|
||||
emake DESTDIR="${T}/images/${PYTHON_ABI}" INSTALL_ROOT="${T}/images/${PYTHON_ABI}" install
|
||||
}
|
||||
python_execute_function -s installation
|
||||
python_merge_intermediate_installation_images "${T}/images"
|
||||
|
||||
dodoc NEWS THANKS
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize PyQt4
|
||||
|
||||
ewarn "When updating dev-python/PyQt4, you usually need to rebuild packages that depend on it,"
|
||||
ewarn "such as dev-python/qscintilla-python and kde-base/pykde4. If you have app-portage/gentoolkit"
|
||||
ewarn "installed, you can find these packages with \`equery d dev-python/PyQt4\`."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup PyQt4
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
Debundle zlib
|
||||
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=422657
|
||||
|
||||
Patch written by Kacper Kowalik <xarthisius@gentoo.org>
|
||||
--- a/astropy/io/fits/setup_package.py
|
||||
+++ b/astropy/io/fits/setup_package.py
|
||||
@@ -20,6 +20,7 @@
|
||||
[os.path.relpath(x) for x in
|
||||
glob(os.path.join(os.path.dirname(__file__), 'src/*.c'))],
|
||||
include_dirs=[setup_helpers.get_numpy_include_path()],
|
||||
+ libraries=['z'],
|
||||
extra_compile_args=extra_compile_args)
|
||||
]
|
||||
|
||||
--- a/astropy/io/fits/src/compress.c
|
||||
+++ b/astropy/io/fits/src/compress.c
|
||||
@@ -106,7 +106,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include "zlib.h"
|
||||
+#include <zlib.h>
|
||||
|
||||
int _astropy_uncompress2mem_from_mem(
|
||||
char *inmemptr,
|
||||
@@ -182,7 +182,7 @@
|
||||
d_stream.next_out = uncompr;
|
||||
d_stream.avail_out = uncomprLen;
|
||||
|
||||
- err = _astropy_inflate(&d_stream, Z_NO_FLUSH);
|
||||
+ err = inflate(&d_stream, Z_NO_FLUSH);
|
||||
|
||||
if (err != Z_OK && err != Z_STREAM_END)
|
||||
{
|
||||
@@ -217,7 +217,7 @@
|
||||
*filesize = d_stream.total_out;
|
||||
|
||||
/* End the decompression */
|
||||
- err = _astropy_inflateEnd(&d_stream);
|
||||
+ err = inflateEnd(&d_stream);
|
||||
|
||||
/* free temporary output data buffer */
|
||||
free(uncompr);
|
||||
@@ -285,7 +285,7 @@
|
||||
c_stream.next_out = compr;
|
||||
c_stream.avail_out = comprLen;
|
||||
|
||||
- err = _astropy_deflate(&c_stream, Z_FINISH);
|
||||
+ err = deflate(&c_stream, Z_FINISH);
|
||||
|
||||
if (err != Z_OK && err != Z_STREAM_END)
|
||||
{
|
||||
@@ -320,7 +320,7 @@
|
||||
*filesize = c_stream.total_out;
|
||||
|
||||
/* End the compression */
|
||||
- err = _astropy_deflateEnd(&c_stream);
|
||||
+ err = deflateEnd(&c_stream);
|
||||
|
||||
/* free temporary output data buffer */
|
||||
free(compr);
|
@ -1 +1,2 @@
|
||||
DIST execnet-1.0.9.zip 297854 RMD160 bae424430abc9eab88d59334aceb851eae69a85e SHA1 7b673b37be5112f8464c78b7155094a9b8d36831 SHA256 ab974982ce5f9a3b7aa81da08e9605716d77a61abdf61f2f0846456e7fa91386
|
||||
DIST execnet-1.1.zip 324708 RMD160 e87a3d812257ee4e3a26809be44612d9a844eb15 SHA1 8d98b5766e90e7509089af1fba25abe9f3d31da1 SHA256 fa1d8bd6b6d2282ff4df474b8ac687e1775bff4fc6462b219a5f89d5e9e6908c
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/execnet/execnet-1.1.ebuild,v 1.1 2012/06/21 20:22:51 grozin Exp $
|
||||
|
||||
EAPI=4
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="py.test"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Rapid multi-Python deployment"
|
||||
HOMEPAGE="http://codespeak.net/execnet/ http://pypi.python.org/pypi/execnet/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools
|
||||
doc? ( dev-python/sphinx )"
|
||||
RDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
cd doc
|
||||
emake html
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
distutils_src_test testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/_build/html/*
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
DIST Flask-PyMongo-0.1.1.tar.gz 7075 RMD160 9c35769fdfa6e3d29e6ae3d5b5b0d20adbb1221e SHA1 4ba6a58f6d592f3219b327646158879fb8c2c5cc SHA256 18b3b669d8ab4054a8d301ca145d7e735b7be70cb5a90efd0190fbbefcb218aa
|
||||
DIST Flask-PyMongo-0.1.2.tar.gz 19622 RMD160 c79bb560fadceba5af21349fcd64fa30ca413e7f SHA1 911e4708bd433d2f7ec1d2a19a0543609d65ba29 SHA256 6457c0f4669cb0fb48d0eb716f90ef95215ac22cb1c4848ed7b3f8d136246e0e
|
||||
|
@ -1 +1,2 @@
|
||||
DIST netaddr-0.7.6.tar.gz 1211697 RMD160 6c472f8c0743f70ebef25fffa29447e14cacdfb3 SHA1 8bfb436944253a570aa6af4932a7d50942d698d4 SHA256 d8abb9e2fdf17e8ff3e238a8e175a3f34e8fce3ec1bee899c81eb47b377e4d72
|
||||
DIST netaddr-0.7.7.tar.gz 1303385 RMD160 e3179c7d34e8601b3aa7940c9477eeb64b12d382 SHA1 5126e76b9b241c2dfcf0dfbfa22b6372194b066e SHA256 64bb6ad22b4d715ae94d67bc0c9f5ddd1ce2cd071c29bcaa77fd5f9d3ceb81c7
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/netaddr/netaddr-0.7.7.ebuild,v 1.1 2012/06/22 08:20:11 maksbotan Exp $
|
||||
|
||||
EAPI="4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_TESTS_FAILURES_TOLERANT_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Network address representation and manipulation library"
|
||||
HOMEPAGE="https://github.com/drkjam/netaddr http://pypi.python.org/pypi/netaddr"
|
||||
SRC_URI="mirror://github/drkjam/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cli"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="cli? ( dev-python/ipython )"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
|
||||
# https://github.com/drkjam/netaddr/issues/20
|
||||
sed -e "s/AddrFormatError/netaddr.core.AddrFormatError/" -i netaddr/tests/3.x/ip/{platform_linux2.txt,platform_win32.txt}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" netaddr/tests/__init__.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
if ! use cli; then
|
||||
ewarn "If you intend to use netaddr shell in terminal, enable cli USE flag"
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST pyfits-2.4.0.tar.gz 284236 RMD160 3256f2111db7c994f1deb7d6ec37cb6a2a003fb0 SHA1 5a0c9c7fd058fc44a22f1c00682461ecf4ebc3c1 SHA256 40c21106b86ad01264780409ecb2c8102e80c3eaf2085224f370fc7b3b07ea22
|
||||
DIST pyfits-3.0.6.tar.gz 666264 RMD160 e40fe0313d00be0698497e010c636256b8ef2196 SHA1 5e5cfcd86923e79f3884d5c5b95c5a43e27da736 SHA256 2bf912d0d4dcad75bac4b8c207b420e6415c1f400941dd44282fa91d33e5a482
|
||||
DIST pyfits-3.0.7.tar.gz 677588 RMD160 c0cae95cbd143c85f0bb62835a6927ef70d9eb36 SHA1 ae7285a4b5d9167ab77860a487ee13e084f8dd35 SHA256 831687e556091bbb005f1358729046c984cb896f1e11fb01df7469ace377cdce
|
||||
DIST pyfits-3.0.8.tar.gz 683390 RMD160 cf0ab16cb727b34472b5d96e57c418282b6a44c3 SHA1 579c106c4ced2938435696ca0b383be431844c6f SHA256 cd5aa6911b1f56daf634f9d29ca6942cc54bd8924b1d9a5ed0fef570ed34c5ec
|
||||
|
@ -1,118 +0,0 @@
|
||||
--- lib/pyfits/tests/test_division.py
|
||||
+++ lib/pyfits/tests/test_division.py
|
||||
@@ -1,7 +1,10 @@
|
||||
from __future__ import division # confidence high
|
||||
from __future__ import with_statement
|
||||
|
||||
-from cStringIO import StringIO
|
||||
+try:
|
||||
+ from cStringIO import StringIO
|
||||
+except:
|
||||
+ from io import StringIO
|
||||
|
||||
import numpy as np
|
||||
|
||||
--- lib/pyfits/tests/test_structured.py
|
||||
+++ lib/pyfits/tests/test_structured.py
|
||||
@@ -65,8 +65,8 @@
|
||||
st['f1'] = [1, 3, 5]
|
||||
st['f2'] = ['hello', 'world', 'byebye']
|
||||
st['f3'] = np.random.random(st['f3'].shape)
|
||||
- print st.dtype.descr
|
||||
- print st
|
||||
+ print(st.dtype.descr)
|
||||
+ print(st)
|
||||
|
||||
return st
|
||||
|
||||
@@ -75,26 +75,26 @@
|
||||
def test_structured(self):
|
||||
fname = self.data('stddata.fits')
|
||||
|
||||
- print 'Reading from ', fname
|
||||
+ print('Reading from ', fname)
|
||||
data1, h1 = pyfits.getdata(fname, ext=1, header=True)
|
||||
data2, h2 = pyfits.getdata(fname, ext=2, header=True)
|
||||
|
||||
st = get_test_data()
|
||||
|
||||
outfile = self.temp('test.fits')
|
||||
- print 'Writing to file data1:', outfile
|
||||
+ print('Writing to file data1:', outfile)
|
||||
pyfits.writeto(outfile, data1, clobber=True)
|
||||
- print 'Appending to file: data2', outfile
|
||||
+ print('Appending to file: data2', outfile)
|
||||
pyfits.append(outfile, data2)
|
||||
|
||||
- print 'Appending to file: st', outfile
|
||||
+ print('Appending to file: st', outfile)
|
||||
pyfits.append(outfile, st)
|
||||
- print st.dtype.descr
|
||||
- print st
|
||||
+ print(st.dtype.descr)
|
||||
+ print(st)
|
||||
assert st.dtype.isnative
|
||||
assert np.all(st['f1'] == [1,3,5])
|
||||
|
||||
- print 'Reading data back'
|
||||
+ print('Reading data back')
|
||||
data1check, h1check = pyfits.getdata(outfile, ext=1, header=True)
|
||||
data2check, h2check = pyfits.getdata(outfile, ext=2, header=True)
|
||||
stcheck, sthcheck = pyfits.getdata(outfile, ext=3, header=True)
|
||||
@@ -103,12 +103,12 @@
|
||||
raise ValueError('Fail')
|
||||
if not compare_arrays(data2, data2check, verbose=True):
|
||||
raise ValueError('Fail')
|
||||
- print st, stcheck
|
||||
+ print(st, stcheck)
|
||||
if not compare_arrays(st, stcheck, verbose=True):
|
||||
raise ValueError('Fail')
|
||||
|
||||
# try reading with view
|
||||
- print 'Reading with ndarray view'
|
||||
+ print('Reading with ndarray view')
|
||||
dataviewcheck, hviewcheck = pyfits.getdata(outfile, ext=2, header=True,
|
||||
view=np.ndarray)
|
||||
if not compare_arrays(data2, dataviewcheck, verbose=True):
|
||||
--- lib/pyfits/tests/test_table.py
|
||||
+++ lib/pyfits/tests/test_table.py
|
||||
@@ -51,7 +51,7 @@
|
||||
nfieldsa = len(a.dtype.names)
|
||||
nfieldsb = len(b.dtype.names)
|
||||
if nfieldsa != nfieldsb:
|
||||
- print "number of fields don't match"
|
||||
+ print("number of fields don't match")
|
||||
return False
|
||||
for i in range(nfieldsa):
|
||||
fielda = a.field(i)
|
||||
@@ -63,21 +63,21 @@
|
||||
if (type(fielda) != type(fieldb) and not
|
||||
(issubclass(type(fielda), type(fieldb)) or
|
||||
issubclass(type(fieldb), type(fielda)))):
|
||||
- print "type(fielda): ",type(fielda)," fielda: ",fielda
|
||||
- print "type(fieldb): ",type(fieldb)," fieldb: ",fieldb
|
||||
- print 'field %d type differs' % i
|
||||
+ print("type(fielda): ",type(fielda)," fielda: ",fielda)
|
||||
+ print("type(fieldb): ",type(fieldb)," fieldb: ",fieldb)
|
||||
+ print('field %d type differs' % i)
|
||||
return False
|
||||
if isinstance(fielda[0], np.floating):
|
||||
if not comparefloats(fielda, fieldb):
|
||||
- print "fielda: ",fielda
|
||||
- print "fieldb: ",fieldb
|
||||
- print 'field %d differs' % i
|
||||
+ print("fielda: ",fielda)
|
||||
+ print("fieldb: ",fieldb)
|
||||
+ print('field %d differs' % i)
|
||||
return False
|
||||
else:
|
||||
if np.any(fielda != fieldb):
|
||||
- print "fielda: ",fielda
|
||||
- print "fieldb: ",fieldb
|
||||
- print 'field %d differs' % i
|
||||
+ print("fielda: ",fielda)
|
||||
+ print("fieldb: ",fieldb)
|
||||
+ print('field %d differs' % i)
|
||||
return False
|
||||
return True
|
||||
|
@ -0,0 +1,64 @@
|
||||
Debundle zlib
|
||||
|
||||
Patch written by Kacper Kowalik <xarthisius@gentoo.org>
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -43,10 +43,7 @@
|
||||
src/compressionmodule.c
|
||||
src/quantize.c
|
||||
src/ricecomp.c
|
||||
- src/zlib.c
|
||||
- src/inffast.c
|
||||
- src/inftrees.c
|
||||
- src/trees.c
|
||||
+libraries = z
|
||||
include_dirs = numpy
|
||||
extra_compile_args =
|
||||
-Wno-unused-function
|
||||
--- a/src/compress.c
|
||||
+++ b/src/compress.c
|
||||
@@ -106,7 +106,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include "zlib.h"
|
||||
+#include <zlib.h>
|
||||
|
||||
int _pyfits_uncompress2mem_from_mem(
|
||||
char *inmemptr,
|
||||
@@ -182,7 +182,7 @@
|
||||
d_stream.next_out = uncompr;
|
||||
d_stream.avail_out = uncomprLen;
|
||||
|
||||
- err = _pyfits_inflate(&d_stream, Z_NO_FLUSH);
|
||||
+ err = inflate(&d_stream, Z_NO_FLUSH);
|
||||
|
||||
if (err != Z_OK && err != Z_STREAM_END)
|
||||
{
|
||||
@@ -217,7 +217,7 @@
|
||||
*filesize = d_stream.total_out;
|
||||
|
||||
/* End the decompression */
|
||||
- err = _pyfits_inflateEnd(&d_stream);
|
||||
+ err = inflateEnd(&d_stream);
|
||||
|
||||
/* free temporary output data buffer */
|
||||
free(uncompr);
|
||||
@@ -285,7 +285,7 @@
|
||||
c_stream.next_out = compr;
|
||||
c_stream.avail_out = comprLen;
|
||||
|
||||
- err = _pyfits_deflate(&c_stream, Z_FINISH);
|
||||
+ err = deflate(&c_stream, Z_FINISH);
|
||||
|
||||
if (err != Z_OK && err != Z_STREAM_END)
|
||||
{
|
||||
@@ -320,7 +320,7 @@
|
||||
*filesize = c_stream.total_out;
|
||||
|
||||
/* End the compression */
|
||||
- err = _pyfits_deflateEnd(&c_stream);
|
||||
+ err = deflateEnd(&c_stream);
|
||||
|
||||
/* free temporary output data buffer */
|
||||
free(compr);
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-3.0.6.ebuild,v 1.1 2012/03/07 18:55:10 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 2.7-pypy-*"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="Provides an interface to FITS formatted files under python"
|
||||
HOMEPAGE="http://www.stsci.edu/resources/software_hardware/pyfits http://pypi.python.org/pypi/pyfits"
|
||||
SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/numpy
|
||||
dev-python/setuptools"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/stsci-distutils
|
||||
dev-python/d2to1
|
||||
test? ( dev-python/nose )"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's/Exception, e/Exception as e/g' \
|
||||
-i lib/pyfits/{hdu/base.py,_release.py,tests/test_core.py} || die
|
||||
epatch "${FILESDIR}"/${PN}-3.0.4-tests_python3.patch
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
local t
|
||||
for t in lib/${PN}/tests/test_*.py; do
|
||||
PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" "${t}" || die "${t} failed with Python ${PYTHON_ABI}"
|
||||
done
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST sip-4.11.2.tar.gz 665000 RMD160 755e4610f9e3359df0a7a9f009ad16a5592341f0 SHA1 586a86a55553617e39b1df8376166d03d697184c SHA256 ced00216488aa4dd0728d706a551c36c694a26c95e85103ccc21913a8090373c
|
||||
DIST sip-4.12.3.tar.gz 725415 RMD160 bc9e9be7036139f212dec5b307229a529267bf66 SHA1 99af6d4fb1ae5e29687bb0ab47dfbb23f36a79b7 SHA256 b452c822a4c05c5c69257143847503cfdca5a943ba5c23fc0714a2e240c0b77e
|
||||
DIST sip-4.13.2.tar.gz 733120 RMD160 24a8e7c4bd36382594ea3f11317eb0f10e4e56ea SHA1 1c5df9182e8046f1c0d01603a2474fa2418bcea0 SHA256 4bc3f5353c75918e1c8499ec1474e7b3392c30513ea6d7a6334f88b88271eebf
|
||||
DIST sip-4.13.3.tar.gz 734458 RMD160 f7aed342017ee598b967f311ae9d0a0a799570c4 SHA1 7ff9c4facdc5cc496ab8377db5cb306c603f7699 SHA256 ec295f71ef339c5b98db5650865f2c6c1200c4085b7a3f33f284111e1f534ac1
|
||||
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.13.3.ebuild,v 1.1 2012/06/21 18:43:17 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*"
|
||||
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
|
||||
|
||||
inherit eutils python toolchain-funcs
|
||||
|
||||
DESCRIPTION="Python extension module generator for C and C++ libraries"
|
||||
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro http://pypi.python.org/pypi/SIP"
|
||||
SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}${PV%%.*}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 sip )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="debug doc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-4.9.3-darwin.patch
|
||||
sed -i -e 's/-O2//g' specs/* || die
|
||||
|
||||
python_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf=("$(PYTHON)"
|
||||
configure.py
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--destdir="${EPREFIX}$(python_get_sitedir)"
|
||||
--incdir="${EPREFIX}$(python_get_includedir)"
|
||||
--sipdir="${EPREFIX}/usr/share/sip"
|
||||
$(use debug && echo --debug)
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
LINK="$(tc-getCXX)"
|
||||
LINK_SHLIB="$(tc-getCXX)"
|
||||
CFLAGS="${CFLAGS}"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
LFLAGS="${LDFLAGS}"
|
||||
STRIP=":")
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}"
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_src_install
|
||||
|
||||
dodoc NEWS
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize sipconfig.py sipdistutils.py
|
||||
|
||||
ewarn "When updating dev-python/sip, you usually need to rebuild packages that depend on it,"
|
||||
ewarn "such as PyQt4, qscintilla-python and pykde4. If you have app-portage/gentoolkit"
|
||||
ewarn "installed, you can find these packages with \`equery d dev-python/sip\`."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup sipconfig.py sipdistutils.py
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST Yapsy-1.9.tar.gz 22547 RMD160 8b165f4b4da417de0d7fa65f61f7b8af82dba696 SHA1 56af12da56cc7871995ddb189f08cd556a5a7c4a SHA256 3d4c802db72fe84669cb56df2ccf5957eebb1e98fd6f74e136ff9adba2d95740
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue