parent
bc647da0ea
commit
77707db637
@ -1,3 +1,2 @@
|
||||
DIST dxf-6.1.0.tar.gz 281228 SHA256 e5e3bff461ed83fdcbb885f4022db07a336a9992b8257e651b9ab4fac13ebe5f SHA512 ebe0757e311a39bffa86728cbf875c0386e2d7e476c2cc1faf23d578f0d0f504658f9c256a9f6465c2fde351876a40a8c4fc1c5ae6308db8c93a9319e9732eb7 WHIRLPOOL f108b1f230f24cbd1990008c65c5c8bcd8afe033fe79b963412441a6cd1c69115ca4693c4db254681f08b4f9572266324bb82dad14a3f89c6382f1dc22c4063c
|
||||
DIST dxf-6.2.0.tar.gz 284243 SHA256 c3c927dd3c397683707ade3a909bb41e887d9a0b07f7f6efdd69c7b0f4793218 SHA512 b3498e6a05401be784aeb086be3db21199bc6f0fc206bbb31344b29b84289f56dc4001020597f77b6867dff9d5b14f6ab41c921df5dabc094520af5dd6fdea0b WHIRLPOOL f4a9a8981dc1abe2d12ad4fe48de1ec6d86ef2d4cb93c110ece9c9127c10dc79986237b340f14983080aea0fbea61e422555e18864966bb57830ddb27c8d7ca8
|
||||
DIST python-dxf-6.0.0.tar.gz 18059 SHA256 9f3b60f87be1f47bf03f26f4fcfa8176dccdcfa7ea0533a0a6bb89b05f96a1bf SHA512 fb502aac73f7e4ff6c2ef8e11887ec71093c9387857da4eeca222fba23bd669d06e0f085660637ad9774decb310b56ed36c14e29014de3e15108d77417309d41 WHIRLPOOL 2ceb04804a358c2f09b7c1cff15b15c5b0d249639a3909eb0401c06e523ca0f655d740fa3929009c0cef23932e3ce65e1b52a05e59c2bb127c25947e1c528f5b
|
||||
DIST dxf-6.3.0.tar.gz 292165 SHA256 df183e9a3661b0e264438c7b27d830cf6920bc343dc2e1fc84aa1d1a141aed01 SHA512 6c4273d0c1cecb2094722b4fff0d883bb26a6c5f976ae046cb8856685b9122af7e0a192f7e31c4786b6fa07a30666602790da4bf13d08dca84d9937e3d81f657 WHIRLPOOL c2b2590d1975e1ac32b8f71e3c895e75e207dc11d0535692d84d8db23246a8f50685b6f17618bcdd5c7e3dfd2d22790d89e9ebf5c74b17ace0e7a399086b31cc
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Docker registry v2 client in Python"
|
||||
HOMEPAGE="https://github.com/davedoesdev/dxf"
|
||||
SRC_URI="mirror://pypi/p/python-${PN}/python-${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/jwcrypto-0.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.9.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/tqdm-4.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/www-authenticate-0.9.2[${PYTHON_USEDEP}]"
|
||||
|
||||
S=${WORKDIR}/python-${P}
|
||||
|
||||
RESTRICT="test"
|
||||
# Fixtures and Makefile missing on pypi
|
||||
# No tag in upstream repository
|
@ -0,0 +1,521 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit autotools eutils flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx versionator xdg-utils
|
||||
|
||||
MY_PN="${PN%%-*}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://source.winehq.org/git/wine.git"
|
||||
EGIT_BRANCH="master"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MAJOR_V=$(get_version_component_range 1)
|
||||
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${MY_P}.tar.xz"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
GWP_V="20170830"
|
||||
PATCHDIR="${WORKDIR}/gentoo-wine-patches"
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix, without external patchsets"
|
||||
HOMEPAGE="https://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
https://dev.gentoo.org/~np-hardass/distfiles/wine/gentoo-wine-patches-${GWP_V}.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="${PV}"
|
||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap +png prelink pulseaudio +realtime +run-exes samba scanner selinux +ssl test +threads +truetype udev +udisks v4l +X +xcomposite xinerama +xml"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
X? ( truetype )
|
||||
elibc_glibc? ( threads )
|
||||
osmesa? ( opengl )
|
||||
test? ( abi_x86_32 )" # osmesa-opengl #286560 # X-truetype #551124
|
||||
|
||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||
# or fail due to Xvfb's opengl limitations.
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] )
|
||||
cups? ( net-print/cups:=[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
|
||||
lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] )
|
||||
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] )
|
||||
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||
odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] )
|
||||
openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] )
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
opengl? (
|
||||
virtual/glu[${MULTILIB_USEDEP}]
|
||||
virtual/opengl[${MULTILIB_USEDEP}]
|
||||
)
|
||||
osmesa? ( >=media-libs/mesa-13[osmesa,${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
xml? (
|
||||
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||
dev-libs/libxslt[${MULTILIB_USEDEP}]
|
||||
)
|
||||
abi_x86_32? (
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-baselibs-20140508-r14
|
||||
!app-emulation/emul-linux-x86-db[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-db-20140508-r3
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-medialibs-20140508-r6
|
||||
!app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-opengl-20140508-r1
|
||||
!app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-sdl-20140508-r1
|
||||
!app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-soundlibs-20140508
|
||||
!app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-xlibs-20140508
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
>app-eselect/eselect-wine-0.3
|
||||
!app-emulation/wine:0
|
||||
dos? ( >=games-emulation/dosbox-0.74_p20160629 )
|
||||
gecko? ( app-emulation/wine-gecko:2.47[abi_x86_32?,abi_x86_64?] )
|
||||
mono? ( app-emulation/wine-mono:4.7.1 )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Simple
|
||||
)
|
||||
pulseaudio? (
|
||||
realtime? ( sys-auth/rtkit )
|
||||
)
|
||||
samba? ( >=net-fs/samba-3.0.25[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
|
||||
# tools/make_requests requires perl
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/patchbin
|
||||
sys-devel/flex
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
prelink? ( sys-devel/prelink )
|
||||
xinerama? ( x11-proto/xineramaproto )"
|
||||
|
||||
# These use a non-standard "Wine" category, which is provided by
|
||||
# /etc/xdg/applications-merged/wine.menu
|
||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||
usr/share/applications/wine-notepad.desktop
|
||||
usr/share/applications/wine-uninstaller.desktop
|
||||
usr/share/applications/wine-winecfg.desktop"
|
||||
|
||||
wine_compiler_check() {
|
||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||
|
||||
# GCC-specific bugs
|
||||
if tc-is-gcc; then
|
||||
# bug #549768
|
||||
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) -le 2 ]]; then
|
||||
ebegin "Checking for gcc-5 ms_abi compiler bug"
|
||||
$(tc-getCC) -O2 "${PATCHDIR}/files/pr66838.c" -o "${T}"/pr66838 || die
|
||||
# Run in subshell to prevent "Aborted" message
|
||||
( "${T}"/pr66838 || false ) >/dev/null 2>&1
|
||||
if ! eend $?; then
|
||||
eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0"
|
||||
eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild,"
|
||||
eerror "or use gcc-config to select a different compiler version."
|
||||
eerror "See https://bugs.gentoo.org/549768"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
# bug #574044
|
||||
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
|
||||
ebegin "Checking for gcc-5-3 stack realignment compiler bug"
|
||||
# Compile in subshell to prevent "Aborted" message
|
||||
( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${PATCHDIR}/files/pr69140.c" -o "${T}"/pr69140 ) >/dev/null 2>&1
|
||||
if ! eend $?; then
|
||||
eerror "Wine cannot be built with this version of gcc-5.3"
|
||||
eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild,"
|
||||
eerror "or use gcc-config to select a different compiler version."
|
||||
eerror "See https://bugs.gentoo.org/574044"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Ensure compiler support
|
||||
if use abi_x86_64; then
|
||||
ebegin "Checking for 64-bit compiler with builtin_ms_va_list support"
|
||||
# Compile in subshell to prevent "Aborted" message
|
||||
( $(tc-getCC) -O2 "${PATCHDIR}/files/builtin_ms_va_list.c" -o "${T}"/builtin_ms_va_list >/dev/null 2>&1)
|
||||
if ! eend $?; then
|
||||
eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine"
|
||||
eerror
|
||||
eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
wine_build_environment_check() {
|
||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||
|
||||
if use abi_x86_64; then
|
||||
if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]]; then
|
||||
eerror "You need gcc-4.4+ to compile 64-bit wine"
|
||||
die
|
||||
elif tc-is-clang && [[ $(clang-major-version) -lt 3 || ( $(clang-major-version) -eq 3 && $(clang-minor-version) -lt 8 ) ]]; then
|
||||
eerror "You need clang-3.8+ to compile 64-bit wine"
|
||||
die
|
||||
fi
|
||||
fi
|
||||
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -le 3 ]]; then
|
||||
ewarn "GCC-5.0-5.3 suffered from compiler bugs and are no longer supported by"
|
||||
ewarn "Gentoo's Toolchain Team. If your ebuild fails the compiler checks in"
|
||||
ewarn "the configure phase, either update your compiler or switch to <5.0 || >=5.4"
|
||||
fi
|
||||
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -eq 4 ]]; then
|
||||
if has "-march=i686" ${CFLAGS} && ! has "-mtune=generic" ${CFLAGS}; then
|
||||
ewarn "Compilation can hang with CFLAGS=\"-march=i686\". You can temporarily work"
|
||||
ewarn "around this by adding \"-mtune=generic\" to your CFLAGS for wine."
|
||||
ewarn "See package.env in man 5 portage for more information on how to do this."
|
||||
ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=613128 for more details"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use abi_x86_32 && use opencl && [[ "$(eselect opencl show 2> /dev/null)" == "intel" ]]; then
|
||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
wine_env_vcs_vars() {
|
||||
local pn_live_var="${PN//[-+]/_}_LIVE_COMMIT"
|
||||
local pn_live_val="${pn_live_var}"
|
||||
eval pn_live_val='$'${pn_live_val}
|
||||
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||
eerror "Commits must now be specified using the environmental variables"
|
||||
eerror "WINE_COMMIT"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
wine_build_environment_check || die
|
||||
|
||||
# Verify OSS support
|
||||
if use oss && ! use kernel_FreeBSD; then
|
||||
if ! has_version ">=media-sound/oss-4"; then
|
||||
eerror "You cannot build wine with USE=oss without having support from a"
|
||||
eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)"
|
||||
eerror
|
||||
die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
wine_build_environment_check || die
|
||||
wine_env_vcs_vars || die
|
||||
|
||||
WINE_VARIANT="${PN#wine}-${PV}"
|
||||
WINE_VARIANT="${WINE_VARIANT#-}"
|
||||
|
||||
MY_PREFIX="${EPREFIX}/usr/lib/wine-${WINE_VARIANT}"
|
||||
MY_DATAROOTDIR="${EPREFIX}/usr/share/wine-${WINE_VARIANT}"
|
||||
MY_DATADIR="${MY_DATAROOTDIR}"
|
||||
MY_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||
MY_INCLUDEDIR="${EPREFIX}/usr/include/wine-${WINE_VARIANT}"
|
||||
MY_LIBEXECDIR="${EPREFIX}/usr/libexec/wine-${WINE_VARIANT}"
|
||||
MY_LOCALSTATEDIR="${EPREFIX}/var/wine-${WINE_VARIANT}"
|
||||
MY_MANDIR="${MY_DATADIR}/man"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_CHECKOUT_DIR="${S}" EGIT_COMMIT="${WINE_COMMIT}" git-r3_src_unpack
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
||||
eapply_bin(){
|
||||
local patch
|
||||
for patch in ${PATCHES_BIN[@]}; do
|
||||
patchbin --nogit < "${patch}" || die
|
||||
done
|
||||
}
|
||||
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${PATCHDIR}/patches/${MY_PN}-1.5.26-winegcc.patch" #260726
|
||||
"${PATCHDIR}/patches/${MY_PN}-1.9.5-multilib-portage.patch" #395615
|
||||
"${PATCHDIR}/patches/${MY_PN}-1.6-memset-O3.patch" #480508
|
||||
"${PATCHDIR}/patches/${MY_PN}-2.0-multislot-apploader.patch"
|
||||
)
|
||||
local PATCHES_BIN=(
|
||||
)
|
||||
|
||||
default
|
||||
eapply_bin
|
||||
eautoreconf
|
||||
|
||||
# Modification of the server protocol requires regenerating the server requests
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
if ! use run-exes; then
|
||||
sed -i '/^MimeType/d' loader/wine.desktop || die #117785
|
||||
fi
|
||||
|
||||
# Edit wine.desktop to work for specific variant
|
||||
sed -e "/^Exec=/s/wine /wine-${WINE_VARIANT} /" -i loader/wine.desktop || die
|
||||
|
||||
# hi-res default icon, #472990, https://bugs.winehq.org/show_bug.cgi?id=24652
|
||||
cp "${PATCHDIR}/files/oic_winlogo.ico" dlls/user32/resources/ || die
|
||||
|
||||
l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
wine_compiler_check || die
|
||||
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
--prefix="${MY_PREFIX}"
|
||||
--datarootdir="${MY_DATAROOTDIR}"
|
||||
--datadir="${MY_DATADIR}"
|
||||
--docdir="${MY_DOCDIR}"
|
||||
--includedir="${MY_INCLUDEDIR}"
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/wine-${WINE_VARIANT}"
|
||||
--libexecdir="${MY_LIBEXECDIR}"
|
||||
--localstatedir="${MY_LOCALSTATEDIR}"
|
||||
--mandir="${MY_MANDIR}"
|
||||
--sysconfdir=/etc/wine
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with lcms cms)
|
||||
$(use_with cups)
|
||||
$(use_with ncurses curses)
|
||||
$(use_with udisks dbus)
|
||||
$(use_with fontconfig)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gsm)
|
||||
$(use_with gstreamer)
|
||||
--without-hal
|
||||
$(use_with jpeg)
|
||||
$(use_with ldap)
|
||||
$(use_enable mono mscoree)
|
||||
$(use_with mp3 mpg123)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
$(use_with oss)
|
||||
$(use_with pcap)
|
||||
$(use_with png)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with threads pthread)
|
||||
$(use_with scanner sane)
|
||||
$(use_enable test tests)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with v4l)
|
||||
$(use_with X x)
|
||||
$(use_with X xfixes)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(use_with xml)
|
||||
$(use_with xml xslt)
|
||||
)
|
||||
|
||||
local PKG_CONFIG AR RANLIB
|
||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||
# set AR and RANLIB to make QA scripts happy; #483342
|
||||
tc-export PKG_CONFIG AR RANLIB
|
||||
|
||||
if use amd64; then
|
||||
if [[ ${ABI} == amd64 ]]; then
|
||||
myconf+=( --enable-win64 )
|
||||
else
|
||||
myconf+=( --disable-win64 )
|
||||
fi
|
||||
|
||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||
# CC/LD hackery. We're using separate tools instead.
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf "${myconf[@]}"
|
||||
emake depend
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||
if [[ ${ABI} == x86 ]]; then
|
||||
if [[ $(id -u) == 0 ]]; then
|
||||
ewarn "Skipping tests since they cannot be run under the root user."
|
||||
ewarn "To run the test ${MY_PN} suite, add userpriv to FEATURES in make.conf"
|
||||
return
|
||||
fi
|
||||
|
||||
WINEPREFIX="${T}/.wine-${ABI}" \
|
||||
Xemake test
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
local DOCS=( ANNOUNCE AUTHORS README )
|
||||
add_locale_docs() {
|
||||
local locale_doc="documentation/README.$1"
|
||||
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
||||
}
|
||||
l10n_for_each_locale_do add_locale_docs
|
||||
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||
rm "${D%/}${MY_PREFIX}"/bin/{wine{dump,maker},function_grep.pl} \
|
||||
"${D%/}${MY_MANDIR}"/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
# Remove wineconsole if neither backend is installed #551124
|
||||
if ! use X && ! use ncurses; then
|
||||
rm "${D%/}${MY_PREFIX}"/bin/wineconsole* || die
|
||||
rm "${D%/}${MY_MANDIR}"/man1/wineconsole* || die
|
||||
rm_wineconsole() {
|
||||
rm "${D%/}${MY_PREFIX}/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die
|
||||
}
|
||||
multilib_foreach_abi rm_wineconsole
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym wine64 "${MY_PREFIX}"/bin/wine # 404331
|
||||
dosym wine64-preloader "${MY_PREFIX}"/bin/wine-preloader
|
||||
fi
|
||||
|
||||
# Failglob for bin and man loops
|
||||
local glob_state=$(shopt -p failglob)
|
||||
shopt -s failglob
|
||||
|
||||
# Make wrappers for binaries for handling multiple variants
|
||||
# Note: wrappers instead of symlinks because some are shell which use basename
|
||||
local b
|
||||
for b in "${D%/}${MY_PREFIX}"/bin/*; do
|
||||
make_wrapper "${b##*/}-${WINE_VARIANT}" "${MY_PREFIX}/bin/${b##*/}"
|
||||
done
|
||||
|
||||
# respect LINGUAS when installing man pages, #469418
|
||||
local l
|
||||
for l in de fr pl; do
|
||||
use linguas_${l} || rm -r "${D%/}${MY_MANDIR}"/${l}*
|
||||
done
|
||||
|
||||
eval "${glob_state}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect wine register ${P}
|
||||
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||
eselect wine register --vanilla ${P} || die
|
||||
fi
|
||||
|
||||
eselect wine update --all --if-unset || die
|
||||
|
||||
xdg_desktop_database_update
|
||||
|
||||
if ! use gecko; then
|
||||
ewarn "Without Wine Gecko, wine prefixes will not have a default"
|
||||
ewarn "implementation of iexplore. Many older windows applications"
|
||||
ewarn "rely upon the existence of an iexplore implementation, so"
|
||||
ewarn "you will likely need to install an external one, like via winetricks"
|
||||
fi
|
||||
if ! use mono; then
|
||||
ewarn "Without Wine Mono, wine prefixes will not have a default"
|
||||
ewarn "implementation of .NET. Many windows applications rely upon"
|
||||
ewarn "the existence of a .NET implementation, so you will likely need"
|
||||
ewarn "to install an external one, like via winetricks"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect wine deregister ${P}
|
||||
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||
eselect wine deregister --vanilla ${P} || die
|
||||
fi
|
||||
|
||||
eselect wine update --all --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Recipe Organizer and Shopping List Generator for Gnome"
|
||||
HOMEPAGE="https://thinkle.github.com/gourmet/"
|
||||
SRC_URI="https://github.com/thinkle/gourmet/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="-i18n -ipython pdf print spell sound web"
|
||||
|
||||
RDEPEND=">=dev-python/pygtk-2.22.0:2[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-0.7.9-r1[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
i18n? ( dev-python/elib-intl[${PYTHON_USEDEP}] )
|
||||
ipython? ( >=dev-python/ipython-0.13.2[${PYTHON_USEDEP}] )
|
||||
pdf? (
|
||||
>=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
|
||||
)
|
||||
print? (
|
||||
>=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
|
||||
)
|
||||
spell? ( >=dev-python/gtkspell-python-2.25.3-r1[${PYTHON_USEDEP}] )
|
||||
sound? ( >=dev-python/gst-python-0.10.22-r1:0.10[${PYTHON_USEDEP}] )
|
||||
web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
>=dev-python/python-distutils-extra-2.37-r1[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=( ${FILESDIR}/no-docs-0.17.0.patch ${FILESDIR}/tostring-to-tobytes.patch )
|
||||
DOCS=( ChangeLog CODING.md FAQ README.md TESTS TODO.md )
|
||||
|
||||
python_prepare_all() {
|
||||
# Modify these lines before copying them out
|
||||
sed -i "s:base_dir = '..':base_dir = '/usr/share':" gourmet/settings.py || die
|
||||
sed -i 's:data_dir = os.path.join(base_dir, "gourmet", "data"):data_dir = os.path.join(base_dir, "gourmet"):' gourmet/settings.py || die
|
||||
sed -i 's:\(icon_base = os.path.join(data_dir,\) "icons",:\1 "gourmet",:' gourmet/settings.py || die
|
||||
sed -i 's:\(locale_base = os.path.join(base_dir, "gourmet",\) "build",:\1:' gourmet/settings.py || die
|
||||
sed -i 's:\(plugin_base = os.path.join(base_dir,\) "gourmet", "build", "share",:\1:' gourmet/settings.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_prepare() {
|
||||
distutils-r1_python_prepare
|
||||
sed -i "s:\(lib_dir = \)'../gourmet':\1'$(python_get_sitedir)':" gourmet/settings.py || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doman gourmet.1
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST qcharselect-0.3.tar.bz2 136257 SHA256 1a7d3476aeae005e957333ae0ca009b05975870a12db3beec8ffaa914d31e7f0 SHA512 810b8b5463960ebb7c95d1a85543f57c0fb140342f63804d0c1c43006c78f29b3969c262a2fb7544e64cf5d5f4f7848a7b2923217cc1ebfa734c8d23ff4e236b WHIRLPOOL 2c165925d62f2769c927a30f1506124bf53e9dc6d58a8384d6f54e77748a2b2ca49a2b5b13daaf1ce4de3bc9cc527f92315a7c29c150633fb5e73009f73a2890
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>qt@gentoo.org</email>
|
||||
<name>Gentoo Qt Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">qcharselect</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="A Qt4 port of KCharSelect from KDE 3.5"
|
||||
HOMEPAGE="http://qcharselect.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="dev-qt/qtgui:4[qt3support]"
|
||||
DEPEND="$RDEPEND
|
||||
x11-misc/makedepend"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's:update-mime-database:true:g' \
|
||||
-e 's:data/desktop/qcharselect:src/QCharSelect:' \
|
||||
-i Makefile.in || die
|
||||
|
||||
sed -e 's: %m::' \
|
||||
-e '/Path=/d' \
|
||||
-i src/QCharSelect.desktop || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use debug && myconf="--enable-debug"
|
||||
|
||||
econf \
|
||||
--with-qtdir=/usr \
|
||||
--with-qtlibdir=/usr/$(get_libdir)/qt4 \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc README
|
||||
}
|
@ -1,18 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>malenko@email.cz</email>
|
||||
<name>Jaromir Malenko</name>
|
||||
<description>Jaromir is helping us with Czeck and Slovak support in
|
||||
Gentoo. He is also a maintainer of cstetex. See bug #31657</description>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>tex@gentoo.org</email>
|
||||
<name>Gentoo TeX Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
<email>tex@gentoo.org</email>
|
||||
<name>Gentoo TeX Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST ebuild-mode-1.37.tar.xz 30816 SHA256 f7368a8757036874dde542c69c26b824fe3da5241098f89a6b7d7e2665cbbf1d SHA512 1d570b213ad0c6eef8817f69c99c0862703b9bddc24477234dde542b697ba372a06bbe8e4a91179a7d528b720a7dbfc13bb92c8ea0a4d3b3b8684fa4ee0065c0 WHIRLPOOL 75928f5965bdfe66733e203588f01ab3b5de67a5958d33f41069d0793842bd9617ab0904ab71f95aeae04e0aa2f55646e4c545d6199cc1d357140b8fd1a714ab
|
||||
DIST ebuild-mode-1.38.tar.xz 30744 SHA256 63f39bb1a09e29b86e5048f162f4779f287c8825e161a092e74530962947d3c3 SHA512 bfcc4fb100f7d9299e9b466c7661e865f9b93ee352780da1647f1a98159fe3e9eeb8cd4b7d1d9906d532316d1256ec7b6f821cac3d064cda15f2fd62ca7cb349 WHIRLPOOL ea61825ac0fd2d50ec9722088b03ed9664708dd6fac076ff3db8323bfdf8d1b2e351c7059f2f77471ea200b7a19d9f67ab233ebdb743ece80218f0e940fb0706
|
||||
DIST ebuild-mode-1.40.tar.xz 34676 SHA256 fcce06f2c429989cecb50d043c50a06c28e640987aef84f5760a1c5df1793ef2 SHA512 50caa3255ff874e779f8dcb34b84845fd3b03edee35fc20df8aa3606dc2a00a4a0e88fab79f7872cfe3e92f04263ce74e60f3aeb1d97a2706116414ac9b352d5 WHIRLPOOL 369b152f1ffa6cd818fbb5be7d1ef054508056adfa1fa614d8bcbfba71c8b7f8a61e7b81ee162632cb31e4914c15c7def07bc64ef62a41eafbb9572749a35037
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit xemacs-elisp
|
||||
|
||||
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
|
||||
RDEPEND=">=app-editors/xemacs-21.4.20-r5
|
||||
app-xemacs/sh-script"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
${XEMACS_BATCH_CLEAN} -eval "(add-to-list 'load-path \".\")" \
|
||||
-f batch-byte-compile ebuild-mode.el gentoo-newsitem-mode.el || die
|
||||
xemacs-elisp-make-autoload-file \
|
||||
ebuild-mode.el gentoo-newsitem-mode.el || die
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
MY_PN="percona-${PN/-bin}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="MySQL hot backup software. non-blocking backups for InnoDB/XtraDB databases"
|
||||
HOMEPAGE="https://www.percona.com/software/percona-xtrabackup"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_P}-Linux-x86_64.tar.gz
|
||||
)
|
||||
x86? (
|
||||
https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_P}-Linux-i686.tar.gz
|
||||
)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# NOTE: dev-perl/DBD-mysql still necessary, now for bin/xtrabackup?
|
||||
DEPEND=""
|
||||
RDEPEND="dev-libs/libaio
|
||||
dev-libs/libgcrypt:11/11
|
||||
dev-libs/libgpg-error
|
||||
dev-perl/DBD-mysql
|
||||
sys-libs/zlib"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
if use amd64; then
|
||||
S="${WORKDIR}/${MY_P}-Linux-x86_64"
|
||||
elif use x86; then
|
||||
S="${WORKDIR}/${MY_P}-Linux-i686"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Two new tools with an old libcurl.so.3 dep...
|
||||
# TODO: Wait for a new release using libcurl.so.4
|
||||
# net-misc/curl dev-libs/libev
|
||||
# dobin bin/xbcloud{,_osenv}
|
||||
|
||||
for tool in xbcrypt xbstream xtrabackup; do
|
||||
dobin bin/${tool}
|
||||
done
|
||||
|
||||
for man in innobackupex xbcrypt xbstream xtrabackup; do
|
||||
doman man/man1/${man}.1
|
||||
done
|
||||
|
||||
dosym xtrabackup /usr/bin/innobackupex
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "innobackupex got deprecated in 2.3.x series and is just a symlink to xtrabackup"
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
diff -ur qp9.1.orig/src/gc.cc qp9.1/src/gc.cc
|
||||
--- qp9.1.orig/src/gc.cc 2011-08-23 11:17:44.000000000 +1200
|
||||
+++ qp9.1/src/gc.cc 2011-11-20 07:14:14.000000000 +1300
|
||||
@@ -152,7 +152,7 @@
|
||||
{
|
||||
cerr << size << endl;
|
||||
heapobject* ptr = reinterpret_cast<heapobject*>(term);
|
||||
- cerr << hex << (u_int)(ptr) << " : " << *ptr << " " << *(ptr+1) << dec << endl;
|
||||
+ cerr << hex << (wordptr)(ptr) << " : " << *ptr << " " << *(ptr+1) << dec << endl;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
diff -ur qp9.1.orig/src/objects.h qp9.1/src/objects.h
|
||||
--- qp9.1.orig/src/objects.h 2011-08-23 11:17:44.000000000 +1200
|
||||
+++ qp9.1/src/objects.h 2011-11-20 07:14:14.000000000 +1300
|
||||
@@ -1242,18 +1242,12 @@
|
||||
<< this->getName() << "\" ";
|
||||
|
||||
#ifndef WIN32
|
||||
- switch (hasAssociatedItem())
|
||||
- {
|
||||
- case AssociatedNone:
|
||||
- std::cerr << "(no info)";
|
||||
- break;
|
||||
- case AssociatedInteger:
|
||||
- std::cerr << "int: " << getAssociatedInteger();
|
||||
- break;
|
||||
- case AssociatedAtom:
|
||||
- std::cerr << "atom: [" << std::hex << (wordptr) getAssociatedAtom() << std::dec << "]";
|
||||
- break;
|
||||
- }
|
||||
+ if (hasAssociatedInteger())
|
||||
+ std::cerr << "int: " << getAssociatedInteger();
|
||||
+ else if (hasAssociatedAtom())
|
||||
+ std::cerr << "atom: [" << std::hex << (wordptr) getAssociatedAtom() << std::dec << "]";
|
||||
+ else
|
||||
+ std::cerr << "(no info)";
|
||||
#endif
|
||||
}
|
||||
#endif
|
@ -1,34 +0,0 @@
|
||||
diff -ur qp9.1.orig/Makefile.in qp9.1/Makefile.in
|
||||
--- qp9.1.orig/Makefile.in 2011-08-23 11:17:54.000000000 +1200
|
||||
+++ qp9.1/Makefile.in 2012-01-14 12:57:16.000000000 +1300
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
export PROLOG = prolog
|
||||
|
||||
-
|
||||
+export CXX=@CXX@
|
||||
|
||||
.PHONY: all
|
||||
all: objects
|
||||
diff -ur qp9.1.orig/src/Makefile.in qp9.1/src/Makefile.in
|
||||
--- qp9.1.orig/src/Makefile.in 2011-08-23 11:17:54.000000000 +1200
|
||||
+++ qp9.1/src/Makefile.in 2012-01-14 12:48:33.000000000 +1300
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#export DEBUGGING=
|
||||
|
||||
-export CXXFLAGS = @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 $(OPTIMISATION) @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized
|
||||
+#export CXXFLAGS = @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 $(OPTIMISATION) @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized
|
||||
export QACXXFLAGS = -Wall -D_GNU_SOURCE=1 @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized
|
||||
|
||||
.PHONY: all
|
||||
@@ -79,6 +79,9 @@
|
||||
|
||||
# Targets
|
||||
|
||||
+.cc.o:
|
||||
+ $(CXX) $(CXXFLAGS) @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized -c $<
|
||||
+
|
||||
.PHONY: commands
|
||||
commands: $(GENERATED) $(LIBRARIES) $(BIG_LIBRARY)
|
||||
@$(MAKE) $(ALL_COMMANDS)
|
@ -1,33 +0,0 @@
|
||||
diff -ur qp9.1.orig/src/pile.h qp9.1/src/pile.h
|
||||
--- qp9.1.orig/src/pile.h 2011-08-23 01:17:44.000000000 +0200
|
||||
+++ qp9.1/src/pile.h 2013-01-09 12:07:44.000000000 +0100
|
||||
@@ -75,7 +75,7 @@
|
||||
//
|
||||
// Push a StoredType onto the pile.
|
||||
//
|
||||
- void push(const StoredType s){ pushElement(s); }
|
||||
+ void push(const StoredType s){ this->pushElement(s); }
|
||||
|
||||
//
|
||||
// Pop a StoredType off the pile.
|
||||
@@ -85,7 +85,7 @@
|
||||
//
|
||||
// Pop n entries of StoredType off the pile.
|
||||
//
|
||||
- void popNEntries(word32 n) { setTopOfStack(this->getTopOfStack() - n); }
|
||||
+ void popNEntries(word32 n) { this->setTopOfStack(this->getTopOfStack() - n); }
|
||||
|
||||
//
|
||||
// Check whether the pile is empty or not.
|
||||
diff -ur qp9.1.orig/src/system_support.cc qp9.1/src/system_support.cc
|
||||
--- qp9.1.orig/src/system_support.cc 2011-08-23 01:17:44.000000000 +0200
|
||||
+++ qp9.1/src/system_support.cc 2013-01-09 12:07:16.000000000 +0100
|
||||
@@ -61,6 +61,8 @@
|
||||
#include <iostream>
|
||||
#ifdef WIN32
|
||||
#include <direct.h>
|
||||
+#else
|
||||
+#include <unistd.h>
|
||||
#endif //WIN32
|
||||
|
||||
using namespace std;
|
@ -1,32 +0,0 @@
|
||||
diff -ur qp9.1.orig/bin/qc.in qp9.1/bin/qc.in
|
||||
--- qp9.1.orig/bin/qc.in 2011-08-23 11:17:28.000000000 +1200
|
||||
+++ qp9.1/bin/qc.in 2011-11-20 07:16:18.000000000 +1300
|
||||
@@ -27,13 +27,13 @@
|
||||
|
||||
##############################
|
||||
|
||||
-preprocess='@QPHOME@/bin/qppp'
|
||||
-expand='@QPHOME@/bin/qg'
|
||||
-qpcompile='@QPHOME@/bin/qc1'
|
||||
+preprocess='qppp'
|
||||
+expand='qg'
|
||||
+qpcompile='qc1'
|
||||
compversion='qup'
|
||||
-assemble='@QPHOME@/bin/qa'
|
||||
-link='@QPHOME@/bin/ql'
|
||||
-execute='@QPHOME@/bin/qem'
|
||||
+assemble='qa'
|
||||
+link='ql'
|
||||
+execute='qem'
|
||||
libqofiles="@QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo"
|
||||
|
||||
##############################
|
||||
diff -ur qp9.1.orig/prolog/Makefile.in qp9.1/prolog/Makefile.in
|
||||
--- qp9.1.orig/prolog/Makefile.in 2006-04-06 16:01:45.000000000 +1200
|
||||
+++ qp9.1/prolog/Makefile.in 2011-11-20 07:16:18.000000000 +1300
|
||||
@@ -1,3 +1,5 @@
|
||||
+PATH:=$(PATH):@QPHOME@/bin
|
||||
+
|
||||
.DEFAULT:
|
||||
@$(MAKE) -C compiler $@
|
||||
@$(MAKE) -C library $@
|
@ -1,34 +0,0 @@
|
||||
diff -ur qp9.5.orig/Makefile.in qp9.5/Makefile.in
|
||||
--- qp9.5.orig/Makefile.in 2014-11-17 06:46:22.000000000 +0100
|
||||
+++ qp9.5/Makefile.in 2015-05-03 11:29:52.000000000 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
export PROLOG = prolog
|
||||
|
||||
-
|
||||
+export CXX=@CXX@
|
||||
|
||||
.PHONY: all
|
||||
all: objects
|
||||
diff -ur qp9.5.orig/src/Makefile.in qp9.5/src/Makefile.in
|
||||
--- qp9.5.orig/src/Makefile.in 2014-11-17 06:46:22.000000000 +0100
|
||||
+++ qp9.5/src/Makefile.in 2015-05-03 11:29:52.000000000 +0200
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#export DEBUGGING=
|
||||
|
||||
-export CXXFLAGS = @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 $(OPTIMISATION) @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized
|
||||
+#export CXXFLAGS = @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 $(OPTIMISATION) @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized
|
||||
export QACXXFLAGS = -Wall -D_GNU_SOURCE=1 @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized
|
||||
|
||||
.PHONY: all
|
||||
@@ -79,6 +79,9 @@
|
||||
|
||||
# Targets
|
||||
|
||||
+.cc.o:
|
||||
+ $(CXX) $(CXXFLAGS) @GCC_ALIAS_FLAG@ -Wall -D_GNU_SOURCE=1 @DEBUGGING@ @GCCINCLUDES@ -Wno-uninitialized -c $<
|
||||
+
|
||||
.PHONY: commands
|
||||
commands: $(GENERATED) $(LIBRARIES) $(BIG_LIBRARY)
|
||||
@$(MAKE) $(ALL_COMMANDS)
|
@ -1,32 +0,0 @@
|
||||
diff -ur qp9.5.orig/bin/qc.in qp9.5/bin/qc.in
|
||||
--- qp9.5.orig/bin/qc.in 2014-11-17 06:45:59.000000000 +0100
|
||||
+++ qp9.5/bin/qc.in 2015-05-03 11:31:54.000000000 +0200
|
||||
@@ -27,13 +27,13 @@
|
||||
|
||||
##############################
|
||||
|
||||
-preprocess='@QPHOME@/bin/qppp'
|
||||
-expand='@QPHOME@/bin/qg'
|
||||
-qpcompile='@QPHOME@/bin/qc1'
|
||||
+preprocess='qppp'
|
||||
+expand='qg'
|
||||
+qpcompile='qc1'
|
||||
compversion='qup'
|
||||
-assemble='@QPHOME@/bin/qa'
|
||||
-link='@QPHOME@/bin/ql'
|
||||
-execute='@QPHOME@/bin/qem'
|
||||
+assemble='qa'
|
||||
+link='ql'
|
||||
+execute='qem'
|
||||
libqofiles="@QPHOME@/prolog/compiler/*.qo @QPHOME@/prolog/library/*.qo"
|
||||
|
||||
##############################
|
||||
diff -ur qp9.5.orig/prolog/Makefile.in qp9.5/prolog/Makefile.in
|
||||
--- qp9.5.orig/prolog/Makefile.in 2006-04-06 06:01:45.000000000 +0200
|
||||
+++ qp9.5/prolog/Makefile.in 2015-05-03 11:31:54.000000000 +0200
|
||||
@@ -1,3 +1,5 @@
|
||||
+PATH:=$(PATH):@QPHOME@/bin
|
||||
+
|
||||
.DEFAULT:
|
||||
@$(MAKE) -C compiler $@
|
||||
@$(MAKE) -C library $@
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib qmake-utils
|
||||
|
||||
MY_P=qp${PV}
|
||||
|
||||
DESCRIPTION="Extended Prolog supporting quantifiers, object-variables and substitutions"
|
||||
HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html"
|
||||
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Qu-Prolog GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug doc examples pedro qt4 readline threads"
|
||||
|
||||
RDEPEND="
|
||||
!dev-util/mpatch
|
||||
!dev-util/rej
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
pedro? ( net-misc/pedro )
|
||||
readline? ( app-misc/rlwrap )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-portage.patch \
|
||||
"${FILESDIR}"/${P}-cflags.patch \
|
||||
"${FILESDIR}"/${P}-cerr-ptr.patch \
|
||||
"${FILESDIR}"/${P}-gcc.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable threads multiple-threads)
|
||||
|
||||
if use qt4; then
|
||||
cd "${S}"/src/xqp || die
|
||||
eqmake4 xqp.pro
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use qt4; then
|
||||
cd "${S}"/src/xqp || die
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
sed \
|
||||
-e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
|
||||
-i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
|
||||
|
||||
dobin bin/{qa,qdeal,qem,ql,qc,qc1.qup,qecat,qg,qp,qppp,kq}
|
||||
|
||||
use qt4 && dobin src/xqp/xqp
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/bin
|
||||
doins bin/rl_commands
|
||||
doins bin/{qc1.qup,qecat,qg,qp}.qx
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/library
|
||||
doins prolog/library/*.qo
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/compiler
|
||||
doins prolog/compiler/*.qo
|
||||
|
||||
doman doc/man/man1/*.1
|
||||
|
||||
dodoc README
|
||||
|
||||
if use doc ; then
|
||||
docinto reference-manual
|
||||
dodoc doc/manual/*.html
|
||||
docinto user-guide
|
||||
dodoc doc/user/main.pdf
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.ql
|
||||
docinto examples
|
||||
newdoc examples/README README.examples
|
||||
fi
|
||||
}
|
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils multilib qmake-utils
|
||||
|
||||
MY_P=qp${PV}
|
||||
|
||||
DESCRIPTION="Extended Prolog supporting quantifiers, object-variables and substitutions"
|
||||
HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html"
|
||||
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Qu-Prolog GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="debug doc examples pedro qt4 readline threads"
|
||||
|
||||
RDEPEND="
|
||||
!dev-util/mpatch
|
||||
!dev-util/rej
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
pedro? ( net-misc/pedro )
|
||||
readline? ( app-misc/rlwrap )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-portage.patch \
|
||||
"${FILESDIR}"/${P}-cflags.patch \
|
||||
"${FILESDIR}"/${P}-cerr-ptr.patch \
|
||||
"${FILESDIR}"/${P}-gcc.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable threads multiple-threads)
|
||||
|
||||
if use qt4; then
|
||||
cd "${S}"/src/xqp || die
|
||||
eqmake4 xqp.pro
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
|
||||
if use qt4; then
|
||||
cd "${S}"/src/xqp || die
|
||||
emake || die "emake xqp failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
sed -i -e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
|
||||
bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
|
||||
|
||||
dobin bin/qa bin/qdeal bin/qem bin/ql || die
|
||||
dobin bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp bin/qppp || die
|
||||
dobin bin/kq || die
|
||||
|
||||
if use qt4; then
|
||||
dobin src/xqp/xqp || die
|
||||
fi
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/bin
|
||||
doins bin/rl_commands
|
||||
doins bin/qc1.qup.qx \
|
||||
bin/qecat.qx \
|
||||
bin/qg.qx \
|
||||
bin/qp.qx || die
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/library
|
||||
doins prolog/library/*.qo || die
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/compiler
|
||||
doins prolog/compiler/*.qo || die
|
||||
|
||||
doman doc/man/man1/*.1 || die
|
||||
|
||||
dodoc README || die
|
||||
|
||||
if use doc ; then
|
||||
docinto reference-manual
|
||||
dodoc doc/manual/*.html || die
|
||||
docinto user-guide
|
||||
dodoc doc/user/main.pdf || die
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.ql || die
|
||||
docinto examples
|
||||
dodoc examples/README || die
|
||||
fi
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib qmake-utils
|
||||
|
||||
MY_P=qp${PV}
|
||||
|
||||
DESCRIPTION="Extended Prolog supporting quantifiers, object-variables and substitutions"
|
||||
HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html"
|
||||
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Qu-Prolog GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug doc examples pedro qt4 readline threads"
|
||||
|
||||
RDEPEND="
|
||||
!dev-util/mpatch
|
||||
!dev-util/rej
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
pedro? ( net-misc/pedro )
|
||||
readline? ( app-misc/rlwrap )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-portage.patch \
|
||||
"${FILESDIR}"/${P}-cflags.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable threads multiple-threads)
|
||||
|
||||
if use qt4; then
|
||||
cd "${S}"/src/xqp || die
|
||||
eqmake4 xqp.pro
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use qt4; then
|
||||
cd "${S}"/src/xqp || die
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
sed \
|
||||
-e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
|
||||
-i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
|
||||
|
||||
dobin bin/{qa,qdeal,qem,ql,qc,qc1.qup,qecat,qg,qp,qppp,kq}
|
||||
|
||||
use qt4 && dobin src/xqp/xqp
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/bin
|
||||
doins bin/rl_commands
|
||||
doins bin/{qc1.qup,qecat,qg,qp}.qx
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/library
|
||||
doins prolog/library/*.qo
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/compiler
|
||||
doins prolog/compiler/*.qo
|
||||
|
||||
doman doc/man/man1/*.1
|
||||
|
||||
dodoc README
|
||||
|
||||
if use doc ; then
|
||||
docinto reference-manual
|
||||
dodoc doc/manual/*.html
|
||||
docinto user-guide
|
||||
dodoc doc/user/main.pdf
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.ql
|
||||
docinto examples
|
||||
newdoc examples/README README.examples
|
||||
fi
|
||||
}
|
@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib qmake-utils
|
||||
|
||||
MY_P=qp${PV}
|
||||
|
||||
DESCRIPTION="Extended Prolog supporting quantifiers, object-variables and substitutions"
|
||||
HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html"
|
||||
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Qu-Prolog GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug doc examples pedro qt4 readline threads"
|
||||
|
||||
RDEPEND="
|
||||
!dev-util/mpatch
|
||||
!dev-util/rej
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
pedro? ( net-misc/pedro )
|
||||
readline? ( app-misc/rlwrap )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable threads multiple-threads)
|
||||
|
||||
if use qt4; then
|
||||
cd "${S}"/src/xqp || die
|
||||
eqmake4 xqp.pro
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake OPTIMISATION="${CXXFLAGS}"
|
||||
|
||||
if use qt4; then
|
||||
cd "${S}"/src/xqp || die
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
sed \
|
||||
-e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
|
||||
-i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
|
||||
|
||||
dobin bin/{qc,qecat,qp,kq}
|
||||
|
||||
into /usr/$(get_libdir)/${PN}
|
||||
dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
|
||||
|
||||
use qt4 && dobin src/xqp/xqp
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/bin
|
||||
doins bin/rl_commands
|
||||
doins bin/{qc1.qup,qecat,qg,qp}.qx
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/library
|
||||
doins prolog/library/*.qo
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/compiler
|
||||
doins prolog/compiler/*.qo
|
||||
|
||||
doman doc/man/man1/*.1
|
||||
|
||||
dodoc README
|
||||
|
||||
if use doc ; then
|
||||
docinto reference-manual
|
||||
dodoc doc/manual/*.html
|
||||
docinto user-guide
|
||||
dodoc doc/user/main.pdf
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.ql
|
||||
docinto examples
|
||||
newdoc examples/README README.examples
|
||||
fi
|
||||
}
|
@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib qmake-utils
|
||||
|
||||
MY_P=qp${PV}
|
||||
|
||||
DESCRIPTION="Extended Prolog supporting quantifiers, object-variables and substitutions"
|
||||
HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html"
|
||||
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Qu-Prolog GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug doc examples pedro qt4 readline threads"
|
||||
|
||||
RDEPEND="
|
||||
!dev-util/mpatch
|
||||
!dev-util/rej
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
pedro? ( net-misc/pedro )
|
||||
readline? ( app-misc/rlwrap )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable threads multiple-threads)
|
||||
|
||||
if use qt4; then
|
||||
cd "${S}"/src/xqp || die
|
||||
eqmake4 xqp.pro
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake OPTIMISATION="${CXXFLAGS}"
|
||||
|
||||
if use qt4; then
|
||||
cd "${S}"/src/xqp || die
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
sed \
|
||||
-e "s|${S}|/usr/$(get_libdir)/qu-prolog|g" \
|
||||
-i bin/qc bin/qc1.qup bin/qecat bin/qg bin/qp || die
|
||||
|
||||
dobin bin/{qc,qecat,qp,kq}
|
||||
|
||||
into /usr/$(get_libdir)/${PN}
|
||||
dobin bin/{qa,qc1.qup,qdeal,qem,qg,ql,qppp}
|
||||
|
||||
use qt4 && dobin src/xqp/xqp
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/bin
|
||||
doins bin/rl_commands
|
||||
doins bin/{qc1.qup,qecat,qg,qp}.qx
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/library
|
||||
doins prolog/library/*.qo
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/compiler
|
||||
doins prolog/compiler/*.qo
|
||||
|
||||
doman doc/man/man1/*.1
|
||||
|
||||
dodoc README
|
||||
|
||||
if use doc ; then
|
||||
docinto reference-manual
|
||||
dodoc doc/manual/*.html
|
||||
docinto user-guide
|
||||
dodoc doc/user/main.pdf
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.ql
|
||||
docinto examples
|
||||
newdoc examples/README README.examples
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST hyperscan-4.4.1.tar.gz 1515106 SHA256 3a082d92a3cb0cd724bc1190d24cc39752bd3db35d22115fda03d2e91ccd94cd SHA512 5e3463061110f81ad145dccf566f8308eed7bfd6711af59461b59903dd77b20963df3dd0f0ec8fc925837e76b658352b420b1ce210c4c91a4cb128a4d5f83056 WHIRLPOOL 1eff40644b4284615f8011e4fd516005381468d651a2675c0e4b46b2b34a9986a5c242590314ef04ebe8528e6ee9090c07830d868de6fed84a0c244ad5ebf28d
|
||||
DIST hyperscan-4.5.2.tar.gz 1521484 SHA256 1f8fa44e94b642e54edc6a74cb8117d01984c0e661a15cad5a785e3ba28d18f5 SHA512 13bb6c11c8366f168f2ba1eaf5d67560a68668d699604a7884f7a3e7f54ad2dcdd41d562dc35d029b2ad715d562252eb6ef57e97be319e2aa9bdcd3437d8d926 WHIRLPOOL c232d710e122458eb2527dbaf8b1909b618138bd5fbe9ddf55b47cf970f20ac2b36ea8e071abd394792695b9aa6b68f405cfb0983fa80e9b8ae6a478c73306c9
|
||||
DIST hyperscan-4.6.0.tar.gz 1557704 SHA256 0dfbfc2e5e82a6a7b2feca3d982d08fb7d4a979a4e75f667a37484cae4fda815 SHA512 17bddc0f8085615df633f5d050e21a448bda781512990a1efe59286002114322372d59d165a113dfe5548f77102576208e1c667454ab40e46c0a96208a4fdd57 WHIRLPOOL aa1ac778b9b5f71fac2e00c3938bb95f502b30252d9ec37b6b230d414a55ef137cb6e036eb66e52b65334044b752cb30ed8a8bac8566e63cfd9492d8de28ad64
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="High-performance regular expression matching library"
|
||||
SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HOMEPAGE="https://01.org/hyperscan"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cpu_flags_x86_ssse3 static-libs"
|
||||
|
||||
DEPEND="dev-util/ragel
|
||||
=dev-lang/python-2*
|
||||
dev-libs/boost
|
||||
net-libs/libpcap"
|
||||
|
||||
REQUIRED_USE="cpu_flags_x86_ssse3"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)
|
||||
-DBUILD_STATIC_AND_SHARED=$(usex static-libs ON OFF)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="Qt-based library for OAuth support"
|
||||
HOMEPAGE="https://github.com/ayoy/qoauth/wiki"
|
||||
SRC_URI="https://dev.gentoo.org/~johu/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="5"
|
||||
KEYWORDS="amd64 ~ppc64 x86"
|
||||
IUSE="debug doc test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/qca:2[debug?,qt5]
|
||||
dev-qt/qtnetwork:5
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
test? ( dev-qt/qttest:5 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-crypt/qca:2[ssl]
|
||||
!dev-libs/qoauth:0
|
||||
"
|
||||
|
||||
# disable functional tests that require network connection
|
||||
# and rely on 3rd party external server (bug #341267)
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.0.1-disable-ft.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use test; then
|
||||
sed -i -e '/SUBDIRS/s/tests//' ${PN}.pro || die "sed failed"
|
||||
fi
|
||||
|
||||
sed -i -e '/^ *docs \\$/d' \
|
||||
-e '/^ *build_all \\$/d' \
|
||||
-e 's/^\#\(!macx\)/\1/' \
|
||||
src/src.pro || die "sed failed"
|
||||
|
||||
sed -i -e "s/\(.*\)lib$/\1$(get_libdir)/" src/pcfile.sh || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 qoauth.pro
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
doxygen "${S}"/Doxyfile || die "failed to generate documentation"
|
||||
HTML_DOCS=( "${S}"/doc/html/. )
|
||||
fi
|
||||
|
||||
INSTALL_ROOT="${D}" default
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST alexandria-20171029.tar.bz2 45812 SHA256 03941516cb60344a505f6e4c9a323ad3ca7f4b64a6984452c6d0a5bc94cb99c1 SHA512 a0a7386af94bae00139e3d06306169883cb1c5498c84d7a6db552a5dfa2ff8516d62609cb8a059c11f4200d507737ba99032d81b5a97112a2f3e7850572060e2 WHIRLPOOL d5c13ff07f3602d6697a5d7165d7ab0b261e93364ff53287fa308db237d93a2abdd94cb4d5aa5784bef19a8443670ace9c5149be8876bed0f70ab277f3f446f4
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit common-lisp-3 eutils
|
||||
|
||||
DESCRIPTION="A collection of public domain utilities."
|
||||
HOMEPAGE="http://common-lisp.net/project/alexandria/"
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.common-lisp.net/alexandria/alexandria.git"
|
||||
else
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="doc? ( sys-apps/texinfo )"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/${PN}-fix-docstrings.patch"
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use doc && emake -C doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
common-lisp-install-sources -t all *.lisp LICENCE
|
||||
common-lisp-install-asdf
|
||||
dodoc README AUTHORS
|
||||
use doc && doinfo doc/${PN}.info && dodoc doc/{"${PN}.html","${PN}.pdf"}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
diff -Nuar a/doc/docstrings.lisp b/doc/docstrings.lisp
|
||||
--- a/doc/docstrings.lisp 2016-12-11 00:04:21.272877121 +0100
|
||||
+++ b/doc/docstrings.lisp 2016-12-11 00:05:03.752876882 +0100
|
||||
@@ -718,7 +718,7 @@
|
||||
;; sbcl.texinfo defines macros that expand @&key and friends to &key.
|
||||
(mapcar (lambda (name)
|
||||
(if (member name lambda-list-keywords)
|
||||
- (format nil "@~A" name)
|
||||
+ (format nil "~A" name)
|
||||
name))
|
||||
(lambda-list doc)))))
|
||||
|
||||
@@ -833,11 +833,11 @@
|
||||
(flet ((macro (name)
|
||||
(let ((string (string-downcase name)))
|
||||
(format *texinfo-output* "@macro ~A~%~A~%@end macro~%" string string))))
|
||||
- (macro '&allow-other-keys)
|
||||
- (macro '&optional)
|
||||
- (macro '&rest)
|
||||
- (macro '&key)
|
||||
- (macro '&body)))
|
||||
+ (macro 'allow-other-keys)
|
||||
+ (macro 'optional)
|
||||
+ (macro 'rest)
|
||||
+ (macro 'key)
|
||||
+ (macro 'body)))
|
||||
|
||||
(defun generate-includes (directory packages &key (base-package :cl-user))
|
||||
"Create files in `directory' containing Texinfo markup of all
|
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>common-lisp@gentoo.org</email>
|
||||
<name>Gentoo Common Lisp Project</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Alexandria is a project and a library.
|
||||
|
||||
As a project Alexandria's goal is to reduce duplication of effort and
|
||||
improve portability of Common Lisp code according to its own
|
||||
idiosyncratic and rather conservative aesthetic. What this actually
|
||||
means is open to debate, but each project member has a veto on all
|
||||
project activities, so a degree of conservativism is inevitable.
|
||||
|
||||
As a library Alexandria is one of the means by which the project
|
||||
strives for its goals. Alexandria is a collection of portable public
|
||||
domain utilities that meet the following constraints:
|
||||
|
||||
* Utilities, not extensions: Alexandria will not contain conceptual
|
||||
extensions to Common Lisp, instead limiting itself to tools and
|
||||
utilities that fit well within the framework of standard ANSI Common
|
||||
Lisp. Test-frameworks, system definitions, logging facilities,
|
||||
serialization layers, etc. are all outside the scope of Alexandria
|
||||
as a library, though well within the scope of Alexandria as a project.
|
||||
* Conservative: Alexandria limits itself to what project members
|
||||
consider conservative utilities. Alexandria does not and will not
|
||||
include anaphoric constructs, loop-like binding macros, etc.
|
||||
* Portable: Alexandria limits itself to portable parts of Common
|
||||
Lisp. Even apparently conservative and usefull functions remain
|
||||
outside the scope of Alexandria if they cannot be implemented
|
||||
portably. Portability is here defined as portable within a
|
||||
conforming implementation: implementation bugs are not considered
|
||||
portability issues.
|
||||
* Team player: Alexandria will not (initially, at least) subsume
|
||||
or provide functionality for which good-quality special-purpose
|
||||
packages exist, like split-sequence. Instead, third party packages
|
||||
such as that may be "blessed".
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">alexandria/alexandria</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST google-auth-1.0.1.tar.gz 133903 SHA256 dd7b6e5f3bd15c0f7cfee63a266acea40c779da0a924b475bc1812e6e10687e1 SHA512 c10822c6b75700503a06a4b3a43a123d57605a043eb494bcb0232cc3941fc039d0803ed75be26d0da72fd4df613135c290fb3fdf82b0fa47d4fe0729462d80f4 WHIRLPOOL 04560bf31278988be1c98c0d781b84cfbc48b3c1e00e772ca83d17cbf05d2db055e6a8bf732605d39cdc02a0068d898b3c5765019e2550cdc980f2da50cd222e
|
||||
DIST google-auth-1.1.0.tar.gz 290602 SHA256 3aca3b909477a60efc1150ead3a42ff6734365f24d121d258924fdce467f17c5 SHA512 03b4021f5bc3c60671e1e528642af4682828e3a83a07aa9dea8a28b3f97c4020ac47f325c8a952f366d45196e6a9a78a78e1abcfc8d7f878f7b6369434a0b79f WHIRLPOOL 1b10f0208573ae9e93a013b45e04c23b97c7c182c72b1ff1a293a88f1dcbc02e46edae5f1ba07cdae337aa4c9b8e3a1965cbe0eb480183368e6f80cbb13cb16a
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Google Authentication Library"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/google-auth/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/namespace-google[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyasn1-modules-0.0.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/rsa-3.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/cachetools-2.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_prepare_all() {
|
||||
# urllib3-1.16 raised MaxRetryError, not TransportError
|
||||
sed -e 's:test_connection_error:_\0:' \
|
||||
-e 's:test_request_with_timeout_failure:_\0:' \
|
||||
-i tests/transport/compliance.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# delete stray files included in the tarball
|
||||
find "${S}"/tests -name '*.pyc' -delete || die
|
||||
py.test || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
find "${ED}" -name '*.pth' -delete || die
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST pytest-mock-1.2.zip 19461 SHA256 f78971ed376fcb265255d1e4bb313731b3a1be92d7f3ecb19ea7fedc4a56fd0f SHA512 9b87c72e9895a16d4829229a070ba2b8143be894dfbc804b1e882eb2cc5843d8da9db258b5a2b9f8ae6738d9d612dbf1bec16790c5f99c27d9f7554cb676f852 WHIRLPOOL 470832b4df4a9392b0cfcbba96b2a52379d7111af0236f5dbe4e22f4e303da248bf2f936b3b66ae0ff3a197f3c87b0419c54c115fe5c6543e255f11666d3031d
|
||||
DIST pytest-mock-1.5.0.tar.gz 17199 SHA256 782f23f227874bac4cee878637c2af8efdd2c34c48fcbf9e79b00a0872056ffb SHA512 5b5acb3ae3040d37768692a5289be269d8e12a6188a2dddefb136bdb99f847bedee525d59ac49886a6a27032b672e442ee256410174777675bf92fc82505f807 WHIRLPOOL 7c9c2617944dbf02cce356d12650d89372db252bdf79b92db304bcb1337858a38ae4b9b640210190338feccf4de0cbd64ad1a2d7ffc411c9184e1cd09dd7ec17
|
||||
DIST pytest-mock-1.6.0.tar.gz 17780 SHA256 83a17cbcd4dbc7c6c9dc885a0d598f9acd11f2d5142e0718ed32e14538670c1f SHA512 c3b897be9156d57d7012e95b620c543500b849d7076224e3328d3783311210c57141dfb82c01bb98e5e419125dce0f68f6631bd610f4909f5ac1798458a7949f WHIRLPOOL 518c8732f722547a0a87f0e1dd4cf8c80272f4a62f238d5bb16766fe0340c8fc022e409f58e6aa8ed7cb17b33fe160574db199197c0466701fa7e7a668fb5116
|
||||
DIST pytest-mock-1.6.3.tar.gz 18482 SHA256 920d1167af5c2c2ad3fa0717d0c6c52e97e97810160c15721ac895cac53abb1c SHA512 6857f373728d3f2c6b152d4f89da3590e2e74795695dc9f4f3704a4e0250e49d705ce0de4121a801ac35c83217678a95a5023338124293ca74db406941f5072a WHIRLPOOL 85fe9ed6bec18eacb5cd9c404c7ff032e88869e38ad744628b236fc5081d48eee7fd161a6fd4066f38815474eefb6b7635a82199a130000cbba17b662c2bd0f0
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5}} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Thin-wrapper around the mock package for easier use with py.test"
|
||||
HOMEPAGE="https://github.com/pytest-dev/pytest-mock/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
|
||||
python_targets_python2_7? (
|
||||
dev-python/mock[python_targets_python2_7]
|
||||
)
|
||||
python_targets_pypy? (
|
||||
dev-python/mock[python_targets_pypy]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} \
|
||||
py.test test_pytest_mock.py || die
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Thin-wrapper around the mock package for easier use with py.test"
|
||||
HOMEPAGE="https://github.com/pytest-dev/pytest-mock/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
|
||||
python_targets_python2_7? (
|
||||
dev-python/mock[python_targets_python2_7]
|
||||
)
|
||||
python_targets_pypy? (
|
||||
dev-python/mock[python_targets_pypy]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare() {
|
||||
if has_version dev-python/mock; then
|
||||
# test fails when standalone mock is installed
|
||||
sed -e 's|^\(def \)\(test_standalone_mock(\)|\1_\2|' -i test_pytest_mock.py || die
|
||||
fi
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} \
|
||||
py.test test_pytest_mock.py || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST virtualenvwrapper-4.7.1.tar.gz 89930 SHA256 3bf73ede42a689adeedc8ac85662cb539665d3d029459bc8d3e6835ecd81ffde SHA512 f972179992728b8b600388b34562fa9de355f526e4ee25ea88840700a57f196a60eba91ac3137e7d826925c7a8ade7479af383bcbfb8b9b837d0a374b8b3c4fd WHIRLPOOL c56cab31ec89b8dd5bfeb7949f72b2d5c5e6f40543bc7fa960b03edcc9d3c2ec095335eecf0b40adcc0fd1c92efc1e760748db772a3da0c44591ed7de5248880
|
||||
DIST virtualenvwrapper-4.8.2.tar.gz 91331 SHA256 18d8e4c500c4c4ee794f704e050cf2bbb492537532a4521d1047e7dd1ee4e374 SHA512 53d92f653b988873da5a46e316a40ef767d97f75072e311aa4a8ae45c8aabb49569e36cc35597f9bdfc1f883a51eb648d5f01f4ea8b3237fae30a21dca67d7bc WHIRLPOOL dd775b98a7f4e143c847ad985b65141a385a862e49e364c1087dbd924ee1aaa088be2d35e23314b333f2909be4d6492496c6ed956ad865d48172b7429bb1f7fe
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Set of extensions to Ian Bicking's virtualenv tool"
|
||||
HOMEPAGE="
|
||||
http://www.doughellmann.com/projects/virtualenvwrapper
|
||||
https://pypi.python.org/pypi/virtualenvwrapper"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# testsuite doesn't work out of the box. Demand of a virtualenv outstrips setup by the eclass
|
||||
RESTRICT=test
|
||||
|
||||
RDEPEND="
|
||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
dev-python/stevedore[${PYTHON_USEDEP}]
|
||||
dev-python/virtualenv-clone[${PYTHON_USEDEP}]"
|
||||
DEPEND="${DEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pbr[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
bash ./tests/run_tests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,18 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>malenko@email.cz</email>
|
||||
<name>Jaromir Malenko</name>
|
||||
<description>Jaromir is helping us with Czeck and Slovak support in
|
||||
Gentoo. He is also a maintainer of cstetex. See bug #31657</description>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>tex@gentoo.org</email>
|
||||
<name>Gentoo TeX Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
<email>tex@gentoo.org</email>
|
||||
<name>Gentoo TeX Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_5 python3_6 pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Extensible Python-based build utility"
|
||||
HOMEPAGE="http://www.scons.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
|
||||
doc? ( http://www.scons.org/doc/${PV}/PDF/${PN}-user.pdf -> ${P}-user.pdf
|
||||
http://www.scons.org/doc/${PV}/HTML/${PN}-user.html -> ${P}-user.html )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
python_prepare_all() {
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=361061
|
||||
sed -i -e "s|/usr/local/bin:/opt/bin:/bin:/usr/bin|${EPREFIX}/usr/local/bin:${EPREFIX}/opt/bin:${EPREFIX}/bin:${EPREFIX}/usr/bin:/usr/local/bin:/opt/bin:/bin:/usr/bin|g" engine/SCons/Platform/posix.py || die
|
||||
# and make sure the build system doesn't "force" /usr/local/ :(
|
||||
sed -i -e "s/'darwin'/'NOWAYdarwinWAYNO'/" setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install \
|
||||
--standard-lib \
|
||||
--no-version-script \
|
||||
--install-data "${EPREFIX}"/usr/share
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( {CHANGES,README,RELEASE}.txt )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
use doc && dodoc "${DISTDIR}"/${P}-user.{pdf,html}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
# Build system does not use build_scripts properly.
|
||||
# http://scons.tigris.org/issues/show_bug.cgi?id=2891
|
||||
python_replicate_script "${ED}"usr/bin/scons{,ign,-time}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- rspamd-1.5.7/src/libutil/map.c 2017-05-02 15:26:54.000000000 +0200
|
||||
+++ b/src/libutil/map.c 2017-05-02 16:22:37.695254699 +0200
|
||||
@@ -2290,7 +2290,7 @@
|
||||
}
|
||||
#else
|
||||
if (pcre_flags & PCRE_FLAG(UTF)) {
|
||||
- re_map->map_flags |= RSPAMD_REGEXP_FLAG_UTF;
|
||||
+ re_map->has_utf = TRUE;
|
||||
}
|
||||
#endif
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST icoutils-0.31.0.tar.bz2 559836 SHA256 a895d9d74a418d65d39a667e58ae38be79c9e726711384551d36531696f3af71 SHA512 f6ee954784abd9f6cf1f6a2424b89e917de2e3950a5411c6790f1a7a34522e067308677ab00bd34781d179fde1192ec91dcd400207edb09bdb20d503507b5cca WHIRLPOOL 92a3905315973ed016bb2000881d5c39f7306c792feaed302bf183d62056217a9aa76e90dc25a44ffb43434053f3c5ced90e100bd59c284a26fa14b7ffbe0b4a
|
||||
DIST icoutils-0.31.1.tar.bz2 573484 SHA256 26e29d3c78f25d4cdf402501ac0414c51a9a092daebf6c9dee3b837dee693093 SHA512 47fe41429cee73b6aff90e2b385b621314700dedfe09989318e439b19a484d806a9428652008be2db70598ba1337e860fba30b6d8104525f9e0bcbb4dc61dc56 WHIRLPOOL 893fbbf7f4dd1ebb06c14d22baf0ac1c126941688ac451b4976e1d0d505056714361f8ab99e2c8f080e20b0d1a8670e375cc2f663ab2bb8861e0af1152fb7504
|
||||
DIST icoutils-0.31.3.tar.bz2 593403 SHA256 d4651de8e3f9e28d24b5343a2b7564f49754e5fe7d211c5d4dd60dcd65c8a152 SHA512 3c25dfff0d947ad4688e57871888b7d03ecc1d5aaf2dd957bbfd5d034cbde03238a03446a719b637d2f0c309af424359435d98bddfbdf1ea9d4c08bb23f154d8 WHIRLPOOL 4c0d34484d956f8817b25ed87e36d868ad35ec74d49ad02b4503c3029ab0253b8bbf38b5687f965fe609b4e6d42a1be1da8debe2f8ec5e168136fe7833e341ab
|
||||
DIST icoutils-0.32.0.tar.bz2 593699 SHA256 17234d6e922f5dcd2dc8351a4b3535a2f348bb9b92c17ca3e438132147019ca6 SHA512 35fb584611edefe4445784e61e9cc10bdc039fc4106b7dca7faf66ca1a252ad6dc6e3511b4a5aba744ba74b51315a757addce2f8d5b20a1d7e38886e3eecd878 WHIRLPOOL 2d19d75271c0cd4abae9d80671e8422f33a8e95c4252323292c8d89eaebd1a3442e2f37c680a2068b5a740b77003fb8479c00f6d21647b6116ae8f31577ff46e
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="Tools to extract and convert images in icon and cursor files (.ico, .cur)"
|
||||
HOMEPAGE="http://www.nongnu.org/icoutils/"
|
||||
SRC_URI="mirror://nongnu/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.6
|
||||
>=dev-perl/libwww-perl-5.64
|
||||
media-libs/libpng:0
|
||||
sys-libs/zlib
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.29.1-{locale,gettext}.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm m4/po.m4* || die
|
||||
cp /usr/share/aclocal/po.m4 m4/
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use !elibc_glibc && use !elibc_musl && use nls && append-libs -lintl
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" mkinstalldirs="mkdir -p" install
|
||||
einstalldocs
|
||||
}
|
@ -1,16 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>res@crystalspace3d.org</email>
|
||||
<name>Frank Richter (upstream)</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer (proxy)</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue