parent
c0facc49dc
commit
5dc7f7b2f1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST znotes-0.4.5.tar.gz 171884 BLAKE2B 9be5fd21b5040f5cdf98694a97c04f9f8e22e4603c77f5b70856bb3b31991a1bcc79c7017e4fc7c8cace0966fb6103e0f0c900c94d0f32107648f6b114d115a2 SHA512 a7d9c149bbe80b83eff75eeec9644f9e648911c9cc5d6c83507b2d82199b7a2d1148665d6b650eb022dab1b34bbab96d52a0c27ac04525c30e4840049565e240
|
@ -1,24 +0,0 @@
|
||||
From 9cb09430444e36415e887317525a24e542e135fb Mon Sep 17 00:00:00 2001
|
||||
From: Michael Palimaka <kensington@gentoo.org>
|
||||
Date: Fri, 31 Aug 2012 02:15:30 +1000
|
||||
Subject: [PATCH] Fix build with GCC 4.7.
|
||||
|
||||
---
|
||||
single_inst/qtlocalpeer.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/single_inst/qtlocalpeer.cpp b/single_inst/qtlocalpeer.cpp
|
||||
index 6d7c24f..f9663c9 100644
|
||||
--- a/single_inst/qtlocalpeer.cpp
|
||||
+++ b/single_inst/qtlocalpeer.cpp
|
||||
@@ -50,6 +50,7 @@ static PProcessIdToSessionId pProcessIdToSessionId = 0;
|
||||
#endif
|
||||
#if defined(Q_OS_UNIX)
|
||||
#include <time.h>
|
||||
+#include <unistd.h>
|
||||
#endif
|
||||
|
||||
namespace QtLP_Private {
|
||||
--
|
||||
1.7.12
|
||||
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>qt@gentoo.org</email>
|
||||
<name>Gentoo Qt Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">znotes</remote-id>
|
||||
<remote-id type="github">proton/zNotes</remote-id>
|
||||
<bugs-to>https://github.com/proton/zNotes/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
inherit qmake-utils qt4-r2
|
||||
|
||||
DESCRIPTION="Simple Notes"
|
||||
HOMEPAGE="http://znotes.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS="CHANGELOG THANKS"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-gcc-4.7.patch" )
|
||||
|
||||
src_configure() {
|
||||
"$(qt4_get_bindir)"/lrelease znotes.pro || die "lrelease failed"
|
||||
qt4-r2_src_configure
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
|
||||
inherit autotools ltprune python-any-r1 readme.gentoo-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="SPICE server"
|
||||
HOMEPAGE="https://www.spice-space.org/"
|
||||
SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="libressl lz4 sasl smartcard static-libs gstreamer"
|
||||
|
||||
# the libspice-server only uses the headers of libcacard
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.22:2[static-libs(+)?]
|
||||
>=media-libs/celt-0.5.1.1:0.5.1[static-libs(+)?]
|
||||
media-libs/opus[static-libs(+)?]
|
||||
sys-libs/zlib[static-libs(+)?]
|
||||
virtual/jpeg:0=[static-libs(+)?]
|
||||
>=x11-libs/pixman-0.17.7[static-libs(+)?]
|
||||
!libressl? ( dev-libs/openssl:0=[static-libs(+)?] )
|
||||
libressl? ( dev-libs/libressl:0=[static-libs(+)?] )
|
||||
lz4? ( app-arch/lz4:0=[static-libs(+)?] )
|
||||
smartcard? ( >=app-emulation/libcacard-0.1.2 )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)?] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
>=app-emulation/spice-protocol-0.12.12
|
||||
virtual/pkgconfig
|
||||
$(python_gen_any_dep '
|
||||
>=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
')
|
||||
smartcard? ( app-emulation/qemu[smartcard] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.13.3-skip_faulty_lz4_check.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
|
||||
has_version "dev-python/six[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Prevent sandbox violations, bug #586560
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=744134
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=744135
|
||||
addpredict /dev
|
||||
|
||||
xdg_environment_reset
|
||||
|
||||
local myconf="
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable lz4)
|
||||
$(use_with sasl)
|
||||
$(use_enable smartcard)
|
||||
--enable-gstreamer=$(usex gstreamer "1.0" "no")
|
||||
--enable-celt051
|
||||
--disable-gui
|
||||
"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Prevent sandbox violations, bug #586560
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=744134
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=744135
|
||||
addpredict /dev
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || prune_libtool_files
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST vice-2.4.22.tar.gz 25180343 BLAKE2B 9c48539b0ec1604a196211819c43c7cdba970cee404b64fbaa1957bb8167ae9f7f108ba0f54ef0ef82314331694dfc5f6bca0d569ee940d6531ed49cd7bb2ffa SHA512 b43e609ae2f43717d10e079d3b8ac284e5c4920ed222c7502e9a7b75dfe32784628031ae6cf8672c8d9d50576fb714cecdd1a9292bf53477f4bbd52c10403975
|
||||
DIST vice-2.4.27.tar.gz 25561665 BLAKE2B 36e8460ef1e4aed9f83caf2b46924766d6830368c947ddfee68ecf992685f950db9e433238b61c34691dadb719ede4e9c5cc7104279e06140e347b04eb8a97a3 SHA512 589b9892f3180db6f169e74b863171f08567045862f2f47cac73ef946e81d55dcde5373fc910cfd1659238669f12ee6ad934c7143c87fad736cda77479439bec
|
||||
DIST vice-2.4.31.tar.gz 25898329 BLAKE2B 113be451d322f21488f23711ce971ff7a83538d3dfd516138fec84f27e4933025bbba8cbbc627111aadad437ab7805491286760b4fe9db915307922d00dba27f SHA512 eebd25fb808b1837ea8d76b1399d3d7ed80a66ae206ea3e0d51fe0fb9df21f3bfeb3fbe353c1022e02754987116e33d4c6888e61448b3250ebefbbfe1b854e94
|
||||
DIST vice-3.1.tar.gz 30714226 BLAKE2B 75c2cce5294dad5b954cd23b623b6b4610c8142a09aef05dbefed6b3e6b268077d375e644dde6a057682d41ab9cf15e93a9f4a9359bfa0d1567d6d1862053a0e SHA512 bc02a3597a17dadb37c487e6942192c0e9dc1a7d4e440fbf0dc8a165dbb2dee60ddf157697a020d2780ddef56a0a67802768d5c6d117b9cf5cdc124de45bc579
|
||||
|
@ -0,0 +1,178 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="The Versatile Commodore 8-bit Emulator"
|
||||
HOMEPAGE="http://vice-emu.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame libav nls oss png pulseaudio sdl +sdlsound threads vte zlib"
|
||||
|
||||
# upstream says gtk3 and sdl2 shouldn't be exposed yet.
|
||||
#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
|
||||
REQUIRED_USE="?? ( gtk sdl )"
|
||||
|
||||
GTK_COMMON="
|
||||
x11-libs/pango
|
||||
x11-libs/cairo"
|
||||
# gtk3? (
|
||||
# x11-libs/gtk+:3
|
||||
# vte? ( x11-libs/vte:2.90 )
|
||||
# ${GTK_COMMON}
|
||||
# )
|
||||
RDEPEND="
|
||||
virtual/jpeg:0
|
||||
virtual/opengl
|
||||
media-libs/giflib
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
sdlsound? ( media-libs/libsdl[sound] )
|
||||
ethernet? (
|
||||
>=net-libs/libpcap-0.9.8
|
||||
>=net-libs/libnet-1.1.2.1:1.1
|
||||
)
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:= )
|
||||
!libav? ( media-video/ffmpeg:= )
|
||||
)
|
||||
lame? ( media-sound/lame )
|
||||
nls? ( virtual/libintl )
|
||||
png? ( media-libs/libpng:0= )
|
||||
zlib? ( sys-libs/zlib:= )
|
||||
sdl? (
|
||||
media-libs/libsdl[joystick,video]
|
||||
)
|
||||
!sdl? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
sys-libs/readline:0=
|
||||
fullscreen? (
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
!gtk? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libXv
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( x11-libs/libXaw )
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/gtkglext
|
||||
${GTK_COMMON}
|
||||
vte? ( x11-libs/vte:0 )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
x11-apps/bdftopcf
|
||||
x11-apps/mkfontdir
|
||||
x11-proto/xproto
|
||||
x11-proto/xextproto
|
||||
media-libs/fontconfig
|
||||
x11-proto/videoproto
|
||||
nls? ( sys-devel/gettext )
|
||||
!sdl? (
|
||||
fullscreen? (
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
!gtk? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
)
|
||||
)"
|
||||
|
||||
PATCH=(
|
||||
"${FILESDIR}"/${P}-autotools.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e 's/building//' \
|
||||
doc/Makefile.am || die
|
||||
sed -i \
|
||||
-e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
|
||||
doc/Makefile.am \
|
||||
doc/readmes/Makefile.am || die
|
||||
sed -i \
|
||||
-e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
|
||||
doc/html/Makefile.am || die
|
||||
sed -i \
|
||||
-e "s:/usr/local/lib/VICE:/usr/$(get_libdir)/${PN}:" \
|
||||
man/vice.1 \
|
||||
$(grep -rl --exclude="*texi" /usr/local/lib doc) || die
|
||||
sed -i \
|
||||
-e "/VICEDIR=/s:=.*:=\"/usr/$(get_libdir)/${PN}\";:" \
|
||||
configure.ac || die
|
||||
sed -i \
|
||||
-e "s:\(#define LIBDIR \).*:\1\"/usr/$(get_libdir)/${PN}\":" \
|
||||
-e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
|
||||
src/arch/unix/archdep.h \
|
||||
src/arch/sdl/archdep_unix.h || die
|
||||
rm -rf src/lib/{libffmpeg,liblame} || die
|
||||
sed -i \
|
||||
-e '/SUBDIRS/s/libffmpeg//;' \
|
||||
-e '/SUBDIRS/s/liblame//;' \
|
||||
src/lib/Makefile.am || die
|
||||
AT_NO_RECURSIVE=1 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local gui_arg=() snd_arg=()
|
||||
|
||||
snd_arg+=( $(use_with alsa) )
|
||||
snd_arg+=( $(use_with oss) )
|
||||
snd_arg+=( $(use_with pulseaudio pulse) )
|
||||
snd_arg+=( $(use_with sdlsound) )
|
||||
|
||||
gui_arg+=( $(use_enable sdl sdlui) )
|
||||
# The gtk UI code has raw calls to XOpenDisplay and
|
||||
# is missing -lX11 if vte doesn't pull it in.
|
||||
#if use gtk2 || use gtk3 ; then
|
||||
if use gtk ; then
|
||||
use vte || append-libs -lX11
|
||||
fi
|
||||
gui_arg+=( $(use_enable gtk gnomeui) )
|
||||
#gui_arg+=" $(use_enable gtk3 gnomeui3)"
|
||||
gui_arg+=( $(use_enable Xaw3d xaw3d) )
|
||||
|
||||
# --with-readline is forced to avoid using the embedded copy
|
||||
# don't try to actually run fc-cache (bug #280976)
|
||||
FCCACHE=/bin/true \
|
||||
PKG_CONFIG=$(tc-getPKG_CONFIG) \
|
||||
econf \
|
||||
--enable-parsid \
|
||||
--with-resid \
|
||||
--with-readline \
|
||||
--without-arts \
|
||||
--without-midas \
|
||||
$(use_enable ethernet) \
|
||||
$(use_enable ffmpeg) \
|
||||
$(use_enable ffmpeg external-ffmpeg) \
|
||||
$(use_enable fullscreen) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable lame) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable vte) \
|
||||
$(use_with png) \
|
||||
$(use_with threads uithreads) \
|
||||
$(use_with zlib) \
|
||||
"${gui_arg[@]}" \
|
||||
"${snd_arg[@]}" \
|
||||
--disable-option-checking
|
||||
# --disable-option-checking has to be last
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc FEEDBACK
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
WX_GTK_VER=3.0-gtk3
|
||||
|
||||
PLOCALES="an ar az be be@latin bg bs ca ckb co cs da de el en_GB es et eu fa fi fr ga gl he hr hu hy id is it ja ka kab kk ko lt lv ms nb nl oc pa pl pt_BR pt_PT ro ru sk sl sq sr sv tg th tr uk uz vi zh_CN zh_TW"
|
||||
|
||||
inherit gnome2-utils l10n wxwidgets xdg
|
||||
|
||||
DESCRIPTION="GUI gettext translations editor"
|
||||
HOMEPAGE="https://poedit.net"
|
||||
SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}-oss/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
app-text/gtkspell:3
|
||||
x11-libs/gtk+:3
|
||||
>=dev-cpp/lucene++-3.0.5
|
||||
dev-libs/boost:=[nls]
|
||||
dev-libs/icu:=
|
||||
>=x11-libs/wxGTK-3.0.3:${WX_GTK_VER}[X]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
my_rm_loc() {
|
||||
sed -i -e "/^POEDIT_LINGUAS = /s: ${1}::" locales/Makefile.in || die
|
||||
rm "locales/${1}.mo" || die
|
||||
}
|
||||
l10n_find_plocales_changes 'locales' '' '.mo'
|
||||
l10n_for_each_disabled_locale_do my_rm_loc
|
||||
|
||||
setup-wxwidgets
|
||||
xdg_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --without-cpprest --without-cld2
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_icon_cache_update
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST srm-1.2.11.tar.gz 124982 BLAKE2B 0de5a413071ef6f30c377d61326b12d9c3b89ddeb8bd761b1f30a63c147bec7b51389cb19e7dd1da869e53a3a713f3a71993363419ecef7423a69219671b9667 SHA512 4b9b80242242dc64dcf97e4180676a1dc8b64d43f144ad4278d6762716e5e1b77b4c794900c298a919be7bdf1af71dcaf7286d4fae909ec5314752bfb73da8db
|
||||
DIST srm-1.2.15.tar.gz 132031 BLAKE2B f01fd8fce0095f5d2247026d3627fc8100b1bc9263f947f2d8500c999220c781ff109283c25b480fe295deb7e162f246afbad68c0797e0fec180ff57f1ff87be SHA512 a8ec78473c55b70557fca88f525998ed51df3be58618b9da220e1bb73df013163f4e1563cbe2062b9cf1512152afeb9004b5be0be69cc1278c0d28597310dfd2
|
||||
|
@ -1,23 +0,0 @@
|
||||
--- configure.in 2010-06-06 13:22:08.000000000 -0400
|
||||
+++ configure.in 2011-11-06 11:36:37.684800151 -0500
|
||||
@@ -6,8 +6,6 @@
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
-dnl reset CFLAGS
|
||||
-CFLAGS=
|
||||
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_RANLIB
|
||||
@@ -39,10 +37,9 @@
|
||||
AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging
|
||||
[default=$debug_default]],, enable_debug=$debug_default)
|
||||
if test "x$enable_debug" = "xyes"; then
|
||||
- CFLAGS="$CFLAGS -g"
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
- CFLAGS="$CFLAGS -O2 -DNDEBUG"
|
||||
+ CFLAGS="$CFLAGS -DNDEBUG"
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="A command-line compatible rm which destroys file contents before unlinking"
|
||||
HOMEPAGE="https://sourceforge.net/projects/srm/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~ppc64 x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="!app-misc/secure-delete
|
||||
sys-kernel/linux-headers
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.2.11-cflags.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable debug)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Please note that srm will not work as expected with any journaled file"
|
||||
ewarn "system (e.g., reiserfs, ext3)."
|
||||
ewarn "See: ${EROOT%/}/usr/share/doc/${PF}/README"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST tmux-mem-cpu-load-2.2.1.tar.gz 9893 BLAKE2B 12776c3a7612a193418a16a1a8bba9720df9296f7ae35183de80031d62c6559fe9b1385e95762e265b2de1f1df17e02f0215801f203c3a7a9c32be321bacae85 SHA512 44d677bbe9eb457b8857c603f469c46767878b2b8af8f169f2b01393ce65fc8da3c33288bc0743b3c2846b77de798437130a7676ca95c5cab52cd4166d9ded73
|
||||
DIST tmux-mem-cpu-load-3.4.0.tar.gz 19483 BLAKE2B eeaabcd4447b326dbf77d3e5844971d2b466c93169993d4a16912bc4d0f777b07db1b0c2973dfaef9e0cd5b4f0dfd132043aed20170a1a7856d7a3c1f6a96ba8 SHA512 f963683faa86ff7b20a658787978ce3c4c36c41fabe297e18e4b1483e680d71a3b10c220dbae5c29bc7f7cb65e79839041b53c9aaee75a17bdc78bf0b76e8dc1
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
IUSE=""
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI=${EGIT_REPO_URI:-"git://github.com/thewtex/tmux-mem-cpu-load.git"}
|
||||
KEYWORDS=""
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/thewtex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="CPU, RAM memory, and load monitor for use with tmux"
|
||||
HOMEPAGE="https://github.com/thewtex/tmux-mem-cpu-load/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=( AUTHORS README.rst )
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST dvibook-20001129.tar.gz 141312 BLAKE2B 00fff1bafcd3575377c900e0e17ca9ac7a4e89c900358d1ea9e2c141ee20640cd605f8a14c44195087e01c0352b06abf9e69f3756bdb44a81c66e15a2efb589b SHA512 7d9991d8d870951f3e68a5b931ea05466b85dd5b23c5f62ebe3e4c2ddc0650677a0e65f506b7b66938f297a95200879cdbe3370e3e3a92b68bab1b671923d590
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="DVI file utilities: dvibook, dviconcat, dvitodvi, and dviselect"
|
||||
HOMEPAGE="http://www.ctan.org/tex-archive/dviware/dvibook/"
|
||||
# Taken from: ftp://tug.ctan.org/tex-archive/dviware/${PN}.tar.gz
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="dvibook"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-misc/imake
|
||||
x11-misc/gccmakedep
|
||||
app-text/rman"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
xmkmf -a || die "xmkmf failed"
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install.man
|
||||
dodoc README
|
||||
}
|
@ -1,253 +0,0 @@
|
||||
diff -Nur dvibook-orig/Dvibook/Imakefile dvibook/Dvibook/Imakefile
|
||||
--- dvibook-orig/Dvibook/Imakefile 1994-03-19 01:00:00.000000000 +0100
|
||||
+++ dvibook/Dvibook/Imakefile 2004-07-08 09:24:05.038918792 +0200
|
||||
@@ -1,24 +1,15 @@
|
||||
-OBJS =dvibook.o
|
||||
-SRCS =dvibook.c
|
||||
+#include "../Imake.Config"
|
||||
|
||||
- LIBTEXROOT= ../
|
||||
- LIBTEXSRC = ../libtex
|
||||
- LIBTEX = $(LIBTEXSRC)/libtex.a
|
||||
- DEPLIBTEX = $(LIBTEX)
|
||||
- DEPLIBS = $(DEPLIBTEX) XawClientDepLibs
|
||||
-LOCAL_LIBRARIES = $(LIBTEX)
|
||||
-
|
||||
- DEFINES = -I$(LIBTEXROOT)
|
||||
+ BINDIR = $(TEX_BINDIR)
|
||||
+ MANDIR = $(TEX_MANDIR)
|
||||
|
||||
-FILES =Imakefile dvibook.man Makefile.raw $(SRCS)
|
||||
+ FILES = Imakefile dvibook.man $(SRCS)
|
||||
|
||||
-all: dvibook
|
||||
+ INCLUDES = -I$(LIBTEXROOT)
|
||||
+LOCAL_LIBRARIES = $(LIBTEX)
|
||||
+ DEPLIBS = $(DEPLIBTEX)
|
||||
|
||||
-NormalProgramTarget(dvibook,$(OBJS),$(DEPLIBS),$(LOCAL_LIBRARIES),$(SYSLIBS))
|
||||
-InstallProgram(dvibook, $(BINDIR))
|
||||
-InstallManPage(dvibook,$(MANDIR))
|
||||
-DependTarget()
|
||||
-TagsTarget()
|
||||
+SimpleProgramTarget(dvibook)
|
||||
|
||||
tar:
|
||||
cd ../..;\
|
||||
diff -Nur dvibook-orig/Dvitodvi/Imakefile dvibook/Dvitodvi/Imakefile
|
||||
--- dvibook-orig/Dvitodvi/Imakefile 1994-03-19 01:00:00.000000000 +0100
|
||||
+++ dvibook/Dvitodvi/Imakefile 2004-07-08 09:24:05.039918647 +0200
|
||||
@@ -1,24 +1,15 @@
|
||||
-OBJS =dvitodvi.o
|
||||
-SRCS =dvitodvi.c
|
||||
+#include "../Imake.Config"
|
||||
|
||||
- LIBTEXROOT= ../
|
||||
- LIBTEXSRC = ../libtex
|
||||
- LIBTEX = $(LIBTEXSRC)/libtex.a
|
||||
- DEPLIBTEX = $(LIBTEX)
|
||||
- DEPLIBS = $(DEPLIBTEX) XawClientDepLibs
|
||||
-LOCAL_LIBRARIES = $(LIBTEX)
|
||||
-
|
||||
- DEFINES = -I$(LIBTEXROOT)
|
||||
+ BINDIR = $(TEX_BINDIR)
|
||||
+ MANDIR = $(TEX_MANDIR)
|
||||
|
||||
-FILES =Imakefile dvitodvi.man Makefile.raw $(SRCS)
|
||||
+ FILES = Imakefile dvitodvi.man $(SRCS)
|
||||
|
||||
-all: dvitodvi
|
||||
+ INCLUDES = -I$(LIBTEXROOT)
|
||||
+LOCAL_LIBRARIES = $(LIBTEX)
|
||||
+ DEPLIBS = $(DEPLIBTEX)
|
||||
|
||||
-NormalProgramTarget(dvitodvi,$(OBJS),$(DEPLIBS),$(LOCAL_LIBRARIES),$(SYSLIBS))
|
||||
-InstallProgram(dvitodvi, $(BINDIR))
|
||||
-InstallManPage(dvitodvi,$(MANDIR))
|
||||
-DependTarget()
|
||||
-TagsTarget()
|
||||
+SimpleProgramTarget(dvitodvi)
|
||||
|
||||
tar:
|
||||
cd ../..;\
|
||||
diff -Nur dvibook-orig/Imake.Config dvibook/Imake.Config
|
||||
--- dvibook-orig/Imake.Config 1994-03-19 01:00:00.000000000 +0100
|
||||
+++ dvibook/Imake.Config 2004-07-08 09:24:05.039918647 +0200
|
||||
@@ -1,8 +1,8 @@
|
||||
/* * Install directories for programs not related to X */
|
||||
|
||||
-TEX_BINDIR = /srl/TeX/bin
|
||||
-TEX_MANDIR = /srl/TeX/man/man1
|
||||
-TEX_INPUTS = /srl/TeX/lib/tex/inputs
|
||||
+TEX_BINDIR = /usr/bin
|
||||
+TEX_MANDIR = /usr/share/man/man1
|
||||
+MANSUFFIX = 1
|
||||
|
||||
/*
|
||||
* Set `FONTDESC' to the location of your fontdesc file, unquoted.
|
||||
@@ -189,7 +189,7 @@
|
||||
/*
|
||||
* Undefine GETOP if your loader complains about multiple ref's.
|
||||
*/
|
||||
-#if 1
|
||||
+#if 0
|
||||
GETOPT=getopt.o
|
||||
#else
|
||||
GETOPT=
|
||||
diff -Nur dvibook-orig/libtex/error.c dvibook/libtex/error.c
|
||||
--- dvibook-orig/libtex/error.c 1994-03-19 01:00:00.000000000 +0100
|
||||
+++ dvibook/libtex/error.c 2004-07-08 09:24:05.054916460 +0200
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "types.h" /* for HAVE_VPRINTF */
|
||||
#include "error.h"
|
||||
#include <stdio.h>
|
||||
-#include <varargs.h>
|
||||
+#include <stdarg.h>
|
||||
|
||||
#if defined(lint) && !defined(LINT_ANYWAY)
|
||||
|
||||
@@ -34,12 +34,9 @@
|
||||
/* VARARGS1 ARGSUSED */
|
||||
void panic(fmt) char *fmt; { exit(1); /* NOTREACHED */ }
|
||||
|
||||
-#else lint
|
||||
+#else /* lint */
|
||||
|
||||
extern char *ProgName; /* program name from argv[0] */
|
||||
-extern int errno; /* Unix system-call error */
|
||||
-extern char *sys_errlist[]; /* table of error number => string */
|
||||
-extern int sys_nerr; /* size of table */
|
||||
|
||||
static FILE *trap_file; /* error diversion file, if any */
|
||||
static void (*trap_fn)(); /* trap function */
|
||||
@@ -143,10 +140,7 @@
|
||||
(void) _doprnt(fmt, l, fp);
|
||||
#endif
|
||||
if (e) {
|
||||
- if (e < sys_nerr)
|
||||
- (void) fprintf(fp, ": %s", sys_errlist[e]);
|
||||
- else
|
||||
- (void) fprintf(fp, ": Unknown error code %d", e);
|
||||
+ (void) fprintf(fp, ": %s", strerror(e));
|
||||
}
|
||||
(void) putc('\n', fp);
|
||||
(void) fflush(fp);
|
||||
@@ -160,18 +154,11 @@
|
||||
* Print an error message and optionally quit.
|
||||
*/
|
||||
void
|
||||
-error(va_alist)
|
||||
- va_dcl
|
||||
+error(int quit, int e, const char *fmt, ...)
|
||||
{
|
||||
va_list l;
|
||||
- int quit, e;
|
||||
- char *fmt;
|
||||
|
||||
- va_start(l);
|
||||
- quit = va_arg(l, int);
|
||||
- if ((e = va_arg(l, int)) < 0)
|
||||
- e = errno;
|
||||
- fmt = va_arg(l, char *);
|
||||
+ va_start(l, fmt);
|
||||
verror(quit, (char *)NULL, fmt, l, e);
|
||||
va_end(l);
|
||||
}
|
||||
@@ -180,15 +167,12 @@
|
||||
* Panic (print to stderr and abort).
|
||||
*/
|
||||
void
|
||||
-panic(va_alist)
|
||||
- va_dcl
|
||||
+panic(const char *fmt, ...)
|
||||
{
|
||||
va_list l;
|
||||
- char *fmt;
|
||||
|
||||
SetErrorTrap((void (*)())NULL); /* shut down any trap */
|
||||
- va_start(l);
|
||||
- fmt = va_arg(l, char *);
|
||||
+ va_start(l, fmt);
|
||||
verror(0, "panic: ", fmt, l, 0);
|
||||
va_end(l);
|
||||
abort();
|
||||
diff -Nur dvibook-orig/libtex/error.h dvibook/libtex/error.h
|
||||
--- dvibook-orig/libtex/error.h 1994-03-19 01:00:00.000000000 +0100
|
||||
+++ dvibook/libtex/error.h 2004-07-08 09:24:05.054916460 +0200
|
||||
@@ -8,7 +8,7 @@
|
||||
/*
|
||||
* Errors.
|
||||
*/
|
||||
-void error(/* int quit, int e, char *fmt, ... */);
|
||||
-void panic(/* char *fmt, ... */);
|
||||
+void error(int quit, int e, const char *fmt, ...);
|
||||
+void panic(const char *fmt, ...);
|
||||
|
||||
void SetErrorTrap(/* void (*fn)(int quit, char *text) */);
|
||||
diff -Nur dvibook-orig/libtex/gripes0.c dvibook/libtex/gripes0.c
|
||||
--- dvibook-orig/libtex/gripes0.c 1994-03-19 01:00:00.000000000 +0100
|
||||
+++ dvibook/libtex/gripes0.c 2004-07-08 09:24:05.054916460 +0200
|
||||
@@ -14,12 +14,11 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <errno.h>
|
||||
#include "types.h"
|
||||
#include "error.h"
|
||||
#include "gripes.h"
|
||||
|
||||
-extern errno;
|
||||
-
|
||||
/*
|
||||
* Cannot allocate memory.
|
||||
*/
|
||||
diff -Nur dvibook-orig/libtex/sdecode.c dvibook/libtex/sdecode.c
|
||||
--- dvibook-orig/libtex/sdecode.c 1994-03-19 01:00:00.000000000 +0100
|
||||
+++ dvibook/libtex/sdecode.c 2004-07-08 09:24:05.055916315 +0200
|
||||
@@ -10,7 +10,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
-#include <varargs.h>
|
||||
+#include <stdarg.h>
|
||||
#include "types.h"
|
||||
#include "sdecode.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
static int sdset; /* flag says whether cclass[] set up */
|
||||
|
||||
static void args(), badarg();
|
||||
-static int scan(), scan_i(), scan_d();
|
||||
+static int scan_i(), scan_d();
|
||||
|
||||
extern char *strsave();
|
||||
|
||||
@@ -80,6 +80,8 @@
|
||||
int di_bkw; /* true iff keyword is in static buffer */
|
||||
};
|
||||
|
||||
+static int scan(register struct decode_info *di, ...);
|
||||
+
|
||||
/*
|
||||
* `Edit' the text in the buffer in-place.
|
||||
* Return the count of characters resulting from the edit (e.g.,
|
||||
@@ -553,17 +555,14 @@
|
||||
}
|
||||
|
||||
static int
|
||||
-scan(va_alist)
|
||||
- va_dcl
|
||||
+scan(register struct decode_info *di, ...)
|
||||
{
|
||||
- register struct decode_info *di;
|
||||
register char *fmt;
|
||||
register int c;
|
||||
char **fmtp;
|
||||
va_list ap;
|
||||
|
||||
- va_start(ap);
|
||||
- di = va_arg(ap, struct decode_info *);
|
||||
+ va_start(ap, di);
|
||||
fmtp = va_arg(ap, char **);
|
||||
fmt = *fmtp;
|
||||
while ((c = *fmt++) != 0) {
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>tex@gentoo.org</email>
|
||||
<name>Gentoo TeX Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST dvipdfm-0.13.2d.tar.gz 236898 BLAKE2B 381f97588a9aa40ee0dfd7a793034ba0ce31de8657e1dd9694c4abf44171834a7b3348c7b52bfbba762b1cbff51035e70782fd42b1a7f8786a3f9ad18ea24dec SHA512 f983c64d41920a0cd4b23fec666446c22a989670d0413da1a2fc028ce1ae7e30bbe8a1547be49c4f04cf3961166821613b8482213134086c115a12e6791f8e2e
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="DVI to PDF translator"
|
||||
HOMEPAGE="https://ctan.org/pkg/dvipdfm"
|
||||
SRC_URI="http://mirrors.ctan.org/dviware/dvipdfm/${P}.tar.gz"
|
||||
|
||||
#the source has a GPL-2 COPYING file, CTAN lists as LPPL by mistake
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="!>=app-text/tetex-2
|
||||
>=media-libs/libpng-1.2.1
|
||||
>=sys-libs/zlib-1.1.4
|
||||
!app-text/ptex
|
||||
virtual/latex-base"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-libpng14.patch
|
||||
}
|
||||
|
||||
src_install () {
|
||||
einstall || die "einstall failed!"
|
||||
|
||||
# Install .map and .enc files to correct locations, bug #200956
|
||||
dodir /usr/share/texmf/fonts/map/dvipdfm/base
|
||||
local i
|
||||
for i in cmr.map psbase14.map lw35urw.map lw35urwa.map t1fonts.map; do
|
||||
mv "${ED}usr/share/texmf/dvipdfm/config/${i}" "${ED}usr/share/texmf/fonts/map/dvipdfm/base" || die "moving .map file failed"
|
||||
done
|
||||
|
||||
dodir /usr/share/texmf/fonts/enc/dvipdfm
|
||||
|
||||
mv "${ED}usr/share/texmf/dvipdfm/base" "${ED}usr/share/texmf/fonts/enc/dvipdfm/base" || die "moving .enc file failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog Credits NEWS OBTAINING README* TODO
|
||||
|
||||
docinto doc
|
||||
dodoc doc/*
|
||||
|
||||
docinto latex-support
|
||||
dodoc latex-support/*
|
||||
|
||||
insinto /usr/share/texmf/tex/latex/dvipdfm/
|
||||
doins latex-support/dvipdfm.def
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ "$ROOT" = "/" ] ; then
|
||||
"${EPREFIX}"/usr/sbin/texmf-update
|
||||
fi
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="DVI to PDF translator"
|
||||
HOMEPAGE="https://ctan.org/pkg/dvipdfm"
|
||||
SRC_URI="http://mirrors.ctan.org/dviware/dvipdfm/${P}.tar.gz"
|
||||
|
||||
#the source has a GPL-2 COPYING file, CTAN lists as LPPL by mistake
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="!>=app-text/tetex-2
|
||||
>=media-libs/libpng-1.2.1
|
||||
>=sys-libs/zlib-1.1.4
|
||||
!app-text/ptex
|
||||
virtual/latex-base"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-libpng14.patch
|
||||
}
|
||||
|
||||
src_install () {
|
||||
einstall texmf="${ED}usr/share/texmf-site" || die "einstall failed!"
|
||||
|
||||
# Install .map and .enc files to correct locations, bug #200956
|
||||
dodir /usr/share/texmf-site/fonts/map/dvipdfm/base
|
||||
local i
|
||||
for i in cmr.map psbase14.map lw35urw.map lw35urwa.map t1fonts.map; do
|
||||
mv "${ED}usr/share/texmf-site/dvipdfm/config/${i}" "${ED}usr/share/texmf-site/fonts/map/dvipdfm/base" || die "moving .map file failed"
|
||||
done
|
||||
|
||||
dodir /usr/share/texmf-site/fonts/enc/dvipdfm
|
||||
|
||||
mv "${ED}usr/share/texmf-site/dvipdfm/base" "${ED}usr/share/texmf-site/fonts/enc/dvipdfm/base" || die "moving .enc file failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog Credits NEWS OBTAINING README* TODO
|
||||
|
||||
docinto doc
|
||||
dodoc doc/*
|
||||
|
||||
docinto latex-support
|
||||
dodoc latex-support/*
|
||||
|
||||
insinto /usr/share/texmf-site/tex/latex/dvipdfm/
|
||||
doins latex-support/dvipdfm.def
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ "$ROOT" = "/" ] ; then
|
||||
"${EPREFIX}"/usr/sbin/texmf-update
|
||||
fi
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
--- pngimage.c
|
||||
+++ pngimage.c
|
||||
@@ -41,7 +41,7 @@
|
||||
rewind (png_file);
|
||||
if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
|
||||
sizeof(sigbytes) ||
|
||||
- (!png_check_sig (sigbytes, sizeof(sigbytes))))
|
||||
+ (png_sig_cmp (sigbytes, 0, sizeof(sigbytes))))
|
||||
return 0;
|
||||
else
|
||||
return 1;
|
||||
--- thumbnail.c
|
||||
+++ thumbnail.c
|
||||
@@ -78,7 +78,7 @@
|
||||
}
|
||||
if (fread (sigbytes, 1, sizeof(sigbytes), thumb_file) !=
|
||||
sizeof(sigbytes) ||
|
||||
- (!png_check_sig (sigbytes, sizeof(sigbytes)))) {
|
||||
+ (png_sig_cmp (sigbytes, 0, sizeof(sigbytes)))) {
|
||||
fprintf (stderr, "\nThumbnail not a png file! Skipping\n");
|
||||
return NULL;
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>tex@gentoo.org</email>
|
||||
<name>Gentoo TeX Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST dvipdfmx-20110311.tar.gz 616749 BLAKE2B 663268fc785ddc9dfbc3462fac9e60001725365c5ea1c2522d3d92e4b0af36519703a9480a33f678e47fb47798f0ce7a87b8e433107c639e3ea6d5502a1920f8 SHA512 0d5fc5dba35b0fe7074a392a99338861ce999809e5c20da830ebd6ba4c8ba45819054463862f3025d3a30c78aad227d3e014651ebf5e7976e86a3d9dac93d406
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
inherit autotools eutils texlive-common flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="DVI to PDF translator with multi-byte character support"
|
||||
HOMEPAGE="http://project.ktug.or.kr/dvipdfmx/"
|
||||
SRC_URI="http://project.ktug.or.kr/${PN}/snapshot/latest/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-text/libpaper
|
||||
>=media-libs/libpng-1.2:0
|
||||
sys-libs/zlib
|
||||
dev-libs/kpathsea
|
||||
app-text/libpaper"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/tex-base
|
||||
>=app-text/poppler-0.12.3-r3
|
||||
app-text/poppler-data"
|
||||
DEPEND="${DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/20090708-fix_file_collisions.patch
|
||||
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in || die
|
||||
eautoreconf
|
||||
has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override dvipdfmx.cfg default installation location so that it is easy to
|
||||
# modify it and it gets config protected. Symlink it from the old location.
|
||||
emake configdatadir="${EPREFIX}/etc/texmf/dvipdfmx" \
|
||||
glyphlistdatadir="${EPREFIX}/usr/share/texmf-site/fonts/map/glyphlist" \
|
||||
mapdatadir="${EPREFIX}/usr/share/texmf-site/fonts/map/dvipdfmx" \
|
||||
DESTDIR="${D}" \
|
||||
install || die
|
||||
dosym /etc/texmf/dvipdfmx/dvipdfmx.cfg /usr/share/texmf-site/dvipdfmx/dvipdfmx.cfg || die
|
||||
|
||||
# Symlink poppler-data cMap, bug #201258
|
||||
dosym /usr/share/poppler/cMap /usr/share/texmf-site/fonts/cmap/cMap || die
|
||||
dodoc AUTHORS ChangeLog README || die
|
||||
|
||||
# Remove symlink conflicting with app-text/dvipdfm (bug #295235)
|
||||
rm "${ED}"/usr/bin/ebb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
etexmf-update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
etexmf-update
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
diff -urN dvipdfmx-20090708/data/Makefile.am dvipdfmx-20090708.new/data/Makefile.am
|
||||
--- dvipdfmx-20090708/data/Makefile.am 2009-05-01 01:49:00.000000000 +0200
|
||||
+++ dvipdfmx-20090708.new/data/Makefile.am 2009-11-29 23:05:55.000000000 +0100
|
||||
@@ -10,7 +10,3 @@
|
||||
mapdatadir = $(datadir)/texmf/fonts/map/dvipdfmx
|
||||
dist_mapdata_DATA = \
|
||||
$(srcdir)/cid-x.map
|
||||
-
|
||||
-cmapdatadir = $(datadir)/texmf/fonts/cmap/dvipdfmx
|
||||
-dist_cmapdata_DATA = \
|
||||
- $(srcdir)/EUC-UCS2
|
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>tex@gentoo.org</email>
|
||||
<name>Gentoo TeX Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>printing@gentoo.org</email>
|
||||
<name>Gentoo Printing Project</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
The DVIPDFMx (formerly dvipdfm-cjk) project provides an eXtended
|
||||
version of the dvipdfm, a DVI to PDF translator developed by Mark A.
|
||||
Wicks. The primary goal of this project is to support multi-byte
|
||||
character encodings and large character sets for East Asian languages
|
||||
by CID-keyed font technology. The secondary goal is to support as
|
||||
many features as pdfTeX developed by Han The Thanh. This project is a
|
||||
combined work of the dvipdfm-jpn project by Shunsaku Hirata and its
|
||||
modified one, dvipdfm-kor, by Jin-Hwan Cho.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,2 +0,0 @@
|
||||
DIST texlive-20120701-source.tar.xz 131904044 BLAKE2B d6325ac4c8403ae2d4c4e949ce8b1c2ab44d82937aa6f199ae8f807fcd2eb0b602c28c336de98e0adc63aeff4e17bcf5be8399a56daba35e18f7a8468fbe5fea SHA512 0e8653aa21094e079900d17256f0768ac5514690a3725d96923d5fdc7633484d611441df1af8c674b38b9ce6a8845a9004976cd00635742dfc6837aa433caf5f
|
||||
DIST texlive-20130530-source.tar.xz 179963948 BLAKE2B b362975a464a545efd608042086c90bc64325d0c13f411aaa9e8d18cafbcf9504750fd5ff31e432d0dda9830421f9b2b457696e460487c50b7f7f54028ddeffb SHA512 4aa85273a675af2453f09777b7cb348c18add77410d72f562c6586f6814d4e7c34b6f3690e3453020654fb0a265339fcabf590d9155367d52846224499af334c
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>tex@gentoo.org</email>
|
||||
<name>Gentoo TeX Project</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
This package provides the extended xdvi to pdf converter
|
||||
needed to deal with unicode enabled TeX's.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Extended dvipdfmx for use with XeTeX and other unicode TeXs"
|
||||
HOMEPAGE="http://scripts.sil.org/svn-view/xdvipdfmx/
|
||||
http://tug.org/texlive/"
|
||||
SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="!<app-text/texlive-core-2010
|
||||
dev-libs/kpathsea
|
||||
sys-libs/zlib
|
||||
media-libs/freetype:2
|
||||
media-libs/fontconfig
|
||||
>=media-libs/libpng-1.2.43-r2:0
|
||||
app-text/libpaper"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
# for dvipdfmx.cfg
|
||||
RDEPEND="${RDEPEND}
|
||||
app-text/dvipdfmx"
|
||||
|
||||
S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
|
||||
|
||||
src_configure() {
|
||||
# don't do OSX stuff as it breaks on using long gone freetype funcs
|
||||
export kpse_cv_have_ApplicationServices=no
|
||||
|
||||
econf \
|
||||
--with-system-kpathsea \
|
||||
--with-system-zlib \
|
||||
--with-system-libpng \
|
||||
--with-system-freetype2
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc README TODO BUGS AUTHORS ChangeLog ChangeLog.TL
|
||||
if use doc ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r doc
|
||||
fi
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="Extended dvipdfmx for use with XeTeX and other unicode TeXs"
|
||||
HOMEPAGE="http://scripts.sil.org/svn-view/xdvipdfmx/
|
||||
http://tug.org/texlive/"
|
||||
SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<app-text/texlive-core-2010
|
||||
dev-libs/kpathsea
|
||||
sys-libs/zlib
|
||||
media-libs/freetype:2
|
||||
>=media-libs/libpng-1.2.43-r2:0=
|
||||
app-text/libpaper"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
# for dvipdfmx.cfg
|
||||
RDEPEND="${RDEPEND}
|
||||
app-text/dvipdfmx"
|
||||
|
||||
S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
|
||||
|
||||
src_configure() {
|
||||
# don't do OSX stuff as it breaks on using long gone freetype funcs
|
||||
export kpse_cv_have_ApplicationServices=no
|
||||
|
||||
econf \
|
||||
--with-system-kpathsea \
|
||||
--with-system-zlib \
|
||||
--with-system-libpng \
|
||||
--with-system-freetype2
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc README AUTHORS ChangeLog
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST pgbadger-9.1.tar.gz 742409 BLAKE2B 34b2b9e8582755edfa4a284a926032b4534b962f5e80be17b0efbf4b4c7f367cf9b588831d0f1e0e8142e7d6d5fff2d5733ee06e405b2192d7f01c91cef69df6 SHA512 e3841516dd56ea0aeae397c8264302881df3b07a86063f7813f593ba817a4f3417559b88e2b9e23fec811d3dfd716589f56092be106960e88d1800a94d3d83c3
|
||||
DIST pgbadger-9.2.tar.gz 745128 BLAKE2B 63e7d60992e903a136d4f91422a378a6adc5c0477e69ae1cae3d4c1940dc02517f0b6f16d0fa7c5fe0ea365851807dc800bfaef0e95c546d6c4eb4afe0e2d09d SHA512 c99636fc03e3e1c1cf4c8c034e58e2152ec1118954d4fd9bdfa782d7781eee308cdd7450c0bcca6f5936c173b3780c9362fccc8cf79f5b0fffc895f73a322c9e
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="pgBadger is a PostgreSQL log analyzer."
|
||||
HOMEPAGE="http://dalibo.github.io/pgbadger/"
|
||||
SRC_URI="https://github.com/dalibo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-perl/JSON-XS
|
||||
dev-perl/Text-CSV_XS
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST cssparser-0.9.22.jar 245363 BLAKE2B ffe6838f3499d4c44097cbaabc79e2526f2c3052c9bbae4de63668ba3f01a7cffee71dbc230d416d5cd818f679b59205013eddfe79d97c9177276abf4b08f527 SHA512 33dd8906d967bdafeefb6cea9d03fc746cf350102e8e53360284638cdc3d55f254c616d2d3ab5d1849fd92e6924c9751ebff72942f0855b6fdd4ab309a509485
|
||||
DIST cssparser-0.9.23.jar 245655 BLAKE2B dfe78fde6fc706f0bfcb710c6b9dae599156dc819a1c4bf46b22bd2f9affc8da8b2e9ebecbc8e30249a48ff26da7f4c754f9bb869e3e6b7b7c1a5c311a094400 SHA512 a6799156eaa6cbd41b2969ea64fb4bc5105a866a2cdade73bef5e4a3f5b585f7f9cf0cf7f34329ef17f1b258d2d35e675f107bb81b793fdb2edf0c7c9d49da1d
|
||||
DIST cssparser-0.9.24.jar 250147 BLAKE2B bf4948bbfd58863b9bcdb3cb71192f323764f56a14e2384cc0b5d526ef6bf2bf4fce330880aa1bee7ffe45ae576999a98165fcba84e75ef402e3edfd5341e28f SHA512 bf86710473ae256fe8b24a6bf3babbe815fb1373de6acafe2695e09bb2ff11e63ec182d608861d7c7a39574bd00fc8627b48536644cd545ed45ae57e130e4bd3
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="API for parsing CSS 2 in Java"
|
||||
HOMEPAGE="http://cssparser.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-sources.jar -> ${P}.jar"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
CDEPEND="dev-java/sac:0"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="sac"
|
@ -1,2 +1,2 @@
|
||||
DIST jdk-8u152-docs-all.zip 93495668 BLAKE2B 9bb791ef4ace0fd180953e12501900a21583cf9cd8c256246c0d8b1fe139aa7c21fffd073cf6cfc27c206f00eb9d77fd510f8ced752f7c690a4762a9f52f3e8d SHA512 5aa49103685fc466bf2c5ff32aeee9ccf5b51359bb8e558bc8f23dc399fb108cba7fd282b669ce3b8062865fc4507afc809f8fb0ca844587eb168ad44c69ad77
|
||||
DIST jdk-8u162-docs-all.zip 93476221 BLAKE2B bf871623cbf3bebd123edf73844d574cb9b88b4117a1c3a976654693e923c1a34249b5ef0c6c7812be29ed8581a1699b53536550583e666f844239ba554a1225 SHA512 944b93db6a2b471c2507786c45c50715222ad904c0f537c0e3cdf47a4b05ce560f8543377fe1c2217a79e064453aefdd70fafd32534131da2f246f6e39e60ebb
|
||||
DIST jdk-9.0.4_doc-all.zip 70500089 BLAKE2B 549da2c6baf1b39082f05d42d0fd02f7682a765c1d43a605063b155b3b3e2e20053b4044a238afb41c758700efa5de9ec53c29e2e8be1d682c2e9e7b221c0875 SHA512 7d8b40499a0ea91ac922c6916b19a061b39e73e54e123a943fcaa75fcfe66672ad445dbd789c2c9448c8cee0e7f72974ca6ad53bcaa5667547feca5791dab92b
|
||||
|
@ -0,0 +1,295 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit desktop gnome2-utils java-vm-2 prefix versionator
|
||||
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc64-solaris ~x64-solaris"
|
||||
|
||||
if [[ "$(get_version_component_range 4)" == 0 ]] ; then
|
||||
S_PV="$(get_version_component_range 1-3)"
|
||||
else
|
||||
MY_PV_EXT="u$(get_version_component_range 4)"
|
||||
S_PV="$(get_version_component_range 1-4)"
|
||||
fi
|
||||
|
||||
MY_PV="$(get_version_component_range 2)${MY_PV_EXT}"
|
||||
|
||||
declare -A ARCH_FILES
|
||||
ARCH_FILES[amd64]="jdk-${MY_PV}-linux-x64.tar.gz"
|
||||
ARCH_FILES[arm]="jdk-${MY_PV}-linux-arm32-vfp-hflt.tar.gz"
|
||||
ARCH_FILES[arm64]="jdk-${MY_PV}-linux-arm64-vfp-hflt.tar.gz"
|
||||
ARCH_FILES[x86]="jdk-${MY_PV}-linux-i586.tar.gz"
|
||||
ARCH_FILES[x64-macos]="jdk-${MY_PV}-macosx-x64.dmg"
|
||||
ARCH_FILES[sparc64-solaris]="jdk-${MY_PV}-solaris-sparcv9.tar.gz"
|
||||
ARCH_FILES[x64-solaris]="jdk-${MY_PV}-solaris-x64.tar.gz"
|
||||
|
||||
for keyword in ${KEYWORDS//-\*} ; do
|
||||
case "${keyword#\~}" in
|
||||
*-linux) continue ;;
|
||||
x64-macos) demo="jdk-${MY_PV}-macosx-x86_64-demos.zip" ;;
|
||||
*) demo=${ARCH_FILES[${keyword#\~}]/./-demos.} ;;
|
||||
esac
|
||||
|
||||
SRC_URI+="
|
||||
${keyword#\~}? (
|
||||
${ARCH_FILES[${keyword#\~}]}
|
||||
examples? ( ${demo} )
|
||||
)"
|
||||
done
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Development Kit"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
|
||||
SLOT="1.8"
|
||||
IUSE="alsa commercial cups derby doc examples +fontconfig headless-awt javafx jce nsplugin selinux source visualvm"
|
||||
REQUIRED_USE="javafx? ( alsa fontconfig )"
|
||||
RESTRICT="fetch preserve-libs strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
# NOTES:
|
||||
#
|
||||
# * cups is dlopened.
|
||||
#
|
||||
# * libpng is also dlopened but only by libsplashscreen, which isn't
|
||||
# important, so we can exclude that.
|
||||
#
|
||||
# * We still need to work out the exact AWT and JavaFX dependencies
|
||||
# under MacOS. It doesn't appear to use many, if any, of the
|
||||
# dependencies below.
|
||||
#
|
||||
RDEPEND="!x64-macos? (
|
||||
!headless-awt? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
)
|
||||
javafx? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
media-libs/freetype:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/pango
|
||||
virtual/opengl
|
||||
)
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
doc? ( dev-java/java-sdk-docs:${SLOT} )
|
||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
||||
!prefix? ( sys-libs/glibc:* )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
DEPEND="app-arch/zip
|
||||
examples? ( x64-macos? ( app-arch/unzip ) )"
|
||||
|
||||
S="${WORKDIR}/jdk$(replace_version_separator 3 _ ${S_PV})"
|
||||
|
||||
pkg_nofetch() {
|
||||
local a
|
||||
einfo "Please download these files and move them to ${DISTDIR}:"
|
||||
einfo
|
||||
for a in ${A} ; do
|
||||
[[ ! -f ${DISTDIR}/${a} ]] && einfo " ${a}"
|
||||
done
|
||||
einfo
|
||||
einfo " http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html"
|
||||
einfo
|
||||
einfo "If the above mentioned URL does not point to the correct version anymore,"
|
||||
einfo "please download the file from Oracle's Java download archive:"
|
||||
einfo
|
||||
einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html"
|
||||
einfo
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use x64-macos ; then
|
||||
mkdir -p "${T}"/dmgmount || die
|
||||
hdiutil attach "${DISTDIR}"/jdk-${MY_PV}-macosx-x64.dmg -mountpoint "${T}"/dmgmount || die
|
||||
xar -Oxf "${T}"/dmgmount/JDK\ $(get_version_component_range 2)\ Update\ ${update}.pkg jdk${PV//.}.pkg/Payload | zcat | cpio -idv || die
|
||||
hdiutil detach "${T}"/dmgmount || die
|
||||
mv Contents/Home "${S}" || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ -n ${JAVA_PKG_STRICT} ]] ; then
|
||||
# Mark this binary early to run it now.
|
||||
pax-mark m ./bin/javap
|
||||
|
||||
eqawarn "Ensure that this only calls trackJavaUsage(). If not, see bug #559936."
|
||||
eqawarn
|
||||
eqawarn "$(./bin/javap -J-Duser.home=${T} -c sun.misc.PostVMInitHook || die)"
|
||||
fi
|
||||
|
||||
# Remove the hook that calls Oracle's evil usage tracker. Not just
|
||||
# because it's evil but because it breaks the sandbox during builds
|
||||
# and we can't find any other feasible way to disable it or make it
|
||||
# write somewhere else. See bug #559936 for details.
|
||||
zip -d jre/lib/rt.jar sun/misc/PostVMInitHook.class || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest#/}"
|
||||
|
||||
# Create files used as storage for system preferences.
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
if ! use alsa ; then
|
||||
rm -vf jre/lib/*/libjsoundalsa.* || die
|
||||
fi
|
||||
|
||||
if ! use commercial ; then
|
||||
rm -vfr lib/missioncontrol jre/lib/jfr* || die
|
||||
fi
|
||||
|
||||
if use headless-awt ; then
|
||||
rm -vf {,jre/}lib/*/lib*{[jx]awt,splashscreen}* \
|
||||
{,jre/}bin/{javaws,policytool} \
|
||||
bin/appletviewer || die
|
||||
fi
|
||||
|
||||
if ! use javafx ; then
|
||||
rm -vf jre/lib/*/lib*{decora,fx,glass,prism}* \
|
||||
jre/lib/*/libgstreamer-lite.* {,jre/}lib/{,ext/}*fx* \
|
||||
bin/*javafx* bin/javapackager || die
|
||||
fi
|
||||
|
||||
if ! use nsplugin ; then
|
||||
rm -vf jre/lib/*/libnpjp2.* || die
|
||||
else
|
||||
local nsplugin=$(echo jre/lib/*/libnpjp2.*)
|
||||
local nsplugin_link=${nsplugin##*/}
|
||||
nsplugin_link=${nsplugin_link/./-${PN}-${SLOT}.}
|
||||
dosym "${dest}/${nsplugin}" "/usr/$(get_libdir)/nsbrowser/plugins/${nsplugin_link}"
|
||||
fi
|
||||
|
||||
# Even though plugins linked against multiple ffmpeg versions are
|
||||
# provided, they generally lag behind what Gentoo has available.
|
||||
rm -vf jre/lib/*/libavplugin* || die
|
||||
|
||||
# Prune all fontconfig files so that libfontconfig will be used.
|
||||
rm -v jre/lib/fontconfig.* || die
|
||||
|
||||
# Packaged as dev-util/visualvm but some users prefer this version.
|
||||
use visualvm || find -name "*visualvm*" -exec rm -vfr {} + || die
|
||||
|
||||
# Install desktop file for the Java Control Panel. Using
|
||||
# ${PN}-${SLOT} to prevent file collision with JRE and other slots.
|
||||
if [[ -d jre/lib/desktop/icons ]] ; then
|
||||
local icon
|
||||
pushd jre/lib/desktop/icons >/dev/null || die
|
||||
for icon in */*/apps/sun-jcontrol.png ; do
|
||||
insinto /usr/share/icons/"${icon%/*}"
|
||||
newins "${icon}" sun-jcontrol-${PN}-${SLOT}.png
|
||||
done
|
||||
popd >/dev/null || die
|
||||
make_desktop_entry \
|
||||
"${dest}"/bin/jcontrol \
|
||||
"Java Control Panel for Oracle JDK ${SLOT}" \
|
||||
sun-jcontrol-${PN}-${SLOT} \
|
||||
"Settings;Java;"
|
||||
fi
|
||||
|
||||
dodoc COPYRIGHT
|
||||
dodir "${dest}"
|
||||
cp -pPR bin include jre lib man "${ddest}" || die
|
||||
|
||||
if use derby ; then
|
||||
cp -pPR db "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use examples && [[ ${A} = *-demos.* ]] ; then
|
||||
cp -pPR demo sample "${ddest}" || die
|
||||
fi
|
||||
|
||||
ln -s policy/$(usex jce unlimited limited)/{US_export,local}_policy.jar \
|
||||
"${ddest}"/jre/lib/security/ || die
|
||||
|
||||
if use source ; then
|
||||
cp -v src.zip "${ddest}" || die
|
||||
|
||||
if use javafx ; then
|
||||
cp -v javafx-src.zip "${ddest}" || die
|
||||
fi
|
||||
fi
|
||||
|
||||
# Only install Gentoo-specific fontconfig if flag is disabled.
|
||||
# https://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html
|
||||
if ! use fontconfig ; then
|
||||
insinto "${dest}"/jre/lib/
|
||||
doins "$(prefixify_ro "${FILESDIR}"/fontconfig.Gentoo.properties)"
|
||||
fi
|
||||
|
||||
# Needs to be done before CDS, bug #215225.
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# See bug #207282.
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
case ${ARCH} in
|
||||
arm|ia64)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
;;
|
||||
x86)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
# limit heap size for large memory on x86 #467518
|
||||
# this is a workaround and shouldn't be needed.
|
||||
${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die
|
||||
;;
|
||||
*)
|
||||
${ddest}/bin/java -server -Xshare:dump || die
|
||||
;;
|
||||
esac
|
||||
|
||||
# Remove empty dirs we might have copied.
|
||||
find "${D}" -type d -empty -exec rmdir -v {} + || die
|
||||
|
||||
if use x64-macos ; then
|
||||
local lib
|
||||
for lib in lib{decora_sse,glass,prism_{common,es2,sw}}.dylib ; do
|
||||
ebegin "Fixing self-reference of ${lib}"
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}${dest}"/jre/lib/${lib} \
|
||||
"${ddest}"/jre/lib/${lib} || die
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
|
||||
java-vm_install-env "${FILESDIR}"/${PN}.env.sh
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
if ! use headless-awt && ! use javafx ; then
|
||||
ewarn "You have disabled the javafx flag. Some modern desktop Java applications"
|
||||
ewarn "require this and they may fail with a confusing error message."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
java-vm-2_pkg_postrm
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST jre-8u152-linux-i586.tar.gz 83131659 BLAKE2B 5f0619eb8c0f5937d2c5da573f40daaf46d1fad27fd57fab7b422017dadc2ae51399c3a99ba6044443d535f12b2a891a7b767d7da06f8567ef19eb74f7c92b33 SHA512 8bd655ae97c333ed57991ed6d13d2c2647f85e5a1c853dd76031b8e7689db9a1b183bc665acc5b9f989139b34300ac65ab65c80e18234d6d1b06a4512fc4e542
|
||||
DIST jre-8u152-linux-x64.tar.gz 80061016 BLAKE2B 5aa25c152aae5e106bd9cb3b1b14125437531991f082548faf0b12f7e52a77e9dd01f178806d48d71d99c718358798b214a64acdfd1afa55e3791c6d78aabf95 SHA512 7c58ff2c3ac9af423ffab0ebfbfa7b4842072f6554569d76a99f8c82fa6935e36dbcf811f9c5510d71fc87db9520e684d877d99cae95f4874578ba42157ce85d
|
||||
DIST jre-8u162-linux-i586.tar.gz 83185844 BLAKE2B 0739e0e272e19560554976d993d229e0bfd6df11389f6dc8e8292717620fdb8e2786128890667375b5399f96d696ec7fb2ac2369d1edea82753d8c6e659c0aeb SHA512 154af4397163c68266e963280bdc4794ca088e207f9426213035e06bbfc4f024ec5c20c89d8d58323e56ace6af4e89d2f08a80fd436c70fc712ed0401772d213
|
||||
DIST jre-8u162-linux-x64.tar.gz 80107578 BLAKE2B 28b86729414cfd58290b01990a57b7a87cba1b4ff6361df45988433b90b6c29878abe120c6b90e6c31cbd306960bb75139ea054544f109d863cdad723fd4f0fb SHA512 dbda4346d76925f47ffd288fe9ad21cb2235f55da380945d6cfed8d94322ba97cf8832d3d328f0622c6175620f1682b93e9e380403db3f2d4804062fb7832e66
|
||||
DIST jre-9.0.4_linux-x64_bin.tar.gz 87045353 BLAKE2B ccf3c0d725ca1431261a0b38cc06851fc10651415982fa2d97f512972c088c2c158ee51710b59e04f89326dd4cbb4c1ef8ecf514af190fbdc2be07cd222fd5d8 SHA512 20310fe68c89d26a89523eb1fe583eb5706fe2458342f5be0dfb4badd1d9df6ba25b00463f080fceb7c22781ff1555a61b29d187d8b02e1f9e165120b8140c3b
|
||||
DIST jre-9.0.4_osx-x64_bin.tar.gz 74599903 BLAKE2B a1bd4d51ee645347fcb735e46ee3311d34933bb0dbb20b9a668ed7b817be1d0432f4152f53f57a9fc16d6b6b7f38ea4118f5cae86a8b71143db0091c9baf62de SHA512 fc4bc4a062313a7e33943ace27287ba6e551727f0cf81d9a18f9f8c2f57b0ae00bd0d8619a65f596d75d4869fea757fedae3efdd8ba3ced58fa28b7cf93b3a85
|
||||
DIST jre-9.0.4_solaris-sparcv9_bin.tar.gz 54879298 BLAKE2B fb3ce1eefdb12378b28f5af0f0bbc1d9f3252eee5646be237b2ddc0ead37ed253fb73900475777c3f67d39b47112e0c2db2a18f6a05da7c5c19cd965e5513827 SHA512 709219f51d7455c127a38953babad39b344dee1275ad0fe65a0116e8fb15a10482589ba881ccae7910acff8f00aa7856c726c03daa8f3947d742bbbc09a276dd
|
||||
|
@ -0,0 +1,220 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit desktop gnome2-utils java-vm-2 prefix versionator
|
||||
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
if [[ "$(get_version_component_range 4)" == 0 ]] ; then
|
||||
S_PV="$(get_version_component_range 1-3)"
|
||||
else
|
||||
MY_PV_EXT="u$(get_version_component_range 4)"
|
||||
S_PV="$(get_version_component_range 1-4)"
|
||||
fi
|
||||
|
||||
MY_PV="$(get_version_component_range 2)${MY_PV_EXT}"
|
||||
|
||||
declare -A ARCH_FILES
|
||||
ARCH_FILES[amd64]="jre-${MY_PV}-linux-x64.tar.gz"
|
||||
ARCH_FILES[x86]="jre-${MY_PV}-linux-i586.tar.gz"
|
||||
|
||||
for keyword in ${KEYWORDS//-\*} ; do
|
||||
SRC_URI+=" ${keyword#\~}? ( ${ARCH_FILES[${keyword#\~}]} )"
|
||||
done
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Runtime Environment"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
SLOT="1.8"
|
||||
IUSE="alsa commercial cups +fontconfig headless-awt javafx jce nsplugin selinux"
|
||||
RESTRICT="fetch preserve-libs strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
# NOTES:
|
||||
#
|
||||
# * cups is dlopened.
|
||||
#
|
||||
# * libpng is also dlopened but only by libsplashscreen, which isn't
|
||||
# important, so we can exclude that.
|
||||
#
|
||||
# * We still need to work out the exact AWT and JavaFX dependencies
|
||||
# under MacOS. It doesn't appear to use many, if any, of the
|
||||
# dependencies below.
|
||||
#
|
||||
RDEPEND="!x64-macos? (
|
||||
!headless-awt? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
)
|
||||
javafx? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
media-libs/freetype:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/pango
|
||||
virtual/opengl
|
||||
)
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
||||
!prefix? ( sys-libs/glibc:* )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
DEPEND="app-arch/zip"
|
||||
|
||||
S="${WORKDIR}/jre$(replace_version_separator 3 _ ${S_PV})"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ARCH_FILES[${ARCH}]} and move it to"
|
||||
einfo "${DISTDIR}:"
|
||||
einfo
|
||||
einfo " http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html"
|
||||
einfo
|
||||
einfo "If the above mentioned URL does not point to the correct version anymore,"
|
||||
einfo "please download the file from Oracle's Java download archive:"
|
||||
einfo
|
||||
einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html"
|
||||
einfo
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Remove the hook that calls Oracle's evil usage tracker. Not just
|
||||
# because it's evil but because it breaks the sandbox during builds
|
||||
# and we can't find any other feasible way to disable it or make it
|
||||
# write somewhere else. See bug #559936 for details.
|
||||
zip -d lib/rt.jar sun/misc/PostVMInitHook.class || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest#/}"
|
||||
|
||||
# Create files used as storage for system preferences.
|
||||
mkdir .systemPrefs || die
|
||||
touch .systemPrefs/.system.lock || die
|
||||
touch .systemPrefs/.systemRootModFile || die
|
||||
|
||||
if ! use alsa ; then
|
||||
rm -vf lib/*/libjsoundalsa.* || die
|
||||
fi
|
||||
|
||||
if ! use commercial ; then
|
||||
rm -vfr lib/jfr* || die
|
||||
fi
|
||||
|
||||
if use headless-awt ; then
|
||||
rm -vf lib/*/lib*{[jx]awt,splashscreen}* \
|
||||
bin/{javaws,policytool} || die
|
||||
fi
|
||||
|
||||
if ! use javafx ; then
|
||||
rm -vf lib/*/lib*{decora,fx,glass,prism}* \
|
||||
lib/*/libgstreamer-lite.* lib/{,ext/}*fx* || die
|
||||
fi
|
||||
|
||||
if ! use nsplugin ; then
|
||||
rm -vf lib/*/libnpjp2.* || die
|
||||
else
|
||||
local nsplugin=$(echo lib/*/libnpjp2.*)
|
||||
local nsplugin_link=${nsplugin##*/}
|
||||
nsplugin_link=${nsplugin_link/./-${PN}-${SLOT}.}
|
||||
dosym "${dest}/${nsplugin}" "/usr/$(get_libdir)/nsbrowser/plugins/${nsplugin_link}"
|
||||
fi
|
||||
|
||||
# Even though plugins linked against multiple ffmpeg versions are
|
||||
# provided, they generally lag behind what Gentoo has available.
|
||||
rm -vf lib/*/libavplugin* || die
|
||||
|
||||
# Prune all fontconfig files so that libfontconfig will be used.
|
||||
rm -v lib/fontconfig.* || die
|
||||
|
||||
# Install desktop file for the Java Control Panel. Using
|
||||
# ${PN}-${SLOT} to prevent file collision with JDK and other slots.
|
||||
if [[ -d lib/desktop/icons ]] ; then
|
||||
local icon
|
||||
pushd lib/desktop/icons >/dev/null || die
|
||||
for icon in */*/apps/sun-jcontrol.png ; do
|
||||
insinto /usr/share/icons/"${icon%/*}"
|
||||
newins "${icon}" sun-jcontrol-${PN}-${SLOT}.png
|
||||
done
|
||||
popd >/dev/null || die
|
||||
make_desktop_entry \
|
||||
"${dest}"/bin/jcontrol \
|
||||
"Java Control Panel for Oracle JRE ${SLOT}" \
|
||||
sun-jcontrol-${PN}-${SLOT} \
|
||||
"Settings;Java;"
|
||||
fi
|
||||
|
||||
dodoc COPYRIGHT
|
||||
dodir "${dest}"
|
||||
cp -pPR bin lib man "${ddest}" || die
|
||||
|
||||
ln -s policy/$(usex jce unlimited limited)/{US_export,local}_policy.jar \
|
||||
"${ddest}"/lib/security/ || die
|
||||
|
||||
# Only install Gentoo-specific fontconfig if flag is disabled.
|
||||
# https://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html
|
||||
if ! use fontconfig ; then
|
||||
insinto "${dest}"/lib/
|
||||
doins "$(prefixify_ro "${FILESDIR}"/fontconfig.Gentoo.properties)"
|
||||
fi
|
||||
|
||||
# Needs to be done before CDS, bug #215225.
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# See bug #207282.
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
case ${ARCH} in
|
||||
arm|ia64)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
;;
|
||||
x86)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
# limit heap size for large memory on x86 #467518
|
||||
# this is a workaround and shouldn't be needed.
|
||||
${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die
|
||||
;;
|
||||
*)
|
||||
${ddest}/bin/java -server -Xshare:dump || die
|
||||
;;
|
||||
esac
|
||||
|
||||
# Remove empty dirs we might have copied.
|
||||
find "${D}" -type d -empty -exec rmdir -v {} + || die
|
||||
|
||||
java-vm_install-env "${FILESDIR}"/${PN}.env.sh
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
if ! use headless-awt && ! use javafx ; then
|
||||
ewarn "You have disabled the javafx flag. Some modern desktop Java applications"
|
||||
ewarn "require this and they may fail with a confusing error message."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
java-vm-2_pkg_postrm
|
||||
}
|
Binary file not shown.
@ -0,0 +1,111 @@
|
||||
From b5b6c7695c5377b5aa474d8620df7c3e9a1ba629 Mon Sep 17 00:00:00 2001
|
||||
From: Hans Nilsson <hans@erlang.org>
|
||||
Date: Thu, 11 Jan 2018 15:29:23 +0100
|
||||
Subject: [PATCH] crypto: Disable RSA sslv23 padding for LibreSSL >= 2.6.1
|
||||
|
||||
Not supported in newer LibreSSL.
|
||||
---
|
||||
lib/crypto/c_src/crypto.c | 26 +++++++++++++++++++++++---
|
||||
1 file changed, 23 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
|
||||
index 6957d25774..9a3ea07c97 100644
|
||||
--- a/lib/crypto/c_src/crypto.c
|
||||
+++ b/lib/crypto/c_src/crypto.c
|
||||
@@ -179,6 +179,12 @@
|
||||
# define HAVE_ECB_IVEC_BUG
|
||||
#endif
|
||||
|
||||
+#define HAVE_RSA_SSLV23_PADDING
|
||||
+#if defined(HAS_LIBRESSL) \
|
||||
+ && LIBRESSL_VERSION_NUMBER >= PACKED_OPENSSL_VERSION_PLAIN(2,6,1)
|
||||
+# undef HAVE_RSA_SSLV23_PADDING
|
||||
+#endif
|
||||
+
|
||||
#if defined(HAVE_CMAC)
|
||||
#include <openssl/cmac.h>
|
||||
#endif
|
||||
@@ -659,7 +665,9 @@ static ERL_NIF_TERM atom_rsa_oaep_md;
|
||||
static ERL_NIF_TERM atom_rsa_pad; /* backwards compatibility */
|
||||
static ERL_NIF_TERM atom_rsa_padding;
|
||||
static ERL_NIF_TERM atom_rsa_pkcs1_pss_padding;
|
||||
+#ifdef HAVE_RSA_SSLV23_PADDING
|
||||
static ERL_NIF_TERM atom_rsa_sslv23_padding;
|
||||
+#endif
|
||||
static ERL_NIF_TERM atom_rsa_x931_padding;
|
||||
static ERL_NIF_TERM atom_rsa_pss_saltlen;
|
||||
static ERL_NIF_TERM atom_sha224;
|
||||
@@ -1064,7 +1072,9 @@ static int initialize(ErlNifEnv* env, ERL_NIF_TERM load_info)
|
||||
atom_rsa_pad = enif_make_atom(env,"rsa_pad"); /* backwards compatibility */
|
||||
atom_rsa_padding = enif_make_atom(env,"rsa_padding");
|
||||
atom_rsa_pkcs1_pss_padding = enif_make_atom(env,"rsa_pkcs1_pss_padding");
|
||||
+#ifdef HAVE_RSA_SSLV23_PADDING
|
||||
atom_rsa_sslv23_padding = enif_make_atom(env,"rsa_sslv23_padding");
|
||||
+#endif
|
||||
atom_rsa_x931_padding = enif_make_atom(env,"rsa_x931_padding");
|
||||
atom_rsa_pss_saltlen = enif_make_atom(env,"rsa_pss_saltlen");
|
||||
atom_sha224 = enif_make_atom(env,"sha224");
|
||||
@@ -4449,8 +4459,10 @@ static int get_pkey_crypt_options(ErlNifEnv *env, ERL_NIF_TERM algorithm, ERL_NI
|
||||
opt->rsa_padding = RSA_PKCS1_PADDING;
|
||||
} else if (tpl_terms[1] == atom_rsa_pkcs1_oaep_padding) {
|
||||
opt->rsa_padding = RSA_PKCS1_OAEP_PADDING;
|
||||
+#ifdef HAVE_RSA_SSLV23_PADDING
|
||||
} else if (tpl_terms[1] == atom_rsa_sslv23_padding) {
|
||||
opt->rsa_padding = RSA_SSLV23_PADDING;
|
||||
+#endif
|
||||
} else if (tpl_terms[1] == atom_rsa_x931_padding) {
|
||||
opt->rsa_padding = RSA_X931_PADDING;
|
||||
} else if (tpl_terms[1] == atom_rsa_no_padding) {
|
||||
@@ -4516,7 +4528,10 @@ static ERL_NIF_TERM pkey_crypt_nif(ErlNifEnv *env, int argc, const ERL_NIF_TERM
|
||||
#endif
|
||||
PKeyCryptOptions crypt_opt;
|
||||
ErlNifBinary in_bin, out_bin, tmp_bin;
|
||||
- size_t outlen, tmplen;
|
||||
+ size_t outlen;
|
||||
+#ifdef HAVE_RSA_SSLV23_PADDING
|
||||
+ size_t tmplen;
|
||||
+#endif
|
||||
int is_private = (argv[4] == atom_true),
|
||||
is_encrypt = (argv[5] == atom_true);
|
||||
int algo_init = 0;
|
||||
@@ -4596,6 +4611,7 @@ static ERL_NIF_TERM pkey_crypt_nif(ErlNifEnv *env, int argc, const ERL_NIF_TERM
|
||||
if (crypt_opt.signature_md != NULL
|
||||
&& EVP_PKEY_CTX_set_signature_md(ctx, crypt_opt.signature_md) <= 0)
|
||||
goto badarg;
|
||||
+#ifdef HAVE_RSA_SSLV23_PADDING
|
||||
if (crypt_opt.rsa_padding == RSA_SSLV23_PADDING) {
|
||||
if (is_encrypt) {
|
||||
RSA *rsa = EVP_PKEY_get1_RSA(pkey);
|
||||
@@ -4607,9 +4623,11 @@ static ERL_NIF_TERM pkey_crypt_nif(ErlNifEnv *env, int argc, const ERL_NIF_TERM
|
||||
in_bin = tmp_bin;
|
||||
}
|
||||
if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_NO_PADDING) <= 0) goto badarg;
|
||||
- } else {
|
||||
+ } else
|
||||
+#endif
|
||||
+ {
|
||||
if (EVP_PKEY_CTX_set_rsa_padding(ctx, crypt_opt.rsa_padding) <= 0) goto badarg;
|
||||
- }
|
||||
+ }
|
||||
#ifdef HAVE_RSA_OAEP_MD
|
||||
if (crypt_opt.rsa_padding == RSA_PKCS1_OAEP_PADDING) {
|
||||
if (crypt_opt.rsa_oaep_md != NULL
|
||||
@@ -4728,6 +4746,7 @@ static ERL_NIF_TERM pkey_crypt_nif(ErlNifEnv *env, int argc, const ERL_NIF_TERM
|
||||
#endif
|
||||
|
||||
if ((i > 0) && argv[0] == atom_rsa && !is_encrypt) {
|
||||
+#ifdef HAVE_RSA_SSLV23_PADDING
|
||||
if (crypt_opt.rsa_padding == RSA_SSLV23_PADDING) {
|
||||
RSA *rsa = EVP_PKEY_get1_RSA(pkey);
|
||||
unsigned char *p;
|
||||
@@ -4745,6 +4764,7 @@ static ERL_NIF_TERM pkey_crypt_nif(ErlNifEnv *env, int argc, const ERL_NIF_TERM
|
||||
i = 1;
|
||||
}
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
|
||||
if (tmp_bin.data != NULL) {
|
||||
--
|
||||
2.16.0
|
||||
|
@ -0,0 +1,165 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit prefix toolchain-funcs
|
||||
|
||||
HOMEPAGE="https://www.freepascal.org/"
|
||||
DESCRIPTION="Free Pascal Compiler"
|
||||
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz
|
||||
mirror://sourceforge/freepascal/fpc-${PV}.source.tar.gz
|
||||
amd64? ( mirror://sourceforge/freepascal/${P}.x86_64-linux.tar )
|
||||
x86? ( mirror://sourceforge/freepascal/${P}.i386-linux.tar )
|
||||
doc? ( mirror://sourceforge/freepascal/Documentation/${PV}/doc-html.tar.gz -> ${P}-doc-html.tar.gz )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc ide source"
|
||||
|
||||
RDEPEND="ide? ( !dev-lang/fpc-ide )"
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
S=${WORKDIR}/fpcbuild-${PV}/fpcsrc
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
# Bug 475210
|
||||
if $(tc-getLD) --version | grep -q "GNU gold"; then
|
||||
eerror "fpc does not function correctly when built with the gold linker."
|
||||
eerror "Please select the bfd linker with binutils-config."
|
||||
die "GNU gold detected"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
case ${ARCH} in
|
||||
amd64) FPC_ARCH="x86_64" PV_BIN=${PV} ;;
|
||||
x86) FPC_ARCH="i386" PV_BIN=${PV} ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
unpack ${A}
|
||||
|
||||
tar -xf ${PN}-${PV_BIN}.${FPC_ARCH}-linux/binary.${FPC_ARCH}-linux.tar || die "Unpacking binary.${FPC_ARCH}-linux.tar failed!"
|
||||
tar -xzf base.${FPC_ARCH}-linux.tar.gz || die "Unpacking base.${FPC_ARCH}-linux.tar.gz failed!"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
find "${WORKDIR}" -name Makefile -exec sed -i -e 's/ -Xs / /g' {} + || die
|
||||
|
||||
# let the pkg manager compress man files
|
||||
sed -i '/find man.* gzip /d' "${WORKDIR}"/fpcbuild-${PV}/install/man/Makefile || die
|
||||
|
||||
# make the compiled binary check for fpc.cfg under the prefixed /etc/ path
|
||||
hprefixify "${WORKDIR}"/fpcbuild-${PV}/fpcsrc/compiler/options.pas
|
||||
}
|
||||
|
||||
set_pp() {
|
||||
case ${ARCH} in
|
||||
amd64) FPC_ARCH="x64" FPC_PARCH="x86_64" ;;
|
||||
x86) FPC_ARCH="386" FPC_PARCH="i386" ;;
|
||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||
esac
|
||||
|
||||
case ${1} in
|
||||
bootstrap) pp="${WORKDIR}"/lib/fpc/${PV_BIN}/ppc${FPC_ARCH} ;;
|
||||
new) pp="${S}"/compiler/ppc${FPC_ARCH} ;;
|
||||
*) die "set_pp: unknown argument: ${1}" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local pp
|
||||
|
||||
# Using the bootstrap compiler.
|
||||
set_pp bootstrap
|
||||
|
||||
emake -j1 PP="${pp}" compiler_cycle AS="$(tc-getAS)"
|
||||
|
||||
# Save new compiler from cleaning...
|
||||
cp "${S}"/compiler/ppc${FPC_ARCH} "${S}"/ppc${FPC_ARCH}.new || die
|
||||
|
||||
# ...rebuild with current version...
|
||||
emake -j1 PP="${S}"/ppc${FPC_ARCH}.new AS="$(tc-getAS)" compiler_cycle
|
||||
|
||||
# ..and clean up afterwards
|
||||
rm "${S}"/ppc${FPC_ARCH}.new || die
|
||||
|
||||
# Using the new compiler.
|
||||
set_pp new
|
||||
|
||||
emake -j1 PP="${pp}" AS="$(tc-getAS)" rtl_clean
|
||||
|
||||
emake -j1 PP="${pp}" AS="$(tc-getAS)" rtl packages_all utils
|
||||
|
||||
if use ide ; then
|
||||
cd "${S}"/ide || die
|
||||
emake -j1 PP="${pp}" AS="$(tc-getAS)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local pp
|
||||
set_pp new
|
||||
|
||||
#fpcbuild-3.0.0/utils/fpcm/fpcmake
|
||||
#${WORKDIR}/${PN}build-${PV}/utils/fpcm/fpcmake"
|
||||
#fpcbuild-3.0.0/fpcsrc/utils/fpcm/bin/x86_64-linux/fpcmake
|
||||
set -- PP="${pp}" FPCMAKE="${S}/utils/fpcm/bin/${FPC_PARCH}-linux/fpcmake" \
|
||||
INSTALL_PREFIX="${ED}"/usr \
|
||||
INSTALL_DOCDIR="${ED}"/usr/share/doc/${PF} \
|
||||
INSTALL_MANDIR="${ED}"/usr/share/man \
|
||||
INSTALL_SOURCEDIR="${ED}"/usr/lib/fpc/${PV}/source
|
||||
|
||||
emake -j1 "$@" compiler_install rtl_install packages_install utils_install
|
||||
|
||||
dosym ../lib/fpc/${PV}/ppc${FPC_ARCH} /usr/bin/ppc${FPC_ARCH}
|
||||
|
||||
cd "${S}"/../install/doc || die
|
||||
emake -j1 "$@" installdoc
|
||||
|
||||
cd "${S}"/../install/man || die
|
||||
emake -j1 "$@" installman
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}"/../../doc || die
|
||||
dodoc -r *
|
||||
fi
|
||||
|
||||
if use ide ; then
|
||||
cd "${S}"/ide || die
|
||||
emake -j1 "$@" install
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cd "${S}" || die
|
||||
shift
|
||||
emake -j1 PP="${ED}"/usr/bin/ppc${FPC_ARCH} "$@" sourceinstall
|
||||
find "${ED}"/usr/lib/fpc/${PV}/source -name '*.o' -exec rm {} \;
|
||||
fi
|
||||
|
||||
"${ED}"/usr/lib/fpc/${PV}/samplecfg "${ED}"/usr/lib/fpc/${PV} "${ED}"/etc || die
|
||||
|
||||
# set correct (prefixed) path for e.g. unit files
|
||||
sed -i "s:${ED}:${EPREFIX}:g" "${ED}"/etc/fpc.cfg || die
|
||||
|
||||
if use ide ; then
|
||||
sed -e "s:${ED}::g" \
|
||||
-i "${ED}"/etc/fppkg.cfg \
|
||||
-i "${ED}"/etc/fppkg/* \
|
||||
-i "${ED}"/usr/lib/fpc/${PV}/ide/text/fp*.cfg \
|
||||
|| die
|
||||
fi
|
||||
|
||||
rm -r "${ED}"/usr/lib/fpc/lexyacc || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] && use ide; then
|
||||
einfo "To read the documentation in the fpc IDE, enable the doc USE flag"
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST lazarus-1.0.12-0.tar.gz 47687878 BLAKE2B 7a230f8ad433fefd514d8fca128e1ad127ea2a232c2061080d4146b5276ef82bd442be6a522a5eb4a9221338e8d13cf9d3cc954f712dfbc521d8fd74b07389f7 SHA512 2a106c4bff2135ace815f789057f25fea1902edc972503e883547d7cc6d50b585ae54676cba734cce616064864ce535b3a4fcd7892763d15aafdf262dbe24293
|
||||
DIST lazarus-1.6.2-0.tar.gz 55949169 BLAKE2B e8d4c4f786bffea4eec9ed326ba00acca93823bb5353627459f4923b5519d754729c84499a731c9559142294d94252365676ee69daf1f2e33ca386c765f78f48 SHA512 9fb428ac5b38c0c37f909aaf06a43343f3231e9209318faf565cc08ac498c0dfb136a2f6266d437f93b5cf81e6281d747a234fef399fc6d2cb044b13397562d9
|
||||
DIST lazarus-1.6.4-0.tar.gz 57180961 BLAKE2B 930beda6ad04999e749fe4b76a64ab00b0138c18b0f3aea0cbac089ecb3f419aa4165d06757d6ee2d3c6e43401f2be5e154947d07f892a6bc5f4bb8831bad62d SHA512 d7d498483ef9e1eebd0d8ca2325d1984cb1297837ebe2f9547e67f26fc049c2168e2feeac739b8403c08a8251040e9161c962d25951545384ffbdbb076fda2aa
|
||||
DIST lazarus-1.8.0.tar.gz 62114372 BLAKE2B 8593e384ef5e311f3a777422a255e292d2d4c240baac0cb12778bb23e59d76301d75c9133585fd45af3ad0290b242ed5640a6dd9b27e1197d325e2ae5845495f SHA512 dd5e02e9c0a057cf9a6b2c15605969cf4cb743aa78fc81bfdc7c566434127893cf32bab5bd1729f79b51c611bf9ae015bea8d774e0544ead42a064f1224ffd7b
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit desktop
|
||||
|
||||
FPCVER="3.0.4"
|
||||
|
||||
DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi"
|
||||
HOMEPAGE="https://www.lazarus-ide.org/"
|
||||
SRC_URI="https://sourceforge.net/projects/${PN}/files/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="minimal"
|
||||
|
||||
DEPEND=">=dev-lang/fpc-${FPCVER}[source]
|
||||
net-misc/rsync
|
||||
x11-libs/gtk+:2
|
||||
>=sys-devel/binutils-2.19.1-r1:="
|
||||
RDEPEND="${DEPEND}
|
||||
!=gnome-base/librsvg-2.16.1"
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Use default configuration (minus stripping) unless specifically requested otherwise
|
||||
if ! test ${PPC_CONFIG_PATH+set} ; then
|
||||
local FPCVER=$(fpc -iV)
|
||||
export PPC_CONFIG_PATH="${WORKDIR}"
|
||||
sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
|
||||
sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
|
||||
#sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
LCL_PLATFORM=gtk2 emake \
|
||||
$(usex minimal "" "bigide") \
|
||||
-j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
diropts -m0755
|
||||
dodir /usr/share
|
||||
# Using rsync to avoid unnecessary copies and cleaning...
|
||||
# Note: *.o and *.ppu are needed
|
||||
rsync -a \
|
||||
--exclude="CVS" --exclude=".cvsignore" \
|
||||
--exclude="*.ppw" --exclude="*.ppl" \
|
||||
--exclude="*.ow" --exclude="*.a"\
|
||||
--exclude="*.rst" --exclude=".#*" \
|
||||
--exclude="*.~*" --exclude="*.bak" \
|
||||
--exclude="*.orig" --exclude="*.rej" \
|
||||
--exclude=".xvpics" --exclude="*.compiled" \
|
||||
--exclude="killme*" --exclude=".gdb_hist*" \
|
||||
--exclude="debian" --exclude="COPYING*" \
|
||||
--exclude="*.app" \
|
||||
"${S}" "${ED%/}"/usr/share \
|
||||
|| die "Unable to copy files!"
|
||||
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/lazarus
|
||||
dosym ../share/lazarus/lazbuild /usr/bin/lazbuild
|
||||
use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp
|
||||
dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png
|
||||
|
||||
make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST orc-0.4.27.tar.xz 465116 BLAKE2B 1289867c84371797350847e1ae71a002ec250abc56611fe6ec8d263ff64e17ed8d990f45adfbf6d1a0c7e98c2e6ec30c3135e433f00e9fa53cecce359f5b2d72 SHA512 5ca0b4553e370ea7c95acfc8248d9d568dafc9577041d47f52c7d0945456c534e18e0e80d28df9301d6deac1ea4f8ea6a51ca373b32927c8724846d8ec1f73e8
|
||||
DIST orc-0.4.28.tar.xz 469460 BLAKE2B 86fa2d10a33fbffbb2b96827adbddaa81d0baa8135fe21fba338cbcd25a1c1e853873ec1c4ef5c0a32d66ba95f855f1f16ddbc32f68a89e5a98c75b9b0261aa7 SHA512 2ae3100e7d0c03eba9a8a10a8924da4d729e1967b63e5dfdf88c4aee907d7ece82c782d74f4cb7e28a366dd74ce5e1ddc6e2b971e5a2f879b0501cc313b93410
|
||||
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils flag-o-matic multilib-minimal pax-utils
|
||||
|
||||
DESCRIPTION="The Oil Runtime Compiler, a just-in-time compiler for array operations"
|
||||
HOMEPAGE="https://gstreamer.freedesktop.org/"
|
||||
SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples pax_kernel static-libs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
>=dev-util/gtk-doc-am-1.12
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Do not build examples
|
||||
sed -e '/SUBDIRS/ s:examples::' \
|
||||
-i Makefile.am Makefile.in || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# any optimisation on PPC/Darwin yields in a complaint from the assembler
|
||||
# Parameter error: r0 not allowed for parameter %lu (code as 0 not r0)
|
||||
# the same for Intel/Darwin, although the error message there is different
|
||||
# but along the same lines
|
||||
[[ ${CHOST} == *-darwin* ]] && filter-flags -O*
|
||||
|
||||
# FIXME: handle backends per arch? What about cross-compiling for the other arches?
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-gtk-doc \
|
||||
--enable-backend=all \
|
||||
$(use_enable static-libs static)
|
||||
# TODO: bug #645232 - Not ready for this yet, as it installs some headers to live and gst-plugins-base:0.10 includes some
|
||||
# Additionally it doesn't seem good that FEATURES=test would change what files are installed (headers + orctest.so + orc-bugreport)
|
||||
# $(use_enable test tests)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
prune_libtool_files --all
|
||||
|
||||
if use pax_kernel; then
|
||||
pax-mark m "${ED}"usr/bin/orc-bugreport
|
||||
pax-mark m "${ED}"usr/bin/orcc
|
||||
pax-mark m "${ED}"usr/$(get_libdir)/liborc*.so*
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/{*.c,*.orc}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use pax_kernel; then
|
||||
ewarn "Please run \"revdep-pax\" after installation".
|
||||
ewarn "It's provided by sys-apps/elfix."
|
||||
fi
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
DESCRIPTION="Simplified Wrapper and Interface Generator"
|
||||
HOMEPAGE="http://www.swig.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2"
|
||||
SLOT="1"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="ccache doc"
|
||||
RESTRICT="test"
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare () {
|
||||
rm -v aclocal.m4 || die "Unable to remove aclocal.m4"
|
||||
./autogen.sh || die "Autogen script failed"
|
||||
|
||||
# Use swig1.3 as binary instead of swig
|
||||
sed -i -e 's:TARGET_NOEXE= swig:TARGET_NOEXE= swig1.3:' Makefile.in
|
||||
sed -i -e 's:/swig@EXEEXT@:/swig1.3@EXEEXT@:g' Source/Makefile.{am,in}
|
||||
sed -i -e "s:PACKAGE_NAME='ccache-swig':PACKAGE_NAME='ccache-swig1.3':" CCache/configure
|
||||
mv CCache/ccache-swig.1 CCache/ccache-swig1.3.1
|
||||
}
|
||||
|
||||
src_configure () {
|
||||
econf \
|
||||
$(use_enable ccache)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "target install failed"
|
||||
dodoc ANNOUNCE CHANGES CHANGES.current FUTURE NEW README TODO || die "dodoc failed"
|
||||
if use doc; then
|
||||
dohtml -r Doc/{Devel,Manual} || die "Failed to install html documentation"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST boost_1_62_0.tar.bz2 84513338 BLAKE2B 00f2ddf93d254183709a5e607d5cec5d135bdcddebac15fc3b1522e37b9e58d8df84f1977fee5b085309db58634861f2014e72822e755dd7789e8489fef19f7c SHA512 5385ae3d5255a433a704169ad454d8dc2b0b5bcae3fb23defd6570df4ff7d845cf9fcbeebccdc1c5db0eec9f82ee3d90040de9507c8167467c635d3b215463be
|
||||
DIST boost_1_63_0.tar.bz2 81984414 BLAKE2B 227c4432bd3ca0eb390048ec85047958fcb6ae289996501812cd8b13bf74bbe9b677d0110948265cab59a60deb36c4fc08440af74ac5a5219ea4eaea4fa6918f SHA512 c915c5f5778dee49b8e9d0a40f37f90f56fb1fdb1d8ce92d97bf48bc7bc462212487badfe4bbe30b06196d1149cfb221da12ac54e97499b0d4cb6466813bb4ad
|
||||
DIST boost_1_65_0.tar.bz2 82597718 BLAKE2B 0080956d6ad2f14130ce4a4734b1bd1ce83d3651b226653689e02770baa83cf11811ef4e44948ff68a168d9ce5cbfaea4f758970df2b4e9faa2d410181885f5b SHA512 7142650fb8d61e3ef16ba066fc918e087f19e9bc2ad1d6a11fb10bf0d6b1b5ad05ab032f076a5233a1624b3669e952b2cc38b7dc074bbf53018e2970ee90fcdd
|
||||
|
@ -1,444 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit eutils flag-o-matic multiprocessing python-r1 toolchain-funcs versionator multilib-minimal
|
||||
|
||||
MY_P="${PN}_$(replace_all_version_separators _)"
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
|
||||
DESCRIPTION="Boost Libraries for C++"
|
||||
HOMEPAGE="http://www.boost.org/"
|
||||
SRC_URI="https://downloads.sourceforge.net/project/boost/${PN}/${PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris ~x86-winnt"
|
||||
|
||||
IUSE="context debug doc icu +nls mpi python static-libs +threads tools"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
|
||||
!icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
|
||||
mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
app-arch/bzip2[${MULTILIB_USEDEP}]
|
||||
sys-libs/zlib[${MULTILIB_USEDEP}]
|
||||
!app-admin/eselect-boost"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-util/boost-build-${MAJOR_V}*"
|
||||
REQUIRED_USE="
|
||||
mpi? ( threads )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# the tests will never fail because these are not intended as sanity
|
||||
# tests at all. They are more a way for upstream to check their own code
|
||||
# on new compilers. Since they would either be completely unreliable
|
||||
# (failing for no good reason) or completely useless (never failing)
|
||||
# there is no point in having them in the ebuild to begin with.
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch"
|
||||
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch"
|
||||
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch"
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch"
|
||||
"${FILESDIR}/${PN}-1.48.0-python_linking.patch"
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch"
|
||||
"${FILESDIR}/${PN}-1.55.0-context-x32.patch"
|
||||
"${FILESDIR}/${PN}-1.56.0-build-auto_index-tool.patch"
|
||||
)
|
||||
|
||||
python_bindings_needed() {
|
||||
multilib_is_native_abi && use python
|
||||
}
|
||||
|
||||
tools_needed() {
|
||||
multilib_is_native_abi && use tools
|
||||
}
|
||||
|
||||
create_user-config.jam() {
|
||||
local compiler compiler_version compiler_executable
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
compiler="darwin"
|
||||
compiler_version="$(gcc-fullversion)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
else
|
||||
compiler="gcc"
|
||||
compiler_version="$(gcc-version)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
fi
|
||||
local mpi_configuration python_configuration
|
||||
|
||||
if use mpi; then
|
||||
mpi_configuration="using mpi ;"
|
||||
fi
|
||||
|
||||
if python_bindings_needed; then
|
||||
# boost expects libpython$(pyver) and doesn't allow overrides
|
||||
# and the build system is so creepy that it's easier just to
|
||||
# provide a symlink (linker's going to use SONAME anyway)
|
||||
# TODO: replace it with proper override one day
|
||||
ln -f -s "$(python_get_library_path)" "${T}/lib${EPYTHON}$(get_libname)" || die
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
python_configuration="using python : ${EPYTHON#python} : : ${SYSROOT:-${EROOT}}/usr/include/${EPYTHON} : ${SYSROOT:-${EROOT}}/usr/$(get_libdir) ;"
|
||||
else
|
||||
# note: we need to provide version explicitly because of
|
||||
# a bug in the build system:
|
||||
# https://github.com/boostorg/build/pull/104
|
||||
python_configuration="using python : ${EPYTHON#python} : ${PYTHON} : $(python_get_includedir) : ${T} ;"
|
||||
fi
|
||||
fi
|
||||
|
||||
cat > "${BOOST_ROOT}/user-config.jam" << __EOF__ || die
|
||||
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
|
||||
${mpi_configuration}
|
||||
${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Bail out on unsupported build configuration, bug #456792
|
||||
if [[ -f "${EROOT%/}/etc/site-config.jam" ]]; then
|
||||
grep -q gentoorelease "${EROOT%/}/etc/site-config.jam" && grep -q gentoodebug "${EROOT%/}/etc/site-config.jam" ||
|
||||
(
|
||||
eerror "You are using custom ${EROOT%/}/etc/site-config.jam without defined gentoorelease/gentoodebug targets."
|
||||
eerror "Boost can not be built in such configuration."
|
||||
eerror "Please, either remove this file or add targets from ${EROOT%/}/usr/share/boost-build/site-config.jam to it."
|
||||
die
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Do not try to build missing 'wave' tool, bug #522682
|
||||
# Upstream bugreport - https://svn.boost.org/trac/boost/ticket/10507
|
||||
sed -i -e 's:wave/build//wave::' tools/Jamfile.v2 || die
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
ejam() {
|
||||
local b2_opts=(
|
||||
"--user-config=${BOOST_ROOT}/user-config.jam"
|
||||
"$@"
|
||||
)
|
||||
echo b2 "${b2_opts[@]}"
|
||||
b2 "${b2_opts[@]}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround for too many parallel processes requested, bug #506064
|
||||
[[ "$(makeopts_jobs)" -gt 64 ]] && MAKEOPTS="${MAKEOPTS} -j64"
|
||||
|
||||
OPTIONS=(
|
||||
$(usex debug gentoodebug gentoorelease)
|
||||
"-j$(makeopts_jobs)"
|
||||
-q
|
||||
-d+2
|
||||
)
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
# We need to add the prefix, and in two cases this exceeds, so prepare
|
||||
# for the largest possible space allocation.
|
||||
append-ldflags -Wl,-headerpad_max_install_names
|
||||
elif [[ ${CHOST} == *-winnt* ]]; then
|
||||
compiler=parity
|
||||
if [[ $($(tc-getCXX) -v) == *trunk* ]]; then
|
||||
compilerVersion=trunk
|
||||
else
|
||||
compilerVersion=$($(tc-getCXX) -v | sed '1q' \
|
||||
| sed -e 's,\([a-z]*\) \([0-9]\.[0-9]\.[0-9][^ \t]*\) .*,\2,')
|
||||
fi
|
||||
compilerExecutable=$(tc-getCXX)
|
||||
fi
|
||||
|
||||
# bug 298489
|
||||
if use ppc || use ppc64; then
|
||||
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
|
||||
fi
|
||||
|
||||
# Use C++14 globally as of 1.62
|
||||
append-cxxflags -std=c++14
|
||||
|
||||
use icu && OPTIONS+=(
|
||||
"-sICU_PATH=${EPREFIX}/usr"
|
||||
)
|
||||
use icu || OPTIONS+=(
|
||||
--disable-icu
|
||||
boost.locale.icu=off
|
||||
)
|
||||
use mpi || OPTIONS+=(
|
||||
--without-mpi
|
||||
)
|
||||
use nls || OPTIONS+=(
|
||||
--without-locale
|
||||
)
|
||||
use context || OPTIONS+=(
|
||||
--without-context
|
||||
--without-coroutine
|
||||
--without-coroutine2
|
||||
--without-fiber
|
||||
)
|
||||
use threads || OPTIONS+=(
|
||||
--without-thread
|
||||
)
|
||||
|
||||
OPTIONS+=(
|
||||
pch=off
|
||||
--boost-build="${EPREFIX}"/usr/share/boost-build
|
||||
--prefix="${ED%/}/usr"
|
||||
--layout=system
|
||||
# building with threading=single is currently not possible
|
||||
# https://svn.boost.org/trac/boost/ticket/7105
|
||||
threading=multi
|
||||
link=$(usex static-libs shared,static shared)
|
||||
)
|
||||
|
||||
[[ ${CHOST} == *-winnt* ]] && OPTIONS+=(
|
||||
-sNO_BZIP2=1
|
||||
)
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
local -x BOOST_ROOT="${BUILD_DIR}"
|
||||
PYTHON_DIRS=""
|
||||
MPI_PYTHON_MODULE=""
|
||||
|
||||
building() {
|
||||
create_user-config.jam
|
||||
|
||||
local PYTHON_OPTIONS
|
||||
if python_bindings_needed; then
|
||||
PYTHON_OPTIONS=" --python-buildid=${EPYTHON#python}"
|
||||
else
|
||||
PYTHON_OPTIONS=" --without-python"
|
||||
fi
|
||||
|
||||
ejam \
|
||||
"${OPTIONS[@]}" \
|
||||
${PYTHON_OPTIONS} \
|
||||
|| die "Building of Boost libraries failed"
|
||||
|
||||
if python_bindings_needed; then
|
||||
if [[ -z "${PYTHON_DIRS}" ]]; then
|
||||
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
|
||||
else
|
||||
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
mv ${dir} ${dir}-${EPYTHON} \
|
||||
|| die "Renaming of '${dir}' to '${dir}-${EPYTHON}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
|
||||
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)"
|
||||
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
|
||||
die "Multiple mpi.so files found"
|
||||
fi
|
||||
else
|
||||
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
mv stage/lib/mpi.so stage/lib/mpi.so-${EPYTHON} \
|
||||
|| die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${EPYTHON}' failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if python_bindings_needed; then
|
||||
python_foreach_impl building
|
||||
else
|
||||
building
|
||||
fi
|
||||
|
||||
if tools_needed; then
|
||||
pushd tools >/dev/null || die
|
||||
|
||||
ejam \
|
||||
"${OPTIONS[@]}" \
|
||||
${PYTHON_OPTIONS} \
|
||||
|| die "Building of Boost tools failed"
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if ! use python; then
|
||||
rm -r "${ED%/}"/usr/include/boost/python* || die
|
||||
fi
|
||||
|
||||
if ! use nls; then
|
||||
rm -r "${ED%/}"/usr/include/boost/locale || die
|
||||
fi
|
||||
|
||||
if ! use context; then
|
||||
rm -r "${ED%/}"/usr/include/boost/context || die
|
||||
rm -r "${ED%/}"/usr/include/boost/coroutine{,2} || die
|
||||
rm "${ED%/}"/usr/include/boost/asio/spawn.hpp || die
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
# find extraneous files that shouldn't be installed
|
||||
# as part of the documentation and remove them.
|
||||
find libs/*/* \( -iname 'test' -o -iname 'src' \) -exec rm -rf '{}' + || die
|
||||
find doc \( -name 'Jamfile.v2' -o -name 'build' -o -name '*.manifest' \) -exec rm -rf '{}' + || die
|
||||
find tools \( -name 'Jamfile.v2' -o -name 'src' -o -name '*.cpp' -o -name '*.hpp' \) -exec rm -rf '{}' + || die
|
||||
|
||||
docinto html
|
||||
dodoc *.{htm,html,png,css}
|
||||
dodoc -r doc libs more tools
|
||||
|
||||
# To avoid broken links
|
||||
dodoc LICENSE_1_0.txt
|
||||
|
||||
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
local -x BOOST_ROOT="${BUILD_DIR}"
|
||||
installation() {
|
||||
create_user-config.jam
|
||||
|
||||
local PYTHON_OPTIONS
|
||||
if python_bindings_needed; then
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
cp -pr ${dir}-${EPYTHON} ${dir} \
|
||||
|| die "Copying of '${dir}-${EPYTHON}' to '${dir}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} "${MPI_PYTHON_MODULE}" \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to '${MPI_PYTHON_MODULE}' failed"
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} stage/lib/mpi.so \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to 'stage/lib/mpi.so' failed"
|
||||
fi
|
||||
PYTHON_OPTIONS=" --python-buildid=${EPYTHON#python}"
|
||||
else
|
||||
PYTHON_OPTIONS=" --without-python"
|
||||
fi
|
||||
|
||||
ejam \
|
||||
"${OPTIONS[@]}" \
|
||||
${PYTHON_OPTIONS} \
|
||||
--includedir="${ED%/}/usr/include" \
|
||||
--libdir="${ED%/}/usr/$(get_libdir)" \
|
||||
install || die "Installation of Boost libraries failed"
|
||||
|
||||
if python_bindings_needed; then
|
||||
rm -r ${PYTHON_DIRS} || die
|
||||
|
||||
# Move mpi.so Python module to Python site-packages directory.
|
||||
# https://svn.boost.org/trac/boost/ticket/2838
|
||||
if use mpi; then
|
||||
local moddir=$(python_get_sitedir)/boost
|
||||
# moddir already includes eprefix
|
||||
mkdir -p "${D}${moddir}" || die
|
||||
mv "${ED%/}/usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die
|
||||
cat << EOF > "${D}${moddir}/__init__.py" || die
|
||||
import sys
|
||||
if sys.platform.startswith('linux'):
|
||||
import DLFCN
|
||||
flags = sys.getdlopenflags()
|
||||
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
|
||||
from . import mpi
|
||||
sys.setdlopenflags(flags)
|
||||
del DLFCN, flags
|
||||
else:
|
||||
from . import mpi
|
||||
del sys
|
||||
EOF
|
||||
fi
|
||||
|
||||
python_optimize
|
||||
fi
|
||||
}
|
||||
if python_bindings_needed; then
|
||||
python_foreach_impl installation
|
||||
else
|
||||
installation
|
||||
fi
|
||||
|
||||
pushd "${ED%/}/usr/$(get_libdir)" >/dev/null || die
|
||||
|
||||
local ext=$(get_libname)
|
||||
if use threads; then
|
||||
local f
|
||||
for f in *${ext}; do
|
||||
dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}}
|
||||
done
|
||||
fi
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
if tools_needed; then
|
||||
dobin dist/bin/*
|
||||
|
||||
insinto /usr/share
|
||||
doins -r dist/share/boostbook
|
||||
fi
|
||||
|
||||
# boost's build system truely sucks for not having a destdir. Because for
|
||||
# this reason we are forced to build with a prefix that includes the
|
||||
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
|
||||
# DESTROOT instread of the actual EPREFIX. There is no way out of here
|
||||
# but to do it the dirty way of manually setting the right install_names.
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
einfo "Working around completely broken build-system(tm)"
|
||||
local d
|
||||
for d in "${ED%/}"/usr/lib/*.dylib; do
|
||||
if [[ -f ${d} ]]; then
|
||||
# fix the "soname"
|
||||
ebegin " correcting install_name of ${d#${ED}}"
|
||||
install_name_tool -id "/${d#${D}}" "${d}"
|
||||
eend $?
|
||||
# fix references to other libs
|
||||
refs=$(otool -XL "${d}" | \
|
||||
sed -e '1d' -e 's/^\t//' | \
|
||||
grep "^libboost_" | \
|
||||
cut -f1 -d' ')
|
||||
local r
|
||||
for r in ${refs}; do
|
||||
ebegin " correcting reference to ${r}"
|
||||
install_name_tool -change \
|
||||
"${r}" \
|
||||
"${EPREFIX}/usr/lib/${r}" \
|
||||
"${d}"
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Yai for having symlinks that are nigh-impossible to remove without
|
||||
# resorting to dirty hacks like these. Removes lingering symlinks
|
||||
# from the slotted versions.
|
||||
local symlink
|
||||
for symlink in "${EROOT%/}/usr/include/boost" "${EROOT%/}/usr/share/boostbook"; do
|
||||
if [[ -L ${symlink} ]]; then
|
||||
rm -f "${symlink}" || die
|
||||
fi
|
||||
done
|
||||
|
||||
# some ancient installs still have boost cruft lying around
|
||||
# for unknown reasons, causing havoc for reverse dependencies
|
||||
# Bug: 607734
|
||||
rm -rf "${EROOT%/}"/usr/include/boost-1_[3-5]? || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST geoip-1.6.10.tar.gz 161506 BLAKE2B 968ae25afe8345def099b82acf5bca4b7bcba05ffdc8d17f164bc2a91db25e2be45319a942fef05f084c6d6463521d481286888cbe7b43c7394e46ea0b47b5ca SHA512 5cd527da9d9a921bcc3020e636b410310e6462832804ac2d594b9cb4ceaacac0c31eb64f97e23e77d468da7b63a704084e140c8b69b838e362a188309756a2bf
|
||||
DIST geoip-1.6.11.tar.gz 161934 BLAKE2B 628dd37bbcfffe36970d6bc8cd12ff1d504d9dc7bb760860ce59fbeeac631317556077ca5b50ae42c9cc8567ed41194379ed0743a0c2b0b0bef65504b13e62cb SHA512 9c017a95c7903898b9a2bc10c34e51b390326c181c46e6f99daf3bc4d8f84cfcf640c5cc92d527e4c7428e2b5bfa835cc57040507eb836062139a795726349b9
|
||||
DIST geoip-1.6.12.tar.gz 160826 BLAKE2B a6cb17141e4e9d00c15d19d7adfecb5492b14591911dc85de403afc9f94801fe1ec92b6106478448074d3679d6c9fa6a44f210b9cc751aba0c0425a5fae699c1 SHA512 d1ed2dae091548f555cde4d26e4b51ae1e8fbb12ef1695fd95963229d9a1bf241e6f09e5d77b151d51edd0cef78ddef490c6a3f3a70ff122bdd9c0ac5500fc7d
|
||||
DIST geoip-1.6.9.tar.gz 158576 BLAKE2B 797dce578c0e2b92b02cf125be5448746025e86c6d9a2efd4ec2c99de99b3874c9da0ef20c7c76308121420ea8099a0744c0240640ff9732b961789ce334b8d1 SHA512 a3a34511ba32e6c7d0b46b0e608c5be54411cf5b095c867c3225941b55e5714ec7c68de64e0aefcf4ee2081fbd626480067d6bc9822d775decef1f8e26d7e976
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="GeoIP Legacy C API"
|
||||
HOMEPAGE="https://github.com/maxmind/geoip-api-c"
|
||||
SRC_URI="
|
||||
https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
|
||||
# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db
|
||||
LICENSE="LGPL-2.1 GPL-2 MaxMind2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="static-libs"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
net-misc/wget
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-api-c-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
sed -e "s|@PREFIX@|${ROOT}|g" "${FILESDIR}"/geoipupdate-r6.sh > geoipupdate.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS.md README*
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
keepdir /usr/share/GeoIP
|
||||
|
||||
dosbin geoipupdate.sh
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "WARNING: Databases are no longer installed by this ebuild."
|
||||
elog "Don't forget to run 'geoipupdate.sh -f' (or geoipupdate from"
|
||||
elog "net-misc/geoipupdate) to populate ${ROOT}/usr/share/GeoIP/"
|
||||
elog "with geo-located IP address databases."
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue