parent
814d7ac88a
commit
f17d6b99c8
@ -0,0 +1,13 @@
|
||||
diff -Naur a/cmake/ConkyPlatformChecks.cmake b/cmake/ConkyPlatformChecks.cmake
|
||||
--- a/cmake/ConkyPlatformChecks.cmake 2015-11-18 20:47:45.000000000 +0500
|
||||
+++ b/cmake/ConkyPlatformChecks.cmake 2016-01-31 20:04:58.036144590 +0500
|
||||
@@ -141,7 +141,8 @@
|
||||
endif(BUILD_MYSQL)
|
||||
|
||||
if(BUILD_WLAN)
|
||||
- check_include_file(iwlib.h IWLIB_H -D_GNU_SOURCE)
|
||||
+ set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
|
||||
+ check_include_files(iwlib.h IWLIB_H -D_GNU_SOURCE)
|
||||
if(NOT IWLIB_H)
|
||||
message(FATAL_ERROR "Unable to find iwlib.h")
|
||||
endif(NOT IWLIB_H)
|
@ -1,2 +1 @@
|
||||
DIST tea-41.0.0.tar.bz2 381891 SHA256 b20bfe3235a4f405bcd984adfabde2302a15cf8512e19f8b97bc43ce9911632b SHA512 aff52922be7650a23fcafe5a8106d5955bc7c68a901ad6a3982b71196ac8856939d3bc61236babbed21a749c2fc205510ef081ac35d7d33fcf2d2700ebb5cbaf WHIRLPOOL ed913f3fb424e47fbbecab445ccd9c34c9ad66befdda950fee05958459b87efad67cfea37548c5ab8456b849c860f0cd3ef59e386aaa99c01b5041dae02c1afc
|
||||
DIST tea-41.1.0.tar.bz2 381370 SHA256 65ea128739802b7626a5a59de12b0e885dcef7a83f7bcd06b6d3aea830ed8717 SHA512 a46e0cdfce5c7d453c7783c59ad98b2b029847ddcc8ce0655c6e1ae45825426ac1b271ca7ad90f0219d8f796f507f6bdba0f2c764c563c8c23503b94be817eb7 WHIRLPOOL a3d00f5e42a145be2a7f3bf846832bf2a7e95e957abf4c928118be7607adb57fddfb906fbedaf7fa51665b25629beae0fe5b4db40886f42dfcf5c166e43717b5
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PLOCALES="de fr ru"
|
||||
|
||||
inherit eutils l10n qmake-utils
|
||||
|
||||
DESCRIPTION="Small, lightweight Qt text editor"
|
||||
HOMEPAGE="http://semiletov.org/tea/ http://tea.ourproject.org/"
|
||||
SRC_URI="http://semiletov.org/${PN}/dloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd"
|
||||
IUSE="aspell hunspell"
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
sys-libs/zlib
|
||||
aspell? ( app-text/aspell )
|
||||
hunspell? ( app-text/hunspell )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
hunspell? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS TODO )
|
||||
|
||||
src_configure() {
|
||||
eqmake4 src.pro \
|
||||
$(use aspell || echo CONFIG+=noaspell) \
|
||||
$(use hunspell || echo CONFIG+=nohunspell)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/tea
|
||||
|
||||
newicon icons/tea-icon-v3-01.png ${PN}.png
|
||||
make_desktop_entry ${PN} 'Tea Editor'
|
||||
|
||||
# translations
|
||||
insinto /usr/share/qt4/translations
|
||||
local lang
|
||||
for lang in $(l10n_get_locales); do
|
||||
doins translations/${PN}_${lang}.qm
|
||||
done
|
||||
|
||||
# docs
|
||||
dohtml manuals/en.html
|
||||
if use linguas_ru; then
|
||||
dodoc NEWS-RU
|
||||
dohtml manuals/ru.html
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST vim-qt-20140827.tar.gz 12251966 SHA256 61eba646bf25fd3caa40943ecd91e5e7a813e11ca71d899e9e844e3f69e97a60 SHA512 0ab352a64f138e68059311908b2e4b0cbbec55c2fa889ff64f863670c3d1ee0022d26877175090d5c256eb1cdfaf7d23d385044a68e2eb8b50b1cdab2a20827f WHIRLPOOL ea397f465902796761c44e6521ab6b2660498d1e3ce4821d3265517ba1c72984b93e580549be921e156771f2ccbb86fce1c830035ad00513eb9e42c1f1ff6abd
|
||||
DIST vim-qt-20150102.tar.gz 12285083 SHA256 1a3553f491e7990d4256c3c70f2d9d1804c2de5c6ac2c12845b173ff3d531157 SHA512 37434ff6cbac3dd97e3c5cb328a857afa8a8ddc4cea7b3879a06b4dd418e5b7516a68dc5c2b0c9c8b6332d316fc593b120400eab04c444c0065f3b74ae2d682d WHIRLPOOL 60d9838532b25ad8c31638e51ccf82769382dccb420c070068537ad7c15314dbc2b5fd177ed9d57674b3f593937f3c539bdd7a98e305eab40059a29ae4bf2b09
|
||||
|
@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE="threads"
|
||||
inherit eutils fdo-mime flag-o-matic prefix python-single-r1
|
||||
|
||||
DESCRIPTION="Qt GUI version of the Vim text editor"
|
||||
HOMEPAGE="https://bitbucket.org/equalsraf/vim-qt/wiki/Home"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI=(
|
||||
"https://bitbucket.org/equalsraf/${PN}.git"
|
||||
"https://github.com/equalsraf/${PN}.git"
|
||||
"git://gitorious.org/${PN}/${PN}.git"
|
||||
)
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/equalsraf/${PN}/archive/package-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/${PN}-package-${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="vim"
|
||||
SLOT="0"
|
||||
IUSE="acl cscope debug lua luajit nls perl python racket ruby"
|
||||
|
||||
REQUIRED_USE="luajit? ( lua )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND=">=app-eselect/eselect-vi-1.1.8
|
||||
>=app-editors/vim-core-7.4.417[acl?]
|
||||
sys-libs/ncurses
|
||||
>=dev-qt/qtcore-4.7.0:4
|
||||
>=dev-qt/qtgui-4.7.0:4
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
cscope? ( dev-util/cscope )
|
||||
lua? ( luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua[deprecated] ) )
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/ctags
|
||||
sys-devel/autoconf
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
export LC_COLLATE="C" # prevent locale brokenness
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Read vimrc from /etc/vim/
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
local myconf="--with-features=huge --disable-gpm --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable cscope)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable lua luainterp)"
|
||||
myconf+=" $(use_with luajit)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
myconf+=" $(use_enable racket mzschemeinterp)"
|
||||
myconf+=" $(use_enable ruby rubyinterp)"
|
||||
|
||||
if ! use cscope ; then
|
||||
sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || die 'sed failed'
|
||||
fi
|
||||
|
||||
# keep prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=" --enable-python3interp"
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=" --enable-pythoninterp"
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=" --disable-pythoninterp --disable-python3interp"
|
||||
fi
|
||||
|
||||
econf ${myconf} --enable-gui=qt --with-vim-name=qvim --with-modified-by=Gentoo-${PVR}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/qvim
|
||||
dosym qvim /usr/bin/qvimdiff
|
||||
|
||||
dodir /usr/share/man/man1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/qvim.1
|
||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/qvimdiff.1
|
||||
|
||||
# track https://bitbucket.org/equalsraf/vim-qt/issue/93/include-desktop-file-in-source
|
||||
# for inclusion of desktop file
|
||||
newmenu "${FILESDIR}"/vim-qt.desktop vim-qt.desktop
|
||||
doicon -s 64 src/qt/icons/vim-qt.png
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -0,0 +1,475 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
UPSTREAM_VER=
|
||||
SECURITY_VER=7
|
||||
# vars set to reflect https://dev.gentoo.org/~idella4/
|
||||
SEC_VER=8
|
||||
QEMU_VER=0
|
||||
# xen-tools's gentoo patches tarball
|
||||
GENTOO_VER=4
|
||||
# xen-tools's gentoo patches version which apply to this specific ebuild
|
||||
GENTOO_GPV=0
|
||||
# xen-tools ovmf's patches
|
||||
OVMF_VER=1
|
||||
|
||||
SEABIOS_VER=1.7.5
|
||||
OVMF_PV=20150629
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz
|
||||
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SEC_VER}.tar.gz
|
||||
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-qemu-patches-${QEMU_VER}.tar.gz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
[[ -n ${OVMF_VER} ]] && \
|
||||
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
|
||||
https://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
|
||||
ovmf? ( https://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
|
||||
${OVMF_PATCHSET_URI} )
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
|
||||
S="${WORKDIR}/xen-${MY_PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
|
||||
|
||||
DESCRIPTION="Xend daemon and tools"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml ovmf +pam python pygrub screen static-libs system-qemu system-seabios"
|
||||
|
||||
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
pygrub? ( python )
|
||||
ovmf? ( hvm )
|
||||
qemu? ( !system-qemu )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libaio
|
||||
dev-libs/libgcrypt:0
|
||||
sys-libs/zlib
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
x86? ( sys-devel/dev86
|
||||
sys-power/iasl )
|
||||
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
||||
hvm? ( media-libs/libsdl )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
pygrub? ( $(python_gen_impl_dep ncurses) )
|
||||
ovmf? ( $(python_gen_impl_dep sqlite) )
|
||||
!amd64? ( >=sys-apps/dtc-1.4.0 )
|
||||
amd64? ( sys-devel/bin86
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
sys-firmware/ipxe
|
||||
sys-devel/dev86
|
||||
sys-power/iasl )
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
media-gfx/transfig
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
!net-libs/libiscsi )
|
||||
qemu? ( x11-libs/pixman )
|
||||
system-qemu? ( app-emulation/qemu[xen] )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)
|
||||
virtual/udev"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
#bug 522642, disable compile tools/tests
|
||||
export "CONFIG_TESTS=n"
|
||||
|
||||
if has_version dev-libs/libgcrypt:0; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
einfo "Try to apply Xen Upstream patcheset"
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patcheset"
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
||||
# apply main xen patches
|
||||
# Two parallel systems, both work
|
||||
# Over time they may concdense into one. This will suffice for now
|
||||
EPATCH_SUFFIX="patch"
|
||||
EPATCH_FORCE="yes"
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
epatch "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
for i in "${WORKDIR}"/xen-sec/xsa*.patch; do
|
||||
epatch $i
|
||||
done
|
||||
|
||||
# apply qemu-traditional patches
|
||||
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUT}; do
|
||||
epatch "${WORKDIR}"/patches-security/qemut/$i
|
||||
done
|
||||
for i in "${WORKDIR}"/qemu-patches/qemut/xsa*.patch; do
|
||||
epatch $i
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
# apply qemu-xen/upstream patches
|
||||
pushd "${S}"/tools/qemu-xen/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUU}; do
|
||||
epatch "${WORKDIR}"/patches-security/qemuu/$i
|
||||
done
|
||||
for i in "${WORKDIR}"/qemu-patches/qemuu/xsa*.patch; do
|
||||
epatch $i
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
|
||||
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
||||
einfo "Try to apply Gentoo specific patch set"
|
||||
source "${FILESDIR}"/gentoo-patches.conf
|
||||
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
||||
for i in ${!_gpv}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Ovmf's patchset
|
||||
if use ovmf; then
|
||||
if [[ -n ${OVMF_VER} ]];then
|
||||
einfo "Try to apply Ovmf patch set"
|
||||
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-ovmf
|
||||
popd > /dev/null
|
||||
fi
|
||||
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
|
||||
fi
|
||||
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
|
||||
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
if ! use qemu; then
|
||||
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
||||
-i Config.mk || die
|
||||
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons.in || die
|
||||
|
||||
# respect multilib, usr/lib/libcacard.so.0.0.0
|
||||
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
|
||||
-i tools/qemu-xen/configure || die
|
||||
|
||||
#bug 518136, don't build 32bit exactuable for nomultilib profile
|
||||
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
|
||||
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
|
||||
fi
|
||||
|
||||
# use /var instead of /var/lib, consistat with previous ebuild
|
||||
sed -i -e "/XEN_LOCK_DIR=/s/\$localstatedir/\/var/g" \
|
||||
m4/paths.m4 configure tools/configure || die
|
||||
# use /run instead of /var/run
|
||||
sed -i -e "/XEN_RUN_DIR=/s/\$localstatedir//g" \
|
||||
m4/paths.m4 configure tools/configure || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=:autoballoon=:' \
|
||||
-e 's:^#lockfile=:lockfile=:' \
|
||||
-e 's:^#vif.default.script=:vif.default.script=:' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=${PREFIX}/usr \
|
||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||
--libexecdir=${PREFIX}/usr/libexec \
|
||||
--disable-werror \
|
||||
--disable-xen \
|
||||
--enable-tools \
|
||||
--enable-docs \
|
||||
$(use_with system-qemu) \
|
||||
$(use_enable pam) \
|
||||
$(use_enable api xenapi) \
|
||||
$(use_enable ovmf) \
|
||||
$(use_enable ocaml ocamltools) \
|
||||
"
|
||||
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
|
||||
use qemu || myconf+=" --with-system-qemu"
|
||||
use amd64 && myconf+=" --enable-qemu-traditional"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"tmp || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Temp QA workaround
|
||||
dodir "$(get_udevdir)"
|
||||
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem At boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
# TODO: we need to have the current Python slot here.
|
||||
if ! has_version "dev-lang/python[ncurses]"; then
|
||||
echo
|
||||
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
|
||||
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
|
||||
fi
|
||||
|
||||
if has_version "sys-apps/iproute2[minimal]"; then
|
||||
echo
|
||||
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
|
||||
ewarn "will not work until you rebuild iproute2 without USE=minimal."
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
|
||||
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
|
||||
echo
|
||||
elog "xensv is broken upstream (Gentoo bug #142011)."
|
||||
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
|
||||
fi
|
||||
}
|
@ -0,0 +1,469 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='ncurses,xml,threads'
|
||||
|
||||
inherit eutils bash-completion-r1 flag-o-matic multilib python-single-r1 toolchain-funcs versionator
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
REPO="xen.git"
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
UPSTREAM_VER=0
|
||||
SECURITY_VER=7
|
||||
# vars set to reflect https://dev.gentoo.org/~idella4/
|
||||
# first instance of UPS_VER (usptream ver)
|
||||
UPS_VER=0
|
||||
SEC_VER=9
|
||||
QEMU_VER=0
|
||||
# xen-tools's gentoo patches tarball
|
||||
GENTOO_VER=4
|
||||
# xen-tools's gentoo patches version which apply to this specific ebuild
|
||||
GENTOO_GPV=0
|
||||
# xen-tools ovmf's patches
|
||||
OVMF_VER=1
|
||||
|
||||
SEABIOS_VER=1.8.2
|
||||
OVMF_PV=20150629
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-upstream-patches-${UPS_VER}.tar.gz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz
|
||||
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SEC_VER}.tar.gz
|
||||
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-qemu-patches-${QEMU_VER}.tar.gz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
[[ -n ${OVMF_VER} ]] && \
|
||||
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
|
||||
https://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
|
||||
ovmf? ( https://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
|
||||
${OVMF_PATCHSET_URI} )
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
|
||||
S="${WORKDIR}/xen-${MY_PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Xen tools including QEMU and xl"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/${MAJOR_V}"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml ovmf +pam +qemu-traditional python pygrub screen sdl static-libs system-qemu system-seabios"
|
||||
|
||||
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
pygrub? ( python )
|
||||
ovmf? ( hvm )
|
||||
qemu? ( !system-qemu )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libaio
|
||||
dev-libs/libgcrypt:0
|
||||
sys-libs/zlib
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
x86? ( sys-devel/dev86
|
||||
sys-power/iasl )
|
||||
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
ovmf? ( $(python_gen_impl_dep sqlite) )
|
||||
!amd64? ( >=sys-apps/dtc-1.4.0 )
|
||||
amd64? ( sys-devel/bin86
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
sys-firmware/ipxe
|
||||
sys-devel/dev86
|
||||
sys-power/iasl )
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
media-gfx/transfig
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
!net-libs/libiscsi )
|
||||
qemu? (
|
||||
x11-libs/pixman
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
)
|
||||
system-qemu? ( app-emulation/qemu[xen] )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/iproute2[-minimal]
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
#bug 522642, disable compile tools/tests
|
||||
export "CONFIG_TESTS=n"
|
||||
|
||||
if has_version dev-libs/libgcrypt:0; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
einfo "Try to apply Xen Upstream patch set"
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream \
|
||||
"${WORKDIR}"/libexec.patch
|
||||
fi
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patch set"
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
||||
# apply main xen patches
|
||||
# Two parallel systems, both work side by side
|
||||
# Over time they may concdense into one. This will suffice for now
|
||||
EPATCH_SUFFIX="patch"
|
||||
EPATCH_FORCE="yes"
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
epatch "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
|
||||
for i in "${WORKDIR}"/xen-sec/xsa*.patch; do
|
||||
epatch $i
|
||||
done
|
||||
|
||||
# apply qemu-traditional patches
|
||||
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUT}; do
|
||||
epatch "${WORKDIR}"/patches-security/qemut/$i
|
||||
done
|
||||
for i in "${WORKDIR}"/qemu-patches/qemut/xsa*.patch; do
|
||||
epatch $i
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
# apply qemu-xen/upstream patches
|
||||
pushd "${S}"/tools/qemu-xen/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUU}; do
|
||||
epatch "${WORKDIR}"/patches-security/qemuu/$i
|
||||
done
|
||||
for i in "${WORKDIR}"/qemu-patches/qemuu/xsa*.patch; do
|
||||
epatch $i
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
|
||||
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
||||
einfo "Try to apply Gentoo specific patch set"
|
||||
source "${FILESDIR}"/gentoo-patches.conf
|
||||
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
||||
for i in ${!_gpv}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Ovmf's patchset
|
||||
if [[ -n ${OVMF_VER} ]] && use ovmf; then
|
||||
einfo "Try to apply Ovmf patch set"
|
||||
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-ovmf
|
||||
popd > /dev/null
|
||||
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
|
||||
fi
|
||||
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
|
||||
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
else
|
||||
unset CFLAGS
|
||||
unset LDFLAGS
|
||||
unset ASFLAGS
|
||||
unset CPPFLAGS
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
if use sdl; then
|
||||
sed -i -e "s:\$\$source/configure:\0 --enable-sdl:" \
|
||||
tools/Makefile || die
|
||||
else
|
||||
sed -i -e "s:\${QEMU_ROOT\:\-\.}/configure:\0 --disable-sdl:" \
|
||||
tools/qemu-xen-traditional/xen-setup || die
|
||||
sed -i -e "s:\$\$source/configure:\0 --disable-sdl:" \
|
||||
tools/Makefile || die
|
||||
fi
|
||||
else
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
||||
-i Config.mk || die
|
||||
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons.in || die
|
||||
|
||||
# respect multilib, usr/lib/libcacard.so.0.0.0
|
||||
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
|
||||
-i tools/qemu-xen/configure || die
|
||||
|
||||
#bug 518136, don't build 32bit exactuable for nomultilib profile
|
||||
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
|
||||
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
|
||||
fi
|
||||
|
||||
# use /var instead of /var/lib, consistat with previous ebuild
|
||||
sed -i -e "/XEN_LOCK_DIR=/s/\$localstatedir/\/var/g" \
|
||||
m4/paths.m4 configure tools/configure || die
|
||||
# use /run instead of /var/run
|
||||
sed -i -e "/XEN_RUN_DIR=/s/\$localstatedir//g" \
|
||||
m4/paths.m4 configure tools/configure || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=:autoballoon=:' \
|
||||
-e 's:^#lockfile=:lockfile=:' \
|
||||
-e 's:^#vif.default.script=:vif.default.script=:' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=${PREFIX}/usr \
|
||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||
--libexecdir=${PREFIX}/usr/libexec \
|
||||
--disable-werror \
|
||||
--disable-xen \
|
||||
--enable-tools \
|
||||
--enable-docs \
|
||||
$(use_with system-qemu) \
|
||||
$(use_enable pam) \
|
||||
$(use_enable api xenapi) \
|
||||
$(use_enable ovmf) \
|
||||
$(use_enable ocaml ocamltools) \
|
||||
--with-xenstored=$(usex ocaml 'oxenstored' 'xenstored') \
|
||||
"
|
||||
|
||||
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
|
||||
use qemu || myconf+=" --with-system-qemu"
|
||||
use amd64 && myconf+=" $(use_enable qemu-traditional)"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"tmp || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem At boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
}
|
@ -0,0 +1,192 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils multilib mount-boot flag-o-matic python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${PV/_/-}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 -x86"
|
||||
UPSTREAM_VER=
|
||||
SECURITY_VER=0
|
||||
# var set to reflect https://dev.gentoo.org/~idella4/
|
||||
SEC_VER=8
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz
|
||||
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SEC_VER}.tar.gz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
|
||||
fi
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask xsm"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="flask? ( xsm )
|
||||
arm? ( debug )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
elif use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patcheset"
|
||||
# apply main xen patches
|
||||
# Two parallel systems, both work side by side
|
||||
# Over time they may concdense into one. This will suffice for now
|
||||
EPATCH_SUFFIX="patch"
|
||||
EPATCH_FORCE="yes"
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
epatch "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
|
||||
for i in "${WORKDIR}"/xen-sec/xsa*.patch; do
|
||||
epatch $i
|
||||
done
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Drop .config
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
if use efi; then
|
||||
epatch "${FILESDIR}"/${PN}-4.5-efi.patch
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \; || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
# remove -Werror for gcc-4.6's sake
|
||||
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
|
||||
xargs sed -i 's/ *-Werror */ /'
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
||||
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " https://wiki.gentoo.org/wiki/Xen"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
|
||||
elog "You can optionally block the installation of /boot/xen-syms by an entry"
|
||||
elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
|
||||
elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
|
||||
}
|
@ -0,0 +1,197 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils multilib mount-boot flag-o-matic python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${PV/_/-}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 -x86"
|
||||
UPSTREAM_VER=0
|
||||
SECURITY_VER=0
|
||||
# var set to reflect https://dev.gentoo.org/~idella4/
|
||||
# first instance of UPS_VER (usptream ver)
|
||||
UPS_VER=0
|
||||
SEC_VER=9
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||
https://dev.gentoo.org/~idella4/distfiles/${PN}-upstream-patches-${UPS_VER}.tar.gz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz
|
||||
https://dev.gentoo.org/~idella4/distfiles/${PN}-security-patches-${SEC_VER}.tar.gz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22 )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
# no tests are available for the hypervisor
|
||||
# prevent the silliness of /usr/lib/debug/usr/lib/debug files
|
||||
# prevent stripping of the debug info from the /usr/lib/debug/xen-syms
|
||||
RESTRICT="test splitdebug strip"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="arm? ( debug )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream \
|
||||
"${WORKDIR}"/libexec.patch
|
||||
fi
|
||||
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patcheset"
|
||||
# apply main xen patches
|
||||
# Two parallel systems, both work side by side
|
||||
# Over time they may concdense into one. This will suffice for now
|
||||
EPATCH_SUFFIX="patch"
|
||||
EPATCH_FORCE="yes"
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
epatch "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
|
||||
for i in "${WORKDIR}"/xen-sec/xsa*.patch; do
|
||||
epatch $i
|
||||
done
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.6-efi.patch
|
||||
|
||||
# Drop .config
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
if use efi; then
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \; || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
# remove -Werror for gcc-4.6's sake
|
||||
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
|
||||
xargs sed -i 's/ *-Werror */ /'
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
||||
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
unset LDFLAGS
|
||||
unset ASFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
|
||||
# make install likes to throw in some extra EFI bits if it built
|
||||
use efi || rm -rf "${D}/usr/$(get_libdir)/efi"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " https://wiki.gentoo.org/wiki/Xen"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
|
||||
elog "You can optionally block the installation of /boot/xen-syms by an entry"
|
||||
elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
|
||||
elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit rpm eutils multilib versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-3)
|
||||
|
||||
DESCRIPTION="Translations for the Libreoffice suite"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
BASE_SRC_URI_TESTING="http://download.documentfoundation.org/${PN/-l10n/}/testing/${MY_PV}/rpm"
|
||||
BASE_SRC_URI_STABLE="http://download.documentfoundation.org/${PN/-l10n/}/stable/${MY_PV}/rpm"
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="offlinehelp"
|
||||
|
||||
#
|
||||
# when changing the language lists, please be careful to preserve the spaces (bug 491728)
|
||||
#
|
||||
LANGUAGES_HELP=" am ast bg bn_IN bn bo bs ca_valencia ca cs da de dz el en_GB en en_ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko mk nb ne nl nn om pl pt_BR pt ru si sk sl sq sv tg tr ug uk vi zh_CN zh_TW "
|
||||
LANGUAGES="${LANGUAGES_HELP}af ar as be br brx cy dgo fa ga gd gug kk kmr_Latn kn kok ks lb lo lt lv mai ml mn mni mr my nr nso oc or pa_IN ro rw sa_IN sat sd sid sr_Latn sr ss st sw_TZ ta te th tn ts tt uz ve xh zu "
|
||||
|
||||
for lang in ${LANGUAGES_HELP}; do
|
||||
helppack=""
|
||||
[[ ${lang} == en ]] && lang2=${lang/en/en_US} || lang2=${lang}
|
||||
helppack="offlinehelp? ( ${BASE_SRC_URI_STABLE}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_helppack_${lang2/_/-}.tar.gz -> LibreOffice_${PV}_Linux_x86_rpm_helppack_${lang2/_/-}.tar.gz ${BASE_SRC_URI_TESTING}/x86/LibreOffice_${PV}_Linux_x86_rpm_helppack_${lang2/_/-}.tar.gz )"
|
||||
SRC_URI+=" linguas_${lang}? ( ${helppack} )"
|
||||
done
|
||||
for lang in ${LANGUAGES}; do
|
||||
langpack=""
|
||||
[[ ${lang} == en ]] \
|
||||
|| langpack="${BASE_SRC_URI_STABLE}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_langpack_${lang/_/-}.tar.gz -> LibreOffice_${PV}_Linux_x86_rpm_langpack_${lang/_/-}.tar.gz ${BASE_SRC_URI_TESTING}/x86/LibreOffice_${PV}_Linux_x86_rpm_langpack_${lang/_/-}.tar.gz"
|
||||
[[ -z ${langpack} ]] || SRC_URI+=" linguas_${lang}? ( ${langpack} )"
|
||||
IUSE+=" linguas_${lang}"
|
||||
done
|
||||
unset lang helppack langpack lang2
|
||||
|
||||
RDEPEND+="app-text/hunspell"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
local lang dir rpmdir
|
||||
|
||||
# First remove dictionaries, we want to use system ones.
|
||||
find "${S}" -name *dict*.rpm -delete || die "Failed to remove dictionaries"
|
||||
|
||||
for lang in ${LANGUAGES}; do
|
||||
# break away if not enabled; paludis support
|
||||
use_if_iuse linguas_${lang} || continue
|
||||
|
||||
dir=${lang/_/-}
|
||||
|
||||
# for english we provide just helppack, as translation is always there
|
||||
if [[ ${lang} != en ]]; then
|
||||
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_langpack_${dir}/RPMS/"
|
||||
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
||||
rpm_unpack ./${rpmdir}/*.rpm
|
||||
fi
|
||||
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then
|
||||
[[ ${lang} == en ]] && dir="en-US"
|
||||
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_helppack_${dir}/RPMS/"
|
||||
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
||||
rpm_unpack ./${rpmdir}/*.rpm
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
local dir="${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/
|
||||
# Condition required for people that do not install anything eg no linguas
|
||||
# or just english with no offlinehelp.
|
||||
if [[ -d "${dir}" ]] ; then
|
||||
insinto /usr/$(get_libdir)/${PN/-l10n/}/
|
||||
doins -r "${dir}"/*
|
||||
fi
|
||||
# remove extensions that are in the l10n for some weird reason
|
||||
rm -rf "${ED}"usr/$(get_libdir)/${PN/-l10n/}/share/extensions/ || \
|
||||
die "Failed to remove extensions"
|
||||
}
|
@ -0,0 +1,608 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_REQUIRED="optional"
|
||||
QT_MINIMAL="4.7.4"
|
||||
KDE_SCM="git"
|
||||
CMAKE_REQUIRED="never"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
PYTHON_REQ_USE="threads,xml"
|
||||
|
||||
# experimental ; release ; old
|
||||
# Usually the tarballs are moved a lot so this should make
|
||||
# everyone happy.
|
||||
DEV_URI="
|
||||
http://dev-builds.libreoffice.org/pre-releases/src
|
||||
http://download.documentfoundation.org/libreoffice/src/${PV:0:5}/
|
||||
http://download.documentfoundation.org/libreoffice/old/${PV}/
|
||||
"
|
||||
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
|
||||
ADDONS_URI="http://dev-www.libreoffice.org/src/"
|
||||
|
||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||
|
||||
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-r3"
|
||||
inherit multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic versionator ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="A full office productivity suite"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
|
||||
|
||||
# Split modules following git/tarballs
|
||||
# Core MUST be first!
|
||||
# Help is used for the image generator
|
||||
MODULES="core help"
|
||||
# Only release has the tarballs
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
for i in ${DEV_URI}; do
|
||||
for mod in ${MODULES}; do
|
||||
if [[ ${mod} == core ]]; then
|
||||
SRC_URI+=" ${i}/${P}.tar.xz"
|
||||
else
|
||||
SRC_URI+=" ${i}/${PN}-${mod}-${PV}.tar.xz"
|
||||
fi
|
||||
done
|
||||
unset mod
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
unset DEV_URI
|
||||
|
||||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC=(
|
||||
"${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
|
||||
"${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
||||
"collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )"
|
||||
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
# no release for 8 years, should we package it?
|
||||
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
|
||||
# Does not build with 1.6 rhino at all
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
|
||||
# requirement of rhino
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
|
||||
# not packageable
|
||||
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
|
||||
)
|
||||
SRC_URI+=" ${ADDONS_SRC[*]}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset EXT_URI
|
||||
unset ADDONS_SRC
|
||||
|
||||
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer
|
||||
+gtk gtk3 jemalloc kde libressl mysql odk postgres telepathy test vlc"
|
||||
|
||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
||||
# Unpackaged separate extensions:
|
||||
# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf?
|
||||
# hunart: only on ooo extensions -> fubared download path somewhere on sf
|
||||
# numbertext, typo, validator, watch-window: ^^
|
||||
# oooblogger: no homepage or anything
|
||||
# Extensions that need extra work:
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
IUSE+=" libreoffice_extensions_${lo_xt}"
|
||||
done
|
||||
unset lo_xt
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-arch/zip
|
||||
app-arch/unzip
|
||||
>=app-text/hunspell-1.3.2-r3
|
||||
app-text/mythes
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libexttextcat-3.2
|
||||
>=app-text/libebook-0.1.1
|
||||
>=app-text/libetonyek-0.1.2
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.5
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
=app-text/libwps-0.4*
|
||||
>=app-text/poppler-0.16:=[cxx]
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
=dev-cpp/libcmis-0.5*
|
||||
dev-db/unixODBC
|
||||
>=dev-libs/boost-1.55:=
|
||||
dev-libs/expat
|
||||
>=dev-libs/hyphen-2.7.1
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
=dev-libs/liborcus-0.7*
|
||||
>=dev-libs/librevenge-0.0.1
|
||||
>=dev-libs/nspr-4.8.8
|
||||
>=dev-libs/nss-3.12.9
|
||||
>=dev-lang/perl-5.0
|
||||
!libressl? ( >=dev-libs/openssl-1.0.0d:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
>=dev-libs/redland-1.0.16
|
||||
media-gfx/graphite2
|
||||
>=media-libs/fontconfig-2.8.0
|
||||
media-libs/freetype:2
|
||||
>=media-libs/glew-1.10
|
||||
>=media-libs/harfbuzz-0.9.18:=[icu(+)]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libpng-1.4:0=
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
media-libs/libpagemaker
|
||||
>=media-libs/libvisio-0.1.0
|
||||
>=net-misc/curl-7.21.4
|
||||
net-libs/neon
|
||||
net-nds/openldap
|
||||
sci-mathematics/lpsolve
|
||||
virtual/jpeg:0
|
||||
>=x11-libs/cairo-1.10.0[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
coinmp? ( sci-libs/coinor-mp )
|
||||
collada? ( >=media-libs/opencollada-1.2.2_p20150207 )
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( >=dev-libs/dbus-glib-0.92 )
|
||||
eds? ( gnome-extra/evolution-data-server )
|
||||
firebird? ( >=dev-db/firebird-2.5 )
|
||||
gltf? ( media-libs/libgltf )
|
||||
gnome? ( gnome-base/gconf:2 )
|
||||
gtk? (
|
||||
x11-libs/gdk-pixbuf[X]
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
)
|
||||
gtk3? ( >=x11-libs/gtk+-3.8:3 )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 )
|
||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
||||
libreoffice_extensions_wiki-publisher? (
|
||||
dev-java/commons-codec:0
|
||||
dev-java/commons-httpclient:3
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/commons-logging:0
|
||||
)
|
||||
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
|
||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
||||
telepathy? (
|
||||
dev-libs/glib:2
|
||||
>=net-libs/telepathy-glib-0.18.0
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/libreoffice-bin
|
||||
!app-office/libreoffice-bin-debug
|
||||
!<app-office/openoffice-bin-3.4.0-r1
|
||||
!app-office/openoffice
|
||||
media-fonts/libertine
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/urw-fonts
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
kde? ( $(add_kdeapps_dep kioclient) )
|
||||
vlc? ( media-video/vlc )
|
||||
"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
PDEPEND="=app-office/libreoffice-l10n-$(get_version_component_range 1-2)*"
|
||||
else
|
||||
# Translations are not reliable on live ebuilds
|
||||
# rather force people to use english only.
|
||||
PDEPEND="!app-office/libreoffice-l10n"
|
||||
fi
|
||||
|
||||
# FIXME: cppunit should be moved to test conditional
|
||||
# after everything upstream is under gbuild
|
||||
# as dmake execute tests right away
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/libatomic_ops-7.2d
|
||||
>=dev-libs/libxml2-2.7.8
|
||||
dev-libs/libxslt
|
||||
dev-perl/Archive-Zip
|
||||
dev-util/cppunit
|
||||
>=dev-util/gperf-3
|
||||
dev-util/intltool
|
||||
>=dev-util/mdds-0.12.0:=
|
||||
media-libs/glm
|
||||
net-misc/npapi-sdk
|
||||
>=sys-apps/findutils-4.4.2
|
||||
sys-devel/bison
|
||||
sys-apps/coreutils
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
>=sys-devel/make-3.82
|
||||
sys-devel/ucpp
|
||||
sys-libs/zlib
|
||||
virtual/pkgconfig
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
x11-proto/randrproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto
|
||||
java? (
|
||||
>=virtual/jdk-1.6
|
||||
>=dev-java/ant-core-1.7
|
||||
)
|
||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
||||
test? ( dev-util/cppunit )
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( dbus )
|
||||
collada? ( gltf )
|
||||
gnome? ( gtk )
|
||||
eds? ( gnome )
|
||||
telepathy? ( gtk )
|
||||
libreoffice_extensions_nlpsolver? ( java )
|
||||
libreoffice_extensions_scripting-beanshell? ( java )
|
||||
libreoffice_extensions_scripting-javascript? ( java )
|
||||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-4.4-system-pyuno.patch"
|
||||
)
|
||||
|
||||
CHECKREQS_MEMORY="512M"
|
||||
if [[ ${MERGE_TYPE} != binary ]] ; then CHECKREQS_DISK_BUILD="6G" ; fi
|
||||
|
||||
pkg_pretend() {
|
||||
local pgslot
|
||||
|
||||
use java || \
|
||||
ewarn "If you plan to use lbase application you should enable java or you will get various crashes."
|
||||
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
check-reqs_pkg_pretend
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]] || {
|
||||
[[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]]; }
|
||||
then
|
||||
eerror "Compilation with gcc older than 4.6 is not supported"
|
||||
die "Too old gcc found."
|
||||
fi
|
||||
fi
|
||||
|
||||
# Ensure pg version but we have to be sure the pg is installed (first
|
||||
# install on clean system)
|
||||
if use postgres && has_version dev-db/postgresql; then
|
||||
pgslot=$(postgresql-config show)
|
||||
if [[ ${pgslot//.} -lt 90 ]] ; then
|
||||
eerror "PostgreSQL slot must be set to 9.0 or higher."
|
||||
eerror " postgresql-config set 9.0"
|
||||
die "PostgreSQL slot is not set to 9.0 or higher."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
kde4-base_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local mod
|
||||
|
||||
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
|
||||
use branding && unpack "${BRANDING}"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
unpack "${P}.tar.xz"
|
||||
for mod in ${MODULES}; do
|
||||
[[ ${mod} == core ]] && continue
|
||||
unpack "${PN}-${mod}-${PV}.tar.xz"
|
||||
done
|
||||
else
|
||||
local base_uri branch checkout mypv
|
||||
base_uri="git://anongit.freedesktop.org"
|
||||
for mod in ${MODULES}; do
|
||||
branch="master"
|
||||
mypv=${PV/.9999}
|
||||
[[ ${mypv} != ${PV} ]] && branch="${PN}-${mypv/./-}"
|
||||
git-r3_fetch "${base_uri}/${PN}/${mod}" "refs/heads/${branch}"
|
||||
[[ ${mod} != core ]] && checkout="${S}/${mod}"
|
||||
[[ ${mod} == help ]] && checkout="helpcontent2" # doesn't match on help
|
||||
git-r3_checkout "${base_uri}/${PN}/${mod}" ${checkout}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# patchset
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_SOURCE="${WORKDIR}/${PATCHSET/.tar.xz/}" \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
epatch
|
||||
fi
|
||||
|
||||
epatch "${PATCHES[@]}"
|
||||
epatch_user
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# system pyuno mess
|
||||
sed -i \
|
||||
-e "s:%eprefix%:${EPREFIX}:g" \
|
||||
-e "s:%libdir%:$(get_libdir):g" \
|
||||
pyuno/source/module/uno.py \
|
||||
pyuno/source/officehelper.py || die
|
||||
# sed in the tests
|
||||
sed -i \
|
||||
-e "s#all : build unitcheck#all : build#g" \
|
||||
solenv/gbuild/Module.mk || die
|
||||
sed -i \
|
||||
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
|
||||
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
|
||||
Makefile.in || die
|
||||
|
||||
if use branding; then
|
||||
# hack...
|
||||
mv -v "${WORKDIR}/branding-intro.png" "${S}/icon-themes/galaxy/brand/intro.png" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local java_opts
|
||||
local internal_libs
|
||||
local lo_ext
|
||||
local ext_opts
|
||||
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python 2.7 enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
if use collada; then
|
||||
export OPENCOLLADA_CFLAGS="-I/usr/include/opencollada/COLLADABaseUtils -I/usr/include/opencollada/COLLADAFramework -I/usr/include/opencollada/COLLADASaxFrameworkLoader -I/usr/include/opencollada/GeneratedSaxParser"
|
||||
export OPENCOLLADA_LIBS="-L /usr/$(get_libdir)/opencollada -lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser"
|
||||
fi
|
||||
|
||||
# sane: just sane.h header that is used for scan in writer, not
|
||||
# linked or anything else, worthless to depend on
|
||||
# vigra: just uses templates from there
|
||||
# it is serious pain in the ass for packaging
|
||||
# should be replaced by boost::gil if someone interested
|
||||
internal_libs+="
|
||||
--without-system-sane
|
||||
--without-system-vigra
|
||||
"
|
||||
|
||||
# libreoffice extensions handling
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt})"
|
||||
else
|
||||
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt})"
|
||||
fi
|
||||
done
|
||||
|
||||
if use java; then
|
||||
# hsqldb: system one is too new
|
||||
java_opts="
|
||||
--without-junit
|
||||
--without-system-hsqldb
|
||||
--with-ant-home="${ANT_HOME}"
|
||||
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
|
||||
--with-jvm-path="${EPREFIX}/usr/lib/"
|
||||
"
|
||||
|
||||
use libreoffice_extensions_scripting-beanshell && \
|
||||
java_opts+=" --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)"
|
||||
|
||||
use libreoffice_extensions_scripting-javascript && \
|
||||
java_opts+=" --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar)"
|
||||
|
||||
if use libreoffice_extensions_wiki-publisher; then
|
||||
java_opts+="
|
||||
--with-commons-codec-jar=$(java-pkg_getjar commons-codec commons-codec.jar)
|
||||
--with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar)
|
||||
--with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar)
|
||||
--with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar)
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
||||
# system headers/libs/...: enforce using system packages
|
||||
# --enable-cairo: ensure that cairo is always required
|
||||
# --enable-graphite: disabling causes build breakages
|
||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
||||
# --enable-release-build: build the libreoffice as release
|
||||
# --disable-fetch-external: prevent dowloading during compile phase
|
||||
# --disable-gnome-vfs: old gnome virtual fs support
|
||||
# --disable-kdeab: kde3 adressbook
|
||||
# --disable-kde: kde3 support
|
||||
# --disable-systray: quickstarter does not actually work at all so do not
|
||||
# promote it
|
||||
# --enable-extension-integration: enable any extension integration support
|
||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \
|
||||
--with-system-headers \
|
||||
--with-system-libs \
|
||||
--with-system-jars \
|
||||
--with-system-dicts \
|
||||
--enable-cairo-canvas \
|
||||
--enable-graphite \
|
||||
--enable-largefile \
|
||||
--enable-mergelibs \
|
||||
--enable-neon \
|
||||
--enable-python=system \
|
||||
--enable-randr \
|
||||
--enable-randr-link \
|
||||
--enable-release-build \
|
||||
--disable-hardlink-deliver \
|
||||
--disable-ccache \
|
||||
--disable-crashdump \
|
||||
--disable-dependency-tracking \
|
||||
--disable-epm \
|
||||
--disable-fetch-external \
|
||||
--disable-gnome-vfs \
|
||||
--disable-gstreamer-0-10 \
|
||||
--disable-report-builder \
|
||||
--disable-kdeab \
|
||||
--disable-kde \
|
||||
--disable-online-update \
|
||||
--disable-systray \
|
||||
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \
|
||||
--with-build-version="Gentoo official package" \
|
||||
--enable-extension-integration \
|
||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell" \
|
||||
--with-external-tar="${DISTDIR}" \
|
||||
--with-lang="" \
|
||||
--with-parallelism=$(makeopts_jobs) \
|
||||
--with-system-ucpp \
|
||||
--with-vendor="Gentoo Foundation" \
|
||||
--with-x \
|
||||
--without-fonts \
|
||||
--without-myspell-dicts \
|
||||
--without-help \
|
||||
--with-helppack-integration \
|
||||
--without-sun-templates \
|
||||
$(use_enable bluetooth sdremote-bluetooth) \
|
||||
$(use_enable coinmp) \
|
||||
$(use_enable collada) \
|
||||
$(use_enable cups) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable eds evolution2) \
|
||||
$(use_enable firebird firebird-sdbc) \
|
||||
$(use_enable gltf) \
|
||||
$(use_enable gnome gconf) \
|
||||
$(use_enable gnome gio) \
|
||||
$(use_enable gnome lockdown) \
|
||||
$(use_enable gstreamer gstreamer-1-0) \
|
||||
$(use_enable gtk) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable kde kde4) \
|
||||
$(use_enable mysql ext-mariadb-connector) \
|
||||
$(use_enable odk) \
|
||||
$(use_enable postgres postgresql-sdbc) \
|
||||
$(use_enable telepathy) \
|
||||
$(use_enable vlc) \
|
||||
$(use_with coinmp system-coinmp) \
|
||||
$(use_with collada system-opencollada) \
|
||||
$(use_with gltf system-libgltf) \
|
||||
$(use_with java) \
|
||||
$(use_with mysql system-mysql-cppconn) \
|
||||
$(use_with odk doxygen) \
|
||||
${internal_libs} \
|
||||
${java_opts} \
|
||||
${ext_opts}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# more and more LO stuff tries to use OpenGL, including tests during build
|
||||
# bug 501508, bug 540624, bug 545974 and probably more
|
||||
addpredict /dev/dri
|
||||
addpredict /dev/ati
|
||||
addpredict /dev/nvidiactl
|
||||
|
||||
# hack for offlinehelp, this needs fixing upstream at some point
|
||||
# it is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
(
|
||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk" || die
|
||||
source "${T}/config_host.mk" 2&> /dev/null
|
||||
|
||||
local path="${WORKDIR}/helpcontent2/source/auxiliary/"
|
||||
mkdir -p "${path}" || die
|
||||
|
||||
echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=icon-themes/galaxy/res/helpimg > \"${path}/helpimg.ilst\""
|
||||
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
|
||||
-dir=icon-themes/galaxy/res/helpimg \
|
||||
> "${path}/helpimg.ilst"
|
||||
[[ -s "${path}/helpimg.ilst" ]] || \
|
||||
ewarn "The help images list is empty, something is fishy, report a bug."
|
||||
)
|
||||
|
||||
local target
|
||||
use test && target="build" || target="build-nocheck"
|
||||
|
||||
# this is not a proper make script
|
||||
make ${target} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make unitcheck || die
|
||||
make slowcheck || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# This is not Makefile so no buildserver
|
||||
make DESTDIR="${D}" distro-pack-install -o build -o check || die
|
||||
|
||||
# Fix bash completion placement
|
||||
newbashcomp "${ED}"etc/bash_completion.d/libreoffice.sh ${PN}
|
||||
bashcomp_alias \
|
||||
libreoffice \
|
||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
||||
rm -rf "${ED}"etc/ || die
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"etc/env.d/99${PN} || die
|
||||
fi
|
||||
|
||||
# Hack for offlinehelp, this needs fixing upstream at some point.
|
||||
# It is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
insinto /usr/$(get_libdir)/libreoffice/help
|
||||
doins xmlhelp/util/*.xsl
|
||||
|
||||
# Remove desktop files for support to old installs that can't parse mime
|
||||
rm -r "${ED}"usr/share/mimelnk/ || die
|
||||
|
||||
# FIXME: Hack add missing file
|
||||
exeinto /usr/$(get_libdir)/${PN}/program
|
||||
doexe "${S}"/instdir/program/libsaxlo.so
|
||||
|
||||
pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Cache updates - all handled by kde eclass for all environments
|
||||
kde4-base_pkg_preinst
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kde4-base_pkg_postrm
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
BASHCOMP_P=bashcomp-2.0.2
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="Programmable Completion for bash"
|
||||
HOMEPAGE="http://bash-completion.alioth.debian.org/"
|
||||
SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz
|
||||
https://bitbucket.org/mgorny/bashcomp2/downloads/${BASHCOMP_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-shells/bash-4.3_p30-r1
|
||||
sys-apps/miscfiles
|
||||
!app-eselect/eselect-bashcomp"
|
||||
DEPEND="app-arch/xz-utils"
|
||||
PDEPEND=">=app-shells/gentoo-bashcomp-20140911"
|
||||
|
||||
# Remove unwanted completions.
|
||||
STRIP_COMPLETIONS=(
|
||||
# Slackware package stuff, quite generic names cause collisions
|
||||
# (e.g. with sys-apps/pacman)
|
||||
explodepkg installpkg makepkg pkgtool removepkg upgradepkg
|
||||
|
||||
# Debian/Red Hat network stuff
|
||||
ifdown ifup ifstatus
|
||||
|
||||
# Installed in app-editors/vim-core
|
||||
xxd
|
||||
|
||||
# Now-dead symlinks to deprecated completions
|
||||
hd ncal
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/${BASHCOMP_P}/${P}"-*.patch
|
||||
# Bug 543100
|
||||
epatch "${FILESDIR}/${PN}-2.1-escape-characters.patch"
|
||||
}
|
||||
|
||||
src_test() { :; } # Skip testsuite because of interactive shell wrt #477066
|
||||
|
||||
src_install() {
|
||||
# work-around race conditions, bug #526996
|
||||
mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die
|
||||
|
||||
emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install
|
||||
|
||||
local file
|
||||
for file in "${STRIP_COMPLETIONS[@]}"; do
|
||||
rm "${ED}"/usr/share/bash-completion/completions/${file} || die
|
||||
done
|
||||
# remove deprecated completions (moved to other packages)
|
||||
rm "${ED}"/usr/share/bash-completion/completions/_* || die
|
||||
|
||||
dodoc AUTHORS CHANGES README
|
||||
|
||||
# install the eselect module
|
||||
insinto /usr/share/eselect/modules
|
||||
doins "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect"
|
||||
doman "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect.5"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local v
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if ! version_is_at_least 2.1-r90 ${v}; then
|
||||
ewarn "For bash-completion autoloader to work, all completions need to"
|
||||
ewarn "be installed in /usr/share/bash-completion/completions. You may"
|
||||
ewarn "need to rebuild packages that installed completions in the old"
|
||||
ewarn "location. You can do this using:"
|
||||
ewarn
|
||||
ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +"
|
||||
ewarn
|
||||
ewarn "After the rebuild, you should remove the old setup symlinks:"
|
||||
ewarn
|
||||
ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete"
|
||||
fi
|
||||
done
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog
|
||||
elog "If you are interested in using the provided bash completion functions with"
|
||||
elog "zsh, valuable tips on the effective use of bashcompinit are available:"
|
||||
elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
|
||||
elog
|
||||
fi
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST posh_0.12.5.tar.xz 267356 SHA256 adf1b5670b9978c3b6d5ae64356be72d8c31db1750a7600ff981fec3ff920a0a SHA512 03fabb32eb2cd38b90cf4bef641a9ce35e3e79a65b22bf6c8654b0da9d05385efe1fb5c0274deba9c616c7aba443f9a408194a066983edf051be1098be11f21e WHIRLPOOL 7a6275c14818cc24085e9383e9fce51dbb71ebdb001af2a7f5bc061a807e4681f83f57a6a2aa5bac4655d8f24466e9a7f0e573c584d04e660a668995d0144b8f
|
||||
DIST posh_0.12.6.tar.xz 268872 SHA256 32d00153b448df535fd095d768db2771794bfc54002efd711abc48a40481170d SHA512 2b862264dd13c840facb158f1e2731dd1f11c7a567308feb6bd80fd5a7ea4d8e383cc13a0819f90da5fdad70d0adcc81e5adf2bd69a7a171e2e874f82509123c WHIRLPOOL 201e99e5ba990fa800c3c141872b3a332ff67051abd2f64e8b693b894050780d9cb196804678dd73896585f170b28147092a2bbd85a2028a6a6044ef9a140130
|
||||
DIST posh_0.12.tar.gz 469680 SHA256 9206b67005cf357404b3f3021c2d7c7bbd50756050512dececb9ed836435b048 SHA512 bb98d2fa009b5ccd666103378dd30da5649baf830d4e3124575f813b98b13275bde46e03bb737c75b37c82f655b3f17e9a5decd29b75d20678e78a4d7e3abf00 WHIRLPOOL ffd03e1537aa8e68545c532fb8c27fc9702ab16157efce7ef5c83b6f70fbe1a807e4759b85525036ae0c26f56b595ccf95d9cffb8a96b4ef8e5a8ec4b50c60e6
|
||||
|
@ -1,37 +0,0 @@
|
||||
From 893b644fc8c840d0a29974c90e0a80f7ce8146ba Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Sun, 14 Feb 2016 10:21:02 +0100
|
||||
Subject: [PATCH] tests/th: Update to work with perl-5.16+
|
||||
|
||||
The 'getopts.pl' module (dating back to perl4) was finally nuked in
|
||||
perl-5.16+, therefore making it impossible to run tests in posh. Use
|
||||
the perl5 Getopt::Std module instead.
|
||||
---
|
||||
tests/th | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/th b/tests/th
|
||||
index 72eb812..920d54c 100755
|
||||
--- a/tests/th
|
||||
+++ b/tests/th
|
||||
@@ -130,7 +130,7 @@
|
||||
|
||||
$os = defined $^O ? $^O : 'unknown';
|
||||
|
||||
-require 'getopts.pl';
|
||||
+use Getopt::Std;
|
||||
|
||||
($prog = $0) =~ s#.*/##;
|
||||
|
||||
@@ -200,7 +200,7 @@ $nxpassed = 0;
|
||||
|
||||
%known_tests = ();
|
||||
|
||||
-if (!&Getopts('C:p:Ps:t:ve:')) {
|
||||
+if (!&getopts('C:p:Ps:t:ve:')) {
|
||||
print STDERR $Usage;
|
||||
exit 1;
|
||||
}
|
||||
--
|
||||
2.7.1
|
||||
|
@ -0,0 +1,20 @@
|
||||
commit 755169cc3b0991bb783ade963da3a473db147067
|
||||
Author: Olly Betts <olly@survex.com>
|
||||
Date: Tue Jan 12 17:24:11 2016 +1300
|
||||
|
||||
Need to AC_SUBST probed value of ZLIB_LIBS
|
||||
|
||||
Noted by Paul Wise
|
||||
|
||||
diff --git a/xapian-applications/omega/configure.ac b/xapian-applications/omega/configure.ac
|
||||
index db56262..36d894e 100644
|
||||
--- a/xapian-applications/omega/configure.ac
|
||||
+++ b/xapian-applications/omega/configure.ac
|
||||
@@ -120,6 +120,7 @@ AC_SEARCH_LIBS([zlibVersion], [z zlib zdll], [], [
|
||||
AC_MSG_ERROR([zlibVersion() not found in -lz, -lzlib, or -lzdll (you may need to install the zlib1g-dev or zlib-devel package)])
|
||||
])
|
||||
ZLIB_LIBS=$LIBS
|
||||
+AC_SUBST([ZLIB_LIBS])
|
||||
LIBS=$SAVE_LIBS
|
||||
|
||||
dnl libmagic used to detect MIME types for files we don't detect by extension.
|
@ -0,0 +1,78 @@
|
||||
https://bugs.gentoo.org/575120
|
||||
https://github.com/bos/text/issues/138
|
||||
|
||||
commit 6c69034c81974b3fab9dba2993f22cc0a80f1b9e
|
||||
Author: Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Date: Sat Feb 13 12:44:20 2016 +0100
|
||||
|
||||
Revert "Rename integer-simple to integer-pure (gh-138)"
|
||||
|
||||
This basically reverts commit b806d9491c740dfcbf172d2936f1eeb3b72d3492.
|
||||
and therefore resolve #138
|
||||
|
||||
diff --git a/Data/Text/Lazy/Builder/Int.hs b/Data/Text/Lazy/Builder/Int.hs
|
||||
index 6d26ecd..1cb0651 100644
|
||||
--- a/Data/Text/Lazy/Builder/Int.hs
|
||||
+++ b/Data/Text/Lazy/Builder/Int.hs
|
||||
@@ -36,14 +36,14 @@ import Control.Monad.ST
|
||||
#ifdef __GLASGOW_HASKELL__
|
||||
# if defined(INTEGER_GMP)
|
||||
import GHC.Integer.GMP.Internals (Integer(S#))
|
||||
-# elif defined(INTEGER_PURE)
|
||||
+# elif defined(INTEGER_SIMPLE)
|
||||
import GHC.Integer
|
||||
# else
|
||||
-# error "You need to use either GMP or integer-pure."
|
||||
+# error "You need to use either GMP or integer-simple."
|
||||
# endif
|
||||
#endif
|
||||
|
||||
-#if defined(INTEGER_GMP) || defined(INTEGER_PURE)
|
||||
+#if defined(INTEGER_GMP) || defined(INTEGER_SIMPLE)
|
||||
# define PAIR(a,b) (# a,b #)
|
||||
#else
|
||||
# define PAIR(a,b) (a,b)
|
||||
diff --git a/text.cabal b/text.cabal
|
||||
index ffb92cf..5fa1be0 100644
|
||||
--- a/text.cabal
|
||||
+++ b/text.cabal
|
||||
@@ -69,10 +69,10 @@ flag developer
|
||||
default: False
|
||||
manual: True
|
||||
|
||||
-flag integer-pure
|
||||
- description: Use the pure-Haskell integer library instead of GMP
|
||||
+flag integer-simple
|
||||
+ description: Use the simple integer library instead of GMP
|
||||
default: False
|
||||
- manual: True
|
||||
+ manual: False
|
||||
|
||||
library
|
||||
c-sources: cbits/cbits.c
|
||||
@@ -145,9 +145,9 @@ library
|
||||
ghc-options: -Werror
|
||||
cpp-options: -DASSERTS
|
||||
|
||||
- if flag(integer-pure)
|
||||
- cpp-options: -DINTEGER_PURE
|
||||
- build-depends: integer-pure >= 1.0
|
||||
+ if flag(integer-simple)
|
||||
+ cpp-options: -DINTEGER_SIMPLE
|
||||
+ build-depends: integer-simple >= 0.1 && < 0.5
|
||||
else
|
||||
cpp-options: -DINTEGER_GMP
|
||||
build-depends: integer-gmp >= 0.2
|
||||
@@ -181,9 +181,9 @@ test-suite tests
|
||||
test-framework-hunit >= 0.2,
|
||||
test-framework-quickcheck2 >= 0.2
|
||||
|
||||
- if flag(integer-pure)
|
||||
- cpp-options: -DINTEGER_PURE
|
||||
- build-depends: integer-pure >= 0.1 && < 0.5
|
||||
+ if flag(integer-simple)
|
||||
+ cpp-options: -DINTEGER_SIMPLE
|
||||
+ build-depends: integer-simple >= 0.1 && < 0.5
|
||||
else
|
||||
cpp-options: -DINTEGER_GMP
|
||||
build-depends: integer-gmp >= 0.2
|
@ -1,4 +1,3 @@
|
||||
DIST ecjsrc-3.7.2.jar 1366333 SHA256 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b SHA512 53b9800a53d494330ef517983c756d622eaab242552586775f85a694142faa43d348131f9b49ec6ba41066c7d19dcb339eab3140302d46ccbcc7a2edd30e9d32 WHIRLPOOL 399d971251b022cea47d6db2ddea6f6b0a325789c5a09661782d7fad2b29840863b406f1c2b5f49b8b34b55ff3283519e63a76aed09305fe92b3a0ec866c6d97
|
||||
DIST ecjsrc-4.2.1.jar 1417043 SHA256 d261b2158f598640f1923805d2e9bf47eb21d8333f4e1b37f59f847ad00d48f4 SHA512 967b47a722893ea1f9eb17e69d386881dc87516e93c1d7a2a119d6fb2e053faa0d9d6455b6e4b89c3f23a3ec7ae33686f4acc305d7c6e51929ce7837c9c93eaf WHIRLPOOL 3f91bbf654d8ce0621e3ce21b5a1fce5058c86ad1dd24f89269aba6716945bff8686b6e1829c602864c15f62b45c65f5d5fe0430052dd2419da7e0c0225c95d5
|
||||
DIST ecjsrc-4.4.2.jar 1764959 SHA256 ad3daf77ab710268f88c41fba87218dcdf502b423217a3799b5227ddf03b5858 SHA512 53e850fc64994b104d45f58c22f1302ceb1f23bcf69300940be5689dfa6278bea14b4506746fec7b14db6f48c24ccbee16755943fffcdd7f6ad4fe5d9ddc1f20 WHIRLPOOL 5c4e40e482b8c30143bb7043822935eac9ff6f425a9d4f175ef5968ebe0bf0cf219f0f5d8046bfc9b77e067a6ff62166bdb7f7c51f887e5675064a2ca85fe721
|
||||
DIST ecjsrc-4.5.1.jar 1809543 SHA256 101a31ee0474282a287b16c46fa6e793ede43ceecaecabbd382f6e0b1b67ef72 SHA512 ee615e6fb7fb4a16ef4aeefdff93bafdbf36c9d0ce15713b81f1d4dce0ae87379fa4a6de34c32a134f78db6ed1a68d6c7b4e2a431b7de57bf8262a718fdd6553 WHIRLPOOL 739746de8dfb3c9b9ad40925e99ed58de1f594d6d4e20fd71ce07394a99f2f3f51984daf27c32a76ae5c4a25abf99c6dfb012b62858806d91a5f584d3a4da9f7
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DMF="R-${PV}-201202080800"
|
||||
S="${WORKDIR}"
|
||||
|
||||
DESCRIPTION="Ant Compiler Adapter for Eclipse Java Compiler"
|
||||
HOMEPAGE="http://www.eclipse.org/"
|
||||
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/${DMF/.0}/ecjsrc-${PV}.jar"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
SLOT="3.7"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
~dev-java/eclipse-ecj-${PV}
|
||||
>=dev-java/ant-core-1.7"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.4"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mkdir -p src/org/eclipse/jdt/{core,internal}
|
||||
cp org/eclipse/jdt/core/JDTCompilerAdapter.java \
|
||||
src/org/eclipse/jdt/core || die
|
||||
cp -r org/eclipse/jdt/internal/antadapter \
|
||||
src/org/eclipse/jdt/internal || die
|
||||
rm -fr about* org
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd src
|
||||
java-pkg_filter-compiler jikes
|
||||
ejavac -classpath "$(java-pkg_getjars ant-core,eclipse-ecj-${SLOT})" \
|
||||
$(find org/ -name '*.java') || die "ejavac failed!"
|
||||
find org/ -name '*.class' -o -name '*.properties' | \
|
||||
xargs jar cf "${S}/${PN}.jar" || die "jar failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar ${PN}.jar
|
||||
insinto /usr/share/java-config-2/compiler
|
||||
doins "${FILESDIR}/ecj-${SLOT}"
|
||||
sed -i "s/^JAVAC=/&${EPREFIX}:" /usr/share/java-config-2/compiler/ecj-${SLOT}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
JAVAC="/usr/bin/ecj-3.7"
|
||||
PACKAGE="=dev-java/ant-eclipse-ecj-3.7*"
|
||||
SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6 1.7"
|
||||
SUPPORTED_SOURCE="1.3 1.4 1.5 1.6 1.7"
|
||||
ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter"
|
||||
ANT_BUILD_COMPILER_DEPS="eclipse-ecj-3.7,ant-eclipse-ecj-3.7"
|
||||
GENERATION="2"
|
@ -1 +1,2 @@
|
||||
DIST cdi-api-1.2-sources.jar 139331 SHA256 110dd88693b1745812a3f1c05f78d91aae1efa3cece5a08a5befd9dada51ed8c SHA512 b24a16cc208cd865f561ecdc7590ddcdb08c2e83f8fea75eefa0e52598461cc98c804dfeeacb360278ddfbf5508e72f381b1379e19efe91f3c89b0e255b3cb9a WHIRLPOOL abbf8754528ad7ffe505ae6f25d4920843c2d9bd4c03f7f4424aef35863d8780e6acd7c38e0dc65bad633b8e3f2ec289ba22e417381c1cef90a578a72dd07ef9
|
||||
DIST cdi-api-1.2.jar 139331 SHA256 110dd88693b1745812a3f1c05f78d91aae1efa3cece5a08a5befd9dada51ed8c SHA512 b24a16cc208cd865f561ecdc7590ddcdb08c2e83f8fea75eefa0e52598461cc98c804dfeeacb360278ddfbf5508e72f381b1379e19efe91f3c89b0e255b3cb9a WHIRLPOOL abbf8754528ad7ffe505ae6f25d4920843c2d9bd4c03f7f4424aef35863d8780e6acd7c38e0dc65bad633b8e3f2ec289ba22e417381c1cef90a578a72dd07ef9
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Contexts and Dependency Injection for the Java EE platform"
|
||||
HOMEPAGE="http://www.cdi-spec.org/"
|
||||
SRC_URI="https://repo1.maven.org/maven2/javax/enterprise/${PN}/${PV}/${P}-sources.jar -> ${P}.jar"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="
|
||||
dev-java/javax-inject:0
|
||||
dev-java/tomcat-servlet-api:3.0
|
||||
dev-java/glassfish-interceptor-api:0"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="javax-inject,tomcat-servlet-api-3.0,glassfish-interceptor-api"
|
||||
|
||||
JAVA_SRC_DIR="javax"
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
java-pkg_addres "${PN}.jar" . -name "*.xsd"
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST ecjsrc-3.7.2.jar 1366333 SHA256 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b SHA512 53b9800a53d494330ef517983c756d622eaab242552586775f85a694142faa43d348131f9b49ec6ba41066c7d19dcb339eab3140302d46ccbcc7a2edd30e9d32 WHIRLPOOL 399d971251b022cea47d6db2ddea6f6b0a325789c5a09661782d7fad2b29840863b406f1c2b5f49b8b34b55ff3283519e63a76aed09305fe92b3a0ec866c6d97
|
||||
DIST ecjsrc-4.2.1.jar 1417043 SHA256 d261b2158f598640f1923805d2e9bf47eb21d8333f4e1b37f59f847ad00d48f4 SHA512 967b47a722893ea1f9eb17e69d386881dc87516e93c1d7a2a119d6fb2e053faa0d9d6455b6e4b89c3f23a3ec7ae33686f4acc305d7c6e51929ce7837c9c93eaf WHIRLPOOL 3f91bbf654d8ce0621e3ce21b5a1fce5058c86ad1dd24f89269aba6716945bff8686b6e1829c602864c15f62b45c65f5d5fe0430052dd2419da7e0c0225c95d5
|
||||
DIST ecjsrc-4.4.2.jar 1764959 SHA256 ad3daf77ab710268f88c41fba87218dcdf502b423217a3799b5227ddf03b5858 SHA512 53e850fc64994b104d45f58c22f1302ceb1f23bcf69300940be5689dfa6278bea14b4506746fec7b14db6f48c24ccbee16755943fffcdd7f6ad4fe5d9ddc1f20 WHIRLPOOL 5c4e40e482b8c30143bb7043822935eac9ff6f425a9d4f175ef5968ebe0bf0cf219f0f5d8046bfc9b77e067a6ff62166bdb7f7c51f887e5675064a2ca85fe721
|
||||
DIST ecjsrc-4.5.1.jar 1809543 SHA256 101a31ee0474282a287b16c46fa6e793ede43ceecaecabbd382f6e0b1b67ef72 SHA512 ee615e6fb7fb4a16ef4aeefdff93bafdbf36c9d0ce15713b81f1d4dce0ae87379fa4a6de34c32a134f78db6ed1a68d6c7b4e2a431b7de57bf8262a718fdd6553 WHIRLPOOL 739746de8dfb3c9b9ad40925e99ed58de1f594d6d4e20fd71ce07394a99f2f3f51984daf27c32a76ae5c4a25abf99c6dfb012b62858806d91a5f584d3a4da9f7
|
||||
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN="ecj"
|
||||
DMF="R-${PV}-201202080800"
|
||||
|
||||
DESCRIPTION="Eclipse Compiler for Java"
|
||||
HOMEPAGE="http://www.eclipse.org/"
|
||||
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/${DMF}/${MY_PN}src-${PV}.jar"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
SLOT="3.7"
|
||||
IUSE="+ant userland_GNU"
|
||||
|
||||
COMMON_DEP="
|
||||
app-eselect/eselect-java"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.4"
|
||||
DEPEND="${COMMON_DEP}
|
||||
|| ( virtual/jdk:1.7 virtual/jdk:1.6 )
|
||||
app-arch/unzip
|
||||
userland_GNU? ( sys-apps/findutils )"
|
||||
PDEPEND="
|
||||
ant? ( ~dev-java/ant-eclipse-ecj-${PV} )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
JAVA_PKG_WANT_SOURCE=1.4
|
||||
JAVA_PKG_WANT_TARGET=1.4
|
||||
|
||||
java_prepare() {
|
||||
# These have their own package.
|
||||
rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java || die
|
||||
rm -fr org/eclipse/jdt/internal/antadapter || die
|
||||
|
||||
# upstream build.xml excludes this
|
||||
rm META-INF/eclipse.inf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local javac_opts javac java jar
|
||||
|
||||
javac_opts="$(java-pkg_javac-args) -encoding ISO-8859-1"
|
||||
javac="$(java-config -c)"
|
||||
java="$(java-config -J)"
|
||||
jar="$(java-config -j)"
|
||||
|
||||
find org/ -path org/eclipse/jdt/internal/compiler/apt -prune -o \
|
||||
-path org/eclipse/jdt/internal/compiler/tool -prune -o -name '*.java' \
|
||||
-print > sources-1.4
|
||||
find org/eclipse/jdt/internal/compiler/{apt,tool} -name '*.java' > sources-1.6
|
||||
|
||||
mkdir -p bootstrap || die
|
||||
cp -pPR org bootstrap || die
|
||||
cd "${S}/bootstrap" || die
|
||||
|
||||
einfo "bootstrapping ${MY_PN} with ${javac} ..."
|
||||
${javac} ${javac_opts} @../sources-1.4 || die
|
||||
${javac} -encoding ISO-8859-1 -source 1.6 -target 1.6 @../sources-1.6 || die
|
||||
|
||||
find org/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' \) \
|
||||
-exec ${jar} cf ${MY_PN}.jar {} + || die
|
||||
|
||||
cd "${S}" || die
|
||||
einfo "building ${MY_PN} with bootstrapped ${MY_PN} ..."
|
||||
${java} -classpath bootstrap/${MY_PN}.jar \
|
||||
org.eclipse.jdt.internal.compiler.batch.Main \
|
||||
${javac_opts} -nowarn @sources-1.4 || die
|
||||
${java} -classpath bootstrap/${MY_PN}.jar \
|
||||
org.eclipse.jdt.internal.compiler.batch.Main \
|
||||
-encoding ISO-8859-1 -source 1.6 -target 1.6 -nowarn @sources-1.6 || die
|
||||
|
||||
find org/ \( -name '*.class' -o -name '*.properties' -o -name '*.rsc' \) \
|
||||
-exec ${jar} cf ${MY_PN}.jar {} + || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dolauncher ${MY_PN}-${SLOT} --main \
|
||||
org.eclipse.jdt.internal.compiler.batch.Main
|
||||
|
||||
# disable the class version verify, this has intentionally
|
||||
# some classes with 1.6, but most is 1.4
|
||||
JAVA_PKG_STRICT="" java-pkg_dojar ${MY_PN}.jar
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "To select between slots of ECJ..."
|
||||
einfo " # eselect ecj"
|
||||
|
||||
eselect ecj update ecj-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ecj update
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java applet to view and display LaTeX mathematical equations"
|
||||
HOMEPAGE="http://www.atp.ruhr-uni-bochum.de/VCLab/software/HotEqn/HotEqn.html"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
LICENSE="GPL-3"
|
||||
SLOT=0
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
JAVA_ENCODING="ISO-8859-1"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
java_prepare() {
|
||||
rm -v mHotEqn.java || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
java-pkg_addres "${PN}.jar" classes/ -name "*.gif"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST Jaybird-2.1.5-src.zip 6047595 SHA256 3b475bca2cc5c3cbf6032c75ff2ea47d2e77abad18df36e149c1eaccfc15a868 SHA512 e6d7eb70cf59d5d9a2dd7817bc11574ba5f014f2aae6cb6c4b141e7d0a172cf091b950e3475ee5d4389f3ca3efae3f34ed1efbc694b74a2a99adc2694c936a7e WHIRLPOOL ca5e3fedce5f13a00ea37f946f9f0141d3132ea3b9209623961b32868946dd0e36621d0280716263031bc02dbcc7f8cd80de29da5e0235127d9c0d9e4deea54e
|
||||
DIST Jaybird-2.2.9-src.zip 9833669 SHA256 46b807c85efd3531aef612b5d7a71e570c02e344cf73d67890c1194d3a250828 SHA512 487e64658553f60fa2a1f9b6d7136504119bac2905c6480cac01a94ce2c6e70b82449ee9a1b9b1ee96a12646ef69064d542401fc62564662f14531dea3790e6e WHIRLPOOL f3197921d0eca901662353ab5150ba62b72ac40ccf884f78f229fadac2239bc56964d5ae452d0dcddf82099b66a71c734beaffe6b8a4b3d9bffec98061d7dc0a
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff --git a/src/main/org/firebirdsql/jdbc/AbstractDatabaseMetaData.java b/src/main/org/firebirdsql/jdbc/AbstractDatabaseMetaData.java
|
||||
index 179f58b..fec2ac7 100644
|
||||
--- a/src/main/org/firebirdsql/jdbc/AbstractDatabaseMetaData.java
|
||||
+++ b/src/main/org/firebirdsql/jdbc/AbstractDatabaseMetaData.java
|
||||
@@ -23,7 +23,6 @@ package org.firebirdsql.jdbc;
|
||||
import java.sql.*;
|
||||
import java.util.*;
|
||||
|
||||
-import org.apache.tools.ant.taskdefs.Get.DownloadProgress;
|
||||
import org.firebirdsql.gds.*;
|
||||
import org.firebirdsql.gds.impl.AbstractGDS;
|
||||
import org.firebirdsql.gds.impl.AbstractIscDbHandle;
|
@ -1,11 +0,0 @@
|
||||
--- client-java/build/archive.xml 2005-06-25 19:26:26.000000000 -0400
|
||||
+++ build/archive.xml 2006-05-09 12:41:03.000000000 -0400
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
</target>
|
||||
|
||||
- <target name="jar-test" depends="compile">
|
||||
+ <target name="jar-test" depends="compile" if="tests">
|
||||
|
||||
<mkdir dir="${build.lib}"/>
|
||||
<jar jarfile="${build.lib}/${archive.name.test}" manifest="${build.etc}/default.mf">
|
@ -1,21 +0,0 @@
|
||||
diff -Naur client-java_orig/build/compile.xml client-java/build/compile.xml
|
||||
--- client-java_orig/build/compile.xml 2008-02-07 20:46:24.000000000 -0500
|
||||
+++ client-java/build/compile.xml 2008-02-13 14:46:08.000000000 -0500
|
||||
@@ -13,7 +13,7 @@
|
||||
<ant antfile="build_native.xml"/>
|
||||
</target>
|
||||
|
||||
- <target name="compile-examples">
|
||||
+ <target name="compile-examples" if="examples">
|
||||
<mkdir dir="${build.examples}"/>
|
||||
<javac srcdir="${source.examples}"
|
||||
destdir="${build.examples}"
|
||||
@@ -154,7 +154,7 @@
|
||||
</path>
|
||||
</target>
|
||||
|
||||
- <target name="compile-tests" depends="compile-pool,set-jdbc-20-test,set-jdbc-30-test,set-jdbc-30-test">
|
||||
+ <target name="compile-tests" depends="compile-pool,set-jdbc-20-test,set-jdbc-30-test,set-jdbc-30-test" if="tests">
|
||||
<mkdir dir="${build.test}"/>
|
||||
<javac srcdir="${source.test}"
|
||||
destdir="${build.test}"
|
@ -1,97 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
JAVA_PKG_IUSE="doc source examples test"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
At="Jaybird-${PV/_/}-src"
|
||||
DESCRIPTION="JDBC Type 2 and 4 drivers for Firebird SQL server"
|
||||
HOMEPAGE="http://jaybirdwiki.firebirdsql.org/"
|
||||
SRC_URI="mirror://sourceforge/firebird/${At}.zip"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
dev-java/ant-core
|
||||
dev-java/log4j"
|
||||
DEPEND="=virtual/jdk-1.6*
|
||||
app-arch/unzip
|
||||
dev-java/ant-core
|
||||
dev-java/log4j
|
||||
test? (
|
||||
=dev-java/junit-3.8*
|
||||
dev-java/ant-junit
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/client-java"
|
||||
|
||||
MY_PN="jaybird"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}/archive-xml-2.1.0.patch"
|
||||
epatch "${FILESDIR}/compile_xml-2.1.2.patch"
|
||||
|
||||
cd "${S}/lib/"
|
||||
rm -v *.jar
|
||||
use test && java-pkg_jar-from --build-only junit junit.jar
|
||||
|
||||
cd "${S}/src/lib/"
|
||||
# the build.xml unpacks this and uses stuff
|
||||
mv mini-j2ee.jar "${T}" || die "Failed to move mini-j2ee.jar to ${T}"
|
||||
rm -v *.jar *.zip
|
||||
mv "${T}"/mini-j2ee.jar . || die "Failed to move mini-j2ee.jar back from ${T}"
|
||||
|
||||
# Hack to add ant.jar to classpath without patch
|
||||
java-pkg_jar-from ant-core ant.jar jaas.jar
|
||||
java-pkg_jar-from log4j log4j.jar log4j-core.jar
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg_filter-compiler jikes
|
||||
eant $(use test && echo "-Dtests=true") jars \
|
||||
$(use_doc javadocs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/output/lib/"
|
||||
java-pkg_newjar ${MY_PN}-${PV}.jar ${PN}.jar
|
||||
|
||||
for jar in full pool; do
|
||||
java-pkg_newjar ${MY_PN}-${jar}-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
|
||||
done
|
||||
if use test; then
|
||||
java-pkg_newjar ${MY_PN}-test-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/
|
||||
doins -r examples || die "installing examples failed"
|
||||
fi
|
||||
|
||||
use source && java-pkg_dosrc "${S}"/src/*/org
|
||||
|
||||
cd "${S}/output"
|
||||
use doc && java-pkg_dohtml -r docs/
|
||||
dodoc etc/{*.txt,default.mf}
|
||||
dohtml etc/*.html
|
||||
}
|
||||
|
||||
src_test() {
|
||||
#
|
||||
# Warning about timeouts without Firebird installed and running Locally
|
||||
#
|
||||
ewarn "You will experience long timeouts when running junit tests"
|
||||
ewarn "without Firebird installed and running locally. The tests will"
|
||||
ewarn "complete without Firebird, but network timeouts prolong the"
|
||||
ewarn "testing phase considerably."
|
||||
ANT_TASKS="ant-junit" eant all-tests-pure-java
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST JempBox-0.2.0.zip 6131627 SHA256 a4c6def91c31aaae4b8ee4b3f9ecebef73fce2f608bf7fc906a89a9bef17978e SHA512 8468028cf04d78e4bcbd2108f21c26e70d23a39f9ee897c2edf0a982c8981cdcbf1f6474f222021ac68e65dc0e5f6063d2603658f694a99ccac6ee52715c3aad WHIRLPOOL bb8659ab900b8920ace7afb8787d30ed4a00c701f0962106dcb1891f7829c83a04a4f9de09c9b7b682340bed06fb58622ffd4ff60d0defd39c5485363161137f
|
||||
DIST pdfbox-1.7.1-src.zip 9167805 SHA256 805c6b893ff10216cc826aa44e7a2eaf35bb43ca8ed19896c43132d253d3145e SHA512 8b2af3d8f431626c106e4f6e9e1d59d14abcd58cfdc9553f20c5057eef9f9cfbd0287e14e58e4d34472ad81198eb3f4d0a2fd6e88bd1fa5cbcf01e4befbf77d0 WHIRLPOOL 438fcd6f2d0128b972dfd5be83b2bc455daf9f126ac5b7a6a5de8a41e29f482b462e8e48e07a21ac1e896de4daa5ffed2eee400ec96ac93fbbce25fef99b0ade
|
||||
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="JempBox"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="Java library that implements Adobe's XMP specification"
|
||||
HOMEPAGE="http://www.jempbox.org"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
test? ( dev-java/ant-junit =dev-java/junit-3* )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
rm -v lib/*.jar
|
||||
rm -rf docs/javadoc
|
||||
|
||||
if use test; then
|
||||
java-ant_xml-rewrite -f build.xml --change -e junit \
|
||||
-a haltonfailure -v true
|
||||
cd lib
|
||||
java-pkg_jar-from --build-only junit
|
||||
else
|
||||
# no way to separate building of tests in build.xml
|
||||
# at least it doesn't include them in <jar>
|
||||
rm -rf src/test
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant package $(use_doc)
|
||||
|
||||
#tests delete the jar and javadocs so newjar, dojavadoc will fail to
|
||||
#install jar and javadoc.
|
||||
mkdir gentoo-dist
|
||||
cp "lib/${MY_P}.jar" "gentoo-dist/${MY_P}.jar" || die "Failed to copy jar."
|
||||
if use doc; then
|
||||
cp -R website/build/site/javadoc gentoo-dist || die \
|
||||
"Unable to copy javadoc"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ANT_TASKS="ant-junit" eant junit
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "gentoo-dist/${MY_P}".jar
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/*
|
||||
java-pkg_dojavadoc gentoo-dist/javadoc
|
||||
fi
|
||||
|
||||
use source && java-pkg_dosrc src/org
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST jexcelapi-2.6.8.tar.gz 1925926 SHA256 12f05e4453c203b91329a65329b564e86aaa77a005101f876c4de7b648c36034 SHA512 c649dcff8647530ca719f3e546d45ac585fed46d0a220763848f6d97b3f42c871b6520aee3575202598c7aba3391f647690075b6d9d52d1c2920817ff69548c1 WHIRLPOOL 24d60ad81961b224c6d63267ee4cb4432bca5bb89c1462797dc96dce4f7fb6403741c34819c78a36312a1df9f0fce756c1d026b1672c751fc8b3a42cc9f0e3c7
|
||||
DIST jexcelapi_2_6_8.tar.gz 1925926 SHA256 12f05e4453c203b91329a65329b564e86aaa77a005101f876c4de7b648c36034 SHA512 c649dcff8647530ca719f3e546d45ac585fed46d0a220763848f6d97b3f42c871b6520aee3575202598c7aba3391f647690075b6d9d52d1c2920817ff69548c1 WHIRLPOOL 24d60ad81961b224c6d63267ee4cb4432bca5bb89c1462797dc96dce4f7fb6403741c34819c78a36312a1df9f0fce756c1d026b1672c751fc8b3a42cc9f0e3c7
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_P="${P//-/_}"
|
||||
MY_P="${MY_P//./_}"
|
||||
|
||||
DESCRIPTION="A Java API to read, write, and modify Excel spreadsheets"
|
||||
HOMEPAGE="http://jexcelapi.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/jexcelapi/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/log4j:0"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
app-arch/unzip
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
JAVA_ENCODING="ISO-8859-1"
|
||||
JAVA_SRC_DIR="src"
|
||||
JAVA_GENTOO_CLASSPATH="log4j"
|
||||
|
||||
JAVA_RM_FILES=(
|
||||
src/common/log/Log4jLoggerName.java
|
||||
src/common/log/SimpleLoggerName.java
|
||||
)
|
||||
|
||||
java_prepare() {
|
||||
java-pkg_clean
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST jrexx-1.1.1-src.zip 62878 SHA256 6655b611c7693f20da86cd8e933908483615341a916556e777535192aa8f1b0d SHA512 dc3e84e9c6313d8fc4c8fb57bc2713976d07284eae5d36ca4411d0e28eaae36351bbf7a6a16d9db365105e592d2e0cbccf7c3662f8d24114662422f02f0707d1 WHIRLPOOL 1f2e4451672c1c557efd5edca511504095196746b529e14a9ab1a7bbe82a243cd59ffc047561e066f4f54a65356e6c14e88e0b809609b3ba2ae12a696c0792d8
|
||||
DIST jrexx-1.1.1.zip 62878 SHA256 6655b611c7693f20da86cd8e933908483615341a916556e777535192aa8f1b0d SHA512 dc3e84e9c6313d8fc4c8fb57bc2713976d07284eae5d36ca4411d0e28eaae36351bbf7a6a16d9db365105e592d2e0cbccf7c3662f8d24114662422f02f0707d1 WHIRLPOOL 1f2e4451672c1c557efd5edca511504095196746b529e14a9ab1a7bbe82a243cd59ffc047561e066f4f54a65356e6c14e88e0b809609b3ba2ae12a696c0792d8
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="API for textual pattern matching based on the finite state automaton theory"
|
||||
HOMEPAGE="http://www.karneim.com/jrexx/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip -> ${P}.zip"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6"
|
||||
DEPEND="
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
JAVA_ENCODING="ISO-8859-1"
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source examples"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="JZlib is a re-implementation of zlib in pure Java"
|
||||
HOMEPAGE="http://www.jcraft.com/jzlib/"
|
||||
SRC_URI="http://www.jcraft.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
JAVA_SRC_DIR="com"
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
dodoc README ChangeLog
|
||||
use examples && java-pkg_doexamples example
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST tomcat-native-1.1.33-src.tar.gz 388787 SHA256 523dde7393c57307eedf4972ebbe19a9e9af6f7699e3b1ef6dabd7a11677866e SHA512 62b3c806cd926ca13878b514714a422f4a5d932ccaee4cc328c101cfa92fd890f708d1fb429320a42f1e340b46f70c82a07b9ecf6cbd9d03c0e719b95e24e09b WHIRLPOOL afb57fdf32becae8860ed042d74e27a7208759c4a7c16163148e65c986b4dcfa9521e83bbe0a3fa6874a87f577be2ad31a043d3ec1888c11faec7ace21035419
|
||||
DIST tomcat-native-1.2.3-src.tar.gz 387023 SHA256 36bf786371742c98ca8b167d3cb59ad2162169bdcaab122da8d0e923dc10742f SHA512 3e64525d1801d776ba9d0cfa568bfcec74144160354b376be078afb30d506adfdbadaf84a76ab557963ba64fc333c589a73e917faea020cdcf33e36e316945af WHIRLPOOL 2681e27bced3da011a585d9d455d10bfa16cd167093869a515fa582cf2608cfd5ff68e9b3575741b3c62bd0840036fd8b436314eaeb5a4475ed339d97b9a4b54
|
||||
DIST tomcat-native-1.2.4-src.tar.gz 387352 SHA256 29d53d4646229a839ccb71b7b3caa25c256aab1965c33cc9d140247213b9b171 SHA512 c080867510fb9006832172ee0b1997cee067c6e0275b3f9bdf94f69c14b9a02317352d9cadd8a41d366fb5f25c42f7f8af419e0b699aaa5eefee20db96559e97 WHIRLPOOL bf0acc6a78a79b51d3802fb1e1bfb0ec3e71993723a1be58c5ac14d6d24bab6e54fc9d505e4d5c0852ce335b6edc47c6b57f99055c875258fa0414a702e06fb2
|
||||
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit base eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Native APR library for Tomcat"
|
||||
|
||||
SLOT="0"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.tar.gz"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="Apache-2.0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-libs/apr:1
|
||||
dev-libs/openssl:=
|
||||
>=virtual/jre-1.7"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
test? ( dev-java/ant-junit:0 )"
|
||||
|
||||
S=${WORKDIR}/${P}-src/jni
|
||||
|
||||
src_configure(){
|
||||
cd native || die
|
||||
econf --with-apr=/usr/bin/apr-1-config \
|
||||
--with-ssl=/usr || die "Could not configure native sources"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant jar -f build.xml
|
||||
|
||||
cd native || die
|
||||
base_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "dist/${P}-dev.jar" "${PN}.jar"
|
||||
|
||||
cd native
|
||||
emake DESTDIR="${D}" install || die "Could not install libtcnative-1.so"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog " APR should be available with Tomcat, for more information"
|
||||
elog " please see http://tomcat.apache.org/tomcat-6.0-doc/apr.html"
|
||||
elog
|
||||
elog " Please report any bugs to https://bugs.gentoo.org/"
|
||||
elog
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Native APR library for Tomcat"
|
||||
|
||||
SLOT="0"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.tar.gz"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
KEYWORDS="amd64 x86"
|
||||
LICENSE="Apache-2.0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-libs/apr:1
|
||||
dev-libs/openssl:=
|
||||
>=virtual/jre-1.7"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
test? ( dev-java/ant-junit:0 )"
|
||||
|
||||
S=${WORKDIR}/${P}-src
|
||||
|
||||
src_configure(){
|
||||
cd native || die
|
||||
econf --with-apr=/usr/bin/apr-1-config \
|
||||
--with-ssl=/usr || die "Could not configure native sources"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant jar -f build.xml
|
||||
|
||||
cd native || die
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "dist/${P}.jar" "${PN}.jar"
|
||||
|
||||
cd native
|
||||
emake DESTDIR="${D}" install || die "Could not install libtcnative-1.so"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog " APR should be available with Tomcat, for more information"
|
||||
elog " please see http://tomcat.apache.org/tomcat-6.0-doc/apr.html"
|
||||
elog
|
||||
elog " Please report any bugs to https://bugs.gentoo.org/"
|
||||
elog
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST xp-0.5.zip 281324 SHA256 38b35ca80627afafdaa2140f7df339164abb5fceffe8b5783dadc75a05662a1d SHA512 5bf354967a1135209d5c6b3be979a311aa5c909493dea16a0efd31a1838dda12be4005ac7e919620ed68266a333fdc93a07853ec1e0af0e83b329bd40bda74b6 WHIRLPOOL 677a8a52ed3d656a1924cf54c82b4c0688c5736771b4add8e878c0e8ecd049efcc85e7f15b883004e4b7d469bbfc207585860e1c2ccfcaa6c4e2fc81cf05d6a5
|
||||
DIST xp.zip 281324 SHA256 38b35ca80627afafdaa2140f7df339164abb5fceffe8b5783dadc75a05662a1d SHA512 5bf354967a1135209d5c6b3be979a311aa5c909493dea16a0efd31a1838dda12be4005ac7e919620ed68266a333fdc93a07853ec1e0af0e83b329bd40bda74b6 WHIRLPOOL 677a8a52ed3d656a1924cf54c82b4c0688c5736771b4add8e878c0e8ecd049efcc85e7f15b883004e4b7d469bbfc207585860e1c2ccfcaa6c4e2fc81cf05d6a5
|
||||
|
@ -0,0 +1,30 @@
|
||||
diff --git a/com/jclark/xml/sax/Driver.java b/com/jclark/xml/sax/Driver.java
|
||||
index 2b0d90a..d1efd3e 100644
|
||||
--- a/com/jclark/xml/sax/Driver.java
|
||||
+++ b/com/jclark/xml/sax/Driver.java
|
||||
@@ -160,9 +160,9 @@ public class Driver extends ApplicationImpl
|
||||
|
||||
DTD dtd = event.getDTD();
|
||||
|
||||
- for (Enumeration enum = dtd.entityNames(DTD.NOTATION);
|
||||
- enum.hasMoreElements(); ) {
|
||||
- String name = (String)enum.nextElement();
|
||||
+ for (Enumeration enumx = dtd.entityNames(DTD.NOTATION);
|
||||
+ enumx.hasMoreElements(); ) {
|
||||
+ String name = (String)enumx.nextElement();
|
||||
Entity entity = dtd.getEntity(DTD.NOTATION, name);
|
||||
String systemId = entity.getSystemId();
|
||||
if (systemId != null) {
|
||||
@@ -173,9 +173,9 @@ public class Driver extends ApplicationImpl
|
||||
}
|
||||
dtdHandler.notationDecl(name, entity.getPublicId(), systemId);
|
||||
}
|
||||
- for (Enumeration enum = dtd.entityNames(DTD.GENERAL_ENTITY);
|
||||
- enum.hasMoreElements();) {
|
||||
- String name = (String)enum.nextElement();
|
||||
+ for (Enumeration enumx = dtd.entityNames(DTD.GENERAL_ENTITY);
|
||||
+ enumx.hasMoreElements();) {
|
||||
+ String name = (String)enumx.nextElement();
|
||||
Entity entity = dtd.getEntity(DTD.GENERAL_ENTITY, name);
|
||||
String notationName = entity.getNotationName();
|
||||
if (notationName != null) {
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="XP is an XML 1.0 parser written in Java"
|
||||
HOMEPAGE="http://www.jclark.com/xml/xp"
|
||||
SRC_URI="ftp://ftp.jclark.com/pub/xml/${PN}.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-jdk-1.7-enum.patch"
|
||||
)
|
||||
|
||||
java_prepare() {
|
||||
java-pkg_clean
|
||||
epatch "${PATCHES[@]}"
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
DIST XSB336.tar.gz 11823814 SHA256 3ac7448d7c323717d67edd09f37515ef991d71871ca3ce521975981fee1d9de7 SHA512 dc227e1338454a181ee2c3f84b2c8083bd4607252d89368a614a9894c5403eaf173fdc036a548aab8c6eb2ed7252e5e69a5caedff20710e83cf8c6ec66a8317a WHIRLPOOL bc48fe7dced9c3050253f2122507715abb0a528ba702432ca63a0385cccf47d9a8a1f47b901f779811c238d2015a368a420adbb93d4f68f0640396069112ad19
|
||||
DIST XSB337.tar.gz 12176947 SHA256 6deb73ed8774ff2e0414ee7a1af29a3768b964f3fe22e7579670d61c3ca7ff40 SHA512 e98c56ad7fb107252160a03a1c07567119921be6a06c7be22960f2334517ccc8799d8bc49d4e260697f5d5912dda0236dc697b4fb8016652b4f81255ae442883 WHIRLPOOL 2daac410add67fcdffcd47660d0bf52701626be23dd6c2400efbe21e2f3f02b5f11d5231e9fac19787369ddf9a8499d9c876889849078dcd4714ca0ed5c75f8a
|
||||
DIST XSB350.tar.gz 12122366 SHA256 f9664f89e56294d0d174d81b23ebd8314a5f9cc38816ee6ce5ab9d51bfeca63f SHA512 2ef45ef3427f331ad678deb41f7b9ef8bbc4f6d8ef6ec060e755115e91a002f3ac694c53f8f777d1b0790040f3318c23116a6b98c50faeeb541b3e9c2ed22e9f WHIRLPOOL bbdfea2ff42e28abfaf6532a46517c538fc391bef629589445903403435b2227adb2c6ce5705bc0edc16cb478b32f4b86a1250ad27b9b2fa91d49683e25ae887
|
||||
DIST XSB360.tar.gz 12842882 SHA256 bb8d2b30e598574e263ddb48b7569e5582953a0c4f8b16d55f6bbf306e9e7faa SHA512 2ac2f4d4c7501479648b7f618815d4cd996969791a617f2148ef7498cf08bacd67eab298136303b6804cb689129ae3365e1490ec693f2232f9c9f1ad515d9c6c WHIRLPOOL 057a1939ff4115c2fc4cd91f10458a4d89847b6394723ea05a4a86d9e7986ee3c03f7ff1b2eff2389ec3c1be7d20b69cdf77be016066cf261b2af131dfbb2176
|
||||
DIST xsb-3.3.6-gentoo-patchset-1.tar.gz 17711 SHA256 7630aa3497a80e6a39580bb050da8169318842de3f6b17a8b1f8a721ea6ec0e4 SHA512 a554833e974973f3bf6ad9d63d1e7bcbe358cfccdd35ad3f982375cfa171637484277c9c8be95c5eea34dac87845d02b6abc7d4675e1ff324c64603ae06338d1 WHIRLPOOL 5a0c6bfcc554e5c34f57acf1de2001bfbdea7e18e2ed1037409f58dc2151199c79af01f7d7cca8b7dea79bfe571fca8ff6b1f78ab368d7255e49dab8fe61fa3e
|
||||
DIST xsb-3.3.7-gentoo-patchset-0.tar.gz 18248 SHA256 2eaad6dedac906f207c24713d92115086196f3c626d1b0e0401c71b4bfe10038 SHA512 3943000e40abad25da8fef2983e059dadf6d794a5a40406a3fb9d7e29506afb0d5ad1d86b0825849ea7dd9741fdfafa2b71fc2fd26cc2b679e39d85f76a91959 WHIRLPOOL d2d51c482d1ff207709c8ed280eb148c632d81d4670ead646c8eb5a62651932dbe292adca03060d1b591405fdbad274be1b767fd3e19e5a4f4e4da3fd4277ea6
|
||||
DIST xsb-3.5.0-gentoo-patchset-0.tar.gz 5337 SHA256 3dbdbc3bbbfeac4083221ec89d524026fa9ec8a528baacb1c1e3495629a0bbee SHA512 a1158d4480dada855c3cdb80b065b1c3ac2c9b7e8da16ce0a39e7ffb70821c547ae2ba3bf1776a2c70f02bf85828bedbaa81cf4be469c7aeced5d8df541aa998 WHIRLPOOL 1b61a1136433e3119eb6a4018adf8aafd67bbc90333452fb9cb4ac49957a05fd4b40fd64ef7bfc5e472cd2c4277d62f8d3b5db1bf3f9e5f9d396133ae78c8e84
|
||||
DIST xsb-3.6.0-gentoo-patchset-2.tar.gz 7051 SHA256 14fe682df72677e09c9ecaee7a1ef1b0f8f155344789ce90a917bc5a02735947 SHA512 285211c9d1fa52acff707b0ad38f3da06374b8ac187ad66e9148508cbc0ec5c0f60b3e4461705b072510360ce72f81b5d5cfa4bbd1258510e7abfbbe8f0788b0 WHIRLPOOL 5c82f3b268a86b0f5bdbf0a4ffbe755253367d6d84cb24f7c6c2bf216833fb40afe4ca357148c882d57cc754cd75fc1ff7beca3084eeb104a015581e5872b337
|
||||
|
@ -0,0 +1,201 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_P="XSB${PV//./}"
|
||||
|
||||
PATCHSET_VER="2"
|
||||
|
||||
inherit eutils autotools java-pkg-opt-2
|
||||
|
||||
DESCRIPTION="XSB is a logic programming and deductive database system"
|
||||
HOMEPAGE="http://xsb.sourceforge.net"
|
||||
SRC_URI="http://xsb.sourceforge.net/downloads/${MY_P}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="curl debug iodbc java mysql odbc pcre threads xml"
|
||||
|
||||
RDEPEND="curl? ( net-misc/curl )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
java? ( >=virtual/jdk-1.4:= )
|
||||
mysql? ( virtual/mysql )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
xml? ( dev-libs/libxml2 )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"/XSB
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
|
||||
cd "${S}"/build
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}"/build
|
||||
|
||||
econf \
|
||||
--prefix=/usr/$(get_libdir) \
|
||||
--disable-optimization \
|
||||
--without-smodels \
|
||||
$(use_with odbc) \
|
||||
$(use_with iodbc) \
|
||||
$(use_enable threads mt) \
|
||||
$(use_enable debug)
|
||||
|
||||
if use curl ; then
|
||||
cd "${S}"/packages/curl
|
||||
econf
|
||||
fi
|
||||
|
||||
if use mysql ; then
|
||||
cd "${S}"/packages/dbdrivers/mysql
|
||||
econf
|
||||
fi
|
||||
|
||||
if use odbc ; then
|
||||
cd "${S}"/packages/dbdrivers/odbc
|
||||
econf
|
||||
fi
|
||||
|
||||
if use pcre ; then
|
||||
cd "${S}"/packages/pcre
|
||||
econf
|
||||
fi
|
||||
|
||||
if use xml ; then
|
||||
cd "${S}"/packages/xpath
|
||||
econf
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/build
|
||||
|
||||
emake || die "emake failed"
|
||||
|
||||
# All XSB Packages are compiled using a single Prolog engine.
|
||||
# Consequently they must all be compiled using a single make job.
|
||||
|
||||
cd "${S}"/packages
|
||||
rm -f *.xwam
|
||||
emake -j1 || die "emake packages failed"
|
||||
|
||||
if use curl ; then
|
||||
emake -j1 curl || die "emake curl package failed"
|
||||
emake -j1 sgml || die "emake sgml package failed"
|
||||
if use xml ; then
|
||||
emake -j1 xpath || die "emake xpath package failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use mysql ; then
|
||||
emake -j1 mysql || die "emake mysql package failed"
|
||||
fi
|
||||
|
||||
if use odbc ; then
|
||||
emake -j1 odbc || die "emake odbc package failed"
|
||||
fi
|
||||
|
||||
if use pcre ; then
|
||||
emake -j1 pcre || die "emake pcre package failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/build
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
local XSB_INSTALL_DIR=/usr/$(get_libdir)/xsb-${PV}
|
||||
dosym ${XSB_INSTALL_DIR}/bin/xsb /usr/bin/xsb || die
|
||||
|
||||
cd "${S}"/packages
|
||||
local PACKAGES=${XSB_INSTALL_DIR}/packages
|
||||
insinto ${PACKAGES}
|
||||
doins *.xwam || die
|
||||
|
||||
insinto ${PACKAGES}/chr
|
||||
doins chr/*.xwam || die
|
||||
|
||||
insinto ${PACKAGES}/clpqr
|
||||
doins clpqr/*.xwam || die
|
||||
|
||||
insinto ${PACKAGES}/gap
|
||||
doins gap/*.xwam || die
|
||||
|
||||
insinto ${PACKAGES}/justify
|
||||
doins justify/*.xwam || die
|
||||
doins justify/*.H || die
|
||||
|
||||
insinto ${PACKAGES}/regmatch
|
||||
doins regmatch/*.xwam || die
|
||||
insinto ${PACKAGES}/regmatch/cc
|
||||
doins regmatch/cc/*.H || die
|
||||
|
||||
insinto ${PACKAGES}/slx
|
||||
doins slx/*.xwam || die
|
||||
|
||||
insinto ${PACKAGES}/wildmatch
|
||||
doins wildmatch/*.xwam || die
|
||||
insinto ${PACKAGES}/wildmatch/cc
|
||||
doins wildmatch/cc/*.H || die
|
||||
|
||||
if use curl ; then
|
||||
insinto ${PACKAGES}/curl
|
||||
doins curl/*.xwam || die
|
||||
insinto ${PACKAGES}/curl/cc
|
||||
doins curl/cc/*.H || die
|
||||
insinto ${PACKAGES}/sgml
|
||||
doins sgml/*.xwam || die
|
||||
insinto ${PACKAGES}/sgml/cc
|
||||
doins sgml/cc/*.H || die
|
||||
insinto ${PACKAGES}/sgml/cc/dtd
|
||||
doins sgml/cc/dtd/* || die
|
||||
if use xml ; then
|
||||
insinto ${PACKAGES}/xpath
|
||||
doins xpath/*xwam || die
|
||||
insinto ${PACKAGES}/xpath/cc
|
||||
doins xpath/cc/*.H || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if use mysql || use odbc ; then
|
||||
insinto ${PACKAGES}/dbdrivers
|
||||
doins dbdrivers/*.xwam || die
|
||||
doins dbdrivers/*.H || die
|
||||
insinto ${PACKAGES}/dbdrivers/cc
|
||||
doins dbdrivers/cc/*.H || die
|
||||
if use mysql ; then
|
||||
insinto ${PACKAGES}/dbdrivers/mysql
|
||||
doins dbdrivers/mysql/*.xwam || die
|
||||
insinto ${PACKAGES}/dbdrivers/mysql/cc
|
||||
doins dbdrivers/mysql/cc/*.H || die
|
||||
fi
|
||||
if use odbc ; then
|
||||
insinto ${PACKAGES}/dbdrivers/odbc
|
||||
doins dbdrivers/odbc/*.xwam || die
|
||||
insinto ${PACKAGES}/dbdrivers/odbc/cc
|
||||
doins dbdrivers/odbc/cc/*.H || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if use pcre ; then
|
||||
insinto ${PACKAGES}/pcre
|
||||
doins pcre/*.xwam || die
|
||||
insinto ${PACKAGES}/pcre/cc
|
||||
doins pcre/cc/*.H || die
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
dodoc FAQ README || die
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST qcustomplot-sharedlib-1.3.1.tar.gz 1926 SHA256 214b4dc82c612822b46976159864cc34732ebf0ce717bbe6d930760374344495 SHA512 1debdffed022dd3cd419d0a928176b6b0b1365739feaf8ca69458a9c6e16aa64c95d9b68eed2cde0699d7ab82e5dd66bcff8bbdb2f26e4a14e3186b3350342e6 WHIRLPOOL a51fd6ec8e46619a61b778656475ee2b3ff194d2b15c160246b1689f1b945160beece5a8762bf3fb1c8e9bc7f0cd570472379b0a679138d80609d6c3b38b481b
|
||||
DIST qcustomplot-sharedlib-1.3.2.tar.gz 1924 SHA256 18af836d2ac32f0dc2a4b1485c3038f4f5f3acf07550d86077ba5871e54bb269 SHA512 645d71c9d63ccd324f341778556f0b9ddceb3fee87b037c66f7ea7624973e24e292da7539861ffa1c8545cc0691a1041110b25d688f0b3d8787a44798a5e190e WHIRLPOOL d7ff5ffa460ac6b05816f1705f29ea82bbd709ca131ad3dc496abab1e718524f1dbe536dfaf726b0508143dbc76256a080fad8544c4e4412e58b980309e1aa2a
|
||||
DIST qcustomplot-source-1.3.1.tar.gz 224892 SHA256 b557728956945931ff75d21c0894c52a6341850ad246811affdda8b10bbc8486 SHA512 ce5d74d7ae1fb8f4547368c712e3e6f5192cf64df9ece4b055910f0ab4c4244446b3869f078214e38bb5337e755647e07f9a111f96553172b7960ae434d7800b WHIRLPOOL c1d3a817bf389d2e64df489961f072d5b0317c321a3a5d77f5176e8200ea01dc721953a396cd63e87a8ae1ece79406b3b6e6453af0c9550272850eb4f6ac33c4
|
||||
DIST qcustomplot-source-1.3.2.tar.gz 225912 SHA256 a3649824c6d2d08efb0b54629e6ffe4cc57fa08ad9eb9f39edbb0c30b9659b51 SHA512 0e9fefd3f6e4428009428d3155b1a26e1d4b2a62567ca7812cefa67c06fa53f301229d8bd2c3abbe0fb7ddacb9a07515522ded56c0745cd31b1f85323d4499fb WHIRLPOOL fb5c59c71aee5fc95af9a75054f7a41a28eac7c70f296cf1b0dc4a58927f73b94a5b02203b520e367f673e4741959d195cebe6f50141be8157122aa249ea6c4a
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="Qt C++ widget for plotting and data visualization"
|
||||
HOMEPAGE="http://www.qcustomplot.com/"
|
||||
SRC_URI="
|
||||
http://www.qcustomplot.com/release/${PV}/QCustomPlot-sharedlib.tar.gz -> ${PN}-sharedlib-${PV}.tar.gz
|
||||
http://www.qcustomplot.com/release/${PV}/QCustomPlot-source.tar.gz -> ${PN}-source-${PV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="qt5"
|
||||
|
||||
RDEPEND="
|
||||
!qt5? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}-source
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e 's:../../::g' \
|
||||
-e '/CONFIG/s:shared.*:shared:g' \
|
||||
"${WORKDIR}"/${PN}-sharedlib/sharedlib-compilation/sharedlib-compilation.pro > ${PN}.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use qt5 && eqmake5 || eqmake4
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so lib${PN}*
|
||||
doheader ${PN}.h
|
||||
dodoc changelog.txt
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST radius-1.2.7.tgz 35779 SHA256 c4b229b4ee016c13bad326f4eb6b9f3698daed3c559a2d9e7fe05b459334bb34 SHA512 76d8fe4722a25b912e5fcfb3df79027384ce5037c6abec038abdb398698345463bdd17163294dd2734e440a6350380a27d2d2eba525bfc7285b953f726ac4ed5 WHIRLPOOL a8c6b58a166c1763bd5335ef79dfefdec270b6440646f9311200bd375f03fda6693792bdd39504247df16fff05e263fdc1f6e3cca9520a46f820ffd589691a11
|
||||
DIST radius-1.3.0.tgz 43060 SHA256 b0431ec6769ff1ec564d95782f7b91de06a7ac3297745bbbc9d1c274bfc4de15 SHA512 79126a852701e77f782283b0cf2ad99cb05418c69ed39d70608f62021f3da06f5e5867ac5b09cc75806feeb3d1a06f24eeb6ff4e56cb2fde5f05bcd198b5a661 WHIRLPOOL 767056aaed97fb46ac9b4cf603b9e2b0ae111079d7be5cf2fd262a1f166d195e1fb46877d0f4b21cf0251db2500dc5d63c4506f61762cc0304816ebf8c7f2f1b
|
||||
DIST radius-1.4.0b1.tgz 50953 SHA256 97dcf2e497131a20804cc508873a123012b773f42d077af398334f3caf86ee54 SHA512 db6ebe928673db1ff4c565338010ef5acf6029844994eb240f2e8eaeda4aff734ed300a7ddf16c09e245671aad377283f99cf1c485569b3bad0c7c7b24a19664 WHIRLPOOL cf6663dc1bcf4b7cb9d5e3cac0f8e44107c56634598611d042b98e46b467de5ebbdb999a16a2974ee0b455cbeb77191944366dc6c16ba5c50d58fb7caab381a2
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PHP_EXT_NAME="radius"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
USE_PHP="php7-0 php5-6 php5-5"
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Provides support for RADIUS authentication (RFC 2865) and accounting (RFC 2866)"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="examples"
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_{3,4,5}} pypy )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="A CSS Cascading Style Sheets library"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/cssutils/ https://bitbucket.org/cthedot/cssutils"
|
||||
# Missing test data
|
||||
# https://bitbucket.org/cthedot/cssutils/pull-request/11
|
||||
#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
HG_COMMIT="6fbc1877f6089610b733a92d21c2bbf25dc1ca28"
|
||||
SRC_URI="https://bitbucket.org/cthedot/cssutils/get/${HG_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable test failing with dev-python/pyxml installed.
|
||||
if has_version dev-python/pyxml; then
|
||||
sed -e "s/test_linecol/_&/" -i src/tests/test_errorhandler.py
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
ln -s "${S}/sheets" "${BUILD_DIR}/sheets" || die
|
||||
set -- nosetests -P "${BUILD_DIR}/lib/cssutils/tests"
|
||||
echo "$@"
|
||||
"$@" || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST jaraco.collections-1.3.1.tar.gz 8616 SHA256 27e3d67f94372d70be25f46a48796441ca719aedbd4a411835e71e88455bbe66 SHA512 812fbb66543e204f09f4dc35fc43888b3e8e1cbbf4a2a0e75a0589286e1ee5b303dc30b93696d8fc952bb3dddab95d8ed5ddb09ad4511ad4e12069fb87a93386 WHIRLPOOL c8730e3bd1eb1950b523ce62e31f7e2d2fd46bacdcacd7c57b9b55f95cff51e025e47813af1777d362f83401822a4015fdd386e977bbbd26f9c1a130ff7aa65a
|
||||
DIST jaraco.collections-1.3.2.tar.gz 8965 SHA256 8587fcfa89d81d639687184502cddb4868e3dc5b9a73827ee2bfe8455ab27e57 SHA512 2369e9194fba5b25294ff5977def201b14d1ae72ddce08b5163995fcb530e55046f24354a0144f9272e822c38b468f493f262d56d2d0f6edab315be90f5fca70 WHIRLPOOL adb24717b71bce2f4d4ccae216eb9fd638bd8457a6c465c73fff32e045900ca08e8cc3a2bd49e9f55f6d7897caaae2894a74c10eac343c40498e7ab2a18c712a
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN/-/.}"
|
||||
DESCRIPTION="Models and classes to supplement the stdlib collections module"
|
||||
HOMEPAGE="https://github.com/jaraco/jaraco.collections"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
PDEPEND="dev-python/jaraco-text[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/jaraco-classes[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-runner[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_prepare_all() {
|
||||
if use test; then
|
||||
if has_version "${CATEGORY}/${PN}"; then
|
||||
die "Ensure $PN is not already installed or the test suite will fail"
|
||||
elif ! has_version "dev-python/jaraco-text"; then
|
||||
die "Ensure dev-python/jaraco-text is installed or the test suite will fail"
|
||||
fi
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ptyprocess-0.5.1.tar.gz 68474 SHA256 0530ce63a9295bfae7bd06edc02b6aa935619f486f0f1dc0972f516265ee81a6 SHA512 9e7481e8e3facde73086ef0728a57516a15b6bc2a5fb6bf6d6f892c396c9376d9d6334ee37737f3469929c4086d5678a2c5deaf44d70589d41644a98f2239dad WHIRLPOOL ba327a02a847f7c5e4b62e6bf8ba0f070f8a22ff584045d7ed3cc134f8a922b9d75e397992cd5df5ca4569f563d234ea2a194b5a557606978a37a4f04559ee1e
|
||||
DIST ptyprocess-0.5.tar.gz 14923 SHA256 dcb78fb2197b49ca1b7b2f37b047bc89c0da7a90f90bd5bc17c3ce388bb6ef59 SHA512 6619bfc1dfc7c980ffc72dba62697692eb749f19500616e8783cfdc3c35980276eb39070f4cd7932775abb5e798c921b9320c5f51b9052f526585f01cd56259e WHIRLPOOL b1bd0da485ea106a3d366ab21dc714418b8d392a32fc3386ef734362da8ee455a38f9330cedfe35687be09bea3ff622c54440119fca72d7787d9a29518717b77
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Run a subprocess in a pseudo terminal"
|
||||
HOMEPAGE="https://github.com/pexpect/ptyprocess"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
py.test --verbose --verbose || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST PyAudio-0.2.9.tar.gz 289499 SHA256 bfd694272b3d1efc51726d0c27650b3c3ba1345f7f8fdada7e86c9751ce0f2a1 SHA512 1b1209a5ff808253c4f6edbc3cbde6a6efb99c1ee56b4f7a0e889b3936420e79fa41e1cd2a92e3ddff9bb26900527fd4b54133db0a8877ea20c99775b4f206a3 WHIRLPOOL 6e7155b53648721cca9b5f42d3c5cb0a034936a56bbab74549325f221ed004c1bab908a731d446e3731132f7c60d209d97b7da0b79d57f79857d431b661dc144
|
||||
DIST pyaudio-0.2.8.tar.gz 235900 SHA256 4f85367cf79657616684487037957ac38582ecc5389b89420fe61d901b719551 SHA512 af85291932809ceb966d1ace3c866cb6ac7e039b936ca35be668d4a3dc78c53e516070902d35fa6c829b37db376b8b512dc926ff1079e039809cae067be93069 WHIRLPOOL dae98752b6b885ce6f5247b9914fc9fcfd6264030c5f57c7276c6468de79ffdf30ea6196325ab0ff34b6997157ab97f6068ffa6ee27e137bab96c1589723550d
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="PyAudio"
|
||||
|
||||
DESCRIPTION="Python bindings for PortAudio"
|
||||
HOMEPAGE="http://people.csail.mit.edu/hubert/pyaudio/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="media-libs/portaudio"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/PyAudio-${PV}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pycountry-1.18.tar.gz 5020542 SHA256 23bb173d0281e98eb7b432d8dc6819e5fe6573e505454d228558f61e1f5ae1e6 SHA512 eab2bf1711f514b3842aee6004a904573e974b13757cf3c1a388eb8a292d92e3bdb801265a1c146df5fd510bd830297ddfcc64e41c0ed17c385335837f6721dc WHIRLPOOL c697250bbe13e9b471e0b19857d4afcfdaaf85410a07131727e75c23ac5d7f214682e993f1d799c26417e79ae78b83400e0e3401d2bcbb4afae5d40bf9456346
|
||||
DIST pycountry-1.19.tar.gz 5022557 SHA256 132ecf3343e4bde8fd0c48a4345a4a8a6144fbdcdaf190a43a7e34c99e91be4d SHA512 850d32504c984d1e2959a909fc367da402b1d1adf4f19914fbbf61784fe30487c5ea92e5579ecfd80bff040cffabc9335d55589df32f54af0de032e042a49c77 WHIRLPOOL c21da359d57573e983db9e9d6c5a556e15c4db1436624b6645af24946338d1728beac8ab7c1cc4e66e8a3571f60c1d5e7b398151a322670c1ad7caa21d6ab19f
|
||||
DIST pycountry-1.20.tar.gz 5024012 SHA256 0588efa3171e1d5e4cc96fce569ac865964285fdc8dbdc0860844f74598d1f98 SHA512 316e37b4cd800d87f010282a79e47b833b4ee836342ae0e672a5d115c543a8a0e3f508cc4498367aa254317e9747483c7026dac7273d3daa19acd2153635f854 WHIRLPOOL 2516662d06148c5fd3a10efb9715113cf13abe7183fe4b94491b473a24dc47b4d626a77489365b4f2e02a0cc7417ef59dfea21b2b142876981075fc5b05e7d62
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Database of countries, subdivisions, languages, currencies and script"
|
||||
HOMEPAGE="https://bitbucket.org/flyingcircus/pycountry"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~sparc ~ppc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
# https://bitbucket.org/techtonik/pycountry/issue/8/test_locales-pycountry-015-pypy
|
||||
pushd "${BUILD_DIR}"/lib > /dev/null
|
||||
if [[ "${EPYTHON}" == pypy || "${EPYTHON}" == pypy3 ]]; then
|
||||
sed -e 's:test_locales:_&:' -i pycountry/tests/test_general.py || die
|
||||
fi
|
||||
py.test ${PN}/tests/test_general.py || die
|
||||
popd > /dev/null
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A python SVG charts generator"
|
||||
HOMEPAGE="http://pygal.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]
|
||||
media-gfx/cairosvg[${PYTHON_USEDEP}]"
|
@ -1 +1,2 @@
|
||||
DIST PyGreSQL-4.1.1.tgz 100883 SHA256 bb14092f97c66ed13b8faf71471b8c156c6b46d915858447f3a63e9abe48eef7 SHA512 4b37c56f2112471aa5f3003a1d867382ce1b7510afa0963f0ceeb2f8175ca601bb5bade9ea2038d44a1041f12233e364f138a635bb7b353d0a82aeb7d9d49b7f WHIRLPOOL 323bfd1b72341be6b14d71fd4f05f5005a0f8a387f9b050ef3c786531ea19e057aa67fb5737b5aa0c4ca0912ad697a39d8957d70bb6bb4056e81f406ade5a6b9
|
||||
DIST PyGreSQL-4.2.zip 1377728 SHA256 c57adc6b76e8b513e819b8f36710cf906d21617ff6513a0c4dad4acecdfccf3c SHA512 84044480c3f25548137240ac999334546b87987ac6c601608bcae057cf93567f0eb24e343f6ee214ea87e09ac6bd5ce80cfeb5f75deb7896e87b001a2099c78f WHIRLPOOL cac5d4fed22e51316c3c8cc0de367dc5998642c1425a944b147ed059ee3f70387ac704f8465b6fdbde0802e92c21369f0171c2dc0ee2ebbc1e7f0c827b5b900d
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
POSTGRES_COMPAT=( 9.{0,1,2,3,4,5} )
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="PyGreSQL-${PV}"
|
||||
|
||||
DESCRIPTION="A Python interface for the PostgreSQL database"
|
||||
HOMEPAGE="http://www.pygresql.org/"
|
||||
SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.zip"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="|| (
|
||||
dev-db/postgresql:9.5
|
||||
dev-db/postgresql:9.4
|
||||
dev-db/postgresql:9.3
|
||||
dev-db/postgresql:9.2
|
||||
dev-db/postgresql:9.1
|
||||
dev-db/postgresql:9.0
|
||||
)"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Verify that the currently selected PostgreSQL slot is set to one of
|
||||
# the slots defined in POSTGRES_COMPAT.
|
||||
postgres_check_slot() {
|
||||
if ! declare -p POSTGRES_COMPAT &>/dev/null; then
|
||||
die 'POSTGRES_COMPAT not declared.'
|
||||
fi
|
||||
|
||||
# Don't die because we can't run postgresql-config during pretend.
|
||||
[[ "$EBUILD_PHASE" = "pretend" && -z "$(which postgresql-config 2> /dev/null)" ]] \
|
||||
&& return 0
|
||||
|
||||
local res=$(echo ${POSTGRES_COMPAT[@]} \
|
||||
| grep -c $(postgresql-config show 2> /dev/null) 2> /dev/null)
|
||||
|
||||
if [[ "$res" -eq "0" ]] ; then
|
||||
eerror "PostgreSQL slot must be set to one of: "
|
||||
eerror " ${POSTGRES_COMPAT[@]}"
|
||||
return 1
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
postgres_check_slot
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
postgres_check_slot || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( docs/*.rst )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}/tutorial
|
||||
doins tutorial/*
|
||||
dohtml docs/*.{html,css}
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pyldap-2.4.20.tar.gz 122175 SHA256 9f3c5679e6a2c26a852d0468c538239e458a39ee86ddbbd2f1ec5c6fc73a3755 SHA512 f29df58fa1617b8b61631ad4532fde7569dd9742d141e31c1724568c0b46ed63cbc83135089196a07e4dca22d76f05f3c5a74e9b1e8034e5673196912baa8642 WHIRLPOOL 27dcf5919b83e3236b2b18b02943080fe5f5e48e5e931f27dfae45612c075e58bd798bee1f52dde8674571f377dd99479ef0f4a4e917f8c55962cce51fc150a3
|
||||
DIST pyldap-2.4.21.tar.gz 124575 SHA256 7a2b1dc31679466db11320b91bd2058574ba25ef27224967040918046ff4c450 SHA512 14aa87421017cd8ba4dc9c9787995ab28c0a656bc665c82de0eaaf4dfe312c731e98bb30f8de5200f23518e9d18d0265eed8a77c1aa58a0551e2d06dbc91a292 WHIRLPOOL 466ed66c77be629b0184efabb2ca5129e0d7d7b9a600f122b875287157c6b7ceb4af9d325c1f17e9f49233739fe8071373d900b0b435a730480eabf365178565
|
||||
DIST pyldap-2.4.25.tar.gz 125234 SHA256 6a81ff791ee82fc246af724904d5d38f5fac97f5698a68e2907eaa5bb00bcc79 SHA512 23c34c0510d0e44f3d5d3af7c683ff41384c7fd06213ff50b14e43db27a1d1cdcc7c63477503f049ce7cbd1584ab1da0c0a88acb74b3ca7e05f3a841565e4713 WHIRLPOOL f537212124f2719507eee111801e985b6051d77e07a143fed5f4721ef0899ed4dd95d99eabfc3dd423401575f374448ed6b45f7546385eb983926be636d60efe
|
||||
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
|
||||
|
||||
inherit distutils-r1 multilib
|
||||
|
||||
DESCRIPTION="Various LDAP-related Python modules"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/pyldap https://github.com/pyldap/pyldap/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-solaris"
|
||||
IUSE="doc examples sasl ssl"
|
||||
|
||||
# If you need support for openldap-2.3.x, please use python-ldap-2.3.9.
|
||||
# python team: Please do not remove python-ldap-2.3.9 from the tree.
|
||||
# OpenSSL is an optional runtime dep.
|
||||
# setup.py sets setuptools and misses pyasn1 and pyasn1-modules in install_requires
|
||||
RDEPEND="
|
||||
>net-nds/openldap-2.4.11
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
|
||||
sasl? ( >=dev-libs/cyrus-sasl-2.1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
RDEPEND+=" !dev-python/python-ldap"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e "s:^library_dirs =.*:library_dirs = /usr/$(get_libdir) /usr/$(get_libdir)/sasl2:" \
|
||||
-e "s:^include_dirs =.*:include_dirs = ${EPREFIX}/usr/include ${EPREFIX}/usr/include/sasl:" \
|
||||
-i setup.cfg || die "error fixing setup.cfg"
|
||||
|
||||
local mylibs="ldap"
|
||||
if use sasl; then
|
||||
use ssl && mylibs="ldap_r"
|
||||
mylibs="${mylibs} sasl2"
|
||||
else
|
||||
sed -e 's/HAVE_SASL//g' -i setup.cfg || die
|
||||
fi
|
||||
use ssl && mylibs="${mylibs} ssl crypto"
|
||||
use elibc_glibc && mylibs="${mylibs} resolv"
|
||||
|
||||
sed -e "s:^libs = .*:libs = lber ${mylibs}:" \
|
||||
-i setup.cfg || die "error setting up libs in setup.cfg"
|
||||
|
||||
# set test expected to fail to expectedFailure
|
||||
sed -e "s:^ def test_bad_urls: @unittest.expectedFailure\n def test_bad_urls:" \
|
||||
-i Tests/t_ldapurl.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C Doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# XXX: the tests supposedly can start local slapd
|
||||
# but it requires some manual config, it seems.
|
||||
|
||||
"${PYTHON}" Tests/t_ldapurl.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( Demo/. )
|
||||
use doc && local HTML_DOCS=( Doc/.build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST Pyphen-0.8.tar.gz 962586 SHA256 378169ce89b8d3b6a0b95bbfdedc9da8c428d6b7c98ff6498ff41c390702a21a SHA512 230ae11fa3aabba52c923a562284cbc9051c42aa8bc6336bf7e66a47db8974adb3fe136f605bac4cb8c5dee20e68181e6fb3b0c5726a35ab85d11ac5e30c537a WHIRLPOOL 6a7ce38c2d0ca801d58464de8d2c184b28762ecb7b469494675ae87384bbf76cd333d4e3c7aeb32c75cc37c40d5169bb8dd833e3d979e421475ebd6ec5dc8092
|
||||
DIST Pyphen-0.9.1.tar.gz 1020062 SHA256 f518012a3296689b13f80a879ed75d1f876e6d9c09f982b114e78847407aa515 SHA512 b3fd71aab1a85d7a8a482907f5bffec1179a29ec3cbeef02a59d8ec975b57d3d667b47c7014b27ee08edeef5d652fcc2d091062e67e4ff2897cd37bcd93ad174 WHIRLPOOL e68bbf476880fd7c40d7b762e684835b51396a6c005d310faef51da6fe89df3c8fb1d98c5897de102248232ec0152c1a2687ff941c9f3391df646c2439195e1b
|
||||
DIST Pyphen-0.9.4.tar.gz 1092404 SHA256 abfa9a0ab055341f6e250c1a6bef395c3a06f0e4cba216eeef37f617b32c0bd7 SHA512 b48dcf02c5cdf5d7ee6d6968644958af9f31fba046612016d9ae1b8cfe44d438fe769592961f93f3342cc3f3af2dfc6cd40bbfe1be67e59de9a352c33f102917 WHIRLPOOL 23237754ef3b64aa47f3744660a025e3654498787303930563a2e2b6f6886323cc8b606d23c41067559cef237b1fcba0ee1cc3dad5699c1a4faabdaf66a7d205
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python module for hyphenation using hunspell dictionaries"
|
||||
MY_PN="Pyphen"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
HOMEPAGE="https://github.com/Kozea/Pyphen"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+ MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1,3 +1,4 @@
|
||||
DIST pyquery-1.2.11.tar.gz 43556 SHA256 4a832ba73bfba03486f5445c75993a26bf62d38d26ff5fcfbde06a7bd0087fc6 SHA512 56ee20e0aefdd290069151d5085a876d6502a226ced72bd43e3e88572f31eecee7abecf4bdd38a1a17685021328963e9fe45eaaac121dc880bcb6ba74b8df12d WHIRLPOOL 70efeec9e2c3b28656c2af8221c4e74794b3799ddddffc8d1e3bb4dd43e70ca8c932966d9e332fcfcb8df7b3f342c70b8cb11b8b1cc8354e9d88294053174f1c
|
||||
DIST pyquery-1.2.4.tar.gz 23999 SHA256 1c39f786c42430279eadf787f1ef06873f15c9acba2698c23dfd925ac7b169d7 SHA512 77ec2efab157f693361e1dcbeabd7cac0709d3a8a25b6c47eb333be49c1485c7fa50b4fd9238bfff69657368130c2886cf6e0705415bdf1b48dc434365539c29 WHIRLPOOL 3fece4f710d69a0b57ab858f759196b269984a38af568003f7280215763c67b1e229feaf80f27b359a5da923248a11335026af4de85806ea6fc969c61c197685
|
||||
DIST pyquery-1.2.8.zip 42552 SHA256 59af39301bad397e085e5080987f94ef30672f1cf8e73d19d3307b3b63c3cb4b SHA512 9d344a5c4b0dd565e31c803ceecb217c71f9a70badbc65f9fcfb4a2cccb725a1bf938ed0b1697dcfdf0ec967321dccc1916a884ffdb0af9828a65005f63c47d7 WHIRLPOOL 5c98c3e7584d429a7c9bca564aac04e5dc6f579265aa9b8b768e167cdfcc57758b0d728b3102a56af75fa6ea838a6c1927e733a5171d3266574ba2b34ee85209
|
||||
DIST pyquery-1.2.9.zip 45289 SHA256 46c51eb878b787e814ee8f9737b0a62111034aeb4d1c06450ac5a8ea5a70e602 SHA512 f5152b471c896b39032add6a7f0e6ce63f426b4903bc7cf9eef12723c73453b40c310dd1497a7c4189fc6faaf804690fd91fb6d2f97fb6c4d6314682de4b8d05 WHIRLPOOL a57bb04402a3a8af98e7073d2b4e415a3e455bb67b4dc946831832f24339fe29fcd560123651abb3ae38c4ee9da3973638d27e064122702c0d1dd63d971fb67b
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="A jQuery-like library for python"
|
||||
HOMEPAGE="https://github.com/gawel/pyquery"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/lxml-2.1[${PYTHON_USEDEP}]
|
||||
>dev-python/cssselect-0.7.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.1.9[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
app-arch/unzip
|
||||
test? ( ${RDEPEND}
|
||||
dev-python/beautifulsoup:python-2[$(python_gen_usedep 'python2*')]
|
||||
dev-python/beautifulsoup:python-3[$(python_gen_usedep 'python3*')]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/webtest[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/restkit[${PYTHON_USEDEP}]' 'python2_7') )"
|
||||
|
||||
python_test() {
|
||||
# The suite, it appears, requires this hard setting of PYTHONPATH!
|
||||
PYTHONPATH=. nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pyscard-1.9.1.tar.gz 360952 SHA256 62ebeaaaea0b98e053f95ae9b357ab7ebb8901acb1100b77dbb421bfd84bea8e SHA512 97e56dde8e78c73bbda07ba8b418e1877a02ec54094b3b02bd6d6e8b4326b9ea61124ce89d6c2c5a6c9e4c92f3f1e576a02bf26bd8977cbed7a71c32ed96f151 WHIRLPOOL 6a232f62ab72b361892bd003d3764e38c3abd67f505ba8f0d49e867fc83ce39abc0ec7d6cfc258a533d5d8fa49c732d899a72d9d61072b5910417dc23cf2cbfd
|
||||
DIST pyscard-1.9.2.tar.gz 145287 SHA256 390b5f9393c04a2b3491a65c326fe045d2955a780ca675635ce2c74367d3fbba SHA512 8579dce6f31348581dbe5dfb6ebeceb35dd43ad6a903d02e00c55ab86353ae429501f0486a35b4916c26e6e380e07400dcd43d039ce18cbebe5061238c624e67 WHIRLPOOL 6d3dba315582e275cfccfa136c6475f1944a571f87405258f0bae86506b74b5b63134d6b3b4678a059692768035b31b0d83f8224d0efe8e31c6d1ba715735b42
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Smart cards support in python"
|
||||
HOMEPAGE="http://pyscard.sourceforge.net/ https://pypi.python.org/pypi/pyscard"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-apps/pcsc-lite"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools
|
||||
dev-lang/swig"
|
||||
|
||||
# Fails
|
||||
RESTRICT=test
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Gui support" dev-python/wxpython
|
||||
optfeature "Support of remote readers with Pyro" dev-python/pyro
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST sawyer-0.7.0.gem 15872 SHA256 72e855027c812f2cad7f4fa4746cab07727dde91d75516d353c155002846c4b2 SHA512 8f63adfc9c544f88280a18e7bab25c193d6e0aab5973f07774b838c40ce7f7da6f148d6122ccd9e3824eb292389d994c84e2460460f7b6f9f340b27f331d59bd WHIRLPOOL 4e6822ed65c38051c765d6bafe416bb033fd35e2555baff2844be0cc317aea1dd0b50870e6a6c2c5ade8f6a5ab1fb6c16c2330b8e509f82a345d140bb68e4bd3
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">lostisland/sawyer</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md SPEC.md"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="Secret User Agent of HTTP"
|
||||
HOMEPAGE="https://github.com/lostisland/sawyer"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/faraday
|
||||
dev-ruby/addressable"
|
@ -1,2 +1 @@
|
||||
DIST hgview-1.8.2.tar.gz 178453 SHA256 0f4c2d7e40d3c6ab7a444502366ee262fdb6caca97c321e78d4e430e71a04655 SHA512 9bab867ebda22d730ea6e846523c2426ea88275a56ddc8546bd874266d2a9742abcb22bcd4a8f4bbd6b6deffbaac7b4a365117dd7a040a86f68e4f43bd793b6f WHIRLPOOL 744b3ab9af3cefa92d53645febaacf9b4e33ec1eb174763fe6e20e5f8c9ae610d9e84c898fe53dde14a5d58a8ee6f1d359731b656c92ed7ca0e38d079e05355a
|
||||
DIST hgview-1.9.0.tar.gz 181130 SHA256 8b2e5e10544deaa79ba9ef3f6339e103af357edbeb4b2594be079fddf7b8e6ed SHA512 604631776e096daf27241e8387d6fddfb9b3f2c54dbfccc95e770ebf2d5d27f64009c3698cf0d427f9a89e073db0d8d7623d57969ca6fcf036d5cb1dbd74eece WHIRLPOOL 01d29625a136664f35f2241c546b4af52853ea78fff31089d83ebb4a1718e4d64571df6a61f217aec6919b6bb27c35cf092195fa56efcffb3ad16e1bb714a397
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Mercurial interactive history viewer"
|
||||
HOMEPAGE="http://www.logilab.org/project/hgview/ https://pypi.python.org/pypi/hgview/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc ncurses +qt4"
|
||||
REQUIRED_USE="|| ( ncurses qt4 )"
|
||||
|
||||
RDEPEND="dev-vcs/mercurial[${PYTHON_USEDEP}]
|
||||
ncurses? (
|
||||
>=dev-python/urwid-1.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
)
|
||||
qt4? (
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[X,${PYTHON_USEDEP}]
|
||||
dev-python/qscintilla-python[${PYTHON_USEDEP}]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
)"
|
||||
|
||||
python_configure_all() {
|
||||
mydistutilsargs=(
|
||||
build $(use doc || echo --no-doc)
|
||||
build $(use ncurses || echo --no-curses)
|
||||
build $(use qt4 || echo --no-qt)
|
||||
)
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# https://www.logilab.org/ticket/103668
|
||||
sed -i \
|
||||
-e 's:MANDIR=$(PREFIX)/man:MANDIR=$(PREFIX)/share/man:' \
|
||||
-e 's:$(INSTALL) $$i:$(INSTALL) -m 644 $$i:' \
|
||||
doc/Makefile || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
# Install Mercurial extension config file
|
||||
insinto /etc/mercurial/hgrc.d
|
||||
doins hgext/hgview.rc
|
||||
}
|
@ -1,88 +0,0 @@
|
||||
# ChangeLog for games-roguelike/slashem
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/slashem/ChangeLog,v 1.19 2014/08/10 21:20:58 slyfox Exp $
|
||||
|
||||
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> slashem-0.0.772.ebuild:
|
||||
QA: drop trailing '.' from DESCRIPTION
|
||||
|
||||
02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> slashem-0.0.772.ebuild:
|
||||
Move Qt dependencies to the new category
|
||||
|
||||
07 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org>
|
||||
slashem-0.0.772.ebuild:
|
||||
QA cleanup: Fix quoting.
|
||||
|
||||
12 Mar 2007; Marius Mauch <genone@gentoo.org> slashem-0.0.760.ebuild,
|
||||
slashem-0.0.772.ebuild:
|
||||
Replacing einfo with elog
|
||||
|
||||
18 Nov 2006; Saleem Abdulrasool <compnerd@gentoo.org> slashem-0.0.760.ebuild,
|
||||
slashem-0.0.772.ebuild:
|
||||
Dropping gnome useflag for gnome-1.x mask
|
||||
|
||||
29 Oct 2006; Tristan Heaven <nyhm@gentoo.org> slashem-0.0.760.ebuild:
|
||||
Add modular X dependencies
|
||||
|
||||
06 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org>
|
||||
-files/0.0.6E4F8-errno.patch, -files/0.0.6E4F8-gentoo-paths.patch,
|
||||
-files/0.0.6E4F8-makefile.patch, -files/0.0.7E7/gentoo-paths.patch,
|
||||
-files/X11.configure, -files/dot.slashemrc, -files/gnome.configure,
|
||||
-files/gtk.configure, -files/qt.configure, slashem-0.0.772.ebuild:
|
||||
Added patch for saving by Pekka Rousu <prousu@users.sourceforge.net>.
|
||||
Closing bug #103586.
|
||||
|
||||
*slashem-0.0.772 (05 Oct 2006)
|
||||
|
||||
05 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org>
|
||||
+files/0.0.7E7/GTK.configure, +files/0.0.7E7/Gentoo.configure,
|
||||
+files/0.0.7E7/Proxy.configure, +files/0.0.7E7/X11.configure,
|
||||
+files/0.0.7E7/dot.slashemrc, +files/0.0.7E7/gentoo-paths.patch,
|
||||
+files/0.0.7E7/gnome.configure, +files/0.0.7E7/makefile.patch,
|
||||
+files/0.0.7E7/opengl.configure, +files/0.0.7E7/prepare-gui.configure,
|
||||
+files/0.0.7E7/proxy.slashemrc, +files/0.0.7E7/qt.configure,
|
||||
+files/0.0.7E7/sdl.configure, +slashem-0.0.772.ebuild:
|
||||
Version bump to 772 and closing bug #103583.
|
||||
|
||||
09 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org>
|
||||
slashem-0.0.760.ebuild:
|
||||
Added sys-devel/bc to DEPEND and closing bug #135762.
|
||||
|
||||
09 Jul 2005; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/0.0.7E6/Gentoo.configure, slashem-0.0.760.ebuild:
|
||||
Add fix by Pekka Rousu since the path to gzip binary is diff from default
|
||||
#98318.
|
||||
|
||||
27 Jan 2005; Michael Sterrett <mr_bones_@gentoo.org>
|
||||
+files/0.0.7E6/va_copy.patch, slashem-0.0.760.ebuild:
|
||||
Added patch for gcc-3.4 from OKUMURA N. Shin-ya (bug #76509)
|
||||
|
||||
*slashem-0.0.760 (26 Dec 2004)
|
||||
|
||||
26 Dec 2004; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/0.0.7E6/GTK.configure, +files/0.0.7E6/Proxy.configure,
|
||||
+files/0.0.7E6/X11.configure, +files/0.0.7E6/dot.slashemrc,
|
||||
+files/0.0.7E6/gentoo-paths.patch, +files/0.0.7E6/gnome.configure,
|
||||
+files/0.0.7E6/makefile.patch, +files/0.0.7E6/opengl.configure,
|
||||
+files/0.0.7E6/prepare-gui.configure, +files/0.0.7E6/proxy.slashemrc,
|
||||
+files/0.0.7E6/qt.configure, +files/0.0.7E6/sdl.configure,
|
||||
+slashem-0.0.760.ebuild:
|
||||
Version bump #43500 by Pekka Rousu.
|
||||
|
||||
17 Dec 2004; Joseph Jezak <josejx@gentoo.org> slashem-0.0.648.ebuild:
|
||||
Marked ppc stable.
|
||||
|
||||
30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> slashem-0.0.648.ebuild:
|
||||
virtual/x11; error check sed; tidy DEPEND; tidy use; append-flags into
|
||||
src_unpack
|
||||
|
||||
15 Mar 2004; David Holm <dholm@gentoo.org> slashem-0.0.648.ebuild:
|
||||
Added to ~ppc.
|
||||
|
||||
20 Jan 2004; Jon Portnoy <avenj@gentoo.org> slashem-0.0.648.ebuild :
|
||||
AMD64 keywords.
|
||||
|
||||
*slashem-0.0.648 (14 Aug 2003)
|
||||
|
||||
14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
|
||||
Initial import. Ebuild submitted by Pekka Rousu <prousu@despammed.com>. #11692
|
||||
This entire package is his doing and daaaaaaaaamn is it *good*. Many thanks :)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue