Sync with portage [Tue Sep 22 09:07:03 MSK 2020].

develop 1768
root 4 years ago
parent 201a478e6b
commit 1215451e86

Binary file not shown.

Binary file not shown.

@ -61,7 +61,7 @@ DEPEND="
app-text/docbook2X
"
CONFIG_CHECK=~IPV6
CONFIG_CHECK="~IPV6"
DOCS=( README.md TODO ChangeLog NEWS AUTHORS )

@ -61,7 +61,7 @@ DEPEND="
app-text/docbook2X
"
CONFIG_CHECK=~IPV6
CONFIG_CHECK="~IPV6"
DOCS=( README.md TODO ChangeLog NEWS AUTHORS )

@ -69,7 +69,7 @@ REQUIRED_USE="
lua-rsvg? ( X bundled-toluapp )
"
CONFIG_CHECK=~IPV6
CONFIG_CHECK="~IPV6"
DOCS=( README.md AUTHORS )

@ -69,7 +69,7 @@ REQUIRED_USE="
lua-rsvg? ( X bundled-toluapp )
"
CONFIG_CHECK=~IPV6
CONFIG_CHECK="~IPV6"
DOCS=( README.md AUTHORS )

Binary file not shown.

@ -6,8 +6,8 @@ EAPI=7
MY_P=${P/-/_}
S=${WORKDIR}/${MY_P}
DESCRIPTION="gives you a quick MD5 Password from any string"
HOMEPAGE="http://linux.netpimpz.com/quickcrypt/"
SRC_URI="http://linux.netpimpz.com/quickcrypt/download/${MY_P}.tar.gz"
HOMEPAGE="https://linux.netpimpz.com/quickcrypt/"
SRC_URI="https://linux.netpimpz.com/quickcrypt/download/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"

Binary file not shown.

@ -1,2 +1,3 @@
DIST cri-o-1.17.1.tar.gz 10532728 BLAKE2B 12747b0161ca2fa7dc7e95fd4c000b9011402e65dac0885ed59a37a87b53907044d3b3c873d6fe82186313af6745e463ce84be259dae99793c6363794c76e16f SHA512 1548c4b20081e8f1af772b0b0fadd0f1b63af641283bef8b8cd8478bd626699c23b30b39fe460660776bc7e6509e85db73d1d7e0d030dd7bd3dbfe319c82e332
DIST cri-o-1.18.3.tar.gz 11210469 BLAKE2B 16a9ed89c594c082e18d5a08ba1f87eaed600b95baed1e36c5b718e9dbaf52c7b482dbf6dba94a1cbc5e02f3dc58f0f21236b6b11c65fa60666d654e28c793fd SHA512 28798d0a46a9fe361fa2e57f350375abe2a66b955447d667a0a51b39034d73f98abf06371ccf5ea27dfcad38dc46907a2fe9583b94c9a0092ad18b2485b12640
DIST cri-o-1.19.0.tar.gz 13383665 BLAKE2B 8288985392a08fb7fdc58f509d34f8814bf9670386b7aae42be349765cb1f3bd3f4b77077e9c282a4a25b0f99b8a8fc335c6a53053bd2575b3e23c225483a1d3 SHA512 15b506d755be735d7b71e503b02b309693e3090be41f5790bd34cec460238eab56829239caf18849f3656cf8c12f77a10bbb3ae4ad81eb4e18858946e454583d

@ -0,0 +1,95 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_COMMIT=99c925bebdd9e392f2d575e25f2e6a1082e6c232
inherit go-module
DESCRIPTION="OCI-based implementation of Kubernetes Container Runtime Interface"
HOMEPAGE="https://cri-o.io/"
SRC_URI="https://github.com/cri-o/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="btrfs +device-mapper selinux systemd"
COMMON_DEPEND="
app-crypt/gpgme:=
app-emulation/conmon
app-emulation/runc
dev-libs/glib:=
dev-libs/libassuan:=
dev-libs/libgpg-error:=
net-firewall/conntrack-tools
net-firewall/iptables
net-misc/cni-plugins
net-misc/socat
sys-apps/iproute2
sys-libs/libseccomp:=
btrfs? ( sys-fs/btrfs-progs )
device-mapper? ( sys-fs/lvm2:= )
selinux? ( sys-libs/libselinux:= )
systemd? ( sys-apps/systemd:= )"
DEPEND="
${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}
!<app-emulation/libpod-1.3.2-r1"
src_prepare() {
default
sed -e '/^GIT_.*/d' \
-e '/ git diff --exit-code/d' \
-e 's/$(GO) build -i/$(GO) build -v -work -x/' \
-e 's/\${GIT_COMMIT}/'${EGIT_COMMIT}'/' \
-e "s|^GIT_COMMIT := .*|GIT_COMMIT := ${EGIT_COMMIT}|" \
-e "s|^COMMIT_NO := .*|COMMIT_NO := ${EGIT_COMMIT}|" \
-i Makefile || die
echo ".NOTPARALLEL: binaries docs" >> Makefile || die
sed -e 's:/usr/local/bin:/usr/bin:' \
-i contrib/systemd/* || die
}
src_compile() {
[[ -f hack/btrfs_installed_tag.sh ]] || die
use btrfs || { echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
hack/btrfs_installed_tag.sh || die; }
[[ -f hack/libdm_installed.sh ]] || die
use device-mapper || { echo -e "#!/bin/sh\necho exclude_graphdriver_devicemapper" > \
hack/libdm_installed.sh || die; }
[[ -f hack/selinux_tag.sh ]] || die
use selinux || { echo -e "#!/bin/sh\ntrue" > \
hack/selinux_tag.sh || die; }
mkdir -p bin || die
GOBIN="${S}/bin" \
emake all
}
src_install() {
emake DESTDIR="${D}" PREFIX="${D}${EPREFIX}/usr" install install.config install.systemd
keepdir /etc/crio
mv "${ED}/etc/crio/crio.conf"{,.example} || die
newinitd "${FILESDIR}/crio.initd" crio
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
# Suppress crio log error messages triggered if these don't exist.
keepdir /etc/containers/oci/hooks.d
keepdir /usr/share/containers/oci/hooks.d
# Suppress crio "Missing CNI default network" log message.
keepdir /etc/cni/net.d
insinto /etc/cni/net.d
doins contrib/cni/99-loopback.conf
}

@ -1,3 +1,2 @@
DIST diskimage-builder-3.1.0.tar.gz 434813 BLAKE2B 7a9fa54353f9b7edc2f1f1dab965b8241cb8b046ef56f12ed3562c04a8c6e236a7be41fbe75c385b48c4f2b8b30e961d8b86499e79999c391dde9c2f294f1193 SHA512 0b8a0b6cee9c7fcee08d8e5d706add2e54dfe1b7726b169f357022a48a37e351b159a7426771a001b703ca4360905f318ff91d0e72cb2d92e3486607186d03c4
DIST diskimage-builder-3.2.1.tar.gz 446827 BLAKE2B bec2f225681f333b9dfded90dd7717119805ea46cc6c48e48d1f63242fa271ca3653fd67be0c5bd3876cd6db9506e2579ad14b4f7e573ea56311c6b85277fdb5 SHA512 acdac97e510a68bd30b81ab7ebce729c4c4bbfdd86e56dfa41b50558ccac942caae76a66dc4442854fbab6fb7440a9ebf74b5872e9d35793b2e4243cb28cd5a7
DIST diskimage-builder-3.3.1.tar.gz 450130 BLAKE2B 09f3b3549527d726f8479e1f8dc89ae50fdeacf6969e43f5b35591fa0a9d38ae0dd03b7292633604a938b0ef14e31b4e655645643bae22df4f3519c75d9dde83 SHA512 095c0968f5ceeb220c3871ccd14c7bf7c1b3d883bcb02f9cfe7406d5a336c36a813c8290bf133441a2a59972f485596aa5620b755016aba348afe3b7fc723c9f

@ -1,38 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="Golden Disk Image builder."
HOMEPAGE="http://docs.openstack.org/developer/diskimage-builder/"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://opendev.org/openstack/diskimage-builder.git"
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
DEPEND="${CDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${CDEPEND}
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
!~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
>=dev-python/networkx-1.10[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
app-emulation/qemu
sys-block/parted
sys-fs/multipath-tools
sys-fs/dosfstools
sys-apps/gptfdisk
!dev-python/dib-utils[${PYTHON_USEDEP}]"

@ -13,7 +13,7 @@ if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://opendev.org/openstack/diskimage-builder.git"
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
fi
LICENSE="Apache-2.0"

@ -45,8 +45,7 @@
Support management of Xen virtualisation (<pkg>app-emulation/xen</pkg>)
</flag>
<flag name="virtualbox">
Support management of VirtualBox virtualisation (one of <pkg>app-emulation/virtualbox</pkg> or
<pkg>app-emulation/virtualbox-bin</pkg>)
Support management of VirtualBox virtualisation (<pkg>app-emulation/virtualbox</pkg>)
</flag>
<!-- Miscellaneous flags -->
<flag name="apparmor">Enable AppArmor support</flag>

@ -1,2 +1,2 @@
DIST protontricks-1.4.1.gh.tar.gz 40029 BLAKE2B 3937f69ad1113c0a368117db38cf8bf1b66feea5cc7c509eaee2f7adabdeea724368baa15f51134a5a9749171a34f439878bfda3fc6b813caba11faf7be76373 SHA512 96d4b3aa5b1ca8f7f9bad0859f5984eb29a0bed01f420d108e537deef0436af314e73fcfaccfd58b5b1dc912698404bd4b0157e69ab6a055d65eb3701a60d00b
DIST protontricks-1.4.1.tar.gz 31838 BLAKE2B b8c94a1b96fa7df14eaf1cc6d11cb96e43ae4e8c7bd232687a50cae9c79cf2d0e7864b1af0e1dc4cc20086952e1fcefeb16cb71a9c3a977f6feafad1b17d6857 SHA512 7635c9830afa3c64617514cd86edc7d7f9f33e6e81a1da995ec8bee70adc1cf8b5d9de92036c372134e408d735615b267b46a9afc9246f14ff161cb2ee1fc8f9
DIST protontricks-1.4.2.gh.tar.gz 41381 BLAKE2B 9030c5cc0781303834af3b478e78f9ba43f01c68c5e203df20a9db80492dd5e641134b796158011a15e65f6907f27a67c542323ea8f9e10c49dca3f5c663458a SHA512 8b60233723130e5f7cd1a7ce7b9563ba1cc8595352b6d942d9ce66a6906f18d86cf97e2b49cbdb8e276fad6cd038eaf1de8a704a8b900b29de5dfb7327b045d0

@ -1,50 +0,0 @@
https://lists.nongnu.org/archive/html/qemu-devel/2020-04/msg02643.html
From 6bce23d8daf96a7faa9288e7414948cda31ddaa2 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Thu, 16 Apr 2020 18:55:49 +0100
Subject: [PATCH] linux-user/strace.list: fix epoll_create{,1} -strace output
Fix syscall name and parameters priinter.
Before the change:
```
$ alpha-linux-user/qemu-alpha -strace -L /usr/alpha-unknown-linux-gnu/ /tmp/a
...
1274697 %s(%d)(2097152,274903156744,274903156760,274905840712,274877908880,274903235616) = 3
1274697 exit_group(0)
```
After the change:
```
$ alpha-linux-user/qemu-alpha -strace -L /usr/alpha-unknown-linux-gnu/ /tmp/a
...
1273719 epoll_create1(2097152) = 3
1273719 exit_group(0)
```
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
linux-user/strace.list | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/linux-user/strace.list
+++ b/linux-user/strace.list
@@ -125,10 +125,10 @@
{ TARGET_NR_dup3, "dup3" , "%s(%d,%d,%d)", NULL, NULL },
#endif
#ifdef TARGET_NR_epoll_create
-{ TARGET_NR_epoll_create, "%s(%d)", NULL, NULL, NULL },
+{ TARGET_NR_epoll_create, "epoll_create", "%s(%d)", NULL, NULL },
#endif
#ifdef TARGET_NR_epoll_create1
-{ TARGET_NR_epoll_create1, "%s(%d)", NULL, NULL, NULL },
+{ TARGET_NR_epoll_create1, "epoll_create1", "%s(%d)", NULL, NULL },
#endif
#ifdef TARGET_NR_epoll_ctl
{ TARGET_NR_epoll_ctl, "epoll_ctl" , NULL, NULL, NULL },
--
2.26.2

@ -1,35 +0,0 @@
https://gitlab.freedesktop.org/slirp/libslirp/-/commit/c7ede54cbd2e2b25385325600958ba0124e31cc0
https://bugzilla.redhat.com/show_bug.cgi?id=1835986
https://bugs.gentoo.org/731992
From c7ede54cbd2e2b25385325600958ba0124e31cc0 Mon Sep 17 00:00:00 2001
From: Ralf Haferkamp <rhafer@suse.com>
Date: Fri, 3 Jul 2020 14:51:16 +0200
Subject: [PATCH] Drop bogus IPv6 messages
Drop IPv6 message shorter than what's mentioned in the payload
length header (+ the size of the IPv6 header). They're invalid an could
lead to data leakage in icmp6_send_echoreply().
---
src/ip6_input.c | 7 +++++++
1 file changed, 7 insertions(+)
--- a/slirp/src/ip6_input.c
+++ b/slirp/src/ip6_input.c
@@ -49,6 +49,13 @@ void ip6_input(struct mbuf *m)
goto bad;
}
+ // Check if the message size is big enough to hold what's
+ // set in the payload length header. If not this is an invalid
+ // packet
+ if (m->m_len < ntohs(ip6->ip_pl) + sizeof(struct ip6)) {
+ goto bad;
+ }
+
/* check ip_ttl for a correct ICMP reply */
if (ip6->ip_hl == 0) {
icmp6_send_error(m, ICMP6_TIMXCEED, ICMP6_TIMXCEED_INTRANS);
--
GitLab

@ -1,8 +0,0 @@
[Desktop Entry]
Name=Oracle xVM VirtualBox
Type=Application
Comment=Run several virtual systems on a single host computer
Exec=VirtualBox
TryExec=VirtualBox
Icon=virtualbox
Categories=System;Emulator;

Binary file not shown.

@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=7
DESCRIPTION="Lua eselect module"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
@ -11,7 +11,21 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=">=app-admin/eselect-1.2.4"
DEPEND="
!dev-lang/lua:0
|| (
dev-lang/lua:5.1
dev-lang/lua:5.2
dev-lang/lua:5.3
(
dev-lang/luajit:2
app-eselect/eselect-luajit
)
)
>=app-admin/eselect-1.2.4
"
# dev-lang/lua:5.4
# TODO: ^
RDEPEND="${DEPEND}"
S="${WORKDIR}"

@ -0,0 +1,172 @@
# -*-eselect-*- vim: ft=eselect
# Copyright 2014-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
inherit config multilib
DESCRIPTION="Manage lua symlinks"
MAINTAINER="mva@gentoo.org"
HEADER_FILES="lauxlib.h luaconf.h lua.h lua.hpp lualib.h"
remove_symlinks() {
rm -f "${EROOT}"/usr/bin/{lua,luac} &>/dev/null
for dir in $(get_libdirs) ; do
rm -f "${EROOT}"${dir}/liblua.so &>/dev/null && \
rm -f "${EROOT}"${dir}/pkgconfig/lua.pc &>/dev/null
done
for f in $HEADER_FILES ; do
rm -f "${EROOT}"/usr/include/${f}
done
rm -f "${EROOT}"/usr/share/man/man1/{lua,luac}.1{,.gz,.bz2,.lzma} &>/dev/null
}
_dup() {
dirname ${1}/.
}
set_symlinks() {
local ver=$1
ln -s lua${ver} $(_dup "${EROOT}"/usr/bin/lua)
ln -s luac${ver} $(_dup "${EROOT}"/usr/bin/luac)
for dir in $(get_libdirs) ; do
if has 'jit*' ${ver}; then
type -p lua${ver} &>/dev/null || die -q "It's something wrong with your lua${ver} installation: it's binary leads to broken symlink"
local abi=$(lua${ver} -e 'print(_VERSION:match("%d.%d"))')
local libname=libluajit-${abi}.so.${ver##jit-}
test -f "${EROOT}/${dir}/${libname}" || die -q "Can't find libluajit for lua${ver} (lua abi: ${abi})"
ln -s ${libname} $(_dup "${EROOT}/${dir}"/liblua.so)
else
ln -s liblua${ver}.so $(_dup "${EROOT}/${dir}"/liblua.so)
fi
ln -s lua${ver}.pc $(_dup "${EROOT}/${dir}"/pkgconfig/lua.pc)
done
for manpage in "${EROOT}"/usr/share/man/man1/lua*${ver}.1* ; do
test -f ${manpage} &&
ln -s $(basename "${manpage}") $(_dup "${manpage//${ver}}")
done
for header in $HEADER_FILES ; do
local hdr;
if has 'jit*' ${ver}; then
type -p lua${ver} &>/dev/null || die -q "lua${ver} binary is missing (or leads to broken symlink)"
local jit_v=$(lua${ver} -e 'print(jit.version:match("%d.%d"))')
hdr=luajit-${jit_v}/${header};
else
hdr=lua${ver}/${header};
fi
test -f "${EROOT}/usr/include/${hdr}" || die -q "Missing header: ${header}"
ln -s "${hdr}" $(_dup "${EROOT}"/usr/include/${header})
done
}
get_libdirs() {
local dir libdirs
for dir in $(list_libdirs); do
[[ -L ${EROOT}/usr/${dir} ]] && continue
ls "${EROOT}"/usr/${dir}/liblua*.* > /dev/null 2>&1 || continue
libdirs+=' '/usr/${dir}
done
echo ${libdirs:-/usr/lib}
}
find_targets() {
local dirs
local prefix="${EROOT}/usr/bin/lua"
for f in ${prefix}{5,jit-2}.* ; do
[[ -f "${f}" ]] && dirs="${dirs} ${f##$prefix}"
done
echo $dirs
}
resolv_target() {
local targets=( $(find_targets) )
if is_number $1; then
[[ $1 -le ${#targets[@]} && $1 -gt 0 ]] && echo "${targets[ $(( $1 - 1 )) ]}"
elif has $1 ${targets[@]}; then
echo $1
fi
}
get_active_version() {
readlink -e "${EROOT}"/usr/bin/lua | sed -ne "s:.*/usr/bin/lua\([\w.-]*\):\1:p"
}
## Actual actions
## set action
describe_set() {
echo "Sets the current version of lua"
}
describe_set_parameters() {
echo '<target>'
}
describe_set_options() {
echo 'target: Target name or number (from "list" action)'
}
do_set() {
local target=$(resolv_target $1)
if [[ -z "${target}" ]]; then
die -q "You need to specify a version"
fi
remove_symlinks
set_symlinks $target
}
## List action
describe_list() {
echo 'Lists available lua versions'
}
do_list() {
local targets
local a
targets=( $(find_targets) )
a=$(get_active_version)
for (( i = 0; i < ${#targets[@]}; i++ )) ; do
[[ $a == ${targets[i]} ]] && targets[i]=$(highlight_marker "${targets[i]}")
done
write_numbered_list -m '(none found)' "${targets[@]}"
}
## Show action
describe_show() {
echo 'Show the active lua version'
}
do_show() {
get_active_version
}
## update action
describe_update() {
echo 'Automatically update the lua version'
}
describe_update_options() {
echo 'ifunset : Do not override existing implementation'
}
do_update() {
[[ -n ${1} && ! ( ${1} == ifunset || ${1} == '--if-unset' ) ]] && \
die -q 'Usage error'
[[ ( ${1} == ifunset || ${1} == '--if-unset' ) && -n $(get_active_version) ]] && \
return
remove_symlinks
local targets=( $(find_targets) )
if [[ -n ${#targets[@]} ]] ; then
local target=${targets[${#targets[@]} - 1]}
set_symlinks $target || echo 'Nothing to update'
fi
}

@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mva@gentoo.org</email>
<name>Vadim Misbakh-Soloviov</name>
</maintainer>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>

@ -0,0 +1,24 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Manages LuaJIT symlinks"
HOMEPAGE="https://www.gentoo.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND="
>=app-admin/eselect-1.2.4
"
S="${WORKDIR}"
src_install() {
insinto /usr/share/eselect/modules
newins "${FILESDIR}/luajit-${PV}.eselect" luajit.eselect || die "newins failed"
}

@ -0,0 +1,141 @@
# -*-eselect-*- vim: ft=eselect
# Copyright 2005-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 or later
# $Id: luajit.eselect mva $
inherit config multilib
DESCRIPTION="Manage the LuaJIT symlink"
MAINTAINER="mva@gentoo.org"
VERSION="1"
# sort function for luajit versions, to be used in a pipe
sort_luajit_versions() {
local vsort="sort --version-sort"
${vsort} </dev/null &>/dev/null || vsort=sort
sed -e 's/^\(luajit-\)\?\([[:digit:].]\+\)[-_]beta/\2 0 &/' \
-e 't;s/^\(luajit-\)\?\([[:digit:].]\+\)/\2 1 &/' \
| LC_ALL=C ${vsort} | sed 's/.* //'
}
# find a list of luajit symlink targets
find_targets() {
local f
for f in $(find "${EROOT}"/usr/bin/ -type f -iname 'luajit-[[:digit:]]*'); do
basename "${f}"
done | sort_luajit_versions
}
get_libdirs() {
local dir libdirs
for dir in $(list_libdirs); do
[[ -L ${EROOT}/usr/${dir} ]] && continue
ls "${EROOT}"/usr/${dir}/libluajit*.* > /dev/null 2>&1 || continue
libdirs+=' '/usr/${dir}
done
echo ${libdirs:-/usr/lib}
}
# remove the luajit symlink
remove_symlinks() {
for dir in $(get_libdirs) ; do
[[ -L "${dir}/libluajit-5.1.so" ]] && rm "${dir}/libluajit-5.1.so"
[[ -L "${dir}/libluajit-5.1.a" ]] && rm "${dir}/libluajit-5.1.a"
[[ -L "${dir}/pkgconfig/luajit.pc" ]] && rm "${dir}/pkgconfig/luajit.pc"
done
[[ -L "${EROOT}/usr/bin/luajit" ]] && rm "${EROOT}/usr/bin/luajit"
rm -f "${EROOT}"/usr/share/man/man1/luajit.1{,.gz,.bz2,.lzma} &>/dev/null
}
# set the luajit symlink
set_symlinks() {
local target=$1
if is_number "${target}"; then
local targets=( $(find_targets) )
target=${targets[target-1]}
fi
if [[ -z ${target} ]]; then
die -q "Target \"$1\" doesn't appear to be valid!"
elif [[ -f ${EROOT}/usr/bin/${target} ]]; then
ln -s "${target}" "${EROOT}/usr/bin/luajit"
for dir in $(get_libdirs) ; do
[[ -e "${dir}/lib${target}.so" ]] && ln -s "lib${target}.so" "${dir}/libluajit-5.1.so"
[[ -e "${dir}/lib${target}.a" ]] && ln -s "lib${target}.a" "${dir}/libluajit-5.1.a"
[[ -e "${dir}/pkgconfig/${target}.pc" ]] && ln -s "${target}.pc" "${dir}/pkgconfig/luajit.pc"
done
for orig in "${EROOT}"/usr/share/man/man1/$target.1* ; do
ln -s "$(basename ${orig})" "${orig/$target/luajit}"
done
else
die -q "Target \"$1\" doesn't appear to be valid!"
fi
}
### show action ###
describe_show() {
echo "Show the current luajit symlink"
}
do_show() {
write_list_start "Current luajit symlink:"
if [[ -L ${EROOT}/usr/bin/luajit ]]; then
local SV=$(readlink "${EROOT}/usr/bin/luajit")
write_kv_list_entry "${SV%/}"
else
write_kv_list_entry "(unset)"
fi
}
### list action ###
describe_list() {
echo "List available luajit symlink targets"
}
do_list() {
local i targets=( $(find_targets) )
write_list_start "Available luajit symlink targets:"
local SV=$(readlink "${EROOT}/usr/bin/luajit")
for (( i = 0; i < ${#targets[@]}; i++ )); do
[[ ${targets[i]} = \
$(basename "${SV}") ]] \
&& targets[i]=$(highlight_marker "${targets[i]}")
done
write_numbered_list -m "(none found)" "${targets[@]}"
}
### set action ###
describe_set() {
echo "Set a new luajit symlink target"
}
describe_set_parameters() {
echo "<target>"
}
describe_set_options() {
echo "target : Target name or number (from 'list' action)"
}
do_set() {
[[ -z $1 ]] && die -q "You didn't tell me what to set the symlink to"
[[ $# -gt 1 ]] && die -q "Too many parameters"
if [[ -L ${EROOT}/usr/bin/luajit ]]; then
# existing symlink
remove_symlinks || die -q "Couldn't remove existing symlink"
set_symlinks "$1" || die -q "Couldn't set a new symlink"
elif [[ -e ${EROOT}/usr/bin/luajit ]]; then
# we have something strange
die -q "${EROOT}/usr/bin/luajit exists but is not a symlink"
else
set_symlinks "$1" || die -q "Couldn't set a new symlink"
fi
}

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mva@gentoo.org</email>
<name>Vadim Misbakh-Soloviov</name>
</maintainer>
<longdescription lang="en">eselect-module for choosing default LuaJIT interpreter</longdescription>
<longdescription lang="ru">eselect-модуль для выбора интерпретатора LuaJIT по умолчанию</longdescription>
</pkgmetadata>

Binary file not shown.

@ -15,7 +15,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2
LICENSE="|| ( GPL-2 LGPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="bluetooth debug perl png static-libs threads usb"
COMMON_DEPEND="

Binary file not shown.

@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux"
IUSE="+gpg tools"
RDEPEND="

@ -15,7 +15,7 @@ SRC_URI="https://github.com/portagefilelist/client/archive/${PV}.tar.gz -> ${P}.
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm ~hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
KEYWORDS="amd64 arm hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="+network-cron"
DEPEND=""

@ -1 +0,0 @@
DIST pqlop-0.02.py 14920 BLAKE2B 0fb3f11a928ac0997094e95d676bba0df19738006e7475332c9dcd207fea3296b5839fd259cb2240c093fb28c0721f4a73331e1ab6083c2fbf0eee5d425ac50e SHA512 6c2cca73b5280ac8563573a81baff56cf43420c18688fae497ff014ec5668806d589473a2cb8093fdc07675761e8c4124f18eb568a74e1816f573541459d633f

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>maksbotan@gentoo.org</email>
<name>Maxim Koltsov</name>
</maintainer>
<upstream>
<remote-id type="bitbucket">LK4D4/pqlop</remote-id>
</upstream>
</pkgmetadata>

@ -1,34 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit python-r1
DESCRIPTION="emerge.log parser written in python"
HOMEPAGE="https://bitbucket.org/LK4D4/pqlop"
SRC_URI="https://bitbucket.org/LK4D4/pqlop/raw/${PV}/pqlop.py -> ${P}.py"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
${PYTHON_DEPS}
"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
S="${WORKDIR}"
src_unpack() {
:
}
src_install() {
newbin "${DISTDIR}"/${P}.py ${PN}
python_replicate_script "${ED}"/usr/bin/${PN} || die "python_replicate_script failed"
}

Binary file not shown.

@ -1 +0,0 @@
DIST landslide-1.1.3.tar.gz 151003 BLAKE2B 471cc83cbfc1c7ddc437b88514fb48632016e0915fc27c65d502a71b94f83a1184de8a7dbfaf2af8b75963e687c1af903add48e5ac8893308d9cfa07fdcc4c61 SHA512 2b29c416f8af04c0bf048060e0fe67b0b6a5e293485c5e3f68b9d1ce9d63ef66ca3bc58a96f65705c6918542932ef0a2fa6072b17c4c01cfc1975d283b417152

@ -1,35 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1 vcs-snapshot
DESCRIPTION="Generates a slideshow using the slides that power the html5-slides presentation"
HOMEPAGE="https://github.com/adamzap/landslide"
SRC_URI="https://github.com/adamzap/landslide/tarball/v${PV} -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples"
DEPEND=""
RDEPEND="
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/jinja[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
python_install_all() {
if use examples; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>naota@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">adamzap/landslide</remote-id>
</upstream>
</pkgmetadata>

Binary file not shown.

@ -1 +1,2 @@
DIST mariadb-connector-c-3.1.10-src.tar.gz 746801 BLAKE2B 5c6c5b46306cd081d28f2e8be81fea5fd92b5dd75aac7711cfe5958f8a493b1bd84e79c96295b584effcd828303b35c0152a28892fe0bbd2994a6738ef62d5a5 SHA512 6b95b54e1c05a81010659d1b143330cbce411e3327e543eb240a4ab378336826c6958983b96beeaaff64836f4c5cc5c48eb8a7be6bb521dcb2bbe15e4048f38a
DIST mariadb-connector-c-3.1.9-src.tar.gz 745374 BLAKE2B 47c1bf1ffe888f6c2aefdb4661ad8bfe41c527d6ddc2b2aaf8da8003eebce90da420a52143265510ac47f07286d6dbfa27c4d82ce193c23aa928d0b22f83b87a SHA512 cf7cd3a7592a15e2a4800c6a899e6b515ef899f4525c9f5f7d09faafbd72ac5b70a85e1c60119f58d1b5caa0f0f3657a544555bb47cdc22eabe74308c0c4bf42

@ -0,0 +1,89 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
VCS_INHERIT=""
if [[ "${PV}" == 9999 ]] ; then
VCS_INHERIT="git-r3"
EGIT_REPO_URI="https://github.com/MariaDB/mariadb-connector-c.git"
else
MY_PN=${PN#mariadb-}
MY_PV=${PV/_b/-b}
SRC_URI="https://downloads.mariadb.org/f/${MY_PN}-${PV%_beta}/${PN}-${MY_PV}-src.tar.gz?serve -> ${P}-src.tar.gz"
S="${WORKDIR%/}/${PN}-${MY_PV}-src"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
fi
inherit cmake-utils multilib-minimal toolchain-funcs ${VCS_INHERIT}
MULTILIB_CHOST_TOOLS=( /usr/bin/mariadb_config )
MULTILIB_WRAPPED_HEADERS+=(
/usr/include/mariadb/mariadb_version.h
)
DESCRIPTION="C client library for MariaDB/MySQL"
HOMEPAGE="https://mariadb.org/"
LICENSE="LGPL-2.1"
SLOT="0/3"
IUSE="+curl gnutls kerberos libressl +ssl static-libs test"
RESTRICT="!test? ( test )"
DEPEND="sys-libs/zlib:=[${MULTILIB_USEDEP}]
virtual/libiconv:=[${MULTILIB_USEDEP}]
curl? ( net-misc/curl:0=[${MULTILIB_USEDEP}] )
kerberos? ( || ( app-crypt/mit-krb5[${MULTILIB_USEDEP}]
app-crypt/heimdal[${MULTILIB_USEDEP}] ) )
ssl? (
gnutls? ( >=net-libs/gnutls-3.3.24:0=[${MULTILIB_USEDEP}] )
!gnutls? (
libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
!libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
)
)
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/gentoo-layout-3.0.patch
"${FILESDIR}"/${PN}-3.1.3-fix-pkconfig-file.patch
)
src_configure() {
# bug 508724 mariadb cannot use ld.gold
tc-ld-disable-gold
multilib-minimal_src_configure
}
multilib_src_configure() {
local mycmakeargs=(
-DWITH_EXTERNAL_ZLIB=ON
-DWITH_SSL:STRING=$(usex ssl $(usex gnutls GNUTLS OPENSSL) OFF)
-DWITH_CURL=$(usex curl ON OFF)
-DWITH_ICONV=ON
-DCLIENT_PLUGIN_AUTH_GSSAPI_CLIENT:STRING=$(usex kerberos DYNAMIC OFF)
-DMARIADB_UNIX_ADDR="${EPREFIX}/var/run/mysqld/mysqld.sock"
-DINSTALL_LIBDIR="$(get_libdir)"
-DINSTALL_PCDIR="$(get_libdir)/pkgconfig"
-DINSTALL_PLUGINDIR="$(get_libdir)/mariadb/plugin"
-DINSTALL_BINDIR=bin
-DWITH_UNIT_TESTS=$(usex test ON OFF)
)
cmake-utils_src_configure
}
multilib_src_compile() {
cmake-utils_src_compile
}
multilib_src_install() {
cmake-utils_src_install
}
multilib_src_install_all() {
if ! use static-libs ; then
find "${D}" -name "*.a" -delete || die
fi
}

@ -62,6 +62,7 @@ multilib_src_configure() {
-DWITH_EXTERNAL_ZLIB=ON
-DWITH_SSL:STRING=$(usex ssl $(usex gnutls GNUTLS OPENSSL) OFF)
-DWITH_CURL=$(usex curl ON OFF)
-DWITH_ICONV=ON
-DCLIENT_PLUGIN_AUTH_GSSAPI_CLIENT:STRING=$(usex kerberos DYNAMIC OFF)
-DMARIADB_UNIX_ADDR="${EPREFIX}/var/run/mysqld/mysqld.sock"
-DINSTALL_LIBDIR="$(get_libdir)"

Binary file not shown.

@ -1,4 +1,4 @@
DIST imgui-1.76.tar.gz 1256126 BLAKE2B 801e94e1007e41c5b7281bb30fc7da76ddf0e755bf3ec2c4eb90d730dd9c68685f3e4819f32acc2154fbcd4e32da9d1de6dac36b0cd8885a93457475576b4336 SHA512 7f7d7220c6c2805902665747f32ed094e0558d42cafb25a25bd16fed88da3bf8822c55ed92a552f0599f5563909d471aa5763e53c8dd5bf39367c61e39d015aa
DIST ogre-1.12.8.tar.gz 125932831 BLAKE2B ffd4a443e374ad3f209b4f8a5e18a41b3dbfbb528d20581f48a4d31447e1e20a3b1cdde588b6345bd07d864c9b72ce1e51374de52523e7c4477408c01778af69 SHA512 c446c58b57874d3e2522f7e0315771b7a9f5ac8888449493a1dad6fc4d30454c57f4f145c2554de110607f3e5d586d6ec91859b8024e7d8bdb821fa6c6c3f2e2
DIST imgui-1.77.tar.gz 1269147 BLAKE2B be0db9b77903664db0fadf1672ec23983dc89292fd261a1e89c1eab88b82e95de7c2af37eb7ef43cc994b889fdf7d7fb2dd1282b93c1f3b1166c7fe0d2dccaf5 SHA512 d5ebf4bb5e1ce83b226f2e68b3afe0f0abaeb55245fedf754e5453afd8d1df4dac8b5c47fc284c2588b40d05a55fc191b5e55c7be279c5e5e23f7c5b70150546
DIST ogre-1.12.9.tar.gz 125955067 BLAKE2B 5676690d2d9db8c4c903b7bf3e7660ddf5c0675eb11e1b34f08a5a50739d6212e986c7b500173ad5edab4835d96c705f86cc0fd37e1ff1e64a161ab1ce8968df SHA512 a80525a4924a430ccac3f01f93a5f36b4b9d2f7671ef0629d7dd21d3651ea7a698d5cc520eb814c6ee4c0ee7efcd3f6a8f16688773300a25537636bb61eba286
DIST ogre-1.9.0.tar.bz2 128098305 BLAKE2B 6e67a5b60a6606a910e099f1c7ba736eb525f079f3aba5cfb362329b9130059d303fc9df6f7b8611c0ba75e1e207fa018e543e93c9f5ce39a6621e4c72ed4a83 SHA512 b1ea93d80ac0978a7c228460a6714f8d17797450efd5af6765c9fa4402e9060a8ef3a700d2757593a3016fdc32276722c8f4a5d9889a3e2eb424f16162a52bde
DIST ogre-2.1.tar.gz 157457252 BLAKE2B 97e83cb93a07de5bd5f4fd778604e6146105e70045a6019f0fcdd7f96fe20f6ad495e19988dcd5e4c4073a0bcdeb5ce2afb06fae6945363c397a882672c80520 SHA512 9802e3bf20ddb09453524d1ddafa7a2083dfd0e609563f478fe31b087dd06d463f69800b9c6485cb3db92d98f282ef67ace3e272c1ef531e982ea9f719617fb5

@ -0,0 +1,11 @@
--- a/Components/Bites/src/OgreGLXConfigDialog.cpp 2020-09-21 15:17:33.783741691 +0200
+++ b/Components/Bites/src/OgreGLXConfigDialog.cpp 2020-09-21 15:17:35.948741768 +0200
@@ -74,7 +74,7 @@
class GLXConfigurator {
/* GUI constants */
static const int wWidth = 500; // Width of window
- static const int wHeight = 380; // Height of window
+ static const int wHeight = 340; // Height of window
static const int col1x = 20; // Starting x of column 1 (labels)
static const int col2x = 230; // Starting x of column 2 (options)
static const int col1w = 200; // Width of column 1 (labels)

@ -1,17 +1,16 @@
--- a/Components/Overlay/CMakeLists.txt 2020-08-16 17:45:59.605165822 +0200
+++ b/Components/Overlay/CMakeLists.txt 2020-08-16 17:48:45.796175402 +0200
--- a/Components/Overlay/CMakeLists.txt 2020-09-20 16:13:41.280993468 +0200
+++ b/Components/Overlay/CMakeLists.txt 2020-09-20 16:14:52.468997571 +0200
@@ -19,14 +19,14 @@
file(GLOB SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
if(OGRE_BUILD_COMPONENT_OVERLAY_IMGUI)
- set(IMGUI_DIR "${PROJECT_BINARY_DIR}/imgui-1.73" CACHE PATH "")
+ set(IMGUI_DIR "${PROJECT_SOURCE_DIR}/imgui-1.76" CACHE PATH "")
- set(IMGUI_DIR "${PROJECT_BINARY_DIR}/imgui-1.77" CACHE PATH "")
+ set(IMGUI_DIR "${PROJECT_SOURCE_DIR}/imgui-1.77" CACHE PATH "")
if(NOT EXISTS ${IMGUI_DIR})
message(STATUS "Dowloading imgui")
file(DOWNLOAD
- https://github.com/ocornut/imgui/archive/v1.73.tar.gz
https://github.com/ocornut/imgui/archive/v1.77.tar.gz
- ${PROJECT_BINARY_DIR}/imgui.tar.gz)
+ https://github.com/ocornut/imgui/archive/v1.76.tar.gz
+ ${PROJECT_SOURCE_DIR}/imgui.tar.gz)
execute_process(COMMAND ${CMAKE_COMMAND}
- -E tar xf imgui.tar.gz WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
@ -19,7 +18,7 @@
endif()
list(APPEND SOURCE_FILES
${IMGUI_DIR}/imgui.cpp
@@ -84,4 +84,4 @@
@@ -80,4 +80,4 @@
)
install(FILES "${PROJECT_SOURCE_DIR}/Media/packs/profiler.zip"
DESTINATION "${OGRE_MEDIA_PATH}/packs/"

@ -77,12 +77,13 @@ Exporters
* Maya (meshes)
</longdescription>
<use>
<flag name="assimp" restrict="~dev-games/ogre-1.12.9">Use media-libs/assimp to import assets from 3D files</flag>
<flag name="boost">Enable boost support</flag>
<flag name="cache">Enable GL state cache support</flag>
<flag name="cg">NVIDIA toolkit plugin</flag>
<flag name="double-precision">More precise calculations at the expense of speed</flag>
<flag name="egl">Use egl instead of glx</flag>
<flag name="deprecated" restrict="~dev-games/ogre-1.12.6">
<flag name="deprecated" restrict="~dev-games/ogre-1.12.9">
Build deprecated component 'HLMS' and nodeless positioning of Lights and Cameras.
</flag>
<flag name="fine-granularity" restrict="~dev-games/ogre-2.1">
@ -112,7 +113,9 @@ Exporters
(default: case-insensitive + sensitive lookup in all groups)
</flag>
<flag name="tbb">When USE=threads, use tbb for threading</flag>
<flag name="tools">Build and install MeshUpgrader, VRMLConverter and XMLConverter</flag>
<flag name="tools">
Build and install AssimpConverter (assimp USE flag is enabled), MeshUpgrader, VRMLConverter and XMLConverter
</flag>
</use>
<upstream>
<remote-id type="bitbucket">sinbad/ogre</remote-id>

@ -7,7 +7,7 @@ CMAKE_REMOVE_MODULES_LIST="FindFreetype FindDoxygen FindZLIB"
inherit cmake
IMGUI_PN="imgui"
IMGUI_PV="1.76"
IMGUI_PV="1.77"
IMGUI_P="${IMGUI_PN}-${IMGUI_PV}"
DESCRIPTION="Object-oriented Graphics Rendering Engine"
@ -19,7 +19,7 @@ LICENSE="MIT public-domain"
SLOT="0/1.12"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="+cache cg debug deprecated doc double-precision egl examples +freeimage
IUSE="assimp +cache cg debug deprecated doc double-precision egl examples +freeimage
json openexr +opengl pch profile resman-pedantic tools"
# Note: gles2 USE flag taken out for now. It seems like the Ogre Devs now rely
@ -50,6 +50,7 @@ RDEPEND="
x11-libs/libXaw
x11-libs/libXrandr
x11-libs/libXt
assimp? ( media-libs/assimp )
cg? ( media-gfx/nvidia-cg-toolkit )
egl? ( media-libs/mesa[egl] )
freeimage? ( media-libs/freeimage )
@ -75,18 +76,17 @@ PATCHES=(
"${FILESDIR}"/${P}-media_path.patch
"${FILESDIR}"/${P}-resource_path.patch
"${FILESDIR}"/${P}-fix_Simple_demo.patch
"${FILESDIR}"/${P}-upgrade_imgui.patch
"${FILESDIR}"/${P}-gentoolize_imgui_inclusion.patch
"${FILESDIR}"/${P}-fix_config_window_height.patch
"${FILESDIR}"/${PN}-1.10.12-use_system_tinyxml.patch
)
src_unpack() {
unpack ${P}.tar.gz || die "Unpacking ${P}.zip failed"
# Ogre 1.12.8 includes imgui, but as a submodule, it is not included
# Ogre 1.12.9 includes imgui, but as a submodule, it is not included
# in the release. The build system tries to download it, that may
# a) fail and
# b) uses an old release 1.73
# So we are doing it ourselves.
# fail and so we are doing it ourselves.
cd "${S}" || die "Unpack incomplete"
unpack ${IMGUI_P}.tar.gz || die "Unpacking ${IMGUI_P}.zip failed"
}

@ -12,4 +12,7 @@
<longdescription lang="en">
The OpenSceneGraph is an open source high performance 3D graphics toolkit, used by application developers in fields such as visual simulation, games, virtual reality, scientific visualization and modelling. Written entirely in Standard C++ and OpenGL it runs on all Windows platforms, OSX, GNU/Linux, IRIX, Solaris, HP-Ux, AIX and FreeBSD operating systems. The OpenSceneGraph is now well established as the world leading scene graph technology, used widely in the vis-sim, space, scientific, oil-gas, games and virtual reality industries. This package is a module for Qt support.
</longdescription>
<upstream>
<remote-id type="github">openscenegraph/osgQt</remote-id>
</upstream>
</pkgmetadata>

@ -24,4 +24,7 @@
<flag name="sdl2">Use <pkg>media-libs/libsdl2</pkg> additionally to <pkg>media-libs/libsdl</pkg></flag>
<flag name="xrandr">Enable support for the X xrandr extension</flag>
</use>
<upstream>
<remote-id type="github">openscenegraph/OpenSceneGraph</remote-id>
</upstream>
</pkgmetadata>

Binary file not shown.

@ -1,2 +0,0 @@
DIST asn1-data-0.7.1.tar.gz 17500 BLAKE2B 4c24167096019d7834c8ebb6fe3d36b41ac366042ea69aa7e0fbc745af7d05bf204e15d4137f2b57ef2f30f5c2cd4905859cf6deedda4966412a23a3c2bcac90 SHA512 dc6021daf15e5f9b93703641780c6d81c6b385d2127bcc2f735ecaf54d1be5163ad5e9ae291a3e223ff05cf03e8bbf11af0791ee810a0ba174e9cc9e9fd910d0
DIST asn1-data-0.7.2.tar.gz 17672 BLAKE2B a4d088400c58efe6528f49eb728f5be902f91fe8de32391e1267ec5ba596c51095df91444b41577d52554778e4589121c9d65243f0fb744277ce933729b062fa SHA512 739c2a9e99a978ba5384da5d5ed388554471f2f6e898c9e07f26de6c6d48bbb236d83b6e2281be7ce4d9db6225acb230010393e1cd368ef9cf4f65eddb8e1e38

@ -1,31 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
# ebuild generated by hackport 0.4.5.9999
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
inherit eutils haskell-cabal
DESCRIPTION="ASN1 data reader and writer in RAW, BER and DER forms"
HOMEPAGE="https://github.com/vincenthz/hs-asn1/tree/master/data"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-haskell/cereal:=[profile?]
dev-haskell/mtl:=[profile?]
>=dev-haskell/text-0.11:=[profile?]
>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6
"
src_prepare() {
epatch "${FILESDIR}"/${P}-ghc-7.10.patch
}

@ -1,33 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
# ebuild generated by hackport 0.4.6.9999
#hackport: flags: -test
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="ASN1 data reader and writer in RAW, BER and DER forms"
HOMEPAGE="https://github.com/vincenthz/hs-asn1/tree/master/data"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-haskell/cereal:=[profile?]
>=dev-haskell/mtl-2:=[profile?]
>=dev-haskell/text-0.11:=[profile?]
>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6
"
src_configure() {
haskell-cabal_src_configure \
--flag=-test
}

@ -1,16 +0,0 @@
diff --git a/Data/ASN1/Parse.hs b/Data/ASN1/Parse.hs
index eeea2be..83bc80e 100644
--- a/Data/ASN1/Parse.hs
+++ b/Data/ASN1/Parse.hs
@@ -24 +24 @@ import Control.Monad.Error
-import Control.Applicative ((<$>))
+import Control.Applicative ((<$>), Applicative)
@@ -25,7 +25,7 @@ import Control.Applicative ((<$>))
-- | Parse ASN1 Monad
newtype ParseASN1 a = P { runP :: ErrorT String (State [ASN1]) a }
- deriving (Functor, Monad, MonadError String)
+ deriving (Functor, Applicative, Monad, MonadError String)
-- | run the parse monad over a stream and returns the result and the remaining ASN1 Stream.
runParseASN1State :: ParseASN1 a -> [ASN1] -> Either String (a,[ASN1])

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<longdescription>
ASN1 data reader and writer in raw form with supports for high level forms of ASN1 (BER, CER and DER).
All interfaces use the enumerator interface.
</longdescription>
<upstream>
<remote-id type="github">vincenthz/hs-asn1-data</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST certificate-1.3.9.tar.gz 15018 BLAKE2B a89c5cf680a752dbc69f7510eae10bfa1e340090b512f1341db0742d44c13c5171cdeb3b8f0352b53ebe5fb018cb957501b01ff9d297b1a67ddeaf8cce52f265 SHA512 85ad7d1f3def68152824d0be4ccc3fb991903867fac68927eac34db366ce6f8201468a3e73c336fef6feae1ce550f614fc3ab89447b4ec7a67ac279902a815f9

@ -1,43 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
# ebuild generated by hackport 0.3.4.9999
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
inherit eutils haskell-cabal
DESCRIPTION="Certificates and Key Reader/Writer"
HOMEPAGE="https://github.com/vincenthz/hs-certificate"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="executable test"
RESTRICT="test" # due missing tests
RDEPEND=">=dev-haskell/asn1-data-0.7.1:=[profile?] <dev-haskell/asn1-data-0.8.0:=[profile?]
>=dev-haskell/crypto-pubkey-types-0.4:=[profile?] <dev-haskell/crypto-pubkey-types-0.5:=[profile?]
dev-haskell/cryptohash:=[profile?]
dev-haskell/mtl:=[profile?]
>=dev-haskell/pem-0.1:=[profile?] <dev-haskell/pem-0.3:=[profile?]
>=dev-lang/ghc-6.12.1:=
executable? ( dev-haskell/cmdargs:=[profile?]
dev-haskell/crypto-pubkey:=[profile?]
>=dev-haskell/text-0.11:=[profile?] )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8.0.2
"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.3.9-ghc-7.10.patch
}
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag executable executable) \
$(cabal_flag test test)
}

@ -1,46 +0,0 @@
module Tests.Unit
( runTests
) where
import System.Directory
import Test.HUnit
import Control.Monad
import Control.Applicative ((<$>))
import Control.Exception
import qualified Data.ByteString as B
import qualified Data.ByteString.Lazy as L
import Data.Certificate.X509
import Data.List (isPrefixOf)
-- FIXME : make unit tests portable to run on osX and windows
import System.Certificate.X509
import Data.CertificateStore
checkCert (X509 c mraw rawCert sigalg sigbits) = do
let errs =
(checkSigAlg $ certSignatureAlg c) ++
(checkPubKey $ certPubKey c) ++
(checkExtensions $ certExtensions c) ++
(checkBodyRaw rawCert mraw)
when (errs /= []) $ do
putStrLn ("error decoding")
mapM_ (putStrLn . (" " ++)) errs
where
checkExtensions ext = []
checkSigAlg (SignatureALG_Unknown oid) = ["unknown signature algorithm " ++ show oid]
checkSigAlg _ = []
checkPubKey (PubKeyUnknown oid _) = ["unknown public key alg " ++ show (certPubKey c)]
checkPubKey _ = []
checkBodyRaw (Just x) (Just y) = if findsubstring y x then [] else ["cannot find body cert in original raw file"]
checkBodyRaw _ _ = []
findsubstring a b
| L.null b = False
| a `L.isPrefixOf` b = True
| otherwise = findsubstring a (L.drop 1 b)
runTests :: IO ()
runTests = getSystemCertificateStore >>= mapM_ checkCert . listCertificates

@ -1,16 +0,0 @@
diff --git a/Data/Certificate/X509/Cert.hs b/Data/Certificate/X509/Cert.hs
index 4abfadf..15e7bf8 100644
--- a/Data/Certificate/X509/Cert.hs
+++ b/Data/Certificate/X509/Cert.hs
@@ -1,2 +1,3 @@
+{-# LANGUAGE FlexibleContexts #-}
module Data.Certificate.X509.Cert
(
diff --git a/Data/Certificate/X509/Ext.hs b/Data/Certificate/X509/Ext.hs
index 7595f14..8963a55 100644
--- a/Data/Certificate/X509/Ext.hs
+++ b/Data/Certificate/X509/Ext.hs
@@ -1,2 +1,3 @@
+{-# LANGUAGE FlexibleContexts #-}
-- |
-- Module : Data.Certificate.X509.Ext

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<longdescription>
Certificates and Key reader/writer
At the moment only X509 certificate and unencrypted private key are supported,
but will include PGP certificate and pkcs8 private keys
</longdescription>
<use>
<flag name="executable">Build the executable</flag>
</use>
<upstream>
<remote-id type="github">vincenthz/hs-certificate</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST hastache-0.6.1.tar.gz 16452 BLAKE2B 69e0a6fa7798767d2192fd02ae2f0f2f51962eb4bc6303186ced14a7f9c5c044075be76df5314610c3f816c76fb0d790060e547491bb2e4d972bdec5b93576c3 SHA512 3f7f7d0b97e88aca474b818c0e7b48187bfade855b6117dce50ed3e64b557586b1827272d46438a7e36990fb932d6503c982fa4fc6b2dbb33b463b14d39436b4

@ -1,38 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
# ebuild generated by hackport 0.4.4.9999
CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Haskell implementation of Mustache templates"
HOMEPAGE="https://github.com/lymar/hastache"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT=test # fails to build with ghc-7.10
RDEPEND="dev-haskell/blaze-builder:=[profile?]
dev-haskell/ieee754:=[profile?]
dev-haskell/mtl:=[profile?]
dev-haskell/syb:=[profile?]
dev-haskell/text:=[profile?]
dev-haskell/transformers:=[profile?]
>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8
test? ( dev-haskell/hunit )
"
src_prepare() {
cabal_chdeps \
'base >=4 && <4.9' 'base >=4'
}

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<longdescription>
Haskell implementation of Mustache templates (&lt;https://mustache.github.com/&gt;).
See homepage for examples of usage: &lt;https://github.com/lymar/hastache&gt;
</longdescription>
<upstream>
<remote-id type="github">lymar/hastache</remote-id>
</upstream>
</pkgmetadata>

@ -1 +1 @@
DIST regex-pcre-builtin-0.95.1.1.8.43.tar.gz 564650 BLAKE2B b8d2c39fde61b202eedbd8eead11685bbb1a1ebf1f4c8d6c59a2b9f87810e87df1a07356445582685778457570ff51db2d55786736e8302f7d9adf8144153dcd SHA512 229c863a32dd36707d130aac5dbda8bfbcfc33062232668f32c5ec7c2622257e8d07f1424727242a531ebaeff2b9fb6b40ed5ceab18b61feb6ec41fb8298d008
DIST regex-pcre-builtin-0.95.1.2.8.43.tar.gz 330306 BLAKE2B bbfc3c509b6d2d5d5dc1affd0519507f90946da4be69b75f12cf687eaf234f98d394d778955507120ed6529d81f199c4ba9b7c8f278706d648e2bc609bdcc51c SHA512 6d11d68636ced3bc443b4f4ff20bee8d431df02eb91a099e31a6a66493a1f7f6674571a45d7d47efc50f8ad8d79f518f28c157cdf97cf3773af590a5a385ddeb

@ -3,13 +3,13 @@
EAPI=7
# ebuild generated by hackport 0.6.1.9999
# ebuild generated by hackport 0.6.6.9999
#hackport: flags: +newbase,+splitbase
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="Replaces/Enhances Text.Regex"
DESCRIPTION="PCRE Backend for \"Text.Regex\" (regex-base)"
HOMEPAGE="https://hackage.haskell.org/package/regex-pcre-builtin"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
@ -27,13 +27,6 @@ DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.10
"
src_prepare() {
default
cabal_chdeps \
'base >= 4.3 && < 4.14' 'base >= 4.3'
}
src_configure() {
haskell-cabal_src_configure \
--flag=newbase \

@ -1 +1 @@
DIST texmath-0.12.0.2.tar.gz 1792597 BLAKE2B 17981e435d870a4640f6a773be02e99dbaee295a420b11f90f357b9b483e9b8f5ff3b0363178b9fc57afbf7ff99328454af9c6ae8606a194a57d72ddbef968e0 SHA512 d5b3418492495f59b493bc418e68f4e66f7d2b4eb1293b540b1eb00312a7cded7eb4dba9b178224d311a1999fefac49b5cbb5caa50a85296292cb35d5806dfc6
DIST texmath-0.12.0.3.tar.gz 1792577 BLAKE2B 0c5ecb7cc49a53ad0ce54755a2a8518066223733b51287013d6e649fdb94b022a9ab81ceb3bb42b80b84bf75e9aa0088adbafe76e147d5314907d8aeb6be9a8e SHA512 54b4789559dc7c6973854c290b018e7c00dd0ff1c06d8045b5d0a2304436bb59a951e93ab2c9d1d133a9d7c5197cc456334d40dc112c6c6a8f8e9370ab8aa190

@ -3,7 +3,7 @@
EAPI=7
# ebuild generated by hackport 0.6.4.9999
# ebuild generated by hackport 0.6.6.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
@ -18,12 +18,12 @@ KEYWORDS="~amd64 ~x86"
IUSE="executable +network-uri"
RDEPEND="dev-haskell/mtl:=[profile?]
>=dev-haskell/pandoc-types-1.20:=[profile?] <dev-haskell/pandoc-types-1.22:=[profile?]
>=dev-haskell/pandoc-types-1.20:=[profile?] <dev-haskell/pandoc-types-1.23:=[profile?]
>=dev-haskell/parsec-3:=[profile?]
>=dev-haskell/syb-0.4.2:=[profile?] <dev-haskell/syb-0.8:=[profile?]
dev-haskell/text:=[profile?]
dev-haskell/xml:=[profile?]
>=dev-lang/ghc-8.8.1:=
>=dev-lang/ghc-7.10.1:=
executable? ( dev-haskell/aeson:=[profile?]
network-uri? ( >=dev-haskell/network-uri-2.6:=[profile?] )
!network-uri? ( <dev-haskell/network-2.6:=[profile?] ) )

Binary file not shown.

@ -1,7 +0,0 @@
JAVAC="/usr/bin/ecj-4.2"
PACKAGE="=dev-java/ant-eclipse-ecj-4.2*"
SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6 1.7"
SUPPORTED_SOURCE="1.3 1.4 1.5 1.6 1.7"
ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter"
ANT_BUILD_COMPILER_DEPS="eclipse-ecj-4.2,ant-eclipse-ecj-4.2"
GENERATION="2"

Binary file not shown.

@ -93,6 +93,12 @@ src_compile() {
cxprolog_src_test() {
cd "${S}"/pl
if use java; then
local test_javadir="${S}"/pl/$(get_libdir)/cxprolog/java
mkdir -p "${test_javadir}" || die
ln -s "${S}"/dist/prolog.jar "${test_javadir}"/prolog.jar || die
fi
LD_LIBRARY_PATH="${S}" \
"${S}"/cxprolog_shared \
--boot "${S}"/cx_dev_boot.pl \

@ -1 +0,0 @@
DIST epic-0.9.3.3.tar.gz 87163 BLAKE2B 2d3e25fed668680fa381da2dd7b7e530d4eb6839ec40b790d42e9778e99b567fa50347fa26bdc41351eb9654c22b3e26749072c55cd72e9644f35163222af654 SHA512 f957eb5402eebad9d52f0d38cf552c00ff5df9caffce97961e761e7c91ed33dee520cb0255f6547db1c05ed6dda7a3e4833d375a5fc0ebe7e94502736a49c566

@ -1,42 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
# ebuild generated by hackport 0.4.5.9999
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="Compiler for a simple functional language"
HOMEPAGE="https://github.com/edwinb/EpiVM"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-haskell/cabal:=[profile?]
dev-haskell/mtl:=[profile?]
>=dev-libs/boehm-gc-7.0:0=[threads]
dev-libs/gmp:0=
>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8.0.4
dev-haskell/happy
"
# Bug #438422, upstream at https://github.com/edwinb/EpiVM/issues/5.
PATCHES=(
"${FILESDIR}"/${PN}-0.9.3.3-respect-user-cflags.patch
"${FILESDIR}"/${PN}-0.9.3.3-ghc84.patch
)
src_prepare() {
default
# to disambiguare with net-irc/epic4, bug #432436
cabal_chdeps \
'Executable epic' 'Executable epic-epivm'
}

@ -1,15 +0,0 @@
--- a/Main.lhs
+++ b/Main.lhs
@@ -10,11 +10,7 @@
> import Epic.Compiler
> import Paths_epic
-> versionString = showV (versionBranch version)
-> where
-> showV [] = ""
-> showV [a] = show a
-> showV (x:xs) = show x ++ "." ++ showV xs
+> versionString = show version
> main = do args <- getArgs
> (fns, opts) <- getInput args

@ -1,13 +0,0 @@
diff --git a/evm/Makefile b/evm/Makefile
index 7e6c5ff..f40f1a4 100644
--- a/evm/Makefile
+++ b/evm/Makefile
@@ -1,6 +1,7 @@
CC = gcc
#CFLAGS = -Wall -g -DUSE_BOEHM
-CFLAGS = -Wall -O3 -DUSE_BOEHM
+CFLAGS ?= -Wall -O3
+CFLAGS += -DUSE_BOEHM
OBJS = closure.o stdfuns.o emalloc.o sparks.o
INSTALLDIR = ${PREFIX}/lib/evm

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
</maintainer>
<longdescription>
Epic is a simple functional language which compiles to
reasonably efficient C code, using the Boehm-Demers-Weiser
garbage collector (&lt;http://www.hpl.hp.com/personal/Hans_Boehm/gc/&gt;).
It is intended as a compiler back end, and is currently used
as a back end for Epigram (&lt;http://www.e-pig.org&gt;) and Idris
(&lt;http://idris-lang.org/&gt;).
It can be invoked either as a library or an application.
</longdescription>
</pkgmetadata>

@ -1,11 +0,0 @@
;;; mozart site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
(autoload 'oz-mode "oz" "Major mode for editing Oz code." t)
(autoload 'oz-gump-mode "oz"
"Major mode for editing Oz code with embedded Gump specifications." t)
(autoload 'ozm-mode "mozart" "Major mode for displaying Oz machine code." t)
(add-to-list 'auto-mode-alist '("\\.oz$" . oz-mode))
(add-to-list 'auto-mode-alist '("\\.ozg$" . oz-gump-mode))
(add-to-list 'auto-mode-alist '("\\.ozm$" . ozm-mode))

@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="PSF-2"
SLOT="${PYVER}/${PYVER}m"
KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86"
IUSE="bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test +threads tk wininst +xml"
RESTRICT="!test? ( test )"

@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="PSF-2"
SLOT="${PYVER}/${PYVER}m"
KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86"
IUSE="bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk wininst +xml"
RESTRICT="!test? ( test )"

@ -0,0 +1,15 @@
--- a/testing/mozbase/mozinfo/mozinfo/mozinfo.py 2018-01-12 12:21:16.764318254 -0500
+++ b/testing/mozbase/mozinfo/mozinfo/mozinfo.py 2018-01-12 12:22:23.392069398 -0500
@@ -93,10 +93,11 @@
if info['os'] == 'linux':
import ctypes
+ import ctypes.util
import errno
PR_SET_SECCOMP = 22
SECCOMP_MODE_FILTER = 2
- ctypes.CDLL("libc.so.6", use_errno=True).prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, 0)
+ ctypes.CDLL(ctypes.util.find_library('c'), use_errno=True).prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, 0)
info['has_sandbox'] = ctypes.get_errno() == errno.EFAULT
else:
info['has_sandbox'] = True

@ -0,0 +1,58 @@
From 6ff7ad09daf98e5b804cf73c066c382a76e74e8c Mon Sep 17 00:00:00 2001
From: Alexander Miller <alex.miller@gmx.de>
Date: Wed, 12 Jun 2019 00:29:23 -0500
Subject: [PATCH] Fix breakage with lto builds
<artificial>:(.text+0x7a): undefined reference to `PopActiveVMFrame'
collect2: error: ld returned 1 exit status
Signed-off-by: Alexander Miller <alex.miller@gmx.de>
---
js/src/methodjit/InvokeHelpers.cpp | 2 +-
js/src/methodjit/MethodJIT.cpp | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/js/src/methodjit/InvokeHelpers.cpp b/js/src/methodjit/InvokeHelpers.cpp
index d017c2a..abde396 100644
--- a/js/src/methodjit/InvokeHelpers.cpp
+++ b/js/src/methodjit/InvokeHelpers.cpp
@@ -500,7 +500,7 @@ stubs::PutActivationObjects(VMFrame &f)
js::PutActivationObjects(f.cx, f.fp());
}
-extern "C" void *
+extern "C" void * __attribute__((used))
js_InternalThrow(VMFrame &f)
{
JSContext *cx = f.cx;
diff --git a/js/src/methodjit/MethodJIT.cpp b/js/src/methodjit/MethodJIT.cpp
index 4feefbc..66099e6 100644
--- a/js/src/methodjit/MethodJIT.cpp
+++ b/js/src/methodjit/MethodJIT.cpp
@@ -120,20 +120,20 @@ static uint32 StubCallsForOp[STUB_CALLS_FOR_OP_COUNT];
extern "C" void JaegerTrampolineReturn();
-extern "C" void JS_FASTCALL
+extern "C" void JS_FASTCALL __attribute__((used))
PushActiveVMFrame(VMFrame &f)
{
f.entryfp->script()->compartment->jaegerCompartment->pushActiveFrame(&f);
f.regs.fp->setNativeReturnAddress(JS_FUNC_TO_DATA_PTR(void*, JaegerTrampolineReturn));
}
-extern "C" void JS_FASTCALL
+extern "C" void JS_FASTCALL __attribute__((used))
PopActiveVMFrame(VMFrame &f)
{
f.entryfp->script()->compartment->jaegerCompartment->popActiveFrame();
}
-extern "C" void JS_FASTCALL
+extern "C" void JS_FASTCALL __attribute__((used))
SetVMFrameRegs(VMFrame &f)
{
f.cx->setCurrentRegs(&f.regs);
--
2.22.0

@ -1,32 +0,0 @@
commit ad6d8397a05a
Author: Dan Gohman <sunfish@mozilla.com>
Date: Thu May 22 11:15:06 2014 -0700
Bug 1012971 - SpiderMonkey: Fix various warnings. r=nbp
---
js/public/RootingAPI.h | 4 +++-
js/src/configure.in | 1 +
js/src/jit/IonFrames.h | 17 ++++++++---------
js/src/jit/MIR.h | 12 +++++-------
js/src/jit/PerfSpewer.cpp | 12 ++++++------
js/src/jit/RegisterSets.h | 2 +-
js/src/jscntxt.h | 2 +-
js/src/jsgcinlines.h | 4 ++--
js/src/jsopcode.cpp | 2 +-
js/src/jsscript.cpp | 6 +++---
js/src/shell/js.cpp | 2 +-
js/src/vm/ArrayBufferObject.h | 16 ++++++++--------
js/src/vm/TypedArrayObject.cpp | 26 +++++++++++++-------------
13 files changed, 53 insertions(+), 53 deletions(-)
--- old/js/src/jsopcode.cpp.orig 2013-02-11 22:33:23 UTC
+++ new/js/src/jsopcode.cpp
@@ -6067,7 +6067,7 @@ ExpressionDecompiler::write(JSString *s)
bool
ExpressionDecompiler::quote(JSString *s, uint32_t quote)
{
- return QuoteString(&sprinter, s, quote) >= 0;
+ return QuoteString(&sprinter, s, quote) != NULL;
}
JSAtom *

@ -0,0 +1,32 @@
# HG changeset patch
# User John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
# Date 1482966103 -3600
# Node ID 1f4d99d8dff27bcc25eff21dc6a16dae63f48595
# Parent ce9e9f0dc752896ac7ba00bb0610b3f731e948b0
Bug 1326496 - mozbuild: Fix bitness from 32 to 64 bits on alpha. r=glandium
diff --git a/python/mozbuild/mozbuild/configure/constants.py b/python/mozbuild/mozbuild/configure/constants.py
--- a/python/mozbuild/mozbuild/configure/constants.py
+++ b/python/mozbuild/mozbuild/configure/constants.py
@@ -35,17 +35,17 @@ Kernel = EnumString.subclass(
'Linux',
'NetBSD',
'OpenBSD',
'WINNT',
)
CPU_bitness = {
'aarch64': 64,
- 'Alpha': 32,
+ 'Alpha': 64,
'arm': 32,
'hppa': 32,
'ia64': 64,
'mips32': 32,
'mips64': 64,
'ppc': 32,
'ppc64': 64,
's390': 32,

@ -0,0 +1,24 @@
From 311fc467219ab6ee9eed60759b58a8066c4bf36d Mon Sep 17 00:00:00 2001
From:
Date: Thu, 25 Jul 2019 10:00:33 -0500
Subject: [PATCH] gcc-9 overflow fix
---
js/src/jsapi-tests/testPrintf.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/js/src/jsapi-tests/testPrintf.cpp b/js/src/jsapi-tests/testPrintf.cpp
index 51486856..03cc118d 100644
--- a/js/src/jsapi-tests/testPrintf.cpp
+++ b/js/src/jsapi-tests/testPrintf.cpp
@@ -55,7 +55,6 @@ BEGIN_TEST(testPrintf)
CHECK(print_one("27270", "%zu", (size_t) 27270));
CHECK(print_one("27270", "%" PRIuSIZE, (size_t) 27270));
CHECK(print_one("hello", "he%so", "ll"));
- CHECK(print_one("(null)", "%s", zero()));
CHECK(print_one("0", "%p", (char *) 0));
CHECK(print_one("h", "%c", 'h'));
CHECK(print_one("1.500000", "%f", 1.5f));
--
2.22.0

@ -0,0 +1,11 @@
--- a/js/src/config/milestone.pl 2013-02-11 17:33:22.000000000 -0500
+++ b/js/src/config/milestone.pl 2015-07-15 10:44:31.676153600 -0400
@@ -55,7 +55,7 @@
#
my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
-if (defined(@TEMPLATE_FILE)) {
+if (@TEMPLATE_FILE) {
my $TFILE;
foreach $TFILE (@TEMPLATE_FILE) {

Binary file not shown.

@ -2,3 +2,4 @@ DIST libcbor-0.5.0.tar.gz 719348 BLAKE2B 57e15e648159e7858d9d57a8b4cb7f3682f8153
DIST libcbor-0.6.0.tar.gz 262622 BLAKE2B 2d3bc10bdb69c9205430718a8f2652672a8fa580ba7951c4012bdc8b502a9d6dcb26f398740f5fd35dfe0634f8e3d8ddf7eff5b9ec35c95cdc5383e2dce9f0ab SHA512 6adbb32780d428140388295c5d740bd77b0ae7b21e3f73629ba56a3aa4e4ee5dbb715454061b0f6f67f2b19ea8366e0e5c24f4ffb1ba629afcb7a776a15045f7
DIST libcbor-0.6.1.tar.gz 263486 BLAKE2B 9a2415c1dde7ed611075c3b03ea1d8ab63bcb00dfc0cae3d7a3bb225b6fbee2a8f576b1f0f97eb6f0cf14c1a6e9df1c77f69320bac041287b0dec37c073f8b85 SHA512 dc9bb7d18b934fe33faabe30010425cb272d7e135f3bf233554bc934b1701f85c7b662e0d5a6a1921c21cd46acb4393600e9adc05b09d1b2a8e3c92ca9d7e4e8
DIST libcbor-0.7.0.tar.gz 266323 BLAKE2B 76f93d3199e703c4167aeed262da7ba78d1df82e081754609391572b89f216efba0c54511d4021049fc6c62ab01b08835f02a58bbf226d973174b37eff087761 SHA512 4e2ed55ef17b8b77f82d780b1ee998d0342b67e6beabc24795117e5e222549640fe7fd261c8e78524d6489d03f7f5aa46b987709790a81f93e4d7409c32fecda
DIST libcbor-0.8.0.tar.gz 267044 BLAKE2B e8548e7351984ebdcbeb5f13a7ca35412c3f3f05e2a44a5438d57b90bdcdc51f5265953163106f90ade911a96af665956ebeba7ed1c48cf207acf6d683af5606 SHA512 694d2d3a78d80072f96e0afb73590ca1f3572e41d2117330ef4313ed06271743b048d3ba3259c6ffe9a802d5e441379d0e54787d1d42fed08dc81ac4f06c6dbc

@ -0,0 +1,68 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit python-any-r1 cmake-utils
DESCRIPTION="CBOR protocol implementation for C and others"
HOMEPAGE="https://github.com/pjk/libcbor"
SRC_URI="https://github.com/PJK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="+custom-alloc doc test"
BDEPEND="
doc? (
$(python_gen_any_dep '
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/breathe[${PYTHON_USEDEP}]
')
)
test? ( dev-util/cmocka )
"
RESTRICT="!test? ( test )"
CMAKE_MAKEFILE_GENERATOR="emake"
python_check_deps() {
has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
has_version "dev-python/breathe[${PYTHON_USEDEP}]"
}
pkg_setup() {
use doc && python-any-r1_pkg_setup
}
src_configure() {
local -a mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
-DCBOR_CUSTOM_ALLOC=$(usex custom-alloc 'ON' 'OFF')
-DWITH_TESTS=$(usex test 'ON' 'OFF')
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
if use doc; then
pushd doc >/dev/null || die
emake html man
popd >/dev/null || die
fi
}
src_install() {
cmake-utils_src_install
if use doc; then
dodoc -r doc/build/html
doman doc/build/man/*
fi
}

@ -8,7 +8,8 @@ GNOME_TARBALL_SUFFIX="bz2"
inherit autotools gnome2 eutils
DESCRIPTION="Typesafe callback system for standard C++"
HOMEPAGE="http://libsigc.sourceforge.net/"
HOMEPAGE="https://libsigcplusplus.github.io/libsigcplusplus/
https://github.com/libsigcplusplus/libsigcplusplus"
LICENSE="GPL-2 LGPL-2.1+"
SLOT="1.2"

@ -5,7 +5,8 @@ EAPI=6
inherit gnome2 flag-o-matic multilib-minimal
DESCRIPTION="Typesafe callback system for standard C++"
HOMEPAGE="http://libsigc.sourceforge.net/"
HOMEPAGE="https://libsigcplusplus.github.io/libsigcplusplus/
https://github.com/libsigcplusplus/libsigcplusplus"
LICENSE="LGPL-2.1+"
SLOT="2"

@ -5,7 +5,8 @@ EAPI=6
inherit gnome2 flag-o-matic multilib-minimal
DESCRIPTION="Typesafe callback system for standard C++"
HOMEPAGE="http://libsigc.sourceforge.net/"
HOMEPAGE="https://libsigcplusplus.github.io/libsigcplusplus/
https://github.com/libsigcplusplus/libsigcplusplus"
LICENSE="LGPL-2.1+"
SLOT="2"

@ -1,2 +1,3 @@
DIST libstrophe-0.10.0.tar.gz 520645 BLAKE2B 85998ffa7d2051bf3372842a0bc6d5404932c41853609943ae0420760e0434a74b711bd5f23657f061f1227647247b1989833c54c11a88490fe7617459687818 SHA512 9d2e8f95ab5f9611529e18b0130322a196d4b59aae69c931a6d7dc462d4a6a4fa395d6fbca56d9f329fc943e3de005b570ea34629a504175f3f2ec91f85bf40a
DIST libstrophe-0.9.2.tar.gz 500459 BLAKE2B 0b1f6f1daac1215bcdcbde0e54264b98f5a863de339500826f625f8c5e8143ce7200fb251d04248715e9a8b6621a4360e7ca2780bf4684d916ec13361b5f6fcc SHA512 a0129c49ca574afaefa77c412143571af2eb1100c7d737d497b65d44680d35e2404ee2d4d4e1378b06ac1bcc5c587f505f79fea9251af1cbb36afd990d48570d
DIST libstrophe-0.9.3.tar.gz 502449 BLAKE2B 662b0c329b0bf7d7f34fc80bf0608b921fa1ad54c8277e88f23f3ed17d0892dc7e3d9bcaaa9707306801e9254bba4a127390025ab95e1d9d850c299a7b26d980 SHA512 9c8ba980f532c5576c2c5a9e3cdca9f833ec78debcb06b17e2f534de0e710ec416b997b0498be77a89fa7f57187456edb1d602993c695a5e738718ea593697a5

@ -0,0 +1,45 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="A simple, lightweight C library for writing XMPP clients"
HOMEPAGE="http://strophe.im/libstrophe/"
SRC_URI="https://github.com/strophe/${PN}/releases/download/${PV}/${P}.tar.gz"
LICENSE="|| ( MIT GPL-3 )"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc expat libressl"
RDEPEND="
expat? ( dev-libs/expat )
!expat? ( dev-libs/libxml2:2 )
libressl? ( dev-libs/libressl:0= )
!libressl? ( dev-libs/openssl:0= )
"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
"
DOCS=( ChangeLog )
src_configure() {
# shellcheck disable=SC2207
local myeconf=(
--enable-tls
$(use_with !expat libxml2)
)
econf "${myeconf[@]}"
}
src_compile() {
default
if use doc; then
doxygen || die
HTML_DOCS=( docs/html/* )
fi
}
src_install() {
default
use doc && dodoc -r examples
find "${D}" -name '*.la' -o -name '*.a' -delete || die
}

@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -42,5 +42,5 @@ src_compile() {
src_install() {
default
use doc && dodoc -r examples
find "${D}" -name '*.la' -delete || die
find "${D}" -name '*.la' -o -name '*.a' -delete || die
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save