Sync with portage [Mon Oct 26 15:28:04 MSK 2020].

akrasnyh 1795
Calculate Linux 3 years ago
parent 8c447ded6e
commit 2680c4f400

Binary file not shown.

Binary file not shown.

@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>thebitpit@earthlink.net</email>
<email>thebitpit@austincustomerrands.com</email>
<name>Wilson Michaels</name>
</maintainer>
<maintainer type="project">

Binary file not shown.

@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>thebitpit@earthlink.net</email>
<email>thebitpit@austincustomerrands.com</email>
<name>Wilson Michaels</name>
</maintainer>
<maintainer type="project">

Binary file not shown.

@ -6,3 +6,4 @@ DIST checksec-2.2.0.tar.gz 2241197 BLAKE2B 33e76d1e74188f0944cbce2fcec3daab5a3bb
DIST checksec-2.2.1.tar.gz 2241504 BLAKE2B 65d71e4ad589494d34ae0458f4b3e453f6bfb86ec0ce46b5c18b6e5c49e1820b9721b616da22bafe7614fca59473a736058584a488a84b85e9799dbf59f7b3e4 SHA512 7c6474479b51f70a627515a0d770f4d70df0350253547b3b8c1a5be83e2976b127172167ca9890d5e0848627c582adddde5acb2f7b30ff7d12d4a81370b43b0f
DIST checksec-2.2.2.tar.gz 2241541 BLAKE2B 310553aa419373acc9b86bd25d801a99db0173ef76d8ccfdce4b185102a8ad39a91ade906c521c9caf7989aab1da42c35cbfe5e8fcbea23eafb47f917bb87718 SHA512 d975a9cea60869ddda445515396b67b6ea3c9b33770e711071e1cff684f89b4718b135a3a3c1a88b11b96ccde0df72d6b7924cade0619d24e38db428251d22b0
DIST checksec-2.2.3.tar.gz 2241535 BLAKE2B 850977dc14d1b57dc947f81af904aca71a7d664bf695619de2b6f7a1014a95176813c4fcd8c39a6c89b028291fa1a08a2beaf6f4dce27f53624202bb0e72ed2c SHA512 d1516dc4321f30a57f88d3279fa228b4dbb0f16345c3c7e9d89575ddc3ed9dffae42f392e76321a5a9aba876717aae959365fc829f0abb58c1c21f34dbbf59b7
DIST checksec-2.4.0.tar.gz 2242079 BLAKE2B c1878c1312d13591147f0efd1a2d535ae8e75292dbc53e7ba0802c8d165b18b4bc0b22a5cc3a9159ddcf05a1518d58c18cb54700ea5a52ff29d261068194b96a SHA512 1a02dfac48b5979cb5c2eb7b8f1fe290d3ac090726d1b95a14864bfc4bc3d32eefc10e2cc227c9dc01809c78fe003d1faea9b720d5cb5fbc16599fc0e2512947

@ -0,0 +1,38 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
MY_PN=${PN}.sh
DESCRIPTION="Tool to check properties of executables (e.g. ASLR/PIE, RELRO, PaX, Canaries)"
HOMEPAGE="https://github.com/slimm609/checksec.sh"
SRC_URI="https://github.com/slimm609/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
IUSE=""
S="${WORKDIR}"/${MY_PN}-${PV}
DOCS=( ChangeLog README.md )
PATCHES=(
"${FILESDIR}"/${PN}-1.7.2-path.patch
)
src_prepare() {
sed 's,^pkg_release=false,pkg_release=true,' -i ${PN} || die
default
}
src_install() {
default
doman extras/man/*
insinto /usr/share/zsh/site-functions
doins extras/zsh/_${PN}
dobin ${PN}
}

Binary file not shown.

@ -18,9 +18,6 @@ start() {
modprobe -f loop > /dev/null 2>&1
# Allow systemd containers to be used on openrc host, #750410
[ -d /sys/fs/cgroup/systemd ] || ( mkdir -p /sys/fs/cgroup/systemd ; mount -t cgroup -o none,name=systemd systemd /sys/fs/cgroup/systemd )
# fix permissions on /var/lib/lxd and make sure it exists
install -d /var/lib/lxd --group lxd --owner root --mode 0775
start-stop-daemon --start \

Binary file not shown.

@ -1,2 +1 @@
DIST cpdf-2.3.1.tar.gz 385720 BLAKE2B fae61c8e62b1c679919512c5fa4c57279e118d7ecc8378b528053a1487731675f47877c6164d92f3770e38db78fd9bcce0635f76f0b2efdf10c775a1e9cf5ed7 SHA512 3f22e76bc6bffe2bcd6b2c27d0aa8dc55b842cf0eee46f23c0f3e23e1a86ac7af4665b48513ae3e2d7d2ae84fc864af3b6c3c92e93d78b7798b801bb9be987a1
DIST cpdf-2.3.tar.gz 384594 BLAKE2B 391cc2d88ae5ad2decc3911ea2125345cb337e15f059b2411f8e835f91460bc0cb28410ebe8a15bbf3c2c5ba511f89b0bcfec8ccae3aca69658fd6eb55c64dc2 SHA512 db17bd019a6c2a719761662af682cc74a7dbcc673c22867652cef37508b6d3dcbf4d5da9d9db9e8b1b0cf912f03be18f16748ab15dcbdfbdfd37900d4fd04ddd

@ -1,39 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit findlib
DESCRIPTION="A command line tool for manipulating PDF files"
HOMEPAGE="https://community.coherentpdf.com/ https://github.com/johnwhitington/cpdf-source/"
SRC_URI="https://github.com/johnwhitington/cpdf-source/archive/v${PV}.tar.gz -> ${P}.tar.gz"
# BSD is only for xmlm.ml
LICENSE="Coherent-Graphics BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND=">=dev-lang/ocaml-4:=[ocamlopt]
~dev-ml/camlpdf-${PV}:="
DEPEND="${RDEPEND}"
RESTRICT="mirror bindist"
S=${WORKDIR}/${PN}-source-${PV}
src_compile() {
# parallel make issues
emake -j1
}
src_install() {
findlib_src_install
dobin cpdf
dodoc Changes README.md cpdfmanual.pdf
doman cpdf.1
use doc && dodoc -r doc/cpdf/html
}

@ -1,4 +1,2 @@
DIST llpp-30.tar.gz 165821 BLAKE2B 755648f9f7e0e0740dd9647559c085ab1626edfceb91d8df4aa783610f32499d744f24a2e0ac0d6f13e747695e8829112e59bcf0fc78c7ef5f4b2427c759353d SHA512 1dfcf273bdabfb3c7b38366bac60659555b943f459cb3fd6e656df1a33c0f84e6745d62522c5498df0bd6182bda13973144724054588c07145018bb3e758d893
DIST llpp-30_p20190316.tar.gz 169517 BLAKE2B 56dbb4fc1f46e654f15986edf870bec22c3d26c694915db88125d99b8f0460c70ac3bd48c82f45f32939f5a09753a4ec6f2e6d544397a0d6ba242640c363917d SHA512 c736b94595eab1fd45e6fb6aa89a988e0c3ec1f4c7c88f8655d17a88c9ff62c6b7db4396a3934690861b5e61af595baa6736b92c585ad68c51677f3e577bd713
DIST llpp-31.tar.gz 169199 BLAKE2B 3f60db741fb94bf1b4753f5443705e68f062a68212fd3d0d8062f54b3b71002dc0ee3ba3040f9be028a40d8e96de11c8c53966196e631458f65d863f90f7226f SHA512 d9e213078899ece4a92291199bc2ea962c40a185b9908a7db241a773f57c64e08b004a8433984b86cc4b59088f97991b2ee8ee94e75d71536ce378dd32316e57
DIST llpp-31_p20191016.tar.gz 169480 BLAKE2B af8f01d156863b642ad1c062b4b1a00a744955fdc1e7446b7a5023e6d03b58af77c699140b54d337c0eeacf65fba7a06ccfd6baa6ab9e1920bd7fd0fcfa90d97 SHA512 6fdd2621aec9f026e175c52957c77293a105adc81e42dad33f24631d5d2ae6775978834e84e1cab73cc8d1246af684384f9057a0f613438a19eaf7b607f92ddf
DIST llpp-33.tar.gz 172410 BLAKE2B 6f45d262520bb9e09a08088b9d6b6a1c272ca32d44b507537e7887c76f17ec782d805f4fb94e528d7bca5a9eb87c35ff64b883bd0fdab5609f2807bc8043b1d5 SHA512 f14669eab8934ddc0ac530a67055199a73c7f0c2906dc4a80a729326340691ad53433afce2e638848471852901c88fcc99ae1d66b1abf179e4f5892976b585e8

@ -0,0 +1,91 @@
VERSION = $(shell test -d .git && git describe --tags --dirty 2>/dev/null)
ifeq "$(VERSION)" ""
VERSION = 33
endif
# paths
PREFIX ?= /usr/local
LIBDIR ?= /usr/lib
# includes and libs
PKGCONF_DEPS := freetype2 harfbuzz libopenjp2 libjpeg mupdf x11 zlib
CPPFLAGS += -D_GNU_SOURCE -DFFP
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Wshadow $(shell pkg-config --cflags $(PKGCONF_DEPS))
LDLIBS = -L$(LIBDIR) -lpthread -ljbig2dec $(shell pkg-config --libs $(PKGCONF_DEPS))
# ocaml
CAMLOPT = ocamlopt
CAMLFLAGS = -g -w +a -safe-string -I +lablGL
VPATH = wsi/x11
C_SRC = cutils.c keysym2ucs.c link.c xlib.c version.c
C_OBJ = $(C_SRC:.c=.o)
OCAML_SRC = utils.ml wsi.ml confstruct.ml parser.ml config.ml ffi.ml glutils.ml help.ml keys.ml utf8syms.ml listview.ml main.ml
OCAML_OBJ = $(OCAML_SRC:.ml=.cmx)
MOD = unix.cmxa str.cmxa lablgl.cmxa
SRCMANS = $(wildcard adoc/*.adoc)
MANS = $(SRCMANS:.adoc=.1)
DISTFILES := Makefile $(OCAML_SRC) link.c glfont.c keysym2ucs.c wsi.mli
DISTFILES += $(wildcard *.sh) KEYS README BUILDING
DISTFILES += misc/ adoc/
all: llpp $(MANS)
# dependency ordering
config.cmx: wsi.cmi parser.cmx utils.cmx confstruct.cmx
confstruct.cmx: wsi.cmx utils.cmx
ffi.cmx: config.cmx
glutils.cmx: ffi.cmx
help.cmx: help.cmi config.cmx utils.cmx
listview.cmx: utils.cmx glutils.cmx config.cmx utf8syms.cmx
main.cmx: main.ml utils.cmx config.cmx glutils.cmx listview.cmx ffi.cmx keys.cmx wsi.cmx
main.cmx: CAMLFLAGS += -thread
parser.cmx: utils.cmx
wsi.cmi: utils.cmx keys.cmx
wsi.cmx: wsi.cmi
link.o: glfont.c
version.o: CPPFLAGS += -DLLPP_VERSION=$(VERSION)
# ordinary targets
llpp: $(OCAML_OBJ) $(C_OBJ)
$(CAMLOPT) -o $@ $(CAMLFLAGS) $(C_OBJ) -ccopt '$(LDFLAGS)' -cclib '$(LDLIBS)' $(MOD) $(OCAML_OBJ)
confstruct.ml: genconfstr.sh
sh $< >$@
# pattern rules
%.o: %.c
$(CAMLOPT) -c -o $@ $(CAMLFLAGS) -cc $(CC) -ccopt '$(CFLAGS) $(CPPFLAGS)' $<
%.cmx: %.ml
$(CAMLOPT) -c -o $@ $(CAMLFLAGS) $<
%.cmi: %.mli
$(CAMLOPT) -c -o $@ $(CAMLFLAGS) $<
%.1: %.adoc
a2x -d manpage -f manpage $<
# special targets
clean:
$(RM) llpp link.o help.ml $(OCAML_OBJ) $(OCAML_OBJ:.cmx=.cmi) $(OCAML_OBJ:.cmx=.o) $(MANS) $(MANS:.1=.xml)
dist: clean
mkdir llpp-$(VERSION)
cp -r $(DISTFILES) llpp-$(VERSION)
tar czf llpp-$(VERSION).tar.gz llpp-$(VERSION)
rm -rf llpp-$(VERSION)
install:
install -Dm755 llpp "$(DESTDIR)"$(PREFIX)/bin/llpp
install -Dm644 -t "$(DESTDIR)"$(PREFIX)/share/man/man1 $(MANS)
install -Dm755 misc/llppac "$(DESTDIR)"$(PREFIX)/bin/llppac
install -Dm755 misc/llpp.inotify "$(DESTDIR)"$(PREFIX)/bin/llpp.inotify
install -Dm755 misc/llpphtml "$(DESTDIR)"$(PREFIX)/bin/llpphtml
install -Dm644 misc/llpp.desktop "$(DESTDIR)"$(PREFIX)/share/applications/llpp.desktop
.PHONY: all clean dist install

@ -1,72 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs xdg-utils
DESCRIPTION="Graphical PDF viewer which aims to superficially resemble less(1)"
HOMEPAGE="https://github.com/moosotc/llpp"
MY_COMMIT="1f3ae0843d5877a0e599d8411d433bd9b0078157"
SRC_URI="https://github.com/moosotc/llpp/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="+ocamlopt static-libs"
RDEPEND=">=app-text/mupdf-1.15.0:0=[static-libs=]
media-libs/openjpeg:2[static-libs=]
media-libs/fontconfig:1.0[static-libs=]
media-libs/freetype:2[static-libs=]
media-libs/jbig2dec:=[static-libs=]
sys-libs/zlib[static-libs=]
virtual/jpeg:0[static-libs=]
x11-libs/libX11[static-libs=]
x11-misc/xsel"
DEPEND="${RDEPEND}
app-text/asciidoc
virtual/pkgconfig
static-libs? (
app-arch/bzip2[static-libs]
media-libs/libXcm[static-libs]
x11-libs/libXau[static-libs]
x11-libs/libXdmcp[static-libs]
x11-libs/libXmu[static-libs] )
>=dev-lang/ocaml-4.05[ocamlopt?]
dev-ml/lablgl[glut,ocamlopt?]"
RESTRICT="!ocamlopt? ( strip )"
PATCHES=( "${FILESDIR}"/${PN}-30-keysym.patch )
S="${WORKDIR}"/"${PN}"-"${MY_COMMIT}"
src_prepare() {
default
# use custom makefile from archlinux with minor changes
cp "${FILESDIR}"/Makefile "${S}" || die
# re-add desktop file removed upstream
cp "${FILESDIR}"/llpp.desktop "${S}"/misc || die
}
src_compile() {
emake -j1 VERSION=${PV} CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)"
}
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install
dodoc README Thanks
}
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

@ -1,61 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs xdg
DESCRIPTION="Graphical PDF viewer which aims to superficially resemble less(1)"
HOMEPAGE="https://github.com/moosotc/llpp"
SRC_URI="https://github.com/moosotc/llpp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="+ocamlopt static-libs"
BDEPEND="
app-text/asciidoc
virtual/pkgconfig"
RDEPEND="
=app-text/mupdf-1.16*:0=[static-libs?]
app-arch/bzip2[static-libs?]
media-libs/fontconfig:1.0[static-libs?]
media-libs/freetype:2[static-libs?]
media-libs/jbig2dec:=[static-libs?]
media-libs/openjpeg:2=[static-libs?]
sys-libs/zlib:=[static-libs?]
virtual/jpeg:0[static-libs?]
x11-libs/libX11[static-libs?]
x11-libs/libXau[static-libs?]
x11-libs/libXdmcp[static-libs?]
x11-misc/xsel"
DEPEND="${RDEPEND}
>=dev-lang/ocaml-4.09[ocamlopt?]
dev-ml/lablgl[glut,ocamlopt?]"
RESTRICT="!ocamlopt? ( strip )"
PATCHES=( "${FILESDIR}"/${PN}-30-keysym.patch )
src_prepare() {
default
# use custom makefile from archlinux with minor changes
cp "${FILESDIR}"/Makefile "${S}" || die
# re-add desktop file removed upstream
cp "${FILESDIR}"/llpp.desktop "${S}"/misc || die
# remove empty interface definition
rm "${S}"/main.mli || die
}
src_compile() {
emake -j1 VERSION=${PV} CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)"
}
src_install() {
emake DESTDIR="${ED}" PREFIX="/usr" install
dodoc README Thanks
}

@ -7,8 +7,7 @@ inherit toolchain-funcs xdg-utils
DESCRIPTION="Graphical PDF viewer which aims to superficially resemble less(1)"
HOMEPAGE="https://github.com/moosotc/llpp"
MY_COMMIT="25c10de38cbfe0874d377e7599108e6b2a8a92ff"
SRC_URI="https://github.com/moosotc/llpp/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/moosotc/llpp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
@ -36,15 +35,11 @@ BDEPEND="
RESTRICT="!ocamlopt? ( strip )"
PATCHES=( "${FILESDIR}"/${PN}-30-keysym.patch )
S="${WORKDIR}"/"${PN}"-"${MY_COMMIT}"
src_prepare() {
default
# use custom makefile from archlinux with minor changes
cp "${FILESDIR}"/Makefile "${S}" || die
cp "${FILESDIR}"/${P}-makefile "${S}"/Makefile || die
# re-add desktop file removed upstream
cp "${FILESDIR}"/llpp.desktop "${S}"/misc || die

Binary file not shown.

@ -17,7 +17,7 @@ SRC_URI="https://github.com/ccxvii/mujs/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
# subslot matches SONAME
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="static-libs"
RDEPEND="sys-libs/readline:0="

Binary file not shown.

@ -1,4 +0,0 @@
DIST legacy-0.0-26compat-2.6.7.tar.gz 1512331 BLAKE2B 43735ef7be4d5f3094eccedb5ee70f9f9722a174513a10f2f5f7c3c5603766f85e13717ea8c68b935c0ba5914c8e4a9b6e6797cd1a10d0257b654473799070bc SHA512 edf13d5b7802c3b2e9772f08949fd0c412f2cd25ec6d05ff4e8c1f25c3e3506da6ebbd7b017ceec5478585c84e9fa44c66a5094ad3e7a7373187d3fb3c1c1222
DIST legacy-1.0.0.tar.gz 1569156 BLAKE2B 6c231d6a4c9f6c54aaea2b6f5ce10c80537875e69508fbd3598a835b52ca2bd984d2d7bf3bd35bff83b78408d3c185715f2fb8d6eef3b697c864161479a016ab SHA512 e161972715fe45b777ee3d9c7e788ee3a808af789e2c1248af1dde3d3f3936e29f619e039f53210cdd3fc6a6bd8a02c101facf49c61759c6f108d25c5c03b59b
DIST legacy-1.0.5.tar.gz 1573929 BLAKE2B 85476dddefdcbd7a4b8ac945a39633965ade0389131e554c04aab3d457a3651b79292b88882613af6bb07f56759e75f67eb72d27b23209cc0df36df9eec58846 SHA512 e904d73f78ffbc1ce18ffa11dd7e3dddd67c730b6e79bace0e48c0be4e8ffd7b5fe12e1373e42ad941d8fc239ef031a47d39ff04aaf3f0a5ecf88115c816bc70
DIST legacy-1.1.2.tar.gz 1577527 BLAKE2B 277e5ed6d6897587d3d9f9681b6821d2cc4bba71191c27083306d3a4d7dd778fdb3707e5b70fe9f528be8142dd755ba8e2a19ee866f5583dc57d297c642e6e02 SHA512 a0b21719db8205a16c574ce21565577787ea00cf2492353bcd4dd79a7ef3b7d685287be47e6eee59fad46c6fa2ac3c6a0e00c26ef88be8b17e9d93fbc763cb10

@ -1,34 +0,0 @@
--- a/SConstruct 2015-03-17 10:19:58.766530807 +0100
+++ b/SConstruct 2015-03-17 10:27:58.400062874 +0100
@@ -853,7 +853,6 @@
# -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
env.Append( CCFLAGS=["-fPIC",
- "-ggdb",
"-pthread",
"-Wall",
"-Wsign-compare",
@@ -861,13 +860,13 @@
"-Winvalid-pch"] )
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
if linux or darwin:
- env.Append( CCFLAGS=["-pipe"] )
if not has_option("disable-warnings-as-errors"):
env.Append( CCFLAGS=["-Werror"] )
env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
env.Append( LINKFLAGS=["-fPIC"] )
+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
# SERVER-9761: Ensure early detection of missing symbols in dependent libraries at program
# startup.
@@ -933,7 +932,6 @@
except OSError:
pass
-env.Prepend(CPPPATH=['$VARIANT_DIR/third_party/gtest-1.7.0/include'])
boostSuffixList = ["-mt", ""]
if get_option("boost-lib-search-suffixes") is not None:

@ -1,54 +0,0 @@
--- a/SConstruct
+++ b/SConstruct
@@ -865,7 +865,6 @@
# -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
env.Append( CCFLAGS=["-fPIC",
- "-ggdb",
"-pthread",
"-Wall",
"-Wsign-compare",
@@ -873,13 +872,13 @@
"-Winvalid-pch"] )
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
if linux or darwin:
- env.Append( CCFLAGS=["-pipe"] )
if not has_option("disable-warnings-as-errors"):
env.Append( CCFLAGS=["-Werror"] )
env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
env.Append( LINKFLAGS=["-fPIC"] )
+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
# SERVER-9761: Ensure early detection of missing symbols in dependent libraries at program
# startup.
@@ -905,11 +904,6 @@
env.Append( CXXFLAGS=" -fprofile-arcs -ftest-coverage " )
env.Append( LINKFLAGS=" -fprofile-arcs -ftest-coverage " )
- if optBuild:
- env.Append( CCFLAGS=["-O3"] )
- else:
- env.Append( CCFLAGS=["-O0"] )
-
if debugBuild:
if not optBuild:
env.Append( CCFLAGS=["-fstack-protector"] )
@@ -932,7 +926,6 @@
except OSError:
pass
-env.Prepend(CPPPATH=['$VARIANT_DIR/third_party/gtest-1.7.0/include'])
boostSuffixList = ["-mt", ""]
if get_option("boost-lib-search-suffixes") is not None:
@@ -1143,6 +1136,7 @@
# Clang likes to warn about unused functions, which seems a tad aggressive and breaks
# -Werror, which we want to be able to use.
AddToCCFLAGSIfSupported(myenv, '-Wno-unused-function')
+ AddToCCFLAGSIfSupported(myenv, '-Wno-unused-variable')
# TODO: Note that the following two flags are added to CCFLAGS even though they are
# really C++ specific. We need to do this because SCons passes CXXFLAGS *before*

@ -1,21 +0,0 @@
Add missing include for boost::next()
https://bugs.gentoo.org/671422
--- a/src/mongo/client/command_writer.cpp
+++ b/src/mongo/client/command_writer.cpp
@@ -22,4 +22,6 @@
#include "mongo/db/namespace_string.h"
+#include <boost/next_prior.hpp>
+
namespace mongo {
--- a/src/mongo/client/wire_protocol_writer.cpp
+++ b/src/mongo/client/wire_protocol_writer.cpp
@@ -22,4 +22,6 @@
#include "mongo/db/namespace_string.h"
+#include <boost/next_prior.hpp>
+
namespace mongo {

@ -1,15 +0,0 @@
Fix missing implicit include.
Patch by Jan-Matthias Braun
See also: https://bugs.gentoo.org/show_bug.cgi?id=598340
--- a/src/mongo/client/examples/connect.cpp
+++ b/src/mongo/client/examples/connect.cpp
@@ -29,6 +29,8 @@
#include "mongo/client/dbclient.h"
#include "mongo/stdx/functional.h"
+#include <boost/core/ref.hpp>
+
namespace {
class OstreamAppender : public mongo::logger::MessageLogDomain::EventAppender {

@ -1,34 +0,0 @@
--- a/SConstruct 2015-03-23 10:36:42.328921927 +0100
+++ b/SConstruct 2015-03-23 10:37:37.599310414 +0100
@@ -828,7 +828,6 @@
# -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
env.Append( CCFLAGS=["-fPIC",
"-fno-strict-aliasing",
- "-ggdb",
"-pthread",
"-Wall",
"-Wsign-compare",
@@ -836,13 +835,13 @@
"-Winvalid-pch"] )
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
if linux or darwin:
- env.Append( CCFLAGS=["-pipe"] )
if not has_option("disable-warnings-as-errors"):
env.Append( CCFLAGS=["-Werror"] )
env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
env.Append( LINKFLAGS=["-fPIC", "-pthread"] )
+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
# SERVER-9761: Ensure early detection of missing symbols in dependent libraries at program
# startup.
@@ -938,7 +937,6 @@
if not use_system_version_of_library("snappy"):
env.Prepend(CPPPATH=['$BUILD_DIR/third_party/snappy'])
-env.Prepend(CPPPATH=['$BUILD_DIR/third_party/gtest-1.7.0/include'])
env.Append( CPPPATH=['$EXTRACPPPATH'],
LIBPATH=['$EXTRALIBPATH'] )

@ -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>ultrabug@gentoo.org</email>
<name>Alexys Jacob</name>
</maintainer>
<upstream>
<remote-id type="github">mongodb/mongo-cxx-driver</remote-id>
</upstream>
</pkgmetadata>

@ -1,89 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
SCONS_MIN_VERSION="2.3.0"
inherit eutils flag-o-matic multilib scons-utils toolchain-funcs versionator
MY_PV=$(get_version_component_range 3-5)
MY_P=legacy-0.0-26compat-${MY_PV}
DESCRIPTION="C++ Driver for MongoDB"
HOMEPAGE="https://github.com/mongodb/mongo-cxx-driver"
SRC_URI="https://github.com/mongodb/${PN}/archive/${MY_P}.tar.gz"
LICENSE="AGPL-3 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="kerberos libressl ssl static-libs"
RDEPEND="
app-arch/snappy
>=dev-cpp/yaml-cpp-0.5.1
>=dev-libs/boost-1.50[threads(+)]
>=dev-libs/libpcre-8.30[cxx]
dev-util/google-perftools[-minimal]
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)"
DEPEND="${RDEPEND}
kerberos? ( dev-libs/cyrus-sasl[kerberos] )"
S=${WORKDIR}/${PN}-${MY_P}
pkg_setup() {
scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
scons_opts+=" --disable-warnings-as-errors --sharedclient"
scons_opts+=" --use-system-boost"
scons_opts+=" --use-system-pcre"
scons_opts+=" --use-system-snappy"
scons_opts+=" --use-system-yaml"
if use prefix; then
scons_opts+=" --cpppath=${EPREFIX}/usr/include"
scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
fi
if use kerberos; then
scons_opts+=" --use-sasl-client"
fi
if use ssl; then
scons_opts+=" --ssl"
fi
}
src_prepare() {
epatch "${FILESDIR}/${PN}-26compat-fix-scons.patch"
# stemmer/pcap are not used, strip them wrt #518104
sed -e '/stemmer/d' -e '/pcap/d' -i SConstruct || die
# fix yaml-cpp detection
sed -i -e "s/\[\"yaml\"\]/\[\"yaml-cpp\"\]/" SConstruct || die
# bug #462606
sed -i -e "s@\$INSTALL_DIR/lib@\$INSTALL_DIR/$(get_libdir)@g" src/SConscript.client || die
}
src_compile() {
escons ${scons_opts} mongoclient
}
src_install() {
escons ${scons_opts} --full --nostrip install-mongoclient --prefix="${ED}"/usr
use static-libs || find "${ED}"/usr/ -type f -name "*.a" -delete
dodoc README.md CONTRIBUTING.md
}
pkg_preinst() {
if [[ "$(get_libdir)" == "lib64" ]]; then
rmdir "${ED}"/usr/lib64/ &>/dev/null
else
rmdir "${ED}"/usr/lib/ &>/dev/null
fi
}

@ -1,72 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
SCONS_MIN_VERSION="2.3.0"
inherit eutils flag-o-matic multilib scons-utils toolchain-funcs
DESCRIPTION="C++ Driver for MongoDB"
HOMEPAGE="https://github.com/mongodb/mongo-cxx-driver"
SRC_URI="https://github.com/mongodb/${PN}/archive/legacy-${PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug libressl sasl ssl static-libs"
RDEPEND="!dev-db/tokumx
>=dev-libs/boost-1.50[threads(+)]
sasl? ( dev-libs/cyrus-sasl )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)"
DEPEND="${RDEPEND}"
# Maintainer notes
# TODO: enable test in IUSE with
# test? ( >=dev-cpp/gtest-1.7.0 dev-db/mongodb )
DOCS=( README.md )
S="${WORKDIR}/${PN}-legacy-${PV}"
pkg_setup() {
scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
scons_opts+=" --disable-warnings-as-errors --sharedclient"
if use debug; then
scons_opts+=" --dbg=on"
fi
if use prefix; then
scons_opts+=" --cpppath=${EPREFIX}/usr/include"
scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
fi
if use sasl; then
scons_opts+=" --use-sasl-client"
fi
if use ssl; then
scons_opts+=" --ssl"
fi
}
src_prepare() {
epatch "${FILESDIR}/${PN}-1.0.0-fix-scons.patch"
# respect mongoDB upstream's basic recommendations
# see bug #536688 and #526114
if ! use debug; then
filter-flags '-m*'
filter-flags '-O?'
fi
}
src_install() {
escons ${scons_opts} install --prefix="${ED}"/usr
use static-libs || find "${D}" -name '*.a' -delete
}

@ -1,72 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
SCONS_MIN_VERSION="2.3.0"
inherit eutils flag-o-matic multilib scons-utils toolchain-funcs
DESCRIPTION="C++ Driver for MongoDB"
HOMEPAGE="https://github.com/mongodb/mongo-cxx-driver"
SRC_URI="https://github.com/mongodb/${PN}/archive/legacy-${PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug libressl sasl ssl static-libs"
RDEPEND="!dev-db/tokumx
>=dev-libs/boost-1.50[threads(+)]
sasl? ( dev-libs/cyrus-sasl )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)"
DEPEND="${RDEPEND}"
# Maintainer notes
# TODO: enable test in IUSE with
# test? ( >=dev-cpp/gtest-1.7.0 dev-db/mongodb )
DOCS=( README.md )
S="${WORKDIR}/${PN}-legacy-${PV}"
pkg_setup() {
scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
scons_opts+=" --disable-warnings-as-errors --sharedclient"
if use debug; then
scons_opts+=" --dbg=on"
fi
if use prefix; then
scons_opts+=" --cpppath=${EPREFIX}/usr/include"
scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
fi
if use sasl; then
scons_opts+=" --use-sasl-client"
fi
if use ssl; then
scons_opts+=" --ssl"
fi
}
src_prepare() {
epatch "${FILESDIR}/${PN}-1.0.0-fix-scons.patch"
# respect mongoDB upstream's basic recommendations
# see bug #536688 and #526114
if ! use debug; then
filter-flags '-m*'
filter-flags '-O?'
fi
}
src_install() {
escons ${scons_opts} install --prefix="${ED}"/usr
use static-libs || find "${D}" -name '*.a' -delete
}

@ -1,72 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
SCONS_MIN_VERSION=2.3.0
inherit scons-utils toolchain-funcs
DESCRIPTION="C++ Driver for MongoDB"
HOMEPAGE="https://github.com/mongodb/mongo-cxx-driver"
SRC_URI="https://github.com/mongodb/${PN}/archive/legacy-${PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug libressl sasl ssl static-libs"
RDEPEND="
!dev-db/tokumx
dev-libs/boost:=[threads(+)]
sasl? ( dev-libs/cyrus-sasl )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)"
DEPEND="${RDEPEND}"
# Maintainer notes
# TODO: enable test in IUSE with
# test? ( >=dev-cpp/gtest-1.7.0 dev-db/mongodb )
PATCHES=(
"${FILESDIR}"/${PN}-1.1.0-fix-scons.patch
"${FILESDIR}"/${PN}-1.1.2-boost-ref.patch
"${FILESDIR}"/${PN}-1.1.2-boost-next.patch
)
S="${WORKDIR}/${PN}-legacy-${PV}"
src_configure() {
scons_opts=(
--cc=$(tc-getCC)
--cxx=$(tc-getCXX)
--cpppath="${EPREFIX}"/usr/include
--libpath="${EPREFIX}"/usr/$(get_libdir)
--variant-dir=build
--disable-warnings-as-errors
--sharedclient
)
use debug && scons_opts+=( --dbg=on )
use sasl && scons_opts+=( --use-sasl-client )
use ssl && scons_opts+=( --ssl )
}
src_compile() {
escons "${scons_opts[@]}"
}
src_install() {
escons "${scons_opts[@]}" install --prefix="${ED%/}"/usr
# fix multilib-strict QA failures
mv "${ED%/}"/usr/{lib,$(get_libdir)} || die
einstalldocs
if ! use static-libs; then
find "${D}" -name '*.a' -delete || die
fi
}

@ -1,3 +1,3 @@
DIST spdlog-1.5.0.tar.gz 270416 BLAKE2B bac6c6650f8347458dd2dd66f318b43a769b0896d68f6a6f1310754527a69feaa52b2f6f48d67c7e811c2dafa5d3863a9a07c738df8c12abed2718fb06254b28 SHA512 78991c943dd95af563c4b29545b9b5d635caf1af5031262dde734ecf70c0b4ae866d954ee77b050f9f0cc089a3bc57ee9583895e51cb00dd1cc6c10ff905ca34
DIST spdlog-1.6.1.tar.gz 285531 BLAKE2B 525f29098fd0f771e14cc7c4bd8bf5d4054a0f68255aea29ef5158ce61516d9e5f0ae0fb72a2f54303d18194a54acb5c1731f53ee6edcd74ff487227bc332236 SHA512 1e15e7710744212240d79897af8c3bde14fe3b745a1377643d18dc0038f18fc7582236ff21836d3eae2c75cf1f4820ca4c642c5c3f63f9ae138289aa4d00e22e
DIST spdlog-1.7.0.tar.gz 285615 BLAKE2B f1a20f8ec8e9746e360106f284544b20e48664a91d17b014abec26fd0f2ce3d25dd33cfb925f4468fa32da394f6efaca033290bdcf66abe8b067444999b87b63 SHA512 e15d461ac7a6d3d3186fe4283e4fbaf56b2ce3011babf892e3b2d3dbdd7e999a861f1f6f67a9d88a5cf488a440add087ea78e96131f49b52ed6c7815a972799a
DIST spdlog-1.8.1.tar.gz 293528 BLAKE2B f5568a52489d9f6db459dd7733c493720551f7cb53be5f25fd7e02ec89de88b968bacd3eacb390473258cba2686e2614f21a700e3b3faf66d9b8eb74cfa263cb SHA512 ef855f4f91ed8aba89ef0191a9fd70f73a49567332f7eb42da1604e3a7dda3bbe48db3fd0fae317bb11ee95315d8cd62bf586d2de919ca0978d91e5a971b1c3f

@ -1,52 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="Very fast, header only, C++ logging library"
HOMEPAGE="https://github.com/gabime/spdlog"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/gabime/${PN}"
else
SRC_URI="https://github.com/gabime/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
fi
LICENSE="MIT"
SLOT="0/1"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
virtual/pkgconfig
"
DEPEND="
>=dev-libs/libfmt-5.3.0:=
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${P}-libfmt-7.0.0.patch"
"${FILESDIR}/${P}-tests-fix.patch"
)
src_prepare() {
cmake_src_prepare
rm -r include/spdlog/fmt/bundled || die "Failed to delete bundled libfmt"
}
src_configure() {
local mycmakeargs=(
-DSPDLOG_BUILD_BENCH=no
-DSPDLOG_BUILD_EXAMPLE=no
-DSPDLOG_FMT_EXTERNAL=yes
-DSPDLOG_BUILD_SHARED=yes
-DSPDLOG_BUILD_TESTS=$(usex test)
)
cmake_src_configure
}

@ -25,7 +25,7 @@ BDEPEND="
virtual/pkgconfig
"
DEPEND="
>=dev-libs/libfmt-5.3.0:=
>=dev-libs/libfmt-6.1.2:=
"
RDEPEND="${DEPEND}"

@ -25,7 +25,7 @@ BDEPEND="
virtual/pkgconfig
"
DEPEND="
>=dev-libs/libfmt-5.3.0:=
>=dev-libs/libfmt-6.1.2:=
"
RDEPEND="${DEPEND}"

Binary file not shown.

@ -1,2 +1 @@
DIST camlpdf-2.3.1.tar.gz 601531 BLAKE2B 9534baf9165e7dc48ae37a3fcaabb236e437845ef4e0a60a1c08874a2b240c9b1e96de5bbd6028a3ca87992221773dea34c31b0fa24e9c143632756954baf132 SHA512 0b8d91b6090221f996aee52f22f153a4b74cb85a127bbd5f84492ede8a0a581971a2349281b3879d6c37f4d5d267da583e7e8871372d97a3d636abc3231cb007
DIST camlpdf-2.3.tar.gz 601250 BLAKE2B 9b2a7f6a90d33a69d3a6c15c4c299e7fde4633a78cbd43e1b779f713d371ee16dc588449e024e35a83cef8c24d7059844c92f3354391381437bea37595b604a7 SHA512 dfb81692f894f071bb32634e371cdb202af17f671fb1b9c379ff3d360453a0909c3b6d9960aae45cac49e20f06aeb49ad6db276324542e7be306831ef586d255

@ -1,36 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit findlib
DESCRIPTION="OCaml library for reading, writing, and modifying PDF files"
HOMEPAGE="https://github.com/johnwhitington/camlpdf/"
SRC_URI="https://github.com/johnwhitington/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
# technically LGPL-2.1+ with linking exception
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"
RDEPEND="dev-lang/ocaml:=[ocamlopt]"
DEPEND="${RDEPEND}"
src_compile() {
# parallel make bugs
emake -j1
}
src_install() {
findlib_src_install
dodoc Changes README.md
if use doc ; then
dodoc introduction_to_camlpdf.pdf
dodoc -r doc/camlpdf/html
fi
use examples && dodoc -r examples
}

@ -0,0 +1,12 @@
Make sure install dir exists before copying file to it.
--- lablgl-1.06/LablGlut/src/Makefile
+++ lablgl-1.06/LablGlut/src/Makefile
@@ -68,6 +68,7 @@
cd "$(INSTALLDIR)" && $(RANLIB) liblablglut$(XA)
@if test -f dlllablglut$(XS); then $(MAKE) installdll; \
else $(MAKE) installtop; fi
+ mkdir -p "$(BINDIR)"
cp lablglut$(XB) "$(BINDIR)"
real-install: preinstall

@ -6,7 +6,7 @@ EAPI=7
inherit toolchain-funcs
DESCRIPTION="Objective CAML interface for OpenGL"
HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html"
HOMEPAGE="https://github.com/garrigue/lablgl"
SRC_URI="https://github.com/garrigue/lablgl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
@ -30,6 +30,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
src_configure() {
# make configuration file
echo "BINDIR=/usr/bin" > Makefile.config || die

@ -1,2 +1,3 @@
DIST zarith-1.10.tar.gz 95543 BLAKE2B 4effafb5a4f90fe48282feb6a3deb07cde4e465c52149d663b1185f82c20ad7e72a02e5965cc3d589ea873f82c33f69dcb47299bbd6a9fa7a6fd686ce14ad61d SHA512 94958feccd3be863b4bcc7887f5108099962402ab6eddbae42420cd04323aafe930dac75c6f1f3d50d8f57cdd2108f1b25546999bac3f03a0a682127d5b67612
DIST zarith-1.7.tar.gz 89617 BLAKE2B ee8a272a7421d9e723af8aa6207da8fe046585804e669058b6dec8fb47cab80e438d0520c1b61ed6c79bc279d162a7a1043fa40e74c50342b7e4d553ca8e8f5b SHA512 812b5f9b24ce7a24d3370b8728ff6eeb56e3280fa1573e694fe54e781668c29bf8ff95e94aeff59df948adc85b8acd6b4efe117fb50a124f19b4227bee78e753
DIST zarith-1.9.1.tar.gz 92321 BLAKE2B d61def81600cb5f3ae931eabebcdf081b6025dd24b1deae46a55f5db4f2c67d44b38b9cb9d73fc7fd9bd76c81545294373e3df5969da217209079a2912a8e285 SHA512 e77620c66a59d35811acfc45c7ef3f0d50d3042194654b1f5b652a2ed5fb9d5f88e9173222e5ced286c61854434da05a4d96668089faa66ff2917afa677fc32f

@ -0,0 +1,58 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit findlib multilib
DESCRIPTION="Arithmetic and logic operations over arbitrary-precision integers"
HOMEPAGE="https://github.com/ocaml/Zarith"
SRC_URI="https://github.com/ocaml/Zarith/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
IUSE="doc mpir +ocamlopt"
RDEPEND="
>=dev-lang/ocaml-4.05:=[ocamlopt?]
!mpir? ( dev-libs/gmp:0= )
mpir? ( sci-libs/mpir )"
DEPEND="${RDEPEND} dev-lang/perl"
DOCS=( README.md Changes )
PATCHES=(
"${FILESDIR}"/${PN}-1.9.1-ar.patch
)
S="${WORKDIR}/Zarith-release-${PV}"
src_configure() {
tc-export CC AR
./configure -host "${CHOST}" \
-ocamllibdir /usr/$(get_libdir)/ocaml \
-installdir "${ED}"/usr/$(get_libdir)/ocaml \
$(usex mpir "-mpir" "-gmp") || die
}
src_compile() {
emake -j 1 HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) all
use doc && emake doc
}
src_test() {
if use ocamlopt ; then
emake HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) tests
else
ewarn "Tests require USE=ocamlopt. Skipping them."
fi
}
src_install() {
findlib_src_preinst
emake HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) install
dosym zarith/libzarith.a /usr/$(get_libdir)/ocaml/libzarith.a
use doc && HTML_DOCS=( html/* )
einstalldocs
}

Binary file not shown.

@ -1,4 +1,6 @@
DIST cryptography-3.0.tar.gz 534725 BLAKE2B f6f4d5cfcf42a9ca2288bdc7c61bd0ae2f98999868951798f358d6ec9dbbcddb31102b0954f983bb9c118df53a8483e74aa2395ce366a9a97b6b9164b0044bd2 SHA512 4fca5d0e59f02f23c7e2d5c80f86e4cf36eeeb9a128e7b3332a91aa0b9dcdd3282a882a88ea34ffba1e91687eb6d1fc1042774f1e30970e9bf56ee701c32ac15
DIST cryptography-3.1.tar.gz 534747 BLAKE2B 3225625a69ef3279ae7f763e04b884c0d46a0524624685bba1836e8076d13a7a360ed75f69e62427e191eff86fd9882bd09a5352492ea8bd558842ca67bf3b70 SHA512 c015df3a71e4c274b2fb8fd954d264c8b56443644048139113f548c69cf83798b73c9f0993609f338044df92b609723b0281ce61ed2751309a122de22060037e
DIST cryptography-3.2.tar.gz 540815 BLAKE2B be4edd5d4cd9564e8622284ff9b1d3a7cc7d6e46cfa790d8e1cfa1ce389c5d628e39b056dc5cba3b94ab3fa45603df73a7b4ebd9d1c70fc88c457780f6616311 SHA512 0096e6408b5868cc0b5e6f67945e4200bb943a00ac803546048fa4d332f81af4a224b2d67b911ee8da1ad086120935d7d557fc70a739ecffb22f408ee9b8d09e
DIST cryptography_vectors-3.0.tar.gz 35156155 BLAKE2B 987fa88873bb3ec9745a150906e868c1aea14bb9e618c5c65348deb4e8618f89b15a8d70ea6ed0760649505f5649dd2fbf1e40fadad193faf3a92922ed234025 SHA512 a24c6f25c0acf79cea534fc86d61d9697c004a18204043457cf1a955751e8313893c63258f82ada523a9608b7ec0e5a7a7047ddcbd20e0c55d7c6392bc61c24f
DIST cryptography_vectors-3.1.tar.gz 35163687 BLAKE2B c381781950bf5399c15fe329fc28cf35933936a2130bbf18909f31f1bbd764a69a8816327e968d3810790b8404e3ae5af25b3d390da3015533f5c52f8a0cd0cf SHA512 094076a26ba4cae1bf0408844abbb9b3a5634f97657e4627e10b8a7c7424b69574fd9d719d5c258aa02244bee8b395f09c51af79350971072b2f9719446743c1
DIST cryptography_vectors-3.2.tar.gz 35168065 BLAKE2B ebd915eee9b91bd61445bcb442d3052972b1463132b8e63343832baa27c25566e22ca9f50c9d4ea73cb12185f9228144eaac4bf5cc68a3bd79f347fe2d021adc SHA512 bb0d00c8a66fd328ef38b0008519856a14d35b6fd634a6f67ea5530775d36538fbd326326c3f0cd962b1a008c21f2aded4d733f97bc12577679ed8be67b858bc

@ -0,0 +1,53 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..9} pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 multiprocessing
VEC_P=cryptography_vectors-${PV}
DESCRIPTION="Library providing cryptographic recipes and primitives"
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
test? ( mirror://pypi/c/cryptography_vectors/${VEC_P}.tar.gz )"
LICENSE="|| ( Apache-2.0 BSD )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="libressl idna"
RDEPEND="
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
idna? ( >=dev-python/idna-2.1[${PYTHON_USEDEP}] )
$(python_gen_cond_dep '
>=dev-python/cffi-1.8:=[${PYTHON_USEDEP}]
' 'python*')
"
BDEPEND="
test? (
>=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}]
dev-python/iso8601[${PYTHON_USEDEP}]
dev-python/pretend[${PYTHON_USEDEP}]
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
DEPEND="
!libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= )
libressl? ( >=dev-libs/libressl-2.9.1:0= )
"
RDEPEND+=${DEPEND}
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
python_test() {
local -x PYTHONPATH=${PYTHONPATH}:${WORKDIR}/${VEC_P}
pytest -vv -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
die "Tests fail with ${EPYTHON}"
}

@ -3,4 +3,5 @@ DIST Markdown-3.1.1.tar.gz 294136 BLAKE2B 9fd024f64f7aaa774a49f60e312e47bbc2ff0f
DIST Markdown-3.2.2.tar.gz 299658 BLAKE2B c5a0337b6633ac3d795885d138ee3c078e36fdcacee659d8908ecdb839e0496c06ac8c721efd16183f03026ebf681e8382cdadd28d910abf5c021fdef9237e2a SHA512 72ce79b0daed4df2d09a458dad24da3e303143307640fb15d15cb10edc6c641d422dcf5043380c1572c4b9ed8f5fc11ec52e28928d8215d687309e4ce9ae3d7c
DIST Markdown-3.3.1.tar.gz 317115 BLAKE2B 8c46dec8717cfdd03bd32b48071af042ca25508ca39d2a747a85d8c3044889d374b2f37ba6eba577c776c415d74c2f832810842faa19ff2febe596405a0a9157 SHA512 b1e53fe903612f8defbaf31f1f40a5ba4c58670ffb49cce8cf39fbe3a6445072520b7fe23eff594a8583a030b12d6295f124a13e4b58cad311d5d11ec699b4c6
DIST Markdown-3.3.2.tar.gz 318351 BLAKE2B bfab4d9ef98b691311949e842ab0550625d6e97a8006207c44746dd45e42ac58fa22a1efcc25c0e74f110046edeb3e61e1321af3dc359ae1f703e78915d64f20 SHA512 9c486d1816196d96cd4c5fcf0e128002b7fd8e2ab1b0ffce0d9c4aaf616a7acc044044d6932b2005ae508f760f7112c81acb3cf1315e8e9d51e36058582989ca
DIST Markdown-3.3.3.tar.gz 319531 BLAKE2B b7a527a7d202ee955106ecddb75541285589cb006a0cb3e587f06bb06aa3be8bdf8e976a35cc2ca63b2f085a8b462f8e8d5fad84710561dc105e533939c04204 SHA512 b8e42c1471d155be6cc9aa0b6ce649454b09d36df1de51ef7e45043ae3c1c87b9b09e1fae4c680a771bee52e7fa8ea82548b78b2ffb1d38e85785f0b0de25b36
DIST Markdown-3.3.tar.gz 315253 BLAKE2B 35fbe7f03b9261e1506bb5b2ebb19cfd37e6f1ad2ad6f5464b90c850bec642a5518a6470db640bbf6ded8b589bdfbd83bd0482724b6be6e89dba133d0122d721 SHA512 3f6e29b917135638fba703c3711c8f7baec544293a93bcf3554cad7dbd6a9678a49408c202e70f2cd41813f6a7ec0ff856e1c3888355b1321eb2801eb9552a1c

@ -0,0 +1,43 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{6..9} pypy3 )
inherit distutils-r1
DESCRIPTION="Python implementation of the markdown markup language"
HOMEPAGE="
https://python-markdown.github.io/
https://pypi.org/project/Markdown/
https://github.com/Python-Markdown/markdown"
SRC_URI="mirror://pypi/M/${PN^}/${P^}.tar.gz"
S="${WORKDIR}/${P^}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc"
# importlib_metadata is only necessary for <python:3.8 according to setup.py
RDEPEND="
$(python_gen_cond_dep '
dev-python/importlib_metadata[${PYTHON_USEDEP}]
' python3_{6,7} pypy3)
"
BDEPEND="
test? (
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/pytidylib[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
)"
distutils_enable_tests unittest
python_install_all() {
use doc && dodoc -r docs/
distutils-r1_python_install_all
}

@ -1 +0,0 @@
DIST MySQL-python-1.2.5.zip 108935 BLAKE2B c4d5d4bc814c05604c4acf673ba4f4040dac2653e65173f672a42de4f2877583c79553533040c5502f99b57b71868031daeea7b637a4bea189fb20eea6a6ecc2 SHA512 37521c6fd855c4cde495cc8ec085aca79c2d441a6e3710759385bf2e2c17f43d3311cf1166663892829d2e3999c419443c358c7031cdda225ac44611ced188d0

@ -1,15 +0,0 @@
We don't use anything from my_config.h.
Bug: https://bugs.gentoo.org/632578
--- a/_mysql.c
+++ b/_mysql.c
@@ -40,8 +40,6 @@ PERFORMANCE OF THIS SOFTWARE.
#include "structmember.h"
#if defined(MS_WINDOWS)
#include <config-win.h>
-#else
-#include "my_config.h"
#endif
#include "mysql.h"
#include "mysqld_error.h"

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">mysql-python</remote-id>
<remote-id type="sourceforge">mysql-python</remote-id>
</upstream>
</pkgmetadata>

@ -1,46 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 flag-o-matic
MY_PN="MySQL-python"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Python interface to MySQL"
HOMEPAGE="https://sourceforge.net/projects/mysql-python/ https://pypi.org/project/MySQL-python/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc"
RDEPEND="dev-db/mysql-connector-c"
DEPEND="${RDEPEND}"
BDEPEND="${RDEPEND}
app-arch/unzip
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
PATCHES=( "${FILESDIR}"/${PN}-1.2.5-drop-my_config.h-include.patch )
DOCS=( HISTORY README.md doc/{FAQ,MySQLdb}.rst )
python_configure_all() {
append-flags -fno-strict-aliasing
}
python_compile_all() {
use doc && sphinx-build -b html doc doc/_build/
}
python_install_all() {
use doc && local HTML_DOCS=( doc/_build/. )
distutils-r1_python_install_all
}

@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl examples ssl test"
RESTRICT="!test? ( test )"

@ -1 +0,0 @@
DIST singledispatch-3.4.0.3.tar.gz 9529 BLAKE2B 51e948c1a60adac7db3b97931becad4c699277b7c6af2e211e160fd6ec8fdf0501a3a2b40780b9bf7a2a5c62d08d905c7058c5a771018f9ec78a60688e3b03b5 SHA512 ba065d36092ddee6527be3d7cb777c51c0949855bf6dd0ffb7c25acaedaa35d36fe6dc096587acddcd1e9e54c6ac5f92c196b11f9ee1270cc0c1cf2f410446cf

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>timo@rothenpieler.org</email>
<name>Timo Rothenpieler</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Gentoo Proxy Maintainers Project</name>
</maintainer>
<upstream>
<remote-id type="pypi">singledispatch</remote-id>
</upstream>
</pkgmetadata>

@ -1,20 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="A library to bring functools.singledispatch from Python 3.4 to Python 2.6-3.3"
HOMEPAGE="https://docs.python.org/3/library/functools.html#functools.singledispatch"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PF}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"

Binary file not shown.

@ -1 +0,0 @@
DIST btanks-0.9.8083.tar.bz2 28754069 BLAKE2B c187fe1deca9cdb5efcbb279215c369542e1e5e1ce93b0cecac077733a1b56359caa9dd49629305c566d8c86da1f05a6f4f61d1e41888c6c8076c9494fe5df03 SHA512 beef8f480e4c20c4f3d29aaa63fd52b370b89cceb8a7dda92f0d0fa5517969abf1fce6b0109782300f1b5bb92cf3c599677b168cd66f3b44c2d2dd1742ce0241

@ -1,54 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils scons-utils games
DESCRIPTION="Fast 2D tank arcade game with multiplayer and split-screen modes"
HOMEPAGE="http://btanks.sourceforge.net/"
SRC_URI="mirror://sourceforge/btanks/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-lang/lua-5.1:0
media-libs/libsdl[joystick,video]
media-libs/libvorbis
virtual/opengl
dev-libs/expat
media-libs/smpeg
media-libs/sdl-image[jpeg,png]
media-libs/sdl-gfx"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
rm -rf sdlx/gfx
epatch "${FILESDIR}"/${P}-scons-blows.patch \
"${FILESDIR}"/${P}-gcc46.patch \
"${FILESDIR}"/${P}-gcc47.patch \
"${FILESDIR}"/${P}-gcc6.patch
}
src_compile() {
escons \
prefix="${GAMES_PREFIX}" \
lib_dir="$(games_get_libdir)"/${PN} \
plugins_dir="$(games_get_libdir)"/${PN} \
resources_dir="${GAMES_DATADIR}"/${PN}
}
src_install() {
dogamesbin build/release/engine/btanks
newgamesbin build/release/editor/bted btanksed
exeinto "$(games_get_libdir)"/${PN}
doexe build/release/*/*.so
insinto "${GAMES_DATADIR}"/${PN}
doins -r data
newicon engine/src/bt.xpm ${PN}.xpm
make_desktop_entry ${PN} "Battle Tanks"
dodoc ChangeLog *.txt
prepgamesdirs
}

@ -1,10 +0,0 @@
--- engine/sl08/sl08.h.old 2011-04-19 17:20:34.055776870 +0200
+++ engine/sl08/sl08.h 2011-04-19 17:20:59.471398921 +0200
@@ -22,6 +22,7 @@
/* DO NOT MODIFY THIS FILE: IT'S AUTOGENERATED */
#include <list>
+#include <cstddef>
#ifndef NULL
#define NULL ((void*) 0)

@ -1,103 +0,0 @@
--- mrt/base_file.h.old 2012-10-08 10:16:43.941487723 +0200
+++ mrt/base_file.h 2012-10-08 10:18:55.788771445 +0200
@@ -20,6 +20,7 @@
*/
#include <string>
+#include <unistd.h>
#include "export_mrt.h"
namespace mrt {
--- math/range_list.h.old 2012-10-08 09:49:34.283887937 +0200
+++ math/range_list.h 2012-10-08 09:50:36.258212096 +0200
@@ -53,14 +53,14 @@
return;
}
- typename parent_type::iterator i = lower_bound(value);
+ typename parent_type::iterator i = this->lower_bound(value);
if (i != parent_type::end()) {
if (i->first == value)
return;
if (value + 1 == i->first) {
T e = i->second;
- erase(i);
+ this->erase(i);
i = parent_type::insert(typename parent_type::value_type(value, e)).first; //expand beginning
i = pack_left(i);
}
--- engine/sl08/sl08.h.old 2012-10-04 09:50:37.845681514 +0200
+++ engine/sl08/sl08.h 2012-10-08 09:58:32.873166723 +0200
@@ -272,7 +272,7 @@
inline slot1(object_type *object, func_t func, signal_type * signal = NULL) : object(object), func(func) {}
inline void assign(object_type *o, func_t f) { object = o; func = f; }
- inline void assign(object_type *o, func_t f, signal_type &signal_ref = NULL) { object = o; func = f; connect(signal_ref); }
+ inline void assign(object_type *o, func_t f, signal_type &signal_ref = NULL) { object = o; func = f; this->connect(signal_ref); }
inline return_type operator() (arg1_type a1) const {
return (object->*func) (a1) ;
@@ -293,7 +293,7 @@
inline slot1 () : object(NULL), func(NULL) {}
inline slot1 (object_type *object, func_t func) : object(object), func(func) {}
inline void assign(object_type *o, func_t f) { object = o; func = f; }
- inline void assign(object_type *o, func_t f, signal_type &signal_ref) { object = o; func = f; connect(signal_ref); }
+ inline void assign(object_type *o, func_t f, signal_type &signal_ref) { object = o; func = f; this->connect(signal_ref); }
inline void operator() (arg1_type a1) const {
(object->*func) (a1);
@@ -447,7 +447,7 @@
inline slot2(object_type *object, func_t func, signal_type * signal = NULL) : object(object), func(func) {}
inline void assign(object_type *o, func_t f) { object = o; func = f; }
- inline void assign(object_type *o, func_t f, signal_type &signal_ref = NULL) { object = o; func = f; connect(signal_ref); }
+ inline void assign(object_type *o, func_t f, signal_type &signal_ref = NULL) { object = o; func = f; this->connect(signal_ref); }
inline return_type operator() (arg1_type a1, arg2_type a2) const {
return (object->*func) (a1, a2) ;
@@ -468,7 +468,7 @@
inline slot2 () : object(NULL), func(NULL) {}
inline slot2 (object_type *object, func_t func) : object(object), func(func) {}
inline void assign(object_type *o, func_t f) { object = o; func = f; }
- inline void assign(object_type *o, func_t f, signal_type &signal_ref) { object = o; func = f; connect(signal_ref); }
+ inline void assign(object_type *o, func_t f, signal_type &signal_ref) { object = o; func = f; this->connect(signal_ref); }
inline void operator() (arg1_type a1, arg2_type a2) const {
(object->*func) (a1, a2);
@@ -643,7 +643,7 @@
inline slot3 () : object(NULL), func(NULL) {}
inline slot3 (object_type *object, func_t func) : object(object), func(func) {}
inline void assign(object_type *o, func_t f) { object = o; func = f; }
- inline void assign(object_type *o, func_t f, signal_type &signal_ref) { object = o; func = f; connect(signal_ref); }
+ inline void assign(object_type *o, func_t f, signal_type &signal_ref) { object = o; func = f; this->connect(signal_ref); }
inline void operator() (arg1_type a1, arg2_type a2, arg3_type a3) const {
(object->*func) (a1, a2, a3);
@@ -797,7 +797,7 @@
inline slot4(object_type *object, func_t func, signal_type * signal = NULL) : object(object), func(func) {}
inline void assign(object_type *o, func_t f) { object = o; func = f; }
- inline void assign(object_type *o, func_t f, signal_type &signal_ref = NULL) { object = o; func = f; connect(signal_ref); }
+ inline void assign(object_type *o, func_t f, signal_type &signal_ref = NULL) { object = o; func = f; this->connect(signal_ref); }
inline return_type operator() (arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4) const {
return (object->*func) (a1, a2, a3, a4) ;
@@ -818,7 +818,7 @@
inline slot4 () : object(NULL), func(NULL) {}
inline slot4 (object_type *object, func_t func) : object(object), func(func) {}
inline void assign(object_type *o, func_t f) { object = o; func = f; }
- inline void assign(object_type *o, func_t f, signal_type &signal_ref) { object = o; func = f; connect(signal_ref); }
+ inline void assign(object_type *o, func_t f, signal_type &signal_ref) { object = o; func = f; this->connect(signal_ref); }
inline void operator() (arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4) const {
(object->*func) (a1, a2, a3, a4);
@@ -972,7 +972,7 @@
inline slot5(object_type *object, func_t func, signal_type * signal = NULL) : object(object), func(func) {}
inline void assign(object_type *o, func_t f) { object = o; func = f; }
- inline void assign(object_type *o, func_t f, signal_type &signal_ref = NULL) { object = o; func = f; connect(signal_ref); }
+ inline void assign(object_type *o, func_t f, signal_type &signal_ref = NULL) { object = o; func = f; this->connect(signal_ref); }
inline return_type operator() (arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5) const {
return (object->*func) (a1, a2, a3, a4, a5) ;

@ -1,34 +0,0 @@
Bug: https://bugs.gentoo.org/609692
--- a/mrt/timespy.cpp
+++ b/mrt/timespy.cpp
@@ -43,7 +43,7 @@
throw_io(("gettimeofday"));
}
-TimeSpy::~TimeSpy() {
+TimeSpy::~TimeSpy() DTOR_NOEXCEPT {
struct timeval now;
if (gettimeofday(&now, NULL) == -1)
throw_io(("gettimeofday"));
--- a/mrt/timespy.h
+++ b/mrt/timespy.h
@@ -37,11 +37,17 @@
#include "fmt.h"
#include "export_mrt.h"
+#if __cplusplus >= 201103L
+#define DTOR_NOEXCEPT noexcept(false)
+#else
+#define DTOR_NOEXCEPT
+#endif
+
namespace mrt {
class MRTAPI TimeSpy {
public:
TimeSpy(const std::string &message);
- ~TimeSpy();
+ ~TimeSpy() DTOR_NOEXCEPT;
private:
TimeSpy(const TimeSpy&);
const TimeSpy& operator=(const TimeSpy&);

@ -1,93 +0,0 @@
--- mrt/export_base.h.old 2010-01-09 17:38:47.000000000 +0100
+++ mrt/export_base.h 2010-01-09 17:39:23.000000000 +0100
@@ -1,7 +1,7 @@
#ifndef MRT_EXPORT_MACRO_H__
#define MRT_EXPORT_MACRO_H__
-// Shared library support
+/* Shared library support */
#ifdef _WINDOWS
# pragma warning(disable:4251) /* needs to have dll-interface used by client */
--- SConstruct.old 2010-01-09 17:43:36.000000000 +0100
+++ SConstruct 2010-01-09 17:45:25.000000000 +0100
@@ -50,7 +50,7 @@
if os.environ.has_key('CC'):
env['CC'] = os.environ['CC']
if os.environ.has_key('CFLAGS'):
- env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
+ env['CFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
if os.environ.has_key('CXX'):
env['CXX'] = os.environ['CXX']
if os.environ.has_key('CXXFLAGS'):
@@ -91,19 +91,9 @@
#env.Append(CPPDEFINES = ['NDEBUG'])
else:
- if env['gcc_visibility']:
- env.Append(CCFLAGS=['-fvisibility=hidden']);
- env.Append(CXXFLAGS=['-fvisibility-inlines-hidden', '-fvisibility=hidden']);
-
- if debug:
- env.Append(CCFLAGS=['-ggdb', '-D_FORTIFY_SOURCE=2'])
- env.Append(CPPFLAGS=['-ggdb', '-D_FORTIFY_SOURCE=2'])
- else:
- env.Append(CCFLAGS=['-O3'])
- env.Append(CPPFLAGS=['-O3'])
- env.Append(CPPFLAGS=['-Wall', '-Wno-deprecated', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
- env.Append(CCFLAGS=['-Wall', '-Wno-deprecated', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
+ env.Append(CPPFLAGS=['-Wall', '-Wno-deprecated', '-pedantic', '-Wno-long-long', '-pthread'])
+ env.Append(CCFLAGS=['-Wall', '-Wno-deprecated', '-pedantic', '-Wno-long-long', '-pthread'])
conf_env = env.Clone()
--- sdlx/SConscript.old 2010-01-09 17:46:05.000000000 +0100
+++ sdlx/SConscript 2010-01-09 17:46:55.000000000 +0100
@@ -12,7 +12,7 @@
env.MergeFlags(sdl_cflags, sdl_libs)
-libs = ['mrt', 'SDL', 'SDL_image']
+libs = ['mrt', 'SDL', 'SDL_image', 'SDL_gfx']
if sys.platform != "win32":
c_map_env= env.Clone()
@@ -35,7 +35,6 @@
sdlx_sources = ['cursor.cpp', 'sdl_ex.cpp', 'surface.cpp', 'system.cpp', 'joystick.cpp',
'thread.cpp', 'mutex.cpp', 'semaphore.cpp', 'color.cpp',
c_map, 'font.cpp', 'timer.cpp', 'module.cpp', 'file_rw.cpp',
- 'gfx/SDL_rotozoom.c',
] # 'ttf.cpp',
if sys.platform == 'win32':
--- sdlx/surface.cpp.old 2010-01-09 17:47:33.000000000 +0100
+++ sdlx/surface.cpp 2010-01-09 17:48:19.000000000 +0100
@@ -425,7 +425,7 @@
throw_sdl(("SDL_SetColorKey"));
}
-#include "gfx/SDL_rotozoom.h"
+#include <SDL_rotozoom.h>
void Surface::rotozoom(const sdlx::Surface &src, double angle, double zoom, bool smooth) {
if (src.isNull())
--- sdlx/wrappers/glSDL.c.old 2010-01-09 17:48:50.000000000 +0100
+++ sdlx/wrappers/glSDL.c 2010-01-09 17:49:23.000000000 +0100
@@ -11,8 +11,6 @@
#ifdef HAVE_OPENGL
-//#define LEAK_TRACKING
-
#define DBG(x) /*error messages, warnings*/
#define DBG2(x) /*texture allocation*/
#define DBG3(x) /*chopping/tiling*/
@@ -951,7 +949,6 @@
}
gl_doublebuf = flags & SDL_DOUBLEBUF;
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, gl_doublebuf);
- //SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, gl_doublebuf ? 1: 0);
scale = 1;

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
<longdescription lang="en">
"Battle Tanks" is a funny battle on your desk, where you can choose one of three
vehicles and eliminate your enemy using the whole arsenal of weapons. It has
original cartoon-like graphics and cool music, it's fun and dynamic, it has
several network modes for deathmatch and cooperative --- what else is needed to
have fun with your friends? And all is packed and ready for you in "Battle
Tanks".
</longdescription>
<upstream>
<remote-id type="sourceforge">btanks</remote-id>
</upstream>
</pkgmetadata>

Binary file not shown.

@ -1 +0,0 @@
DIST diameter-0.4.0.3.tar.bz2 4729201 BLAKE2B e96989e0213bbea1c0e7c8d5bea155c2a561741c367220f5d0fb7a4630c076932a4393ad577573195e96945fc812e9a1fb6026089d601d96a22be5004c77877e SHA512 74491d49b233f16b44e4ea7c477fe5c6d71bc88c34b815f7992ea881558e2b4de98b10c5041cff6d0a6098dc4f440291825fb1746ff0282e3f538fac4ee4975d

@ -1,60 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit autotools eutils python-single-r1
DESCRIPTION="Arcade game with elements of economy and adventure"
HOMEPAGE="https://sourceforge.net/projects/gamediameter/"
SRC_URI="mirror://sourceforge/gamediameter/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
>=dev-games/guichan-0.8[opengl,sdl]
media-libs/libpng:0=
media-libs/libsdl[video]
media-libs/sdl-image[gif,jpeg,png]
media-libs/sdl-mixer[mod]
virtual/opengl
virtual/glu
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
virtual/pkgconfig"
S=${WORKDIR}/gamediameter
src_prepare() {
default
sed -i \
-e "s:gamediameter:diameter:" \
configure.in || die
mv configure.in configure.ac || die
sed -i \
-e '/for i in .*\/lib/s:".*:/usr/lib/ ; do:' \
-e "/AC_SUBST.*LDFLAGS/s/\".*\"/\$PYTHON_LIBS/" \
acinclude.m4 || die
# bug #336812
sed -i \
-e '/gui nebular3.gif/s/gui//' \
data/texture/Makefile.am || die
eautoreconf
# needed, otherwise -lpython2.7 will not be found
python_export PYTHON PYTHON_LIBS
}
src_install() {
default
newicon data/texture/gui/eng/main/logo.png ${PN}.png
make_desktop_entry ${PN} ${PN^}
}

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
<longdescription lang="en">
"Diameter" - is an arcade-style game with elements of economy and adventure.
Project's main objective is to make a distinctive game with a storm gameplay and
simultaneously alluring with its world. Plus, the main mood will be funny, but
thus be serious.
</longdescription>
<upstream>
<remote-id type="sourceforge">gamediameter</remote-id>
</upstream>
</pkgmetadata>

Binary file not shown.

@ -1 +0,0 @@
DIST gnome-hearts-0.3.1.tar.gz 637916 BLAKE2B 6aa4a0c1d0d91316a896cd144e23b9a46066cd2d2c2a69d1fa1eb34094b5742810c5484c5950322a9c5b066ae72c974f9c4f0642baa7986df637654717669114 SHA512 5528c92bba80cc97ce1f51e3b2652b5d6b30c0e90e7a8f023dcdf5c3420b2d1fbab29fc3d974884d8cb351a44b8b97c05242f26b70d5e1d02d593a17452ad19f

@ -1,64 +0,0 @@
diff -Naur gnome-hearts-0.3.1.orig/configure.in gnome-hearts-0.3.1/configure.in
--- gnome-hearts-0.3.1.orig/configure.in 2013-06-09 15:05:11.000000000 +0200
+++ gnome-hearts-0.3.1/configure.in 2017-01-20 23:20:35.677689797 +0100
@@ -23,7 +23,7 @@
fi
# Check for libraries. gmodule is required to make sure --export-dynamic is used and glade works
-PKG_CHECK_MODULES(GNOME_HEARTS, [libgnomeui-2.0 gtk+-2.0 libglade-2.0 glib-2.0 gmodule-2.0])
+PKG_CHECK_MODULES(GNOME_HEARTS, [gtk+-2.0 libglade-2.0 glib-2.0 gmodule-2.0])
AC_SUBST(GNOME_HEARTS_CFLAGS)
AC_SUBST(GNOME_HEARTS_LIBS)
diff -Naur gnome-hearts-0.3.1.orig/src/events.c gnome-hearts-0.3.1/src/events.c
--- gnome-hearts-0.3.1.orig/src/events.c 2013-06-09 15:01:08.000000000 +0200
+++ gnome-hearts-0.3.1/src/events.c 2017-01-20 23:35:17.428651148 +0100
@@ -71,13 +71,13 @@
/* Open the help file */
void on_help(GtkWidget *widget, gpointer data)
{
- gnome_help_display("gnome-hearts.xml", NULL, NULL);
+ gtk_show_uri(NULL, "ghelp:gnome-hearts", GDK_CURRENT_TIME, NULL);
}
/* Open the preferences help file */
void on_preferences_help(GtkWidget *widget, gpointer data)
{
- gnome_help_display("gnome-hearts.xml", "hearts-prefs", NULL);
+ gtk_show_uri(NULL, "ghelp:gnome-hearts?hearts-prefs", GDK_CURRENT_TIME, NULL);
}
/* About menu item */
diff -Naur gnome-hearts-0.3.1.orig/src/hearts.c gnome-hearts-0.3.1/src/hearts.c
--- gnome-hearts-0.3.1.orig/src/hearts.c 2013-06-09 15:01:08.000000000 +0200
+++ gnome-hearts-0.3.1/src/hearts.c 2017-01-20 23:20:21.447210208 +0100
@@ -534,15 +534,11 @@
setlocale(LC_ALL, "");
#endif
- /* Initialize GNOME */
+ /* Initialize GTK+ */
GOptionContext *option_context = g_option_context_new(_("- Play a game of hearts"));
g_option_context_add_main_entries(option_context, option_entries, GETTEXT_PACKAGE);
- gnome_program_init(PACKAGE, VERSION, LIBGNOMEUI_MODULE,
- argc, argv,
- GNOME_PARAM_GOPTION_CONTEXT, option_context,
- GNOME_PARAM_APP_DATADIR, PACKAGE_DATA_DIR,
- GNOME_PARAM_NONE);
+ gtk_init(&argc, &argv);
/* init the game's global variables */
game_score_labels = NULL;
diff -Naur gnome-hearts-0.3.1.orig/src/hearts.h gnome-hearts-0.3.1/src/hearts.h
--- gnome-hearts-0.3.1.orig/src/hearts.h 2013-06-09 15:01:08.000000000 +0200
+++ gnome-hearts-0.3.1/src/hearts.h 2017-01-20 23:22:33.691604109 +0100
@@ -26,7 +26,7 @@
/* headers */
#include <glib/gi18n.h>
#include <dirent.h>
-#include <gnome.h>
+#include <gtk/gtk.h>
#include <glade/glade.h>
#include "cards.h"
#include "cfg.h"

@ -1,45 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
GNOME2_EAUTORECONF="yes"
PYTHON_COMPAT=( python2_7 )
inherit gnome2 python-single-r1
DESCRIPTION="A clone of classic hearts card game"
HOMEPAGE="https://www.jejik.com/gnome-hearts/"
SRC_URI="https://www.jejik.com/files/${PN}/${P}.tar.gz"
LICENSE="GPL-2+ FDL-1.2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
x11-libs/gtk+:2
>=gnome-base/libglade-2
"
DEPEND="${RDEPEND}
app-text/rarian
dev-util/intltool
virtual/pkgconfig
"
src_prepare() {
# make src_test work
echo gnome-hearts.desktop.in >> po/POTFILES.skip
sed -i \
-e '/No name/d' \
-e '/^Icon/s/.png//' \
-e '/^Encoding/d' \
gnome-hearts.desktop.in || die
eapply "${FILESDIR}"/${P}-drop-libgnomeui.patch
mv configure.in configure.ac || die
gnome2_src_prepare
}

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
</pkgmetadata>

Binary file not shown.

@ -1 +0,0 @@
DIST gambatte-0.5.0_p20131102.tar.xz 353212 BLAKE2B ad17289f29a00230d7ccec2825d6487ed994a6148a931254a9d5c941c5dbb643c5eb4dbd9f43decfcb86fb693f82358e795a4912c4d40258b27b0d8611961ec1 SHA512 9f27af85d2fceb128231eb3e5bf2806a1773c575990296f37eb3c0a14bca5c72f7f161cdf77f710f4ff85b2b3266db9ba098e5ef6772bc5bf7b2c97b8281999b

@ -1,74 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit scons-utils
DESCRIPTION="An accuracy-focused Gameboy / Gameboy Color emulator"
HOMEPAGE="https://sourceforge.net/projects/gambatte"
SRC_URI="https://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
media-libs/libsdl[X,sound,joystick,video]
sys-libs/zlib
"
DEPEND="${RDEPEND}"
fix_scons() {
local i
for i; do
cat >> $i << END
import os
import SCons.Util
if os.environ.has_key('AR'):
env['AR'] = os.environ['AR']
if os.environ.has_key('RANLIB'):
env['RANLIB'] = os.environ['RANLIB']
if os.environ.has_key('CC'):
env['CC'] = os.environ['CC']
if os.environ.has_key('CFLAGS'):
env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
if os.environ.has_key('CXX'):
env['CXX'] = os.environ['CXX']
if os.environ.has_key('CXXFLAGS'):
env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
if os.environ.has_key('CPPFLAGS'):
env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CPPFLAGS'])
if os.environ.has_key('LDFLAGS'):
env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
END
done
}
src_prepare() {
default
# Fix zlib/minizip build error
sed -i \
-e '1i#define OF(x) x' \
libgambatte/src/file/unzip/{unzip,ioapi}.h \
|| die "sed iompi.h failed"
fix_scons {gambatte_sdl,libgambatte}/SConstruct
}
src_compile() {
# build core library
cd "${S}"/libgambatte || die
escons
# build sdl frontend
cd "${S}"/gambatte_sdl || die
escons
}
src_install() {
dobin gambatte_sdl/gambatte_sdl
einstalldocs
}

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">gambatte</remote-id>
</upstream>
</pkgmetadata>

Binary file not shown.

@ -1,2 +0,0 @@
DIST vdrift-2012-07-22.tar.bz2 589288618 BLAKE2B ccdd6358f7d753a87eb8d9d0603001ab3ca6f5c8572348c300a75961f58eb624f4cd7df18b6d892554e0f6e96982de5d5d8aca4f59d8db7e95926d772a6d963f SHA512 eb6f243fd28e5fe46e856c37cb528c8ec903bdec91b6aa86681add79a333077a3a8874f694255913ae8492b965884f02057a95a98e37027ff67c082a8ca5527e
DIST vdrift-2012-07-22c_patch.diff 21689 BLAKE2B de7575df09d434f41a4dd02554dd39f7b6ae13d676ae33c692c7aabc49764c25805efdf5cb89e0b5fb016e02b5e33b93977d588df87ff0923421b57cf2796026 SHA512 7b82ba53f3c19ccd01de9ea64e0b7e15224219c0c614a6505b2a3f552ce78565fdedf7781a198c58606d3e9b94e594dee79097d46687e7d4fc763868204b761d

@ -1,28 +0,0 @@
--- VDrift.orig/SConstruct
+++ VDrift/SConstruct
@@ -44,6 +44,7 @@
LIBPATH = ['.', '#lib', LOCALBASE + '/lib'],
LINKFLAGS = ['-pthread','-lintl'],
options = opts)
+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
check_headers = ['GL/gl.h', 'GL/glu.h', 'SDL/SDL.h', 'SDL/SDL_image.h', 'SDL/SDL_rotozoom.h', 'vorbis/vorbisfile.h', 'GL/glew.h', 'bullet/btBulletCollisionCommon.h']
check_libs = []
if 'CC' in os.environ:
@@ -380,7 +381,7 @@
if env['release']:
# release build, debugging off, optimizations on
if (sys.platform != 'freebsd6') and (sys.platform != 'freebsd7') and (sys.platform != 'freebsd8') and (sys.platform != 'freebsd9') and (sys.platform != 'win32') and (sys.platform != 'cygwin'):
- env.Append(CCFLAGS = ['-O1', '-pipe'])
+ env.Append(CCFLAGS = ['-pipe'])
else:
# debug build, lots of debugging, no optimizations
env.Append(CCFLAGS = ['-g3'])
@@ -399,7 +400,6 @@
env.Append(CCFLAGS = ['-pg'])
env.Append(LINKFLAGS = ['-pg'])
env.Append(CCFLAGS = ['-g3'])
- env.Append(CCFLAGS = ['-O1'])
#------------------------------------#
# compile-time efficiency assessment #

@ -1,100 +0,0 @@
--- src/cardynamics.cpp Mon Jan 19 23:26:36 1970
+++ src/cardynamics.cpp Mon Jan 19 23:26:36 1970
@@ -1791,23 +1791,29 @@
bool CARDYNAMICS::WheelContactCallback(
btManifoldPoint& cp,
- const btCollisionObject* colObj0,
- int partId0,
+ const btCollisionObjectWrapper* col0,
+ int part0,
int index0,
- const btCollisionObject* colObj1,
- int partId1,
+ const btCollisionObjectWrapper* col1,
+ int part1,
int index1)
{
- // cars are fracture bodies, wheel is a cylinder shape
- const btCollisionShape* shape = colObj0->getCollisionShape();
- if ((colObj0->getInternalType() & CO_FRACTURE_TYPE) &&
+#if (BT_BULLET_VERSION < 281)
+ const btCollisionObject* obj = col0;
+ const btCollisionShape* shape = obj->getCollisionShape();
+ const btCollisionShape* rootshape = obj->getRootCollisionShape();
+#else
+ const btCollisionObject* obj = col0->getCollisionObject();
+ const btCollisionShape* shape = col0->getCollisionShape();
+ const btCollisionShape* rootshape = obj->getCollisionShape();
+#endif
+ if ((obj->getInternalType() & CO_FRACTURE_TYPE) &&
(shape->getShapeType() == CYLINDER_SHAPE_PROXYTYPE))
{
- // is contact within contact patch?
- const btCompoundShape* car = static_cast<const btCompoundShape*>(colObj0->getRootCollisionShape());
- const btCylinderShapeX* wheel = static_cast<const btCylinderShapeX*>(shape);
- btVector3 contactPoint = cp.m_localPointA - car->getChildTransform(cp.m_index0).getOrigin();
- if (-direction::up.dot(contactPoint) > 0.5 * wheel->getRadius())
+ const btCompoundShape* carshape = static_cast<const btCompoundShape*>(rootshape);
+ const btCylinderShapeX* wheelshape = static_cast<const btCylinderShapeX*>(shape);
+ btVector3 contactPoint = cp.m_localPointA - carshape->getChildTransform(cp.m_index0).getOrigin();
+ if (-direction::up.dot(contactPoint) > 0.5 * wheelshape->getRadius())
{
// break contact (hack)
cp.m_normalWorldOnB = btVector3(0, 0, 0);
--- src/cardynamics.h Mon Jan 19 23:26:36 1970
+++ src/cardynamics.h Mon Jan 19 23:26:36 1970
@@ -25,6 +25,12 @@
class FractureBody;
class PTree;
+#if (BT_BULLET_VERSION < 281)
+#define btCollisionObjectWrapper btCollisionObject
+#else
+struct btCollisionObjectWrapper;
+#endif
+
class CARDYNAMICS : public btActionInterface
{
friend class PERFORMANCE_TESTING;
@@ -151,11 +157,11 @@
static bool WheelContactCallback(
btManifoldPoint& cp,
- const btCollisionObject* colObj0,
- int partId0,
+ const btCollisionObjectWrapper* col0,
+ int part0,
int index0,
- const btCollisionObject* colObj1,
- int partId1,
+ const btCollisionObjectWrapper* col1,
+ int part1,
int index1);
protected:
--- src/dynamicsworld.cpp Mon Jan 19 23:26:36 1970
+++ src/dynamicsworld.cpp Mon Jan 19 23:26:36 1970
@@ -105,7 +105,7 @@
int patch_id = -1;
const BEZIER * b = 0;
const TRACKSURFACE * s = TRACKSURFACE::None();
- btCollisionObject * c = 0;
+ const btCollisionObject * c = 0;
MyRayResultCallback ray(origin, p, caster);
rayTest(origin, p, ray);
@@ -221,6 +221,7 @@
void DynamicsWorld::fractureCallback()
{
+#if (BT_BULLET_VERSION < 281)
m_activeConnections.resize(0);
int numManifolds = getDispatcher()->getNumManifolds();
@@ -268,4 +269,5 @@
btRigidBody* child = body->updateConnection(con_id);
if (child) addRigidBody(child);
}
+#endif
}

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">vdrift</remote-id>
</upstream>
</pkgmetadata>

@ -1,70 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils scons-utils games
MY_P=${PN}-${PV:0:4}-${PV:4:2}-${PV:6:2}
DESCRIPTION="A driving simulation made with drift racing in mind"
HOMEPAGE="http://vdrift.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2
mirror://sourceforge/${PN}/${MY_P}c_patch.diff"
LICENSE="GPL-3 ZLIB LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="app-arch/libarchive
media-libs/glew
media-libs/libsdl[opengl,video]
media-libs/sdl-gfx
media-libs/sdl-image[png]
media-libs/libvorbis
net-misc/curl
sci-physics/bullet[-double-precision]
virtual/opengl
virtual/glu"
DEPEND="${RDEPEND}
dev-cpp/asio
dev-libs/boost
virtual/pkgconfig"
S=${WORKDIR}/VDrift
src_unpack() {
unpack ${MY_P}.tar.bz2
}
src_prepare() {
epatch \
"${DISTDIR}"/${MY_P}c_patch.diff \
"${FILESDIR}"/${P}-build.patch \
"${FILESDIR}"/${P}-bullet.patch
}
src_compile() {
escons \
force_feedback=1 \
destdir="${D}" \
bindir="${GAMES_BINDIR}" \
datadir="${GAMES_DATADIR}"/${PN} \
prefix= \
use_binreloc=0 \
release=1 \
os_cc=1 \
os_cxx=1 \
os_cxxflags=1 \
|| die
}
src_install() {
dogamesbin build/vdrift
insinto "${GAMES_DATADIR}/${PN}"
doins -r data/*
newicon data/textures/icons/vdrift-64x64.png ${PN}.png
make_desktop_entry ${PN} VDrift
find "${D}" -name "SCon*" -exec rm \{\} +
keepdir "${GAMES_DATADIR}"/${PN}/{music,settings/replays,settings/screenshots}
prepgamesdirs
}

Binary file not shown.

@ -1 +0,0 @@
DIST endless-sky-0.9.6.tar.gz 71119557 BLAKE2B cf4fa6575a701396083815abd55071563f85973dc354b52509dc2fb0f7c803d7c6b44e6ace881bb6103063273f358b525c958e10a3c4ca3ceb3d6f849dd745f9 SHA512 e8dbae856153246f68a3c7ba68fd33a15cf60908f65003f614269df6909ed8d7ad848b4add4ee071b295f58be92c532e6579982d3c20b83d9203b74077f90bae

@ -1,55 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils gnome2-utils scons-utils
DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal Velocity"
HOMEPAGE="https://endless-sky.github.io"
SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="media-libs/glew:0
media-libs/libsdl2
media-libs/libjpeg-turbo
media-libs/libpng:=
media-libs/openal
virtual/opengl"
DEPEND="${RDEPEND}"
src_prepare() {
sed -i 's/\(.*flags += \["\)-O3\("\]\)/\1\2/g' SConstruct || die
sed -i 's#env.Install("$DESTDIR$PREFIX/games", sky)#env.Install("$DESTDIR$PREFIX/bin", sky)#g' SConstruct || die
eapply_user
}
src_compile() {
escons
}
src_install() {
escons PREFIX="${D}/usr/" install
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}
pkg_postinst() {
einfo "Endless Sky provides high-res sprites for high-dpi screens."
einfo "If you want to use them, download"
einfo
einfo " https://github.com/endless-sky/endless-sky-high-dpi/releases"
einfo
einfo "and extract it to ~/.local/share/endless-sky/plugins/."
einfo
einfo " Enjoy."
}

@ -1,14 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games</name>
</maintainer>
<longdescription lang="en">
Explore other star systems. Earn money by trading, carrying passengers, or completing missions. Use your earnings to buy a better ship or to upgrade the weapons and engines on your current one. Blow up pirates. Take sides in a civil war. Or leave human space behind and hope to find some friendly aliens whose culture is more civilized than your own...
</longdescription>
<upstream>
<remote-id type="github">endless-sky/endless-sky</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST glob2-0.9.4.4.tar.gz 11338986 BLAKE2B 047f27385c9b819c6ca2614406d340ff2cb7dcc26c8a20a205b11dce234af4ea52cb4eb04b7ed5b695382b17b34b5dd50387d61cfecaced16ee61b3c69c2921f SHA512 c82ace807ad208bc386b730f1fe6d6162640a9468440482f3584f8ccab825967660d8bbf6b3bebf70c74d1ed95f153cd9b5a0bd72dc247a1f97176c6c737f6ca

@ -1,12 +0,0 @@
--- a/libgag/include/StreamBackend.h.old
+++ b/libgag/include/StreamBackend.h
@@ -28,6 +28,9 @@
#ifdef putc
#undef putc
#endif
+#ifdef getc
+#undef getc
+#endif
namespace GAGCore
{

@ -1,35 +0,0 @@
From https://bugs.gentoo.org/show_bug.cgi?id=538580
Works around this build failure:
In file included from src/AICastor.cpp:26:0:
src/Game.h: In member function 'void AICastor::computeBuildingNeighbourMap(int, int)':
src/Game.h:152:9: error: 'struct Game::BuildProject' is private
struct BuildProject
^
src/AICastor.cpp:2296:23: error: within this context
for (std::list<Game::BuildProject>::iterator bpi=game->buildProjects.begin(); bpi!=game->buildProjects.end(); bpi++)
^
scons: *** [src/AICastor.o] Error 1
scons: building terminated because of errors.
patch submitted by zimous
--- glob2-0.9.4.4.orig/src/Game.h
+++ glob2-0.9.4.4/src/Game.h
@@ -149,6 +149,7 @@
BOTTOM_TO_TOP
};
+public:
struct BuildProject
{
int posX;
@@ -159,6 +160,7 @@
int unitWorkingFuture;
};
+private:
///Initiates Game
void init(GameGUI *gui, MapEdit* edit);

@ -1,49 +0,0 @@
Bug: https://bugs.gentoo.org/610382
Upstream commit: https://bitbucket.org/giszmo/glob2/commits/c9dc715624318e4fea4abb24e04f0ebdd9cd8d2a
# HG changeset patch
# User Jonathan Wakely <jwakely@redhat.com>
# Date 1485875296 0
# Node ID c9dc715624318e4fea4abb24e04f0ebdd9cd8d2a
# Parent c4da01699846179d8bf21e8dae2b973158ec0775
Fix last argument to ChooseMapScreen constructor
Since C++14 'false' is not a valid null pointer constant, so cannot be passed
to functions expecting pointer arguments.
diff --git a/src/EditorMainMenu.cpp b/src/EditorMainMenu.cpp
--- a/src/EditorMainMenu.cpp
+++ b/src/EditorMainMenu.cpp
@@ -90,7 +90,7 @@
}
else if (par1==LOADMAP)
{
- ChooseMapScreen chooseMapScreen("maps", "map", false, "games", "game", false);
+ ChooseMapScreen chooseMapScreen("maps", "map", false, "games", "game", NULL);
int rc=chooseMapScreen.execute(globalContainer->gfx, 40);
if (rc==ChooseMapScreen::OK)
{
diff --git a/src/LANMenuScreen.cpp b/src/LANMenuScreen.cpp
--- a/src/LANMenuScreen.cpp
+++ b/src/LANMenuScreen.cpp
@@ -62,7 +62,7 @@
}
else if(par1 == HOST)
{
- ChooseMapScreen cms("maps", "map", false, "games", "game", false);
+ ChooseMapScreen cms("maps", "map", false, "games", "game", NULL);
int rc = cms.execute(globalContainer->gfx, 40);
if(rc == ChooseMapScreen::OK)
{
diff --git a/src/YOGClientLobbyScreen.cpp b/src/YOGClientLobbyScreen.cpp
--- a/src/YOGClientLobbyScreen.cpp
+++ b/src/YOGClientLobbyScreen.cpp
@@ -326,7 +326,7 @@
void YOGClientLobbyScreen::hostGame()
{
- ChooseMapScreen cms("maps", "map", false, "games", "game", false);
+ ChooseMapScreen cms("maps", "map", false, "games", "game", NULL);
int rc = cms.execute(globalContainer->gfx, 40);
if(rc == ChooseMapScreen::OK)
{

@ -1,26 +0,0 @@
--- a/SConstruct.orig
+++ b/SConstruct
@@ -1,6 +1,7 @@
EnsureSConsVersion(0, 96, 92)
import sys
import os
+import SCons.Util
import glob
sys.path.append( os.path.abspath("scons") )
import bundle
@@ -268,6 +269,15 @@
env["TARFILE"] = env.Dir("#").abspath + "/glob2-" + env["VERSION"] + ".tar.gz"
env["TARFLAGS"] = "-c -z"
env.Alias("dist", env["TARFILE"])
+ # Using suggestions for https://dev.gentoo.org/~vapier/scons-blows.txt
+ if os.environ.has_key('CC'):
+ env['CC'] = os.environ['CC']
+ if os.environ.has_key('CXX'):
+ env['CXX'] = os.environ['CXX']
+ if os.environ.has_key('CXXFLAGS'):
+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
+ if os.environ.has_key('LDFLAGS'):
+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
def PackTar(target, source):
if "dist" in COMMAND_LINE_TARGETS:

@ -1,19 +0,0 @@
--- glob2-0.9.4.4.orig/SConstruct
+++ glob2-0.9.4.4/SConstruct
@@ -110,6 +110,16 @@
print "Could not find libz or zlib1.dll"
missing.append("zlib")
+ boost_system = ''
+ if conf.CheckLib("boost_system"):
+ boost_system="boost_system"
+ elif conf.CheckLib("boost_system-mt"):
+ boost_system="boost_system-mt"
+ else:
+ print "Could not find libboost_system or libboost_system-mt"
+ missing.append("libboost_system")
+ env.Append(LIBS=[boost_system])
+
boost_thread = ''
if conf.CheckLib("boost_thread") and conf.CheckCXXHeader("boost/thread/thread.hpp"):
boost_thread="boost_thread"

@ -1,64 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit desktop gnome2-utils scons-utils
DESCRIPTION="Real Time Strategy (RTS) game involving a brave army of globs"
HOMEPAGE="http://globulation2.org/"
SRC_URI="mirror://nongnu/glob2/${PV:0:5}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
>=dev-libs/boost-1.34[threads]
dev-libs/fribidi
media-libs/libsdl[opengl]
media-libs/libvorbis
media-libs/sdl-image[png]
media-libs/sdl-net
media-libs/sdl-ttf
media-libs/speex
virtual/glu
virtual/opengl
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${P}-{gcc{44,49,6},scons-blows,underlinking}.patch )
src_configure() {
myesconsargs=(
INSTALLDIR=/usr/share/${PN}
DATADIR=/usr/share/${PN}
)
escons data
}
src_compile() {
escons
}
src_install() {
dobin src/${PN}
insinto /usr/share/${PN}
doins -r campaigns data maps scripts
find "${ED}"/usr/share/${PN} -name SConscript -exec rm -f '{}' +
newicon -s 48 data/icons/glob2-icon-48x48.png ${PN}.png
make_desktop_entry glob2 "Globulation 2"
einstalldocs
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
<longdescription>
Globulation2 is an innovative high quality Real-Time Strategy [RTS],
which minimizes micro-management by automatically assigning tasks to
the units. The player has to choose the number of units he wants for
the different tasks, and the units will do their best to satisfy the
requests. This allows to manage more units and to focus on strategies.
</longdescription>
</pkgmetadata>

@ -1,42 +0,0 @@
MakeIndex Distribution Notice
11/11/1989
Copyright (C) 1989 by Chen & Harrison International Systems, Inc.
Copyright (C) 1988 by Olivetti Research Center
Copyright (C) 1987 by Regents of the University of California
Author:
Pehong Chen (phc@renoir.berkeley.edu)
Chen & Harrison International Systems, Inc.
Palo Alto, California
USA
Permission is hereby granted to make and distribute original copies of
this program provided that the copyright notice and this permission
notice are preserved and provided that the recipient is not asked to
waive or limit his right to redistribute copies as allowed by this
permission notice and provided that anyone who receives an executable
form of this program is granted access to a machine-readable form of
the source code for this program at a cost not greater than reasonable
reproduction, shipping, and handling costs. Executable forms of this
program distributed without the source code must be accompanied by a
conspicuous copy of this permission notice and a statement that tells
the recipient how to obtain the source code.
Permission is granted to distribute modified versions of all or part
of this program under the conditions above with the additional
requirement that the entire modified work must be covered by a
permission notice identical to this permission notice. Anything
distributed with and usable only in conjunction with something derived
from this program, whose useful purpose is to extend or adapt or add
capabilities to this program, is to be considered a modified version
of this program under the requirement above. Ports of this program to
other systems not supported in the distribution are also considered
modified versions. All modified versions should be reported back to
the author.
This program is distributed with no warranty of any sort. No
contributor accepts responsibility for the consequences of using this
program or for whether it serves any particular purpose.

Binary file not shown.

@ -1,558 +0,0 @@
Plex Terms of Service
Revised July 10, 2015
Thank you for using Plex! By accessing, using, downloading, or visiting
any Plex “Service(s)”, which includes the Plex website, Plex software
and products described here, and any other products or materials
provided by Plex GmbH, a Swiss company, and its affiliates (together,
“Plex”), you agree to the terms (“Terms”) listed in this agreement
(“Agreement”). Plex reserves the right to amend these Terms at any time
and without notice. Any revisions to the Terms will be posted on the
Plex website. By continuing to access or use the Services, you accept
any changes or revisions to the Terms.
Plex Software
A. Plex grants you a personal, non-commercial, worldwide, royalty-free,
revocable, non-transferable, non-sublicensable, and non-exclusive
license to use the software provided to you by Plex as part of the
Services (“Software”). This license is for the sole purpose of
enabling you to use and enjoy the benefit of the Services in the
manner permitted by these Terms.
B. The Software includes certain executable modules that Plex has
licensed from third party providers (“Third Party Components”) that
may be subject to different end user license terms as specified in
the license agreement(s) provided with such Third Party Components.
C. Except as provided in the next section, you may not, or allow anyone
else to, directly or indirectly to: (1) copy, modify, distribute,
sell, or lease any part of the Software; (2) reverse engineer,
disassemble, decompile, or otherwise attempt to discover the source
code or structure, sequence, and/or organization of all or any part
of the Software, unless laws prohibit those restrictions or you have
our written permission; (3) rent, lease, or use the Software for
timesharing or service bureau purposes; (4) develop any improvement,
modification, or derivative works of the Software, or include any
portion thereof in any other product, software, work, equipment, or
item (except that you may customize and/or modify the Software only
as set forth in the documentation or as authorized in any license
agreement of Plexs third party licensors and applicable to Third
Party Components); or (5) allow the transfer, transmission, export,
or re-export of the Software or any portion thereof or any technical
data associated with any Software.
D. Plex grants you a personal, non-commercial, worldwide, royalty-free,
revocable, non-transferable, non-sublicensable, and non-exclusive
license to reproduce the Plex Media Server Software (PMS Software) in
copies and distribute the copies to others, provided that: you may
not charge a fee for the PMS Software, and you may not individually
charge for installing it; you may copy, distribute and install the
PMS Software only as others actually need the PMS Software, and not
more than five (5) times per calendar day or more than twenty-five
(25) times per calendar month; you may not offer the PMS Software to
the public for downloading on or in connection with any commercial
online site, whether or not a fee is charged for the PMS Software;
you shall comply with all other terms and conditions set forth in
this document; you agree that Plex may revoke or terminate the
license granted to you under this paragraph at any time for any
reason in its sole discretion. As an example, this section is
intended to permit reasonable copying and distribution of the PMS
Software in connection with services such as home theater or home
media center installation in which you install the PMS Software on
the computers of your customers as a convenience in connection with
other services or products that you are providing to them, and/or in
Arch Linux repositories and similar distributions.
E. You shall maintain and shall not remove nor obscure any
proprietary notices on the Software, and shall reproduce such
notices exactly on all permitted copies of the Software.
F. You may reverse engineer the Software solely (1) as permitted by
applicable law, or (2) for the purpose of debugging modifications
made by you to certain third party files in source code format that
are licensed under the GNU Lesser General Public License (LGPL) or
under the GNU General Public License version 2 (GPL2) and only
provided that you have made, prior to any such reverse engineering
permitted under this sentence, unsuccessful prior reasonable good
faith efforts to debug such modifications using techniques other than
the reverse engineering of the Software.
G. As between the parties and except as otherwise provided in any
license agreement for Third Party Components, Plex shall own all
title, ownership rights, and intellectual property rights in and to
the Software, and any copies or derivative works thereof, except that
by downloading the Software, you retain any title that you may own in
and to the recording media on which the Software is recorded.
H. You understand that Plex or its licensors may modify or discontinue
offering the Services at any time.
I. You shall not make, or assist others in making, any use of data
adapters or similar technologies used by or with the Services that
are designed to receive and use data from Plex, its third party data
providers, and their affiliates and third parties, other than to
receive and use such data in accordance with these Terms and your
agreement with the third party data providers, and their affiliates
and third parties, including without limitation any data passing
through the Services or otherwise effectively made available by any
Service through an API, a download, a database, or the like.
J. This Agreement does not entitle you to any support, upgrades,
patches, enhancements, or fixes (collectively, “Support”) for the
Services. Any such Support for the Services that may be made
available by Plex, in its sole discretion, shall become part of the
Services and will be subject to these Terms.
Data
Data provided by Plex or other third party data providers may be
delayed or unavailable as specified by Plex or such third party data
providers. Plex does not verify any data provided by Plex or other
third party data providers and disclaims any obligation to do so. Plex,
its third party data providers, and each of their affiliates and
business partners: (1) expressly disclaim the availability, accuracy,
adequacy, or completeness of any data or third party data provider, and
(2) shall not be liable for any errors, omissions, or other defects in,
unavailability of, delays or interruptions in such data or third party
data provider.
Acceptable Use
A. You may not, or allow anyone else to, use any of the Services to do
the following:
i. Infringe the intellectual property rights, proprietary rights,
or rights of publicity or privacy of any third party;
ii. Violate any law, statute, ordinance, or regulation, or perform
any other action that would incur civil liability or constitute
a crime;
iii. Disseminate, transfer or store information or materials in any
form or format that is harmful, threatening, abusive,
harassing, tortuous, defamatory, vulgar, obscene, libelous, or
otherwise objectionable, or that otherwise violate any law or
right of any third party; or
iv. Disseminate any software viruses or any other computer code,
files, programs, or the like that may without limitation
interrupt, destroy, or limit the functionality of any computer
software or hardware or telecommunications equipment, violate
the security of any computer network, or the like.
B. If the occurrence of any prohibited use comes to our attention, we
reserve the right to disable any accounts associated with prohibited
use or otherwise terminate your access to the Services.
Your Content
A. You continue to retain any ownership rights you have in content you
make available via the Services, or otherwise use in conjunction with
the Services. However, by using the Services with particular content,
for example by using the Services to share particular content or
access particular content, you grant to Plex (and to each of the
third parties with whom we work to provide you with the Services) a
worldwide license to reproduce, modify, create derivative works,
transmit, publish, publicly perform, publicly display, distribute,
and otherwise use the particular content and metadata associated with
the content, such as images of you or images otherwise associated
with your account. The rights you grant us in this license are only
for the limited purpose of providing you with our Services. You may
not use the Services in connection with any content for which you do
not have the right to grant us this license.
B. The Services may include features that allow you to share your
content with others. Please be careful when choosing to share content
with other users; Plex is not responsible for how others use your
content. Additionally, you hereby grant to any user with whom you
share content a non-exclusive license to access the content through
the Service, and to use, reproduce in copies, distribute, display and
perform the shared content as permitted through the functionality of
the Service and under this Agreement. You may not share any content
with others via the Services if you do not have the right to grant
this license to any user with whom you share the content.
C. You understand that Plex may delete any content that you post in or
contribute to a message forum or similar service that Plex hosts, in
its sole discretion, for any reason.
Content of Others
A. You acknowledge that all content that you access through use of the
Software or other Services is accessed at your own risk, and you will
be solely responsible for any damage or liability to any party
resulting from such access.
B. You understand that by using the Services you may encounter content
that you may find offensive, indecent, or objectionable. Plex does
not inspect, screen, or otherwise control the content that is posted,
shared or made available via the Services, and Plex does not
guarantee the accuracy, integrity or quality of such content.
C. You acknowledge that unauthorized use of copyrighted content of
others may subject you to civil and criminal penalties, including
possible monetary damages, for copyright infringement.
Developers and Interfacing Software
A. “Interfacing Software” means any software that you obtain or provide
and that accesses or calls any Software provided by Plex as part of
the Services including, but not limited to, plug-ins for the
Services, channel plug-ins, metadata agents, and client applications
that communicate directly or indirectly with the Services.
B. By making, or assisting others in making, Interfacing Software, you
agree to the following terms:
i. You grant Plex and its affiliates worldwide a worldwide,
non-exclusive, and royalty-free right and license to use
(including testing, hosting and linking to), copy, publicly
perform, publicly display, reproduce in copies for
distribution, and distribute the copies of any Interfacing
Software made by you or with your assistance.
ii. You will include in the source code of the Interfacing
Software a copyright notice of the form: Copyright © <year>
<copyright holders>. You grant, and authorize Plex to grant on
your behalf if necessary, a license, free of charge, to any
person obtaining a copy of the Interfacing Software and
associated documentation files from Plex, to deal in the
Interfacing Software without restriction, including without
limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Interfacing
Software, and to permit persons to whom the Interfacing
Software is furnished to do so, subject to the following
conditions: The above copyright notice and this permission
notice shall be included in all copies or substantial portions
of the Interfacing Software. THE INTERFACING SOFTWARE IS
PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE INTERFACING SOFTWARE.
iii. You may notify us if you do not wish for Plex to use,
distribute, copy, publicly perform, publicly display, reproduce
in copies for distribution, or distribute copies of any
Interfacing Software that was created by you. Plex will comply
with such a request but Plex must be granted a transition
period of thirty (30) days after receipt of the request to
comply.
A request to take down Interfacing Software must include (1) an
identification of the Interfacing Software you wish to be
removed; (2) your signature in either electronic or physical
form; and (3) the following statements:
i. “I swear under penalty of perjury that I am the owner of
the Interfacing Software or I am authorized to act on
behalf of the owner of the Interfacing Software.”
ii. “I swear under penalty of perjury that the information
in this notification is accurate.”
iv. You shall protect the privacy and legal rights of Plex users.
If the users provide, or the Interfacing Software accesses or
uses, user names, passwords, or other login information or
personal information, you must make the users aware that such
information will be available to the Interfacing Software, and
you must provide privacy notices and protection for those users
in compliance with applicable law. Further, the Interfacing
Software may use that information only for the limited purposes
for which the user has given you permission to do so. If the
Interfacing Software stores personally identifying information
of users or information that a reasonable user would consider
to be sensitive, then the Interfacing Software must do so
securely and only for as long as it is needed. However, if the
user has opted or entered into a separate agreement with you
that allows you or the Interfacing Software to store or use
personally identifying information of users or information that
a reasonable user would consider to be sensitive, then the
terms of that separate agreement will govern your use of such
information. If the user provides the Interfacing Software with
Plex account information, the Interfacing Software may only use
that information to access the users Plex account when, and
for the limited purposes for which, the user has given you
permission to do so.
v. Prohibited Uses. Plex prohibits performing certain actions
using the Interfacing Software. You shall not make, or assist
others in making, any Interfacing Software that:
i. Knowingly violates a third partys terms of service;
ii. Violates any applicable laws or regulations;
iii. Interferes with, disrupts, damages, harms, or accesses
in an unauthorized manner the machines, hardware.
devices, servers, networks, data, or other properties or
services of any other party including, but not limited
to, Plex users, Plex or any network operator;
iv. Posts misleading information about an applications purpose;
v. Infringes on the intellectual property rights of others; or
vi. Performs any other prohibited action listed under
“Acceptable Use” above.
vi. You will require your end users to comply with any applicable
law and these Terms. You will not knowingly enable your end
users to violate applicable law or these Terms.
vii. You shall indemnify and hold harmless Plex and its officers,
directors, employees, contractors, licensors, suppliers,
distributors, contractors, agents, and third party
contributors from any claims, damages, liabilities, costs and
fees (including reasonable attorney fees) arising from any use
of the Interfacing Software or from Plexs distribution of the
Interfacing Software.
viii. Brand Features and Attribution
i. “Brand Features” is defined as the trade names,
trademarks, service marks, logos, domain names, and other
distinctive brand features of a party. Except where
expressly stated, these terms do not grant either party
any right, title, or interest in or to the other partys
Brand Features. Any use by you of Plexs Brand Features
(including any goodwill associated therewith) will inure
to the benefit of Plex. Plex Brand Features include the
Plex Play Logo (“>” in stylized format) and the
trademarks, trade names and designs as may be identified
from time to time in the Plex Trademark Notice that is
posted at https://www.plex.tv/about/privacy-legal/.
ii. You must seek prior written approval from Plex to
display Plexs Brand Features, including for the purpose
of promoting or advertising that your Interfacing
Software is for use in conjunction with Plex Services.
Plex, in its sole discretion and in a separate writing
such as an e-mail from an authorized representative of
Plex, may grant you a revocable, non-transferable,
nonexclusive license, without right of sub-license, to
display Plexs Brand Features for the purpose of
promoting or advertising that your Interfacing Software
is for use in conjunction with Plex Services. You
understand and agree that Plex has the sole discretion to
determine whether your attribution(s) and use of Plexs
Brand Features are in accordance with the above
requirements and guidelines and that Plex may revoke the
license granted herein at any time, or may require you to
modify your use of Plexs Brand Features, for any reason
in its sole discretion.
iii. You will not make any statement that suggests a
partnership with, sponsorship by, or endorsement by Plex,
without Plexs express prior written approval.
iv. In the course of promoting, marketing, or demonstrating
the Services, Plex may produce and distribute incidental
depictions, including screenshots, video, or other
content from your Interfacing Software, and may use your
company or product name. You grant us all necessary
rights for the above purposes.
Children
While Plex does distribute products that may be used by children, the
Services are not intended to be used by children, without involvement,
supervision, and approval of a parent or legal guardian. Therefore, if
an account owner sets parental controls or establishes sub-accounts
that the account owner intends to permit a child to use, the account
owner should not reveal the account password to the child. Plex and its
contributors may not provide controls that restrict the maturity level
of content available via Plex and an adult account owner has sole
responsibility for determining what maturity level is appropriate for
or accessible to any children whom the account owner permits to use the
Plex service or a sub-account.
NO WARRANTY
A. PLEX SERVICES ARE PROVIDED “AS IS”. PLEX MAKES NO WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, AND PLEX EXPRESSLY DISCLAIMS ALL WARRANTIES
WITH RESPECT TO THE PLEX SERVICES, INCLUDING WITHOUT LIMITATION, ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. FURTHER, PLEX DOES NOT WARRANT AGAINST
ERRORS, OMISSIONS, RESULTS OF USE, OR THAT PLEX SERVICES ARE BUG FREE
OR ERROR FREE OR THAT USE WILL BE UNINTERRUPTED. THIS DISCLAIMER OF
WARRANTY CONSTITUTES AN ESSENTIAL PART OF THE AGREEMENT. ALL THE
FOREGOING DISCLAIMERS ALSO APPLY IN FULL WITH RESPECT TO PLEXS
LICENSORS, SUPPLIERS, DISTRIBUTORS, CONTRACTORS, AGENTS, AND THIRD
PARTY CONTRIBUTORS. SOME STATES DO NOT ALLOW THE EXCLUSION OF IMPLIED
WARRANTIES, SO THE ABOVE LIMITATIONS MAY NOT APPLY TO YOU.
B. You agree that Plex and its officers, directors, employees, and
contractors are not responsible for any fault, inaccuracy, error,
omission, delay or any other failure of your equipment and/or
services caused by Plexs hardware, software, cabling, network
services, or the like, or arising from Plexs use of such equipment
and/or services.
C. The above disclaimer of warranty applies to software developed by
Plex and any software developed by a third party and provided by Plex
including, but not limited to, Interfacing Software developed by any
Plex user.
Limitation of Liability and Damages
A. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, INCLUDING, BUT NOT
LIMITED TO, TORT, CONTRACT, NEGLIGENCE, STRICT LIABILITY, OR
OTHERWISE, SHALL PLEX BE LIABLE TO YOU OR ANY OTHER PERSON OR
ENTITY: (I) FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR
LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, ACCURACY OF RESULTS,
COMPUTER FAILURE OR MALFUNCTION, LOSS OF DATA, OR OTHER DAMAGES
RESULTING FROM YOUR USE OF THE SOFTWARE; OR (II) FOR ANY MATTER
BEYOND ITS REASONABLE CONTROL. PLEXS AGGREGATE LIABILITY FOR DAMAGES
OF ANY KIND WHATSOEVER ARISING OUT OF THIS AGREEMENT SHALL BE LIMITED
TO THE LESSER OF THE TOTAL FEES PAID BY YOU TO PLEX (IF ANY) FOR THE
PORTION OF THE SOFTWARE THAT GAVE RISE TO SUCH DAMAGES OR $100
(U.S.), EXCEPT WHERE NOT PERMITTED BY APPLICABLE LAW, IN WHICH CASE
PLEXS LIABILITY SHALL BE LIMITED TO THE MINIMUM AMOUNT PERMITTED BY
SUCH APPLICABLE LAW. ALL THE FOREGOING LIMITATIONS SHALL APPLY EVEN
IF EITHER PARTY HAS BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES.
ALL THE FOREGOING LIMITATIONS ALSO APPLY WITH RESPECT TO PLEXS
SUPPLIERS, LICENSORS, DISTRIBUTORS, CONTRACTORS, AGENTS, AND THIRD
PARTY CONTRIBUTORS. SOME STATES DO NOT ALLOW THE EXCLUSION OR
LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE ABOVE
LIMITATION AND EXCLUSION MAY NOT APPLY TO YOU.
B. The above limitations and exclusions apply to software developed by
Plex and any software developed by a third party and provided by Plex
including, but not limited to, Interfacing Software developed by Plex
user.
Third-Party Materials
This website and other Services may provide links to websites,
software, or other materials provided by third parties. Plex does not
endorse and is not responsible or liable for the availability,
accuracy, safety, or intellectual property rights of or relating to
such content. Plex is not liable for any harm caused by any such
materials.
Malware
“Malware” means any known, discovered, envisioned, or invented, or any
yet to be known, discovered, envisioned, or invented: (i) virus, Trojan
horse, or any other harmful, harassing, or malicious software; or (ii)
method, use, or means by which any software, firmware, equipment,
device, communications medium, person, entity, or the like directly or
indirectly engages in or is used for: (a) any unauthorized access; (b)
any unauthorized communication; or (c) any cracks, hacks, exploits, or
other activity, method, use, or means, that may cause harassment, harm,
data loss, data theft, loss of communication, loss of privacy, or the
like. You acknowledge that the Internet, Internet service providers,
shared or dedicated telecommunication lines, wireless access points and
wireless networks, other forms of communication, online resources
including websites and cloud computing environments, or other means
that you use to connect to the Software may not be secure and may be
vulnerable to attack by third parties, and that it is possible to
receive Malware by using the Internet, dedicated lines, other forms of
communication, or other means. In order to protect the Software, you
shall regularly obtain, use, and update appropriate third party
software or other means to protect yourself from Malware and to detect
and remove Malware that may be downloaded using the Internet, dedicated
lines, other forms of communication, or other means. Plex does not
warrant that the Software will be free of Malware including, but not
limited to, Malware that is introduced by third parties, the Internet,
dedicated lines, other forms of communication, or other means.
Waiver and Indemnity
You agree that Plex and its licensors, distributors, contractors,
agents, and third party contributors shall have no liability whatsoever
for any use you make of the Services. You shall indemnify and hold
harmless Plex and its licensors, suppliers, distributors, contractors,
agents, and third party contributors from any claims, damages,
liabilities, costs and fees (including reasonable attorney fees)
arising from your use of the Plex Services as well as from your failure
to comply with any of the Terms, or any losses, damages, claims, costs,
and/or attorneys fees arising from any use of or reliance upon any
information received in connection with the Services that comprises or
is based upon data provided by Plex or any third party.
Termination of Services
Plex may at any time, with or without cause and with or without prior
notice, immediately terminate or suspend your Plex account or otherwise
terminate or suspend your access to all or a portion of the Services.
Cause for such termination may include: (a) violations of the Terms or
any other policies or guidelines that are referenced herein; (b) a
request by you to cancel or terminate your account; (c) a request
and/or order from law enforcement, a judicial body, or other government
agency; (d) where providing the Services to you is or may become
unlawful; (e) unexpected technical or security issues or problems; or
(f) your participation in fraudulent or illegal activities. Any such
termination or suspension shall be made by Plex in its sole discretion
and Plex will not be responsible to you or any third party for any
damages that may result or arise out of such termination or suspension
of your access to the Services.
Miscellaneous
A. This Agreement does not give you any rights not expressly and
unambiguously granted herein.
B. No agency, partnership, joint venture, or employment is created as a
result of this Agreement and you do not have any authority of any
kind to bind Plex in any respect whatsoever.
C. If any provision of this Agreement is found to be unenforceable or
invalid, that provision shall be limited or eliminated to the minimum
extent necessary so that this Agreement shall otherwise remain in
full force and effect and enforceable.
D. This Agreement is not assignable, transferable, or sublicensable by
you except with Plexs prior written consent. Plex may transfer,
assign, or delegate this Agreement and its rights and obligations
without consent.
E. Plexs failure to enforce any right or provisions in this Agreement
will not constitute a waiver of such or any other provision.
F. This Agreement shall be governed by and construed in accordance
with the laws of the state of California, as if made within
California between two residents thereof, and the parties submit to
the exclusive jurisdiction of the Superior Court of Santa Clara
County and the United States District Court for the Northern District
of California. Notwithstanding the foregoing sentence, but without
limiting Plexs right to seek injunctive or other equitable relief in
any court of competent jurisdiction, any disputes arising with
respect to this Agreement shall be referred to an arbitrator
affiliated with the Judicial Arbitration and Mediation Services, Inc.
(“JAMS”). The arbitrator shall be selected by joint agreement of the
parties. In the event the parties cannot agree on an arbitrator
within thirty (30) days of the initiating party providing the other
party with written notice that it plans to seek arbitration, the
parties shall each select an arbitrator affiliated with JAMS, which
arbitrators shall jointly select a third such arbitrator to resolve
the dispute. The written decision of the arbitrator shall be final
and binding on the parties. The arbitration proceeding shall be
carried on and heard in Santa Clara County, California using the
English language and pursuant to the rules of (and administered by)
JAMS. In any action or proceeding to enforce rights under this
Agreement, the prevailing party will be entitled to recover costs and
reasonable attorneys fees from the other party. A separate written
license agreement or order and signed by Plex and you or your
company, employer, or principal may state other terms and conditions
that apply to you, including terms relating to price, payment,
delivery, confidential information, support services, and the like.
You are solely responsible to review such terms or conditions with
your company, employer or principal. In the event of any conflict in
terms, the terms of the separate license agreement shall supersede
the terms of this Agreement.
G. Both parties agree that this Agreement is the complete and exclusive
statement of the mutual understanding of the parties and supersedes
and cancels all previous written and oral agreements, communications,
and other understandings relating to the subject matter of this
Agreement.
Source: https://www.plex.tv/about/privacy-legal/plex-terms-of-service/

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

Loading…
Cancel
Save