parent
acad6e516b
commit
37db8c165f
Binary file not shown.
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST lnav-0.10.0.tar.gz 5678120 BLAKE2B d64957e94cc5415e663db8ab5722e6424381aa83a2c9430397baed782b47064ed8f460f27bec6256206cabb43f20eba9318aec1991115b577fcc9c37585dd932 SHA512 d07f4e594b9b905453f4c0ac54db2612e3bed533b47f4fd5b6b0da4e27a2d3bb611cbdf9801c12b6edae045c58881ff1f458f144981fe3d8a41f8d113e847efd
|
||||
DIST lnav-0.8.5.tar.gz 908012 BLAKE2B a53e79d9403e5f3c731c88a171ddcb62027016b6d7d16fb618aeb9857ff86d1cc9c982d23bd172cc95f5e200afe84b488422ad4fc0aeb440cf2a96506829198e SHA512 fbb61d454dc89388aeaaeca6ba1366f84cbd75260ef8e2f26a4208ab22f175886438dad7f40e4c21089209c7713c1ebcc3a722a248083c8d55f264cf139a79fe
|
||||
DIST lnav-0.9.0.tar.gz 1094734 BLAKE2B 79d6b035d9fc1efba618dbbd0924dbac2c8a2b3316849164c8c1a3782c7e8b85f12ade02a973d0c4fabff64b38e26fd579f1931aeafb05396ece7e75608cfc5d SHA512 4f03c83003b262c6aa1d1e87d61b4a3ae8f1ccd33a2df1b451f263d3925791d3b46285bbe276d89733a2bd464be9029e7100ce12fdfe3e009a089f250e601151
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A curses-based tool for viewing and analyzing log files"
|
||||
HOMEPAGE="https://lnav.org"
|
||||
SRC_URI="https://github.com/tstack/lnav/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:0=
|
||||
dev-db/sqlite:3
|
||||
dev-libs/libpcre[cxx]
|
||||
>=net-misc/curl-7.23.0
|
||||
sys-libs/ncurses:=[unicode(+)?]
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.8.4-disable-tests.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
$(use_with unicode ncursesw)
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A curses-based tool for viewing and analyzing log files"
|
||||
HOMEPAGE="https://lnav.org"
|
||||
SRC_URI="https://github.com/tstack/lnav/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:0=
|
||||
>=dev-db/sqlite-3.9.0
|
||||
dev-libs/libpcre[cxx]
|
||||
>=net-misc/curl-7.23.0
|
||||
sys-libs/ncurses:=[unicode(+)?]
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.8.4-disable-tests.patch
|
||||
# bug 723242
|
||||
"${FILESDIR}"/${PN}-0.9.0-bug639332-tinfow.patch
|
||||
# bug 713600
|
||||
"${FILESDIR}"/${PN}-0.9.0-bug713600_0.patch
|
||||
"${FILESDIR}"/${PN}-0.9.0-bug713600_1.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
$(use_with unicode ncursesw)
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
From 32eed2ae8fcd868179a317d48cfd61d828c834df Mon Sep 17 00:00:00 2001
|
||||
From: Jason Zaman <jason@perfinion.com>
|
||||
Date: Sun, 19 Sep 2021 14:12:44 +0200
|
||||
Subject: [PATCH] __init__.py: Make NetworkX dep optional
|
||||
|
||||
selinux commit ba23ba068364ab11ff51f52bd1e20e3c63798a62
|
||||
"python: Import specific modules from setools for less deps"
|
||||
Makes userspace tools only need specific parts of setools so that the
|
||||
NetworkX dep can be dropped for minimal installations.
|
||||
Unfortunately the __init__ still imports the parts which require
|
||||
NetworkX. Wrap them in try except to guard for missing NetworkX.
|
||||
|
||||
$ semanage export
|
||||
Traceback (most recent call last):
|
||||
File "/usr/lib/python-exec/python3.9/semanage", line 29, in <module>
|
||||
import seobject
|
||||
File "/usr/lib/python3.9/site-packages/seobject.py", line 33, in <module>
|
||||
import sepolicy
|
||||
File "/usr/lib/python3.9/site-packages/sepolicy/__init__.py", line 15, in <module>
|
||||
from setools.boolquery import BoolQuery
|
||||
File "/usr/lib/python3.9/site-packages/setools/__init__.py", line 94, in <module>
|
||||
from .infoflow import InfoFlowAnalysis
|
||||
File "/usr/lib/python3.9/site-packages/setools/infoflow.py", line 24, in <module>
|
||||
import networkx as nx
|
||||
ModuleNotFoundError: No module named 'networkx'
|
||||
|
||||
Bug: https://bugs.gentoo.org/809038
|
||||
Signed-off-by: Jason Zaman <jason@perfinion.com>
|
||||
---
|
||||
setools/__init__.py | 13 +++++++++++--
|
||||
1 file changed, 11 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/setools/__init__.py b/setools/__init__.py
|
||||
index d72d343..e583737 100644
|
||||
--- a/setools/__init__.py
|
||||
+++ b/setools/__init__.py
|
||||
@@ -91,11 +91,20 @@ from .pcideviceconquery import PcideviceconQuery
|
||||
from .devicetreeconquery import DevicetreeconQuery
|
||||
|
||||
# Information Flow Analysis
|
||||
-from .infoflow import InfoFlowAnalysis
|
||||
+try:
|
||||
+ from .infoflow import InfoFlowAnalysis
|
||||
+except ImportError:
|
||||
+ # NetworkX is optional
|
||||
+ pass
|
||||
+
|
||||
from .permmap import PermissionMap, RuleWeight, Mapping
|
||||
|
||||
# Domain Transition Analysis
|
||||
-from .dta import DomainTransitionAnalysis, DomainEntrypoint, DomainTransition
|
||||
+try:
|
||||
+ from .dta import DomainTransitionAnalysis, DomainEntrypoint, DomainTransition
|
||||
+except ImportError:
|
||||
+ # NetworkX is optional
|
||||
+ pass
|
||||
|
||||
# Policy difference
|
||||
from .diff import PolicyDifference
|
||||
--
|
||||
2.32.0
|
||||
|
Binary file not shown.
@ -1,4 +1 @@
|
||||
DIST bonnie++-1.97.2.tgz 102533 BLAKE2B 019182c08b9ff7ba60e421f94039c09d27855f9e5b313f451721afdaedc9dc694b468bb30e78a04b655ec9a358ace3d68b13fc8f4d80ca3c48e0ff9387525b57 SHA512 e8303720be9a4ebcc454dbc8906a6843d63909c5101d66524a126ce0db3db7113d01edb7ed2f292bf9d08a6799579c4960f0ee4595019fbacda1601eba52a170
|
||||
DIST bonnie++-1.97.3.tgz 100166 BLAKE2B 30feca43a2ec37b795168d37bb941241777718222d7e0681dc85a34f8691e76b4306850e41dc6bbfb3f0ad34123ecd1c12396efea99e2ade12206aa6e78708e8 SHA512 44de20b5e46aeaf7f7214766b3c555b8799138f6fd92f87fe9b7dfa6f19815c629d6122c2ef4e4d98a5528dbfcd4c70b3b850eeba05739f6dd20251bf8d7c893
|
||||
DIST bonnie++-1.98.tgz 100339 BLAKE2B 2a75cbeb881fd12727b5edf4e67789e64bd624b1885cdaf83fe3fc920fb2346e98faea2d9ce5da6fac8a84318a9cbda013afa2c9809892b23d3cf85c5a70982b SHA512 3cf70be4a20c58c80e29a140ec6d3c3884f1b4101e0fb63da0ea831fe4a5eb4e275bda2ce4eaf7d9c2bfb65742e985249b491cda8bdad85984a62f2fc19756c0
|
||||
DIST bonnie++-2.00a.tgz 100502 BLAKE2B 8bf9105dbbb1137485d8f24d4b911ca6787d09e3926181b460c18ceb52aea11ddff8f8edfefd1b2577fb1b59e658f4835cc865755faf739389f78fa855d13815 SHA512 1776f8406ccd0341f13bd952830f063e7df8fc2bd6d5c837de875dd5f817e29982b2a6358049221bffcae8faa7489560d2a1af46d79d8eb221d515d797236bdc
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
DESCRIPTION="Hard drive bottleneck testing benchmark suite"
|
||||
HOMEPAGE="https://www.coker.com.au/bonnie++/"
|
||||
SRC_URI="https://www.coker.com.au/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
|
||||
IUSE="debug"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.96-compile-flags.patch" #426788
|
||||
"${FILESDIR}"/${PN}-1.97-zcav-array-indexing-fix.patch #309319
|
||||
)
|
||||
|
||||
DOCS=( README.txt README-2.00 debian/changelog credits.txt )
|
||||
HTML_DOCS=( readme.html )
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(usex debug "--enable-debug" "") \
|
||||
--disable-stripping
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bonnie++ zcav bon_csv2html bon_csv2txt
|
||||
sed -i -e \
|
||||
"s:/usr/share/doc/bonnie++:${EPREFIX}/usr/share/doc/${PF}/html:g" \
|
||||
bonnie++.8 || die #431684
|
||||
doman bon_csv2html.1 bon_csv2txt.1 bonnie++.8 zcav.8
|
||||
einstalldocs
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
DESCRIPTION="Hard drive bottleneck testing benchmark suite"
|
||||
HOMEPAGE="https://www.coker.com.au/bonnie++/"
|
||||
SRC_URI="https://www.coker.com.au/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
|
||||
IUSE="debug"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.96-compile-flags.patch" #426788
|
||||
"${FILESDIR}"/${PN}-1.97-zcav-array-indexing-fix.patch #309319
|
||||
)
|
||||
|
||||
DOCS=( README.txt README-2.00 debian/changelog credits.txt )
|
||||
HTML_DOCS=( readme.html )
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(usex debug "--enable-debug" "") \
|
||||
--disable-stripping
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bonnie++ zcav bon_csv2html bon_csv2txt
|
||||
sed -i -e \
|
||||
"s:/usr/share/doc/bonnie++:${EPREFIX}/usr/share/doc/${PF}/html:g" \
|
||||
bonnie++.8 || die #431684
|
||||
doman bon_csv2html.1 bon_csv2txt.1 bonnie++.8 zcav.8
|
||||
einstalldocs
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Hard drive bottleneck testing benchmark suite"
|
||||
HOMEPAGE="https://www.coker.com.au/bonnie++/"
|
||||
SRC_URI="https://www.coker.com.au/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.96-compile-flags.patch" #426788
|
||||
"${FILESDIR}"/${PN}-1.97-zcav-array-indexing-fix.patch #309319
|
||||
)
|
||||
|
||||
DOCS=( README.txt README-2.00 debian/changelog credits.txt )
|
||||
HTML_DOCS=( readme.html )
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(usex debug "--enable-debug" "") \
|
||||
--disable-stripping
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bonnie++ zcav bon_csv2html bon_csv2txt
|
||||
sed -i -e \
|
||||
"s:/usr/share/doc/bonnie++:${EPREFIX}/usr/share/doc/${PF}/html:g" \
|
||||
bonnie++.8 || die #431684
|
||||
doman bon_csv2html.1 bon_csv2txt.1 bonnie++.8 zcav.8
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
https://bugs.winehq.org/show_bug.cgi?id=51413
|
||||
https://bugs.gentoo.org/800809
|
||||
--- a/tools/winegcc/winegcc.c
|
||||
+++ b/tools/winegcc/winegcc.c
|
||||
@@ -1982,7 +1982,7 @@ int main(int argc, char **argv)
|
||||
if (strncmp("-Wl,", opts.args->base[i], 4) == 0)
|
||||
{
|
||||
unsigned int j;
|
||||
- strarray* Wl = strarray_fromstring(opts.args->base[i] + 4, ",=");
|
||||
+ strarray* Wl = strarray_fromstring(opts.args->base[i] + 4, ",");
|
||||
for (j = 0; j < Wl->size; j++)
|
||||
{
|
||||
if (!strcmp(Wl->base[j], "--image-base") && j < Wl->size - 1)
|
@ -1,13 +0,0 @@
|
||||
https://bugs.winehq.org/show_bug.cgi?id=51413
|
||||
https://bugs.gentoo.org/800809
|
||||
--- a/tools/winegcc/winegcc.c
|
||||
+++ b/tools/winegcc/winegcc.c
|
||||
@@ -1982,7 +1982,7 @@ int main(int argc, char **argv)
|
||||
if (strncmp("-Wl,", opts.args->base[i], 4) == 0)
|
||||
{
|
||||
unsigned int j;
|
||||
- strarray* Wl = strarray_fromstring(opts.args->base[i] + 4, ",=");
|
||||
+ strarray* Wl = strarray_fromstring(opts.args->base[i] + 4, ",");
|
||||
for (j = 0; j < Wl->size; j++)
|
||||
{
|
||||
if (!strcmp(Wl->base[j], "--image-base") && j < Wl->size - 1)
|
Binary file not shown.
Binary file not shown.
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ADA_COMPAT=( gnat_201{7..9} )
|
||||
inherit ada multiprocessing
|
||||
|
||||
MY_P=${PN}-gpl-${PV}-src
|
||||
|
||||
DESCRIPTION="A complete Web development framework"
|
||||
HOMEPAGE="http://libre.adacore.com/tools/aws/"
|
||||
SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819e0c7a447df26c27abd
|
||||
-> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-ada/xmlada[${ADA_USEDEP},shared,static-libs]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ada/asis[${ADA_USEDEP}]
|
||||
dev-ada/gprbuild[${ADA_USEDEP}]"
|
||||
|
||||
REQUIRED_USE="${ADA_REQUIRED_USE}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2016-gentoo.patch
|
||||
"${FILESDIR}"/${PN}-2018-gentoo.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
emake -j1 setup prefix=/usr ENABLE_SHARED=true \
|
||||
GPRBUILD="/usr/bin/gprbuild -v"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
PROCESSORS=$(makeopts_jobs) \
|
||||
GPRBUILD="/usr/bin/gprbuild -v"
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ADA_COMPAT=( gnat_2019 )
|
||||
inherit ada multiprocessing
|
||||
|
||||
MY_P=${P}-20190512-18AB9-src
|
||||
|
||||
DESCRIPTION="A complete Web development framework"
|
||||
HOMEPAGE="http://libre.adacore.com/tools/aws/"
|
||||
SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf85a031e87aa2cdf16b19
|
||||
-> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-ada/xmlada[${ADA_USEDEP},shared,static-libs]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ada/asis[${ADA_USEDEP}]
|
||||
dev-ada/gprbuild[${ADA_USEDEP}]"
|
||||
|
||||
REQUIRED_USE="${ADA_REQUIRED_USE}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2016-gentoo.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
emake -j1 setup prefix=/usr ENABLE_SHARED=true \
|
||||
GPRBUILD="/usr/bin/gprbuild -v"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
PROCESSORS=$(makeopts_jobs) \
|
||||
GPRBUILD="/usr/bin/gprbuild -v"
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
--- a/shared.gpr 2017-01-30 20:00:39.022743691 +0100
|
||||
+++ b/shared.gpr 2017-01-30 20:01:20.524985069 +0100
|
||||
@@ -151,11 +151,11 @@
|
||||
end case;
|
||||
|
||||
for Switches ("aws-attachments.adb")
|
||||
- use Common_Options & Debug_Options & ("-gnatVn");
|
||||
+ use Common_Options & Debug_Options & ("-gnatVn") & Adaflags;
|
||||
for Switches ("aws-session.adb")
|
||||
- use Common_Options & Debug_Options & ("-gnatVn");
|
||||
+ use Common_Options & Debug_Options & ("-gnatVn") & Adaflags;
|
||||
for Switches ("templates_parser.adb")
|
||||
- use Common_Options & Debug_Options & ("-gnatVn");
|
||||
+ use Common_Options & Debug_Options & ("-gnatVn") & Adaflags;
|
||||
-- Disable validity check on this unit to work-around N728-028
|
||||
|
||||
-- ADAFLAGS and CFLAGS should come last so that command line
|
||||
--- a/include/include.gpr 2017-02-17 22:09:14.361695926 +0100
|
||||
+++ b/include/include.gpr 2017-02-17 22:11:36.497215517 +0100
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
when "Release" =>
|
||||
for Default_Switches ("Ada") use
|
||||
- ("-gnat2012", "-O2", "-gnatws", "-gnatn") & Shared.Global_Options;
|
||||
+ ("-gnat2012", "-O2", "-gnatws", "-gnatn") & Shared.Adaflags & Shared.Global_Options;
|
||||
end case;
|
||||
|
||||
case Shared.S_Target is
|
@ -1,56 +0,0 @@
|
||||
--- a/config/src/aws-net-std__gnat.adb 2019-05-31 19:03:42.565961279 +0200
|
||||
+++ b/config/src/aws-net-std__gnat.adb 2019-05-31 19:05:23.895245892 +0200
|
||||
@@ -132,7 +132,7 @@
|
||||
|
||||
if Reuse_Address then
|
||||
Sockets.Set_Socket_Option
|
||||
- (Socket.S.FD, Option => (Sockets.Reuse_Address, Enabled => True));
|
||||
+ (Socket.S.FD, Sockets.Socket_Level, (Sockets.Reuse_Address, Enabled => True));
|
||||
end if;
|
||||
|
||||
Sockets.Bind_Socket
|
||||
@@ -263,7 +263,7 @@
|
||||
package SC renames OS_Lib;
|
||||
|
||||
Option : constant Option_Type :=
|
||||
- Get_Socket_Option (Socket.S.FD, Name => Error);
|
||||
+ Get_Socket_Option (Socket.S.FD, Socket_Level, Error);
|
||||
begin
|
||||
case Option.Error is
|
||||
when Success =>
|
||||
@@ -439,7 +439,7 @@
|
||||
is
|
||||
use Sockets;
|
||||
begin
|
||||
- return Get_Socket_Option (Socket.S.FD, Name => Receive_Buffer).Size;
|
||||
+ return Get_Socket_Option (Socket.S.FD, Socket_Level, Receive_Buffer).Size;
|
||||
exception
|
||||
when E : Sockets.Socket_Error =>
|
||||
Raise_Exception (E, "Get_Receive_Buffer_Size", Socket);
|
||||
@@ -454,7 +454,7 @@
|
||||
is
|
||||
use Sockets;
|
||||
begin
|
||||
- return Get_Socket_Option (Socket.S.FD, Name => Send_Buffer).Size;
|
||||
+ return Get_Socket_Option (Socket.S.FD, Socket_Level, Send_Buffer).Size;
|
||||
exception
|
||||
when E : Sockets.Socket_Error =>
|
||||
Raise_Exception (E, "Get_Send_Buffer_Size", Socket);
|
||||
@@ -709,7 +709,7 @@
|
||||
is
|
||||
use Sockets;
|
||||
begin
|
||||
- Set_Socket_Option (Socket.S.FD, Option => (Receive_Buffer, Size));
|
||||
+ Set_Socket_Option (Socket.S.FD, Socket_Level, (Receive_Buffer, Size));
|
||||
exception
|
||||
when E : Sockets.Socket_Error =>
|
||||
Raise_Exception (E, "Set_Receive_Buffer_Size", Socket);
|
||||
@@ -725,7 +725,7 @@
|
||||
is
|
||||
use Sockets;
|
||||
begin
|
||||
- Set_Socket_Option (Socket.S.FD, Option => (Send_Buffer, Size));
|
||||
+ Set_Socket_Option (Socket.S.FD, Socket_Level, (Send_Buffer, Size));
|
||||
exception
|
||||
when E : Sockets.Socket_Error =>
|
||||
Raise_Exception (E, "Set_Send_Buffer_Size", Socket);
|
@ -1,2 +0,0 @@
|
||||
DIST gnat-gpl-2017-x86_64-linux-bin.tar.gz 496338280 BLAKE2B b3eee6d311fb9c20bc8fa7217c0731ca1e91ced38700df1d63d91a16c3fa28dfd44c7c8e867c3a857b88e4f0c8b2a7200fb6a8a630b8403538c4784f8914d1a5 SHA512 01a8f3be9b7b7e83cc5bd4a45137b1d35c6448bc22a88bcaf5d312cd63e11081b6b2fe9f09ad2a27d8f0b6471fc5c1a99573bf3bcee1589329054074eaeef04f
|
||||
DIST gnat-suite-bin-2018.txz 337235688 BLAKE2B cf1b8f0253907b8fc97b9c7218b23dcda8f1557be5e12293eab59e09427418a8814c1bafbcb3f89c1e5dd755a161c5dfa8a852631d137f17acb3167bf51dadbb SHA512 9b57709c05a121b0a0adabe3232128e3f27659d1928857fbd6883b73a7487c3d457317e8f236df3d16ced635514af8afbafc584cc74d865e11288820ac9c4f77
|
@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
MYP=gnat-gpl-${PV}
|
||||
DESCRIPTION="GNAT Ada suite"
|
||||
HOMEPAGE="http://libre.adacore.com/"
|
||||
SRC_URI="http://mirrors.cdn.adacore.com/art/591c6d80c7a447af2deed1d7
|
||||
-> ${MYP}-x86_64-linux-bin.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 GPL-3"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
sys-devel/binutils
|
||||
sys-devel/gdb
|
||||
sys-libs/gdbm
|
||||
sys-libs/ncurses-compat
|
||||
"
|
||||
|
||||
S="${WORKDIR}"/${MYP}-x86_64-linux-bin
|
||||
|
||||
PREFIX=/opt/${P}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm Makefile
|
||||
cd share/examples/gnat
|
||||
cat header.xml \
|
||||
full_project/full.xml \
|
||||
options/options.xml \
|
||||
other_languages/cpp_main/cpp_main.xml \
|
||||
other_languages/cpp_pragmas/cpp_pragmas.xml \
|
||||
other_languages/import_from_c/import_from_c.xml \
|
||||
plugins/plugins.xml \
|
||||
stream_io/stream_io.xml \
|
||||
simple_project/simple_project.xml \
|
||||
starter/starter.xml \
|
||||
xml_stream/xml_stream.xml \
|
||||
containers/anagram/anagram.xml \
|
||||
containers/genealogy/genealogy.xml \
|
||||
containers/hash/hash.xml \
|
||||
containers/library/library.xml \
|
||||
containers/shapes/shapes.xml \
|
||||
containers/spellcheck/spellcheck.xml \
|
||||
containers/wordcount/wordcount.xml \
|
||||
containers/wordfreq/wordfreq.xml \
|
||||
oo_interfaces/oo_interfaces.xml \
|
||||
oo_airline/oo_airline.xml \
|
||||
altivec/altivec.xml \
|
||||
footer.xml \
|
||||
> gnat-examples.xml \
|
||||
|| die
|
||||
sed -i \
|
||||
-e "s:PREFIX:${PREFIX}:" \
|
||||
gnat-examples.xml || die
|
||||
cd ../../..
|
||||
|
||||
# Remove objects from binutils
|
||||
cd bin
|
||||
rm addr2line ar c++filt gprof ld.* nm obj* r* s* || die
|
||||
cd ..
|
||||
rm share/doc/gnat/info/{as,bfd,binutils,ld}.info || die
|
||||
|
||||
# Remove objects from gdb
|
||||
cd bin
|
||||
rm gdb gdbserver gcore || die
|
||||
cd ..
|
||||
rm -r include/gdb || die
|
||||
rm lib*/libinproctrace.so || die
|
||||
rm -r share/gdb-* || die
|
||||
rm share/doc/gnat/info/gdb.info || die
|
||||
|
||||
basever=6.3.1
|
||||
machine=x86_64-pc-linux-gnu
|
||||
rm libexec//gcc/${machine}/${basever}/ld || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into ${PREFIX}
|
||||
dobin bin/*
|
||||
insinto ${PREFIX}
|
||||
doins -r etc include lib* share
|
||||
insinto ${PREFIX}/share/gps/plug-ins
|
||||
doins share/examples/gnat/gnat-examples.xml
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/cc1
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/cc1plus
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/collect2
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/gnat1
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/liblto_plugin.so.0.0.0
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/lto1
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/lto-wrapper
|
||||
fperms 755 ${PREFIX}/libexec/gprbuild/gprbind
|
||||
fperms 755 ${PREFIX}/libexec/gprbuild/gprlib
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "GNAT GPL is now installed. To launch it, you must put"
|
||||
einfo " ${PREFIX}/bin"
|
||||
einfo "in front of your PATH environment variable. The following"
|
||||
einfo "commands enable you to do this:"
|
||||
einfo " PATH=${PREFIX}/bin:\$PATH; export PATH (Bourne shell)"
|
||||
einfo " setenv PATH ${PREFIX}/bin:\$PATH (C shell)"
|
||||
einfo " Thank you for installing GNAT GPL Edition"
|
||||
}
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
MYP=gnat-gpl-${PV}
|
||||
DESCRIPTION="GNAT Ada suite"
|
||||
HOMEPAGE="http://libre.adacore.com/"
|
||||
# Extracted and repacked from http://mirrors.cdn.adacore.com/art/5b0d7bffa3f5d709751e3e04
|
||||
SRC_URI="https://dev.gentoo.org/~tupone/distfiles/${P}.txz"
|
||||
|
||||
LICENSE="GPL-2 GPL-3"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
sys-devel/binutils
|
||||
sys-devel/gdb
|
||||
sys-libs/gdbm
|
||||
sys-libs/ncurses-compat
|
||||
"
|
||||
|
||||
PREFIX=/opt/${P}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm Makefile
|
||||
cd share/examples/gnat
|
||||
cat header.xml \
|
||||
full_project/full.xml \
|
||||
options/options.xml \
|
||||
other_languages/cpp_main/cpp_main.xml \
|
||||
other_languages/cpp_pragmas/cpp_pragmas.xml \
|
||||
other_languages/import_from_c/import_from_c.xml \
|
||||
plugins/plugins.xml \
|
||||
stream_io/stream_io.xml \
|
||||
simple_project/simple_project.xml \
|
||||
starter/starter.xml \
|
||||
xml_stream/xml_stream.xml \
|
||||
containers/anagram/anagram.xml \
|
||||
containers/genealogy/genealogy.xml \
|
||||
containers/hash/hash.xml \
|
||||
containers/library/library.xml \
|
||||
containers/shapes/shapes.xml \
|
||||
containers/spellcheck/spellcheck.xml \
|
||||
containers/wordcount/wordcount.xml \
|
||||
containers/wordfreq/wordfreq.xml \
|
||||
oo_interfaces/oo_interfaces.xml \
|
||||
oo_airline/oo_airline.xml \
|
||||
altivec/altivec.xml \
|
||||
footer.xml \
|
||||
> gnat-examples.xml \
|
||||
|| die
|
||||
sed -i \
|
||||
-e "s:PREFIX:${PREFIX}:" \
|
||||
gnat-examples.xml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into ${PREFIX}
|
||||
dobin bin/*
|
||||
insinto ${PREFIX}
|
||||
doins -r etc include lib* share
|
||||
insinto ${PREFIX}/share/gps/plug-ins
|
||||
doins share/examples/gnat/gnat-examples.xml
|
||||
basever=7.3.1
|
||||
machine=x86_64-pc-linux-gnu
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/cc1
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/cc1plus
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/collect2
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/gnat1
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/liblto_plugin.so.0.0.0
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/lto1
|
||||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/lto-wrapper
|
||||
fperms 755 ${PREFIX}/libexec/gprbuild/gprbind
|
||||
fperms 755 ${PREFIX}/libexec/gprbuild/gprlib
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "GNAT GPL is now installed. To launch it, you must put"
|
||||
einfo " ${PREFIX}/bin"
|
||||
einfo "in front of your PATH environment variable. The following"
|
||||
einfo "commands enable you to do this:"
|
||||
einfo " PATH=${PREFIX}/bin:\$PATH; export PATH (Bourne shell)"
|
||||
einfo " setenv PATH ${PREFIX}/bin:\$PATH (C shell)"
|
||||
einfo " Thank you for installing GNAT GPL Edition"
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ada@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ADA_COMPAT=( gnat_2017 )
|
||||
inherit ada multiprocessing
|
||||
|
||||
MYP=${PN}-gpl-${PV}
|
||||
|
||||
DESCRIPTION="Provides access to GNAT compiler internals for AdaCore utilities"
|
||||
HOMEPAGE="http://libre.adacore.com"
|
||||
SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed037
|
||||
-> ${MYP}-src.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+shared static-libs static-pic"
|
||||
|
||||
RDEPEND="${ADA_DEPS}"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ada/gprbuild[${ADA_USEDEP}]"
|
||||
|
||||
REQUIRED_USE="${ADA_REQUIRED_USE}"
|
||||
|
||||
S="${WORKDIR}"/${MYP}-src
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
src_compile() {
|
||||
emake GNATMAKE="gnatmake ${ADAFLAGS}" \
|
||||
BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources
|
||||
if use static-libs; then
|
||||
emake BUILDER="gprbuild -v -j$(makeopts_jobs)" build-static
|
||||
fi
|
||||
for kind in shared static-pic; do
|
||||
if use ${kind}; then
|
||||
emake BUILDER="gprbuild -v -j$(makeopts_jobs)" \
|
||||
build-${kind}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use static-libs; then
|
||||
emake prefix="${D}"/usr install-static
|
||||
fi
|
||||
for kind in shared static-pic; do
|
||||
if use ${kind}; then
|
||||
emake prefix="${D}"/usr install-${kind}
|
||||
fi
|
||||
done
|
||||
einstalldocs
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ADA_COMPAT=( gnat_201{8,9} )
|
||||
inherit ada multiprocessing
|
||||
|
||||
MYP=${PN}-gpl-${PV}
|
||||
|
||||
DESCRIPTION="Provides access to GNAT compiler internals for AdaCore utilities"
|
||||
HOMEPAGE="http://libre.adacore.com"
|
||||
SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27a6b
|
||||
-> ${MYP}-src.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+shared static-libs static-pic"
|
||||
|
||||
RDEPEND="${ADA_DEPS}"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ada/gprbuild[${ADA_USEDEP}]"
|
||||
REQUIRED_USE="${ADA_REQUIRED_USE}"
|
||||
|
||||
S="${WORKDIR}"/${MYP}-src
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch )
|
||||
|
||||
src_compile() {
|
||||
emake GNATMAKE="gnatmake ${ADAFLAGS}" \
|
||||
BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources
|
||||
if use static-libs; then
|
||||
emake BUILDER="gprbuild -v -j$(makeopts_jobs)" build-static
|
||||
fi
|
||||
for kind in shared static-pic; do
|
||||
if use ${kind}; then
|
||||
emake BUILDER="gprbuild -v -j$(makeopts_jobs)" \
|
||||
build-${kind}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use static-libs; then
|
||||
emake prefix="${D}"/usr install-static
|
||||
fi
|
||||
for kind in shared static-pic; do
|
||||
if use ${kind}; then
|
||||
emake prefix="${D}"/usr install-${kind}
|
||||
fi
|
||||
done
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,9 +1,4 @@
|
||||
DIST mysql-connector-c++-1.1.12.tar.gz 518615 BLAKE2B 386a4753ca3f03999a49a89507da1b1172b3db89797c38403fee4eea86e7108a5e4f91f24a17de86d585c2a3d9e5742a117fa84d9b14aad649f938a597f3dae9 SHA512 d7e132dbc2efda4a77f8ae00c24006a1ade1d0a50f22d89ece453505e6d206427ee7988df29c0d6ef8b396ad6b8d326b6d263a1d4fa08ef5db0966fb4f1479f4
|
||||
DIST mysql-connector-c++-8.0.19-src.tar.gz 3137484 BLAKE2B 82a2900b0daa00bcfd72d562818ada25fe15901991a896a46ecdd9304e03066c4e7a3804287540559df1c74dbd1b3983b450ab783ee8cb7f0d7ec152f3cdc6b0 SHA512 5987ae31cda3a5db18ceded201ccbe66263b8ab7665ceacf70af6bb6b99130377b40514b96644b0768fd809b36ee02580520923c11c1edecccc75da15d7bb0bd
|
||||
DIST mysql-connector-c++-8.0.20-src.tar.gz 3774428 BLAKE2B a06114432ab21c36fd0b3b91df2382198b2a48871e8e0bfd8c7a94729ed0e29f33599c078c97670fe9d744b13042db52fb89de2294c75eae670a77112d11d251 SHA512 3edb7c3d4ccf218a3f76afcf83a6d233b7accd236c05105ab3f7a6610cfd8809a78c78142c82fb60fb0931d2ae0f0f8fdc3ce9caf5f0cde7ef54067a7e20270b
|
||||
DIST mysql-connector-c++-8.0.21-src.tar.gz 3788740 BLAKE2B 1862b4f2c6e2a2bbe8e3044eea2c1d3c8fdb0a319e3758ca44686b79e917a65617e2cfd0e4b698d858ed9ef12c892b4f658eb287f2a8505a5daeeb79d9544c25 SHA512 8a64dff2efd16d2891f613fd416ec42ecba2490b428b1778e99822a3051d9c5af3b94006577e9f38a6ebd146d2f3be522cb876f1e42fbf0ac82001b0a62ffa62
|
||||
DIST mysql-connector-c++-8.0.22-src.tar.gz 3795112 BLAKE2B c5d6f0ebeb4649857f3217a35f3ae885d62be63af4da09815e7eb156538ece4f805578db24bfff3dd44a0e320c025a9936d7edacba69a2786d84dd932c5abb8a SHA512 1975b43fa3f3806cccc685a695f84783164c5b17da10ac14a6013d27c837cc9c63fff01b1ed4b31f22dae60afa68d34ec56ca9c45ca3dac23635e8f0fa845aa4
|
||||
DIST mysql-connector-c++-8.0.23-src.tar.gz 3798295 BLAKE2B 923eebbd7f9cde0252c84de4c70863b40c0dd93ad98a93e2ec14c935b2f3f0b0f251828a8bbbd0f23a5ec03491db06020294e19455901d15181c84fec9fb3d7f SHA512 f8eb8842e199d7373f4b55644720ac63b93eb33be19294c433f57aaf556ce1b5752223154194469fa28af52adebe930f0a7b4e8f62df92cc810b545aa7bab928
|
||||
DIST mysql-connector-c++-8.0.24-src.tar.gz 3797356 BLAKE2B e509e04f6c93893948c573401188567bcbda91db0e608d53b1795593abf043117e1a525d3abe5c8396068a2ef750582cde15b64412e556e89762d08032abb602 SHA512 5507bc562e8263ee17efb9d4e2f52e471da75e73a1fc4dd1bc0a2ac1c2a593be889c4b042037cf6d3cbff854ae5cc865a8800251da475aed0f31710229af26f1
|
||||
DIST mysql-connector-c++-8.0.25-src.tar.gz 3800065 BLAKE2B 67546b2d7d9de25ccb440c22bd58ee83e6fae78710e6dfa802cb0446bf5be433c56458424f0ee81c9a899bbfd5f464712d2d0b43dceb4205b492c7b1a79f7858 SHA512 44dd7f4296d666801be55642e53cb5181d9b5c3b080306975a48eb6280e555d9b924b42b14b44dffee4c54fab3f662a7b6bb6584d9a1ed710f0026788611c525
|
||||
DIST mysql-connector-c++-8.0.26-src.tar.gz 3980027 BLAKE2B 86ce0d94db588ed86ce7b21851f866da26268f7c9059b57697cbe1f5c5d031a3eada2f55042feb7b2888b538277c773215c0d19e8a1968ff70ce363e8f95bd77 SHA512 e3a08551a4245bf886cb7e3775a256fa379bb781b523a84d30e0d0c16cae73c808a3413b08b09998eba9c0ea3ede19e505b6392ed71712a8e9a2df31f07e4c79
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="MySQL database connector for C++ (mimics JDBC 4.0 API)"
|
||||
HOMEPAGE="https://dev.mysql.com/downloads/connector/cpp/"
|
||||
URI_DIR="Connector-C++"
|
||||
SRC_URI="https://dev.mysql.com/get/Downloads/${URI_DIR}/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="Artistic GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE="+legacy"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/protobuf:=
|
||||
legacy? (
|
||||
dev-libs/boost:=
|
||||
>=dev-db/mysql-connector-c-6.1.8:=
|
||||
)
|
||||
dev-libs/openssl:0=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.0.19-fix-build.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_SSL=system
|
||||
-DWITH_JDBC=$(usex legacy ON OFF)
|
||||
$(usex legacy '-DMYSQLCLIENT_STATIC_BINDING=0' '')
|
||||
$(usex legacy '-DMYSQLCLIENT_STATIC_LINKING=0' '')
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="MySQL database connector for C++ (mimics JDBC 4.0 API)"
|
||||
HOMEPAGE="https://dev.mysql.com/downloads/connector/cpp/"
|
||||
URI_DIR="Connector-C++"
|
||||
SRC_URI="https://dev.mysql.com/get/Downloads/${URI_DIR}/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="Artistic GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="+legacy"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/protobuf:=
|
||||
legacy? (
|
||||
dev-libs/boost:=
|
||||
>=dev-db/mysql-connector-c-6.1.8:=
|
||||
)
|
||||
dev-libs/openssl:0=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.0.19-fix-build.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_SSL=system
|
||||
-DWITH_JDBC=$(usex legacy ON OFF)
|
||||
$(usex legacy '-DMYSQLCLIENT_STATIC_BINDING=0' '')
|
||||
$(usex legacy '-DMYSQLCLIENT_STATIC_LINKING=0' '')
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="MySQL database connector for C++ (mimics JDBC 4.0 API)"
|
||||
HOMEPAGE="https://dev.mysql.com/downloads/connector/cpp/"
|
||||
URI_DIR="Connector-C++"
|
||||
SRC_URI="https://dev.mysql.com/get/Downloads/${URI_DIR}/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="Artistic GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE="+legacy"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/protobuf:=
|
||||
legacy? (
|
||||
dev-libs/boost:=
|
||||
>=dev-db/mysql-connector-c-6.1.8:=
|
||||
)
|
||||
dev-libs/openssl:0=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.0.19-fix-build.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_SSL=system
|
||||
-DWITH_JDBC=$(usex legacy ON OFF)
|
||||
$(usex legacy '-DMYSQLCLIENT_STATIC_BINDING=0' '')
|
||||
$(usex legacy '-DMYSQLCLIENT_STATIC_LINKING=0' '')
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="MySQL database connector for C++ (mimics JDBC 4.0 API)"
|
||||
HOMEPAGE="https://dev.mysql.com/downloads/connector/cpp/"
|
||||
URI_DIR="Connector-C++"
|
||||
SRC_URI="https://dev.mysql.com/get/Downloads/${URI_DIR}/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="Artistic GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE="+legacy"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/protobuf:=
|
||||
legacy? (
|
||||
dev-libs/boost:=
|
||||
>=dev-db/mysql-connector-c-6.1.8:=
|
||||
)
|
||||
dev-libs/openssl:0=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.0.22-fix-build.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_SSL=system
|
||||
-DWITH_JDBC=$(usex legacy ON OFF)
|
||||
$(usex legacy '-DMYSQLCLIENT_STATIC_BINDING=0' '')
|
||||
$(usex legacy '-DMYSQLCLIENT_STATIC_LINKING=0' '')
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="MySQL database connector for C++ (mimics JDBC 4.0 API)"
|
||||
HOMEPAGE="https://dev.mysql.com/downloads/connector/cpp/"
|
||||
URI_DIR="Connector-C++"
|
||||
SRC_URI="https://dev.mysql.com/get/Downloads/${URI_DIR}/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="Artistic GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE="+legacy"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/protobuf:=
|
||||
legacy? (
|
||||
dev-libs/boost:=
|
||||
>=dev-db/mysql-connector-c-6.1.8:=
|
||||
)
|
||||
dev-libs/openssl:0=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.0.22-fix-build.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_SSL=system
|
||||
-DWITH_JDBC=$(usex legacy ON OFF)
|
||||
$(usex legacy '-DMYSQLCLIENT_STATIC_BINDING=0' '')
|
||||
$(usex legacy '-DMYSQLCLIENT_STATIC_LINKING=0' '')
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST aesara-rel-2.1.3.tar.gz 8170822 BLAKE2B dbbc4a453c5d7f9cd4ab2c925dd9293e835db23100686a8d7ab2c47182b1bc05f883eeb60d6f47f8f34e4187f3ac07b632cde43fe82a99e2145a2f699a2b3582 SHA512 52d1724eb7b3c9bae4bdbf1735db9ef96cdfa94f3e2281b255201d0baba260fe31f78c00719a53ce3c59ea9c66ff218d8acd7bc012b386942f29806c07ffc466
|
||||
DIST aesara-rel-2.2.1.tar.gz 8166022 BLAKE2B af3c17029dacb3d365bf49eb01d4d03b5a4f770f66d3e5eba2c4576ef156056bc1aca3571442c1cb7352c358978b47faa7af70ca0da2a2168d8c9bfd47b17138 SHA512 f7bab8ca80e8d13ef7698c1efa56ff37c561786330bf756c7a00c54ae1f131810d68bfd6e328b0705d45788759bd984d42306d2c545d2de6b9a3592b5c021ad8
|
||||
DIST aesara-rel-2.2.2.tar.gz 8174667 BLAKE2B e0b22e7e38dbff1089b0db77ee55fbc8f1847da576a54b1f59a34c22d9bb777f108b8d06d3e4cddeb826f4bee566d32f6b4ec013f96ee61ecce6924188aa1dc7 SHA512 1f2eff0c959605a09521d15010058851e8dc340ca84d760baf6166508e37cc7734e8737ca199618f4e9bd33bd04c053add0a790917f4c125052631f693383945
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
MY_P=aesara-rel-${PV}
|
||||
DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
|
||||
HOMEPAGE="https://github.com/aesara-devs/aesara"
|
||||
SRC_URI="https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/filelock[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.17.0[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/scipy[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i -e "s/tests.\*/tests\*/" setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local exclude=(
|
||||
# speed tests are unreliable
|
||||
tests/scan/test_basic.py::test_speed
|
||||
tests/scan/test_basic.py::test_speed_rnn
|
||||
tests/scan/test_basic.py::test_speed_batchrnn
|
||||
tests/link/test_vm.py::test_speed
|
||||
tests/link/test_vm.py::test_speed_lazy
|
||||
tests/tensor/test_gc.py::test_merge_opt_runtime
|
||||
|
||||
# rounding problem?
|
||||
# https://github.com/aesara-devs/aesara/issues/477
|
||||
tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
|
||||
tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
|
||||
)
|
||||
|
||||
distutils_install_for_testing
|
||||
# we do not package numba
|
||||
epytest ${exclude[@]/#/--deselect } \
|
||||
--ignore tests/link/test_numba.py \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
||||
|
||||
# https://dev.gentoo.org/~mgorny/python-guide/concept.html#packaging-pkgutil-style-namespaces-in-gentoo
|
||||
python_install() {
|
||||
rm "${BUILD_DIR}"/lib/bin/__init__.py || die
|
||||
distutils-r1_python_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
|
||||
optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
|
||||
}
|
@ -0,0 +1,233 @@
|
||||
From: Felix Schwarz <felix.schwarz@oss.schwarz.eu>
|
||||
https://github.com/edgewall/genshi/pull/49
|
||||
|
||||
--- a/genshi/util.py
|
||||
+++ b/genshi/util.py
|
||||
@@ -119,7 +119,6 @@ def _insert_item(self, item):
|
||||
|
||||
def _manage_size(self):
|
||||
while len(self._dict) > self.capacity:
|
||||
- olditem = self._dict[self.tail.key]
|
||||
del self._dict[self.tail.key]
|
||||
if self.tail != self.head:
|
||||
self.tail = self.tail.prv
|
||||
|
||||
--- a/genshi/core.py
|
||||
+++ b/genshi/core.py
|
||||
@@ -20,7 +20,8 @@
|
||||
|
||||
import six
|
||||
|
||||
-from genshi.util import plaintext, stripentities, striptags, stringrepr
|
||||
+from genshi.compat import stringrepr
|
||||
+from genshi.util import stripentities, striptags
|
||||
|
||||
__all__ = ['Stream', 'Markup', 'escape', 'unescape', 'Attrs', 'Namespace',
|
||||
'QName']
|
||||
--- a/genshi/filters/tests/i18n.py
|
||||
+++ b/genshi/filters/tests/i18n.py
|
||||
@@ -12,7 +12,6 @@
|
||||
# history and logs, available at http://genshi.edgewall.org/log/.
|
||||
|
||||
from datetime import datetime
|
||||
-import doctest
|
||||
from gettext import NullTranslations
|
||||
import unittest
|
||||
|
||||
--- a/genshi/filters/tests/test_html.py
|
||||
+++ b/genshi/filters/tests/test_html.py
|
||||
@@ -11,7 +11,6 @@
|
||||
# individuals. For the exact contribution history, see the revision
|
||||
# history and logs, available at http://genshi.edgewall.org/log/.
|
||||
|
||||
-import doctest
|
||||
import unittest
|
||||
|
||||
import six
|
||||
--- a/genshi/filters/tests/transform.py
|
||||
+++ b/genshi/filters/tests/transform.py
|
||||
@@ -12,7 +12,6 @@
|
||||
# history and logs, available at http://genshi.edgewall.org/log/.
|
||||
|
||||
import doctest
|
||||
-from pprint import pprint
|
||||
import unittest
|
||||
|
||||
import six
|
||||
--- a/genshi/input.py
|
||||
+++ b/genshi/input.py
|
||||
@@ -22,8 +22,6 @@
|
||||
import six
|
||||
from six.moves import html_entities as entities, html_parser as html
|
||||
|
||||
-import six
|
||||
-
|
||||
from genshi.core import Attrs, QName, Stream, stripentities
|
||||
from genshi.core import START, END, XML_DECL, DOCTYPE, TEXT, START_NS, \
|
||||
END_NS, START_CDATA, END_CDATA, PI, COMMENT
|
||||
--- a/genshi/output.py
|
||||
+++ b/genshi/output.py
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
import six
|
||||
|
||||
-from genshi.core import escape, Attrs, Markup, Namespace, QName, StreamEventKind
|
||||
+from genshi.core import escape, Attrs, Markup, QName, StreamEventKind
|
||||
from genshi.core import START, END, TEXT, XML_DECL, DOCTYPE, START_NS, END_NS, \
|
||||
START_CDATA, END_CDATA, PI, COMMENT, XML_NAMESPACE
|
||||
|
||||
--- a/genshi/template/base.py
|
||||
+++ b/genshi/template/base.py
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
from collections import deque
|
||||
import os
|
||||
-import sys
|
||||
|
||||
import six
|
||||
|
||||
--- a/genshi/template/directives.py
|
||||
+++ b/genshi/template/directives.py
|
||||
@@ -19,8 +19,7 @@
|
||||
from genshi.path import Path
|
||||
from genshi.template.base import TemplateRuntimeError, TemplateSyntaxError, \
|
||||
EXPR, _apply_directives, _eval_expr
|
||||
-from genshi.template.eval import Expression, ExpressionASTTransformer, \
|
||||
- _ast, _parse
|
||||
+from genshi.template.eval import Expression, _ast, _parse
|
||||
|
||||
__all__ = ['AttrsDirective', 'ChooseDirective', 'ContentDirective',
|
||||
'DefDirective', 'ForDirective', 'IfDirective', 'MatchDirective',
|
||||
--- a/genshi/template/interpolation.py
|
||||
+++ b/genshi/template/interpolation.py
|
||||
@@ -16,7 +16,6 @@
|
||||
"""
|
||||
|
||||
from itertools import chain
|
||||
-import os
|
||||
import re
|
||||
from tokenize import PseudoToken
|
||||
|
||||
--- a/genshi/template/markup.py
|
||||
+++ b/genshi/template/markup.py
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
from itertools import chain
|
||||
|
||||
-from genshi.core import Attrs, Markup, Namespace, Stream, StreamEventKind
|
||||
+from genshi.core import Attrs, Markup, Namespace, Stream
|
||||
from genshi.core import START, END, START_NS, END_NS, TEXT, PI, COMMENT
|
||||
from genshi.input import XMLParser
|
||||
from genshi.template.base import BadDirectiveError, Template, \
|
||||
--- a/genshi/template/text.py
|
||||
+++ b/genshi/template/text.py
|
||||
@@ -35,7 +35,6 @@
|
||||
TemplateSyntaxError, EXEC, INCLUDE, SUB
|
||||
from genshi.template.eval import Suite
|
||||
from genshi.template.directives import *
|
||||
-from genshi.template.directives import Directive
|
||||
from genshi.template.interpolation import interpolate
|
||||
|
||||
__all__ = ['NewTextTemplate', 'OldTextTemplate', 'TextTemplate']
|
||||
--- a/genshi/tests/core.py
|
||||
+++ b/genshi/tests/core.py
|
||||
@@ -11,13 +11,12 @@
|
||||
# individuals. For the exact contribution history, see the revision
|
||||
# history and logs, available at http://genshi.edgewall.org/log/.
|
||||
|
||||
-import doctest
|
||||
import pickle
|
||||
import unittest
|
||||
|
||||
from genshi import core
|
||||
from genshi.core import Markup, Attrs, Namespace, QName, escape, unescape
|
||||
-from genshi.input import XML, ParseError
|
||||
+from genshi.input import XML
|
||||
from genshi.compat import StringIO, BytesIO, IS_PYTHON2
|
||||
from genshi.tests.test_utils import doctest_suite
|
||||
|
||||
--- a/genshi/tests/input.py
|
||||
+++ b/genshi/tests/input.py
|
||||
@@ -11,8 +11,6 @@
|
||||
# individuals. For the exact contribution history, see the revision
|
||||
# history and logs, available at http://genshi.edgewall.org/log/.
|
||||
|
||||
-import doctest
|
||||
-import sys
|
||||
import unittest
|
||||
|
||||
from genshi.core import Attrs, Stream
|
||||
--- a/genshi/tests/output.py
|
||||
+++ b/genshi/tests/output.py
|
||||
@@ -11,9 +11,7 @@
|
||||
# individuals. For the exact contribution history, see the revision
|
||||
# history and logs, available at http://genshi.edgewall.org/log/.
|
||||
|
||||
-import doctest
|
||||
import unittest
|
||||
-import sys
|
||||
|
||||
from genshi.core import Attrs, Markup, QName, Stream
|
||||
from genshi.input import HTML, XML
|
||||
--- a/genshi/tests/path.py
|
||||
+++ b/genshi/tests/path.py
|
||||
@@ -11,7 +11,6 @@
|
||||
# individuals. For the exact contribution history, see the revision
|
||||
# history and logs, available at http://genshi.edgewall.org/log/.
|
||||
|
||||
-import doctest
|
||||
import unittest
|
||||
|
||||
from genshi.core import Attrs, QName
|
||||
--- a/genshi/tests/util.py
|
||||
+++ b/genshi/tests/util.py
|
||||
@@ -11,7 +11,6 @@
|
||||
# individuals. For the exact contribution history, see the revision
|
||||
# history and logs, available at http://genshi.edgewall.org/log/.
|
||||
|
||||
-import doctest
|
||||
import unittest
|
||||
|
||||
from genshi import util
|
||||
--- a/genshi/util.py
|
||||
+++ b/genshi/util.py
|
||||
@@ -19,8 +19,6 @@
|
||||
|
||||
import six
|
||||
|
||||
-from .compat import stringrepr
|
||||
-
|
||||
__docformat__ = 'restructuredtext en'
|
||||
|
||||
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -12,11 +12,8 @@
|
||||
# individuals. For the exact contribution history, see the revision
|
||||
# history and logs, available at http://genshi.edgewall.org/log/.
|
||||
|
||||
-from distutils.cmd import Command
|
||||
from distutils.command.build_ext import build_ext
|
||||
from distutils.errors import CCompilerError, DistutilsPlatformError
|
||||
-import doctest
|
||||
-from glob import glob
|
||||
import os
|
||||
try:
|
||||
from setuptools import setup, Extension
|
||||
|
||||
--- a/genshi/compat.py
|
||||
+++ b/genshi/compat.py
|
||||
@@ -99,6 +99,13 @@ def get_code_params(code):
|
||||
|
||||
|
||||
def build_code_chunk(code, filename, name, lineno):
|
||||
+ if hasattr(code, 'replace'):
|
||||
+ # Python 3.8+
|
||||
+ return code.replace(
|
||||
+ co_filename=filename,
|
||||
+ co_name=name,
|
||||
+ co_firstlineno=lineno,
|
||||
+ )
|
||||
params = [0, code.co_nlocals, code.co_kwonlyargcount,
|
||||
code.co_stacksize, code.co_flags | 0x0040,
|
||||
code.co_code, code.co_consts, code.co_names,
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST qtwebengine-5.15.2-chromium87-ppc64le.tar.xz 28536 BLAKE2B 98f8e01e7026d9df1d30ae453d4394d3c4ad04c0620a2496235d45f5f1080c2280e040826cde7f72d9771bfc80d0c3df56c9dcbe4f763cec432ad56de37d64c5 SHA512 c90a76f44a9d720624016fd082ab3036f12e13b9789e869ebaf5e4774afca7d4187faf187f365f696d1a7eda05ca75516556ee9d291cdb3408d57cc4b23e2654
|
||||
DIST qtwebengine-5.15.2_p20210625.tar.xz 320144708 BLAKE2B cd11e69a34ff0fa07d26262906a12304c39a12575024d61db18bc696284e9c5700090e5bfed217c89d2c8eac49b0ccb7d7ee0ba716ec3a81878de1301566884d SHA512 517a8cdaff684894456db8cfb5cfca412b8764e7035623d8190d9a06f6995742097a53eb67329d12bf8dc0a56372f7d09a54532ba804a5bff245ca8ef042a4e1
|
||||
DIST qtwebengine-5.15.2_p20210824.tar.xz 320214264 BLAKE2B fe611805107822f495e0921de4fc9a8737bd3238a332e03d27421a3fd14dc1417c1d69e9ec5e9f6bf922f98045cbdf9ee2c76621db988c8b1e6e0e90b2c6dc7e SHA512 3a5f9ef45ba488aee601e092d1c4a5f707a854d5b9f0a5e62cb88dcdf280163182abc98b0a55b28591e81e18b5147142d404dcdc92feb61414ce2d4ce0d2dca6
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- a/src/buildtools/config/common.pri 2020-02-28 22:21:09.341072620 +0200
|
||||
+++ b/src/buildtools/config/common.pri 2020-02-28 22:20:26.702399180 +0200
|
||||
@@ -25,6 +25,7 @@
|
||||
strip_absolute_paths_from_debug_symbols=false \
|
||||
toolkit_views=false \
|
||||
treat_warnings_as_errors=false \
|
||||
+ fatal_linker_warnings=false \
|
||||
use_allocator_shim=false \
|
||||
use_allocator=\"none\" \
|
||||
use_custom_libcxx=false \
|
@ -1,224 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
QTVER=$(ver_cut 1-3)
|
||||
inherit estack flag-o-matic multiprocessing python-any-r1 qt5-build
|
||||
|
||||
DESCRIPTION="Library for rendering dynamic web content in Qt5 C++ and QML applications"
|
||||
HOMEPAGE="https://www.qt.io/"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
|
||||
if [[ ${PV} == ${QTVER}_p* ]]; then
|
||||
SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz"
|
||||
S="${WORKDIR}/${P}"
|
||||
QT5_BUILD_DIR="${S}_build"
|
||||
fi
|
||||
else
|
||||
EGIT_BRANCH="5.15"
|
||||
EGIT_REPO_URI=(
|
||||
"https://code.qt.io/qt/${QT5_MODULE}.git"
|
||||
"https://github.com/qt/${QT5_MODULE}.git"
|
||||
)
|
||||
inherit git-r3
|
||||
fi
|
||||
|
||||
# patchset based on https://github.com/chromium-ppc64le releases
|
||||
SRC_URI+=" ppc64? ( https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-5.15.2-chromium87-ppc64le.tar.xz )"
|
||||
|
||||
IUSE="alsa bindist designer geolocation +jumbo-build kerberos pulseaudio +system-ffmpeg +system-icu widgets"
|
||||
REQUIRED_USE="designer? ( widgets )"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/snappy:=
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
dev-libs/expat
|
||||
dev-libs/libevent:=
|
||||
dev-libs/libxml2[icu]
|
||||
dev-libs/libxslt
|
||||
dev-libs/re2:=
|
||||
~dev-qt/qtcore-${QTVER}
|
||||
~dev-qt/qtdeclarative-${QTVER}
|
||||
~dev-qt/qtgui-${QTVER}
|
||||
~dev-qt/qtnetwork-${QTVER}
|
||||
~dev-qt/qtprintsupport-${QTVER}
|
||||
~dev-qt/qtwebchannel-${QTVER}[qml]
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/harfbuzz:=
|
||||
media-libs/lcms:2
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/libpng:0=
|
||||
>=media-libs/libvpx-1.5:=[svc(+)]
|
||||
media-libs/libwebp:=
|
||||
media-libs/mesa[egl,X(+)]
|
||||
media-libs/opus
|
||||
sys-apps/dbus
|
||||
sys-apps/pciutils
|
||||
sys-libs/zlib[minizip]
|
||||
virtual/libudev
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
designer? ( ~dev-qt/designer-${QTVER} )
|
||||
geolocation? ( ~dev-qt/qtpositioning-${QTVER} )
|
||||
kerberos? ( virtual/krb5 )
|
||||
pulseaudio? ( media-sound/pulseaudio:= )
|
||||
system-ffmpeg? ( media-video/ffmpeg:0= )
|
||||
system-icu? ( >=dev-libs/icu-69.1:= )
|
||||
widgets? (
|
||||
~dev-qt/qtdeclarative-${QTVER}[widgets]
|
||||
~dev-qt/qtwidgets-${QTVER}
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
dev-util/gperf
|
||||
dev-util/ninja
|
||||
dev-util/re2c
|
||||
net-libs/nodejs[ssl]
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
ppc64? ( >=dev-util/gn-0.1807 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-5.15.0-disable-fatal-warnings.patch" # bug 695446
|
||||
"${FILESDIR}/${PN}-5.15.2_p20210224-chromium-87-v8-icu68.patch" # downstream, bug 757606
|
||||
"${FILESDIR}/${PN}-5.15.2_p20210224-disable-git.patch" # downstream snapshot fix
|
||||
"${FILESDIR}/${PN}-5.15.2_p20210406-glibc-2.33.patch" # by Fedora, bug 769989
|
||||
"${FILESDIR}/${PN}-5.15.2_p20210521-gcc11.patch" # by Fedora, bug 768261
|
||||
)
|
||||
|
||||
pkg_preinst() {
|
||||
elog "This version of Qt WebEngine is based on Chromium version 87.0.4280, with"
|
||||
elog "additional security fixes from newer versions. Extensive as it is, the"
|
||||
elog "list of backports is impossible to evaluate, but always bound to be behind"
|
||||
elog "Chromium's release schedule."
|
||||
elog "In addition, various online services may deny service based on an outdated"
|
||||
elog "user agent version (and/or other checks). Google is already known to do so."
|
||||
elog
|
||||
elog "tldr: Your web browsing experience will be compromised."
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# bug 307861
|
||||
eshopts_push -s extglob
|
||||
if is-flagq '-g?(gdb)?([1-9])'; then
|
||||
ewarn
|
||||
ewarn "You have enabled debug info (probably have -g or -ggdb in your CFLAGS/CXXFLAGS)."
|
||||
ewarn "You may experience really long compilation times and/or increased memory usage."
|
||||
ewarn "If compilation fails, please try removing -g/-ggdb before reporting a bug."
|
||||
ewarn
|
||||
fi
|
||||
eshopts_pop
|
||||
|
||||
case ${QT5_BUILD_TYPE} in
|
||||
live) git-r3_src_unpack ;&
|
||||
release) default ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == ${QTVER}_p* ]]; then
|
||||
# This is made from git, and for some reason will fail w/o .git directories.
|
||||
mkdir -p .git src/3rdparty/chromium/.git || die
|
||||
|
||||
# We need to make sure this integrates well into Qt 5.15.2 installation.
|
||||
# Otherwise revdeps fail w/o heavy changes. This is the simplest way to do it.
|
||||
sed -e "/^MODULE_VERSION/s/5.*/${QTVER}/" -i .qmake.conf || die
|
||||
fi
|
||||
|
||||
# QTBUG-88657 - jumbo-build could still make trouble
|
||||
if ! use jumbo-build; then
|
||||
sed -i -e 's|use_jumbo_build=true|use_jumbo_build=false|' \
|
||||
src/buildtools/config/common.pri || die
|
||||
fi
|
||||
|
||||
# bug 620444 - ensure local headers are used
|
||||
find "${S}" -type f -name "*.pr[fio]" | \
|
||||
xargs sed -i -e 's|INCLUDEPATH += |&$${QTWEBENGINE_ROOT}_build/include $${QTWEBENGINE_ROOT}/include |' || die
|
||||
|
||||
if use system-icu; then
|
||||
# Sanity check to ensure that bundled copy of ICU is not used.
|
||||
# Whole src/3rdparty/chromium/third_party/icu directory cannot be deleted because
|
||||
# src/3rdparty/chromium/third_party/icu/BUILD.gn is used by build system.
|
||||
# If usage of headers of bundled copy of ICU occurs, then lists of shim headers in
|
||||
# shim_headers("icui18n_shim") and shim_headers("icuuc_shim") in
|
||||
# src/3rdparty/chromium/third_party/icu/BUILD.gn should be updated.
|
||||
local file
|
||||
while read file; do
|
||||
echo "#error This file should not be used!" > "${file}" || die
|
||||
done < <(find src/3rdparty/chromium/third_party/icu -type f "(" -name "*.c" -o -name "*.cpp" -o -name "*.h" ")" 2>/dev/null)
|
||||
fi
|
||||
|
||||
qt_use_disable_config alsa webengine-alsa src/buildtools/config/linux.pri
|
||||
qt_use_disable_config pulseaudio webengine-pulseaudio src/buildtools/config/linux.pri
|
||||
|
||||
qt_use_disable_mod designer webenginewidgets src/plugins/plugins.pro
|
||||
|
||||
qt_use_disable_mod widgets widgets src/src.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
|
||||
# we need to generate ppc64 stuff because upstream does not ship it yet
|
||||
if use ppc64; then
|
||||
einfo "Patching for ppc64le and generating build files"
|
||||
eapply "${FILESDIR}/qtwebengine-5.15.2-enable-ppc64.patch"
|
||||
pushd src/3rdparty/chromium > /dev/null || die
|
||||
eapply -p0 "${WORKDIR}/${PN}-ppc64le"
|
||||
popd > /dev/null || die
|
||||
pushd src/3rdparty/chromium/third_party/libvpx > /dev/null || die
|
||||
mkdir -vp source/config/linux/ppc64 || die
|
||||
mkdir -p source/libvpx/test || die
|
||||
touch source/libvpx/test/test.mk || die
|
||||
./generate_gni.sh || die
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export NINJA_PATH=/usr/bin/ninja
|
||||
export NINJAFLAGS="${NINJAFLAGS:--j$(makeopts_jobs) -l$(makeopts_loadavg "${MAKEOPTS}" 0) -v}"
|
||||
|
||||
local myqmakeargs=(
|
||||
--
|
||||
-no-build-qtpdf
|
||||
-printing-and-pdf
|
||||
-system-opus
|
||||
-system-webp
|
||||
$(usex alsa '-alsa' '-no-alsa')
|
||||
$(usex bindist '-no-proprietary-codecs' '-proprietary-codecs')
|
||||
$(usex geolocation '-webengine-geolocation' '-no-webengine-geolocation')
|
||||
$(usex kerberos '-webengine-kerberos' '-no-webengine-kerberos')
|
||||
$(usex pulseaudio '-pulseaudio' '-no-pulseaudio')
|
||||
$(usex system-ffmpeg '-system-ffmpeg' '-qt-ffmpeg')
|
||||
$(usex system-icu '-webengine-icu' '-no-webengine-icu')
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt5-build_src_install
|
||||
|
||||
# bug 601472
|
||||
if [[ ! -f ${D}${QT5_LIBDIR}/libQt5WebEngine.so ]]; then
|
||||
die "${CATEGORY}/${PF} failed to build anything. Please report to https://bugs.gentoo.org/"
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST hitori-3.38.2.tar.xz 204992 BLAKE2B 271e7c7c09a0a9cf496783bf19cfc9bfb60a7a94b1addce704e0ee57b9a9d730e6fc96750dc2eb0e14cae2b0d5d8abc7474fe28029b94f0c7d195cdcbf7155da SHA512 6a094e7bf9b528b965819a28b64db0f7b6c474dbd1a54c3063ad2f20b726193a46b4b058566baea7dee889c3d692bd36bdf775a177e430b5772b16762bdc2785
|
||||
DIST hitori-3.38.3.tar.xz 205100 BLAKE2B 8b3e477f8a62911c8fa0b366f578adb7bc362445cf3982a131677988e6f7471a0f56a06fcd356ff19692debf27126e98d4f8c52524af3e6e7e22c3b43bb3276c SHA512 1ba966c22304a2538026234fbb9e0ae34a433643af02ecc26a6e5cd240efa89524ee0e98334d01728f25ec987865a8ff724036e37859503d2517e7480d2dc744
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit gnome.org gnome2-utils meson xdg
|
||||
|
||||
DESCRIPTION="Logic puzzle game for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Hitori"
|
||||
|
||||
LICENSE="GPL-3+ CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# gtk+-3.22 for build-time optional gtk_show_uri_on_window usage
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.32:2
|
||||
>=x11-libs/gtk+-3.22.0:3
|
||||
>=x11-libs/cairo-1.4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/appstream-glib
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST bedrock-server-1.17.11.01.zip 60016039 BLAKE2B b66fadbc7a5cb470b8fedc6ddede9283d4114cf07fa1c2719eaebc5908076805463f8a15c0e4fb582f28eef1fc89c494b98eaa4ed93cadd9e142d88ac27a73fc SHA512 9e9b3999003ed331df2d19324f7c5e679123dc5246ccf5ffbe1a2e0389af8cae211ab79a9a1d16bad6e37d06010224170e7188c24bdc7235f699aac07dd93800
|
||||
DIST bedrock-server-1.17.11.01.zip 60015117 BLAKE2B 5927da2e2be005f3ae23928e995fe962926a5992537a82b98de668db6a635568b054eebab2454def1f938fea9f97997c537b9b6a1b528a4048c39cd5784923b1 SHA512 bddda992dede723fb042c3769513705a4848aaad5f83db44ca9d5879a735bfcc8bbc5dc6d4b38948d675e55340963e866259c27506ccf8ec8d330ae9f7ed1549
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST gnome-user-docs-40.1.tar.xz 9264892 BLAKE2B 3c27662d516839d411444b811d2c60da51b055a7200958ee50908092bd135e182c2b359f47b711b276a6a9b6b029b767b23bd88fecc32f2c80fa2652ace40184 SHA512 a5ebd9bfbdf13c6922db2035c740f729dc89a2dfa991e74cb835d1c8e28ec4d0d08aaf7388d00d6df83f53a6261bebc1ea32e5b57287c13b2237221a56a34332
|
||||
DIST gnome-user-docs-40.3.tar.xz 9141728 BLAKE2B 9634dfa526d7e781400563e0800f25fc8aa520d97fe0e02f3a06a1f82bb0019ff28e9bf0c8a2698c7d081d7b54a1d53be4475db6615d40c3407b632252cc8aae SHA512 e96f4535761c902999b210060f9bbf19384151752315abc7cf20f8b0ef1f599fe132f398db61318ea24eab8e3dc65812fc05a5ed549e4cedabaf809af39f515b
|
||||
DIST gnome-user-docs-40.4.tar.xz 9195696 BLAKE2B 438f52d72a8975125b758acedfbc8c08a36397af6bb0dff01d0c73d517cee67999724e9e29d2731344fbc822309510f36f367052eeff3ba4e1dc36554eb76ffe SHA512 50c8df61a02eaa077ad3faa18d622ead97c7a8926717b2b85d6a9fb86f93e0adb3c9f212f0fbfb4781a35135fc0251d664f793665343b7daaf41a390b10fe868
|
||||
DIST gnome-user-docs-40.5.tar.xz 9210512 BLAKE2B 0fe638636377d1c392d208c55016cdc346fa1ec64d327ab9ded9b58744d115c74d5a03927836138cb2d58c9df735d8bc032da4a7ff3ef3ffa53a1a59b88a3006 SHA512 dbef51c262862b211304158fd9aa7bf75ab20bbf21ed0bebe0a1c547cb53e580d32062a6f362f0750a8fbe1e93e8987593c80fa7fbb758c1a61827256db69d52
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue