1734 changed files with 5120 additions and 3201 deletions
-
4app-admin/apache-tools/apache-tools-2.2.29.ebuild
-
4app-admin/eselect-ctags/eselect-ctags-1.18.ebuild
-
4app-admin/eselect-emacs/eselect-emacs-1.18.ebuild
-
6app-admin/rsyslog/rsyslog-8.6.0.ebuild
-
4app-arch/dpkg/dpkg-1.17.23.ebuild
-
2app-arch/innoextract/metadata.xml
-
1app-benchmarks/stress/Manifest
-
6app-benchmarks/stress/stress-0.18.6.ebuild
-
6app-benchmarks/stress/stress-1.0.0.ebuild
-
6app-benchmarks/stress/stress-1.0.1.ebuild
-
6app-benchmarks/stress/stress-1.0.3.ebuild
-
23app-benchmarks/stress/stress-1.0.4-r1.ebuild
-
6app-benchmarks/stress/stress-1.0.4.ebuild
-
4app-crypt/mit-krb5/mit-krb5-1.13-r1.ebuild
-
4app-crypt/pinentry/pinentry-0.9.0.ebuild
-
4app-emacs/css-mode/css-mode-0.11-r1.ebuild
-
27app-emacs/css-mode/css-mode-0.11.ebuild
-
23app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.4-r2.ebuild
-
4app-emacs/po-mode/po-mode-0.19.3.ebuild
-
9app-leechcraft/lc-azoth/lc-azoth-0.6.60.ebuild
-
9app-leechcraft/lc-azoth/lc-azoth-0.6.65.ebuild
-
9app-leechcraft/lc-azoth/lc-azoth-0.6.70.ebuild
-
9app-leechcraft/lc-azoth/lc-azoth-9999.ebuild
-
4app-misc/muttprint/muttprint-0.73-r3.ebuild
-
50app-office/libreoffice/files/libreoffice-4.3.5.2-DPI.patch
-
80app-office/libreoffice/files/libreoffice-4.4.0.3-gcc-4.9-Os-link-failure.patch
-
10app-office/libreoffice/libreoffice-4.4.0.3.ebuild
-
4app-portage/epm/epm-1.40.ebuild
-
1app-text/pdf2djvu/Manifest
-
6app-text/pdf2djvu/pdf2djvu-0.7.16.ebuild
-
6app-text/pdf2djvu/pdf2djvu-0.7.17.ebuild
-
53app-text/pdf2djvu/pdf2djvu-0.7.19.ebuild
-
4app-text/t1utils/t1utils-1.38.ebuild
-
6dev-db/jxtray/jxtray-0.5-r4.ebuild
-
4dev-db/mongodb/files/mongodb.conf-r2
-
4dev-db/postgresql/postgresql-9.0.19.ebuild
-
4dev-db/postgresql/postgresql-9.1.15.ebuild
-
4dev-db/postgresql/postgresql-9.2.10.ebuild
-
4dev-db/postgresql/postgresql-9.3.6.ebuild
-
4dev-db/postgresql/postgresql-9.4.1.ebuild
-
4dev-haskell/fgl/fgl-5.5.0.1.ebuild
-
4dev-haskell/hscolour/hscolour-1.20.3-r1.ebuild
-
4dev-haskell/libxml-sax/libxml-sax-0.7.5.ebuild
-
4dev-haskell/unix-compat/unix-compat-0.4.1.3.ebuild
-
72dev-java/jflex/jflex-1.4.3-r1.ebuild
-
7dev-java/jflex/jflex-1.4.3.ebuild
-
4dev-java/jflex/jflex-1.5.0.ebuild
-
4dev-java/jflex/jflex-1.5.1.ebuild
-
4dev-java/jflex/jflex-1.6.0.ebuild
-
4dev-java/qdox/qdox-1.12-r1.ebuild
-
1dev-lang/jimtcl/Manifest
-
72dev-lang/jimtcl/jimtcl-0.76.ebuild
-
4dev-lang/php/php-5.4.37.ebuild
-
4dev-lang/php/php-5.5.21.ebuild
-
2dev-lang/swi-prolog/Manifest
-
128dev-lang/swi-prolog/swi-prolog-7.1.30.ebuild
-
4dev-libs/boehm-gc/boehm-gc-7.4.2.ebuild
-
4dev-libs/fcgi/fcgi-2.4.1_pre0910052249-r2.ebuild
-
6dev-libs/gom/gom-0.2.1.ebuild
-
4dev-libs/gom/gom-0.3.0.ebuild
-
1dev-libs/grantlee/Manifest
-
58dev-libs/grantlee/grantlee-0.3.0.ebuild
-
4dev-libs/grantlee/grantlee-0.4.0.ebuild
-
4dev-libs/icu/icu-54.1-r1.ebuild
-
4dev-libs/libatomic_ops/libatomic_ops-7.4.2.ebuild
-
4dev-libs/libevdev/libevdev-1.3.ebuild
-
4dev-libs/libinput/libinput-0.7.0.ebuild
-
4dev-libs/libinput/libinput-0.8.0.ebuild
-
4dev-libs/libinput/libinput-0.9.0.ebuild
-
4dev-libs/liblinear/liblinear-196-r1.ebuild
-
1dev-libs/liblognorm/Manifest
-
41dev-libs/liblognorm/files/liblognorm-1.1.0-fix-enable-docs.patch
-
48dev-libs/liblognorm/liblognorm-1.1.0.ebuild
-
4dev-libs/libltdl/libltdl-2.4.4.ebuild
-
6dev-libs/libpwquality/libpwquality-1.2.3.ebuild
-
4dev-libs/qoauth/qoauth-1.0.1.ebuild
-
4dev-libs/wayland/wayland-1.6.1.ebuild
-
9dev-libs/wayland/wayland-1.7.0.ebuild
-
9dev-perl/MongoDB/MongoDB-0.708.0.0.ebuild
-
10dev-perl/Readonly/Readonly-2.0.0.ebuild
-
4dev-php/PEAR-HTML_Template_Sigma/PEAR-HTML_Template_Sigma-1.3.0.ebuild
-
4dev-php/PEAR-HTTP/PEAR-HTTP-1.4.1-r2.ebuild
-
4dev-php/PEAR-Net_IMAP/PEAR-Net_IMAP-1.1.3.ebuild
-
4dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.3.3.ebuild
-
4dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.4.ebuild
-
4dev-php/PEAR-Pager/PEAR-Pager-2.4.9.ebuild
-
4dev-php/PEAR-Structures_DataGrid/PEAR-Structures_DataGrid-0.9.3.ebuild
-
4dev-php/PEAR-System_Command/PEAR-System_Command-1.0.8.ebuild
-
4dev-php/PEAR-VersionControl_SVN/PEAR-VersionControl_SVN-0.5.2.ebuild
-
4dev-php/PEAR-XML_Beautifier/PEAR-XML_Beautifier-1.2.2-r1.ebuild
-
4dev-php/PEAR-XML_Parser/PEAR-XML_Parser-1.3.4-r1.ebuild
-
4dev-php/PEAR-XML_RSS/PEAR-XML_RSS-1.0.2.ebuild
-
4dev-php/xdebug-client/xdebug-client-2.2.6.ebuild
-
4dev-php/xdebug/xdebug-2.2.6.ebuild
-
1dev-python/behave/Manifest
-
53dev-python/behave/behave-1.2.5.ebuild
-
4dev-python/gevent/gevent-1.0.1.ebuild
-
4dev-python/gnuplot-py/gnuplot-py-1.8-r1.ebuild
-
4dev-python/greenlet/greenlet-0.4.5.ebuild
-
4dev-python/isodate/isodate-0.5.1.ebuild
@ -0,0 +1,23 @@ |
|||
# Copyright 1999-2015 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/stress/stress-1.0.4-r1.ebuild,v 1.1 2015/02/22 12:43:47 mgorny Exp $ |
|||
|
|||
EAPI=5 |
|||
|
|||
inherit flag-o-matic |
|||
|
|||
MY_P=${PN}-${PV/_/} |
|||
DESCRIPTION="Imposes stressful loads on different aspects of the system" |
|||
HOMEPAGE="http://people.seas.harvard.edu/~apw/stress" |
|||
SRC_URI="http://people.seas.harvard.edu/~apw/stress/${MY_P}.tar.gz -> ${MY_P}-r1.tar.gz" |
|||
|
|||
LICENSE="GPL-3" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86" |
|||
IUSE="static" |
|||
|
|||
S=${WORKDIR}/${MY_P} |
|||
|
|||
src_prepare() { |
|||
use static && append-ldflags -static |
|||
} |
@ -1,27 +0,0 @@ |
|||
# Copyright 1999-2014 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/css-mode/css-mode-0.11.ebuild,v 1.11 2014/02/21 00:10:55 ulm Exp $ |
|||
|
|||
EAPI=5 |
|||
|
|||
inherit elisp |
|||
|
|||
DESCRIPTION="A major mode for editing Cascading Style Sheets (CSS)" |
|||
HOMEPAGE="http://www.garshol.priv.no/download/software/css-mode/" |
|||
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
|||
|
|||
LICENSE="GPL-2+" |
|||
SLOT="0" |
|||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd" |
|||
|
|||
SITEFILE="50${PN}-gentoo.el" |
|||
|
|||
src_prepare() { |
|||
# Fix documentation |
|||
sed -i -e 's,HREF="/visuals/standard.css",HREF="standard.css",' doco.html |
|||
} |
|||
|
|||
src_install() { |
|||
elisp_src_install |
|||
dohtml -A css doco.html standard.css |
|||
} |
@ -0,0 +1,80 @@ |
|||
From 0e4b1d2127957459b79f41a96f1fa0061d399b3b Mon Sep 17 00:00:00 2001 |
|||
From: Michael Stahl <mstahl@redhat.com> |
|||
Date: Sat, 14 Feb 2015 00:17:06 +0100 |
|||
Subject: tdf#78174: toolkit: work around GCC 4.9 -Os link failure |
|||
|
|||
A build with gcc (GCC) 4.9.2 20141101 (Red Hat 4.9.2-1) for 32-bit x86 |
|||
fails because of these undefined symbols: |
|||
|
|||
> nm --demangle workdir/CxxObject/svx/source/fmcomp/fmgridif.o | grep |
|||
\\bWindowListenerMultiplexer::acquire |
|||
U non-virtual thunk to WindowListenerMultiplexer::acquire() |
|||
|
|||
They should probably be generated inline. Work around by out-lining the |
|||
definition of the methods. |
|||
|
|||
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64812 |
|||
|
|||
Change-Id: I318f7c39bdf1243be385bc6dc0a47862b22e92c5 |
|||
(cherry picked from commit 6b3aa0fe4094e87290bd33a30bd6cd99ee78ce38) |
|||
Reviewed-on: https://gerrit.libreoffice.org/14509 |
|||
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> |
|||
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> |
|||
|
|||
diff --git a/include/toolkit/helper/macros.hxx b/include/toolkit/helper/macros.hxx
|
|||
index e048e75..b212dff 100644
|
|||
--- a/include/toolkit/helper/macros.hxx
|
|||
+++ b/include/toolkit/helper/macros.hxx
|
|||
@@ -112,8 +112,8 @@ class ClassName : public ListenerMultiplexerBase, public InterfaceName \
|
|||
public: \ |
|||
ClassName( ::cppu::OWeakObject& rSource ); \ |
|||
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \ |
|||
- void SAL_CALL acquire() throw() SAL_OVERRIDE { ListenerMultiplexerBase::acquire(); } \
|
|||
- void SAL_CALL release() throw() SAL_OVERRIDE { ListenerMultiplexerBase::release(); } \
|
|||
+ void SAL_CALL acquire() throw() SAL_OVERRIDE; \
|
|||
+ void SAL_CALL release() throw() SAL_OVERRIDE; \
|
|||
void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; |
|||
|
|||
|
|||
@@ -124,8 +124,8 @@ class TOOLKIT_DLLPUBLIC ClassName : public ListenerMultiplexerBase, public Inter
|
|||
public: \ |
|||
ClassName( ::cppu::OWeakObject& rSource ); \ |
|||
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \ |
|||
- void SAL_CALL acquire() throw() SAL_OVERRIDE { ListenerMultiplexerBase::acquire(); } \
|
|||
- void SAL_CALL release() throw() SAL_OVERRIDE { ListenerMultiplexerBase::release(); } \
|
|||
+ void SAL_CALL acquire() throw() SAL_OVERRIDE; \
|
|||
+ void SAL_CALL release() throw() SAL_OVERRIDE; \
|
|||
void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; |
|||
|
|||
|
|||
@@ -140,6 +140,8 @@ ClassName::ClassName( ::cppu::OWeakObject& rSource ) \
|
|||
: ListenerMultiplexerBase( rSource ) \ |
|||
{ \ |
|||
} \ |
|||
+void SAL_CALL ClassName::acquire() throw() { ListenerMultiplexerBase::acquire(); } \
|
|||
+void SAL_CALL ClassName::release() throw() { ListenerMultiplexerBase::release(); } \
|
|||
::com::sun::star::uno::Any ClassName::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) \ |
|||
{ \ |
|||
::com::sun::star::uno::Any aRet = ::cppu::queryInterface( rType, \ |
|||
diff --git a/toolkit/source/helper/listenermultiplexer.cxx b/toolkit/source/helper/listenermultiplexer.cxx
|
|||
index 797fad2..b109c5f 100644
|
|||
--- a/toolkit/source/helper/listenermultiplexer.cxx
|
|||
+++ b/toolkit/source/helper/listenermultiplexer.cxx
|
|||
@@ -47,6 +47,15 @@ EventListenerMultiplexer::EventListenerMultiplexer( ::cppu::OWeakObject& rSource
|
|||
{ |
|||
} |
|||
|
|||
+void SAL_CALL EventListenerMultiplexer::acquire() throw ()
|
|||
+{
|
|||
+ return ListenerMultiplexerBase::acquire();
|
|||
+}
|
|||
+void SAL_CALL EventListenerMultiplexer::release() throw ()
|
|||
+{
|
|||
+ return ListenerMultiplexerBase::release();
|
|||
+}
|
|||
+
|
|||
// ::com::sun::star::uno::XInterface |
|||
::com::sun::star::uno::Any EventListenerMultiplexer::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) |
|||
{ |
|||
--
|
|||
cgit v0.10.2 |
@ -1,2 +1,3 @@ |
|||
DIST pdf2djvu-0.7.19.tar.xz 227248 SHA256 c783cea31bf4016dbf85e242a2ebcb54fe70a41bcb046e1dd0cb502a7f5f003c SHA512 7e7ab8e92eb2f57dc678771333bb6c9f88ad460585cc8b886ae10f9c120833b3d95587f94c86ab1b152d6836d5531f64d031af33d95fc96f8219cd611cfe300f WHIRLPOOL 8434cd0ab7901176b3833ddabe7ed3eed8f5b4227afeff72b10e501009a02a6e67ad83d7ae261577945e3c97c5eb61ad36ff805891d94cfd27c517e5a916b2a7 |
|||
DIST pdf2djvu_0.7.16.tar.gz 320802 SHA256 dbda2086d0f164d0da6e785f8ffd6f252bf805ce7930127d42aab9dbf1bde4f9 SHA512 ccd4b11137b730226f42382669517a2cd8eed235fb50ef67e0958194e5a290282a450f5118c6117f1f77a099c79c4755bf8e5ebf1dbf9743ac74cf78d830c538 WHIRLPOOL 8d7b28f7df5135cd97cf458adf0979daa177fc2d0e3e41eb20698dceb92ddb41c4fc0282d0d0423dae68402d7cfa354df4c7dd8e77cbf93567d4889158dc80e5 |
|||
DIST pdf2djvu_0.7.17.tar.gz 320923 SHA256 fe6d6e2d6df53195f082890d3cb5e50080784510691e708a5e4614b49662f4da SHA512 ba4071fb6cb9ae8d5d5a226a4ab23a3298fae137d03cc675057e5451e79a2ddf517441611481098df07468f0258894ef6a14705793bfeaa56aec2aea9b32827a WHIRLPOOL f54e78f58755493aa3a953043ef7538da68a5d0e8838a31a81a020dd3e5b0ef81eb8abcaa56ba1e7135996dd95cdad529e2d3c72c6a1c26ae8356eb62d028b2e |
@ -0,0 +1,53 @@ |
|||
# Copyright 1999-2015 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/pdf2djvu-0.7.19.ebuild,v 1.1 2015/02/22 22:23:43 dilfridge Exp $ |
|||
|
|||
EAPI=5 |
|||
|
|||
PYTHON_COMPAT=( python{2_6,2_7} ) |
|||
|
|||
inherit python-single-r1 toolchain-funcs |
|||
|
|||
DESCRIPTION="A tool to create DjVu files from PDF files" |
|||
HOMEPAGE="http://code.google.com/p/pdf2djvu/" |
|||
SRC_URI="https://bitbucket.org/jwilk/${PN}/downloads/${P}.tar.xz" |
|||
|
|||
LICENSE="GPL-2" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~x86" |
|||
IUSE="+graphicsmagick nls openmp test" |
|||
|
|||
RDEPEND=" |
|||
>=app-text/djvu-3.5.21:= |
|||
>=app-text/poppler-0.16.7:= |
|||
dev-libs/libxml2:= |
|||
dev-libs/libxslt:= |
|||
graphicsmagick? ( media-gfx/graphicsmagick:= ) |
|||
" |
|||
DEPEND="${RDEPEND} |
|||
dev-cpp/pstreams |
|||
virtual/pkgconfig |
|||
nls? ( sys-devel/gettext ) |
|||
test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
|||
" |
|||
|
|||
REQUIRED_USE="test? ( graphicsmagick ${PYTHON_REQUIRED_USE} )" |
|||
|
|||
pkg_setup() { |
|||
use test && python-single-r1_pkg_setup |
|||
} |
|||
|
|||
src_configure() { |
|||
local openmp=--disable-openmp |
|||
use openmp && tc-has-openmp && openmp=--enable-openmp |
|||
|
|||
econf \ |
|||
${openmp} \ |
|||
$(use_enable nls) \ |
|||
$(use_with graphicsmagick) |
|||
} |
|||
|
|||
src_install() { |
|||
default |
|||
dodoc doc/{changelog,{cjk,credits,djvudigital}.txt} |
|||
} |
@ -0,0 +1,72 @@ |
|||
# Copyright 1999-2015 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jflex/jflex-1.4.3-r1.ebuild,v 1.1 2015/02/23 10:37:47 monsieurp Exp $ |
|||
|
|||
# Currently, this package uses an included JFlex.jar file to bootstrap. |
|||
# Upstream was contacted and this bootstrap is really needed. The only way to avoid it would be to use a supplied pre-compiled .scanner file. |
|||
|
|||
EAPI="5" |
|||
|
|||
JAVA_PKG_IUSE="source" |
|||
|
|||
inherit java-pkg-2 java-ant-2 |
|||
|
|||
DESCRIPTION="JFlex is a lexical analyzer generator for Java" |
|||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
|||
HOMEPAGE="http://www.jflex.de/" |
|||
LICENSE="GPL-2" |
|||
SLOT="1.4" |
|||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~ppc-macos ~x64-macos ~x86-macos" |
|||
RDEPEND=">=virtual/jre-1.4 |
|||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) |
|||
>=dev-java/ant-core-1.7.0 |
|||
>=dev-java/javacup-0.11a_beta20060608:0" |
|||
|
|||
DEPEND=">=virtual/jdk-1.4 |
|||
dev-java/junit:0 |
|||
>=dev-java/javacup-0.11a_beta20060608:0" |
|||
|
|||
IUSE="doc source vim-syntax" |
|||
|
|||
src_unpack() { |
|||
unpack "${P}.tar.gz" |
|||
cd "${S}/src" |
|||
|
|||
mkdir "${S}/tools" |
|||
cp "${S}/lib/JFlex.jar" "${S}/tools/JFlex.jar" |
|||
rm -rf java_cup "${S}/lib/JFlex.jar" |
|||
|
|||
java-ant_rewrite-classpath |
|||
} |
|||
|
|||
src_compile() { |
|||
ANT_TASKS="javacup" |
|||
jflex_cp="$(java-pkg_getjars --build-only junit):$(java-pkg_getjars ant-core,javacup)" |
|||
cd "${S}/src" |
|||
eant realclean |
|||
eant -Dgentoo.classpath="${jflex_cp}" jar |
|||
|
|||
rm "${S}/tools/JFlex.jar" |
|||
cp "${S}/lib/JFlex.jar" "${S}/tools/" |
|||
rm "${S}/lib/JFlex.jar" |
|||
|
|||
eant realclean |
|||
einfo "Recompiling using the newly generated JFlex library" |
|||
eant -Dgentoo.classpath="${jflex_cp}" jar |
|||
} |
|||
|
|||
src_install() { |
|||
java-pkg_dojar lib/JFlex.jar |
|||
java-pkg_dolauncher "${PF}" --main JFlex.Main |
|||
java-pkg_register-ant-task |
|||
|
|||
dodoc doc/manual.pdf doc/manual.ps.gz src/changelog |
|||
dohtml -r doc/* |
|||
|
|||
use source && java-pkg_dosrc src/JFlex |
|||
|
|||
if use vim-syntax; then |
|||
insinto /usr/share/vim/vimfiles/syntax |
|||
doins "${S}/lib/jflex.vim" |
|||
fi |
|||
} |
@ -0,0 +1,72 @@ |
|||
# Copyright 1999-2015 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/jimtcl/jimtcl-0.76.ebuild,v 1.1 2015/02/22 16:37:48 hwoarang Exp $ |
|||
|
|||
EAPI="5" |
|||
|
|||
inherit multiprocessing eutils |
|||
|
|||
if [[ ${PV} == "9999" ]] ; then |
|||
EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git" |
|||
inherit git-2 |
|||
else |
|||
inherit vcs-snapshot |
|||
SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86" |
|||
fi |
|||
|
|||
DESCRIPTION="Small footprint implementation of Tcl programming language" |
|||
HOMEPAGE="http://jim.tcl.tk/" |
|||
|
|||
LICENSE="LGPL-2" |
|||
SLOT="0" |
|||
IUSE="doc static-libs" |
|||
|
|||
RDEPEND="" |
|||
DEPEND="doc? ( app-text/asciidoc ) |
|||
app-arch/unzip" |
|||
|
|||
src_unpack() { |
|||
if [[ ${PV} == "9999" ]] ; then |
|||
git-2_src_unpack |
|||
else |
|||
default |
|||
cd "${WORKDIR}"/msteveb-jimtcl-* |
|||
S=${PWD} |
|||
fi |
|||
} |
|||
|
|||
src_prepare() { |
|||
epatch "${FILESDIR}"/${PN}-0.75-bootstrap.patch |
|||
} |
|||
|
|||
src_configure() { |
|||
multijob_init |
|||
CCACHE=None multijob_child_init econf --with-jim-shared |
|||
if use static-libs ; then |
|||
# The build does not support doing both simultaneously. |
|||
mkdir static-libs |
|||
cd static-libs |
|||
CCACHE=None ECONF_SOURCE=${S} multijob_child_init econf |
|||
fi |
|||
multijob_finish |
|||
} |
|||
|
|||
src_compile() { |
|||
# Must build static-libs first. |
|||
use static-libs && emake -C static-libs libjim.a |
|||
emake all |
|||
use doc && emake docs |
|||
} |
|||
|
|||
src_install() { |
|||
dobin jimsh |
|||
use static-libs && dolib.a static-libs/libjim.a |
|||
ln -sf libjim.so.* libjim.so |
|||
dolib.so libjim.so* |
|||
insinto /usr/include |
|||
doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h \ |
|||
jim-win32compat.h jim-eventloop.h jim-config.h |
|||
dodoc AUTHORS README TODO |
|||
use doc && dohtml Tcl.html |
|||
} |
@ -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-lang/swi-prolog/swi-prolog-7.1.30.ebuild,v 1.1 2015/02/23 10:50:51 keri Exp $ |
|||
|
|||
EAPI=4 |
|||
|
|||
inherit eutils flag-o-matic java-pkg-opt-2 multilib |
|||
|
|||
PATCHSET_VER="0" |
|||
|
|||
DESCRIPTION="free, small, and standard compliant Prolog compiler" |
|||
HOMEPAGE="http://www.swi-prolog.org/" |
|||
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz |
|||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" |
|||
|
|||
LICENSE="LGPL-2.1" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
|||
IUSE="archive debug doc +gmp hardened java minimal odbc +readline ssl static-libs test zlib X" |
|||
|
|||
RDEPEND="sys-libs/ncurses |
|||
archive? ( app-arch/libarchive ) |
|||
zlib? ( sys-libs/zlib ) |
|||
odbc? ( dev-db/unixODBC ) |
|||
readline? ( sys-libs/readline ) |
|||
gmp? ( dev-libs/gmp ) |
|||
ssl? ( dev-libs/openssl ) |
|||
java? ( >=virtual/jdk-1.4 ) |
|||
X? ( |
|||
virtual/jpeg |
|||
x11-libs/libX11 |
|||
x11-libs/libXft |
|||
x11-libs/libXpm |
|||
x11-libs/libXt |
|||
x11-libs/libICE |
|||
x11-libs/libSM )" |
|||
|
|||
DEPEND="${RDEPEND} |
|||
X? ( x11-proto/xproto ) |
|||
java? ( test? ( =dev-java/junit-3.8* ) )" |
|||
|
|||
S="${WORKDIR}/pl-${PV}" |
|||
|
|||
src_prepare() { |
|||
EPATCH_FORCE=yes |
|||
EPATCH_SUFFIX=patch |
|||
epatch "${WORKDIR}"/${PV} |
|||
|
|||
# OSX/Intel ld doesn't like an archive without table of contents |
|||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die |
|||
} |
|||
|
|||
src_configure() { |
|||
append-flags -fno-strict-aliasing |
|||
use ppc && append-flags -mno-altivec |
|||
use hardened && append-flags -fno-unit-at-a-time |
|||
use debug && append-flags -DO_DEBUG |
|||
|
|||
# ARCH is used in the configure script to figure out host and target |
|||
# specific stuff |
|||
export ARCH=${CHOST} |
|||
|
|||
export CC_FOR_BUILD=$(tc-getBUILD_CC) |
|||
|
|||
cd "${S}"/src || die |
|||
econf \ |
|||
--libdir="${EPREFIX}"/usr/$(get_libdir) \ |
|||
$(use_enable gmp) \ |
|||
$(use_enable readline) \ |
|||
$(use_enable static-libs static) \ |
|||
--enable-shared \ |
|||
--enable-custom-flags COFLAGS="${CFLAGS}" |
|||
|
|||
if ! use minimal ; then |
|||
local jpltestconf |
|||
if use java && use test ; then |
|||
jpltestconf="--with-junit=$(java-config --classpath junit)" |
|||
fi |
|||
|
|||
cd "${S}/packages" || die |
|||
econf \ |
|||
--libdir="${EPREFIX}"/usr/$(get_libdir) \ |
|||
$(use_with archive) \ |
|||
$(use_with java jpl) \ |
|||
${jpltestconf} \ |
|||
$(use_with odbc) \ |
|||
$(use_with ssl) \ |
|||
$(use_with X xpce) \ |
|||
$(use_with zlib) \ |
|||
COFLAGS='"${CFLAGS}"' |
|||
fi |
|||
} |
|||
|
|||
src_compile() { |
|||
cd "${S}"/src || die |
|||
emake |
|||
|
|||
if ! use minimal ; then |
|||
cd "${S}/packages" || die |
|||
emake |
|||
./report-failed || die "Cannot report failed packages" |
|||
fi |
|||
} |
|||
|
|||
src_test() { |
|||
cd "${S}/src" || die |
|||
emake check |
|||
|
|||
if ! use minimal ; then |
|||
cd "${S}/packages" || die |
|||
emake check |
|||
./report-failed || die "Cannot report failed packages" |
|||
fi |
|||
} |
|||
|
|||
src_install() { |
|||
emake -C src DESTDIR="${D}" install |
|||
|
|||
if ! use minimal ; then |
|||
emake -C packages DESTDIR="${D}" install |
|||
if use doc ; then |
|||
emake -C packages DESTDIR="${D}" html-install |
|||
fi |
|||
./packages/report-failed || die "Cannot report failed packages" |
|||
fi |
|||
|
|||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION |
|||
} |