parent
54e0284e92
commit
2d3753f304
@ -1,8 +1,28 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX eflite-0.4.1-flite14.patch 1070 SHA256 aace5d43a4ace3cdb9218e53c5498a5870dda6f02034322633cce6a82d64e945 SHA512 fabf260a517c1d7fd3af66fd6972f200d9c7d129ed36090ae77f493142728cd6207db77b1b02710fd22fd0e81e59857fb21b113ef5fb30ff6035778e143a3304 WHIRLPOOL 72ad2f226abe4014514a9b6fef19edf1133acdfbc8a77a502af3193422faf662dbb2df02e8296c2440fa6d39040eb13f03b5b98ee5b9ce32298652e3e1277823
|
||||
AUX eflite.rc 756 SHA256 af252f4a588846201814a8836c9cc7c529986f306db14d8c08a99760cba19076 SHA512 cc019694e2ec3b92c7157e1b3e28867a5240bb1ca40e871245bfb8ed96432f05ba90d5c7c35527ace049f68e8dd7e1eec78a31d84d760918342aa00d844ec6c8 WHIRLPOOL b1bb62b19c0fdb6f31cd6cb6412e95b0e0cbfdff83fdba7244c1a71436915343e9c2b45bc6f5533be5a7ca72a77323698caaed78bf988b00d39f665ebac148fe
|
||||
AUX es.conf 213 SHA256 20de1fd6979f3a4254fb5e7cac4f135647c8abce030ceef88648b6db0c745d27 SHA512 19e8b5aefb7aa650d1e023a8cd5cf7361acf6f390f2f3f34de1da0b9c2bdddf632bc247f4e6c8eac025118c76d64f375837c13aff8f02342f17acc974beb9547 WHIRLPOOL e0a239a5f86a8cd9c5cb9107ff4ce9180fa4b6b331daef2375cdb04fd4cd845f29e8a37b27bfb1d9fbbe9db3e695abdf7a7bd76f45e649e9e4dc27270da8624f
|
||||
DIST eflite-0.4.1.tar.gz 63192 SHA256 91ad85855e55a3fc3b97a1a525db5fd1d211d54342bbfc88d1026813104f1721 SHA512 0060980fd5bb65ad94f1609f6d87cb89b91e680228b603fa590e6ba70b51e894493dda4271dca4d8c97f38cdefbd456c3be0447e5f88a0be7ae39324baa2c796 WHIRLPOOL 50e5e31bd0e8759fdfae1b5183c3fc4b9d1d03d2aa04dd7102651e2aaebafc9b312b1e20082c20bdcb745b7c7fad47bd64f145e392551e6c1d31fa01af5b7969
|
||||
EBUILD eflite-0.4.1-r2.ebuild 1057 SHA256 0be072fc8a03f84401387f61a57b9ef99c06a90e538eebe6e9c23a453160cf83 SHA512 081414a22e6195b1ebf0d649835738fd10d220203cafae3166781d61962556ddb8b08cca5b79b87626a7235b24dd264a0f84ba56d88bb8d50d4cb485f5e94317 WHIRLPOOL 758cc66c925b47a1264675f978f5e4392fb4435ea71cef3cbfea784f3c750a5af1763a3a938b2cdf898640abdc6ffe80e77e7db4e9016a29f74528b42bd7b597
|
||||
EBUILD eflite-0.4.1-r2.ebuild 1059 SHA256 d0b56246702454b837b0f84375766a3cdc85915ac364cc84f6e8e1904359072f SHA512 7420850c2fef99fc2b26a815b54f4c91c98833095d57e7afa676ed052d2742eb838c0c89a55bda2a745cd9d3a83ff601921e2360906cdbe1b874e10df8a829d0 WHIRLPOOL f0ef23c3511575c8c3b328c7c939a5e684a8301822d9f8519cb4d8ecdce1ecf0512a746424ade17563442aff1b3b44947a0a6f673c555e6e5f611361c854b619
|
||||
EBUILD eflite-0.4.1.ebuild 1007 SHA256 51fd998f5994474a3258d2006b7c8efb4517179e873a8dc24cd601c04e469c5a SHA512 fc00b0d05a00377c33507a366ef65e836df70e6c6f2cc5793273a0af40ef4f59045981e2d4dd11e483eb95b1b3a69e73118c9f65bac74ec07fb1c6d0b125ba4b WHIRLPOOL 431a10b0f9940e664f6afba9649cc8fdeaa97108b7a7672b094279f2e6a31f169ddb285eb22be5f5f1e221aaf652150fc051c2fed06e8ba2ab61a6a0ab084e8c
|
||||
MISC ChangeLog 5566 SHA256 a93721326d3fa30eb81f7560ebfd0c1bb81013b6e428d24988496c8b782379ae SHA512 a4f9e56e795b7f9cf138326c861a22e973e2c99175330d323b9157ad816258e1dbd15f6e3e807a598348e59052357d354727c25afe558077f99fb3019debf363 WHIRLPOOL 1e23023ac516134023f24bad7d49e7e71481aa2e63b169f19ad0bfd5aac18494034a48d34c981e6616a544485491ad40e338e4bba77670c847507c2f471a7780
|
||||
MISC ChangeLog 5672 SHA256 f5381df20eab9074e4c64eec21b10d30e4126cf0103823457f7e6c5f703e1676 SHA512 5784c513d812b0b8ec8a252d5d0110a188f530ea09919be73c5ba18274a02fccc0887a09019acfa74aa41efaa6606d4048001c1a75a74845c6c2ca97f9272f24 WHIRLPOOL 89ae49ad2d92488a104a52ae0adc49bd3bb5f19a9b8d596e9adbfc6d26d6cd1797488940f8b5fe307490dfd8c71a5643db634c1f2ae95d17ad6c174aff639a08
|
||||
MISC metadata.xml 1176 SHA256 151b6e4d6ec44a3c9626e48d0076aaad98ad1509d8ee87c35290ac6b49a0bc5c SHA512 a1a364f5a21fd8b092b5f7c7dabdf7d6df6436b4afb70ac052bc93a82599f5be06c0f5b898b17c6dd6354b2127775550bd09f1c805ef8e8e72f3e00af50fa1f2 WHIRLPOOL 961e1c8c7c6c4513378ed389f8a268d0222192aa5fffc659bff51e685b5a6f4ac0d126fb17a441bffa23e856f853c28b6e6b0a3a093701a4f5181b6edd81489f
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQIcBAEBCAAGBQJT9cwWAAoJELp701BxlEWfOWUP/A9fgJFOEV6fix5fJ2GT4K7L
|
||||
u2tLM4S1ZEmS2+bLLZN/wl9v7Ev3gAmUT0fEh6zlmYxhu4EbRkdA7kouChg+PsYA
|
||||
q+jMjjaxKjobtSoys4gSuF05GiJkX19DxOdfKPJ4r16pwADGqqZRFIH6+I91GILG
|
||||
1eWuE5EKsQBoLSq1uUfCUhBUWJZ/k4454icHkyw1bMV5KTjc5S5IBibjVDYoDmX7
|
||||
uOMpxz7RLnS18XS2ZKKleIaE95WX0c3nAYje0rA5jcH0Q4F0zLXADSb8iFTCE9aE
|
||||
/vEgIxncuYDwcR/m3pCKtTnXxFB6RxFAzp8yY1UXjEky0bj9Prtb3i3AqISc5rll
|
||||
owGw8jPtfZCZnNGzGHrnTKGvwVZd5E2OB+MheicVGRFb3iOITUWb9ggtI2X8MPXC
|
||||
0TeSKdVuJgeWBso6eVpZPERKj+tiC/b+TRt2wToARnJEy0a3odRiGBX/kNamsuug
|
||||
vrrGR9v+U6zFrtBOsLmFs+U6DIpGPOYCLUhjfL/sApASR5FAMp1QN7dYpGo8Eo86
|
||||
G1w118dDnkC6OFHkP/K5FAkClSYsOTEOgHLHVx+x4RUvkeh48zk+8nDR13pD+O00
|
||||
odU3jfpXHib2Vbw3sLVm7F8dhuK+9WYowJSdlEPI7M0OZKaruXAVkRe1Dex4l22e
|
||||
6S6tWfFlQ+3DhDDGF2Tg
|
||||
=T1FW
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-4.3.ebuild,v 1.1 2014/08/21 07:38:16 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt4-r2 versionator
|
||||
|
||||
# The upstream version numbering is bad, so we have to remove a dot in the
|
||||
# minor version number
|
||||
MAJOR="$(get_major_version)"
|
||||
MINOR_1="$(($(get_version_component_range 2)/10))"
|
||||
MINOR_2="$(($(get_version_component_range 2)%10))"
|
||||
if [ ${MINOR_2} -eq "0" ] ; then
|
||||
MY_P="${PN}-${MAJOR}.${MINOR_1}"
|
||||
else
|
||||
MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
|
||||
fi
|
||||
|
||||
MY_P="${P}"
|
||||
|
||||
DESCRIPTION="A nice LaTeX-IDE"
|
||||
HOMEPAGE="http://www.xm1math.net/texmaker/"
|
||||
SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler:=[qt4]
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtscript:4
|
||||
dev-qt/qtsingleapplication[X]
|
||||
dev-qt/qtwebkit:4
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-i18n/ibus-qt
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-4.1-unbundle.patch )
|
||||
|
||||
DOCS=( utilities/AUTHORS utilities/CHANGELOG.txt )
|
||||
HTML_DOCS=( doc/. )
|
||||
|
||||
src_prepare() {
|
||||
find singleapp hunspell -delete || die
|
||||
|
||||
qt4-r2_src_prepare
|
||||
|
||||
cat >> ${PN}.pro <<- EOF
|
||||
exists(texmakerx_my.pri):include(texmakerx_my.pri)
|
||||
EOF
|
||||
|
||||
cp "${FILESDIR}"/texmakerx_my.pri . || die
|
||||
|
||||
sed \
|
||||
-e '/^#include/s:hunspell/::g' \
|
||||
-e '/^#include/s:singleapp/::g' \
|
||||
-i *.cpp *.h || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4 \
|
||||
${PN}.pro \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
DESKTOPDIR="${EPREFIX}/usr/share/applications" \
|
||||
ICONDIR="${EPREFIX}/usr/share/pixmaps"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A user manual with many screenshots is available at:"
|
||||
elog "${EPREFIX}/usr/share/${PN}/usermanual_en.html"
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/xchm/xchm-1.21.ebuild,v 1.5 2014/08/10 18:36:37 slyfox Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit eutils fdo-mime flag-o-matic wxwidgets
|
||||
|
||||
DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files"
|
||||
HOMEPAGE="http://xchm.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/xchm/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
IUSE="nls"
|
||||
DEPEND=">=dev-libs/chmlib-0.36
|
||||
x11-libs/wxGTK:2.8[X]"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
econf ${myconf} \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS README ChangeLog
|
||||
|
||||
cp "${D}"/usr/share/pixmaps/xchm-32.xpm "${D}"/usr/share/pixmaps/xchm.xpm
|
||||
rm -f "${D}"/usr/share/pixmaps/xchm-*.xpm
|
||||
rm -f "${D}"/usr/share/pixmaps/xchmdoc*.xpm
|
||||
|
||||
domenu "${FILESDIR}"/xchm.desktop
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${FILESDIR}"/xchm.xml
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/xchm/xchm-1.22.ebuild,v 1.2 2014/08/10 18:36:37 slyfox Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit eutils fdo-mime flag-o-matic wxwidgets
|
||||
|
||||
DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files"
|
||||
HOMEPAGE="http://xchm.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/xchm/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
IUSE="nls"
|
||||
DEPEND=">=dev-libs/chmlib-0.36
|
||||
x11-libs/wxGTK:2.8[X]"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
econf ${myconf} \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS README ChangeLog
|
||||
|
||||
cp "${D}"/usr/share/pixmaps/xchm-32.xpm "${D}"/usr/share/pixmaps/xchm.xpm
|
||||
rm -f "${D}"/usr/share/pixmaps/xchm-*.xpm
|
||||
rm -f "${D}"/usr/share/pixmaps/xchmdoc*.xpm
|
||||
|
||||
domenu "${FILESDIR}"/xchm.desktop
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${FILESDIR}"/xchm.xml
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -1,171 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.1.67.ebuild,v 1.1 2013/02/13 00:47:45 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
MY_EXTRAS_VER="20121101-2319Z"
|
||||
|
||||
# Build system
|
||||
BUILD="autotools"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/^noinst_PROGRAMS/s/basic-t//g' \
|
||||
"${S}"/unittest/mytap/t/Makefile.am
|
||||
mysql-v2_src_prepare
|
||||
}
|
||||
|
||||
# Official test instructions:
|
||||
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mariadb-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
emake check || die "make check failed"
|
||||
if ! use "minimal" ; then
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
cd "${S}"
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
local retstatus_unit
|
||||
local retstatus_ns
|
||||
local retstatus_ps
|
||||
local t
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# The entire 5.0 series has pre-generated SSL certificates, they have
|
||||
# mostly expired now. ${S}/mysql-tests/std-data/*.pem
|
||||
# The certs really SHOULD be generated for the tests, so that they are
|
||||
# not expiring like this. We cannot do so ourselves as the tests look
|
||||
# closely as the cert path data, and we do not have the CA key to regen
|
||||
# ourselves. Alternatively, upstream should generate them with at least
|
||||
# 50-year validity.
|
||||
#
|
||||
# Known expiry points:
|
||||
# 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
|
||||
# 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
|
||||
# 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
|
||||
#
|
||||
# mysql-test/std_data/untrusted-cacert.pem is MEANT to be
|
||||
# expired/invalid.
|
||||
case ${PV} in
|
||||
5.1.*|5.4.*|5.5.*)
|
||||
for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
|
||||
ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
|
||||
mysql-v2_disable_test \
|
||||
"$t" \
|
||||
"These OpenSSL tests break due to expired certificates"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
# These are also failing in MySQL 5.1 for now, and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.mysql_comment, main.mysql_upgrade, main.information_schema,
|
||||
# funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# main.not_partition:
|
||||
# Failure reason unknown at this time, must resolve before package.mask
|
||||
# removal FIXME
|
||||
case ${PV} in
|
||||
5.1.*|5.2.*|5.4.*|5.5.*)
|
||||
for t in main.mysql_client_test main.mysql_comments \
|
||||
main.mysql_upgrade \
|
||||
main.information_schema \
|
||||
main.not_partition funcs_1.is_columns_mysql \
|
||||
funcs_1.is_tables_mysql funcs_1.is_triggers; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
# New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
|
||||
# These tests are picking up a 'connect-timeout' config from somewhere,
|
||||
# which is not valid, and since it does not have 'loose-' in front of
|
||||
# it, it's causing a failure
|
||||
case ${PV} in
|
||||
5.1.5*|5.4.*|5.5.*|6*)
|
||||
for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
|
||||
mysql-v2_disable_test "$t" \
|
||||
"False positives in Gentoo: connect-timeout"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
use profiling && use community \
|
||||
|| mysql-v2_disable_test main.profiling \
|
||||
"Profiling test needs profiling support"
|
||||
|
||||
if [ "${PN}" == "mariadb" ]; then
|
||||
for t in \
|
||||
parts.part_supported_sql_func_ndb \
|
||||
parts.partition_auto_increment_ndb ; do
|
||||
mysql-v2_disable_test $t "ndb not supported in mariadb"
|
||||
done
|
||||
fi
|
||||
|
||||
# create directories because mysqladmin might make out of order
|
||||
mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
|
||||
|
||||
# We run the test protocols seperately
|
||||
emake test-unit
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
|
||||
retstatus_ns=$?
|
||||
[[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
|
||||
retstatus_ps=$?
|
||||
[[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
# TODO:
|
||||
# When upstream enables the pr and nr testsuites, we need those as well.
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
|
||||
[[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
else
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -0,0 +1,156 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/julia-0.3.0.ebuild,v 1.1 2014/08/21 09:04:56 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
inherit elisp-common eutils multilib pax-utils toolchain-funcs
|
||||
|
||||
PDSFMT=dSFMT-src-2.2
|
||||
|
||||
DESCRIPTION="High-performance programming language for technical computing"
|
||||
HOMEPAGE="http://julialang.org/"
|
||||
SRC_URI="
|
||||
https://github.com/JuliaLang/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/${PDSFMT}.tar.gz
|
||||
http://dev.gentoo.org/~patrick/libuv-${P}.tar.bz2
|
||||
http://dev.gentoo.org/~patrick/rmath-0_p20140821.tar.bz2
|
||||
http://www.public-software-group.org/pub/projects/utf8proc/v1.1.6/utf8proc-v1.1.6.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="emacs"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/R:0=
|
||||
dev-libs/double-conversion:0=
|
||||
dev-libs/gmp:0=
|
||||
dev-libs/libpcre:3=
|
||||
dev-libs/mpfr:0=
|
||||
dev-libs/openspecfun
|
||||
sci-libs/arpack:0=
|
||||
sci-libs/camd:0=
|
||||
sci-libs/cholmod:0=
|
||||
sci-libs/fftw:3.0=
|
||||
sci-libs/openlibm:0=
|
||||
sci-libs/spqr:0=
|
||||
sci-libs/umfpack:0=
|
||||
sci-mathematics/glpk:0=
|
||||
=sys-devel/llvm-3.4*
|
||||
>=sys-libs/libunwind-1.1:7=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0=
|
||||
virtual/blas
|
||||
virtual/lapack
|
||||
emacs? ( app-emacs/ess )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/patchelf
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
ln -s "${DISTDIR}"/${PDSFMT}.tar.gz deps/dsfmt-2.2.tar.gz || die
|
||||
ln -s "${DISTDIR}"/utf8proc-v1.1.6.tar.gz deps/utf8proc-v1.1.6.tar.gz || die
|
||||
cp -ar "${WORKDIR}"/Rmath deps/ || die
|
||||
rmdir deps/libuv && ln -s "${WORKDIR}"/libuv deps/libuv
|
||||
# no fetching in ebuild
|
||||
# /usr/include/suitesparse is for debian only
|
||||
# respect prefix, flags
|
||||
sed -i \
|
||||
-e 's|$(JLDOWNLOAD)|${EPREFIX}/bin/true|' \
|
||||
-e 's|git submodule|${EPREFIX}/bin/true|g' \
|
||||
-e 's|^\(SUITESPARSE_INC\s*=\).*||g' \
|
||||
-e "s|-O3|${CFLAGS}|g" \
|
||||
-e 's|/usr/bin/||g' \
|
||||
-e "s|/usr/include|${EPREFIX%/}/usr/include|g" \
|
||||
deps/Makefile || die
|
||||
|
||||
sed -i \
|
||||
-e "s|\(JULIA_EXECUTABLE = \)\(\$(JULIAHOME)/julia\)|\1 LD_LIBRARY_PATH=\$(BUILD)/$(get_libdir) \2|" \
|
||||
-e "s|-O3|${CFLAGS}|g" \
|
||||
-e "s|LIBDIR = lib|LIBDIR = $(get_libdir)|" \
|
||||
-e "s|/usr/lib|${EPREFIX}/usr/$(get_libdir)|" \
|
||||
-e "s|/usr/include|${EPREFIX}/usr/include|" \
|
||||
-e "s|\$(BUILD)/lib|\$(BUILD)/$(get_libdir)|" \
|
||||
-e "s|^JULIA_COMMIT = .*|JULIA_COMMIT = v${PV}|" \
|
||||
Make.inc || die
|
||||
|
||||
sed -i \
|
||||
-e "s|,lib)|,$(get_libdir))|g" \
|
||||
-e "s|\$(BUILD)/lib|\$(BUILD)/$(get_libdir)|g" \
|
||||
Makefile || die
|
||||
|
||||
sed -i \
|
||||
-e "s|ar -rcs|$(tc-getAR) -rcs|g" \
|
||||
src/Makefile || die
|
||||
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# libuv is an incompatible fork from upstream, so don't use system one
|
||||
cat <<-EOF > Make.user
|
||||
USE_LLVM_SHLIB=1
|
||||
USE_SYSTEM_ARPACK=1
|
||||
USE_SYSTEM_BLAS=1
|
||||
USE_SYSTEM_FFTW=1
|
||||
USE_SYSTEM_GMP=1
|
||||
USE_SYSTEM_GRISU=1
|
||||
USE_SYSTEM_LAPACK=1
|
||||
USE_SYSTEM_LIBM=1
|
||||
USE_SYSTEM_LIBUNWIND=1
|
||||
USE_SYSTEM_LIBUV=0
|
||||
USE_SYSTEM_LLVM=1
|
||||
USE_SYSTEM_MPFR=1
|
||||
USE_SYSTEM_OPENLIBM=1
|
||||
USE_SYSTEM_OPENSPECFUN=1
|
||||
USE_SYSTEM_PCRE=1
|
||||
USE_SYSTEM_READLINE=1
|
||||
USE_SYSTEM_RMATH=1
|
||||
USE_SYSTEM_SUITESPARSE=1
|
||||
USE_SYSTEM_ZLIB=1
|
||||
VERBOSE=1
|
||||
EOF
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Not parallel-safe, #514882
|
||||
emake -j1 cleanall
|
||||
if [[ $(get_libdir) != lib ]]; then
|
||||
mkdir -p usr/$(get_libdir) || die
|
||||
ln -s $(get_libdir) usr/lib || die
|
||||
fi
|
||||
emake -j1 julia-release prefix="/usr" DESTDIR="${D}"
|
||||
pax-mark m $(file usr/bin/julia-* | awk -F : '/ELF/ {print $1}')
|
||||
emake
|
||||
use emacs && elisp-compile contrib/julia-mode.el
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install prefix="/usr" DESTDIR="${D}"
|
||||
cat > 99julia <<-EOF
|
||||
LDPATH=${EROOT%/}/usr/$(get_libdir)/julia
|
||||
EOF
|
||||
doenvd 99julia
|
||||
|
||||
if use emacs; then
|
||||
elisp-install "${PN}" contrib/julia-mode.el
|
||||
elisp-site-file-install "${FILESDIR}"/63julia-gentoo.el
|
||||
fi
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,217 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.9.3_p545.ebuild,v 1.2 2014/04/09 08:57:36 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
RUBYPL=$(get_version_component_range 4)
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
# 1.9.3 still uses 1.9.1
|
||||
RUBYVERSION=1.9.1
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/1.9/${MY_P}.tar.bz2
|
||||
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline +yaml" #libedit
|
||||
|
||||
# libedit support is removed everywhere because of this upstream bug:
|
||||
# http://redmine.ruby-lang.org/issues/show/3698
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ssl? ( dev-libs/openssl )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
readline? ( sys-libs/readline )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-admin/eselect-ruby-20100402
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
# libedit? ( dev-libs/libedit )
|
||||
# !libedit? ( readline? ( sys-libs/readline ) )
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
>=dev-ruby/rubygems-1.8.10-r1[ruby_targets_ruby19]
|
||||
rdoc? ( >=dev-ruby/rdoc-3.9.4[ruby_targets_ruby19] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -r \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
ext/json \
|
||||
bin/gem || die "removal failed"
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# if use libedit; then
|
||||
# einfo "Using libedit to provide readline extension"
|
||||
# myconf="${myconf} --enable-libedit --with-readline"
|
||||
# elif use readline; then
|
||||
# einfo "Using readline to provide readline extension"
|
||||
# myconf="${myconf} --with-readline"
|
||||
# else
|
||||
# myconf="${myconf} --without-readline"
|
||||
# fi
|
||||
myconf="${myconf} $(use_with readline)"
|
||||
|
||||
# Always disable tk because the module is no longer compatible with
|
||||
# stable tcl/tk: https://bugs.gentoo.org/show_bug.cgi?id=500894
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--without-tk \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
$(use_with berkdb dbm) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with yaml psych) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* ToDo || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(19|20|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue