parent
fe474d8ffa
commit
97d5c6ea70
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST gnome-abrt-1.2.6.tar.gz 340308 BLAKE2B 5221fe43fd72fe8798f2c11275863e6936e616632641448c53dd24118d3b6b808fc373fe98b8775f1f1c58820c06195a665f6d417c95eaa7cc333cd7660b2d0b SHA512 12bcdeefa481b7caa04da046ee11d6adc9fd582b32f709d79a2d94cf61ca02643edd418cd9257c0f732a30aa5714fe83a282a4c794ff4260ddad038f7721ff2c
|
DIST gnome-abrt-1.2.6.tar.gz 340308 BLAKE2B 5221fe43fd72fe8798f2c11275863e6936e616632641448c53dd24118d3b6b808fc373fe98b8775f1f1c58820c06195a665f6d417c95eaa7cc333cd7660b2d0b SHA512 12bcdeefa481b7caa04da046ee11d6adc9fd582b32f709d79a2d94cf61ca02643edd418cd9257c0f732a30aa5714fe83a282a4c794ff4260ddad038f7721ff2c
|
||||||
|
DIST gnome-abrt-1.2.7.tar.gz 339961 BLAKE2B cdacc079c4661c364f13af3102e2231adbeaf4226ba937436f5ce3ae109f28b87c9424c6dfbc016b912599205386f92c32b036ca31adbea79b9a54d7f3a27c4a SHA512 57446b1c1c312f3a47ea3dd2a40ac1d4ec5392df3181eac73086675b65d45cad9a01fba5252d073970878ef97d7d272508bc5b86a56779543ffdc8d083fb5413
|
||||||
|
@ -0,0 +1,60 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{4,5,6,7} )
|
||||||
|
|
||||||
|
inherit autotools python-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A utility for viewing problems that have occurred with the system"
|
||||||
|
HOMEPAGE="https://github.com/abrt/gnome-abrt"
|
||||||
|
SRC_URI="https://github.com/abrt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
IUSE=""
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
RDEPEND="${PYTHON_DEPS}
|
||||||
|
>=x11-libs/gtk+-3.10.0:3
|
||||||
|
>=dev-libs/libreport-2.0.20[python,${PYTHON_USEDEP}]
|
||||||
|
>=app-admin/abrt-2.10.10-r1
|
||||||
|
>=dev-python/pygobject-3.29.1:3[${PYTHON_USEDEP}]
|
||||||
|
x11-libs/libX11
|
||||||
|
>=dev-python/pyxdg-0.19[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
app-text/asciidoc
|
||||||
|
app-text/xmlto
|
||||||
|
>=dev-util/intltool-0.35.0
|
||||||
|
virtual/pkgconfig
|
||||||
|
>=sys-devel/gettext-0.17
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
./gen-version > gnome-abrt-version || die
|
||||||
|
eautoreconf
|
||||||
|
python_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
myeconfargs=(
|
||||||
|
--localstatedir="${EPREFIX}/var"
|
||||||
|
--with-nopylint
|
||||||
|
)
|
||||||
|
|
||||||
|
python_foreach_impl run_in_build_dir econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
python_foreach_impl run_in_build_dir default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
python_foreach_impl run_in_build_dir default
|
||||||
|
find "${D}" -name '*.la' -type f -delete || die
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,617 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# 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 eapi7-ver estack eutils flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx 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=$(ver_cut 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}"
|
||||||
|
|
||||||
|
STAGING_P="wine-staging-${PV}"
|
||||||
|
STAGING_DIR="${WORKDIR}/${STAGING_P}"
|
||||||
|
GWP_V="20190316"
|
||||||
|
PATCHDIR="${WORKDIR}/gentoo-wine-patches"
|
||||||
|
|
||||||
|
DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset"
|
||||||
|
HOMEPAGE="https://www.winehq.org/"
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
https://dev.gentoo.org/~np-hardass/distfiles/wine/gentoo-wine-patches-${GWP_V}.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
STAGING_EGIT_REPO_URI="https://github.com/wine-staging/wine-staging.git"
|
||||||
|
else
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
staging? ( https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${STAGING_P}.tar.gz )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="${PV}"
|
||||||
|
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +faudio ffmpeg +fontconfig +gecko gphoto2 gsm gssapi gstreamer +jpeg kerberos kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap pipelight +png prelink pulseaudio +realtime +run-exes samba scanner sdl selinux +ssl staging test themes +threads +truetype udev +udisks v4l vaapi vkd3d vulkan +X +xcomposite xinerama +xml"
|
||||||
|
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||||
|
X? ( truetype )
|
||||||
|
elibc_glibc? ( threads )
|
||||||
|
ffmpeg? ( staging )
|
||||||
|
osmesa? ( opengl )
|
||||||
|
pipelight? ( staging )
|
||||||
|
test? ( abi_x86_32 )
|
||||||
|
themes? ( staging )
|
||||||
|
vaapi? ( staging )
|
||||||
|
vkd3d? ( vulkan )" # 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}] )
|
||||||
|
faudio? ( app-emulation/faudio:=[${MULTILIB_USEDEP}] )
|
||||||
|
ffmpeg? ( >=media-video/ffmpeg-4:=[${MULTILIB_USEDEP}] )
|
||||||
|
fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] )
|
||||||
|
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||||
|
gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] )
|
||||||
|
gssapi? ( virtual/krb5[${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}] )
|
||||||
|
kerberos? ( virtual/krb5: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}] )
|
||||||
|
sdl? ( media-libs/libsdl2:=[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||||
|
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||||
|
staging? ( sys-apps/attr[${MULTILIB_USEDEP}] )
|
||||||
|
themes? (
|
||||||
|
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/cairo[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/gtk+:3[${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}] )
|
||||||
|
vaapi? ( x11-libs/libva[X,${MULTILIB_USEDEP}] )
|
||||||
|
vkd3d? ( app-emulation/vkd3d[${MULTILIB_USEDEP}] )
|
||||||
|
vulkan? ( media-libs/vulkan-loader[${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}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
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.8.0 )
|
||||||
|
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}
|
||||||
|
sys-devel/flex
|
||||||
|
>=sys-kernel/linux-headers-2.6
|
||||||
|
virtual/pkgconfig
|
||||||
|
virtual/yacc
|
||||||
|
X? ( x11-base/xorg-proto )
|
||||||
|
prelink? ( sys-devel/prelink )
|
||||||
|
staging? (
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Simple
|
||||||
|
)
|
||||||
|
xinerama? ( x11-base/xorg-proto )"
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-4.4-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" #310611
|
||||||
|
)
|
||||||
|
PATCHES_BIN=()
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/show_bug.cgi?id=635222
|
||||||
|
if [[ ${#PATCHES_BIN[@]} -ge 1 ]] || [[ ${PV} == 9999 ]]; then
|
||||||
|
DEPEND+=" dev-util/patchbin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
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 ${pn_live_val} ]]; then
|
||||||
|
if use staging; then
|
||||||
|
eerror "Because of the multi-repo nature of ${MY_PN}, ${pn_live_var}"
|
||||||
|
eerror "cannot be used to set the commit. Instead, you may use the"
|
||||||
|
eerror "environment variables:"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE_STAGING_WINE_STAGING"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||||
|
eerror "Commits must now be specified using the environment variables:"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE_STAGING_WINE_STAGING"
|
||||||
|
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}" git-r3_src_unpack
|
||||||
|
if use staging; then
|
||||||
|
local CURRENT_WINE_COMMIT=${EGIT_VERSION}
|
||||||
|
|
||||||
|
EGIT_CHECKOUT_DIR="${STAGING_DIR}" EGIT_REPO_URI="${STAGING_EGIT_REPO_URI}" git-r3_src_unpack
|
||||||
|
|
||||||
|
local COMPAT_WINE_COMMIT=$("${STAGING_DIR}/patches/patchinstall.sh" --upstream-commit) || die
|
||||||
|
|
||||||
|
if [[ "${CURRENT_WINE_COMMIT}" != "${COMPAT_WINE_COMMIT}" ]]; then
|
||||||
|
einfo "The current Staging patchset is not guaranteed to apply on this WINE commit."
|
||||||
|
einfo "If src_prepare fails, try emerging with the env var WINE_COMMIT."
|
||||||
|
einfo "Example: EGIT_OVERRIDE_COMMIT_WINE=${COMPAT_WINE_COMMIT} emerge -1 wine"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
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)"
|
||||||
|
|
||||||
|
if use staging; then
|
||||||
|
ewarn "Applying the Wine-Staging patchset. Any bug reports to the"
|
||||||
|
ewarn "Wine bugzilla should explicitly state that staging was used."
|
||||||
|
|
||||||
|
local STAGING_EXCLUDE=""
|
||||||
|
use pipelight || STAGING_EXCLUDE="${STAGING_EXCLUDE} -W Pipelight"
|
||||||
|
use faudio && STAGING_EXCLUDE="${STAGING_EXCLUDE} -W xaudio2-revert -W xaudio2_CommitChanges -W xaudio2_7-WMA_support -W xaudio2_7-CreateFX-FXEcho"
|
||||||
|
|
||||||
|
# Launch wine-staging patcher in a subshell, using eapply as a backend, and gitapply.sh as a backend for binary patches
|
||||||
|
ebegin "Running Wine-Staging patch installer"
|
||||||
|
(
|
||||||
|
set -- DESTDIR="${S}" --backend=eapply --no-autoconf --all ${STAGING_EXCLUDE}
|
||||||
|
cd "${STAGING_DIR}/patches"
|
||||||
|
source "${STAGING_DIR}/patches/patchinstall.sh"
|
||||||
|
)
|
||||||
|
eend $? || die "Failed to apply Wine-Staging patches"
|
||||||
|
fi
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
# Fix manpage generation for locales #469418 and abi_x86_64 #617864
|
||||||
|
|
||||||
|
# Duplicate manpages input files for wine64
|
||||||
|
local f
|
||||||
|
for f in loader/*.man.in; do
|
||||||
|
cp ${f} ${f/wine/wine64} || die
|
||||||
|
done
|
||||||
|
# Add wine64 manpages to Makefile
|
||||||
|
if use abi_x86_64; then
|
||||||
|
sed -i "/wine.man.in/i \
|
||||||
|
\\\twine64.man.in \\\\" loader/Makefile.in || die
|
||||||
|
sed -i -E 's/(.*wine)(.*\.UTF-8\.man\.in.*)/&\
|
||||||
|
\164\2/' loader/Makefile.in || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm_man_file(){
|
||||||
|
local file="${1}"
|
||||||
|
loc=${2}
|
||||||
|
sed -i "/${loc}\.UTF-8\.man\.in/d" "${file}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
while read f; do
|
||||||
|
l10n_for_each_disabled_locale_do rm_man_file "${f}"
|
||||||
|
done < <(find -name "Makefile.in" -exec grep -q "UTF-8.man.in" "{}" \; -print)
|
||||||
|
}
|
||||||
|
|
||||||
|
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 faudio)
|
||||||
|
$(use_with ffmpeg)
|
||||||
|
$(use_with fontconfig)
|
||||||
|
$(use_with ssl gnutls)
|
||||||
|
$(use_enable gecko mshtml)
|
||||||
|
$(use_with gphoto2 gphoto)
|
||||||
|
$(use_with gsm)
|
||||||
|
$(use_with gssapi)
|
||||||
|
$(use_with gstreamer)
|
||||||
|
--without-hal
|
||||||
|
$(use_with jpeg)
|
||||||
|
$(use_with kerberos krb5)
|
||||||
|
$(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_with sdl)
|
||||||
|
$(use_enable test tests)
|
||||||
|
$(use_with truetype freetype)
|
||||||
|
$(use_with udev)
|
||||||
|
$(use_with v4l)
|
||||||
|
$(use_with vkd3d)
|
||||||
|
$(use_with vulkan)
|
||||||
|
$(use_with X x)
|
||||||
|
$(use_with X xfixes)
|
||||||
|
$(use_with xcomposite)
|
||||||
|
$(use_with xinerama)
|
||||||
|
$(use_with xml)
|
||||||
|
$(use_with xml xslt)
|
||||||
|
)
|
||||||
|
|
||||||
|
use staging && myconf+=(
|
||||||
|
--with-xattr
|
||||||
|
$(use_with themes gtk3)
|
||||||
|
$(use_with vaapi va)
|
||||||
|
)
|
||||||
|
|
||||||
|
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 binloops, shouldn't be necessary, but including to stay safe
|
||||||
|
eshopts_push -s failglob #615218
|
||||||
|
# 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
|
||||||
|
eshopts_pop
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
eselect wine register ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine register --vanilla ${P} || die
|
||||||
|
else
|
||||||
|
if use staging; then
|
||||||
|
eselect wine register --staging ${P} || die
|
||||||
|
fi
|
||||||
|
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
|
||||||
|
else
|
||||||
|
if use staging; then
|
||||||
|
eselect wine deregister --staging ${P} || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
@ -1,7 +1,5 @@
|
|||||||
DIST xen-4.10.2-upstream-patches-2.tar.xz 37800 BLAKE2B ecf4c1a97a1d76eef925e79fd25a654695a954f81bf8a5884cd4b1007714c888d6d7e19839556c457cf49a2f20ee88d5689a0287ffd7b16487dac676b3386daf SHA512 e9212efd65827286b729b08eded4bd6deda4a9f0b72af26bf0d106a111dddd1b56e51154d3e2a2ee4b38fcf4e8a81f30ffe2a6b711b9261e50e5954447d30e60
|
DIST xen-4.10.2-upstream-patches-2.tar.xz 37800 BLAKE2B ecf4c1a97a1d76eef925e79fd25a654695a954f81bf8a5884cd4b1007714c888d6d7e19839556c457cf49a2f20ee88d5689a0287ffd7b16487dac676b3386daf SHA512 e9212efd65827286b729b08eded4bd6deda4a9f0b72af26bf0d106a111dddd1b56e51154d3e2a2ee4b38fcf4e8a81f30ffe2a6b711b9261e50e5954447d30e60
|
||||||
DIST xen-4.10.2.tar.gz 24697204 BLAKE2B b331d3ad8d7842446f7d2da5dd31560f636aa1408dd3cc8798dff35b868ef5a609d17e97ef4355e1e5aa825a5abc74103796f9a8015037f0a564ffcebd825722 SHA512 2e301b4d6eb106fcb52203bc1208c8fd1fc7bb5d795166c0f86e4085227050301f7daa6f21db440c47bc2ca2c7f87d9b96753cfdf3fa724e0416b5679b84c163
|
DIST xen-4.10.2.tar.gz 24697204 BLAKE2B b331d3ad8d7842446f7d2da5dd31560f636aa1408dd3cc8798dff35b868ef5a609d17e97ef4355e1e5aa825a5abc74103796f9a8015037f0a564ffcebd825722 SHA512 2e301b4d6eb106fcb52203bc1208c8fd1fc7bb5d795166c0f86e4085227050301f7daa6f21db440c47bc2ca2c7f87d9b96753cfdf3fa724e0416b5679b84c163
|
||||||
DIST xen-4.10.3-upstream-patches-1.tar.xz 24064 BLAKE2B ec9339d00afd4057738a78165a82dbebbab73eb561984a049daff84dfb115c0550e67796bfa775d5e5a3a4576c4ea7db408d491fe745a68c412f93a04719c58d SHA512 b3761acdb7a581d172e1e2b1e09406c4748eda3e25c81c19bb53b38e005d27e10ac64109870b47ce72372dc7b7c63ec3eca6156389c174f28ab4ad1c2b9e5634
|
|
||||||
DIST xen-4.10.3.tar.gz 24695778 BLAKE2B 50a9e31fb4cf587eeedb357fc710405a1cd4506174a38eb9b032a0cdd9b7f7343d98624ecb07cf605b1403664c7117cdc8f011290309caa18ca9604b4008b906 SHA512 030d23109ce4c0ebf50ade6841d5525a39032bcf8fd0599ccaa9502ff301c1f61f9c5f49233b41a5934a71228958febc1e529a9fc6822ba401a0c18c490ad412
|
|
||||||
DIST xen-4.11.1-upstream-patches-0.tar.xz 45416 BLAKE2B 3990dbf338c2aebe1cd601d7caccc6919352cc1f937677d447c3d2626143710bdfda7f1977e2ad7112abff9cad6bb660bc1b0993ca74b2eff51da6d4f4365813 SHA512 ecbc13e607581a6f9b4e318145afaa92ce641bda6fb12585408f61bcf24fa9b245004ad22150e109db5d38fcea38e6bdaf6bb2d6eaaf8e5d5fa8816b5a19e456
|
DIST xen-4.11.1-upstream-patches-0.tar.xz 45416 BLAKE2B 3990dbf338c2aebe1cd601d7caccc6919352cc1f937677d447c3d2626143710bdfda7f1977e2ad7112abff9cad6bb660bc1b0993ca74b2eff51da6d4f4365813 SHA512 ecbc13e607581a6f9b4e318145afaa92ce641bda6fb12585408f61bcf24fa9b245004ad22150e109db5d38fcea38e6bdaf6bb2d6eaaf8e5d5fa8816b5a19e456
|
||||||
DIST xen-4.11.1.tar.gz 25152217 BLAKE2B a8dfbeb3d490787725c589e1ce82dcbbcd0be7fb4743b38daf3a8704dffda34d1faabb07d74e01d2fab1572ce0b730c21192469317545e8b3edb3fae1130ef8c SHA512 c1655c5decdaed95a2b9a99652318cfc72f6cfdae957cfe60d635f7787e8850f33e8fafc4c4b8d61fb579c9b9d93028a6382903e71808a0418b931e76d72a649
|
DIST xen-4.11.1.tar.gz 25152217 BLAKE2B a8dfbeb3d490787725c589e1ce82dcbbcd0be7fb4743b38daf3a8704dffda34d1faabb07d74e01d2fab1572ce0b730c21192469317545e8b3edb3fae1130ef8c SHA512 c1655c5decdaed95a2b9a99652318cfc72f6cfdae957cfe60d635f7787e8850f33e8fafc4c4b8d61fb579c9b9d93028a6382903e71808a0418b931e76d72a649
|
||||||
DIST xen-4.12.0-rc5.tar.gz 26514850 BLAKE2B 41985dc33175bee8bddc4da0ec3b4da9f8cf3ebe580406011db47a27a8740566c1ace6e906d3385f73fee9b6cd572b0f3292381ac72a696fc15d020eb982ad02 SHA512 3d7fb254503c412a3c37782f7c75d093a1d43553dc110338d8dc00df0c6be4c8825cebf7f0519731e49263cef38d07ef48c18f073926d7eaf30abe64b13c52cb
|
DIST xen-4.12.0-rc5.tar.gz 26514850 BLAKE2B 41985dc33175bee8bddc4da0ec3b4da9f8cf3ebe580406011db47a27a8740566c1ace6e906d3385f73fee9b6cd572b0f3292381ac72a696fc15d020eb982ad02 SHA512 3d7fb254503c412a3c37782f7c75d093a1d43553dc110338d8dc00df0c6be4c8825cebf7f0519731e49263cef38d07ef48c18f073926d7eaf30abe64b13c52cb
|
||||||
|
@ -1,171 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
|
|
||||||
inherit flag-o-matic mount-boot multilib python-any-r1 toolchain-funcs
|
|
||||||
|
|
||||||
MY_PV=${PV/_/-}
|
|
||||||
MY_P=${PN}-${MY_PV}
|
|
||||||
|
|
||||||
if [[ $PV == *9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
|
|
||||||
SRC_URI=""
|
|
||||||
else
|
|
||||||
KEYWORDS="amd64 ~arm -x86"
|
|
||||||
UPSTREAM_VER=1
|
|
||||||
SECURITY_VER=
|
|
||||||
GENTOO_VER=
|
|
||||||
|
|
||||||
[[ -n ${UPSTREAM_VER} ]] && \
|
|
||||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
|
||||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
|
||||||
[[ -n ${SECURITY_VER} ]] && \
|
|
||||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
|
|
||||||
[[ -n ${GENTOO_VER} ]] && \
|
|
||||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
|
||||||
SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/${MY_P}.tar.gz
|
|
||||||
${UPSTREAM_PATCHSET_URI}
|
|
||||||
${SECURITY_PATCHSET_URI}
|
|
||||||
${GENTOO_PATCHSET_URI}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="The Xen virtual machine monitor"
|
|
||||||
HOMEPAGE="https://www.xenproject.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
|
|
||||||
[[ -n ${UPSTREAM_VER} ]] && eapply "${WORKDIR}"/patches-upstream
|
|
||||||
|
|
||||||
# Security patchset
|
|
||||||
if [[ -n ${SECURITY_VER} ]]; then
|
|
||||||
einfo "Try to apply Xen Security patch set"
|
|
||||||
# apply main xen patches
|
|
||||||
# Two parallel systems, both work side by side
|
|
||||||
# Over time they may concdense into one. This will suffice for now
|
|
||||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
|
||||||
|
|
||||||
local i
|
|
||||||
for i in ${XEN_SECURITY_MAIN}; do
|
|
||||||
eapply "${WORKDIR}"/patches-security/xen/$i
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Gentoo's patchset
|
|
||||||
[[ -n ${GENTOO_VER} ]] && eapply "${WORKDIR}"/patches-gentoo
|
|
||||||
|
|
||||||
eapply "${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
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
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:"
|
|
||||||
elog " https://wiki.gentoo.org/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"
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST c21e-1.1.8.gem 6656 BLAKE2B 2a2f237e975b4150b891e957d9b209c7d587f8e2994ac4e28162ca7d6a94b83d0841b753ef43870a2808a00f37c227910dda8dd2ae48379e9b63bfdafb266ccb SHA512 4903c8fb5aebf2c7d4771e5f0227ff30d873579439ebcef6235be6716f285d6c40d75b0e07634dd161b493690713121e18c12daff40e113cd8d525d6a7af2273
|
DIST c21e-1.1.8.gem 6656 BLAKE2B 2a2f237e975b4150b891e957d9b209c7d587f8e2994ac4e28162ca7d6a94b83d0841b753ef43870a2808a00f37c227910dda8dd2ae48379e9b63bfdafb266ccb SHA512 4903c8fb5aebf2c7d4771e5f0227ff30d873579439ebcef6235be6716f285d6c40d75b0e07634dd161b493690713121e18c12daff40e113cd8d525d6a7af2273
|
||||||
|
DIST c21e-1.1.9.gem 6656 BLAKE2B dc1ee96fddbb0f201f53ad58d22665e5e35f62098daf6ffafc7f12eb75d48703c0e02cb91ceb8a4b84d3357f0fa81d2bbc0207917ccb9c7638e449c72a059411 SHA512 47b578b7e916c2bb6ed4462bf766a5506e622db96f8e7f14833ede6255d695e75d03d38d0ebf02350c92eebd90ad3993eacc7c0ecc9205a56b9c01f690ceacea
|
||||||
|
@ -0,0 +1,20 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="Run cross-platform executables"
|
||||||
|
HOMEPAGE="https://github.com/cucumber/cucumber/blob/master/c21e/ruby"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="1"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
@ -0,0 +1,57 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
USE_RUBY="ruby23 ruby24 ruby25"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
|
||||||
|
|
||||||
|
# Rake tasks are not distributed in the gem.
|
||||||
|
RUBY_FAKEGEM_TASK_DOC=""
|
||||||
|
RUBY_FAKEGEM_TASK_TEST=""
|
||||||
|
|
||||||
|
inherit virtualx ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications"
|
||||||
|
HOMEPAGE="https://github.com/jnicklas/capybara"
|
||||||
|
LICENSE="MIT"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="3"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )"
|
||||||
|
|
||||||
|
ruby_add_bdepend "test? (
|
||||||
|
dev-ruby/rspec:3
|
||||||
|
>=dev-ruby/launchy-2.4.0
|
||||||
|
>=dev-ruby/selenium-webdriver-3.5:3
|
||||||
|
dev-ruby/sinatra:2
|
||||||
|
www-servers/puma
|
||||||
|
)"
|
||||||
|
|
||||||
|
ruby_add_rdepend "
|
||||||
|
dev-ruby/addressable
|
||||||
|
>=dev-ruby/mini_mime-0.1.3
|
||||||
|
>=dev-ruby/nokogiri-1.8:0
|
||||||
|
>=dev-ruby/rack-1.6.0:*
|
||||||
|
>=dev-ruby/rack-test-0.6.3:*
|
||||||
|
>=dev-ruby/regexp_parser-1.2:1
|
||||||
|
>=dev-ruby/xpath-3.2:3"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' spec/spec_helper.rb || die
|
||||||
|
|
||||||
|
# Avoid window-manager specific tests (sizes are specific for fluxbox)
|
||||||
|
sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die
|
||||||
|
|
||||||
|
# Avoid spec that requires unpackaged geckodriver
|
||||||
|
sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
|
||||||
|
|
||||||
|
# Avoid test dependency on puma server for now
|
||||||
|
sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
|
||||||
|
}
|
||||||
|
|
||||||
|
each_ruby_test() {
|
||||||
|
virtx ${RUBY} -Ilib -S rspec-3 spec || die "Tests failed."
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
|
DIST dalli-2.7.10.tar.gz 52106 BLAKE2B 0531247c1d615acd7d1124b8aceb5635088b55e5a85753f10b8fbd786ec3573f13df096e1537d9a31f3801632406f28d918de5971cb28ec31d6eb8387d0c74f1 SHA512 1b6308ef37d729d85741306c10bf87c9b9733f83f0b4bf089f3eced36c48cddd9a77d2fb44a77778844d1cafaa3cec5110a9c90f6a67dee08a96e163e6ccaf65
|
||||||
DIST dalli-2.7.8.tar.gz 51599 BLAKE2B 935fc1b0ffb2c93c0ef8ab6a82e63b4e272c51ae6c2cbd0c670953c0943942c25b4c795ca7953ad4e53284f6b6e35b44be386ec4dba0c96345256e3b3173152d SHA512 5fa48a01db15fdafa179663b71867dd6a9c2ab7b4b94434f650c1ce37bd71caa2bb22efe032a4eed777538cdc341f22a251d14772aaba62f4a6d9d8c33b6a346
|
DIST dalli-2.7.8.tar.gz 51599 BLAKE2B 935fc1b0ffb2c93c0ef8ab6a82e63b4e272c51ae6c2cbd0c670953c0943942c25b4c795ca7953ad4e53284f6b6e35b44be386ec4dba0c96345256e3b3173152d SHA512 5fa48a01db15fdafa179663b71867dd6a9c2ab7b4b94434f650c1ce37bd71caa2bb22efe032a4eed777538cdc341f22a251d14772aaba62f4a6d9d8c33b6a346
|
||||||
DIST dalli-2.7.9.tar.gz 51971 BLAKE2B ddf0286cd4edd1298d0cc759b5e5de1e60bb1ea1f8fbfdab559a09e716a0384c2bf5c70c6922d1b0d15df1af4de83eee16965a6d6f0543fbd5a0850464fb9f11 SHA512 38d4bb0a9c15175cdb77e40a0131c4e2caecc5b39b6fa15604aff8f1808429d2bf021f8817e9c2448007d5fb1dc50ea61c679a5a47ca54869d71391ec522f419
|
DIST dalli-2.7.9.tar.gz 51971 BLAKE2B ddf0286cd4edd1298d0cc759b5e5de1e60bb1ea1f8fbfdab559a09e716a0384c2bf5c70c6922d1b0d15df1af4de83eee16965a6d6f0543fbd5a0850464fb9f11 SHA512 38d4bb0a9c15175cdb77e40a0131c4e2caecc5b39b6fa15604aff8f1808429d2bf021f8817e9c2448007d5fb1dc50ea61c679a5a47ca54869d71391ec522f419
|
||||||
|
@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
USE_RUBY="ruby23 ruby24 ruby25"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_TASK_TEST="test"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_DOCDIR="doc"
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="History.md Performance.md README.md"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="A high performance pure Ruby client for accessing memcached servers"
|
||||||
|
HOMEPAGE="https://github.com/petergoldstein/dalli"
|
||||||
|
SRC_URI="https://github.com/petergoldstein/dalli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND+="${DEPEND} test? ( >=net-misc/memcached-1.5.4 )"
|
||||||
|
|
||||||
|
ruby_add_bdepend "test? (
|
||||||
|
dev-ruby/minitest:5
|
||||||
|
>=dev-ruby/mocha-0.13
|
||||||
|
dev-ruby/rack
|
||||||
|
dev-ruby/activesupport:5.2
|
||||||
|
dev-ruby/connection_pool )"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
|
||||||
|
|
||||||
|
sed -i -e '/\(appraisal\|bundler\)/ s:^:#:' Rakefile || die
|
||||||
|
|
||||||
|
sed -i -e '3igem "minitest", "~> 5.0"; gem "activesupport", "~>5.2.0"' \
|
||||||
|
-e '/bundler/ s:^:#:' test/helper.rb || die
|
||||||
|
|
||||||
|
# Drop rails dependency which is only used to display the version
|
||||||
|
# number, so we only need to depend on activesupport and avoid
|
||||||
|
# complicated circular dependencies.
|
||||||
|
sed -i -e '/rails/I s:^:#:' \
|
||||||
|
-e '14irequire "active_support"' test/helper.rb || die
|
||||||
|
|
||||||
|
# Fix test compatability with memcached 1.5.4 and higher
|
||||||
|
# https://github.com/petergoldstein/dalli/pull/672
|
||||||
|
sed -i -e '/memcached_low_mem_persistent/,/^end/ s/-M/-M -I 512k/' test/memcached_mock.rb || die
|
||||||
|
}
|
@ -1,3 +1,2 @@
|
|||||||
DIST itextomml-1.5.6.gem 125440 BLAKE2B b0894d26d20e85454c310589509cb0eef371f3c9139450ce8dcd25fac6b83e831557e05ba54b449557422b23d59868ee75f022fe4ba1c205d32926f923986864 SHA512 b74f5a9ca4eb669fee547bdf729e456dfe07b8be4e9ac0d1b7c3ad5d4e99371ae7b5bde565e6472ab07bbcec2754d4ee628ba07a6a7e938ea8a55a6023c2f1fd
|
|
||||||
DIST itextomml-1.5.7.gem 125440 BLAKE2B babdfdb7e81415a06875ba72a84da31f910bb0f634e2fd2ea724785b56d84b6d6ca7e544ddfe617a53c91a89314f0e0e8c2ac0f20f0cf8e26c11327f865e423b SHA512 65fbf03096695330e32ac9093e923ca50bb92a3b32a7657bea65e6abf51c7824fc8b650f564352c41d28e846cba62a60ffbd57ca14ad2587e3164e48d7d1043f
|
|
||||||
DIST itextomml-1.5.8.gem 125952 BLAKE2B 1fd68b00bed86e8f799d5cffd4de40d50151d18a11dbfbc91dbbc857295959d44c118bf39fcf4e7089e466d07f2ed03ad0d04c16c696fd6b7c4c8d101fd0c0ac SHA512 5fb1776ba7de3f0d09eed64bff8fc04c4a508cb7360d82853d65dc481bd0a43253c0a4edd4c9eaa0df835f9a21d6ed2c2d318f621c5d071b6566709d769c1312
|
DIST itextomml-1.5.8.gem 125952 BLAKE2B 1fd68b00bed86e8f799d5cffd4de40d50151d18a11dbfbc91dbbc857295959d44c118bf39fcf4e7089e466d07f2ed03ad0d04c16c696fd6b7c4c8d101fd0c0ac SHA512 5fb1776ba7de3f0d09eed64bff8fc04c4a508cb7360d82853d65dc481bd0a43253c0a4edd4c9eaa0df835f9a21d6ed2c2d318f621c5d071b6566709d769c1312
|
||||||
|
DIST itextomml-1.6.0.gem 125952 BLAKE2B 9422d7a7f0a872dc60fce6f5d217c8c085785787d40b1f976a0f3df04f49d8de37a6fb658d8960b27f27dec03401a013b51a9ebe2446f5deecd70cfab00a7756 SHA512 cabff2d8d36cea6b280c4c928675e368e02ce346870c2d933ebb5554722e729ef7a05132776d29e4a62f0fa89ef1ad2fdd729ac97a35d7aed6da24f90de75839
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
USE_RUBY="ruby23 ruby24 ruby25"
|
|
||||||
RUBY_FAKEGEM_TASK_DOC=""
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="README"
|
|
||||||
|
|
||||||
inherit multilib ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="Native Ruby bindings to itex2MML, which converts itex equations to MathML"
|
|
||||||
HOMEPAGE="https://golem.ph.utexas.edu/~distler/blog/itex2MML.html"
|
|
||||||
|
|
||||||
LICENSE="|| ( GPL-2+ MPL-1.1 LGPL-2+ )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
#Tests don't fail here
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
each_ruby_configure() {
|
|
||||||
${RUBY} -Cext extconf.rb || die
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_compile() {
|
|
||||||
emake V=1 -Cext
|
|
||||||
cp ext/itex2MML$(get_modname) lib/ || die
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_test() {
|
|
||||||
${RUBY} test/test_itextomml.rb || die
|
|
||||||
}
|
|
@ -1,9 +1,9 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=6
|
||||||
|
|
||||||
USE_RUBY="ruby23 ruby24 ruby25"
|
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
|
||||||
RUBY_FAKEGEM_TASK_DOC=""
|
RUBY_FAKEGEM_TASK_DOC=""
|
||||||
RUBY_FAKEGEM_EXTRADOC="README"
|
RUBY_FAKEGEM_EXTRADOC="README"
|
||||||
|
|
@ -1,3 +1,4 @@
|
|||||||
DIST parser-2.5.1.2.gem 654336 BLAKE2B bc6960730337d39d60fc63d6da15023c31986230260358bb64b172d06978ec7fd7cd031e1c9db3cf8a04c96c87b034d8043351c3ee4875402ff8fbac7bcc217c SHA512 d7c06cdf77c2efcedd656dc541ca5f4cd80e3c7c16977a87ce29d51515f4d724ec6bdc3367527d14d93b8339e64103b3cb757dbc2f8731b8941aa6ee4ff838d8
|
DIST parser-2.5.1.2.gem 654336 BLAKE2B bc6960730337d39d60fc63d6da15023c31986230260358bb64b172d06978ec7fd7cd031e1c9db3cf8a04c96c87b034d8043351c3ee4875402ff8fbac7bcc217c SHA512 d7c06cdf77c2efcedd656dc541ca5f4cd80e3c7c16977a87ce29d51515f4d724ec6bdc3367527d14d93b8339e64103b3cb757dbc2f8731b8941aa6ee4ff838d8
|
||||||
DIST parser-2.5.3.0.gem 654336 BLAKE2B dff1b0e0b593a5603f1b0fd9c39f59b6126ad9575d8c077d5a7e2feb16e6f9ef72321a3c7d3a0c21e2f7c26446132c8c30120785390f2b450a0f42a1b2d11128 SHA512 3721b5064ebd9a7de4e50f299001f1640ecdb27b99d932f0a509b89c0b5bf2b337b0298466e6267c61d2b5fcf2e556e0d1a10f6c29dc6f64bd042667f9d79d5b
|
DIST parser-2.5.3.0.gem 654336 BLAKE2B dff1b0e0b593a5603f1b0fd9c39f59b6126ad9575d8c077d5a7e2feb16e6f9ef72321a3c7d3a0c21e2f7c26446132c8c30120785390f2b450a0f42a1b2d11128 SHA512 3721b5064ebd9a7de4e50f299001f1640ecdb27b99d932f0a509b89c0b5bf2b337b0298466e6267c61d2b5fcf2e556e0d1a10f6c29dc6f64bd042667f9d79d5b
|
||||||
DIST parser-2.6.0.0.gem 655360 BLAKE2B 83b6814ad2b812fa89b1885d1362dbfc900df31998603672d6ade0e67cce6d82ddb18face2ed6b498c901cd4b27d002a34ef90187d8a1ccbfef48c7fa154f489 SHA512 34a5a0ff8d400644bf907d0959dd63ad6ce7cccdbd4842c8009d1b8a520ea87d5a8a61886d386d0490a2d266ca7897aceb725335e7ab88d757c6795b193c8ef2
|
DIST parser-2.6.0.0.gem 655360 BLAKE2B 83b6814ad2b812fa89b1885d1362dbfc900df31998603672d6ade0e67cce6d82ddb18face2ed6b498c901cd4b27d002a34ef90187d8a1ccbfef48c7fa154f489 SHA512 34a5a0ff8d400644bf907d0959dd63ad6ce7cccdbd4842c8009d1b8a520ea87d5a8a61886d386d0490a2d266ca7897aceb725335e7ab88d757c6795b193c8ef2
|
||||||
|
DIST parser-2.6.2.0.gem 701952 BLAKE2B 5c9fd1479c7bf95e43877a39c07697b766452bd9d712b140a313384adc50356949479f6a24e6d0dcba5238d8281cba952aed97ed002142c084fc73a64e96c3ec SHA512 c729767d8d2e7ddf293e6945226e219e297862a39bb22c52be0ae02e288cdf1a468cf372caef48cb858cd130b407e531efe9b1462a169c1f8ad3f3e56085e4ca
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||||
|
RUBY_FAKEGEM_TASK_TEST="test"
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_VERSION="${PV/_pre/.pre.}"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="A production-ready Ruby parser written in pure Ruby"
|
||||||
|
HOMEPAGE="https://github.com/whitequark/parser"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
ruby_add_bdepend "test? (
|
||||||
|
dev-ruby/minitest:5
|
||||||
|
dev-ruby/racc
|
||||||
|
dev-ruby/cliver )"
|
||||||
|
ruby_add_rdepend "=dev-ruby/ast-2.4*"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
sed -i -e "/[Bb]undler/d" Rakefile || die
|
||||||
|
sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST power_assert-1.1.1.tar.gz 16799 BLAKE2B df5f688d4242373f1a5de95fcbcdd63d23a14314a890a32839ba88494d04a09ad6b9c1dedea23f43d53cb708b3e5eee8d0a2307be16a1c11cf3cbf22ea254344 SHA512 a33429bf918c71a5b75e56940d46dfd05ed3c87f909d6f09ebf2d8b2cd43a3c5c37b5ac13c334383f1b3f52817ecd4ccf68cd649c53bebdfbc464a18c88b702c
|
DIST power_assert-1.1.1.tar.gz 16799 BLAKE2B df5f688d4242373f1a5de95fcbcdd63d23a14314a890a32839ba88494d04a09ad6b9c1dedea23f43d53cb708b3e5eee8d0a2307be16a1c11cf3cbf22ea254344 SHA512 a33429bf918c71a5b75e56940d46dfd05ed3c87f909d6f09ebf2d8b2cd43a3c5c37b5ac13c334383f1b3f52817ecd4ccf68cd649c53bebdfbc464a18c88b702c
|
||||||
DIST power_assert-1.1.2.tar.gz 17140 BLAKE2B a690365b60ff1dbcb9eb70807b4c9c772e7f809190f1fa7dfef449ff01656bc31bd59f0d291ff158bdac1e2accaf376a45fc1dd480fd864fe84ba1ab4baf3743 SHA512 716edf1e2885e2e4d760f9b09aa97be1eee353f4f50297d0009ebc9fa3e16599ae094b78911915f20d295a6232d6c14844f43bf843b25e90f7c76bfa1d7776fc
|
DIST power_assert-1.1.2.tar.gz 17140 BLAKE2B a690365b60ff1dbcb9eb70807b4c9c772e7f809190f1fa7dfef449ff01656bc31bd59f0d291ff158bdac1e2accaf376a45fc1dd480fd864fe84ba1ab4baf3743 SHA512 716edf1e2885e2e4d760f9b09aa97be1eee353f4f50297d0009ebc9fa3e16599ae094b78911915f20d295a6232d6c14844f43bf843b25e90f7c76bfa1d7776fc
|
||||||
DIST power_assert-1.1.3.tar.gz 17169 BLAKE2B 05e916cafafc6c90abd9fec30d4439bc4b02cb83267c37528c018eb367a402cd42aefdd050b388d3bc1735f0320109b0c1a078db3718c0d3b2a033c32536c441 SHA512 8612e08c3e30ddfccc6be30f2df101ddcee0d2338b9438fb44e922115c683b31f41b699ca998e088488da94eb5d80da360429fb2ba374c31a9b57a60ebc8c732
|
DIST power_assert-1.1.3.tar.gz 17169 BLAKE2B 05e916cafafc6c90abd9fec30d4439bc4b02cb83267c37528c018eb367a402cd42aefdd050b388d3bc1735f0320109b0c1a078db3718c0d3b2a033c32536c441 SHA512 8612e08c3e30ddfccc6be30f2df101ddcee0d2338b9438fb44e922115c683b31f41b699ca998e088488da94eb5d80da360429fb2ba374c31a9b57a60ebc8c732
|
||||||
|
DIST power_assert-1.1.4.tar.gz 17330 BLAKE2B 5d5e22c436c8e25612326e8d33a6ca10e8ddacf6d2b5266bdcd61c04abdcde231872ee7589985926153c58872714dd9ac4d66cf1bc0b02ce863968e0215a050c SHA512 1c7b98623710ad037aad4a399b80f28130b76ad38ee4bf0613fe6cfc9080bdcc9c6765358830bcd713201d6e14e33761a34e4434f41f3e8995d8d91d3809a61a
|
||||||
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_BINWRAP=""
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="Shows each value of variables and method calls in the expression"
|
||||||
|
HOMEPAGE="https://github.com/k-tsj/power_assert"
|
||||||
|
SRC_URI="https://github.com/k-tsj/power_assert/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
LICENSE="|| ( Ruby BSD-2 )"
|
||||||
|
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
ruby_add_bdepend "test? ( dev-ruby/test-unit )"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die
|
||||||
|
sed -i -e '1igem "test-unit"' \
|
||||||
|
-e '/byebug/ s:^:#:' test/test_helper.rb || die
|
||||||
|
|
||||||
|
# Avoid circular dependency on byebug when bootstrapping ruby
|
||||||
|
sed -i -e '/byebug/ s:^:#:' -e '/test_core_ext_helper/ s:^:#:' test/test_helper.rb || die
|
||||||
|
rm test/test_core_ext_helper.rb test/trace_test.rb || die
|
||||||
|
|
||||||
|
# Avoid circular dependency on pry when bootstrapping ruby
|
||||||
|
sed -i -e '/pry/ s:^:#:' -e '/test_colorized_pp/,/^ end/ s:^:#:' test/block_test.rb || die
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST ruby-ole-1.2.12.1.gem 56320 BLAKE2B e7107af4ca2fedeb3c4d3b2802f17fd922a5f70909ce0cd32b8627986af03f607417c801e525f553265f6f56246257618ef03484daaa3f7fff483aa89521ba68 SHA512 1c8c6669d37008aa9b837df33d6f12acb0c672e14828d8ab3e7cc2cdfb67f407b6af83972c9022cd9661232ff4c85a3ea2fdca82878ba48f713d6391f088392b
|
DIST ruby-ole-1.2.12.1.gem 56320 BLAKE2B e7107af4ca2fedeb3c4d3b2802f17fd922a5f70909ce0cd32b8627986af03f607417c801e525f553265f6f56246257618ef03484daaa3f7fff483aa89521ba68 SHA512 1c8c6669d37008aa9b837df33d6f12acb0c672e14828d8ab3e7cc2cdfb67f407b6af83972c9022cd9661232ff4c85a3ea2fdca82878ba48f713d6391f088392b
|
||||||
|
DIST ruby-ole-1.2.12.2.gem 56832 BLAKE2B 489dbaff30d5d293f5c04672c2e8dd2a6144f6b32fb22319c4691a351318f0aee8fd5d01106f3ef6abaab40e81cd86c8ba9d93ddb1e004240eb052ab6ce5675e SHA512 2c28336a827e42faed4183d79ae61d4dd2b888f3d13eb26fb2b7e967057127a01e184fb509c6e4718e7beebb7490ea2f7aa230f2c5e29efae49994fa92d604b7
|
||||||
|
@ -1,4 +1,2 @@
|
|||||||
DIST spreadsheet-1.1.8.tar.gz 4656238 BLAKE2B 583e3b45da505f398fb243387c375f97f13482ed39c8857caf96a865eb1f7babff188e459818e4609316ebdbd18f9050d60492fc27e0557aeebb0846dd3679cd SHA512 be90f9b3b21db98daced4bdaaf57fb1f0dd45e9f8fb330e451b51d68a78ffb0dbb2e7b08c1ee41836935ed263acd9639b074df45b7e429f5781d188bd7170e75
|
|
||||||
DIST spreadsheet-1.1.9.tar.gz 4656240 BLAKE2B cb2b663bc4721d916f0485fe51a5e46239f2e48dca2410d3b5e6f50ad4a4fb92982e3a9ba7605c4f202d538f3f69931837c2c0d323b8b30e9c25210fadca8796 SHA512 1a4d8f3e2f6772ff6fdfdc818893d8d808b03f68428125d6f3deab38830dc47ab203fbface21b01c66ab451e2175db38f4b6d3b0cc2423ac37578d3bd135305c
|
DIST spreadsheet-1.1.9.tar.gz 4656240 BLAKE2B cb2b663bc4721d916f0485fe51a5e46239f2e48dca2410d3b5e6f50ad4a4fb92982e3a9ba7605c4f202d538f3f69931837c2c0d323b8b30e9c25210fadca8796 SHA512 1a4d8f3e2f6772ff6fdfdc818893d8d808b03f68428125d6f3deab38830dc47ab203fbface21b01c66ab451e2175db38f4b6d3b0cc2423ac37578d3bd135305c
|
||||||
DIST spreadsheet-1.2.0.tar.gz 4655737 BLAKE2B d0f909ee7d465acb83ac99f74e273b3d82c195ce0747a73a791807100397f89d61db5c771017c525942c68f6a11f38dbae8a6e1b5d25509388a9c4b5b0769793 SHA512 3767e4f7d027b9162f4ca2f10d7d9ed211ddce680bec9d414dd2b2afde327b61be6c821122357710ab5ee69f5cc5f7ba8f00e46e42ca240ef65263d820cbd166
|
|
||||||
DIST spreadsheet-1.2.2.tar.gz 4656143 BLAKE2B d68e128fc902dce7508e64f2ea530f222cea6be43a2841aa9fe28a4155919c11279bb43f525de8b62f1a08a4eb35e0d7bf0af2b808bd22e649a798fa3a77bbb0 SHA512 8a7a7b385b15967b3cabf4fcc40a69788ef4470e81789256208be6b6afed4fcc078e85e4cfab0e647a03ec3c312d07f4c24160bf57814d4990f7c6dba3abccef
|
DIST spreadsheet-1.2.2.tar.gz 4656143 BLAKE2B d68e128fc902dce7508e64f2ea530f222cea6be43a2841aa9fe28a4155919c11279bb43f525de8b62f1a08a4eb35e0d7bf0af2b808bd22e649a798fa3a77bbb0 SHA512 8a7a7b385b15967b3cabf4fcc40a69788ef4470e81789256208be6b6afed4fcc078e85e4cfab0e647a03ec3c312d07f4c24160bf57814d4990f7c6dba3abccef
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
|
|
||||||
|
|
||||||
# Avoid the complexity of the "rake" recipe and run testrb-2 manually.
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST=none
|
|
||||||
|
|
||||||
# Same thing for the docs whose rake target just calls rdoc.
|
|
||||||
RUBY_FAKEGEM_RECIPE_DOC=rdoc
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="GUIDE.md History.md README.md"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="Ruby library to read and write spreadsheet documents"
|
|
||||||
HOMEPAGE="https://github.com/zdavatz/spreadsheet"
|
|
||||||
SRC_URI="https://github.com/zdavatz/spreadsheet/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
|
|
||||||
ruby_add_rdepend ">=dev-ruby/ruby-ole-1.0"
|
|
||||||
|
|
||||||
each_ruby_test() {
|
|
||||||
ruby-ng_testrb-2 --pattern='.+.rb' --exclude='suite\.rb' test/
|
|
||||||
}
|
|
@ -1 +1,2 @@
|
|||||||
DIST will_paginate-3.1.6.gem 36864 BLAKE2B c6babf7125c20d7ed646930b7df39db864d0d46fd89d743daab73ba35254650ec0b4c7e203c5d5a2b00439d928b95508c1a82107db142f8cd77d27a14be00e7f SHA512 50e0fed5a3ea6a62f8620db3d30046a7a4cc602d9d7936a265d0c20a50eb267ecebb2c7d3bb07f3a514f70e556dad78085971bb80f94e1f4baf7048d6fd34c11
|
DIST will_paginate-3.1.6.gem 36864 BLAKE2B c6babf7125c20d7ed646930b7df39db864d0d46fd89d743daab73ba35254650ec0b4c7e203c5d5a2b00439d928b95508c1a82107db142f8cd77d27a14be00e7f SHA512 50e0fed5a3ea6a62f8620db3d30046a7a4cc602d9d7936a265d0c20a50eb267ecebb2c7d3bb07f3a514f70e556dad78085971bb80f94e1f4baf7048d6fd34c11
|
||||||
|
DIST will_paginate-3.1.7.gem 36864 BLAKE2B d003952c78f3447a21c332c2dd6e878cd5c24486e7697e0abe6d70db5e0c56858a0d03fa76a4c18dcf10e121b706cd80812d9f438360eb931430244a0e31ee11 SHA512 2741fb24482a6b55322e6ae83fc1d269074be39014e1b0e719025c86d20edf82b6b551cfb1264381b28dec240a0b5b10e9f41e3b081dd5aca94767cd98ce7376
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
USE_RUBY="ruby23 ruby24 ruby25"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_TASK_DOC=""
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="Most awesome pagination solution for Ruby"
|
||||||
|
HOMEPAGE="https://github.com/mislav/will_paginate/"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="3"
|
||||||
|
KEYWORDS="~amd64 ~x86-macos"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
# Remove tests for unpackaged ORMs
|
||||||
|
rm -f spec/finders/{sequel,mongoid,data_mapper}* || die
|
||||||
|
}
|
||||||
|
|
||||||
|
ruby_add_bdepend "
|
||||||
|
test? (
|
||||||
|
dev-ruby/rails
|
||||||
|
dev-ruby/mocha
|
||||||
|
)"
|
Binary file not shown.
@ -0,0 +1,25 @@
|
|||||||
|
From 51788c6f295651fecd3bb498236bbcf3c263ee84 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Friedrich W. H. Kossebau" <kossebau@kde.org>
|
||||||
|
Date: Sun, 20 Jan 2019 09:37:43 +0100
|
||||||
|
Subject: Fix window icon for non-desktopfile WM to own icon
|
||||||
|
"massif-visualizer"
|
||||||
|
|
||||||
|
---
|
||||||
|
app/main.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/app/main.cpp b/app/main.cpp
|
||||||
|
index c4526ba..21865e0 100644
|
||||||
|
--- a/app/main.cpp
|
||||||
|
+++ b/app/main.cpp
|
||||||
|
@@ -50,7 +50,7 @@ int main( int argc, char *argv[] )
|
||||||
|
aboutData.setOrganizationDomain("kde.org");
|
||||||
|
|
||||||
|
KAboutData::setApplicationData(aboutData);
|
||||||
|
- app.setWindowIcon(QIcon::fromTheme(QStringLiteral("office-chart-area")));
|
||||||
|
+ app.setWindowIcon(QIcon::fromTheme(QStringLiteral("massif-visualizer")));
|
||||||
|
|
||||||
|
QCommandLineParser parser;
|
||||||
|
parser.addVersionOption();
|
||||||
|
--
|
||||||
|
cgit v1.1
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST bastet-0.43.tgz 29115 BLAKE2B df8c866da77be5ecbee9ed24c26f506a26d84a218af3916ece8e6b1ea18dc6ff51e3d76a9553ddfe404212e0bed63073892cb53bdbd334e207ee115877ae4989 SHA512 a3683c2cea4df592d9cef2be1b0006acc2b6eddbe6b64aba1c21e81ba39df9bcff6494e0949b67a84f3d1a0fa6837f0d1b7cebb2eb8a551b54392e4a45f2e172
|
DIST bastet-0.43.2.tar.gz 87496 BLAKE2B 3d599751740af033b44aa9266a9c5782223aafc6d9ac104d92acb41a1642fd0f80867b7d2abfcdca2f39acffd68c17af40057fa45b2d3303285f966b4ac7d442 SHA512 e81ca8bf674b537b539b7f6b35b1233a714f03750ce1b3947f84e70ca5f98ed4583902e7b4800c5bdde66ee95a4ef8ed0f5854675c2d149cd26d2498dc187a41
|
||||||
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="a simple, evil, ncurses-based Tetris(R) clone"
|
||||||
|
HOMEPAGE="http://fph.altervista.org/prog/bastet.shtml"
|
||||||
|
SRC_URI="https://github.com/fph/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
sys-libs/ncurses:0=
|
||||||
|
dev-libs/boost:0=
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-0.43.2-Makefile.patch
|
||||||
|
"${FILESDIR}"/${P}-boost_include.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bastet
|
||||||
|
doman bastet.6
|
||||||
|
dodoc AUTHORS NEWS README
|
||||||
|
dodir /var/games
|
||||||
|
touch "${ED}/var/games/bastet.scores" || die "touch failed"
|
||||||
|
fperms 664 /var/games/bastet.scores
|
||||||
|
}
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit eutils games
|
|
||||||
|
|
||||||
DESCRIPTION="a simple, evil, ncurses-based Tetris(R) clone"
|
|
||||||
HOMEPAGE="http://fph.altervista.org/prog/bastet.shtml"
|
|
||||||
SRC_URI="http://fph.altervista.org/prog/files/${P}.tgz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="sys-libs/ncurses:0
|
|
||||||
dev-libs/boost:0"
|
|
||||||
RDEPEND=${DEPEND}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dogamesbin bastet
|
|
||||||
doman bastet.6
|
|
||||||
dodoc AUTHORS NEWS README
|
|
||||||
dodir "${GAMES_STATEDIR}"
|
|
||||||
touch "${D}${GAMES_STATEDIR}/bastet.scores" || die "touch failed"
|
|
||||||
fperms 664 "${GAMES_STATEDIR}/bastet.scores"
|
|
||||||
prepgamesdirs
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
--- Makefile.old 2010-12-02 15:43:29.000000000 +0100
|
|
||||||
+++ Makefile 2010-12-02 15:47:18.000000000 +0100
|
|
||||||
@@ -11,10 +11,10 @@
|
|
||||||
depend: *.hpp $(SOURCES)
|
|
||||||
$(CXX) -MM $(SOURCES) > depend
|
|
||||||
|
|
||||||
-include depend
|
|
||||||
+-include depend
|
|
||||||
|
|
||||||
$(PROGNAME): $(SOURCES:.cpp=.o)
|
|
||||||
- $(CXX) -ggdb -o $(PROGNAME) $(SOURCES:.cpp=.o) $(LDFLAGS) -lboost_program_options
|
|
||||||
+ $(CXX) ${CXXFLAGS} -o $(PROGNAME) $(SOURCES:.cpp=.o) $(LDFLAGS) -lboost_program_options
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f $(SOURCES:.cpp=.o) $(PROGNAME)
|
|
@ -0,0 +1,33 @@
|
|||||||
|
--- bastet-0.43.2/Makefile
|
||||||
|
+++ bastet-0.43.2/Makefile
|
||||||
|
@@ -2,8 +2,10 @@
|
||||||
|
MAIN=main.cpp
|
||||||
|
TESTS=Test.cpp
|
||||||
|
PROGNAME=bastet
|
||||||
|
+PKG_CONFIG?=pkg-config
|
||||||
|
BOOST_PO?=-lboost_program_options
|
||||||
|
-LDFLAGS+=-lncurses $(BOOST_PO)
|
||||||
|
+NCURSES_LIBS=$(shell $(PKG_CONFIG) --libs ncurses)
|
||||||
|
+LIBS=$(NCURSES_LIBS) $(BOOST_PO)
|
||||||
|
#CXXFLAGS+=-ggdb -Wall
|
||||||
|
CXXFLAGS+=-DNDEBUG -Wall
|
||||||
|
#CXXFLAGS+=-pg
|
||||||
|
@@ -12,15 +14,15 @@
|
||||||
|
all: $(PROGNAME) $(TESTS:.cpp=)
|
||||||
|
|
||||||
|
Test: $(SOURCES:.cpp=.o) $(TESTS:.cpp=.o)
|
||||||
|
- $(CXX) -ggdb -o $(TESTS:.cpp=) $(SOURCES:.cpp=.o) $(TESTS:.cpp=.o) $(LDFLAGS)
|
||||||
|
+ $(CXX) $(CXXFLAGS) -o $(TESTS:.cpp=) $(SOURCES:.cpp=.o) $(TESTS:.cpp=.o) $(LDFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
depend: *.hpp $(SOURCES) $(MAIN) $(TESTS)
|
||||||
|
$(CXX) -MM $(SOURCES) $(MAIN) $(TESTS)> depend
|
||||||
|
|
||||||
|
-include depend
|
||||||
|
+-include depend
|
||||||
|
|
||||||
|
$(PROGNAME): $(SOURCES:.cpp=.o) $(MAIN:.cpp=.o)
|
||||||
|
- $(CXX) -ggdb -o $(PROGNAME) $(SOURCES:.cpp=.o) $(MAIN:.cpp=.o) $(LDFLAGS)
|
||||||
|
+ $(CXX) $(CXXFLAGS) -o $(PROGNAME) $(SOURCES:.cpp=.o) $(MAIN:.cpp=.o) $(LDFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(SOURCES:.cpp=.o) $(TESTS:.cpp=.o) $(MAIN:.cpp=.o) $(PROGNAME)
|
@ -0,0 +1,33 @@
|
|||||||
|
From 0e03f8d4d6bc6949cf1c447e632ce0d1b98c4be1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Federico Poloni <fpoloni@di.unipi.it>
|
||||||
|
Date: Wed, 4 Oct 2017 19:35:01 +0200
|
||||||
|
Subject: [PATCH] Changed source of unordered_set (should hopefully fix #6
|
||||||
|
without reopening #1)
|
||||||
|
|
||||||
|
---
|
||||||
|
BastetBlockChooser.hpp | 5 ++---
|
||||||
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/BastetBlockChooser.hpp b/BastetBlockChooser.hpp
|
||||||
|
index 992e556..7ee3b7c 100644
|
||||||
|
--- a/BastetBlockChooser.hpp
|
||||||
|
+++ b/BastetBlockChooser.hpp
|
||||||
|
@@ -23,8 +23,7 @@
|
||||||
|
|
||||||
|
#include "Well.hpp"
|
||||||
|
|
||||||
|
-#include <boost/tr1/tr1/unordered_set>
|
||||||
|
-#include <set>
|
||||||
|
+#include <boost/unordered_set.hpp>
|
||||||
|
#include <boost/functional/hash.hpp>
|
||||||
|
|
||||||
|
namespace Bastet{
|
||||||
|
@@ -75,7 +74,7 @@ namespace Bastet{
|
||||||
|
public:
|
||||||
|
Searcher(BlockType b, const Well *well, Vertex v, WellVisitor *visitor);
|
||||||
|
private:
|
||||||
|
- std::tr1::unordered_set<Vertex> _visited;
|
||||||
|
+ boost::unordered_set<Vertex> _visited;
|
||||||
|
//std::set<Vertex> _visited; ^^ the above is more efficient, we need to do many inserts
|
||||||
|
BlockType _block;
|
||||||
|
const Well *_well;
|
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
DIST lutris-0.4.23.tar.gz 1831736 BLAKE2B 9da20d5545e9d2474bed436443fed325beb3ed2e3e945cb27e25fbce88ac7aeb9547a0a1bcd74349e5c7bda0dd6be50949b5abaa1fc091a21217b330c6fe655f SHA512 a0860920e01568888db5ac9a52c0d33a5108af33906ea411d4621dec4b059c399b17ca35c245bf9bfb506c6b242d32d917d3ade6898f619e00f9361117632fb3
|
|
||||||
DIST lutris_0.5.0.1.tar.xz 1687904 BLAKE2B 646182416201dd4e2fc025b600e569d87821ff98f2fc37ca6029479b7b097466e47135694303f8fc242c4d2632d0b4ecf471919181cd45b095bbff6ba8d973d4 SHA512 a9bf51f388859873de0af43b800692327b098c83966b9e32bbca3ccc0397e1ce5018e751b8f9fef5e83d9de4d1b014e330ffe7d8ab253af7dd2379151297f1bb
|
DIST lutris_0.5.0.1.tar.xz 1687904 BLAKE2B 646182416201dd4e2fc025b600e569d87821ff98f2fc37ca6029479b7b097466e47135694303f8fc242c4d2632d0b4ecf471919181cd45b095bbff6ba8d973d4 SHA512 a9bf51f388859873de0af43b800692327b098c83966b9e32bbca3ccc0397e1ce5018e751b8f9fef5e83d9de4d1b014e330ffe7d8ab253af7dd2379151297f1bb
|
||||||
|
DIST lutris_0.5.1.tar.xz 1740384 BLAKE2B fa9d35a96c38b8105e507b4e7d804f0ed79dd41b7abf906b52256e51b4ceaf1d0efca992d30de09ecd1fa470fa04fb9fe89f37076d1a0ed17f8d2fb4d4539d6b SHA512 edd0b7d2817a4ce39d606757335f35ce66d6bf7fb7251f907d02299cafe1cd2a0528aeb203c8b9b7ff9d7a59c40966c581fdfd2e7794ac92e7eb0bdd3f9e1d4d
|
||||||
|
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
DIST gnome-shell-extension-dash-to-panel-19.tar.gz 21031128 BLAKE2B f2df2fa7f4967b03cb99e86740f0738ec805427ef13d7dd1e86296b4ffd1dd2a154ffb7eb8c6a36a8d589b16635fe8f608182ebc11f2708eb1436bdf72097b01 SHA512 f5ab8d5aa397dbf4a7fc5d9e4584016fc5382c026cef6f58649923edf28f0c1f46cb1ec6ff32466ee4cb84b6b0ed30eac1b1924608ad02f34b1c24ec7bb91635
|
@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit gnome2-utils
|
||||||
|
|
||||||
|
MY_PN="${PN/gnome-shell-extension-/}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
DESCRIPTION="An icon taskbar for the Gnome Shell"
|
||||||
|
HOMEPAGE="https://github.com/home-sweet-gnome/dash-to-panel"
|
||||||
|
SRC_URI="https://github.com/home-sweet-gnome/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
COMMON_DEPEND="dev-libs/glib:2"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
app-eselect/eselect-gnome-shell-extensions
|
||||||
|
>=gnome-base/gnome-shell-3.18.0
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-util/intltool
|
||||||
|
sys-devel/gettext
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
# Set correct version
|
||||||
|
export VERSION="${PV}"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
gnome2_schemas_savelist
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
ebegin "Updating list of installed extensions"
|
||||||
|
eselect gnome-shell-extensions update
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>pacho@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1 @@
|
|||||||
|
DIST desktop-icons-19.01.1.tar.xz 41624 BLAKE2B bc528d0abf1951db50594fcb44260ae235890b90fb5c180e83dc91e7bc27a13b1508809ca88f2dbbd50ff30e47ce865242f21a983298e0ae69bd699cf7cfc9a5 SHA512 04f9752bb75c6ca008337f57f88ce3e0000f34c54982adac58519bd6d0767763f7c94c9a0145f2e2836fc3053b68aef828f1960f7efdcc6b97ace3dbc8dbd9e8
|
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit gnome2-utils meson
|
||||||
|
|
||||||
|
MY_PN="${PN/gnome-shell-extension-/}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
DESCRIPTION="A GNOME Shell extension for providing desktop icons"
|
||||||
|
HOMEPAGE="https://gitlab.gnome.org/World/ShellExtensions/desktop-icons"
|
||||||
|
SRC_URI="https://gitlab.gnome.org/World/ShellExtensions/${MY_PN}/uploads/c15ece9cbe50ca428e195eba96e12fd4/${MY_P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
COMMON_DEPEND="dev-libs/glib:2"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
app-eselect/eselect-gnome-shell-extensions
|
||||||
|
>=gnome-base/gnome-shell-3.30.0
|
||||||
|
>=gnome-base/nautilus-3.30.4
|
||||||
|
sys-apps/xdg-desktop-portal
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}"
|
||||||
|
BDEPEND=""
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
gnome2_schemas_savelist
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
ebegin "Updating list of installed extensions"
|
||||||
|
eselect gnome-shell-extensions update
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>pacho@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue