parent
cf861fac72
commit
e44eb23608
@ -1,161 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils multilib toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc kde rar +pch static wxwidgets abi_x86_x32"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:${WX_GTK_VER}[X] kde-frameworks/kdelibs:4 )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-CVE-2015-1038.patch
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e 's:-pipe::g' \
|
||||
-e "/^CXX=/s:g++:$(tc-getCXX):" \
|
||||
-e "/^CC=/s:gcc:$(tc-getCC):" \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
-e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed \
|
||||
-e '/Rar/d' \
|
||||
-e '/RAR/d' \
|
||||
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
fi
|
||||
|
||||
if use abi_x86_x32; then
|
||||
sed -i -e "/^ASM=/s:amd64:x32:" makefile* || die
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU linker
|
||||
[[ ${CHOST} == *64-* ]] \
|
||||
&& cp -f makefile.macosx_64bits makefile.machine \
|
||||
|| cp -f makefile.macosx_32bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
need-wxwidgets unicode
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake -- 7zG
|
||||
# emake -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
# make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
# make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
# doexe bin/7z{G,FM}
|
||||
doexe bin/7zG
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/{Lang,help}
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kde4/services/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
dodir /usr/share/kservices5/ServiceMenus
|
||||
for item in "${D}"/usr/share/kde4/services/ServiceMenus/*.desktop; do
|
||||
item="$(basename ${item})"
|
||||
dosym "/usr/share/kde4/services/ServiceMenus/${item}" "/usr/share/kservices5/ServiceMenus/${item}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
dodoc ChangeLog README TODO
|
||||
|
||||
if use doc; then
|
||||
dodoc DOC/*.txt
|
||||
dohtml -r DOC/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,156 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils multilib toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc kde rar +pch static wxwidgets abi_x86_x32"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:${WX_GTK_VER}[X] kde-frameworks/kdelibs:4 )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-CVE-2015-1038.patch
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e 's:-pipe::g' \
|
||||
-e "/^CXX=/s:g++:$(tc-getCXX):" \
|
||||
-e "/^CC=/s:gcc:$(tc-getCC):" \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
-e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed \
|
||||
-e '/Rar/d' \
|
||||
-e '/RAR/d' \
|
||||
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
fi
|
||||
|
||||
if use abi_x86_x32; then
|
||||
sed -i -e "/^ASM=/s:amd64:x32:" makefile* || die
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU linker
|
||||
[[ ${CHOST} == *64-* ]] \
|
||||
&& cp -f makefile.macosx_64bits makefile.machine \
|
||||
|| cp -f makefile.macosx_32bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
need-wxwidgets unicode
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake -- 7zG
|
||||
# emake -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
# make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
# make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
# doexe bin/7z{G,FM}
|
||||
doexe bin/7zG
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/{Lang,help}
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kde4/services/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
dodoc ChangeLog README TODO
|
||||
|
||||
if use doc; then
|
||||
dodoc DOC/*.txt
|
||||
dohtml -r DOC/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,158 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils multilib toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc kde rar +pch static wxwidgets abi_x86_x32"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:${WX_GTK_VER}[X] kde-frameworks/kdelibs:4 )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-darwin.patch
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e 's:-pipe::g' \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
-e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed \
|
||||
-e '/Rar/d' \
|
||||
-e '/RAR/d' \
|
||||
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
fi
|
||||
|
||||
if use abi_x86_x32; then
|
||||
sed -i -e "/^ASM=/s:amd64:x32:" makefile* || die
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU
|
||||
# linker, it doesn't matter so much for bitwidth, for it doesn't
|
||||
# do anything with it
|
||||
cp -f makefile.macosx_llvm_64bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile.list \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile.list) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
need-wxwidgets unicode
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) -- 7zG
|
||||
# emake -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
# make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
# make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
# doexe bin/7z{G,FM}
|
||||
doexe bin/7zG
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/{Lang,help}
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kde4/services/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
dodir /usr/share/kservices5/ServiceMenus
|
||||
for item in "${D}"/usr/share/kde4/services/ServiceMenus/*.desktop; do
|
||||
item="$(basename ${item})"
|
||||
dosym "/usr/share/kde4/services/ServiceMenus/${item}" "/usr/share/kservices5/ServiceMenus/${item}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
dodoc ChangeLog README TODO
|
||||
|
||||
if use doc; then
|
||||
dodoc DOC/*.txt
|
||||
dohtml -r DOC/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,158 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils multilib toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc kde rar +pch static wxwidgets abi_x86_x32"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:${WX_GTK_VER}[X] kde-frameworks/kdelibs:4 )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-darwin.patch
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e 's:-pipe::g' \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
-e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed \
|
||||
-e '/Rar/d' \
|
||||
-e '/RAR/d' \
|
||||
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
fi
|
||||
|
||||
if use abi_x86_x32; then
|
||||
sed -i -e "/^ASM=/s:amd64:x32:" makefile* || die
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU
|
||||
# linker, it doesn't matter so much for bitwidth, for it doesn't
|
||||
# do anything with it
|
||||
cp -f makefile.macosx_llvm_64bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile.list \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile.list) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
need-wxwidgets unicode
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) -- 7zG
|
||||
# emake -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
# make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
# make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
# doexe bin/7z{G,FM}
|
||||
doexe bin/7zG
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/{Lang,help}
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kde4/services/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
dodir /usr/share/kservices5/ServiceMenus
|
||||
for item in "${D}"/usr/share/kde4/services/ServiceMenus/*.desktop; do
|
||||
item="$(basename ${item})"
|
||||
dosym "/usr/share/kde4/services/ServiceMenus/${item}" "/usr/share/kservices5/ServiceMenus/${item}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
dodoc ChangeLog README TODO
|
||||
|
||||
if use doc; then
|
||||
dodoc DOC/*.txt
|
||||
dohtml -r DOC/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,155 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit eutils multilib toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~s390 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc kde rar +pch static wxwidgets"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:2.8[X,-odbc] kde-frameworks/kdelibs:4 )
|
||||
wxwidgets? ( x11-libs/wxGTK:2.8[X,-odbc] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-execstack.patch \
|
||||
"${FILESDIR}"/${P}-QA.patch \
|
||||
"${FILESDIR}"/${P}-CVE-2015-1038.patch
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e 's:-O::g' \
|
||||
-e 's:-pipe::g' \
|
||||
-e "/^CC/s:\$(ALLFLAGS):${CFLAGS} \$(ALLFLAGS):g" \
|
||||
-e "/^CXX/s:\$(ALLFLAGS):${CXXFLAGS} \$(ALLFLAGS):g" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed -e '/Rar/d' -i makefile* || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
epatch "${FILESDIR}"/9.04-makefile.patch
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "/^CXX=/s:g++:$(tc-getCXX):" \
|
||||
-e "/^CC=/s:gcc:$(tc-getCC):" \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
makefile* || die "changing makefiles"
|
||||
|
||||
if use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU linker
|
||||
[[ ${CHOST} == *64-* ]] \
|
||||
&& cp -f makefile.macosx_64bits makefile.machine \
|
||||
|| cp -f makefile.macosx_32bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake -- 7zG
|
||||
emake -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z{G,FM}
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/{Lang,help}
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kde4/services/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
dodoc ChangeLog README TODO
|
||||
|
||||
if use doc; then
|
||||
dodoc DOCS/*.txt
|
||||
dohtml -r DOCS/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,156 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit eutils multilib toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc kde rar +pch static wxwidgets abi_x86_x32"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:2.8[X,-odbc] kde-frameworks/kdelibs:4 )
|
||||
wxwidgets? ( x11-libs/wxGTK:2.8[X,-odbc] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-osversion.patch \
|
||||
"${FILESDIR}"/${P}-CVE-2015-1038.patch
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e 's:-O::g' \
|
||||
-e 's:-pipe::g' \
|
||||
-e "/^CXX=/s:g++:$(tc-getCXX):" \
|
||||
-e "/^CC=/s:gcc:$(tc-getCC):" \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
-e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed \
|
||||
-e '/Rar/d' \
|
||||
-e '/RAR/d' \
|
||||
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
fi
|
||||
|
||||
if use abi_x86_x32; then
|
||||
sed -i -e "/^ASM=/s:amd64:x32:" makefile*
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU linker
|
||||
[[ ${CHOST} == *64-* ]] \
|
||||
&& cp -f makefile.macosx_64bits makefile.machine \
|
||||
|| cp -f makefile.macosx_32bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake -- 7zG
|
||||
emake -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z{G,FM}
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/{Lang,help}
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kde4/services/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
dodoc ChangeLog README TODO
|
||||
|
||||
if use doc; then
|
||||
dodoc DOC/*.txt
|
||||
dohtml -r DOC/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,157 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils multilib toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc kde rar +pch static wxwidgets abi_x86_x32"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:${WX_GTK_VER}[X] kde-frameworks/kdelibs:4 )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-osversion.patch \
|
||||
"${FILESDIR}"/${P}-CVE-2015-1038.patch
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e 's:-O::g' \
|
||||
-e 's:-pipe::g' \
|
||||
-e "/^CXX=/s:g++:$(tc-getCXX):" \
|
||||
-e "/^CC=/s:gcc:$(tc-getCC):" \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
-e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed \
|
||||
-e '/Rar/d' \
|
||||
-e '/RAR/d' \
|
||||
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
fi
|
||||
|
||||
if use abi_x86_x32; then
|
||||
sed -i -e "/^ASM=/s:amd64:x32:" makefile*
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU linker
|
||||
[[ ${CHOST} == *64-* ]] \
|
||||
&& cp -f makefile.macosx_64bits makefile.machine \
|
||||
|| cp -f makefile.macosx_32bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
need-wxwidgets unicode
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake -- 7zG
|
||||
emake -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z{G,FM}
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/{Lang,help}
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kde4/services/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
dodoc ChangeLog README TODO
|
||||
|
||||
if use doc; then
|
||||
dodoc DOC/*.txt
|
||||
dohtml -r DOC/MANUAL/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
# 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} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 vcs-snapshot
|
||||
|
||||
MY_PV=${PV//_/}
|
||||
|
||||
DESCRIPTION="Multi-container orchestration for Docker"
|
||||
HOMEPAGE="https://www.docker.com/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/cached-property-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorama-0.3.7[${PYTHON_USEDEP}]
|
||||
<dev-python/colorama-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}]
|
||||
<dev-python/dockerpty-0.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/docker-py-2.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/docker-py-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
|
||||
<dev-python/docopt-0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
<dev-python/pyyaml-4[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.11.0[${PYTHON_USEDEP}]
|
||||
<dev-python/requests-2.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
|
||||
<dev-python/six-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/texttable-0.8.1[${PYTHON_USEDEP}]
|
||||
<dev-python/texttable-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
|
||||
<dev-python/websocket-client-1.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]' 'python2_7' )
|
||||
$(python_gen_cond_dep '<dev-python/enum34-2[${PYTHON_USEDEP}]' 'python2_7' )
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' 'python2_7' )
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} -m pytest tests/unit || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp contrib/completion/bash/docker-compose ${PN}
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins contrib/completion/zsh/*
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,546 @@
|
||||
# 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.40"
|
||||
VANILLA_MV="4.5.6"
|
||||
STAGING_GV="2.40"
|
||||
STAGING_MV="4.5.6"
|
||||
[[ ${MAJOR_V} == "1.8" ]] && SUFFIX="-unofficial"
|
||||
STAGING_P="wine-staging-${PV}"
|
||||
STAGING_DIR="${WORKDIR}/${STAGING_P}${SUFFIX}"
|
||||
WINE_GENTOO="wine-gentoo-2015.03.07"
|
||||
GST_P="wine-1.8-gstreamer-1.0"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
!staging? (
|
||||
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 )
|
||||
)
|
||||
staging? (
|
||||
gecko? (
|
||||
abi_x86_32? ( https://dl.winehq.org/wine/wine-gecko/${STAGING_GV}/wine_gecko-${STAGING_GV}-x86.msi )
|
||||
abi_x86_64? ( https://dl.winehq.org/wine/wine-gecko/${STAGING_GV}/wine_gecko-${STAGING_GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( https://dl.winehq.org/wine/wine-mono/${STAGING_MV}/wine-mono-${STAGING_MV}.msi )
|
||||
)
|
||||
https://dev.gentoo.org/~np-hardass/distfiles/${PN}/${GST_P}.patch.bz2
|
||||
https://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
STAGING_EGIT_REPO_URI="git://github.com/wine-compholio/wine-staging.git"
|
||||
else
|
||||
SRC_URI="${SRC_URI}
|
||||
staging? ( https://github.com/wine-compholio/wine-staging/archive/v${PV}${SUFFIX}.tar.gz -> ${STAGING_P}.tar.gz )"
|
||||
fi
|
||||
|
||||
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 pipelight +png prelink pulseaudio +realtime +run-exes s3tc samba scanner selinux +ssl staging test themes +threads +truetype +udisks v4l vaapi +X +xcomposite xinerama +xml"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
X? ( truetype )
|
||||
elibc_glibc? ( threads )
|
||||
mono? ( abi_x86_32 )
|
||||
osmesa? ( opengl )
|
||||
pipelight? ( staging )
|
||||
s3tc? ( staging )
|
||||
test? ( abi_x86_32 )
|
||||
themes? ( staging )
|
||||
vaapi? ( staging )" # 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}] )
|
||||
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}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( x11-libs/libva[X,${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 )
|
||||
)
|
||||
s3tc? ( >=media-libs/libtxc_dxtn-1.0.1-r1[${MULTILIB_USEDEP}] )
|
||||
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 )
|
||||
staging? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Simple
|
||||
)
|
||||
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
|
||||
}
|
||||
|
||||
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 || use d3d9; then
|
||||
eerror "Because of the multi-repo nature of ${PN}, ${pn_live_var}"
|
||||
eerror "cannot be used to set the commit. Instead, you may use the"
|
||||
eerror "environmental variables WINE_COMMIT, STAGING_COMMIT, and D3D9_COMMIT."
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||
eerror "Commits must now be specified using the environmental variables"
|
||||
eerror "WINE_COMMIT, STAGING_COMMIT, and D3D9_COMMIT"
|
||||
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
|
||||
wine_env_vcs_vars || die
|
||||
if ! use staging; then
|
||||
GV=${VANILLA_GV}
|
||||
MV=${VANILLA_MV}
|
||||
else
|
||||
GV=${STAGING_GV}
|
||||
MV=${STAGING_MV}
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_COMMIT="${WINE_COMMIT}" git-r3_src_unpack
|
||||
if use staging; then
|
||||
local CURRENT_WINE_COMMIT=${EGIT_VERSION}
|
||||
|
||||
git-r3_fetch "${STAGING_EGIT_REPO_URI}" "${STAGING_COMMIT}"
|
||||
git-r3_checkout "${STAGING_EGIT_REPO_URI}" "${STAGING_DIR}"
|
||||
|
||||
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: WINE_COMMIT=${COMPAT_WINE_COMMIT} emerge -1 wine"
|
||||
fi
|
||||
fi
|
||||
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
|
||||
"${WORKDIR}/${GST_P}.patch"
|
||||
|
||||
# https://bugs.winehq.org/show_bug.cgi?id=42132
|
||||
"${FILESDIR}"/${PN}-2.0_rc3-flex263.patch
|
||||
)
|
||||
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"
|
||||
|
||||
# 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"
|
||||
|
||||
# To differentiate unofficial staging releases
|
||||
if [[ ! -z ${SUFFIX} ]]; then
|
||||
sed -i "s/(Staging)/(Staging [Unofficial])/" libs/wine/Makefile.in || die
|
||||
fi
|
||||
fi
|
||||
|
||||
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 v4l)
|
||||
$(use_with X x)
|
||||
$(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 ${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
|
||||
|
||||
if use gstreamer; then
|
||||
ewarn "This package uses a Gentoo specific patchset to provide"
|
||||
ewarn "GStreamer 1.0 support. Any bugs related to GStreamer should"
|
||||
ewarn "be filed at Gentoo's bugzilla, not upstream's."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,546 @@
|
||||
# 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.40"
|
||||
VANILLA_MV="4.5.6"
|
||||
STAGING_GV="2.40"
|
||||
STAGING_MV="4.5.6"
|
||||
[[ ${MAJOR_V} == "1.8" ]] && SUFFIX="-unofficial"
|
||||
STAGING_P="wine-staging-${PV}"
|
||||
STAGING_DIR="${WORKDIR}/${STAGING_P}${SUFFIX}"
|
||||
WINE_GENTOO="wine-gentoo-2015.03.07"
|
||||
GST_P="wine-1.8-gstreamer-1.0"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
!staging? (
|
||||
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 )
|
||||
)
|
||||
staging? (
|
||||
gecko? (
|
||||
abi_x86_32? ( https://dl.winehq.org/wine/wine-gecko/${STAGING_GV}/wine_gecko-${STAGING_GV}-x86.msi )
|
||||
abi_x86_64? ( https://dl.winehq.org/wine/wine-gecko/${STAGING_GV}/wine_gecko-${STAGING_GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( https://dl.winehq.org/wine/wine-mono/${STAGING_MV}/wine-mono-${STAGING_MV}.msi )
|
||||
)
|
||||
https://dev.gentoo.org/~np-hardass/distfiles/${PN}/${GST_P}.patch.bz2
|
||||
https://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
STAGING_EGIT_REPO_URI="git://github.com/wine-compholio/wine-staging.git"
|
||||
else
|
||||
SRC_URI="${SRC_URI}
|
||||
staging? ( https://github.com/wine-compholio/wine-staging/archive/v${PV}${SUFFIX}.tar.gz -> ${STAGING_P}.tar.gz )"
|
||||
fi
|
||||
|
||||
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 pipelight +png prelink pulseaudio +realtime +run-exes s3tc samba scanner selinux +ssl staging test themes +threads +truetype +udisks v4l vaapi +X +xcomposite xinerama +xml"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
X? ( truetype )
|
||||
elibc_glibc? ( threads )
|
||||
mono? ( abi_x86_32 )
|
||||
osmesa? ( opengl )
|
||||
pipelight? ( staging )
|
||||
s3tc? ( staging )
|
||||
test? ( abi_x86_32 )
|
||||
themes? ( staging )
|
||||
vaapi? ( staging )" # 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}] )
|
||||
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}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( x11-libs/libva[X,${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 )
|
||||
)
|
||||
s3tc? ( >=media-libs/libtxc_dxtn-1.0.1-r1[${MULTILIB_USEDEP}] )
|
||||
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 )
|
||||
staging? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Simple
|
||||
)
|
||||
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
|
||||
}
|
||||
|
||||
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 || use d3d9; then
|
||||
eerror "Because of the multi-repo nature of ${PN}, ${pn_live_var}"
|
||||
eerror "cannot be used to set the commit. Instead, you may use the"
|
||||
eerror "environmental variables WINE_COMMIT, STAGING_COMMIT, and D3D9_COMMIT."
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||
eerror "Commits must now be specified using the environmental variables"
|
||||
eerror "WINE_COMMIT, STAGING_COMMIT, and D3D9_COMMIT"
|
||||
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
|
||||
wine_env_vcs_vars || die
|
||||
if ! use staging; then
|
||||
GV=${VANILLA_GV}
|
||||
MV=${VANILLA_MV}
|
||||
else
|
||||
GV=${STAGING_GV}
|
||||
MV=${STAGING_MV}
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_COMMIT="${WINE_COMMIT}" git-r3_src_unpack
|
||||
if use staging; then
|
||||
local CURRENT_WINE_COMMIT=${EGIT_VERSION}
|
||||
|
||||
git-r3_fetch "${STAGING_EGIT_REPO_URI}" "${STAGING_COMMIT}"
|
||||
git-r3_checkout "${STAGING_EGIT_REPO_URI}" "${STAGING_DIR}"
|
||||
|
||||
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: WINE_COMMIT=${COMPAT_WINE_COMMIT} emerge -1 wine"
|
||||
fi
|
||||
fi
|
||||
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
|
||||
"${WORKDIR}/${GST_P}.patch"
|
||||
|
||||
# https://bugs.winehq.org/show_bug.cgi?id=42132
|
||||
"${FILESDIR}"/${PN}-2.0_rc3-flex263.patch
|
||||
)
|
||||
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"
|
||||
|
||||
# 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"
|
||||
|
||||
# To differentiate unofficial staging releases
|
||||
if [[ ! -z ${SUFFIX} ]]; then
|
||||
sed -i "s/(Staging)/(Staging [Unofficial])/" libs/wine/Makefile.in || die
|
||||
fi
|
||||
fi
|
||||
|
||||
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 v4l)
|
||||
$(use_with X x)
|
||||
$(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 ${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
|
||||
|
||||
if use gstreamer; then
|
||||
ewarn "This package uses a Gentoo specific patchset to provide"
|
||||
ewarn "GStreamer 1.0 support. Any bugs related to GStreamer should"
|
||||
ewarn "be filed at Gentoo's bugzilla, not upstream's."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,10 +1,14 @@
|
||||
AUX geneweb-6.07-gentoo.patch 781 SHA256 350e51a521ccac1790b5fc901b9ba51c2f884d16063ae7520cc4f7d2545a4545 SHA512 21408c7a4eba583242d751da6c688c2f175bb81fabac92644c936acd9bde5a9322e21f21306af7f53c261432f941e149219c045f21afab4401da98d7a004d69e WHIRLPOOL e74d266be237d10ca4a90ff01a9bb34f387e653a91a68ad4dc3a9d353839c969eee3e5438823c4649da2d317aa02d2d333e150d6ff98dd353eeeb1a7139d51ba
|
||||
AUX geneweb-6.07-parallellbuild.patch 2823 SHA256 79b61f7d0208eb242fb2d90c8fd7bcb3c8209b47b5ca978cef5b603dfff69b5d SHA512 0eced445bff368ebe4f5b8a09653cdc4444c3ae956aeade9b64728136d9334b1cee18e891273308b64ecf819c9ef0937be82b15ee0a9c739ba2c19967f5e2934 WHIRLPOOL 5fb4bc7f0d8f59436f4c88cfc881715b3f2f748fe962601dbc9d5b9f6e0a2551203a4e1338dcc200a7bf5aede69c9e68f032f15a7594585ca06624d80f62471b
|
||||
AUX geneweb-6.08-gentoo.patch 833 SHA256 5f15e413da95530b205d362a7cc2cfbca24ae7fdd81ee811f0ded7ec3837f54a SHA512 c66882304858f1d6c308b35db30c1433f0ddd056e32ea569cdd4b3d2e7cf384a10f9b27c890e37539ed25d529f52a1cae119216a38ff706f9b801bebd85f0f8d WHIRLPOOL 12a2f51c809dcc78ddca4eac49ef95fe4e4b718ac3309c5d44e5c739a748714d27d48698eb8d3d8419708a016153f7f251e84ca98baca51cdcbb4d5f2031cdb0
|
||||
AUX geneweb-6.08-parallellbuild.patch 1264 SHA256 cb9e96349d8389022fb28c3d99295e1340517fe0b547c5c4b2afeb6889e89be6 SHA512 2912f591f0c771b9bc039871416bd74364fe4a0c17200ea191033a3d12c4de4e088ddd24829ef07acb918e0f8be91671112ae7ebe0593b96a66945b6c18ecedf WHIRLPOOL 44e1908c65e43fbee848adc7ba64dea9df81de9434e464e2a4b28f44e9e19e27ca1c86386ccd86cb01a395692407ef3873a5cc0e4300b7466a07410d2369a74e
|
||||
AUX geneweb.confd 67 SHA256 0b2044dc633d95f953b9af6964a54c07d60784dda03c970dba97ca1026c016f1 SHA512 5d7e373c042ba1de97261807cf3b223157c0f383106b4fb2f2b04de21214218ad3a6e0f097101d45cb61e74d90d060ead93dc6e79a125ad97a0126690ae732b3 WHIRLPOOL 03be4026c4f23ebc6a73d3690318cd27616e23f31893645edae8cd257fd11b38b63feb52d2f91445ab1bef1b1ba20e609d837157c9d0102b771458d1ea1085b7
|
||||
AUX geneweb.initd 436 SHA256 f386aea3f0aba0e2261f851d54d18acd94f6c41e9251d970edd4dd44fb06c121 SHA512 e39de8d321584bb63cc8ccf5e6b3300308908a94739a7b596897825205dec2779c066ca313992f4db6a9c5819e9d9be7f7d9398e991c480fe5bb6f78c8cdf86d WHIRLPOOL f8296e67e787dedd9cd863d7b296c68ff127943efbf9f3be51eb4aef7e02b33ab70d18cf2505c45f3e41e2da38f68962e4dbc24a45f20575bd5ad31bf939b1c7
|
||||
DIST geneweb-6.07-reduce-utf8.ml.patch.gz 185409 SHA256 cc5b7d30333e8c7b187b83106189b5e63a7d423c2e500b77b5d087cd8cd239fa SHA512 d6b71fc6d3a1488f6e96e65ab0c942c08b9e0307b2d06c9bb97fde0c2e35af2fb4b52011024e67550e608603eacfaf5ee312c99c9228edfedc2dbe82745de227 WHIRLPOOL 75e30b8ef19803dcc6f391fc798c2bb4d4e4fa685d0d5d060dcb1a9ad676a45f5016fef2e6306019876d0d30d662ee3f67f361267a2829b2ce679836c573104c
|
||||
DIST geneweb-6.08.tar.gz 1791450 SHA256 ba5724f8b6a4c823760642d31eaed713ac04c1000ef6f8e4a19ff748baa058bf SHA512 7f1d552342e8a5b05961be75c1afb768853f22cc7eb4477fa63d6a3af29ea852862ce043ae89cd1589ede20fe561ad7d77ab757cc1ecb26ce1473f0e3621b835 WHIRLPOOL 81e125e5f0431f25d42ae4068708fae22341b802c68efde1d4e5494090d4644a249f41989e3a29f6ebb4a0d3c91cd35bdde996194cb4c34502bc22d75a2c8f90
|
||||
DIST gw-6.07-src.tgz 1855016 SHA256 c1ecc337f8bce4d8509ca49081d098b5a44ddb6407208496e55e9a38d6bfb1f6 SHA512 719884af80809b25946175731ae20b280e13f6e18471903d2222928c11838a2a92a43f03dd8152b7b01dfcaf45fbd942035f4b54f049899ea134cd161cfc971d WHIRLPOOL 70305616cafcb9476814e3fe8355571611fef4eabe022afd2f3b92c3a9c9c6bc2be69a37532e4b04cc16e9ce8979abda1b103f4606a8784bf64caa0c1b9ff5e5
|
||||
EBUILD geneweb-6.07.ebuild 2100 SHA256 2a3b8fd79d6384b540f24a0e6af3cf396f8a3a42713d4cad6362a8c97db0820f SHA512 e71f873203247d5f49b88cd5605b946c6db13eb15ca30c50b525b6bede2601690bd027ba400672b3978aff5d2bc7464f1dda24b51e36fe6f43a99e6f2ddd31bd WHIRLPOOL 671e2ee011bdd2b9f2d150283a4ae2e8500e76811fd6d47ae0ef8a6a6bab9f20fe309875abca2f29f66f19be3f641ac48d143aa04561454476859788259429f0
|
||||
EBUILD geneweb-6.08.ebuild 1920 SHA256 37e770591f68d570e610997e7837a607797e3142044bd5cd65c6c7258c80e9ba SHA512 e1da14700199b3d0ca5681169dca030fe79e87af88fbba1b4e3987c73a29feb634eef8b449ab94e403a32a58006223151074907edb3a71f55082cedf3bfc5e5b WHIRLPOOL 4fa581f6c68457cf2e81b9b75daba7a1a41e59627b10f74ff013ee8d3e0f649701a517f08fc1f66daa5f264eb5a945a6ce3fed4a631bf9c76b362d043c462812
|
||||
MISC ChangeLog 2821 SHA256 6bdf3fdd7fe040346b33aeb3efef22d4f84c1a42e5ec1a1c50bf68221e6922b5 SHA512 5e8ef4e9c4e29ba975ac3045a107f20ab9e72ab5b5d4bb5b35fdcbfc89e68dd7ffedaa4da88b65e8c8767b4d12b3b44d7ee63abece1d6b67838d311a688a13ff WHIRLPOOL a13afe8931319f6cba92457a8aeb71c4d7cc880c6ccafdb25b4b17030eba020459ebe43f876d48e20cb21fcb7c207e782d5b95b79bc1e35c6efff5ed10eb87e3
|
||||
MISC ChangeLog-2015 5741 SHA256 cf2718ba12ba71ff6c4862701777ca5cc9aba3ab184c3a6bfe6abb81aa007387 SHA512 51cefbba16d9f642f0005a6535b48a559aa8b3b8f94f6be3c60efd5056a3d07592630aad6faeea718c7847ea3e1b519367d736aa84614320666c0874fa8c159f WHIRLPOOL 8a4f2c758fc6787e8dce029f5610e82168571c4d59cc5616ff5267fd9eb6a09c6aaff17b3cbafd12c772ab4ecf5781decb16c0f1cef9a5662c6fca2a1fdc0a27
|
||||
MISC metadata.xml 677 SHA256 d38fbc6aadf25060d3512149fc1cb5bf90ef6f6cf4643ab7f76d0a423650f092 SHA512 6a3841fcf53f1d9cc6c90a018f23ce0c11991e7f15487c1d9d3653168e0dca797bb324da7cbc490c4eeb6169ab33bf54a7ae184ce3a89aa8208f72428f4c58b2 WHIRLPOOL 457da5d9524d8f60745d77775c67bee14b0a437b97de96297663171582ad9971c44942e04eec9374a74ba8bd98edb20048f75e17a0f1a031d26df0aceeb898d6
|
||||
|
@ -0,0 +1,30 @@
|
||||
--- geneweb-6.08/setup/setup.ml.old 2007-08-07 19:25:13.000000000 +0200
|
||||
+++ geneweb-6.08/setup/setup.ml 2007-08-07 19:24:59.000000000 +0200
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
value port = ref 2316;
|
||||
value default_lang = ref "en";
|
||||
-value setup_dir = ref ".";
|
||||
-value bin_dir = ref "";
|
||||
+value setup_dir = ref "/usr/share/geneweb";
|
||||
+value bin_dir = ref "/usr/bin";
|
||||
value lang_param = ref "";
|
||||
value only_file = ref "";
|
||||
|
||||
--- geneweb-6.08/tools/Makefile.inc.unix.old 2008-04-23 15:22:50.000000000 +0200
|
||||
+++ geneweb-6.08/tools/Makefile.inc.unix 2008-04-23 15:23:04.000000000 +0200
|
||||
@@ -5,11 +5,11 @@
|
||||
CAMLP5F=-DUNIX
|
||||
CAMLP5D=+camlp5
|
||||
LIBUNIX=-cclib -lunix
|
||||
-OCAMLC=ocamlc.opt -warn-error A
|
||||
-OCAMLOPT=ocamlopt.opt -warn-error A
|
||||
+OCAMLC=ocamlc.opt
|
||||
+OCAMLOPT=ocamlopt.opt
|
||||
OCAMLI=
|
||||
OCAMLD=
|
||||
-STRIP=strip
|
||||
+STRIP=true
|
||||
RM=/bin/rm -f
|
||||
EXE=
|
||||
STATIC=-ccopt -static
|
@ -0,0 +1,31 @@
|
||||
--- geneweb-6.08/wserver/Makefile.old 2017-01-09 21:15:00.328750224 +0100
|
||||
+++ geneweb-6.08/wserver/Makefile 2017-01-09 21:15:16.825751748 +0100
|
||||
@@ -11,6 +11,8 @@
|
||||
camlp5r pa_extend.cmo q_MLast.cmo -o pa_macro5.ppo pa_macro5.ml
|
||||
ocamlc -c -I "`camlp5 -where`" -impl pa_macro5.ppo
|
||||
|
||||
+wserver.cmi: pa_macro5.cmo
|
||||
+
|
||||
depend:
|
||||
TOP=.. ../tools/camlp5_depend.sh $(OCAMLI) *.ml* > .depend
|
||||
|
||||
--- geneweb-6.08/src/.depend.old 2017-01-09 21:36:25.644868941 +0100
|
||||
+++ geneweb-6.08/src/.depend 2017-01-09 21:37:04.994872576 +0100
|
||||
@@ -39,7 +39,7 @@
|
||||
check_base.cmx: check.cmx def.cmi gwdb.cmx secure.cmx
|
||||
compilation.cmo: def.cmi util.cmi
|
||||
compilation.cmx: def.cmi util.cmx
|
||||
-config.cmi: def.cmi
|
||||
+config.cmi: def.cmi gwdb.cmi
|
||||
consang.cmo: adef.cmi def.cmi gwdb.cmi consang.cmi
|
||||
consang.cmx: adef.cmx def.cmi gwdb.cmx consang.cmi
|
||||
consang.cmi: def.cmi gwdb.cmi
|
||||
@@ -311,7 +311,7 @@
|
||||
num.cmi perso.cmi ../wserver/wserver.cmi
|
||||
searchName.cmx: adef.cmx buff.cmx checkItem.cmx config.cmi date.cmx def.cmi \
|
||||
gutil.cmx gwdb.cmx hutil.cmx mutil.cmx name.cmx util.cmx \
|
||||
- num.cmx perso.cmx ../wserver/wserver.cmx
|
||||
+ num.cmx perso.cmx ../wserver/wserver.cmx some.cmo
|
||||
secure.cmo: secure.cmi
|
||||
secure.cmx: secure.cmi
|
||||
select.cmo: adef.cmi def.cmi gutil.cmi gwdb.cmi name.cmi
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Genealogy software program with a Web interface"
|
||||
HOMEPAGE="http://opensource.geneanet.org/projects/geneweb"
|
||||
SRC_URI="https://github.com/geneweb/geneweb/archive/v6.08.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
RDEPEND="dev-lang/ocaml[ocamlopt?]
|
||||
dev-ml/camlp5[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}
|
||||
!net-p2p/ghostwhitecrab"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-gentoo.patch
|
||||
"${FILESDIR}"/${P}-parallellbuild.patch )
|
||||
|
||||
src_compile() {
|
||||
if use ocamlopt; then
|
||||
emake
|
||||
else
|
||||
emake OCAMLC=ocamlc OCAMLOPT=ocamlopt out
|
||||
# If using bytecode we dont want to strip the binary as it would remove
|
||||
# the bytecode and only leave ocamlrun...
|
||||
export STRIP_MASK="*/bin/*"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc ICHANGES
|
||||
emake distrib
|
||||
# Install doc
|
||||
cd distribution
|
||||
dodoc CHANGES.txt
|
||||
# Install binaries
|
||||
cd gw
|
||||
dobin gwc gwc1 gwc2 consang gwd gwu update_nldb ged2gwb ged2gwb2 gwb2ged gwsetup
|
||||
insinto /usr/lib/${PN}
|
||||
doins -r gwtp_tmp/*
|
||||
dodoc a.gwf
|
||||
insinto /usr/share/${PN}
|
||||
doins -r etc images lang setup gwd.arg only.txt
|
||||
|
||||
cd ../..
|
||||
|
||||
# Install binaries
|
||||
dobin src/check_base
|
||||
# Install manpages
|
||||
doman man/*
|
||||
|
||||
# Install doc
|
||||
insinto /usr/share/doc/${PF}/contrib
|
||||
doins -r contrib/{gwdiff,misc}
|
||||
|
||||
newinitd "${FILESDIR}/geneweb.initd" geneweb
|
||||
newconfd "${FILESDIR}/geneweb.confd" geneweb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewuser geneweb "" "/bin/bash" /var/lib/geneweb
|
||||
einfo "A CGI program has been installed in /usr/lib/${PN}. Follow the"
|
||||
einfo "instructions on the README in that directory to use it"
|
||||
einfo "For 64 bits architecture you need to rebuild the database"
|
||||
einfo "\"gwu foo > foo.gw \" will save the database (use the previous"
|
||||
einfo "version to do that). \"gwc2 foo.gw -o bar \" will restore it "
|
||||
einfo "(using the current package)"
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST java-ebuilder-0.1.tar.gz 22291 SHA256 0c4dd0f76c0b36c7d736ed2f02ed06244ef7645be45bf7ca83ed27aaafe8787e SHA512 bc058b03da53bab03d7a48b2971f34da812bfd03aff7cc64ee4a3209245f4855bf8095d12c5c506f49b896db69fba09f06814f4c35e13a25c4e8f381d6416637 WHIRLPOOL 9ccacb782eedd8e56a5508f1379098579cd12bd86dac727df4577e218c295fa908cbcab49772934508e3f302607d5f075373948bfec93d214ad08b001b600b4f
|
||||
DIST java-ebuilder-0.2.tar.gz 22998 SHA256 849e09768daf9bad42373e743fd851e0302caa90dbda8166e2c67f618433128b SHA512 c76b15d4a81413e05359202c7b73b84baa3b277faddb7aa5f904290e5e47ed2bc6d80638c7b5417acc4224d067e4f48f1687972b7e36c363da8e9a89ea7f2766 WHIRLPOOL 85a41a31f2567c488f05930616082bfe75c0975cef3c5ba476eb8152dacd8e437b5bf8cf330ed66bb3332408bb0f0ec37ab53550b3f07a05be6d66210f031643
|
||||
EBUILD java-ebuilder-0.1.ebuild 1397 SHA256 2abb5b6ce68539f714cc6eaa532440babe78b7f241460448f734431df14cb6bc SHA512 0001504bf184ed2ea32b1aca77be9f2ba8584a756757169033e3c7026a0322cec24558e503c70a6444ea4996b5b0705adc61fe539e36310782b8c9e44918aae2 WHIRLPOOL dfdd01c2b10ac6d4f567b02aefe67cbc7d1437e396004a274ca294e93f86c2bd089d2bf227f0e4535f6ac908c2e0f2fad551285eccf628e444ac0cdaefb71d44
|
||||
EBUILD java-ebuilder-9999.ebuild 1397 SHA256 2abb5b6ce68539f714cc6eaa532440babe78b7f241460448f734431df14cb6bc SHA512 0001504bf184ed2ea32b1aca77be9f2ba8584a756757169033e3c7026a0322cec24558e503c70a6444ea4996b5b0705adc61fe539e36310782b8c9e44918aae2 WHIRLPOOL dfdd01c2b10ac6d4f567b02aefe67cbc7d1437e396004a274ca294e93f86c2bd089d2bf227f0e4535f6ac908c2e0f2fad551285eccf628e444ac0cdaefb71d44
|
||||
EBUILD java-ebuilder-0.2.ebuild 1402 SHA256 4e1c712c732d766f6f22772f7ea9dbd28c458e39f39a0ffafba07e4c67a89d1d SHA512 cc8503ead6ca6e77c60909f304fe0b263e248ec470a06fd2d4192b9c5dc62d1941722d9803b4d6e1f34b8fca773481ea0df252882857d9e85455779994ff0172 WHIRLPOOL cb2f5a5d0a3cb502df37f6ab7d47fafc05a26356703ccdb7f98f35a6ea1b01507d5a67bb3b7775113d431b3f872772411679109a72e0121e6629c36793506e4b
|
||||
EBUILD java-ebuilder-9999.ebuild 1401 SHA256 37a022d50cce12303c944f1489f38c50cafc6798b8585a6aeb9573ff32e9b1c5 SHA512 b143151a16b6e1b9316f616a0fbc6edd20d0a12f4c07344e182cbf706323207466e607c91e3641aa461ff594daf0aff8674ae099f46569ecf5a2b8ff40a03773 WHIRLPOOL 0fc0e6707cc1d13a1d1b7e39890ed7cc4a2fbbd2405972546564c448fca3db712a4bb18f55e00abc4fe18a9795c0625ae0a373f1f24f399f9cfe0a467990a7be
|
||||
MISC ChangeLog 612 SHA256 7957978d87734e104e2437b35280f4158f3dd04178524a6e2783464b2b25cea4 SHA512 b90ae754c26a9bcb779c379eb9782d97eddbfd3bbed10f017cb9c291853aa616d29a5bb378710e60cdd650c8c6480eb11a7b8ff87c18dfe698865c3ef7389a58 WHIRLPOOL a055226568a870bebb9294de21a99a0ce063f9223dc3923941e4de27cfe54169d12edbcb496561ed06995cc97430911649641a8f67e122964cee717110d51322
|
||||
MISC metadata.xml 339 SHA256 5c5cfcd8906f0f9f240656875538f5b9b65c0f3eeae3970fe4c1f35c8d3f28e2 SHA512 b200cb9a9934082d9460c2dcaded12756bbafde1c0df15638979a31974736233f02fe15bffd5698532ebfffdad7f9b3b6df9129c2e7f1383314cf1ac5898595b WHIRLPOOL 066327c1bbd80071381d0873008718c8ef2312dae687c395d20fa06a89d91c2906e4d7eed37fcaa8d5c49e42c068ebe7936c7268c5ab8840523751e1615eba29
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 2016-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
ECLASS="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/heroxbd/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple prefix ${ECLASS}
|
||||
|
||||
DESCRIPTION="Java team tool for semi-automatic creation of ebuilds from pom.xml"
|
||||
HOMEPAGE="https://github.com/gentoo/java-ebuilder"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8"
|
||||
RDEPEND=">=virtual/jre-1.8
|
||||
sys-process/parallel
|
||||
>=dev-java/maven-bin-3"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_ADDRES_DIRS="src/main/resources"
|
||||
|
||||
MAIN_CLASS="org.gentoo.java.ebuilder.Main"
|
||||
|
||||
java_prepare() {
|
||||
eapply_user
|
||||
local base_dir="target/classes/"
|
||||
[[ ! -d "${base_dir}" ]] &&mkdir -p "${base_dir}META-INF"
|
||||
echo "Manifest-Version: 1.0
|
||||
Main-Class: ${MAIN_CLASS}" \
|
||||
>> "${base_dir}META-INF/MANIFEST.MF"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
hprefixify scripts/{{tree,meta}.sh,movl} java-ebuilder.conf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
java-pkg_dolauncher ${PN} --main ${MAIN_CLASS}
|
||||
|
||||
insinto /var/lib/${PN}
|
||||
doins -r maven
|
||||
dodir /var/lib/${PN}/{poms,cache}
|
||||
|
||||
dodoc README maven.conf
|
||||
|
||||
exeinto /usr/lib/${PN}
|
||||
doexe scripts/{tree,meta}.sh
|
||||
|
||||
dobin scripts/movl
|
||||
|
||||
insinto /etc
|
||||
doins java-ebuilder.conf
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST cmark-0.27.1.tar.gz 215574 SHA256 669b4c19355e8cb90139fdd03b02283b97130e92ea99a104552a2976751446b5 SHA512 a7797c9dfd54e20499666e37ba67b1902ef0d40867e7b941c1cfc93d4fbe935fb073be69aecc9f9f8c8e9524049037771635b45e071af981613431f3fbbe7b41 WHIRLPOOL 0eac7dd03176ca0fd21f89288b8e1ce92889cac00690e512304afa58c4e1777040697b78897c851a8c1c59d181cfc6e5ce3f5a980efd9939f66cc950e91fdc07
|
||||
EBUILD cmark-0.27.1.ebuild 753 SHA256 0674ca498ddb41bb7734f4f2145a1f5beb8689360b2d8a78868d668a903cd04e SHA512 cb81f32cb2f53eab2c1ea5a9639fe12ce22ed65069a693d1673624b6f3812219552a3fc482cf5b6fd2129507a64c80a896bed226313393ae815b4c103732b935 WHIRLPOOL c8c1eec920371f39cce126234951d7a22f42d58d1a12c7a1efc4ce1bddb3ba20d0d1c9d87cbb192f0b449ccc07224c7a759a0e8390c1ac6f012b426c45f5b154
|
||||
MISC metadata.xml 570 SHA256 731336f354c64c40b2e57f918c1c987ffce5ce2bf8d9fcd94f65afc796e5105f SHA512 03c6bcaea6e1e786da87f79a009eb6ba99bcc8c44a3650d0e5c617eee403360157ee7bb4e53e6cae1ab6dbdc48e7f368e1ec0a1362992bc114856105e91109ad WHIRLPOOL 5cbb20161342c89221fcae31f6b13d07dda7e941da1f3b6e829576e10e3c16854a90e73cd50efc9288f7d1129c00f3c415e586ffab1c51545b6875a920d6e4d0
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="CommonMark parsing and rendering library and program in C"
|
||||
HOMEPAGE="https://github.com/jgm/cmark"
|
||||
SRC_URI="https://github.com/jgm/cmark/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
test? ( || ( dev-lang/python:3.4 dev-lang/python:3.5 ) )"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
# Remove static library from installing
|
||||
sed -i -e \
|
||||
s":\${LIBRARY} \${STATICLIBRARY}:\${LIBRARY}:g" \
|
||||
src/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMARK_TESTS="$(usex test)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>azamat.hackimov@gmail.com</email>
|
||||
<name>Azamat H. Hackimov</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
CommonMark parsing and rendering library and program in C.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">jgm/cmark</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,84 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Upstream has *way* broken tests.
|
||||
RESTRICT="test"
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Lightweight connection pooler for PostgreSQL"
|
||||
HOMEPAGE="http://pgfoundry.org/projects/pgbouncer/"
|
||||
SRC_URI="mirror://postgresql/projects/pgFoundry/${PN}/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug doc libevent udns"
|
||||
REQUIRED_USE="
|
||||
libevent? ( !udns )
|
||||
udns? ( !libevent )
|
||||
"
|
||||
RDEPEND="
|
||||
>=sys-libs/glibc-2.10
|
||||
libevent? ( >=dev-libs/libevent-2.0 )
|
||||
udns? ( >=net-libs/udns-0.1 )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/xmlto
|
||||
>=app-text/asciidoc-8.4
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
|
||||
enewuser pgbouncer -1 -1 -1 postgres
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/pgbouncer-dirs.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --enable-debug is only used to disable stripping
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--enable-debug \
|
||||
$(use_enable debug cassert) \
|
||||
$(use_with libevent) \
|
||||
$(use_with udns)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
|
||||
insinto /etc
|
||||
doins etc/pgbouncer.ini
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/logrotate" pgbouncer
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
einfo "Please read the config.txt for Configuration Directives"
|
||||
einfo
|
||||
einfo "For Administration Commands, see:"
|
||||
einfo " man pgbouncer"
|
||||
einfo
|
||||
einfo "By default, PgBouncer does not have access to any database."
|
||||
einfo "GRANT the permissions needed for your application and make sure that it"
|
||||
einfo "exists in PgBouncer's auth_file."
|
||||
fi
|
||||
}
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Upstream has *way* broken tests.
|
||||
RESTRICT="test"
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Lightweight connection pooler for PostgreSQL"
|
||||
HOMEPAGE="http://pgfoundry.org/projects/pgbouncer/"
|
||||
SRC_URI="mirror://postgresql/projects/pgFoundry/${PN}/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug doc libevent udns"
|
||||
REQUIRED_USE="
|
||||
libevent? ( !udns )
|
||||
udns? ( !libevent )
|
||||
"
|
||||
RDEPEND="
|
||||
>=sys-libs/glibc-2.10
|
||||
libevent? ( >=dev-libs/libevent-2.0 )
|
||||
udns? ( >=net-libs/udns-0.1 )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
doc? (
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/xmlto
|
||||
>=app-text/asciidoc-8.4
|
||||
)
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
|
||||
enewuser pgbouncer -1 -1 -1 postgres
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/pgbouncer-dirs.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --enable-debug is only used to disable stripping
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--enable-debug \
|
||||
$(use_enable debug cassert) \
|
||||
$(use_with libevent) \
|
||||
$(use_with udns)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
|
||||
insinto /etc
|
||||
doins etc/pgbouncer.ini
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/logrotate" pgbouncer
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
einfo "Please read the config.txt for Configuration Directives"
|
||||
einfo
|
||||
einfo "For Administration Commands, see:"
|
||||
einfo " man pgbouncer"
|
||||
einfo
|
||||
einfo "By default, PgBouncer does not have access to any database."
|
||||
einfo "GRANT the permissions needed for your application and make sure that it"
|
||||
einfo "exists in PgBouncer's auth_file."
|
||||
fi
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Upstream has *way* broken tests.
|
||||
RESTRICT="test"
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Lightweight connection pooler for PostgreSQL"
|
||||
HOMEPAGE="https://pgbouncer.github.io"
|
||||
SRC_URI="https://pgbouncer.github.io/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug doc libevent udns"
|
||||
REQUIRED_USE="
|
||||
libevent? ( !udns )
|
||||
udns? ( !libevent )
|
||||
"
|
||||
RDEPEND="
|
||||
>=sys-libs/glibc-2.10
|
||||
libevent? ( >=dev-libs/libevent-2.0 )
|
||||
udns? ( >=net-libs/udns-0.1 )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/xmlto
|
||||
>=app-text/asciidoc-8.4
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
|
||||
enewuser pgbouncer -1 -1 -1 postgres
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/pgbouncer-dirs.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --enable-debug is only used to disable stripping
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--enable-debug \
|
||||
$(use_enable debug cassert) \
|
||||
$(use_with libevent) \
|
||||
$(use_with udns)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
|
||||
insinto /etc
|
||||
doins etc/pgbouncer.ini
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/logrotate" pgbouncer
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
einfo "Please read the config.txt for Configuration Directives"
|
||||
einfo
|
||||
einfo "For Administration Commands, see:"
|
||||
einfo " man pgbouncer"
|
||||
einfo
|
||||
einfo "By default, PgBouncer does not have access to any database."
|
||||
einfo "GRANT the permissions needed for your application and make sure that it"
|
||||
einfo "exists in PgBouncer's auth_file."
|
||||
fi
|
||||
}
|
@ -1,143 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="archive berkdb debug doc +gmp hardened java libressl minimal odbc +readline ssl static-libs test uuid zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:=
|
||||
archive? ( app-arch/libarchive )
|
||||
berkdb? ( >=sys-libs/db-4:= )
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline:= )
|
||||
gmp? ( dev-libs/gmp:0 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
java? ( >=virtual/jdk-1.5:= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
X? (
|
||||
virtual/jpeg:0
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/swipl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
if [[ -d "${WORKDIR}"/${PV} ]] ; then
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
fi
|
||||
|
||||
if ! use uuid; then
|
||||
mv packages/clib/uuid.pl packages/clib/uuid.pl.unused || die
|
||||
fi
|
||||
|
||||
# OSX/Intel ld doesn't like an archive without table of contents
|
||||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
# ARCH is used in the configure script to figure out host and target
|
||||
# specific stuff
|
||||
export ARCH=${CHOST}
|
||||
|
||||
export CC_FOR_BUILD=$(tc-getBUILD_CC)
|
||||
|
||||
cd "${S}"/src || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages" || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_with archive) \
|
||||
$(use_with berkdb bdb ) \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
$(use_with odbc) \
|
||||
$(use_with ssl) \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src || die
|
||||
emake
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages" || die
|
||||
emake
|
||||
./report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src" || die
|
||||
emake check
|
||||
|
||||
if ! use minimal ; then
|
||||
unset DISPLAY
|
||||
cd "${S}/packages" || die
|
||||
emake \
|
||||
USE_PUBLIC_NETWORK_TESTS=false \
|
||||
USE_ODBC_TESTS=false \
|
||||
check
|
||||
./report-failed || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install
|
||||
fi
|
||||
./packages/report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README.md VERSION
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
@ -1,15 +1,12 @@
|
||||
AUX botan-1.10.14-build.patch 841 SHA256 28eb133a239a0bb6e633f603fabdd45dcf40fc42a794c12ba8d5660f0f1a2666 SHA512 68c3d8a1003b2eb8fae6db4e7d2e033040cc9e1fdfdfcf8b33f1733b7e4c68b4d30222319f2bb8f2fd1fcf7c0f80a4a24d76455a9979fd1270f510b659da1d92 WHIRLPOOL 7b9f09999a4208e582e2b05d2a544dd62bb98826805d07293f3755bb780fc58b12f09d5c36b6e976eb166e7a2f269a7df7c7e7342d3751e0b2e8b9dedd468d0c
|
||||
AUX botan-1.11.34-rng.patch 1129 SHA256 a67017ad21422a7771535ee1eb1c2b5ac0dbae033bd1915c4324f3ae2df2bfda SHA512 000ad37688749a9d7bb4740f5de684aa4748e388b9cdc1dfacb03ba484be8057f33252de781d7a68cf4600c61ec994a389f89749ff2ef5758200f80c10fa5e5c WHIRLPOOL 96b01ad2ca672bcf0b267efa1f24723dd5d1d7484ab9453c6089340ac43d02278cbc417e02775ebb828e7b0f221d70567effe6bdda42330e946e44093de7dad4
|
||||
DIST Botan-1.10.12.tgz 2707397 SHA256 affc3a79919577943f896e64d3e4a4dcc4970c5bf80cc98c7f3a3144745eac27 SHA512 074ed9c89d715ada53a3366139da3f0f2fd7ee01941d301b0a9c1a897927ed88c0ade32f66768091664e6b652b7921b3b4c513106ee6ce1942dece3a25216bf5 WHIRLPOOL bfe7029e5ebf660434b14cd49e0c9f4612e9ee88ad50803edfa589754bede01dc39d71542b62eaaa0f7e85dbf623b4b11a90528bcb903c2333103685ce91401f
|
||||
AUX botan-2.0.0-build.patch 788 SHA256 47f4f0aabe056e60d303afbd08fac151d1c5b0a2b7c6b8c72a070a41f9e63900 SHA512 a048e59bbfe938f8c31e305f4774a3ff458e61df6755fc84950497111ae5ffa511a2b22c23ab2b9a4b66e7dae5796249ec51013b65cb31619c4aa484a4b80e87 WHIRLPOOL f38a47c8cf37d82671daace6709bebf82fb62782e5bf263c85b24c6d63e31e8df69b4a2f5bf6790ab860d22949862d65dc3435e056ba50739424d5bf38ed53e2
|
||||
DIST Botan-1.10.13.tgz 2710181 SHA256 23ec973d4b4a4fe04f490d409e08ac5638afe3aa09acd7f520daaff38ba19b90 SHA512 a09d2cb5dda21bf384b81675025f249abdfe232c95dc3383f0baebc2bf1603b2ed1e2aec9a81aae95df592ec2eeae8906c63474a6da42ad3701669a5d8f14656 WHIRLPOOL 4161d689205f02ed8b97bb371be47829d11dee744a024e24bb834264cfa6143c8a9fb7df969410975e4bf2b708063e3c05b6106c4dbe7f5566e3331ee5e901a9
|
||||
DIST Botan-1.10.14.tgz 2710757 SHA256 10ed0b394db165733ac9557d8656356b7e9744d38c61c2b9c44cba6d84ff4c1c SHA512 ae524653a99b02d6d8d7bb2b88a446c066fe1044d8fd2708ea2a4cd5aafbe2b0d165d2ce1730669a4df18013cf5b6540bb5944bafea512b4957e3417de512e95 WHIRLPOOL 51aa1d68757ad515f65c255c585be8050efed085800340d43fa068b48647ef8c50fc9e284ac16d0cef3d874f5fa44f143210dcc004561807e1d1b307d89cff9d
|
||||
DIST Botan-1.11.33.tgz 4329671 SHA256 d65f95399dc5710aea90d682d65e554fed4571115f1382416e9142370a47e949 SHA512 49bb4485663897dd07bb7982771befacc50bfabef5806dc802cbd4d39f5d641b08a264824b5b1b96421e810811353deea15e728c5d08ce2932cf0e4602ae099d WHIRLPOOL 86154158915e29eef7753797df037d560078bda4ecfaafffba1064a238618b1ec10e0712b85cd64537ca3dfbac5ce38bf1323456d30b2bd5a51c0dae7f81d339
|
||||
DIST Botan-1.11.34.tgz 4908624 SHA256 59ad548f8ddb967737f102b252bab30ca0b49f039f204502394cf506ae731f16 SHA512 c3dad24872f726c62fd302cf05e4a67985e8d6e00b6bdfc9852abe2204329f794b656e9ee89470b76ea16426371ef5b1729626c36d9a2b89e1939172382f192c WHIRLPOOL ba1db76068ae8e55169cba19597be159de1999555ff64ba95a7b80a38ed25d6170be9c2586ca680323340774784fad96b9ca83ff0b17a5b162ba11014e2641a4
|
||||
EBUILD botan-1.10.12.ebuild 4026 SHA256 973cbf969662276f8fb398b623a9a22e47410cb1cfff4f1d31de80a777c527e2 SHA512 2dbf56f274970c97d87201d257c5d5c88428f6bff0fb7dab7099ab25ab9f76894ecbb48307c145f86498c3ccc420cb5ac04230d54e020532689651c43ad9a6a8 WHIRLPOOL 2d4872cd897d7e3447d3c0a378a987184364e1272b6c625a7ffe87ed7ccc6a3abe038a15fab710b4ed2d6125fcaba63cbcc54d6ba0c55a7e87d971876a45f47e
|
||||
EBUILD botan-1.10.13.ebuild 4027 SHA256 b562498069bd56d9166594f03884cb0c230541c1032d969ba98041588e3c2143 SHA512 85e92f4f0c8660926a56144bc9dad660de77b2ccc9221ac98566b328f2cec99f755e86833eb8a7b1d9e05db482349835ad718e070ca58f82c2b3dbbcff62eebc WHIRLPOOL 641b630f8831b7c87cfcd75f55bae6789784a8fe04e30be50d16039daed4bd9cea37e1754f4676d5ba3d8de13106d2eebfe2c8ba969c1031a59839342c9326e2
|
||||
DIST Botan-2.0.0.tgz 4989901 SHA256 031659cca0f80869e9d97a20917edbe2164cedbc079e8c53e0e7bd9bea15371a SHA512 4cb6992b5998ead175c10a9f193b0cde208b81a99bf30412a3b8386e7c91de2ff5d8191fd49893f02643519721bcf16c58db3cbee3eccbeb566f4456d310cf8f WHIRLPOOL ba180e5be87c9212fdf2e9252eb6d477bf608f976476b75e31e393ec19d94dada876b5dda9881f4cbe6dd7fec642a8a2b2a728bc90e07c44661237a067ae09ce
|
||||
EBUILD botan-1.10.13.ebuild 4026 SHA256 626e0505311e96fb9f8a1885abde0bc3d131983eea896716552dc09c1b7ae6e5 SHA512 aecddf08bbd7cba914845e1681a7dd4450eda9585bcc92d7a1bb8a720cbdfa7f557c61d0da772ca2f3e03016feaad22bf0580989c6dc85c99eb1592be5cc7c3a WHIRLPOOL d1915ce1700932e210c6428760b682a25bb6c2906b895123ae4569f8d71f756bdd42b1e7d67e5aaf5c795cac03928cc0d970dfedc4c085ed0337a08a05a7a807
|
||||
EBUILD botan-1.10.14.ebuild 4077 SHA256 15a54c44971c4e4b930a9841ce8b26404cc972fd9fe1286bad8338c7ee22fab9 SHA512 a821c78898a04545c3f880ce1eff51aba92675c08447c58c12c1342501478fa4a3b2254ec79a7ddbbf34ea973cbb0d6236eb7166fc9295aca26001007e318afe WHIRLPOOL 8babe7ee3900cbdad3697e0ff6da7c66c1cc01694863f4047c1bce66e2b697ea05a94b2bf0c3607f2134b921699dc172ed250ceeace6dc6012875be708908f08
|
||||
EBUILD botan-1.11.33.ebuild 3487 SHA256 2b3a7d2e011769bdcda66665eb32130d33acc436ddd21bdefd8250f8c7d74399 SHA512 af997b24bee53d7c4cd5d56dc04fac5d010643dd13b08890b4987ab7a3de67a470adc4e88d973bec7b172c1ad0b23f7bc2865b4764fb46d30e39d7fd6f4ff653 WHIRLPOOL 33c81900a23f1556ac3595d00205125470bc73507d91b3229a68f2ffa51f85378c976bc1a2f33e9dbd4f4b04b970ff43cab8d98ddb26231a66075186016a4034
|
||||
EBUILD botan-1.11.34.ebuild 3534 SHA256 46a00cad1122e5c858ba3ed8082398cb07ece29c3fb897959f4724bc56e1a298 SHA512 6d91a6d61f7bee1fc4a6739ca92dc7ab123439723eab9e4325558b52e3a150c0ab2d32bd783196c49bcefb95838120d5ec215f827505852677d2152023702378 WHIRLPOOL 7af51665637fa846deffb0c94d1cbb8f25994fd8e87d1e1059c2c89caec2e507fc2de61b51468f2917d38df7688d8374ed57f732a5a6e87f01bc58c3528faa92
|
||||
EBUILD botan-2.0.0.ebuild 3198 SHA256 31c390d4e0443cf4336977557b3938716a970c6595d319e026cf358e567c741f SHA512 d54f5666c47a3c6b362d371bf4384ad8f6b5e58ae0563c060053ff683ff8d6ffa3e434259ffc6b3b6f84ac152739f813b8f6aba69c340d4054139d9ee724516e WHIRLPOOL 5fc93847588965125df9f0ff836a13daed0333405b39b3f39c669e9c91bce167a599d696d5dae354434e8ebfd0638c574981ac7e7a8f5e873d65968ed291d09e
|
||||
MISC ChangeLog 6990 SHA256 f7855ce06f452ae297417cfd5f5db8b33910da4bfd5d82615df64c73c82b07bf SHA512 55758698c3013d9a58546846d5fcb05bd0ec3552a027a7f398c35074b4ab06194f19282b59bccff11610f5fcf044a96ea5d96d32ea4bc19f4b12e4739cca61a5 WHIRLPOOL 83a724604833f2521a1eec7cfa512a952a020313e0d8492babe0a18a8108dd43b5869315433092fcb34ea3cea2fc50cd77000c689969e9d3c988086ef81f25f5
|
||||
MISC ChangeLog-2015 14001 SHA256 3965f2c6b8727a5d23738c6a204c1786dedff49d5c4ed7a0d5e310993a10dee4 SHA512 89e3c0d3264354d2b926f971a3a86df4eba9961b680e55e951d2fcb17a1c9b02dedb3d098e90502be6c1b4152e0adbd5cf55d2e56ee5904403c1d6d8b2ee1603 WHIRLPOOL 66370d148c79167a19afe2af5061ce9f7d59b36e9d490adf0ed2d6d871c24cba770a3ce077c8f3b5fe9fc8b95fae66966fce151c41f2b5db5b7df2c9361df031
|
||||
MISC metadata.xml 620 SHA256 9c09004cd1f859ecda18c9162ac1ed53ce38b3288bf173b80657b29663e02edd SHA512 9b8e939d448e28904e53a0c6b8c4d561b467a2e7bd22bae9632b8fce90f5d4a4bffd77bc86c30db8f4d9ef7c4b45d4594c1d6b4b908e8ae00a8277d2af6029e5 WHIRLPOOL 5d57394a8e87c9ad99a0874c7f6f6c4c6df7a9e1dd69098d46dd681bd2d097ea0796284c4c49943f857f01471e1e307f1b69058f730e56cd5335ec3a54f28bbc
|
||||
|
@ -1,150 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit eutils multilib python-r1 toolchain-funcs
|
||||
|
||||
MY_PN="Botan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="A C++ crypto library"
|
||||
HOMEPAGE="http://botan.randombit.net/"
|
||||
SRC_URI="http://botan.randombit.net/releases/${MY_P}.tgz"
|
||||
|
||||
KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~ppc-macos"
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
IUSE="bindist doc python bzip2 gmp ssl static-libs threads zlib"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
|
||||
zlib? ( >=sys-libs/zlib-1.2.3 )
|
||||
python? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}] )
|
||||
gmp? ( >=dev-libs/gmp-4.2.2:* )
|
||||
ssl? ( >=dev-libs/openssl-0.9.8g:*[bindist=] )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e "s/-Wl,-soname,\$@ //" -i src/build-data/makefile/python.in || die "sed failed"
|
||||
sed \
|
||||
-e "/DOCDIR/d" \
|
||||
-e "/^install:/s/ docs//" \
|
||||
-i src/build-data/makefile/unix_shr.in || die "sed failed"
|
||||
|
||||
# Fix ImportError with Python 3.
|
||||
sed -e "s/_botan/.&/" -i src/wrap/python/__init__.py || die "sed failed"
|
||||
|
||||
use python && python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disable_modules="proc_walk,unix_procs"
|
||||
use threads || disable_modules+=",pthreads"
|
||||
use bindist && disable_modules+=",ecdsa"
|
||||
elog "Disabling modules: ${disable_modules}"
|
||||
|
||||
# Enable v9 instructions for sparc64
|
||||
if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then
|
||||
CHOSTARCH="sparc32-v9"
|
||||
else
|
||||
CHOSTARCH="${CHOST%%-*}"
|
||||
fi
|
||||
|
||||
local myos=
|
||||
case ${CHOST} in
|
||||
*-darwin*) myos=darwin ;;
|
||||
*) myos=linux ;;
|
||||
esac
|
||||
|
||||
# foobared buildsystem, --prefix translates into DESTDIR, see also make
|
||||
# install in src_install, we need the correct live-system prefix here on
|
||||
# Darwin for a shared lib with correct install_name
|
||||
./configure.py \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir=$(get_libdir) \
|
||||
--docdir=share/doc \
|
||||
--cc=gcc \
|
||||
--os=${myos} \
|
||||
--cpu=${CHOSTARCH} \
|
||||
--with-endian="$(tc-endian)" \
|
||||
--without-sphinx \
|
||||
--with-tr1=system \
|
||||
$(use_with bzip2) \
|
||||
$(use_with gmp gnump) \
|
||||
$(use_with python boost-python) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with zlib) \
|
||||
--disable-modules=${disable_modules} \
|
||||
|| die "configure.py failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" MACH_OPT=""
|
||||
|
||||
if use python; then
|
||||
building() {
|
||||
rm -fr build/python
|
||||
ln -s "${BUILD_DIR}" build/python
|
||||
cp Makefile.python build/python
|
||||
sed -i \
|
||||
-e "s/-lboost_python/-lboost_python-$(echo ${EPYTHON} | sed 's/python//')/" \
|
||||
build/python/Makefile.python
|
||||
emake -f build/python/Makefile.python \
|
||||
CXX="$(tc-getCXX)" \
|
||||
CFLAGS="${CXXFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
PYTHON_ROOT="/usr/$(get_libdir)" \
|
||||
PYTHON_INC="-I$(python_get_includedir)"
|
||||
}
|
||||
python_foreach_impl building
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
sphinx-build doc doc_output
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
chmod -R ugo+rX "${S}"
|
||||
emake CXX="$(tc-getCXX)" CHECK_OPT="${CXXFLAGS}" check
|
||||
LD_LIBRARY_PATH="${S}" ./check --validate || die "Validation tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}usr" install
|
||||
|
||||
if ! use static-libs; then
|
||||
rm "${ED}usr/$(get_libdir)/libbotan"*.a || die 'remove of static libs failed'
|
||||
fi
|
||||
|
||||
# Add compatibility symlinks.
|
||||
[[ -e "${ED}usr/bin/botan-config" ]] && die "Compatibility code no longer needed"
|
||||
[[ -e "${ED}usr/$(get_libdir)/pkgconfig/botan.pc" ]] && die "Compatibility code no longer needed"
|
||||
dosym botan-config-1.10 /usr/bin/botan-config
|
||||
dosym botan-1.10.pc /usr/$(get_libdir)/pkgconfig/botan.pc
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
rm -fr build/python
|
||||
ln -s "${BUILD_DIR}" build/python
|
||||
emake -f Makefile.python \
|
||||
PYTHON_SITE_PACKAGE_DIR="${ED}$(python_get_sitedir)" \
|
||||
install
|
||||
}
|
||||
python_foreach_impl installation
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
pushd doc_output > /dev/null
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r [a-z]* _static
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
@ -1,136 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit eutils multilib python-r1 toolchain-funcs
|
||||
|
||||
MY_PN="Botan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="A C++ crypto library"
|
||||
HOMEPAGE="http://botan.randombit.net/"
|
||||
SRC_URI="http://botan.randombit.net/releases/${MY_P}.tgz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
IUSE="bindist doc boost python bzip2 libressl lzma sqlite ssl static-libs zlib"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="python? ( boost )"
|
||||
|
||||
RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
|
||||
zlib? ( >=sys-libs/zlib-1.2.3 )
|
||||
boost? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python?,${PYTHON_USEDEP}] )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.8g:0[bindist=] )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )"
|
||||
|
||||
pkg_pretend() {
|
||||
# Botan 1.11 requires -std=c++11
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
[[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]] ) \
|
||||
&& die "Sorry, but gcc 4.7 or higher is required."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed \
|
||||
-e "/^install:/s/ docs//" \
|
||||
-i src/build-data/makefile/gmake.in || die "sed failed"
|
||||
use python && python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disable_modules=( proc_walk unix_procs )
|
||||
use boost || disable_modules+=( "boost" )
|
||||
use bindist && disable_modules+=( "ecdsa" )
|
||||
use python || disable_modules+=( "ffi" )
|
||||
elog "Disabling modules: ${disable_modules[@]}"
|
||||
|
||||
# Enable v9 instructions for sparc64
|
||||
if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then
|
||||
CHOSTARCH="sparc32-v9"
|
||||
else
|
||||
CHOSTARCH="${CHOST%%-*}"
|
||||
fi
|
||||
|
||||
local myos=
|
||||
case ${CHOST} in
|
||||
*-darwin*) myos=darwin ;;
|
||||
*) myos=linux ;;
|
||||
esac
|
||||
|
||||
local pythonvers=()
|
||||
if use python; then
|
||||
append() {
|
||||
pythonvers+=( ${EPYTHON/python/} )
|
||||
}
|
||||
python_foreach_impl append
|
||||
fi
|
||||
|
||||
./configure.py \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--destdir="${D}/${EPREFIX}/usr" \
|
||||
--libdir=$(get_libdir) \
|
||||
--docdir=share/doc \
|
||||
--cc=gcc \
|
||||
--os=${myos} \
|
||||
--cpu=${CHOSTARCH} \
|
||||
--with-endian="$(tc-endian)" \
|
||||
--without-sphinx \
|
||||
$(use_with bzip2) \
|
||||
$(use_with lzma) \
|
||||
$(use_with sqlite sqlite3) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with zlib) \
|
||||
$(use_with boost) \
|
||||
--with-python-version=$(IFS=","; echo "${pythonvers[*]}" ) \
|
||||
--disable-modules=$(IFS=","; echo "${disable_modules[*]}" ) \
|
||||
|| die "configure.py failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CXX="$(tc-getCXX) -pthread" AR="$(tc-getAR) crs" LIB_OPT="-c ${CXXFLAGS}"
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
sphinx-build doc doc_output
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install
|
||||
|
||||
if ! use static-libs; then
|
||||
rm "${ED}usr/$(get_libdir)/libbotan"*.a || die 'remove of static libs failed'
|
||||
fi
|
||||
|
||||
# Add compatibility symlinks.
|
||||
[[ -e "${ED}usr/bin/botan-config" ]] && die "Compatibility code no longer needed"
|
||||
[[ -e "${ED}usr/$(get_libdir)/pkgconfig/botan.pc" ]] && die "Compatibility code no longer needed"
|
||||
dosym botan-config-1.11 /usr/bin/botan-config
|
||||
dosym botan-1.11.pc /usr/$(get_libdir)/pkgconfig/botan.pc
|
||||
|
||||
use python && python_foreach_impl python_optimize
|
||||
|
||||
if use doc; then
|
||||
pushd doc_output > /dev/null
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r [a-z]* _static
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
From 0d8cbe137261b4f841a05eec5dd5659c8f510de0 Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Mon, 9 Jan 2017 20:59:28 +0200
|
||||
Subject: [PATCH] build: pkg-config: fix include directory
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
src/build-data/botan.pc.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/build-data/botan.pc.in b/src/build-data/botan.pc.in
|
||||
index 85943ab..753b8cd 100644
|
||||
--- a/src/build-data/botan.pc.in
|
||||
+++ b/src/build-data/botan.pc.in
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix=%{prefix}
|
||||
exec_prefix=${prefix}
|
||||
libdir=${prefix}/%{libdir}
|
||||
-includedir=${prefix}/include/botan-%{version_major}
|
||||
+includedir=${prefix}/include/botan-%{version_major}.%{version_minor}
|
||||
|
||||
Name: Botan
|
||||
Description: Crypto and TLS for C++11
|
||||
--
|
||||
2.10.2
|
||||
|
@ -1,7 +1,7 @@
|
||||
DIST qtkeychain-0.6.2.tar.gz 18859 SHA256 ae13459234feeeab3a154457319d9b26ee9600973443517c77e055838ebae63c SHA512 be668c9730b331071cefff0b6d640e7130bd6b029e56aa4b1fa709d118d4db18146869cdd013df2f5348da32ec1101646f2df0bfa8f0790ec9542f9063f0b195 WHIRLPOOL beed71a48c18848a01e1fe57a7ed2d641e17907a792fdce15f3e6dc4c40218376c5ed04d608c2950c1fb7a60f7d9e0e9ee30e72d400e7e7031fa33cc35872126
|
||||
DIST qtkeychain-0.7.0.tar.gz 18913 SHA256 9f9afaae8e909391d7fc932bac95e38befaac5b2eb49f6623a8efec60a2e6a3a SHA512 b7e98fa6c7f6a8a5e4d79468366b30c859db4edf08984d685d2cd8d87c5ab60b5f4769b5af96c8d9ca306111e46a63e4d23be7c07d77d6c3492f2e81ae8cd88b WHIRLPOOL 325684232485cc4a24e41015ccdc6cdc0e2f0e5671b092e151489ab2e3bb241aa3fabdeb4ff6a0456c5732514c4079a548cb462d7151c7193c7c08664fa436f8
|
||||
EBUILD qtkeychain-0.6.2.ebuild 1282 SHA256 dca5692dfb9652fb6c712a2b1082a1090937a46b90b3d10c8a8c9e45f5c2756e SHA512 e22297f8bd8c398cdd398a63bb87b4d0491290813f322b8475ea9d12ed4dc75155e7acf2c0fad4ff2e228602eeb552e0120af3263f898968c617021ba5872a02 WHIRLPOOL 08bf1015816f36f6d29967d8d2f1c06683a11d23b59106da345eb3fa265ed3744dc57451ac716cfeeb34a3e1eb6e43db2a2adb4819b0c7fa98b803d0fa111459
|
||||
EBUILD qtkeychain-0.7.0.ebuild 1286 SHA256 63238618223af4aec361042cb12a5c676dbe85f915d5d3280f1be26808dfdd90 SHA512 f238d0794c80bf93801bae033de70e79d9db96a4f792f630e6242f74a0b2b10439b4a9735e24fd203a05907cab745ff8627a211c83df06451ca0ed708e953ba8 WHIRLPOOL 8e95672daeef1e6bc1e56f410ecc0326ad8bb3ccb546b9f5903789adced4646640072f80ae91cabd29d505f21af4295ebf8451cbc4f221a72fbfe85573249b28
|
||||
EBUILD qtkeychain-0.7.0.ebuild 1285 SHA256 39974d412025d5ca2a0299d317ea684abaa030b15c280e6fa3a2092a91cc69a7 SHA512 95d632c04076978096ddf34dc0fd30306fbc2dbcd8dd5f0c23bb15f8604bf92762ddf1191b43897b5f5629d3d0c02d1e536c9e656c02984fbf4b43a3d957747f WHIRLPOOL a65b634fece7e6f4666684f49cbda52dc8ba884ef661ab1c0c03fc1853d9cd4caeaa156794f7256d82302b7dde005877a132dad869532d24cfc1f84a6234c70b
|
||||
MISC ChangeLog 3947 SHA256 3bd30f55c27d3bc0492cc276877da7784e7a1d881dd5f6d067d04396891e73d8 SHA512 9c63644c2e0e82432ea3eecfebc1be89e61cdf22230dbab24502f2fe80addaf9e0cf2db0c88c45e915070073606e82d001a97c9b62641ccf3e3b7e3085cdf514 WHIRLPOOL a284f7b6927491573a5f7d7bad0eafadf9c30ffc89c52173b9644f6a279733afe7e4763fb11b7b65bc4966519789b1dc5ee369352a08343bb4bc2c3afde7ca94
|
||||
MISC ChangeLog-2015 1279 SHA256 de37540ff4bf4bb957a881223c1d4259709713ac797e762b383ab954938a6634 SHA512 f535f020c3675db902a0723f831a6598f87cc337cf18e42e91700970271720851f287fbf5e3ded1438aae5c91018ac2c60e803d5239d675077d345c1cc14cd27 WHIRLPOOL f2e3613f39e9e3689477e8732ef5e66eedbff21f0939344a6c2b0391bd3241a8499b1f8d23be259f453c28d4fc2aa945e03b6636924106a61dcdca8beec8e46c
|
||||
MISC metadata.xml 335 SHA256 56180388a2c83a48e6c364f399ed54079f2e0c2ce4d94a0dc4a379f30ae93142 SHA512 72e060f41c90aa2a177af6c32b35109f0489fd277f5864cae4f6be7e2577f0920ba75f811081b058a210d54415dfc7e8aed35ca233748e35dcd1233b59d47342 WHIRLPOOL ebcf302c359f4de9cdee4fb63891e08a714237d674dde2b0b75002880ae63b322f86fc42acad23e3a590beb1f0729536737aba31edd687386c22aa602c57de02
|
||||
|
@ -1,7 +1,7 @@
|
||||
DIST jsonm-0.9.1.tbz 64843 SHA256 3fd4dca045d82332da847e65e981d8b504883571d299a3f7e71447d46bc65f73 SHA512 43689c8fa75810a4ca1f99a0273ac5c0f6386b88f42a49715bcb785ac5ca54901c43a62b0983f7fb74a7c2615b0fb3464f4c864832d590192ff828b5dcb9781f WHIRLPOOL 2efe453596d3234da178b16191db3068dd06b8a66e7b23a0dd8efb0904368e32b357fe177f62891ce73efee96ede08e4b8e84125409b6ed01880dc49d92f122c
|
||||
DIST jsonm-1.0.0.tbz 21549 SHA256 c258ea713d25445341774cf085fa0cf7d2a570c34d5a8d84a49716939ab174ec SHA512 3b0a332a0f3ddcf21ed9ca33fe3bec97f69e4fa3b6f85728965efc0f8f8c6b3187d0d71138c97a568783d6fb9f2aaf6edcd83061350cad13a9378e3c92c80b6e WHIRLPOOL 2b7cf9afa6cd71a5b180909b245ba6408f4a163a048271cf91da47f7bfb25de3a657351c5414562f5e0e6872c9dd77de74f13b9b2b0b5e536693b756934a24f6
|
||||
EBUILD jsonm-0.9.1.ebuild 522 SHA256 b3abc2bbb2ecf6d699f4015b2d1d25cffd3982feff81cd7ccae54f7a75a091c0 SHA512 ba74df920d0099d6239e5762ea4c85a5e8eb4ae79981f94acf85820eadcbbeeafaedfc5de957a60c51ad55583b814faf68e7506a623b5832e028a8cad99d3a51 WHIRLPOOL ded0b8fec37b52ecbdc848f32135e8df0c97a79188cfd34f2d303a2782212eeac5e31d8caedaf99dde121a5b65610c1e1f6a419c41ee258351c7dc2565965052
|
||||
EBUILD jsonm-1.0.0.ebuild 766 SHA256 68d4cedc41b5425822362915c1d2f688c18293085d3f420c3106126a05d55f2d SHA512 b69c4291f748ff2e49cb85d7cc94b885adb1d11ad7dd3e0d4da442825908ed8cacb65951aa925e8819fb9d9787e237f857b82b987d0428de54e9006e377b3228 WHIRLPOOL 2a6bcabcd8c50c4d482b7a6ef202bb31ed45301c295715a9839f10f01b013c74b8f9f48689c622b8123dde4cb4dcd123f00d420610b194c2f50b219f8cbe2bdb
|
||||
EBUILD jsonm-1.0.0.ebuild 933 SHA256 c59fd3f7f322a36d77aa53a8b5ababad22e815461370292e96be3629d26eeffd SHA512 7807ff8fa6e87d663fa3007bd8d1075c1106c7b15107ce9c17c0b8326e0708438c5d2614cb45b27321daec7b7aa34814fd0b1d5c0e398a77aa291bd9f140922a WHIRLPOOL a3789494ae8e94ab0ce77a27b4f176f325a85ae3eb9c896e3adc01e3390535bbc4a7e720aa72c7fa1d0822afbddedd29522ae06891f5f849fb01dd17bfe7c375
|
||||
MISC ChangeLog 2571 SHA256 59c4a0edc5d72f1f686dc366686aef2f869ed24481e6e273d8847bc9ddd103bd SHA512 40f1ae110199a84479c3770bd85c152f19e906132ce7c6478a59b94cf439caae267618463bd421d9d5bf718da51b258dba784bd8827ed7e275d615024b0fca0b WHIRLPOOL 194eb77036cc76759ccafe376490451eb0d4de6a65f41a24d419af937a284bc0944ad0c58e76bbec3736f20d507905963257850f887f94a49c08285ce0698351
|
||||
MISC ChangeLog-2015 410 SHA256 ec98d42f4e43427ebc7d1d2a884786ea0e28e3ad7cef87c8738359c7cee3ebbe SHA512 1fc4e6ab0c2ae4745cd55e0e85df9394d050c640f1d04760638043f6e7bc8b5c62058230ac70d5c211ca1774ec41973eea2e71a0bc44bf2d05a6fffa5c2e44ab WHIRLPOOL d6337a12953f9905c0716962431f5e02f36a0d9d856a833fd4e1a23081a7a9c3aa8bd48a92c1642c25b9f0de292907f25b2f7fda0a2f4a1b879167164278af2b
|
||||
MISC metadata.xml 243 SHA256 5e9b58b0b795266f973d066675839499e3a56d7d932d702404a4b91ded8eb26c SHA512 1c5b4b2163017e496999d1f87e5c9c5ac6c11b2e9187450ccfb3df258f34e54d278972f04ee0e8429476c6f87e091a869ac2a28c6e8c8e6d20678c3e74061449 WHIRLPOOL 085df2e84901cbe563c7c1d30d04c229547f15f8ee26ac61d44d07c3f6999f2bbfa4cf309963172fb507cce5450d27598b762c3ccab92351601965c3afc05e3a
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST qcheck-0.5.1.tar.gz 128381 SHA256 205ae6ffe7d5357d2a7edc6535a385edd138c078ad000f11e892eba9c85b0c66 SHA512 3ec31ca26d5e271606a09e7ba2df5d38efe6bc872d4818fd7a3f00117d6890959c5229d6506da10623d975122f2bcdbb33fb6806ca61aae0ed781fca9628a80c WHIRLPOOL ac02fe9789968ecdc7f2b2c972ca32bd81813c955dc7cb5a7e9dd5569951c5a2a56874f4efa2d630b48faa111ea0e1cafa4c72ff1a7b8333fc794af05895adb7
|
||||
DIST qcheck-0.5.tar.gz 101731 SHA256 930d035981b91617c7f7104228c51741d2b9116094d47ea2a8260091fd80bb3f SHA512 449a73298eacd1348058f8307af3d702007049d4516e2a86214c07968b9b77fec5fa7006bfc681ec6ae6cb8561ee9f6353649b97c698ef338576026af340d5fa WHIRLPOOL 01db048a5db094c51640514b723a752a542535243b613b7877c0095ada9dff9442a03d60e804f3a2e4fed592dda269151f4f8698e2d4a3bfda9f68cfe0bbf5eb
|
||||
EBUILD qcheck-0.5.1.ebuild 474 SHA256 5859ebcfaa13bd4320155a7d01827fbd9320e3bfc6210a06eab11379d2c87f86 SHA512 efee46270f694911baff720e0f72932ec825b0ba2f382c4a460cdeb1934c892784b13f7700cdd1c1e867bdcbb65c9376ce4f54fec43e99215883e5fd4e10d1c9 WHIRLPOOL fd152df26519d4009c477a554b0def45edd449e5a893d1913a9e01a115f5963b4c9ebc5737fef950ca87ad20c820a4dd01a2e455d265785853229cb52acf4d11
|
||||
EBUILD qcheck-0.5.ebuild 474 SHA256 bc90935b8ff4d21af21efa12daaaea6d99c944084ab03ed0cccd654ed4bd18a5 SHA512 dcb52d1831e9baa0419dc3a9441b35e18ef9fae8709212385f6e2675d1c8343d70ddd1cf3b7583162d24734bc934c762b79507bd3d9adb7bbf93f9550e59b4f9 WHIRLPOOL 907b44ca14c068d5a66422c3ba9e420810c265f3093ad168ed009770b1d7f69322b9268af58819b8d3ca2044a46ec3a1283bdd426fea2335ed48f032ba7b03f8
|
||||
MISC metadata.xml 253 SHA256 3252720dd8d4ec7bb5445b2ae2ce9076da21fae984c5e13eb515933bdbf84277 SHA512 9285e04d22e8e41631e6de00e0ba02842cf0e772cd17a1d7ba3864e50eeea50abb06077ea4f9ac920eab3d520bfe28d389b3d04d5c3529af23a68ca68b6857d4 WHIRLPOOL 7ff76b173029194fbfaa950aaae5fe6a3eb9a58053753ad6f3b1dd0ded6c6a25c683fa588b890c4aa4c8ebd40160d979dc52ec5d61f7b56f3a33c75d8e4cfda6
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit oasis
|
||||
|
||||
DESCRIPTION="QuickCheck inspired property-based testing for OCaml"
|
||||
HOMEPAGE="https://github.com/c-cube/qcheck/"
|
||||
SRC_URI="https://github.com/c-cube/qcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-ml/ounit:=
|
||||
!<dev-ml/iTeML-2.5"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ml/ocamlbuild"
|
@ -1,4 +1,4 @@
|
||||
DIST topkg-0.8.1.tar.gz 118529 SHA256 368bf199fe0e92d248057bcb635a1aec081607cc2c64699fa21885e4ea00325c SHA512 d427b9c9e05541b3574a9818efe435c2fade22b0789a4aee3032068b5cdf606634e218e848ef220ab2174272e71a3490e8d7a4acc564f4cc987ed703194b2609 WHIRLPOOL e227990bc32eca743bd3cc74ea6f2af8ded8a10286f5e24579d84c2d3745c7d001b0a72316e317b2f65fa88cafa3c1110fd5ea39c8979f22f7a54560545696a7
|
||||
EBUILD topkg-0.8.1.ebuild 758 SHA256 c97156cbbff838e9653b5ba70d071cef179a707f226c7693780e92a3b8a5bdf7 SHA512 43605c6ea3976c54d617203bb9b9b500b134603ecc797995739a0d3b7300d139d6d0b4d0ed7b002579cf7b0a2b0586251f278581bf4d57c0d768f98ceb2631c3 WHIRLPOOL b9ee838d1f6ac2e4186061b151a1d85ce869d793c2000f1bc5679e1682f949b76e759e0af5147db26114440d4ef3ea1e2132a3d254776e634895145e76c92cac
|
||||
EBUILD topkg-0.8.1.ebuild 864 SHA256 e41efca076a45784e7dc3a64a9f6c62220e260bc0a9bcea7a224a6a4a07d3282 SHA512 6b8fafb715fa4d65b5ad6c6de405ef9570e9a396017bf64748569262d2a1235bf7ef331552dff0cec643a3bf8b521c1d397d8f1419cb973b125052a146716af6 WHIRLPOOL fe6bb47616e55007986891bbaffd723c31e501820497cdd90ca58759252ba0c25fd667b82983d7678894e1ba7e1f9077dda36c44e9f40b232d77f8ea9b8b5955
|
||||
MISC ChangeLog 444 SHA256 be31ff5d0e71106adab9f856d3acc8a023f9c4b73c024e37d1ef6111b90ec68a SHA512 f0b5c0125e9627d50cdaad57b826f7a7c8bf0866f3d9289fb721262c16e7a9fdaad9e9070830cfd35bf45852f1e812f2d4371a28d1e31b97a7041fb8b314ad35 WHIRLPOOL 5e760c62e8f539a6924bbd386bd375eb2d8cdc5a1de4083eb6061aca6319d11379a3c41495a379d93fb44697a17a9c9ac8b4ad930c6b7043e0c1f782f3da837c
|
||||
MISC metadata.xml 243 SHA256 5e9b58b0b795266f973d066675839499e3a56d7d932d702404a4b91ded8eb26c SHA512 1c5b4b2163017e496999d1f87e5c9c5ac6c11b2e9187450ccfb3df258f34e54d278972f04ee0e8429476c6f87e091a869ac2a28c6e8c8e6d20678c3e74061449 WHIRLPOOL 085df2e84901cbe563c7c1d30d04c229547f15f8ee26ac61d44d07c3f6999f2bbfa4cf309963172fb507cce5450d27598b762c3ccab92351601965c3afc05e3a
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST uchar-0.0.1.tar.gz 23471 SHA256 ac94116a35cbcf346c94b4326d03d382560fbae337b7a59794ad6e1a1a84c140 SHA512 6bdc3646cb959af1a289e22f5202da2f3e3462b42a563ec4a999e96ba7b2d0c95e2d42ef06b35cd9c477eebfadef5bba4abdb60997faa7e6848aa6bcb5d729c2 WHIRLPOOL 7b043985fdc61aac63b1ba923006b40ef52552c0aad5f45d6be6f744b6d1cb1a7ce46d5dc647e59cd82fa5d243a8699bd44987871ef6c60874a31f231c36d2aa
|
||||
EBUILD uchar-0.0.1.ebuild 855 SHA256 5da61cae03cdbe2cb1cf87bb48f15424fd5b3d42b77b0ca60e21cbaf332969e9 SHA512 786df1fc562b6f91f8740be96d1e6af985e81c5efee4d0be09f2cdfac833e7459d1d61eebaed1c793e3b26247800e2048bf6ea1ed2b3f73043e62a82cbf99a4a WHIRLPOOL c75becc66899ab1b71165bca400f3aa2e32351d1157cd97bac1d7faf3a61cb0d2f2110bda4ca5c20b2f62a8422e75c56f2647f666d5b6cbe41aa7fb37a3d8aba
|
||||
EBUILD uchar-0.0.1.ebuild 881 SHA256 daccd124eb3980a14b8710097c1d6c3c7e498afbeecf5ba783bb20fd2c331e47 SHA512 3af99e83ba91603169513e6fde05756cff7133742281691c03777a8a5bbc5196f0b6efc5febb584b443b38e230527305217d5020a63fc6d274ce9abe158e3441 WHIRLPOOL 03f5f4c803d252d1bf2b4f7a313377adfc7e01f950ba7263a40169383112c2aba08ce468cdf665cffdea97a131c51eb8157500ba9ade4ad75ad34e8f3450dbac
|
||||
MISC ChangeLog 316 SHA256 77c191907be11de45abba4e4c735a9edcfaf364fb5ec35c06eeea016c6e066c8 SHA512 1def15a54565dcc205d443f397d568271b6713ef9c971706f03eb21a8634086985b6f6f02a2574cd5cdd9c7e530332797f0534eb0cc4e3a34e729ce07f86caeb WHIRLPOOL 5f890ca915fc4a131e6b994365b11eb20d4ce025c7e2f8f5ab9fd96c131a72cf0229c5aa6166027dc4c8bfffb80605e6ea310bb2a2086578598b5db0bc74e3e0
|
||||
MISC metadata.xml 243 SHA256 5e9b58b0b795266f973d066675839499e3a56d7d932d702404a4b91ded8eb26c SHA512 1c5b4b2163017e496999d1f87e5c9c5ac6c11b2e9187450ccfb3df258f34e54d278972f04ee0e8429476c6f87e091a869ac2a28c6e8c8e6d20678c3e74061449 WHIRLPOOL 085df2e84901cbe563c7c1d30d04c229547f15f8ee26ac61d44d07c3f6999f2bbfa4cf309963172fb507cce5450d27598b762c3ccab92351601965c3afc05e3a
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST Services_W3C_CSSValidator-0.2.2.tgz 10260 SHA256 698d60f2bb4c1e1ca2b95226a87575c8ceeb4912dcd5e87ebe3fd320afea4c5f SHA512 a2d5c8bbf6d18ee14804661ba537b4be0328127196085e14c7b74760811f637827c8a07b81a844e14dfcae6ed2fedcc3bfd502b958aad4253b742c4d7f39a60f WHIRLPOOL f057d38cf2a2da87e47a145e92ae14e42892186f98e08ae2e129d91b5fcf66b5ff12a3103fdd25ec5d431668ba90cf045fe53284df5b69771a3ea378927a5338
|
||||
EBUILD PEAR-Services_W3C_CSSValidator-0.2.2-r1.ebuild 324 SHA256 8101de4e768f1c312e61aa0d800ebf883556b99a3576af5fd13647212b8d0bc4 SHA512 071b6d038008b2f98b1e73dffd85c5d0781591536b26c97dfaf0979f3270335a5fe345771a138aa69ba7223b60aa1dbd596e2d075a4703ab0fef6bd85ff9b8fb WHIRLPOOL a4e6354fddef0605743adb5f3d8239a5d127f76d9347f1331c186862e27c988fadc225137b543c186efa2e4b8af4ea0801ab87d9c958afa9fa14ab3610ecf659
|
||||
DIST Services_W3C_CSSValidator-0.2.3.tgz 10721 SHA256 2f8c3d4209eaffa20c3d05e0d9fb3caf087e87a7199e217b5b01dacacc6fd218 SHA512 4f9fb73ec57e374018b389f50918eaf87a63885f75b0ae2ead067e949a451ddbe40da8020672834e891106b5d470fbe451b3117233678b5f6f6a85f01d2a8aef WHIRLPOOL ed04cfd34a08560a8cdf5040d89f4dc0b1e163da44cb75e2409e864d5b50d0300d78caaede98872a28265775ac44f5e29d9769060dcc75be93c54eb555a67e34
|
||||
EBUILD PEAR-Services_W3C_CSSValidator-0.2.3.ebuild 594 SHA256 8a1159176772b8bfa51cf6a97f52dd7eb629953398bbcb97d86d9ddc4f435de2 SHA512 6c830fb40da4d70f7a074e1f196d822449a9a28c414b2ff1e5f032a73c45dd39ec66c374f743d91ff8171ca515ee6933e06ab1b52139437ed94bdba8eb9d0bd0 WHIRLPOOL 86fd8a89e7012d2115b55f5bcd8e826bbce0a5a38f6022fcde45c3f50db7f6817720a782ac57a2b36efa15fa8c9c87207bf9d48bbcbedfc29b5036310a99356f
|
||||
MISC ChangeLog 2501 SHA256 0b026e67b738a138280474a60ab046d52e7248e0b7f0359bf52f243f9e6f3b44 SHA512 e6be739e43de60fc34bca62e1828f098a481f29444b36b9917e2ef7b11455646c2dc575a1015c1939951bc31343d56e09cf1dce357c531d25e32a6f07749b5d8 WHIRLPOOL 7f529fc2cc45b4f5fe9582024479047687f02634422970ab812cec1615afefca326165947a7597ba90473195286fe657156337fa9043b13b632540b7f0c2561d
|
||||
MISC ChangeLog-2015 1017 SHA256 9315879890fd735e7ce5fa3395876dfb8b6b6e7f24e80204c695d239810385be SHA512 628659cd38f1611507a0fef988841c057e9da3cd4ff6b4d27f5b37b057eb0be7fca6ffa0cfbfe1a2ab1e9837527d1e6275b3a1a8332a50cf73ae273849c881b4 WHIRLPOOL 53cce65cbf75c52606cb49c95809c6a09a59e7823a2521f8bdaeb55216dcf523020765625329fa27a7c9bbd494b0f6f49fcbf1b51570db80af94738acf64e07d
|
||||
MISC metadata.xml 239 SHA256 b54aca642ac424532264a97d14931720ed288cf387dbdef6a10b34ffed6689f1 SHA512 2181b874bfe8cd31e7730d8207e26cfd2f272eaf2d1b57ae0faff126347a5298fa1c506d9107e1da9736c8a0ed9c8c339e4d9509a8726b79dbe86e073c12dee0 WHIRLPOOL 80ab9605bb31ce3310bf524de4705c67ca85cf8f2346b7e13274595598b9fe92c9b119beb865ef214ad33ef172b880e318d18ff8c8d2026cb7319f0524d8a7aa
|
||||
MISC metadata.xml 344 SHA256 801449794dc7c73672c31b8fff8d0ac481022effa241badf3e2eada68a1ba503 SHA512 0ddff170159e972d164a7caf0a6722c33341e227c457f1c0a3dfc27ac9cd82591cde6b54e57f206863c56f85676bf2e553f1c80912822bc1e30a336686aed467 WHIRLPOOL 8a4167b02300be0cfeb97627e14d30a218224914101e7de42ca43bfd9bcd48f16d2493a5a75965e6cb5d2deb0bf7dc6220163ff231e5bc6d92b2c84d091b31d0
|
||||
|
@ -1,16 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Provides an object oriented interface for the W3 CSS Validator"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-php/PEAR-HTTP_Request2-0.2.0"
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="${PN/PEAR-/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Provides an object oriented interface for the W3 CSS Validator"
|
||||
HOMEPAGE="http://pear.php.net/package/${MY_PN}"
|
||||
SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="dev-lang/php:*
|
||||
dev-php/PEAR-HTTP_Request2"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
use examples && dodoc -r docs/examples
|
||||
|
||||
insinto /usr/share/php
|
||||
doins -r Services
|
||||
}
|
@ -1,8 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
<name>PHP</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
<name>PHP</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">pear/Services_W3C_CSSValidator</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,6 @@
|
||||
DIST System_Command-1.0.8.tgz 6528 SHA256 3a6e479c84701652e0285a86d466e384fc22c8a5f2613dc31c0908db9dd2fd64 SHA512 37aa9624fe566cdd8613ffd021ba32c2a3f0818b8881933dc1c2e12e2e03773b98b4295b46ef54baca26fb07015c0db2b87e44136f46c09f820994905241acee WHIRLPOOL de0332d73926d1a41233322561fa312bc4f8691e049d3b0fc06dfe51c8c63020a03d15fa7440756d43a9cc8ec622539750c30e6d99ee930169a69bdad91c39f3
|
||||
EBUILD PEAR-System_Command-1.0.8-r1.ebuild 600 SHA256 507d47a4444ed7ebcec75075e69d04712309517ca3b853b8fbd04092e82c774d SHA512 95ddb782aacb4b4de56dc798f6408f62af0e4548984bb9649fed1f58803a87fd866feb2311caf6b578b06d7ca1e4987b9f619024f16158f725fb8ef5f5a21679 WHIRLPOOL e441470e3e97e03d51ee8858422155fbd5fad18200a6f4ad3c6dff84309a0afccf433a83397cc4b73269613c788c4815f7a3d4910fd1d856f47c99e63b68ce8b
|
||||
EBUILD PEAR-System_Command-1.0.8.ebuild 305 SHA256 f9e04b0635c51aa7805901271ab5bc1f8374dc671daa85a812db93e46b58d1aa SHA512 e6633441bd992d8b8630637d1656f14c893ab54741148077f9327d658de23610bd6f0928503e2118c11879242c44fa65fe57952109646a0129e8f81cfdca433e WHIRLPOOL 93a31684627d33d0a09c9cb81d7f834a5c33cf915ece9de1071e55e47b9c2341f50e8166e1bc3e416fe2f201fd4ebee57e6f7bcfdec50a1f37f8a4f712abfbe9
|
||||
MISC ChangeLog 2462 SHA256 86aee27b9be0552253d77ff9807f05814e05dd732dc3e29a5a6ba2d877cde759 SHA512 a1bc6cca12cae1ea81815a8aa803b8f2afeab12160a690eac1021338d288ead8e70cbc664bfb6613316804f0db1b03b4105e2392183a8517952f84f9f0968455 WHIRLPOOL 24ebde4e7d0b3cc58eeeb87170c1019544e4ea2290dc0d7c2814f11014d8401ed9a2be9099b89c4d157d85c32ce76eab990b0f1bf2c54baafda12e5a01fce310
|
||||
MISC ChangeLog-2015 8424 SHA256 0ae40540b458910fbfc4f7aeb287b4094d4255ce2b6b9d58ed3ead740bab2879 SHA512 c3b1302f69c8caf356c41f452f66dd21cc89e74ad8962b470369dd66a7b326fc96efcb629f1402190ced7105c240a24850270caa92f67f943567b01370489e3d WHIRLPOOL 9337bbbf4ba8c2cda0fe577e5746fb4432551162d203a2ef90375e369c09b698ab6ff67ef3bd286c917fa72741b76a97522e17ee42d14cd15edcc9f4c0611b55
|
||||
MISC metadata.xml 235 SHA256 b248157b2feece4fbe51f91e87ab0c0249a13655e50e070080763a2a6556606f SHA512 0b3e95bbf68eddf74289dad50f8828cffce2d904ff6f9bd5468177de979677cac11da84d1e0302c52b72085915b9d1b3496107172e5726520d51dad1981daf64 WHIRLPOOL d9032f2fa2b465d0658cb19728a50849c3ca8e021574651e7aa69a9f949f186bb43812034fffda1273cfa8fbbec663ee5f08fd30db366b96ab6945b7ed4291e0
|
||||
MISC metadata.xml 333 SHA256 e1a430375fc001e42875c89e5ea35668f90931a2f9a7b51c0abe657cfcfe4ea9 SHA512 edff80df7e32e2e7261b1c629fbf290c495ffaf5b26b20c8b9eed590f20d49b9a9bbfe0cd662722dc47baa5d74c3945c5124b1891f93142990ac3d64c7cf48fb WHIRLPOOL 71cffe4b5d253e61f7ee4c7d1d52923946b5df0ffae03a37637c1d774dfb577875b113af59db6b925f00b74234d33123abcb1e379b852aa88dd4ca71175c5469
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="${PN/PEAR-/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="PHP command-line execution interface"
|
||||
HOMEPAGE="http://pear.php.net/package/${MY_PN}"
|
||||
SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="dev-lang/php:*
|
||||
dev-php/PEAR-PEAR"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
use examples && dodoc -r docs/test.php
|
||||
|
||||
insinto /usr/share/php
|
||||
doins -r System
|
||||
}
|
@ -1,8 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
<name>PHP</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
<name>PHP</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">pear/System_Command</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,7 @@
|
||||
DIST XML_RSS-1.0.2.tgz 6483 SHA256 8445e1aacfcda916f694a3347ab059d4938384a9a4505a03247a9516a2eedc21 SHA512 a65fefa31e99e47d2ab70b13c42488ce152bca198e6b83829727aa2e0841a7f7f69ca631a88ada5951802bcfb44d9374659eaf35b3493a60a7bcff7f5d160ef4 WHIRLPOOL 9cef3d099107864a68edba3e7364b85feaa13786d2340d308a85f69e7e0818baa23726b8f52e2072099d38f8c50f099ac89d6c9e67523aa3bba13783f109be21
|
||||
DIST XML_RSS-1.1.0a1.tgz 6717 SHA256 c6392f89e174cd50e78c7277a16f0f72e77b324379252c22c196888edfae7f84 SHA512 e88c7618cad60a775c07ac26aedf05b7ce7ab3c9f012f3e638031b3567227db237ee2e1238fa051f9f415388a5d7c131af02b8200e08c01a9078654ea5877ce8 WHIRLPOOL 4114a1f22071f7c0166f83e086f384985a7e9d49689a10ef762933902a369c2880f265a306fbe51f1f63edee111bd5258f8877ec3973b148399daf10be5b5f23
|
||||
EBUILD PEAR-XML_RSS-1.0.2.ebuild 378 SHA256 91d74fa0d2840f27f8a76651ac599903097654d9188d19ce50ab3c94e2b846c4 SHA512 b329585d420c367f0d52b6385a1604cff0e20e4fff21ddb04efa53264c896a29f5859e80fb84f648de0cad18c71c8253e7a36aa5ec2c6a727e9fdd34125e77a4 WHIRLPOOL 67b1ff521553da97dee83b52cb03b5ea0021b9afd0c0566d3a5c0d20d63874fc40172c27215f8c7d51bb35d73d1bafbe0198341bfb82ed0f7c5299b5cea50227
|
||||
EBUILD PEAR-XML_RSS-1.1.0_alpha1.ebuild 764 SHA256 1dee8cf4b6c9441f17fc494ebb11430010e31547a8c185b8f021158adf278ae1 SHA512 0d348a61772bffd81cdd29c29e95f9a77b057f7a1d54979cbed2002835d1b62e9eba18cff12245dc34114933452f5fe99587e5a702ba5fa41f109c6844aac232 WHIRLPOOL 44269e6a03dbe6f2c439bb62e9a7cf2d2dbb1fdd838ac0aefee6b04b04761bfebbc8a2b962b2851681a82f6dd7f4bba4c57c9884cdca8d28ae2ba81696f2b3bc
|
||||
MISC ChangeLog 2441 SHA256 ae774e105023595be5b9195e2a00bfcd1c2667603b6e052190db792483605e75 SHA512 377645d95c783d5f828dd3ac5f5beb7e4dec9e8aa0719d3b386578cdf50dfc872d30200ba8d307b6dc6abfbb0e0a73e2cb153546542f8338efd6ba316bba4ba5 WHIRLPOOL 805650b1824f011a81313be72fc823b534e843cffd74ab6b6e04222eaa09525e5e6f8fe302a49e025a4324fa77c5c11dd31819ed317caeb455cb49d0ad4885f9
|
||||
MISC ChangeLog-2015 6418 SHA256 e4c532f42b5f43f335e681ccdbc185e8390066e611d75173727cb0c467058715 SHA512 a38fdea8633b012c66c48bead85e7a2caf8a4e8f43b4d02e8952a30be6f5d9b42da71c38bc02ea5d57911e00af47ca1a18ca6f3cbe62d6ee1148cc4b8ad90093 WHIRLPOOL a7401137d451ace67db308c2624ea00a7132352bda9b1c774e98895d7be0c7b9b533ff8b03ea65e2ab7c54dd661bdc38435c259fc7dbe976000aa3fc7055d25f
|
||||
MISC metadata.xml 235 SHA256 b248157b2feece4fbe51f91e87ab0c0249a13655e50e070080763a2a6556606f SHA512 0b3e95bbf68eddf74289dad50f8828cffce2d904ff6f9bd5468177de979677cac11da84d1e0302c52b72085915b9d1b3496107172e5726520d51dad1981daf64 WHIRLPOOL d9032f2fa2b465d0658cb19728a50849c3ca8e021574651e7aa69a9f949f186bb43812034fffda1273cfa8fbbec663ee5f08fd30db366b96ab6945b7ed4291e0
|
||||
MISC metadata.xml 326 SHA256 4a53f3d8310c46587f7d7fc0290d55809f5b7693b379ca030532e6d8e55537aa SHA512 a12ff4fc43dbae3823917570bec08e450bfee6475365dfb5ca0da52f1fd7419fcbc0bbf7627e658d5837cffa5fa77d5c65c4769d97ec3f69a76b1c831da9798e WHIRLPOOL eae1034d121bb24acf0ff8bf26ca300b5dcf54269f6189ce83b5b32356ae8d5f76d357d613b5367c2202033edffcfbeec389d827921b995c0106a23ee6fa0fd8
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="${PN/PEAR-/}"
|
||||
MY_PV="${PV/_/}"
|
||||
MY_PV="${MY_PV/alpha/a}"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="PHP parser for RDF and RSS documents"
|
||||
HOMEPAGE="http://pear.php.net/package/${MY_PN}"
|
||||
SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
# Only needs PEAR_Exception (not in the tree), not all of PEAR.
|
||||
# This can be made into an || dependency if we add PEAR_Exception.
|
||||
RDEPEND="dev-lang/php:*
|
||||
dev-php/PEAR-PEAR
|
||||
dev-php/PEAR-XML_Parser"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php
|
||||
doins -r XML
|
||||
}
|
@ -1,8 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
<name>PHP</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
<name>PHP</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">pear/XML_RSS</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,7 +1,7 @@
|
||||
DIST ansicolor-0.2.1.tar.gz 5678 SHA256 f5a5e105cf2457112df3cb2fe0200803129fa5dde86395a680e95b0e951b3956 SHA512 334b90eaf3f21469062ff4f70043fa902c1cfd53e7d73d22e4df63dbeb55db1f33d71b5a88ef6ba4481a9144ee7652ea68d9554f5155e129f462872d064430b5 WHIRLPOOL 38b24fc0880ace1d632e932fcfd3fbe805e7139f40410709477c17659839ca8b0cf909e0ef7f594ec9bde7b51ae3016486b4931d63b50cc9b63e28e2012636e7
|
||||
DIST ansicolor-0.2.4.tar.gz 5971 SHA256 30f889b330f611271e97d850fd09d911d5389deec8b6cfa1f6c576034e9a937e SHA512 1f20955a5ddf6a2125146fab220884b3dace2faef5b06c637c396b1769ad60e69ef7ae8a4ae3ecd49d0b849efdbd388b611eb738dc7c1b7f19027afc3f30e57c WHIRLPOOL 83ee2de115d02f38bf45a12cf0b3b9930516fd189b7947d4c1d05ae71d1e406feab4ff003f495a14d4e17a9e7f3c18f60b8271d47df6a007731861ddbe0aafc4
|
||||
EBUILD ansicolor-0.2.1.ebuild 522 SHA256 779abcefe17582808ee6dc6664e18b6c35139d49dbe22ffa924a6d10ad96c703 SHA512 575ef6d228c1164385fce277fc4f27e853ec2cc58d5faad6a5d24b4c38f5e7c8decd693fc401420d638cd7ee3a5780f3356a1fbff9974d55160735c80aa3ec32 WHIRLPOOL 90618a13ea6ffd28003c3b360537db02b20b86e733e1364adf27a5ea45093f71a9943ea755b47b431edc10ef9f4666c1e0172e9a982d1f696ff6bea8684e5a7c
|
||||
EBUILD ansicolor-0.2.4.ebuild 530 SHA256 b5dca4f635ff89be97541855af7efc5322f8903c008bbc27bb4271ab72eea595 SHA512 9ea917ec82aaddeefd0c6bfeb20daf00ffead70d5ef4bca8275a8abb30b8cb0e3c66689c9ca74f6426944ebac681300902ec419b3551bb18670442130d060df2 WHIRLPOOL 8b081bb47459ca701f10a488a55c79615645b8112a50269e09cd434d2fa85d5152e4270babed26bce0b20611d06869acf38b4d8cae7e6c21c345e8e982baf6c2
|
||||
EBUILD ansicolor-0.2.1.ebuild 572 SHA256 f34bec3c6857d53029dbe933c71f32c5955b6ee142306006d8d8990fb4cc3b1a SHA512 31bd365582f61021d31474e44a64442800c1addf8f12a6b913ae5ad1b9cca2dc32922305f6d0d4ad0cdc326af7360320bf37ef60e3b24575de2e0b153b9a6dfd WHIRLPOOL a93ab9a8d4408fee252bc466987995c545034ac28c0b928bd860a9c4f7cf6aa86f6fb8d50852d24b8cf5d1ea63520e0501a38d82a1a4695c209a53b7c22ab4bf
|
||||
EBUILD ansicolor-0.2.4.ebuild 580 SHA256 3c311eca3ab8c640dc1951d99f424206cde5472b504e9746d7363d94de99fb6e SHA512 2fce044bdfaa3564210e6eb36e761febeb0e49127862f851c53f78443a5b8420d86b7b47045ff3d2fe3eae08e6df3954f5a95097f8140dd1433dd36dbab65a39 WHIRLPOOL 23132e80154a0dcf0ec4b7af7bf3674acbf113112e44ef10fb8bcfedc49b3c41ee7c19df611c4daa8680ada6b5b8930b4030265f2be390feeb230ee88c5b667d
|
||||
MISC ChangeLog 2787 SHA256 8213df997e3384a12e33ce57bdb64c1f4950202413964105c123d5a4ecef6059 SHA512 d2f4c023b3db25ed4435d20dea978feb00305e7a15e408dc837b10375d02a47fe7b63cf3e458533478e465472f840e503a244aef76818cf036574ed7be7fb614 WHIRLPOOL d64e4ee8c4cc914c20693d75b18fb01be77c6e5ca852e955c0564095c9e59825deca938cd03f3083321a3fe34fbe634d095d441152d90948906b7a01cf9359c8
|
||||
MISC ChangeLog-2015 1137 SHA256 0994cd825fa4337af8004626f31b869bae5138b5a06419c651694ddac1543170 SHA512 c0b1131d54ce02c66b5dcdbc845137a3d2a9a995b1bb4b9c393c0c9cb34b14212d64298ccd00191de0d5c89bd90a60bf8de9091b3678f1cce5507abd91673d39 WHIRLPOOL 7b4ef86203d0a191cde56b6e3135d2da86432528a1d25e5b5ceb4f90e463b62c9b2b9efc4fdbfa06c4fd3513990273c2b1350abc8ac06a6975db48e6e3c29494
|
||||
MISC metadata.xml 383 SHA256 5c6003a188ffdc4ff4088caf9429321ba075dbeba69228832650af48d0081ef3 SHA512 5253cd94479f0e26e5c59ee796789da6c044bac7b1a9671ad0b6557d21d3fae9b7643a9ed77bd6b119142e63c55de3cd12feb8463e580cb404268808f71f593a WHIRLPOOL 854ebd57793d34ce7345461fedb75b2c1c6a1d2f4089995f5e6251f457f7b898e45798105e2c386e51308f29f706708bd84425f8389f2c674796c5b6bd6b2755
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST imagesize-0.7.1.tar.gz 2871 SHA256 0ab2c62b87987e3252f89d30b7cedbec12a01af9274af9ffa48108f2c13c6062 SHA512 61ff92167cc90bb1dcc78bb358419a526f09dc567709548bbe399694aa15dab63744f56c67bf33a940f5f443fd3a5ddc08ef9e17799b6fede1b11c0ad6a17f75 WHIRLPOOL 9bf14680e5e1ad2f4d1a6c6c0e1d6cba973bdd4f5b1bb97b09a8b8e4d25faed268439da908e710f656071c17285a4fbd97d2e8c13b2d77565b8a76ac65f32e25
|
||||
EBUILD imagesize-0.7.1.ebuild 526 SHA256 8d1342a7b275f54228a0f902e539db14c089b818f173ca0867b05338eb4473cb SHA512 215a1b76195b6b4dbb52de38eae65fac3fd9b0e4a310825201eb997c5ec32d3bfb8c5b1b8918507a1a70b27e8d2d8ad1ef216c7540990b9f5559b904fd2350ea WHIRLPOOL fa943ff0cac611d6aac591f11fa428b58d0b94896157b5c4409a4b3b6e76693248d27c979826b4d7277c6c7d9924afc8f0755e9f824c0dfb498c4978cb724dd8
|
||||
EBUILD imagesize-0.7.1.ebuild 541 SHA256 60adb06e2369333f8d36900a96e28e79da623ee48a6f2baac89fb65035b1fd8b SHA512 82968d42ea3eaf3d6d636c86456b374b1f1d1af41d102afd686e3fb519f9897dd6c220ca4d3ed235b7ba73df08ac26c2b73d113d60e483b37b0a8880e0e26fc3 WHIRLPOOL 5da8c2cdf95e199f1e21d7b6a11135e0effffe3b8864a321cbe3f3e498de3e4eff0d2f5f3e845104d1781626182c8b0abccc48fe212e33a26fa2afcd42e980fd
|
||||
MISC ChangeLog 470 SHA256 4349f207a11468febaff238232db0d06c7c0881cee03f25c51e0f6eb708e67ae SHA512 e7fcdc54ea3727bac97a42f2938cad371b4d3fa493176c60663469bbabb7e7bd9ecf1e01b1ff88f1e9172ea44806b2761a78141eeb5fa8f854251938967b6ad9 WHIRLPOOL e892c1b5f6887a0b854b1ae900b506572f9695b2515084e11c9e0217d77ee2748846a1376e61b53e5945533cf5fc592cb5ea1e96d8390662d53293c85ca02d2d
|
||||
MISC metadata.xml 222 SHA256 901c44d7364b348d4046acc87d273475107344a4f228eb4762f6dcf86120b822 SHA512 b9b20f913c2b6bc8ec843d5d46a97ca2d847ccadd4dcadf7b68a60535e44b721541c72cc74b17c55fe21161a1dcfbc86a3d08e58659a8c431b574729fe87607d WHIRLPOOL d863cf585797b37f844ffed1e3b5e5d92e9db50bacfbadc70ac64ede8f780bcc3cf0dfe18aa25fb0b1fa45fb0a19869cd8a45b646cfcf69ccf509080c80e7752
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Provides access to the system keyring service"
|
||||
HOMEPAGE="https://github.com/jaraco/keyring"
|
||||
SRC_URI="mirror://pypi/k/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="PSF-2"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
|
||||
dev-python/secretstorage[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-runner[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die "testsuite failed under ${EPYTHON}"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
DIST ldappool-1.0.tar.gz 6795 SHA256 1fc36c617ffa6195a738ca99ae7f2178271ebe30a5ee6d41abdb49168afb75aa SHA512 081dc08833d95bb0d3ce396cbbe697252e2b483cc3703e87f00f8af0513f9fdca4ff9c97295fb439ff1fcd404027d5922c2a6337665cfad526be3c6b83acfa53 WHIRLPOOL e5cb9b61848cb3fa7314eeeb25fd9bed89ec7e4dca50eb501f80f952ca3aab78017962c85359efbe6d741ec9b38450d78a06a287aee8e7e935db391c3856a68a
|
||||
DIST ldappool-2.0.0.tar.gz 15089 SHA256 2850274c16b3108fae9f0ce2bc327e7712f78578677c08336225b75edeb1c5f1 SHA512 824243cca712d6aef8929c74cb15f0cefbc8795cdb599d3b0cc48e8eee4a58d3db94a6642379f87ba011784c289f936a62f2aed637bb005985bbee2118d3b6ea WHIRLPOOL 9a54e41a9ff5c5236b9fcf16f61d11bd121c49f9122866c00fc82fc2e6fa2c72d4c45386f613b14ea2d20c58bd40750a90ad3c5384c8d8df6d665c7b7ccb07e0
|
||||
EBUILD ldappool-1.0.ebuild 478 SHA256 0f14ea683b9360a63d28425d272f26a0dc04cfd5ff471f1f85b6d4e6f3a26f84 SHA512 040c2e18f408e8b13fd48f283f153a5a261f9b0a0bb7963466971d28da9997a86b3830d7621544cc9023a7f9c488b2fa7fee4ebfcd8457c0fb62afb4eb854634 WHIRLPOOL 76341834a55982502ef5f56380bf17311d5041b9e1fe6931e85dc0c3238003dd4f32fc560f61c7594cbb92d7a3424b7492ff1988e5da7de3efb0d7efa2ce2a84
|
||||
EBUILD ldappool-2.0.0.ebuild 506 SHA256 55ff414369760b8a3e218d7ac984f961088acdc8e666f790491cfa64c26d818e SHA512 1b3b1b7fa19d26cfec8bbc2f26a83e385b6112dc9144e4b82f6bbc9648fe4a66c9ef408cea7f47e28caacca57b3779ce4be102cf505564eb6a0662876bdbca15 WHIRLPOOL c3a85be766c5ca80fa2a5aef271075308a3f25820e35d34a328f2008b254b357fb7c1880bed47ea2b3b1d317343d0e6477dcae99457ef9197a51831f32f98066
|
||||
EBUILD ldappool-2.0.0.ebuild 546 SHA256 e4ecc6d58f35cb239e51528a886034daf04aff50132694544241978c86e36eac SHA512 e8e9e2a81f79ecb7a048608e67cb8410e8c781906164d99070589778121d7647ac416050a1b7d0867753a1e650d278b77d9c26582a4005a7d17ad54cf08c7453 WHIRLPOOL 0c423c257520d04f27dcb80aaddc55dde6585180aa7da4a23917047fef343d107afea07b335da7d7bb44ecf2b035470545f13218d585e0334ada3bde90b1d73c
|
||||
MISC ChangeLog 2963 SHA256 83c2ffc94a7d03612f35750792f582a5d6f46e0dad18737d813c9e7e5f0b0a3c SHA512 a7a9a4d74ee58ee163de083f5332761629c27f1c0e471f26f0b0f9a73e3a85773c314ab4735b2ea1ad02b5264c2767db660557c4f58c206a0e946251d9fb5159 WHIRLPOOL cf2af75675e8e5a451e8043c8d670a7ff5ee4d84e23f31930edce8f30c14db8d082e24eb042a6a195e9b073acef207b497b08b7541997c321839ef48bb2e9cb3
|
||||
MISC ChangeLog-2015 768 SHA256 53d9e27357bace37c38e9d2cd075b57a0e7720dc39d952cc53d91fce02568797 SHA512 79e6ed39fb1f19f14f605730b67ba3734b79aa371f9f07b522e37a1d6e7063c175a9f8bfada3bcae57e3f05676d274de69baea1d129c66344c8f683f64674ab0 WHIRLPOOL 602d4588ef121f120ccbb1ac2103d96e693a699d1861ef4f62ffa8140d111a19307dac8ba062cef6fb044e71c79454a05ede8bf19287dfdda824896bdc42b360
|
||||
MISC metadata.xml 570 SHA256 a184d634feca3562dadfbc00562031a43795473a47edf144548bbb6d83bafb96 SHA512 c8ca27a9ee07cc0af330a7c6fc0906346c8de23644a5df9b6846cd6246370c9ac05a6c49eb748cd4c4f21698a317beb19184f1753325592408c2f4b6b73d8f59 WHIRLPOOL 8ebc7661172d6009e8f121ebce6a2376002d8d7ec1c1f74b1bcf823659bb2953c417f43e0adac487b846234ee0f1ce9a4b0cc7db3ab19d8c687470223defb816
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mesonbuild/meson"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Open source build system"
|
||||
HOMEPAGE="http://mesonbuild.com/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=dev-util/ninja-1.6.0
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( authors.txt contributing.txt )
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mesonbuild/meson"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Open source build system"
|
||||
HOMEPAGE="http://mesonbuild.com/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=dev-util/ninja-1.6.0
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( authors.txt contributing.txt )
|
@ -0,0 +1,3 @@
|
||||
DIST vint-0.3.11.tar.gz 90545 SHA256 33fc2178b9244d3058669984735a3e20f82fd0e927b31387fc910336614d671f SHA512 4e85192c9489fc1f4345d5d1e8e351182d73583d051705bc6655a054511764721ac334135dbeb6d4ba98af1e1c698e852fff720d01e323b279d4157997769c9a WHIRLPOOL cd6f2d69aa8401bd44a6dbe025fa084d1f12620da931fb91b4fbf22d0d02392cf9b0398f44210a623e135ac6571756b6ec8d1e573be1abfbc5996077431a93a7
|
||||
EBUILD vint-0.3.11.ebuild 1053 SHA256 948842b12c507483e930bf7c8a91dfe87594f4285c5241543b75130384f68504 SHA512 67353a0885138bc790949910358cf175a9d5ac308c87874c05adfd110adfdf39a588cdd3fe0da84306f266bea4fd5d136432f0a0e16b9a11bd21ac8f76a26f81 WHIRLPOOL 30b1ab66227a7b2f3ee99b632a2536d9f148863d4ca520990b26d17de261245510c9c5deae04938abcbad0feb3df02ff33f1fd0d9f3c8089457a4da7a0a3e75a
|
||||
MISC metadata.xml 489 SHA256 d59b0da66afc749f3b3f1ae709036ce2020d15f3c2ce487267c33f58689ae579 SHA512 c2994b902b3d54f86eb7b23d015b9fd0aed9f215157af5b025a6a68d6e2f27eeb9aaeafbf1909ca566a3d38600e4c7088bf689fe92567a509b4f20cd4afb8fa5 WHIRLPOOL 8a3863753efa8274c8485dd2d4a7a57ac7de6c75e4e399fb70555035d01fa2f608bb3bc26c71ac895a3ba61a7cee3dcffd4a85e9796948544a59d54a70272024
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>itumaykin+gentoo@gmail.com</email>
|
||||
<name>Coacher</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Kuniwak/vint</remote-id>
|
||||
<remote-id type="pypi">vim-vint</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,39 @@
|
||||
# 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} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Lint tool for Vim script language"
|
||||
HOMEPAGE="https://github.com/Kuniwak/vint https://pypi.python.org/pypi/vim-vint/"
|
||||
SRC_URI="https://github.com/Kuniwak/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/ansicolor-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/chardet-2.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.11[${PYTHON_USEDEP}]
|
||||
virtual/python-enum34[${PYTHON_USEDEP}]
|
||||
virtual/python-pathlib[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/coverage-3.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.6.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-cov-1.8.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' python2_7)
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Test suite failed with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# @ECLASS: kodi-addon.eclass
|
||||
# @MAINTAINER:
|
||||
# candrews@integralblue.com
|
||||
# @BLURB: Helper for correct building and (importantly) installing Kodi addon packages.
|
||||
# @DESCRIPTION:
|
||||
# Provides a src_configure function for correct CMake configuration
|
||||
|
||||
inherit multilib cmake-utils
|
||||
|
||||
case "${EAPI:-0}" in
|
||||
4|5|6)
|
||||
EXPORT_FUNCTIONS src_configure
|
||||
;;
|
||||
*) die "EAPI=${EAPI} is not supported" ;;
|
||||
esac
|
||||
|
||||
# @FUNCTION: kodi-addon_src_configure
|
||||
# @DESCRIPTION:
|
||||
# Configure handling for Kodi addons
|
||||
kodi-addon_src_configure() {
|
||||
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_INSTALL_LIBDIR=$(get_libdir)/kodi
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
From 18917f7fd3160afe06019f4b6234aeb78a3fdb4e Mon Sep 17 00:00:00 2001
|
||||
From: Ross Burton <ross.burton@intel.com>
|
||||
Date: Tue, 19 Nov 2013 16:00:29 +0000
|
||||
Subject: [PATCH] configure: add option to enable/disable use of GTK+
|
||||
|
||||
Distro packagers like predictability and automatically detected optional
|
||||
dependencies are not predicable. Add a --with-gtk3 option (default to "auto")
|
||||
for forcibly controlling whether GTK+ will be used or not.
|
||||
|
||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=712693
|
||||
---
|
||||
configure.in | 17 +++++++++++------
|
||||
1 file changed, 11 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index f7a89dc..1498f72 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -119,17 +119,22 @@ AC_CHECK_FUNCS(strtok_r)
|
||||
# GTK
|
||||
# ===========================================================================
|
||||
|
||||
-PKG_CHECK_MODULES([GTK3],[gtk+-3.0 >= $GTK3_REQUIRED],[have_gtk_3=yes],[have_gtk_3=no])
|
||||
-
|
||||
GTK3_BINARY_VERSION=
|
||||
|
||||
-if test "$have_gtk_3" = "yes"; then
|
||||
- GTK3_BINARY_VERSION="`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0`"
|
||||
+AC_MSG_CHECKING([whether to use GTK+ 3])
|
||||
+AC_ARG_WITH([gtk3],
|
||||
+ [AS_HELP_STRING([--without-gtk3],[Don't build GTK+3 tools (default=auto)])],
|
||||
+ [],[PKG_CHECK_EXISTS([gtk+-3.0 >= $GTK3_REQUIRED],[with_gtk3=yes],[with_gtk3=no])])
|
||||
+AC_MSG_RESULT([$with_gtk3])
|
||||
+
|
||||
+if test "$with_gtk3" = "yes"; then
|
||||
+ PKG_CHECK_MODULES(GTK3, [gtk+-3.0 >= $GTK3_REQUIRED])
|
||||
+ GTK3_BINARY_VERSION="`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0`"
|
||||
fi
|
||||
|
||||
AC_SUBST([GTK3_BINARY_VERSION])
|
||||
|
||||
-AM_CONDITIONAL([HAVE_GTK_3],[test "$have_gtk_3" = "yes"])
|
||||
+AM_CONDITIONAL([HAVE_GTK_3],[test "$with_gtk3" = "yes"])
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl GDK-Pixbuf SVG loader
|
||||
@@ -305,6 +310,6 @@ librsvg-$VERSION
|
||||
Build introspectable bindings: ${found_introspection}
|
||||
Build Vala bindings: ${enable_vala}
|
||||
Build GdkPixbuf loader: ${enable_pixbuf_loader}
|
||||
- GTK+ $GTK3_REQUIRED or later: ${have_gtk_3}
|
||||
+ GTK 3.0: ${with_gtk3}
|
||||
Build miscellaenous tools: ${build_misc_tools}
|
||||
"
|
||||
--
|
||||
1.7.10.4
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit autotools gnome2 multilib-minimal vala
|
||||
|
||||
DESCRIPTION="Scalable Vector Graphics (SVG) rendering library"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/LibRsvg"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="+introspection vala tools"
|
||||
REQUIRED_USE="
|
||||
vala? ( introspection )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/cairo-1.12.14-r4[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libcroco-0.6.8-r1[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/gdk-pixbuf-2.30.7:2[introspection?,${MULTILIB_USEDEP}]
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.10.8:= )
|
||||
tools? ( >=x11-libs/gtk+-3.10.0:3 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/gobject-introspection-common
|
||||
dev-libs/vala-common
|
||||
>=dev-util/gtk-doc-am-1.13
|
||||
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
# >=gtk-doc-am-1.13, gobject-introspection-common, vala-common needed by eautoreconf
|
||||
|
||||
src_prepare() {
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=653323
|
||||
epatch "${FILESDIR}/${PN}-2.40.10-gtk-optional.patch"
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=731826
|
||||
epatch "${FILESDIR}/${PN}-2.40.2-vala-out-of-source.patch"
|
||||
|
||||
eautoreconf
|
||||
|
||||
use vala && vala_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# -Bsymbolic is not supported by the Darwin toolchain
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
myconf+=( --disable-Bsymbolic )
|
||||
fi
|
||||
|
||||
# --disable-tools even when USE=tools; the tools/ subdirectory is useful
|
||||
# only for librsvg developers
|
||||
ECONF_SOURCE=${S} \
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
--disable-tools \
|
||||
$(multilib_native_use_enable introspection) \
|
||||
$(multilib_native_use_with tools gtk3) \
|
||||
$(multilib_native_use_enable vala) \
|
||||
--enable-pixbuf-loader \
|
||||
"${myconf[@]}"
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
ln -s "${S}"/doc/html doc/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# causes segfault if set, see bug #411765
|
||||
unset __GL_NO_DSO_FINALIZER
|
||||
gnome2_src_compile
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
gnome2_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# causes segfault if set, see bug 375615
|
||||
unset __GL_NO_DSO_FINALIZER
|
||||
multilib_foreach_abi gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# causes segfault if set, see bug 375615
|
||||
unset __GL_NO_DSO_FINALIZER
|
||||
multilib_foreach_abi gnome2_pkg_postrm
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
AUX kpythonpluginfactorywrapper.c-r2 1507 SHA256 f60964ebd697f60465420afe8534a67adeac1c593992f3ce43e71c7ef7531103 SHA512 8acd5541c70af5f54f07e17876ffbcb130d8cb11563dec58e15bcea3416613b8529cf3e201759ae1dffa2cc28d6544d8ba0def7fd77ca413a6dd4a148a1673c2 WHIRLPOOL c84a85005953a1f53f1d8e23947b1e02773cc3526ca3a6603f078e4e8a829c029c000c78bdcaae5c8b53be8df3b7a09c773badf468e6ef25461d22ad2804082e
|
||||
AUX pykde4-4.14.0-arm-sip.patch 656 SHA256 625d9bb89212243d7c4e0d83464bd30f3f941789e01f0c04d5f799ef7afdfc41 SHA512 7c77099f6e96d80a730aca18dbfbdc4c722b8cb45f7193087e035f1fe12d83716209d09fb84e25dfa97fc54ad1957e514cf829f41ed173d95f4dd68d3ebbe62a WHIRLPOOL 5c76d96a07d0e87a56fbb253236ba9f6774148fc8e12ec0452c9487535aa2172811f426eecdc7bd3abf63a85f8e67609e234911ccfeea56412b80b7267ce8b6d
|
||||
AUX pykde4-4.14.3-gcc-5.patch 1133 SHA256 94826ee06aea13bb8755d95032a642ffa5cfb0e570f227d83886dd958e1d2617 SHA512 88689c9bee86b7f3025a0a14ab5fb58e667d2d0246cb86645dbe2c9547a727ad57b72a8d3373f66be1caf0a1e97d26b1991ec636b6c889fcf28b47aabc4fdc7b WHIRLPOOL 37ef26a486cb586660147e43065630711122eef9c26511c7b45a5ba8035c0ba7b294f121a95bf5cc75cd707c4ec503ef89b692762c712d613ee0f8936a3dfef5
|
||||
DIST pykde4-4.14.3-sip419.patch.bz2 3089 SHA256 458a92483f85462a302b5563b2c0d2fcdcd2c5f6d6a1e9b259fc7b87d3bedd66 SHA512 7355f662abdb9981731fc4e0f475fae37ba4887f91493d2d2b69685e2dbfe0a4873d9bf75c53039f1870432a9410d691d888f8c6b7161b2e3e7d92dd37664c76 WHIRLPOOL 2643adf09214916225f726d90ac6f9e4db02618c10011a2bdd6230f9baeb4016736e962e7649e3c29bbc52bb14282aa531545f7b5e1d779660efbf11f9a2c9c3
|
||||
DIST pykde4-4.14.3.tar.xz 2006504 SHA256 7fb9d7b5ed03d531243ebd67939baf30933452dafbdfca866e6653e9a77d80fc SHA512 42430f83bf41dc5d7511369250ff480fd7b90954b4ace8dbda2d6151ee3f3c979fe3d9b0163cda76df52107e982d4ac518fa1c28bc1d711d97f2d8739eaff1f3 WHIRLPOOL 5df847617a220ef9e1330f3c970bb6f785e713ebbed8a04ef4a3c9d1470d1b4a2032177f59df4d4baf89a0975b8c02f63f133747588cb65a3fa5d849e51b4d4d
|
||||
EBUILD pykde4-4.14.3-r1.ebuild 4236 SHA256 d76a4edc0389f7bd11fc96d0f95c26f3a95d6b121886e7c2025447538ac0b4fe SHA512 06c780b3f3144b8696bfab94f66bc7cda9f0ebdb9287671375123e4d523e9bd962abb4a7f184e57e5a83fb9c1685619692c0e8854a92c5a756bc3568c7e7639d WHIRLPOOL 9d0242b37ddbfae29e7366900cf30015a64c60e2d94442c561a67ac8577513f19956381df30b3b2415bdb81d436e0f93c6131e815afda83d017700304605b6ee
|
||||
EBUILD pykde4-4.14.3-r1.ebuild 4230 SHA256 50de694ee0fb088ed7fdf22998e5e8fdd7e54152aa266c55f7df8353ef6aacc5 SHA512 cabd5644a03c70d535c7cd0d5526985feb015cdd0b1c18315acc8e8496894d5f4a68b566731f725d5348a381d068f3b87f4e5791405c54b2140cf7e8bd6eda94 WHIRLPOOL 3a5a8a1c8337870b72544edb4d09ce2672d251eb7fd80429deedfb84c309d97e264e9d497d96d193a9c9455e36bfa2ce236620df1b6e1ed75272aa0ca715f25b
|
||||
EBUILD pykde4-4.14.3-r2.ebuild 4349 SHA256 6d98229d4ab326bea7f82c4243256f56c81704f1bfdad268bd261fc935ab1084 SHA512 1c5048da447266fc969d161a258d3d72e866dc2006af6a056841b610efdae9a1b1a82bca12ddd708f3ea5427bb97bd422f4c301853cd634df253b057b52e9b44 WHIRLPOOL 8115d548646efa46738097f83fa4486c84b4a0ed4b618c005e4bb640bfde163114838bf26ba65d87564bd63a9e97f5b4ec52fc53c7090a6ff47e72b6a5404c4c
|
||||
MISC metadata.xml 323 SHA256 91cbcf4aacbb6d2568db6de0105d4a4c5dee346263751f167045efda18acd4bf SHA512 a4b6d3412fbab01df60d8b937e91665d5ee93680885bc1c3f4cf3d64b78074eb6ac9e7e14e4c48b5c5a205c61d742aa0fb930dcb1175c1f6efd923235ca23485 WHIRLPOOL 0cf38ddb4a539d3864c518efe8a231e1c770eb55a75487c535ebaea0581fc449e56a88fa60a923bf4ac7c2bf693b04e287702125a1752b0913cfd02525208c93
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue