Bump
This commit is contained in:
parent
8cd25a0aa2
commit
ef4a06d6b1
@ -1,8 +1,5 @@
|
|||||||
AUX msitools-0.101-bats-dependency.patch 603 BLAKE2B a86c862e2592ab88e39ba5848d91398fdb9279d3996de0354ea3afd2a7858c3f16aa06de1d19d76db3c27f5302c012d6fd249ef5ca7984cd51a156506246d976 SHA512 3494c83dffc56efe52e7ef5e050ab389cfcd92b1ca540b9bb3dd7ece0c9025e0a3c0c540b5fcb076e204561fb37ff40aae6fab11e316edd4b3d449d939b9932b
|
AUX msitools-0.106-bats-dependency.patch 603 BLAKE2B a86c862e2592ab88e39ba5848d91398fdb9279d3996de0354ea3afd2a7858c3f16aa06de1d19d76db3c27f5302c012d6fd249ef5ca7984cd51a156506246d976 SHA512 3494c83dffc56efe52e7ef5e050ab389cfcd92b1ca540b9bb3dd7ece0c9025e0a3c0c540b5fcb076e204561fb37ff40aae6fab11e316edd4b3d449d939b9932b
|
||||||
AUX msitools-0.103-bats-dependency.patch 603 BLAKE2B a86c862e2592ab88e39ba5848d91398fdb9279d3996de0354ea3afd2a7858c3f16aa06de1d19d76db3c27f5302c012d6fd249ef5ca7984cd51a156506246d976 SHA512 3494c83dffc56efe52e7ef5e050ab389cfcd92b1ca540b9bb3dd7ece0c9025e0a3c0c540b5fcb076e204561fb37ff40aae6fab11e316edd4b3d449d939b9932b
|
DIST msitools-0.106.tar.xz 437664 BLAKE2B e4aa32fccbbf6670e9df9968cc76cca926e8652df79ab4dc4d5fb87c77d4de038a531a9e3840763f091291c04e4094526ec1c2b7bea3ad2c01fa0e83c00e5a1f SHA512 7e3f2b17f292574645df5900a5ebea240a0cca70aaa35b58af144b610572478a55585dd48d098a064cbe4e6475dd143e0c21b68ae7ec423833cb415785727b0f
|
||||||
DIST msitools-0.103.tar.xz 497848 BLAKE2B 14cf6af475b9f1cae29f2c43942d628259b1abca8e99131ce9d53f9300ba19677a6d6b1736569da842841d4565dde79d03bf0669b6963b8ffe999770a5085c07 SHA512 ecff178cf25a7789a97901005c4d05ab0a0815377bf91385a65497b7f53c33d9e83b9348c3fc1d05b9c0fbdda89358ae4f05d8ee89017c585e41f7e399b2685c
|
EBUILD msitools-0.106.ebuild 1075 BLAKE2B 6571a3c053c5c89edf850e9fc572e227d73e4ab1944af371079bfd010f9bae61756a088ba3b90ff11f6317cb7fb27d747b52be033f9ed78693d65a9400e1eab9 SHA512 3483998bf9d7be7f456fdd9feb197054b02d4e0279237d25d014bca84262e0ca5ccde50f530d1fee4350d40d11dc36c8ed2b863a2a678048ddb8094f212a28bf
|
||||||
DIST msitools-v0.101.tar.bz2 672943 BLAKE2B 34b5ea63f67e99140ac6ac89e4a23f389ad1d0debe1da045a32121e85e5f4d9401011ecb3b8db78953169b7c7e73faf8929c2a0712270460b0c433e93fe8fb8b SHA512 481c2b66c6dc14b967919d60bf0440a379c09e0893eca513a52a2b52bf8ee03e9c76243bc70b758c964c783df018b5ba03b95daca971840033db7c436ab9caad
|
|
||||||
EBUILD msitools-0.101.ebuild 1038 BLAKE2B c4ecb50bb7f116896eb4a7285ff7b174d05078c8f27ac3f0e0b40cd7f2461def3d093774fd6c99d751b0ca13ef5832da82e74168b5f4467c54eda92b498ba71a SHA512 26d8bc94eedb0a7279e377868a767c309152e3a89157a0368754755603bdd807a5fa9d0c4d59dc0e6f47ef6f4786ed646990ec118aa66ce68770aa383cebc373
|
|
||||||
EBUILD msitools-0.103.ebuild 1075 BLAKE2B 6571a3c053c5c89edf850e9fc572e227d73e4ab1944af371079bfd010f9bae61756a088ba3b90ff11f6317cb7fb27d747b52be033f9ed78693d65a9400e1eab9 SHA512 3483998bf9d7be7f456fdd9feb197054b02d4e0279237d25d014bca84262e0ca5ccde50f530d1fee4350d40d11dc36c8ed2b863a2a678048ddb8094f212a28bf
|
|
||||||
MISC ChangeLog 878 BLAKE2B b5a3ac68d529e324a0caf473d64ddb21040806d50ccaf4b2bc3ea91314b928dedd69822a09476ed76b1da56955ff605d3d96a13fa643ece86417006f2c42445d SHA512 abdc80c9220f9054edcd40efb8d1064c9c9d32cf1c012436aad9f36de1855cd4d4570c60b4298033fea02a898bfd5a1a3ff8bbc0d74390da2f41ea35e5f3aaaa
|
MISC ChangeLog 878 BLAKE2B b5a3ac68d529e324a0caf473d64ddb21040806d50ccaf4b2bc3ea91314b928dedd69822a09476ed76b1da56955ff605d3d96a13fa643ece86417006f2c42445d SHA512 abdc80c9220f9054edcd40efb8d1064c9c9d32cf1c012436aad9f36de1855cd4d4570c60b4298033fea02a898bfd5a1a3ff8bbc0d74390da2f41ea35e5f3aaaa
|
||||||
MISC metadata.xml 815 BLAKE2B 065062781ffd3feecbe20de9449cafcab2b5ddff85978a14c13f2564929471b08183f6560b03cb8afc0adbdc028f367edfd02124aa73b83a8dc28a4fc7908db0 SHA512 b3d69b3cdaa6e6c4f7fda5e0305e15c107df9d7e62bf70c49cd6aefabe39c55cd50cd0e2e2d2da025d4fcde805cc492bfc26fceba6e8e535e4e389ed3939f35e
|
MISC metadata.xml 815 BLAKE2B 065062781ffd3feecbe20de9449cafcab2b5ddff85978a14c13f2564929471b08183f6560b03cb8afc0adbdc028f367edfd02124aa73b83a8dc28a4fc7908db0 SHA512 b3d69b3cdaa6e6c4f7fda5e0305e15c107df9d7e62bf70c49cd6aefabe39c55cd50cd0e2e2d2da025d4fcde805cc492bfc26fceba6e8e535e4e389ed3939f35e
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
From 3fcf81bbde215349283391fd3d01cc901029427a Mon Sep 17 00:00:00 2001
|
|
||||||
search system for bats as well
|
|
||||||
|
|
||||||
---
|
|
||||||
meson.build | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
--- a/meson.build
|
|
||||||
+++ b/meson.build
|
|
||||||
@@ -9,7 +9,7 @@ gnome = import('gnome')
|
|
||||||
|
|
||||||
perl = find_program('perl')
|
|
||||||
bison = find_program('bison')
|
|
||||||
-bats = find_program('subprojects/bats-core/bin/bats')
|
|
||||||
+bats = find_program(['bats', 'subprojects/bats-core/bin/bats'])
|
|
||||||
glib = dependency('glib-2.0', version: '>= 2.12')
|
|
||||||
gobject = dependency('gobject-2.0', version: '>= 0.9.4')
|
|
||||||
gio = dependency('gio-2.0', version: '>= 2.14')
|
|
||||||
--
|
|
||||||
2.31.1
|
|
||||||
|
|
@ -1,54 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit meson vala
|
|
||||||
|
|
||||||
DESCRIPTION="Set of programs to inspect and build Windows Installer (.MSI) files"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/msitools"
|
|
||||||
SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
|
|
||||||
S="${WORKDIR}/${PN}-v${PV}"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~x86 ~amd64"
|
|
||||||
IUSE="+introspection"
|
|
||||||
REQUIRED_USE="
|
|
||||||
introspection
|
|
||||||
"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-lang/perl
|
|
||||||
sys-devel/bison
|
|
||||||
dev-util/bats
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.10.8 )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-libs/glib
|
|
||||||
dev-libs/gobject-introspection-common
|
|
||||||
dev-libs/vala-common
|
|
||||||
gnome-extra/libgsf
|
|
||||||
app-arch/gcab[vala]
|
|
||||||
>=dev-build/gtk-doc-am-1.13
|
|
||||||
>=virtual/pkgconfig-0-r1
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${P}-bats-dependency.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
vala_src_prepare
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
$(meson_use introspection)
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
AUX rpm-4.17.0-libdir.patch 855 BLAKE2B 81a2daf0577c8dc3feac190764125da7a616e24ccdd38c3715c3c68f7fc831cf2662e629f23ed88f7d133961a40ac7f63acd6c7f52e99f17abe53442b2a5f14e SHA512 68d884cf9d57d89138ee7d6882869b0560aa9cd3dc82b837c47732f2d0248b42fbdafbbcc1f3f04322cd750744d97e4512491fb0591eb0622b2a5d1918391c46
|
|
||||||
AUX rpm-4.8.1-db-path.patch 628 BLAKE2B 69ac0d4541c4d6e74fd716529c4cfd482432d400f84f39775bd585931e786acf45ab7a1da617f0214dcba90c78511ca22fc556896ae1963ec9160787fdaab902 SHA512 12539bbeda99d261890d50304945c7f022681ca0a283c70f17a6b1f188e9e24e9ce05b71d541ed6d951f94576b5183c49c4db784d5016d075a859c1e4dcb9005
|
|
||||||
DIST rpm-4.18.0.tar.bz2 6600013 BLAKE2B 127c3b1427884d04c3db4fc73eb73a978a58241bc740620e3e46c7557d99833092866b5d9c8b4fdf72cd106668d9e5f5cb8c4b918decf1513a82d10258975116 SHA512 c218b811c0c2db368a2919f60742904a4a5abf09dc20804d649eb42f1853d1c21d121086d6014cd210b2040643c37b5d86b53052958cf702ae2e54fe65f1c0ec
|
|
||||||
EBUILD rpm-4.18.0.ebuild 4096 BLAKE2B 6fb3c324b41be3995f661a9330ee577c4027217cf50943296adabae801ff627a5b5b7609439829a9c8ac26b9acee934110129e618c0dac936b2ee3b53d552b7d SHA512 0b0a7a81b4cfad34ab6e241306dc5ae62908f9147e6d1774543cfbc9753ecb94485a9d98aeea3e9703c1e6489b7411edce5d594d4eaf4ffc29b7f2810ab41010
|
|
||||||
MISC metadata.xml 260 BLAKE2B 00f83151d62c157bea18101b36007f01e6da9d16d438671c37b929b1e19cfc202f379816a1b0d9e3faea99c44a43f97a5d43100266c683487dabba09f1378eea SHA512 d6fc386bd5be91d5dff3d7aa514f4d72e7301a47f888db95573d72505ee86987ae6412fdd8aec82842c006abe831d99f6178b1ac78a04a7dbf9e5bce1d249cb7
|
|
@ -1,32 +0,0 @@
|
|||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -865,13 +865,7 @@ AC_ARG_WITH([rundir],
|
|
||||||
AC_DEFINE_UNQUOTED([RUNDIR],["${RUNDIR}"],[run-time variable directory])
|
|
||||||
AC_SUBST(RUNDIR)
|
|
||||||
|
|
||||||
-if test X"$prefix" = XNONE ; then
|
|
||||||
- usrprefix="$ac_default_prefix"
|
|
||||||
-else
|
|
||||||
- usrprefix=$prefix
|
|
||||||
-fi
|
|
||||||
-
|
|
||||||
-RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`"
|
|
||||||
+RPMCONFIGDIR="`echo ${libexecdir}/rpm/`"
|
|
||||||
AC_SUBST(RPMCONFIGDIR)
|
|
||||||
|
|
||||||
AC_SUBST(OBJDUMP)
|
|
||||||
--- a/rpm.am
|
|
||||||
+++ b/rpm.am
|
|
||||||
@@ -1,10 +1,10 @@
|
|
||||||
# Internal binaries
|
|
||||||
## HACK: It probably should be $(libexecdir)/rpm or $(libdir)/rpm
|
|
||||||
-rpmlibexecdir = $(prefix)/lib/rpm
|
|
||||||
+rpmlibexecdir = $(pkglibexecdir)
|
|
||||||
|
|
||||||
# Host independent config files
|
|
||||||
## HACK: it probably should be $(datadir)/rpm
|
|
||||||
-rpmconfigdir = $(prefix)/lib/rpm
|
|
||||||
+rpmconfigdir = $(pkglibexecdir)
|
|
||||||
|
|
||||||
# Libtool version (current-revision-age) for all our libraries
|
|
||||||
rpm_version_info = 11:0:2
|
|
@ -1,26 +0,0 @@
|
|||||||
diff --git a/Makefile.am b/Makefile.am
|
|
||||||
index 587cfa7..498abfb 100644
|
|
||||||
--- a/Makefile.am
|
|
||||||
+++ b/Makefile.am
|
|
||||||
@@ -177,7 +177,7 @@ EXTRA_DIST += rpmpopt.in
|
|
||||||
|
|
||||||
usrsrcdir = $(prefix)/src
|
|
||||||
|
|
||||||
-rpmvardir = $(localstatedir)/lib/rpm
|
|
||||||
+rpmvardir = $(localstatedir)/rpm
|
|
||||||
rpmvar_DATA =
|
|
||||||
|
|
||||||
install-exec-hook:
|
|
||||||
diff --git a/macros.in b/macros.in
|
|
||||||
index ae46fcb..213b53c 100644
|
|
||||||
--- a/macros.in
|
|
||||||
+++ b/macros.in
|
|
||||||
@@ -155,7 +155,7 @@
|
|
||||||
%_bzip2bin %{__bzip2}
|
|
||||||
|
|
||||||
# The location of the rpm database file(s).
|
|
||||||
-%_dbpath %{_var}/lib/rpm
|
|
||||||
+%_dbpath %{_var}/rpm
|
|
||||||
|
|
||||||
# The location of the rpm database file(s) after "rpm --rebuilddb".
|
|
||||||
%_dbpath_rebuild %{_dbpath}
|
|
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<!-- maintainer-needed -->
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">rpm-software-management/rpm</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,165 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
LUA_COMPAT=( lua5-{3,4} )
|
|
||||||
PYTHON_COMPAT=( python3_{9..12} )
|
|
||||||
|
|
||||||
inherit autotools lua-single perl-module python-single-r1 toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Red Hat Package Management Utils"
|
|
||||||
HOMEPAGE="https://rpm.org/ https://github.com/rpm-software-management/rpm"
|
|
||||||
SRC_URI="https://ftp.osuosl.org/pub/rpm/releases/rpm-$(ver_cut 1-2).x/${P}.tar.bz2
|
|
||||||
http://ftp.rpm.org/releases/rpm-$(ver_cut 1-2).x/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2 LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
# Tests are broken. See bug #657500
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
IUSE="acl audit caps +berkdb doc dbus nls openmp python readline selinux +sqlite test +zstd"
|
|
||||||
REQUIRED_USE="${LUA_REQUIRED_USE}
|
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${LUA_DEPS}
|
|
||||||
!app-arch/rpm5
|
|
||||||
app-arch/libarchive:=
|
|
||||||
>=app-arch/bzip2-1.0.1
|
|
||||||
app-arch/xz-utils
|
|
||||||
>=app-crypt/gnupg-1.2
|
|
||||||
>=dev-lang/perl-5.8.8
|
|
||||||
dev-libs/elfutils
|
|
||||||
dev-libs/libgcrypt:=
|
|
||||||
>=dev-libs/popt-1.7
|
|
||||||
sys-apps/file
|
|
||||||
>=sys-libs/zlib-1.2.3-r1
|
|
||||||
virtual/libintl
|
|
||||||
acl? ( virtual/acl )
|
|
||||||
audit? ( sys-process/audit )
|
|
||||||
caps? ( >=sys-libs/libcap-2.0 )
|
|
||||||
dbus? ( sys-apps/dbus )
|
|
||||||
readline? ( sys-libs/readline:= )
|
|
||||||
sqlite? ( dev-db/sqlite:3 )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
zstd? ( app-arch/zstd:= )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
test? ( sys-apps/fakechroot )
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
selinux? ( sec-policy/selinux-rpm )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-4.8.1-db-path.patch
|
|
||||||
"${FILESDIR}"/${PN}-4.17.0-libdir.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
lua-single_pkg_setup
|
|
||||||
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
|
|
||||||
# Added USE=openmp and this check for bug #779769
|
|
||||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# bug #356769
|
|
||||||
sed -i 's:%{_var}/tmp:/var/tmp:' macros.in || die "Fixing tmppath failed"
|
|
||||||
# bug #492642
|
|
||||||
sed -i "s:@__PYTHON@:${PYTHON}:" macros.in || die "Fixing %__python failed"
|
|
||||||
|
|
||||||
# Prevent automake maintainer mode from kicking in (bug #450448).
|
|
||||||
#touch -r Makefile.am preinstall.am || die
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# rpm no longer supports berkdb, but has readonly support.
|
|
||||||
# https://github.com/rpm-software-management/rpm/commit/4290300e24c5ab17c615b6108f38438e31eeb1d0
|
|
||||||
econf \
|
|
||||||
--enable-libelf \
|
|
||||||
--without-selinux \
|
|
||||||
--disable-inhibit-plugin \
|
|
||||||
--with-crypto=libgcrypt \
|
|
||||||
$(use_enable berkdb bdb-ro) \
|
|
||||||
$(use_enable python) \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable openmp) \
|
|
||||||
$(use_enable dbus inhibit-plugin) \
|
|
||||||
$(use_enable sqlite) \
|
|
||||||
$(use_with caps cap) \
|
|
||||||
$(use_with acl) \
|
|
||||||
$(use_with audit) \
|
|
||||||
$(use_with readline) \
|
|
||||||
$(use_enable zstd zstd $(usex zstd yes no))
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Known to fail with FEATURES=usersandbox (bug #657500)
|
|
||||||
if has usersandbox ${FEATURES} ; then
|
|
||||||
ewarn "You are emerging ${P} with 'usersandbox' enabled." \
|
|
||||||
"Expect some test failures or emerge with 'FEATURES=-usersandbox'!"
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake check
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Remove la files
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
|
|
||||||
# Fix symlinks to /bin/rpm (bug #349840)
|
|
||||||
for binary in rpmquery rpmverify; do
|
|
||||||
ln -sf rpm "${ED}"/usr/bin/${binary} || die
|
|
||||||
done
|
|
||||||
|
|
||||||
if ! use nls; then
|
|
||||||
rm -rf "${ED}"/usr/share/man/?? || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
keepdir /usr/src/rpm/{SRPMS,SPECS,SOURCES,RPMS,BUILD}
|
|
||||||
|
|
||||||
dodoc CREDITS README*
|
|
||||||
if use doc; then
|
|
||||||
local docname
|
|
||||||
for docname in librpm; do
|
|
||||||
docinto "html/${docname}"
|
|
||||||
dodoc -r "docs/${docname}/html/."
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fix perllocal.pod file collision
|
|
||||||
perl_delete_localpod
|
|
||||||
|
|
||||||
use python && python_optimize
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ -f "${EROOT}"/var/lib/rpm/Packages ]] ; then
|
|
||||||
einfo "RPM database found... Rebuilding database (may take a while)..."
|
|
||||||
"${EROOT}"/usr/bin/rpmdb --rebuilddb --root="${EROOT}/" || die
|
|
||||||
else
|
|
||||||
einfo "No RPM database found... Creating database..."
|
|
||||||
"${EROOT}"/usr/bin/rpmdb --initdb --root="${EROOT}/" || die
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,2 +1,2 @@
|
|||||||
DIST RemoteBox-3.4.tar.bz2 1066036 BLAKE2B 687e3e13b8f2177a1570e7cf9ee25b7fdd97fffe032e56f4e36e6f8b7270809c52cb63a76f3dce62bcb84dcf276b0ca1d66f0096eb8d1a6df9766c6a2cf428a4 SHA512 f82742ff7502324f010675e6086f8e9417485a040615dc246e26e4ea1360bc5a635b5b9989c6345028169509bd8bc16bbd60f482b7354ad4ee3ef81c91dbeddc
|
DIST RemoteBox-3.6.tar.bz2 1091779 BLAKE2B 7d2c0bcdbbabd80e157d634f08ecba4d0c649ad8685c9db4fc00b01224259a185535a0a03fde804e95eb28d030d9e243c6763d698814f8d6c5625e56b4889694 SHA512 e77b9c285b6405a86d44c5c922a88ce6e0da26841abfc0ec5b67ce1630ee14d32bc1789ce9536850961627f671c4f8a4eadd3abf205b4156faa9e7e279c421ab
|
||||||
EBUILD remotebox-3.4.ebuild 1631 BLAKE2B 153b47686338aca7289ca3fb472b305c02d6d16265c72bafd3064e7d61b14a86473aab561e3a92c28e10fd7d0ce4940080118f58f1efdc1e4a5390cd2edc850d SHA512 5d3a2b7f3eec9c949780e77e0857959906c420320181398ff52ba824f5632ed4314ddf4ba445bc080d29db88152e03e86d3b0d4585ebb2ed4bd2d2173f8fe6c6
|
EBUILD remotebox-3.6.ebuild 1631 BLAKE2B 153b47686338aca7289ca3fb472b305c02d6d16265c72bafd3064e7d61b14a86473aab561e3a92c28e10fd7d0ce4940080118f58f1efdc1e4a5390cd2edc850d SHA512 5d3a2b7f3eec9c949780e77e0857959906c420320181398ff52ba824f5632ed4314ddf4ba445bc080d29db88152e03e86d3b0d4585ebb2ed4bd2d2173f8fe6c6
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
DIST vice-3.6.1.tar.gz 11454300 BLAKE2B 129171380f3bd23d579dc29a96419446169cf9a98d2fec82951fa192914846053d213a19b395c9ca30596859cce35bcfea0de0c0a7461c45cb38511a546ca4b2 SHA512 9aeb1c84dc71976d12a9907d60c637ec4cc938aad103340b70a13906bbf2bebab579edc78221c7fba47f0750be3f9ded947200b42fcfc8a9169fb4bb9f288cb7
|
AUX vice-3.9-dupe-symbols.patch 5451 BLAKE2B 37e6fb35a4b08fae004fc96404eb8b48a2d183c80c184916ae2bcbb7a9a8e5d665bd96b76a9f5bb491201f1be6077f65d70b172408a7b25f85f8ca9eb2676376 SHA512 53c2ff8b9143950c28652ce9a204a8085e05c3f527ad41b74dcd3dda5f299eedb4811beee7d2f9e15d0e2610f1630679f85ebc73225417b0c377021ae9396fcd
|
||||||
DIST vice-3.8.tar.gz 13564021 BLAKE2B 709fd6eda874de542e5770a328b0c0308d04f755e3bf1fceba5147156eb894a95ce6f14e9f8848ca6992d4f958082f83a198d2176c1fe54e87027c7dfac8849c SHA512 fe644667736c32386b62af53314a95bf510c75d476eaab14b4c37693f2f57d6815126ab3db2f0cb11300c1a4a07c29b3f25210800ce97a673a0460ab59d0ebba
|
DIST vice-3.9.tar.gz 14249159 BLAKE2B 0c063e152c10ff537fbc9b1d8a5b4a108f08874fa4240772ec159ca19e457f626d6a5abbf4cb7c350291cc8b9fc19f8dba0b2be058363d50040ea42554d3ef4c SHA512 4a349dfe3e4310f1799cc705dffd01243df5b6ecfdb05b5f2ca3213fe6468831735dd3abcd6a34627e8ac2202bcb8ab617b81224c5a41cd83782868dd70b1fb8
|
||||||
EBUILD vice-3.6.1-r2.ebuild 4666 BLAKE2B 8ac073a26e1fab109a7adeb2059888661bdaa4a3abbc10d8ff338bf4c18739a120431b18a1d7c5676dd2dd25f1a127a1045eefb56ba8442fa94f106e78d1368a SHA512 4647c3d233f06371aeaf79e3e6fa4c6f3a135fa351b0ac934928d06b0421b8233fc04eb24776fa2b09845c830724c0174d558424eaecb18ec377b5a513ed3025
|
EBUILD vice-3.9.ebuild 4549 BLAKE2B e94aa36f37bd35f4297aa37e29dbf97f75902437817f9ef9722d2ed16c14509a65aada06599422dbd684e6feb290c9a6dacd8a1bda75fd086543aa4fc13372d3 SHA512 2d7d0ed2ee211bc7dcf7c65d7229b54affc01d03e7f8e453feb148e533359f00096da84bee4360abe3df5616e6ccbf31fb229383b50db4a145e2ec874a166f12
|
||||||
EBUILD vice-3.8-r1.ebuild 4396 BLAKE2B aee9784f0b3ea36c62984b86d8c78187d9b946cd22726c99f9eade27c03ceeb309ec6b993bbd25d3084d9d34981895480d65c5cd12c5615a2bcfa46ad96318a6 SHA512 bbee01adb59f4d62b5547d271b93c9a750a3f360a0ce329b9cd7e3782c63181a51f1d03f974f2442b896cb1b7be49beab60becfff98bbe3540d0340914ab484d
|
|
||||||
MISC ChangeLog 10438 BLAKE2B b9f985be8ff4e4c97fd9ba479ec2093b1c4dfd62cd9211e2744587b82d6772916b9eceed91df53dfa9e2439ce1c88e3ecd32a606690b34e1e095d0f9b62168c8 SHA512 fe80b5fd85f40aadf64ded6089e961d9cc08d2721484889fc1b02d985bc873c9cdbd55815331fb76436c73d1a07a56a16d790f8969a456ebe4e472b897810960
|
MISC ChangeLog 10438 BLAKE2B b9f985be8ff4e4c97fd9ba479ec2093b1c4dfd62cd9211e2744587b82d6772916b9eceed91df53dfa9e2439ce1c88e3ecd32a606690b34e1e095d0f9b62168c8 SHA512 fe80b5fd85f40aadf64ded6089e961d9cc08d2721484889fc1b02d985bc873c9cdbd55815331fb76436c73d1a07a56a16d790f8969a456ebe4e472b897810960
|
||||||
MISC metadata.xml 785 BLAKE2B 1dc59c7b40fda968680e97b1ad83e741faf223143bbc1ab2d523e37312badd3a3aaedc3bbffbd158531c74ae73dab1bb1ee03666a081eb17d819dc9e0b783ee2 SHA512 b483d325702723d1395bca771d215709fc68b6ca8309c4297c6a668d5940502c9c8d5d4149e1f52b8fd6d5062cf04b2e3d7046ecfc0555d2703b064e329af283
|
MISC metadata.xml 785 BLAKE2B 1dc59c7b40fda968680e97b1ad83e741faf223143bbc1ab2d523e37312badd3a3aaedc3bbffbd158531c74ae73dab1bb1ee03666a081eb17d819dc9e0b783ee2 SHA512 b483d325702723d1395bca771d215709fc68b6ca8309c4297c6a668d5940502c9c8d5d4149e1f52b8fd6d5062cf04b2e3d7046ecfc0555d2703b064e329af283
|
||||||
|
@ -1,195 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit multibuild toolchain-funcs xdg
|
|
||||||
|
|
||||||
DESCRIPTION="The Versatile Commodore Emulator"
|
|
||||||
HOMEPAGE="https://vice-emu.sourceforge.io/"
|
|
||||||
SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
|
||||||
IUSE="
|
|
||||||
alsa cpuhistory debug doc ethernet ffmpeg flac gif +gtk headless jpeg
|
|
||||||
lame mpg123 ogg openmp oss parport pci png portaudio pulseaudio sdl zlib"
|
|
||||||
REQUIRED_USE="
|
|
||||||
|| ( gtk headless sdl )
|
|
||||||
gtk? ( zlib )"
|
|
||||||
|
|
||||||
# ffmpeg/lame are loaded by dlopen(), keeping := to rebuild with same headers
|
|
||||||
# see bug #834359 for the ffmpeg upper bound
|
|
||||||
RDEPEND="
|
|
||||||
virtual/libintl
|
|
||||||
app-emulation/opencbm
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
ethernet? (
|
|
||||||
net-libs/libpcap
|
|
||||||
sys-libs/libcap
|
|
||||||
)
|
|
||||||
ffmpeg? ( <media-video/ffmpeg-5:= )
|
|
||||||
flac? ( media-libs/flac:= )
|
|
||||||
gif? ( media-libs/giflib:= )
|
|
||||||
gtk? (
|
|
||||||
dev-libs/atk
|
|
||||||
dev-libs/glib:2
|
|
||||||
media-libs/fontconfig:1.0
|
|
||||||
media-libs/glew:0=
|
|
||||||
sys-libs/readline:=
|
|
||||||
virtual/opengl
|
|
||||||
x11-libs/cairo
|
|
||||||
x11-libs/gdk-pixbuf:2
|
|
||||||
x11-libs/gtk+:3[X]
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/pango
|
|
||||||
)
|
|
||||||
jpeg? ( media-libs/libjpeg-turbo:= )
|
|
||||||
lame? ( media-sound/lame )
|
|
||||||
mpg123? ( media-sound/mpg123 )
|
|
||||||
ogg? (
|
|
||||||
media-libs/libogg
|
|
||||||
media-libs/libvorbis
|
|
||||||
)
|
|
||||||
parport? ( sys-libs/libieee1284 )
|
|
||||||
pci? ( sys-apps/pciutils )
|
|
||||||
png? ( media-libs/libpng:= )
|
|
||||||
portaudio? ( media-libs/portaudio )
|
|
||||||
pulseaudio? ( || ( media-libs/libpulse media-sound/pulseaudio ) )
|
|
||||||
sdl? (
|
|
||||||
media-libs/libsdl2[video]
|
|
||||||
media-libs/sdl2-image
|
|
||||||
sys-libs/readline:=
|
|
||||||
)
|
|
||||||
zlib? ( sys-libs/zlib:= )"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
x11-base/xorg-proto"
|
|
||||||
BDEPEND="
|
|
||||||
app-arch/unzip
|
|
||||||
app-text/dos2unix
|
|
||||||
dev-embedded/xa
|
|
||||||
dev-lang/perl
|
|
||||||
sys-apps/texinfo
|
|
||||||
sys-devel/flex
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/pkgconfig
|
|
||||||
app-alternatives/yacc
|
|
||||||
doc? ( virtual/texi2dvi )
|
|
||||||
gtk? ( x11-misc/xdg-utils )"
|
|
||||||
|
|
||||||
QA_CONFIGURE_OPTIONS="--disable-static" #814380
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Strip the predefined C(XX)FLAGS.
|
|
||||||
sed -i -r 's:(VICE_C(XX)?FLAGS=)"[^$]+":\1:' configure || die
|
|
||||||
|
|
||||||
MULTIBUILD_VARIANTS=(
|
|
||||||
$(usev gtk)
|
|
||||||
$(usev headless)
|
|
||||||
$(usev sdl)
|
|
||||||
)
|
|
||||||
|
|
||||||
# Debug build currently broken without copy sources.
|
|
||||||
multibuild_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export AR
|
|
||||||
|
|
||||||
multibuild_foreach_variant run_in_build_dir multibuild_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multibuild_src_configure() {
|
|
||||||
# Append ".variant" to x* programs if building multiple variants.
|
|
||||||
local xform
|
|
||||||
(( ${#MULTIBUILD_VARIANTS[@]} > 1 )) &&
|
|
||||||
xform="/^x/s/\$/.${MULTIBUILD_VARIANT}/"
|
|
||||||
|
|
||||||
vice-multi_enable() {
|
|
||||||
if [[ ${MULTIBUILD_VARIANT} == ${1} ]]; then
|
|
||||||
echo --enable-${2}
|
|
||||||
else
|
|
||||||
echo --disable-${2}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
local econfargs=(
|
|
||||||
--program-transform-name="${xform}"
|
|
||||||
$(vice-multi_enable gtk desktop-files)
|
|
||||||
$(vice-multi_enable gtk native-gtk3ui)
|
|
||||||
$(vice-multi_enable headless headlessui)
|
|
||||||
$(vice-multi_enable sdl sdlui2)
|
|
||||||
$(usex debug $(vice-multi_enable gtk debug-gtk3ui) --disable-debug-gtk3ui)
|
|
||||||
$(use_enable cpuhistory)
|
|
||||||
$(use_enable debug)
|
|
||||||
$(use_enable doc pdf-docs)
|
|
||||||
$(use_enable ethernet)
|
|
||||||
$(use_enable ffmpeg external-ffmpeg)
|
|
||||||
$(use_enable lame)
|
|
||||||
$(use_enable openmp)
|
|
||||||
$(use_enable parport libieee1284)
|
|
||||||
$(use_enable portaudio)
|
|
||||||
$(use_with alsa)
|
|
||||||
$(use_with flac)
|
|
||||||
$(use_with gif)
|
|
||||||
$(use_with jpeg)
|
|
||||||
$(use_with mpg123)
|
|
||||||
$(use_with ogg vorbis)
|
|
||||||
$(use_with oss)
|
|
||||||
$(use_with png)
|
|
||||||
$(use_with pulseaudio pulse)
|
|
||||||
$(use_with zlib)
|
|
||||||
$(usex alsa --enable-midi $(use_enable oss midi))
|
|
||||||
$(usev !pci ac_cv_header_pci_pci_h=no)
|
|
||||||
--disable-arch
|
|
||||||
--disable-sdlui
|
|
||||||
--enable-realdevice
|
|
||||||
ac_cv_lib_ungif_EGifPutLine=no # ensure use giflib, not ungif
|
|
||||||
|
|
||||||
# $(use_with curl libcurl) # new in 3.6 but is a unused placeholder
|
|
||||||
# --enable-io-simulation # likewise
|
|
||||||
)
|
|
||||||
|
|
||||||
econf "${econfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
multibuild_foreach_variant run_in_build_dir emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Get xdg-desktop-menu to play nicely while doing the install.
|
|
||||||
dodir /etc/xdg/menus /usr/share/{applications,desktop-directories}
|
|
||||||
|
|
||||||
XDG_UTILS_INSTALL_MODE=system \
|
|
||||||
XDG_DATA_DIRS="${ED}"/usr/share \
|
|
||||||
XDG_CONFIG_DIRS="${ED}"/etc/xdg \
|
|
||||||
multibuild_foreach_variant run_in_build_dir default
|
|
||||||
|
|
||||||
rm -f "${ED}"/usr/share/applications/*.cache || die
|
|
||||||
|
|
||||||
vice-install_extras() {
|
|
||||||
docinto html
|
|
||||||
dodoc doc/html/*.{html,css}
|
|
||||||
dodoc -r doc/html/images
|
|
||||||
|
|
||||||
insinto /usr/share/vim/vimfiles/ftdetect
|
|
||||||
doins doc/vim/ftdetect/*.vim
|
|
||||||
|
|
||||||
insinto /usr/share/vim/vimfiles/syntax
|
|
||||||
doins doc/vim/syntax/*.vim
|
|
||||||
}
|
|
||||||
multibuild_for_best_variant run_in_build_dir vice-install_extras
|
|
||||||
}
|
|
@ -1,189 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit multibuild toolchain-funcs xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Versatile Commodore Emulator"
|
|
||||||
HOMEPAGE="https://vice-emu.sourceforge.io/"
|
|
||||||
SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
|
||||||
IUSE="
|
|
||||||
alsa curl debug doc ethernet flac gif +gtk headless lame mpg123
|
|
||||||
ogg openmp oss parport pci png portaudio pulseaudio sdl
|
|
||||||
"
|
|
||||||
REQUIRED_USE="|| ( gtk headless sdl )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
sys-libs/zlib:=
|
|
||||||
app-emulation/opencbm
|
|
||||||
virtual/libintl
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
curl? ( net-misc/curl )
|
|
||||||
ethernet? (
|
|
||||||
net-libs/libpcap
|
|
||||||
sys-libs/libcap
|
|
||||||
)
|
|
||||||
flac? ( media-libs/flac:= )
|
|
||||||
gif? ( media-libs/giflib:= )
|
|
||||||
gtk? (
|
|
||||||
>=app-accessibility/at-spi2-core-2.46:2
|
|
||||||
dev-libs/glib:2
|
|
||||||
media-libs/fontconfig:1.0
|
|
||||||
media-libs/glew:0=[-egl-only(-)]
|
|
||||||
media-libs/libglvnd[X]
|
|
||||||
x11-libs/cairo
|
|
||||||
x11-libs/gdk-pixbuf:2
|
|
||||||
x11-libs/gtk+:3[X]
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/pango
|
|
||||||
)
|
|
||||||
lame? ( media-sound/lame )
|
|
||||||
mpg123? ( media-sound/mpg123 )
|
|
||||||
ogg? (
|
|
||||||
media-libs/libogg
|
|
||||||
media-libs/libvorbis
|
|
||||||
)
|
|
||||||
parport? ( sys-libs/libieee1284 )
|
|
||||||
pci? ( sys-apps/pciutils )
|
|
||||||
png? ( media-libs/libpng:= )
|
|
||||||
portaudio? ( media-libs/portaudio )
|
|
||||||
pulseaudio? ( media-libs/libpulse )
|
|
||||||
sdl? (
|
|
||||||
media-libs/libsdl2[video]
|
|
||||||
media-libs/sdl2-image
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
x11-base/xorg-proto
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
app-alternatives/awk
|
|
||||||
app-alternatives/yacc
|
|
||||||
app-arch/unzip
|
|
||||||
app-text/dos2unix
|
|
||||||
dev-embedded/xa
|
|
||||||
dev-lang/perl
|
|
||||||
sys-apps/texinfo
|
|
||||||
app-alternatives/lex
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/pkgconfig
|
|
||||||
doc? ( virtual/texi2dvi )
|
|
||||||
gtk? ( x11-misc/xdg-utils )
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Strip the predefined C(XX)FLAGS.
|
|
||||||
sed -i -r 's:(VICE_C(XX)?FLAGS=)"[^$]+":\1:' configure || die
|
|
||||||
|
|
||||||
MULTIBUILD_VARIANTS=(
|
|
||||||
$(usev gtk)
|
|
||||||
$(usev headless)
|
|
||||||
$(usev sdl)
|
|
||||||
)
|
|
||||||
|
|
||||||
# Debug build currently broken without copy sources.
|
|
||||||
multibuild_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export AR
|
|
||||||
|
|
||||||
multibuild_foreach_variant run_in_build_dir multibuild_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multibuild_src_configure() {
|
|
||||||
# Append ".variant" to x* programs if building multiple variants.
|
|
||||||
local xform
|
|
||||||
(( ${#MULTIBUILD_VARIANTS[@]} > 1 )) &&
|
|
||||||
xform="/^x/s/\$/.${MULTIBUILD_VARIANT}/"
|
|
||||||
|
|
||||||
vice-multi_enable() {
|
|
||||||
if [[ ${MULTIBUILD_VARIANT} == ${1} ]]; then
|
|
||||||
echo --enable-${2}
|
|
||||||
else
|
|
||||||
echo --disable-${2}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
local econfargs=(
|
|
||||||
--program-transform-name="${xform}"
|
|
||||||
$(vice-multi_enable gtk desktop-files)
|
|
||||||
$(vice-multi_enable gtk gtk3ui)
|
|
||||||
$(vice-multi_enable headless headlessui)
|
|
||||||
$(vice-multi_enable sdl sdl2ui)
|
|
||||||
$(usex debug $(vice-multi_enable gtk debug-gtk3ui) --disable-debug-gtk3ui)
|
|
||||||
$(use_enable debug)
|
|
||||||
$(use_enable doc pdf-docs)
|
|
||||||
$(use_enable ethernet)
|
|
||||||
$(use_enable openmp)
|
|
||||||
$(use_enable parport parsid)
|
|
||||||
$(use_with alsa)
|
|
||||||
$(use_with curl libcurl)
|
|
||||||
$(use_with flac)
|
|
||||||
$(use_with gif)
|
|
||||||
$(use_with lame)
|
|
||||||
$(use_with lame static-lame) # disables dlopen, uses shared still
|
|
||||||
$(use_with mpg123)
|
|
||||||
$(use_with ogg vorbis)
|
|
||||||
$(use_with oss)
|
|
||||||
$(use_with parport libieee1284)
|
|
||||||
$(use_with png)
|
|
||||||
$(use_with portaudio)
|
|
||||||
$(use_with pulseaudio pulse)
|
|
||||||
$(usex alsa --enable-midi $(use_enable oss midi))
|
|
||||||
$(usev !pci ac_cv_header_pci_pci_h=no)
|
|
||||||
--disable-arch
|
|
||||||
--disable-ffmpeg # deprecated in 3.8, also bug #834359
|
|
||||||
--disable-sdl1ui
|
|
||||||
--enable-realdevice
|
|
||||||
ac_cv_lib_ungif_EGifPutLine=no # ensure use giflib, not ungif
|
|
||||||
)
|
|
||||||
|
|
||||||
econf "${econfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# bug #924116 wrt SHELL
|
|
||||||
multibuild_foreach_variant run_in_build_dir emake SHELL="${BASH}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Get xdg-desktop-menu to play nicely while doing the install.
|
|
||||||
dodir /etc/xdg/menus /usr/share/{applications,desktop-directories}
|
|
||||||
|
|
||||||
XDG_UTILS_INSTALL_MODE=system \
|
|
||||||
XDG_DATA_DIRS="${ED}"/usr/share \
|
|
||||||
XDG_CONFIG_DIRS="${ED}"/etc/xdg \
|
|
||||||
multibuild_foreach_variant run_in_build_dir default
|
|
||||||
|
|
||||||
rm -f "${ED}"/usr/share/applications/*.cache || die
|
|
||||||
|
|
||||||
vice-install_extras() {
|
|
||||||
docinto html
|
|
||||||
dodoc doc/html/*.{html,css}
|
|
||||||
dodoc -r doc/html/images
|
|
||||||
|
|
||||||
insinto /usr/share/vim/vimfiles/ftdetect
|
|
||||||
doins doc/vim/ftdetect/*.vim
|
|
||||||
|
|
||||||
insinto /usr/share/vim/vimfiles/syntax
|
|
||||||
doins doc/vim/syntax/*.vim
|
|
||||||
}
|
|
||||||
multibuild_for_best_variant run_in_build_dir vice-install_extras
|
|
||||||
}
|
|
@ -1,3 +1,3 @@
|
|||||||
DIST op_linux_amd64_v2.29.0.zip 8571049 BLAKE2B 59d02221294f856a0df31fbd0295c2f013b88e0b923a31d431ac7a32b4786f8fd8eddb1e73b50a6334eb53dba584b73f83c9d3102a803da336103f581fddec17 SHA512 899bb2555ae3e65e00873aa4c27e29473b989c23e06b41c27e97c12230893e1d94ca00729daec564f916d23aea31f8bf95d29aac0832153365c0f81c92890224
|
DIST op_linux_amd64_v2.31.1.zip 9120892 BLAKE2B 463371d8ab8deda2315521742579fda38ef3b3c80121d6dae961316087f73973f6b79fdd6604ff35dd98de4a3092a829e187966e349221668fd879e241a414f8 SHA512 941026a1230419956dc6fc16d010116d2abd688c1be5eaabc205d09444c0b57db11ad5575514e9c24c97be39c653b147ee9ee1e647858abcc75c83fdf8b3a006
|
||||||
DIST op_linux_arm64_v2.29.0.zip 7873053 BLAKE2B b64d83e78cc59d3ce5bddb7be2c721f032eb7ebdb3f55884f7f399518af36eef932e9aa4888bcc6ffd4349217820b7b5150f8c49cb55d34a222b772758570953 SHA512 707e9f5959afcc826333e9313619d2ffa13de9d670375479764954031f53b6945e960a27b0ec2de07f772b68ac11b28d2bd7dab5582191cfa7712e58bd7f992e
|
DIST op_linux_arm64_v2.31.1.zip 8386642 BLAKE2B 7e62d5e59815ee509fc0a645f310844ad86827136169b9bd721929e4ad7de043dd2f95e819bcbb4774a5caab36db36454cc5a0e8bb348875eb9c26ad6b73d9bf SHA512 7babb08e953b71f8647035176a209c1a15e355ad45feca6a888ab1791374439caee18f77c4a707c82a4861321afb9c83a593db2fed98e958d0d4b84e878d693a
|
||||||
EBUILD 1password-cli-2.29.0.ebuild 703 BLAKE2B 58e1f74876eaa659a1f7ee390e2cff25d3e1de823b30449133070eaa7aa01fe6cbe7d0c8a8dc3c4d5de632a53c10c70c0babaa35a9f7d9b4728327485b6f3427 SHA512 cc08c961c0d7c667f8e464e7f6661449c8e3e97e5b487652747c0618bc34cb0f13c037a4c5708761b755b91afd492a52218daab7e1045a3e1ca12af14fd1c6b6
|
EBUILD 1password-cli-2.31.1.ebuild 703 BLAKE2B 58e1f74876eaa659a1f7ee390e2cff25d3e1de823b30449133070eaa7aa01fe6cbe7d0c8a8dc3c4d5de632a53c10c70c0babaa35a9f7d9b4728327485b6f3427 SHA512 cc08c961c0d7c667f8e464e7f6661449c8e3e97e5b487652747c0618bc34cb0f13c037a4c5708761b755b91afd492a52218daab7e1045a3e1ca12af14fd1c6b6
|
||||||
|
@ -1,79 +0,0 @@
|
|||||||
# Copyright 2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit desktop xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="The world's most-loved password manager"
|
|
||||||
HOMEPAGE="https://1password.com"
|
|
||||||
SRC_URI="
|
|
||||||
amd64? ( https://downloads.1password.com/linux/tar/stable/x86_64/"${PN}"-"${PV}".x64.tar.gz -> "${P}"-amd64.tar.gz )
|
|
||||||
arm64? ( https://downloads.1password.com/linux/tar/stable/aarch64/"${PN}"-"${PV}".arm64.tar.gz -> "${P}"-arm64.tar.gz )
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="all-rights-reserved"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm64"
|
|
||||||
|
|
||||||
IUSE="policykit cli"
|
|
||||||
|
|
||||||
RESTRICT="mirror strip test bindist"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
x11-misc/xdg-utils
|
|
||||||
acct-group/onepassword
|
|
||||||
policykit? ( sys-auth/polkit )
|
|
||||||
cli? ( app-misc/1password-cli )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
xdg_environment_reset
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if [ "${A}" != "" ]; then
|
|
||||||
unpack ${A}
|
|
||||||
fi
|
|
||||||
mv * "${P}" || die "Unpack failed!"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
mkdir -p "${D}"/opt/1Password
|
|
||||||
cp -ar "${S}"/* "${D}/opt/1Password/" || die "Install failed!"
|
|
||||||
|
|
||||||
mkdir -p "${D}"/usr/share/polkit-1/actions/
|
|
||||||
export POLICY_OWNERS
|
|
||||||
POLICY_OWNERS="$(cut -d: -f1,3 /etc/passwd | grep -E ':[0-9]{4}$' | cut -d: -f1 | head -n 10 | sed 's/^/unix-user:/' | tr '\n' ' ')"
|
|
||||||
eval "cat <<EOF
|
|
||||||
$(cat "${D}"/opt/1Password/com.1password.1Password.policy.tpl)
|
|
||||||
EOF" > "${D}"/usr/share/polkit-1/actions/com.1password.1Password.policy
|
|
||||||
|
|
||||||
dosym /opt/1Password/1password /usr/bin/1password
|
|
||||||
dosym /opt/1Password/op-ssh-sign /usr/bin/op-ssh-sign
|
|
||||||
|
|
||||||
mkdir -p "${D}"/usr/share
|
|
||||||
mv "${D}"/opt/1Password/resources/icons/ "${D}"/usr/share/
|
|
||||||
domenu "${S}"/resources/1password.desktop
|
|
||||||
|
|
||||||
mkdir -p "${D}"/etc/1password
|
|
||||||
mv "${D}"/opt/1Password/resources/custom_allowed_browsers "${D}"/etc/1password/
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
chmod 4755 /opt/1Password/chrome-sandbox
|
|
||||||
chgrp onepassword /opt/1Password/1Password-BrowserSupport
|
|
||||||
chmod g+s /opt/1Password/1Password-BrowserSupport
|
|
||||||
|
|
||||||
xdg_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
}
|
|
77
app-misc/1password/1password-8.10.78.ebuild
Normal file
77
app-misc/1password/1password-8.10.78.ebuild
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# shellcheck shell=bash
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit desktop xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Password Manager"
|
||||||
|
HOMEPAGE="https://1password.com"
|
||||||
|
SRC_URI="
|
||||||
|
amd64? ( https://downloads.1password.com/linux/tar/stable/x86_64/${PN}-${PV}.x64.tar.gz -> ${P}-amd64.tar.gz )
|
||||||
|
arm64? ( https://downloads.1password.com/linux/tar/stable/aarch64/${PN}-${PV}.arm64.tar.gz -> ${P}-arm64.tar.gz )"
|
||||||
|
|
||||||
|
LICENSE="all-rights-reserved"
|
||||||
|
KEYWORDS="amd64 arm64"
|
||||||
|
IUSE="policykit cli"
|
||||||
|
DEPEND="
|
||||||
|
x11-misc/xdg-utils
|
||||||
|
acct-group/onepassword
|
||||||
|
policykit? ( sys-auth/polkit )
|
||||||
|
cli? ( app-misc/1password-cli )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RESTRICT="bindist mirror strip"
|
||||||
|
|
||||||
|
QA_PREBUILT="usr/bin/${MY_PN}"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
xdg_environment_reset
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
mkdir -p "${D}/opt/1Password/"
|
||||||
|
cp -ar "${S}/${PN}-"**"/"* "${D}/opt/1Password/" || die "Install failed!"
|
||||||
|
|
||||||
|
# Fill in policy kit file with a list of (the first 10) human users of
|
||||||
|
# the system.
|
||||||
|
mkdir -p "${D}/usr/share/polkit-1/actions/"
|
||||||
|
export POLICY_OWNERS
|
||||||
|
POLICY_OWNERS="$(cut -d: -f1,3 /etc/passwd | grep -E ':[0-9]{4}$' | cut -d: -f1 | head -n 10 | sed 's/^/unix-user:/' | tr '\n' ' ')"
|
||||||
|
eval "cat <<EOF
|
||||||
|
$(cat "${D}/opt/1Password/com.1password.1Password.policy.tpl")
|
||||||
|
EOF" >"${D}/usr/share/polkit-1/actions/com.1password.1Password.policy"
|
||||||
|
chmod 644 "${D}/usr/share/polkit-1/actions/com.1password.1Password.policy"
|
||||||
|
|
||||||
|
dosym /opt/1Password/1password /usr/bin/1password
|
||||||
|
dosym /opt/1Password/op-ssh-sign /usr/bin/op-ssh-sign
|
||||||
|
|
||||||
|
dosym /opt/1Password/resources/1password.desktop "/usr/share/applications/${PN}.desktop"
|
||||||
|
newicon "${D}/opt/1Password/resources/icons/hicolor/512x512/apps/1password.png" "${PN}.png"
|
||||||
|
|
||||||
|
dodoc "${D}/opt/1Password/resources/custom_allowed_browsers"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# chrome-sandbox requires the setuid bit to be specifically set.
|
||||||
|
# See https://github.com/electron/electron/issues/17972
|
||||||
|
chmod 4755 /opt/1Password/chrome-sandbox
|
||||||
|
|
||||||
|
# This gives no extra permissions to the binary. It only hardens it against environmental tampering.
|
||||||
|
chgrp onepassword /opt/1Password/1Password-BrowserSupport
|
||||||
|
chmod g+s /opt/1Password/1Password-BrowserSupport
|
||||||
|
|
||||||
|
xdg_pkg_postinst
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_mimeinfo_database_update
|
||||||
|
}
|
@ -1,3 +1,3 @@
|
|||||||
DIST 1password-8.10.36-amd64.tar.gz 193898712 BLAKE2B 8e22df57aac1519763c9c446d9c6a322f71b48609b0deb57b3ee43389badef6623b7a33417e3093e17f6fa9647302748ae883236123b1c44fbb5b829249d7594 SHA512 43f2e59f1450b3790bddb8efb65b3fd1d1f719aea469dbc8cc090339cb1cef3383cf908b75b7c1ed28da0d8d967b2818d57c4a31f33d75a7131707ae2d675026
|
DIST 1password-8.10.78-amd64.tar.gz 207138896 BLAKE2B 5bed7bf7fa22153bb5eb835273045c5a808427a1f7ff60746bc3a7a52f5bfd574584f009687f01635ba439a19530d27bedfeaa859a821ec3c0ed3cf29c42b577 SHA512 f548463dec34c157aeebba78ae008824d1002deb9892fcc2bd189aab99fbf0685e9dd1bd75e92a14c48fb5beb584fc9d8421874caf59d0450c01ce9f76dda24d
|
||||||
DIST 1password-8.10.36-arm64.tar.gz 192293571 BLAKE2B bbab0545489f385e3f6f654db5fb39c07a8fea9e93cad32d149698bb11416e6e04079d65da7c59f447221e2c868c77859f96900bf910f832ef7cb2b039536b9c SHA512 7c5907167acab1c13ef45828293a37e81e86d20b39233f2e136b4056da791b30afd667a0aebf92859badca0b7666a24e02ba96de97e7ecca0ad5db44bd2acb16
|
DIST 1password-8.10.78-arm64.tar.gz 205755306 BLAKE2B c6e31afc4a24581213a057158150ff5bc3a724d36da57e9179f6433319dcf154cad9b548f6b8d0ef8d8c02a194702da557e01b3dbc2b87cfb962daf5f72c41bc SHA512 a7bbb1f2fbb7b9cdbd3e3d09df4cf3df9e1c170e576f13752eb356e9a66fcf3a27b58ab72d683fe77fea1735ae0795ed09f9991d15f525779609a661acd4ea91
|
||||||
EBUILD 1password-8.10.36.ebuild 2059 BLAKE2B 8185c2e233f9cd38bfc63c859c2bd5866752071a0ad6decc901521139e094317335cfb8c6bb5ad85440d147938701a62484f66cad8b1744324e6fe8792a7213f SHA512 4851e59690bcdf7ba1876bc4436fc6d64afcee3a3e93c4db4ede3eb19e6b4632cf68a1186bb43f2c613e98a011038057b96fb10b30b943152437fb342746e39f
|
EBUILD 1password-8.10.78.ebuild 2351 BLAKE2B b3ce72b2e3cdd2f02fd777dd2010f137fbe5962a0037fb8edc96135d2c706e48d2102325e665b1f130d2d5d0270d237b30c1b2986f57217fa64d0706c7e5dcd8 SHA512 6955334cb65e3d9e58654a1415e0b3a5292fd2028119d4783a547a709faac631febf5e48a3be3dadefae0c610221eb8d970f161c5ce3adc2753b1bdff1d8016a
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
AUX cl-linux-yield.patch 632 BLAKE2B 015e96bf2ba557cc2dba0b6c0ddc88af77a397ccd6757a56c58a7a6c2474d7cee7918fac243b4b3e0afb1bdc0521b643cbba6ad4d165545c04da6b03d8a93a31 SHA512 f543d695e53d5d3d2b0dcf41ffe54c9ba204d5cc0a05ec9531c7d83d74fb812998084aa7cfea5656f9639c031ef39dba008dae013dbc464eb5606a77ea707e4a
|
AUX cl-linux-yield.patch 632 BLAKE2B 015e96bf2ba557cc2dba0b6c0ddc88af77a397ccd6757a56c58a7a6c2474d7cee7918fac243b4b3e0afb1bdc0521b643cbba6ad4d165545c04da6b03d8a93a31 SHA512 f543d695e53d5d3d2b0dcf41ffe54c9ba204d5cc0a05ec9531c7d83d74fb812998084aa7cfea5656f9639c031ef39dba008dae013dbc464eb5606a77ea707e4a
|
||||||
AUX cl-makefile.patch 5055 BLAKE2B f8823c06267f63d649a5b3065358487f508aa605e02b4f0175f35c2f4932ab5efd3496b5756a6c4739a60a997e8620df68b2d216a2ea2c33bbb412abff41b587 SHA512 038eca02e5a90cb8872f2d88c23ff968d7ed6b46a4af219dd3789fbd28b2b3d8d00344d0212e2d912efce0049d60378a639f589d278906a438b154bab44d5fe1
|
AUX cl-makefile.patch 5055 BLAKE2B f8823c06267f63d649a5b3065358487f508aa605e02b4f0175f35c2f4932ab5efd3496b5756a6c4739a60a997e8620df68b2d216a2ea2c33bbb412abff41b587 SHA512 038eca02e5a90cb8872f2d88c23ff968d7ed6b46a4af219dd3789fbd28b2b3d8d00344d0212e2d912efce0049d60378a639f589d278906a438b154bab44d5fe1
|
||||||
|
AUX make_order.patch 1964 BLAKE2B 9b8fcd29584b89c8741caadafff97b6adb3c7f4e1b02d5a8cc32e6cc07ee4f075854622085073984388ed8143c05973bbbd58f0c2f6418d4a984a1561abb5b44 SHA512 c6272ed45031f419f9b7f5f89d3cce2211ab61e31d5f1656d2a967a821c34bbe77d42d05afaf0f7e5a1174b0f89ae0a0a59f44c0ca531b9f179def1e2ed739b3
|
||||||
AUX st_crypt-9999.patch 453 BLAKE2B 2af345fa011c79d70fdf401722048926742c0f5314b3273f3ed8e6f62f771a959d9d15830b4356afae7da2822931076b861342ddf012dc23f0f1c279325366d9 SHA512 27c8efb9787d56d6f64c76fa6c0b1451c20d26e08e01cbc5d1d6cffe687f04c21fa9c7b70ef210e2eb6db94ddb5754a11a783861c538beb5984eed5e6deadb8e
|
AUX st_crypt-9999.patch 453 BLAKE2B 2af345fa011c79d70fdf401722048926742c0f5314b3273f3ed8e6f62f771a959d9d15830b4356afae7da2822931076b861342ddf012dc23f0f1c279325366d9 SHA512 27c8efb9787d56d6f64c76fa6c0b1451c20d26e08e01cbc5d1d6cffe687f04c21fa9c7b70ef210e2eb6db94ddb5754a11a783861c538beb5984eed5e6deadb8e
|
||||||
AUX st_crypt.patch 421 BLAKE2B c816a89d35b498d9ee50286fc36371e6866289bd7c6ae4ce31e4dc9d54d4fa90a6cbc2972ea520f027111e8f8037ff3188d61ef65350208a4475afe920f55f87 SHA512 f1a9bcea0f18ca60ba95bd71db8f0c418f26563e3584817bbc6de98cccffb0a0de683d5ed1bdd1daa1b5a8ff00e3808bcb0727530962d395aa11861dff590830
|
AUX st_crypt.patch 421 BLAKE2B c816a89d35b498d9ee50286fc36371e6866289bd7c6ae4ce31e4dc9d54d4fa90a6cbc2972ea520f027111e8f8037ff3188d61ef65350208a4475afe920f55f87 SHA512 f1a9bcea0f18ca60ba95bd71db8f0c418f26563e3584817bbc6de98cccffb0a0de683d5ed1bdd1daa1b5a8ff00e3808bcb0727530962d395aa11861dff590830
|
||||||
|
AUX webget.patch 417 BLAKE2B bc7cef08ba2fd0d5aa6fde6a56c217fc9582dfcdfa7943996e29fc145a3b2b256ac9538380162187f9fa609c4d405ac08b8bf635e062f105dd2789ece235eeea SHA512 17d2d571b89834dd15b52b9a7220e0aeb5977858f48be9eaf8082a7085889ba0ebb6af79a1c29aa91fe072dc5c42f35d78efd324c2e72787c4a3fefde6fe4793
|
||||||
DIST syncterm-1.1-src.tgz 18270212 BLAKE2B 91043a31374d73d29a447ab425007aad95ee7d22ded3ea4a518c1fa05958b5f20a4a83df9f575e9cb3962301cc31b55ab876e96addd617e045627d34e56fd922 SHA512 b5280e8f64ce12101f810dbee38a113e03450356a1fbc46a7c63a57eb8ca382e99ec1586b0a3527e336c9725efedae2ce80c5d4b372456eba1f090ec0f8c80eb
|
DIST syncterm-1.1-src.tgz 18270212 BLAKE2B 91043a31374d73d29a447ab425007aad95ee7d22ded3ea4a518c1fa05958b5f20a4a83df9f575e9cb3962301cc31b55ab876e96addd617e045627d34e56fd922 SHA512 b5280e8f64ce12101f810dbee38a113e03450356a1fbc46a7c63a57eb8ca382e99ec1586b0a3527e336c9725efedae2ce80c5d4b372456eba1f090ec0f8c80eb
|
||||||
|
DIST syncterm-1.6-src.tgz 10986287 BLAKE2B ce61305e7ac2fac9680a995c4aadf42a86e17da4bc780f0f5b1ee880c666fe4c1d2e79b74a40af0cfc801190896847946d56e1ae2e9727e333757e3d36efcb0a SHA512 17b7d8ff5707172cb7baf3a2a3f573a38c9ec653d2ab2b5725b60f8fcbd392fefa58c6e57aa41ad89bbcdab98f373d891def6787f836b23eaabde373d82afa8a
|
||||||
EBUILD syncterm-1.1.ebuild 1014 BLAKE2B d866105fb154a0d0e59368bec862408d1f5fdcbe02849583eea1a81c00a2fdabee082933ed8af55f67b18a42db82870eea05583a49ba1d88affc01332e5cfac9 SHA512 de1677f5a030e9b76d504451a0237b40e51637cbba072c92487dc7eec8ad7d2ab7bd2cae983302f1794161f2e14742796b11c488291d2fe6a48cfcad2a26343c
|
EBUILD syncterm-1.1.ebuild 1014 BLAKE2B d866105fb154a0d0e59368bec862408d1f5fdcbe02849583eea1a81c00a2fdabee082933ed8af55f67b18a42db82870eea05583a49ba1d88affc01332e5cfac9 SHA512 de1677f5a030e9b76d504451a0237b40e51637cbba072c92487dc7eec8ad7d2ab7bd2cae983302f1794161f2e14742796b11c488291d2fe6a48cfcad2a26343c
|
||||||
|
EBUILD syncterm-1.6.ebuild 1011 BLAKE2B 26fcad25d6c779c0dcee36efd955af02d60b2a971dbb3a32327f17631cee080de828089368e58e23801a9e9da70b1949a5ed2deb049a804f919b2a4353ee1fd2 SHA512 19afb6ba129ad4672c1ec3ba6255e8d0a008f97e09f73119e91731371ee2db070804e210a7d7a455c54d2cfc9c2a7d7b6b08c88a2ddcd3e15f40d16c88f78f55
|
||||||
EBUILD syncterm-9999.ebuild 1154 BLAKE2B c10abf879ab6b4ca913919ce390c80b5a1966e43fc85dbe3bc1a0837ba81897500bc31425f5125df6bd1d762758bf690435443d2fa7cd1318ffe33a4e865f705 SHA512 aec42b4ec42e640d139515058073172b27b01572847be3f7201654482412649af391f0d8d7fc98bc726f6ba664eb65f1d0bef0733320a8a39af7c32d0a392658
|
EBUILD syncterm-9999.ebuild 1154 BLAKE2B c10abf879ab6b4ca913919ce390c80b5a1966e43fc85dbe3bc1a0837ba81897500bc31425f5125df6bd1d762758bf690435443d2fa7cd1318ffe33a4e865f705 SHA512 aec42b4ec42e640d139515058073172b27b01572847be3f7201654482412649af391f0d8d7fc98bc726f6ba664eb65f1d0bef0733320a8a39af7c32d0a392658
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
AUX 0001-HTML-Input-Dont-add-resources-that-exist-outside-the.patch 2420 BLAKE2B eafb4c38c87bdb708905b0c17b9d3466dad76c1f286f702b6c063c9af866ab8dc656af019eb10a70fa841cfda4e47e1eac9276abdd63d23cf2ffe69f377ad110 SHA512 083e7112f6bdabd0f1894a8afacc87a166ffdad7fa9c88683f05991249b2aa18de04c4e5d842991b0b49a6d0d76248093a7f6ed29a3d0c1a6725e8ab512982e7
|
|
||||||
AUX 0001-PIL-11.0-changes-its-webp-features-output.patch 1223 BLAKE2B 959dc14e452dd1d19a67976fef43e7fc12ec7739d91710848e9f0cfd24966d553c74521a48a44f3b67d36256ef2041b20b8ee2201a855870270512a5937c36ba SHA512 365f55f94d3657a39a5495604f383e3ecda2ed9c4ab8e783b5117b59f2707f933722939049f4450e7629a3f91ce0c607d968427e6b05b9a00e275980b5b2c2ca
|
|
||||||
AUX calibre-5.35.0-jxr-test.patch 827 BLAKE2B 0a94ac5b12ee2ec732d3ff68979c2060b0b218eee27409b3c351a9cc0b6bccce2260b8b387b442ae10f31483b20bd6d672f7d5424f7d9a8297a1bd14af2f7793 SHA512 259a3b4882bf0fbb01cb22974e219a621a2b337d6f638234a806148b11142fdbf9ac36ae38e71fcb7e18bd61362b34cf3c221ba1df317ec6ea8668591ad2d3ff
|
|
||||||
AUX calibre-5.44.0-Fix-compatibility-with-zeroconf-0.73.patch 1065 BLAKE2B 7a74b7d7788340f96b326619f5e2bd916ff21644f0554b2507fcea439eec8217b8b002a2da3b99021fa576a6d3a6fd15d82222f005b8a4fbf37ab5016f33bdb9 SHA512 13f6fc949cc8c5c66013c772cd40429a679fa067d7828cc02e416ecbd556eafb56bebc80bc85a8b442feb3e6b94518450252e701e6426f5a2cde9d102312cf87
|
|
||||||
AUX calibre-5.44.0-icu75.patch 1294 BLAKE2B 1f05f84e5653a7c3d9162fc1dc7d91fc73b3346323e05d3c379227deece394e0754a6c2d72223ef2453abf5b062ba3ad3b4705b110bd333e643fa0a35d0a0ad4 SHA512 3eecadbd27cb178f630b80b789d3e3a437d95e883b429473414fd08d9a412a9c32201b7b859d28446523426caff292580c244a86a1b7bb117fa2b7281fd15b5f
|
|
||||||
AUX calibre-5.44.0-xss-backport.patch 1272 BLAKE2B 65be0f6b97b387b37faa86f79d84e150f0a2801a8f2bde95497ebf4f292f95a56bf9c49613d727446dfa9afdef6a4f108a28e1c02cb4343bbc717834ae544896 SHA512 d8ae8fbe64c40169efd4a2f090c194d5a032b2d7072b6f7763932597b227fb12f88712290fd902cf639d40fff48a8806226037d6bb89e8bb4d1a7a79d4bdc21f
|
|
||||||
AUX calibre-7.0.0-jxr-test.patch 935 BLAKE2B bc38ea2f2d10ec4859ee03ab5d18048df4cf0af5ce4076efc013013bc975966390d618c43ce621675e3b8ee8f929bfaebaa72cf6bb7d8dea544bca77d9772b60 SHA512 db8da42fdcf5b5d5dfad35c128e394cf8f51e57dda6cd1a482803429738515fc1a8b338c711679a11acb93678f35f10883e1bf282e1443ccaafe2eb470fbbfee
|
|
||||||
AUX calibre-7.17.0-qt-texttospeech.patch 1857 BLAKE2B c043883ffc42314d00754907ccbadbc6f1d4916f4d53b0cfe0a86403d251db26f07b26a169671683fd26816868e4f7538705c57024f1314d863edb39937bcee5 SHA512 246c1e8dc4f423b8d87d8e96b13d695c1efe1bd24c69b06fa82b8d655aad89d206ae1bc5998b9f2d160bcd1b87f4d0af41806ed17de711b445811a159d165a37
|
|
||||||
AUX calibre-server-3.conf 541 BLAKE2B 06593633721e6adf2cf2077dffa83953eea46ccdcdc857ad468a9b74788326e9424f6ab9058be344dbbac8e49d343f5a1e53ddb486f2018b77319a7f8f713cf4 SHA512 12ef793a5b6ffd4413f780a13cad63927a95f15d17d85d4229eb5005ead68e51779abb822f9898ab5ae8c2094affeec1f9e85c34f109499739e6726b7641542a
|
|
||||||
AUX calibre-server-3.init 1796 BLAKE2B f87d785d6f6fc10fa648d40944ec8538027854bb872d9a3be6b5b35b0abf3cda1e4e93874a9422914da5eb4287f193459733956e3f1e25e61bec0c214c552c99 SHA512 88110ded1b9c6cf8d3bfc3d5889654f77578f9d299e88daea9023767b930082e00fbddbb92a6e43c46d900248f3684232d93396ec1d0e784c7ec14b44783f98a
|
|
||||||
AUX e9cc00560a28f56a303cca97630ab58e519dd9c8.patch 1335 BLAKE2B eb71cb5510d2259bbc7a4fe7b54652bb543aa3d26816654da7e22a6effb0c81770a91eccccecff5fe711d0495ff5b1ab378231e3cb10dd18f3faeb301acab1ba SHA512 211ea8c0fab1de5bd076eb965eda51ee1330a69e54251fc6a16e5aa0d6ef7721aea14a57a27eb75a99c8e37418aa15bd311e6f4d03f1f05d80cd87d2f00fb995
|
|
||||||
DIST calibre-5.44.0.tar.xz 41015696 BLAKE2B c7053e728da20fccfa981ed4f56e24a4d5b382b7687c92ecb039b078fd4828de0529380093e4ab33f77d78aa54a59758c1620cf8f918937a9a64f13decdf77ee SHA512 3d79e76d820cd1a41605dfd4c1d992599a6e4a759e57a8383d42d86982177e4539313f59e647758ab1896ce5874cb2a93c7678bf962e332c44171651aabf0230
|
|
||||||
DIST calibre-5.44.0.tar.xz.sig 566 BLAKE2B 413b95855d79bdb5b17ca5d760f834006797b4d3e413604f27d351a3392e16d647e772dc063306bf973e1156c34f68cb38152a66164bca849ebed5484e7f6065 SHA512 59957bf35a73f218241bf76cc86994d5af87cea11d3b0800e83f157bf0b2cfcaf4b6c1314562e74a1141d0c167fdb1619cb9a90e93b67f55dd55ceed77045059
|
|
||||||
DIST calibre-7.16.0.tar.xz 44833684 BLAKE2B 2b609a0d014d43998f693a69c10f6d8b0165bf97f8c9d388cf4e1e398e7254b300d53b26e5ec24af651e03bb625bb088331dc77aa2ed6edea13de2beb0e75339 SHA512 5ea11badd972422299ce143e2aa33f58f7abcfd2837acba47d2a7aa6f0997a711245273205ed043c783e5e82bbaaf7cab44e5c03c00e274a03a4ba29be53a708
|
|
||||||
DIST calibre-7.16.0.tar.xz.sig 566 BLAKE2B 1d09e8dd49ad53c88632dc23573fa9cd5403d45a308598ac4ed7d4f2dd5a84cc3ae6812ac652ff4a98fc5d67589ad1584411f7746b6b98468bf03a35a0585de6 SHA512 91f3897d95d234a8d673006273974d32cb6c5aa4953d247700d6d89d511c9b1450dc8e222eabf5d1e4d82de206e425ee440defaff38d1ca83efdbf4bcada7c7c
|
|
||||||
DIST calibre-7.17.0.tar.xz 45053400 BLAKE2B 93149c4fab7a25e1239c4b8c72b766e5ffc71eb27d1206225bc8436f26d2c76f9323e0f0f63d8444291f02a5a7e94d4500715398a71df4ab2a5b16e325e7be73 SHA512 916337dc425916110528828bac0fbdc24db9496362c1e8dad67eafdfda42b90174fb6a4352400cd34af0f11268aabed82b166b3e4875f59e317359079e10bf3b
|
|
||||||
DIST calibre-7.17.0.tar.xz.sig 566 BLAKE2B c041904919ef300f51ba7363daf7d2bc70fc8bb819ffef157e53c28f91b9716be56b1e95465180ecd67069241a5810b70ac08027f4837426a5426792fab05e49 SHA512 af88bcbf394ac6ec68c40d661545a17e956b31dd7797d1cc8490e090437206902a64c7a642cf1e34184e379c79066843959e1459eb1836bddbd615febbc85c07
|
|
||||||
DIST calibre-7.19.0.tar.xz 45057708 BLAKE2B 888ddf4292b8c8931c811eb78d6e9b003139545947f2b7bf63fcd96d96caa050a0f93a30ed0313ccf9b4ebfb25c2df1be7f2806d5117a870d1ac34ad29669e39 SHA512 b1225d6d403a8c4dca321c108d270aa79cf65a450f7db90a4e4df5525e8c1c6eb06b4a2492de7b691f6a1a85ce09361dc3796311c46fa082d6e82829827022a7
|
|
||||||
DIST calibre-7.19.0.tar.xz.sig 566 BLAKE2B 35a9f8987f0dfad0a14843f3db61f8b3442692dafdf9d253ed13c2071b7e8d9d4cec8012dad4b59b30013fdda790967cf42594a29c6a9a2a668bccda72ac2e72 SHA512 836a0138ed46b179fefe78bc678f6f8146fe5d8a1eb9111f02bcc804d96253281c918cc4ad7a3a860a3177babac9c6fd4b2e417361e59b7245d19bfa50f3f739
|
|
||||||
DIST calibre-7.20.0.tar.xz 44795188 BLAKE2B 2ccb7fcd5acdf9f627d79f5656709a7eddee7545dd2c8a95bbb7d2dc61fb26dcf8c34c3c2d6b1514fdbb6b4d7c3fd3e98be72c778026c7b2bb4a42651c5e664b SHA512 3b6e2d4ed8d0755096b466f4bdcc8b6ca4810398caa2322c1efc30280680ff8b10dc5fb8cb763bed8fee82746e7c51c6f31f56e5d9689d5f43c671442004c532
|
|
||||||
DIST calibre-7.20.0.tar.xz.sig 566 BLAKE2B 4d89a7781eb1500969ca75ddf01890bbfea6ecfde4e7173f062be6546e898f68a16e0ff7a3d76e5e17dc0abca617d381de24e18e72f4f05b5965b051f28e6cab SHA512 62dc9964c3a30477e22f832148fdaa57860559e2aaddccff107b37c399854ac3ca84097cd7072c2ee4e57403c7ed17286469f31f6efc3d790f63f438d9c78c79
|
|
||||||
DIST calibre-7.21.0.tar.xz 44802864 BLAKE2B f86ce0f310ac5b38f3aa54ca6436ad9c22c465e5608089c0178fcc5ed87d988ffae50d6b760ae4281ce68315998a5e1c426f243b58bfae86a78e5479d824070d SHA512 0c2ee610833df83219c0c33b09e1374a8262f1630ccd48e3c4725c92922a3ac5d102ad83fc213457fb9de3efa4f5a2c98ff6dff039828e1661085a1054d7f631
|
|
||||||
DIST calibre-7.21.0.tar.xz.sig 566 BLAKE2B 6410767553809878644ccae960b756b3b0571309bf4cbb61b9282586442243d41d1b2da578f97fbf7fbac573c7e9f84bc293e6b38e921850bce44bc7c87d74c8 SHA512 444492b958a01105cb60e8653f8b0e3c5c27a42876527b642f176a375459d3a5664b601aa8fa64c3d39ae486200cd456cd8691a055f7f7530225df106b1bd074
|
|
||||||
DIST calibre-7.22.0.tar.xz 42428392 BLAKE2B e9b7e0dc6e92340ff76d99f44f8265a572d05afadb6b5b06312a6dfbc6b0540d49647686a3fbb367da67a31d680ec8982a46d7baeb2c8371b4eeea1f0eb6c1f8 SHA512 583a1e2bcdd05c350e57cb205fc95eb076210ea5c9156f95a08c63e27f418ecb735c0a68212514edaa05af61e780cf8377a1e1b76a89729ee13b4d5ed34359c7
|
|
||||||
DIST calibre-7.22.0.tar.xz.sig 566 BLAKE2B d818c347043efcd8b01f68efdfdae43bf0315d45a7d8c52e8920972b8fa718b9551edb388a0531eb1781c8a959b31a16bb6f1dec517d3415b0a596d50c4d368e SHA512 9e72f286f01bf3ca76d702f0a8415635d5a352e06765f14a50fae828bea3f5c710200eb857075972e1bcfd176c05983421d899a13ef5aa9c3aa7e996bce80e5e
|
|
||||||
EBUILD calibre-5.44.0-r5.ebuild 8984 BLAKE2B b5f9a34dadb013f347366ccbe2cc36168b85caf4a466188665d949d6116406664ba533290395046148d24104140aaa94b6caf5027444293c9fe17de43a27b4ca SHA512 43381007298d2f41cad354cd608e6f3b04192bb055836d9175d8c9204832f26d54297b0da0ddea4e6139ae058fb49ff761932978992928885b8197f193749804
|
|
||||||
EBUILD calibre-7.16.0.ebuild 7987 BLAKE2B 61535b4bea3c99a8ac5cbe3b6738c91c3bdd0d30780a904102fc1b21799b835e922c034045bbfcf234f3a99890c0fa0203274ccefbdf570254dc946c65ea503b SHA512 090609b21ec694a22a89f27a516e10d5772bc5377c87e0fe2ff0b751c01d2a0cf9c4fa0512541a77e49483cbf7722a83e264b3bb0b45f3ee6f8d73e2b8f7054e
|
|
||||||
EBUILD calibre-7.17.0.ebuild 8155 BLAKE2B e8045cf5f3e6557b0027ba84ce2c4e2558a1dd67f6007eee794ac2571c5277ed45b6c45b183d0144fe58c297af405637cb95c54ebdcfaaa96e6a9c117e7c3533 SHA512 07ba8a2a98a960111dec197e415b8ffcd9697a6d7e2278c7b417d6e89864713d7f0b1e7a015b23958f08db8fb5965e1c7502fc79508872c24b979d4b053eae38
|
|
||||||
EBUILD calibre-7.19.0.ebuild 8374 BLAKE2B 80659908ab33bf598b3f3706c0c6b57cf477af6953e14f038544920862839864dc3dccc53f029e1fd45a62cc4d9f40719f1306ed44a474c6c8912977616639a6 SHA512 9a469b83c5c36b42e8d3e589a9a56cc7cf7be74bbf2e30f7d0987386de80882c8e8a538d7d873bf175f3bf5eacaf9fef09c93ddffa5e46b5d08aaebcf7d50566
|
|
||||||
EBUILD calibre-7.20.0.ebuild 8400 BLAKE2B a36548f91272362a57c6286342855044cb39f7712ddfa9e55a3c72627ababc4eacdca6008741e63df056eb2ca7e5df0f59c22830ab988fcc3a8b683eb232ef79 SHA512 28a5034d892e24d61ffb0e40e0d996ce0a4dbb0faded49240d42803d920917457471efd86dd5706f64ab1075d917432daa9c482da0c3d302dcb78c41487d52a5
|
|
||||||
EBUILD calibre-7.21.0.ebuild 8305 BLAKE2B cf08c0f9a5d1046632aa77f7d6e0ce2cb24551e716fe6f4c7614f508c8331841a574337b2678b0b79396f15d02df629247c7da16a90c0e925fb56d3567394230 SHA512 ec7852d1b70a18df376d10ea2d93b1147a3da58f3c635ecd6ac23c90c9f53f79b6da7a71d533334e62fc8b6f5aae6babfbbf8aaa3cc4fdb947516f999f7eda3c
|
|
||||||
EBUILD calibre-7.22.0.ebuild 8337 BLAKE2B 93f2ebb81f4b2a0c15921b72b33bd13bdbef9f474b3def869a1f90862acab431edc37d25ab37a64c41763f2bf9503ab575c06fe980826950be6f23a04bc0cbe7 SHA512 27a8ed9283914061c446a519c8e88e29c4dde9c91e45f9f9385b74b6f635f1579d6345e28a8606fc238d65549d18176ab8f780b970731b2765f3901010732492
|
|
||||||
MISC metadata.xml 662 BLAKE2B 102f4f537d2127c42311951cd5ca73e41a0ab948d85a037ed24c876382ffe628070d96b7310a337ac8efac61b32fd225b840b20fbe3f51e4cbf48ce073e95e7c SHA512 9929c8d731dfa112cf4b2ca67ddb269360a4f2cd84d9c0c0df6adfa2efe04669e1a45d9d7011f1dffe9e7ebf185e348478c2a1afa2bf2351e69b4f7e7c14da32
|
|
@ -1,265 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..12} )
|
|
||||||
PYTHON_REQ_USE="sqlite,ssl"
|
|
||||||
|
|
||||||
inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="
|
|
||||||
https://download.calibre-ebook.com/${PV}/${P}.tar.xz
|
|
||||||
verify-sig? ( https://calibre-ebook.com/signatures/${P}.tar.xz.sig )
|
|
||||||
"
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kovidgoyal.gpg
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
IUSE="ios speech +system-mathjax test +udisks unrar"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
# Qt slotted dependencies are used because the libheadless.so plugin links to
|
|
||||||
# QT_*_PRIVATE_ABI. It only uses core/gui/dbus.
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.9.6_pre20171027:=
|
|
||||||
<app-text/podofo-0.10:=
|
|
||||||
app-text/poppler[utils]
|
|
||||||
dev-libs/hyphen:=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/openssl:=
|
|
||||||
dev-libs/snowball-stemmer:=
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/faust-cchardet[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/lxml-html-clean[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[jpeg,truetype,webp,zlib,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyqt5-5.15.5_pre2107091435[gui,widgets,network,printsupport,svg,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyqtwebengine-5.15.5_pre2108100905[${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
dev-qt/qtimageformats:5
|
|
||||||
dev-qt/qtcore:5=
|
|
||||||
dev-qt/qtdbus:5=
|
|
||||||
dev-qt/qtgui:5=[jpeg,png]
|
|
||||||
dev-qt/qtwidgets:5
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
speech? ( $(python_gen_cond_dep 'app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]') )
|
|
||||||
system-mathjax? ( >=dev-libs/mathjax-3:= )
|
|
||||||
udisks? ( virtual/libudev )
|
|
||||||
unrar? ( dev-python/unrardll )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( sys-fs/udisks:2 )"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
test? ( $(python_gen_cond_dep '>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]') )
|
|
||||||
"
|
|
||||||
BDEPEND="$(python_gen_cond_dep '
|
|
||||||
>=dev-python/pyqt-builder-1.10.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sip-5[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
>=virtual/podofo-build-0.9.6_pre20171027
|
|
||||||
<virtual/podofo-build-0.10
|
|
||||||
virtual/pkgconfig
|
|
||||||
system-mathjax? ( dev-lang/rapydscript-ng )
|
|
||||||
verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Skip calling a binary (JxrDecApp) from libjxr which is used for tests
|
|
||||||
# We don't (yet?) package libjxr and it seems to be dead upstream
|
|
||||||
# (last commit in 2017)
|
|
||||||
"${FILESDIR}/${PN}-5.35.0-jxr-test.patch"
|
|
||||||
|
|
||||||
# fix compatibility with recent versions of zeroconf
|
|
||||||
"${FILESDIR}"/${PN}-5.44.0-Fix-compatibility-with-zeroconf-0.73.patch
|
|
||||||
|
|
||||||
# Security backport for CVE-2023-46303
|
|
||||||
"${FILESDIR}"/0001-HTML-Input-Dont-add-resources-that-exist-outside-the.patch
|
|
||||||
# bug #936270
|
|
||||||
"${FILESDIR}"/${P}-icu75.patch
|
|
||||||
# backport test-only fix for lxml 5
|
|
||||||
"${FILESDIR}"/e9cc00560a28f56a303cca97630ab58e519dd9c8.patch
|
|
||||||
# Security backport for CVE-2024-7008
|
|
||||||
"${FILESDIR}"/${P}-xss-backport.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Warning:
|
|
||||||
#
|
|
||||||
# While it might be rather tempting to add yet another sed here,
|
|
||||||
# please don't. There have been several bugs in Gentoo's packaging
|
|
||||||
# of calibre from seds-which-become-stale. Please consider
|
|
||||||
# creating a patch instead, but in any case, run the test suite
|
|
||||||
# and ensure it passes.
|
|
||||||
#
|
|
||||||
# If in doubt about a problem, checking Fedora's packaging is recommended.
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
sed -e "/^ os.chdir(os.path.join(src_dir, 'build'))$/a\
|
|
||||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
|
||||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
|
||||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
|
||||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
|
||||||
'-i', os.path.join(os.path.basename(src_dir), 'Makefile')])" \
|
|
||||||
-e "s|open(self.j(bdir, '.qmake.conf'), 'wb').close()|open(self.j(bdir, '.qmake.conf'), 'wb').write(b'QMAKE_LFLAGS += ${LDFLAGS}')|" \
|
|
||||||
-i setup/build.py || die "sed failed to patch build.py"
|
|
||||||
|
|
||||||
# This is only ever used at build time. It contains a small embedded copy
|
|
||||||
# of the rapydscript-ng compiler usable inside of qtwebengine, if you don't
|
|
||||||
# have rapydscript-ng (a nodejs package) itself installed. Its only purpose
|
|
||||||
# is to build some resources that come bundled in dist tarballs already...
|
|
||||||
# and which we may also need to regenerate e.g. to use system-mathjax.
|
|
||||||
#
|
|
||||||
# However, running qtwebengine violates the portage sandbox (among other
|
|
||||||
# things, it tries to create directories in /usr! amazing) so this is a
|
|
||||||
# wash anyway. The only real solution here is to package rapydscript-ng.
|
|
||||||
#
|
|
||||||
# We do not need it at build time, and *no one* needs it at install time.
|
|
||||||
# Delete the cruft.
|
|
||||||
rm -r resources/rapydscript/ || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# TODO: get qmake called by setup.py to respect CC and CXX too
|
|
||||||
tc-export CC CXX
|
|
||||||
|
|
||||||
# bug 821871
|
|
||||||
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
|
|
||||||
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
|
|
||||||
export QMAKE="$(qt5_get_bindir)/qmake"
|
|
||||||
|
|
||||||
edo ${EPYTHON} setup.py build
|
|
||||||
edo ${EPYTHON} setup.py gui
|
|
||||||
|
|
||||||
# A few different resources are bundled in the distfile by default, because
|
|
||||||
# not all systems necessarily have them. We un-vendor them, using the
|
|
||||||
# upstream integrated approach if possible. See setup/revendor.py and
|
|
||||||
# consider migrating other resources to this if they do not use it, in
|
|
||||||
# *preference* over manual rm'ing.
|
|
||||||
edo ${EPYTHON} setup.py liberation_fonts \
|
|
||||||
--path-to-liberation_fonts "${EPREFIX}"/usr/share/fonts/liberation-fonts \
|
|
||||||
--system-liberation_fonts
|
|
||||||
if use system-mathjax; then
|
|
||||||
edo ${EPYTHON} setup.py mathjax --path-to-mathjax "${EPREFIX}"/usr/share/mathjax --system-mathjax
|
|
||||||
edo ${EPYTHON} setup.py rapydscript
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Skipped tests:
|
|
||||||
local _test_excludes=(
|
|
||||||
# unpackaged Python dependency: py7zr
|
|
||||||
7z
|
|
||||||
# tests if a completely unused module is bundled
|
|
||||||
pycryptodome
|
|
||||||
|
|
||||||
$(usev !speech speech_dispatcher)
|
|
||||||
$(usev !unrar test_unrar)
|
|
||||||
|
|
||||||
# undocumented reasons
|
|
||||||
test_mem_leaks
|
|
||||||
test_searching
|
|
||||||
)
|
|
||||||
|
|
||||||
edo ${PYTHON} setup.py test "${_test_excludes[@]/#/--exclude-test-name=}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C.utf8 # bug #709682
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${HOME}/.config/calibre"
|
|
||||||
mkdir -p "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
# If this directory doesn't exist, zsh completion won't install
|
|
||||||
dodir /usr/share/zsh/site-functions
|
|
||||||
|
|
||||||
edo "${PYTHON}" setup.py install \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
|
||||||
--staging-libdir="${ED}/usr/$(get_libdir)" \
|
|
||||||
--system-plugins-location="${EPREFIX}/usr/share/calibre/system-plugins"
|
|
||||||
|
|
||||||
cp -r man-pages/ "${ED}"/usr/share/man || die
|
|
||||||
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete || die
|
|
||||||
|
|
||||||
python_fix_shebang "${ED}/usr/bin"
|
|
||||||
|
|
||||||
python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)"
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
}
|
|
@ -1,243 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..12} )
|
|
||||||
PYTHON_REQ_USE="sqlite,ssl"
|
|
||||||
|
|
||||||
inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="
|
|
||||||
https://download.calibre-ebook.com/${PV}/${P}.tar.xz
|
|
||||||
verify-sig? ( https://calibre-ebook.com/signatures/${P}.tar.xz.sig )
|
|
||||||
"
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kovidgoyal.gpg
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64"
|
|
||||||
IUSE="+font-subsetting ios speech +system-mathjax test +udisks unrar"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
# Qt slotted dependencies are used because the libheadless.so plugin links to
|
|
||||||
# QT_*_PRIVATE_ABI. It only uses core/gui/dbus.
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
app-i18n/uchardet
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.10.0:=
|
|
||||||
app-text/poppler[utils]
|
|
||||||
dev-libs/hyphen:=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/openssl:=
|
|
||||||
dev-libs/snowball-stemmer:=
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/lxml-html-clean[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[jpeg,truetype,webp,zlib,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyqt6[gui,network,opengl,printsupport,quick,svg,widgets,${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyqt6-webengine[widgets,${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/xxhash[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/zeroconf-0.75.0[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
dev-qt/qtbase:6=[gui,widgets]
|
|
||||||
dev-qt/qtimageformats:6
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
font-subsetting? ( $(python_gen_cond_dep 'dev-python/fonttools[${PYTHON_USEDEP}]') )
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
speech? ( $(python_gen_cond_dep 'app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]') )
|
|
||||||
system-mathjax? ( >=dev-libs/mathjax-3:= )
|
|
||||||
udisks? ( virtual/libudev )
|
|
||||||
unrar? ( dev-python/unrardll )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( sys-fs/udisks:2 )"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
test? ( $(python_gen_cond_dep '>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]') )
|
|
||||||
"
|
|
||||||
BDEPEND="$(python_gen_cond_dep '
|
|
||||||
>=dev-python/pyqt-builder-1.10.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sip-5[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
virtual/pkgconfig
|
|
||||||
system-mathjax? ( dev-lang/rapydscript-ng )
|
|
||||||
verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Skip calling a binary (JxrDecApp) from libjxr which is used for tests
|
|
||||||
# We don't (yet?) package libjxr and it seems to be dead upstream
|
|
||||||
# (last commit in 2017)
|
|
||||||
"${FILESDIR}/${PN}-7.0.0-jxr-test.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Warning:
|
|
||||||
#
|
|
||||||
# While it might be rather tempting to add yet another sed here,
|
|
||||||
# please don't. There have been several bugs in Gentoo's packaging
|
|
||||||
# of calibre from seds-which-become-stale. Please consider
|
|
||||||
# creating a patch instead, but in any case, run the test suite
|
|
||||||
# and ensure it passes.
|
|
||||||
#
|
|
||||||
# If in doubt about a problem, checking Fedora's packaging is recommended.
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
|
|
||||||
# This is only ever used at build time. It contains a small embedded copy
|
|
||||||
# of the rapydscript-ng compiler usable inside of qtwebengine, if you don't
|
|
||||||
# have rapydscript-ng (a nodejs package) itself installed. Its only purpose
|
|
||||||
# is to build some resources that come bundled in dist tarballs already...
|
|
||||||
# and which we may also need to regenerate e.g. to use system-mathjax.
|
|
||||||
#
|
|
||||||
# However, running qtwebengine violates the portage sandbox (among other
|
|
||||||
# things, it tries to create directories in /usr! amazing) so this is a
|
|
||||||
# wash anyway. The only real solution here is to package rapydscript-ng.
|
|
||||||
#
|
|
||||||
# We do not need it at build time, and *no one* needs it at install time.
|
|
||||||
# Delete the cruft.
|
|
||||||
rm -r resources/rapydscript/ || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# TODO: get qmake called by setup.py to respect CC and CXX too
|
|
||||||
tc-export CC CXX
|
|
||||||
|
|
||||||
# bug 821871
|
|
||||||
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
|
|
||||||
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
|
|
||||||
export QMAKE="$(qt6_get_bindir)/qmake"
|
|
||||||
|
|
||||||
edo ${EPYTHON} setup.py build
|
|
||||||
edo ${EPYTHON} setup.py gui
|
|
||||||
|
|
||||||
# A few different resources are bundled in the distfile by default, because
|
|
||||||
# not all systems necessarily have them. We un-vendor them, using the
|
|
||||||
# upstream integrated approach if possible. See setup/revendor.py and
|
|
||||||
# consider migrating other resources to this if they do not use it, in
|
|
||||||
# *preference* over manual rm'ing.
|
|
||||||
edo ${EPYTHON} setup.py liberation_fonts \
|
|
||||||
--path-to-liberation_fonts "${EPREFIX}"/usr/share/fonts/liberation-fonts \
|
|
||||||
--system-liberation_fonts
|
|
||||||
if use system-mathjax; then
|
|
||||||
edo ${EPYTHON} setup.py mathjax --path-to-mathjax "${EPREFIX}"/usr/share/mathjax --system-mathjax
|
|
||||||
edo ${EPYTHON} setup.py rapydscript
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Skipped tests:
|
|
||||||
local _test_excludes=(
|
|
||||||
# unpackaged Python dependency: py7zr
|
|
||||||
7z
|
|
||||||
# unpackaged Python dependency: pyzstd
|
|
||||||
test_zstd
|
|
||||||
# tests if a completely unused module is bundled
|
|
||||||
pycryptodome
|
|
||||||
|
|
||||||
$(usev !speech speech_dispatcher)
|
|
||||||
$(usev !unrar test_unrar)
|
|
||||||
|
|
||||||
# undocumented reasons
|
|
||||||
test_mem_leaks
|
|
||||||
test_searching
|
|
||||||
)
|
|
||||||
|
|
||||||
edo ${PYTHON} setup.py test "${_test_excludes[@]/#/--exclude-test-name=}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C.utf8 # bug #709682
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${HOME}/.config/calibre"
|
|
||||||
mkdir -p "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
# If this directory doesn't exist, zsh completion won't install
|
|
||||||
dodir /usr/share/zsh/site-functions
|
|
||||||
|
|
||||||
edo "${PYTHON}" setup.py install \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
|
||||||
--staging-libdir="${ED}/usr/$(get_libdir)" \
|
|
||||||
--system-plugins-location="${EPREFIX}/usr/share/calibre/system-plugins"
|
|
||||||
|
|
||||||
cp -r man-pages/ "${ED}"/usr/share/man || die
|
|
||||||
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete || die
|
|
||||||
|
|
||||||
python_fix_shebang "${ED}/usr/bin"
|
|
||||||
|
|
||||||
python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)"
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
}
|
|
@ -1,246 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..12} )
|
|
||||||
PYTHON_REQ_USE="sqlite,ssl"
|
|
||||||
|
|
||||||
inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="
|
|
||||||
https://download.calibre-ebook.com/${PV}/${P}.tar.xz
|
|
||||||
verify-sig? ( https://calibre-ebook.com/signatures/${P}.tar.xz.sig )
|
|
||||||
"
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kovidgoyal.gpg
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64"
|
|
||||||
IUSE="+font-subsetting ios speech +system-mathjax test +udisks unrar"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
# Qt slotted dependencies are used because the libheadless.so plugin links to
|
|
||||||
# QT_*_PRIVATE_ABI. It only uses core/gui/dbus.
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
app-i18n/uchardet
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.10.0:=
|
|
||||||
app-text/poppler[utils]
|
|
||||||
dev-libs/hyphen:=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/openssl:=
|
|
||||||
dev-libs/snowball-stemmer:=
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/lxml-html-clean[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[jpeg,truetype,webp,zlib,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyqt6[gui,network,opengl,printsupport,quick,svg,widgets,${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyqt6-webengine[widgets,${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/xxhash[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/zeroconf-0.75.0[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
dev-qt/qtbase:6=[gui,widgets]
|
|
||||||
dev-qt/qtimageformats:6
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
font-subsetting? ( $(python_gen_cond_dep 'dev-python/fonttools[${PYTHON_USEDEP}]') )
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
speech? ( $(python_gen_cond_dep 'app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]') )
|
|
||||||
system-mathjax? ( >=dev-libs/mathjax-3:= )
|
|
||||||
udisks? ( virtual/libudev )
|
|
||||||
unrar? ( dev-python/unrardll )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( sys-fs/udisks:2 )"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
test? ( $(python_gen_cond_dep '>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]') )
|
|
||||||
"
|
|
||||||
BDEPEND="$(python_gen_cond_dep '
|
|
||||||
>=dev-python/pyqt-builder-1.10.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sip-5[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
virtual/pkgconfig
|
|
||||||
system-mathjax? ( dev-lang/rapydscript-ng )
|
|
||||||
verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Skip calling a binary (JxrDecApp) from libjxr which is used for tests
|
|
||||||
# We don't (yet?) package libjxr and it seems to be dead upstream
|
|
||||||
# (last commit in 2017)
|
|
||||||
"${FILESDIR}/${PN}-7.0.0-jxr-test.patch"
|
|
||||||
# Don't test availability of PyQt6 tts module, which is not yet used.
|
|
||||||
# Recheck this with future version bumps...
|
|
||||||
"${FILESDIR}"/calibre-7.17.0-qt-texttospeech.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Warning:
|
|
||||||
#
|
|
||||||
# While it might be rather tempting to add yet another sed here,
|
|
||||||
# please don't. There have been several bugs in Gentoo's packaging
|
|
||||||
# of calibre from seds-which-become-stale. Please consider
|
|
||||||
# creating a patch instead, but in any case, run the test suite
|
|
||||||
# and ensure it passes.
|
|
||||||
#
|
|
||||||
# If in doubt about a problem, checking Fedora's packaging is recommended.
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
|
|
||||||
# This is only ever used at build time. It contains a small embedded copy
|
|
||||||
# of the rapydscript-ng compiler usable inside of qtwebengine, if you don't
|
|
||||||
# have rapydscript-ng (a nodejs package) itself installed. Its only purpose
|
|
||||||
# is to build some resources that come bundled in dist tarballs already...
|
|
||||||
# and which we may also need to regenerate e.g. to use system-mathjax.
|
|
||||||
#
|
|
||||||
# However, running qtwebengine violates the portage sandbox (among other
|
|
||||||
# things, it tries to create directories in /usr! amazing) so this is a
|
|
||||||
# wash anyway. The only real solution here is to package rapydscript-ng.
|
|
||||||
#
|
|
||||||
# We do not need it at build time, and *no one* needs it at install time.
|
|
||||||
# Delete the cruft.
|
|
||||||
rm -r resources/rapydscript/ || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# TODO: get qmake called by setup.py to respect CC and CXX too
|
|
||||||
tc-export CC CXX
|
|
||||||
|
|
||||||
# bug 821871
|
|
||||||
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
|
|
||||||
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
|
|
||||||
export QMAKE="$(qt6_get_bindir)/qmake"
|
|
||||||
|
|
||||||
edo ${EPYTHON} setup.py build
|
|
||||||
edo ${EPYTHON} setup.py gui
|
|
||||||
|
|
||||||
# A few different resources are bundled in the distfile by default, because
|
|
||||||
# not all systems necessarily have them. We un-vendor them, using the
|
|
||||||
# upstream integrated approach if possible. See setup/revendor.py and
|
|
||||||
# consider migrating other resources to this if they do not use it, in
|
|
||||||
# *preference* over manual rm'ing.
|
|
||||||
edo ${EPYTHON} setup.py liberation_fonts \
|
|
||||||
--path-to-liberation_fonts "${EPREFIX}"/usr/share/fonts/liberation-fonts \
|
|
||||||
--system-liberation_fonts
|
|
||||||
if use system-mathjax; then
|
|
||||||
edo ${EPYTHON} setup.py mathjax --path-to-mathjax "${EPREFIX}"/usr/share/mathjax --system-mathjax
|
|
||||||
edo ${EPYTHON} setup.py rapydscript
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Skipped tests:
|
|
||||||
local _test_excludes=(
|
|
||||||
# unpackaged Python dependency: py7zr
|
|
||||||
7z
|
|
||||||
# unpackaged Python dependency: pyzstd
|
|
||||||
test_zstd
|
|
||||||
# tests if a completely unused module is bundled
|
|
||||||
pycryptodome
|
|
||||||
|
|
||||||
$(usev !speech speech_dispatcher)
|
|
||||||
$(usev !unrar test_unrar)
|
|
||||||
|
|
||||||
# undocumented reasons
|
|
||||||
test_mem_leaks
|
|
||||||
test_searching
|
|
||||||
)
|
|
||||||
|
|
||||||
edo ${PYTHON} setup.py test "${_test_excludes[@]/#/--exclude-test-name=}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C.utf8 # bug #709682
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${HOME}/.config/calibre"
|
|
||||||
mkdir -p "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
# If this directory doesn't exist, zsh completion won't install
|
|
||||||
dodir /usr/share/zsh/site-functions
|
|
||||||
|
|
||||||
edo "${PYTHON}" setup.py install \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
|
||||||
--staging-libdir="${ED}/usr/$(get_libdir)" \
|
|
||||||
--system-plugins-location="${EPREFIX}/usr/share/calibre/system-plugins"
|
|
||||||
|
|
||||||
cp -r man-pages/ "${ED}"/usr/share/man || die
|
|
||||||
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete || die
|
|
||||||
|
|
||||||
python_fix_shebang "${ED}/usr/bin"
|
|
||||||
|
|
||||||
python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)"
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
}
|
|
@ -1,254 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..12} )
|
|
||||||
PYTHON_REQ_USE="sqlite,ssl"
|
|
||||||
|
|
||||||
inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="
|
|
||||||
https://download.calibre-ebook.com/${PV}/${P}.tar.xz
|
|
||||||
verify-sig? ( https://calibre-ebook.com/signatures/${P}.tar.xz.sig )
|
|
||||||
"
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kovidgoyal.gpg
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64"
|
|
||||||
IUSE="+font-subsetting ios speech +system-mathjax test +udisks unrar"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
# Qt slotted dependencies are used because the libheadless.so plugin links to
|
|
||||||
# QT_*_PRIVATE_ABI. It only uses core/gui/dbus.
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
app-i18n/uchardet
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.10.0:=
|
|
||||||
app-text/poppler[utils]
|
|
||||||
dev-libs/hyphen:=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/openssl:=
|
|
||||||
dev-libs/snowball-stemmer:=
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/lxml-html-clean[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[jpeg,truetype,webp,zlib,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyqt6[gui,network,opengl,printsupport,quick,svg,widgets,${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyqt6-webengine[widgets,${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/xxhash[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/zeroconf-0.75.0[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
dev-qt/qtbase:6=[gui,widgets]
|
|
||||||
dev-qt/qtimageformats:6
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
font-subsetting? ( $(python_gen_cond_dep 'dev-python/fonttools[${PYTHON_USEDEP}]') )
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
speech? (
|
|
||||||
$(python_gen_cond_dep 'app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]')
|
|
||||||
dev-python/pyqt6[multimedia,speech]
|
|
||||||
)
|
|
||||||
system-mathjax? ( >=dev-libs/mathjax-3:= )
|
|
||||||
udisks? ( virtual/libudev )
|
|
||||||
unrar? ( dev-python/unrardll )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( sys-fs/udisks:2 )"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
test? ( $(python_gen_cond_dep '>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]') )
|
|
||||||
"
|
|
||||||
BDEPEND="$(python_gen_cond_dep '
|
|
||||||
>=dev-python/pyqt-builder-1.10.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sip-5[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
virtual/pkgconfig
|
|
||||||
system-mathjax? ( dev-lang/rapydscript-ng )
|
|
||||||
verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Skip calling a binary (JxrDecApp) from libjxr which is used for tests
|
|
||||||
# We don't (yet?) package libjxr and it seems to be dead upstream
|
|
||||||
# (last commit in 2017)
|
|
||||||
"${FILESDIR}/${PN}-7.0.0-jxr-test.patch"
|
|
||||||
# fix tests with pillow 11
|
|
||||||
"${FILESDIR}"/0001-PIL-11.0-changes-its-webp-features-output.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Warning:
|
|
||||||
#
|
|
||||||
# While it might be rather tempting to add yet another sed here,
|
|
||||||
# please don't. There have been several bugs in Gentoo's packaging
|
|
||||||
# of calibre from seds-which-become-stale. Please consider
|
|
||||||
# creating a patch instead, but in any case, run the test suite
|
|
||||||
# and ensure it passes.
|
|
||||||
#
|
|
||||||
# If in doubt about a problem, checking Fedora's packaging is recommended.
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
|
|
||||||
# This is only ever used at build time. It contains a small embedded copy
|
|
||||||
# of the rapydscript-ng compiler usable inside of qtwebengine, if you don't
|
|
||||||
# have rapydscript-ng (a nodejs package) itself installed. Its only purpose
|
|
||||||
# is to build some resources that come bundled in dist tarballs already...
|
|
||||||
# and which we may also need to regenerate e.g. to use system-mathjax.
|
|
||||||
#
|
|
||||||
# However, running qtwebengine violates the portage sandbox (among other
|
|
||||||
# things, it tries to create directories in /usr! amazing) so this is a
|
|
||||||
# wash anyway. The only real solution here is to package rapydscript-ng.
|
|
||||||
#
|
|
||||||
# We do not need it at build time, and *no one* needs it at install time.
|
|
||||||
# Delete the cruft.
|
|
||||||
rm -r resources/rapydscript/ || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# TODO: get qmake called by setup.py to respect CC and CXX too
|
|
||||||
tc-export CC CXX
|
|
||||||
|
|
||||||
# bug 821871
|
|
||||||
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
|
|
||||||
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
|
|
||||||
export QMAKE="$(qt6_get_bindir)/qmake"
|
|
||||||
|
|
||||||
edo ${EPYTHON} setup.py build
|
|
||||||
edo ${EPYTHON} setup.py gui
|
|
||||||
|
|
||||||
# A few different resources are bundled in the distfile by default, because
|
|
||||||
# not all systems necessarily have them. We un-vendor them, using the
|
|
||||||
# upstream integrated approach if possible. See setup/revendor.py and
|
|
||||||
# consider migrating other resources to this if they do not use it, in
|
|
||||||
# *preference* over manual rm'ing.
|
|
||||||
edo ${EPYTHON} setup.py liberation_fonts \
|
|
||||||
--path-to-liberation_fonts "${EPREFIX}"/usr/share/fonts/liberation-fonts \
|
|
||||||
--system-liberation_fonts
|
|
||||||
if use system-mathjax; then
|
|
||||||
edo ${EPYTHON} setup.py mathjax --path-to-mathjax "${EPREFIX}"/usr/share/mathjax --system-mathjax
|
|
||||||
edo ${EPYTHON} setup.py rapydscript
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Skipped tests:
|
|
||||||
local _test_excludes=(
|
|
||||||
# unpackaged Python dependency: py7zr
|
|
||||||
7z
|
|
||||||
# unpackaged Python dependency: pyzstd
|
|
||||||
test_zstd
|
|
||||||
# unpackaged TTS backend (optional at runtime): https://github.com/rhasspy/piper
|
|
||||||
piper
|
|
||||||
# tests if a completely unused module is bundled
|
|
||||||
pycryptodome
|
|
||||||
|
|
||||||
$(usev !speech speech_dispatcher)
|
|
||||||
$(usev !unrar test_unrar)
|
|
||||||
|
|
||||||
# undocumented reasons
|
|
||||||
test_mem_leaks
|
|
||||||
test_searching
|
|
||||||
)
|
|
||||||
|
|
||||||
# Some of these tests weren't practical to split out into distinct tests, so
|
|
||||||
# have a different control mechanism
|
|
||||||
use speech || export SKIP_SPEECH_TESTS=1
|
|
||||||
|
|
||||||
edo ${PYTHON} setup.py test "${_test_excludes[@]/#/--exclude-test-name=}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C.utf8 # bug #709682
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${HOME}/.config/calibre"
|
|
||||||
mkdir -p "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
# If this directory doesn't exist, zsh completion won't install
|
|
||||||
dodir /usr/share/zsh/site-functions
|
|
||||||
|
|
||||||
edo "${PYTHON}" setup.py install \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
|
||||||
--staging-libdir="${ED}/usr/$(get_libdir)" \
|
|
||||||
--system-plugins-location="${EPREFIX}/usr/share/calibre/system-plugins"
|
|
||||||
|
|
||||||
cp -r man-pages/ "${ED}"/usr/share/man || die
|
|
||||||
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete || die
|
|
||||||
|
|
||||||
python_fix_shebang "${ED}/usr/bin"
|
|
||||||
|
|
||||||
python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)"
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
}
|
|
@ -1,255 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..12} )
|
|
||||||
PYTHON_REQ_USE="sqlite,ssl"
|
|
||||||
|
|
||||||
inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="
|
|
||||||
https://download.calibre-ebook.com/${PV}/${P}.tar.xz
|
|
||||||
verify-sig? ( https://calibre-ebook.com/signatures/${P}.tar.xz.sig )
|
|
||||||
"
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kovidgoyal.gpg
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64"
|
|
||||||
IUSE="+font-subsetting ios speech +system-mathjax test +udisks unrar"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
# Qt slotted dependencies are used because the libheadless.so plugin links to
|
|
||||||
# QT_*_PRIVATE_ABI. It only uses core/gui/dbus.
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
app-i18n/uchardet
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.10.0:=
|
|
||||||
app-text/poppler[utils]
|
|
||||||
dev-libs/hyphen:=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/openssl:=
|
|
||||||
dev-libs/snowball-stemmer:=
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/lxml-html-clean[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[jpeg,truetype,webp,zlib,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyqt6[gui,network,opengl,printsupport,quick,svg,widgets,${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyqt6-webengine[widgets,${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/xxhash[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/zeroconf-0.75.0[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
dev-qt/qtbase:6=[gui,widgets]
|
|
||||||
dev-qt/qtimageformats:6
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
>=media-video/ffmpeg-6:=
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
font-subsetting? ( $(python_gen_cond_dep 'dev-python/fonttools[${PYTHON_USEDEP}]') )
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
speech? (
|
|
||||||
$(python_gen_cond_dep 'app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]')
|
|
||||||
dev-python/pyqt6[multimedia,speech]
|
|
||||||
)
|
|
||||||
system-mathjax? ( >=dev-libs/mathjax-3:= )
|
|
||||||
udisks? ( virtual/libudev )
|
|
||||||
unrar? ( dev-python/unrardll )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( sys-fs/udisks:2 )"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
test? ( $(python_gen_cond_dep '>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]') )
|
|
||||||
"
|
|
||||||
BDEPEND="$(python_gen_cond_dep '
|
|
||||||
>=dev-python/pyqt-builder-1.10.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sip-5[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
virtual/pkgconfig
|
|
||||||
system-mathjax? ( dev-lang/rapydscript-ng )
|
|
||||||
verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Skip calling a binary (JxrDecApp) from libjxr which is used for tests
|
|
||||||
# We don't (yet?) package libjxr and it seems to be dead upstream
|
|
||||||
# (last commit in 2017)
|
|
||||||
"${FILESDIR}/${PN}-7.0.0-jxr-test.patch"
|
|
||||||
# fix tests with pillow 11
|
|
||||||
"${FILESDIR}"/0001-PIL-11.0-changes-its-webp-features-output.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Warning:
|
|
||||||
#
|
|
||||||
# While it might be rather tempting to add yet another sed here,
|
|
||||||
# please don't. There have been several bugs in Gentoo's packaging
|
|
||||||
# of calibre from seds-which-become-stale. Please consider
|
|
||||||
# creating a patch instead, but in any case, run the test suite
|
|
||||||
# and ensure it passes.
|
|
||||||
#
|
|
||||||
# If in doubt about a problem, checking Fedora's packaging is recommended.
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
|
|
||||||
# This is only ever used at build time. It contains a small embedded copy
|
|
||||||
# of the rapydscript-ng compiler usable inside of qtwebengine, if you don't
|
|
||||||
# have rapydscript-ng (a nodejs package) itself installed. Its only purpose
|
|
||||||
# is to build some resources that come bundled in dist tarballs already...
|
|
||||||
# and which we may also need to regenerate e.g. to use system-mathjax.
|
|
||||||
#
|
|
||||||
# However, running qtwebengine violates the portage sandbox (among other
|
|
||||||
# things, it tries to create directories in /usr! amazing) so this is a
|
|
||||||
# wash anyway. The only real solution here is to package rapydscript-ng.
|
|
||||||
#
|
|
||||||
# We do not need it at build time, and *no one* needs it at install time.
|
|
||||||
# Delete the cruft.
|
|
||||||
rm -r resources/rapydscript/ || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# TODO: get qmake called by setup.py to respect CC and CXX too
|
|
||||||
tc-export CC CXX
|
|
||||||
|
|
||||||
# bug 821871
|
|
||||||
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
|
|
||||||
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
|
|
||||||
export QMAKE="$(qt6_get_bindir)/qmake"
|
|
||||||
|
|
||||||
edo ${EPYTHON} setup.py build
|
|
||||||
edo ${EPYTHON} setup.py gui
|
|
||||||
|
|
||||||
# A few different resources are bundled in the distfile by default, because
|
|
||||||
# not all systems necessarily have them. We un-vendor them, using the
|
|
||||||
# upstream integrated approach if possible. See setup/revendor.py and
|
|
||||||
# consider migrating other resources to this if they do not use it, in
|
|
||||||
# *preference* over manual rm'ing.
|
|
||||||
edo ${EPYTHON} setup.py liberation_fonts \
|
|
||||||
--path-to-liberation_fonts "${EPREFIX}"/usr/share/fonts/liberation-fonts \
|
|
||||||
--system-liberation_fonts
|
|
||||||
if use system-mathjax; then
|
|
||||||
edo ${EPYTHON} setup.py mathjax --path-to-mathjax "${EPREFIX}"/usr/share/mathjax --system-mathjax
|
|
||||||
edo ${EPYTHON} setup.py rapydscript
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Skipped tests:
|
|
||||||
local _test_excludes=(
|
|
||||||
# unpackaged Python dependency: py7zr
|
|
||||||
7z
|
|
||||||
# unpackaged Python dependency: pyzstd
|
|
||||||
test_zstd
|
|
||||||
# unpackaged TTS backend (optional at runtime): https://github.com/rhasspy/piper
|
|
||||||
piper
|
|
||||||
# tests if a completely unused module is bundled
|
|
||||||
pycryptodome
|
|
||||||
|
|
||||||
$(usev !speech speech_dispatcher)
|
|
||||||
$(usev !unrar test_unrar)
|
|
||||||
|
|
||||||
# undocumented reasons
|
|
||||||
test_mem_leaks
|
|
||||||
test_searching
|
|
||||||
)
|
|
||||||
|
|
||||||
# Some of these tests weren't practical to split out into distinct tests, so
|
|
||||||
# have a different control mechanism
|
|
||||||
use speech || export SKIP_SPEECH_TESTS=1
|
|
||||||
|
|
||||||
edo ${PYTHON} setup.py test "${_test_excludes[@]/#/--exclude-test-name=}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C.utf8 # bug #709682
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${HOME}/.config/calibre"
|
|
||||||
mkdir -p "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
# If this directory doesn't exist, zsh completion won't install
|
|
||||||
dodir /usr/share/zsh/site-functions
|
|
||||||
|
|
||||||
edo "${PYTHON}" setup.py install \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
|
||||||
--staging-libdir="${ED}/usr/$(get_libdir)" \
|
|
||||||
--system-plugins-location="${EPREFIX}/usr/share/calibre/system-plugins"
|
|
||||||
|
|
||||||
cp -r man-pages/ "${ED}"/usr/share/man || die
|
|
||||||
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete || die
|
|
||||||
|
|
||||||
python_fix_shebang "${ED}/usr/bin"
|
|
||||||
|
|
||||||
python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)"
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
}
|
|
@ -1,253 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..12} )
|
|
||||||
PYTHON_REQ_USE="sqlite,ssl"
|
|
||||||
|
|
||||||
inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="
|
|
||||||
https://download.calibre-ebook.com/${PV}/${P}.tar.xz
|
|
||||||
verify-sig? ( https://calibre-ebook.com/signatures/${P}.tar.xz.sig )
|
|
||||||
"
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kovidgoyal.gpg
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64"
|
|
||||||
IUSE="+font-subsetting ios speech +system-mathjax test +udisks unrar"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
# Qt slotted dependencies are used because the libheadless.so plugin links to
|
|
||||||
# QT_*_PRIVATE_ABI. It only uses core/gui/dbus.
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
app-i18n/uchardet
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.10.0:=
|
|
||||||
app-text/poppler[utils]
|
|
||||||
dev-libs/hyphen:=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/openssl:=
|
|
||||||
dev-libs/snowball-stemmer:=
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/lxml-html-clean[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[jpeg,truetype,webp,zlib,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyqt6[gui,network,opengl,printsupport,quick,svg,widgets,${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyqt6-webengine[widgets,${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/xxhash[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/zeroconf-0.75.0[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
dev-qt/qtbase:6=[gui,widgets]
|
|
||||||
dev-qt/qtimageformats:6
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
>=media-video/ffmpeg-6:=
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
font-subsetting? ( $(python_gen_cond_dep 'dev-python/fonttools[${PYTHON_USEDEP}]') )
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
speech? (
|
|
||||||
$(python_gen_cond_dep 'app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]')
|
|
||||||
dev-python/pyqt6[multimedia,speech]
|
|
||||||
)
|
|
||||||
system-mathjax? ( >=dev-libs/mathjax-3:= )
|
|
||||||
udisks? ( virtual/libudev )
|
|
||||||
unrar? ( dev-python/unrardll )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( sys-fs/udisks:2 )"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
test? ( $(python_gen_cond_dep '>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]') )
|
|
||||||
"
|
|
||||||
BDEPEND="$(python_gen_cond_dep '
|
|
||||||
>=dev-python/pyqt-builder-1.10.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sip-5[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
virtual/pkgconfig
|
|
||||||
system-mathjax? ( dev-lang/rapydscript-ng )
|
|
||||||
verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Skip calling a binary (JxrDecApp) from libjxr which is used for tests
|
|
||||||
# We don't (yet?) package libjxr and it seems to be dead upstream
|
|
||||||
# (last commit in 2017)
|
|
||||||
"${FILESDIR}/${PN}-7.0.0-jxr-test.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Warning:
|
|
||||||
#
|
|
||||||
# While it might be rather tempting to add yet another sed here,
|
|
||||||
# please don't. There have been several bugs in Gentoo's packaging
|
|
||||||
# of calibre from seds-which-become-stale. Please consider
|
|
||||||
# creating a patch instead, but in any case, run the test suite
|
|
||||||
# and ensure it passes.
|
|
||||||
#
|
|
||||||
# If in doubt about a problem, checking Fedora's packaging is recommended.
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
|
|
||||||
# This is only ever used at build time. It contains a small embedded copy
|
|
||||||
# of the rapydscript-ng compiler usable inside of qtwebengine, if you don't
|
|
||||||
# have rapydscript-ng (a nodejs package) itself installed. Its only purpose
|
|
||||||
# is to build some resources that come bundled in dist tarballs already...
|
|
||||||
# and which we may also need to regenerate e.g. to use system-mathjax.
|
|
||||||
#
|
|
||||||
# However, running qtwebengine violates the portage sandbox (among other
|
|
||||||
# things, it tries to create directories in /usr! amazing) so this is a
|
|
||||||
# wash anyway. The only real solution here is to package rapydscript-ng.
|
|
||||||
#
|
|
||||||
# We do not need it at build time, and *no one* needs it at install time.
|
|
||||||
# Delete the cruft.
|
|
||||||
rm -r resources/rapydscript/ || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# TODO: get qmake called by setup.py to respect CC and CXX too
|
|
||||||
tc-export CC CXX
|
|
||||||
|
|
||||||
# bug 821871
|
|
||||||
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
|
|
||||||
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
|
|
||||||
export QMAKE="$(qt6_get_bindir)/qmake"
|
|
||||||
|
|
||||||
edo ${EPYTHON} setup.py build
|
|
||||||
edo ${EPYTHON} setup.py gui
|
|
||||||
|
|
||||||
# A few different resources are bundled in the distfile by default, because
|
|
||||||
# not all systems necessarily have them. We un-vendor them, using the
|
|
||||||
# upstream integrated approach if possible. See setup/revendor.py and
|
|
||||||
# consider migrating other resources to this if they do not use it, in
|
|
||||||
# *preference* over manual rm'ing.
|
|
||||||
edo ${EPYTHON} setup.py liberation_fonts \
|
|
||||||
--path-to-liberation_fonts "${EPREFIX}"/usr/share/fonts/liberation-fonts \
|
|
||||||
--system-liberation_fonts
|
|
||||||
if use system-mathjax; then
|
|
||||||
edo ${EPYTHON} setup.py mathjax --path-to-mathjax "${EPREFIX}"/usr/share/mathjax --system-mathjax
|
|
||||||
edo ${EPYTHON} setup.py rapydscript
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Skipped tests:
|
|
||||||
local _test_excludes=(
|
|
||||||
# unpackaged Python dependency: py7zr
|
|
||||||
7z
|
|
||||||
# unpackaged Python dependency: pyzstd
|
|
||||||
test_zstd
|
|
||||||
# unpackaged TTS backend (optional at runtime): https://github.com/rhasspy/piper
|
|
||||||
piper
|
|
||||||
# tests if a completely unused module is bundled
|
|
||||||
pycryptodome
|
|
||||||
|
|
||||||
$(usev !speech speech_dispatcher)
|
|
||||||
$(usev !unrar test_unrar)
|
|
||||||
|
|
||||||
# undocumented reasons
|
|
||||||
test_mem_leaks
|
|
||||||
test_searching
|
|
||||||
)
|
|
||||||
|
|
||||||
# Some of these tests weren't practical to split out into distinct tests, so
|
|
||||||
# have a different control mechanism
|
|
||||||
use speech || export SKIP_SPEECH_TESTS=1
|
|
||||||
|
|
||||||
edo ${PYTHON} setup.py test "${_test_excludes[@]/#/--exclude-test-name=}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C.utf8 # bug #709682
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${HOME}/.config/calibre"
|
|
||||||
mkdir -p "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
# If this directory doesn't exist, zsh completion won't install
|
|
||||||
dodir /usr/share/zsh/site-functions
|
|
||||||
|
|
||||||
edo "${PYTHON}" setup.py install \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
|
||||||
--staging-libdir="${ED}/usr/$(get_libdir)" \
|
|
||||||
--system-plugins-location="${EPREFIX}/usr/share/calibre/system-plugins"
|
|
||||||
|
|
||||||
cp -r man-pages/ "${ED}"/usr/share/man || die
|
|
||||||
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete || die
|
|
||||||
|
|
||||||
python_fix_shebang "${ED}/usr/bin"
|
|
||||||
|
|
||||||
python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)"
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
}
|
|
@ -1,254 +0,0 @@
|
|||||||
# Copyright 1999-2025 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..13} )
|
|
||||||
PYTHON_REQ_USE="sqlite,ssl"
|
|
||||||
|
|
||||||
inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="
|
|
||||||
https://download.calibre-ebook.com/${PV}/${P}.tar.xz
|
|
||||||
verify-sig? ( https://calibre-ebook.com/signatures/${P}.tar.xz.sig )
|
|
||||||
"
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kovidgoyal.gpg
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
IUSE="+font-subsetting ios speech +system-mathjax test +udisks unrar"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
# Qt slotted dependencies are used because the libheadless.so plugin links to
|
|
||||||
# QT_*_PRIVATE_ABI. It only uses core/gui/dbus.
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
app-i18n/uchardet
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.10.0:=
|
|
||||||
app-text/poppler[utils]
|
|
||||||
dev-libs/hyphen:=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/openssl:=
|
|
||||||
dev-libs/snowball-stemmer:=
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/lxml-html-clean[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[jpeg,truetype,webp,zlib,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pykakasi[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyqt6[gui,network,opengl,printsupport,quick,svg,widgets,${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyqt6-webengine[widgets,${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/xxhash[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/zeroconf-0.75.0[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
dev-qt/qtbase:6=[gui,widgets]
|
|
||||||
dev-qt/qtimageformats:6
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
>=media-video/ffmpeg-6:=
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
font-subsetting? ( $(python_gen_cond_dep 'dev-python/fonttools[${PYTHON_USEDEP}]') )
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
speech? (
|
|
||||||
$(python_gen_cond_dep 'app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]')
|
|
||||||
dev-python/pyqt6[multimedia,speech]
|
|
||||||
)
|
|
||||||
system-mathjax? ( >=dev-libs/mathjax-3:= )
|
|
||||||
udisks? ( virtual/libudev )
|
|
||||||
unrar? ( dev-python/unrardll )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( sys-fs/udisks:2 )"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
test? ( $(python_gen_cond_dep '>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]') )
|
|
||||||
"
|
|
||||||
BDEPEND="$(python_gen_cond_dep '
|
|
||||||
>=dev-python/pyqt-builder-1.10.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sip-5[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
virtual/pkgconfig
|
|
||||||
system-mathjax? ( dev-lang/rapydscript-ng )
|
|
||||||
verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Skip calling a binary (JxrDecApp) from libjxr which is used for tests
|
|
||||||
# We don't (yet?) package libjxr and it seems to be dead upstream
|
|
||||||
# (last commit in 2017)
|
|
||||||
"${FILESDIR}/${PN}-7.0.0-jxr-test.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Warning:
|
|
||||||
#
|
|
||||||
# While it might be rather tempting to add yet another sed here,
|
|
||||||
# please don't. There have been several bugs in Gentoo's packaging
|
|
||||||
# of calibre from seds-which-become-stale. Please consider
|
|
||||||
# creating a patch instead, but in any case, run the test suite
|
|
||||||
# and ensure it passes.
|
|
||||||
#
|
|
||||||
# If in doubt about a problem, checking Fedora's packaging is recommended.
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
|
|
||||||
# This is only ever used at build time. It contains a small embedded copy
|
|
||||||
# of the rapydscript-ng compiler usable inside of qtwebengine, if you don't
|
|
||||||
# have rapydscript-ng (a nodejs package) itself installed. Its only purpose
|
|
||||||
# is to build some resources that come bundled in dist tarballs already...
|
|
||||||
# and which we may also need to regenerate e.g. to use system-mathjax.
|
|
||||||
#
|
|
||||||
# However, running qtwebengine violates the portage sandbox (among other
|
|
||||||
# things, it tries to create directories in /usr! amazing) so this is a
|
|
||||||
# wash anyway. The only real solution here is to package rapydscript-ng.
|
|
||||||
#
|
|
||||||
# We do not need it at build time, and *no one* needs it at install time.
|
|
||||||
# Delete the cruft.
|
|
||||||
rm -r resources/rapydscript/ || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# TODO: get qmake called by setup.py to respect CC and CXX too
|
|
||||||
tc-export CC CXX
|
|
||||||
|
|
||||||
# bug 821871
|
|
||||||
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
|
|
||||||
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
|
|
||||||
export QMAKE="$(qt6_get_bindir)/qmake"
|
|
||||||
|
|
||||||
edo ${EPYTHON} setup.py build
|
|
||||||
edo ${EPYTHON} setup.py gui
|
|
||||||
|
|
||||||
# A few different resources are bundled in the distfile by default, because
|
|
||||||
# not all systems necessarily have them. We un-vendor them, using the
|
|
||||||
# upstream integrated approach if possible. See setup/revendor.py and
|
|
||||||
# consider migrating other resources to this if they do not use it, in
|
|
||||||
# *preference* over manual rm'ing.
|
|
||||||
edo ${EPYTHON} setup.py liberation_fonts \
|
|
||||||
--path-to-liberation_fonts "${EPREFIX}"/usr/share/fonts/liberation-fonts \
|
|
||||||
--system-liberation_fonts
|
|
||||||
if use system-mathjax; then
|
|
||||||
edo ${EPYTHON} setup.py mathjax --path-to-mathjax "${EPREFIX}"/usr/share/mathjax --system-mathjax
|
|
||||||
edo ${EPYTHON} setup.py rapydscript
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Skipped tests:
|
|
||||||
local _test_excludes=(
|
|
||||||
# unpackaged Python dependency: py7zr
|
|
||||||
7z
|
|
||||||
# unpackaged Python dependency: pyzstd
|
|
||||||
test_zstd
|
|
||||||
# unpackaged TTS backend (optional at runtime): https://github.com/rhasspy/piper
|
|
||||||
piper
|
|
||||||
# tests if a completely unused module is bundled
|
|
||||||
pycryptodome
|
|
||||||
|
|
||||||
$(usev !speech speech_dispatcher)
|
|
||||||
$(usev !unrar test_unrar)
|
|
||||||
|
|
||||||
# undocumented reasons
|
|
||||||
test_mem_leaks
|
|
||||||
test_searching
|
|
||||||
)
|
|
||||||
|
|
||||||
# Some of these tests weren't practical to split out into distinct tests, so
|
|
||||||
# have a different control mechanism
|
|
||||||
use speech || export SKIP_SPEECH_TESTS=1
|
|
||||||
|
|
||||||
edo ${PYTHON} setup.py test "${_test_excludes[@]/#/--exclude-test-name=}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C.utf8 # bug #709682
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${HOME}/.config/calibre"
|
|
||||||
mkdir -p "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
# If this directory doesn't exist, zsh completion won't install
|
|
||||||
dodir /usr/share/zsh/site-functions
|
|
||||||
|
|
||||||
edo "${PYTHON}" setup.py install \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
|
||||||
--staging-libdir="${ED}/usr/$(get_libdir)" \
|
|
||||||
--system-plugins-location="${EPREFIX}/usr/share/calibre/system-plugins"
|
|
||||||
|
|
||||||
cp -r man-pages/ "${ED}"/usr/share/man || die
|
|
||||||
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete || die
|
|
||||||
|
|
||||||
python_fix_shebang "${ED}/usr/bin"
|
|
||||||
|
|
||||||
python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)"
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
}
|
|
@ -1,55 +0,0 @@
|
|||||||
From 57190699030dc6746320e49695a67ce83c62d549 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kovid Goyal <kovid@kovidgoyal.net>
|
|
||||||
Date: Sun, 28 May 2023 14:03:15 +0530
|
|
||||||
Subject: [PATCH] HTML Input: Dont add resources that exist outside the folder
|
|
||||||
hierarchy rooted at the parent folder of the input HTML file by default
|
|
||||||
|
|
||||||
(cherry picked from commit bbbddd2bf4ef4ddb467b0aeb0abe8765ed7f8a6b)
|
|
||||||
---
|
|
||||||
.../ebooks/conversion/plugins/html_input.py | 16 ++++++++++++++++
|
|
||||||
1 file changed, 16 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/calibre/ebooks/conversion/plugins/html_input.py b/src/calibre/ebooks/conversion/plugins/html_input.py
|
|
||||||
index 6f9c2084ea..742f3e0279 100644
|
|
||||||
--- a/src/calibre/ebooks/conversion/plugins/html_input.py
|
|
||||||
+++ b/src/calibre/ebooks/conversion/plugins/html_input.py
|
|
||||||
@@ -64,6 +64,16 @@ class HTMLInput(InputFormatPlugin):
|
|
||||||
)
|
|
||||||
),
|
|
||||||
|
|
||||||
+ OptionRecommendation(name='allow_local_files_outside_root',
|
|
||||||
+ recommended_value=False, level=OptionRecommendation.LOW,
|
|
||||||
+ help=_('Normally, resources linked to by the HTML file or its children will only be allowed'
|
|
||||||
+ ' if they are in a sub-folder of the original HTML file. This option allows including'
|
|
||||||
+ ' local files from any location on your computer. This can be a security risk if you'
|
|
||||||
+ ' are converting untrusted HTML and expecting to distribute the result of the conversion.'
|
|
||||||
+ )
|
|
||||||
+ ),
|
|
||||||
+
|
|
||||||
+
|
|
||||||
}
|
|
||||||
|
|
||||||
def convert(self, stream, opts, file_ext, log,
|
|
||||||
@@ -76,6 +86,7 @@ def convert(self, stream, opts, file_ext, log,
|
|
||||||
if hasattr(stream, 'name'):
|
|
||||||
basedir = os.path.dirname(stream.name)
|
|
||||||
fname = os.path.basename(stream.name)
|
|
||||||
+ self.root_dir_of_input = os.path.abspath(basedir) + os.sep
|
|
||||||
|
|
||||||
if file_ext != 'opf':
|
|
||||||
if opts.dont_package:
|
|
||||||
@@ -250,6 +261,11 @@ def link_to_local_path(self, link_, base=None):
|
|
||||||
frag = l.fragment
|
|
||||||
if not link:
|
|
||||||
return None, None
|
|
||||||
+ link = os.path.abspath(os.path.realpath(link))
|
|
||||||
+ if not link.startswith(self.root_dir_of_input):
|
|
||||||
+ if not self.opts.allow_local_files_outside_root:
|
|
||||||
+ self.log.warn('Not adding {} as it is outside the document root: {}'.format(link, self.root_dir_of_input))
|
|
||||||
+ return None, None
|
|
||||||
return link, frag
|
|
||||||
|
|
||||||
def resource_adder(self, link_, base=None):
|
|
||||||
--
|
|
||||||
2.41.0
|
|
||||||
|
|
@ -1,36 +0,0 @@
|
|||||||
From a961ddbfcb96461fd830ccd6facb81d69cc679d8 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kovid Goyal <kovid@kovidgoyal.net>
|
|
||||||
Date: Tue, 29 Oct 2024 06:08:04 +0530
|
|
||||||
Subject: [PATCH] PIL 11.0 changes its webp features output
|
|
||||||
|
|
||||||
---
|
|
||||||
src/calibre/test_build.py | 8 +++-----
|
|
||||||
1 file changed, 3 insertions(+), 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py
|
|
||||||
index 4e3d740705..91c32eba38 100644
|
|
||||||
--- a/src/calibre/test_build.py
|
|
||||||
+++ b/src/calibre/test_build.py
|
|
||||||
@@ -436,16 +436,14 @@ def test_imaging(self):
|
|
||||||
out = StringIO()
|
|
||||||
features.pilinfo(out=out, supported_formats=False)
|
|
||||||
out = out.getvalue()
|
|
||||||
- for line in '''\
|
|
||||||
+ lines = '''\
|
|
||||||
--- PIL CORE support ok
|
|
||||||
--- FREETYPE2 support ok
|
|
||||||
--- WEBP support ok
|
|
||||||
- --- WEBP Transparency support ok
|
|
||||||
- --- WEBPMUX support ok
|
|
||||||
- --- WEBP Animation support ok
|
|
||||||
--- JPEG support ok
|
|
||||||
--- ZLIB (PNG/ZIP) support ok
|
|
||||||
- '''.splitlines():
|
|
||||||
+ '''.splitlines()
|
|
||||||
+ for line in lines:
|
|
||||||
self.assertIn(line.strip(), out)
|
|
||||||
with Image.open(I('lt.png', allow_user_override=False)) as i:
|
|
||||||
self.assertGreaterEqual(i.size, (20, 20))
|
|
||||||
--
|
|
||||||
2.45.2
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
|||||||
Avoid calling libjxr's JxrDecApp as we currently don't package it.
|
|
||||||
--- a/src/calibre/utils/img.py
|
|
||||||
+++ b/src/calibre/utils/img.py
|
|
||||||
@@ -118,8 +118,6 @@
|
|
||||||
i = QImage()
|
|
||||||
if not i.loadFromData(data):
|
|
||||||
q = what(None, data)
|
|
||||||
- if q == 'jxr':
|
|
||||||
- return load_jxr_data(data)
|
|
||||||
raise NotImage(f'Not a valid image (detected type: {q})')
|
|
||||||
return i
|
|
||||||
|
|
||||||
@@ -645,11 +643,6 @@
|
|
||||||
despeckle_image(img)
|
|
||||||
remove_borders_from_image(img)
|
|
||||||
image_to_data(img, fmt='GIF')
|
|
||||||
- raw = subprocess.Popen([get_exe_path('JxrDecApp'), '-h'],
|
|
||||||
- creationflags=subprocess.DETACHED_PROCESS if iswindows else 0,
|
|
||||||
- stdout=subprocess.PIPE).stdout.read()
|
|
||||||
- if b'JPEG XR Decoder Utility' not in raw:
|
|
||||||
- raise SystemExit('Failed to run JxrDecApp')
|
|
||||||
# }}}
|
|
||||||
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
From 5d8d85c649b181747d182f676cfd76f843bd61f0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kovid Goyal <kovid@kovidgoyal.net>
|
|
||||||
Date: Sun, 1 Oct 2023 15:08:59 +0530
|
|
||||||
Subject: [PATCH] Fix compatibility with zeroconf >= 0.73
|
|
||||||
|
|
||||||
Fixes #2038 (fix compatibility with newer zeroconf)
|
|
||||||
---
|
|
||||||
src/calibre/devices/smart_device_app/driver.py | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/calibre/devices/smart_device_app/driver.py b/src/calibre/devices/smart_device_app/driver.py
|
|
||||||
index 87608f305b..b41c3a0063 100644
|
|
||||||
--- a/src/calibre/devices/smart_device_app/driver.py
|
|
||||||
+++ b/src/calibre/devices/smart_device_app/driver.py
|
|
||||||
@@ -2175,6 +2175,8 @@ def monkeypatch_zeroconf():
|
|
||||||
# "monkeypatch" zeroconf with a function without the check
|
|
||||||
try:
|
|
||||||
from zeroconf._utils.name import service_type_name
|
|
||||||
+ # zeroconf 0.73 uses an lru cache so we need __wrapped__
|
|
||||||
+ service_type_name = getattr(service_type_name, '__wrapped__', service_type_name)
|
|
||||||
service_type_name.__kwdefaults__['strict'] = False
|
|
||||||
except ImportError:
|
|
||||||
import zeroconf
|
|
||||||
--
|
|
||||||
2.41.0
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
|||||||
logical changes backported from:
|
|
||||||
https://github.com/kovidgoyal/calibre/commit/a3d3d8d33e314ccabb5099e78e4056a79b7c9aa2
|
|
||||||
https://bugs.gentoo.org/936270
|
|
||||||
|
|
||||||
diff -rup a/setup/build.py b/setup/build.py
|
|
||||||
--- a/setup/build.py 2022-06-17 04:35:27.000000000 +0200
|
|
||||||
+++ b/setup/build.py 2024-07-19 11:51:56.374389213 +0200
|
|
||||||
@@ -65,6 +65,8 @@ class Extension:
|
|
||||||
self.cflags.insert(0, '-std=c++11')
|
|
||||||
elif kwargs.get('needs_c++14'):
|
|
||||||
self.cflags.insert(0, '-std=c++14')
|
|
||||||
+ elif kwargs.get('needs_c++17'):
|
|
||||||
+ self.cflags.insert(0, '-std=c++17')
|
|
||||||
else:
|
|
||||||
if kwargs.get('needs_c99'):
|
|
||||||
self.cflags.insert(0, '-std=c99')
|
|
||||||
diff -rup a/setup/extensions.json b/setup/extensions.json
|
|
||||||
--- a/setup/extensions.json 2022-06-17 04:35:27.000000000 +0200
|
|
||||||
+++ b/setup/extensions.json 2024-07-19 11:52:11.253389395 +0200
|
|
||||||
@@ -75,7 +75,7 @@
|
|
||||||
"name": "sqlite_extension",
|
|
||||||
"headers": "calibre/utils/cpp_binding.h",
|
|
||||||
"sources": "calibre/db/sqlite_extension.cpp",
|
|
||||||
- "needs_c++14": true,
|
|
||||||
+ "needs_c++17": true,
|
|
||||||
"libraries": "icudata icui18n icuuc icuio stemmer",
|
|
||||||
"windows_libraries": "icudt icuin icuuc icuio libstemmer",
|
|
||||||
"lib_dirs": "!icu_lib_dirs",
|
|
@ -1,33 +0,0 @@
|
|||||||
Changelog:
|
|
||||||
|
|
||||||
Only relevant if you embed the calibre server within a larger server, it
|
|
||||||
means attackers who can convince users to click on a specially crafted
|
|
||||||
link, can run JavaScript code with the same origin as the larger server
|
|
||||||
calibre is embedded in.
|
|
||||||
|
|
||||||
From e75f85919a3c3a5f2d87861050d8483d66561c06 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kovid Goyal <kovid@kovidgoyal.net>
|
|
||||||
Date: Tue, 30 Jul 2024 13:40:21 +0530
|
|
||||||
Subject: [PATCH] Fix #2075130 [Private
|
|
||||||
bug](https://bugs.launchpad.net/calibre/+bug/2075130)
|
|
||||||
|
|
||||||
---
|
|
||||||
src/calibre/srv/legacy.py | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/calibre/srv/legacy.py b/src/calibre/srv/legacy.py
|
|
||||||
index 055228ebee..85586b07a6 100644
|
|
||||||
--- a/src/calibre/srv/legacy.py
|
|
||||||
+++ b/src/calibre/srv/legacy.py
|
|
||||||
@@ -255,7 +255,7 @@ def browse(ctx, rd, rest):
|
|
||||||
if rest.startswith('book/'):
|
|
||||||
# implementation of https://bugs.launchpad.net/calibre/+bug/1698411
|
|
||||||
# redirect old server book URLs to new URLs
|
|
||||||
- redirect = ctx.url_for(None) + '#book_id=' + rest[5:] + "&panel=book_details"
|
|
||||||
+ redirect = ctx.url_for(None) + '#book_id=' + int(rest[5:]) + "&panel=book_details"
|
|
||||||
from lxml import etree as ET
|
|
||||||
return html(ctx, rd, endpoint,
|
|
||||||
E.html(E.head(
|
|
||||||
--
|
|
||||||
2.44.2
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
diff --git a/src/calibre/utils/img.py b/src/calibre/utils/img.py
|
|
||||||
index b61627b63e..ff51c76e75 100644
|
|
||||||
--- a/src/calibre/utils/img.py
|
|
||||||
+++ b/src/calibre/utils/img.py
|
|
||||||
@@ -129,8 +129,6 @@ def image_from_data(data):
|
|
||||||
i = QImage()
|
|
||||||
if not i.loadFromData(data):
|
|
||||||
q = what(None, data)
|
|
||||||
- if q == 'jxr':
|
|
||||||
- return load_jxr_data(data)
|
|
||||||
raise NotImage(f'Not a valid image (detected type: {q})')
|
|
||||||
return i
|
|
||||||
|
|
||||||
@@ -693,13 +691,6 @@ def test(): # {{{
|
|
||||||
despeckle_image(img)
|
|
||||||
remove_borders_from_image(img)
|
|
||||||
image_to_data(img, fmt='GIF')
|
|
||||||
- p = subprocess.Popen([get_exe_path('JxrDecApp'), '-h'],
|
|
||||||
- creationflags=subprocess.DETACHED_PROCESS if iswindows else 0,
|
|
||||||
- stdout=subprocess.PIPE)
|
|
||||||
- raw, _ = p.communicate()
|
|
||||||
- p.wait()
|
|
||||||
- if b'JPEG XR Decoder Utility' not in raw:
|
|
||||||
- raise SystemExit('Failed to run JxrDecApp')
|
|
||||||
# }}}
|
|
||||||
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
|||||||
From 6d87aa054724155c9413e5692fa1f242f9cc0efc Mon Sep 17 00:00:00 2001
|
|
||||||
From: Eli Schwartz <eschwartz93@gmail.com>
|
|
||||||
Date: Fri, 23 Aug 2024 02:20:00 -0400
|
|
||||||
Subject: [PATCH] tests: delete qt TTS assert which is not yet used
|
|
||||||
|
|
||||||
It will be used in future versions of calibre, and should likely be
|
|
||||||
gated on USE=speech.
|
|
||||||
---
|
|
||||||
src/calibre/test_build.py | 6 +-----
|
|
||||||
1 file changed, 1 insertion(+), 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py
|
|
||||||
index 4f19363680..898caad665 100644
|
|
||||||
--- a/src/calibre/test_build.py
|
|
||||||
+++ b/src/calibre/test_build.py
|
|
||||||
@@ -314,7 +314,7 @@ def test_apsw(self):
|
|
||||||
def test_qt(self):
|
|
||||||
if is_sanitized:
|
|
||||||
raise unittest.SkipTest('Skipping Qt build test as sanitizer is enabled')
|
|
||||||
- from qt.core import QApplication, QFontDatabase, QImageReader, QLoggingCategory, QNetworkAccessManager, QSslSocket, QTextToSpeech, QTimer
|
|
||||||
+ from qt.core import QApplication, QFontDatabase, QImageReader, QLoggingCategory, QNetworkAccessManager, QSslSocket, QTimer
|
|
||||||
QLoggingCategory.setFilterRules('''qt.webenginecontext.debug=true''')
|
|
||||||
if hasattr(os, 'geteuid') and os.geteuid() == 0:
|
|
||||||
# likely a container build, webengine cannot run as root with sandbox
|
|
||||||
@@ -348,10 +348,6 @@ def test_qt(self):
|
|
||||||
try:
|
|
||||||
ensure_app()
|
|
||||||
self.assertGreaterEqual(len(QFontDatabase.families()), 5, 'The QPA headless plugin is not able to locate enough system fonts via fontconfig')
|
|
||||||
- available_tts_engines = tuple(x for x in QTextToSpeech.availableEngines() if x != 'mock')
|
|
||||||
- self.assertTrue(available_tts_engines)
|
|
||||||
-
|
|
||||||
- self.assertGreaterEqual
|
|
||||||
from calibre.ebooks.oeb.transforms.rasterize import rasterize_svg
|
|
||||||
img = rasterize_svg(as_qimage=True)
|
|
||||||
self.assertFalse(img.isNull())
|
|
||||||
--
|
|
||||||
2.44.2
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
# /etc/conf.d/calibre-server
|
|
||||||
# Change this to the user you want to run calibre-server as.
|
|
||||||
# You may specify a group too, after a colon
|
|
||||||
# NOTE: This must be set and not to root!
|
|
||||||
CALIBRE_USER=
|
|
||||||
|
|
||||||
# Set the path of the library to serve.
|
|
||||||
# Defaults to the default location for CALIBRE_USER.
|
|
||||||
#CALIBRE_LIBRARY='<user home directory>/Calibre Library'
|
|
||||||
|
|
||||||
# Extra options to pass to calibre-server.
|
|
||||||
# See the calibre-server man page for more options.
|
|
||||||
#CALIBRE_SERVER_OPTS="--userdb /srv/calibre/users.sqlite --enable-auth --worker-count 10 --port 8080"
|
|
@ -1,58 +0,0 @@
|
|||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
need net
|
|
||||||
need localmount
|
|
||||||
after bootmisc
|
|
||||||
}
|
|
||||||
|
|
||||||
checkconfig() {
|
|
||||||
if [ "${CALIBRE_USER}" = "" -o "${CALIBRE_USER}" = "root" ] ; then
|
|
||||||
eerror "Please edit /etc/conf.d/calibre-server"
|
|
||||||
eerror "You have to specify a user to run calibre-server as, as we will not run it as root!"
|
|
||||||
eerror "Modify CALIBRE_USER to your needs (you can also add a group, after a colon)"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
if ! getent passwd "${CALIBRE_USER%:*}" >/dev/null ; then
|
|
||||||
eerror "Please edit /etc/conf.d/calibre-server"
|
|
||||||
eerror "Your user has to exist!"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
if [ "${CALIBRE_USER%:*}" != "${CALIBRE_USER}" ] ; then
|
|
||||||
if ! getent group "${CALIBRE_USER#*:}" >/dev/null ; then
|
|
||||||
eerror "Please edit /etc/conf.d/calibre-server"
|
|
||||||
eerror "Your group has to exist too!"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if [ "${CALIBRE_LIBRARY}" = "" ] ; then
|
|
||||||
CALIBRE_USER_HOME=$(getent passwd "${CALIBRE_USER%:*}" | cut -d ':' -f 6)
|
|
||||||
CALIBRE_LIBRARY="${CALIBRE_USER_HOME}/Calibre Library"
|
|
||||||
fi
|
|
||||||
if [ ! -d "${CALIBRE_LIBRARY}" ] ; then
|
|
||||||
eerror "Please edit /etc/conf.d/calibre-server"
|
|
||||||
eerror "The Calibre library, '${CALIBRE_LIBRARY},' does not exist."
|
|
||||||
eerror "Please modify CALIBRE_LIBRARY to point to a valid library."
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
checkconfig || return $?
|
|
||||||
local pidfile=/var/run/calibre-server.pid
|
|
||||||
ebegin "Starting calibre-server"
|
|
||||||
start-stop-daemon --user "${CALIBRE_USER}" \
|
|
||||||
--pidfile "${pidfile}" --make-pidfile --background --exec /usr/bin/calibre-server \
|
|
||||||
-- ${CALIBRE_OPTS} "${CALIBRE_LIBRARY}"
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping calibre-server"
|
|
||||||
start-stop-daemon --stop --user "${CALIBRE_USER}" \
|
|
||||||
--pidfile /var/run/calibre-server.pid
|
|
||||||
eend $?
|
|
||||||
}
|
|
@ -1,35 +0,0 @@
|
|||||||
From e9cc00560a28f56a303cca97630ab58e519dd9c8 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kovid Goyal <kovid@kovidgoyal.net>
|
|
||||||
Date: Mon, 8 Jan 2024 09:12:35 +0530
|
|
||||||
Subject: [PATCH] Fix #2048475 [Tests fail with lxml
|
|
||||||
5.0](https://bugs.launchpad.net/calibre/+bug/2048475)
|
|
||||||
|
|
||||||
---
|
|
||||||
src/calibre/utils/xml_parse.py | 7 ++++++-
|
|
||||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/calibre/utils/xml_parse.py b/src/calibre/utils/xml_parse.py
|
|
||||||
index a31c6ed83ed7..339538b90057 100644
|
|
||||||
--- a/src/calibre/utils/xml_parse.py
|
|
||||||
+++ b/src/calibre/utils/xml_parse.py
|
|
||||||
@@ -36,6 +36,11 @@ def safe_xml_fromstring(string_or_bytes, recover=True):
|
|
||||||
return ans
|
|
||||||
|
|
||||||
|
|
||||||
+def unsafe_xml_fromstring(string_or_bytes):
|
|
||||||
+ parser = etree.XMLParser(resolve_entities=True)
|
|
||||||
+ return fs(string_or_bytes, parser=parser)
|
|
||||||
+
|
|
||||||
+
|
|
||||||
def find_tests():
|
|
||||||
import unittest, tempfile, os
|
|
||||||
from calibre.constants import iswindows
|
|
||||||
@@ -61,7 +66,7 @@ def t(tid, val, expected, safe=True):
|
|
||||||
raw = templ.format(id=tid, val=val)
|
|
||||||
err = None
|
|
||||||
try:
|
|
||||||
- root = safe_xml_fromstring(raw) if safe else etree.fromstring(raw)
|
|
||||||
+ root = safe_xml_fromstring(raw) if safe else unsafe_xml_fromstring(raw)
|
|
||||||
except Exception as e:
|
|
||||||
err = str(e)
|
|
||||||
root = None
|
|
@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>eschwartz@gentoo.org</email>
|
|
||||||
<name>Eli Schwartz</name>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">kovidgoyal/calibre</remote-id>
|
|
||||||
<changelog>https://calibre-ebook.com/whats-new</changelog>
|
|
||||||
</upstream>
|
|
||||||
<use>
|
|
||||||
<flag name="font-subsetting">Enable font subsetting support</flag>
|
|
||||||
<flag name="system-mathjax">Use a system copy of mathjax</flag>
|
|
||||||
<flag name="unrar">Enable support for comic books compressed with the non-free Rar format</flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
@ -1,11 +0,0 @@
|
|||||||
AUX dblatex-0.3.11-encode.patch 752 BLAKE2B a9dfa9fd76219f346bcae7781fa4cb3174f1723901891618a480baa290599586080692743409a70e5a606d44c7bddaa4449735fd34beab83f90602ecc0482903 SHA512 4750f800d99a425eeccf84c87dbdfac6d1c0c2ff394c191ed239ca329dbac13c861d5d74014202bc4fd430c806fcfee0bdafc62b0ab94e9b910429d916590545
|
|
||||||
AUX dblatex-0.3.11-inkscape-1.0.patch 4051 BLAKE2B 0c21ab019da8dec6ea093963f79382241bc6326f70aa84b2aaa53502e1ed84c7bcb68e95581b6a480b10869f53709000003e1ef0ba71c79d5cc1ebe6434d0968 SHA512 fd33e2388de5d830288ce25cfe4dd0f933333118cbea3c68b66b8f171476b5ac29fc7fb43ac26bd38e362e676f36cf0297e2c643be948e2d5f6c796c68eb3c67
|
|
||||||
AUX dblatex-0.3.11-no-inkscape-dependency.patch 753 BLAKE2B 2199d6068d86be9a0a63bb7cc034f54e8edf59434127e495d5878dfb761c990f9f106fbc0436513220ade66bb107030093f41c8e4777e6ccb279259aff912d06 SHA512 08f4e4473359a2633a785cd34fc3a89feaab8619843a93c5ffba0bf00e31aff2d1ce5a54aeea3eb51e63385b3480df1f196f54cdd568ff49558860460faa1c8f
|
|
||||||
AUX dblatex-0.3.11-path-logging.patch 554 BLAKE2B 7b078b4f0bacaffb3449122b561c264de8c8970fe4cbf5459c5ec651aecd3e3ccb7dcc95bfcc8277686133bc3187a5952edd1bc88dae11c2ddac3aa4060333b4 SHA512 ae08b08a435393bf94039edd8b74457a1d4475d8473fa450b41a993ca4ded08f79566bf2dc78144df977fe1f975e1c60b9d02b2dc4579f8c7d65839946e3de05
|
|
||||||
AUX dblatex-0.3.11-setup.patch 1751 BLAKE2B a83e41c4fa68eaee1b6e80404cd5486e64f117ca07314463ca0369cd3bc9d64dbdeb8f5fa2f44bee2704c37dda0e1564c461c7d39b1439aa76800032dd96acad SHA512 f77a82876fe28fdc6f9cc689c8b789fd09e703ca4625207fe81a35b1491bcd46a398eb78781fac60c33ac2efcd3d0957fb3604f8a54cd411b0fd4031016ef5fc
|
|
||||||
AUX python3.12-adjust-submodule-imports.patch 1338 BLAKE2B 449bf9535269583f41552c07c856d1e12fecf7a8785d635c6a5baa11b2d39e138c6c93e2c0e07daacaee042e006e37463e638280c5d093ffc4df361fdc02ce49 SHA512 18180ce417099f1c5d000afffb6f4edf11afb81246bb15d2b8d25fb161fe0e454cb72360f4dffcad93071a5ee925ea19ba77202f4e59862650a7d9a09d0c2765
|
|
||||||
AUX python3.12-replace-imp-by-importlib.patch 3710 BLAKE2B ccbcfa3401208b925dfd96d905f3185e220f5cf28f22875c22c020369470137f96ad4fb37961fc9ff692b69fe25f7a4d4a2aa98a9b5c22ecb02791da2cc3ef72 SHA512 b8f5bf187e583759bbb92eecc081baac0221f4cda7f444eef3e772f11021c3d91a70955738efbc4ea9e99d8fe32ef121376a98fbcf828147fe3919fcce2eb8a0
|
|
||||||
DIST dblatex3-0.3.12.tar.bz2 1693272 BLAKE2B 9310ce5db3b5f92e183f2656c5b1881edaf0208ae4f78f853332c844258fa38d443921fc42c03301773b1451ce272a538c305d765acbdc6eafbdcf25ebf5d2d3 SHA512 5bfa774c8dbe362775f6bbb5e1196e5a2bb1af239778133c12ddc725406ced67f3ff422433a2a1aa02d4431e9be58ba12e918379deb81fcd5b96533d2bdf029a
|
|
||||||
EBUILD dblatex-0.3.12-r1.ebuild 1977 BLAKE2B 21bf43eb0f8576d2e52cdc147ebc574c621d7ed46a0a8841d2a3b247918287664e3fd275411da3267073375571d27e09ee9c108a326e793446aa5bbcbb6cfa79 SHA512 b69408291dc8ba9f03deafdaef0b187309fde222cd81741d1652580ca2cb2d0ac2e58fe5680cae815a1f3c73c113a8cfeff58f5de31beedd55299b993aec6f59
|
|
||||||
EBUILD dblatex-0.3.12-r2.ebuild 2103 BLAKE2B bc7934c7cbde43f169892ad15866545b7685c757b46eb0bef7dc05d1771f6b0ecd72934b3660ea2d7176f61e6b414a268d9623d53013a68d3e039fc1a09ef579 SHA512 f3cdfea792324d2bacdd4b8c7894f89c8366ff4f6735061e531a4e1d12f5b3749e2ede46cd0c74181f85d64342923c95c830ac31d323ddab82757e7bec7a2dd5
|
|
||||||
MISC metadata.xml 908 BLAKE2B e13f176739b3fb7a63a5eaeb704afa1c0b4e9740ea25dec54656c283cf9f8f614096aae407df8822414e054eaad0082c738c0a5a2acc91a51ce3f6b729fc37d6 SHA512 a39c4073b4cec1753724d16bcca023c9306eeac79bc7f008c6e090f85c4661733810c9864b91b9552fbbec242c01a312780ee780d11724ce26399bad3c9a0899
|
|
@ -1,69 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
# Breaks installation of /usr/bin/dblatex, bug #906788
|
|
||||||
#DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{9..12} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Transform DocBook using TeX macros"
|
|
||||||
HOMEPAGE="http://dblatex.sourceforge.net/"
|
|
||||||
SRC_URI="https://downloads.sourceforge.net/project/dblatex/dblatex/${P}/${PN}3-${PV}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
|
|
||||||
IUSE="inkscape test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-text/docbook-xml-dtd:4.5
|
|
||||||
dev-libs/kpathsea
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-texlive/texlive-fontutils
|
|
||||||
dev-texlive/texlive-latex
|
|
||||||
dev-texlive/texlive-latexextra
|
|
||||||
dev-texlive/texlive-latexrecommended
|
|
||||||
dev-texlive/texlive-mathscience
|
|
||||||
dev-texlive/texlive-pictures
|
|
||||||
dev-texlive/texlive-xetex
|
|
||||||
gnome-base/librsvg
|
|
||||||
media-gfx/imagemagick
|
|
||||||
media-gfx/transfig
|
|
||||||
inkscape? ( media-gfx/inkscape )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="${RDEPEND}
|
|
||||||
test? ( ~${CATEGORY}/${P} )"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}3-${PV}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-0.3.11-path-logging.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.3.11-setup.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.3.11-encode.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Manual page is precomressed, but we will use our own compression later.
|
|
||||||
gunzip docs/manpage/dblatex.1.gz || die
|
|
||||||
# If we dont have inkscape we need to use an alternative SVG converter
|
|
||||||
use inkscape || eapply "${FILESDIR}/${PN}-0.3.11-no-inkscape-dependency.patch"
|
|
||||||
# If we use inscape however we want to make dblatex compatible with v1.0
|
|
||||||
use inkscape && eapply "${FILESDIR}/${PN}-0.3.11-inkscape-1.0.patch"
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
# Move package documentation to a folder name containing version number
|
|
||||||
mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test_all() {
|
|
||||||
emake -C tests/mathml
|
|
||||||
}
|
|
@ -1,71 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
# Breaks installation of /usr/bin/dblatex, bug #906788
|
|
||||||
#DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{9..12} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Transform DocBook using TeX macros"
|
|
||||||
HOMEPAGE="http://dblatex.sourceforge.net/"
|
|
||||||
SRC_URI="https://downloads.sourceforge.net/project/dblatex/dblatex/${P}/${PN}3-${PV}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
|
|
||||||
IUSE="inkscape test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-text/docbook-xml-dtd:4.5
|
|
||||||
dev-libs/kpathsea
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-texlive/texlive-fontutils
|
|
||||||
dev-texlive/texlive-latex
|
|
||||||
dev-texlive/texlive-latexextra
|
|
||||||
dev-texlive/texlive-latexrecommended
|
|
||||||
dev-texlive/texlive-mathscience
|
|
||||||
dev-texlive/texlive-pictures
|
|
||||||
dev-texlive/texlive-xetex
|
|
||||||
gnome-base/librsvg
|
|
||||||
media-gfx/imagemagick
|
|
||||||
>=media-gfx/fig2dev-3.2.9-r1
|
|
||||||
inkscape? ( media-gfx/inkscape )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="${RDEPEND}
|
|
||||||
test? ( ~${CATEGORY}/${P} )"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}3-${PV}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-0.3.11-path-logging.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.3.11-setup.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.3.11-encode.patch"
|
|
||||||
"${FILESDIR}/python3.12-replace-imp-by-importlib.patch"
|
|
||||||
"${FILESDIR}/python3.12-adjust-submodule-imports.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Manual page is precomressed, but we will use our own compression later.
|
|
||||||
gunzip docs/manpage/dblatex.1.gz || die
|
|
||||||
# If we dont have inkscape we need to use an alternative SVG converter
|
|
||||||
use inkscape || eapply "${FILESDIR}/${PN}-0.3.11-no-inkscape-dependency.patch"
|
|
||||||
# If we use inscape however we want to make dblatex compatible with v1.0
|
|
||||||
use inkscape && eapply "${FILESDIR}/${PN}-0.3.11-inkscape-1.0.patch"
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
# Move package documentation to a folder name containing version number
|
|
||||||
mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test_all() {
|
|
||||||
emake -C tests/mathml
|
|
||||||
}
|
|
@ -1,19 +0,0 @@
|
|||||||
diff -Naur dblatex-0.3.11py3-orig/lib/dbtexmf/dblatex/rawtex.py dblatex-0.3.11py3/lib/dbtexmf/dblatex/rawtex.py
|
|
||||||
--- dblatex-0.3.11py3-orig/lib/dbtexmf/dblatex/rawtex.py 2020-01-29 13:48:34.000000000 -0800
|
|
||||||
+++ dblatex-0.3.11py3/lib/dbtexmf/dblatex/rawtex.py 2020-07-13 23:49:56.296767535 -0700
|
|
||||||
@@ -101,10 +101,14 @@
|
|
||||||
|
|
||||||
# If something done, replace the figure in the tex file
|
|
||||||
if newfig != fig:
|
|
||||||
+ if isinstance(fig, str):
|
|
||||||
+ fig = fig.encode("utf-8")
|
|
||||||
+ if isinstance(newfig, str):
|
|
||||||
+ newfig = newfig.encode("utf-8")
|
|
||||||
line = re.sub(br"{"+fig+br"}", br"{"+newfig+br"}", line)
|
|
||||||
|
|
||||||
return line
|
|
||||||
-
|
|
||||||
+
|
|
||||||
|
|
||||||
def main():
|
|
||||||
c = RawLatex()
|
|
@ -1,107 +0,0 @@
|
|||||||
diff -Naur dblatex-0.3.11py3-orig/docs/custom/dblatex.xconf dblatex-0.3.11py3/docs/custom/dblatex.xconf
|
|
||||||
--- dblatex-0.3.11py3-orig/docs/custom/dblatex.xconf 2020-01-29 13:48:32.000000000 -0800
|
|
||||||
+++ dblatex-0.3.11py3/docs/custom/dblatex.xconf 2020-07-14 01:05:42.883435133 -0700
|
|
||||||
@@ -18,7 +18,7 @@
|
|
||||||
<imagedata>
|
|
||||||
<converter src="svg" dst="*" docformat="pdf">
|
|
||||||
<command>
|
|
||||||
- inkscape -z -D --export-dpi=600 --export-%(dst)s=%(output)s %(input)s
|
|
||||||
+ inkscape -D --export-dpi=600 --export-filename=%(output)s %(input)s
|
|
||||||
</command>
|
|
||||||
</converter>
|
|
||||||
</imagedata>
|
|
||||||
diff -Naur dblatex-0.3.11py3-orig/docs/xhtml/manual/sec-specs.html dblatex-0.3.11py3/docs/xhtml/manual/sec-specs.html
|
|
||||||
--- dblatex-0.3.11py3-orig/docs/xhtml/manual/sec-specs.html 2020-01-29 13:49:23.000000000 -0800
|
|
||||||
+++ dblatex-0.3.11py3/docs/xhtml/manual/sec-specs.html 2020-07-14 01:06:19.012860710 -0700
|
|
||||||
@@ -36,7 +36,7 @@
|
|
||||||
<imagedata>
|
|
||||||
<converter src="svg" dst="*" docformat="pdf">
|
|
||||||
<command>
|
|
||||||
- inkscape -z -D --export-dpi=600 --export-%(dst)s=%(output)s %(input)s
|
|
||||||
+ inkscape -D --export-dpi=600 --export-filename=%(output)s %(input)s
|
|
||||||
</command>
|
|
||||||
</converter>
|
|
||||||
</imagedata>
|
|
||||||
diff -Naur dblatex-0.3.11py3-orig/lib/dbtexmf/core/imagedata.py dblatex-0.3.11py3/lib/dbtexmf/core/imagedata.py
|
|
||||||
--- dblatex-0.3.11py3-orig/lib/dbtexmf/core/imagedata.py 2020-01-29 13:48:33.000000000 -0800
|
|
||||||
+++ dblatex-0.3.11py3/lib/dbtexmf/core/imagedata.py 2020-07-14 01:02:56.729388831 -0700
|
|
||||||
@@ -47,16 +47,16 @@
|
|
||||||
|
|
||||||
|
|
||||||
class PoolManager:
|
|
||||||
- def __init__(self):
|
|
||||||
+ def __init__(self):
|
|
||||||
self._used_pool = None
|
|
||||||
self._pending_pools = []
|
|
||||||
-
|
|
||||||
+
|
|
||||||
def set_pool(self, pool):
|
|
||||||
self._used_pool = pool
|
|
||||||
for p in self._pending_pools:
|
|
||||||
pool.preprend(p)
|
|
||||||
self._pending_pools = []
|
|
||||||
-
|
|
||||||
+
|
|
||||||
def prepend_pool(self, pool):
|
|
||||||
if self._used_pool:
|
|
||||||
self._used_pool.prepend(pool)
|
|
||||||
@@ -73,7 +73,7 @@
|
|
||||||
self.format_pool = PoolManager()
|
|
||||||
|
|
||||||
_image_setup = ImageSetup()
|
|
||||||
-
|
|
||||||
+
|
|
||||||
def image_setup():
|
|
||||||
global _image_setup
|
|
||||||
return _image_setup
|
|
||||||
@@ -181,7 +181,7 @@
|
|
||||||
class SvgConverter(ImageConverter):
|
|
||||||
def __init__(self, imgsrc, imgdst="", docformat="", backend=""):
|
|
||||||
ImageConverter.__init__(self, imgsrc="svg", imgdst=imgdst)
|
|
||||||
- self.add_command(["inkscape", "-z", "-D", "--export-%(dst)s=%(output)s",
|
|
||||||
+ self.add_command(["inkscape", "-D", "--export-filename=%(output)s",
|
|
||||||
"%(input)s"])
|
|
||||||
|
|
||||||
|
|
||||||
@@ -224,7 +224,7 @@
|
|
||||||
ImageFormatPool.__init__(self)
|
|
||||||
# There can be a mismatch between PDF-1.4 images and PDF-1.3
|
|
||||||
# document produced by XeTeX
|
|
||||||
- self.add_rule(FormatRule(docformat="pdf", backend="xetex",
|
|
||||||
+ self.add_rule(FormatRule(docformat="pdf", backend="xetex",
|
|
||||||
imgdst="png"))
|
|
||||||
self.add_rule(FormatRule(docformat="pdf", imgdst="pdf"))
|
|
||||||
self.add_rule(FormatRule(docformat="dvi", imgdst="eps"))
|
|
||||||
@@ -318,7 +318,7 @@
|
|
||||||
Copy the file in the working directory if its path contains characters
|
|
||||||
unsupported by latex, like spaces.
|
|
||||||
"""
|
|
||||||
- # Encode to expected output format. If encoding is OK and
|
|
||||||
+ # Encode to expected output format. If encoding is OK and
|
|
||||||
# supported by tex, just return the encoded path
|
|
||||||
newfig = self._path_encode(fig)
|
|
||||||
if newfig and newfig.find(b" ") == -1:
|
|
||||||
@@ -350,7 +350,7 @@
|
|
||||||
if (ext):
|
|
||||||
realfig = self.find(fig)
|
|
||||||
return (realfig, ext[1:])
|
|
||||||
-
|
|
||||||
+
|
|
||||||
# Lookup for the best suited available figure
|
|
||||||
if (self.output_format == "pdf"):
|
|
||||||
formats = ("png", "pdf", "jpg", "eps", "gif", "fig", "svg")
|
|
||||||
@@ -369,7 +369,7 @@
|
|
||||||
format = ""
|
|
||||||
|
|
||||||
return (realfig, format)
|
|
||||||
-
|
|
||||||
+
|
|
||||||
def find(self, fig):
|
|
||||||
# First, the obvious absolute path case
|
|
||||||
if os.path.isabs(fig):
|
|
||||||
@@ -385,4 +385,4 @@
|
|
||||||
return realfig
|
|
||||||
|
|
||||||
return None
|
|
||||||
-
|
|
||||||
+
|
|
@ -1,14 +0,0 @@
|
|||||||
diff -Naur dblatex-0.3.11py3/lib/dbtexmf/core/imagedata.py dblatex-0.3.11py3-new/lib/dbtexmf/core/imagedata.py
|
|
||||||
--- dblatex-0.3.11py3/lib/dbtexmf/core/imagedata.py 2020-01-29 13:48:33.000000000 -0800
|
|
||||||
+++ dblatex-0.3.11py3-new/lib/dbtexmf/core/imagedata.py 2020-02-25 00:45:35.627054621 -0800
|
|
||||||
@@ -181,8 +181,8 @@
|
|
||||||
class SvgConverter(ImageConverter):
|
|
||||||
def __init__(self, imgsrc, imgdst="", docformat="", backend=""):
|
|
||||||
ImageConverter.__init__(self, imgsrc="svg", imgdst=imgdst)
|
|
||||||
- self.add_command(["inkscape", "-z", "-D", "--export-%(dst)s=%(output)s",
|
|
||||||
- "%(input)s"])
|
|
||||||
+ self.add_command(["rsvg-convert", "-f", "%(dst)s", "-o","%(output)s",
|
|
||||||
+ "%(input)s"])
|
|
||||||
|
|
||||||
|
|
||||||
class FormatRule:
|
|
@ -1,15 +0,0 @@
|
|||||||
diff -Naur dblatex-0.3.11py3/scripts/dblatex dblatex-0.3.11py3-new/scripts/dblatex
|
|
||||||
--- dblatex-0.3.11py3/scripts/dblatex 2020-01-29 13:48:34.000000000 -0800
|
|
||||||
+++ dblatex-0.3.11py3-new/scripts/dblatex 2020-02-25 01:04:16.169346434 -0800
|
|
||||||
@@ -1,8 +1,10 @@
|
|
||||||
#! /usr/bin/env python
|
|
||||||
import sys
|
|
||||||
import os
|
|
||||||
+import logging
|
|
||||||
|
|
||||||
-package_base = os.path.join(os.path.dirname(sys.argv[0]), "..")
|
|
||||||
+logging.basicConfig()
|
|
||||||
+package_base = "/usr/share/dblatex"
|
|
||||||
sys.path.insert(0, os.path.realpath(os.path.join(package_base, "lib")))
|
|
||||||
|
|
||||||
from dbtexmf.dblatex import dblatex
|
|
@ -1,47 +0,0 @@
|
|||||||
diff -Naur dblatex-0.3.11py3/setup.py dblatex-0.3.11py3-new/setup.py
|
|
||||||
--- dblatex-0.3.11py3/setup.py 2020-01-29 13:48:34.000000000 -0800
|
|
||||||
+++ dblatex-0.3.11py3-new/setup.py 2020-02-27 20:25:21.669297793 -0800
|
|
||||||
@@ -26,7 +26,6 @@
|
|
||||||
from distutils import log
|
|
||||||
from subprocess import Popen, PIPE
|
|
||||||
sys.path.append("lib")
|
|
||||||
-from contrib.debian.installer import DebianInstaller
|
|
||||||
|
|
||||||
#
|
|
||||||
# Build the command line script
|
|
||||||
@@ -192,7 +191,7 @@
|
|
||||||
log.info("running build_doc")
|
|
||||||
htmldir = os.path.join("docs", "xhtml")
|
|
||||||
pdfdocs = glob.glob(os.path.join("docs", "[mr]*.pdf"))
|
|
||||||
- manpage = os.path.join("docs", "manpage", "dblatex.1.gz")
|
|
||||||
+ manpage = os.path.join("docs", "manpage", "dblatex.1")
|
|
||||||
|
|
||||||
# Lazy check to avoid a rebuild for nothing
|
|
||||||
if (not(self.force) and os.path.exists(htmldir) and len(pdfdocs) >= 2
|
|
||||||
@@ -368,15 +367,12 @@
|
|
||||||
status += "no"
|
|
||||||
mis_stys.append(sty)
|
|
||||||
print(status)
|
|
||||||
-
|
|
||||||
+
|
|
||||||
if mis_stys:
|
|
||||||
raise OSError("not found: %s" % ", ".join(mis_stys))
|
|
||||||
|
|
||||||
def run(self):
|
|
||||||
- if self.install_layout == "deb":
|
|
||||||
- db = DebianInstaller(self)
|
|
||||||
- else:
|
|
||||||
- db = None
|
|
||||||
+ db = None
|
|
||||||
|
|
||||||
if not(db) and not(self.nodeps):
|
|
||||||
try:
|
|
||||||
@@ -515,7 +511,7 @@
|
|
||||||
data_files=[('share/dblatex', ['xsl', 'latex', 'etc/schema']),
|
|
||||||
('share/doc/dblatex', pdfdocs),
|
|
||||||
('share/doc/dblatex', htmldoc),
|
|
||||||
- ('share/man/man1', ['docs/manpage/dblatex.1.gz'])],
|
|
||||||
+ ('share/man/man1', ['docs/manpage/dblatex.1'])],
|
|
||||||
scripts=['scripts/dblatex'],
|
|
||||||
cmdclass={'build': Build,
|
|
||||||
'build_scripts': BuildScripts,
|
|
@ -1,46 +0,0 @@
|
|||||||
Description: Python 3.12 compatibility: adjust submodule imports
|
|
||||||
importlib imports behave differently in py 3.11 and py 3.12: py 3.12
|
|
||||||
requires explicit imports of the submodules.
|
|
||||||
.
|
|
||||||
While fixing this, reduce the imports to the used submodules. Currently,
|
|
||||||
the base is still imported automatically.
|
|
||||||
Forwarded: https://sourceforge.net/p/dblatex/patches/13/
|
|
||||||
Author: Michael J Gruber <github@grubix.eu>
|
|
||||||
Last-Update: 2023-07-06
|
|
||||||
|
|
||||||
--- a/lib/dbtexmf/core/dbtex.py
|
|
||||||
+++ b/lib/dbtexmf/core/dbtex.py
|
|
||||||
@@ -15,7 +15,8 @@
|
|
||||||
except ImportError:
|
|
||||||
from urllib.request import pathname2url
|
|
||||||
import glob
|
|
||||||
-import importlib
|
|
||||||
+import importlib.machinery
|
|
||||||
+import importlib.util
|
|
||||||
from optparse import OptionParser
|
|
||||||
from io import open
|
|
||||||
|
|
||||||
--- a/lib/dbtexmf/dblatex/grubber/plugins.py
|
|
||||||
+++ b/lib/dbtexmf/dblatex/grubber/plugins.py
|
|
||||||
@@ -4,7 +4,8 @@
|
|
||||||
Mechanisms to dynamically load extra modules to help the LaTeX compilation.
|
|
||||||
All the modules must be derived from the TexModule class.
|
|
||||||
"""
|
|
||||||
-import importlib
|
|
||||||
+import importlib.machinery
|
|
||||||
+import importlib.util
|
|
||||||
|
|
||||||
from os.path import *
|
|
||||||
from dbtexmf.dblatex.grubber.msg import _, msg
|
|
||||||
--- a/lib/dbtexmf/xslt/xslt.py
|
|
||||||
+++ b/lib/dbtexmf/xslt/xslt.py
|
|
||||||
@@ -2,7 +2,8 @@
|
|
||||||
# Very simple plugin loader for Xslt classes
|
|
||||||
#
|
|
||||||
import os
|
|
||||||
-import importlib
|
|
||||||
+import importlib.machinery
|
|
||||||
+import importlib.util
|
|
||||||
import glob
|
|
||||||
import sys
|
|
||||||
|
|
@ -1,112 +0,0 @@
|
|||||||
Description: Python 3.12 compatibility: Replace imp by importlib
|
|
||||||
Forwarded: https://sourceforge.net/p/dblatex/patches/12/
|
|
||||||
Author: Miro Hrončok <mhroncok@redhat.com>
|
|
||||||
Last-Update: 2023-06-15
|
|
||||||
|
|
||||||
--- a/lib/dbtexmf/core/dbtex.py
|
|
||||||
+++ b/lib/dbtexmf/core/dbtex.py
|
|
||||||
@@ -15,7 +15,7 @@
|
|
||||||
except ImportError:
|
|
||||||
from urllib.request import pathname2url
|
|
||||||
import glob
|
|
||||||
-import imp
|
|
||||||
+import importlib
|
|
||||||
from optparse import OptionParser
|
|
||||||
from io import open
|
|
||||||
|
|
||||||
@@ -540,15 +540,14 @@
|
|
||||||
|
|
||||||
def load_plugin(self, pathname):
|
|
||||||
moddir, modname = os.path.split(pathname)
|
|
||||||
- try:
|
|
||||||
- filemod, path, descr = imp.find_module(modname, [moddir])
|
|
||||||
- except ImportError:
|
|
||||||
- try:
|
|
||||||
- filemod, path, descr = imp.find_module(modname)
|
|
||||||
- except ImportError:
|
|
||||||
- failed_exit("Error: '%s' module not found" % modname)
|
|
||||||
- mod = imp.load_module(modname, filemod, path, descr)
|
|
||||||
- filemod.close()
|
|
||||||
+ spec = importlib.machinery.PathFinder.find_spec(modname, [moddir])
|
|
||||||
+ if not spec:
|
|
||||||
+ spec = importlib.machinery.PathFinder.find_spec(modname)
|
|
||||||
+ if not spec:
|
|
||||||
+ failed_exit("Error: '%s' module not found" % modname)
|
|
||||||
+ mod = importlib.util.module_from_spec(spec)
|
|
||||||
+ spec.loader.exec_module(mod)
|
|
||||||
+ sys.modules[modname] = mod
|
|
||||||
return mod
|
|
||||||
|
|
||||||
def run_setup(self, options):
|
|
||||||
--- a/lib/dbtexmf/dblatex/grubber/plugins.py
|
|
||||||
+++ b/lib/dbtexmf/dblatex/grubber/plugins.py
|
|
||||||
@@ -4,7 +4,7 @@
|
|
||||||
Mechanisms to dynamically load extra modules to help the LaTeX compilation.
|
|
||||||
All the modules must be derived from the TexModule class.
|
|
||||||
"""
|
|
||||||
-import imp
|
|
||||||
+import importlib
|
|
||||||
|
|
||||||
from os.path import *
|
|
||||||
from dbtexmf.dblatex.grubber.msg import _, msg
|
|
||||||
@@ -108,17 +108,16 @@
|
|
||||||
"""
|
|
||||||
if name in self.modules:
|
|
||||||
return 2
|
|
||||||
- try:
|
|
||||||
- file, path, descr = imp.find_module(name, [""])
|
|
||||||
- except ImportError:
|
|
||||||
+ spec = importlib.machinery.PathFinder.find_spec(name, [""])
|
|
||||||
+ if not spec:
|
|
||||||
if not self.path:
|
|
||||||
return 0
|
|
||||||
- try:
|
|
||||||
- file, path, descr = imp.find_module(name, self.path)
|
|
||||||
- except ImportError:
|
|
||||||
- return 0
|
|
||||||
- module = imp.load_module(name, file, path, descr)
|
|
||||||
- file.close()
|
|
||||||
+ spec = importlib.machinery.PathFinder.find_spec(name, self.path)
|
|
||||||
+ if not spec:
|
|
||||||
+ return 0
|
|
||||||
+ module = importlib.util.module_from_spec(spec)
|
|
||||||
+ spec.loader.exec_module(module)
|
|
||||||
+ sys.modules[name] = module
|
|
||||||
self.modules[name] = module
|
|
||||||
return 1
|
|
||||||
|
|
||||||
--- a/lib/dbtexmf/xslt/xslt.py
|
|
||||||
+++ b/lib/dbtexmf/xslt/xslt.py
|
|
||||||
@@ -2,20 +2,21 @@
|
|
||||||
# Very simple plugin loader for Xslt classes
|
|
||||||
#
|
|
||||||
import os
|
|
||||||
-import imp
|
|
||||||
+import importlib
|
|
||||||
import glob
|
|
||||||
+import sys
|
|
||||||
|
|
||||||
def load(modname):
|
|
||||||
- try:
|
|
||||||
- file, path, descr = imp.find_module(modname, [""])
|
|
||||||
- except ImportError:
|
|
||||||
- try:
|
|
||||||
- file, path, descr = imp.find_module(modname,
|
|
||||||
- [os.path.dirname(__file__)])
|
|
||||||
- except ImportError:
|
|
||||||
- raise ValueError("Xslt '%s' not found" % modname)
|
|
||||||
- mod = imp.load_module(modname, file, path, descr)
|
|
||||||
- file.close()
|
|
||||||
+ spec = importlib.machinery.PathFinder.find_spec(modname, [""])
|
|
||||||
+ if not spec:
|
|
||||||
+ spec = importlib.machinery.PathFinder.find_spec(modname,
|
|
||||||
+ [os.path.dirname(__file__)])
|
|
||||||
+ if not spec:
|
|
||||||
+ raise ValueError("Xslt '%s' not found" % modname)
|
|
||||||
+
|
|
||||||
+ mod = importlib.util.module_from_spec(spec)
|
|
||||||
+ spec.loader.exec_module(mod)
|
|
||||||
+ sys.modules[modname] = mod
|
|
||||||
o = mod.Xslt()
|
|
||||||
return o
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person" proxied="yes">
|
|
||||||
<email>zoltan@sinustrom.info</email>
|
|
||||||
<name>Zoltan Puskas</name>
|
|
||||||
</maintainer>
|
|
||||||
<maintainer type="project" proxied="proxy">
|
|
||||||
<email>proxy-maint@gentoo.org</email>
|
|
||||||
<name>Proxy Maintainers</name>
|
|
||||||
</maintainer>
|
|
||||||
<use>
|
|
||||||
<flag name="inkscape">Use inkscape to convert SVG. Disable to use <pkg>gnome-base/librsvg</pkg> instead.</flag>
|
|
||||||
</use>
|
|
||||||
<longdescription>
|
|
||||||
dbaltex is an opensource DocBook to LaTeX publishing software
|
|
||||||
that originally started as DB2LaTeX clone, but now is more
|
|
||||||
feature rich and easier to use.
|
|
||||||
</longdescription>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="sourceforge">dblatex</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,4 +1,4 @@
|
|||||||
DIST icy_draw_linux_0.3.0.zip 5599069 BLAKE2B 48079706da8113baedcf9ce7cf4abae3e0f55a3ec952881e3c2e430b81f15cbb30e3f9059fc04e5b02f2f928d55ba5b7a0c4f9e0e4c13f4a82d07ddd86a89b5a SHA512 941ed619aba22845b6389a5519a530157601a1ab8158eeb03f497f5a282265b7ba88084f1df62a43099964495e39ddb33e902c32ae585a3624e799dcdca2795a
|
DIST icy_draw_linux_0.4.1.zip 5744308 BLAKE2B 4e66b329e671028f0aad66faeaac48b2b8ef1022fce8a93d52563950307b0507119ecec5685062bc90849f6935440bef50e86424d816c0bba5b876865cc1692a SHA512 3aeda30b282fd50bf3e457792de140a913a36944266204aa1ffacc895e6b606cb9873e718cfc1825f9991fc6e223afdb3fe82edfc2e3c529ab969e41b68eff1d
|
||||||
EBUILD icy-draw-0.3.0.ebuild 1104 BLAKE2B 4ce69d0cfbdb5f0d1602745552ad9e158c70540eb3b74e382dc8e321904879a83c0c62e63b3885b76085dcb1c7090715e9a47eea31ae1f807924eefc355c5589 SHA512 623f4e350268b31450463de7c494c8d972575f64bcc6c10fbde9c064ab44a3da4b48016fe27dfded87d70445f9cdee7c7b020260aa01179fcdd73d5e8daa2568
|
EBUILD icy-draw-0.4.1.ebuild 1006 BLAKE2B 3a70ff692253f85bf6c78ea557bf82ab87a324dd98e339c40b4492b1d9727049d3e1af571155174d3a4383081953330a2a5147eb99c14fdbba04809c8d324bd4 SHA512 83957c2bb952e903beb1490d6610bcbe0c1e1540a27948f0c473f698215dfb32b1d78680aed89a1cf280cccfe8dc46bf06347c41b9ce72814b7874787ee66971
|
||||||
MISC ChangeLog 889 BLAKE2B 216bbbfe9b264ef06f5b56748af1ea7366fa49f2406604264b7d22ce8f464ffd7491a57912d7cf1be7d3dc030578960acca895236d6e06fd017f02a9138f0b7f SHA512 09aa97933a9709827b6e3c01ce8a3829cb3d494f7fdac570faa30da6fac440c752391d8dcaf7d03c5cd1163686e8921c1bf4ad75827e4b8df05bbcde03548488
|
MISC ChangeLog 889 BLAKE2B 216bbbfe9b264ef06f5b56748af1ea7366fa49f2406604264b7d22ce8f464ffd7491a57912d7cf1be7d3dc030578960acca895236d6e06fd017f02a9138f0b7f SHA512 09aa97933a9709827b6e3c01ce8a3829cb3d494f7fdac570faa30da6fac440c752391d8dcaf7d03c5cd1163686e8921c1bf4ad75827e4b8df05bbcde03548488
|
||||||
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
|
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
|
||||||
|
@ -8,8 +8,7 @@ inherit unpacker pam xdg-utils
|
|||||||
DESCRIPTION="Is a drawing tool supporting almost all ANSI formats."
|
DESCRIPTION="Is a drawing tool supporting almost all ANSI formats."
|
||||||
HOMEPAGE="https://github.com/mkrueger/icy_tools"
|
HOMEPAGE="https://github.com/mkrueger/icy_tools"
|
||||||
|
|
||||||
#SRC_URI="https://github.com/mkrueger/icy_tools/releases/download/IcyTerm${PV}/icy_term_linux_${PV}.zip"
|
SRC_URI="https://github.com/mkrueger/icy_tools/releases/download/IcyDraw${PV}/icy_draw_linux_${PV}.zip"
|
||||||
SRC_URI="https://github.com/mkrueger/icy_tools/releases/download/0.0.1/icy_draw_linux_${PV}.zip"
|
|
||||||
|
|
||||||
LICENSE="apache"
|
LICENSE="apache"
|
||||||
|
|
@ -1,6 +1,8 @@
|
|||||||
AUX xpipe.desktop 368 BLAKE2B a3c312fbdb61ad2f7e5c84347c71cdea177964d4c5b4813d07ae42f82f97bfd933135cc80e2f9fd251507624f20c41c0480edeecb221fe0ad62941de9aa14bc8 SHA512 7ce02dfe011ab9af05c1a64bcfcfa6b4f3454781bb32c93202e87792661f3b25f6910cee9398d07fbbc0b407b09bedc4b07a249f2f4f781039e8ea6116901d24
|
AUX xpipe.desktop 368 BLAKE2B a3c312fbdb61ad2f7e5c84347c71cdea177964d4c5b4813d07ae42f82f97bfd933135cc80e2f9fd251507624f20c41c0480edeecb221fe0ad62941de9aa14bc8 SHA512 7ce02dfe011ab9af05c1a64bcfcfa6b4f3454781bb32c93202e87792661f3b25f6910cee9398d07fbbc0b407b09bedc4b07a249f2f4f781039e8ea6116901d24
|
||||||
AUX xpipe.png 87256 BLAKE2B 5e7114dca107f92efbce24e93b94fce0671d3f8369ac06619954cb4303cea3a41d433d6a140ca6c2dbf027c0a5471748b3d321658bc465ac8f37004281c0d5d7 SHA512 cf4a50d133cb59392a33b7f3b71e11229cdb97cdea2ec4d8470a6fea981605ca79cf2365345eab15fd2875e21375ca7dbf0a5c8a07b0418086a2b4c98aaac61b
|
AUX xpipe.png 87256 BLAKE2B 5e7114dca107f92efbce24e93b94fce0671d3f8369ac06619954cb4303cea3a41d433d6a140ca6c2dbf027c0a5471748b3d321658bc465ac8f37004281c0d5d7 SHA512 cf4a50d133cb59392a33b7f3b71e11229cdb97cdea2ec4d8470a6fea981605ca79cf2365345eab15fd2875e21375ca7dbf0a5c8a07b0418086a2b4c98aaac61b
|
||||||
DIST xpipe-portable-linux-1.7.16-x86_64.tar.gz 154180398 BLAKE2B 37317d118f0c7319165f04c00cff80d53aa25f843465ff889010a47735e1e2b3a8b088a3413711519f36b113e5a165e2c48efcc6cc48bbe85b97696d62f82fd2 SHA512 221dd792703bae1b9195e4812065969d5006e1673de132607f4394cfb97ffcbf958d35e7fb86e3fb9198ecbf60c7291351b47efe10bf328f267319ef697745f4
|
DIST xpipe-portable-linux-1.7.16-x86_64.tar.gz 154180398 BLAKE2B 37317d118f0c7319165f04c00cff80d53aa25f843465ff889010a47735e1e2b3a8b088a3413711519f36b113e5a165e2c48efcc6cc48bbe85b97696d62f82fd2 SHA512 221dd792703bae1b9195e4812065969d5006e1673de132607f4394cfb97ffcbf958d35e7fb86e3fb9198ecbf60c7291351b47efe10bf328f267319ef697745f4
|
||||||
|
DIST xpipe-portable-linux-16.5-x86_64.tar.gz 198639815 BLAKE2B 6d703157b126c0d38388a87205f9dd07bd3ddc8686b39886c1fcc30a98028d1313a2a4163e40def5895328f7c9e595c6b0ad6683641004b3eccbf14a33636b39 SHA512 f3ed8f65589e8d6debfefbea64a63b5dcbdb2b33637859c3d9f331bb35fc49fc5cc4eca620916f04457adcd22966772274bf7ba8229ee4b293670a344d50695d
|
||||||
DIST xpipe-portable-linux-8.3-x86_64.tar.gz 152796358 BLAKE2B 9bd62f7f9184a5327ddd4840420dd906db74c92bcc2be622432ea2874bca46cb9174fc044c6abfae27f2f8ce0c0973ee62860bcc11fdd59c019e2ee543089db9 SHA512 9b99acb386b4205a7f18635ac9df56d210d6a7020cfb8c588e72c23eadc3f9f362f9cb2bfb6f289ff09202a382c6ad684dbb6e9ea92c1c0aefbac4c26b2f9cc9
|
DIST xpipe-portable-linux-8.3-x86_64.tar.gz 152796358 BLAKE2B 9bd62f7f9184a5327ddd4840420dd906db74c92bcc2be622432ea2874bca46cb9174fc044c6abfae27f2f8ce0c0973ee62860bcc11fdd59c019e2ee543089db9 SHA512 9b99acb386b4205a7f18635ac9df56d210d6a7020cfb8c588e72c23eadc3f9f362f9cb2bfb6f289ff09202a382c6ad684dbb6e9ea92c1c0aefbac4c26b2f9cc9
|
||||||
EBUILD xpipe-1.7.16.ebuild 1112 BLAKE2B e225bd643780482b15ba79f4ed579d843c3d929f1a52a88c42303297943a9c8ad3e8f2460cef8c2061465bfb6bf5112bb4bf8dd0d7857b6a47f83e30ee1fb4f9 SHA512 dbfc9b0032242e7f3e70e7910969e39e8eed119d1b704c272b7dd5faf61e84c82c682c35188a0fb8f40ed09e5971f57886e7e8a42c875e7019d1a25a7e05ee7b
|
EBUILD xpipe-1.7.16.ebuild 1112 BLAKE2B e225bd643780482b15ba79f4ed579d843c3d929f1a52a88c42303297943a9c8ad3e8f2460cef8c2061465bfb6bf5112bb4bf8dd0d7857b6a47f83e30ee1fb4f9 SHA512 dbfc9b0032242e7f3e70e7910969e39e8eed119d1b704c272b7dd5faf61e84c82c682c35188a0fb8f40ed09e5971f57886e7e8a42c875e7019d1a25a7e05ee7b
|
||||||
|
EBUILD xpipe-16.5.ebuild 1142 BLAKE2B 55689585d19f04567115f1e59eccaa67bf3f722bb1f6e9d0cb592981b25f53e0f3b7adc11de5f1c069ac675b1afc73a2d4e30878f0111cd211d66fbabdded3a0 SHA512 4151c94f67b5fe6770800d9ba49baf35a6006752de5afa42fbb8d353aab261b61b00284e0e5c9e383222123a630d4a730895c8896931cd38f330022cb22d70bf
|
||||||
EBUILD xpipe-8.3.ebuild 1142 BLAKE2B 55689585d19f04567115f1e59eccaa67bf3f722bb1f6e9d0cb592981b25f53e0f3b7adc11de5f1c069ac675b1afc73a2d4e30878f0111cd211d66fbabdded3a0 SHA512 4151c94f67b5fe6770800d9ba49baf35a6006752de5afa42fbb8d353aab261b61b00284e0e5c9e383222123a630d4a730895c8896931cd38f330022cb22d70bf
|
EBUILD xpipe-8.3.ebuild 1142 BLAKE2B 55689585d19f04567115f1e59eccaa67bf3f722bb1f6e9d0cb592981b25f53e0f3b7adc11de5f1c069ac675b1afc73a2d4e30878f0111cd211d66fbabdded3a0 SHA512 4151c94f67b5fe6770800d9ba49baf35a6006752de5afa42fbb8d353aab261b61b00284e0e5c9e383222123a630d4a730895c8896931cd38f330022cb22d70bf
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
DIST icy_view_linux_0.6.1.zip 4301944 BLAKE2B 301074fc85f73518687b8d6e1aa55ba99563a52685bae3e98818f1691da3fcc98e544141f03a81e692461c50ffc18dadbea9e763a1a6b17cf366bb6487faf419 SHA512 f9a28cd150d173cf6a9e6d4cd12c1a5b15dc8dc7d88d1d5c9ebb7de77da55c4d0d7be1b3695478b5cec27f9961dc92fd12e006e8c0eb82fbbaedcf5a7b84dc92
|
DIST icy_view_linux_0.8.2.zip 4984904 BLAKE2B 10a779d87f7879f20d67d8fb00f5c26cc932be1c2e4630a951b24ace9bfa4ae026f2901860c1048a66414169661d1681688e492ff8b150583ba36a4c254effc0 SHA512 bad797215564ac88abbbe60677da93c3999735b6b00c70a0b0f6a4d0f85a27f56c31f7d927cfd6515bd0fa62701ce2d418722923385e22a37b86b44c5b948c79
|
||||||
EBUILD icy-view-0.6.1.ebuild 1091 BLAKE2B 4395f9f80716df0d154a9e4e39db39c1636acae613bb24aa704f5776bcd0a7ed104fcc65282edc721eea5305239b37a1fb6f0f0c35e4fc9923d96b9fe19b9e78 SHA512 4a4f1c5a42b23d826f9c1e916385c6cfcb030dd29ec4a8174fe33e63b57a85ddcc7ce07c75384afe7e4c00e9c85270265fb006fc5a3be1970d85f7039c963b44
|
EBUILD icy-view-0.8.2.ebuild 992 BLAKE2B 854a2f72c60c4174990768a8c0aefc90e3a68c5be475279350969a8eddabbed309db10d67fb523b768fc31717bc67e9d84259e0b9aac804956d08950a2bd838b SHA512 43b578e98b0249ce84615498aea848349ebe1bcd6ca5b14af05c56271b71f4f53c27fe39a637bfaf9973eea17ec9b4a0481b39966259b6e1dfe7a61d236cbfb7
|
||||||
MISC ChangeLog 889 BLAKE2B 216bbbfe9b264ef06f5b56748af1ea7366fa49f2406604264b7d22ce8f464ffd7491a57912d7cf1be7d3dc030578960acca895236d6e06fd017f02a9138f0b7f SHA512 09aa97933a9709827b6e3c01ce8a3829cb3d494f7fdac570faa30da6fac440c752391d8dcaf7d03c5cd1163686e8921c1bf4ad75827e4b8df05bbcde03548488
|
MISC ChangeLog 889 BLAKE2B 216bbbfe9b264ef06f5b56748af1ea7366fa49f2406604264b7d22ce8f464ffd7491a57912d7cf1be7d3dc030578960acca895236d6e06fd017f02a9138f0b7f SHA512 09aa97933a9709827b6e3c01ce8a3829cb3d494f7fdac570faa30da6fac440c752391d8dcaf7d03c5cd1163686e8921c1bf4ad75827e4b8df05bbcde03548488
|
||||||
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
|
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
|
||||||
|
@ -8,9 +8,7 @@ inherit unpacker pam xdg-utils
|
|||||||
DESCRIPTION="Is a viewer to browse/view Ansi screens."
|
DESCRIPTION="Is a viewer to browse/view Ansi screens."
|
||||||
HOMEPAGE="https://github.com/mkrueger/icy_tools"
|
HOMEPAGE="https://github.com/mkrueger/icy_tools"
|
||||||
|
|
||||||
#SRC_URI="https://github.com/mkrueger/icy_tools/releases/download/IcyTerm${PV}/icy_term_linux_${PV}.zip"
|
SRC_URI="https://github.com/mkrueger/icy_tools/releases/download/IcyView${PV}/icy_view_linux_${PV}.zip"
|
||||||
SRC_URI="https://github.com/mkrueger/icy_tools/releases/download/0.0.1/icy_view_linux_${PV}.zip"
|
|
||||||
|
|
||||||
LICENSE="apache"
|
LICENSE="apache"
|
||||||
|
|
||||||
SLOT="0"
|
SLOT="0"
|
@ -13,7 +13,7 @@ DIST DaVinci_Resolve_19.0b4_Linux.zip 2955282171 BLAKE2B 4e40f311789eff324ec107a
|
|||||||
DIST DaVinci_Resolve_19.1.1_Linux.zip 3034078545 BLAKE2B f2fe3e612d857f21c5bb08d9a717ed8d8d71b35bd870f920fdb50ff06157836a58a74c2c73b92dbea6c2ded87020c2717317a9e33c7286c8a67d19b8307c4246 SHA512 29924f6a57fa5d476ec09bd88a3f037e9b69b98466ee381cf2338b3c61270c48b4de054123bb924bb96bb63a36393de7b520114d435fe4296f9e7e2212104e9d
|
DIST DaVinci_Resolve_19.1.1_Linux.zip 3034078545 BLAKE2B f2fe3e612d857f21c5bb08d9a717ed8d8d71b35bd870f920fdb50ff06157836a58a74c2c73b92dbea6c2ded87020c2717317a9e33c7286c8a67d19b8307c4246 SHA512 29924f6a57fa5d476ec09bd88a3f037e9b69b98466ee381cf2338b3c61270c48b4de054123bb924bb96bb63a36393de7b520114d435fe4296f9e7e2212104e9d
|
||||||
DIST DaVinci_Resolve_19.1.2_Linux.zip 3034084076 BLAKE2B 196cc04a3cab96bc4d0324563bec39b06ff90a024ccf71b6fd158559314c25a6ae153bdcc341c6f1dd4088427bc9ac127f422db495f1a7af85a605461ab2e9ba SHA512 c6b03bfa62adbceeb5fe827f4605e245f18ccb2b01a5cf31ba91a5aeb27aad5a16ad824491335564317cc7f8a7951336e00f074223e4e61401540d4f1b4c8f14
|
DIST DaVinci_Resolve_19.1.2_Linux.zip 3034084076 BLAKE2B 196cc04a3cab96bc4d0324563bec39b06ff90a024ccf71b6fd158559314c25a6ae153bdcc341c6f1dd4088427bc9ac127f422db495f1a7af85a605461ab2e9ba SHA512 c6b03bfa62adbceeb5fe827f4605e245f18ccb2b01a5cf31ba91a5aeb27aad5a16ad824491335564317cc7f8a7951336e00f074223e4e61401540d4f1b4c8f14
|
||||||
DIST DaVinci_Resolve_19.1.4_Linux.zip 3006240320 BLAKE2B f8c0b713031b57b9e6b49ac6c02166e7335dadb0e5780b02d740cca5a2cbdc453aff963e0361c04bc82f4f1ad4474ab8e6d4c9cdefd2107996f023af01e77239 SHA512 d2aebcdd95021f383c9e441d87acffdf75de1f641413146b6796bbe5eb4472c7ca973404060778c580e5fdde402162e1fdbc419958569468c90fe72263714c1a
|
DIST DaVinci_Resolve_19.1.4_Linux.zip 3006240320 BLAKE2B f8c0b713031b57b9e6b49ac6c02166e7335dadb0e5780b02d740cca5a2cbdc453aff963e0361c04bc82f4f1ad4474ab8e6d4c9cdefd2107996f023af01e77239 SHA512 d2aebcdd95021f383c9e441d87acffdf75de1f641413146b6796bbe5eb4472c7ca973404060778c580e5fdde402162e1fdbc419958569468c90fe72263714c1a
|
||||||
DIST DaVinci_Resolve_20.0b2_Linux.zip 3405164918 BLAKE2B 9a061cd21616a49584d13b5f3cbcc9b11bafbc18783553e7067e3e68c116115ca3c5f9493775274d83572797523a8ec23245093e9fda220de50c34a828077b1f SHA512 9fd02bb4a2133e3ba1f12ac65d2703d9f88c5f0f826b415722e41dcc849701e5a33d639834d85ca8c65c75bcd60ebb30ed74ff57e71378a1da5f06d52292833e
|
DIST DaVinci_Resolve_20.0_Linux.zip 3407592438 BLAKE2B 9071aa567903d7ff8a530b04bb6fc4cc69850a877080f30ce0bdac34b32702ac92ae643f9f4f7b3d1785730493840b58b5ed4832c1db7f475733c744b73909e7 SHA512 62b312dd73877cf74872c1a0def31af6f1984b5c88a123bf89c1d537e42cddeb6dad262c08f119b3e497fed6fbbc527aab015ae477e80c85ab43cad59ddc8417
|
||||||
DIST makeresolvedeb_1.6.0_multi.sh.tar.gz 4191 BLAKE2B ab2f09f339700ee31e011811152c6b97cc7e172698236efba0c0254cf69966c776dd222302e1da0266423f0af9c54ae426de4f5354d0d4550ae89b354f0a3d7a SHA512 02baae42c1e9d2163660b765ee6556660b337a3dfe25a60ee4bad9331d84700538ff9b339d045dd91cc0d89d1cd805e56437ae3a8d6ddf6502d0be0f0e5bc114
|
DIST makeresolvedeb_1.6.0_multi.sh.tar.gz 4191 BLAKE2B ab2f09f339700ee31e011811152c6b97cc7e172698236efba0c0254cf69966c776dd222302e1da0266423f0af9c54ae426de4f5354d0d4550ae89b354f0a3d7a SHA512 02baae42c1e9d2163660b765ee6556660b337a3dfe25a60ee4bad9331d84700538ff9b339d045dd91cc0d89d1cd805e56437ae3a8d6ddf6502d0be0f0e5bc114
|
||||||
DIST makeresolvedeb_1.6.4_multi.sh.tar.gz 4338 BLAKE2B f3bab11a08432e765645e314e1906c677db5b4e321a477856d4bea6439af860c4037314d2f12200a8a227c6a36b940425688d556c312d165a77f04d6c4513cde SHA512 3e11bef55bce1947422b8f204987b5aabb645121f29f416050d73b569cb04105107ffc63a88443e795fca7eca5f022401a6c575ad1ae3311158483d6691398ce
|
DIST makeresolvedeb_1.6.4_multi.sh.tar.gz 4338 BLAKE2B f3bab11a08432e765645e314e1906c677db5b4e321a477856d4bea6439af860c4037314d2f12200a8a227c6a36b940425688d556c312d165a77f04d6c4513cde SHA512 3e11bef55bce1947422b8f204987b5aabb645121f29f416050d73b569cb04105107ffc63a88443e795fca7eca5f022401a6c575ad1ae3311158483d6691398ce
|
||||||
DIST makeresolvedeb_1.7.1_multi.sh.tar.gz 4974 BLAKE2B dda1e77d88ec8c9065f4b26bc275f560ea147a3274540ae6ead10be35ce432904d4a4ef8ae69548bc88b44a628060f86cca5508477a100f1809a5f091ef0e137 SHA512 1cfcc1fc9b39dfb0424465453756c9f192d34bdfb046e4bad035bd1b516747bb04d1f2081d18d40da334a893d964e496cfab943f1262344a26926dffaf5f0a2a
|
DIST makeresolvedeb_1.7.1_multi.sh.tar.gz 4974 BLAKE2B dda1e77d88ec8c9065f4b26bc275f560ea147a3274540ae6ead10be35ce432904d4a4ef8ae69548bc88b44a628060f86cca5508477a100f1809a5f091ef0e137 SHA512 1cfcc1fc9b39dfb0424465453756c9f192d34bdfb046e4bad035bd1b516747bb04d1f2081d18d40da334a893d964e496cfab943f1262344a26926dffaf5f0a2a
|
||||||
@ -28,6 +28,6 @@ EBUILD davinci-resolve-19.0_beta4.ebuild 2948 BLAKE2B c55d2e23c0915a80dcd2f7971e
|
|||||||
EBUILD davinci-resolve-19.1.1.ebuild 2973 BLAKE2B 2cb43ad48fb3cb684f647adf29871590cc73e66bb7152dd999b36cf94787e31203c7941da60e8df8951bd4091148133b5a654a3d64d6df2953381d7a0ed33529 SHA512 b25ffa9f1390ee64f8f3bdbe57c75cce62ea07de888edb25e209869cc5dabe7a6f407785b1816cf5fc72b77b1cb4bddc8ee91dd396b52cccb1ff66993ac6178d
|
EBUILD davinci-resolve-19.1.1.ebuild 2973 BLAKE2B 2cb43ad48fb3cb684f647adf29871590cc73e66bb7152dd999b36cf94787e31203c7941da60e8df8951bd4091148133b5a654a3d64d6df2953381d7a0ed33529 SHA512 b25ffa9f1390ee64f8f3bdbe57c75cce62ea07de888edb25e209869cc5dabe7a6f407785b1816cf5fc72b77b1cb4bddc8ee91dd396b52cccb1ff66993ac6178d
|
||||||
EBUILD davinci-resolve-19.1.2.ebuild 2973 BLAKE2B 2cb43ad48fb3cb684f647adf29871590cc73e66bb7152dd999b36cf94787e31203c7941da60e8df8951bd4091148133b5a654a3d64d6df2953381d7a0ed33529 SHA512 b25ffa9f1390ee64f8f3bdbe57c75cce62ea07de888edb25e209869cc5dabe7a6f407785b1816cf5fc72b77b1cb4bddc8ee91dd396b52cccb1ff66993ac6178d
|
EBUILD davinci-resolve-19.1.2.ebuild 2973 BLAKE2B 2cb43ad48fb3cb684f647adf29871590cc73e66bb7152dd999b36cf94787e31203c7941da60e8df8951bd4091148133b5a654a3d64d6df2953381d7a0ed33529 SHA512 b25ffa9f1390ee64f8f3bdbe57c75cce62ea07de888edb25e209869cc5dabe7a6f407785b1816cf5fc72b77b1cb4bddc8ee91dd396b52cccb1ff66993ac6178d
|
||||||
EBUILD davinci-resolve-19.1.4.ebuild 2973 BLAKE2B eb155b186dc807634a6a4b4850008e767ba4eef6666e47b72182f195c08908e0f7ce9f7fbbc27390d797d77a3985d60d2c886f8ee09d87c1c10746fc8eff0ad8 SHA512 9bda7b13f97ef550d438ebcb9aa86cfc15551394d0cf2b96b81c101bf29312c1e5dcaf4ed214ed8748651fe273f5076443c2c5758a2fa7bd462e6a3b7d90df15
|
EBUILD davinci-resolve-19.1.4.ebuild 2973 BLAKE2B eb155b186dc807634a6a4b4850008e767ba4eef6666e47b72182f195c08908e0f7ce9f7fbbc27390d797d77a3985d60d2c886f8ee09d87c1c10746fc8eff0ad8 SHA512 9bda7b13f97ef550d438ebcb9aa86cfc15551394d0cf2b96b81c101bf29312c1e5dcaf4ed214ed8748651fe273f5076443c2c5758a2fa7bd462e6a3b7d90df15
|
||||||
EBUILD davinci-resolve-20.0_beta2.ebuild 2956 BLAKE2B a18c43fa3541493b0774dbfe6a647400e683e745295338685dc6d42827ebb1fd7069ea29068a0baa5d256d2f0cf50355cda8d8471c6ca27f5bb423bf6361396a SHA512 614f04bd0f83937c90443dfd7b5d85e6a9ce39d0fe61134ef6cad4c5faad7892fe55bc5606b897cdb5c790f3c4cd272911ea6a4f5d06c25248cc0f38b3ac4aeb
|
EBUILD davinci-resolve-20.0.ebuild 2955 BLAKE2B 716772ddd05ee67430d43fe24c7f614c93ad7fb8666d15499613af83474c7d0422fe158e22e055ed71c299eef19ea9366a7043f833a2ac20c18cdcc016e994ab SHA512 c0558fbb6811a301e11f0d9e26ea4162f3815bba15c836cbebbd01633cc25b21bf21cd215939f5b367e6cd3fa2fbaaad366ca0916e43301efee749d39bb77f29
|
||||||
MISC ChangeLog 984 BLAKE2B 6b5afde0d34caa62f7a6e336c651652380e9144d8c3382dcca2ee680b85724d93deca09c903565ccd79987d39ed61c517f1a5e717f37d3b00d24ac95c038edf3 SHA512 8110c143fd18310b7f12b9eb575f5179a574f0941bf1d6978c96ff4887289ecabfc4c3ab5fb4a9125d9b9d5e65d9d430ebc349965b925ba0bd35cf86466badba
|
MISC ChangeLog 984 BLAKE2B 6b5afde0d34caa62f7a6e336c651652380e9144d8c3382dcca2ee680b85724d93deca09c903565ccd79987d39ed61c517f1a5e717f37d3b00d24ac95c038edf3 SHA512 8110c143fd18310b7f12b9eb575f5179a574f0941bf1d6978c96ff4887289ecabfc4c3ab5fb4a9125d9b9d5e65d9d430ebc349965b925ba0bd35cf86466badba
|
||||||
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
|
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
# MAJOR_VER="$(ver_cut 1-3)"
|
MAJOR_VER="$(ver_cut 1-3)"
|
||||||
MAJOR_VER="20.0b2"
|
#MAJOR_VER="20.0b2"
|
||||||
if [[ "${PN}" == "davinci-resolve-studio" ]] ; then
|
if [[ "${PN}" == "davinci-resolve-studio" ]] ; then
|
||||||
BASE_NAME="DaVinci_Resolve_Studio_${MAJOR_VER}_Linux"
|
BASE_NAME="DaVinci_Resolve_Studio_${MAJOR_VER}_Linux"
|
||||||
CONFLICT_PKG="!!media-video/davinci-resolve"
|
CONFLICT_PKG="!!media-video/davinci-resolve"
|
@ -1,3 +1,3 @@
|
|||||||
DIST element-desktop_1.11.97_amd64.deb 107145198 BLAKE2B 1e06fd299dd98d50e3093bca6669bff241b9a120eb10f3c2b0794125794974d52da86da68a44aebb887377cfa81a706bd229a9f80c6eb9383b213878639f0811 SHA512 46279ab8025f652da62b7dff353d302525004a535c04a6d0b4d615ebc01fdf2705dc4d0a9feb5c25df880a6855c33eff58dd7bb403e1decdcfa374c277921bf8
|
DIST element-desktop_1.11.102_amd64.deb 111924158 BLAKE2B 374694e7d8f414b0d5229b511ae605ce07912ec6519706a5ffd20e4823f4cbbb3f57868ac28df0d92e4804d9f8f865f3138e0ccb5a18a097546598dfd877f40e SHA512 6594bbec9b10c361c12c02abe783869648f37303781c5a58c59b2c411bf3451be5c596ffac3b71d03eb8203cfa568463ae71289255f47062bb80abacc8e64c2c
|
||||||
EBUILD element-desktop-bin-1.11.97.ebuild 1903 BLAKE2B 3a000a5b93d7191dc8da6523be5d5985267249f1d3fcf31aa92e678dcc6076ffae9ff1b78c3284b7a3f66126f2b8adcb2c1e89557ddc620ca05f27317d20a56f SHA512 beea5d958b66b5948b691c5cc621abe735179bf5e5cdb7cf2ab385bb0834ac5080be449a46e4deb40e4cfd1c18bc9d1794d84e5a6da480534dd24f3f72cfa5c7
|
EBUILD element-desktop-bin-1.11.102.ebuild 1903 BLAKE2B 3a000a5b93d7191dc8da6523be5d5985267249f1d3fcf31aa92e678dcc6076ffae9ff1b78c3284b7a3f66126f2b8adcb2c1e89557ddc620ca05f27317d20a56f SHA512 beea5d958b66b5948b691c5cc621abe735179bf5e5cdb7cf2ab385bb0834ac5080be449a46e4deb40e4cfd1c18bc9d1794d84e5a6da480534dd24f3f72cfa5c7
|
||||||
MISC metadata.xml 248 BLAKE2B 88afa54e3134b10ecc3f3f7e19fb6b209f3908a517788151cfe6c6ced2b21d368f19a6de982c28575b14a8769069c02b70f639ab73618a9b949c0e9eaf4f17a0 SHA512 3ec152d35cfd434c4ba49a51afd5f2eeaed478983f49f5e61e0713af7da791faee69713a3740182302d8129fb538e8296d0b40152e23e7d5e6d1a996322e7122
|
MISC metadata.xml 248 BLAKE2B 88afa54e3134b10ecc3f3f7e19fb6b209f3908a517788151cfe6c6ced2b21d368f19a6de982c28575b14a8769069c02b70f639ab73618a9b949c0e9eaf4f17a0 SHA512 3ec152d35cfd434c4ba49a51afd5f2eeaed478983f49f5e61e0713af7da791faee69713a3740182302d8129fb538e8296d0b40152e23e7d5e6d1a996322e7122
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
DIST icy_term_linux_0.7.8.zip 5365242 BLAKE2B 0206838607c54acf7a3b0b55c81a0fea594a15f95cf9e3b361355b587f35ab98405083bc96ab894b056ed7a397a71dd5bcd859b3a141cf37840dcd7ad15d60b8 SHA512 82d82301badfc1fa2473c3006c7f8a170368c33b3bc33637015f8e053e1478ce786398585836fd268f0a2234cfece3156e0929c42de0836248693365ce094a51
|
DIST icy_term_linux_0.7.12.zip 5572512 BLAKE2B f26a6cb39efc4bb73c4bdaceadd7ee8e70a7c8fff3b3a9cc5c7998d400864aed2e3f911be038cd14dfff6a0ed343825222f428672d06e66ca9f497fdea50c649 SHA512 56e517949b7e9d8a180536525b1087d37148540158ebbbc5ecbf5fa9391e0424e0a548526f29c7b97efc23be4f3a067c01414ef9630d6f72b4cb58b5f07dfa38
|
||||||
EBUILD icy-term-0.7.8.ebuild 998 BLAKE2B 5345395c14e69e6acbbe33b0be5e35198ab4725eebc1468a2d28440adf2fd31e8642d3707e77e3c6ab0d3e401ba2e18ab3b16114c5950a823949d56d24226cef SHA512 0d260da509cbd2359c806e0850a8b964d9e71d3184c21e88e3b6797f3311cc7ce0750d308c2d879b4283aab98856e079e1f69754368784f32c54975d3d398d12
|
EBUILD icy-term-0.7.12.ebuild 998 BLAKE2B 5345395c14e69e6acbbe33b0be5e35198ab4725eebc1468a2d28440adf2fd31e8642d3707e77e3c6ab0d3e401ba2e18ab3b16114c5950a823949d56d24226cef SHA512 0d260da509cbd2359c806e0850a8b964d9e71d3184c21e88e3b6797f3311cc7ce0750d308c2d879b4283aab98856e079e1f69754368784f32c54975d3d398d12
|
||||||
MISC ChangeLog 889 BLAKE2B 216bbbfe9b264ef06f5b56748af1ea7366fa49f2406604264b7d22ce8f464ffd7491a57912d7cf1be7d3dc030578960acca895236d6e06fd017f02a9138f0b7f SHA512 09aa97933a9709827b6e3c01ce8a3829cb3d494f7fdac570faa30da6fac440c752391d8dcaf7d03c5cd1163686e8921c1bf4ad75827e4b8df05bbcde03548488
|
MISC ChangeLog 889 BLAKE2B 216bbbfe9b264ef06f5b56748af1ea7366fa49f2406604264b7d22ce8f464ffd7491a57912d7cf1be7d3dc030578960acca895236d6e06fd017f02a9138f0b7f SHA512 09aa97933a9709827b6e3c01ce8a3829cb3d494f7fdac570faa30da6fac440c752391d8dcaf7d03c5cd1163686e8921c1bf4ad75827e4b8df05bbcde03548488
|
||||||
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
|
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
DIST Termius.deb 84791982 BLAKE2B e5a3ec96b5a5853a1aaff04ae5689ef9e9499ab1fb0115413f255253421b2f1336e171eda43c929996ff2e6f95674bc9f439bc24919262616a0f3fe88d981073 SHA512 7a22c7315650bb2928028498d9019d7efab289539214654935f842498e5156920ade4494fcce3c8d501e28f9cbb59d44d9976f3fb81943ae23735800db2eecaf
|
DIST Termius_9.21.2.deb 102755304 BLAKE2B 93e3fbf8bddb874a2475bf46156313870469e4311b8576e9228fda4551105121ce6c148920868137eda05d794fe94f0c6a7004921645f43422b28d2656e86844 SHA512 f040bc622fb107da318ced891bff81127a68fed5a53d26284205d4b7a71e1bdbb5ed7ada92d41ec43cba0dcaf6ef7ce3ab891d743c900bc5e1434ec10687de36
|
||||||
EBUILD termius-8.11.0.ebuild 3468 BLAKE2B f3ff1d5cc1993191cbf72679253929798fd3130ae6601656e4df0a8b9e91633427974b0e626dd5e5ed268e0bccd80f5e8750173dcd0fdf968a7cd2307cb2f3c2 SHA512 2225ad3ad50cd5c995c7680ef59224ccf9260b5db870f9ad1b2924fc88d3ad5ee34255c8f8199b2b8d886c66112a3306ffaefab9360c24a387ef3cc92cfc2d0a
|
EBUILD termius-9.21.2.ebuild 3489 BLAKE2B f3cdbd118b63d088d37e19bbcec5df88c0703faab3c8d83a2e7ec906ea16593638418aa3232fbd69d9ebdb427570b9f0004def8196432e624e9528306d38ed77 SHA512 e44ec8acc3f781e15faaace67ebacf8c90ea63c6487077aed68c691dac7355f4f261a15a371b57103652aafcb6cc69b2688bb086a9a5ca1b926f495adbb3f2cd
|
||||||
|
@ -11,7 +11,7 @@ inherit chromium-2 desktop unpacker xdg
|
|||||||
|
|
||||||
DESCRIPTION="SSH client and terminal"
|
DESCRIPTION="SSH client and terminal"
|
||||||
HOMEPAGE="https://termius.com/download/linux"
|
HOMEPAGE="https://termius.com/download/linux"
|
||||||
SRC_URI="https://www.termius.com/download/linux/Termius.deb"
|
SRC_URI="https://www.termius.com/download/linux/Termius.deb -> Termius_${PV}.deb"
|
||||||
|
|
||||||
LICENSE="ms-teams-pre"
|
LICENSE="ms-teams-pre"
|
||||||
SLOT="0"
|
SLOT="0"
|
Loading…
x
Reference in New Issue
Block a user