parent
c1ffe420a0
commit
4c9627ec52
@ -1,2 +1 @@
|
||||
DIST gnucash-docs-2.6.5.tar.gz 58941882 SHA256 420436947fd9c7b186a440f88c378e298a149f514341147dd01106f7bfa143e3 SHA512 5cc091f6ec4d6c63183a33ab591ebc9d22f57acc4810193035fe63acb1bb08a1fa2e9ce6912eccf79eafed0fe9ec30c950b0e461143ba7a9769bc465d7d0f9b2 WHIRLPOOL e830de4a1bc48c562f924663ef07412ac00d36ad885caa83dbbc6c2c818014c9d693c1ff1d71a2b7f67e275d5a6dd7eacd11961ac62c76c66682317f296c2fde
|
||||
DIST gnucash-docs-2.6.6.tar.gz 58940604 SHA256 64c5e5a9a5b0756f4fc7f631ace6d5bea910acf5b4d5249b9e010575f67004f7 SHA512 11ba613d0df2c8d1a4d107313001371b301db9595adeba6e0157ad258d3d2498e2b7a17f1bd6dc44ae3f6026ea0ed7d5597fde732a78bcf1cd03a835181f8f22 WHIRLPOOL 0a771aed2699b9b846c1b627e6b5018cf73bfb78b43ab6c7ff8d97dcf6fed457d69b56fe059971d0ce4eeeddb752ed2e23e895e9f28b92c0170294cb53215fe5
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/gnucash-docs/gnucash-docs-2.6.5.ebuild,v 1.3 2015/03/15 13:14:34 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
GCONF_DEBUG=no
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Documentation package for GnuCash"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="mirror://sourceforge/gnucash/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 FDL-1.1"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-office/gnucash-2.2.1"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-libs/libxml2-2.5.10
|
||||
dev-libs/libxslt
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/rarian
|
||||
"
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
has_version dev-java/fop || elog "You need dev-java/fop to generate pdf files."
|
||||
has_version gnome-extra/yelp || elog "You need gnome-extra/yelp to view the docs."
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST abiword-3.0.0.tar.gz 10956892 SHA256 d17e318c00ff4eb353e0e7994b098b1d4f9ddd8712ac0261a0e38b89081fac01 SHA512 3f9804b17f27b8afa2f5bcccdb1b5d6270339ad4f518523208f2e2cde54cb28391575cfd3639aaadc13ab50d5908260b159ca7b41fd92ed5a449d7012e5a4637 WHIRLPOOL 54cb234dbaae070d4f9dfa215e3c5a80a45666b7363febf4b56c7ec685c7b084bf78f2f3a6827cb8585bec4ead5c6fd8bd71bc51c35bf3423f3b31a296bdb144
|
||||
DIST abiword-3.0.1.tar.gz 11144990 SHA256 e094f6fbf0afc5c5538b4894888e7c346f8ee8f49c9d24821dd696d0734865c6 SHA512 c655aabe0ba0a9880f30808e26c02ec3280c750625faa482a68d4d336742f85659a7af7d6413d8813b82d3de0a3f6b61b6f6898f030bb921d792ad866879dbcf WHIRLPOOL 7d06614673d7275df57999783205b98a41f0588c7eadfdd4d29e30dd52cf1c44aa5b07e90d47ece328119da9877aec7754511a40768b6ea844c3683abefdcad7
|
||||
|
@ -1,167 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-3.0.0-r2.ebuild,v 1.3 2014/07/23 15:13:33 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
GCONF_DEBUG="yes"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit eutils gnome2
|
||||
|
||||
DESCRIPTION="Fully featured yet light and fast cross platform word processor"
|
||||
HOMEPAGE="http://www.abisource.com/"
|
||||
SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="calendar collab cups eds +goffice grammar +introspection latex map math ots +plugins readline redland spell wordperfect wmf thesaurus"
|
||||
|
||||
# You need 'plugins' enabled if want to enable the extra plugins
|
||||
REQUIRED_USE="!plugins? ( !collab !grammar !latex !math !ots !readline !thesaurus !wordperfect !wmf )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-text/wv-1.2
|
||||
>=dev-libs/fribidi-0.10.4
|
||||
>=dev-libs/glib-2.16:2
|
||||
>=dev-libs/libgcrypt-1.4.5:0
|
||||
dev-libs/libxslt
|
||||
>=gnome-base/librsvg-2.16:2
|
||||
>=gnome-extra/libgsf-1.14.18
|
||||
>=media-libs/libpng-1.2
|
||||
virtual/jpeg
|
||||
>=x11-libs/cairo-1.10[X]
|
||||
>=x11-libs/gtk+-3.0.8:3[cups?]
|
||||
calendar? ( >=dev-libs/libical-0.46 )
|
||||
eds? ( >=gnome-extra/evolution-data-server-3.6.0 )
|
||||
goffice? ( >=x11-libs/goffice-0.10.2:0.10 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.0.0 )
|
||||
map? ( >=media-libs/libchamplain-0.12 )
|
||||
plugins? (
|
||||
collab? (
|
||||
>=dev-libs/libxml2-2.4
|
||||
>=net-libs/loudmouth-1
|
||||
net-libs/libsoup:2.4
|
||||
net-libs/gnutls )
|
||||
grammar? ( >=dev-libs/link-grammar-4.2.1 )
|
||||
math? ( >=x11-libs/gtkmathview-0.7.5 )
|
||||
ots? ( >=app-text/ots-0.5-r1 )
|
||||
readline? ( sys-libs/readline )
|
||||
thesaurus? ( >=app-text/aiksaurus-1.2[gtk] )
|
||||
wordperfect? (
|
||||
app-text/libwpd:0.9
|
||||
app-text/libwpg:0.2 )
|
||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
||||
)
|
||||
redland? (
|
||||
>=dev-libs/redland-1.0.10
|
||||
>=dev-libs/rasqal-0.9.17 )
|
||||
spell? ( >=app-text/enchant-1.2 )
|
||||
!<app-office/abiword-plugins-2.8
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
>=dev-libs/boost-1.40.0
|
||||
virtual/pkgconfig
|
||||
collab? ( dev-cpp/asio )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# readme.txt will be installed using dodoc
|
||||
sed '/readme\.txt\|abw/d' \
|
||||
-i user/wp/Makefile.am user/wp/Makefile.in || die
|
||||
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13532
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-eds-3.6.patch"
|
||||
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13564
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-fix-crash.patch"
|
||||
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13589
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-libgcrypt_1_6_0-1.patch"
|
||||
|
||||
# Fix build with boost-1.54
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-boost54.patch"
|
||||
|
||||
# http://bugzilla.abisource.com/show_bug.cgi?id=13596
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-fix-shortcut.patch"
|
||||
|
||||
# Fix build with bison-3.0
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-bison30.patch"
|
||||
|
||||
# Fix crash when saving as PDF, bug #515990
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-pdf-crash.patch"
|
||||
|
||||
# Fix redraw region in custom widget
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-fix-redraw.patch"
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local plugins=""
|
||||
|
||||
if use plugins; then
|
||||
# Plugins depending on libgsf
|
||||
plugins="t602 docbook clarisworks wml kword hancom openwriter pdf
|
||||
loadbindings mswrite garble pdb applix opendocument sdw xslfo"
|
||||
|
||||
# Plugins depending on librsvg
|
||||
# But doesn't build: http://bugzilla.abisource.com/show_bug.cgi?id=13563
|
||||
#plugins="${plugins} svg"
|
||||
|
||||
# Plugins not depending on anything
|
||||
plugins="${plugins} gimp bmp freetranslation iscii s5 babelfish opml eml
|
||||
wikipedia gdict passepartout google presentation urldict hrtext mif
|
||||
openxml"
|
||||
|
||||
# inter7eps: eps.h
|
||||
# libtidy: gsf + tidy.h
|
||||
# paint: windows only ?
|
||||
use collab && plugins="${plugins} collab"
|
||||
use goffice && plugins="${plugins} goffice"
|
||||
use latex && plugins="${plugins} latex"
|
||||
use math && plugins="${plugins} mathview"
|
||||
use ots && plugins="${plugins} ots"
|
||||
# psion: >=psiconv-0.9.4
|
||||
use readline && plugins="${plugins} command"
|
||||
use thesaurus && plugins="${plugins} aiksaurus"
|
||||
use wmf && plugins="${plugins} wmf"
|
||||
# wordperfect: >=wpd-0.9 >=wpg-0.2
|
||||
use wordperfect && plugins="${plugins} wpg"
|
||||
fi
|
||||
|
||||
gnome2_src_configure \
|
||||
--enable-plugins="$(echo ${plugins})" \
|
||||
--disable-static \
|
||||
--disable-default-plugins \
|
||||
--disable-builtin-plugins \
|
||||
--disable-collab-backend-telepathy \
|
||||
--enable-clipart \
|
||||
--enable-statusbar \
|
||||
--enable-templates \
|
||||
--with-gio \
|
||||
--without-gnomevfs \
|
||||
--without-gtk2 \
|
||||
$(use_with goffice goffice) \
|
||||
$(use_with calendar libical) \
|
||||
$(use_enable cups print) \
|
||||
$(use_enable collab collab-backend-xmpp) \
|
||||
$(use_enable collab collab-backend-tcp) \
|
||||
$(use_enable collab collab-backend-service) \
|
||||
$(use_with eds evolution-data-server) \
|
||||
$(use_enable introspection) \
|
||||
$(use_with map champlain) \
|
||||
$(use_with redland) \
|
||||
$(use_enable spell)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Parallel build fails, bug #488462
|
||||
MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
dodoc user/wp/readme.txt
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
Last-update: 2014-02-02
|
||||
Author: Dimitri John Ledkov <xnox@ubuntu.com>
|
||||
Description: Cherrypick patch from NetBSD, to fix FTBFS with bison 3.0.
|
||||
|
||||
--- a/plugins/mathview/itex2mml/itex2MML.y
|
||||
+++ b/plugins/mathview/itex2mml/itex2MML.y
|
||||
@@ -1,8 +1,10 @@
|
||||
/* itex2MML 1.4.8
|
||||
* itex2MML.y last modified 9/21/2011
|
||||
*/
|
||||
|
||||
+%parse-param {char **ret_str}
|
||||
+
|
||||
%{
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@@ -26,9 +28,9 @@
|
||||
}
|
||||
|
||||
void (*itex2MML_error) (const char * msg) = itex2MML_default_error;
|
||||
|
||||
- static void yyerror (char * s)
|
||||
+ static void yyerror (char **ret_str, char * s)
|
||||
{
|
||||
char * msg = itex2MML_copy3 (s, " at token ", yytext);
|
||||
if (itex2MML_error)
|
||||
(*itex2MML_error) (msg);
|
@ -1,31 +0,0 @@
|
||||
Last-Update: 2014-02-05
|
||||
Forwarded: yes
|
||||
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
|
||||
Bug-Debian: http://bugs.debian.org/737551
|
||||
Bug-Abiword: http://bugzilla.abisource.com/13602
|
||||
Description: fix FTBFS with libboost1.54-dev
|
||||
|
||||
--- a/plugins/collab/core/sync/xp/SynchronizedQueue.h
|
||||
+++ b/plugins/collab/core/sync/xp/SynchronizedQueue.h
|
||||
@@ -21,8 +21,9 @@
|
||||
|
||||
#include <deque>
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/function.hpp>
|
||||
+#include <boost/noncopyable.hpp>
|
||||
#include <sync/xp/lock.h>
|
||||
#include <sync/xp/Synchronizer.h>
|
||||
|
||||
class EmptyQueueException {};
|
||||
--- a/plugins/collab/backends/tcp/xp/Session.h
|
||||
+++ b/plugins/collab/backends/tcp/xp/Session.h
|
||||
@@ -21,8 +21,9 @@
|
||||
|
||||
#include <boost/function.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/enable_shared_from_this.hpp>
|
||||
+#include <boost/noncopyable.hpp>
|
||||
#include <deque>
|
||||
#include <sync/xp/lock.h>
|
||||
#include <sync/xp/Synchronizer.h>
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/text/ptbl/xp/pd_DocumentRDF.cpp.orig 2012-07-26 02:59:34.000000000 +0000
|
||||
+++ src/text/ptbl/xp/pd_DocumentRDF.cpp 2012-07-26 02:59:50.000000000 +0000
|
||||
@@ -1884,7 +1884,7 @@
|
||||
|
||||
#ifdef WITH_EVOLUTION_DATA_SERVER
|
||||
extern "C" {
|
||||
- #include <libebook/e-book.h>
|
||||
+ #include <libebook/libebook.h>
|
||||
};
|
||||
|
||||
static std::string get( EVCard* c, const char* v )
|
@ -1,33 +0,0 @@
|
||||
commit e0e81e6c2d7f2478b9effc8476b62425ca2c12cd
|
||||
Author: Hubert Figuière <hub@figuiere.net>
|
||||
Date: Wed Oct 16 22:48:36 2013 -0400
|
||||
|
||||
Bug 13564 - Fix crash in abw to HTML conversion.
|
||||
|
||||
diff --git a/src/wp/impexp/xp/ie_exp_HTML_Listener.cpp b/src/wp/impexp/xp/ie_exp_HTML_Listener.cpp
|
||||
index 86c57ec..b9dace1 100644
|
||||
--- a/src/wp/impexp/xp/ie_exp_HTML_Listener.cpp
|
||||
+++ b/src/wp/impexp/xp/ie_exp_HTML_Listener.cpp
|
||||
@@ -2232,12 +2232,18 @@ void IE_Exp_HTML_Listener::_openList(PT_AttrPropIndex api, bool recursiveCall)
|
||||
_openList(api, true);
|
||||
}
|
||||
}
|
||||
-
|
||||
- }else
|
||||
+ }
|
||||
+ else
|
||||
{
|
||||
- const gchar* szListStyle;
|
||||
+ const gchar* szListStyle = NULL;
|
||||
pAP->getProperty("list-style", szListStyle);
|
||||
- bool isOrdered = g_ascii_strcasecmp(szListStyle, "Bullet List") != 0;
|
||||
+ bool isOrdered = szListStyle
|
||||
+ && (g_ascii_strcasecmp(szListStyle, "Bullet List") != 0);
|
||||
+#ifdef DEBUG
|
||||
+ if(!szListStyle) {
|
||||
+ UT_DEBUGMSG(("***BUG*** szListStyle is NULL - http://bugzilla.abisource.com/show_bug.cgi?id=13564\n"));
|
||||
+ }
|
||||
+#endif
|
||||
ListInfo info;
|
||||
if (iCurrentLevel == 0)
|
||||
{
|
@ -1,56 +0,0 @@
|
||||
From c260e8d107a8708d57a60fbc18ef71ffeb88fcf1 Mon Sep 17 00:00:00 2001
|
||||
From: Hubert Figuiere <hub@figuiere.net>
|
||||
Date: Sat, 22 Feb 2014 18:42:56 +0000
|
||||
Subject: [PATCH] Bug 13582 - Fix redraw region in custom widget.
|
||||
|
||||
Cherry-picked from trunk@33870 and reworked for 3.0.x
|
||||
|
||||
git-svn-id: svn+ssh://svn.abisource.com/svnroot/abiword/branches/ABI-3-0-0-STABLE@33871 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
|
||||
---
|
||||
src/af/gr/gtk/gr_UnixCairoGraphics.cpp | 2 +-
|
||||
src/af/xap/gtk/xap_UnixCustomWidget.cpp | 10 ++++++----
|
||||
2 files changed, 7 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/af/gr/gtk/gr_UnixCairoGraphics.cpp b/src/af/gr/gtk/gr_UnixCairoGraphics.cpp
|
||||
index 4c8d23c..15d7a7d 100644
|
||||
--- a/src/af/gr/gtk/gr_UnixCairoGraphics.cpp
|
||||
+++ b/src/af/gr/gtk/gr_UnixCairoGraphics.cpp
|
||||
@@ -520,7 +520,7 @@ void GR_UnixCairoGraphics::_beginPaint()
|
||||
{
|
||||
UT_ASSERT(ev->type == GDK_EXPOSE || ev->type == GDK_DAMAGE);
|
||||
if (ev->type == GDK_EXPOSE || ev->type == GDK_DAMAGE)
|
||||
- UT_ASSERT(ev->expose.window == m_pWin);
|
||||
+ UT_ASSERT(ev->expose.window == m_pWin || ev->expose.window == gdk_window_get_effective_parent (m_pWin));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
diff --git a/src/af/xap/gtk/xap_UnixCustomWidget.cpp b/src/af/xap/gtk/xap_UnixCustomWidget.cpp
|
||||
index b0b7015..5150afe 100644
|
||||
--- a/src/af/xap/gtk/xap_UnixCustomWidget.cpp
|
||||
+++ b/src/af/xap/gtk/xap_UnixCustomWidget.cpp
|
||||
@@ -45,16 +45,18 @@ void XAP_UnixCustomWidget::_fe::expose(XAP_UnixCustomWidget *self, GdkEventExpos
|
||||
#endif
|
||||
{
|
||||
#if GTK_CHECK_VERSION(3,0,0)
|
||||
- GdkEventExpose *ev = reinterpret_cast<GdkEventExpose *>(gtk_get_current_event());
|
||||
-#endif
|
||||
+ self->m_cr = cr;
|
||||
+ double x1, y1, x2, y2;
|
||||
+ cairo_clip_extents(cr, &x1, &y1, &x2, &y2);
|
||||
+
|
||||
+ UT_Rect r(x1, y1, x2 - x1, y2 - y1);
|
||||
+#else
|
||||
UT_Rect r(
|
||||
ev->area.x,
|
||||
ev->area.y,
|
||||
ev->area.width,
|
||||
ev->area.height
|
||||
);
|
||||
-#if GTK_CHECK_VERSION(3,0,0)
|
||||
- self->m_cr = cr;
|
||||
#endif
|
||||
self->draw(&r);
|
||||
}
|
||||
--
|
||||
1.9.1
|
||||
|
@ -1,40 +0,0 @@
|
||||
Description: Upstream-derived patch to fix SHIFT-CTRL-CURSOR_KEY shortcut combos.
|
||||
Origin: upstream, http://bugzilla.abisource.com/attachment.cgi?id=5695&action=view
|
||||
Bug: http://bugzilla.abisource.com/show_bug.cgi?id=13596
|
||||
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1315949
|
||||
|
||||
Index: b/src/af/ev/gtk/ev_UnixKeyboard.cpp
|
||||
===================================================================
|
||||
--- a/src/af/ev/gtk/ev_UnixKeyboard.cpp
|
||||
+++ b/src/af/ev/gtk/ev_UnixKeyboard.cpp
|
||||
@@ -87,17 +87,20 @@
|
||||
{
|
||||
state |= EV_EMS_CONTROL;
|
||||
|
||||
- // Gdk does us the favour of working out a translated keyvalue for us,
|
||||
- // but with the Ctrl keys, we do not want that -- see bug 9545
|
||||
- Display * display = GDK_DISPLAY_XDISPLAY(gdk_window_get_display(e->window));
|
||||
- KeySym sym = XkbKeycodeToKeysym(display,
|
||||
- e->hardware_keycode,
|
||||
- e->state & GDK_SHIFT_MASK ? 1 : 0, 0);
|
||||
- xxx_UT_DEBUGMSG(("ev_UnixKeyboard::keyPressEvent: keyval %d, hardware_keycode %d\n"
|
||||
- " sym: 0x%x\n",
|
||||
- e->keyval, e->hardware_keycode, sym));
|
||||
+ if (!s_isVirtualKeyCode(charData))
|
||||
+ {
|
||||
+ // Gdk does us the favour of working out a translated keyvalue for us,
|
||||
+ // but with the Ctrl keys, we do not want that -- see bug 9545
|
||||
+ Display * display = GDK_DISPLAY_XDISPLAY(gdk_window_get_display(e->window));
|
||||
+ KeySym sym = XkbKeycodeToKeysym(display,
|
||||
+ e->hardware_keycode,
|
||||
+ e->state & GDK_SHIFT_MASK ? 1 : 0, 0);
|
||||
+ xxx_UT_DEBUGMSG(("ev_UnixKeyboard::keyPressEvent: keyval %d, hardware_keycode %d\n"
|
||||
+ " sym: 0x%x\n",
|
||||
+ e->keyval, e->hardware_keycode, sym));
|
||||
|
||||
- charData = sym;
|
||||
+ charData = sym;
|
||||
+ }
|
||||
}
|
||||
if (e->state & (s_alt_mask))
|
||||
state |= EV_EMS_ALT;
|
@ -1,27 +0,0 @@
|
||||
Submitted By: Armin K. <krejzi at email dot com>
|
||||
Date: 2013-12-21
|
||||
Initial Package Version: 3.0.0
|
||||
Upstream Status: Not submitted
|
||||
Origin: Self
|
||||
Description: Fixes building with libgcrypt 1.6.0
|
||||
|
||||
diff -Naur a/plugins/collab/backends/service/xp/tls_tunnel.cpp b/plugins/collab/backends/service/xp/tls_tunnel.cpp
|
||||
--- a/plugins/collab/backends/service/xp/tls_tunnel.cpp 2009-09-10 12:46:19.000000000 +0200
|
||||
+++ b/plugins/collab/backends/service/xp/tls_tunnel.cpp 2013-12-20 19:25:38.728798750 +0100
|
||||
@@ -123,11 +123,16 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
+#if GCRYPT_VERSION_NUMBER >= 0x010600
|
||||
+ GCRY_THREAD_OPTION_PTHREAD_IMPL;
|
||||
+ static struct gcry_thread_cbs &gcry_threads_tunnel = gcry_threads_pthread;
|
||||
+#else
|
||||
static struct gcry_thread_cbs gcry_threads_tunnel =
|
||||
{ GCRY_THREAD_OPTION_USER, NULL,
|
||||
gcry_tunnel_mutex_init, gcry_tunnel_mutex_destroy,
|
||||
gcry_tunnel_mutex_lock, gcry_tunnel_mutex_unlock,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL };
|
||||
+#endif
|
||||
|
||||
bool Proxy::tls_tunnel_init() {
|
||||
if (gcry_control(GCRYCTL_SET_THREAD_CBS, &tls_tunnel::gcry_threads_tunnel) != 0)
|
@ -1,102 +0,0 @@
|
||||
From 128dfbc82cbd5c2c1bb6d0cde238a933639fba50 Mon Sep 17 00:00:00 2001
|
||||
From: Hubert Figuiere <hub@figuiere.net>
|
||||
Date: Sat, 28 Dec 2013 02:05:23 +0000
|
||||
Subject: [PATCH] Bug 13586 - We don't have a frame when printing.
|
||||
|
||||
UPLIFTED from trunk
|
||||
|
||||
git-svn-id: svn+ssh://svn.abisource.com/svnroot/abiword/branches/ABI-3-0-0-STABLE@33663 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
|
||||
---
|
||||
src/text/fmt/gtk/fv_UnixSelectionHandles.cpp | 44 +++++++++++++++++++++-------
|
||||
1 file changed, 33 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/src/text/fmt/gtk/fv_UnixSelectionHandles.cpp b/src/text/fmt/gtk/fv_UnixSelectionHandles.cpp
|
||||
index a3a3347..8bc187c 100644
|
||||
--- a/src/text/fmt/gtk/fv_UnixSelectionHandles.cpp
|
||||
+++ b/src/text/fmt/gtk/fv_UnixSelectionHandles.cpp
|
||||
@@ -36,42 +36,60 @@ static void handle_dragged_cb (FvTextHandle *handle,
|
||||
|
||||
mode = _fv_text_handle_get_mode (handle);
|
||||
|
||||
- if (pos == FV_TEXT_HANDLE_POSITION_SELECTION_START)
|
||||
+ if (pos == FV_TEXT_HANDLE_POSITION_SELECTION_START) {
|
||||
handles->updateSelectionStart ((UT_sint32)x, (UT_sint32)y);
|
||||
+ }
|
||||
else {
|
||||
- if (mode == FV_TEXT_HANDLE_MODE_SELECTION)
|
||||
+ if (mode == FV_TEXT_HANDLE_MODE_SELECTION) {
|
||||
handles->updateSelectionEnd ((UT_sint32)x, (UT_sint32)y);
|
||||
- else
|
||||
+ }
|
||||
+ else {
|
||||
handles->updateCursor((UT_sint32)x, (UT_sint32)y);
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
||||
FV_UnixSelectionHandles::FV_UnixSelectionHandles(FV_View *view, FV_Selection selection)
|
||||
: FV_SelectionHandles (view, selection)
|
||||
+ , m_text_handle(NULL)
|
||||
{
|
||||
XAP_Frame * pFrame = static_cast<XAP_Frame*>(m_pView->getParentData());
|
||||
- XAP_UnixFrameImpl * pFrameImpl =static_cast<XAP_UnixFrameImpl *>( pFrame->getFrameImpl());
|
||||
- GtkWidget * pWidget = pFrameImpl->getViewWidget();
|
||||
-
|
||||
- m_text_handle = _fv_text_handle_new (pWidget);
|
||||
- _fv_text_handle_set_relative_to (m_text_handle,
|
||||
- gtk_widget_get_window (pWidget));
|
||||
- g_signal_connect (m_text_handle, "handle-dragged",
|
||||
- G_CALLBACK(handle_dragged_cb), this);
|
||||
+ // When saving to PDF (and printing) we don't have a frame
|
||||
+ // See bug 13586
|
||||
+ if (pFrame) {
|
||||
+ XAP_UnixFrameImpl * pFrameImpl = static_cast<XAP_UnixFrameImpl *>(pFrame->getFrameImpl());
|
||||
+ GtkWidget * pWidget = pFrameImpl->getViewWidget();
|
||||
+
|
||||
+ m_text_handle = _fv_text_handle_new (pWidget);
|
||||
+ _fv_text_handle_set_relative_to (m_text_handle,
|
||||
+ gtk_widget_get_window (pWidget));
|
||||
+ g_signal_connect (m_text_handle, "handle-dragged",
|
||||
+ G_CALLBACK(handle_dragged_cb), this);
|
||||
+ }
|
||||
}
|
||||
|
||||
FV_UnixSelectionHandles::~FV_UnixSelectionHandles()
|
||||
{
|
||||
+ if(!m_text_handle) {
|
||||
+ return;
|
||||
+ }
|
||||
g_object_unref (m_text_handle);
|
||||
}
|
||||
|
||||
void FV_UnixSelectionHandles::hide()
|
||||
{
|
||||
+ if(!m_text_handle) {
|
||||
+ return;
|
||||
+ }
|
||||
_fv_text_handle_set_mode (m_text_handle, FV_TEXT_HANDLE_MODE_NONE);
|
||||
}
|
||||
|
||||
void FV_UnixSelectionHandles::setCursorCoords(UT_sint32 x, UT_sint32 y, UT_uint32 height, bool visible)
|
||||
{
|
||||
+ if(!m_text_handle) {
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
GdkRectangle rect;
|
||||
|
||||
_fv_text_handle_set_mode(m_text_handle, FV_TEXT_HANDLE_MODE_CURSOR);
|
||||
@@ -92,6 +110,10 @@ void FV_UnixSelectionHandles::setCursorCoords(UT_sint32 x, UT_sint32 y, UT_uint3
|
||||
void FV_UnixSelectionHandles::setSelectionCoords(UT_sint32 start_x, UT_sint32 start_y, UT_uint32 start_height, bool start_visible,
|
||||
UT_sint32 end_x, UT_sint32 end_y, UT_uint32 end_height, bool end_visible)
|
||||
{
|
||||
+ if(!m_text_handle) {
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
GdkRectangle rect;
|
||||
|
||||
_fv_text_handle_set_mode(m_text_handle, FV_TEXT_HANDLE_MODE_SELECTION);
|
||||
--
|
||||
1.9.1
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/eigen-3.2.5.ebuild,v 1.1 2015/06/29 08:51:43 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="C++ template library for linear algebra: vectors, matrices, and related algorithms"
|
||||
HOMEPAGE="http://eigen.tuxfamily.org/"
|
||||
SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2 GPL-3"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug doc"
|
||||
|
||||
DEPEND="doc? ( app-doc/doxygen[dot,latex] )"
|
||||
RDEPEND="!dev-cpp/eigen:0"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mv ${PN}* ${P} || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i CMakeLists.txt \
|
||||
-e "/add_subdirectory(demos/d" \
|
||||
-e "/add_subdirectory(blas/d" \
|
||||
-e "/add_subdirectory(lapack/d" \
|
||||
|| die "sed disable unused bundles failed"
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CMAKE_BUILD_TYPE="release"
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
if use doc; then
|
||||
cmake-utils_src_compile doc
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local mycmakeargs=(
|
||||
-DEIGEN_BUILD_TESTS=ON
|
||||
-DEIGEN_TEST_NO_FORTRAN=ON
|
||||
-DEIGEN_TEST_NO_OPENGL=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake-utils_src_compile buildtests
|
||||
cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
if use doc; then
|
||||
cd "${BUILD_DIR}"/doc
|
||||
dohtml -r html/*
|
||||
fi
|
||||
|
||||
# Debian installs it and some projects started using it.
|
||||
insinto /usr/share/cmake/Modules/
|
||||
doins "${S}/cmake/FindEigen3.cmake"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST mariadb-galera-10.0.19.tar.gz 56520261 SHA256 df5c0e8ff2db0dbf2490c52f5d9b509216e2d89bf6d340920aad2b41d4d1ae75 SHA512 9acba0d851c8bdfe0b28e3ec3dc9a21a41c8f283322d73a3c05ac10b9e9400302b9e6fe47d0d5ef73307254af715bc3ed144acaa325ce6c78841ddd14ee754c7 WHIRLPOOL 2c60ee6a82e8f6effed3b376a7647f0bc804de633d770bb215f37774bd7cd1f38b0ef173b68ec3f3eab9f59ffee77cb05668159873a5ebd863d0d96735f39edb
|
||||
DIST mariadb-galera-10.0.20.tar.gz 56558895 SHA256 f6b979cbae803d1b33e85407fcd2aaf19b07fb5e183726666e8c990f1f7d5ce8 SHA512 dbae146c798d08f624fcdac86d7f69aea2ebe8540f659004fee11dba4a0a6c234b7235544ae4adf3b58add989649533f86dbe1de4107eb7bbd433add42f55dad WHIRLPOOL 93ad52daae91463772a163a59beab57496102fc2cd23ba7f9b009875ea8cb7b854d8a0d857ddb90d6e3ec3e034ae8403eb7aedba55f9d2a97f72dbc999085f69
|
||||
DIST mysql-extras-20141215-0144Z.tar.bz2 1494767 SHA256 4757043858110654d52b0e6dccab064987ab5db8ae4ae99863cf86df0b90f947 SHA512 7a9b733d09f44b1faff19a496a3e820e444b339838665e6f37c4fddc8f2ad67e805082d598c4edc06fda9364f9906e4cf95520552f72d6b6df34413f38e7a2ed WHIRLPOOL 99ea6890a5faf097b941707538b68f62390e1a49ee662a87c27435a317a9a3f37f00802e72f86b52993b3d1674b57645db0f7e73379ab88fbc1d0ef791cf4326
|
||||
|
@ -0,0 +1,128 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb-galera/mariadb-galera-10.0.20.ebuild,v 1.1 2015/06/29 17:06:14 grknight Exp $
|
||||
|
||||
EAPI="5"
|
||||
MY_EXTRAS_VER="20141215-0144Z"
|
||||
WSREP_REVISION="25"
|
||||
|
||||
inherit toolchain-funcs mysql-multilib
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='embedded extraengine perl ssl static-libs community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mariadb-galera-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
multilib_src_test() {
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
einfo "Server tests not available on non-native abi".
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# These are failing in MariaDB 10.0 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql, main.bootstrap
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test, main.mysql_client_test_nonblock
|
||||
# main.mysql_client_test_comp:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# wsrep.variables:
|
||||
# Expects the sys-cluster/galera library to be installed and configured
|
||||
#
|
||||
# wsrep.foreign_key:
|
||||
# Issues a configuration deprecation warning which does not affect data
|
||||
#
|
||||
|
||||
for t in main.mysql_client_test main.mysql_client_test_nonblock \
|
||||
main.mysql_client_test_comp main.bootstrap \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help wsrep.variables wsrep.foreign_key \
|
||||
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
|
||||
mysql-multilib_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
# The PATH addition is required for the galera suite to find the sst scripts
|
||||
# Skipping galera tests for now until MDEV-7544 is resovled
|
||||
WSREP_LOG_DIR="${T}/var-tests/wsrep" \
|
||||
PATH="${BUILD_DIR}/scripts:${PATH}" \
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" --skip-test=galera
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST excalibur-logger-2.1-src.tar.gz 45812 SHA256 7e32a772fb595b49eb6c24e861b10ad25b0407e13a7af8b9fbc26a42848bd2b1 SHA512 36a5b82f04379530470c3957b0b5dad3a2d9e888077c02c71c0e09e2192650cb48857c3ef6081084257bf0eb6c3578617abf85dd44c0bc558d341cd6c8093998 WHIRLPOOL 866085a327b9f3224a1e4c8708a942a9f7e3e926046f1d49d7044cd22e3abcbf13b7b364626c613a2331987b9ec376ef2241e2a1939c0847f4df3bffa23db43e
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/excalibur-logger/excalibur-logger-2.1-r2.ebuild,v 1.3 2009/07/05 20:01:44 maekke Exp $
|
||||
|
||||
EAPI="2"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Logger from the Excalibur containerkit"
|
||||
HOMEPAGE="http://excalibur.apache.org/containerkit.html"
|
||||
SRC_URI="mirror://apache/${PN//-logger}/${PN}/source/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
# Needs 2.1 of avalon-logkit
|
||||
# which does not have the jms and javamail use flags
|
||||
# that are needed for this package to build
|
||||
CDEP="
|
||||
dev-java/avalon-logkit:2.0
|
||||
dev-java/avalon-framework:4.2
|
||||
dev-java/log4j:0
|
||||
dev-java/servletapi:2.4
|
||||
java-virtuals/javamail
|
||||
java-virtuals/jms"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${CDEP}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
${CDEP}"
|
||||
|
||||
java_prepare() {
|
||||
mkdir -p target/lib
|
||||
cd target/lib
|
||||
java-pkg_jar-from avalon-logkit-2.0
|
||||
java-pkg_jar-from avalon-framework-4.2
|
||||
java-pkg_jar-from log4j
|
||||
java-pkg_jar-from servletapi-2.4
|
||||
java-pkg_jar-from --virtual javamail
|
||||
java-pkg_jar-from --virtual jms
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar
|
||||
dodoc NOTICE.txt || die
|
||||
use doc && java-pkg_dojavadoc dist/docs/api
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,760 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-7.0.0_alpha2.ebuild,v 1.1 2015/06/29 17:11:51 olemarkus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/~ab/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
SRC_URI="${PHP_SRC_URI}"
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs"
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl debug
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mysql mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sysvipc systemd tidy +tokenizer truetype unicode vpx wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
DEPEND="
|
||||
>=app-eselect/eselect-php-0.7.1-r3[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||
<www-servers/apache-2.4[threads=] ) )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
!gd? (
|
||||
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
vpx? ( media-libs/libvpx )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
vpx? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
mysql? ( || ( mysqli pdo ) )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
if use_if_iuse opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> "${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
eautoreconf
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://bugs.php.net/bug.php?id=48795, bug #343481
|
||||
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}"/man
|
||||
--infodir="${PHP_DESTDIR}"/info
|
||||
--libdir="${PHP_DESTDIR}"/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl "${EPREFIX}"/usr)
|
||||
$(use_enable xml dom )
|
||||
$(use_with enchant enchant "${EPREFIX}"/usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext "${EPREFIX}"/usr)
|
||||
$(use_with gmp gmp "${EPREFIX}"/usr)
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash "${EPREFIX}"/usr)
|
||||
$(use_with iconv iconv $(use elibc_glibc || use elibc_musl || echo "${EPREFIX}"/usr))
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos "${EPREFIX}"/usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_with xml libxml-dir "${EPREFIX}"/usr)
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt "${EPREFIX}"/usr)
|
||||
$(use_with unicode onig "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_enable opcache opcache )
|
||||
$(use_with postgres pgsql "${EPREFIX}"/usr)
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell "${EPREFIX}"/usr)
|
||||
$(use_with recode recode "${EPREFIX}"/usr)
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp "${EPREFIX}"/usr)
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with systemd fpm-systemd)
|
||||
$(use_with tidy tidy "${EPREFIX}"/usr)
|
||||
$(use_enable tokenizer tokenizer )
|
||||
$(use_enable wddx wddx )
|
||||
$(use_enable xml xml )
|
||||
$(use_enable xmlreader xmlreader )
|
||||
$(use_enable xmlwriter xmlwriter )
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}"/usr)
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib "${EPREFIX}"/usr)
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_conf+="
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 ${EPREFIX}/usr)
|
||||
$(use_enable flatfile flatfile )
|
||||
$(use_with gdbm gdbm ${EPREFIX}/usr)
|
||||
$(use_enable inifile inifile )
|
||||
$(use_with qdbm qdbm ${EPREFIX}/usr)"
|
||||
|
||||
# Support for the GD graphics library
|
||||
my_conf+="
|
||||
$(use_with truetype freetype-dir ${EPREFIX}/usr)
|
||||
$(use_enable cjk gd-jis-conv )
|
||||
$(use_with gd jpeg-dir ${EPREFIX}/usr)
|
||||
$(use_with gd png-dir ${EPREFIX}/usr)
|
||||
$(use_with xpm xpm-dir ${EPREFIX}/usr)
|
||||
$(use_with vpx vpx-dir ${EPREFIX}/usr)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd)"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap ${EPREFIX}/usr)
|
||||
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap ${EPREFIX}/usr)
|
||||
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
|
||||
my_conf+=" $(use_with mysqli mysqli $mysqlilib)"
|
||||
|
||||
local mysqlsock=" $(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
if use mysql ; then
|
||||
my_conf+="${mysqlsock}"
|
||||
elif use mysqli ; then
|
||||
my_conf+="${mysqlsock}"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql ${mysqllib})
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline ${EPREFIX}/usr)
|
||||
$(use_with libedit libedit ${EPREFIX}/usr)"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm ${EPREFIX}/usr)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
my_conf="${my_conf} --with-pic"
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
my_conf="${my_conf} --with-pcre-regex=${EPREFIX}/usr --with-pcre-dir=${EPREFIX}/usr"
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_conf} ${EXTRA_ECONF:-}"
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
|
||||
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir /usr/share/php${PHP_MV}
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}"
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp${PHP_MV}$(get_libname)" "libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use_if_iuse opcache ; then
|
||||
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" \
|
||||
"20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" "php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" "php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5" # actually provided by app-eselect/eselect-php
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
|
||||
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect php cleanup
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
diff -r -U2 sbcl-1.2.13.orig/make.sh sbcl-1.2.13/make.sh
|
||||
--- sbcl-1.2.13.orig/make.sh 2015-06-29 01:24:03.000000000 +0600
|
||||
+++ sbcl-1.2.13/make.sh 2015-06-29 15:53:04.430927942 +0600
|
||||
@@ -25,5 +25,5 @@
|
||||
# any --xc-host parameter should be suitable for the host machine
|
||||
# instead of the target.
|
||||
-sh make-config.sh "$@" || exit $?
|
||||
+sh -x make-config.sh "$@" || exit $?
|
||||
|
||||
. output/prefix.def
|
||||
@@ -70,9 +70,9 @@
|
||||
# and the make-target-*.sh scripts will take care of transferring the
|
||||
# necessary files.
|
||||
-time sh make-host-1.sh
|
||||
-time sh make-target-1.sh
|
||||
-time sh make-host-2.sh
|
||||
-time sh make-target-2.sh
|
||||
-time sh make-target-contrib.sh
|
||||
+time sh -x make-host-1.sh
|
||||
+time sh -x make-target-1.sh
|
||||
+time sh -x make-host-2.sh
|
||||
+time sh -x make-target-2.sh
|
||||
+time sh -x make-target-contrib.sh
|
||||
|
||||
NCONTRIBS=`find contrib -name Makefile -print | wc -l`
|
@ -0,0 +1,236 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.2.13.ebuild,v 1.1 2015/06/29 10:54:23 grozin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit multilib eutils flag-o-matic pax-utils
|
||||
|
||||
#same order as http://www.sbcl.org/platform-table.html
|
||||
BV_X86=1.2.7
|
||||
BV_AMD64=1.2.13
|
||||
BV_PPC=1.2.7
|
||||
BV_SPARC=1.0.28
|
||||
BV_ALPHA=1.0.28
|
||||
BV_ARM=1.2.7
|
||||
BV_PPC_MACOS=1.0.47
|
||||
BV_X86_MACOS=1.1.6
|
||||
BV_X64_MACOS=1.1.8
|
||||
BV_SPARC_SOLARIS=1.0.23
|
||||
BV_X86_SOLARIS=1.2.7
|
||||
BV_X64_SOLARIS=1.2.7
|
||||
|
||||
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
|
||||
HOMEPAGE="http://sbcl.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
|
||||
x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
|
||||
amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
|
||||
ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
|
||||
sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
|
||||
alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
|
||||
arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 )
|
||||
ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )
|
||||
x86-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_MACOS}-x86-darwin-binary.tar.bz2 )
|
||||
x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 )
|
||||
sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )
|
||||
x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 )
|
||||
x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="debug doc source +threads +unicode pax_kernel zlib"
|
||||
|
||||
CDEPEND=">=dev-lisp/asdf-3.1:="
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
|
||||
pax_kernel? ( sys-apps/paxctl sys-apps/elfix )"
|
||||
RDEPEND="${CDEPEND}
|
||||
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )"
|
||||
|
||||
# Disable warnings about executable stacks, as this won't be fixed soon by upstream
|
||||
QA_EXECSTACK="usr/bin/sbcl"
|
||||
|
||||
CONFIG="${S}/customize-target-features.lisp"
|
||||
ENVD="${T}/50sbcl"
|
||||
|
||||
# Prevent ASDF from using the system libraries
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
|
||||
|
||||
usep() {
|
||||
use ${1} && echo "true" || echo "false"
|
||||
}
|
||||
|
||||
sbcl_feature() {
|
||||
echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
|
||||
}
|
||||
|
||||
sbcl_apply_features() {
|
||||
sed 's/^X//' > "${CONFIG}" <<-'EOF'
|
||||
(lambda (list)
|
||||
X (flet ((enable (x) (pushnew x list))
|
||||
X (disable (x) (setf list (remove x list))))
|
||||
EOF
|
||||
if use x86 || use amd64; then
|
||||
sbcl_feature "$(usep threads)" ":sb-thread"
|
||||
fi
|
||||
sbcl_feature "true" ":sb-ldb"
|
||||
sbcl_feature "false" ":sb-test"
|
||||
sbcl_feature "$(usep unicode)" ":sb-unicode"
|
||||
sbcl_feature "$(usep zlib)" ":sb-core-compression"
|
||||
sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
|
||||
sed 's/^X//' >> "${CONFIG}" <<-'EOF'
|
||||
X )
|
||||
X list)
|
||||
EOF
|
||||
cat "${CONFIG}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv sbcl-*-* sbcl-binary || die
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/gentoo-fix_install_man.patch
|
||||
# bug #468482
|
||||
epatch "${FILESDIR}"/concurrency-test-1.2.6.patch
|
||||
# bugs #486552, #527666, #517004
|
||||
epatch "${FILESDIR}"/bsd-sockets-test-1.2.11.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.2.11-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.2.13-verbose-build.patch
|
||||
|
||||
# To make the hardened compiler NOT compile with -fPIE -pie
|
||||
if gcc-specs-pie ; then
|
||||
einfo "Disabling PIE..."
|
||||
epatch "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
|
||||
fi
|
||||
|
||||
# bug #526194
|
||||
sed -e "s@CFLAGS =.*\$@CFLAGS = ${CFLAGS} -g -Wall -Wsign-compare@" \
|
||||
-e "s@LINKFLAGS =.*\$@LINKFLAGS = ${LDFLAGS} -g@" \
|
||||
-i src/runtime/GNUmakefile || die
|
||||
|
||||
sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \
|
||||
-i make-config.sh || die
|
||||
|
||||
cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
|
||||
|
||||
use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
|
||||
|
||||
# Some shells(such as dash) don't have "time" as builtin
|
||||
# and we don't want to DEPEND on sys-process/time
|
||||
sed "s,^time ,," -i make.sh || die
|
||||
sed "s,/lib,/$(get_libdir),g" -i install.sh || die
|
||||
# #define SBCL_HOME ...
|
||||
sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
|
||||
# change location of /etc/sbclrc ...
|
||||
sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die
|
||||
|
||||
find . -type f -name .cvsignore -delete
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# customizing SBCL version as per
|
||||
# http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
|
||||
echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
|
||||
|
||||
# applying customizations
|
||||
sbcl_apply_features
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bindir="${WORKDIR}"/sbcl-binary
|
||||
|
||||
strip-unsupported-flags ; filter-flags -fomit-frame-pointer
|
||||
|
||||
if host-is-pax ; then
|
||||
# To disable PaX on hardened systems
|
||||
pax-mark -mr "${bindir}"/src/runtime/sbcl
|
||||
|
||||
# Hack to disable PaX on second GENESIS stage
|
||||
sed -i -e '/^[ \t]*echo \/\/doing warm init - compilation phase$/a\ paxmark.sh -mr \.\/src\/runtime\/sbcl' \
|
||||
"${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
|
||||
fi
|
||||
|
||||
# clear the environment to get rid of non-ASCII strings, see bug 174702
|
||||
# set HOME for paludis
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
|
||||
CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||
GNUMAKE=make ./make.sh \
|
||||
"sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
|
||||
|| die "make failed"
|
||||
|
||||
# need to set HOME because libpango(used by graphviz) complains about it
|
||||
if use doc; then
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/manual info html || die "Cannot build manual"
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/internals info html || die "Cannot build internal docs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ewarn "Unfortunately, it is known that some tests fail eg."
|
||||
ewarn "run-program.impure.lisp. This is an issue of the upstream's"
|
||||
ewarn "development and not of Gentoo's side. Please, before filing"
|
||||
ewarn "any bug(s) search for older submissions. Thank you."
|
||||
time ( cd tests && sh run-tests.sh )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install system-wide initfile
|
||||
dodir /etc/
|
||||
sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF
|
||||
;;; The following is required if you want source location functions to
|
||||
;;; work in SLIME, for example.
|
||||
X
|
||||
(setf (logical-pathname-translations "SYS")
|
||||
X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*")
|
||||
X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*")))
|
||||
X
|
||||
;;; Setup ASDF2
|
||||
(load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp")
|
||||
EOF
|
||||
|
||||
# Install documentation
|
||||
unset SBCL_HOME
|
||||
INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \
|
||||
sh install.sh || die "install.sh failed"
|
||||
|
||||
# bug #517008
|
||||
pax-mark -mr "${D}"/usr/bin/sbcl
|
||||
|
||||
# rm empty directories lest paludis complain about this
|
||||
find "${ED}" -empty -type d -exec rmdir -v {} +
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/manual/
|
||||
doinfo doc/manual/*.info*
|
||||
dohtml -r doc/internals/sbcl-internals
|
||||
doinfo doc/internals/sbcl-internals.info
|
||||
docinto internals-notes && dodoc doc/internals-notes/*
|
||||
else
|
||||
rm -Rv "${ED}/usr/share/doc/${PF}" || die
|
||||
fi
|
||||
|
||||
dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
|
||||
|
||||
# install the SBCL source
|
||||
if use source; then
|
||||
./clean.sh
|
||||
cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die
|
||||
fi
|
||||
|
||||
# necessary for running newly-saved images
|
||||
echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}"
|
||||
echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
|
||||
doenvd "${ENVD}"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST ocamlnet-3.7.7.tar.gz 3357674 SHA256 5b8e464a874018c5e48fc1edc752b83e014061f19316b5b14df8422d939e7609 SHA512 b500a92e6c5dc4d96ac26352923d78cb3a8b555deda038c41860aecbd20ee9ccbcfee949014c91f1266c937ae03fadd72c322e3cbe6456d23fd20b871114df6a WHIRLPOOL ceb4a9fc5d43fe89487589ae14c4bdf58d6c3d99d3a9ebc07fa722e894106899a2ae2aca91a47338d8004017fdd0d23632e187d96ec51479b43955daddbbb893
|
||||
DIST ocamlnet-4.0.2.tar.gz 4604051 SHA256 586e10b00ab1a60eaa5a10dd9bcf51487c7b657b65f093a2afdf8f24d3389f31 SHA512 d28615fcef5b73d857e9e3f637195dbd787631997c5594a589a5b1192f2cb6e61a3271b4872045dbdee9074ca892731ce66fa5e0d9efcdda6f96319a0c6049a6 WHIRLPOOL f01a2165ebaff143f9cacce28c80721e2f7d11b1577a39bf18ddfa7483d72308d36395c32f12f9cabc3295e1c1eaaa813f4d8f96425cfc4876097656682164b7
|
||||
DIST ocamlnet-4.0.3.tar.gz 4334416 SHA256 d3b030715fe2c5f395ff9c08f0a8d3baa8830161300ba29e5aa8fabb92b182c1 SHA512 3d0900bc73325433af59718c0168d7e13f49c3d6d0d330826e9b1fbe8c9b97b5289c3f063e9523e3a25155d8ef54117a1d458509bb0073b05a6442525cd45a86 WHIRLPOOL 7db6ee225a269de5290fd4473b3d61b357a425a2f597e770158e54c9844de5fd2e0c556fb736fd8e0e66606b267251f6c932c79d63e1550f7da36c843767cd11
|
||||
DIST ocamlnet-4.0.4.tar.gz 4336176 SHA256 becaa6c2b0c1ae6a3fb05139928442e5d4a685ea5033017060a86d70114e5f72 SHA512 f3bce94d43161e46bf0973bfbe0d9d5d7232136a24a27b987ae371a7aab129720df35bd0d6ef75126d587ee1fde56fe29d05bc44840724adf3be50ac250e7c85 WHIRLPOOL 34985fa9a49a60d6e671645a73533d6284b87205d63956265e631195ab117afdc6b41347e72f92d8cab711aef35db0c78a8989c955507dac66e8174ec6cb0242
|
||||
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ocamlnet-4.0.4.ebuild,v 1.1 2015/06/29 09:06:44 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils findlib
|
||||
|
||||
MY_P=${P/_beta/test}
|
||||
DESCRIPTION="Modules for OCaml application-level Internet protocols"
|
||||
HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html"
|
||||
SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB GPL-2+"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="gtk kerberos tk httpd +ocamlopt +pcre ssl zip"
|
||||
RESTRICT="installsources"
|
||||
|
||||
# the auth-dh compile flag has been disabled as well, since it depends on
|
||||
# ocaml-cryptgps, which is not available.
|
||||
|
||||
RDEPEND=">=dev-ml/findlib-1.0
|
||||
pcre? ( >=dev-ml/pcre-ocaml-5:= )
|
||||
>=dev-lang/ocaml-3.10.2:=[ocamlopt?]
|
||||
tk? ( || ( dev-ml/labltk:= <dev-lang/ocaml-4.02[tk] ) )
|
||||
ssl? ( net-libs/gnutls:= )
|
||||
gtk? ( >=dev-ml/lablgtk-2:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
zip? ( dev-ml/camlzip:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
ocamlnet_use_with() {
|
||||
if use $1; then
|
||||
echo "-with-$2"
|
||||
else
|
||||
echo "-without-$2"
|
||||
fi
|
||||
}
|
||||
|
||||
ocamlnet_use_enable() {
|
||||
if use $1; then
|
||||
echo "-enable-$2"
|
||||
else
|
||||
echo "-disable-$2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
-bindir /usr/bin \
|
||||
-datadir /usr/share/${PN} \
|
||||
$(ocamlnet_use_enable ssl gnutls) \
|
||||
$(ocamlnet_use_enable gtk gtk2) \
|
||||
$(ocamlnet_use_enable kerberos gssapi) \
|
||||
$(ocamlnet_use_enable pcre pcre) \
|
||||
$(ocamlnet_use_enable tk tcl) \
|
||||
$(ocamlnet_use_enable zip zip) \
|
||||
$(ocamlnet_use_with httpd nethttpd) \
|
||||
|| die "Error : econf failed!"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 all
|
||||
if use ocamlopt; then
|
||||
emake -j1 opt
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export STRIP_MASK="*/bin/*"
|
||||
findlib_src_install
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST utop-1.11.tar.gz 102730 SHA256 07dff727de3db9b9014f7ece3e94f044b50f9f0896e982c99efaa5199d4ccf2d SHA512 b26513f081e1ef6a139d74ca63b7d96a16d89a03d2dd42ccb4bc21463104184147c636bf26e44116fbba2330b8116ff9ee884fcc042fac89356f65ac2b133a92 WHIRLPOOL 4f0ca27eae1d2bc5a382d35b4bcfd4ad0ab581727df700047a9b71dc15a8b609ee5262911216456cea7f7e7b45a3f441fe80288a67e18283eb13e11d2f9a12b0
|
||||
DIST utop-1.16.tar.gz 99563 SHA256 f2d0a2cc8ab74dbbec3e9b3f83eea097a8da482c3831392741657b16093a129d SHA512 a374d1974bd1c6a30544938dc3d19d10e38363f0ad51563fd151752cc2b2cbe4e9a0a782263daf93b58631d7c105f81f52767341a684e3efed2397056c7b993a WHIRLPOOL f53700540f3a068f0dba72b7511d607fafb5505b2cabeaad2ede8c69eba2c7d2c3949f266c23b35deab1500075ba7c727a9db7178ae72395f4c67a9d92dc3d65
|
||||
DIST utop-1.18.tar.gz 101673 SHA256 157f3883a3daf379ba7d67118e1e2a4d2d73e9c3461fe82219dff4fe662272a1 SHA512 b352ad9a91c1ad5214a7689ca2d71ae41c2891ea240d41620ce2778f10380116709e2d2575f56d972bb038eb0c2333253c2fd3482be1eb145b976a2922175086 WHIRLPOOL ffa1c46f90b66dca4c2c3d95a9abac4ba4a2087b2121a4eb7b3daeccae550db82f0894dedcc9169d5ec9fec83ccd2de727374664bb0f49ea4151fad28018e68a
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/utop/utop-1.18.ebuild,v 1.1 2015/06/29 09:23:24 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
OASIS_BUILD_DOCS=1
|
||||
inherit oasis elisp-common
|
||||
|
||||
DESCRIPTION="A new toplevel for OCaml with completion and colorization"
|
||||
HOMEPAGE="http://github.com/diml/utop"
|
||||
SRC_URI="http://github.com/diml/utop/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="camlp4 emacs"
|
||||
|
||||
DEPEND=">=dev-ml/lwt-2.4.0:=[react]
|
||||
>=dev-ml/lambda-term-1.2:=
|
||||
>=dev-ml/zed-1.2:=
|
||||
>=dev-ml/cppo-1.0.1:=
|
||||
emacs? ( virtual/emacs )
|
||||
camlp4? ( || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 ) )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( "CHANGES.md" "README.md" )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s/(\"utop.el.*)//" setup.ml
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
oasis_configure_opts="$(use_enable camlp4)" \
|
||||
oasis_src_configure
|
||||
}
|
||||
src_compile() {
|
||||
oasis_src_compile
|
||||
if use emacs; then
|
||||
elisp-compile src/top/*.el
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
oasis_src_install
|
||||
if use emacs; then
|
||||
elisp-install "${PN}" src/top/*.el src/top/*.elc || die
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST keystonemiddleware-1.5.0.tar.gz 176315 SHA256 73e98aab8bceb7843b6cc8aba2cbff824a379428519e2f9ffbb8e32578b38fe8 SHA512 365643f7eba633587d8055204df04cfb40bdcc28c57d7ecf8c4ed67803b9b027b6334f868a1bc634d9beefd7410d74da08a7ed599637ec1656e6ef6196043dab WHIRLPOOL da7014869d3fc1ac5339671344542e33c22ac07adfb76ad00144cdcf4e1e26c60eea7ca7867cea6c6e105af1d05be64eff7d55ae1b3cf5114597da966b756b55
|
||||
DIST keystonemiddleware-1.5.2.tar.gz 176172 SHA256 5f443162157946d2f33c4729d0bde55291f12963b0f1ee553984aedd8a509d51 SHA512 172143f2e80860de3d89f53667bf670c1986cfc63a21392bf977b3beaa5669db76f46997d6939952856cb4abc970b57920810980d00db7e7cd711bdbede5908e WHIRLPOOL 99a4553778b5dae07a710e78f816c8b30def42bfc7024cac7d6be8d8b6f76326383ed72935c6526758ac65fb26945937869985cba167d8804fe3a7cf2e3c4208
|
||||
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/keystonemiddleware/keystonemiddleware-1.5.2.ebuild,v 1.1 2015/06/29 16:47:57 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
#PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A middleware for the OpenStack Keystone API"
|
||||
HOMEPAGE="https://github.com/openstack/keystonemiddleware"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.8[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/hacking-0.10[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-sphinx-2.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.5.1[${PYTHON_USEDEP}]
|
||||
<dev-python/oslotest-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-messaging-1.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-messaging-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
|
||||
!~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-memcached-1.48[$(python_gen_usedep 'python2*')]
|
||||
)"
|
||||
|
||||
RDEPEND=">=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.9.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-config-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-context-0.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-context-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-i18n-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-serialization-1.4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-serialization-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-1.4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-utils-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycadf-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pycadf-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-1.1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/python-keystoneclient-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.2.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/cve-2015-1852-master-keystonemiddleware.patch"
|
||||
)
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run || die "testsuite failed under python2.7"
|
||||
flake8 ${PN/python-/}/tests || die "run over tests folder by flake8 drew error"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
use examples && local EXAMPLES=( examples/.)
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/oslo-serialization/oslo-serialization-1.0.0-r1.ebuild,v 1.1 2015/06/29 16:53:15 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN/-/.}
|
||||
|
||||
DESCRIPTION="oslo.serialization library"
|
||||
HOMEPAGE="https://launchpad.net/oslo"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
# Note: not in tree
|
||||
#test? ( <dev-python/hacking-0.8[${PYTHON_USEDEP}] )
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/hacking-0.5.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/simplejson-2.2.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
>=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
# Note: Tests fail due to requiring installation.
|
||||
#
|
||||
# Installation appears to fail due ot the use of namespace packages but root
|
||||
# cause was never truly established.
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
|
||||
PYTHONPATH="${TEST_DIR}/lib:${PYTHONPATH}"
|
||||
|
||||
rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}"
|
||||
|
||||
testr init || die "testr init failed under ${EPYTHON}"
|
||||
testr run || die "testr run failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pgmagick/pgmagick-0.5.11.ebuild,v 1.1 2015/06/29 06:33:25 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Yet another boost.python based wrapper for GraphicsMagick"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/pgmagick/ http://bitbucket.org/hhatto/pgmagick/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="media-gfx/graphicsmagick[cxx]
|
||||
dev-libs/boost:=[python,${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND}
|
||||
media-fonts/corefonts )"
|
||||
|
||||
python_test() {
|
||||
# https://bitbucket.org/hhatto/pgmagick/issue/46/
|
||||
for test in test/test_*.py; do
|
||||
"${PYTHON}" $test
|
||||
done
|
||||
}
|
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-1.1.1.ebuild,v 1.1 2015/06/29 16:57:35 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Client Library for OpenStack Identity"
|
||||
HOMEPAGE="https://github.com/openstack/python-keystoneclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
|
||||
# Note: blacklist version not in portage:
|
||||
#doc? ( !~dev-python/sphinx-1.3_preb1[${PYTHON_USEDEP}] )
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pbr-0.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
TCDEPEND="
|
||||
>=dev-python/lxml-2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-0.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
${TCDEPEND}
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/keyring-2.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/keyring-3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauthlib-0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
|
||||
!~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
${TCDEPEND}
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-serialization-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.2.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/keystoneclient-1.0.0-cve-2015-1852.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=TRUE
|
||||
|
||||
rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
|
||||
|
||||
testr init || die "testr init failed under ${EPYTHON}"
|
||||
testr run || die "testr run failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-0.9.7.ebuild,v 1.7 2015/03/20 00:11:25 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
PYTHON_REQ_USE="sqlite?"
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
MY_PN="SQLAlchemy"
|
||||
MY_P="${MY_PN}-${PV/_}"
|
||||
|
||||
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
|
||||
HOMEPAGE="http://www.sqlalchemy.org/ http://pypi.python.org/pypi/SQLAlchemy"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc examples +sqlite test"
|
||||
REQUIRED_USE="test? ( sqlite )"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
)"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PV}-test-fix.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests hardcoding function call counts specific to Python versions.
|
||||
rm -r test/aaa_profiling || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Create copies of necessary files in BUILD_DIR.
|
||||
# https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
|
||||
cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
|
||||
pushd "${BUILD_DIR}" > /dev/null
|
||||
if [[ "${EPYTHON}" == "python3.2" ]]; then
|
||||
2to3 --no-diffs -w test
|
||||
fi
|
||||
# Recently upstream elected to make the testsuite also pytest capable
|
||||
# "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
|
||||
py.test test || die "Testsuite failed under ${EPYTHON}"
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( doc/. )
|
||||
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
if ! has_version dev-python/mysql-python; then
|
||||
elog "For MySQL support, install dev-python/mysql-python"
|
||||
fi
|
||||
|
||||
if ! has_version dev-python/pymssql; then
|
||||
elog "For mssql support, install dev-python/pymssql"
|
||||
fi
|
||||
|
||||
if ! has_version dev-python/psycopg:2; then
|
||||
elog "For postgresql support, install dev-python/psycopg:2"
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-1.0.3.ebuild,v 1.1 2015/05/05 05:44:04 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
PYTHON_REQ_USE="sqlite?"
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
MY_PN="SQLAlchemy"
|
||||
MY_P="${MY_PN}-${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
|
||||
HOMEPAGE="http://www.sqlalchemy.org/ http://pypi.python.org/pypi/SQLAlchemy"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc examples +sqlite test"
|
||||
REQUIRED_USE="test? ( sqlite )"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
)"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests hardcoding function call counts specific to Python versions.
|
||||
rm -r test/aaa_profiling || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Create copies of necessary files in BUILD_DIR.
|
||||
# https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
|
||||
cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
|
||||
pushd "${BUILD_DIR}" > /dev/null
|
||||
if [[ "${EPYTHON}" == "python3.2" ]]; then
|
||||
2to3 --no-diffs -w test
|
||||
fi
|
||||
# Recently upstream elected to make the testsuite also pytest capable
|
||||
# "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
|
||||
py.test test || die "Testsuite failed under ${EPYTHON}"
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( doc/. )
|
||||
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
if ! has_version dev-python/mysql-python; then
|
||||
elog "For MySQL support, install dev-python/mysql-python"
|
||||
fi
|
||||
|
||||
if ! has_version dev-python/pymssql; then
|
||||
elog "For mssql support, install dev-python/pymssql"
|
||||
fi
|
||||
|
||||
if ! has_version dev-python/psycopg:2; then
|
||||
elog "For postgresql support, install dev-python/psycopg:2"
|
||||
fi
|
||||
fi
|
||||
|
||||
elog "mysql backend support can be enabled by installing mysql-python for cpython py2.7 only,"
|
||||
elog "or mysql-connector-python for support of cpythons 2.7 3.3 and 3.4"
|
||||
}
|
@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-1.0.4.ebuild,v 1.1 2015/05/26 02:29:17 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
PYTHON_REQ_USE="sqlite?"
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
MY_PN="SQLAlchemy"
|
||||
MY_P="${MY_PN}-${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
|
||||
HOMEPAGE="http://www.sqlalchemy.org/ http://pypi.python.org/pypi/SQLAlchemy"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc examples +sqlite test"
|
||||
REQUIRED_USE="test? ( sqlite )"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
)"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests hardcoding function call counts specific to Python versions.
|
||||
rm -r test/aaa_profiling || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Create copies of necessary files in BUILD_DIR.
|
||||
# https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
|
||||
cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
|
||||
pushd "${BUILD_DIR}" > /dev/null
|
||||
if [[ "${EPYTHON}" == "python3.2" ]]; then
|
||||
2to3 --no-diffs -w test
|
||||
fi
|
||||
# Recently upstream elected to make the testsuite also pytest capable
|
||||
# "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
|
||||
py.test test || die "Testsuite failed under ${EPYTHON}"
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( doc/. )
|
||||
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
if ! has_version dev-python/mysql-python; then
|
||||
elog "For MySQL support, install dev-python/mysql-python"
|
||||
fi
|
||||
|
||||
if ! has_version dev-python/pymssql; then
|
||||
elog "For mssql support, install dev-python/pymssql"
|
||||
fi
|
||||
|
||||
if ! has_version dev-python/psycopg:2; then
|
||||
elog "For postgresql support, install dev-python/psycopg:2"
|
||||
fi
|
||||
fi
|
||||
|
||||
elog "mysql backend support can be enabled by installing mysql-python for cpython py2.7 only,"
|
||||
elog "or mysql-connector-python for support of cpythons 2.7 3.3 and 3.4"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-1.0.0.ebuild,v 1.1 2015/04/17 08:46:38 patrick Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-1.0.6.ebuild,v 1.1 2015/06/29 07:13:08 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
@ -1,3 +1,4 @@
|
||||
DIST twitter-1.14.3.tar.gz 39538 SHA256 497fce2168cb57d5651932a39b70fc0c9304bebd53558107995102bca49210da SHA512 821af749b34d01319630388cb287af88f1e516d8d6117088e63d988cf2a397a70c2770df2e1f208bcfa9a18224aae98e7c2a6bb62b4fc8653e2bceed7f39a92c WHIRLPOOL 6ec6fa7a124aeceedc5a58a89f7ff5a6fed6d6f09993dbb3e581b7ef55810440390b8d8b22e4139aa7a770f203c065c2a75a149ff7d025491c7e11b3be97a00f
|
||||
DIST twitter-1.15.0.tar.gz 41074 SHA256 4c7079231c0826f3a4e8e28f9384ff928813ed2527a059c86074a695e309cbd4 SHA512 a0e97a9123afb19c3a57d2cfe0383aa87a8d1bd681a99895414bc304279bb3d638ddb14c9d01906f3ae78562a5447f027cad4e68175d1d3cdb6f408bcccef213 WHIRLPOOL 0a2aa6c7cd7cbc4e9e90eb5cb0edd5634df8dc5b4d721d8e3311b7113b6ae2347a2b7e3e7dadba003dfe42e03b7462d49f9e31909744cb3c206aa4169ffdb3c9
|
||||
DIST twitter-1.16.0.tar.gz 42597 SHA256 92a4c13570806cf3ae2aab10ff97000c1aa7fcc0ed5740ca1df01346642e3ec3 SHA512 090b8fc4a535d2b9be290e84a46b3d478e876fb4c9423266f385f33c5e325e1b9cbf8af039ac5066e7fca4f431abf2c64046af9ebd7a5884b5b2775292437246 WHIRLPOOL 4f2249a31f560e2e07d77a11366df68d1fa3f79cfa8e2fb2ec338a4278834ece111056089edaa4a58292678f243b4ef2fbb38acb59c2a83f5ce46776360f287f
|
||||
DIST twitter-1.17.0.tar.gz 42869 SHA256 85396c4c33b9b213f3d2d805caaf6b386b9e277af9117eb51e5a782f77257376 SHA512 26acaa2d608c09d749d95d27fb51f76df4bd4358d0f49ea5afe8ca0db0d06873d265d67c23858e26d8ce513041adaa0445221b09b0353c3508328e8715d1280c WHIRLPOOL 8196ad84473d24c3c55d342deae7c2dd7c0438be03749159a0488250d9fea2e99b54a1e13c3661cd8fc17c7484308b269611ec2b6dfe4262820173bb549c8408
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twitter/twitter-1.17.0.ebuild,v 1.1 2015/06/29 07:23:56 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An API and command-line toolset for Twitter (twitter.com)"
|
||||
HOMEPAGE="http://mike.verdone.ca/twitter/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
@ -1 +1,2 @@
|
||||
DIST qt-solutions-20130904.tar.xz 751536 SHA256 fc27b49883269a21ced2d3cb543eb78e79223afe5933bbc7d3194146f72f8884 SHA512 9e50d0a7d9fee08a72a3c6dee1d3fe45d04ae0930a967d81eff457f6c0ff53ac8449ef1d8241a5ce75ca2dcf9f4a2fe27b899647748d11060c3ab5767c3d0e75 WHIRLPOOL b933a301de905cffab8393a7adf055ed2f5198f1572657f5993e016746340d9862017982308ac11310add272ae1cd5c3435054dce2dd9d7ee5a9c92baf1878c2
|
||||
DIST qt-solutions-20150629.tar.xz 710488 SHA256 cfa88a67c8396878eaa98f39b7648482fabb73988549cc404816c29212cf6503 SHA512 a95ed58f0218cd90d734a40eedd173b896fa0138ad235f3157d7bee538b16c5f385d93bae483fd22267f2984389b9940bb85ba0cd3d25c16124d56abb39568f5 WHIRLPOOL 23a273cfa2d0bc3834487c9e325c73d0038877c5a5085493ceb37ee5dc03cc4d2cddf4f46f5a89045fcbfe7f6dd03b678d56f3167fb750374d44879f11ded8b7
|
||||
|
@ -1 +1,2 @@
|
||||
DIST qt-solutions-20130904.tar.xz 751536 SHA256 fc27b49883269a21ced2d3cb543eb78e79223afe5933bbc7d3194146f72f8884 SHA512 9e50d0a7d9fee08a72a3c6dee1d3fe45d04ae0930a967d81eff457f6c0ff53ac8449ef1d8241a5ce75ca2dcf9f4a2fe27b899647748d11060c3ab5767c3d0e75 WHIRLPOOL b933a301de905cffab8393a7adf055ed2f5198f1572657f5993e016746340d9862017982308ac11310add272ae1cd5c3435054dce2dd9d7ee5a9c92baf1878c2
|
||||
DIST qt-solutions-20150629.tar.xz 710488 SHA256 cfa88a67c8396878eaa98f39b7648482fabb73988549cc404816c29212cf6503 SHA512 a95ed58f0218cd90d734a40eedd173b896fa0138ad235f3157d7bee538b16c5f385d93bae483fd22267f2984389b9940bb85ba0cd3d25c16124d56abb39568f5 WHIRLPOOL 23a273cfa2d0bc3834487c9e325c73d0038877c5a5085493ceb37ee5dc03cc4d2cddf4f46f5a89045fcbfe7f6dd03b678d56f3167fb750374d44879f11ded8b7
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST courier-0.71.tar.bz2 7117940 SHA256 e06058ed6163bd7e706517ad183fb26faba00ff0ad649557123e5f33f265ebcd SHA512 08b02b006c978c4e1d12241d3f687a201e65afbd6a7ca49f10c77c4ddad0b1d89bb43169b1eb7cd90af30117ffa13911794da3f7dec3429c36b4bc3a9cf3cac8 WHIRLPOOL 47b1d5c4adbd1b387a2a2d412f7d55cc661b517e72bc7a29bec07c098dd5efffe91fa85c9ecae701049e0c08a7d4b1d1b777d24befe1103ad079eb9e8dd1e61c
|
||||
DIST courier-0.74.0.tar.bz2 6952034 SHA256 13865f9e21ed8b6786323aa228892a32593918b55379fbdb4f3fbc65425b6859 SHA512 df96ca0d47d0d3f118944e865eff880b2f42959ef5f62fa48c9c9a0948c431cc6911dac2f93ed0a7a22602de123676ad6076b01055ad773966134b3b6840a847 WHIRLPOOL ef0940506341f2f709ba61698ad2d34b47e28f7d9232d8e7c1de395380e43524dc03263efcd304b690aca14b125c7249c915d062e410560421a0572978786903
|
||||
DIST courier-0.74.1.tar.bz2 6951633 SHA256 b373c2b189affa01e8c2cfe9f60e6262bbcd98afa4e927b7fbbd68f478661ae6 SHA512 bcbb2a5b80c5e240587a75c7bb61c5620c7b43dc0bf707c8be5403856a125dfd18094b244d475f7d373f035df09c5b537e440815b5cca37afe6553e23117513a WHIRLPOOL c9e83048f920744babd1268a6804a5fcda834f4c6cf6cdc456402467567b93c7e773e57c1239a72662dd1eeab4494596b309a60071a06b2779a074981f913c3b
|
||||
DIST courier-0.75.0.tar.bz2 6970339 SHA256 2571a5b938649681ee98a2dc137f088aae0fd584cca3adf2dde1d826185406cc SHA512 37e66329f157e18176d4ac8c5e814be78e80ff7dec234886bec8dce2ae5c58ac68bc18e07c739295c25fae8ec778b162bab505d85ea0998db7192d52c47e7bc6 WHIRLPOOL 8cfd184beddb48e7e6efab4917372ec331d3e08f608abc6257ed408df96e100cf28226665fe1018b24e00e4336d705417484a6d890f11a6feb84045d9f969e17
|
||||
|
@ -0,0 +1,311 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/courier/courier-0.75.0.ebuild,v 1.1 2015/06/29 10:26:49 hanno Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="An MTA designed specifically for maildirs"
|
||||
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
|
||||
HOMEPAGE="http://www.courier-mta.org/"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
# not in keywords due to missing dependencies:
|
||||
# ~s390 ~ppc64 ~alpha ~ia64 ~sparc ~x86
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86"
|
||||
IUSE="postgres ldap mysql pam nls ipv6 spell fax crypt norewrite \
|
||||
fam web webmail gnutls"
|
||||
|
||||
DEPEND="
|
||||
>=net-libs/courier-authlib-0.66.3
|
||||
>=net-libs/courier-unicode-1.3
|
||||
!gnutls? ( dev-libs/openssl:= )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
>=sys-libs/gdbm-1.8.0
|
||||
dev-libs/libpcre
|
||||
app-misc/mime-types
|
||||
fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 )
|
||||
pam? ( virtual/pam )
|
||||
mysql? ( virtual/mysql )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
postgres? ( dev-db/postgresql:= )
|
||||
spell? ( app-text/aspell )
|
||||
fam? ( virtual/fam )
|
||||
!mail-filter/maildrop
|
||||
!mail-mta/esmtp
|
||||
!mail-mta/exim
|
||||
!mail-mta/mini-qmail
|
||||
!mail-mta/msmtp
|
||||
!mail-mta/netqmail
|
||||
!mail-mta/nullmailer
|
||||
!mail-mta/postfix
|
||||
!mail-mta/qmail-ldap
|
||||
!mail-mta/sendmail
|
||||
!mail-mta/ssmtp
|
||||
!mail-mta/opensmtpd
|
||||
!net-mail/dot-forward
|
||||
!sys-apps/ucspi-tcp
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
dev-lang/perl
|
||||
sys-process/procps"
|
||||
|
||||
# get rid of old style virtual/imapd - bug 350792
|
||||
# all blockers really needed?
|
||||
RDEPEND="${RDEPEND}
|
||||
!net-mail/bincimap
|
||||
!net-mail/courier-imap
|
||||
!net-mail/cyrus-imapd
|
||||
!net-mail/uw-imap"
|
||||
|
||||
PDEPEND="pam? ( net-mail/mailbase )
|
||||
crypt? ( >=app-crypt/gnupg-1.0.4 )"
|
||||
|
||||
src_prepare() {
|
||||
# unpack ${A}
|
||||
# cd "${S}"
|
||||
use norewrite && epatch "${FILESDIR}/norewrite.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags '-fomit-frame-pointer'
|
||||
|
||||
local myconf
|
||||
myconf=""
|
||||
|
||||
use ldap && myconf="${myconf} --with-ldapconfig=/etc/courier/maildropldap.conf"
|
||||
|
||||
econf ${myconf} \
|
||||
$(use_with fam) \
|
||||
$(use_with ipv6) \
|
||||
$(use_with spell ispell) \
|
||||
$(use_with ldap ldapaliasd) \
|
||||
$(use_enable ldap maildroldap) \
|
||||
$(use_with gnutls) \
|
||||
--enable-mimetypes=/etc/mime.types \
|
||||
--prefix=/usr \
|
||||
--disable-root-check \
|
||||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc/courier \
|
||||
--libexecdir=/usr/$(get_libdir)/courier \
|
||||
--datadir=/usr/share/courier \
|
||||
--sharedstatedir=/var/lib/courier/com \
|
||||
--localstatedir=/var/lib/courier \
|
||||
--with-piddir=/var/run/courier \
|
||||
--with-authdaemonvar=/var/lib/courier/authdaemon \
|
||||
--with-mailuser=mail \
|
||||
--with-mailgroup=mail \
|
||||
--with-paranoid-smtpext \
|
||||
--with-db=gdbm \
|
||||
--disable-autorenamesent \
|
||||
--cache-file="${S}/configuring.cache" \
|
||||
--host="${CHOST}" debug=true || die "./configure"
|
||||
sed -e'/^install-perms-local:/a\ sed -e\"s|^|'"${D}"'|g\" -i permissions.dat' -i Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
etc_courier() {
|
||||
# Import existing /etc/courier/file if it exists.
|
||||
# Add option only if it was not already set or even commented out
|
||||
file="${1}" ; word="`echo \"${2}\" | sed -e\"s|=.*$||\" -e\"s|^.*opt ||\"`"
|
||||
[ ! -e "${D}/etc/courier/${file}" ] && [ -e "/etc/courier/${file}" ] && \
|
||||
cp "/etc/courier/${file}" "${D}/etc/courier/${file}"
|
||||
grep -q "${word}" "${D}/etc/courier/${file}" || \
|
||||
echo "${2}" >> "${D}/etc/courier/${file}"
|
||||
}
|
||||
|
||||
etc_courier_chg() {
|
||||
file="${1}" ; key="${2}" ; value="${3}" ; section="${4}"
|
||||
[ -z "${section}" ] && section="${2}"
|
||||
grep -q "${key}" "${file}" && elog "Changing ${file}: ${key} to ${value}"
|
||||
sed -i -e"/\#\#NAME: ${section}/,+30 s|${key}=.*|${key}=\"${value}\"|g" ${file}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local f
|
||||
diropts -o mail -g mail
|
||||
keepdir /var/lib/courier/tmp
|
||||
keepdir /var/lib/courier/msgs
|
||||
make install DESTDIR="${D}" || die "install"
|
||||
make install-configure || die "install-configure"
|
||||
|
||||
# init script takes care of this
|
||||
rm -rf "${D}/var/run"
|
||||
|
||||
# Get rid of files we dont want
|
||||
if ! use webmail ; then
|
||||
rm -rf "${D}/usr/$(get_libdir)/courier/courier/webmail" \
|
||||
"${D}/usr/$(get_libdir)/courier/courier/sqwebmaild" \
|
||||
"${D}/usr/share/courier/sqwebmail/" \
|
||||
"${D}/usr/sbin/webmaild" \
|
||||
"${D}/usr/sbin/webgpg" \
|
||||
"${D}/etc/courier/webmail.authpam" \
|
||||
"${D}/var/lib/courier/webmail-logincache" \
|
||||
"${D}"/etc/courier/sqwebmaild*
|
||||
fi
|
||||
|
||||
if ! use web ; then
|
||||
rm -rf "${D}/usr/share/courier/courierwebadmin/" \
|
||||
"${D}/etc/courier/webadmin"
|
||||
fi
|
||||
|
||||
for dir2keep in $(cd "${D}" && find ./var/lib/courier -type d) ; do
|
||||
keepdir "$dir2keep" || die "failed running keepdir: $dir2keep"
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/courier-init-r4" "courier"
|
||||
use fam || sed -i -e's|^.*use famd$||g' "${D}/etc/init.d/courier"
|
||||
|
||||
cd "${D}/etc/courier"
|
||||
if use webmail ; then
|
||||
insinto /etc/courier
|
||||
newins "${FILESDIR}/apache-sqwebmail.inc" apache-sqwebmail.inc
|
||||
fi
|
||||
|
||||
for f in *.dist ; do cp "${f}" "${f%%.dist}" ; done
|
||||
if use ldap ; then
|
||||
[ -e ldapaliasrc ] && ( chown root:0 ldapaliasrc ; chmod 400 ldapaliasrc )
|
||||
else
|
||||
rm -f ldapaliasrc
|
||||
fi
|
||||
|
||||
( [ -e /etc/courier/sizelimit ] && cat /etc/courier/sizelimit || echo 0 ) \
|
||||
> "${D}/etc/courier/sizelimit"
|
||||
etc_courier maildroprc ""
|
||||
etc_courier esmtproutes ""
|
||||
etc_courier backuprelay ""
|
||||
etc_courier locallowercase ""
|
||||
etc_courier bofh "opt BOFHBADMIME=accept"
|
||||
etc_courier bofh "opt BOFHSPFTRUSTME=1"
|
||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none,error,softfail,fail"
|
||||
etc_courier bofh "opt BOFHSPFHELO=pass,neutral,unknown,none"
|
||||
etc_courier bofh "opt BOFHSPFFROM=all"
|
||||
etc_courier bofh "opt BOFHSPFMAILFROM=all"
|
||||
etc_courier bofh "#opt BOFHSPFHARDERROR=fail"
|
||||
etc_courier esmtpd "BOFHBADMIME=accept"
|
||||
etc_courier esmtpd-ssl "BOFHBADMIME=accept"
|
||||
etc_courier esmtpd-msa "BOFHBADMIME=accept"
|
||||
|
||||
use fam && etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 IDLE"
|
||||
use fam || etc_courier_chg imapd IMAP_CAPABILITY "IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256"
|
||||
|
||||
# Fix for a sandbox violation on subsequential merges
|
||||
# - ticho@gentoo.org, 2005-07-10
|
||||
dosym /usr/share/courier/pop3d /usr/sbin/courier-pop3d
|
||||
dosym /usr/share/courier/pop3d-ssl /usr/sbin/courier-pop3d-ssl
|
||||
dosym /usr/share/courier/imapd /usr/sbin/courier-imapd
|
||||
dosym /usr/share/courier/imapd-ssl /usr/sbin/courier-imapd-ssl
|
||||
|
||||
cd "${S}"
|
||||
cp imap/README README.imap
|
||||
use nls && cp unicode/README README.unicode
|
||||
dodoc AUTHORS BENCHMARKS COPYING* ChangeLog* INSTALL NEWS README* TODO courier/doc/*.txt
|
||||
dodoc libs/tcpd/README.couriertls
|
||||
mv "${D}/usr/share/courier/htmldoc" "${D}/usr/share/doc/${PF}/html"
|
||||
|
||||
if use webmail ; then
|
||||
insinto /usr/$(get_libdir)/courier/courier
|
||||
insopts -m 755 -o mail -g mail
|
||||
doins "${S}/courier/webmaild"
|
||||
fi
|
||||
|
||||
if use web ; then
|
||||
insinto /etc/courier/webadmin
|
||||
insopts -m 400 -o mail -g mail
|
||||
doins "${FILESDIR}/password.dist"
|
||||
fi
|
||||
|
||||
# avoid name collisions in /usr/sbin, make webadmin match
|
||||
cd "${D}/usr/sbin"
|
||||
for f in imapd imapd-ssl pop3d pop3d-ssl ; do mv "${f}" "courier-${f}" ; done
|
||||
if use web ; then
|
||||
sed -i -e 's:\$sbindir\/imapd:\$sbindir\/courier-imapd:g' \
|
||||
-e 's:\$sbindir\/imapd-ssl:\$sbindir\/courier-imapd-ssl:g' \
|
||||
"${D}/usr/share/courier/courierwebadmin/admin-40imap.pl" \
|
||||
|| ewarn "failed to fix webadmin"
|
||||
sed -i -e 's:\$sbindir\/pop3d:\$sbindir\/courier-pop3d:g' \
|
||||
-e 's:\$sbindir\/pop3d-ssl:\$sbindir\/courier-pop3d-ssl:g' \
|
||||
"${D}/usr/share/courier/courierwebadmin/admin-45pop3.pl" \
|
||||
|| ewarn "failed to fix webadmin"
|
||||
fi
|
||||
|
||||
# users should be able to send mail. Could be restricted with suictl.
|
||||
chmod u+s "${D}/usr/bin/sendmail"
|
||||
|
||||
dosym /usr/bin/sendmail /usr/sbin/sendmail
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [ `whoami` != 'root' ]; then
|
||||
emake -j1 check || die "Make check failed."
|
||||
else
|
||||
einfo "make check skipped, can't run as root."
|
||||
einfo "You can enable it with FEATURES=\"userpriv\""
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use fam && elog "fam daemon is needed for courier-imapd" \
|
||||
|| ewarn "courier was built without fam support"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
mailhost="$(hostname)"
|
||||
export mailhost
|
||||
|
||||
domainname="$(domainname)"
|
||||
if [ "x$domainname" = "x(none)" ] ; then
|
||||
domainname="$(echo ${mailhost} | sed -e "s/[^\.]*\.\(.*\)/\1/")"
|
||||
fi
|
||||
export domainname
|
||||
|
||||
if [ "${ROOT}" = "/" ] ; then
|
||||
file="${ROOT}/etc/courier/locals"
|
||||
if [ ! -f "${file}" ] ; then
|
||||
echo "localhost" > "${file}";
|
||||
echo "${domainname}" >> "${file}";
|
||||
fi
|
||||
file="${ROOT}/etc/courier/esmtpacceptmailfor.dir/${domainname}"
|
||||
if [ ! -f "${file}" ] ; then
|
||||
echo "${domainname}" > "${file}"
|
||||
/usr/sbin/makeacceptmailfor
|
||||
fi
|
||||
|
||||
file="${ROOT}/etc/courier/smtpaccess/${domainname}"
|
||||
if [ ! -f "${file}" ]
|
||||
then
|
||||
netstat -nr | grep "^[1-9]" | while read network gateway netmask rest
|
||||
do
|
||||
i=1
|
||||
net=""
|
||||
TIFS="${IFS}"
|
||||
IFS="."
|
||||
for o in "${netmask}"
|
||||
do
|
||||
if [ "${o}" == "255" ]
|
||||
then
|
||||
[ "_${net}" == "_" ] || net="${net}."
|
||||
t="$(echo "${network}" | cut -d " " -f ${i})"
|
||||
net="${net}${t}"
|
||||
fi
|
||||
i="$((${i} + 1))"
|
||||
done
|
||||
IFS="${TIFS}"
|
||||
echo "doing configuration - relay control for the network ${net} !"
|
||||
echo "${net} allow,RELAYCLIENT" >> ${file}
|
||||
done
|
||||
/usr/sbin/makesmtpaccess
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "creating cert for esmtpd-ssl:"
|
||||
/usr/sbin/mkesmtpdcert
|
||||
echo "creating cert for imapd-ssl:"
|
||||
/usr/sbin/mkpop3dcert
|
||||
echo "creating cert for pop3d-ssl:"
|
||||
/usr/sbin/mkimapdcert
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
DIST exim-4.84.tar.bz2 1761790 SHA256 78ea22be87fb6df880e7fd482f3bec9ef6ceca0c9dedd50f8a26cae0b38b9e9c SHA512 3cd41af6d57e5f0377fc93367753eae6cb6bf835803e8608c44e1da5acefce1ed8886f4fe7536950de072bfed6e927afe1536c1e6466cf3121dd352b69a68039 WHIRLPOOL 9e840aa6afa0db68455b4ab458706eedd7ea57b084999c9e85eaaec0530ed93958731d934ff1d7830d9b5cd086e36cb56dc8a2f78dad85bdba9ae6573510e840
|
||||
DIST exim-4.85.tar.bz2 1784150 SHA256 13211f2bbc5400d095a9b4be075eb1347e0d98676fdfe4be8a3b4d56281daaa4 SHA512 2c5846528ee98e4aff5dbabe49dfa5ba6753fa64154b9671a7849db8a17773917fe13bcb9e5f732c43d7479debfadd8012b8650823eb12504a6b1b28be456161 WHIRLPOOL 4057cd745f12ff62e956838406544060d3d2d7383027959f3c1ca12eff43bddb9be63e284767245b271e53bef92596c1241f5e90e9ed611d02e95b7a30adc7c8
|
||||
DIST exim-4.86_RC2.tar.bz2 1806368 SHA256 740cb3e706466876904120dbeb2efe8967eff3b2ead77f8690e43b2a35589833 SHA512 5d798300383086f5f59c82cd677b90e3c4d519a16f034edbd8f893198a2c5412a33d833e9ab6c9661d0e5c3178c5cec0a7e637603ca64f1a5d227017c9636144 WHIRLPOOL c3cbea59bb8576e9b3c07f350a008f0f2bd532ebced60df00b39c1238dab15bec3b23c4ae59b1dc91c46b5327292c5f4085ec87a186ddef08250268e5334db88
|
||||
DIST exim-4.86_RC3.tar.bz2 1798798 SHA256 b81f9c4c862fbdbf8318af6294e034f6b2281b40a1561bcbc30704f19c3246df SHA512 2fc1d6aabd9b4e4acbe06016561ff5d408fad25d01019caf990fee5d16e74708d01ee14d47cc7ffe3b895532cff0137ecc4ec6a59e073f3c312b50d75c84b3c2 WHIRLPOOL fe3829a4d37c5f41a34e656a09b6a0b413c74c394ac0ddabf2a8365a847055f7f276c08137883eb894b19d3a4a029ab4488ec77c22cede4186b6424d41a24237
|
||||
DIST exim-4.86_RC4.tar.bz2 1810879 SHA256 eb75296d6f3cf13a08742e9296942cc093f46735959e75d8aacf61fe74b539fd SHA512 3b60363cefea1d20af15cccc7cab568fa5a334e025bcf67d5d089f9573becd6db8d30eacc489ff778deaeb5a5dca2927ffcc21ca606672e2782e1fdca68854c9 WHIRLPOOL fde5f8af3457a644146b2a6c70938cf7d16285d0b8b1dc37c03eb4a0db56b5fa03baf7dc229cfd775aa6d8bee1bbe6cbb1dc296764c8171d06f03f5c14d12c64
|
||||
DIST exim-html-4.84.tar.bz2 465281 SHA256 7ee7e9015b853915604b7806be93d56e9ba1fb915b63f0d6828c47f2228fd45b SHA512 7de8513476b6abcdfd36b0121a2a9d6decf1ccf94ef51b8363e544066cc05670e6f2b4d03d5fbc49071b1431183dfd9badde5cbcc65f51d55ec6b25ebcb070b9 WHIRLPOOL 88c376fd399e17b2bc06d2d0fad19f8c6485807118a81e0c200f6c39defe7155fa920489481a8b82e629951766ce0222b85956f387d22d22549303bd3dff7f82
|
||||
DIST exim-html-4.85.tar.bz2 467069 SHA256 fd91946369626e74842a0799b93d0d9e4a201fe640af84e1b5349fe6ff204167 SHA512 8214576300827f79c0880e2d2163f71d7f1b3fe2aff714b591a011e48816965de5a773c3509137b085fec3d4d2128931f8398768c24dad6c92b7df27cbcafe74 WHIRLPOOL a7edffd7124c4920708616d3e59c0db5159dee5f7e4fd62ce29fdba769d39781a3826d4e3e39cdc97669941bb9a5c977defe280feb73cbe159b23df4cb6fe95f
|
||||
DIST exim-html-4.86_RC2.tar.bz2 470179 SHA256 ba338c36e1b3ad5c5add87c00886fa5d3aa192b3b8891146c72c5d3e09d26411 SHA512 dec24e991f40e921e4cf4ae299a25fe20a325f1dea182089bcb53c72ec25e61e9bc5547900eea2aa04ba983c0ded1397bb3355bb8c8fa06271674a98828edaa0 WHIRLPOOL ccfe9d934d924ad1ad1fa20981263ff97e48ede312a646eb7330e568a9fc5024c498ff0a0daf6690eb1296e6a8bc414d871c2ff1b62bea062cf7143febbc0b20
|
||||
DIST exim-html-4.86_RC3.tar.bz2 474210 SHA256 40749bf00b18354e422d087e18a939e0046880aa6ddd815ab2b4203254b2eb82 SHA512 ab2e17f7ffa729b1f54a49ae47ba027f60bb978b0925457e596c6b9db04540b7d9bafc310c99444a02a7889b0a6bb296a43778f64e878f92b4e7e3aa1b07baf8 WHIRLPOOL 58d6324837dbc07d2422e027001db39cb0371d03fda4fd6ce4b1729d8bf8ae4a663a74d6d5f2eade45dc3add34d914917162f70b7bc93e976dd106a0b7df9721
|
||||
DIST exim-html-4.86_RC4.tar.bz2 470035 SHA256 61a5aeab2d7f69e07070e5f9d813755b0c33fb556dfedf0c46fdcc24ae7c84a3 SHA512 daedfa1ed5a549c04407654362dfbc4abb5d61fb75345c9a778b4f560ad66f1fa572042328b861dabe3fd2b296a8737931db7abce2b5f2bc18404addc6d49493 WHIRLPOOL 10f3d8f0f2d9989ffd2ddef0841f8c5da9e63f85c4adb1540cc7629d82c5935d2d80a509ebffab0f63106a3ea85a94a7615e29f2ef3ec0460a4145559d5d8a82
|
||||
DIST system_filter.exim.gz 3075 SHA256 3a3471b486a09e0a0153f7b520e1eaf26d21b97d73ea8348bdc593c00eb1e437 SHA512 cb358d3ce2499a0bb5920d962a06f2af8486e55ec90c8c928bd8e3aefb279aa57f5f960d5adfcef68bd94110b405eaa144e9629cfe6014a529c79c544600bbf3 WHIRLPOOL ce68d9c18b24eca3ef97ea810964cc1ada5f85b795a7c432ad39b5788188a16419101c92fb52b418738d760e1d658f7a41485e5561079a667d84d276c71be5a4
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.86_rc2.ebuild,v 1.1 2015/06/15 16:16:23 grobian Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.86_rc4.ebuild,v 1.1 2015/06/29 09:37:13 grobian Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/exiftool/exiftool-9.98.ebuild,v 1.1 2015/06/29 07:02:08 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Image-ExifTool
|
||||
MY_P=${MY_PN}-${PV}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Read and write meta information in image, audio and video files"
|
||||
HOMEPAGE="http://www.sno.phy.queensu.ca/~phil/exiftool/ ${HOMEPAGE}"
|
||||
SRC_URI="http://www.sno.phy.queensu.ca/~phil/exiftool/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x64-macos"
|
||||
IUSE="doc"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
use doc && dohtml -r html/
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvbpsi/libdvbpsi-1.3.0-r1.ebuild,v 1.1 2015/06/29 09:26:55 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="library for MPEG TS/DVB PSI tables decoding and generation"
|
||||
HOMEPAGE="http://www.videolan.org/libdvbpsi"
|
||||
SRC_URI="http://download.videolan.org/pub/${PN}/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
# Sublot == libdvbpsi.so major
|
||||
SLOT="0/10"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
>=media-gfx/graphviz-2.26
|
||||
)" # Require recent enough graphviz wrt #181147
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
sed -e '/CFLAGS/s:-O2::' -e '/CFLAGS/s:-O6::' -e '/CFLAGS/s:-Werror::' -i configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-release
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use doc && emake doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use doc && dohtml doc/doxygen/html/*
|
||||
rm -f "${ED}"usr/lib*/${PN}.la
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST xvidcore-1.3.3.tar.bz2 695279 SHA256 b0e1ba805a776f791e45040b9aaa0d7ca6d0cb1e4899c7fded275fb57139af54 SHA512 e2178ee946fa057cf465da855b702e74fbab04347020ab7900850c07dfcd5202003fcd579fc404e0a567807285607ed4bcd14dc4c074ea19123143f03af80f09 WHIRLPOOL 131f58f25134750e7f687072b2a28ab692bef70a615bbc32fb65fed59f74c5b4382e1f471f5e42af7e2fdaf84e3228f4119534b39fa6379ea5ba2ac2b2985e7a
|
||||
DIST xvidcore-1.3.4.tar.bz2 697808 SHA256 5faf6380b828db8ad29f0b69f030edf86d0fe26d1f9c5427030c6accd3ad8bf7 SHA512 09c0dca898ad8ba32161d979dea66730c235d9649e93e5053f0e0f0d02f8996f0f85d629728bff16d3253b71e0435809360e6cf4d72801e63c061f2a0b0dbe7d WHIRLPOOL d69fd6d2570cbb9cde00154695ea104cb17372eccebd35258933f8930c10566757571089a48838b964d106a34009eb7a5c368d98842d881338e368ab33f0e1c1
|
||||
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/xvid-1.3.4.ebuild,v 1.1 2015/06/29 09:09:51 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit flag-o-matic multilib multilib-minimal
|
||||
|
||||
MY_PN=${PN}core
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="XviD, a high performance/quality MPEG-4 video de-/encoding solution"
|
||||
HOMEPAGE="http://www.xvid.org/"
|
||||
SRC_URI="http://downloads.xvid.org/downloads/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="examples elibc_FreeBSD +threads pic"
|
||||
|
||||
NASM=">=dev-lang/nasm-2"
|
||||
YASM=">=dev-lang/yasm-1"
|
||||
|
||||
DEPEND="sys-apps/grep
|
||||
amd64? ( || ( ${YASM} ${NASM} ) )
|
||||
amd64-fbsd? ( ${NASM} )
|
||||
x86? ( || ( ${YASM} ${NASM} ) )
|
||||
x86-fbsd? ( ${NASM} )
|
||||
x86-macos? ( ${NASM} )
|
||||
x64-macos? ( ${NASM} )"
|
||||
RDEPEND="abi_x86_32? ( !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}/build/generic
|
||||
|
||||
src_prepare() {
|
||||
# make build verbose
|
||||
sed \
|
||||
-e 's/@$(CC)/$(CC)/' \
|
||||
-e 's/@$(AS)/$(AS)/' \
|
||||
-e 's/@$(RM)/$(RM)/' \
|
||||
-e 's/@$(INSTALL)/$(INSTALL)/' \
|
||||
-e 's/@cd/cd/' \
|
||||
-i Makefile || die
|
||||
# Since only the build system is in $S, this will only copy it but not the
|
||||
# entire sources.
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
use sparc && append-cflags -mno-vis #357149
|
||||
use elibc_FreeBSD && export ac_cv_prog_ac_yasm=no #477736
|
||||
|
||||
local myconf
|
||||
if use pic || [[ ${ABI} == "x32" ]] ; then #421841
|
||||
myconf="--disable-assembly"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_enable threads pthread) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
#multilib_src_install() {
|
||||
# emake DESTDIR="${D}" install
|
||||
#}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc "${S}"/../../{AUTHORS,ChangeLog*,CodingStyle,README,TODO}
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/${PN}
|
||||
doins -r "${S}"/../../examples
|
||||
fi
|
||||
}
|
@ -0,0 +1,139 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ardour-4.1.ebuild,v 1.1 2015/06/29 14:20:26 nativemad Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='threads(+)'
|
||||
|
||||
inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
|
||||
|
||||
DESCRIPTION="Digital Audio Workstation"
|
||||
HOMEPAGE="http://ardour.org/"
|
||||
|
||||
if [ ${PV} = 9999 ]; then
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
|
||||
inherit git-2
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/Ardour/ardour/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
IUSE="altivec doc jack lv2 cpu_flags_x86_sse"
|
||||
|
||||
RDEPEND="media-libs/aubio
|
||||
media-libs/liblo
|
||||
sci-libs/fftw:3.0
|
||||
media-libs/freetype:2
|
||||
>=dev-libs/glib-2.10.1:2
|
||||
>=dev-cpp/glibmm-2.32.0
|
||||
>=x11-libs/gtk+-2.8.1:2
|
||||
>=dev-libs/libxml2-2.6:2
|
||||
>=media-libs/libsndfile-1.0.18
|
||||
>=media-libs/libsamplerate-0.1
|
||||
>=media-libs/rubberband-1.6.0
|
||||
>=media-libs/libsoundtouch-1.6.0
|
||||
media-libs/flac
|
||||
media-libs/raptor:2
|
||||
>=media-libs/liblrdf-0.4.0-r20
|
||||
>=gnome-base/libgnomecanvas-2
|
||||
media-libs/vamp-plugin-sdk
|
||||
dev-libs/libxslt
|
||||
dev-libs/libsigc++:2
|
||||
>=dev-cpp/gtkmm-2.16:2.4
|
||||
>=dev-cpp/libgnomecanvasmm-2.26:2.6
|
||||
media-libs/alsa-lib
|
||||
x11-libs/pango
|
||||
x11-libs/cairo
|
||||
media-libs/libart_lgpl
|
||||
virtual/libusb:0
|
||||
dev-libs/boost
|
||||
>=media-libs/taglib-1.7
|
||||
net-misc/curl
|
||||
jack? ( >=media-sound/jack-audio-connection-kit-0.120 )
|
||||
lv2? (
|
||||
>=media-libs/slv2-0.6.1
|
||||
media-libs/lilv
|
||||
media-libs/sratom
|
||||
dev-libs/sord
|
||||
>=media-libs/suil-0.6.10
|
||||
>=media-libs/lv2-1.4.0
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
>=media-sound/jack-audio-connection-kit-0.120
|
||||
sys-devel/gettext
|
||||
doc? ( app-doc/doxygen[dot] )"
|
||||
if ! [ ${PV} = 9999 ]; then
|
||||
DEPEND="${DEPEND}"
|
||||
fi
|
||||
|
||||
src_unpack() {
|
||||
if [ ${PV} = 9999 ]; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${A}
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare(){
|
||||
if ! [ ${PV} = 9999 ]; then
|
||||
epatch "${FILESDIR}"/${PN}-4.0-revision-naming.patch
|
||||
touch "${S}/libs/ardour/revision.cc"
|
||||
fi
|
||||
$(use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch)
|
||||
epatch "${FILESDIR}"/${PN}-3.5.403-sse.patch
|
||||
sed -e 's/'FLAGS\'\,\ compiler_flags'/'FLAGS\'\,\ program_flags'/g' -i "${S}"/wscript
|
||||
sed -e 's/'compiler_flags.append\ \(\'-DPROGRAM_'/'program_flags.append\ \(\'-DPROGRAM_'/g' -i "${S}"/wscript
|
||||
sed -e '/compiler_flags\ \=\ \[\]/a \ \ \ \ program_flags\ \=\ \[\]' -i "${S}"/wscript
|
||||
append-flags "-lboost_system"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use cpu_flags_x86_sse; then
|
||||
MARCH=$(get-flag march)
|
||||
for ARCHWOSSE in i686 i486; do
|
||||
if [[ ${MARCH} = ${ARCHWOSSE} ]]; then
|
||||
for SSEOPT in -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2; do
|
||||
is-flag ${SSEOPT} && SSEON="yes"
|
||||
done
|
||||
if [ -z ${SSEON} ]; then
|
||||
append-flags -msse
|
||||
elog "You enabled sse but use an march that does not support sse!"
|
||||
elog "We add -msse to the cflags now, but please consider switching your march in make.conf!"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
tc-export CC CXX
|
||||
mkdir -p "${D}"
|
||||
waf-utils_src_configure \
|
||||
--destdir="${D}" \
|
||||
--prefix=/usr \
|
||||
--configdir=/etc \
|
||||
--optimize \
|
||||
--nls \
|
||||
$(use jack && echo "--with-backends=alsa,jack" || echo "--with-backends=alsa --libjack=weak") \
|
||||
$(use lv2 && echo "--lv2" || echo "--no-lv2") \
|
||||
$({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \
|
||||
$(use doc && echo "--docs")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
waf-utils_src_install
|
||||
mv ${PN}.1 ${PN}${SLOT}.1
|
||||
doman ${PN}${SLOT}.1
|
||||
newicon icons/icon/ardour_icon_mac.png ${PN}${SLOT}.png
|
||||
make_desktop_entry ardour4 ardour4 ardour4 AudioVideo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you are using Ardour and want to keep its development alive"
|
||||
elog "then please consider to do a donation upstream at ardour.org. Thanks!"
|
||||
}
|
@ -1 +1 @@
|
||||
Mon, 29 Jun 2015 06:36:51 +0000
|
||||
Mon, 29 Jun 2015 19:06:52 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 29 Jun 2015 06:36:51 +0000
|
||||
Mon, 29 Jun 2015 19:06:52 +0000
|
||||
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare unpack
|
||||
DEPEND=!<=app-office/gnucash-2.2.1 >=dev-libs/libxml2-2.5.10 dev-libs/libxslt app-text/docbook-xsl-stylesheets app-text/docbook-xml-dtd:4.1.2 app-text/rarian app-arch/xz-utils >=sys-apps/sed-4
|
||||
DESCRIPTION=Documentation package for GnuCash
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.gnucash.org/
|
||||
KEYWORDS=amd64 ~ppc ~ppc64 x86
|
||||
LICENSE=GPL-2 FDL-1.1
|
||||
RDEPEND=!<=app-office/gnucash-2.2.1
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/gnucash/gnucash-docs-2.6.5.tar.gz
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de fdo-mime 0acfe1a88fd8751a1d5dc671168219fa gnome.org 8fef8f967214f56e08fa92d61163d891 gnome2 10c513def52488230abb60a4b19a03b9 gnome2-utils 5cdfd22a2163c9d3a891648bd19453a7 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=90e53d6c5b856864521a298180a97e00
|
@ -1,12 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare unpack
|
||||
DEPEND=!<=app-office/gnucash-2.2.1 >=dev-libs/libxml2-2.5.10 dev-libs/libxslt app-text/docbook-xsl-stylesheets app-text/docbook-xml-dtd:4.1.2 app-text/rarian app-arch/xz-utils >=sys-apps/sed-4
|
||||
DEPEND=!<=app-office/gnucash-2.2.1 >=dev-libs/libxml2-2.5.10 dev-libs/libxslt app-text/docbook-xsl-stylesheets app-text/docbook-xml-dtd:4.1.2 app-text/rarian test? ( app-text/docbook-xml-dtd:4.4 ) app-arch/xz-utils >=sys-apps/sed-4
|
||||
DESCRIPTION=Documentation package for GnuCash
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.gnucash.org/
|
||||
IUSE=test
|
||||
KEYWORDS=amd64 ~ppc ~ppc64 x86
|
||||
LICENSE=GPL-2 FDL-1.1
|
||||
RDEPEND=!<=app-office/gnucash-2.2.1
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/gnucash/gnucash-docs-2.6.6.tar.gz
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de fdo-mime 0acfe1a88fd8751a1d5dc671168219fa gnome.org 8fef8f967214f56e08fa92d61163d891 gnome2 10c513def52488230abb60a4b19a03b9 gnome2-utils 5cdfd22a2163c9d3a891648bd19453a7 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=7d29b1974319c21597f5c1fea4727544
|
||||
_md5_=d511c1f1fadc55dfeafc0af5a2076050
|
||||
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare unpack
|
||||
DEPEND=>=app-text/wv-1.2 >=dev-libs/fribidi-0.10.4 >=dev-libs/glib-2.16:2 >=dev-libs/libgcrypt-1.4.5:0 dev-libs/libxslt >=gnome-base/librsvg-2.16:2 >=gnome-extra/libgsf-1.14.18 >=media-libs/libpng-1.2 virtual/jpeg >=x11-libs/cairo-1.10[X] >=x11-libs/gtk+-3.0.8:3[cups?] calendar? ( >=dev-libs/libical-0.46 ) eds? ( >=gnome-extra/evolution-data-server-3.6.0 ) goffice? ( >=x11-libs/goffice-0.10.2:0.10 ) introspection? ( >=dev-libs/gobject-introspection-1.0.0 ) map? ( >=media-libs/libchamplain-0.12 ) plugins? ( collab? ( >=dev-libs/libxml2-2.4 >=net-libs/loudmouth-1 net-libs/libsoup:2.4 net-libs/gnutls ) grammar? ( >=dev-libs/link-grammar-4.2.1 ) math? ( >=x11-libs/gtkmathview-0.7.5 ) ots? ( >=app-text/ots-0.5-r1 ) readline? ( sys-libs/readline ) thesaurus? ( >=app-text/aiksaurus-1.2[gtk] ) wordperfect? ( app-text/libwpd:0.9 app-text/libwpg:0.2 ) wmf? ( >=media-libs/libwmf-0.2.8 ) ) redland? ( >=dev-libs/redland-1.0.10 >=dev-libs/rasqal-0.9.17 ) spell? ( >=app-text/enchant-1.2 ) !<app-office/abiword-plugins-2.8 dev-lang/perl >=dev-libs/boost-1.40.0 virtual/pkgconfig collab? ( dev-cpp/asio ) app-arch/xz-utils >=sys-apps/sed-4
|
||||
DESCRIPTION=Fully featured yet light and fast cross platform word processor
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.abisource.com/
|
||||
IUSE=calendar collab cups eds +goffice grammar +introspection latex map math ots +plugins readline redland spell wordperfect wmf thesaurus debug
|
||||
KEYWORDS=~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=app-text/wv-1.2 >=dev-libs/fribidi-0.10.4 >=dev-libs/glib-2.16:2 >=dev-libs/libgcrypt-1.4.5:0 dev-libs/libxslt >=gnome-base/librsvg-2.16:2 >=gnome-extra/libgsf-1.14.18 >=media-libs/libpng-1.2 virtual/jpeg >=x11-libs/cairo-1.10[X] >=x11-libs/gtk+-3.0.8:3[cups?] calendar? ( >=dev-libs/libical-0.46 ) eds? ( >=gnome-extra/evolution-data-server-3.6.0 ) goffice? ( >=x11-libs/goffice-0.10.2:0.10 ) introspection? ( >=dev-libs/gobject-introspection-1.0.0 ) map? ( >=media-libs/libchamplain-0.12 ) plugins? ( collab? ( >=dev-libs/libxml2-2.4 >=net-libs/loudmouth-1 net-libs/libsoup:2.4 net-libs/gnutls ) grammar? ( >=dev-libs/link-grammar-4.2.1 ) math? ( >=x11-libs/gtkmathview-0.7.5 ) ots? ( >=app-text/ots-0.5-r1 ) readline? ( sys-libs/readline ) thesaurus? ( >=app-text/aiksaurus-1.2[gtk] ) wordperfect? ( app-text/libwpd:0.9 app-text/libwpg:0.2 ) wmf? ( >=media-libs/libwmf-0.2.8 ) ) redland? ( >=dev-libs/redland-1.0.10 >=dev-libs/rasqal-0.9.17 ) spell? ( >=app-text/enchant-1.2 ) !<app-office/abiword-plugins-2.8
|
||||
REQUIRED_USE=!plugins? ( !collab !grammar !latex !math !ots !readline !thesaurus !wordperfect !wmf )
|
||||
SLOT=2
|
||||
SRC_URI=http://www.abisource.com/downloads/abiword/3.0.0/source/abiword-3.0.0.tar.gz
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de fdo-mime 0acfe1a88fd8751a1d5dc671168219fa gnome.org 8fef8f967214f56e08fa92d61163d891 gnome2 10c513def52488230abb60a4b19a03b9 gnome2-utils 5cdfd22a2163c9d3a891648bd19453a7 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=2d8b906dfe5166638d7f1617293d2bcb
|
@ -1,14 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare unpack
|
||||
DEPEND=>=app-text/wv-1.2 >=dev-libs/fribidi-0.10.4 >=dev-libs/glib-2.16:2 >=dev-libs/libgcrypt-1.4.5:0 dev-libs/libxslt >=gnome-base/librsvg-2.16:2 >=gnome-extra/libgsf-1.14.18 >=media-libs/libpng-1.2 virtual/jpeg >=x11-libs/cairo-1.10[X] >=x11-libs/gtk+-3.0.8:3[cups?] calendar? ( >=dev-libs/libical-0.46 ) eds? ( >=gnome-extra/evolution-data-server-3.6.0:= ) goffice? ( >=x11-libs/goffice-0.10.2:0.10 ) introspection? ( >=dev-libs/gobject-introspection-1.0.0 ) map? ( >=media-libs/libchamplain-0.12 ) plugins? ( collab? ( >=dev-libs/libxml2-2.4 >=net-libs/loudmouth-1 net-libs/libsoup:2.4 net-libs/gnutls ) grammar? ( >=dev-libs/link-grammar-4.2.1 ) math? ( >=x11-libs/gtkmathview-0.7.5 ) ots? ( >=app-text/ots-0.5-r1 ) readline? ( sys-libs/readline ) thesaurus? ( >=app-text/aiksaurus-1.2[gtk] ) wordperfect? ( app-text/libwpd:0.9 app-text/libwpg:0.2 ) wmf? ( >=media-libs/libwmf-0.2.8 ) ) redland? ( >=dev-libs/redland-1.0.10 >=dev-libs/rasqal-0.9.17 ) spell? ( >=app-text/enchant-1.2 ) !<app-office/abiword-plugins-2.8 dev-lang/perl >=dev-libs/boost-1.40.0 virtual/pkgconfig collab? ( dev-cpp/asio ) app-arch/xz-utils >=sys-apps/sed-4
|
||||
DEPEND=>=app-text/wv-1.2 >=dev-libs/fribidi-0.10.4 >=dev-libs/glib-2.16:2 >=dev-libs/libgcrypt-1.4.5:0 dev-libs/libxslt >=gnome-base/librsvg-2.16:2 >=gnome-extra/libgsf-1.14.18 >=media-libs/libpng-1.2:0= virtual/jpeg:0 >=x11-libs/cairo-1.10[X] >=x11-libs/gtk+-3.0.8:3[cups?] calendar? ( >=dev-libs/libical-0.46:= ) eds? ( >=gnome-extra/evolution-data-server-3.6.0:= ) goffice? ( >=x11-libs/goffice-0.10.2:0.10 ) introspection? ( >=dev-libs/gobject-introspection-1.0.0 ) map? ( >=media-libs/libchamplain-0.12 ) plugins? ( collab? ( >=dev-libs/libxml2-2.4 >=net-libs/loudmouth-1 net-libs/libsoup:2.4 net-libs/gnutls ) grammar? ( >=dev-libs/link-grammar-4.2.1 ) math? ( >=x11-libs/gtkmathview-0.7.5 ) ots? ( >=app-text/ots-0.5-r1 ) readline? ( sys-libs/readline:* ) thesaurus? ( >=app-text/aiksaurus-1.2[gtk] ) wordperfect? ( app-text/libwpd:0.9 app-text/libwpg:0.2 ) wmf? ( >=media-libs/libwmf-0.2.8 ) ) redland? ( >=dev-libs/redland-1.0.10 >=dev-libs/rasqal-0.9.17 ) spell? ( >=app-text/enchant-1.2 ) !<app-office/abiword-plugins-2.8 dev-lang/perl >=dev-libs/boost-1.40.0 virtual/pkgconfig collab? ( dev-cpp/asio ) app-arch/xz-utils >=sys-apps/sed-4
|
||||
DESCRIPTION=Fully featured yet light and fast cross platform word processor
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.abisource.com/
|
||||
IUSE=calendar collab cups eds +goffice grammar +introspection latex map math ots +plugins readline redland spell wordperfect wmf thesaurus debug
|
||||
KEYWORDS=~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=app-text/wv-1.2 >=dev-libs/fribidi-0.10.4 >=dev-libs/glib-2.16:2 >=dev-libs/libgcrypt-1.4.5:0 dev-libs/libxslt >=gnome-base/librsvg-2.16:2 >=gnome-extra/libgsf-1.14.18 >=media-libs/libpng-1.2 virtual/jpeg >=x11-libs/cairo-1.10[X] >=x11-libs/gtk+-3.0.8:3[cups?] calendar? ( >=dev-libs/libical-0.46 ) eds? ( >=gnome-extra/evolution-data-server-3.6.0:= ) goffice? ( >=x11-libs/goffice-0.10.2:0.10 ) introspection? ( >=dev-libs/gobject-introspection-1.0.0 ) map? ( >=media-libs/libchamplain-0.12 ) plugins? ( collab? ( >=dev-libs/libxml2-2.4 >=net-libs/loudmouth-1 net-libs/libsoup:2.4 net-libs/gnutls ) grammar? ( >=dev-libs/link-grammar-4.2.1 ) math? ( >=x11-libs/gtkmathview-0.7.5 ) ots? ( >=app-text/ots-0.5-r1 ) readline? ( sys-libs/readline ) thesaurus? ( >=app-text/aiksaurus-1.2[gtk] ) wordperfect? ( app-text/libwpd:0.9 app-text/libwpg:0.2 ) wmf? ( >=media-libs/libwmf-0.2.8 ) ) redland? ( >=dev-libs/redland-1.0.10 >=dev-libs/rasqal-0.9.17 ) spell? ( >=app-text/enchant-1.2 ) !<app-office/abiword-plugins-2.8
|
||||
RDEPEND=>=app-text/wv-1.2 >=dev-libs/fribidi-0.10.4 >=dev-libs/glib-2.16:2 >=dev-libs/libgcrypt-1.4.5:0 dev-libs/libxslt >=gnome-base/librsvg-2.16:2 >=gnome-extra/libgsf-1.14.18 >=media-libs/libpng-1.2:0= virtual/jpeg:0 >=x11-libs/cairo-1.10[X] >=x11-libs/gtk+-3.0.8:3[cups?] calendar? ( >=dev-libs/libical-0.46:= ) eds? ( >=gnome-extra/evolution-data-server-3.6.0:= ) goffice? ( >=x11-libs/goffice-0.10.2:0.10 ) introspection? ( >=dev-libs/gobject-introspection-1.0.0 ) map? ( >=media-libs/libchamplain-0.12 ) plugins? ( collab? ( >=dev-libs/libxml2-2.4 >=net-libs/loudmouth-1 net-libs/libsoup:2.4 net-libs/gnutls ) grammar? ( >=dev-libs/link-grammar-4.2.1 ) math? ( >=x11-libs/gtkmathview-0.7.5 ) ots? ( >=app-text/ots-0.5-r1 ) readline? ( sys-libs/readline:* ) thesaurus? ( >=app-text/aiksaurus-1.2[gtk] ) wordperfect? ( app-text/libwpd:0.9 app-text/libwpg:0.2 ) wmf? ( >=media-libs/libwmf-0.2.8 ) ) redland? ( >=dev-libs/redland-1.0.10 >=dev-libs/rasqal-0.9.17 ) spell? ( >=app-text/enchant-1.2 ) !<app-office/abiword-plugins-2.8
|
||||
REQUIRED_USE=!plugins? ( !collab !grammar !latex !math !ots !readline !thesaurus !wordperfect !wmf )
|
||||
SLOT=2
|
||||
SRC_URI=http://www.abisource.com/downloads/abiword/3.0.1/source/abiword-3.0.1.tar.gz
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de fdo-mime 0acfe1a88fd8751a1d5dc671168219fa gnome.org 8fef8f967214f56e08fa92d61163d891 gnome2 10c513def52488230abb60a4b19a03b9 gnome2-utils 5cdfd22a2163c9d3a891648bd19453a7 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=36df4476b9b68b604f7ecbb0a1384cd7
|
||||
_md5_=5586d5837ef80de3cdd0ff3211b3e8bf
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue