parent
410cfd571b
commit
9b731c127a
@ -0,0 +1,12 @@
|
||||
diff -uNr apachetop-0.12.6.orig/configure.ac apachetop-0.12.6/configure.ac
|
||||
--- apachetop-0.12.6.orig/configure.ac 2013-07-09 14:06:14.000000000 -0400
|
||||
+++ apachetop-0.12.6/configure.ac 2013-07-09 14:07:36.000000000 -0400
|
||||
@@ -6,7 +6,7 @@
|
||||
AC_CONFIG_AUX_DIR(config)
|
||||
#AC_CONFIG_MACRO_DIR(m4) # 2.58
|
||||
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADER(config.h)
|
||||
AM_INIT_AUTOMAKE(apachetop, 0.12.6) # 2.53 only?
|
||||
|
||||
# Add non-standard directories to the include path
|
@ -1 +1,2 @@
|
||||
DIST salt-0.15.3.tar.gz 3427038 SHA256 19e2ca70b60cad9a2752d1c16d007a243f3dbf4a00bba24d8ecfba1b59e135b2 SHA512 f3cb1956862b3390b8f5bf2fa23dff42f98d4a413c8ba247241e9be06185a9a1ca2aa95f39fecfacc932d4287085e0e56547edf10f94f2f634005941486ff434 WHIRLPOOL 4904879107aead968104bb671d25e57fc6e6e3bd4ed9a01c9edfb225e6ce3d07138e3fda4eb0a3c8ff0bbc3b5214c4ca42026e8708f1a1d798f3f6a59f988138
|
||||
DIST salt-0.16.0.tar.gz 3523789 SHA256 2f79012838a5e674f5cd2126326606bffc3b3cb24c33d8667a11158241b656fc SHA512 1f02b20b71922717cf1ae4ab012e0e2b502a57d52b06ed446ab2fb3ce08912b1bc0a4ed702b0189b1890588af7b3ce94d98bc61815d9d3c03e650b88205fc7f9 WHIRLPOOL 5a597b3804576a5ace0e3f6cd937f81db25bf95b731f646a153c9af2bd28826116b2300f125e02cb5929c1dc8a1a4afcff446be2ee7c7bf2546a3b279f4930ab
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/salt-0.16.0.ebuild,v 1.1 2013/07/10 00:02:54 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(python{2_6,2_7})
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager."
|
||||
HOMEPAGE="http://saltstack.org/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="ldap libvirt mako mongodb mysql openssl redis test"
|
||||
|
||||
RDEPEND=">=dev-python/pyzmq-2.1.9[${PYTHON_USEDEP}]
|
||||
dev-python/msgpack[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/m2crypto[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/pycryptopp[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
openssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
|
||||
libvirt? ( app-emulation/libvirt[python] )
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
|
||||
redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )"
|
||||
DEPEND="test? (
|
||||
dev-python/virtualenv
|
||||
${RDEPEND}
|
||||
)"
|
||||
|
||||
python_prepare() {
|
||||
sed -i '/install_requires=/ d' setup.py || die "sed failed"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
for s in minion master syndic; do
|
||||
newinitd "${FILESDIR}"/${s}-initd-1 salt-${s}
|
||||
newconfd "${FILESDIR}"/${s}-confd-1 salt-${s}
|
||||
done
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins conf/*
|
||||
|
||||
dodoc README.rst AUTHORS
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# testsuite likes lots of files
|
||||
ulimit -n 3072
|
||||
SHELL="/bin/bash" TMPDIR=/tmp ./tests/runtests.py --unit-tests --no-report || die
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
diff -uNr nvi-1.81.6.orig/dist/configure.in nvi-1.81.6/dist/configure.in
|
||||
--- nvi-1.81.6.orig/dist/configure.in 2013-07-09 16:54:56.000000000 -0400
|
||||
+++ nvi-1.81.6/dist/configure.in 2013-07-09 16:59:35.000000000 -0400
|
||||
@@ -4,7 +4,7 @@
|
||||
AC_INIT(../common/main.c)
|
||||
AC_CONFIG_AUX_DIR(.)
|
||||
AM_INIT_AUTOMAKE(vi, 1.81.6)
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADER(config.h)
|
||||
|
||||
dnl Configure setup.
|
||||
AC_PROG_INSTALL()
|
@ -0,0 +1,30 @@
|
||||
diff -uNr nvi-1.81.6.orig/dist/configure.in nvi-1.81.6/dist/configure.in
|
||||
--- nvi-1.81.6.orig/dist/configure.in 2013-07-09 17:17:35.000000000 -0400
|
||||
+++ nvi-1.81.6/dist/configure.in 2013-07-09 17:18:48.000000000 -0400
|
||||
@@ -263,11 +263,13 @@
|
||||
[ --enable-gtk Build a Gtk front-end for vi.],
|
||||
[vi_cv_gtk=$enableval], [vi_cv_gtk="no"])
|
||||
AC_MSG_RESULT($vi_cv_gtk)
|
||||
+
|
||||
+#
|
||||
+# Find pkg-config
|
||||
+#
|
||||
+AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||
+
|
||||
if test "$vi_cv_gtk" = "yes"; then
|
||||
- #
|
||||
- # Find pkg-config
|
||||
- #
|
||||
- AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||
if test x$PKG_CONFIG = xno ; then
|
||||
if test "$vi_cv_widechar" = "yes"; then
|
||||
AC_MSG_ERROR(
|
||||
@@ -531,7 +533,7 @@
|
||||
[CURSHEADER=ncursesw/ncurses.h])
|
||||
fi
|
||||
vi_programs="vi $vi_programs"
|
||||
- CURSLIBS="-l$vi_cv_curses"
|
||||
+ CURSLIBS=`$PKG_CONFIG --libs $vi_cv_curses`
|
||||
else
|
||||
AC_MSG_WARN([*** No suitable curses library found.])
|
||||
if test "$vi_programs"X = X; then
|
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/nvi/nvi-1.81.6-r4.ebuild,v 1.1 2013/07/09 22:23:51 neurogeek Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools db-use eutils flag-o-matic
|
||||
|
||||
DBVERS="4.8.30 4.7 4.6 4.5 4.4 4.3 4.2"
|
||||
DBSLOTS=
|
||||
DBDEPENDS=
|
||||
for DBVER in ${DBVERS}
|
||||
do
|
||||
if [[ ${DBVER} = *.*.* ]]; then
|
||||
DBSLOTS="${DBSLOTS} ${DBVER%.*}"
|
||||
DBDEPENDS="${DBDEPENDS} >=sys-libs/db-${DBVER}:${DBVER%.*}"
|
||||
else
|
||||
DBSLOTS="${DBSLOTS} ${DBVER}"
|
||||
DBDEPENDS="${DBDEPENDS} sys-libs/db:${DBVER}"
|
||||
fi
|
||||
done
|
||||
|
||||
DESCRIPTION="Vi clone"
|
||||
HOMEPAGE="https://sites.google.com/a/bostic.com/keithbostic/vi"
|
||||
SRC_URI="http://garage.linux.student.kuleuven.be/~skimo/nvi/devel/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="perl tcl unicode"
|
||||
|
||||
CDEPEND="|| ( ${DBDEPENDS} )
|
||||
>=sys-libs/ncurses-5.6-r2
|
||||
perl? ( dev-lang/perl )
|
||||
tcl? ( !unicode? ( >=dev-lang/tcl-8.5 ) )"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
app-admin/eselect-vi"
|
||||
|
||||
REQUIRED_USE="tcl? ( !unicode )"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
epatch "${FILESDIR}"/${P}-db44.patch
|
||||
epatch "${FILESDIR}"/${P}-db.patch
|
||||
epatch "${FILESDIR}"/${P}-perl-as-needed.patch
|
||||
epatch "${FILESDIR}"/${P}-perl-shortnames.patch
|
||||
epatch "${FILESDIR}"/${P}-ac_config_header.patch
|
||||
epatch "${FILESDIR}"/${P}-use_pkgconfig_for_ncurses.patch
|
||||
|
||||
cd dist || die
|
||||
chmod +x findconfig || die
|
||||
|
||||
append-cppflags -I"$(db_includedir ${DBSLOTS})"
|
||||
|
||||
sed -i -e "s@-ldb@-l$(db_libname ${DBSLOTS})@" configure.in || die
|
||||
rm -f configure || die
|
||||
eautoreconf -Im4
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
use perl && myconf="${myconf} --enable-perlinterp"
|
||||
use unicode && myconf="${myconf} --enable-widechar"
|
||||
use tcl && ! use unicode && myconf="${myconf} --enable-tclinterp"
|
||||
|
||||
append-cppflags '-D_PATH_MSGCAT="\"/usr/share/vi/catalog/\""'
|
||||
|
||||
pushd dist 2>/dev/null
|
||||
econf \
|
||||
--program-prefix=n \
|
||||
${myconf} \
|
||||
|| die "configure failed"
|
||||
popd 2>/dev/null
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd dist 2>/dev/null
|
||||
emake || die "make failed"
|
||||
popd 2>/dev/null
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd dist 2>/dev/null
|
||||
emake -j1 DESTDIR="${D}" install || die "install failed"
|
||||
popd 2>/dev/null
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Setting /usr/bin/vi symlink"
|
||||
eselect vi update --if-unset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
einfo "Updating /usr/bin/vi symlink"
|
||||
eselect vi update --if-unset
|
||||
}
|
@ -1,8 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>wine</herd>
|
||||
<upstream>
|
||||
<remote-id type="google-code">winetricks</remote-id>
|
||||
</upstream>
|
||||
<herd>wine</herd>
|
||||
<upstream>
|
||||
<remote-id type="google-code">winetricks</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="rar">Pull in <pkg>app-arch/unrar</pkg> for extraction of
|
||||
rar-compressed game files</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpb/tpb-0.6.4.ebuild,v 1.7 2010/01/01 20:54:45 ssuominen Exp $
|
||||
|
||||
inherit linux-info eutils
|
||||
|
||||
DESCRIPTION="IBM ThinkPad buttons utility"
|
||||
HOMEPAGE="http://savannah.nongnu.org/projects/tpb/"
|
||||
SRC_URI="http://savannah.nongnu.org/download/tpb/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 -ppc x86"
|
||||
IUSE="nls xosd"
|
||||
|
||||
DEPEND="x11-libs/libXt
|
||||
x11-libs/libXext
|
||||
xosd? ( >=x11-libs/xosd-2.2.0 )"
|
||||
|
||||
CONFIG_CHECK="~NVRAM"
|
||||
ERROR_NVRAM="${P} requires /dev/nvram support (CONFIG_NVRAM)"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-configure-fix.diff
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable xosd)
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc README ChangeLog CREDITS TODO
|
||||
dodoc doc/{callback_example.sh,nvram.txt,tpbrc}
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/rioutil/rioutil-1.5.0-r1.ebuild,v 1.6 2012/03/03 16:07:21 ssuominen Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Command line tool for transfering mp3s to and from a Rio 600, 800, Rio Riot, and Nike PSA/Play"
|
||||
HOMEPAGE="http://rioutil.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/rioutil/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/libusb:0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" libdir="/usr/$(get_libdir)" install || die
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
insinto /lib/udev/rules.d
|
||||
doins "${FILESDIR}"/75-rio.rules
|
||||
}
|
@ -1,581 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.6.9999.ebuild,v 1.43 2013/06/30 15:25:25 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_REQUIRED="optional"
|
||||
QT_MINIMAL="4.7.4"
|
||||
KDE_SCM="git"
|
||||
CMAKE_REQUIRED="never"
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
PYTHON_REQ_USE="threads,xml"
|
||||
|
||||
# experimental ; release ; old
|
||||
# Usually the tarballs are moved a lot so this should make
|
||||
# everyone happy.
|
||||
DEV_URI="
|
||||
http://dev-builds.libreoffice.org/pre-releases/src
|
||||
http://download.documentfoundation.org/libreoffice/src/${PV:0:5}/
|
||||
http://download.documentfoundation.org/libreoffice/old/${PV}/
|
||||
"
|
||||
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
|
||||
ADDONS_URI="http://dev-www.libreoffice.org/src/"
|
||||
|
||||
BRANDING="${PN}-branding-gentoo-0.6.tar.xz"
|
||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||
|
||||
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-2"
|
||||
inherit base autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite."
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
|
||||
|
||||
# Split modules following git/tarballs
|
||||
# Core MUST be first!
|
||||
# Help is used for the image generator
|
||||
MODULES="core binfilter help"
|
||||
# Only release has the tarballs
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
for i in ${DEV_URI}; do
|
||||
for mod in ${MODULES}; do
|
||||
if [[ ${mod} == binfilter ]]; then
|
||||
SRC_URI+=" binfilter? ( ${i}/${PN}-${mod}-${PV}.tar.xz )"
|
||||
else
|
||||
SRC_URI+=" ${i}/${PN}-${mod}-${PV}.tar.xz"
|
||||
fi
|
||||
done
|
||||
unset mod
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
unset DEV_URI
|
||||
|
||||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/ea91f2fb4212a21d708aced277e6e85a-vigra1.4.0.tar.gz"
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
||||
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
ADDONS_SRC+=" java? ( ${ADDONS_URI}/ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip )"
|
||||
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it?
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino
|
||||
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable
|
||||
SRC_URI+=" ${ADDONS_SRC}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset EXT_URI
|
||||
unset ADDONS_SRC
|
||||
|
||||
IUSE="binfilter binfilterdebug +branding +cups dbus eds gnome gstreamer +gtk
|
||||
jemalloc kde mysql odk opengl postgres test +vba +webdav"
|
||||
|
||||
LO_EXTS="nlpsolver pdfimport presenter-console presenter-minimizer scripting-beanshell scripting-javascript wiki-publisher"
|
||||
# Unpackaged separate extensions:
|
||||
# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf?
|
||||
# hunart: only on ooo extensions -> fubared download path somewhere on sf
|
||||
# numbertext, typo, validator, watch-window: ^^
|
||||
# oooblogger: no homepage or anything
|
||||
# Extensions that need extra work:
|
||||
# report-builder: missing java packages
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
IUSE+=" libreoffice_extensions_${lo_xt}"
|
||||
done
|
||||
unset lo_xt
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-arch/zip
|
||||
app-arch/unzip
|
||||
>=app-text/hunspell-1.3.2-r3
|
||||
app-text/mythes
|
||||
>=app-text/libexttextcat-3.2
|
||||
app-text/libwpd:0.9[tools]
|
||||
app-text/libwpg:0.2
|
||||
>=app-text/libwps-0.2.2
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
>=dev-cpp/libcmis-0.2:0.2
|
||||
dev-db/unixODBC
|
||||
dev-libs/expat
|
||||
>=dev-libs/glib-2.28
|
||||
>=dev-libs/hyphen-2.7.1
|
||||
>=dev-libs/icu-4.8.1.1
|
||||
>=dev-libs/nspr-4.8.8
|
||||
>=dev-libs/nss-3.12.9
|
||||
>=dev-lang/perl-5.0
|
||||
>=dev-libs/openssl-1.0.0d
|
||||
>=dev-libs/redland-1.0.14[ssl]
|
||||
gnome-base/librsvg
|
||||
media-gfx/graphite2
|
||||
>=media-libs/fontconfig-2.8.0
|
||||
media-libs/freetype:2
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libpng-1.4
|
||||
>=media-libs/libcdr-0.0.5
|
||||
media-libs/libvisio
|
||||
>=net-misc/curl-7.21.4
|
||||
sci-mathematics/lpsolve
|
||||
>=sys-libs/db-4.8
|
||||
virtual/jpeg
|
||||
>=x11-libs/cairo-1.10.0[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( >=dev-libs/dbus-glib-0.92 )
|
||||
eds? ( gnome-extra/evolution-data-server )
|
||||
gnome? ( gnome-base/gconf:2 )
|
||||
gtk? (
|
||||
x11-libs/gdk-pixbuf[X]
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
)
|
||||
gstreamer? (
|
||||
>=media-libs/gstreamer-0.10:0.10
|
||||
>=media-libs/gst-plugins-base-0.10:0.10
|
||||
)
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
libreoffice_extensions_pdfimport? ( >=app-text/poppler-0.16:=[xpdf-headers(+),cxx] )
|
||||
libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 )
|
||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
||||
libreoffice_extensions_wiki-publisher? (
|
||||
dev-java/commons-codec:0
|
||||
dev-java/commons-httpclient:3
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/commons-logging:0
|
||||
dev-java/tomcat-servlet-api:3.0
|
||||
)
|
||||
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
postgres? ( >=dev-db/postgresql-base-9.0[kerberos] )
|
||||
webdav? ( net-libs/neon )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/libreoffice-bin
|
||||
!app-office/libreoffice-bin-debug
|
||||
!<app-office/openoffice-bin-3.4.0-r1
|
||||
!app-office/openoffice
|
||||
media-fonts/libertine-ttf
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/urw-fonts
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
=app-office/libreoffice-l10n-3.6*
|
||||
"
|
||||
|
||||
# FIXME: cppunit should be moved to test conditional
|
||||
# after everything upstream is under gbuild
|
||||
# as dmake execute tests right away
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/boost-1.46
|
||||
>=dev-libs/libxml2-2.7.8
|
||||
dev-libs/libxslt
|
||||
dev-perl/Archive-Zip
|
||||
dev-util/cppunit
|
||||
>=dev-util/gperf-3
|
||||
dev-util/intltool
|
||||
<dev-util/mdds-0.8.0
|
||||
virtual/pkgconfig
|
||||
net-misc/npapi-sdk
|
||||
>=sys-apps/findutils-4.4.2
|
||||
sys-devel/bison
|
||||
sys-apps/coreutils
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
>=sys-devel/make-3.82
|
||||
sys-libs/zlib
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
x11-proto/randrproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto
|
||||
java? (
|
||||
>=virtual/jdk-1.6
|
||||
>=dev-java/ant-core-1.7
|
||||
)
|
||||
odk? ( app-doc/doxygen )
|
||||
test? ( dev-util/cppunit )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-3.6-system-pyuno.patch"
|
||||
"${FILESDIR}/${PN}-3.6-separate-checks.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
gnome? ( gtk )
|
||||
eds? ( gnome )
|
||||
libreoffice_extensions_nlpsolver? ( java )
|
||||
libreoffice_extensions_scripting-beanshell? ( java )
|
||||
libreoffice_extensions_scripting-javascript? ( java )
|
||||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-core-${PV}"
|
||||
|
||||
CHECKREQS_MEMORY="512M"
|
||||
CHECKREQS_DISK_BUILD="6G"
|
||||
|
||||
pkg_pretend() {
|
||||
local pgslot
|
||||
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
check-reqs_pkg_pretend
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 5 ]] ) \
|
||||
; then
|
||||
eerror "Compilation with gcc older than 4.5 is not supported"
|
||||
die "Too old gcc found."
|
||||
fi
|
||||
fi
|
||||
|
||||
# ensure pg version
|
||||
if use postgres; then
|
||||
pgslot=$(postgresql-config show)
|
||||
if [[ ${pgslot//.} < 90 ]] ; then
|
||||
eerror "PostgreSQL slot must be set to 9.0 or higher."
|
||||
eerror " postgresql-config set 9.0"
|
||||
die "PostgreSQL slot is not set to 9.0 or higher."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
kde4-base_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local mod dest tmplfile tmplname mypv
|
||||
|
||||
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
|
||||
if use branding; then
|
||||
unpack "${BRANDING}"
|
||||
fi
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
for mod in ${MODULES}; do
|
||||
if [[ ${mod} == binfilter ]] && ! use binfilter; then
|
||||
continue
|
||||
fi
|
||||
unpack "${PN}-${mod}-${PV}.tar.xz"
|
||||
if [[ ${mod} != core ]]; then
|
||||
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}"
|
||||
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
fi
|
||||
done
|
||||
else
|
||||
for mod in ${MODULES}; do
|
||||
if [[ ${mod} == binfilter ]] && ! use binfilter; then
|
||||
continue
|
||||
fi
|
||||
mypv=${PV/.9999}
|
||||
[[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}"
|
||||
EGIT_PROJECT="${PN}/${mod}"
|
||||
EGIT_SOURCEDIR="${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}"
|
||||
EGIT_NOUNPACK="true"
|
||||
git-2_src_unpack
|
||||
if [[ ${mod} != core ]]; then
|
||||
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}"
|
||||
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
fi
|
||||
done
|
||||
unset EGIT_PROJECT EGIT_SOURCEDIR EGIT_REPO_URI EGIT_BRANCH
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# optimization flags
|
||||
export ARCH_FLAGS="${CXXFLAGS}"
|
||||
export LINKFLAGSOPTIMIZE="${LDFLAGS}"
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
|
||||
# patchset
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_SOURCE="${WORKDIR}/${PATCHSET/.tar.xz/}" \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
epatch
|
||||
fi
|
||||
|
||||
base_src_prepare
|
||||
|
||||
# please no debug in binfilter, it blows up things insanely
|
||||
if use binfilter && ! use binfilterdebug ; then
|
||||
for name in $(find "${S}/binfilter" -name makefile.mk) ; do
|
||||
sed -i -e '1i\CFLAGS+= -g0' $name || die
|
||||
done
|
||||
fi
|
||||
|
||||
AT_M4DIR="m4"
|
||||
eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# system pyuno mess
|
||||
sed \
|
||||
-e "s:%eprefix%:${EPREFIX}:g" \
|
||||
-e "s:%libdir%:$(get_libdir):g" \
|
||||
-i pyuno/source/module/uno.py \
|
||||
-i scripting/source/pyprov/officehelper.py || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local java_opts
|
||||
local internal_libs
|
||||
local lo_ext
|
||||
local ext_opts
|
||||
local jbs=$(sed -ne 's/.*\(-j[[:space:]]*\|--jobs=\)\([[:digit:]]\+\).*/\2/;T;p' <<< "${MAKEOPTS}")
|
||||
|
||||
# Workaround the boost header include issue for older gccs
|
||||
if [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]]; then
|
||||
append-cppflags -DBOOST_NO_0X_HDR_TYPEINDEX
|
||||
append-cppflags -DBOOST_NO_CXX11_HDR_TYPEINDEX
|
||||
fi
|
||||
|
||||
# recheck that there is some value in jobs
|
||||
[[ -z ${jbs} ]] && jbs="1"
|
||||
|
||||
# sane: just sane.h header that is used for scan in writer, not
|
||||
# linked or anything else, worthless to depend on
|
||||
# vigra: just uses templates from there
|
||||
# it is serious pain in the ass for packaging
|
||||
# should be replaced by boost::gil if someone interested
|
||||
internal_libs+="
|
||||
--without-system-sane
|
||||
--without-system-vigra
|
||||
"
|
||||
|
||||
# libreoffice extensions handling
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt})"
|
||||
done
|
||||
|
||||
if use java; then
|
||||
# hsqldb: system one is too new
|
||||
# saxon: system one does not work properly
|
||||
java_opts="
|
||||
--without-junit
|
||||
--without-system-hsqldb
|
||||
--without-system-saxon
|
||||
--with-ant-home="${ANT_HOME}"
|
||||
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
|
||||
--with-java-target-version=$(java-pkg_get-target)
|
||||
--with-jvm-path="${EPREFIX}/usr/$(get_libdir)/"
|
||||
"
|
||||
|
||||
use libreoffice_extensions_scripting-beanshell && \
|
||||
java_opts+=" --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)"
|
||||
|
||||
use libreoffice_extensions_scripting-javascript && \
|
||||
java_opts+=" --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar)"
|
||||
|
||||
if use libreoffice_extensions_wiki-publisher; then
|
||||
java_opts+="
|
||||
--with-commons-codec-jar=$(java-pkg_getjar commons-codec commons-codec.jar)
|
||||
--with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar)
|
||||
--with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar)
|
||||
--with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar)
|
||||
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use branding; then
|
||||
# hack...
|
||||
mv -v "${WORKDIR}/branding-intro.png" "${S}/icon-themes/galaxy/brand/intro.png" || die
|
||||
fi
|
||||
|
||||
# system headers/libs/...: enforce using system packages
|
||||
# --enable-unix-qstart-libpng: use libpng splashscreen that is faster
|
||||
# --enable-cairo: ensure that cairo is always required
|
||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
||||
# --enable-release-build: build the libreoffice as release
|
||||
# --disable-fetch-external: prevent dowloading during compile phase
|
||||
# --disable-gnome-vfs: old gnome virtual fs support
|
||||
# --disable-kdeab: kde3 adressbook
|
||||
# --disable-kde: kde3 support
|
||||
# --disable-ldap: ldap requires internal mozilla stuff, same like mozab
|
||||
# --disable-mozilla: disable mozilla build that is used for adresbook, not
|
||||
# affecting the nsplugin that is always ON
|
||||
# --disable-pch: precompiled headers cause build crashes
|
||||
# --disable-rpath: relative runtime path is not desired
|
||||
# --disable-systray: quickstarter does not actually work at all so do not
|
||||
# promote it
|
||||
# --disable-zenity: disable build icon
|
||||
# --enable-extension-integration: enable any extension integration support
|
||||
# --with-{max-jobs,num-cpus}: ensuring parallel building
|
||||
# --without-{afms,fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
||||
# --without-stlport: disable deprecated extensions framework
|
||||
# --disable-ext-report-builder: too much java packages pulled in
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \
|
||||
--with-system-headers \
|
||||
--with-system-libs \
|
||||
--with-system-jars \
|
||||
--with-system-dicts \
|
||||
--enable-graphite \
|
||||
--enable-cairo-canvas \
|
||||
--enable-largefile \
|
||||
--enable-mergelibs \
|
||||
--enable-python=system \
|
||||
--enable-librsvg=system \
|
||||
--enable-randr \
|
||||
--enable-randr-link \
|
||||
--enable-release-build \
|
||||
--enable-unix-qstart-libpng \
|
||||
--enable-xmlsec \
|
||||
--disable-ccache \
|
||||
--disable-crashdump \
|
||||
--disable-dependency-tracking \
|
||||
--disable-epm \
|
||||
--disable-fetch-external \
|
||||
--disable-gnome-vfs \
|
||||
--disable-ext-report-builder \
|
||||
--disable-kdeab \
|
||||
--disable-kde \
|
||||
--disable-ldap \
|
||||
--disable-mozilla \
|
||||
--disable-nsplugin \
|
||||
--disable-online-update \
|
||||
--disable-pch \
|
||||
--disable-rpath \
|
||||
--disable-systray \
|
||||
--disable-zenity \
|
||||
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \
|
||||
--with-build-version="Gentoo official package" \
|
||||
--enable-extension-integration \
|
||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-tar="${DISTDIR}" \
|
||||
--with-lang="" \
|
||||
--with-max-jobs=${jbs} \
|
||||
--with-num-cpus=${jbs} \
|
||||
--with-unix-wrapper=libreoffice \
|
||||
--with-vendor="Gentoo Foundation" \
|
||||
--with-x \
|
||||
--without-afms \
|
||||
--without-fonts \
|
||||
--without-myspell-dicts \
|
||||
--without-stlport \
|
||||
--without-system-mozilla \
|
||||
--without-help \
|
||||
--with-helppack-integration \
|
||||
--without-sun-templates \
|
||||
--disable-gtk3 \
|
||||
$(use_enable binfilter) \
|
||||
$(use_enable cups) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable eds evolution2) \
|
||||
$(use_enable gnome gconf) \
|
||||
$(use_enable gnome gio) \
|
||||
$(use_enable gnome lockdown) \
|
||||
$(use_enable gstreamer) \
|
||||
$(use_enable gtk) \
|
||||
$(use_enable kde kde4) \
|
||||
$(use_enable mysql ext-mysql-connector) \
|
||||
$(use_enable odk) \
|
||||
$(use_enable opengl) \
|
||||
$(use_enable postgres postgresql-sdbc) \
|
||||
$(use_enable test linkoo) \
|
||||
$(use_enable vba) \
|
||||
$(use_enable webdav neon) \
|
||||
$(use_with java) \
|
||||
$(use_with mysql system-mysql-cppconn) \
|
||||
$(use_with odk doxygen) \
|
||||
${internal_libs} \
|
||||
${java_opts} \
|
||||
${ext_opts}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# hack for offlinehelp, this needs fixing upstream at some point
|
||||
# it is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
(
|
||||
source "${S}/config_host.mk" 2&> /dev/null
|
||||
|
||||
local path="${SOLARVER}/${INPATH}/res/img"
|
||||
mkdir -p "${path}" || die
|
||||
|
||||
echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=icon-themes/galaxy/res/helpimg > \"${path}/helpimg.ilst\""
|
||||
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
|
||||
-dir=icon-themes/galaxy/res/helpimg \
|
||||
> "${path}/helpimg.ilst"
|
||||
[[ -s "${path}/helpimg.ilst" ]] || ewarn "The help images list is empty, something is fishy, report a bug."
|
||||
)
|
||||
|
||||
# this is not a proper make script
|
||||
make build || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make unitcheck || die
|
||||
make slowcheck || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# This is not Makefile so no buildserver
|
||||
make DESTDIR="${D}" distro-pack-install -o build -o check || die
|
||||
|
||||
# Fix bash completion placement
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN}
|
||||
rm -rf "${ED}"/etc/
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
fi
|
||||
|
||||
# Hack for offlinehelp, this needs fixing upstream at some point.
|
||||
# It is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
insinto /usr/$(get_libdir)/libreoffice/help
|
||||
doins xmlhelp/util/*.xsl
|
||||
|
||||
# Remove desktop files for support to old installs that can't parse mime
|
||||
rm -rf "${ED}"/usr/share/mimelnk/
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Cache updates - all handled by kde eclass for all environments
|
||||
kde4-base_pkg_preinst
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
|
||||
use java || \
|
||||
ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kde4-base_pkg_postrm
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/openerp-client/openerp-client-5.0.15.ebuild,v 1.2 2011/03/31 17:14:34 arfrever Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Open Source ERP & CRM"
|
||||
HOMEPAGE="http://www.openerp.com/"
|
||||
SRC_URI="http://www.openerp.com/download/stable/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-python/matplotlib
|
||||
dev-python/egenix-mx-base
|
||||
x11-libs/hippo-canvas[python]"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
DEPEND="${CDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
rm "${ED}usr/bin/openerp-client"
|
||||
dobin "${FILESDIR}/openerp-client"
|
||||
insinto "/usr/share/applications"
|
||||
doins "${FILESDIR}/openerp-client.desktop"
|
||||
}
|
@ -1,301 +0,0 @@
|
||||
--- sash-3.6/Makefile
|
||||
+++ sash-3.6/Makefile
|
||||
@@ -19,10 +19,11 @@
|
||||
-DHAVE_LINUX_ATTR=$(HAVE_LINUX_ATTR) \
|
||||
-DHAVE_LINUX_MOUNT=$(HAVE_LINUX_MOUNT) \
|
||||
-DHAVE_BSD_MOUNT=$(HAVE_BSD_MOUNT) \
|
||||
- -DMOUNT_TYPE=$(MOUNT_TYPE)
|
||||
+ -DMOUNT_TYPE=$(MOUNT_TYPE) \
|
||||
+ -DHAVE_READLINE
|
||||
|
||||
LDFLAGS = -static -s
|
||||
-LIBS = -lz
|
||||
+LIBS = -lz -lreadline -lncurses
|
||||
|
||||
|
||||
BINDIR = /bin
|
||||
--- sash-3.6/sash.c
|
||||
+++ sash-3.6/sash.c
|
||||
@@ -384,6 +384,201 @@
|
||||
static void usage(void);
|
||||
static Alias * findAlias(const char * name);
|
||||
|
||||
+#ifdef HAVE_READLINE
|
||||
+/*--- Interface of readline 4.0 by vlk@vinf.ru ---*/
|
||||
+
|
||||
+#include <readline/readline.h>
|
||||
+#include <readline/history.h>
|
||||
+#include <dirent.h>
|
||||
+
|
||||
+char * dupstr (char *s);
|
||||
+void initialize_readline (void);
|
||||
+char ** fileman_completion (char *text, int start, int end);
|
||||
+char *command_generator (char *text, int state);
|
||||
+void err_alloc(int ErrorNumber);
|
||||
+extern char *xmalloc ();
|
||||
+
|
||||
+static char ** listBase;
|
||||
+static long listSize;
|
||||
+
|
||||
+void
|
||||
+err_alloc(int ErrorNumber)
|
||||
+{
|
||||
+ fprintf(stderr, "Memory space failed: %d\n",ErrorNumber);
|
||||
+ return;
|
||||
+}
|
||||
+
|
||||
+/* Add a one item to exec-command array */
|
||||
+static int
|
||||
+listAdd(const char * new_item)
|
||||
+{
|
||||
+ if ((listBase = realloc(listBase, sizeof(char *) * ( listSize + 1 ))) == 0 )
|
||||
+ {
|
||||
+ err_alloc(3); exit(1);
|
||||
+ }
|
||||
+ listBase[listSize] = strdup(new_item);
|
||||
+ listSize++;
|
||||
+ return(0);
|
||||
+}
|
||||
+
|
||||
+static int
|
||||
+genExecList(void)
|
||||
+{
|
||||
+ char * dirName;
|
||||
+ char * path;
|
||||
+ char * endPath;
|
||||
+ char * fullName;
|
||||
+ struct dirent **namelist;
|
||||
+ int n;
|
||||
+
|
||||
+ if (getenv("PATH") == 0)
|
||||
+ return(1);
|
||||
+ else
|
||||
+ {
|
||||
+ if ((path = strdup(getenv("PATH"))) == 0)
|
||||
+ {
|
||||
+ err_alloc(4);
|
||||
+ return(1);
|
||||
+ }
|
||||
+ }
|
||||
+ /*
|
||||
+ * Check out each path to see if the program exists and is
|
||||
+ * executable in that path.
|
||||
+ */
|
||||
+ for ( ; path; path = endPath)
|
||||
+ {
|
||||
+ /*
|
||||
+ * Find the end of the next path and NULL terminate
|
||||
+ * it if necessary.
|
||||
+ */
|
||||
+ endPath = strchr(path, ':');
|
||||
+
|
||||
+ if (endPath)
|
||||
+ *endPath++ = '\0';
|
||||
+
|
||||
+ /*
|
||||
+ * Get the directory name, defaulting it to DOT if
|
||||
+ * it is null.
|
||||
+ */
|
||||
+ dirName = path;
|
||||
+
|
||||
+ /*
|
||||
+ * See if the program exists and is executable.
|
||||
+ */
|
||||
+ if (access(dirName, F_OK) < 0)
|
||||
+ {
|
||||
+ if (errno != ENOENT)
|
||||
+ printf("%s: %s\n", dirName, strerror(errno));
|
||||
+
|
||||
+ continue;
|
||||
+ }
|
||||
+ n = scandir(dirName, &namelist, 0, alphasort);
|
||||
+ if (n < 0)
|
||||
+ perror("scandir");
|
||||
+ else
|
||||
+ while(n--)
|
||||
+ {
|
||||
+ if (strncmp(namelist[n]->d_name,".",1) != 0)
|
||||
+ {
|
||||
+ fullName = malloc(sizeof(dirName) + 1 \
|
||||
+ + sizeof(namelist[n]->d_name));
|
||||
+ strcpy(fullName, dirName);
|
||||
+ strcat(fullName, "/");
|
||||
+ strcat(fullName, namelist[n]->d_name);
|
||||
+ if (access(fullName,X_OK|F_OK) == 0)
|
||||
+ listAdd(namelist[n]->d_name);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+return(0);
|
||||
+}
|
||||
+
|
||||
+/******************************************************************/
|
||||
+/* BEGIN Interface to Readline Completion */
|
||||
+/******************************************************************/
|
||||
+
|
||||
+char * dupstr (char *s)
|
||||
+{
|
||||
+ char *r;
|
||||
+
|
||||
+ r = xmalloc (strlen (s) + 1);
|
||||
+ strcpy (r, s);
|
||||
+ return (r);
|
||||
+}
|
||||
+
|
||||
+/* Tell the GNU Readline library how to complete. We want to try to complete
|
||||
+ on command names if this is the first word in the line, or on filenames
|
||||
+ if not. */
|
||||
+void initialize_readline (void)
|
||||
+{
|
||||
+ /* Allow conditional parsing of the ~/.inputrc file. */
|
||||
+ rl_readline_name = "readline";
|
||||
+
|
||||
+ /* Tell the completer that we want a crack first. */
|
||||
+ rl_attempted_completion_function = (CPPFunction *)fileman_completion;
|
||||
+}
|
||||
+
|
||||
+/* Attempt to complete on the contents of TEXT. START and END bound the
|
||||
+ region of rl_line_buffer that contains the word to complete. TEXT is
|
||||
+ the word to complete. We can use the entire contents of rl_line_buffer
|
||||
+ in case we want to do some simple parsing. Return the array of matches,
|
||||
+ or NULL if there aren't any. */
|
||||
+char ** fileman_completion (char *text, int start, int end)
|
||||
+{
|
||||
+ char **matches;
|
||||
+
|
||||
+ matches = (char **)NULL;
|
||||
+
|
||||
+ /* If this word is at the start of the line, then it is a command
|
||||
+ to complete. Otherwise it is the name of a file in the current
|
||||
+ directory. */
|
||||
+ if (start == 0) // is it the begin of string ?
|
||||
+ matches = rl_completion_matches (text, command_generator);
|
||||
+ return (matches);
|
||||
+}
|
||||
+
|
||||
+/* Generator function for command completion. STATE lets us know whether
|
||||
+ to start from scratch; without any state (i.e. STATE == 0), then we
|
||||
+ start at the top of the list. */
|
||||
+char * command_generator (char *text, int state)
|
||||
+{
|
||||
+ static int list_index, len;
|
||||
+ char *ename;
|
||||
+ static long exec_count;
|
||||
+
|
||||
+ /* If this is a new word to complete, initialize now. This includes
|
||||
+ saving the length of TEXT for efficiency, and initializing the index
|
||||
+ variable to 0. */
|
||||
+ if (!state)
|
||||
+ {
|
||||
+ exec_count = 0;
|
||||
+ list_index = 0;
|
||||
+ len = strlen (text);
|
||||
+ }
|
||||
+
|
||||
+ /* Return the next name which partially matches from the command list. */
|
||||
+
|
||||
+ while (ename = (char*)commandEntryTable[list_index].name)
|
||||
+ {
|
||||
+ list_index++;
|
||||
+ if (strncmp (ename, text, len) == 0)
|
||||
+ return (dupstr(ename));
|
||||
+ }
|
||||
+
|
||||
+ while (exec_count < listSize)
|
||||
+ {
|
||||
+ ename = listBase[exec_count];
|
||||
+ exec_count++;
|
||||
+ if (strncmp (ename, text, len) == 0)
|
||||
+ return(dupstr(ename));
|
||||
+ }
|
||||
+ /* If no names matched, then return NULL. */
|
||||
+ return ((char *)NULL);
|
||||
+}
|
||||
+/******************************************************************/
|
||||
+/* END Interface to Readline Completion */
|
||||
+/******************************************************************/
|
||||
+#endif
|
||||
|
||||
/*
|
||||
* Global interrupt flag.
|
||||
@@ -405,7 +600,16 @@
|
||||
commandFile = NULL;
|
||||
quietFlag = FALSE;
|
||||
aliasFlag = FALSE;
|
||||
+#ifdef HAVE_READLINE
|
||||
+ /*
|
||||
+ * Default our path if it is not set.
|
||||
+ */
|
||||
+ if (getenv("PATH") == NULL)
|
||||
+ putenv("PATH=/bin:/usr/bin:/sbin:/usr/sbin");
|
||||
|
||||
+ genExecList();
|
||||
+ initialize_readline (); /* Bind our completer. */
|
||||
+#endif
|
||||
/*
|
||||
* Look for options.
|
||||
*/
|
||||
@@ -554,6 +758,9 @@
|
||||
static void
|
||||
readFile(const char * name)
|
||||
{
|
||||
+#ifdef HAVE_READLINE
|
||||
+ char *input_line = NULL;
|
||||
+#endif
|
||||
FILE * fp;
|
||||
int cc;
|
||||
BOOL ttyFlag;
|
||||
@@ -586,9 +793,10 @@
|
||||
|
||||
while (TRUE)
|
||||
{
|
||||
- if (ttyFlag)
|
||||
+#ifndef HAVE_READLINE
|
||||
+ if (ttyFlag)
|
||||
showPrompt();
|
||||
-
|
||||
+#endif
|
||||
if (intFlag && !ttyFlag && (fp != stdin))
|
||||
{
|
||||
fclose(fp);
|
||||
@@ -805,17 +805,34 @@
|
||||
return;
|
||||
}
|
||||
|
||||
- if (fgets(buf, CMD_LEN - 1, fp) == NULL)
|
||||
+#ifdef HAVE_READLINE
|
||||
+ if (name != NULL)
|
||||
{
|
||||
- if (ferror(fp) && (errno == EINTR))
|
||||
+#endif
|
||||
+ if (fgets(buf, CMD_LEN - 1, fp) == NULL)
|
||||
{
|
||||
- clearerr(fp);
|
||||
+ if (ferror(fp) && (errno == EINTR))
|
||||
+ {
|
||||
+ clearerr(fp);
|
||||
+ continue;
|
||||
+ }
|
||||
|
||||
- continue;
|
||||
+ break;
|
||||
}
|
||||
-
|
||||
- break;
|
||||
+#ifdef HAVE_READLINE
|
||||
}
|
||||
+ if (name == NULL)
|
||||
+ {
|
||||
+ input_line = readline(prompt ? prompt : "$ ");
|
||||
+ if (input_line)
|
||||
+ {
|
||||
+ if (*input_line)
|
||||
+ add_history(input_line);
|
||||
+ strcpy(buf,input_line);
|
||||
+ }
|
||||
+ free(input_line);
|
||||
+ }
|
||||
+#endif
|
||||
|
||||
cc = strlen(buf);
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/sash/sash-3.7-r1.ebuild,v 1.4 2011/09/25 19:43:27 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="A small static UNIX Shell with readline support"
|
||||
HOMEPAGE="http://www.canb.auug.org.au/~dbell/ http://dimavb.st.simbirsk.su/vlk/"
|
||||
SRC_URI="http://www.canb.auug.org.au/~dbell/programs/${P}.tar.gz"
|
||||
|
||||
LICENSE="freedist"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
|
||||
IUSE="readline"
|
||||
|
||||
DEPEND="|| ( <sys-libs/zlib-1.2.5.1-r2 sys-libs/zlib[static-libs] )
|
||||
readline? (
|
||||
>=sys-libs/readline-4.1
|
||||
sys-libs/ncurses[static-libs]
|
||||
)"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/sash-3.7-builtin.patch
|
||||
use readline && epatch "${FILESDIR}"/sash-3.6-readline.patch
|
||||
|
||||
sed -i \
|
||||
-e "s:-O3:${CFLAGS}:" \
|
||||
-e "/^LDFLAGS /s: -s$: ${LDFLAGS}:" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /
|
||||
dobin sash || die
|
||||
doman sash.1
|
||||
dodoc README
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST qpdf-3.0.1.tar.gz 4841926 SHA256 db65d6f4f0462d4793049afb7edf9ac9386fb8bdb51d10b5b88a004e1cc36bc6 SHA512 dcff4a66d8e7ca555ab59f5abba944a67a0d73dd32b48fcaf5152530750d7cff4d18bf9649a0b2057ab4cb0a85b20a5bb45b23c1c32a2038094094747e3a6834 WHIRLPOOL 82799491850cfb9e6a37e0b1447c90bd22a974a6b87c0e64271bc13d1b9bbd81a53ff0af86ba7aba01d744b2856e3741199b6f7e5ee324c213e120896823594f
|
||||
DIST qpdf-3.0.2.tar.gz 4846068 SHA256 b0c284945a49c46a0da6f54b06ff25237491ccc0c8bb062ae57d30aee80e165e SHA512 0ee534cb3f1fb31a85e8d1e0e78d02630dd4e008660c93b376e1dfd3850b313e73ba4db4f148f263ecccebb357b3d44b70d89babfaa2117c1b634467547f14a8 WHIRLPOOL 39768d1dc70dddb73cd2a50b3b9eaffae2295a8715d5683b007d801b0d183acce040e9f405338cd01757dfbe13950d4de328eba0014d67c934ade25bcf432385
|
||||
DIST qpdf-4.0.0.tar.gz 5029024 SHA256 446af92ef79d8c3014dca2621dedec1edff736f259ab7bebd9a6510d2fabafe3 SHA512 4cb2b5abb23422a0165345b55f2a8fb946de9b556a29490a3b24a45bfd5f7791c5682db87c32a3a7edb5621baf8a652a28b50bcf34c5e28a8f5150b3f749ebd9 WHIRLPOOL 19d90bf31f4b6b3262d1afc5f27c8ec5c3073bc2acdfadd12f105c798ee4b7f5ebc03a6889d4c2fd94c59041724b8819d8fc70e644a1ab2958638b7adf78adec
|
||||
DIST qpdf-4.0.1.tar.gz 5031080 SHA256 a4080ad53c778d60aa56df724751fb55bd096130d244fb1483c9257b9739c04d SHA512 391997d691ab1a7af78684e8ef29b092fba56dc280d8eba3fcfe6d7048adb65ac5862f8302f9ef7dc7774c6a12eb937dab4a08084aa6467436c11b4b87f65f9c WHIRLPOOL b2f1c1f1ed3fd6f795a0ecb84da9d32507f8a439132025558faf185550bc490658af1477cc393e60e71de2b7c4fb1438edccb5636c89c3f0d9f8fe36556387c1
|
||||
DIST qpdf-4.1.0.tar.gz 5059435 SHA256 d23303a7ffee2120fbcdc06ef0846688a10fca09421aea5416736bff0dcd9bfc SHA512 60864e5a51efc7c584bb335c53b1ca5496abbd8ee5ae0033d12d321586a714301162e0c3fd7bf2159d0b7466f168fe3f3bf988569bc5a94ce02a283810c36f5b WHIRLPOOL 2523c1c60d332e003b0387ef2b43ffa4fb599c2f0fd53ef27c8c51bb6e3c0dcf197d3cf3c640d9a9319aa061b0b67e757375c3880afc0508733e3ccfe6b41237
|
||||
DIST qpdf-4.2.0.tar.gz 7556753 SHA256 1bd78e5f73c71f432050fce73d2b6e6ca8a5d7a3a802923c99b6d598d33fcb24 SHA512 fa52c81649ab44cf92080a79f6ed3d25d2e5749012f3edce34214ab817416391833332756c63e0010c9b585632fbc32fe772473b511c3ece45d19b9a180809c3 WHIRLPOOL 3d6a36f2644dec76261c2b894b3cb37105ee3fb34d1693446ea10eea1864483136bdbe8b79ba40c322fe33cd148de631b0199dcf1d0cebacf7aacbac39c1e9f0
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/qpdf/qpdf-3.0.1.ebuild,v 1.6 2012/09/21 09:27:09 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="A command-line program that does structural, content-preserving transformations on PDF files"
|
||||
HOMEPAGE="http://qpdf.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc examples static-libs test"
|
||||
|
||||
RDEPEND="dev-libs/libpcre
|
||||
sys-libs/zlib
|
||||
>=dev-lang/perl-5.8"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
media-libs/tiff
|
||||
app-text/ghostscript-gpl
|
||||
)"
|
||||
|
||||
DOCS=( ChangeLog README TODO )
|
||||
|
||||
src_prepare() {
|
||||
# Manually install docs
|
||||
sed -i -e "/docdir/d" make/libtool.mk || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test test-compare-images)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
dodoc doc/qpdf-manual.pdf
|
||||
dohtml doc/*
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
dobin examples/build/.libs/*
|
||||
fi
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/qpdf/qpdf-4.0.0.ebuild,v 1.1 2013/01/03 06:29:37 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="A command-line program that does structural, content-preserving transformations on PDF files"
|
||||
HOMEPAGE="http://qpdf.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="doc examples static-libs test"
|
||||
|
||||
RDEPEND="dev-libs/libpcre
|
||||
sys-libs/zlib
|
||||
>=dev-lang/perl-5.8"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
media-libs/tiff
|
||||
app-text/ghostscript-gpl
|
||||
)"
|
||||
|
||||
DOCS=( ChangeLog README TODO )
|
||||
|
||||
src_prepare() {
|
||||
# Manually install docs
|
||||
sed -i -e "/docdir/d" make/libtool.mk || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test test-compare-images)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
dodoc doc/qpdf-manual.pdf
|
||||
dohtml doc/*
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
dobin examples/build/.libs/*
|
||||
fi
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/qpdf/qpdf-4.0.1.ebuild,v 1.2 2013/03/24 10:33:31 grobian Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="A command-line program that does structural, content-preserving transformations on PDF files"
|
||||
HOMEPAGE="http://qpdf.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0/10" # subslot = libqpdf soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~m68k-mint"
|
||||
IUSE="doc examples static-libs test"
|
||||
|
||||
RDEPEND="dev-libs/libpcre
|
||||
sys-libs/zlib
|
||||
>=dev-lang/perl-5.8"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
media-libs/tiff
|
||||
app-text/ghostscript-gpl
|
||||
)"
|
||||
|
||||
DOCS=( ChangeLog README TODO )
|
||||
|
||||
src_prepare() {
|
||||
# Manually install docs
|
||||
sed -i -e "/docdir/d" make/libtool.mk || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test test-compare-images)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
dodoc doc/qpdf-manual.pdf
|
||||
dohtml doc/*
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
dobin examples/build/.libs/*
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST repeat-1.1.tar.gz 2621 SHA256 1e7f98140d126622352e85483ce33f41ab44ca64fd0fea7bc501d2ac5e643c98 SHA512 9df73c7049f38a93da5e6bd36dc0fe833ec23394540de1b6929159910ec9f18af2a76211af612bc8f3c92d9c7f2faacd72a65d7d593584689ac6a7068df60bf9 WHIRLPOOL 5a0c03aadab21f2da125d4fcac6eb6fee8941334ab3f6f839e4db9a5b4651533beafa520a7f6c08b27d82f90ad1e28195240fa379b2eeee4f22ae979da814388
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>vim</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/repeat/repeat-1.1.ebuild,v 1.1 2013/07/09 19:48:40 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="vim-repeat"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="vim plugin: use the repeat command \".\" with plugin maps"
|
||||
HOMEPAGE="https://github.com/tpope/vim-repeat/ http://www.vim.org/scripts/script.php?script_id=2136"
|
||||
SRC_URI="https://github.com/tpope/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
rm *.markdown || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST tclap-1.2.0.tar.gz 820199 SHA256 32c5aef33dbd3621750272e9410d0698b3ba4b1023bc9d976494cece79914b38 SHA512 61ea7e270a3594fdfb515a684d8dbb705f210c2a496e7eb1b49aa85140331049fdb94857465c40ef8ec0ad66f5638ca06656755a2154604ac5f1bbe8d8bce4d7 WHIRLPOOL 3975c5b2b84c582a621c5864aa5434670bb04e4fbec133fa8c162e02b0b2af7a1743b73a10132abee8470472e577450433fbc813d81fea909056b5569e642ed0
|
||||
DIST tclap-1.2.1.tar.gz 442387 SHA256 9f9f0fe3719e8a89d79b6ca30cf2d16620fba3db5b9610f9b51dd2cd033deebb SHA512 8bd6ee724600880840048c7b36f02d31b1aa4910b17f80fb04aef89b1f1917856d9979ec488edbd457b66d9d689aea97540abb842a8b902bbd75c66a6e07b9b1 WHIRLPOOL b4fc88c46a96148673a6d5d7696626d788cc9ba75b66a0bf0cddc77ac7f4b3b7b2b2de00e52779d217309cf63fac8e0f23655c6e4cbfad2cda6ed5ac9303cc48
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tclap/tclap-1.2.0.ebuild,v 1.5 2012/11/21 11:15:44 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Simple templatized C++ library for parsing command line arguments."
|
||||
HOMEPAGE="http://tclap.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable doc doxygen)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}/html" install
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/cdb-0.75-r2.ebuild,v 1.14 2012/06/04 06:22:02 zmedico Exp $
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
|
||||
DESCRIPTION="Fast, reliable, simple package for creating and reading constant databases."
|
||||
HOMEPAGE="http://cr.yp.to/cdb.html"
|
||||
SRC_URI="http://cr.yp.to/cdb/${P}.tar.gz"
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-apps/sed-4
|
||||
!dev-db/tinycdb"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-errno.diff
|
||||
|
||||
sed -i -e 's/head -1/head -n 1/g' Makefile \
|
||||
|| die "sed Makefile failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
echo "$(tc-getCC) ${CFLAGS}" > conf-cc
|
||||
echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
|
||||
echo "/usr" > conf-home
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin cdbdump cdbget cdbmake cdbmake-12 cdbmake-sv cdbstats cdbtest \
|
||||
|| die "dobin failed"
|
||||
|
||||
# ok so ... first off, some automakes fail at finding
|
||||
# cdb.a, so install that now
|
||||
dolib *.a || die "dolib failed"
|
||||
|
||||
# then do this pretty little symlinking to solve the somewhat
|
||||
# cosmetic library issue at hand
|
||||
dosym cdb.a /usr/$(get_libdir)/libcdb.a || die "dosym failed"
|
||||
|
||||
# uint32.h needs installation too, otherwise compiles depending
|
||||
# on it will fail
|
||||
insinto /usr/include
|
||||
doins cdb*.h buffer.h alloc.h uint32.h || die "doins failed"
|
||||
|
||||
dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST mysqltuner-1.1.1.tar.gz 24256 SHA256 bdc43566547f6ba2a7ddb1e67aad23b518433bb609d8eb01831b812230e5a0d5 SHA512 6429c1c193165375f107653052bb69d3bd33d89b7e36b4ab12a5ccd6ed5f85cf092ca1d22589956d890952b1aaa0b86970815e83f0f401db2bc9b046f6b69444 WHIRLPOOL b8ab19158777cbc2aa408628fc62ea909b606cc30394465a8913d2070c5874cd141fc16a41f020a0ab49ce2fc4921286c219b53d31f2363515165b69e290bb2a
|
||||
DIST mysqltuner-1.2.0.tar.gz 24562 SHA256 54b743808f7f1d882cc912ffbb62dae57303e3e17f45aefd55a16825c016bc9d SHA512 b38277c31c1a870525f20bc1c023fe9675403834313a65c99c445a5fa1048c7aa3dc8ed5a9a9255c4844bdb001b28ee45be807306d0f1739c170d8ee9e0ab53f WHIRLPOOL 5290f77df91bcb23cc2bbb5097a08df54bc4e32560732ff078005bdd9acdf74a8f76647b893ab600dee4d848a70d6a6923e9806b30fb9504c6d3f5d31067be75
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltuner/mysqltuner-1.1.1.ebuild,v 1.3 2010/03/28 14:32:36 maekke Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="MySQLTuner is a high-performance MySQL tuning script"
|
||||
HOMEPAGE="http://www.mysqltuner.com"
|
||||
SRC_URI="http://github.com/rackerhacker/MySQLTuner-perl/tarball/v${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-lang/perl-5.6
|
||||
virtual/perl-Getopt-Long
|
||||
>=virtual/mysql-3.23"
|
||||
|
||||
S="${WORKDIR}"/rackerhacker-MySQLTuner-perl-b2dfc87
|
||||
|
||||
src_install() {
|
||||
mv "${PN}".pl "${PN}"
|
||||
dobin "${PN}"
|
||||
dodoc README
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST neuroph_2.2_nb.zip 6631580 SHA256 fa4dcadee831a7f1bf7280a02528f32e541f5825f1cec473d8157b747261e7c0 SHA512 5900226c617fe129a563633161896b3c4fd51522d56b0a23a6af1c4962edafc735ec38844aa1a80492b5f5e236de5263e47a6ca9b5bf7930f330d576c23b00ad WHIRLPOOL 63fb82dbcd7b86afa31122a1acd51d1bb32c35599cd22681734501a11224c5cbcffa45c05678f1fa6aecf3f12a0dfa42d4d664979d481560386ec1581a0dc0f5
|
||||
DIST neuroph_2.3.1_nb.zip 8006436 SHA256 d5158425f9637340365f3125d5a477215593400c6c9741ad287ff4270c19b738 SHA512 50977d407e45c11d7a9154d434a84fac5386b55c542b91cefd27e4b147a10fdaa0903446ec4e6ceeaad139013ef78a81125f783ff2fae9f0bc6661813dfe48c8 WHIRLPOOL df5beab7f34a4eab260a931823a134e6c8ae5c4f1dbac2e6e33268e8a64335461df558196c32e538266f6f507078510b32d71619fde5d41836558fb5d2597845
|
||||
DIST neuroph_2.3_nb.zip 8257618 SHA256 b126485f212e16f8c0162b35dcbbb25eb66da1ae1523bc5bd420d8bd82cf0faa SHA512 f2d6c87862435fe5217259842b3d9829780fe82dc87a682bc3ce38ecb708968b2458bf2d8631daeba209ccb9ca8e7c74fd1e5dd3c6ca606cf8b9ce4ea23db485 WHIRLPOOL 60366565c900deb2034e0d2d6527b23339486ebbe81ec203622be3bcea50b6dfe3ab001f2c0c82733f599aaaff60c812231f4742883506729a62a15fdc5bcdd9
|
||||
DIST neuroph_2.4_nb.zip 20050658 SHA256 798ab215448f99d4d4ee7be7f55d5d1c65a41ec3e23ddca7fcc43401a12a3773 SHA512 9c675f0d2194c5c1b822af8adffd8120f97962d22eb8e99561cfc78f2d87bb76e73d335c1c8ee5278964f3717bfde41c8ae91527e78efca63f5914529ae6d61a WHIRLPOOL 34c2a37b558c71d64426142102895254174af03d046efa9a2e83155fe5a0b3e816811694864547f67f41e8a6668bde1ad230f42394450f95dfc5f36751bb1ad4
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/neuroph/neuroph-2.4.ebuild,v 1.1 2013/07/09 14:55:08 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A lightweight Java neural network framework"
|
||||
HOMEPAGE="http://neuroph.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_nb.zip"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${PN}_${PV}_nb/${PN}"
|
||||
|
||||
java_prepare() {
|
||||
find "${WORKDIR}" -iname '*.jar' -delete
|
||||
find "${WORKDIR}" -iname '*.class' -delete
|
||||
}
|
||||
|
||||
EANT_BUILD_XML="nbbuild.xml"
|
||||
EANT_BUILD_TARGET="jar"
|
||||
EANT_DOC_TARGET="javadoc"
|
||||
EANT_EXTRA_ARGS="-Djavadoc.additionalparam=\"\""
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "dist/${PN}.jar"
|
||||
use doc && java-pkg_dojavadoc dist/javadoc
|
||||
use source && java-pkg_dosrc src
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST wstx-src-3.2.8.zip 2211730 SHA256 a5512e23b6d3c76f64cacae007094e083bc8d3a941237e9cf7aecaccaa427343 SHA512 bd31dda7c71d6b6b75dae782672c18e494ab10e137ce372af7c98b87e08f7d6bf729896a2d1a7f6e26c7337ddd5f7b7e35665d6ea3c80355055de2d555cef70b WHIRLPOOL 02a1a561df4372bf1a2ea1c166e631239200551db0ed579ec1d33efbd8cf2c9a3298cd6a1d60dfa1279d1d0ec151d54d6ac8b19b15e6adbddfb8f700ce8ce740
|
||||
DIST wstx-src-3.2.9.zip 2218419 SHA256 b0f8489bbd1c5fdba8d39228686d75e18185e3052c887f7329bb9d313f9356c1 SHA512 316679a6586e453b85ffe4dd573a92019282b0d2028e931f33fafa8b0f3aef856c8326c72049ce42645e4b520bbd1bd91e74005f090dc22dc7ca7c76a0640117 WHIRLPOOL d1ee4b5eb3bb3de7e4ed3bd3cec72d0fe9cf068673d7c7702f28c61ab36d33e6ebe94e9e885a2530e50fd92d73c004339ad8a59bf0ac564d836af75225b05a79
|
||||
|
@ -0,0 +1,13 @@
|
||||
--- a/build.xml
|
||||
+++ b/build.xml
|
||||
@@ -104,10 +104,6 @@
|
||||
<include name="org/codehaus/stax2/**/*.class" />
|
||||
</patternset>
|
||||
|
||||
- <!-- 02-Mar-2009, TSa: Let's try automating Maven builds
|
||||
- -->
|
||||
- <import file="build-maven-deploy.xml" />
|
||||
-
|
||||
<!-- And then something nifty, for creating minimal jars! -->
|
||||
|
||||
<classfileset id="j2meInputMinimal" dir="${BuildClassesDir}">
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/wstx/wstx-3.2.9.ebuild,v 1.1 2013/07/09 15:34:03 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Woodstox is a high-performance validating namespace-aware XML-processor"
|
||||
HOMEPAGE="http://woodstox.codehaus.org/"
|
||||
SRC_URI="http://woodstox.codehaus.org/${PV}/${PN}-src-${PV}.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/emma:0
|
||||
dev-java/sax:0
|
||||
java-virtuals/jaxp-virtual
|
||||
dev-java/stax:0
|
||||
dev-java/msv:0
|
||||
dev-java/xsdlib:0
|
||||
dev-java/relaxng-datatype:0
|
||||
dev-java/junit:0"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
|
||||
EANT_BUILD_TARGET="jars"
|
||||
EANT_DOC_TARGET="javadoc"
|
||||
|
||||
# Don't need to make a folder
|
||||
S="${WORKDIR}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
java_prepare() {
|
||||
rm -v lib/msv/*.jar || die
|
||||
rm -v lib/*.jar || die
|
||||
|
||||
# Get rid of a missing include.
|
||||
epatch "${FILESDIR}"/${P}-build.xml.patch
|
||||
}
|
||||
|
||||
EANT_GENTOO_CLASSPATH="emma,sax,jaxp-virtual,msv,xsdlib,relaxng-datatype,junit"
|
||||
|
||||
src_test(){
|
||||
ANT_TASKS="ant-junit ant-nodeps ant-trax" eant test || die "Tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/"${PN}"-api-"${PV}".jar "${PN}"-api.jar
|
||||
java-pkg_newjar build/"${PN}"-asl-"${PV}".jar "${PN}".jar
|
||||
use doc && java-pkg_dojavadoc build/javadoc
|
||||
use source && java-pkg_dosrc src
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-13.1.5.192.ebuild,v 1.1 2013/07/10 08:29:40 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
INTEL_DPN=parallel_studio_xe
|
||||
INTEL_DID=3266
|
||||
INTEL_DPV=2013_update4
|
||||
INTEL_SUBDIR=composerxe
|
||||
|
||||
inherit intel-sdp
|
||||
|
||||
DESCRIPTION="Intel C/C++ Compiler"
|
||||
HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
|
||||
|
||||
IUSE="eclipse linguas_ja"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND="
|
||||
!dev-lang/ifc[linguas_ja]
|
||||
eclipse? ( dev-util/eclipse-sdk )"
|
||||
RDEPEND="${DEPEND}
|
||||
~dev-libs/intel-common-${PV}[compiler]"
|
||||
|
||||
INTEL_BIN_RPMS="compilerproc compilerproc-devel"
|
||||
INTEL_DAT_RPMS="compilerproc-common"
|
||||
|
||||
CHECKREQS_DISK_BUILD=325M
|
||||
|
||||
src_install() {
|
||||
intel-sdp_src_install
|
||||
if ! use linguas_jp; then
|
||||
local idir=${INTEL_SDP_EDIR}/compiler/lib
|
||||
rm -rvf "${D}"/${idir}/{ia32,intel64}/locale/ja_JP || die
|
||||
fi
|
||||
}
|
@ -1,121 +0,0 @@
|
||||
diff -Naur gmetadom-0.2.6.orig/configure.ac gmetadom-0.2.6/configure.ac
|
||||
--- gmetadom-0.2.6.orig/configure.ac 2007-10-15 18:42:23.000000000 +0900
|
||||
+++ gmetadom-0.2.6/configure.ac 2008-01-17 23:41:17.000000000 +0900
|
||||
@@ -312,7 +312,7 @@
|
||||
HAVE_OCAMLC=no
|
||||
else
|
||||
HAVE_OCAMLC=yes
|
||||
- OCAML_LIB=`$OCAMLC -v | tail -1 | cut -d ':' -f2 | tr -d ' '`
|
||||
+ OCAML_LIB=`$OCAMLC -v | tail -n 1 | cut -d ':' -f2 | tr -d ' '`
|
||||
|
||||
if test $OCAML_INCLUDE_PREFIX = no; then
|
||||
OCAML_CFLAGS=-I$OCAML_LIB
|
||||
diff -Naur gmetadom-0.2.6.orig/src/gdome_caml/Makefile.am gmetadom-0.2.6/src/gdome_caml/Makefile.am
|
||||
--- gmetadom-0.2.6.orig/src/gdome_caml/Makefile.am 2006-08-06 17:33:36.000000000 +0900
|
||||
+++ gmetadom-0.2.6/src/gdome_caml/Makefile.am 2008-01-18 08:48:01.000000000 +0900
|
||||
@@ -4,7 +4,7 @@
|
||||
ARCHIVE = mlgdome
|
||||
PKGNAME = gdome2
|
||||
OCAMLBUILDDIR = $(top_builddir)/src/gdome_caml
|
||||
-OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/$(PKGNAME)
|
||||
+OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/site-packages/$(PKGNAME)
|
||||
STUBSDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/stublibs
|
||||
OCAMLFLAGS = \
|
||||
-I $(OCAMLBUILDDIR)/types \
|
||||
@@ -82,8 +82,8 @@
|
||||
done
|
||||
if [ "x$(OCAMLFIND)" != "x" ]; then \
|
||||
mv $(OCAMLINSTALLDIR) $(OCAMLINSTALLDIR).saved && \
|
||||
- $(mkinstalldirs) $(DESTDIR)$(OCAML_LIB_PREFIX)/ && \
|
||||
- $(OCAMLFIND) install -destdir $(DESTDIR)$(OCAML_LIB_PREFIX)/ $(PKGNAME) META $(DLL) && \
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(OCAML_LIB_PREFIX)/site-packages/ && \
|
||||
+ $(OCAMLFIND) install -ldconf ignore -destdir $(DESTDIR)$(OCAML_LIB_PREFIX)/site-packages/ $(PKGNAME) META $(DLL) && \
|
||||
$(INSTALL_DATA) $(OCAMLINSTALLDIR).saved/* $(OCAMLINSTALLDIR)/ && \
|
||||
rm -rf $(OCAMLINSTALLDIR).saved/; \
|
||||
else \
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
uninstall-local:
|
||||
if [ "x$(OCAMLFIND)" != "x" ]; then \
|
||||
- $(OCAMLFIND) remove -destdir $(DESTDIR)$(OCAML_LIB_PREFIX)/ $(PKGNAME); \
|
||||
+ $(OCAMLFIND) remove -destdir $(DESTDIR)$(OCAML_LIB_PREFIX)/site-packages/ $(PKGNAME); \
|
||||
else \
|
||||
rm -rf $(OCAMLINSTALLDIR); \
|
||||
rm $(STUBSDIR)/$(DLL); \
|
||||
diff -Naur gmetadom-0.2.6.orig/src/gdome_caml/basic/Makefile.am gmetadom-0.2.6/src/gdome_caml/basic/Makefile.am
|
||||
--- gmetadom-0.2.6.orig/src/gdome_caml/basic/Makefile.am 2003-09-13 23:14:42.000000000 +0900
|
||||
+++ gmetadom-0.2.6/src/gdome_caml/basic/Makefile.am 2008-01-18 08:57:33.000000000 +0900
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
OCAMLBUILDDIR = $(top_builddir)/src/gdome_caml
|
||||
-OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/gdome2
|
||||
+OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/site-packages/gdome2
|
||||
OCAMLFLAGS = -I $(OCAMLBUILDDIR) -I $(OCAMLBUILDDIR)/core \
|
||||
-I $(OCAMLBUILDDIR)/types
|
||||
OCAMLC = @OCAMLC@ ${OCAMLFLAGS}
|
||||
diff -Naur gmetadom-0.2.6.orig/src/gdome_caml/core/Makefile.am gmetadom-0.2.6/src/gdome_caml/core/Makefile.am
|
||||
--- gmetadom-0.2.6.orig/src/gdome_caml/core/Makefile.am 2007-10-12 23:12:51.000000000 +0900
|
||||
+++ gmetadom-0.2.6/src/gdome_caml/core/Makefile.am 2008-01-18 08:57:33.000000000 +0900
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
OCAMLBUILDDIR = $(top_builddir)/src/gdome_caml
|
||||
-OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/gdome2
|
||||
+OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/site-packages/gdome2
|
||||
OCAMLFLAGS = -I $(OCAMLBUILDDIR)/types -I $(OCAMLBUILDDIR)/basic
|
||||
OCAMLC = @OCAMLC@ ${OCAMLFLAGS}
|
||||
OCAMLOPT = @OCAMLOPT@ ${OCAMLFLAGS}
|
||||
diff -Naur gmetadom-0.2.6.orig/src/gdome_caml/events/Makefile.am gmetadom-0.2.6/src/gdome_caml/events/Makefile.am
|
||||
--- gmetadom-0.2.6.orig/src/gdome_caml/events/Makefile.am 2007-10-12 23:12:51.000000000 +0900
|
||||
+++ gmetadom-0.2.6/src/gdome_caml/events/Makefile.am 2008-01-18 08:57:33.000000000 +0900
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
OCAMLBUILDDIR = $(top_builddir)/src/gdome_caml
|
||||
-OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/gdome2
|
||||
+OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/site-packages/gdome2
|
||||
OCAMLFLAGS = -I $(OCAMLBUILDDIR)/types -I $(OCAMLBUILDDIR)/basic
|
||||
OCAMLC = @OCAMLC@ ${OCAMLFLAGS}
|
||||
OCAMLOPT = @OCAMLOPT@ ${OCAMLFLAGS}
|
||||
diff -Naur gmetadom-0.2.6.orig/src/gdome_caml/include/Makefile.am gmetadom-0.2.6/src/gdome_caml/include/Makefile.am
|
||||
--- gmetadom-0.2.6.orig/src/gdome_caml/include/Makefile.am 2002-08-31 03:03:36.000000000 +0900
|
||||
+++ gmetadom-0.2.6/src/gdome_caml/include/Makefile.am 2008-01-18 08:57:33.000000000 +0900
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
-OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/gdome2
|
||||
+OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/site-packages/gdome2
|
||||
EXTRA_DIST = mlgdomevalue.h
|
||||
|
||||
install-data-local: mlgdomevalue.h
|
||||
diff -Naur gmetadom-0.2.6.orig/src/gdome_caml/ocaml/Makefile.am gmetadom-0.2.6/src/gdome_caml/ocaml/Makefile.am
|
||||
--- gmetadom-0.2.6.orig/src/gdome_caml/ocaml/Makefile.am 2007-10-12 23:12:51.000000000 +0900
|
||||
+++ gmetadom-0.2.6/src/gdome_caml/ocaml/Makefile.am 2008-01-18 08:57:33.000000000 +0900
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
OCAMLBUILDDIR = $(top_builddir)/src/gdome_caml
|
||||
-OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/gdome2
|
||||
+OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/site-packages/gdome2
|
||||
|
||||
OCAMLFLAGS = \
|
||||
-I $(OCAMLBUILDDIR) \
|
||||
diff -Naur gmetadom-0.2.6.orig/src/gdome_caml/types/Makefile.am gmetadom-0.2.6/src/gdome_caml/types/Makefile.am
|
||||
--- gmetadom-0.2.6.orig/src/gdome_caml/types/Makefile.am 2007-10-12 23:12:51.000000000 +0900
|
||||
+++ gmetadom-0.2.6/src/gdome_caml/types/Makefile.am 2008-01-18 08:57:33.000000000 +0900
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
OCAMLC = @OCAMLC@
|
||||
OCAMLDEP = @OCAMLDEP@
|
||||
-OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/gdome2
|
||||
+OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/site-packages/gdome2
|
||||
|
||||
T_AUTO_MLI = \
|
||||
tNode.mli \
|
||||
diff -Naur gmetadom-0.2.6.orig/src/gdome_cpp_smart/test/Makefile.am gmetadom-0.2.6/src/gdome_cpp_smart/test/Makefile.am
|
||||
--- gmetadom-0.2.6.orig/src/gdome_cpp_smart/test/Makefile.am 2007-05-09 00:26:18.000000000 +0900
|
||||
+++ gmetadom-0.2.6/src/gdome_cpp_smart/test/Makefile.am 2008-01-17 23:41:17.000000000 +0900
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
LDADDS = \
|
||||
$(GDOME_LIBS) \
|
||||
- $(top_builddir)/src/gdome_cpp_smart/.libs/libgmetadom_gdome_cpp_smart.a \
|
||||
$(top_builddir)/src/gdome_cpp_smart/libgmetadom_gdome_cpp_smart.la \
|
||||
-lstdc++
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmetadom/gmetadom-0.2.6.ebuild,v 1.9 2012/05/04 18:35:48 jdhore Exp $
|
||||
|
||||
WANT_AUTOCONF=latest
|
||||
WANT_AUTOMAKE=latest
|
||||
|
||||
inherit autotools flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="A library providing bindings for multiple languages of multiple C DOM implementations"
|
||||
HOMEPAGE="http://gmetadom.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/gmetadom/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE="ocaml"
|
||||
|
||||
RDEPEND="dev-libs/glib
|
||||
>=dev-libs/gdome2-0.8.0
|
||||
>=dev-libs/libxslt-1.0.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
ocaml? (
|
||||
>=dev-lang/ocaml-3.05
|
||||
>=dev-ml/findlib-0.8
|
||||
)"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
||||
epatch "${FILESDIR}"/${P}-gcc43.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local mymod="gdome_cpp_smart"
|
||||
|
||||
# Unconditonal use of -fPIC (#55238).
|
||||
append-flags -fPIC
|
||||
use ocaml && mymod="${mymod} gdome_caml"
|
||||
|
||||
econf --with-modules="${mymod}" || die
|
||||
# parallel b0rks
|
||||
emake -j1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install || die
|
||||
|
||||
dodoc AUTHORS BUGS ChangeLog HISTORY NEWS README
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/intel-common/intel-common-13.1.5.192.ebuild,v 1.1 2013/07/10 08:09:02 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
INTEL_DPN=parallel_studio_xe
|
||||
INTEL_DID=3266
|
||||
INTEL_DPV=2013_update4
|
||||
INTEL_SUBDIR=composerxe
|
||||
|
||||
inherit intel-sdp
|
||||
|
||||
DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
|
||||
HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
|
||||
|
||||
IUSE="+compiler"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
CHECKREQS_DISK_BUILD=375M
|
||||
|
||||
pkg_setup() {
|
||||
einfo ${INTEL_SDP_EDIR}
|
||||
INTEL_BIN_RPMS="openmp openmp-devel"
|
||||
INTEL_DAT_RPMS="compilerpro-common"
|
||||
if use compiler; then
|
||||
INTEL_BIN_RPMS+=" compilerpro-devel sourcechecker-devel"
|
||||
INTEL_DAT_RPMS+=" compilerpro-vars sourcechecker-common"
|
||||
fi
|
||||
intel-sdp_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
intel-sdp_src_install
|
||||
local path rootpath ldpath arch fenv=35intelsdp
|
||||
cat > ${fenv} <<-EOF
|
||||
NLSPATH=${INTEL_SDP_EDIR}/lib/locale/en_US/%N
|
||||
INTEL_LICENSE_FILE="${INTEL_SDP_EDIR}"/licenses:"${EPREFIX}/opt/intel/license"
|
||||
EOF
|
||||
for arch in ${INTEL_ARCH}; do
|
||||
path=${path}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch}
|
||||
rootpath=${rootpath}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch}
|
||||
ldpath=${ldpath}:${INTEL_SDP_EDIR}/compiler/lib/${arch}:${INTEL_SDP_EDIR}/mpirt/lib/${arch}
|
||||
done
|
||||
cat >> ${fenv} <<-EOF
|
||||
PATH=${path#:}
|
||||
ROOTPATH=${rootpath#:}
|
||||
LDPATH=${ldpath#:}
|
||||
EOF
|
||||
|
||||
doenvd ${fenv}
|
||||
|
||||
cat >> "${T}"/40-${PN} <<- EOF
|
||||
SEARCH_DIRS_MASK="${INTEL_SDP_EDIR}"
|
||||
EOF
|
||||
insinto /etc/revdep-rebuild/
|
||||
doins "${T}"/40-${PN}
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcli/libcli-1.9.4.ebuild,v 1.3 2012/10/20 16:04:28 jdhore Exp $
|
||||
|
||||
EAPI="2"
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Cisco-style (telnet) command-line interface library"
|
||||
|
||||
HOMEPAGE="http://sites.dparrish.com/libcli"
|
||||
SRC_URI="http://libcli.googlecode.com/files/${P}.tar.gz"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
# Support /lib{32,64}
|
||||
sed -i 's:$(PREFIX)/lib:$(libdir):g' Makefile || die
|
||||
sed -i 's:PREFIX = /usr/local:&\nlibdir = $(PREFIX)/lib:' Makefile || die
|
||||
|
||||
# Make this respect LDFLAGS, bug #334913
|
||||
epatch "${FILESDIR}/${PN}-1.9.4-ldflags.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake OPTIM="" DEBUG="" CC="$(tc-getCC)" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
PREFIX=/usr \
|
||||
OPTIM="" \
|
||||
DEBUG="" \
|
||||
libdir="/usr/$(get_libdir)" \
|
||||
install || die "emake install failed"
|
||||
|
||||
dobin clitest || die
|
||||
|
||||
dodoc README || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST libtar-1.2.11.tar.gz 145354 SHA256 4a2eefb6b7088f41de57356e5059cbf1f917509b4a810f7c614625a378e87bb8 SHA512 f50edfa5ee164200f0c2636bab5b80628c1007cdf125c06925c173cf98046a24240fab3650566beecfb9252009f54390a6dc3e4a3b1d86e85fa6f3e44f33d8d3 WHIRLPOOL 913f28d6fc2a6fa1adf55d4b2b882b1bfb5ef3ecd6147efda4e38e43262b118880f2d151196723cb120b08976f1b55b35dbb15c2c30ecf3bf8c1b43369e45f01
|
||||
DIST libtar_1.2.11-6.diff.gz 245511 SHA256 002d067499a94988dfa23a71e3f46d6b9af26fdce266870dc9b7c81d54fc820d SHA512 1c3405d7ca983fdc78b6346265209f852c05c5ef11931ea9834f2ec74527585b4e0bc075c3a92ddc5ca61a213026986add2c5019089d32b463e9d0d6a318001d WHIRLPOOL c8758dbfe99fc6fa496d0f351bb2ffdd4cf563cbc028f58d326100c11c5947e767e4cfcb38ea5676af67b9904b5639e3ad5cfaecdc234d8beb2e9ef9358bc3c4
|
||||
DIST libtar_1.2.11-8.debian.tar.gz 10275 SHA256 ab55b827ac0d60c4b17decdbab827b1e4c79ed75383133814e103b202cc4fbbe SHA512 52cd743286d9fdcdb1518fa577b2d15b05a1400ba290a39145a6168db51b32bca65f85bab56034805d0f9beba44cb67f4b5f726f6b3f48ec8dd91ce92c85d454 WHIRLPOOL b48b0a15b38f79aaf806b529729ae21e4239b3bf3d0112d82cc4114062205e639af56aa3821f5945d99878f61b0ea4cb00188ef6634203e9ad069a7d243947dc
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtar/libtar-1.2.11-r4.ebuild,v 1.6 2012/05/29 13:40:21 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit autotools eutils multilib
|
||||
|
||||
p_level=6
|
||||
|
||||
DESCRIPTION="C library for manipulating tar archives"
|
||||
HOMEPAGE="http://www.feep.net/libtar/ http://packages.qa.debian.org/libt/libtar.html"
|
||||
SRC_URI="ftp://ftp.feep.net/pub/software/libtar/${P}.tar.gz
|
||||
mirror://debian/pool/main/libt/${PN}/${PN}_${PV}-${p_level}.diff.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="static-libs zlib"
|
||||
|
||||
DEPEND="zlib? ( sys-libs/zlib )
|
||||
!zlib? ( app-arch/gzip )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}"/${PN}_${PV}-${p_level}.diff \
|
||||
"${FILESDIR}"/${P}-f{ree,ortify}.patch
|
||||
|
||||
sed -i \
|
||||
-e '/INSTALL_PROGRAM/s:-s::' \
|
||||
{doc,lib{,tar}}/Makefile.in || die
|
||||
|
||||
sed -i -e "/\/usr\/share\/aclocal/s:/usr:$EPREFIX/usr:" aclocal.m4
|
||||
eautoreconf # reconf for missing config.sub
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with zlib)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
dodoc ChangeLog* README TODO
|
||||
newdoc compat/README README.compat
|
||||
newdoc compat/TODO TODO.compat
|
||||
newdoc listhash/TODO TODO.listhash
|
||||
newdoc debian/changelog ChangeLog.debian
|
||||
|
||||
rm -f "${ED}"/usr/$(get_libdir)/${PN}.la
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/libtommath-0.42.0.ebuild,v 1.11 2013/03/28 15:43:01 blueness Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="highly optimized and portable routines for integer based number theoretic applications"
|
||||
HOMEPAGE="http://www.libtom.org/"
|
||||
SRC_URI="http://www.libtom.org/files/ltm-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="WTFPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="doc examples static-libs"
|
||||
|
||||
DEPEND="sys-devel/libtool"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.patch
|
||||
|
||||
[[ ${CHOST} == *-darwin* ]] && \
|
||||
sed -i -e 's/libtool/glibtool/g' makefile.shared
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) -f makefile.shared IGNORE_SPEED=1 LIBPATH="${EPREFIX}/usr/$(get_libdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -f makefile.shared install DESTDIR="${ED}" LIBPATH="${EPREFIX}/usr/$(get_libdir)" INCPATH="${EPREFIX}/usr/include"
|
||||
dodoc changes.txt
|
||||
|
||||
use doc && dodoc *.pdf
|
||||
|
||||
if use examples ; then
|
||||
docinto demo
|
||||
dodoc demo/*.c
|
||||
fi
|
||||
|
||||
use static-libs || find "${ED}" \( -name '*.a' -or -name '*.la' \) -delete
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mapm/mapm-4.9.ebuild,v 1.6 2006/08/17 18:28:06 wormo Exp $
|
||||
|
||||
DESCRIPTION="Mike's Arbitrary Precision Math Library"
|
||||
HOMEPAGE="http://www.tc.umn.edu/~ringx004/mapm-main.html"
|
||||
SRC_URI="http://www.tc.umn.edu/~ringx004/${P}.tar.gz"
|
||||
|
||||
LICENSE="mapm"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86 ppc ~sparc"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${S}
|
||||
sed -i "s:-O2:${CFLAGS}:" make_linux_shared_lib
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./make_linux_shared_lib || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so libmapm.so.0
|
||||
dosym libmapm.so.0 /usr/lib/libmapm.so
|
||||
|
||||
insinto /usr/include
|
||||
doins m_apm.h
|
||||
|
||||
dodoc README article.pdf algorithms.used commentary.txt \
|
||||
cpp_function.ref function.ref history.txt struct.ref
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/tvision/tvision-2.1.0_pre2-r1.ebuild,v 1.4 2007/11/02 14:26:09 beandog Exp $
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Text User Interface that implements the well known CUA widgets"
|
||||
HOMEPAGE="http://tvision.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tvision/rhtvision_${PV/_pre/-}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-gcc41.patch
|
||||
epatch "${FILESDIR}"/${P}-outb.patch
|
||||
epatch "${FILESDIR}"/${P}-underflow.patch
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--fhs \
|
||||
|| die
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall libdir="\$(prefix)/$(get_libdir)"|| die
|
||||
dosym rhtvision /usr/include/tvision
|
||||
dodoc readme.txt THANKS TODO
|
||||
dohtml -r www-site
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54-r1.ebuild,v 1.4 2009/10/27 10:49:17 ssuominen Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Epinions implementation of XML-RPC protocol in C"
|
||||
HOMEPAGE="http://xmlrpc-epi.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/xmlrpc-epi/${P}.tar.gz"
|
||||
|
||||
LICENSE="Epinions"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~x86"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
DEPEND="dev-libs/expat"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# NOTES:
|
||||
# to prevent conflict with xmlrpc-c, headers are installed in
|
||||
# /usr/include/${PN} instead of /usr/include (bug 274291)
|
||||
|
||||
src_prepare() {
|
||||
# do not build examples
|
||||
sed -i -e "s:sample::" Makefile.in || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--includedir=/usr/include/${PN} \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if ! use static-libs; then
|
||||
# remove useless la files
|
||||
rm "${D}"/usr/$(get_libdir)/lib${PN}.la || die "rm failed"
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
|
||||
|
||||
if use examples; then
|
||||
insinto "/usr/share/doc/${PF}/examples"
|
||||
doins sample/*.c sample/*.php || die "doins failed"
|
||||
doins -r sample/tests || die "doins failed"
|
||||
fi
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/boto/boto-2.9.7.ebuild,v 1.1 2013/07/10 01:26:50 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Amazon Web Services API"
|
||||
HOMEPAGE="https://github.com/boto/boto http://pypi.python.org/pypi/boto"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/m2crypto )"
|
||||
RDEPEND="dev-python/m2crypto"
|
||||
|
||||
# requires Amazon Web Services keys to pass some tests
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/eunuchs/eunuchs-20050320.1-r1.ebuild,v 1.1 2013/07/09 16:46:58 yac Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Missing manly parts of UNIX API for Python"
|
||||
HOMEPAGE="http://www.inoi.fi/open/trac/eunuchs http://pypi.python.org/pypi/python-eunuchs"
|
||||
SRC_URI="mirror://debian/pool/main/e/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-python-2.5.patch" )
|
||||
DOCS=( examples/ )
|
||||
|
||||
python_test() {
|
||||
${PYTHON} examples/test-socketpair.py || die "Tests failed with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/oauthlib/oauthlib-0.5.0.ebuild,v 1.1 2013/07/09 18:22:39 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"
|
||||
HOMEPAGE="https://github.com/idan/oauthlib http://pypi.python.org/pypi/oauthlib"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# >=pycrypto-2.6-r1 for python3 support
|
||||
# unittest2 for python2 compat
|
||||
RDEPEND=">=dev-python/pycrypto-2.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
virtual/python-unittest2[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
DIST flann-1.8.4-src.zip 561057 SHA256 dfbb9321b0d687626a644c70872a2c540b16200e7f4c7bd72f91ae032f445c08 SHA512 47ac6be66e3ec7303d28febc5a4cea2f8d1b3d81c3b7081f27cf17936074e06e91e30123569b41269a2b97c9960274dc485a575d77c1a386e8f539a76a8d3a0a WHIRLPOOL f7722d8c0a8482809920927353421ebb578464fe6746a4dba20a6c7b6f941715529d5be33aebd1726db36eae3b5d4080c6ae86b0f807e6e384af32b87735b83b
|
||||
DIST flann-1.8.4-testdata.tar.xz 26744244 SHA256 4eaecf3a221ea6611e841fa2f459a17b6a5fdd633338bb5bc46c434e37667141 SHA512 f2bee5e2dfe2fbb42953df563f178b67639b62e26fc31be14e07c196ba3e84db21804e594af44991f7cf45ca5e10ff753093cf160abf33e90d19735a9a0b51cb WHIRLPOOL e49e5a594464955241ebc9bdfa908bac8b93b2fb465fc08ab73ec4d57194a8b71361ecb67985cdc641013fb8c3fb51ea2033769f41e558ab86e8f71e477b97da
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
FLANN is a library for performing fast approximate nearest neighbor
|
||||
searches in high dimensional spaces. It contains a collection of
|
||||
algorithms we found to work best for nearest neighbor search and a
|
||||
system for automatically choosing the best algorithm and optimum
|
||||
parameters depending on the dataset.
|
||||
This is the python binding package split from the main package.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyflann/pyflann-1.8.4.ebuild,v 1.1 2013/07/09 23:08:47 bicatali Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for FLANN artificial neural network library"
|
||||
HOMEPAGE="http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN/"
|
||||
SRC_URI="http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-${PV}-src.zip
|
||||
test? ( http://dev.gentoo.org/~bicatali/distfiles/flann-${PV}-testdata.tar.xz )"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
~sci-libs/flann-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/flann-${PV}-src/src/python"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s/@FLANN_VERSION@/${PV}/" \
|
||||
-e '/package_d/d' \
|
||||
-e "s/,.*'pyflann.lib'//" \
|
||||
setup.py.tpl >> setup.py
|
||||
|
||||
use test && ln -s "${WORKDIR}"/testdata/* "${WORKDIR}"/flann-${PV}-src/test/
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${WORKDIR}"/flann-${PV}-src/test/
|
||||
local t
|
||||
#for t in test*.py; do
|
||||
# test_autotune buggy
|
||||
for t in test_{nn,nn_index,index_save,clustering}.py; do
|
||||
einfo "Running ${t}"
|
||||
PYTHONPATH="${BUILD_DIR}/lib" ${EPYTHON} ${t} || die
|
||||
done
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -32,7 +32,7 @@
|
||||
license="LGPL",
|
||||
url="https://storm.canonical.com",
|
||||
download_url="https://launchpad.net/storm/+download",
|
||||
- packages=find_packages(),
|
||||
+ packages=find_packages(exclude=['tests']),
|
||||
package_data={"": ["*.zcml"]},
|
||||
classifiers=[
|
||||
"Development Status :: 5 - Production/Stable",
|
@ -1,2 +1 @@
|
||||
DIST alleyoop-0.9.7.tar.gz 335851 SHA256 09822046618bb10d2b4d49a7282b5c6993d2d8a9dee1ec32303c7a521d35257b SHA512 0685e2244c7e23ac3a158a66b6c364dd7aacd0abe450d09fac4f8e566f8cdfb7d683abf20a5de55e442d468bf2920c25e344acd5167ad7942fe04620c3924354 WHIRLPOOL 5fc7809bfe52618e2a2c6f329ca25167bf4bebc85f60dc2c72324a5eddd9e1a504976c74cf1d20287bd4a0e0226aba1933ad5bbd979bbd81e61ba18fc619a57a
|
||||
DIST alleyoop-0.9.8.tar.xz 252292 SHA256 adaa432fbbdccdb07751b2a5b8f0159a31d8d8f3d27503374a96122778163ff1 SHA512 b056b41692da1824e233160c1053075cabcd11394c8c571dd654167be3ef29680357f69371b36f672b4e8b8a769ba3d0a33ad48c1409a8141bcbfa0ba8187bfb WHIRLPOOL fcb22915144a472d64a477149abd4564ca690211cf0e0f1157edd164cf8e3a07de718b0ac158af3b533a62bd0c794499eb0f129604d96dc2cce10f0d909bad0a
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/alleyoop/alleyoop-0.9.7.ebuild,v 1.6 2012/05/04 17:51:43 jdhore Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="A Gtk+ front-end to the Valgrind memory checker for x86 GNU/ Linux."
|
||||
HOMEPAGE="http://alleyoop.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/alleyoop/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-alpha amd64 ~ppc -sparc x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.2
|
||||
>=x11-libs/gtk+-2.2:2
|
||||
>=gnome-base/gconf-2.2
|
||||
>=gnome-base/libgnomeui-2.2
|
||||
>=gnome-base/libglade-2.2
|
||||
sys-devel/binutils
|
||||
>=dev-util/valgrind-2.4"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue