parent
edc2823827
commit
3f6b66f762
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST ansible-2.9.5.tar.gz 14186885 BLAKE2B c64fb384ab55c5b9cca753319fba911b8a40d634b59998f2e4c65ccafaa536788f3ac8c18a45a4b0d322ecca9b7fa2c580311a35a202ad70c2de2157ab04bfaf SHA512 cd2ce807b3136e2c02856339ea910b0a5cae8ca946da804ed7d3ec5725d3eff0fe5b4bd8527b2a17d6f3109e16859d52045b50f2ffd21169b30768e65b813407
|
||||
DIST ansible-2.9.6.tar.gz 14201258 BLAKE2B 29da78035291a252f215a49945e82d9f3598a91c9c8993c69623668e9f8a667882330d51c75e1ae27ee5242f4a6320ee947af338c4c38e23f4f9d04cf19364ca SHA512 7111fd72b4e029b2f661bfb849b4323b69ea796f8a069ad3120e8de390effa670180c69ca0fd5e0a1c2e444db6d574a52d530a2b0343c76cd81ba963b3c3a7cb
|
||||
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://ansible.com/"
|
||||
SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86 ~x64-macos"
|
||||
IUSE="doc test"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx-notfound-page[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.4.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
cd docs/docsite || die
|
||||
export CPUS=4
|
||||
emake -f Makefile.sphinx html
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/docsite/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
dodoc -r examples
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST engrampa-1.22.1.tar.xz 1363488 BLAKE2B 0f71e94af50443f9f562b0eed461ca1160fab0a5a3cd02c845fac09ee2466cb8634a458a6a4488ff5ac6674b0f525eccf754b8b1cc7e3f1729d4eb6ac224e025 SHA512 111eeb470555ae8edb7754159bb2e70b03cbbc7b1c9d61c253d9d67e50d84ff0e0654e16547883c39aeeb223e8ba58201d45b50819784fc6cf7a21f0cf176c70
|
||||
DIST engrampa-1.22.2.tar.xz 1379564 BLAKE2B 4193fe3cc06f48e333a37af02ecef9c8e501dabe9a0a43ed07ead543279cc9edb77ea31c4b35490edb8ecaf12fea7f14059ba4ccfc591c1a3727076d9bd5c8bc SHA512 7d57d863a7e6236fdff8c9925647438056474cc7fed32a4ba6a2ba6121a856aa070b47292edb0db447369082cddff9b40978c7c92aecc3d8c2ebc17a4cf3ea99
|
||||
DIST engrampa-1.22.3.tar.xz 1407412 BLAKE2B d6963da4c18137600c26cff01b2a42d2aaf9a8a435779593b7712e6f7ff920fd25b5fa462edd3d321d63f131b3e4a4486a6f795f2392f6679ae3ef9b343fe8e1 SHA512 fd110b2bc188207645985a6f788b8e618cb4910a275950dfb17c0bcc42eff8765a4c7a36760dec2636485685a7a2f4adefb8e2c83537d1b3a819582e3878c9db
|
||||
DIST engrampa-1.24.0.tar.xz 1678920 BLAKE2B c40ba6a77d667f25853f6ae8cef51a54b32402e9446d6712bcfe8b6cfbddcc39e076604fad6ead1717bcedc52716be028ac9bf912c5762fa204e3ee5d6be10bb SHA512 b6996e224ef52d8fd7102e4498193faa62056e8c22aa260ab5c6361533744f78755d500536ec0e03fd8b42b71da56d3f58d9d760809d20b572bee02fdee07cce
|
||||
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MATE_LA_PUNT="yes"
|
||||
|
||||
inherit eutils mate
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Engrampa archive manager for MATE"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="caja magic packagekit"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.50:2
|
||||
>=dev-libs/json-glib-0.14
|
||||
virtual/libintl
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22:3[X]
|
||||
x11-libs/pango
|
||||
caja? ( >=mate-base/caja-1.17.1 )
|
||||
magic? ( sys-apps/file )
|
||||
packagekit? ( app-admin/packagekit-base )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/yelp-tools
|
||||
dev-util/glib-utils
|
||||
>=dev-util/intltool-0.50.1
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
|
||||
src_configure() {
|
||||
mate_src_configure \
|
||||
--disable-run-in-place \
|
||||
$(use_enable caja caja-actions) \
|
||||
$(use_enable magic) \
|
||||
$(use_enable packagekit)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
mate_pkg_postinst
|
||||
optfeature "Support for 7-zip" app-arch/p7zip
|
||||
optfeature "Support for ace" app-arch/unace
|
||||
optfeature "Support for arj" app-arch/arj
|
||||
optfeature "Support for cpio" app-arch/cpio
|
||||
optfeature "Support for deb" app-arch/dpkg
|
||||
optfeature "Support for iso" app-cdr/cdrtools
|
||||
optfeature "Support for jar,zip" app-arch/zip app-arch/unzip
|
||||
optfeature "Support for lha" app-arch/lha
|
||||
optfeature "Support for lzma" app-arch/xz-utils
|
||||
optfeature "Support for lzop" app-arch/lzop
|
||||
optfeature "Support for rar" app-arch/unrar
|
||||
optfeature "Support for rpm" app-arch/rpm
|
||||
optfeature "Support for unstuff" app-arch/stuffit
|
||||
optfeature "Support for zoo" app-arch/zoo
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MATE_LA_PUNT="yes"
|
||||
|
||||
inherit eutils mate
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Engrampa archive manager for MATE"
|
||||
LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="caja magic packagekit"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.50:2
|
||||
>=dev-libs/json-glib-0.14
|
||||
virtual/libintl
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22:3[X]
|
||||
x11-libs/pango
|
||||
caja? ( >=mate-base/caja-1.17.1 )
|
||||
magic? ( sys-apps/file )
|
||||
packagekit? ( app-admin/packagekit-base )
|
||||
!!app-arch/mate-file-archiver"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/yelp-tools
|
||||
dev-util/glib-utils
|
||||
>=dev-util/intltool-0.50.1
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
mate_src_configure \
|
||||
--disable-run-in-place \
|
||||
$(use_enable caja caja-actions) \
|
||||
$(use_enable magic) \
|
||||
$(use_enable packagekit)
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gcc-10-fno-common.patch"
|
||||
)
|
||||
|
||||
src_install() {
|
||||
mate_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
mate_pkg_postinst
|
||||
optfeature "Support for 7-zip" app-arch/p7zip
|
||||
optfeature "Support for ace" app-arch/unace
|
||||
optfeature "Support for arj" app-arch/arj
|
||||
optfeature "Support for cpio" app-arch/cpio
|
||||
optfeature "Support for deb" app-arch/dpkg
|
||||
optfeature "Support for iso" app-cdr/cdrtools
|
||||
optfeature "Support for jar,zip" app-arch/zip app-arch/unzip
|
||||
optfeature "Support for lha" app-arch/lha
|
||||
optfeature "Support for lzma" app-arch/xz-utils
|
||||
optfeature "Support for lzop" app-arch/lzop
|
||||
optfeature "Support for rar" app-arch/unrar
|
||||
optfeature "Support for rpm" app-arch/rpm
|
||||
optfeature "Support for unstuff" app-arch/stuffit
|
||||
optfeature "Support for zoo" app-arch/zoo
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MATE_LA_PUNT="yes"
|
||||
|
||||
inherit mate readme.gentoo-r1
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Engrampa archive manager for MATE"
|
||||
LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="caja magic packagekit"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.50:2
|
||||
>=dev-libs/json-glib-0.14
|
||||
virtual/libintl
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22:3[X]
|
||||
x11-libs/pango
|
||||
caja? ( >=mate-base/caja-1.17.1 )
|
||||
magic? ( sys-apps/file )
|
||||
packagekit? ( app-admin/packagekit-base )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/libintl
|
||||
!!app-arch/mate-file-archiver
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/yelp-tools
|
||||
dev-util/glib-utils
|
||||
>=sys-devel/gettext-0.19.8:*
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
mate_src_configure \
|
||||
--disable-run-in-place \
|
||||
$(use_enable caja caja-actions) \
|
||||
$(use_enable magic) \
|
||||
$(use_enable packagekit)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mate_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
mate_pkg_postinst
|
||||
optfeature "Support for 7-zip" app-arch/p7zip
|
||||
optfeature "Support for ace" app-arch/unace
|
||||
optfeature "Support for arj" app-arch/arj
|
||||
optfeature "Support for cpio" app-arch/cpio
|
||||
optfeature "Support for deb" app-arch/dpkg
|
||||
optfeature "Support for iso" app-cdr/cdrtools
|
||||
optfeature "Support for jar,zip" app-arch/zip app-arch/unzip
|
||||
optfeature "Support for lha" app-arch/lha
|
||||
optfeature "Support for lzma" app-arch/xz-utils
|
||||
optfeature "Support for lzop" app-arch/lzop
|
||||
optfeature "Support for rar" app-arch/unrar
|
||||
optfeature "Support for rpm" app-arch/rpm
|
||||
optfeature "Support for unstuff" app-arch/stuffit
|
||||
optfeature "Support for zoo" app-arch/zoo
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
From 623bd665371e3afd9dc6fa29f9e1cfe735681358 Mon Sep 17 00:00:00 2001
|
||||
From: rbuj <robert.buj@gmail.com>
|
||||
Date: Wed, 29 Jan 2020 15:52:44 +0100
|
||||
Subject: [PATCH] Fix build using gcc 10 -fno-common flag
|
||||
|
||||
---
|
||||
src/main.c | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/src/main.c b/src/main.c
|
||||
index 56e75ea0..a9e297dc 100644
|
||||
--- a/src/main.c
|
||||
+++ b/src/main.c
|
||||
@@ -33,8 +33,6 @@
|
||||
|
||||
#include "fr-init.h"
|
||||
|
||||
-gint ForceDirectoryCreation;
|
||||
-
|
||||
static char **remaining_args;
|
||||
static char *add_to = NULL;
|
||||
static int add;
|
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST pluma-1.22.0.tar.xz 3235612 BLAKE2B a0cda23a6ee73e562cb32c3f1430590042248b6a6e7cbf021103db507450b2a594506f3d8283eeed08e2ba5006ff51376eb6db5e94ea5ac9d5707b29e0efc2c4 SHA512 7c74c2ce0a89ec3813c936449d3114957e7b319433875ef567ecc508a28a1d3ddc3d0da418b2eb1278b6dc9dbaa3c75a279524f5a061b5aecb52955edcf28f51
|
||||
DIST pluma-1.22.1.tar.xz 3236724 BLAKE2B f571ccb79ffac11122dad1888a9804fdb1671f2c73b28c216e0ec593ffc4dac3fec3053b83fd1503e0c951e032f6e4c22fb4f3d6a1d23477a54e06de2659222e SHA512 0d3f07b2e8c736c9e1ad64ed5cb749db6088868e9bc27aa786cbb0c3fe72715f0fd4dd53999502a4333ec82110148b772c0dde81433d0936d2d3c2d04804026a
|
||||
DIST pluma-1.22.2.tar.xz 3262288 BLAKE2B 0a7af4318ec11aa6a01dd14ed071975b6a961747c1abda9120912244f3fd530c5c06e2fc9dad6ad23175c119e35c1380e88be4b9bc1e331485b646dee87af8e1 SHA512 a68b79713f649def15ea29e58e041d70bb6d756a356743f6e06d8dd680f7b39e8bcdd90c68cbe5c517bead7f9263d7596954bc595c3a2501edf0d0ea421c9992
|
||||
DIST pluma-1.24.0.tar.xz 3717544 BLAKE2B fd9375fd05566c11c24d5bdf55ab0d4619143127a5e48c4e91d18421f50340775d58c3e2264382aa3bbd8aad0569c559e87381a9ece07ce1592d1bc1a5315db1 SHA512 390bf2949549baa0e3dc706526217fbc1513e2f9778917710da806e58cdfb0b7a36e95ed2186442490996cf76783acd4e0f4b8f1fedacee9ba356c0d466510be
|
||||
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MATE_LA_PUNT="yes"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit mate python-single-r1 virtualx
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Pluma text editor for the MATE desktop"
|
||||
LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+introspection spell"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Tests require gvfs sftp fs mounted and schema's installed. Disable tests.
|
||||
# https://github.com/mate-desktop/mate-text-editor/issues/33
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="dev-libs/atk
|
||||
>=dev-libs/glib-2.50:2
|
||||
>=dev-libs/libpeas-1.2.0[gtk]
|
||||
>=dev-libs/libxml2-2.5:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22:3[introspection?]
|
||||
>=x11-libs/gtksourceview-3.0.0:3.0
|
||||
x11-libs/libICE
|
||||
x11-libs/libX11
|
||||
>=x11-libs/libSM-1.0
|
||||
x11-libs/pango
|
||||
virtual/libintl
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
|
||||
spell? (
|
||||
>=app-text/enchant-1.6:=
|
||||
>=app-text/iso-codes-0.35
|
||||
)
|
||||
!!app-editors/mate-text-editor"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
${COMMON_DEPEND}
|
||||
>=mate-base/mate-desktop-1.9[introspection?]"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
~app-text/docbook-xml-dtd-4.1.2
|
||||
app-text/rarian
|
||||
>=app-text/scrollkeeper-dtd-1:1.0
|
||||
app-text/yelp-tools
|
||||
dev-util/glib-utils
|
||||
dev-util/gtk-doc
|
||||
dev-util/gtk-doc-am
|
||||
>=dev-util/intltool-0.50.1
|
||||
>=sys-devel/libtool-2.2.6:2
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
mate_src_configure \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable spell)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# FIXME: This should be handled at eclass level.
|
||||
"${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
|
||||
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
|
||||
GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
|
||||
}
|
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MATE_LA_PUNT="yes"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_6,3_7} )
|
||||
|
||||
inherit mate python-single-r1 virtualx
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Pluma text editor for the MATE desktop"
|
||||
LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+introspection spell test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Tests require gvfs sftp fs mounted and schema's installed. Disable tests.
|
||||
# https://github.com/mate-desktop/mate-text-editor/issues/33
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="dev-libs/atk
|
||||
>=dev-libs/glib-2.50:2
|
||||
>=dev-libs/libpeas-1.2.0[gtk]
|
||||
>=dev-libs/libxml2-2.5:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22:3[introspection?]
|
||||
>=x11-libs/gtksourceview-3.0.0:3.0
|
||||
x11-libs/libICE
|
||||
x11-libs/libX11
|
||||
>=x11-libs/libSM-1.0
|
||||
x11-libs/pango
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
|
||||
spell? (
|
||||
>=app-text/enchant-1.6:=
|
||||
>=app-text/iso-codes-0.35
|
||||
)
|
||||
!!app-editors/mate-text-editor
|
||||
"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
${COMMON_DEPEND}
|
||||
>=mate-base/mate-desktop-1.9[introspection?]
|
||||
virtual/libintl
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
~app-text/docbook-xml-dtd-4.1.2
|
||||
app-text/rarian
|
||||
>=app-text/scrollkeeper-dtd-1:1.0
|
||||
app-text/yelp-tools
|
||||
dev-util/glib-utils
|
||||
dev-util/gtk-doc
|
||||
dev-util/gtk-doc-am
|
||||
>=sys-devel/libtool-2.2.6:2
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
mate_src_configure \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable spell) \
|
||||
$(use_enable test tests)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# FIXME: This should be handled at eclass level.
|
||||
"${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
|
||||
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
|
||||
GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
|
||||
}
|
Binary file not shown.
@ -1,10 +0,0 @@
|
||||
# Uncomment the following three lines to start libvirtd with the '--listen'
|
||||
# directive such that it listens for TCP/IP connections (honoring the
|
||||
# listen_tls and listen_tcp settings in /etc/libvirt/libvirtd.conf). If
|
||||
# libvirtd is started without the '--listen' parameter, network connection
|
||||
# (for the daemon) is globally disabled:
|
||||
|
||||
# [Service]
|
||||
# ExecStart=
|
||||
# ExecStart=/usr/sbin/libvirtd --listen
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,459 @@
|
||||
From 67f8771aaff2f55d61b8246f420e762f4b526944 Mon Sep 17 00:00:00 2001
|
||||
From: Jean Ghali <jghali@libertysurf.fr>
|
||||
Date: Mon, 2 Mar 2020 14:45:59 +0000
|
||||
Subject: [PATCH] PDF import plugin: support poppler 0.86.x
|
||||
|
||||
git-svn-id: svn://scribus.net/trunk/Scribus@23478 11d20701-8431-0410-a711-e3c959e3b870
|
||||
---
|
||||
scribus/plugins/import/pdf/importpdf.cpp | 51 +++++++-
|
||||
scribus/plugins/import/pdf/importpdf.h | 19 +--
|
||||
scribus/plugins/import/pdf/slaoutput.cpp | 154 +++++++++++++++++++++--
|
||||
scribus/plugins/import/pdf/slaoutput.h | 13 +-
|
||||
4 files changed, 215 insertions(+), 22 deletions(-)
|
||||
|
||||
diff --git a/scribus/plugins/import/pdf/importpdf.cpp b/scribus/plugins/import/pdf/importpdf.cpp
|
||||
index 427cd66ef2..4679674a4d 100644
|
||||
--- a/scribus/plugins/import/pdf/importpdf.cpp
|
||||
+++ b/scribus/plugins/import/pdf/importpdf.cpp
|
||||
@@ -791,11 +791,20 @@ bool PdfPlug::convert(const QString& fn)
|
||||
names = catDict.dictLookup("OpenAction");
|
||||
if (names.isDict())
|
||||
{
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ std::unique_ptr<LinkAction> linkAction;
|
||||
+ linkAction = LinkAction::parseAction(&names, pdfDoc->getCatalog()->getBaseURI());
|
||||
+#else
|
||||
LinkAction *linkAction = nullptr;
|
||||
linkAction = LinkAction::parseAction(&names, pdfDoc->getCatalog()->getBaseURI());
|
||||
+#endif
|
||||
if (linkAction)
|
||||
{
|
||||
- LinkJavaScript *jsa = (LinkJavaScript*)linkAction;
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) linkAction.get();
|
||||
+#else
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) linkAction;
|
||||
+#endif
|
||||
if (jsa->isOk())
|
||||
{
|
||||
QString script = UnicodeParsedString(jsa->getScript());
|
||||
@@ -1003,3 +1012,43 @@ QString PdfPlug::UnicodeParsedString(POPPLER_CONST GooString *s1)
|
||||
}
|
||||
return result;
|
||||
}
|
||||
+
|
||||
+QString PdfPlug::UnicodeParsedString(const std::string& s1)
|
||||
+{
|
||||
+ if (s1.length() == 0)
|
||||
+ return QString();
|
||||
+ GBool isUnicode;
|
||||
+ int i;
|
||||
+ Unicode u;
|
||||
+ QString result;
|
||||
+ if ((s1.at(0) & 0xff) == 0xfe && (s1.length() > 1 && (s1.at(1) & 0xff) == 0xff))
|
||||
+ {
|
||||
+ isUnicode = gTrue;
|
||||
+ i = 2;
|
||||
+ result.reserve((s1.length() - 2) / 2);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ isUnicode = gFalse;
|
||||
+ i = 0;
|
||||
+ result.reserve(s1.length());
|
||||
+ }
|
||||
+ while (i < s1.length())
|
||||
+ {
|
||||
+ if (isUnicode)
|
||||
+ {
|
||||
+ u = ((s1.at(i) & 0xff) << 8) | (s1.at(i+1) & 0xff);
|
||||
+ i += 2;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ u = s1.at(i) & 0xff;
|
||||
+ ++i;
|
||||
+ }
|
||||
+ // #15616: imagemagick may write unicode strings incorrectly in PDF
|
||||
+ if (u == 0)
|
||||
+ continue;
|
||||
+ result += QChar( u );
|
||||
+ }
|
||||
+ return result;
|
||||
+}
|
||||
diff --git a/scribus/plugins/import/pdf/importpdf.h b/scribus/plugins/import/pdf/importpdf.h
|
||||
index bb58fd208f..bc55819618 100644
|
||||
--- a/scribus/plugins/import/pdf/importpdf.h
|
||||
+++ b/scribus/plugins/import/pdf/importpdf.h
|
||||
@@ -82,6 +84,7 @@ class PdfPlug : public QObject
|
||||
bool convert(const QString& fn);
|
||||
QRectF getCBox(int box, int pgNum);
|
||||
QString UnicodeParsedString(POPPLER_CONST GooString *s1);
|
||||
+ QString UnicodeParsedString(const std::string& s1);
|
||||
|
||||
QList<PageItem*> Elements;
|
||||
double baseX, baseY;
|
||||
diff --git a/scribus/plugins/import/pdf/slaoutput.cpp b/scribus/plugins/import/pdf/slaoutput.cpp
|
||||
index 93ceb1e305..6e73049ef7 100644
|
||||
--- a/scribus/plugins/import/pdf/slaoutput.cpp
|
||||
+++ b/scribus/plugins/import/pdf/slaoutput.cpp
|
||||
@@ -273,9 +273,15 @@ LinkAction* SlaOutputDev::SC_getAction(AnnotWidget *ano)
|
||||
}
|
||||
|
||||
/* Replacement for the crippled Poppler function LinkAction* AnnotWidget::getAdditionalAction(AdditionalActionsType type) */
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+std::unique_ptr<LinkAction> SlaOutputDev::SC_getAdditionalAction(const char *key, AnnotWidget *ano)
|
||||
+{
|
||||
+ std::unique_ptr<LinkAction> linkAction;
|
||||
+#else
|
||||
LinkAction* SlaOutputDev::SC_getAdditionalAction(const char *key, AnnotWidget *ano)
|
||||
{
|
||||
LinkAction *linkAction = nullptr;
|
||||
+#endif
|
||||
Object obj;
|
||||
Ref refa = ano->getRef();
|
||||
|
||||
@@ -420,7 +426,11 @@ bool SlaOutputDev::handleLinkAnnot(Annot* annota, double xCoor, double yCoor, do
|
||||
POPPLER_CONST GooString *ndst = gto->getNamedDest();
|
||||
if (ndst)
|
||||
{
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ std::unique_ptr<LinkDest> dstn = pdfDoc->findDest(ndst);
|
||||
+#else
|
||||
LinkDest *dstn = pdfDoc->findDest(ndst);
|
||||
+#endif
|
||||
if (dstn)
|
||||
{
|
||||
if (dstn->getKind() == destXYZ)
|
||||
@@ -464,7 +474,11 @@ bool SlaOutputDev::handleLinkAnnot(Annot* annota, double xCoor, double yCoor, do
|
||||
POPPLER_CONST GooString *ndst = gto->getNamedDest();
|
||||
if (ndst)
|
||||
{
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ std::unique_ptr<LinkDest> dstn = pdfDoc->findDest(ndst);
|
||||
+#else
|
||||
LinkDest *dstn = pdfDoc->findDest(ndst);
|
||||
+#endif
|
||||
if (dstn)
|
||||
{
|
||||
if (dstn->getKind() == destXYZ)
|
||||
@@ -932,7 +946,11 @@ void SlaOutputDev::handleActions(PageItem* ite, AnnotWidget *ano)
|
||||
POPPLER_CONST GooString *ndst = gto->getNamedDest();
|
||||
if (ndst)
|
||||
{
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ std::unique_ptr<LinkDest> dstn = pdfDoc->findDest(ndst);
|
||||
+#else
|
||||
LinkDest *dstn = pdfDoc->findDest(ndst);
|
||||
+#endif
|
||||
if (dstn)
|
||||
{
|
||||
if (dstn->getKind() == destXYZ)
|
||||
@@ -984,7 +1002,11 @@ void SlaOutputDev::handleActions(PageItem* ite, AnnotWidget *ano)
|
||||
POPPLER_CONST GooString *ndst = gto->getNamedDest();
|
||||
if (ndst)
|
||||
{
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ std::unique_ptr<LinkDest> dstn = pdfDoc->findDest(ndst);
|
||||
+#else
|
||||
LinkDest *dstn = pdfDoc->findDest(ndst);
|
||||
+#endif
|
||||
if (dstn)
|
||||
{
|
||||
if (dstn->getKind() == destXYZ)
|
||||
@@ -1053,96 +1075,148 @@ void SlaOutputDev::handleActions(PageItem* ite, AnnotWidget *ano)
|
||||
else
|
||||
qDebug() << "Found unsupported Action of type" << Lact->getKind();
|
||||
}
|
||||
- LinkAction *Aact = SC_getAdditionalAction("D", ano);
|
||||
+ auto Aact = SC_getAdditionalAction("D", ano);
|
||||
if (Aact)
|
||||
{
|
||||
if (Aact->getKind() == actionJavaScript)
|
||||
{
|
||||
- LinkJavaScript *jsa = (LinkJavaScript*)Aact;
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
|
||||
+#else
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
|
||||
+#endif
|
||||
if (jsa->isOk())
|
||||
{
|
||||
ite->annotation().setD_act(UnicodeParsedString(jsa->getScript()));
|
||||
ite->annotation().setAAact(true);
|
||||
}
|
||||
}
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ Aact.reset();
|
||||
+#else
|
||||
Aact = nullptr;
|
||||
+#endif
|
||||
}
|
||||
Aact = SC_getAdditionalAction("E", ano);
|
||||
if (Aact)
|
||||
{
|
||||
if (Aact->getKind() == actionJavaScript)
|
||||
{
|
||||
- LinkJavaScript *jsa = (LinkJavaScript*)Aact;
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
|
||||
+#else
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
|
||||
+#endif
|
||||
if (jsa->isOk())
|
||||
{
|
||||
ite->annotation().setE_act(UnicodeParsedString(jsa->getScript()));
|
||||
ite->annotation().setAAact(true);
|
||||
}
|
||||
}
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ Aact.reset();
|
||||
+#else
|
||||
Aact = nullptr;
|
||||
+#endif
|
||||
}
|
||||
Aact = SC_getAdditionalAction("X", ano);
|
||||
if (Aact)
|
||||
{
|
||||
if (Aact->getKind() == actionJavaScript)
|
||||
{
|
||||
- LinkJavaScript *jsa = (LinkJavaScript*)Aact;
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
|
||||
+#else
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
|
||||
+#endif
|
||||
if (jsa->isOk())
|
||||
{
|
||||
ite->annotation().setX_act(UnicodeParsedString(jsa->getScript()));
|
||||
ite->annotation().setAAact(true);
|
||||
}
|
||||
}
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ Aact.reset();
|
||||
+#else
|
||||
Aact = nullptr;
|
||||
+#endif
|
||||
}
|
||||
Aact = SC_getAdditionalAction("Fo", ano);
|
||||
if (Aact)
|
||||
{
|
||||
if (Aact->getKind() == actionJavaScript)
|
||||
{
|
||||
- LinkJavaScript *jsa = (LinkJavaScript*)Aact;
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
|
||||
+#else
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
|
||||
+#endif
|
||||
if (jsa->isOk())
|
||||
{
|
||||
ite->annotation().setFo_act(UnicodeParsedString(jsa->getScript()));
|
||||
ite->annotation().setAAact(true);
|
||||
}
|
||||
}
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ Aact.reset();
|
||||
+#else
|
||||
Aact = nullptr;
|
||||
+#endif
|
||||
}
|
||||
Aact = SC_getAdditionalAction("Bl", ano);
|
||||
if (Aact)
|
||||
{
|
||||
if (Aact->getKind() == actionJavaScript)
|
||||
{
|
||||
- LinkJavaScript *jsa = (LinkJavaScript*)Aact;
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
|
||||
+#else
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
|
||||
+#endif
|
||||
if (jsa->isOk())
|
||||
{
|
||||
ite->annotation().setBl_act(UnicodeParsedString(jsa->getScript()));
|
||||
ite->annotation().setAAact(true);
|
||||
}
|
||||
}
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ Aact.reset();
|
||||
+#else
|
||||
Aact = nullptr;
|
||||
+#endif
|
||||
}
|
||||
Aact = SC_getAdditionalAction("C", ano);
|
||||
if (Aact)
|
||||
{
|
||||
if (Aact->getKind() == actionJavaScript)
|
||||
{
|
||||
- LinkJavaScript *jsa = (LinkJavaScript*)Aact;
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
|
||||
+#else
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
|
||||
+#endif
|
||||
if (jsa->isOk())
|
||||
{
|
||||
ite->annotation().setC_act(UnicodeParsedString(jsa->getScript()));
|
||||
ite->annotation().setAAact(true);
|
||||
}
|
||||
}
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ Aact.reset();
|
||||
+#else
|
||||
Aact = nullptr;
|
||||
+#endif
|
||||
}
|
||||
Aact = SC_getAdditionalAction("F", ano);
|
||||
if (Aact)
|
||||
{
|
||||
if (Aact->getKind() == actionJavaScript)
|
||||
{
|
||||
- LinkJavaScript *jsa = (LinkJavaScript*)Aact;
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
|
||||
+#else
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
|
||||
+#endif
|
||||
if (jsa->isOk())
|
||||
{
|
||||
ite->annotation().setF_act(UnicodeParsedString(jsa->getScript()));
|
||||
@@ -1150,14 +1224,22 @@ void SlaOutputDev::handleActions(PageItem* ite, AnnotWidget *ano)
|
||||
ite->annotation().setFormat(5);
|
||||
}
|
||||
}
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ Aact.reset();
|
||||
+#else
|
||||
Aact = nullptr;
|
||||
+#endif
|
||||
}
|
||||
Aact = SC_getAdditionalAction("K", ano);
|
||||
if (Aact)
|
||||
{
|
||||
if (Aact->getKind() == actionJavaScript)
|
||||
{
|
||||
- LinkJavaScript *jsa = (LinkJavaScript*)Aact;
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
|
||||
+#else
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
|
||||
+#endif
|
||||
if (jsa->isOk())
|
||||
{
|
||||
ite->annotation().setK_act(UnicodeParsedString(jsa->getScript()));
|
||||
@@ -1165,21 +1247,33 @@ void SlaOutputDev::handleActions(PageItem* ite, AnnotWidget *ano)
|
||||
ite->annotation().setFormat(5);
|
||||
}
|
||||
}
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ Aact.reset();
|
||||
+#else
|
||||
Aact = nullptr;
|
||||
+#endif
|
||||
}
|
||||
Aact = SC_getAdditionalAction("V", ano);
|
||||
if (Aact)
|
||||
{
|
||||
if (Aact->getKind() == actionJavaScript)
|
||||
{
|
||||
- LinkJavaScript *jsa = (LinkJavaScript*)Aact;
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
|
||||
+#else
|
||||
+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
|
||||
+#endif
|
||||
if (jsa->isOk())
|
||||
{
|
||||
ite->annotation().setV_act(UnicodeParsedString(jsa->getScript()));
|
||||
ite->annotation().setAAact(true);
|
||||
}
|
||||
}
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ Aact.reset();
|
||||
+#else
|
||||
Aact = nullptr;
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3901,6 +3995,46 @@ QString SlaOutputDev::UnicodeParsedString(POPPLER_CONST GooString *s1)
|
||||
return result;
|
||||
}
|
||||
|
||||
+QString SlaOutputDev::UnicodeParsedString(const std::string& s1)
|
||||
+{
|
||||
+ if (s1.length() == 0)
|
||||
+ return QString();
|
||||
+ GBool isUnicode;
|
||||
+ int i;
|
||||
+ Unicode u;
|
||||
+ QString result;
|
||||
+ if ((s1.at(0) & 0xff) == 0xfe && (s1.length() > 1 && (s1.at(1) & 0xff) == 0xff))
|
||||
+ {
|
||||
+ isUnicode = gTrue;
|
||||
+ i = 2;
|
||||
+ result.reserve((s1.length() - 2) / 2);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ isUnicode = gFalse;
|
||||
+ i = 0;
|
||||
+ result.reserve(s1.length());
|
||||
+ }
|
||||
+ while (i < s1.length())
|
||||
+ {
|
||||
+ if (isUnicode)
|
||||
+ {
|
||||
+ u = ((s1.at(i) & 0xff) << 8) | (s1.at(i+1) & 0xff);
|
||||
+ i += 2;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ u = s1.at(i) & 0xff;
|
||||
+ ++i;
|
||||
+ }
|
||||
+ // #15616: imagemagick may write unicode strings incorrectly in PDF
|
||||
+ if (u == 0)
|
||||
+ continue;
|
||||
+ result += QChar( u );
|
||||
+ }
|
||||
+ return result;
|
||||
+}
|
||||
+
|
||||
bool SlaOutputDev::checkClip()
|
||||
{
|
||||
bool ret = false;
|
||||
diff --git a/scribus/plugins/import/pdf/slaoutput.h b/scribus/plugins/import/pdf/slaoutput.h
|
||||
index d928fada81..67b5a51937 100644
|
||||
--- a/scribus/plugins/import/pdf/slaoutput.h
|
||||
+++ b/scribus/plugins/import/pdf/slaoutput.h
|
||||
@@ -20,6 +20,8 @@ for which a new license (GPL+exception) is in place.
|
||||
#include <QTextStream>
|
||||
#include <QTransform>
|
||||
|
||||
+#include <memory>
|
||||
+
|
||||
#include "fpointarray.h"
|
||||
#include "importpdfconfig.h"
|
||||
#include "pageitem.h"
|
||||
@@ -159,7 +161,11 @@ class SlaOutputDev : public OutputDev
|
||||
virtual ~SlaOutputDev();
|
||||
|
||||
LinkAction* SC_getAction(AnnotWidget *ano);
|
||||
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
|
||||
+ std::unique_ptr<LinkAction> SC_getAdditionalAction(const char *key, AnnotWidget *ano);
|
||||
+#else
|
||||
LinkAction* SC_getAdditionalAction(const char *key, AnnotWidget *ano);
|
||||
+#endif
|
||||
static GBool annotations_callback(Annot *annota, void *user_data);
|
||||
bool handleTextAnnot(Annot* annota, double xCoor, double yCoor, double width, double height);
|
||||
bool handleLinkAnnot(Annot* annota, double xCoor, double yCoor, double width, double height);
|
||||
@@ -287,6 +293,7 @@ class SlaOutputDev : public OutputDev
|
||||
void applyMask(PageItem *ite);
|
||||
void pushGroup(const QString& maskName = "", GBool forSoftMask = gFalse, GBool alpha = gFalse, bool inverted = false);
|
||||
QString UnicodeParsedString(POPPLER_CONST GooString *s1);
|
||||
+ QString UnicodeParsedString(const std::string& s1);
|
||||
bool checkClip();
|
||||
bool pathIsClosed {false};
|
||||
QString CurrColorFill;
|
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST nattka-0.0.2.tar.gz 48458 BLAKE2B 56d20e62b9b56125562afc783ea1344fabb3b3743c1f50a10f6c9cf4f95c83081e7da88b67fbe2bbd3e79ec4542a1ef5bbc712bc644e8a8ab352dc30fd8a63f6 SHA512 186978d2131c686f07e7d193a2532a5b91b7fb389269ec97a5a23ac7e149451f40df6f4afa3be4a633d659ae4a923c62384b71861b5b9a674adffbb44ac67cdd
|
||||
DIST nattka-0.0.3.tar.gz 57811 BLAKE2B 68d2fe2b300a4189d4dc7c31c15a41ab86bd3019254cfff55d8aee6543d4ee9bdc1e311640f0d70d4d380993bc170855ee597b8eab2312bf0bbc11c4eac9a942 SHA512 b47837ddf323ed5329c97db326dfef54a4cb604f7b54b1555dd8a4cc43d2f35f04974077e1189c88b04979b9ff1279db2e706571406374dd180061c43efe98e8
|
||||
DIST nattka-0.0.4.tar.gz 58691 BLAKE2B ecc35cad1298414b75f5fe46ea05f50ef08ea1945f892563fbecc082edd4d135c92b7b0253cb28feb1df2b6637588b0efe1640a321dfad5b3d6dfc0ffa6a8c6d SHA512 c84721ad3055f9780bc855fd31da5a87b4542249a6068d97647836403828c9acc5145bbcae0bb1d109dabe3dc9c3abd0f33719215354806a3e9258c9b77fc0c5
|
||||
DIST nattka-0.0.5.tar.gz 58839 BLAKE2B 971461a5c49d838a50ccf7b652ac1304f8beee70adb9938fb77bbfa238927b80fca23038a4aea0c1f4f181eba5317b928c6dcb9ffe60ac3a9dfa79cc80e87eb1 SHA512 1a89832654dcc976841eacffa6880832ebc17546fc45e8dcf96d2bc4b73c322ecf244342da9dc80de74e8750a05ea294cacab134e13a4f59953ede1a067a66b1
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A New Arch Tester Toolkit -- open-source stable-bot replacement"
|
||||
HOMEPAGE="https://github.com/mgorny/nattka/"
|
||||
SRC_URI="https://github.com/mgorny/nattka/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-util/pkgcheck[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
sys-apps/pkgcore[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? ( dev-python/vcrpy[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_sphinx doc --no-autodoc
|
||||
distutils_enable_tests pytest
|
@ -0,0 +1,28 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A New Arch Tester Toolkit -- open-source stable-bot replacement"
|
||||
HOMEPAGE="https://github.com/mgorny/nattka/"
|
||||
SRC_URI="https://github.com/mgorny/nattka/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-util/pkgcheck[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
sys-apps/pkgcore[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? ( dev-python/vcrpy[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_sphinx doc --no-autodoc
|
||||
distutils_enable_tests pytest
|
Binary file not shown.
@ -1 +1,3 @@
|
||||
DIST atril-1.22.1.tar.xz 1766980 BLAKE2B 0b7b1a7dfff13c5d803fed4140596940b20a322fce54c9f0faecd8e80bdc1e5e498603851a10a88763b20444377bcf4e7b124ac08953ab6aa4b3b2cce021a46c SHA512 838ae397c868ac417c9266e4a06525d66214650cf8647e91c1472d83d50c8954f6dbb29411384892a98f0929e1fbac9947118bd0db10d50400fc0d5270a3619d
|
||||
DIST atril-1.22.3.tar.xz 1798396 BLAKE2B 1f06585393e1a9a6d51b7cc50c52bd61e8e115aa3985ffca0233c2e09219a88c3a30b4ddbcc70bfb9ddf663810e6cc67e968f8a32bfd4a3f07b4646e896a7f18 SHA512 f4a83702818e1fb32279c67f1727c01480d27fe756f3fc0ff9dcd42584ce74ce10ac7ee81c0149f3756b6eb08f2a011ede28706ab54ff16a51c544a1af3b103f
|
||||
DIST atril-1.24.0.tar.xz 2062468 BLAKE2B 374c7769f5c9753b1d9a6143c796a317914aebbb638b6f0a85b732b43b0e9ad2fff1374a5f3f4dc1abc8c265ce003bfef2cddc47cdb18ddc7f24c4905ef5232c SHA512 dfdd5ed82ba76c4f0a446a95b0a6201bedf8b4d00ff46ce697a5b937251f6d7a1888ca76eef623eb84dcddb425c7ad662e179f593686bba064b7491d4d940293
|
||||
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MATE_LA_PUNT="yes"
|
||||
|
||||
inherit mate
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Atril document viewer for MATE"
|
||||
LICENSE="FDL-1.1+ GPL-2+ GPL-3+ LGPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring +postscript t1lib tiff xps"
|
||||
|
||||
REQUIRED_USE="t1lib? ( dvi )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-text/poppler-0.22[cairo]
|
||||
dev-libs/atk
|
||||
>=dev-libs/glib-2.50:2
|
||||
>=dev-libs/libxml2-2.5:2
|
||||
sys-libs/zlib
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22:3[introspection?]
|
||||
x11-libs/libICE
|
||||
>=x11-libs/libSM-1:0
|
||||
x11-libs/libX11
|
||||
>=x11-libs/cairo-1.9.10
|
||||
x11-libs/pango
|
||||
caja? ( >=mate-base/caja-1.17.1[introspection?] )
|
||||
djvu? ( >=app-text/djvu-3.5.17:0 )
|
||||
dvi? (
|
||||
virtual/tex-base
|
||||
t1lib? ( >=media-libs/t1lib-5:5 )
|
||||
)
|
||||
epub? (
|
||||
dev-libs/mathjax
|
||||
>=net-libs/webkit-gtk-2.4.3:4
|
||||
)
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.5 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6:= )
|
||||
postscript? ( >=app-text/libspectre-0.2 )
|
||||
tiff? ( >=media-libs/tiff-3.6:0 )
|
||||
xps? ( >=app-text/libgxps-0.2.1 )
|
||||
!!app-text/mate-document-viewer"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/rarian
|
||||
app-text/yelp-tools
|
||||
>=app-text/scrollkeeper-dtd-1:1.0
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
dev-util/gtk-doc
|
||||
dev-util/gtk-doc-am
|
||||
>=dev-util/intltool-0.50.1
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
# Tests use dogtail which is not available on Gentoo.
|
||||
RESTRICT="test"
|
||||
|
||||
src_configure() {
|
||||
# Passing --disable-help would drop offline help, that would be inconsistent
|
||||
# with helps of the most of GNOME apps that doesn't require network for that.
|
||||
mate_src_configure \
|
||||
--disable-tests \
|
||||
--enable-comics \
|
||||
--enable-pdf \
|
||||
--enable-pixbuf \
|
||||
--enable-previewer \
|
||||
--enable-thumbnailer \
|
||||
$(use_with gnome-keyring keyring) \
|
||||
$(use_enable caja) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable djvu) \
|
||||
$(use_enable dvi) \
|
||||
$(use_enable epub) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable postscript ps) \
|
||||
$(use_enable t1lib) \
|
||||
$(use_enable tiff) \
|
||||
$(use_enable xps)
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MATE_LA_PUNT="yes"
|
||||
|
||||
inherit mate
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Atril document viewer for MATE"
|
||||
LICENSE="FDL-1.1+ GPL-2+ GPL-3+ LGPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring +postscript t1lib tiff xps"
|
||||
|
||||
REQUIRED_USE="t1lib? ( dvi )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-text/poppler-0.22[cairo]
|
||||
dev-libs/atk
|
||||
>=dev-libs/glib-2.62:2
|
||||
>=dev-libs/libxml2-2.5:2
|
||||
sys-libs/zlib
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22:3[introspection?]
|
||||
x11-libs/libICE
|
||||
>=x11-libs/libSM-1:0
|
||||
x11-libs/libX11
|
||||
>=x11-libs/cairo-1.14
|
||||
x11-libs/pango
|
||||
virtual/tex-base
|
||||
caja? ( >=mate-base/caja-1.17.1[introspection?] )
|
||||
djvu? ( >=app-text/djvu-3.5.17:0 )
|
||||
dvi? (
|
||||
virtual/tex-base
|
||||
t1lib? ( >=media-libs/t1lib-5:5 )
|
||||
)
|
||||
epub? (
|
||||
dev-libs/mathjax
|
||||
>=net-libs/webkit-gtk-2.6.0:4
|
||||
)
|
||||
gnome-keyring? ( >=app-crypt/libsecret-0.5 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6:= )
|
||||
postscript? ( >=app-text/libspectre-0.2 )
|
||||
tiff? ( >=media-libs/tiff-3.6:0 )
|
||||
xps? ( >=app-text/libgxps-0.2.1 )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/libintl
|
||||
!!app-text/mate-document-viewer
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/rarian
|
||||
app-text/yelp-tools
|
||||
>=app-text/scrollkeeper-dtd-1:1.0
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
dev-util/gtk-doc
|
||||
dev-util/gtk-doc-am
|
||||
>=sys-devel/gettext-0.19.8:*
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# Tests use dogtail which is not available on Gentoo.
|
||||
RESTRICT="test"
|
||||
|
||||
src_configure() {
|
||||
# Passing --disable-help would drop offline help, that would be inconsistent
|
||||
# with helps of the most of GNOME apps that doesn't require network for that.
|
||||
mate_src_configure \
|
||||
--disable-tests \
|
||||
--enable-comics \
|
||||
--enable-pdf \
|
||||
--enable-pixbuf \
|
||||
--enable-previewer \
|
||||
--enable-thumbnailer \
|
||||
$(use_with gnome-keyring keyring) \
|
||||
$(use_enable caja) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable djvu) \
|
||||
$(use_enable dvi) \
|
||||
$(use_enable epub) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable postscript ps) \
|
||||
$(use_enable t1lib) \
|
||||
$(use_enable tiff) \
|
||||
$(use_enable xps)
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST rnc2rng-2.6.1.tar.gz 14330 BLAKE2B 04d316f03da1e936603ca69cf5c8e087dd3a45f457d2b245452544e2a74a730d4c20a655a3eea5856f7f91e9154a7196bee89e8cc052cae887c6188da89b0574 SHA512 ab18b713d8756153fe03c76901dac7b090c7eab12042a251f2e97d7ae4e1ebfdf969a826305704f073c9df5a0980a6d8cd5d4e7a12a8caed018cab46a9196159
|
||||
DIST rnc2rng-2.6.2.tar.gz 17981 BLAKE2B 202b7f540197a5a17367a28524c4ca2b532d9e051b349654978754a0b96ecc89536a2a0857a1244027e0815ac1351581054c818787faff8e9a0ebd034c1c08ee SHA512 d305e902e16b3c30f6654475b28b2c71dec40bd6f7046bba8e56b81b947086e004b6b572ab3851c8622d00ddbfd7c65228d2b39b1f1cd647ebfd1e3082886f28
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="RELAX NG Compact to regular syntax conversion library"
|
||||
HOMEPAGE="https://github.com/djc/rnc2rng"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/rply[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test.py
|
||||
}
|
@ -0,0 +1,367 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
TL_SOURCE_VERSION=20190410
|
||||
|
||||
inherit flag-o-matic toolchain-funcs libtool texlive-common
|
||||
|
||||
MY_P=${PN%-core}-${TL_SOURCE_VERSION}-source
|
||||
|
||||
PATCHLEVEL=11
|
||||
|
||||
DESCRIPTION="A complete TeX distribution"
|
||||
HOMEPAGE="https://tug.org/texlive/"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LPPL-1.3c TeX"
|
||||
|
||||
SRC_URI="mirror://gentoo/${MY_P}.tar.xz
|
||||
mirror://gentoo/${PN}-patches-${PV}-${PATCHLEVEL}.tar.xz
|
||||
mirror://gentoo/texlive-tlpdb-${PV}.tar.xz"
|
||||
|
||||
TL_CORE_BINEXTRA_MODULES="
|
||||
a2ping adhocfilelist arara asymptote bundledoc checklistings ctan_chk
|
||||
ctanify ctanupload ctie cweb de-macro dtl dtxgen dvi2tty dviasm dvicopy
|
||||
dvidvi dviljk dvipos findhyph fragmaster hook-pre-commit-pkg hyphenex
|
||||
installfont lacheck latex-git-log latex-papersize latex2man latex2nemeth
|
||||
latexfileversion latexpand latexindent ltxfileinfo ltximg listings-ext make4ht
|
||||
match_parens mflua mkjobtexmf patgen pdfbook2 pdfcrop pdflatexpicscale pdftools
|
||||
pdfxup pfarrei pkfix pkfix-helper purifyeps seetexk srcredact sty2dtx
|
||||
synctex tex4ebook texcount texdef texdiff texdirflatten texdoc texfot
|
||||
texliveonfly texloganalyser texosquery texware tie tpic2pdftex typeoutfileinfo
|
||||
web collection-binextra
|
||||
"
|
||||
TL_CORE_BINEXTRA_DOC_MODULES="
|
||||
a2ping.doc adhocfilelist.doc arara.doc asymptote.doc bundledoc.doc
|
||||
checklistings.doc ctan_chk.doc ctanify.doc ctanupload.doc ctie.doc
|
||||
cweb.doc de-macro.doc dtl.doc dtxgen.doc dvi2tty.doc dviasm.doc dvicopy.doc
|
||||
dvidvi.doc dviljk.doc dvipos.doc findhyph.doc fragmaster.doc
|
||||
hook-pre-commit-pkg.doc installfont.doc lacheck.doc latex-git-log.doc
|
||||
latex-papersize.doc latex2man.doc latex2nemeth.doc latexfileversion.doc
|
||||
latexpand.doc latexindent.doc ltxfileinfo.doc ltximg.doc listings-ext.doc
|
||||
make4ht.doc match_parens.doc mkjobtexmf.doc patgen.doc pdfbook2.doc pdfcrop.doc
|
||||
pdflatexpicscale.doc pdftools.doc pdfxup.doc pfarrei.doc pkfix.doc
|
||||
pkfix-helper.doc purifyeps.doc pythontex.doc seetexk.doc srcredact.doc
|
||||
sty2dtx.doc synctex.doc tex4ebook.doc texcount.doc texdef.doc texdiff.doc
|
||||
texdirflatten.doc texdoc.doc texfot.doc texliveonfly.doc texloganalyser.doc
|
||||
texosquery.doc texware.doc tie.doc tpic2pdftex.doc typeoutfileinfo.doc web.doc
|
||||
"
|
||||
TL_CORE_BINEXTRA_SRC_MODULES="
|
||||
adhocfilelist.source arara.source checklistings.source hyphenex.source
|
||||
listings-ext.source mkjobtexmf.source pfarrei.source pythontex.source
|
||||
texdef.source texosquery.source
|
||||
"
|
||||
|
||||
TL_CORE_EXTRA_MODULES="tetex hyphen-base gsftopk texlive.infra ${TL_CORE_BINEXTRA_MODULES}"
|
||||
TL_CORE_EXTRA_DOC_MODULES="tetex.doc gsftopk.doc texlive.infra.doc ${TL_CORE_BINEXTRA_DOC_MODULES}"
|
||||
TL_CORE_EXTRA_SRC_MODULES="${TL_CORE_BINEXTRA_SRC_MODULES}"
|
||||
|
||||
for i in ${TL_CORE_EXTRA_MODULES}; do
|
||||
SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.xz"
|
||||
done
|
||||
|
||||
SRC_URI="${SRC_URI} doc? ( "
|
||||
for i in ${TL_CORE_EXTRA_DOC_MODULES}; do
|
||||
SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.xz"
|
||||
done
|
||||
SRC_URI="${SRC_URI} )"
|
||||
SRC_URI="${SRC_URI} source? ( "
|
||||
for i in ${TL_CORE_EXTRA_SRC_MODULES}; do
|
||||
SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.xz"
|
||||
done
|
||||
SRC_URI="${SRC_URI} )"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="cjk X doc source tk +luajittex xetex"
|
||||
|
||||
TEXMF_PATH=/usr/share/texmf-dist
|
||||
|
||||
MODULAR_X_DEPEND="X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXmu
|
||||
)"
|
||||
|
||||
COMMON_DEPEND="${MODULAR_X_DEPEND}
|
||||
sys-libs/zlib
|
||||
>=media-libs/libpng-1.2.43-r2:0=
|
||||
media-libs/gd[png]
|
||||
>=x11-libs/cairo-1.12
|
||||
>=x11-libs/pixman-0.18
|
||||
dev-libs/zziplib
|
||||
app-text/libpaper
|
||||
dev-libs/gmp:0
|
||||
dev-libs/mpfr:0=
|
||||
xetex? (
|
||||
>=media-libs/harfbuzz-1.4.5[icu,graphite]
|
||||
>=app-text/teckit-2.5.3
|
||||
media-libs/fontconfig
|
||||
media-gfx/graphite2
|
||||
)
|
||||
media-libs/freetype:2
|
||||
>=dev-libs/icu-50:=
|
||||
>=dev-libs/kpathsea-6.2.3
|
||||
cjk? ( >=dev-libs/ptexenc-1.3.7 )
|
||||
>=app-text/poppler-0.76.1:="
|
||||
|
||||
BDEPEND="sys-apps/ed
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-text/ps2pkm-1.8_p20170524
|
||||
>=app-text/dvipsk-5.997
|
||||
>=dev-tex/bibtexu-3.71_p20170524
|
||||
virtual/perl-Getopt-Long
|
||||
tk? ( dev-perl/Tk )"
|
||||
|
||||
S="${WORKDIR}/${P}_build"
|
||||
B="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mkdir -p "${S}" || die "failed to create build dir"
|
||||
}
|
||||
|
||||
RELOC_TARGET=texmf-dist
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}" || die
|
||||
|
||||
mv texlive.tlpdb tlpkg/ || die "failed to move texlive.tlpdb"
|
||||
|
||||
# From texlive-module.eclass.
|
||||
grep -H RELOC tlpkg/tlpobj/* | awk '{print $2}' | sed 's#^RELOC/##' > "${T}/reloclist" || die
|
||||
{ for i in $(<"${T}/reloclist"); do dirname ${i}; done; } | uniq > "${T}/dirlist"
|
||||
for i in $(<"${T}/dirlist"); do
|
||||
if [[ ! -d ${RELOC_TARGET}/${i} ]]; then
|
||||
mkdir -p "${RELOC_TARGET}/${i}" || die
|
||||
fi
|
||||
done
|
||||
for i in $(<"${T}/reloclist"); do
|
||||
mv "${i}" "${RELOC_TARGET}"/$(dirname "${i}") || die "failed to relocate ${i} to ${RELOC_TARGET}/$(dirname ${i})"
|
||||
done
|
||||
|
||||
mv "${WORKDIR}"/texmf* "${B}" || die "failed to move texmf files"
|
||||
|
||||
cd "${B}" || die
|
||||
|
||||
default
|
||||
|
||||
# These we need unconditionally
|
||||
eapply "${WORKDIR}"/patches/{0001..0006}*.patch
|
||||
eapply "${WORKDIR}"/patches/${P}-no-fcommon.patch
|
||||
|
||||
# Conditional poppler patching
|
||||
if has_version ">=app-text/poppler-0.83" && has_version "<app-text/poppler-0.86"; then
|
||||
eapply "${WORKDIR}"/patches/${P}-poppler083.patch
|
||||
eapply "${WORKDIR}"/patches/${P}-poppler084.patch
|
||||
elif has_version "=app-text/poppler-0.86*"; then
|
||||
eapply "${WORKDIR}"/patches/${P}-poppler086.patch
|
||||
elif has_version "=app-text/poppler-0.87*"; then
|
||||
eapply "${WORKDIR}"/patches/${P}-poppler087.patch
|
||||
else
|
||||
eapply "${WORKDIR}"/patches/${P}-poppler076.patch
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,${EPREFIX}/usr/include\"," \
|
||||
texk/web2c/configure || die
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# It fails on alpha without this
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
# Too many regexps use A-Z a-z constructs, what causes problems with locales
|
||||
# that don't have the same alphabetical order than ascii. Bug #242430
|
||||
# So we set LC_ALL to C in order to avoid problems.
|
||||
export LC_ALL=C
|
||||
|
||||
# Disable freetype-config as this is considered obsolete.
|
||||
# Also only pkg-config works for prefix as described in bug #690094
|
||||
export ac_cv_prog_ac_ct_FT2_CONFIG=no
|
||||
|
||||
tc-export CC CXX AR RANLIB
|
||||
ECONF_SOURCE="${B}" \
|
||||
econf -C \
|
||||
--bindir="${EPREFIX}"/usr/bin \
|
||||
--datadir="${S}" \
|
||||
--with-system-freetype2 \
|
||||
--with-system-zlib \
|
||||
--with-system-libpng \
|
||||
--with-system-xpdf \
|
||||
--with-system-poppler \
|
||||
--with-system-teckit \
|
||||
--with-teckit-includes="${EPREFIX}"/usr/include/teckit \
|
||||
--with-system-kpathsea \
|
||||
--with-kpathsea-includes="${EPREFIX}"/usr/include \
|
||||
--with-system-icu \
|
||||
--with-system-ptexenc \
|
||||
--with-system-harfbuzz \
|
||||
--with-system-icu \
|
||||
--with-system-graphite2 \
|
||||
--with-system-cairo \
|
||||
--with-system-pixman \
|
||||
--with-system-zziplib \
|
||||
--with-system-libpaper \
|
||||
--with-system-gmp \
|
||||
--with-system-gd \
|
||||
--with-system-mpfr \
|
||||
--without-texinfo \
|
||||
--disable-dialog \
|
||||
--disable-multiplatform \
|
||||
--enable-epsfwin \
|
||||
--enable-mftalkwin \
|
||||
--enable-regiswin \
|
||||
--enable-tektronixwin \
|
||||
--enable-unitermwin \
|
||||
--with-ps=gs \
|
||||
--disable-psutils \
|
||||
--disable-t1utils \
|
||||
--enable-ipc \
|
||||
--disable-biber \
|
||||
--disable-bibtex-x \
|
||||
--disable-dvipng \
|
||||
--disable-dvipsk \
|
||||
--disable-chktex \
|
||||
--disable-lcdf-typetools \
|
||||
--disable-pdfopen \
|
||||
--disable-ps2eps \
|
||||
--disable-ps2pk \
|
||||
--disable-detex \
|
||||
--disable-ttf2pk2 \
|
||||
--disable-tex4htk \
|
||||
--disable-cjkutils \
|
||||
--disable-xdvik \
|
||||
--disable-xindy \
|
||||
--enable-luatex \
|
||||
--disable-dvi2tty \
|
||||
--disable-dvisvgm \
|
||||
--disable-vlna \
|
||||
--enable-shared \
|
||||
--disable-native-texlive-build \
|
||||
--disable-largefile \
|
||||
--disable-build-in-source-tree \
|
||||
--with-banner-add=" Gentoo Linux" \
|
||||
$(use_enable luajittex) \
|
||||
$(use_enable luajittex mfluajit) \
|
||||
$(use_enable xetex) \
|
||||
$(use_enable cjk dviout-util) \
|
||||
$(use_enable cjk ptex) \
|
||||
$(use_enable cjk eptex) \
|
||||
$(use_enable cjk uptex) \
|
||||
$(use_enable cjk euptex) \
|
||||
$(use_enable cjk mendexk) \
|
||||
$(use_enable cjk makejvf) \
|
||||
$(use_enable cjk pmp) \
|
||||
$(use_enable cjk upmp) \
|
||||
$(use_enable tk texdoctk) \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC CXX AR RANLIB
|
||||
emake AR="$(tc-getAR)" SHELL="${EPREFIX}"/bin/sh texmf="${EPREFIX}"${TEXMF_PATH:-/usr/share/texmf-dist}
|
||||
|
||||
cd "${B}" || die
|
||||
# Mimic updmap --syncwithtrees to enable only fonts installed
|
||||
# Code copied from updmap script
|
||||
for i in `egrep '^(Mixed|Kanji)?Map' "texmf-dist/web2c/updmap.cfg" | sed 's@.* @@'`; do
|
||||
texlive-common_is_file_present_in_texmf "$i" || echo "$i"
|
||||
done > "${T}/updmap_update"
|
||||
{
|
||||
sed 's@/@\\/@g; s@^@/^MixedMap[ ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
|
||||
sed 's@/@\\/@g; s@^@/^Map[ ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
|
||||
sed 's@/@\\/@g; s@^@/^KanjiMap[ ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
|
||||
} > "${T}/updmap_update2"
|
||||
sed -f "${T}/updmap_update2" "texmf-dist/web2c/updmap.cfg" > "${T}/updmap_update3"\
|
||||
&& cat "${T}/updmap_update3" > "texmf-dist/web2c/updmap.cfg"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir ${TEXMF_PATH:-/usr/share/texmf-dist}/web2c
|
||||
emake DESTDIR="${D}" texmf="${ED}${TEXMF_PATH:-/usr/share/texmf-dist}" run_texlinks="true" run_mktexlsr="true" install
|
||||
|
||||
cd "${B}" || die
|
||||
dodir /usr/share # just in case
|
||||
cp -pR texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
|
||||
cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
|
||||
|
||||
# When X is disabled mf-nowin doesn't exist but some scripts expect it to
|
||||
# exist. Instead, it is called mf, so we symlink it to please everything.
|
||||
use X || dosym mf /usr/bin/mf-nowin
|
||||
|
||||
docinto texk
|
||||
cd "${B}/texk" || die
|
||||
dodoc ChangeLog README
|
||||
|
||||
docinto dviljk
|
||||
cd "${B}/texk/dviljk" || die
|
||||
dodoc ChangeLog README NEWS
|
||||
|
||||
docinto makeindexk
|
||||
cd "${B}/texk/makeindexk" || die
|
||||
dodoc ChangeLog NOTES README
|
||||
|
||||
docinto web2c
|
||||
cd "${B}/texk/web2c" || die
|
||||
dodoc ChangeLog NEWS PROJECTS README
|
||||
|
||||
use doc || rm -rf "${ED}/usr/share/texmf-dist/doc"
|
||||
|
||||
dodir /etc/env.d
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d"' > "${ED}/etc/env.d/98texlive"
|
||||
# populate /etc/texmf
|
||||
keepdir /etc/texmf/web2c
|
||||
|
||||
# take care of updmap.cfg and language.d files
|
||||
keepdir /etc/texmf/{updmap.d,language.dat.d,language.def.d,language.dat.lua.d}
|
||||
|
||||
mv "${ED}${TEXMF_PATH}/web2c/updmap.cfg" "${ED}/etc/texmf/updmap.d/00updmap.cfg" || die "moving updmap.cfg failed"
|
||||
|
||||
# Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
|
||||
# by texmf-update
|
||||
rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
|
||||
# Remove bundled and invalid updmap.cfg
|
||||
rm -f "${ED}/usr/share/texmf-dist/web2c/updmap.cfg"
|
||||
|
||||
texlive-common_handle_config_files
|
||||
|
||||
keepdir /usr/share/texmf-site
|
||||
|
||||
# the virtex symlink is not installed
|
||||
# The links has to be relative, since the targets
|
||||
# is not present at this stage and MacOS doesn't
|
||||
# like non-existing targets
|
||||
dosym tex /usr/bin/virtex
|
||||
dosym pdftex /usr/bin/pdfvirtex
|
||||
|
||||
# Rename mpost to leave room for mplib
|
||||
mv "${ED}/usr/bin/mpost" "${ED}/usr/bin/mpost-${P}" || die
|
||||
dosym "mpost-${P}" /usr/bin/mpost
|
||||
|
||||
# Ditto for pdftex
|
||||
mv "${ED}/usr/bin/pdftex" "${ED}/usr/bin/pdftex-${P}" || die
|
||||
dosym "pdftex-${P}" /usr/bin/pdftex
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
etexmf-update
|
||||
|
||||
einfo "Regenerating TeX formats"
|
||||
fmtutil-sys --all &> /dev/null
|
||||
|
||||
elog
|
||||
elog "If you have configuration files in ${EPREFIX}/etc/texmf to merge,"
|
||||
elog "please update them and run ${EPREFIX}/usr/sbin/texmf-update."
|
||||
elog
|
||||
ewarn "If you are migrating from an older TeX distribution"
|
||||
ewarn "Please make sure you have read:"
|
||||
ewarn "https://wiki.gentoo.org/wiki/Project:TeX/Tex_Live_Migration_Guide"
|
||||
ewarn "in order to avoid possible problems"
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST libevdev-1.8.0.tar.xz 439000 BLAKE2B 408c60669557419c945901da5f146302cf0cdc43ed74cf4dc8ff4a9c272319c49f644bf95acf3d8656173bfc2f3763a6cc172ee4707a7f0129d15449701e9449 SHA512 8d285632f4fe87c01e81f94e514bec4e37fed4bc44d6d38b9297dba1114e42f6ed8d143fc05f3d0e8d51b08b659e34481dc4c65f60421c54e2f3e11efbafdeb4
|
||||
DIST libevdev-1.9.0.tar.xz 443208 BLAKE2B 858567ec82f20d567f66d0c41bd1519ffd023a0374e346cff270a0bae0b5136a469a4fd56fcbd3d53b2a2ace6166821ec5e75c90e08eb347331e7974865ceda7 SHA512 6e7589b5776437ac23fbf65b3194fb1dd3a68a294696145060cdd97bcdeb9b04f355f2be028dc1a5efe98ef2cafca15e4f61115edf5d62591e3a8944dc95942a
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{3_6,3_7} )
|
||||
|
||||
inherit multilib-minimal python-any-r1
|
||||
|
||||
DESCRIPTION="Handler library for evdev events"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/ https://gitlab.freedesktop.org/libevdev/libevdev"
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/libevdev/libevdev.git"
|
||||
inherit autotools git-r3
|
||||
else
|
||||
SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RESTRICT="test" # Tests need to run as root.
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ ${PV} == 9999* ]] && eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
if use doc ;then
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
einstalldocs
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libfmt-6.1.2.tar.gz 723160 BLAKE2B 36e7451a8732c62dcbf47e6d287ea582827b6196a468b8648803ea1bc9a37a5f681d87488f748d749183d97783ac7fb47a3f2aeed64fc6a684f9ee85b67ae28d SHA512 8770bf4bd2bb6d938e75e0cf1e665c41930dbd9d2a6825274a5a43cd1d85b9c9ca621bb040ed099429f0e16bddbc3399361c453eb1bf3fc01376e6ad9dd875b7
|
||||
DIST libfmt-6.2.0.tar.gz 733403 BLAKE2B c7ff69a56b90ec8df7d1af5c9934592449f2052046192aa498a6440d2aab76f10c17fa2833a41475b777dca2e3a1ae671021530bf0ef8be12443541f0f5212b3 SHA512 0003543f437bae416600a2b982eb133f65588bd36d7506fa7d883ae3133fcaf7ad825904af9b588ea22e5d91e56560aaf4243a6afa11ff6d8aace2e4bb1b0cee
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="Small, safe and fast formatting library"
|
||||
HOMEPAGE="https://github.com/fmtlib/fmt"
|
||||
|
||||
LICENSE="MIT"
|
||||
IUSE="test"
|
||||
SLOT="0/$(ver_cut 1)"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/fmtlib/fmt.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
S="${WORKDIR}/fmt-${PV}"
|
||||
fi
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt"
|
||||
-DFMT_LIB_DIR="$(get_libdir)"
|
||||
-DFMT_TEST=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST libinput-1.15.2.tar.xz 580624 BLAKE2B a13bf121b12c58d904f3505fe2fa60ea32eee78a057ac1fe9e64d3017fa840bb92af053f472d2b163d46a958f2a3a5039154efbb9558eddabda3b2422cafb2ca SHA512 f6b50dbdf6ee6b65f88e020c4292c94c3178125d58629f27c2e52f92b658ccd67e0c5604fbf0b303621ff0386637ce1e291daaa991761d4145e8bcda4dd128a2
|
||||
DIST libinput-1.15.3.tar.xz 580408 BLAKE2B d5d462f81303e408f295fbc958609363ec9e3f4eb20494aa8fa977a458283619f321309f88167c70069ac7bd07dc782d948e9a75583ae6e930524f63dad5cafe SHA512 6636fd618e2b9cfa5ee44701207dc98f2639adc53eb3ef135509d936fb19b2cedf5184eab58e887798d9cf8ee65f35bc9062f7e3630080bcbe45a90a8b631ef2
|
||||
DIST libinput-1.15.4.tar.xz 580616 BLAKE2B cac324f08b8dc3c6cc18ca62d528c3a00fbd70a1d434aa171da2e144d8d74f961bcb491f6dc39b365f766ea8e5ed87b29b1dd5aa9f62b12707f8e49e5c63a5d7 SHA512 4659818952dc729cd5bdb78ebe21edbbacbf8a66a592b13ba30f3bb4c4e264208ec94440a253cfa4edc8b2ef904954eecea6be0f8d63cf239e3858d3abb64a80
|
||||
|
@ -1,79 +0,0 @@
|
||||
# Copyright 2014-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit meson python-any-r1 udev
|
||||
|
||||
DESCRIPTION="Library to handle input devices in Wayland"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/ https://gitlab.freedesktop.org/libinput/libinput"
|
||||
SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/10"
|
||||
[[ "$(ver_cut 3)" -gt 900 ]] || \
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86"
|
||||
IUSE="doc input_devices_wacom"
|
||||
# Tests require write access to udev rules directory which is a no-no for live system.
|
||||
# Other tests are just about logs, exported symbols and autotest of the test library.
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/commonmark[${PYTHON_USEDEP}]
|
||||
dev-python/recommonmark[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]
|
||||
')
|
||||
>=app-doc/doxygen-1.8.3
|
||||
>=media-gfx/graphviz-2.38.0
|
||||
)
|
||||
"
|
||||
# test? ( dev-util/valgrind )
|
||||
RDEPEND="
|
||||
input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
|
||||
>=dev-libs/libevdev-1.3
|
||||
>=sys-libs/mtdev-1.1
|
||||
virtual/libudev:=
|
||||
virtual/udev
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# test? ( >=dev-libs/check-0.9.10 )
|
||||
|
||||
python_check_deps() {
|
||||
has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \
|
||||
has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \
|
||||
has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
|
||||
has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use doc && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# gui can be built but will not be installed
|
||||
local emesonargs=(
|
||||
-Ddebug-gui=false
|
||||
$(meson_use doc documentation)
|
||||
$(meson_use input_devices_wacom libwacom)
|
||||
-Dtests=false # tests are restricted
|
||||
-Dudev-dir="${EPREFIX}$(get_udevdir)"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc -r "${BUILD_DIR}"/Documentation/.
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udevadm hwdb --update --root="${ROOT}"
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
# Copyright 2014-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit meson python-any-r1 udev
|
||||
|
||||
DESCRIPTION="Library to handle input devices in Wayland"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/ https://gitlab.freedesktop.org/libinput/libinput"
|
||||
SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/10"
|
||||
[[ "$(ver_cut 3)" -gt 900 ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE="doc input_devices_wacom test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/commonmark[${PYTHON_USEDEP}]
|
||||
dev-python/recommonmark[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]
|
||||
')
|
||||
>=app-doc/doxygen-1.8.3
|
||||
>=media-gfx/graphviz-2.38.0
|
||||
)
|
||||
"
|
||||
# test? ( dev-util/valgrind )
|
||||
RDEPEND="
|
||||
input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
|
||||
>=dev-libs/libevdev-1.3
|
||||
>=sys-libs/mtdev-1.1
|
||||
virtual/libudev:=
|
||||
virtual/udev
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( >=dev-libs/check-0.9.10 )"
|
||||
|
||||
python_check_deps() {
|
||||
has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \
|
||||
has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \
|
||||
has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
|
||||
has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use doc && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# gui can be built but will not be installed
|
||||
local emesonargs=(
|
||||
-Ddebug-gui=false
|
||||
$(meson_use doc documentation)
|
||||
$(meson_use input_devices_wacom libwacom)
|
||||
$(meson_use test tests)
|
||||
-Dudev-dir="${EPREFIX}$(get_udevdir)"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc -r "${BUILD_DIR}"/Documentation/.
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
pkgname="dev-python/python-libevdev"
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "${pkgname}"; then
|
||||
einfo "${pkgname} must be installed to use the"
|
||||
einfo "libinput measure and libinput replay tools."
|
||||
fi
|
||||
|
||||
udevadm hwdb --update --root="${ROOT}"
|
||||
}
|
@ -1 +1,3 @@
|
||||
DIST libmateweather-1.22.0.tar.xz 3386920 BLAKE2B 312bd8cd12a1d51216b9509b2badaccb23779f1c7c314ecf02c9789837fa619d6029e97bf06f9fd320ba590936888d51fe178cffbb7dca87eb167ed4fbf3eabb SHA512 43371fc615dda2b9042633a63ac4c1fb0b1ea43b20c783e443b0f57e10ad8fddedbd593f03bd6c942729f0a9c80484266fe1ef900d128fa4b02f80d6a80ae9bd
|
||||
DIST libmateweather-1.22.1.tar.xz 3437496 BLAKE2B 74d9d0b18ad33fd15c7b3411fd5811a43d56e7a99e78c1d6ac846d71285701414f0b6c5f54c9d445af6a2e6c1405fc4d0547e023aa4114f7419f507d8739fc29 SHA512 c7f5214c14fa3bf6bbb55442ea450c0f3c0a2849e29f72821c22db88baf3763c72dd6d2a27795c23d8ecc69d190a55313f6cfd18dc2a41c233a7e1e5653a0868
|
||||
DIST libmateweather-1.24.0.tar.xz 2233116 BLAKE2B 2b642af39e850d38d16f6a458568e43262007f2a1150db87371fca46f6db3f1b977a6cbad601ed182b8c0fdc9c5015e493ab60bc2c0e3485091e71992951cd72 SHA512 077a7cbcc75df0a64d9fab23d46154e58cf2455c8a2a17ecc04a8c691ead18b5027e177278a1d8e051ffb76e98bfd8e26ed5ca10ad974546e5446116a4f71300
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MATE_LA_PUNT="yes"
|
||||
|
||||
inherit mate
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="MATE library to access weather information from online services"
|
||||
LICENSE="LGPL-2.1+ GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="debug"
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.50:2
|
||||
>=dev-libs/libxml2-2.6:2
|
||||
>=net-libs/libsoup-2.34:2.4
|
||||
>=sys-libs/timezone-data-2010k:0
|
||||
x11-libs/gdk-pixbuf:2
|
||||
virtual/libintl:0
|
||||
>=x11-libs/gtk+-3.22:3"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gtk-doc
|
||||
dev-util/gtk-doc-am
|
||||
>=dev-util/intltool-0.50.1:*
|
||||
sys-devel/gettext:*
|
||||
>=sys-devel/libtool-2.2.6:2
|
||||
virtual/pkgconfig:*"
|
||||
|
||||
src_configure() {
|
||||
mate_src_configure \
|
||||
--enable-locations-compression \
|
||||
--disable-all-translations-in-one-xml \
|
||||
--disable-icon-update
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MATE_LA_PUNT="yes"
|
||||
|
||||
inherit mate
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="MATE library to access weather information from online services"
|
||||
LICENSE="LGPL-2.1+ GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="debug"
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.50:2
|
||||
>=dev-libs/libxml2-2.6:2
|
||||
>=net-libs/libsoup-2.54:2.4
|
||||
>=sys-libs/timezone-data-2010k:0
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22:3"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/libintl
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gtk-doc
|
||||
dev-util/gtk-doc-am
|
||||
>=sys-devel/gettext-0.19.8:*
|
||||
>=sys-devel/libtool-2.2.6:2
|
||||
virtual/pkgconfig:*"
|
||||
|
||||
src_configure() {
|
||||
mate_src_configure \
|
||||
--enable-locations-compression \
|
||||
--disable-all-translations-in-one-xml \
|
||||
--disable-icon-update
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST rocm-opencl-driver-2.10.0.tar.gz 21380 BLAKE2B 0ffdeb00b8d35a2619f37c6aa5efa53259151b2dfca8fd2dbd2dbaa49c9806599199340043a310cb8b855384d276d482e401ccbdf60cbff8c9efc1a80241df66 SHA512 dc6ba05c2a641c0379590af71ca28425495297b753eb4bcc5ff37f44f15a5d0a7f5477c3a426aa5350df969a6a6dabbeb4a71b3ae4b4ad63abd28b28ec87837e
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>candrews@gentoo.org</email>
|
||||
<name>Craig Andrews</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">RadeonOpenCompute/ROCm-OpenCL-Runtime</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
Radeon Open Compute OpenCL Compatible Runtime
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver/"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver/archive/roc-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/ROCm-OpenCL-Driver-roc-${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Radeon Open Compute OpenCL Compiler Tool Driver"
|
||||
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=sys-devel/llvm-roc-${PV}:=
|
||||
>=dev-libs/rocr-runtime-${PV}"
|
||||
DEPEND="${RDEPEND}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
# remove unittest, because it downloads additional file from github.com
|
||||
sed -e "s:add_subdirectory(src/unittest):#add_subdirectory(src/unittest):" -i CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST wayland-protocols-1.18.tar.xz 108344 BLAKE2B 7e770bafa364ff96441354246801d1c6cbe561eefe864673610dc2d47e3aa5ac7cd22a2fc2925aa1060a261ed6df8b6b5ef81c33adbeb374170821feeecd651f SHA512 166be44f370a99281da442e7e2c2fc2f3169b61eeaa69263611b4e33847e93d1071f3cc89537597e1252d48d03993ce39c7d65f43b66a23c9b1551f47959e483
|
||||
DIST wayland-protocols-1.19.tar.xz 107612 BLAKE2B ff91a7eeca0e43a3e93c927f440253c01751872ace142d874431a347ad652c04d02f36fa08b7e48787d569db9787415eafbd24495a442568b6476332c8935243 SHA512 f09b700a785da0002ca215d2e695461368534c5c961e064ca19b73fe0c72754b3c9d4076cf495d8c907053dbabb2381f6a2bbcef41564071a4c589a8c44ff0fb
|
||||
DIST wayland-protocols-1.20.tar.xz 111684 BLAKE2B 2ddd3d0b0dde94fda4788a1fd6631b6fcf22fb134e74a55f2c310ab4b72802d3b069d294e3d7b68ea6ddfdb0f944ac9011b73a9678e65eec924135822f697087 SHA512 d13f65d03add2c39cc32bf6bda0e981e9f52504bf8505fceea045c8baeb73bea64fa4edb99cb837677fbab1b5b3023054adff36fac127e819690f366b81c4977
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Wayland protocol files"
|
||||
HOMEPAGE="https://wayland.freedesktop.org/"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/${PN}.git/"
|
||||
inherit git-r3 autotools
|
||||
else
|
||||
SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/wayland"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export XDG_RUNTIME_DIR="${T}/runtime-dir"
|
||||
mkdir "${XDG_RUNTIME_DIR}" || die
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}" || die
|
||||
|
||||
default
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Wayland protocol files"
|
||||
HOMEPAGE="https://wayland.freedesktop.org/"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/${PN}.git/"
|
||||
inherit git-r3 autotools
|
||||
else
|
||||
SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/wayland"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export XDG_RUNTIME_DIR="${T}/runtime-dir"
|
||||
mkdir "${XDG_RUNTIME_DIR}" || die
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}" || die
|
||||
|
||||
default
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST wayland-1.17.0.tar.xz 437680 BLAKE2B 2f4eb54c5ded90453b4e2812f7b5086aa211196ec9f7333d316cdb829269d55db570ccb45a67ee07a039633245e630ab54da6403ff4754d59366f3c13fb87549 SHA512 c5051aab5ff078b368c196ecfedb33ccd961265bb914845d7ed81de361bb86ae18299575baa6c4eceb0d82cf8b495e8293f31b51d1cbc05d84af0a199ab3f946
|
||||
DIST wayland-1.18.0.tar.xz 453968 BLAKE2B ee5b3f9dff07fda85b4d64bc753aff28c4a012184eb3a4bae8e3be0fb74324f12e9ea4e3dc049e06a11c7302e3c6b1e53e49109c814381641568d92b5572eed9 SHA512 e30199e30c2bbd361ee695b4f3f7a4e264f10ed8f46f2c90762b5739fc578ae757dc39aa0258d8fbf0ed418553470bccd4b2730ed9705481cfccdab5de96a8fc
|
||||
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/wayland.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86"
|
||||
fi
|
||||
inherit autotools libtool multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="Wayland protocol libraries"
|
||||
HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/wayland"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
>=app-doc/doxygen-1.6[dot]
|
||||
app-text/xmlto
|
||||
>=media-gfx/graphviz-2.26.0
|
||||
sys-apps/grep[pcre]
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
|
||||
dev-libs/libxml2:=
|
||||
>=virtual/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!<media-libs/mesa-18.1.1-r1
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ $PV = 9999* ]] && eautoreconf || elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-static
|
||||
$(multilib_native_use_enable doc documentation)
|
||||
$(multilib_native_enable dtd-validation)
|
||||
)
|
||||
tc-is-cross-compiler && myeconfargs+=( --with-host-scanner )
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# We set it on purpose to only a short subdir name, as socket paths are
|
||||
# created in there, which are 108 byte limited. With this it hopefully
|
||||
# barely fits to the limit with /var/tmp/portage/$CAT/$PF/temp/xdr
|
||||
export XDG_RUNTIME_DIR="${T}"/xdr
|
||||
mkdir "${XDG_RUNTIME_DIR}" || die
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}" || die
|
||||
|
||||
multilib-minimal_src_test
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST luassert-1.7.10.tar.gz 35789 BLAKE2B c9aaca445272957a5d67d09700f6dc4c1c6c191d3ea274b97afe874f2f5ea1dfda051bd5674d33b9c040e55aed05f2c7baf01431d762223db57cd05b1c4a68a5 SHA512 2d5ca354b5f7b971f0d3420c305d921143cd7f9e1a6f4559cb466b833886a00a045e7b7c594bd9ec3c929b3d5bb8a7a4a6de75a6599e5cba7614b7652061bf05
|
||||
DIST luassert-1.7.9.tar.gz 34803 BLAKE2B bcaacff85ddd1c85b39241dbd2c7eef28f3697318e2a942521dd60eade5dfc9da9f0c69d570f5a9556b49609f1bb79250cec9ba39a98e4a65627d6479f9e2f2a SHA512 4e1257bf7adaa9002af7c6ac15f2d042c9094ceeae9ce065c51296c663a99fa239ac8d37f106151100478cde8c68d3290b42588553ac681d183e7edef288414b
|
||||
DIST luassert-1.8.0.tar.gz 38874 BLAKE2B ebc4aab1de5dc830d0b9266726ca6bf361e03000f3a8acd27c04805a6c963373755c8e163b187714f64178acc5d755c05493d745b55c785e3254dd41aa4bef31 SHA512 18b296fececa6b0d5950b2a20c4d30da3bbf9b0932c568bbb8ca212b5c82a1047b73c52ee72b4505a41a393d41dd21321189367e038dd029152d177e11bafc93
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lua Assertions Extension"
|
||||
HOMEPAGE="http://olivinelabs.com/busted/"
|
||||
SRC_URI="https://github.com/Olivine-Labs/luassert/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="luajit test"
|
||||
RESTRICT="test" # Requires same version to be installed or busted will fail.
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lua/say-1.3_p1[luajit(-)=]
|
||||
!luajit? ( >=dev-lang/lua-5.1:= )
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-lua/busted
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_test() {
|
||||
busted -o gtest || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local instdir
|
||||
instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"/${PN}
|
||||
insinto "${instdir#${EPREFIX}}"
|
||||
doins -r src/*
|
||||
local -a DOCS=( CONTRIBUTING.md LICENSE README.md )
|
||||
einstalldocs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST luasystem-0.2.0_p0.tar.gz 8058 BLAKE2B fd29eaec7fe2f49e933932a436be75678400fc55a275e412379e05ab5b9cfe2036dfc9e61f960caa29d3c4ab1d439f9ede7ff3cbe14a61287270cc3707660636 SHA512 b8c7ba30470cbf100cc3f14df31729778cfb0aabebe4d27ce42c19581a2585f878d86a29a2f73fd1bef4e5861e2a604d3c396a73f131fa99ae14a17cba52c336
|
||||
DIST luasystem-0.2.1_p0.tar.gz 8162 BLAKE2B ad8a6009823ad8202ff3884a3167d0779405c2a6be460b7ef2939622eb4d0fc8edbc6b04aba5dec9dd5e4e38f11ae0dcd582b9c348d5b516aa411858d55c6d71 SHA512 9dc323d4d1914cfa4f278a49ef22e58569d5cd7e369fa17fa6006cd47f9d90c6dfd4404067ea2436aa46a27cfbdf91e4aa26e20b89aeeefdf2aa7252c51fb32b
|
||||
|
@ -0,0 +1,33 @@
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index 10fc31a..af5e4e4 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -144,8 +144,8 @@ O_linux=o
|
||||
CC_linux=gcc
|
||||
DEF_linux=
|
||||
CFLAGS_linux= -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \
|
||||
- -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
|
||||
-LDFLAGS_linux=-lrt -O -shared -fpic -o
|
||||
+ -Wimplicit -fpic -fvisibility=hidden
|
||||
+LDFLAGS_linux=-lrt -shared -fpic -o
|
||||
LD_linux=gcc
|
||||
|
||||
#------
|
||||
@@ -208,7 +208,7 @@ SOLIB=core.$(SO)
|
||||
#
|
||||
CC=$(CC_$(PLAT))
|
||||
DEF=$(DEF_$(PLAT))
|
||||
-CFLAGS=$(MYCFLAGS) $(CFLAGS_$(PLAT))
|
||||
+CFLAGS=$(CFLAGS_$(PLAT)) $(MYCFLAGS)
|
||||
LDFLAGS=$(MYLDFLAGS) $(LDFLAGS_$(PLAT))
|
||||
LD=$(LD_$(PLAT))
|
||||
LUAINC= $(LUAINC_$(PLAT))
|
||||
@@ -248,7 +248,7 @@ none:
|
||||
all: $(SOLIB)
|
||||
|
||||
$(SOLIB): $(OBJS)
|
||||
- $(LD) $(OBJS) $(LDFLAGS)$@
|
||||
+ $(LD) $(OBJS) $(LDFLAGS) $@
|
||||
|
||||
install: all
|
||||
$(INSTALL_DIR) $(INSTALL_TOP_LDIR)
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
# The below is the upstream version number. The -x suffix should be kept
|
||||
# in sync with the _px suffix in the ebuild version.
|
||||
MY_PV="0.2.1-0"
|
||||
|
||||
DESCRIPTION="platform independent system calls for lua"
|
||||
HOMEPAGE="https://github.com/LuaDist2/luasystem"
|
||||
SRC_URI="https://github.com/LuaDist2/luasystem/archive/${MY_PV}.tar.gz ->
|
||||
${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="luajit test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-lua/busted
|
||||
)"
|
||||
RDEPEND="
|
||||
!luajit? ( >=dev-lang/lua-5.1:= )
|
||||
luajit? ( dev-lang/luajit:2 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-fix-makefile.patch
|
||||
)
|
||||
|
||||
src_test() {
|
||||
busted -o gtest || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" MYCFLAGS="${CFLAGS}" \
|
||||
LD="$(tc-getCC)" MYLDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
|
||||
doins -r system
|
||||
exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"/system
|
||||
doexe src/core.so
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST contextlib2-0.6.0.post1.tar.gz 29670 BLAKE2B 927cbc674c2cb568e71bd110773bea6f848233928bb910e0db7114812b3359b9395e43c01be1645d44f3202f94c62bc21c4db883a155c64feb636a61865dd7d8 SHA512 bd3b458b365bc1d556476f6368bc523fde07e85afdad74037aa98d7a498008103a789f6b481b606700da92606ee6477fc5a817f1596e93a6e3c548ed0d4a5bf8
|
||||
DIST contextlib2-0.6.0.tar.gz 29607 BLAKE2B 674d0ed2cb71837ec8bed46b44790c31601347e315abb3ab666aac3a7754f07602bbc4f1591a8c905e02949ed9178fb6230f600ca35d244b83353286901510e2 SHA512 01901ac226c7fca40add00e95cedb2535a802e0114a53ae1315c6dfee20744dbafa7d9619986ad76345ad9b9aa3e364ac01d23f51b5eb70dd2febd5af1f1fc56
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="${PN}-${PV/_p/.post}"
|
||||
DESCRIPTION="Backports and enhancements for the contextlib module"
|
||||
HOMEPAGE="https://pypi.org/project/contextlib2/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2.4"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( $(python_gen_cond_dep '
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
' python2_7 pypy3
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS=( NEWS.rst README.rst )
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i -e 's:unittest.main():unittest.main(verbosity=2):' \
|
||||
test_contextlib2.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test_contextlib2.py || die "Tests fail for ${EPYTHON}"
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST husl-4.0.3.tar.gz 3880 BLAKE2B 9824a50904c880d35a0a0b1efa402e7b5267db4df2ddea2114acc14b416da8bdac39f1383703abfd3a64f55680ac398e3479a6f2c9df1017b9eb265513172462 SHA512 1df5e08b24c3b815e4bf643d8bfc911aeeff25328565123122efb2a7042aea1e6e7709ed9d2c6a42390a0cece98863813a83952964c7df1dfcdc566671858034
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Human-friendly HSL"
|
||||
HOMEPAGE="http://www.husl-colors.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
@ -1 +0,0 @@
|
||||
DIST hvac-0.2.17.tar.gz 9884 BLAKE2B ddd40e29d7666a9d41a040f55574be82f32fb27ec4b8c65c8a360bdc924a5a7e0d8a36c32d0f663871406dc8bcd315c2a64fca9d852d24d3b14b1db464b182ef SHA512 5c35cf3cc2e1e08a9ffa0f485da89725b84753822165a2d5ba0de2db616281beb12acff85d4b091234f2127df43d409001716eb95c9277503c45771d1d2be412
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python client for HashiCorp Vault"
|
||||
HOMEPAGE="https://github.com/ianunruh/hvac"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="<dev-python/pyhcl-0.3[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( ${RDEPEND}
|
||||
app-admin/vault
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/semantic_version[${PYTHON_USEDEP}] )"
|
||||
|
||||
RESTRICT="test" # need running vault
|
||||
|
||||
python_test() {
|
||||
nosetests -v || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pygit2-1.0.3.tar.gz 501720 BLAKE2B ddfe228bb50df08c1b5e880f58be6b0ae111a10235b695ce93ef04b685507bda90cdccdacefd5400807cd19bc9c63b49061c2da73c89641fe9641c52a4ed16ab SHA512 debf4018e6daa938f44cf22f2acec1f850156e30ac44052e2edb8257f86a60453428356851cc495ae234df9cdbee922a6a7ad7886c9a6e3746b7315c71f0a3df
|
||||
DIST pygit2-1.1.1.tar.gz 217896 BLAKE2B 0f1a6ea37d0622259b07553253177f7097ba16912306e5dd007a02a238503f879df3eea5b23d197ffee43f83b1409999fec2094d73fe38b30b8e349d37a84ec3 SHA512 e57600f1eb53647106cdc703d8adcdff7742bde8d3d95d8a879275ec1ac4a4a569d6f7da68a9bf49e82f491980e19abf96e55029f3fbae52371632e6bd3b2ab3
|
||||
DIST pygit2-1.2.0.tar.gz 232458 BLAKE2B ce3bc95e107a572709e14e87f6bc31f6b991da5e541d65e551243a5aefd0a853818aeedeafcd6a6607e32d225f0331bca07015d54d538b0f3d9157255630e0be SHA512 44ed29f8d10f4f784e6192b79f6a3924d64b22297cf335e9d005be578c3e0c77999855db802f71d2fcb5c053593ea2e9711e2cd191b3e185ec01c0d49e2ae1c6
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue