parent
1e45ac6876
commit
8140b6ee4b
@ -1 +1 @@
|
||||
DIST kfoldersync-3.4.0.tar.xz 49968 SHA256 7c88a3099dbfd8d9de1eb4625983960b73bb7d5e260d86b967df768a382ac71e SHA512 90701867fb2d7986a4747640ab02479e731b5f81a35566f9f19120909daf06489ba4500f6b6651e2e53627cda287cc754739db6321cd1fb751d20903fd3b1026 WHIRLPOOL 474e2e7fdb5fee09e33388218c6deef488205171bc531d2de9f9e19ebfc5861631ce9452bb214fd713e8def2827d35d2b06b09310a58188bd4f21c076ad93790
|
||||
DIST kfoldersync-3.4.1.tar.xz 49308 SHA256 e934bc9778f593ec098549914b8ff571003e5a432e6cf0a7d81bacfccad7ae11 SHA512 b51c005942f0627f8ab3428e860c5f336df0282fd3dc184cac6897755a740ca873241e63828b1af7704b373e0a92de1a4bd9dbe8db3b7a35fbbafc2a509603d0 WHIRLPOOL 30ca31693c6c11aff0228e124e543edc5247c42b042cf547759e3aeb72b92e1557bf835e54d20ea1d6aaeca835f0304b529f9442d408589bf40b876f4a798ff6
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST zuluCrypt-4.7.7.tar.bz2 550309 SHA256 d832668c646bb93a63e908bd1896def830db304138a17f34eae09dd41b3197d4 SHA512 bca390caacc7ff39b03dce370c2f85da2f52d9de3604713ec2dec6f53b75573163a5db60ca30746f4056def8617a9a93f80026c1833396356c849b10948468f1 WHIRLPOOL 6d54015b8458cd6b4460afc33f14dabe3672bc3aea849230090b0c2a64f37da9777f1e0745e7000be1e05874962f4cc97e284fa8877fa0a1d09b93b71bb5e215
|
||||
DIST zuluCrypt-5.0.1.tar.bz2 785950 SHA256 53a970173c7f87cf3b2c4a9bf12c36fa7796147d99235cc37de9aa2cbcbddcde SHA512 69ffd13957ff36783d20caf489d35a018ef5eee4db6627789525be53dc39fe0245c16e95449de18eabef11a46480501647bdc7bd3072c92fecbcb43a7e1ec2eb WHIRLPOOL 40207e9a798676ecfc6a2959e4edb79bc770ee749844a005e15fb4227ea761e8ef29757ea1710b40248c861df69312354191e7311069eaf2f42c983d196f3e9c
|
||||
DIST zuluCrypt-5.1.0.tar.bz2 1610597 SHA256 dd57be9bcee64f7f4427f4a80e31bf8796d3ad7889f6c3bd78597ff14c1ba520 SHA512 b916d43f8c889f1593c506d95360b195f0639024463eb77b5b21b544468f99719b877d8c94725504305f307efe5cb18e203dc8f9b015bd55825dc1d4fffb42f0 WHIRLPOOL 72e202888b7c6cfc5fcc5720430c92813c7c313d04a1d31d432b942e0553450024c5a1a4e2cbb79359e4fa8276d7874a4d507721744a707745f1cf951d19510a
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Front end to cryptsetup"
|
||||
HOMEPAGE="https://mhogomchungu.github.io/zuluCrypt/"
|
||||
SRC_URI="https://github.com/mhogomchungu/zuluCrypt/releases/download/${PV}/zuluCrypt-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnome +gui kde udev"
|
||||
|
||||
REQUIRED_USE="kde? ( gui )"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/libgcrypt:0=
|
||||
sys-apps/util-linux
|
||||
sys-fs/cryptsetup
|
||||
gnome? ( app-crypt/libsecret )
|
||||
gui? (
|
||||
dev-libs/libpwquality
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
kde? ( kde-frameworks/kwallet:5 )
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
udev? ( virtual/udev )"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_SUFFIX="$(get_libdir)"
|
||||
-DNOGNOME=$(usex !gnome)
|
||||
-DNOGUI=$(usex !gui)
|
||||
-DNOKDE=$(usex !kde)
|
||||
-DUDEVSUPPORT=$(usex udev)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -0,0 +1,433 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
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 fdo-mime flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx versionator
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git http://source.winehq.org/git/wine.git"
|
||||
EGIT_BRANCH="master"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MAJOR_V=$(get_version_component_range 1-2)
|
||||
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}/${P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
VANILLA_GV="2.47"
|
||||
VANILLA_MV="4.6.4"
|
||||
WINE_GENTOO="wine-gentoo-2015.03.07"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
abi_x86_32? ( https://dl.winehq.org/wine/wine-gecko/${VANILLA_GV}/wine_gecko-${VANILLA_GV}-x86.msi )
|
||||
abi_x86_64? ( https://dl.winehq.org/wine/wine-gecko/${VANILLA_GV}/wine_gecko-${VANILLA_GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( https://dl.winehq.org/wine/wine-mono/${VANILLA_MV}/wine-mono-${VANILLA_MV}.msi )
|
||||
https://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
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/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[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}
|
||||
dos? ( >=games-emulation/dosbox-0.74_p20160629 )
|
||||
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-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 "${FILESDIR}"/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 "${FILESDIR}"/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 "${FILESDIR}"/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_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
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
wine_compiler_check || die
|
||||
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
|
||||
GV=${VANILLA_GV}
|
||||
MV=${VANILLA_MV}
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_COMMIT="${WINE_COMMIT}" git-r3_src_unpack
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
||||
"${FILESDIR}"/${PN}-1.9.5-multilib-portage.patch #395615
|
||||
"${FILESDIR}"/${PN}-1.7.12-osmesa-check.patch #429386
|
||||
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
|
||||
|
||||
# https://bugs.winehq.org/show_bug.cgi?id=42132
|
||||
"${FILESDIR}"/${PN}-2.0_rc3-flex263.patch
|
||||
)
|
||||
|
||||
default
|
||||
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
|
||||
|
||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
||||
cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
|
||||
|
||||
l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
--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 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 ${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 )
|
||||
local l
|
||||
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
|
||||
|
||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if use mono ; then
|
||||
insinto /usr/share/wine/mono
|
||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
||||
fi
|
||||
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
# Remove wineconsole if neither backend is installed #551124
|
||||
if ! use X && ! use ncurses; then
|
||||
rm "${D}"/usr/bin/wineconsole* || die
|
||||
rm "${D}"/usr/share/man/man1/wineconsole* || die
|
||||
rm_wineconsole() {
|
||||
rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die
|
||||
}
|
||||
multilib_foreach_abi rm_wineconsole
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
|
||||
# respect LINGUAS when installing man pages, #469418
|
||||
for l in de fr pl; do
|
||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_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_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST eselect-opengl-1.2.7.tar.xz 8292 SHA256 1f0d3e293c25cf9359421a7a0595278f5fcc25aaf346aaf45cb8b4f5b94c5978 SHA512 8f13526b819510807bf28343b698026cc240da6f231368e00a29b0225b300fbcf1d3e40a952390dced212df2b90c1f3410973c5dc225c4f29803491fe28a7293 WHIRLPOOL 3fb6beabc0cfd2e699c9afe652b01d6f8a34b33803ac6df1f196682756011d2c745eff0f4bcea677f4edcd0cfcc85b5168beb625e6f43275715fc1b51afa9e6c
|
||||
DIST glext.h.85.xz 66344 SHA256 f9db24b274581782726b7ece26825bc6dacc10871f24e712cedc5608720f40e0 SHA512 55fbee9cacde8a059ab1c25fbd5652d2879ac57423d2be7a1e947c5f4e82c2e1ff957441a39545958859435b88e69783e4f116dc3364f03378519df7476f121d WHIRLPOOL 493c86294f7bcade1e8ca427eea0f01cbd7a8e4f21a2f678f896af7fac06f8b6d04ceb8e93f2aacfaae6457a0368aa0c911dea90b31076cf77ae72fb492b3676
|
||||
DIST glxext.h.34.xz 7368 SHA256 cb22353fbd8f87ffea19b4758194af3a38796c41f93058eeb0fa237cce9a77b7 SHA512 525fe3e7d654ddc38dbbcf1b26c2e84099b502d993a176352386b10229fabf1a9ee60686c41d1486f77bcf08424119658b26ebd90d2260a66bc21bdc55340279 WHIRLPOOL 92901129f724e90a53ee602c3a7fb633ba190ad48bd098f5784eb1069e79c8fec4227fae1c59afee728e5e11776c6ff33fee6b5c5eb97b819b082de0713140d8
|
||||
DIST opengl.eselect-1.3.1.xz 2588 SHA256 40d805b89a07b85c60a3f7f3461c699f728a83246344950356ce2840bc34bf9e SHA512 052a804e96d8e8afe8b588fdc8996aad21675ea05e3e668c33293df4b9523dde8be083e4a7909a22ec83260c9735694fe4e8aa7e5d8a3736a8e243f29368e532 WHIRLPOOL 3989715d15b4da9ef8162c605a015571bf88dc4526c2fd309222706de0ce918574192263b1a68c4a1ffea9803b3bd0ea43aa3c75d344d0b3a32015f28e5ce533
|
||||
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Utility to change the OpenGL interface being used"
|
||||
HOMEPAGE="https://www.gentoo.org/"
|
||||
|
||||
# Source:
|
||||
# http://www.opengl.org/registry/api/glext.h
|
||||
# http://www.opengl.org/registry/api/glxext.h
|
||||
GLEXT="85"
|
||||
GLXEXT="34"
|
||||
|
||||
MIRROR="https://dev.gentoo.org/~mattst88/distfiles"
|
||||
SRC_URI="${MIRROR}/glext.h.${GLEXT}.xz
|
||||
${MIRROR}/glxext.h.${GLXEXT}.xz
|
||||
${MIRROR}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/xz-utils"
|
||||
RDEPEND=">=app-admin/eselect-1.2.4
|
||||
!<media-libs/mesa-8.0.3-r1
|
||||
!<x11-proto/glproto-1.4.15-r1
|
||||
!=media-libs/mesa-10.3.4-r1
|
||||
!=media-libs/mesa-10.3.5-r1
|
||||
!>=media-libs/mesa-10.3.7-r2
|
||||
!>=x11-proto/glproto-1.4.17-r1
|
||||
!=x11-base/xorg-server-1.12.4-r6
|
||||
!=x11-base/xorg-server-1.15.2-r3
|
||||
!=x11-base/xorg-server-1.16.4-r1
|
||||
!>=x11-base/xorg-server-1.16.4-r4"
|
||||
|
||||
pkg_postinst() {
|
||||
local impl="$(eselect opengl show)"
|
||||
if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
|
||||
eselect opengl set "${impl}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# don't die on Darwin users
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed -i -e 's/libGL\.so/libGL.dylib/' opengl.eselect || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/eselect/modules"
|
||||
doins opengl.eselect
|
||||
doman opengl.eselect.5
|
||||
|
||||
# Install global glext.h and glxext.h
|
||||
insinto "/usr/$(get_libdir)/opengl/global/include/GL/"
|
||||
cd "${WORKDIR}"
|
||||
newins glext.h.${GLEXT} glext.h
|
||||
newins glxext.h.${GLXEXT} glxext.h
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST khal-0.8.1.tar.gz 125681 SHA256 9d352e4aa6256e493d5aea69540f642158bdcab75d2383e1e43506bf89982094 SHA512 01b24b7fb041a78443eb1ede80797ca689c2141bf6bb6b171f49931de7440055c38efc4611c483fe85da90794d074e4d08224ce633878ca2f7b8d66799391033 WHIRLPOOL cbcff5dec339ea97ee7bc83860b4f0c0f75801553e191d5856d30758c95936b2a156cea09ae9bd5a2ea96a3914b454f84ce0123970d1d74693be75caa23cbd27
|
||||
DIST khal-0.8.3.tar.gz 126656 SHA256 1ec6940a9fbd207c41428b103bac1d1555129b9b4eca2b843c544bd48ac63ee3 SHA512 f49e57a6cc9abfcf8dbc5811c2fe00661fd09a8a6d1a64bae4df5ce9c1d01c6f325adeef68a7b45eed3a34bd797b801c00fcd8fa4fdf378335d5273629f0a165 WHIRLPOOL 20963f12d9419f2421680548a6de22261e4d9c4482f6a28937b4339335b5a4965178bae0624cc5172da98c534603d3cd0ed5337e03c04190195a478b34b4a34f
|
||||
DIST khal-0.8.4.tar.gz 129251 SHA256 2e5c41eadf83c8f175dc05816571e747da921b025e4acc6b287c109b6e237e0f SHA512 8a1066f137db1b3a9c2cc246ea17baf6745efd3db9dadacb76b287546137da363bcd78a4ac2acd2c659fbf25f16b155cc993099067a736ef3b68b2e8512d7b83 WHIRLPOOL 094c9ec2a0343d557ba70956239d5fa719d9fd08c7038d542b173f18ebce30b11761ac2e09780381fb55a9942cb885fd63b46d6c32573c94ed52990f34841e7b
|
||||
DIST khal-0.9.0.tar.gz 158220 SHA256 b9aa992a8ed1a5d816eeeff79256ad7edea591acdf16ae30e65bfdc3adef0f8d SHA512 f457d6cbd323f65c2185776b8c8ed67268820ee4c06c845f3640dfc085a5528b19c855ada670d397a74d6c0785b7abeb90247528cbc826b39b51284917577acd WHIRLPOOL 4f003e39735917a7dec13f4aaffb851755e0d1f2c2d007111a4766622dfc900cece0c0dd38d5735d145ba36855639c08d1db3c3a7e5e9da5d428e23c469fc600
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A CalDAV based calendar"
|
||||
HOMEPAGE="http://lostpackets.de/khal/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="zsh-completion"
|
||||
|
||||
RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
|
||||
dev-python/icalendar[${PYTHON_USEDEP}]
|
||||
dev-python/urwid[${PYTHON_USEDEP}]
|
||||
dev-python/pyxdg[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/configobj[${PYTHON_USEDEP}]
|
||||
>=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/setproctitle[${PYTHON_USEDEP}]
|
||||
zsh-completion? ( app-shells/zsh )"
|
||||
|
||||
DEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
|
||||
dev-python/freezegun"
|
||||
|
||||
DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample )
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
if use zsh-completion; then
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins misc/__khal
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST neofetch-1.8.1.tar.gz 52867 SHA256 dfa1e97f3a91af00da45af1bf3f6a197f545063dba129bd4db839b0139e68e24 SHA512 c89a5c2b01c75fdce66e901d95f19da7e7865bc708426a577b3d11bd383eb7261d1493eb06aa4da59c141bd0d5629a6dbdf1dcf334ea57a86ceab565de627f29 WHIRLPOOL f6de8f24f602298582d61a7932344cb4f3d0ddd197d7c948273f12e911a593059aead4dd598d54331d65aa0d6764386f5e268775dc19c0817b2201c13687af37
|
||||
DIST neofetch-1.9.1.tar.gz 55739 SHA256 d7e30215994968ca861836f9bab9259624688fd50620e7d5af5c8b31da8bd32b SHA512 e5b339549bd5eae726e66369bd9ebae7927117d7fb5af52bdfa54d5bff0793d72ed893ed631999dd492a2044fcc91ffe990ae8113b40fa3d724f5584417defc9 WHIRLPOOL 74f35ede4b3836d4b5485df0a80a1a9fef0d23de637558456dac69bdf7f4a1742f7f2e87e4c0faa99bec5959145ea5cc8e764cde320f1005ec1263c0c808eaac
|
||||
DIST neofetch-2.0.2.tar.gz 57385 SHA256 25a174ed41720d7645240cce4ca24f6228097a0daae3afd42563bfcf01584bc9 SHA512 1c31df41cf1e08f40c1a8ff5721f503d9350facf13ae0df30e229ce772b198d22b52662db82908d8d501a396142ba5fea0e7f14e9c8c323bfcbe2080826e1477 WHIRLPOOL b0900b4cf672fb07a2b359a2a3ee8c6e0ae13d745bde0ea8aa435b0a886d86ee1a6b2ef7d9d41e8fec6947d02df47de234a3af250de783f1525db57888fac017
|
||||
DIST neofetch-3.0.tar.gz 69256 SHA256 b5d3319474ff432c874dd39d38800ac8eb31da0b8e481b871ff4792f07fb67c4 SHA512 9f6a446da92d6a1d1a961c34d223e7154d42c9ffddb578064ece7ada9745c8c4d5f11fd9c4b06cb40028886aee3547362a3d097824bc4280859dcbbf2498c1ac WHIRLPOOL 832850eee7a3eead0e09d55c9f75bcb7d527abbc37cce5011b24fe87487562a2e9b03b27db7a18947ec4120ad76d6169e380122c48e68a39e8ce72ce504bd0c1
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Simple information system script"
|
||||
HOMEPAGE="https://github.com/dylanaraps/neofetch"
|
||||
SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz"
|
||||
LICENSE="MIT-with-advertising"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="sys-apps/pciutils
|
||||
X? (
|
||||
x11-apps/xprop
|
||||
x11-apps/xwininfo
|
||||
x11-apps/xrandr
|
||||
www-client/w3m[imlib]
|
||||
media-libs/imlib2
|
||||
media-gfx/imagemagick
|
||||
)"
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "A lot of things have changed in neofetch 3.0, and we cannot"
|
||||
ewarn "guarantee that your config will work in neofetch 3.0. As such,"
|
||||
ewarn "we recommend you to use a new config. You can delete your current"
|
||||
ewarn "config from $HOME/.config/neofetch"
|
||||
|
||||
einfo "The system-wide config has been moved from /usr/share/neofetch/config"
|
||||
einfo "to /etc/neofetch/config."
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST portpeek-2.1.18.tar.gz 12233 SHA256 9cda20138b3e75f6f38c3cb117b23e9c01f2b8b0418379bfd68a30b09da835c5 SHA512 f3f7e728c3255f39394393344af469f719f5d0d83e45ddc75b81d53a2c80fe0ac18a606f5c8159917f784eb10a0b0bede44f7d764e11986d492ac61da48f4ade WHIRLPOOL cb97f3cdf95e5c31ba6530757bcd5aed71aa5e0dbb5d683db9a7d5a2e5f4fb9137463167802fe131b4bc6d2d8df2bf662bba9d1282f5df4148444c52ff59fc57
|
||||
DIST portpeek-2.1.21.tar.gz 12624 SHA256 cb36444a476158636d96d7b3ec0fc9c123ad2ec908338307763daa65b78e1d0e SHA512 7b430c85dcba4ac0d29e6fd680eaed2b59a60b5d21f0b93e90ff2e3ca7018f141e858accf10a035b75463c067444ef1be718be198bb6cc237827c9b7e67df76e WHIRLPOOL d1ae1ecb9e797cf809cca24f923fe879842605d1a4be1d43187bbfa2f03d15d18c2b667e86fa580a4ecea801b7db9208c374ba2aea70de086bb9115b0127027e
|
||||
DIST portpeek-2.1.22.tar.gz 12614 SHA256 b246887697f97a05ae313d7453f5836b5ce072be7f5c2ddb119537af1daa2127 SHA512 5b83385d787b37a394dd654b67ad24bf129d8345a820b26d58204602e33f26ed134feccc4e3ffc528003ee4f37a48dabca0681ecaca0b3ae08fc03697f29b1c3 WHIRLPOOL 4811579ecff20d838614cb2b609e6918a061f054e7da2edce617ab42a2fd9e3782b6ac15f7c51eef5e971b8d8989027160d2cb46ca485511baef6a603f9b8cff
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit python-r1
|
||||
|
||||
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
|
||||
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
|
||||
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
>=app-portage/gentoolkit-0.3.2-r1
|
||||
>=sys-apps/portage-2.3.3[${PYTHON_USEDEP}]"
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl python_doscript ${PN}
|
||||
doman *.[0-9]
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
--- tesseract-3.04.00/opencl/openclwrapper.cpp.orig 2016-01-31 11:55:02.535154846 +0100
|
||||
+++ tesseract-3.04.00/opencl/openclwrapper.cpp 2016-01-31 12:04:23.727809089 +0100
|
||||
@@ -14,6 +14,21 @@
|
||||
#include "otsuthr.h"
|
||||
#include "thresholder.h"
|
||||
|
||||
+/*
|
||||
+ Convenience macro to test the version of Leptonica.
|
||||
+*/
|
||||
+#if defined(LIBLEPT_MAJOR_VERSION) && defined(LIBLEPT_MINOR_VERSION)
|
||||
+# define TESSERACT_LIBLEPT_PREREQ(maj, min) \
|
||||
+ ((LIBLEPT_MAJOR_VERSION) > (maj) || ((LIBLEPT_MAJOR_VERSION) == (maj) && (LIBLEPT_MINOR_VERSION) >= (min)))
|
||||
+#else
|
||||
+# define TESSERACT_LIBLEPT_PREREQ(maj, min) 0
|
||||
+#endif
|
||||
+
|
||||
+#if TESSERACT_LIBLEPT_PREREQ(1,73)
|
||||
+# define CALLOC LEPT_CALLOC
|
||||
+# define FREE LEPT_FREE
|
||||
+#endif
|
||||
+
|
||||
#ifdef USE_OPENCL
|
||||
|
||||
#if ON_APPLE
|
@ -1,39 +0,0 @@
|
||||
--- a/java/Makefile.am 2015-07-11 03:53:12.000000000 -0400
|
||||
+++ b/java/Makefile.am 2016-01-20 22:20:37.505713349 -0500
|
||||
@@ -36,10 +36,9 @@
|
||||
com/google/scrollview/ScrollView.class
|
||||
|
||||
SCROLLVIEW_LIBS = \
|
||||
- $(srcdir)/piccolo2d-core-3.0.jar \
|
||||
- $(srcdir)/piccolo2d-extras-3.0.jar
|
||||
+ /usr/share/piccolo2d/lib/piccolo2d.jar
|
||||
|
||||
-CLASSPATH = $(srcdir)/piccolo2d-core-3.0.jar:$(srcdir)/piccolo2d-extras-3.0.jar
|
||||
+CLASSPATH = /usr/share/piccolo2d/lib/piccolo2d.jar
|
||||
|
||||
ScrollView.jar : $(SCROLLVIEW_CLASSES)
|
||||
$(JAR) cf $@ com/google/scrollview/*.class \
|
||||
--- a/viewer/svutil.cpp 2015-07-11 03:53:12.000000000 -0400
|
||||
+++ b/viewer/svutil.cpp 2016-01-21 01:46:30.203461826 -0500
|
||||
@@ -302,7 +302,7 @@
|
||||
#else
|
||||
const char* cmd_template = "-c \"trap 'kill %%1' 0 1 2 ; java "
|
||||
"-Xms1024m -Xmx2048m -Djava.library.path=%s -cp %s/ScrollView.jar:"
|
||||
- "%s/piccolo2d-core-3.0.jar:%s/piccolo2d-extras-3.0.jar"
|
||||
+ "/usr/share/piccolo2d/lib/piccolo2d.jar"
|
||||
" com.google.scrollview.ScrollView"
|
||||
" & wait\"";
|
||||
#endif
|
||||
--- a/viewer/Makefile.am 2015-07-11 03:53:12.000000000 -0400
|
||||
+++ b/viewer/Makefile.am 2016-01-21 03:37:04.355789682 -0500
|
||||
@@ -5,6 +5,10 @@
|
||||
-fvisibility=hidden -fvisibility-inlines-hidden
|
||||
endif
|
||||
|
||||
+if !GRAPHICS_DISABLED
|
||||
+AM_CPPFLAGS += -DSCROLLVIEW_PATH=/usr/share/tessdata/
|
||||
+endif
|
||||
+
|
||||
noinst_HEADERS = \
|
||||
scrollview.h svmnode.h svutil.h
|
||||
|
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="${PN}-ocr"
|
||||
DL_P="${MY_PN}-3.02"
|
||||
URI_PREFIX="https://${MY_PN}.googlecode.com/files"
|
||||
|
||||
inherit eutils autotools autotools-utils versionator
|
||||
|
||||
S="${WORKDIR}/${PN}-$(get_version_component_range 1-2 )"
|
||||
|
||||
DESCRIPTION="An OCR Engine that was developed at HP and now at Google"
|
||||
HOMEPAGE="https://code.google.com/p/tesseract-ocr/"
|
||||
SRC_URI="https://dev.gentoo.org/~tomka/files/${PN}-3.03-rc1.tar.gz
|
||||
${URI_PREFIX}/${DL_P}.eng.tar.gz
|
||||
doc? ( ${URI_PREFIX}/${DL_P}.02-doc-html.tar.gz )
|
||||
l10n_ar? ( ${URI_PREFIX}/${DL_P}.ara.tar.gz )
|
||||
l10n_bg? ( ${URI_PREFIX}/bul.traineddata.gz )
|
||||
l10n_ca? ( ${URI_PREFIX}/cat.traineddata.gz )
|
||||
l10n_chr? ( ${URI_PREFIX}/chr.traineddata.gz )
|
||||
l10n_cs? ( ${URI_PREFIX}/ces.traineddata.gz )
|
||||
l10n_de? ( ${URI_PREFIX}/deu.traineddata.gz
|
||||
${URI_PREFIX}/deu-frak.traineddata.gz )
|
||||
l10n_da? ( ${URI_PREFIX}/dan.traineddata.gz
|
||||
${URI_PREFIX}/dan-frak.traineddata.gz )
|
||||
l10n_el? ( ${URI_PREFIX}/ell.traineddata.gz )
|
||||
l10n_es? ( ${URI_PREFIX}/spa.traineddata.gz )
|
||||
l10n_fi? ( ${URI_PREFIX}/fin.traineddata.gz )
|
||||
l10n_fr? ( ${URI_PREFIX}/fra.traineddata.gz )
|
||||
l10n_he? ( ${URI_PREFIX}/${DL_P}.heb.tar.gz
|
||||
${URI_PREFIX}/${MY_PN}-3.01.heb-com.tar.gz )
|
||||
l10n_hi? ( ${URI_PREFIX}/${DL_P}.hin.tar.gz )
|
||||
l10n_hu? ( ${URI_PREFIX}/hun.traineddata.gz )
|
||||
l10n_id? ( ${URI_PREFIX}/ind.traineddata.gz )
|
||||
l10n_it? ( ${URI_PREFIX}/ita.traineddata.gz )
|
||||
l10n_ja? ( ${URI_PREFIX}/jpn.traineddata.gz )
|
||||
l10n_ko? ( ${URI_PREFIX}/kor.traineddata.gz )
|
||||
l10n_lt? ( ${URI_PREFIX}/lit.traineddata.gz )
|
||||
l10n_lv? ( ${URI_PREFIX}/lav.traineddata.gz )
|
||||
l10n_nl? ( ${URI_PREFIX}/nld.traineddata.gz )
|
||||
l10n_no? ( ${URI_PREFIX}/nor.traineddata.gz )
|
||||
l10n_pl? ( ${URI_PREFIX}/pol.traineddata.gz )
|
||||
l10n_pt? ( ${URI_PREFIX}/por.traineddata.gz )
|
||||
l10n_ro? ( ${URI_PREFIX}/ron.traineddata.gz )
|
||||
l10n_ru? ( ${URI_PREFIX}/rus.traineddata.gz )
|
||||
l10n_sk? ( ${URI_PREFIX}/slk.traineddata.gz
|
||||
${URI_PREFIX}/${MY_PN}-3.01.slk-frak.tar.gz )
|
||||
l10n_sl? ( ${URI_PREFIX}/slv.traineddata.gz )
|
||||
l10n_sr? ( ${URI_PREFIX}/srp.traineddata.gz )
|
||||
l10n_sv? ( ${URI_PREFIX}/swe.traineddata.gz
|
||||
${URI_PREFIX}/swe-frak.traineddata.gz )
|
||||
l10n_th? ( ${URI_PREFIX}/${DL_P}.tha.tar.gz )
|
||||
l10n_tl? ( ${URI_PREFIX}/tgl.traineddata.gz )
|
||||
l10n_tr? ( ${URI_PREFIX}/tur.traineddata.gz )
|
||||
l10n_uk? ( ${URI_PREFIX}/ukr.traineddata.gz )
|
||||
l10n_vi? ( ${URI_PREFIX}/vie.traineddata.gz )
|
||||
l10n_zh-CN? ( ${URI_PREFIX}/chi_sim.traineddata.gz )
|
||||
l10n_zh-TW? ( ${URI_PREFIX}/chi_tra.traineddata.gz )
|
||||
osd? ( ${URI_PREFIX}/${MY_PN}-3.01.osd.tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~mips ~ppc ppc64 ~sparc ~x86"
|
||||
|
||||
IUSE="doc examples jpeg png tiff -webp +scrollview static-libs l10n_ar l10n_bg l10n_ca l10n_chr l10n_cs l10n_de l10n_da l10n_el l10n_es l10n_fi l10n_fr l10n_he l10n_hi l10n_hu l10n_id l10n_it l10n_ja l10n_ko l10n_lt l10n_lv l10n_nl l10n_no l10n_pl l10n_pt l10n_ro l10n_ru l10n_sk l10n_sl l10n_sr l10n_sv l10n_th l10n_tl l10n_tr l10n_uk l10n_vi l10n_zh-CN l10n_zh-TW osd"
|
||||
|
||||
DEPEND=">=media-libs/leptonica-1.70[zlib,tiff?,jpeg?,png?,webp?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=(AUTHORS ChangeLog NEWS README ReleaseNotes )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/tesseract-2.04-gcc47.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable scrollview graphics) \
|
||||
--disable-dependency-tracking
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins eurotext.tif phototest.tif
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r "${WORKDIR}"/"${MY_PN}"/doc/html/*
|
||||
fi
|
||||
|
||||
# install language files
|
||||
insinto /usr/share/tessdata
|
||||
find "${WORKDIR}" -maxdepth 1 -type f -name "*.traineddata" -exec doins '{}' +
|
||||
doins "${WORKDIR}"/"${MY_PN}"/tessdata/*
|
||||
}
|
@ -0,0 +1,147 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="tesseract-ocr"
|
||||
LANGPACKV="3.04.00"
|
||||
URI_PREFIX="https://github.com/${MY_PN}/tessdata/raw/${LANGPACKV}/"
|
||||
JAVA_PKG_OPT_USE="scrollview"
|
||||
|
||||
inherit autotools java-pkg-opt-2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="An OCR Engine, orginally developed at HP, now open source."
|
||||
HOMEPAGE="https://github.com/tesseract-ocr"
|
||||
SRC_URI="https://github.com/${MY_PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
${URI_PREFIX}eng.traineddata -> eng.traineddata-${LANGPACKV}
|
||||
math? ( ${URI_PREFIX}equ.traineddata -> equ.traineddata-${LANGPACKV} )
|
||||
l10n_ar? ( ${URI_PREFIX}ara.traineddata -> ara.traineddata-${LANGPACKV} )
|
||||
l10n_bg? ( ${URI_PREFIX}bul.traineddata -> bul.traineddata-${LANGPACKV} )
|
||||
l10n_ca? ( ${URI_PREFIX}cat.traineddata -> cat.traineddata-${LANGPACKV} )
|
||||
l10n_chr? ( ${URI_PREFIX}chr.traineddata -> chr.traineddata-${LANGPACKV} )
|
||||
l10n_cs? ( ${URI_PREFIX}ces.traineddata -> ces.traineddata-${LANGPACKV} )
|
||||
l10n_de? ( ${URI_PREFIX}deu.traineddata -> deu.traineddata-${LANGPACKV}
|
||||
${URI_PREFIX}deu_frak.traineddata -> deu_frak.traineddata-${LANGPACKV} )
|
||||
l10n_da? ( ${URI_PREFIX}dan.traineddata -> dan.traineddata-${LANGPACKV}
|
||||
${URI_PREFIX}dan_frak.traineddata -> dan_frak.traineddata-${LANGPACKV} )
|
||||
l10n_el? ( ${URI_PREFIX}ell.traineddata -> ell.traineddata-${LANGPACKV} )
|
||||
l10n_es? ( ${URI_PREFIX}spa.traineddata -> spa.traineddata-${LANGPACKV} )
|
||||
l10n_fi? ( ${URI_PREFIX}fin.traineddata -> fin.traineddata-${LANGPACKV} )
|
||||
l10n_fr? ( ${URI_PREFIX}fra.traineddata -> fra.traineddata-${LANGPACKV} )
|
||||
l10n_he? ( ${URI_PREFIX}heb.traineddata -> heb.traineddata-${LANGPACKV} )
|
||||
l10n_hi? ( ${URI_PREFIX}hin.traineddata -> hin.traineddata-${LANGPACKV} )
|
||||
l10n_hu? ( ${URI_PREFIX}hun.traineddata -> hun.traineddata-${LANGPACKV} )
|
||||
l10n_id? ( ${URI_PREFIX}ind.traineddata -> ind.traineddata-${LANGPACKV} )
|
||||
l10n_it? ( ${URI_PREFIX}ita.traineddata -> ita.traineddata-${LANGPACKV} )
|
||||
l10n_ja? ( ${URI_PREFIX}jpn.traineddata -> jpn.traineddata-${LANGPACKV} )
|
||||
l10n_ko? ( ${URI_PREFIX}kor.traineddata -> kor.traineddata-${LANGPACKV} )
|
||||
l10n_lt? ( ${URI_PREFIX}lit.traineddata -> lit.traineddata-${LANGPACKV} )
|
||||
l10n_lv? ( ${URI_PREFIX}lav.traineddata -> lav.traineddata-${LANGPACKV} )
|
||||
l10n_nl? ( ${URI_PREFIX}nld.traineddata -> nld.traineddata-${LANGPACKV} )
|
||||
l10n_no? ( ${URI_PREFIX}nor.traineddata -> nor.traineddata-${LANGPACKV} )
|
||||
l10n_pl? ( ${URI_PREFIX}pol.traineddata -> pol.traineddata-${LANGPACKV} )
|
||||
l10n_pt? ( ${URI_PREFIX}por.traineddata -> por.traineddata-${LANGPACKV} )
|
||||
l10n_ro? ( ${URI_PREFIX}ron.traineddata -> ron.traineddata-${LANGPACKV} )
|
||||
l10n_ru? ( ${URI_PREFIX}rus.traineddata -> rus.traineddata-${LANGPACKV} )
|
||||
l10n_sk? ( ${URI_PREFIX}slk.traineddata -> slk.traineddata-${LANGPACKV}
|
||||
${URI_PREFIX}slk_frak.traineddata -> slk_frak.traineddata-${LANGPACKV} )
|
||||
l10n_sl? ( ${URI_PREFIX}slv.traineddata -> slv.traineddata-${LANGPACKV} )
|
||||
l10n_sr? ( ${URI_PREFIX}srp.traineddata -> srp.traineddata-${LANGPACKV} )
|
||||
l10n_sv? ( ${URI_PREFIX}swe.traineddata -> swe.traineddata-${LANGPACKV} )
|
||||
l10n_th? ( ${URI_PREFIX}tha.traineddata -> tha.traineddata-${LANGPACKV} )
|
||||
l10n_tl? ( ${URI_PREFIX}tgl.traineddata -> tgl.traineddata-${LANGPACKV} )
|
||||
l10n_tr? ( ${URI_PREFIX}tur.traineddata -> tur.traineddata-${LANGPACKV} )
|
||||
l10n_uk? ( ${URI_PREFIX}ukr.traineddata -> ukr.traineddata-${LANGPACKV} )
|
||||
l10n_vi? ( ${URI_PREFIX}vie.traineddata -> vie.traineddata-${LANGPACKV} )
|
||||
l10n_zh-CN? ( ${URI_PREFIX}chi_sim.traineddata -> chi_sim.traineddata-${LANGPACKV} )
|
||||
l10n_zh-TW? ( ${URI_PREFIX}chi_tra.traineddata -> chi_tra.traineddata-${LANGPACKV} )
|
||||
osd? ( ${URI_PREFIX}osd.traineddata -> osd.traineddata-${LANGPACKV} )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
IUSE="doc examples jpeg math opencl osd png scrollview static-libs tiff training webp l10n_ar l10n_bg l10n_ca l10n_chr l10n_cs l10n_de l10n_da l10n_el l10n_es l10n_fi l10n_fr l10n_he l10n_hi l10n_hu l10n_id l10n_it l10n_ja l10n_ko l10n_lt l10n_lv l10n_nl l10n_no l10n_pl l10n_pt l10n_ro l10n_ru l10n_sk l10n_sl l10n_sr l10n_sv l10n_th l10n_tl l10n_tr l10n_uk l10n_vi l10n_zh-CN l10n_zh-TW"
|
||||
|
||||
# With opencl USE=tiff is necessary in leptonica
|
||||
CDEPEND=">=media-libs/leptonica-1.71:=[zlib,tiff?,jpeg?,png?,webp?]
|
||||
opencl? (
|
||||
virtual/opencl
|
||||
media-libs/tiff:0=
|
||||
media-libs/leptonica:=[tiff]
|
||||
)
|
||||
scrollview? (
|
||||
>=dev-java/piccolo2d-3.0:0
|
||||
)
|
||||
training? (
|
||||
dev-libs/icu:=
|
||||
x11-libs/pango:=
|
||||
x11-libs/cairo:=
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
scrollview? ( >=virtual/jdk-1.7 )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
scrollview? ( >=virtual/jre-1.7 )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README.md ReleaseNotes )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-use-system-piccolo2d.patch"
|
||||
"${FILESDIR}/${P}-fix-opencl-ldflags.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
find "${DISTDIR}/" -name "*traineddata-${LANGPACKV}" \
|
||||
-execdir sh -c 'cp -- "$0" "${S}/tessdata/${0%-*}"' '{}' ';' || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-shared
|
||||
$(use_enable opencl)
|
||||
$(use_enable scrollview graphics)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
use doc && emake doc
|
||||
use scrollview && emake ScrollView.jar JAVAC="javac $(java-pkg_javac-args)"
|
||||
use training && emake training
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=( doc/html/. )
|
||||
default
|
||||
prune_libtool_files
|
||||
|
||||
if use training; then
|
||||
emake DESTDIR="${D}" training-install
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins testing/eurotext.tif testing/phototest.tif
|
||||
fi
|
||||
|
||||
insinto /usr/share/tessdata
|
||||
doins tessdata/*traineddata* # language files
|
||||
use scrollview && doins java/ScrollView.jar # scrollview
|
||||
}
|
@ -1,32 +1,28 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin eutils
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: enhanced comment creation"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=23"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
KEYWORDS="alpha amd64 ia64 mips ppc sparc x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="EnhancedCommentify"
|
||||
|
||||
DEPEND="
|
||||
>=sys-apps/sed-4"
|
||||
DEPEND="sys-apps/sed"
|
||||
|
||||
# See bug #74897.
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!app-vim/ctx"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
PATCHES=(
|
||||
# See bug #79185.
|
||||
epatch "${FILESDIR}"/${PN}-2.1-gentooisms.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.1-extra-ft-support.patch
|
||||
}
|
||||
"${FILESDIR}"/${PN}-2.1-gentooisms.patch
|
||||
"${FILESDIR}"/${PN}-2.1-extra-ft-support.patch
|
||||
)
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit vim-plugin eutils
|
||||
|
||||
DESCRIPTION="vim plugin: enhanced comment creation"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=23"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPFILES="EnhancedCommentify"
|
||||
|
||||
DEPEND="${DEPEND} >=sys-apps/sed-4"
|
||||
# bug #74897
|
||||
RDEPEND="!app-vim/ctx"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
# gentooy things, bug #79185
|
||||
epatch "${FILESDIR}"/${PN}-2.1-gentooisms.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.1-extra-ft-support.patch
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST nerdtree-tabs-1.4.6.zip 14048 SHA256 be9c721541129e44e72c646529613ce428c69d9accbce839d072b570e5140596 SHA512 68107f3c3b61cdd154b309f93a663306e15c8221a6913bf7e0a2171ec8fac25a2d358569b08e30355e8e6350e50116370df3a298dbb3f4a8d272489d720ab2f0 WHIRLPOOL fd2718570f4bcd8c238ddf8d22caafaf88b8ba05b86554051087d7d33992d52251377f996aab7a37b061438700024da0eca66e1ef0bfc01735cbb554ca6e481a
|
||||
DIST nerdtree-tabs-1.4.7.tar.gz 11135 SHA256 010cb1115f8bd3ea82a231dc480a51f70d215234e4661c0fca403e2e6b92cbb2 SHA512 f11172f0f64628752c7b523c7f65864a35b57ac83c966dd765402489c52b78c6a86bca65b99f788f2abf0b3d489e188dcfc9e75b342818dacbae221930aa6449 WHIRLPOOL 4bbee97f516a38d982b633c87f5a8b588543a16f3b29fa8a0389c5db4a3cf6ce5fd7ecf03d0bc95791fd604917838773fb3d68f6c9cc60159017c24cf0c8fd21
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: NERDTree and tabs in vim"
|
||||
HOMEPAGE="https://github.com/jistr"
|
||||
SRC_URI="https://github.com/jistr/vim-${PN}/archive/v${PV}.zip -> ${P}.zip"
|
||||
LICENSE="Apache-1.1"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="app-vim/nerdtree"
|
||||
|
||||
S="${WORKDIR}/vim-${P}"
|
@ -1 +1,2 @@
|
||||
DIST LMDB_0.9.18.tar.gz 139156 SHA256 dd35b471d6eea84f48f2feece13d121abf59ef255308b8624a36223ffbdf9989 SHA512 394e88d99d446eb30771d7cf7a661584683a0d6d8e976cc561b5eecbb2a5d0817bbd59994002afa4eae6c86a39f05f50ebc2eff77cd70dd8c67225df4611f5e6 WHIRLPOOL 067fdb080edfc338885358c5cfef39a6ca9cdab8f49fd0f62bc68005e1f7dac9cd69fc87d130cf19f818906d090b906ea8b9716440358f33982e96e91ae4c049
|
||||
DIST LMDB_0.9.19.tar.gz 143141 SHA256 108532fb94c6f227558d45be3f3347b52539f0f58290a7bb31ec06c462d05326 SHA512 1d9825f09592ad92a540a1dec232cf6649f41cc67b0d59dc8958a71f4090f347c84995f32a166e2c2efecb862981f455814dd07af99bc3489e42fe3fd8bc6191 WHIRLPOOL 968546a1ba458c9686353a4f497c070fd2f01087de68e91d92ae98aae9e371871d90a03645cd35d40208d670bfe5113144038739db8b53f5a9b7ec1b5ec13b75
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit toolchain-funcs flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store"
|
||||
HOMEPAGE="http://symas.com/mdb/"
|
||||
SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz"
|
||||
|
||||
LICENSE="OPENLDAP"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=""
|
||||
# =net-nds/openldap-2.4.40 installs lmdb files.
|
||||
RDEPEND="!=net-nds/openldap-2.4.40"
|
||||
|
||||
S="${WORKDIR}/${PN}-LMDB_${PV}/libraries/liblmdb"
|
||||
|
||||
src_prepare() {
|
||||
local soname="-Wl,-soname,liblmdb$(get_libname 0)"
|
||||
[[ ${CHOST} == *-darwin* ]] && \
|
||||
soname="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/liblmdb$(get_libname 0)"
|
||||
sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \
|
||||
-e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \
|
||||
-e "s!^AR.*!AR = $(tc-getAR)!" \
|
||||
-e "s!^SOEXT.*!SOEXT = $(get_libname)!" \
|
||||
-e "/^prefix/s!/usr/local!${EPREFIX}/usr!" \
|
||||
-e "/^libdir/s!lib\$!$(get_libdir)!" \
|
||||
-e "s!shared!shared ${soname}!" \
|
||||
"${S}/Makefile" || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# ensure sigwait has a second sig argument
|
||||
append-cppflags -D_POSIX_PTHREAD_SEMANTICS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LDLIBS+=" -pthread"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
mv "${ED}"usr/$(get_libdir)/liblmdb$(get_libname) \
|
||||
"${ED}"usr/$(get_libdir)/liblmdb$(get_libname 0) || die
|
||||
dosym liblmdb$(get_libname 0) /usr/$(get_libdir)/liblmdb$(get_libname)
|
||||
|
||||
use static-libs || rm "${ED}"usr/$(get_libdir)/liblmdb.a || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST tiled-0.17.2.tar.gz 4854767 SHA256 a9c5d68ccc00d89df8611df6c1c37aa8796fffcff968f3993f6d78686678c4b9 SHA512 c5c9cfe50f32adf4c146e8d9a08393b173d59aafee3df747bfb7a0137fe9580dcbf07518d6972491393f9f24289d628c4352a7359acbd06d500cd3ad0200fa42 WHIRLPOOL db45e8b2f5f743126db19d546ad9a8c0bca7e71ec9e2f54f447fcb228ab13cfb3e6d0d2f52482650b29608c31f774669427e1c6b6e3656fee529825ab0c1d533
|
||||
DIST tiled-0.18.0.tar.gz 6403889 SHA256 f3ef157e9446d7b0ec50ab8399644d52e03065e7860354f632bbbb318fe35933 SHA512 dec480c2c2fb39180ebbc241b75f864ebebf52fcbc1cd8ae114fdca57f696096d5659ba572089f8f40339bc0c92fa6cdb36774773b808cc187d790542f6b16be WHIRLPOOL 3b31250bf69f69264f3688715290123c7ef76d0a5621d14621929a7b524e501576a26bac9988a292a8dd3cbe0a6231744728bceaf84272cad31c995cc5a9e156
|
||||
DIST tiled-0.18.1.tar.gz 6407937 SHA256 7fcd31a6f1307e51e3e72666ada43b85e2afaa95559d48f511c39494c30d2e73 SHA512 d7918ad81f6563910d10260f50d37a6d01df649cc653a657ed24a59e4f1b0b0b10df30fed40c9c082cec0548b41b7b04662aefc6b08b721fc04a291bee7df062 WHIRLPOOL c36f5a41b1962fd0615a0989beef7dae6cb58af7d881b703527caebfca12e9c966f6fdb3231a7f2f19ed298d06ad076957ba1f63db6b029b342abe0248ffaf47
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit fdo-mime gnome2-utils multilib python-single-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="A general purpose tile map editor"
|
||||
HOMEPAGE="http://www.mapeditor.org/"
|
||||
SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2 GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples python"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-qt/qtcore-5.6:5
|
||||
>=dev-qt/qtgui-5.6:5
|
||||
>=dev-qt/qtnetwork-5.6:5
|
||||
>=dev-qt/qtopengl-5.6:5
|
||||
>=dev-qt/qtwidgets-5.6:5
|
||||
sys-libs/zlib
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS COPYING NEWS.md README.md )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
|
||||
einstalldocs
|
||||
|
||||
if use examples ; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
dodoc -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.0/JSP API 2.2 implementation"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-7/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml ||die
|
||||
java-pkg_clean
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7"
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml
|
||||
einfo "Removing bundled jars and classes"
|
||||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST ocaml-4.02.3.tar.xz 2058552 SHA256 83c6697e135b599a196fd7936eaf8a53dd6b8f3155a796d18407b56f91df9ce3 SHA512 a815421f6a320b18e7f351bd66884024ad4a33525ba161a198ea356892ce331be6c1ddf4cd07d120ebe9a902bcf815ce1b17e45f405e4e0b2d55ce1b6d2adada WHIRLPOOL 1104cdcf23b773ebf0c0ef8d8ee36b2b4b58b1fab10a41ff7f2d522c34ae6161bc6cba28b279eea03ac183a111fc332557084b017d0c2ad6f9c969204e309597
|
||||
DIST ocaml-4.03.0.tar.xz 2289296 SHA256 695caf381105183f9d37bcfb63f863f782352b070e5d7ff3ca269712398fe326 SHA512 9a7f4b17d459373334fb04f8a0d42732243245bf16bc35c935fb2119c7990d0c85549b2e11adea68a98a0a0171a461ccfbb2e249b59eedf90349f087a18ce243 WHIRLPOOL 9c822f7c66494a6e7fc30e565e7c8d120808a15b42cd64ccad0946f8413da44b50ec84dfd658e8f394dce4effe7eda380a0a203db14df9dfc24c7b54f7681cea
|
||||
DIST ocaml-4.04.0.tar.gz 4057711 SHA256 03e49d09d5a509216ca0cc8fccd10df3ad9dd441d7633e89974a74e149be3c51 SHA512 288c514e7ccfe29fe9a65239d04f000b3b05df71f15bc05b3e5af50cb233544b4fec22baad69f60de587e8f0f8f65ee023a5b709896a1a68f9fd6fe30b81344d WHIRLPOOL 91fea4195ed84fb97f2ae68e30f47ce60a2404bc47ca809f6e0d182dd755833ea16a2e033ee0a02fab008f5905a2a9b6fa8dc2194c75b8d9daa353eb6b1d70e9
|
||||
DIST ocaml-patches-7.tar.bz2 2194 SHA256 71e9496af89ded9852d8e1f32be18a5f0d7e11270958fb4bc8c588420b1e9156 SHA512 63bca96f009e2de24ff6f7a4b37b97c5b7655d5ad6196f06cc2b18ca213e87878a310d169378c341c00aaac698530e458e301620bcc21284bc8b9ea143f642dd WHIRLPOOL 02d17436f901c70b2fa8a104d8b7a6526c65ab9b40408b549c4f4dfe7a1eeae8213620d151fb181833782504e4d7cb6fa3ff7ddebe77efcb88d32fe057cbd8cc
|
||||
DIST ocaml-patches-8.tar.bz2 1803 SHA256 bce7ea483842f6e201cdf3de266928b39b5b45322315010291ed28f811720525 SHA512 fc477fbb5bdec60a3c4d3dfa110119bb579560ac0e0e57e30e076da72643bda6359c06fd3745fd3436c5d611dbbd888ec2921e9d1920f4929df633c35a797411 WHIRLPOOL ae73b5377744add3afce012b5745fafd70c0f92f75cd6cf91560e0f2ba359a91f7276afed13db145c307be9fdf79c339c2c69be6946565354c68d701fa61a4be
|
||||
|
@ -1,15 +0,0 @@
|
||||
--- ocaml-4.01.0-orig/configure 2013-08-23 16:22:36.000000000 +1000
|
||||
+++ ocaml-4.01.0/configure 2014-01-18 20:06:50.669644267 +1100
|
||||
@@ -892,7 +892,11 @@
|
||||
# For the terminfo module
|
||||
|
||||
if test "$withcurses" = "yes"; then
|
||||
- for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
|
||||
+ ncurseslibs=""
|
||||
+ if pkg-config --exists ncurses 2>/dev/null; then
|
||||
+ ncurseslibs=`pkg-config --libs ncurses`
|
||||
+ fi
|
||||
+ for libs in "${ncurseslibs}" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
|
||||
if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then
|
||||
echo "termcap functions found (with libraries '$libs')"
|
||||
echo "#define HAS_TERMCAP" >> s.h
|
@ -1,116 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit flag-o-matic eutils multilib versionator toolchain-funcs
|
||||
|
||||
PATCHLEVEL="7"
|
||||
MY_P="${P/_/+}"
|
||||
DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family"
|
||||
HOMEPAGE="http://www.ocaml.org/"
|
||||
SRC_URI="http://caml.inria.fr/pub/distrib/ocaml-$(get_version_component_range 1-2)/${MY_P}.tar.xz
|
||||
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
|
||||
|
||||
LICENSE="QPL-1.0 LGPL-2"
|
||||
# Everytime ocaml is updated to a new version, everything ocaml must be rebuilt,
|
||||
# so here we go with the subslot.
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="emacs latex ncurses +ocamlopt X xemacs"
|
||||
|
||||
RDEPEND="
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
X? ( x11-libs/libX11 x11-proto/xproto )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PDEPEND="emacs? ( app-emacs/ocaml-mode )
|
||||
xemacs? ( app-xemacs/ocaml )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
pkg_setup() {
|
||||
# dev-lang/ocaml creates its own objects but calls gcc for linking, which will
|
||||
# results in relocations if gcc wants to create a PIE executable
|
||||
if gcc-specs-pie ; then
|
||||
append-ldflags -nopie
|
||||
ewarn "Ocaml generates its own native asm, you're using a PIE compiler"
|
||||
ewarn "We have appended -nopie to ocaml build options"
|
||||
ewarn "because linking an executable with pie while the objects are not pic will not work"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LC_ALL=C
|
||||
local myconf=""
|
||||
|
||||
# Causes build failures because it builds some programs with -pg,
|
||||
# bug #270920
|
||||
filter-flags -fomit-frame-pointer
|
||||
# Bug #285993
|
||||
filter-mfpmath sse
|
||||
|
||||
# It doesn't compile on alpha without this LDFLAGS
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
use ncurses || myconf="${myconf} -no-curses"
|
||||
use X || myconf="${myconf} -no-graph"
|
||||
|
||||
# ocaml uses a home-brewn configure script, preventing it to use econf.
|
||||
RAW_LDFLAGS="$(raw-ldflags)" ./configure \
|
||||
--prefix "${EPREFIX}"/usr \
|
||||
--bindir "${EPREFIX}"/usr/bin \
|
||||
--target-bindir "${EPREFIX}"/usr/bin \
|
||||
--libdir "${EPREFIX}"/usr/$(get_libdir)/ocaml \
|
||||
--mandir "${EPREFIX}"/usr/share/man \
|
||||
--no-ocamlbuild \
|
||||
-target "${CHOST}" \
|
||||
-host "${CBUILD}" \
|
||||
-cc "$(tc-getCC)" \
|
||||
-as "$(tc-getAS)" \
|
||||
-aspp "$(tc-getCC) -c" \
|
||||
-partialld "$(tc-getLD) -r" \
|
||||
--with-pthread ${myconf} || die "configure failed!"
|
||||
|
||||
# http://caml.inria.fr/mantis/view.php?id=4698
|
||||
export CCLINKFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake world
|
||||
|
||||
# Native code generation can be disabled now
|
||||
if use ocamlopt ; then
|
||||
# bug #279968
|
||||
emake opt
|
||||
emake opt.opt
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake BINDIR="${ED}"/usr/bin \
|
||||
LIBDIR="${ED}"/usr/$(get_libdir)/ocaml \
|
||||
MANDIR="${ED}"/usr/share/man \
|
||||
install
|
||||
|
||||
# Symlink the headers to the right place
|
||||
dodir /usr/include
|
||||
dosym /usr/$(get_libdir)/ocaml/caml /usr/include/caml
|
||||
|
||||
dodoc Changes INSTALL README
|
||||
|
||||
# Create and envd entry for latex input files
|
||||
if use latex ; then
|
||||
echo "TEXINPUTS=${EPREFIX}/usr/$(get_libdir)/ocaml/ocamldoc:" > "${T}"/99ocamldoc
|
||||
doenvd "${T}"/99ocamldoc
|
||||
fi
|
||||
|
||||
# Install ocaml-rebuild portage set
|
||||
insinto /usr/share/portage/config/sets
|
||||
doins "${FILESDIR}/ocaml.conf"
|
||||
}
|
@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit flag-o-matic eutils multilib versionator toolchain-funcs
|
||||
|
||||
PATCHLEVEL="8"
|
||||
MY_P="${P/_/+}"
|
||||
DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family"
|
||||
HOMEPAGE="http://www.ocaml.org/"
|
||||
SRC_URI="http://caml.inria.fr/pub/distrib/ocaml-$(get_version_component_range 1-2)/${MY_P}.tar.xz
|
||||
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
|
||||
|
||||
LICENSE="QPL-1.0 LGPL-2"
|
||||
# Everytime ocaml is updated to a new version, everything ocaml must be rebuilt,
|
||||
# so here we go with the subslot.
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="emacs flambda latex ncurses +ocamlopt X xemacs"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/binutils-libs:=
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
X? ( x11-libs/libX11 x11-proto/xproto )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PDEPEND="emacs? ( app-emacs/ocaml-mode )
|
||||
xemacs? ( app-xemacs/ocaml )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
pkg_setup() {
|
||||
# dev-lang/ocaml creates its own objects but calls gcc for linking, which will
|
||||
# results in relocations if gcc wants to create a PIE executable
|
||||
if gcc-specs-pie ; then
|
||||
append-ldflags -nopie
|
||||
ewarn "Ocaml generates its own native asm, you're using a PIE compiler"
|
||||
ewarn "We have appended -nopie to ocaml build options"
|
||||
ewarn "because linking an executable with pie while the objects are not pic will not work"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LC_ALL=C
|
||||
local myconf=""
|
||||
|
||||
# Causes build failures because it builds some programs with -pg,
|
||||
# bug #270920
|
||||
filter-flags -fomit-frame-pointer
|
||||
# Bug #285993
|
||||
filter-mfpmath sse
|
||||
|
||||
# It doesn't compile on alpha without this LDFLAGS
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
use ncurses || myconf="${myconf} -no-curses"
|
||||
use X || myconf="${myconf} -no-graph"
|
||||
use flambda && myconf="${myconf} -flambda"
|
||||
|
||||
# ocaml uses a home-brewn configure script, preventing it to use econf.
|
||||
RAW_LDFLAGS="$(raw-ldflags)" ./configure \
|
||||
--prefix "${EPREFIX}"/usr \
|
||||
--bindir "${EPREFIX}"/usr/bin \
|
||||
--target-bindir "${EPREFIX}"/usr/bin \
|
||||
--libdir "${EPREFIX}"/usr/$(get_libdir)/ocaml \
|
||||
--mandir "${EPREFIX}"/usr/share/man \
|
||||
-target "${CHOST}" \
|
||||
-host "${CBUILD}" \
|
||||
-cc "$(tc-getCC)" \
|
||||
-as "$(tc-getAS)" \
|
||||
-aspp "$(tc-getCC) -c" \
|
||||
-partialld "$(tc-getLD) -r" \
|
||||
--with-pthread ${myconf} || die "configure failed!"
|
||||
|
||||
# http://caml.inria.fr/mantis/view.php?id=4698
|
||||
export CCLINKFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake world
|
||||
|
||||
# Native code generation can be disabled now
|
||||
if use ocamlopt ; then
|
||||
# bug #279968
|
||||
emake opt
|
||||
emake opt.opt
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use ocamlopt ; then
|
||||
emake -j1 tests
|
||||
else
|
||||
ewarn "${PN} testsuite requires ocamlopt useflag"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake BINDIR="${ED}"/usr/bin \
|
||||
LIBDIR="${ED}"/usr/$(get_libdir)/ocaml \
|
||||
MANDIR="${ED}"/usr/share/man \
|
||||
install
|
||||
|
||||
# Symlink the headers to the right place
|
||||
dodir /usr/include
|
||||
dosym /usr/$(get_libdir)/ocaml/caml /usr/include/caml
|
||||
|
||||
dodoc Changes README.adoc
|
||||
|
||||
# Create and envd entry for latex input files
|
||||
if use latex ; then
|
||||
echo "TEXINPUTS=${EPREFIX}/usr/$(get_libdir)/ocaml/ocamldoc:" > "${T}"/99ocamldoc
|
||||
doenvd "${T}"/99ocamldoc
|
||||
fi
|
||||
|
||||
# Install ocaml-rebuild portage set
|
||||
insinto /usr/share/portage/config/sets
|
||||
doins "${FILESDIR}/ocaml.conf"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST beignet-1.1.2-source.tar.gz 948241 SHA256 6a8d875afbb5e3c4fc57da1ea80f79abadd9136bfd87ab1f83c02784659f1d96 SHA512 25b7118976c385ad3b9db01afd3c9494ff9d050d44ee4266042abb4215747d8bb5086c06697f754956f562ea2b6e5ec51d51bbd651e8cd7cd0eb14eb8c83fbd4 WHIRLPOOL c3bfb7f4fa3c97bbd202ace868a08dce48753cac547b075e4c30cfff21cffcc5520ef4ef77b4e15fa8574a798f41a920e44503a160a1888e9ee4f2a737b37e82
|
||||
DIST beignet-1.2.0-source.tar.gz 1076674 SHA256 fc7af19efb7596b04510d26c558a576eba3e95e1ef86fd6951213c6a4bf58bff SHA512 f6c0de7d6a301352125d53c843d8c4a9728526b06b215093424720e7c17eb99f8cfc4b70c61e035d5cb36ca7666c6e772fe0d7818d91421104fa1ed350d637f1 WHIRLPOOL 9ac0195b16ff0ed186dbc5e0bfb6ee3027d0426d7e2401238b69b934a010d365eb6941cd80e3650e600cbcac8d31f819e2adb67452394b07a903aad72c1e11d7
|
||||
DIST beignet-1.2.1-source.tar.gz 1080590 SHA256 b74eb03534a12b86a896cdbd8209b072c8a38e7af456195793a498428a7ac81f SHA512 f0d0d0590be1624928d9ee1a0666f49d908eff1ee9c1a7a28c4e680523419e544f607899bcfdae7f4ce5d32d411739afb481c0c22383db4a7381ccc71326e7f2 WHIRLPOOL 74bb72220e865406100a232fd8755b37746acf3616adbc7c66389a7a7ef3d7ca959ea1234d167091161019c1c3fc0fb9b877fc70af695bd2d2bb232c83725322
|
||||
DIST beignet-1.3.0-source.tar.gz 1133643 SHA256 63d98b4fe8fba3dbc0299d29fef84560625e5ac51b16b8fed453021d4afb5cd5 SHA512 7eb3c8bca484462787a6b4d360059b63608305b171e33078f1b65dcbcbf6831bcca95e762af3f4f0b9c99449c7d607e63ea138149b9f3a854d7017df927aa7ee WHIRLPOOL cbaa92f67a5f53b3d3243dd08c9a680c734b732601667a40ba147023fa96c0b4f78794f76011ab172c66265ad4bf0eddd5b6b301fc0a67790dc3d30c23d7ec83
|
||||
|
@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
|
||||
inherit python-any-r1 cmake-multilib flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="OpenCL implementation for Intel GPUs"
|
||||
HOMEPAGE="https://01.org/beignet"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
IUSE="ocl-icd ocl20"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/beignet"
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="https://01.org/sites/default/files/${P}-source.tar.gz"
|
||||
S=${WORKDIR}/Beignet-${PV}-Source
|
||||
fi
|
||||
|
||||
COMMON="${PYTHON_DEPS}
|
||||
media-libs/mesa
|
||||
sys-devel/clang
|
||||
ocl20? ( >=sys-devel/llvm-3.9 >=sys-devel/llvm-3.6 )
|
||||
>=x11-libs/libdrm-2.4.70[video_cards_intel]
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes"
|
||||
RDEPEND="${COMMON}
|
||||
app-eselect/eselect-opencl"
|
||||
DEPEND="${COMMON}
|
||||
${PYTHON_DEPS}
|
||||
ocl-icd? ( dev-libs/ocl-icd )
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/no-debian-multiarch.patch
|
||||
"${FILESDIR}"/${P}-ocl20_no_platform_check.patch
|
||||
"${FILESDIR}"/${P}-oclicd_optional_gentoo.patch
|
||||
"${FILESDIR}"/${PN}-1.2.0_no-hardcoded-cflags.patch
|
||||
"${FILESDIR}"/llvm-terminfo.patch
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
docs/.
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != "binary" ]]; then
|
||||
if tc-is-gcc; then
|
||||
if [[ $(gcc-major-version) -eq 4 ]] && [[ $(gcc-minor-version) -lt 6 ]]; then
|
||||
eerror "Compilation with gcc older than 4.6 is not supported"
|
||||
die "Too old gcc found."
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# See Bug #593968
|
||||
append-flags -fPIC
|
||||
|
||||
cmake-utils_src_prepare
|
||||
# We cannot run tests because they require permissions to access
|
||||
# the hardware, and building them is very time-consuming.
|
||||
cmake_comment_add_subdirectory utests
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}"
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="${VENDOR_DIR}"
|
||||
-DOCLICD_COMPAT=$(usex ocl-icd)
|
||||
-DENABLE_OPENCL_20=$(usex ocl20)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}"
|
||||
|
||||
cmake-utils_src_install
|
||||
|
||||
insinto /etc/OpenCL/vendors/
|
||||
echo "${VENDOR_DIR}/lib/${PN}/libcl.so" > "${PN}-${ABI}.icd" || die "Failed to generate ICD file"
|
||||
doins "${PN}-${ABI}.icd"
|
||||
|
||||
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so.1
|
||||
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so
|
||||
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so.1
|
||||
dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -215,18 +215,6 @@
|
||||
|
||||
OPTION(ENABLE_OPENCL_20 "Enable opencl 2.0 support" OFF)
|
||||
IF (ENABLE_OPENCL_20)
|
||||
- Find_Program(LSPCI lspci)
|
||||
- IF (NOT LSPCI)
|
||||
- MESSAGE(FATAL_ERROR "Looking for lspci - not found")
|
||||
- ENDIF (NOT LSPCI)
|
||||
- EXECUTE_PROCESS(COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/GetGenID.sh"
|
||||
- RESULT_VARIABLE SUPPORT_OCL20_DEVICE
|
||||
- OUTPUT_VARIABLE PCI_ID_NOT_USED)
|
||||
-
|
||||
- IF (NOT SUPPORT_OCL20_DEVICE EQUAL 1)
|
||||
- MESSAGE(FATAL_ERROR "Only SKL and newer devices support OpenCL 2.0 now, your device don't support.")
|
||||
- ENDIF (NOT SUPPORT_OCL20_DEVICE EQUAL 1)
|
||||
-
|
||||
IF (NOT HAVE_DRM_INTEL_BO_SET_SOFTPIN)
|
||||
MESSAGE(FATAL_ERROR "Please update libdrm to version 2.4.66 or later to enable OpenCL 2.0.")
|
||||
ENDIF (NOT HAVE_DRM_INTEL_BO_SET_SOFTPIN)
|
@ -0,0 +1,23 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -197,17 +197,15 @@
|
||||
ENDIF(EGL_FOUND)
|
||||
ENDIF(ENABLE_GL_SHARING)
|
||||
|
||||
+OPTION(OCLICD_COMPAT "OCL ICD compatibility mode" ON)
|
||||
+IF(OCLICD_COMPAT)
|
||||
Find_Package(OCLIcd)
|
||||
IF(OCLIcd_FOUND)
|
||||
MESSAGE(STATUS "Looking for OCL ICD header file - found")
|
||||
- configure_file (
|
||||
- "intel-beignet.icd.in"
|
||||
- "${ICD_FILE_NAME}"
|
||||
- )
|
||||
- install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION /etc/OpenCL/vendors)
|
||||
ELSE(OCLIcd_FOUND)
|
||||
MESSAGE(STATUS "Looking for OCL ICD header file - not found")
|
||||
ENDIF(OCLIcd_FOUND)
|
||||
+ENDIF(OCLICD_COMPAT)
|
||||
|
||||
Find_Package(PythonInterp)
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST libmodbus-3.0.6.tar.gz 504757 SHA256 046d63f10f755e2160dc56ef681e5f5ad3862a57c1955fd82e0ce036b69471b6 SHA512 47a271b3677822701bac924f3e3245e3db72dbadfe1d860ae5d8171b32d2dbb1c761a351d055eafc661a15bc13cb60b793b2b0f9654bbafcf01b457d51991dca WHIRLPOOL f586f4e98083d9eccda7bc49dfda2ff24b167e50fb7cbf9a515066cef179b8a43190daecbf2de0871d09d443ff5d1ec871a77590b8d6f0d992354912a80d5215
|
||||
DIST libmodbus-3.1.1.tar.gz 595100 SHA256 76d93aff749d6029f81dcf1fb3fd6abe10c9b48d376f3a03a4f41c5197c95c99 SHA512 0e7b26137b9cdf13decb39a3662767e9309ca4937010a36baba05adb92b7322a85f07557367b80e7242b2cce714007d0e9e6701e127f15f866dae3861e180012 WHIRLPOOL 82ade12450aebad66b0ddd9adf73a1f9f91547e5d7bde85346867ff6a0b991ed532b8b10623e7b79d785092a07b9d34a583114ec573ef7109ec057c714dd4adb
|
||||
DIST libmodbus-3.1.2.tar.gz 428224 SHA256 661e14f9dc904f3f1b034464ddaa5fd4b8472f8f5d1ea10a1148af85591b7ee9 SHA512 a9916bcb861f39a73ea952cc3ab58af2949a3dfbf0e964ce5327c2443b0b9d812f6b740b90aa062c106477d2d6a3badfba6b0cee0455e48484cbdb07bcf82e82 WHIRLPOOL 08bf516fd8c6131211952e2c3145b406d1f685021ae317337f5354b7d83b0143dba201e4986317fa3d2a42fb013b89b7ea4f4b66497ce3e5dcdd088ac720a938
|
||||
DIST libmodbus-3.1.4.tar.gz 471576 SHA256 c8c862b0e9a7ba699a49bc98f62bdffdfafd53a5716c0e162696b4bf108d3637 SHA512 63f73894b27704f5e5b3ca0a364cc366c5b5d24903bb24384155890cf06c0f8e5c707a435a38129402ff6628ef3d611dd0db82f840b79cf1d205ebed2ac5681c WHIRLPOOL 9d125733601e6fb01fbd3ad7a6af5c72e7f91fcb8e2890aa7455e44cfbceaf615c700f36ccf3a0c2f28395117ff7adfcb8cbef4375c1ba9739646aed77e3dbf5
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- libmodbus-3.1.4/Makefile.in
|
||||
+++ libmodbus-3.1.4/Makefile.in
|
||||
@@ -379,7 +379,7 @@
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libmodbus.pc
|
||||
EXTRA_DIST = libmodbus.pc.in
|
||||
-dist_doc_DATA = MIGRATION README.md
|
||||
+dist_doc_DATA = MIGRATION README.md AUTHORS NEWS
|
||||
SUBDIRS = src doc $(am__append_1)
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Modbus library which supports RTU communication over a serial line or a TCP link"
|
||||
HOMEPAGE="http://libmodbus.org/"
|
||||
SRC_URI="http://libmodbus.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-silent-rules \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc AUTHORS MIGRATION NEWS README.rst
|
||||
use static-libs || rm "${D}"/usr/*/libmodbus.la
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue