parent
36c5b61ec9
commit
d0a524447a
@ -1,2 +1,2 @@
|
||||
DIST cdemu-daemon-1.4.0.tar.gz 174194 SHA256 369238cbcb923f3e4b54e9f5b346bea3199944344376cb7a4ea96643e1389854 SHA512 c84dcbc671a1c307ef1fbb7fc6ee52e5f7ec592f9231bc935b15dd1064ddf9316191dc85bbc686dfb5b244d434366e101e7debaf2fdd0ea366d53116f76c9714 WHIRLPOOL df53f67916c7fa4f4e6b8e888d4fdb828f7d878ac037ba7134530d12ef97f01ecd59b99aad9d734f8d6c5e3e0a6f7b36bf22af466cd0f71494b02c44c1608e6b
|
||||
DIST cdemu-daemon-1.5.0.tar.bz2 133865 SHA256 d0e122c7769ba11b640bb140657d1f31dc827904578437ac1d5aa84dcc88a74f SHA512 bd8a0bc1aafe23422f73832463bcf36003f221595d149b7859594791c0e08c752e2b7b136f228468cb2df0575bdf3a4c24913338e94f549d8b06271e7d75423c WHIRLPOOL 1f15fb77b6dcbce8c26e4bc495ef923a96d3284516dd3adba6da049761af4b7008178583d1c00548787e4e591206c5f33849ae8b2e6ac2e7f1c6f25a694a2b11
|
||||
DIST cdemu-daemon-2.0.0.tar.bz2 61590 SHA256 9def5ac371bdc64ed1b7b8fd3dffa9573561deaa7cf4b52c8a2744d852dfc53f SHA512 71daf0c745df2daf4c0344e8c85d146de8c3f68b1f0a8f8f402a1bcfee7a29e32e6c0fb54fac873e2abd2912327eca9a8bbbe3584ba7afc70dd151057575bbd6 WHIRLPOOL 8aa953fcf26570492a5b959e172f9b287c858e0578fd271b269c2884c29324624787ee27e9133827a2734b1c5267e7afb5b14c8d624065d9e6025ee8ebab2012
|
@ -1,30 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemud/cdemud-1.4.0.ebuild,v 1.2 2012/01/18 12:08:10 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu-daemon/cdemu-daemon-2.0.0.ebuild,v 1.1 2013/01/28 00:22:03 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
EAPI="5"
|
||||
|
||||
CMAKE_MIN_VERSION="2.8.5"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Daemon of the CDEmu optical media image mounting suite"
|
||||
HOMEPAGE="http://cdemu.org"
|
||||
SRC_URI="mirror://sourceforge/cdemu/cdemu-daemon-${PV}.tar.gz"
|
||||
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/4" # subslot = CDEMU_DAEMON_INTERFACE_VERSION in CMakeLists.txt
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
IUSE="pulseaudio"
|
||||
|
||||
RDEPEND=">=dev-libs/dbus-glib-0.61
|
||||
>=dev-libs/glib-2.14:2
|
||||
>=dev-libs/libmirage-${PV}
|
||||
RDEPEND=">=dev-libs/glib-2.26:2
|
||||
>=dev-libs/libmirage-${PV}:=
|
||||
>=media-libs/libao-0.8.0[pulseaudio?]
|
||||
sys-apps/dbus
|
||||
>=sys-fs/vhba-20101015
|
||||
!pulseaudio? ( >=media-libs/libao-0.8.0[alsa] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/cdemu-daemon-${PV}
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
DOCS="AUTHORS README"
|
||||
|
||||
sed -e 's/-DG_DISABLE_DEPRECATED//' -i CMakeLists.txt || die
|
||||
|
||||
if ! use pulseaudio; then
|
||||
sed -e 's:AUDIO_DRIVER=pulse:AUDIO_DRIVER=alsa:' \
|
||||
-i session/cdemu-daemon-session.sh || die "sed failed"
|
@ -1,2 +1,2 @@
|
||||
DIST cdemu-client-1.4.0.tar.gz 119584 SHA256 d3223c9410217f45cd1df25a85cf3dc3cf361410e31911840efc79c729202ed2 SHA512 20da8d801bcd82f34e6ddfbee873f2e32c1f836777961dec01b09aaa6932e257cc0f27d4b7f0e0b8be5f5e90bb13d0f62f654faf3d4cf668fedb381c53a3d5cc WHIRLPOOL 597ea50cd2707491f9d73c1890d2f24213a413e3e8600f165683b1624b667bb860e1396a6c6356090a41f2ee1920470823fa6ac3028a16b75ecd6970a0909ad4
|
||||
DIST cdemu-client-1.5.0.tar.bz2 97987 SHA256 d4d7e3d232f799830c1c480d69f8789468552602e2737b0b0207f4d449095f99 SHA512 42e43e3a0fb240107c2500d1d4b3f9ed1e1df352c768e6b9ecb019a03f561a4a086df0ae16c744cb22e86db4ed1d3aed1a4171c4e881b89920b9897e6e41cdfd WHIRLPOOL ddf8908f2e80971206d8402fcd1ad0884ffe74314eecefa445359907b7fc94d08ea251250ea825cbc0e589eb691439d3a50e680b2c901e0604966806b011aeab
|
||||
DIST cdemu-client-2.0.0.tar.bz2 28346 SHA256 a049df0d97b46bedf8604123c9ac6207f6b506855da6c379550513cb40e45603 SHA512 c510087a3c2a343beb99f4a02c9db0407ee4a27fb640af5343fac081aab10afa616ce3477fc2baf7aefbcde12b2de0c80e330be33e82ed7f60cf6eb3b03f854f WHIRLPOOL 1e3843d3ce6dab95726f563ea385e9a091055585f537b57942b2e51a547b342369c7577bf55f63a75fa378f95300c1eeaf8c00be0a42a04384654a13bff42fae
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-1.4.0.ebuild,v 1.2 2012/01/18 12:08:27 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Command-line tool for controlling the CDEmu daemon (cdemud)"
|
||||
HOMEPAGE="http://cdemu.org"
|
||||
SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="+cdemud"
|
||||
|
||||
RDEPEND="dev-python/dbus-python
|
||||
cdemud? ( >=app-cdr/cdemud-1.4.0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.21"
|
||||
|
||||
S=${WORKDIR}/cdemu-client-${PV}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 src
|
||||
}
|
@ -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/app-cdr/cdemu/cdemu-2.0.0.ebuild,v 1.1 2013/01/28 00:22:41 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
CMAKE_MIN_VERSION="2.8.5"
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
PLOCALES="de fr no pl sl sv"
|
||||
|
||||
inherit cmake-utils eutils fdo-mime l10n python-single-r1
|
||||
|
||||
DESCRIPTION="Command-line tool for controlling cdemu-daemon"
|
||||
HOMEPAGE="http://cdemu.org"
|
||||
SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
IUSE="+cdemu-daemon"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
cdemu-daemon? ( app-cdr/cdemu-daemon:0/4 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/desktop-file-utils
|
||||
>=dev-util/intltool-0.21
|
||||
>=sys-devel/gettext-0.18"
|
||||
|
||||
S=${WORKDIR}/cdemu-client-${PV}
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang src/cdemu
|
||||
epatch "${FILESDIR}/${PN}-2.0.0-bash-completion-dir.patch"
|
||||
# build system doesn't respect LINGUAS :/
|
||||
rm_po() {
|
||||
rm po/$1.po || die
|
||||
}
|
||||
l10n_for_each_disabled_locale_do rm_po
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
DOCS="AUTHORS README"
|
||||
local mycmakeargs=( -DPOST_INSTALL_HOOKS=OFF )
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
diff --git a/cdemu-client/CMakeLists.txt b/cdemu-client/CMakeLists.txt
|
||||
index 6f33b7c..5261c18 100644
|
||||
--- a/cdemu-client/CMakeLists.txt
|
||||
+++ b/cdemu-client/CMakeLists.txt
|
||||
@@ -41,7 +41,7 @@ install (
|
||||
|
||||
install (
|
||||
FILES data/cdemu-bashcomp
|
||||
- DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/bash_completion.d
|
||||
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/bash-completion
|
||||
RENAME cdemu-client
|
||||
)
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST gcdemu-1.4.0.tar.gz 127488 SHA256 c8a1f7b6ced6926e49315f3f69a51253ec4ec523b7bd362ddeb08408c5a505a0 SHA512 55e07e07b617ac55655762c267abfc2aac912132d5923e98c2416e38acaa896cdbaaeebdcf566b07c2d9b61b823d60950b47af5f04f3dd11a2f597052a265a6f WHIRLPOOL 4f0bff1cc2243e32f9eee0d33be82007bd98a26c7c764d660da7e211749fe80f29e3f806ca53b7df8e214ea88ff6428fd0ff02dbd83c581effe5eb1ca033fd89
|
||||
DIST gcdemu-1.5.0.tar.bz2 106163 SHA256 43f3da30eb95759618d258acd312f45a7fe4a9792952954c77b0fea9459d0c85 SHA512 8e599426c4f8817164ef44f4d06b823dd549e57b5e9b00ae8df7510ea2468c51e444c61ab8cf089b8e9cccd068b6df392ab34e2ba1d8c84dd18f5b783b240ed1 WHIRLPOOL 19d34d926e5df188abf605c11a3530bd9ab4e05e15cf36683aefe38dee25f10411ef6f1f230bf419915f91173f3591ad729423dccbd48c11c092f730f9f3c2e7
|
||||
DIST gcdemu-2.0.0.tar.bz2 39502 SHA256 c6afa3b720618389119fd12c6006218510c1515d77637f27087b06f1a258c54f SHA512 af2ba5ac7bc8ef9ef442c511a28e0d77309b6b1d58170803ed072b712a52a5283e5b4c4c3b2c79cf687b1decfb87128a2cd956dfb8a0f32143ba8d9efe23c610 WHIRLPOOL b33ebb8c184c93e8e1e7d3fea4c99d6f3c4f063a8e4c80eca8829348d477eb1fc55581c41b123ccd878f8f28c24e9b817831f3fd55886b687d92baaab3d55a08
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/gcdemu/gcdemu-1.4.0.ebuild,v 1.3 2012/05/03 07:51:49 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit gnome2 python
|
||||
|
||||
DESCRIPTION="Gtk+ GUI for controlling the CDEmu daemon (cdemud)"
|
||||
HOMEPAGE="http://cdemu.org/"
|
||||
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="libnotify"
|
||||
|
||||
RDEPEND=">=app-cdr/cdemud-1.4.0
|
||||
>=dev-python/dbus-python-0.71
|
||||
dev-python/gconf-python
|
||||
>=dev-python/pygobject-2.6:2
|
||||
>=dev-python/pygtk-2.6
|
||||
gnome-base/gconf:2
|
||||
|
||||
libnotify? ( dev-python/notify-python )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/intltool-0.21
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
DOCS="AUTHORS ChangeLog README"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs 2 src/gcdemu
|
||||
gnome2_src_prepare
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/gcdemu/gcdemu-2.0.0.ebuild,v 1.1 2013/01/28 00:24:30 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
CMAKE_MIN_VERSION="2.8.5"
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
PLOCALES="de fr no pl sl zh_CN"
|
||||
|
||||
# cmake-utils after gnome2, to make sure cmake-utils is used for building
|
||||
inherit gnome2 cmake-utils l10n python-single-r1
|
||||
|
||||
DESCRIPTION="Gtk+ GUI for controlling cdemu-daemon"
|
||||
HOMEPAGE="http://cdemu.org/"
|
||||
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-cdr/cdemu-daemon:0/4
|
||||
>=dev-libs/glib-2.28:2
|
||||
dev-libs/gobject-introspection
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
sys-apps/dbus
|
||||
x11-libs/gdk-pixbuf[introspection]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/libnotify[introspection]"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/desktop-file-utils
|
||||
>=dev-util/intltool-0.21
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang src/gcdemu
|
||||
# build system doesn't respect LINGUAS :/
|
||||
rm_po() {
|
||||
rm po/$1.po || die
|
||||
}
|
||||
l10n_for_each_disabled_locale_do rm_po
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
DOCS="AUTHORS README"
|
||||
local mycmakeargs=( -DPOST_INSTALL_HOOKS=OFF )
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>app-doc</herd>
|
||||
<maintainer>
|
||||
<email>app-doc@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>app-doc</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>app-doc</herd>
|
||||
<maintainer>
|
||||
<email>app-doc@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>app-doc</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>app-doc</herd>
|
||||
<maintainer>
|
||||
<email>app-doc@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>app-doc</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>app-doc</herd>
|
||||
<maintainer>
|
||||
<email>app-doc@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>app-doc</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1,2 @@
|
||||
DIST zathura-djvu-0.2.1.tar.gz 10412 SHA256 d8bb3c9e30244a0733e49740ee2dd099ce39fa16f2c320af27a0c09d9a25bcc3 SHA512 b2e622885cf17e0eb1f45182f4db2a5fc6a86900d2f91620a02d80deb560f3939552fd07388694e6a329defae1d0e766668027348b80be59b01bebe0d14f7903 WHIRLPOOL cab84c69228ef16fbadc03b5bb5a63a4e130343606aafd71f50634608436d9e82b25b560f65a326409fd1c0e80f68c6a751c12c35242bd20896b3db45d2993f2
|
||||
DIST zathura-djvu-0.2.2.tar.gz 10473 SHA256 9c0accf68be79df63f16337b7cef66bfb199f4ff296ae5a1bc8de220f1af2691 SHA512 42f45413a78b98de5eb2070cb84458dcfbb62b2aa24286c369aca68a354ab4515fbcb9a932565ce5c386e33446ef4a239309eb1fc4ff40eb5d240dae29e10ea4 WHIRLPOOL bcded33e54b1de28fc12131b239f37f268080522b9290ee2cd401aab2845961b9446c523ce973136aec3b30cd29b747410bde01e90ddf132f40b9606bbefd1e7
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/zathura-djvu/zathura-djvu-0.2.2.ebuild,v 1.1 2013/01/27 21:55:28 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="DjVu plug-in for zathura"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-text/djvu-3.5.24-r1
|
||||
>=app-text/zathura-0.2.2
|
||||
>=dev-libs/girara-0.1.5:2
|
||||
>=dev-libs/glib-2
|
||||
x11-libs/cairo"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
myzathuraconf=(
|
||||
CC="$(tc-getCC)"
|
||||
LD="$(tc-getLD)"
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${myzathuraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myzathuraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST zathura-pdf-poppler-0.2.1.tar.gz 8158 SHA256 1c162ea887e52f48d6dc80f8427a773768f2df2e37242dab7efddeb3d2e361cd SHA512 4bd8314b4c9bd38471c0656f43d6f05692b740139dfd964e70f7d5ceb973c3f15d5cccf74d5917dbb262b0eb81e9e77b27a999f6dc02de015f27e833be3d8953 WHIRLPOOL ebbfa52a8357bf0b2c2415d4e9624bc755a161db3493c6e065b47575f9fe551d9e3841216e9201323dff1dee9ac370f8d5fd8b77fd13b3f0ba4efcc32ae8daa9
|
||||
DIST zathura-pdf-poppler-0.2.2.tar.gz 8153 SHA256 87115a2535e2108911dbc900f5d0db879bc6d9f731b161454a6955bb804ba55f SHA512 6691cbfffa11712ef62f693001d2ccff6683053187b784288b08ae8c16d0b80181d61daf347db396687b145f548ea9e90a2f1452cf5005eda3490311805951f3 WHIRLPOOL 195ef25b368fe19c23de27bbf051982b6bd56499c60eff474f349e14c874fcddade1d8c75ad2a1608c6dcdbe2329d86b9be74934d162d6486c044d9fbbeae05f
|
||||
|
@ -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/app-text/zathura-pdf-poppler/zathura-pdf-poppler-0.2.2.ebuild,v 1.2 2013/01/27 21:54:41 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="PDF plug-in for zathura"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-text/poppler[cairo]
|
||||
>=app-text/zathura-0.2.2
|
||||
>=dev-libs/girara-0.1.5:2
|
||||
x11-libs/cairo"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
myzathuraconf=(
|
||||
CC="$(tc-getCC)"
|
||||
LD="$(tc-getLD)"
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${myzathuraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myzathuraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST zathura-ps-0.2.0.tar.gz 5004 SHA256 717eda01213b162421b6b52f29d6b981edc302fddf351ccb2c093b6842751414 SHA512 b4a06bf1cdce7da056106f67924068598260d5fb5ffc93015c9e4c2c8ee16ecaf774702910eddf4724ac59b8d9340158d56f746e5a8a6597897887ff9f980dcf WHIRLPOOL ad40cfd9b44a283c68efce12d87d5ed1d6036257fd3cfbebe4b7f808e14d7923761d783d5e20ff55d61c8350ba81ab6fa0fe0992a8e60abbd3c6db705354f9f3
|
||||
DIST zathura-ps-0.2.1.tar.gz 5057 SHA256 01f6a8953d0a1b94b51ff46ac8955b54b1aa6789044e1e34f1d6dbccf94eaee5 SHA512 c039158819e22c0af5271002e12112146c49e7a312c3edfa43f5ef3b4db31b0987c642f06186b85ec5255a5237b5f607bda5c6750e0ae8d6ee39703836cd85d7 WHIRLPOOL 57d7e8b6a97e7745e2514cbf339c0d6df8eaec5f487955cfafbc40a1691654269ee55bba102dcfce031e74e27d65462180849b028e99fa295cc094dfa9114ea6
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/zathura-ps/zathura-ps-0.2.1.ebuild,v 1.1 2013/01/27 21:59:16 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="PostScript plug-in for zathura"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-text/libspectre-0.2.6
|
||||
>=app-text/zathura-0.2.2
|
||||
>=dev-libs/girara-0.1.5:2
|
||||
>=dev-libs/glib-2
|
||||
x11-libs/cairo"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
myzathuraconf=(
|
||||
CC="$(tc-getCC)"
|
||||
LD="$(tc-getLD)"
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${myzathuraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myzathuraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST zathura-0.2.1.tar.gz 95179 SHA256 075b9def201c77ca738dc9e15b252bc23c085b7c4671a1810d1d962e8d0bd790 SHA512 fec1185cbbabdbad266c81074d372a35ed41bc1f6f14adb55107f0bf6cca15a10736afda2ad827db8766ab15e884e15f64aeeb40e31defe29b34061623e4464d WHIRLPOOL 1c55315cd11a486a29a45cdd708c7df7cb01bed1a37f89777b78be15617b57053399efe0ea1297c1db07500744c4771f9dfb0db8b0be7a95f5909aefb67606c1
|
||||
DIST zathura-0.2.2.tar.gz 108240 SHA256 6506237ba76ce1611dc24ddd870853d753b5e70e5200d75d2a2257ff7c9242c9 SHA512 a777a57de249cb542190c3da62f89d7653aa324e28b9de17ab8e35307c99e505461f3a2acc0cacd3949757b906262a696b7c4a2e9c330f222ffa27785bd50774 WHIRLPOOL 04a3fc26eeb594de8181f61a7900514aa08562b200ff1797bdd6204c051e80bd2c7b483400736b1799ca7de79472f96710ec92380c9914032d72542b4c1b97fd
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/zathura/zathura-0.2.2.ebuild,v 1.1 2013/01/27 21:50:00 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils fdo-mime multilib toolchain-funcs virtualx
|
||||
|
||||
DESCRIPTION="A highly customizable and functional document viewer"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+doc sqlite test"
|
||||
|
||||
RDEPEND=">=dev-libs/girara-0.1.5:2
|
||||
>=dev-libs/glib-2
|
||||
x11-libs/cairo
|
||||
sqlite? ( dev-db/sqlite:3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-python/docutils )
|
||||
test? ( dev-libs/check )"
|
||||
|
||||
pkg_setup() {
|
||||
myzathuraconf=(
|
||||
ZATHURA_GTK_VERSION=2
|
||||
WITH_SQLITE=$(usex sqlite 1 0)
|
||||
PREFIX="${EPREFIX}"/usr
|
||||
LIBDIR='${PREFIX}'/$(get_libdir)
|
||||
RSTTOMAN="$(use doc && type -P rst2man.py)"
|
||||
CC="$(tc-getCC)"
|
||||
SFLAGS=""
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${myzathuraconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myzathuraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,265 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.66-r1.ebuild,v 1.1 2013/01/28 02:10:49 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_EXTRAS_VER="20130128-0054Z"
|
||||
# PBXT
|
||||
PBXT_VERSION='1.0.11-6-pre-ga'
|
||||
# XtraDB
|
||||
PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
|
||||
|
||||
# Build type
|
||||
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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
# This is often broken still
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
# Most of these are in the eclass
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
|
||||
>=sys-devel/libtool-2.2.10"
|
||||
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 mysql-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))"
|
||||
|
||||
# archive_gis really sucks a lot, but it's only relevant for the
|
||||
# USE=extraengines case
|
||||
case ${PV} in
|
||||
5.0.42)
|
||||
mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42"
|
||||
;;
|
||||
|
||||
5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
|
||||
[ "$(tc-endian)" == "big" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"archive_gis" \
|
||||
"Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
|
||||
;;
|
||||
esac
|
||||
|
||||
# This was a slight testcase breakage when the read_only security issue
|
||||
# was fixed.
|
||||
case ${PV} in
|
||||
5.0.54|5.0.51*)
|
||||
mysql-v2_disable_test \
|
||||
"read_only" \
|
||||
"Broken in 5.0.51-54, output in wrong order"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Ditto to read_only
|
||||
[ "${PV}" == "5.0.51a" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"view" \
|
||||
"Broken in 5.0.51, output in wrong order"
|
||||
|
||||
# x86-specific, OOM issue with some subselects on low memory servers
|
||||
[ "${PV}" == "5.0.54" ] && \
|
||||
[ "${ARCH/x86}" != "${ARCH}" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"subselect" \
|
||||
"Testcase needs tuning on x86 for oom condition"
|
||||
|
||||
# Broke with the YaSSL security issue that didn't affect Gentoo.
|
||||
[ "${PV}" == "5.0.56" ] && \
|
||||
for t in openssl_1 rpl_openssl rpl_ssl ssl \
|
||||
ssl_8k_key ssl_compress ssl_connect ; do \
|
||||
mysql-v2_disable_test \
|
||||
"$t" \
|
||||
"OpenSSL tests broken on 5.0.56"
|
||||
done
|
||||
|
||||
# New test was broken in first time
|
||||
# Upstream bug 41066
|
||||
# http://bugs.mysql.com/bug.php?id=41066
|
||||
[ "${PV}" == "5.0.72" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"status2" \
|
||||
"Broken in 5.0.72, new test is broken, upstream bug #41066"
|
||||
|
||||
# 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.0.*|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.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
|
||||
|
||||
# This fail with XtraDB in place of normal InnoDB
|
||||
# TODO: test if they are broken with the rest of the Percona patches
|
||||
if xtradb_patch_available && use xtradb ; then
|
||||
for t in main.innodb innodb.innodb_bug51378 \
|
||||
main.information_schema_db main.mysqlshow \
|
||||
main.innodb-autoinc main.innodb_bug21704 \
|
||||
main.innodb_bug44369 main.innodb_bug46000 \
|
||||
main.index_merge_innodb \
|
||||
innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
|
||||
innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
|
||||
innodb.innodb_bug21704 innodb.innodb_bug44369 \
|
||||
innodb.innodb_bug46000 innodb.innodb_bug48024 \
|
||||
innodb.innodb_bug49164 innodb.innodb_bug51920 \
|
||||
innodb.innodb_bug54044 \
|
||||
; do
|
||||
mysql-v2_disable_test $t "tests broken in xtradb"
|
||||
done
|
||||
fi
|
||||
|
||||
if ! use extraengine ; then
|
||||
# bug 332565
|
||||
for t in main.range ; do
|
||||
mysql-v2_disable_test $t "Test $t requires USE=extraengine"
|
||||
done
|
||||
# bug 401673
|
||||
for t in federated.federated_plugin ; do
|
||||
mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)"
|
||||
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,265 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.67-r1.ebuild,v 1.1 2013/01/28 02:10:49 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_EXTRAS_VER="20130128-0054Z"
|
||||
# PBXT
|
||||
PBXT_VERSION='1.0.11-6-pre-ga'
|
||||
# XtraDB
|
||||
PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
|
||||
|
||||
# Build type
|
||||
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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
# This is often broken still
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
# Most of these are in the eclass
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
|
||||
>=sys-devel/libtool-2.2.10"
|
||||
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 mysql-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))"
|
||||
|
||||
# archive_gis really sucks a lot, but it's only relevant for the
|
||||
# USE=extraengines case
|
||||
case ${PV} in
|
||||
5.0.42)
|
||||
mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42"
|
||||
;;
|
||||
|
||||
5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
|
||||
[ "$(tc-endian)" == "big" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"archive_gis" \
|
||||
"Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
|
||||
;;
|
||||
esac
|
||||
|
||||
# This was a slight testcase breakage when the read_only security issue
|
||||
# was fixed.
|
||||
case ${PV} in
|
||||
5.0.54|5.0.51*)
|
||||
mysql-v2_disable_test \
|
||||
"read_only" \
|
||||
"Broken in 5.0.51-54, output in wrong order"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Ditto to read_only
|
||||
[ "${PV}" == "5.0.51a" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"view" \
|
||||
"Broken in 5.0.51, output in wrong order"
|
||||
|
||||
# x86-specific, OOM issue with some subselects on low memory servers
|
||||
[ "${PV}" == "5.0.54" ] && \
|
||||
[ "${ARCH/x86}" != "${ARCH}" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"subselect" \
|
||||
"Testcase needs tuning on x86 for oom condition"
|
||||
|
||||
# Broke with the YaSSL security issue that didn't affect Gentoo.
|
||||
[ "${PV}" == "5.0.56" ] && \
|
||||
for t in openssl_1 rpl_openssl rpl_ssl ssl \
|
||||
ssl_8k_key ssl_compress ssl_connect ; do \
|
||||
mysql-v2_disable_test \
|
||||
"$t" \
|
||||
"OpenSSL tests broken on 5.0.56"
|
||||
done
|
||||
|
||||
# New test was broken in first time
|
||||
# Upstream bug 41066
|
||||
# http://bugs.mysql.com/bug.php?id=41066
|
||||
[ "${PV}" == "5.0.72" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"status2" \
|
||||
"Broken in 5.0.72, new test is broken, upstream bug #41066"
|
||||
|
||||
# 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.0.*|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.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
|
||||
|
||||
# This fail with XtraDB in place of normal InnoDB
|
||||
# TODO: test if they are broken with the rest of the Percona patches
|
||||
if xtradb_patch_available && use xtradb ; then
|
||||
for t in main.innodb innodb.innodb_bug51378 \
|
||||
main.information_schema_db main.mysqlshow \
|
||||
main.innodb-autoinc main.innodb_bug21704 \
|
||||
main.innodb_bug44369 main.innodb_bug46000 \
|
||||
main.index_merge_innodb \
|
||||
innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
|
||||
innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
|
||||
innodb.innodb_bug21704 innodb.innodb_bug44369 \
|
||||
innodb.innodb_bug46000 innodb.innodb_bug48024 \
|
||||
innodb.innodb_bug49164 innodb.innodb_bug51920 \
|
||||
innodb.innodb_bug54044 \
|
||||
; do
|
||||
mysql-v2_disable_test $t "tests broken in xtradb"
|
||||
done
|
||||
fi
|
||||
|
||||
if ! use extraengine ; then
|
||||
# bug 332565
|
||||
for t in main.range ; do
|
||||
mysql-v2_disable_test $t "Test $t requires USE=extraengine"
|
||||
done
|
||||
# bug 401673
|
||||
for t in federated.federated_plugin ; do
|
||||
mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)"
|
||||
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
|
||||
}
|
@ -1,129 +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/mysql/mysql-5.5.19.ebuild,v 1.3 2013/01/20 01:00:58 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_EXTRAS_VER="20110713-0702Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
||||
# Build type
|
||||
BUILD="cmake"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# Define the mysql-extras source
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${S}"/mysql-test/var-tests{,/log}
|
||||
|
||||
# These are failing in MySQL 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help-notwin
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# sys_vars.plugin_dir_basic
|
||||
# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
|
||||
# instead of MYSQL_LIBDIR/plugin
|
||||
#
|
||||
# main.flush_read_lock_kill
|
||||
# fails because of unknown system variable 'DEBUG_SYNC'
|
||||
#
|
||||
# main.openssl_1
|
||||
# error message changing
|
||||
# -mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: ASN: bad other signature confirmation
|
||||
# +mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: error:00000001:lib(0):func(0):reason(1)
|
||||
#
|
||||
|
||||
for t in main.mysql_client_test \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help-notwin main.flush_read_lock_kill \
|
||||
sys_vars.plugin_dir_basic main.openssl_1 ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,129 +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/mysql/mysql-5.5.20.ebuild,v 1.2 2013/01/20 01:00:58 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_EXTRAS_VER="20111118-2347Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
||||
# Build type
|
||||
BUILD="cmake"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# Define the mysql-extras source
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${S}"/mysql-test/var-tests{,/log}
|
||||
|
||||
# These are failing in MySQL 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help-notwin
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# sys_vars.plugin_dir_basic
|
||||
# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
|
||||
# instead of MYSQL_LIBDIR/plugin
|
||||
#
|
||||
# main.flush_read_lock_kill
|
||||
# fails because of unknown system variable 'DEBUG_SYNC'
|
||||
#
|
||||
# main.openssl_1
|
||||
# error message changing
|
||||
# -mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: ASN: bad other signature confirmation
|
||||
# +mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: error:00000001:lib(0):func(0):reason(1)
|
||||
#
|
||||
|
||||
for t in main.mysql_client_test \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help-notwin main.flush_read_lock_kill \
|
||||
sys_vars.plugin_dir_basic main.openssl_1 ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,129 +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/mysql/mysql-5.5.21.ebuild,v 1.2 2013/01/20 01:00:58 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_EXTRAS_VER="20111118-2347Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
||||
# Build type
|
||||
BUILD="cmake"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# Define the mysql-extras source
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${S}"/mysql-test/var-tests{,/log}
|
||||
|
||||
# These are failing in MySQL 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help-notwin
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# sys_vars.plugin_dir_basic
|
||||
# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
|
||||
# instead of MYSQL_LIBDIR/plugin
|
||||
#
|
||||
# main.flush_read_lock_kill
|
||||
# fails because of unknown system variable 'DEBUG_SYNC'
|
||||
#
|
||||
# main.openssl_1
|
||||
# error message changing
|
||||
# -mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: ASN: bad other signature confirmation
|
||||
# +mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: error:00000001:lib(0):func(0):reason(1)
|
||||
#
|
||||
|
||||
for t in main.mysql_client_test \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help-notwin main.flush_read_lock_kill \
|
||||
sys_vars.plugin_dir_basic main.openssl_1 ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,129 +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/mysql/mysql-5.5.22-r1.ebuild,v 1.2 2013/01/20 01:00:58 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_EXTRAS_VER="20120421-2004Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
||||
# Build type
|
||||
BUILD="cmake"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# Define the mysql-extras source
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${S}"/mysql-test/var-tests{,/log}
|
||||
|
||||
# These are failing in MySQL 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help-notwin
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# sys_vars.plugin_dir_basic
|
||||
# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
|
||||
# instead of MYSQL_LIBDIR/plugin
|
||||
#
|
||||
# main.flush_read_lock_kill
|
||||
# fails because of unknown system variable 'DEBUG_SYNC'
|
||||
#
|
||||
# main.openssl_1
|
||||
# error message changing
|
||||
# -mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: ASN: bad other signature confirmation
|
||||
# +mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: error:00000001:lib(0):func(0):reason(1)
|
||||
#
|
||||
|
||||
for t in main.mysql_client_test \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help-notwin main.flush_read_lock_kill \
|
||||
sys_vars.plugin_dir_basic main.openssl_1 ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,129 +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/mysql/mysql-5.5.22.ebuild,v 1.2 2013/01/20 01:00:58 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_EXTRAS_VER="20120401-2131Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
||||
# Build type
|
||||
BUILD="cmake"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# Define the mysql-extras source
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${S}"/mysql-test/var-tests{,/log}
|
||||
|
||||
# These are failing in MySQL 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help-notwin
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# sys_vars.plugin_dir_basic
|
||||
# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
|
||||
# instead of MYSQL_LIBDIR/plugin
|
||||
#
|
||||
# main.flush_read_lock_kill
|
||||
# fails because of unknown system variable 'DEBUG_SYNC'
|
||||
#
|
||||
# main.openssl_1
|
||||
# error message changing
|
||||
# -mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: ASN: bad other signature confirmation
|
||||
# +mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: error:00000001:lib(0):func(0):reason(1)
|
||||
#
|
||||
|
||||
for t in main.mysql_client_test \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help-notwin main.flush_read_lock_kill \
|
||||
sys_vars.plugin_dir_basic main.openssl_1 ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,129 +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/mysql/mysql-5.5.28.ebuild,v 1.3 2013/01/20 01:00:58 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_EXTRAS_VER="20120401-2131Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
||||
# Build type
|
||||
BUILD="cmake"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# Define the mysql-extras source
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${S}"/mysql-test/var-tests{,/log}
|
||||
|
||||
# These are failing in MySQL 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help-notwin
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# sys_vars.plugin_dir_basic
|
||||
# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
|
||||
# instead of MYSQL_LIBDIR/plugin
|
||||
#
|
||||
# main.flush_read_lock_kill
|
||||
# fails because of unknown system variable 'DEBUG_SYNC'
|
||||
#
|
||||
# main.openssl_1
|
||||
# error message changing
|
||||
# -mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: ASN: bad other signature confirmation
|
||||
# +mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: error:00000001:lib(0):func(0):reason(1)
|
||||
#
|
||||
|
||||
for t in main.mysql_client_test \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help-notwin main.flush_read_lock_kill \
|
||||
sys_vars.plugin_dir_basic main.openssl_1 ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST girara-0.1.4.tar.gz 73645 SHA256 831cf523b131bfa1c182efbf146d68fb642fe62d22ee199caf0cd71408a85739 SHA512 fef0cca93fcda4170dbdfbe821d939c0248188fa5e4965d008339230f36e6ff2feec055cc87f4da4f7d813ccb29afb4e58720cbf13868c32c6ec50a40a5e258f WHIRLPOOL 6b004a5c5dda64c1b5a41df9bf30447df854f3b3f6eed04d3b89d80a110a5b3f370698a53dc664d78c7cb4abce6fa97e3613f77e31afb43c3f4632a706eda50d
|
||||
DIST girara-0.1.5.tar.gz 73949 SHA256 8d2eeb6aa27286a298ef7b08017a3f702bcd84bfe61a382acebb79d4ab1cd1c1 SHA512 d170be2e5fe3388e2b6c2cca8a3a4d506625ff6c8d07e6f2e191042f924104756dc975310f0d8d9b7487204ac1f1a0b76a52ec9930aaeb242a029d1e03ccc54f WHIRLPOOL 3bd0261fc8ba4a7585496c8179c5613e02028423a07da47843943c0250ff1b733a29408d514756fe03ea3ec9234cc4ac1cba178f4b1c8c84ca86a851968ca58a
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/girara/girara-0.1.5-r200.ebuild,v 1.1 2013/01/27 21:47:48 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A library that implements a user interface that focuses on simplicity and minimalism"
|
||||
HOMEPAGE="http://pwmt.org/projects/girara/"
|
||||
SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
# Pull in SLOT="3" for headers
|
||||
RDEPEND="${CATEGORY}/${PN}:3
|
||||
>=x11-libs/gtk+-2.18.6:2"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
mygiraraconf=(
|
||||
PREFIX="${EPREFIX}"/usr
|
||||
LIBDIR='${PREFIX}'/$(get_libdir)
|
||||
GIRARA_GTK_VERSION=2
|
||||
CC="$(tc-getCC)"
|
||||
SFLAGS=""
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove 'static' and 'install-static' targets
|
||||
if ! use static-libs; then
|
||||
sed -i \
|
||||
-e '/^${PROJECT}:/s:static::' \
|
||||
-e '/^install:/s:install-static::' \
|
||||
Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${mygiraraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${mygiraraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
|
||||
rm -rf "${ED}"/usr/include/${PN}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/girara/girara-0.1.5-r300.ebuild,v 1.1 2013/01/27 21:47:48 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A library that implements a user interface that focuses on simplicity and minimalism"
|
||||
HOMEPAGE="http://pwmt.org/projects/girara/"
|
||||
SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-3.0.11:3"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
mygiraraconf=(
|
||||
PREFIX="${EPREFIX}"/usr
|
||||
LIBDIR='${PREFIX}'/$(get_libdir)
|
||||
GIRARA_GTK_VERSION=3
|
||||
CC="$(tc-getCC)"
|
||||
SFLAGS=""
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove 'static' and 'install-static' targets
|
||||
if ! use static-libs; then
|
||||
sed -i \
|
||||
-e '/^${PROJECT}:/s:static::' \
|
||||
-e '/^install:/s:install-static::' \
|
||||
Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${mygiraraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${mygiraraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST libmirage-1.4.0.tar.gz 731906 SHA256 c89ddcf52de0049c25703ecb7c2c9317c13957df6925b69e471e98f34c202220 SHA512 1ccbc85a03c09d647477b455cf5a866589194946a8f886e8175cc5c6bbd516d2403232e8cde4c5268de65af3cfafa040e388d609823bacca2a4323ae5d826fc1 WHIRLPOOL 95d963a76cc3f543abb4f176cf91f125e7217f898ed0869c22bcacaf6ebadce0e2a109915d5fd90f7d14c4f40adf1a0af4e999260c9528575eeb578cfa266da6
|
||||
DIST libmirage-1.5.0.tar.bz2 509179 SHA256 3ba50c49e6e2a888175a4d5749ac557a53e37c1f409ce76d8e8adfd702c586a6 SHA512 55ed260b0593a3a0a3e237690b002bfbf9330c0503aef21d74e41dc8b1566e2cd2254a634a71baff1ad5d3374a174769a20b87e8fd42611ff0806c6c74cdc4be WHIRLPOOL f86c56282a22c9b637eff46096fb9bcc81637b25c471769f133dab2e6f7190657b479fb1e3a45d97bda0a8fcdcd7225c5e3215f13d8ebb324a52eff1fe2606dd
|
||||
DIST libmirage-2.0.0.tar.bz2 179521 SHA256 8392a145094e58bf6c01056543646ddd94a6d2a96e787f368b8102ae1d779a26 SHA512 178eb64ad2c38c76baa4dcfa8cc9e14f57fd96899990ac4bc39d19a19d18fe60ed15a8abbbd1b9921f449f6e96ce8a1828718e13e9a011230c8b6e9d42792e8b WHIRLPOOL 2a2f37caf8fedb12b608a379377949b20fd7cb2a80f73a9a605c46b220c6c17a1bde7a3875769ef010f50f3920819b0a57cf42eab14edafaf0e18c73f5822052
|
||||
|
@ -1,30 +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/libmirage/libmirage-1.4.0.ebuild,v 1.3 2012/05/04 18:35:43 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="CD and DVD image access library"
|
||||
HOMEPAGE="http://cdemu.org"
|
||||
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.6:2
|
||||
>=media-libs/libsndfile-1.0
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || find "${D}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmirage/libmirage-2.0.0.ebuild,v 1.1 2013/01/28 00:21:01 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
CMAKE_MIN_VERSION="2.8.5"
|
||||
|
||||
inherit cmake-utils eutils fdo-mime
|
||||
|
||||
DESCRIPTION="CD and DVD image access library"
|
||||
HOMEPAGE="http://cdemu.org"
|
||||
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/7" # subslot = libmirage soname version
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
IUSE="doc +introspection"
|
||||
|
||||
RDEPEND=">=app-arch/bzip2-1:=
|
||||
>=app-arch/xz-utils-5:=
|
||||
>=dev-libs/glib-2.24:2
|
||||
>=media-libs/libsndfile-1.0:=
|
||||
sys-libs/zlib:=
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.30 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/desktop-file-utils
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-util/gtk-doc )"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's/-DG_DISABLE_DEPRECATED//' -i CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use doc GTKDOC_ENABLED)
|
||||
$(cmake-utils_use introspection INTROSPECTION_ENABLED)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="AUTHORS README"
|
||||
cmake-utils_src_install
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST awale-1.5.tar.gz 489357 SHA256 8bf9812fd6cfe142e18a35474f6a366c1b12f960863a33421f6d2e448ed47014 SHA512 b3f33068d7d6cfd964051e15cfd84e7f2c8483c30f2ccea35e2dddb34353ea984561fdf28c0d668404d80cda89c6d5fcd0004a1a86d92325e5f6fc2f88197c61 WHIRLPOOL 05b46f8f8ea89236aa30755f4d6f39daa24135421220f35e4c96f919facb138871735ebe5f1741e29f4a2fc6572381ad2aa0768197112c22eaf961b0d9814792
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-board/awale/awale-1.5.ebuild,v 1.2 2013/01/27 19:27:19 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils gnome2-utils games
|
||||
|
||||
DESCRIPTION="Free Awale - The game of all Africa"
|
||||
HOMEPAGE="http://www.nongnu.org/awale/"
|
||||
SRC_URI="mirror://nongnu/awale/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="tk"
|
||||
|
||||
RDEPEND="tk? ( dev-lang/tcl dev-lang/tk )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
mv configure.in configure.ac || die
|
||||
mv src/xawale.tcl src/xawale.tcl.in || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
egamesconf \
|
||||
--mandir=/usr/share/man \
|
||||
--with-iconsdir=/usr/share/icons/hicolor/48x48/apps \
|
||||
--with-desktopdir=/usr/share/applications \
|
||||
$(use_enable tk)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS
|
||||
prepgamesdirs
|
||||
use tk && fperms +x "${GAMES_DATADIR}"/${PN}/xawale.tcl
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
use tk && gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
use tk && gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use tk && gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,116 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Sat Jan 26 20:04:17 UTC 2013
|
||||
Subject: build system
|
||||
|
||||
fix FHS compliance
|
||||
add several switches for icon, desktopdir and tk
|
||||
fix a few macros
|
||||
|
||||
--- awale-1.5/src/Makefile.am
|
||||
+++ awale-1.5/src/Makefile.am
|
||||
@@ -1,24 +1,30 @@
|
||||
bin_PROGRAMS = awale
|
||||
awale_SOURCES = awale.c getopt.c getopt1.c getopt.h
|
||||
-INCLUDES = -I. -I$(srcdir)
|
||||
+AM_CPPFLAGS = -I. -I$(srcdir)
|
||||
+
|
||||
+if TK_GUI
|
||||
bin_SCRIPTS = xawale
|
||||
xawale:
|
||||
echo "#! /bin/sh" >$@
|
||||
- echo '`dirname $$0`/../share/awale/xawale.tcl' >>$@
|
||||
+ echo "cd \"$(datadir)/awale/\" ; exec \"$(datadir)/awale/xawale.tcl\"" >>$@
|
||||
chmod ugo+x $@
|
||||
-appdir = $(prefix)/share/applications
|
||||
+appdir = @DESKTOPFILESDIR@
|
||||
app_DATA = awale.desktop
|
||||
awale.desktop:
|
||||
echo "[Desktop Entry]" >$@
|
||||
echo "Name=Free Awale" >>$@
|
||||
echo "Comment=Awale game" >>$@
|
||||
echo "Exec=xawale" >>$@
|
||||
- echo 'Icon=$(pkgdatadir)/awale.png' >>$@
|
||||
+ echo 'Icon=awale' >>$@
|
||||
echo "Terminal=false" >>$@
|
||||
echo "Type=Application" >>$@
|
||||
echo "Categories=Game;BoardGame;" >>$@
|
||||
chmod 644 $@
|
||||
CLEANFILES = xawale awale.desktop
|
||||
+
|
||||
+xawale.tcl:
|
||||
+ sed 's|@my_bindir@|$(bindir)|' < $@.in > $@
|
||||
+
|
||||
pkgdata_SCRIPTS = xawale.tcl
|
||||
dist_pkgdata_DATA = Trou00.gif Trou01.gif Trou02.gif Trou03.gif Trou04.gif Trou05.gif \
|
||||
Trou06.gif Trou07.gif Trou08.gif Trou09.gif Trou10.gif Trou11.gif \
|
||||
@@ -28,3 +34,8 @@
|
||||
Trou06.gif Trou07.gif Trou08.gif Trou09.gif Trou10.gif Trou11.gif \
|
||||
Trou12.gif Trou13.gif Trou14.gif Trou15.gif board.gif copyright.gif \
|
||||
awale.png awale.ico uk.gif fr.gif sp.gif AwaleBanner.bmp README
|
||||
+
|
||||
+# icon
|
||||
+iconsdir = @ICONSDIR@
|
||||
+dist_icons_DATA = awale.png
|
||||
+endif
|
||||
--- awale-1.5/configure.in
|
||||
+++ awale-1.5/configure.in
|
||||
@@ -1,6 +1,34 @@
|
||||
-AC_INIT(awale.c)
|
||||
-AM_INIT_AUTOMAKE(awale, 1.5)
|
||||
+AC_INIT([awale], [1.5])
|
||||
+AM_INIT_AUTOMAKE([-Wall])
|
||||
AC_CONFIG_SRCDIR([src/awale.c])
|
||||
AC_PROG_CC
|
||||
+
|
||||
+
|
||||
+# let user specify desktopdir
|
||||
+AC_ARG_WITH([desktopdir],
|
||||
+ [AS_HELP_STRING([--with-desktopdir=DIR],
|
||||
+ [path where desktop files get installed (default: share/applications)])],
|
||||
+ [DESKTOPFILESDIR="$withval"],
|
||||
+ [DESKTOPFILESDIR="$datadir/applications"])
|
||||
+
|
||||
+# let user specify iconsdir
|
||||
+AC_ARG_WITH([iconsdir],
|
||||
+ [AS_HELP_STRING([--with-iconsdir=DIR],
|
||||
+ [path where icons get installed (default: datadir/pixmaps)])],
|
||||
+ [ICONSDIR="$withval"],
|
||||
+ [ICONSDIR="$datadir/pixmaps"])
|
||||
+
|
||||
+# configure-switch for tkgui
|
||||
+AC_ARG_ENABLE([tk],
|
||||
+ [AS_HELP_STRING([--enable-tk],
|
||||
+ [enable tk gui (default: enable)])],
|
||||
+ [enable_tk=$enableval],
|
||||
+ [enable_tk="no"])
|
||||
+
|
||||
+AM_CONDITIONAL([TK_GUI], [test "x$enable_tk" = "xyes"])
|
||||
+
|
||||
+AC_SUBST([ICONSDIR])
|
||||
+AC_SUBST([DESKTOPFILESDIR])
|
||||
+
|
||||
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
--- awale-1.5/man/Makefile.am
|
||||
+++ awale-1.5/man/Makefile.am
|
||||
@@ -1,3 +1,7 @@
|
||||
-mandir = $(prefix)/share/man
|
||||
+if TK_GUI
|
||||
man_MANS = awale.6 xawale.6
|
||||
+else
|
||||
+man_MANS = awale.6
|
||||
+endif
|
||||
+
|
||||
EXTRA_DIST = $(man_MANS)
|
||||
--- awale-1.5/src/xawale.tcl
|
||||
+++ awale-1.5/src/xawale.tcl
|
||||
@@ -693,7 +693,7 @@
|
||||
|
||||
switch $tcl_platform(platform) {
|
||||
"unix" {
|
||||
- set JOUER [file join [file dirname [info script]] .. .. bin awale]
|
||||
+ set JOUER "@my_bindir@/awale"
|
||||
}
|
||||
"macintosh" {
|
||||
set JOUER [file join [file dirname [info script]] .. .. bin awale]
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>games</herd>
|
||||
<maintainer>
|
||||
<email>hasufell@gentoo.org</email>
|
||||
<name>Julian Ospald</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue