Sync with portage [Wed Nov 6 15:01:58 MSK 2024].
This commit is contained in:
parent
dde4079a8d
commit
eca9264e0c
1332 changed files with 7577 additions and 5451 deletions
Binary file not shown.
Binary file not shown.
|
@ -1 +1,2 @@
|
|||
DIST Rex-1.14.3.tar.gz 377627 BLAKE2B 40285856b42488f8b557ee2621c3c4ba1019b014d93e3d2e05c09590cb9d1cfa2738e3588aa8cb102ceb3c645cf5aa8113c279a18e23636ad80db09db0825d19 SHA512 7a64221b76f6949f2c5176adc86af9acaff80e9745ad19bc54ffc93d9542bb3c5250d4c511250a0917afb58b92d7a2cf2b24f6915331237c4e2635a760230b70
|
||||
DIST Rex-1.15.0.tar.gz 357974 BLAKE2B ab9ba419444f6e9472278e5e20ba1a96cfc12ccd3de6ad733a5d911f624a5ad369d1cea305b15f1578ce5239bc6519cf22f8bea27b20568d5f4a272245f28bc4 SHA512 e712c35141ec7ae4db2e0cb59261f3d1590eb2a36dc82d2bedc538dbc999c38dce2233fc946293e15037e3bad6dd4b144d2429bed8cc6802d28ab32b3a55e710
|
||||
|
|
228
app-admin/rex/rex-1.15.0-r1.ebuild
Normal file
228
app-admin/rex/rex-1.15.0-r1.ebuild
Normal file
|
@ -0,0 +1,228 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
GITHUB_USER=RexOps
|
||||
GITHUB_REPO=Rex
|
||||
EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
|
||||
EGIT_BRANCH="master"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
|
||||
VCS_ECLASS="git-r3"
|
||||
else
|
||||
# This is intentional to stop perl-module.eclass doing magic things when it
|
||||
# shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
|
||||
# Also prevents perl-module.eclass provisioning SRC_URI
|
||||
DIST_AUTHOR=FERKI
|
||||
DIST_NAME=Rex
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
inherit bash-completion-r1 perl-module ${VCS_ECLASS}
|
||||
|
||||
DESCRIPTION="(R)?ex, the friendly automation framework"
|
||||
HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
|
||||
|
||||
SLOT="0"
|
||||
IUSE="minimal test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DZIL_DEPENDS="
|
||||
dev-perl/Dist-Zilla
|
||||
dev-perl/Dist-Zilla-Plugin-CheckExtraTests
|
||||
dev-perl/Dist-Zilla-Plugin-ContributorsFile
|
||||
dev-perl/Dist-Zilla-Plugin-Git
|
||||
dev-perl/Dist-Zilla-Plugin-Git-Contributors
|
||||
dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
|
||||
dev-perl/Dist-Zilla-Plugin-Meta-Contributors
|
||||
dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
|
||||
dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
|
||||
dev-perl/Dist-Zilla-Plugin-OSPrereqs
|
||||
dev-perl/Dist-Zilla-Plugin-OurPkgVersion
|
||||
dev-perl/Dist-Zilla-Plugin-Run
|
||||
dev-perl/Software-License
|
||||
"
|
||||
RDEPEND="
|
||||
!minimal? (
|
||||
app-admin/augeas
|
||||
dev-perl/DBI
|
||||
dev-perl/Expect
|
||||
dev-perl/IPC-Shareable
|
||||
dev-perl/Parallel-ForkManager
|
||||
dev-perl/XML-LibXML
|
||||
net-misc/rsync
|
||||
)
|
||||
virtual/perl-Carp
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/Data-Validate-IP
|
||||
dev-perl/Devel-Caller
|
||||
dev-perl/Digest-HMAC
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-Exporter
|
||||
virtual/perl-File-Spec
|
||||
dev-perl/HTTP-Message
|
||||
dev-perl/Hash-Merge
|
||||
virtual/perl-IO
|
||||
dev-perl/IO-Tty
|
||||
dev-perl/JSON-MaybeXS
|
||||
virtual/perl-MIME-Base64
|
||||
dev-perl/Net-OpenSSH
|
||||
dev-perl/Net-SFTP-Foreign
|
||||
>=virtual/perl-Scalar-List-Utils-1.450.0
|
||||
dev-perl/Sort-Naturally
|
||||
dev-perl/String-Escape
|
||||
virtual/perl-Storable
|
||||
dev-perl/TermReadKey
|
||||
virtual/perl-Test-Simple
|
||||
dev-perl/Text-Glob
|
||||
virtual/perl-Text-Tabs+Wrap
|
||||
virtual/perl-Time-HiRes
|
||||
dev-perl/URI
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/YAML
|
||||
virtual/perl-version
|
||||
virtual/perl-Term-ANSIColor
|
||||
"
|
||||
# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
>=virtual/perl-CPAN-Meta-Requirements-2.120.620
|
||||
>=virtual/perl-ExtUtils-MakeMaker-7.110.100
|
||||
>=dev-perl/File-ShareDir-Install-0.60.0
|
||||
virtual/perl-Module-Metadata
|
||||
test? (
|
||||
!minimal? (
|
||||
app-admin/augeas
|
||||
|| ( dev-perl/File-LibMagic sys-apps/file )
|
||||
dev-vcs/git
|
||||
)
|
||||
virtual/perl-File-Temp
|
||||
dev-perl/Sub-Override
|
||||
dev-perl/Test-Deep
|
||||
dev-perl/Test-Exception
|
||||
dev-perl/Test-Output
|
||||
dev-perl/Test-UseAllModules
|
||||
dev-perl/Test-Warnings
|
||||
virtual/perl-autodie
|
||||
virtual/perl-Module-Load-Conditional
|
||||
)
|
||||
"
|
||||
|
||||
[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
"${VCS_ECLASS}"_src_unpack
|
||||
mkdir -p "${S}" || die "Can't make ${S}"
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
dzil_src_prep() {
|
||||
einfo "Patching dist.ini"
|
||||
|
||||
# This block of sed invocations removes all plugins that aren't
|
||||
# useful for users to have on Gentoo, because all of them are
|
||||
# conditional and subjective style checks, which don't indicate
|
||||
# a real issue for users, and paying the price of their dependencies is undesired.
|
||||
|
||||
# The {N;d} trick adds the [n]ext line after the match to the pattern-space
|
||||
# so that the final [d]elete deletes the next line too. Can be expanded for each
|
||||
# line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
|
||||
sed -e '/^\[Test::Kwalitee\]/d' \
|
||||
-e '/^\[PodSyntaxTests\]/d' \
|
||||
-e '/^Perl::Critic::Freenode =/d' \
|
||||
-e '/^Perl::Critic::TooMuchCode =/d' \
|
||||
-e '/^Test::Kwalitee =/d' \
|
||||
-e '/^Test::PerlTidy =/d' \
|
||||
-e '/^Test::Pod =/d' \
|
||||
-e '/^\[Test::CPAN::Changes\]/{N;d}' \
|
||||
-e '/^\[OptionalFeature/,/^$/d' \
|
||||
-e '/^\[Test::MinimumVersion\]/{N;d}' \
|
||||
-i dist.ini || die "Can't patch dist.ini"
|
||||
|
||||
# Removals/additions have to be tracked by git or dzil build fails
|
||||
# Spurious warning during src_prepare
|
||||
git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
|
||||
# Spurious warning during src_prepare
|
||||
git rm -f xt/author/perltidy.t || die "Can't rm author/perltidy.t"
|
||||
}
|
||||
dzil_env_setup() {
|
||||
# NextRelease noise :(
|
||||
mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
|
||||
local user="$(whoami)"
|
||||
local host="$(hostname)"
|
||||
printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
|
||||
|
||||
}
|
||||
dzil_to_distdir() {
|
||||
local dzil_root dest has_missing modname dzil_version
|
||||
dzil_root="$1"
|
||||
dest="$2"
|
||||
|
||||
cd "${dzil_root}" || die "Can't enter git workdir '${dzil_root}'";
|
||||
|
||||
S="${dzil_root}" dzil_src_prep
|
||||
dzil_env_setup
|
||||
|
||||
dzil_version="$(dzil version)" || die "Error invoking 'dzil version'"
|
||||
einfo "Generating CPAN dist with ${dzil_version}"
|
||||
|
||||
has_missing=""
|
||||
|
||||
einfo "Checking dzil authordeps"
|
||||
while IFS= read -d $'\n' -r modname; do
|
||||
if [[ -z "${has_missing}" ]]; then
|
||||
has_missing=1
|
||||
eerror "'dzil authordeps' indicates missing build dependencies"
|
||||
eerror "These will prevent building, please report a bug"
|
||||
eerror "Missing:"
|
||||
fi
|
||||
eerror " ${modname}"
|
||||
done < <( dzil authordeps --missing --versions )
|
||||
|
||||
[[ -z "${has_missing}" ]] || die "Satisfy all missing authordeps first"
|
||||
|
||||
einfo "Checking dzil build deps"
|
||||
while IFS= read -d $'\n' -r modname; do
|
||||
if [[ -z "${has_missing}" ]]; then
|
||||
has_missing=1
|
||||
ewarn "'dzil listdeps' indicates missing build dependencies"
|
||||
ewarn "These may prevent building, please report a bug if they do"
|
||||
ewarn "Missing:"
|
||||
fi
|
||||
ewarn " ${modname}"
|
||||
done < <( dzil listdeps --missing --versions --author )
|
||||
|
||||
einfo "Generating release"
|
||||
dzil build --notgz --in "${dest}" || die "Unable to build CPAN dist in '${dest}'"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
# Uses git sources in WORKDIR/rex-git
|
||||
# to generate a CPAN-style tree in ${S}
|
||||
# before letting perl-module.eclass do the rest
|
||||
dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
|
||||
fi
|
||||
cd "${S}" || die "Can't enter build dir"
|
||||
|
||||
# If you DIY installed Test::mysqld, but didn't patch
|
||||
# it to handle the fact on Gentoo, mysql_install_db is NOT in PATH
|
||||
# tests fail. So this test is patched out if mysql_install_db is not in PATH
|
||||
if perl_has_module "Test::mysqld" && ! type -P mysql_install_db >/dev/null; then
|
||||
perl_rm_files "t/db.t"
|
||||
fi
|
||||
perl-module_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins "share/${PN}-tab-completion.zsh" "_${PN}"
|
||||
|
||||
perl-module_src_install
|
||||
}
|
|
@ -44,9 +44,11 @@ DZIL_DEPENDS="
|
|||
"
|
||||
RDEPEND="
|
||||
!minimal? (
|
||||
app-admin/augeas
|
||||
dev-perl/DBI
|
||||
dev-perl/Expect
|
||||
dev-perl/IPC-Shareable
|
||||
dev-perl/Parallel-ForkManager
|
||||
dev-perl/XML-LibXML
|
||||
net-misc/rsync
|
||||
)
|
||||
|
@ -61,14 +63,12 @@ RDEPEND="
|
|||
dev-perl/HTTP-Message
|
||||
dev-perl/Hash-Merge
|
||||
virtual/perl-IO
|
||||
dev-perl/IO-String
|
||||
dev-perl/IO-Tty
|
||||
dev-perl/JSON-MaybeXS
|
||||
virtual/perl-MIME-Base64
|
||||
dev-perl/Net-OpenSSH
|
||||
dev-perl/Net-SFTP-Foreign
|
||||
>=virtual/perl-Scalar-List-Utils-1.450.0
|
||||
dev-perl/Parallel-ForkManager
|
||||
dev-perl/Sort-Naturally
|
||||
dev-perl/String-Escape
|
||||
virtual/perl-Storable
|
||||
|
@ -93,6 +93,7 @@ BDEPEND="
|
|||
virtual/perl-Module-Metadata
|
||||
test? (
|
||||
!minimal? (
|
||||
app-admin/augeas
|
||||
|| ( dev-perl/File-LibMagic sys-apps/file )
|
||||
dev-vcs/git
|
||||
)
|
||||
|
|
Binary file not shown.
|
@ -1 +1,2 @@
|
|||
DIST borgmatic-1.8.14.tar.gz 623966 BLAKE2B fd52bc5be4f63e1207a0bedcf654af075082d31af76ddc65ea30a3259f1ec093c826612e114fd9f9fa46668f80eed3b2b6a88262fbb9e4db49c36ba31efa70c5 SHA512 74daecbf02f957b21121dff073c2e114c87b1afdf6b3408b8fc2bf465102425cca60e4bdc8bc8d0e2d0a9c20b1f514eb7c9a2e136e71cb61969e07a38841235a
|
||||
DIST borgmatic-1.9.0.tar.gz 636235 BLAKE2B ff71f8c811ca185926369402de5f2b1bd750135fcc66d54744056292994b781fba501945cf5dc39cc727d2c8f2ef360e79b4f2ba7a868f29bf0304722cae9649 SHA512 767b11451377d9ab046fe36272d523f1ec7c72fe162cc3eef09583f4e9a6e0d4bae09bb446b746a47e73fb4afdac1d0206b75b93a9fb2859987909f17aa87c43
|
||||
|
|
82
app-backup/borgmatic/borgmatic-1.9.0.ebuild
Normal file
82
app-backup/borgmatic/borgmatic-1.9.0.ebuild
Normal file
|
@ -0,0 +1,82 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 systemd pypi
|
||||
|
||||
DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
|
||||
HOMEPAGE="
|
||||
https://torsion.org/borgmatic/
|
||||
https://projects.torsion.org/borgmatic-collective/borgmatic
|
||||
"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv"
|
||||
IUSE="apprise"
|
||||
|
||||
# borg is called as an external tool, hence no pythonic stuff
|
||||
RDEPEND="app-backup/borgbackup
|
||||
$(python_gen_cond_dep '
|
||||
<dev-python/colorama-0.5[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
||||
')
|
||||
apprise? ( $(python_gen_cond_dep '
|
||||
dev-python/apprise[${PYTHON_USEDEP}]
|
||||
') )"
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/apprise[${PYTHON_USEDEP}]
|
||||
>=dev-python/flexmock-0.10.10[${PYTHON_USEDEP}]
|
||||
')
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.7.14-systemd_service_bin_path.patch
|
||||
"${FILESDIR}"/${P}-no_test_coverage.patch
|
||||
"${FILESDIR}"/${P}-build-backend.patch
|
||||
)
|
||||
|
||||
# A fragile test whose only purpose is to make sure the NEWS file
|
||||
# has been updated for the current version.
|
||||
EPYTEST_DESELECT=(
|
||||
tests/integration/commands/test_borgmatic.py::test_borgmatic_version_matches_news_version
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
systemd_dounit sample/systemd/borgmatic.{service,timer}
|
||||
keepdir /etc/borgmatic
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
elog "To generate a sample configuration file, run:"
|
||||
elog " ${PN} config generate"
|
||||
elog
|
||||
elog "Systemd users wishing to periodically run ${PN} can use the provided timer and service units."
|
||||
else
|
||||
local oldver
|
||||
for oldver in ${REPLACING_VERSIONS}; do
|
||||
if ver_test "${oldver}" -lt 1.9.0; then
|
||||
ewarn "Please be warned that ${PN}-1.9.0 has introduced several breaking changes."
|
||||
ewarn "For details, please see"
|
||||
ewarn
|
||||
ewarn " https://github.com/borgmatic-collective/borgmatic/releases/tag/1.9.0"
|
||||
ewarn
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
uncomment build backend
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index c3338c9c..6197d3df 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -38,7 +38,7 @@ Homepage = "https://torsion.org/borgmatic"
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0"]
|
||||
# allow looking for conf in setup.{cfg,py}
|
||||
-#build-backend = "setuptools.build_meta"
|
||||
+build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["borgmatic*"]
|
||||
--
|
||||
2.45.2
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
no test coverage
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 6197d3df..713554e9 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -50,7 +50,7 @@ skip-string-normalization = true
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = "tests"
|
||||
-addopts = "--cov-report term-missing:skip-covered --cov=borgmatic --ignore=tests/end-to-end"
|
||||
+addopts = "--ignore=tests/end-to-end"
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
--
|
||||
2.45.2
|
||||
|
Binary file not shown.
|
@ -1,3 +1,6 @@
|
|||
DIST vscode-1.94.2-amd64.tar.gz 145188698 BLAKE2B 0ba98d4af28da95d2d19b5cbb27b18a6c6f82a73c585e57ef94868133f595050b4ab1e78eb25d02a40fcf187057467e88f421e4e22544e301c709d2b1d590e0f SHA512 41f02fe383a825c0e50dae1a5527c2e62e6d8b930f62667a4ad17479264325f3a23bbf196a8ed5121a18bb9b3e853b7c840a0e1490157dc74adaa654bc566062
|
||||
DIST vscode-1.94.2-arm.tar.gz 129620768 BLAKE2B c31a0b60a8c0e6fcf6010846f29a1ed14804b20b5910d91e896e4f43f18ac26413f32f89546be1f5e68a4dcbcb24741369e8dd1f0d48436beb41e6b40c01da81 SHA512 37e541de5659b8a7097c54e5b7f6313a8e7f93691bbe640b302c1fc0c8588b8560c75e037d7a29df635bca47be791b29886c8171f5e15b0b76fc0e1069b68814
|
||||
DIST vscode-1.94.2-arm64.tar.gz 141296756 BLAKE2B 160dbbeea65cd482c42e7d48c120c63167fe274ebfab2c458923930aa9f5b69c005bbddd7d66139084809b73ff7ce04defc9421b738ef608a8f11a7385ee14ea SHA512 bba6212737b30f43ee943d3ab8883d6c184fe6e2f66375cb893521d766a75fb139664ea18f4e91436fb7863c5a72534b02a2d6aff6953c09085b5b5eec506064
|
||||
DIST vscode-1.95.1-amd64.tar.gz 148382845 BLAKE2B af91c360425684b660ab165bd5d10084d393be0ed84769c0b4967cc575aa62d1c6478410adb0aa3467e66dd40750ba068c026d3d37923997e93300ef773d76ed SHA512 c48f070031e239b5140028e0af05208a5519a844513b5ca99f779fb62cb56f03342df5809f0cfbf6fdd940ddbfb7176acf6f3ecf041f7484aa02de0457e1555c
|
||||
DIST vscode-1.95.1-arm.tar.gz 132440825 BLAKE2B 99e79889dcb2d1131963a08258c6b1dc4519e08000dc707e0e19531fa015553efa7e49caeb7b813edaa59cf43186d979dff552bd0c2ff0559b09149666e66a15 SHA512 3e35c51b5127ce89743c465d4ffe61d8d5b6b52bea025cc09a55461289a1d8a22255a1f08151609177e7694c586cf918a0c562dd39051eb17aea02af60f33c87
|
||||
DIST vscode-1.95.1-arm64.tar.gz 144398553 BLAKE2B 54d9bcba210df773a10361c79329d2d7511d942a5eead4af619ee84f6d159ed3b694cbb5f9d340e25fc4d39cb40de1e9c17894b16b63b265903260d03ef7e655 SHA512 aec996bc4071eba11d19d2a17dc92e127569d99e08fa0c2f9f66e4d8c62529457dbc65b21180442fd58197a5ad534a21eb287286fa3ac317171009733e6db86f
|
||||
|
|
131
app-editors/vscode/vscode-1.95.1.ebuild
Normal file
131
app-editors/vscode/vscode-1.95.1.ebuild
Normal file
|
@ -0,0 +1,131 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop pax-utils xdg optfeature
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
IUSE="egl kerberos wayland"
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret[crypt]
|
||||
app-misc/ca-certificates
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libglvnd
|
||||
media-libs/mesa
|
||||
net-misc/curl
|
||||
sys-apps/dbus
|
||||
sys-libs/zlib
|
||||
sys-process/lsof
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/pango
|
||||
x11-misc/xdg-utils
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/ThirdPartyNotices.txt || die
|
||||
|
||||
# Disable update server
|
||||
sed -e "/updateUrl/d" -i ./resources/app/product.json || die
|
||||
|
||||
if ! use kerberos; then
|
||||
rm -r ./resources/app/node_modules/kerberos || die
|
||||
fi
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
mkdir -p "${ED}/opt/${PN}" || die
|
||||
cp -r . "${ED}/opt/${PN}" || die
|
||||
fperms 4711 /opt/${PN}/chrome-sandbox
|
||||
|
||||
dosym -r "/opt/${PN}/bin/code" "usr/bin/vscode"
|
||||
dosym -r "/opt/${PN}/bin/code" "usr/bin/code"
|
||||
|
||||
local EXEC_EXTRA_FLAGS=()
|
||||
if use wayland; then
|
||||
EXEC_EXTRA_FLAGS+=( "--ozone-platform-hint=auto" "--enable-wayland-ime" )
|
||||
fi
|
||||
if use egl; then
|
||||
EXEC_EXTRA_FLAGS+=( "--use-gl=egl" )
|
||||
fi
|
||||
|
||||
sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \
|
||||
"${FILESDIR}/code-url-handler.desktop" \
|
||||
> "${T}/code-url-handler.desktop" || die
|
||||
|
||||
sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \
|
||||
"${FILESDIR}/code.desktop" \
|
||||
> "${T}/code.desktop" || die
|
||||
|
||||
domenu "${T}/code.desktop"
|
||||
domenu "${T}/code-url-handler.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "desktop notifications" x11-libs/libnotify
|
||||
optfeature "keyring support inside vscode" "virtual/secret-service"
|
||||
}
|
|
@ -4,3 +4,6 @@ DIST vscodium-1.94.1.24283-arm64.tar.gz 130400583 BLAKE2B 4991ab4c8e30326efa6966
|
|||
DIST vscodium-1.94.2.24286-amd64.tar.gz 130462753 BLAKE2B aaa4491f2159b4f158174d73f41188d88efd99fe247a75d36b967950be8eb7d5095d4447477ad531dcfdd403ee71f2300a6636c4a269d5eb83f4b08cbcf78c16 SHA512 7c6c32582a688088aa7cbcd7dbbab1ee44325d4134b78aa1a7278ea4a4d903193a76923466d302aa9a89ef70b6869358d2acb1fcc07975a722edd43ccba91ae3
|
||||
DIST vscodium-1.94.2.24286-arm.tar.gz 118804173 BLAKE2B 8e20f8b111141114c79077922f8292c636582a403fd0042c2050a34f7b79eadcb294526b885b326ca0d02b5bc98cd5c0a50edf9607424bdfa004112cc4aaa46e SHA512 af7aa92c4b7c1397bd6411f5b2edd86adb7bc48922108bd46c4ceab663d3c1262c25441e75651238bc999849ce589a8768413a293522c882e4a32d92a864d625
|
||||
DIST vscodium-1.94.2.24286-arm64.tar.gz 130400501 BLAKE2B 3520c0ec2d3794ce6449c6dcab64a8dee95e09d0f6ae98a7510ef3bf534e1e4b862b00b27684e51c3eb6ad51ca82df1e49bef92d8bfa6e95bf70773e46631228 SHA512 dfb84f9946352beeba0b138d661a96f94d378cd50ba2a2eaf72400951314b95d1582032ba64f9c6ea95d706f9e3fcb453680ff35ab9579c64024e76d17df9edc
|
||||
DIST vscodium-1.95.1.24307-amd64.tar.gz 133761601 BLAKE2B 526e3f8a35f5fdcd80a11a1b4d08889fbc014b688ce81fd1ac0203ca5d148edf29d7447d4d041c1a5cb657ded6da89c75a82fcb8dc84ec5708805aac65ea05db SHA512 16d0f9a9e2e76c117d3ae663f9f4b90c0cb12984f92e88175f8c9bc8f529c92573a20cab0cd7015e3365954bb2022b59a6cfa76081eb4bce4de1420080306d42
|
||||
DIST vscodium-1.95.1.24307-arm.tar.gz 121749295 BLAKE2B deed0d74a429459c5c8561ca69039dac2dcb7c8211f563fd35ecd9443b6b6345d0f0a4c17e69d547267f822ce2f591644d1ee1bfdc93205d93878476087d697d SHA512 5f3cc30366270c857969b08268965c0f6411228f437df211172c1837af327cf16af2d5018b425a7f1309aef593a6e66b78a37c3d4b48f4ca57a08d4f8cfe95cb
|
||||
DIST vscodium-1.95.1.24307-arm64.tar.gz 133657550 BLAKE2B 860a76d9e4ba2d52f996f2b0ff38e4a02ac5055811a4773b733768cb9b4791e9e1d2aa7cd6832eed303772a855da7e41f2c4f12073647a56ffd0ebdeaf3c0e04 SHA512 da448f6fc6c8bdf86ad34e0c90b2d4b00887194bbe2256440777f33c9580622507600cd6c85b6682ccd9dc93eeda4805492770c7c32343112bd91d94b1406728
|
||||
|
|
128
app-editors/vscodium/vscodium-1.95.1.24307.ebuild
Normal file
128
app-editors/vscodium/vscodium-1.95.1.24307.ebuild
Normal file
|
@ -0,0 +1,128 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop pax-utils xdg optfeature
|
||||
|
||||
# Usage: arch_src_uri <gentoo arch> <upstream arch>
|
||||
arch_src_uri() {
|
||||
echo "${1}? (
|
||||
https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-${2}-${PV}.tar.gz
|
||||
-> ${P}-${1}.tar.gz
|
||||
)"
|
||||
}
|
||||
|
||||
DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode"
|
||||
HOMEPAGE="https://vscodium.com/"
|
||||
SRC_URI="
|
||||
$(arch_src_uri amd64 x64)
|
||||
$(arch_src_uri arm armhf)
|
||||
$(arch_src_uri arm64 arm64)
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
IUSE="egl kerberos wayland"
|
||||
RESTRICT="strip bindist"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret[crypt]
|
||||
app-misc/ca-certificates
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libglvnd
|
||||
media-libs/mesa
|
||||
net-misc/curl
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
sys-libs/zlib
|
||||
sys-process/lsof
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/pango
|
||||
x11-misc/xdg-utils
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
# Cleanup license file - it exists only in amd64 tarball
|
||||
rm -f "${S}/resources/app/LICENSE.txt" || die
|
||||
|
||||
if ! use kerberos; then
|
||||
rm -rf "${S}/resources/app/node_modules.asar.unpacked/kerberos" || die
|
||||
fi
|
||||
|
||||
# Install
|
||||
pax-mark m codium
|
||||
mkdir -p "${ED}/opt/${PN}" || die
|
||||
cp -r . "${ED}/opt/${PN}" || die
|
||||
fperms 4711 /opt/${PN}/chrome-sandbox
|
||||
|
||||
dosym -r "/opt/${PN}/bin/codium" "usr/bin/vscodium"
|
||||
dosym -r "/opt/${PN}/bin/codium" "usr/bin/codium"
|
||||
|
||||
local EXEC_EXTRA_FLAGS=()
|
||||
if use wayland; then
|
||||
EXEC_EXTRA_FLAGS+=( "--ozone-platform-hint=auto" )
|
||||
fi
|
||||
if use egl; then
|
||||
EXEC_EXTRA_FLAGS+=( "--use-gl=egl" )
|
||||
fi
|
||||
|
||||
sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \
|
||||
"${FILESDIR}/vscodium-url-handler.desktop" \
|
||||
> "${T}/vscodium-url-handler.desktop" || die
|
||||
|
||||
sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \
|
||||
"${FILESDIR}/vscodium.desktop" \
|
||||
> "${T}/vscodium.desktop" || die
|
||||
|
||||
domenu "${T}/vscodium.desktop"
|
||||
domenu "${T}/vscodium-url-handler.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscodium.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
elog "When compared to the regular VSCode, VSCodium has a few quirks"
|
||||
elog "More information at: https://github.com/VSCodium/vscodium/blob/master/docs/index.md"
|
||||
optfeature "desktop notifications" x11-libs/libnotify
|
||||
optfeature "keyring support inside vscode" "virtual/secret-service"
|
||||
}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
DIST kexi-3.2.0.tar.xz 3624956 BLAKE2B 8d0b3712f07d13f606c4c0d714b3d4ea0fe9f56e4d4a3aeeb144ffda56cd5ef89e4f08d5660550364103c86acd60923ddc74fcea135a23fffbae87853a7c00f4 SHA512 5cb9e0747c8e7ea19020b62345571ba10f65278dcc718bb0772827721bf8812d0ffee3c35d53b57285884c66e0406520835c7b00789fbe5459717722dff13e93
|
|
@ -1,80 +0,0 @@
|
|||
From 3280c5ec9940f329dc75b2b8d9a52285b20209f0 Mon Sep 17 00:00:00 2001
|
||||
From: Johannes Zarl-Zierl <johannes@zarl-zierl.at>
|
||||
Date: Wed, 5 May 2021 00:09:49 +0200
|
||||
Subject: [PATCH] Use plain Marble package instead of KexiMarble
|
||||
|
||||
Marble has shipped with a MarbleConfig.cmake file since ~2016. Kexi
|
||||
already depends on KF5 versions that are much newer than that.
|
||||
|
||||
* asturm 2021-09-14: Backported to 3.2.0.
|
||||
- s/KEXI/Kexi/ in set_package_properties(Marble ...) to fix patch context
|
||||
- partially merging d09be29f56b94d6a522fa30a5b661926baca973c (drop MARBLE_MIN_VERSION)
|
||||
|
||||
---
|
||||
CMakeLists.txt | 8 +-
|
||||
src/plugins/forms/widgets/CMakeLists.txt | 2 +-
|
||||
.../forms/widgets/mapbrowser/CMakeLists.txt | 3 +-
|
||||
3 files changed, 5 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 97c58fa10..548b2708f 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -196,17 +196,14 @@ endif()
|
||||
##
|
||||
## Test for marble
|
||||
##
|
||||
-set(MARBLE_MIN_VERSION "0.19.2")
|
||||
-find_package(KexiMarble ${MARBLE_MIN_VERSION})
|
||||
-set_package_properties(KexiMarble PROPERTIES
|
||||
+find_package(Marble CONFIG)
|
||||
+set_package_properties(Marble PROPERTIES
|
||||
DESCRIPTION "KDE World Globe Widget library"
|
||||
URL "https://marble.kde.org"
|
||||
TYPE RECOMMENDED
|
||||
PURPOSE "Required by Kexi form map widget"
|
||||
)
|
||||
-if(NOT MARBLE_FOUND)
|
||||
- set(MARBLE_INCLUDE_DIR "")
|
||||
-else()
|
||||
+if(Marble_FOUND)
|
||||
set(HAVE_MARBLE TRUE)
|
||||
endif()
|
||||
set_package_properties(GLIB2 PROPERTIES TYPE RECOMMENDED PURPOSE "${_REQUIRED_BY_MDB}")
|
||||
diff --git a/src/plugins/forms/widgets/CMakeLists.txt b/src/plugins/forms/widgets/CMakeLists.txt
|
||||
index 107d578a8..109341fe0 100644
|
||||
--- a/src/plugins/forms/widgets/CMakeLists.txt
|
||||
+++ b/src/plugins/forms/widgets/CMakeLists.txt
|
||||
@@ -11,7 +11,7 @@ endmacro()
|
||||
# the main widgets plugin
|
||||
add_subdirectory(main)
|
||||
|
||||
-if(MARBLE_FOUND)
|
||||
+if(Marble_FOUND)
|
||||
#TODO add_subdirectory(mapbrowser)
|
||||
endif()
|
||||
|
||||
diff --git a/src/plugins/forms/widgets/mapbrowser/CMakeLists.txt b/src/plugins/forms/widgets/mapbrowser/CMakeLists.txt
|
||||
--- a/src/plugins/forms/widgets/mapbrowser/CMakeLists.txt
|
||||
+++ b/src/plugins/forms/widgets/mapbrowser/CMakeLists.txt
|
||||
@@ -1,7 +1,6 @@
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src/formeditor
|
||||
${CMAKE_SOURCE_DIR}/src/core
|
||||
- ${MARBLE_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
set(kexiforms_mapwidgetplugin_SRCS
|
||||
@@ -20,8 +19,8 @@ target_link_libraries(kexiforms_mapwidgetplugin
|
||||
kexiextendedwidgets
|
||||
kexiformutils
|
||||
kexidataviewcommon
|
||||
- ${MARBLE_LIBRARIES}
|
||||
|
||||
+ Marble
|
||||
Qt5::Xml
|
||||
)
|
||||
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
From 73d3fa8e7a1028c89b20c74f6444a76a722d8041 Mon Sep 17 00:00:00 2001
|
||||
From: Heiko Becker <heiko.becker@kde.org>
|
||||
Date: Sun, 18 Apr 2021 11:47:30 +0200
|
||||
Subject: [PATCH] Include <glib.h> outside of the extern block
|
||||
|
||||
This fixes the build with glib >= 2.68. It's caused by [1] and glib
|
||||
upstream did not want to include a workaround because the fixes
|
||||
downstream seem trivial [2][3].
|
||||
|
||||
[1] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1715
|
||||
[2] https://gitlab.gnome.org/GNOME/glib/-/issues/2331
|
||||
[3] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1935
|
||||
---
|
||||
src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h b/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h
|
||||
index 31f48c171..56276e2d6 100644
|
||||
--- a/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h
|
||||
+++ b/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h
|
||||
@@ -18,6 +18,8 @@
|
||||
#ifndef _mdbtools_h_
|
||||
#define _mdbtools_h_
|
||||
|
||||
+#include <glib.h>
|
||||
+
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -32,7 +34,6 @@
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
-#include <glib.h>
|
||||
|
||||
#ifdef HAVE_ICONV
|
||||
#include <iconv.h>
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
From 511d99b7745a6ce87a208bdbf69e631f1f136d53 Mon Sep 17 00:00:00 2001
|
||||
From: Luca Beltrame <lbeltrame@kde.org>
|
||||
Date: Sun, 21 Jul 2019 09:07:44 +0200
|
||||
Subject: Fix build with Qt 5.13
|
||||
|
||||
The QDate include is no longer included transitively.
|
||||
---
|
||||
src/plugins/forms/widgets/kexidbdatepicker.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/plugins/forms/widgets/kexidbdatepicker.cpp b/src/plugins/forms/widgets/kexidbdatepicker.cpp
|
||||
index 1e0692d..92a5c88 100644
|
||||
--- a/src/plugins/forms/widgets/kexidbdatepicker.cpp
|
||||
+++ b/src/plugins/forms/widgets/kexidbdatepicker.cpp
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "kexidbdatepicker.h"
|
||||
#include <kexiutils/utils.h>
|
||||
|
||||
+#include <QDate>
|
||||
#include <QLineEdit>
|
||||
#include <QInputMethodEvent>
|
||||
|
||||
--
|
||||
cgit v1.1
|
|
@ -1,25 +0,0 @@
|
|||
From 49c3b55019ebb563852c8ee1172def3288cd0fda Mon Sep 17 00:00:00 2001
|
||||
From: Pino Toscano <pino@kde.org>
|
||||
Date: Fri, 21 May 2021 13:33:49 +0200
|
||||
Subject: [PATCH] cmake: find PostgreSQL 14
|
||||
|
||||
---
|
||||
cmake/modules/FindPostgreSQL.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmake/modules/FindPostgreSQL.cmake b/cmake/modules/FindPostgreSQL.cmake
|
||||
index 16e3cc32a..12b1469b4 100644
|
||||
--- a/cmake/modules/FindPostgreSQL.cmake
|
||||
+++ b/cmake/modules/FindPostgreSQL.cmake
|
||||
@@ -86,7 +86,7 @@ set(PostgreSQL_LIBRARY_DIR_MESSAGE "Set the PostgreSQL_LIBRARY_DIR cmake cache e
|
||||
set(PostgreSQL_ROOT_DIR_MESSAGE "Set the PostgreSQL_ROOT system variable to where PostgreSQL is found on the machine E.g C:/Program Files/PostgreSQL/8.4")
|
||||
|
||||
set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS}
|
||||
- "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
||||
+ "14" "13" "12" "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
||||
|
||||
# Define additional search paths for root directories.
|
||||
foreach (suffix ${PostgreSQL_KNOWN_VERSIONS} )
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -1,96 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# ECM_HANDBOOK="true"
|
||||
ECM_TEST="forceoptional"
|
||||
KFMIN=5.82.0
|
||||
QTMIN=5.15.2
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Visual database applications creator"
|
||||
HOMEPAGE="https://apps.kde.org/kexi-3.3/ https://kexi-project.org/
|
||||
https://userbase.kde.org/Kexi"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} != live ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2" # TODO: CHECK
|
||||
SLOT="5"
|
||||
IUSE="debug experimental marble mdb mysql postgres sqlite"
|
||||
|
||||
DEPEND="
|
||||
>=dev-db/kdb-3.1.0-r1:5=[debug?,mysql?,postgres?,sqlite?]
|
||||
>=dev-libs/kproperty-3.1.0:5=
|
||||
>=dev-libs/kreport-3.1.0:5=[scripting]
|
||||
>=dev-qt/designer-${QTMIN}:5
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtnetwork-${QTMIN}:5
|
||||
>=dev-qt/qtprintsupport-${QTMIN}:5
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=dev-qt/qtxml-${QTMIN}:5
|
||||
|| (
|
||||
kde-frameworks/breeze-icons:6
|
||||
>=kde-frameworks/breeze-icons-rcc-${KFMIN}:5
|
||||
)
|
||||
>=kde-frameworks/karchive-${KFMIN}:5
|
||||
>=kde-frameworks/kcodecs-${KFMIN}:5
|
||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kcrash-${KFMIN}:5
|
||||
>=kde-frameworks/kguiaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
||||
>=kde-frameworks/kio-${KFMIN}:5
|
||||
>=kde-frameworks/kitemviews-${KFMIN}:5
|
||||
>=kde-frameworks/ktexteditor-${KFMIN}:5
|
||||
>=kde-frameworks/ktextwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
||||
marble? ( kde-apps/marble:5= )
|
||||
mdb? (
|
||||
dev-libs/glib:2
|
||||
virtual/libiconv
|
||||
)
|
||||
mysql? ( dev-db/mysql-connector-c:= )
|
||||
postgres? (
|
||||
dev-db/postgresql:*
|
||||
dev-libs/libpqxx
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="sys-devel/gettext"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-missing-header.patch
|
||||
"${FILESDIR}"/${P}-postgresql-9.14.patch
|
||||
"${FILESDIR}"/${P}-glib-2.68.patch # bug 784974
|
||||
"${FILESDIR}"/${P}-fix-find-marble.patch # bug 812392
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
ecm_punt_qt_module WebKit
|
||||
ecm_punt_qt_module WebKitWidgets
|
||||
|
||||
ecm_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DKEXI_MIGRATEMANAGER_DEBUG=$(usex debug)
|
||||
-DKEXI_AUTORISE_TABBED_TOOLBAR=$(usex experimental)
|
||||
-DKEXI_SCRIPTS_SUPPORT=$(usex experimental)
|
||||
$(cmake_use_find_package marble Marble)
|
||||
$(cmake_use_find_package mdb GLIB2)
|
||||
$(cmake_use_find_package mysql MySQL)
|
||||
$(cmake_use_find_package postgres PostgreSQL)
|
||||
)
|
||||
use experimental && mycmakeargs+=( -DKEXI_SCRIPTING_DEBUG=$(usex debug) )
|
||||
|
||||
ecm_src_configure
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>kde@gentoo.org</email>
|
||||
<name>Gentoo KDE Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://bugs.kde.org/</bugs-to>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="experimental">Enable features deemed experimental by upstream</flag>
|
||||
<flag name="marble">Enable displaying of maps using <pkg>kde-apps/marble</pkg></flag>
|
||||
<flag name="mdb">Enable support for Microsoft Access database</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
|
@ -1,2 +1 @@
|
|||
DIST texstudio-4.7.1.tar.gz 111614038 BLAKE2B 01334389930fff5147f49a55b925a64173b8615553b58aaf48a9c9e446997aa0a2600f88a9bd4e5d81f5bef29c97d21796171c2dba231c9f3377c200e6ec676f SHA512 3aebc09f1cec288d841552b3861c4ba33f006b25e9f99418e53bdc0e5a3ece915c1649e7027e3626eec14b6c00214df2eb2012b7a0b71874b0f75cc9f9fb2d06
|
||||
DIST texstudio-4.8.4.tar.gz 114147594 BLAKE2B 0f553bea66ef0709434ee8b3afc20db6b8ddce45f1f4a923768215d880b4428acefa54942aa99b36b2f03674de2935d8434a8689e1062e52b05e477de4b56416 SHA512 c42d475f1807feaaf86b0245d8a71ccc28172c5867224383bdc3b4e4c719577c7fbc9b2f3ddac90ad957a9bacd36ecc79accea5d0453552d3856b66129091538
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
diff -U3 -r texstudio-4.7.0.orig/texstudio.pro texstudio-4.7.0/texstudio.pro
|
||||
--- texstudio-4.7.0.orig/texstudio.pro 2023-11-28 03:20:38.000000000 +0700
|
||||
+++ texstudio-4.7.0/texstudio.pro 2023-12-03 20:59:39.074498926 +0700
|
||||
@@ -371,11 +371,9 @@
|
||||
PKGCONFIG += quazip1-qt6
|
||||
}
|
||||
!versionGreaterOrEqual($$QT_VERSION, "6.0.0") {
|
||||
- message(System quazip5)
|
||||
- isEmpty(QUAZIP_LIB): QUAZIP_LIB = -lquazip5
|
||||
- isEmpty(QUAZIP_INCLUDE): QUAZIP_INCLUDE = $${PREFIX}/include/quazip5
|
||||
- INCLUDEPATH += $${QUAZIP_INCLUDE}
|
||||
- LIBS += $${QUAZIP_LIB}
|
||||
+ message(System QuaZip)
|
||||
+ CONFIG += link_pkgconfig
|
||||
+ PKGCONFIG += quazip1-qt5
|
||||
}
|
||||
}
|
||||
|
|
@ -1,80 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop qmake-utils xdg
|
||||
|
||||
MY_PV="${PV/_/}"
|
||||
DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
|
||||
HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio"
|
||||
SRC_URI="https://github.com/texstudio-org/texstudio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
|
||||
IUSE="video"
|
||||
|
||||
DEPEND="
|
||||
app-text/hunspell:=
|
||||
app-text/poppler:=[qt5]
|
||||
>=dev-libs/quazip-1.0:0=[qt5(+)]
|
||||
dev-qt/designer:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtsingleapplication[qt5(+),X]
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
video? ( >=media-libs/phonon-4.11.0[qt5(+)] )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-text/ghostscript-gpl
|
||||
app-text/psutils
|
||||
media-libs/netpbm
|
||||
virtual/latex-base
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.7.0-quazip.patch" # TODO: upstream
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# TODO: find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
|
||||
rm -r src/quazip || die
|
||||
|
||||
if use video; then
|
||||
sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
|
||||
fi
|
||||
|
||||
sed -e "/qtsingleapplication.pri/s/.*/CONFIG += qtsingleapplication/" \
|
||||
-i ${PN}.pro || die
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 NO_TESTS=false
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
|
||||
newicon -s ${i} utilities/${PN}${i}.png ${PN}.png
|
||||
done
|
||||
|
||||
emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
|
||||
|
||||
# We don't install licences per package
|
||||
rm "${ED}"/usr/share/texstudio/COPYING || die
|
||||
}
|
Binary file not shown.
|
@ -1 +1,2 @@
|
|||
DIST usbmuxd-1.1.1_p20231011.tar.gz 65638 BLAKE2B 68bfdcdf907241fbf3b8b41133e11f3b08c5007417a1ea86f5428a5c11f480f9e6a6a9073080976d84ed14b456f61e19ef2b2f161d5b1ec19367fe01eb89b435 SHA512 dfe2e39496aa6841aaa7c02dc5ad5425f4199d5e5ccf560438e5f07fff9050124918ce99a1b2e22fc5b8718e091aff81ff209467de16701a14279e994c5ceefe
|
||||
DIST usbmuxd-1.1.1_p20240915.tar.gz 65629 BLAKE2B 20959476ea71614395fbfc17f4ed32da2cdbf6d92116549fe7d68f8f39ed9cb6c952c72e6ba86cc4885a923de159256c5a53d04c976631a966e1b0cf3eca5718 SHA512 1c50ca5827f90c901850aff7d222a8bcdb450ade698be1586ba157e9a3039a147d93a14fde14d6605a3d45907ae9716d06ed19a3230e3d51c3b3fb12334f0400
|
||||
|
|
55
app-pda/usbmuxd/usbmuxd-1.1.1_p20240915.ebuild
Normal file
55
app-pda/usbmuxd/usbmuxd-1.1.1_p20240915.ebuild
Normal file
|
@ -0,0 +1,55 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools systemd udev
|
||||
|
||||
MY_COMMIT=0b1b233b57d581515978a09e5a4394bfa4ee4962
|
||||
|
||||
DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
|
||||
HOMEPAGE="https://libimobiledevice.org/"
|
||||
SRC_URI="https://github.com/libimobiledevice/usbmuxd/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${MY_COMMIT}
|
||||
|
||||
# src/utils.h is LGPL-2.1+, rest is found in COPYING*
|
||||
LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="selinux systemd"
|
||||
|
||||
DEPEND="
|
||||
>=app-pda/libimobiledevice-1.3.0:=
|
||||
app-pda/libimobiledevice-glue:=
|
||||
>=app-pda/libplist-2.6:=
|
||||
virtual/libusb:1=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
acct-user/usbmux
|
||||
virtual/udev
|
||||
selinux? ( sec-policy/selinux-usbmuxd )
|
||||
systemd? ( sys-apps/systemd )
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
echo ${PV} > "${S}"/.tarball-version
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
"$(use_with systemd)" \
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
|
||||
--with-udevrulesdir="$(get_udevdir)"/rules.d
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
}
|
Binary file not shown.
|
@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
|
|||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
virtual/libcrypt:=
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
DIST tesseract-5.3.0.tar.gz 1913678 BLAKE2B 975b3a50dc2c9ec7ded82caaa068d2d9d362ee0bc6d51b41a52c692ac7f51231d4c64a9dda9e7b850297d4c1f13eb40a709e59eebe143df4f5e2a060cfbbfd3a SHA512 fc0cfda980059390b7d6d3d8e475b4ecc9dcfee1abc3b16fc9ffc8904db0a0847a5f6f1b32bd2e1f6f5a714a8c4df0fb3dc7c6aa25ece6162bf52fe86b4d0f34
|
||||
DIST tesseract-5.3.4.tar.gz 1918319 BLAKE2B f4becd425594be132df2c206847faa91daf9bc58d83eac31096f92cf7d7b6c9234ae224ee94ed1f3099414bde393bb86f94d1f76fdc05b4310b415b0d7eb05af SHA512 a81c98c3754a71093df7b51390ccd43d05f661352b4cb564e403b96d81909664c2ecbf2eb6f37614c4639e6dadbf2329b926d09271dbbdaa302f2d7b6b0d628a
|
||||
DIST tesseract-5.4.1.tar.gz 1899949 BLAKE2B 8e9ff54902d467a4ef0dc61665570a6d34ecdd2d89fd0023775212eb531e3c11659d17e5bb1733f570f785af4714d5a5259d1f809f6e28c0a65375ba02d21bdc SHA512 a97a31d1b735930a3e8b17bc2eae24210d8242d31399822f8bc2e9f18903d513cf6d02b2274e2f3ce431183467570b3327e01cbc49dca80e38acb90327cc235e
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
https://github.com/tesseract-ocr/tesseract/commit/2025b53de6b3d97285d7c5f80497493007c586c3
|
||||
|
||||
From 2025b53de6b3d97285d7c5f80497493007c586c3 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 30 Jan 2023 11:27:07 -0800
|
||||
Subject: [PATCH] Fix build with gcc 13 by including <cstdint>
|
||||
|
||||
gcc 13 moved some includes around and as a result <cstdint> is
|
||||
no longer transitively included [1]. Explicitly include it for
|
||||
int32_t.
|
||||
|
||||
[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
--- a/src/ccutil/params.h
|
||||
+++ b/src/ccutil/params.h
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <tesseract/export.h> // for TESS_API
|
||||
|
||||
+#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
|
|
@ -17,7 +17,6 @@
|
|||
</upstream>
|
||||
<use>
|
||||
<flag name="float32">Support float for model training and text recognition (faster, requires less RAM)</flag>
|
||||
<flag name="opencl">Enable opencl support for speedup using GPU computation.</flag>
|
||||
<flag name="training">Install training applications to add support for new languages.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
|
|
@ -1,96 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="An OCR Engine, originally developed at HP, now open source"
|
||||
HOMEPAGE="https://github.com/tesseract-ocr"
|
||||
SRC_URI="https://github.com/tesseract-ocr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 ~riscv ~sparc x86"
|
||||
IUSE="doc float32 jpeg opencl openmp png static-libs tiff training webp"
|
||||
|
||||
COMMON_DEPEND=">=media-libs/leptonica-1.74:=[${MULTILIB_USEDEP},zlib,tiff?,jpeg?,png?,webp?]
|
||||
opencl? (
|
||||
virtual/opencl[${MULTILIB_USEDEP}]
|
||||
media-libs/tiff:=[${MULTILIB_USEDEP}]
|
||||
media-libs/leptonica:=[tiff]
|
||||
)
|
||||
training? (
|
||||
dev-libs/icu:=
|
||||
x11-libs/pango:=
|
||||
x11-libs/cairo:=
|
||||
)"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
|| (
|
||||
>=app-text/tessdata_fast-4.0.0
|
||||
>=app-text/tessdata_best-4.0.0
|
||||
>=app-text/tessdata_legacy-4.0.0
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/asciidoc
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
doc? ( app-text/doxygen )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-gcc-13.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# scrollview disabled for now, see bug #686944
|
||||
local myeconfargs=(
|
||||
--enable-shared
|
||||
--disable-graphics
|
||||
$(use_enable float32)
|
||||
$(use_enable opencl)
|
||||
$(use_enable openmp)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
if multilib_is_native_abi; then
|
||||
use doc && emake doc
|
||||
use training && emake training
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
DOCS=( "${S}"/AUTHORS "${S}"/ChangeLog "${S}"/README.md )
|
||||
if use doc; then
|
||||
HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
einstalldocs
|
||||
|
||||
if use training; then
|
||||
emake DESTDIR="${D}" training-install
|
||||
fi
|
||||
fi
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
|
@ -1,96 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="An OCR Engine, originally developed at HP, now open source"
|
||||
HOMEPAGE="https://github.com/tesseract-ocr"
|
||||
SRC_URI="https://github.com/tesseract-ocr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 ~riscv ~sparc x86"
|
||||
IUSE="doc float32 jpeg opencl openmp png static-libs tiff training webp"
|
||||
|
||||
COMMON_DEPEND=">=media-libs/leptonica-1.74:=[${MULTILIB_USEDEP},zlib,tiff?,jpeg?,png?,webp?]
|
||||
opencl? (
|
||||
virtual/opencl[${MULTILIB_USEDEP}]
|
||||
media-libs/tiff:=[${MULTILIB_USEDEP}]
|
||||
media-libs/leptonica:=[tiff]
|
||||
)
|
||||
training? (
|
||||
dev-libs/icu:=
|
||||
x11-libs/pango:=
|
||||
x11-libs/cairo:=
|
||||
)"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
|| (
|
||||
>=app-text/tessdata_fast-4.0.0
|
||||
>=app-text/tessdata_best-4.0.0
|
||||
>=app-text/tessdata_legacy-4.0.0
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/asciidoc
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
doc? ( app-text/doxygen )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.4.1-arm64-neon-tesseract.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# scrollview disabled for now, see bug #686944
|
||||
local myeconfargs=(
|
||||
--enable-shared
|
||||
--disable-graphics
|
||||
$(use_enable float32)
|
||||
$(use_enable opencl)
|
||||
$(use_enable openmp)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
if multilib_is_native_abi; then
|
||||
use doc && emake doc
|
||||
use training && emake training
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
DOCS=( "${S}"/AUTHORS "${S}"/ChangeLog "${S}"/README.md )
|
||||
if use doc; then
|
||||
HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
einstalldocs
|
||||
|
||||
if use training; then
|
||||
emake DESTDIR="${D}" training-install
|
||||
fi
|
||||
fi
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
|
@ -11,7 +11,7 @@ SRC_URI="https://github.com/tesseract-ocr/${PN}/archive/${PV}.tar.gz -> ${P}.tar
|
|||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ~mips ppc ppc64 ~riscv ~sparc x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 ~riscv ~sparc x86"
|
||||
IUSE="doc float32 jpeg openmp png static-libs tiff training webp"
|
||||
|
||||
COMMON_DEPEND=">=media-libs/leptonica-1.74:=[${MULTILIB_USEDEP},zlib,tiff?,jpeg?,png?,webp?]
|
||||
|
|
Binary file not shown.
|
@ -1,2 +0,0 @@
|
|||
DIST kdb-3.2.0-patches.tar.xz 7448 BLAKE2B 924a3ac0db2fedfa6d757dcb96fefc48540d5bee7dd2e1239e0e7eca9765393e3b72b13365a66a8e336a655aa4c8978e800f3baa86b704e85134d0c7281b90d7 SHA512 4fe59f33059dcfe19a26bed93615ce152f321f040daa57a2e6747a397aebbc896cd6c964cd2cb1350762552173ff146e4e51b864aa098ec5ae77e0dd6c6d9a2f
|
||||
DIST kdb-3.2.0.tar.xz 650180 BLAKE2B 306152b37c2ecc670d26a2df2ae8acb950505ecb37c4994f4debd1b80c8b2ee94252658fe28b59255d9ad0d350375171f3b43dc9e94949417c3aa9ed167134fe SHA512 7df22f2c5b6e20ae3de71cb6c76b234d2f1f33b2abcdffa85be313c63d067a40a85ed102b6256207315db08ced5d69f8bc40afdf84a188463713a6b2ffdb2df7
|
|
@ -1,34 +0,0 @@
|
|||
From 48f9167e37c9a2d024c525cab0ba65a2e02e248f Mon Sep 17 00:00:00 2001
|
||||
From: Yaakov Selkowitz <yselkowi@redhat.com>
|
||||
Date: Mon, 20 Jun 2022 14:49:26 -0400
|
||||
Subject: [PATCH] postgresql: Fix build with GCC 12 (standard attributes in
|
||||
middle of decl-specifiers)
|
||||
|
||||
---
|
||||
src/drivers/postgresql/PostgresqlConnection_p.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/drivers/postgresql/PostgresqlConnection_p.h b/src/drivers/postgresql/PostgresqlConnection_p.h
|
||||
index c0485786..99040c6a 100644
|
||||
--- a/src/drivers/postgresql/PostgresqlConnection_p.h
|
||||
+++ b/src/drivers/postgresql/PostgresqlConnection_p.h
|
||||
@@ -155,14 +155,14 @@ public:
|
||||
return PQnfields(result);
|
||||
}
|
||||
|
||||
- inline Q_REQUIRED_RESULT KDbSqlField *field(int index) override
|
||||
+ Q_REQUIRED_RESULT inline KDbSqlField *field(int index) override
|
||||
{
|
||||
return new PostgresqlSqlField(result, index);
|
||||
}
|
||||
|
||||
Q_REQUIRED_RESULT KDbField *createField(const QString &tableName, int index) override;
|
||||
|
||||
- inline Q_REQUIRED_RESULT QSharedPointer<KDbSqlRecord> fetchRecord() override
|
||||
+ Q_REQUIRED_RESULT inline QSharedPointer<KDbSqlRecord> fetchRecord() override
|
||||
{
|
||||
return QSharedPointer<KDbSqlRecord>(recordToFetch < recordsCount
|
||||
? new PostgresqlSqlRecord(result, recordToFetch++)
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ECM_QTHELP="true"
|
||||
ECM_TEST="true"
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
KFMIN=5.82.0
|
||||
QTMIN=5.15.2
|
||||
inherit ecm kde.org python-any-r1
|
||||
|
||||
DESCRIPTION="Database connectivity and creation framework for various vendors"
|
||||
HOMEPAGE="https://community.kde.org/KDb"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz
|
||||
https://dev.gentoo.org/~asturm/distfiles/${P}-patches.tar.xz"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="5/4"
|
||||
IUSE="debug mysql postgres sqlite"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/icu:=
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtnetwork-${QTMIN}:5
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=dev-qt/qtxml-${QTMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
mysql? ( dev-db/mysql-connector-c:= )
|
||||
postgres? (
|
||||
dev-db/postgresql:*
|
||||
>=dev-qt/qtnetwork-${QTMIN}:5
|
||||
)
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# 3.2 branch
|
||||
"${WORKDIR}"/${P}-patches/${P}-build-w-pg12.patch
|
||||
"${WORKDIR}"/${P}-patches/${P}-qt-5.15.patch
|
||||
"${WORKDIR}"/${P}-patches/${P}-cmake-pg15.patch
|
||||
"${WORKDIR}"/${P}-patches/${P}-Q_REQUIRED_RESULT-placing.patch
|
||||
"${WORKDIR}"/${P}-patches/${P}-gcc12.patch
|
||||
# master
|
||||
"${WORKDIR}"/${P}-patches/${P}-KDEInstallDirs.patch
|
||||
"${FILESDIR}"/${P}-postgresql-gcc12.patch # bug 869368
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
ecm_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_CXX_STANDARD=17
|
||||
-DKDB_DEBUG_GUI=$(usex debug)
|
||||
$(cmake_use_find_package mysql MySQL)
|
||||
$(cmake_use_find_package postgres PostgreSQL)
|
||||
$(cmake_use_find_package sqlite Sqlite)
|
||||
)
|
||||
|
||||
ecm_src_configure
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>kde@gentoo.org</email>
|
||||
<name>Gentoo KDE Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://bugs.kde.org/</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -2,3 +2,4 @@ DIST pspg-5.5.4.tar.gz 2415002 BLAKE2B 1b7712318069c5fe69afe5e7477aa2a415d007a1f
|
|||
DIST pspg-5.5.8.tar.gz 2428371 BLAKE2B 09021f61c51698fd85ccf61c559014b6ffecad72079abf10c7dc50249bffbe34b86afa124a30a8d4f5c360af069ec623a4815288267a2ee225f7030de14b76d4 SHA512 f3fa9bc097ac43ab0113586b3474e9137c84b2ca844c45397a7ec185a01c66daa204f7bf739f7b65f1d741de02be8f7c1ba7df5abaa962008f33f6082c576b9f
|
||||
DIST pspg-5.8.1.tar.gz 2442046 BLAKE2B 173b7250299927f140597d510e41aacad8be10b58e14094cbca2c2c3648925f71267a44728084ebf10cb832669c601ba121e529d7130b15cb2ab6accb3a9f77e SHA512 1ffcae86559f17e2cafba31a7bf9ba0170f4cdf8f2f5885a3650fea30463327e6a040e7746a8a074302fbb5080ce032a10775da503a5788a622203669609706f
|
||||
DIST pspg-5.8.5.tar.gz 2445232 BLAKE2B 90d6ca969bd365fea1801fb9125e4d3c5e92b916c7a13ae949a8170a7566d862d436c5d23358a6433ffa90bbf2551013b2f12a6c204614e0974c1fe6698c580e SHA512 f33be2e0ddd8f56054c82f4f3a8ea531faef2f9ca21a706f894f5419e8122d291a9174495d68dc8637728cc57fe764e63c34b843e8ed8a3b3ff7546a6c904e7e
|
||||
DIST pspg-5.8.7.tar.gz 2445765 BLAKE2B 3cbc0b75cb6b2063026e8a614e0f0821062bf2ecbdebe7b7290f82f8589541b0ff0edd19890b7de66c879b0519fe9f93deb9645c740635c8c002a8d8cd4f9cc3 SHA512 fefdd178663b4ed44484e5092667c435cfcb8c059c0687f8e51121948f414ab862cc23808432d2f5b4b516a2c8f1d22ceecb2eba872a8acdd5c6a9d45f456cd6
|
||||
|
|
33
dev-db/pspg/pspg-5.8.7.ebuild
Normal file
33
dev-db/pspg/pspg-5.8.7.ebuild
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="A better pager for CLI database clients and can be used in place of psql"
|
||||
HOMEPAGE="https://github.com/okbob/pspg"
|
||||
SRC_URI="https://github.com/okbob/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+postgres"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/ncurses:=
|
||||
sys-libs/readline:=
|
||||
postgres? ( dev-db/postgresql:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with postgres postgresql)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newbashcomp bash-completion.sh ${PN}
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
DIST rqlite-8.23.0-deps.tar.xz 3934116 BLAKE2B 3f56e99ab7cc6e9ae6584bfc3bb10ff28a866961a90bb77ee7acc9442d16d37eaa705b5cc85abbf7de3daea77df24ec9b4b65fbff43a11033bc8e0a11bcb089e SHA512 cace762d4f7e3a6d973dcba7ccf40ddc45d05a0cb5669d67a4c9fd4917e826828664779ab2bb293757fb46f2d5fc956d7ecae46b59f4914afe8fadc42d9d95b1
|
||||
DIST rqlite-8.23.0.tar.gz 613529 BLAKE2B 0c6c790f1a211a10f14a2f03a231567c186504c05618509733f94a7cacb6b4b23abdbeb119067a4a884ddcbc5862d301ede0a83b3059e9ff55b20876c27f85dc SHA512 6247cf72ac295a5892fe992ec90c7733de311142996d4eead2c69752d71ad55326a5f6c4f26f4c5fee229bd0b75a3379460bf69abe0c473517a8fb3ef322889f
|
||||
DIST rqlite-8.25.0-deps.tar.xz 3958656 BLAKE2B f48b155e2f8535a4189ff8403fd33e555ad57edfd16546b80f9040852bab26c5580a0f39ebde232396df1cd21b3f08e0c4a9e83fd54837aca75a89d05d159241 SHA512 49b0b010eff36a5a5fdeb243f9b248beb0f96c3d914e62bf1c6f0638b8502b6a08daa84f23620f17411269a4efd703ef60ffa567da1cb72b04538b0fbe994e6b
|
||||
DIST rqlite-8.25.0.tar.gz 619814 BLAKE2B 489e572073ea7c19092c0345881381b39ff40c2728b3b4c443ac5c9b7df3172f45e189ef2fc0ee365a9a4274d0f58476efc23ad95bb5e462e84cc449af78ba79 SHA512 79331a6a24d9d42aded35d4e9250af84f522f6bf42ed817ad93c51e019b7cf2e7149ec78de6499aac39608a31da1fbd208fd0db5bee1b6cf92dd793b60559ac3
|
||||
DIST rqlite-8.32.7-deps.tar.xz 4047984 BLAKE2B 3cff947f14dfd2d0097f39afb67c9266bf9c626cd13e5c4958c7e9ff65ad83ee89fb82acb23b8341be3cc219405ec05f26d4fd06710316fb984247179c7c5fdd SHA512 7562895cfa715a381788f7dfa04b744c68b744d93a5f2f0eff07ad5d4bb80ed376bd36dc7cb8029fd62a64323d33b799da79cd66fa253176b69b56c64f39859f
|
||||
DIST rqlite-8.32.7.tar.gz 737733 BLAKE2B 6d26b30b97d83c09d22e13aaac74f2d04de538ab7b61a72d50c297331f4612bf7502cf72e8ef030df459d9bb3c5feeba8a8f970412084d393277885f9f4222c6 SHA512 600a44bcdcf203cc1928a12d064e51f70cca92cb01035effc2c7ce564c4d1e65f5ed8ada7ef2ff53616bd24ccc5e419080cd91fb457b585df0b67e4948db7b82
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
EGIT_COMMIT=47dfcd9d56f544c58795b6ca98a1dfd378a0505f
|
||||
EGIT_COMMIT=bab2fd37177724716e7071b3d53c98e4b460af8c
|
||||
|
||||
DESCRIPTION="Replicated SQLite using the Raft consensus protocol"
|
||||
HOMEPAGE="https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/"
|
|
@ -1,6 +1,8 @@
|
|||
DIST sqlite-doc-3450300.zip 10759906 BLAKE2B 3ad2307d4c5de10f20d0cb58bb673b291a63bf0328c3f1e40e37a4823fadda82e0f1fbfe7c9c76925ab1d1448e76cc4cbce4d4ad15c732f134f1b4b4caee9543 SHA512 8f865302137684c31c4f54d6cbe4ee82126394887930ec50501fb811023bc612878d2dc1c2317e960fe818a277b008a9835475e7a47822fc5ece5fe37aa61e31
|
||||
DIST sqlite-doc-3460000.zip 10842823 BLAKE2B 4b4b36d78ba540abaa39bb510465e23e39cabcce97d19e4cb1374d941183ea05e1150356d15c99dbdf5513adebe2e9b06cbc59bd268fe6ce17905523488ec682 SHA512 22748bf113ff96320c90227ba104ff081bf1761550944afbc78b6768d6677b13982d7e759c5f67eb7ba7ed0dcbffee500bc39fc9929d28f86b2a269145fefebd
|
||||
DIST sqlite-doc-3460100.zip 10851427 BLAKE2B 7462e83ca84e3e9aac7236f575fd2bdddac7744ae700a63fe8fdc9d2df3157c59fd374d99a0526bd4d9f742005ee7a90f3d78057861d3c3fcba9f897630e48db SHA512 1ad7dfc938d182f69ea9367b4f5ead1d48b991626521249e8b58c9fb4c2553e348ce402de9cc81b0ad699d4c45c467de56a98ee39f9c3555c6fafff15fba41ce
|
||||
DIST sqlite-doc-3470000.zip 10937359 BLAKE2B 3fc349e4b2b0cd3fc59147519062133261463e09933419f330cd18e6b120d3498c10a1864c85c2de144430f1dbf7f9a867aba47ab77dbe2aa0b5128e0742dddf SHA512 20c126551a95905e63e99930e3f7964b6e3fc8b72fbbedf5484f669817af2a8384f05fce89d6117a5e232ba71f5469894d4bb22ba7abd796b24fd624372c7c17
|
||||
DIST sqlite-src-3450300.zip 14160555 BLAKE2B 1c16a9b26587ed6b50dcd8373d4328266da0a47da7ffff15d505eddc8df74850a5bca3330bd9ee2b52036ccff9fb8aeebea02ef5713cc933753b4d8a4c15b2e8 SHA512 8f44ffdefd2cf09e7edb7cd78d5416fe7b42e01fe4b4e4803ce9d34c7b1b2971ec170a908a94b4bb11737dd3888675c8ff101ff2b41c53b8db05b5954e947cc9
|
||||
DIST sqlite-src-3460000.zip 14275927 BLAKE2B 8f8c7da56226cfbc669bc5cce7c897849dd0c6088189be2fc972fdc58bbc2933df979f040066a1cb9aea942117867eb31c9c97e7074e17215bfe747f9024a6c2 SHA512 441c51943e77655652409965b831df5af8662b4c585134be7fcd9bb5755a495170f37bd6510a80c18c42de72dda23536b583e84e58f042d342dd9e4139ae3327
|
||||
DIST sqlite-src-3460100.zip 14276926 BLAKE2B df16ea944e317df8ed64fdfab289e3699ec71725ce55e2b30450adaeb41c061b4fba1eb8c41ba638b0edcd12b23264a1f9e413b69fd593c2b65fb1037d3fc8b2 SHA512 6d32a0db9f95d3cec34f02f3fd45b453bf7c422d4d4d9570790f641e7d190b8b31be8e8715afacc1b6e4417f15a4d15a0b28e608ae0b4b5f3054b075783b916e
|
||||
DIST sqlite-src-3470000.zip 14408459 BLAKE2B c8e883410fdf9f020bc55ef01d7c2c5b7f1744d3475e7755f2395b24b2d5397302aac2eb7912161cbc2a705a1d7a94b1fa5e8f4e5dbf374c31de56228cbc9e5d SHA512 294d718fb1ebb23e2a4d6e8b7f498d7a7d922e6af5e36452fae075c0d48f4d4f64b5f235ab561b1e47fb7722efc647dfe541164cc385ddc0e2ec0dbce1f40b01
|
||||
|
|
53
dev-db/sqlite/files/sqlite-3.47.0-nonbash.patch
Normal file
53
dev-db/sqlite/files/sqlite-3.47.0-nonbash.patch
Normal file
|
@ -0,0 +1,53 @@
|
|||
https://sqlite.org/forum/info/14274389fb2
|
||||
https://bugs.gentoo.org/942917
|
||||
https://bugs.gentoo.org/942918
|
||||
https://github.com/sqlite/sqlite/commit/a40e6e927313ed97a895ff7c022eff705e50b1e6
|
||||
|
||||
From a40e6e927313ed97a895ff7c022eff705e50b1e6 Mon Sep 17 00:00:00 2001
|
||||
From: stephan <stephan@noemail.net>
|
||||
Date: Wed, 30 Oct 2024 00:35:08 +0000
|
||||
Subject: [PATCH] Replace 3 instances of the == 'test' shell command operator
|
||||
with =, as == is apparently not as portable across shells. Problem reported
|
||||
in [forum:14274389fb2|forum post 14274389fb2].
|
||||
|
||||
FossilOrigin-Name: 68199c40fedeb07a3f9c5024fac6376a0579a13b0e5690aef6238e3e22b9c1b7
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -10334,7 +10334,7 @@ else
|
||||
fi
|
||||
|
||||
original_use_tcl=${use_tcl}
|
||||
-if test x"${with_tclsh}" == x -a x"${with_tcl}" == x; then
|
||||
+if test x"${with_tclsh}" = x -a x"${with_tcl}" = x; then
|
||||
for ac_prog in tclsh9.0 tclsh8.6 tclsh
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
@@ -10453,7 +10453,7 @@ $as_echo "unable to run tests because no tclConfig.sh file could be located" >&6
|
||||
HAVE_TCL=0
|
||||
fi
|
||||
|
||||
-if test x"$TCLSH_CMD" == x; then
|
||||
+if test x"$TCLSH_CMD" = x; then
|
||||
TCLSH_CMD=${TCL_EXEC_PREFIX}/bin/tclsh${TCL_VERSION}
|
||||
if test ! -x ${TCLSH_CMD}; then
|
||||
TCLSH_CMD_2=${TCL_EXEC_PREFIX}/bin/tclsh
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -124,7 +124,7 @@ AC_ARG_WITH(tcl, AS_HELP_STRING([--with-tcl=DIR],[directory containing (tclConfi
|
||||
AC_ARG_ENABLE(tcl, AS_HELP_STRING([--disable-tcl],[omit building accessory programs that require TCL-dev]),
|
||||
[use_tcl=$enableval],[use_tcl=yes])
|
||||
original_use_tcl=${use_tcl}
|
||||
-if test x"${with_tclsh}" == x -a x"${with_tcl}" == x; then
|
||||
+if test x"${with_tclsh}" = x -a x"${with_tcl}" = x; then
|
||||
AC_CHECK_PROGS(TCLSH_CMD, [tclsh9.0 tclsh8.6 tclsh],none)
|
||||
with_tclsh=${TCLSH_CMD}
|
||||
fi
|
||||
@@ -195,7 +195,7 @@ else
|
||||
HAVE_TCL=0
|
||||
fi
|
||||
AC_SUBST(HAVE_TCL)
|
||||
-if test x"$TCLSH_CMD" == x; then
|
||||
+if test x"$TCLSH_CMD" = x; then
|
||||
TCLSH_CMD=${TCL_EXEC_PREFIX}/bin/tclsh${TCL_VERSION}
|
||||
if test ! -x ${TCLSH_CMD}; then
|
||||
TCLSH_CMD_2=${TCL_EXEC_PREFIX}/bin/tclsh
|
427
dev-db/sqlite/sqlite-3.47.0.ebuild
Normal file
427
dev-db/sqlite/sqlite-3.47.0.ebuild
Normal file
|
@ -0,0 +1,427 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="SQL database engine"
|
||||
HOMEPAGE="https://sqlite.org/"
|
||||
|
||||
# On version updates, make sure to read the forum (https://sqlite.org/forum/forum)
|
||||
# for hints regarding test failures, backports, etc.
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
S="${WORKDIR}"/${PN}
|
||||
PROPERTIES="live"
|
||||
else
|
||||
printf -v SRC_PV "%u%02u%02u%02u" $(ver_rs 1- " ")
|
||||
DOC_PV="${SRC_PV}"
|
||||
#printf -v DOC_PV "%u%02u%02u00" $(ver_rs 1-3 " ")
|
||||
|
||||
SRC_URI="
|
||||
https://sqlite.org/2024/${PN}-src-${SRC_PV}.zip
|
||||
doc? ( https://sqlite.org/2024/${PN}-doc-${DOC_PV}.zip )
|
||||
"
|
||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="3"
|
||||
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/zlib:=[${MULTILIB_USEDEP}]
|
||||
icu? ( dev-libs/icu:=[${MULTILIB_USEDEP}] )
|
||||
readline? ( sys-libs/readline:=[${MULTILIB_USEDEP}] )
|
||||
tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] )
|
||||
tools? ( dev-lang/tcl:= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( >=dev-lang/tcl-8.6:0[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
BDEPEND=">=dev-lang/tcl-8.6:0"
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
BDEPEND+=" dev-vcs/fossil"
|
||||
else
|
||||
BDEPEND+=" app-arch/unzip"
|
||||
fi
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.45.1-ppc64-ptr.patch
|
||||
"${FILESDIR}"/${PN}-3.47.0-nonbash.patch
|
||||
)
|
||||
|
||||
_fossil_fetch() {
|
||||
local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}"
|
||||
local repo_id="${1}"
|
||||
local repo_uri="${2}"
|
||||
|
||||
local -x FOSSIL_HOME="${HOME}"
|
||||
|
||||
mkdir -p "${T}/fossil/${repo_id}" || die
|
||||
pushd "${T}/fossil/${repo_id}" > /dev/null || die
|
||||
|
||||
if [[ -n "${EVCS_OFFLINE}" ]]; then
|
||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
||||
die "Network activity disabled using EVCS_OFFLINE and clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\""
|
||||
fi
|
||||
else
|
||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
||||
einfo fossil clone --verbose "${repo_uri}" "${repo_id}.fossil"
|
||||
fossil clone --verbose "${repo_uri}" "${repo_id}.fossil" || die
|
||||
echo
|
||||
else
|
||||
cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" . || die
|
||||
einfo fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}"
|
||||
fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}" || die
|
||||
echo
|
||||
fi
|
||||
|
||||
(
|
||||
addwrite "${distdir}"
|
||||
mkdir -p "${distdir}/fossil-src/${repo_id}" || die
|
||||
cp -p "${repo_id}.fossil" "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" || die
|
||||
)
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
_fossil_checkout() {
|
||||
local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}"
|
||||
local repo_id="${1}"
|
||||
local branch_or_commit="${2}"
|
||||
local target_directory="${3}"
|
||||
|
||||
local -x FOSSIL_HOME="${HOME}"
|
||||
|
||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
||||
die "Clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\""
|
||||
fi
|
||||
|
||||
if [[ ! -f "${T}/fossil/${repo_id}/${repo_id}.fossil" ]]; then
|
||||
mkdir -p "${T}/fossil/${repo_id}" || die
|
||||
cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" "${T}/fossil/${repo_id}" || die
|
||||
fi
|
||||
|
||||
mkdir "${target_directory}" || die
|
||||
pushd "${target_directory}" > /dev/null || die
|
||||
|
||||
einfo fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}"
|
||||
fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}" || die
|
||||
echo
|
||||
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
fossil_fetch() {
|
||||
local repo_id="${1}"
|
||||
local repo_uri="${2}"
|
||||
local target_directory="${3}"
|
||||
|
||||
local branch_or_commit="${EFOSSIL_COMMIT:-${EFOSSIL_BRANCH:-trunk}}"
|
||||
|
||||
_fossil_fetch "${repo_id}" "${repo_uri}"
|
||||
_fossil_checkout "${repo_id}" "${branch_or_commit}" "${target_directory}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
fossil_fetch sqlite https://sqlite.org/src "${WORKDIR}/${PN}"
|
||||
if use doc; then
|
||||
fossil_fetch sqlite-doc https://sqlite.org/docsrc "${WORKDIR}/${PN}-doc"
|
||||
fi
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local -x CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}"
|
||||
local options=()
|
||||
|
||||
options+=(
|
||||
--enable-load-extension
|
||||
--enable-threadsafe
|
||||
)
|
||||
|
||||
# Support detection of misuse of SQLite API.
|
||||
# https://sqlite.org/compile.html#enable_api_armor
|
||||
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
||||
|
||||
# Support bytecode and tables_used virtual tables.
|
||||
# https://sqlite.org/compile.html#enable_bytecode_vtab
|
||||
# https://sqlite.org/bytecodevtab.html
|
||||
append-cppflags -DSQLITE_ENABLE_BYTECODE_VTAB
|
||||
|
||||
# Support column metadata functions.
|
||||
# https://sqlite.org/compile.html#enable_column_metadata
|
||||
# https://sqlite.org/c3ref/column_database_name.html
|
||||
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||
|
||||
# Support sqlite_dbpage virtual table.
|
||||
# https://sqlite.org/compile.html#enable_dbpage_vtab
|
||||
# https://sqlite.org/dbpage.html
|
||||
append-cppflags -DSQLITE_ENABLE_DBPAGE_VTAB
|
||||
|
||||
# Support dbstat virtual table.
|
||||
# https://sqlite.org/compile.html#enable_dbstat_vtab
|
||||
# https://sqlite.org/dbstat.html
|
||||
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||
|
||||
# Support sqlite3_serialize() and sqlite3_deserialize() functions.
|
||||
# https://sqlite.org/compile.html#enable_deserialize
|
||||
# https://sqlite.org/c3ref/serialize.html
|
||||
# https://sqlite.org/c3ref/deserialize.html
|
||||
append-cppflags -DSQLITE_ENABLE_DESERIALIZE
|
||||
|
||||
# Support comments in output of EXPLAIN.
|
||||
# https://sqlite.org/compile.html#enable_explain_comments
|
||||
append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||
|
||||
# Support Full-Text Search versions 3, 4 and 5.
|
||||
# https://sqlite.org/compile.html#enable_fts3
|
||||
# https://sqlite.org/compile.html#enable_fts3_parenthesis
|
||||
# https://sqlite.org/compile.html#enable_fts4
|
||||
# https://sqlite.org/compile.html#enable_fts5
|
||||
# https://sqlite.org/fts3.html
|
||||
# https://sqlite.org/fts5.html
|
||||
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
||||
options+=( --enable-fts5 )
|
||||
|
||||
# Support hidden columns.
|
||||
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
||||
|
||||
# Support memsys5 memory allocator.
|
||||
# https://sqlite.org/compile.html#enable_memsys5
|
||||
# https://sqlite.org/malloc.html#memsys5
|
||||
append-cppflags -DSQLITE_ENABLE_MEMSYS5
|
||||
|
||||
# Support sqlite3_normalized_sql() function.
|
||||
# https://sqlite.org/c3ref/expanded_sql.html
|
||||
append-cppflags -DSQLITE_ENABLE_NORMALIZE
|
||||
|
||||
# Support sqlite_offset() function.
|
||||
# https://sqlite.org/compile.html#enable_offset_sql_func
|
||||
# https://sqlite.org/lang_corefunc.html#sqlite_offset
|
||||
append-cppflags -DSQLITE_ENABLE_OFFSET_SQL_FUNC
|
||||
|
||||
# Support pre-update hook functions.
|
||||
# https://sqlite.org/compile.html#enable_preupdate_hook
|
||||
# https://sqlite.org/c3ref/preupdate_count.html
|
||||
append-cppflags -DSQLITE_ENABLE_PREUPDATE_HOOK
|
||||
|
||||
# Support Resumable Bulk Update extension.
|
||||
# https://sqlite.org/compile.html#enable_rbu
|
||||
# https://sqlite.org/rbu.html
|
||||
append-cppflags -DSQLITE_ENABLE_RBU
|
||||
|
||||
# Support R*Trees.
|
||||
# https://sqlite.org/compile.html#enable_rtree
|
||||
# https://sqlite.org/compile.html#enable_geopoly
|
||||
# https://sqlite.org/rtree.html
|
||||
# https://sqlite.org/geopoly.html
|
||||
append-cppflags -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY
|
||||
|
||||
# Support Session extension.
|
||||
# https://sqlite.org/compile.html#enable_session
|
||||
# https://sqlite.org/sessionintro.html
|
||||
append-cppflags -DSQLITE_ENABLE_SESSION
|
||||
|
||||
# Support scan status functions.
|
||||
# https://sqlite.org/compile.html#enable_stmt_scanstatus
|
||||
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
||||
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
||||
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
||||
|
||||
# Support sqlite_stmt virtual table.
|
||||
# https://sqlite.org/compile.html#enable_stmtvtab
|
||||
# https://sqlite.org/stmt.html
|
||||
append-cppflags -DSQLITE_ENABLE_STMTVTAB
|
||||
|
||||
# Support unknown() function.
|
||||
# https://sqlite.org/compile.html#enable_unknown_sql_function
|
||||
append-cppflags -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
|
||||
|
||||
# Support unlock notification.
|
||||
# https://sqlite.org/compile.html#enable_unlock_notify
|
||||
# https://sqlite.org/c3ref/unlock_notify.html
|
||||
# https://sqlite.org/unlock_notify.html
|
||||
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||
|
||||
# Support LIMIT and ORDER BY clauses on DELETE and UPDATE statements.
|
||||
# https://sqlite.org/compile.html#enable_update_delete_limit
|
||||
# https://sqlite.org/lang_delete.html#optional_limit_and_order_by_clauses
|
||||
# https://sqlite.org/lang_update.html#optional_limit_and_order_by_clauses
|
||||
append-cppflags -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
|
||||
|
||||
# Support soundex() function.
|
||||
# https://sqlite.org/compile.html#soundex
|
||||
# https://sqlite.org/lang_corefunc.html#soundex
|
||||
append-cppflags -DSQLITE_SOUNDEX
|
||||
|
||||
# Support URI filenames.
|
||||
# https://sqlite.org/compile.html#use_uri
|
||||
# https://sqlite.org/uri.html
|
||||
append-cppflags -DSQLITE_USE_URI
|
||||
|
||||
options+=( $(use_enable debug) )
|
||||
|
||||
if use icu; then
|
||||
# Support ICU extension.
|
||||
# https://sqlite.org/compile.html#enable_icu
|
||||
append-cppflags -DSQLITE_ENABLE_ICU
|
||||
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||
fi
|
||||
|
||||
options+=(
|
||||
--disable-editline
|
||||
$(use_enable readline)
|
||||
)
|
||||
|
||||
if use readline; then
|
||||
options+=( --with-readline-inc="-I${ESYSROOT}/usr/include/readline" )
|
||||
fi
|
||||
|
||||
if use secure-delete; then
|
||||
# Enable secure_delete pragma by default.
|
||||
# https://sqlite.org/compile.html#secure_delete
|
||||
# https://sqlite.org/pragma.html#pragma_secure_delete
|
||||
append-cppflags -DSQLITE_SECURE_DELETE
|
||||
fi
|
||||
|
||||
options+=( $(use_enable static-libs static) )
|
||||
|
||||
# tcl, test, tools USE flags.
|
||||
if use tcl || use test || { use tools && multilib_is_native_abi; }; then
|
||||
options+=(
|
||||
--enable-tcl
|
||||
--with-tcl="${ESYSROOT}/usr/$(get_libdir)"
|
||||
)
|
||||
else
|
||||
options+=( --disable-tcl )
|
||||
fi
|
||||
|
||||
if [[ "${ABI}" == "x86" ]]; then
|
||||
if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} -E -P -dM - < /dev/null 2> /dev/null | grep -q "^#define __SSE__ 1$"; then
|
||||
append-cflags -mfpmath=sse
|
||||
else
|
||||
append-cflags -ffloat-store
|
||||
fi
|
||||
fi
|
||||
|
||||
econf "${options[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake HAVE_TCL="$(usev tcl 1)" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||
|
||||
if use tools && multilib_is_native_abi; then
|
||||
emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_checker sqlite3_expert sqltclsh
|
||||
fi
|
||||
|
||||
if [[ ${PV} == 9999 ]] && use doc && multilib_is_native_abi; then
|
||||
emake tclsqlite3.c
|
||||
|
||||
local build_directory="$(pwd)"
|
||||
build_directory="${build_directory##*/}"
|
||||
|
||||
mkdir "${WORKDIR}/${PN}-doc-build" || die
|
||||
pushd "${WORKDIR}/${PN}-doc-build" > /dev/null || die
|
||||
|
||||
emake -f "../${PN}-doc/Makefile" -j1 SRC="../${PN}" BLD="../${build_directory}" DOC="../${PN}-doc" CC="$(tc-getBUILD_CC)" TCLINC="" TCLFLAGS="$($(tc-getBUILD_PKG_CONFIG) --libs tcl) -ldl -lm" base doc
|
||||
rmdir doc/matrix{/*,} || die
|
||||
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if [[ "${EUID}" -eq 0 ]]; then
|
||||
ewarn "Skipping tests due to root permissions"
|
||||
return
|
||||
fi
|
||||
|
||||
local -x SQLITE_HISTORY="${T}/sqlite_history_${ABI}"
|
||||
|
||||
# e_uri.test tries to open files in /.
|
||||
# bug #839798
|
||||
local SANDBOX_PREDICT=${SANDBOX_PREDICT}
|
||||
addpredict "/test.db"
|
||||
addpredict "/ÿ.db"
|
||||
|
||||
emake -Onone $(usex debug 'fulltest' 'test')
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||
|
||||
if use tools && multilib_is_native_abi; then
|
||||
install_tool() {
|
||||
if [[ -f ".libs/${1}" ]]; then
|
||||
newbin ".libs/${1}" "${2}"
|
||||
else
|
||||
newbin "${1}" "${2}"
|
||||
fi
|
||||
}
|
||||
|
||||
install_tool changeset sqlite3-changeset
|
||||
install_tool dbdump sqlite3-db-dump
|
||||
install_tool dbhash sqlite3-db-hash
|
||||
install_tool dbtotxt sqlite3-db-to-txt
|
||||
install_tool index_usage sqlite3-index-usage
|
||||
install_tool rbu sqlite3-rbu
|
||||
install_tool scrub sqlite3-scrub
|
||||
install_tool showdb sqlite3-show-db
|
||||
install_tool showjournal sqlite3-show-journal
|
||||
install_tool showshm sqlite3-show-shm
|
||||
install_tool showstat4 sqlite3-show-stat4
|
||||
install_tool showwal sqlite3-show-wal
|
||||
install_tool sqldiff sqlite3-diff
|
||||
install_tool sqlite3_analyzer sqlite3-analyzer
|
||||
install_tool sqlite3_checker sqlite3-checker
|
||||
install_tool sqlite3_expert sqlite3-expert
|
||||
install_tool sqltclsh sqlite3-tclsh
|
||||
|
||||
unset -f install_tool
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
|
||||
doman sqlite3.1
|
||||
|
||||
if use doc; then
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
pushd "${WORKDIR}/${PN}-doc-build/doc" > /dev/null || die
|
||||
else
|
||||
pushd "${WORKDIR}/${PN}-doc-${DOC_PV}" > /dev/null || die
|
||||
fi
|
||||
|
||||
find "(" -name "*.db" -o -name "*.txt" ")" -delete || die
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
rm search search.d/admin || die
|
||||
rmdir search.d || die
|
||||
find -name "*~" -delete || die
|
||||
fi
|
||||
|
||||
(
|
||||
docinto html
|
||||
dodoc -r *
|
||||
)
|
||||
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
Binary file not shown.
|
@ -1,2 +1,3 @@
|
|||
DIST velocity-2.3_p20240314.tar.gz 440967 BLAKE2B c5fcea7af49d6c46d5c0943efe82f3c04d921afc2c53201b97842ae71714e7035d075c147b3bea71e959db12dd970b7879ade73bbc23bab09a1fd262e21f2fc6 SHA512 9055e780d2a3c798bfe30e5c7859a7311c4984b551d7b2ffa68c57c076549326d0ddae31eabff8009ea021c749331d34c71eee8cab55599dea5f3c8dba841a02
|
||||
DIST velocity-2.4.1.tar.gz 445671 BLAKE2B 3a142303bd7bb1a6e012b9d33f96078fa925249bd62287e166e45faca7ad605b1b57f8f72b4829d009e4c11f54780727d919a96bcc081d83c26adf0a61eaecaa SHA512 3e821eaeb705e6ede8a51a8d3bff00d26909c20738bed92f5ef9600f3736709324807f7bbb93f5d431e60380b9a4f757f47cca6ec64e8e774c7ec1e4708d25f1
|
||||
DIST velocity-2.4.tar.gz 444952 BLAKE2B 0db598bad6743383e62e89acc55b887f28108b6065c3e615b78485e4f94c9f1a316bff7c04d66052541d6173311e97dab28142dad69e6caca168b2a2fcc28637 SHA512 b3f7ae68fa2e0f30193f089a2e8ee5366e71726d93e85fa2f4c3f95d20aa599df053ee7103c71b01c89fe08dd5276e5a2c7da3e26eaffeafd94c078241a9e264
|
||||
|
|
|
@ -94,7 +94,7 @@ src_prepare() {
|
|||
}
|
||||
|
||||
src_test() {
|
||||
pushd src/test/java || die
|
||||
pushd src/test/java > /dev/null || die
|
||||
# DataSourceResourceLoaderTestCase.java requires configured jdbc
|
||||
local JAVA_TEST_RUN_ONLY=$(find * \
|
||||
-name "*TestCase.java" \
|
||||
|
@ -103,6 +103,6 @@ src_test() {
|
|||
)
|
||||
JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
|
||||
JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
|
||||
popd
|
||||
popd > /dev/null || die
|
||||
java-pkg-simple_src_test
|
||||
}
|
||||
|
|
113
dev-java/velocity/velocity-2.4.1.ebuild
Normal file
113
dev-java/velocity/velocity-2.4.1.ebuild
Normal file
|
@ -0,0 +1,113 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.apache.velocity:velocity-engine-core:2.4.1"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Apache Velocity is a general purpose template engine"
|
||||
HOMEPAGE="https://velocity.apache.org"
|
||||
SRC_URI="https://github.com/apache/${PN}-engine/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-engine-${PV}/${PN}-engine-core"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64"
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/commons-lang:3.6
|
||||
dev-java/slf4j-api:0
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${CP_DEPEND}
|
||||
>=dev-java/commons-io-2.17.0:1
|
||||
>=virtual/jdk-1.8:*
|
||||
test? (
|
||||
>=dev-db/hsqldb-2.4.1:0
|
||||
dev-java/slf4j-simple:0
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${CP_DEPEND}
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
|
||||
JAVACC_SLOT="7.0.13"
|
||||
BDEPEND="dev-java/javacc:${JAVACC_SLOT}"
|
||||
|
||||
JAVA_CLASSPATH_EXTRA="commons-io-1"
|
||||
JAVA_RESOURCE_DIRS="src/main/resources"
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_TEST_EXTRA_ARGS="-Dtest.compare.dir=target/test-classes -Dtest.result.dir=results"
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4,hsqldb,slf4j-simple"
|
||||
JAVA_TEST_RESOURCE_DIRS="src/test/resources"
|
||||
JAVA_TEST_SRC_DIR="src/test/java"
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-2_src_prepare
|
||||
|
||||
cp -r src/main/{,resources/org/apache/velocity/runtime}/parser || die
|
||||
|
||||
sed -e "s/\${project.version}/${PV}/" \
|
||||
src/main/java-templates/org/apache/velocity/runtime/VelocityEngineVersion.java > \
|
||||
src/main/java/org/apache/velocity/runtime/VelocityEngineVersion.java || die
|
||||
|
||||
sed -i \
|
||||
-e 's/\${parser.basename}/Standard/g' \
|
||||
-e 's/\${parser.package}/org.apache.velocity.runtime.parser/g' \
|
||||
-e 's/\${parser.char.asterisk}/\*/g' \
|
||||
-e 's/\${parser.char.at}/\@/g' \
|
||||
-e 's/\${parser.char.dollar}/\$/g' \
|
||||
-e 's/\${parser.char.hash}/\#/g' \
|
||||
"${S}/src/main/parser/Parser.jjt" || die
|
||||
|
||||
# File "StandardParserTreeConstants.java" does not exist. Will create one.
|
||||
# File "StandardParserVisitor.java" does not exist. Will create one.
|
||||
# File "JJTStandardParserState.java" does not exist. Will create one.
|
||||
"jjtree-${JAVACC_SLOT}" -GRAMMAR_ENCODING=UTF-8 \
|
||||
-JDK_VERSION=1.8 \
|
||||
-BUILD_NODE_FILES=false \
|
||||
-MULTI=true \
|
||||
-NODE_PACKAGE=org.apache.velocity.runtime.parser.node \
|
||||
-NODE_USES_PARSER=true \
|
||||
-STATIC=false \
|
||||
-OUTPUT_DIRECTORY="${JAVA_SRC_DIR}/org/apache/velocity/runtime/parser/node" \
|
||||
"${S}/src/main/parser/Parser.jjt" \
|
||||
|| die "Code generation via jjtree failed"
|
||||
|
||||
"javacc-${JAVACC_SLOT}" -GRAMMAR_ENCODING=UTF-8 \
|
||||
-JDK_VERSION=1.8 \
|
||||
-STATIC=false \
|
||||
-DEBUG_PARSER=false \
|
||||
-DEBUG_LOOKAHEAD=false \
|
||||
-DEBUG_TOKEN_MANAGER=false \
|
||||
-BUILD_PARSER=true \
|
||||
-TOKEN_MANAGER_USES_PARSER=true \
|
||||
-OUTPUT_DIRECTORY="${JAVA_SRC_DIR}" \
|
||||
"${JAVA_SRC_DIR}/org/apache/velocity/runtime/parser/node/Parser.jj" \
|
||||
|| die "Parser.java code generation via javacc failed"
|
||||
|
||||
# Avoid "error: duplicate class: org.apache.velocity.runtime.parser...."
|
||||
rm -v "${JAVA_SRC_DIR}/CharStream.java" || die "cannot remove 'CharStream.java'"
|
||||
rm -v "${JAVA_SRC_DIR}/ParseException.java" || die "cannot remove 'ParseException.java'"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
pushd src/test/java > /dev/null || die
|
||||
# DataSourceResourceLoaderTestCase.java requires configured jdbc
|
||||
local JAVA_TEST_RUN_ONLY=$(find * \
|
||||
-name "*TestCase.java" \
|
||||
! -name "BaseTestCase.java" \
|
||||
! -name "DataSourceResourceLoaderTestCase.java" \
|
||||
)
|
||||
JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
|
||||
JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
|
||||
popd > /dev/null || die
|
||||
java-pkg-simple_src_test
|
||||
}
|
|
@ -99,7 +99,7 @@ src_prepare() {
|
|||
}
|
||||
|
||||
src_test() {
|
||||
pushd src/test/java || die
|
||||
pushd src/test/java > /dev/null || die
|
||||
# DataSourceResourceLoaderTestCase.java requires configured jdbc
|
||||
local JAVA_TEST_RUN_ONLY=$(find * \
|
||||
-name "*TestCase.java" \
|
||||
|
@ -108,6 +108,6 @@ src_test() {
|
|||
)
|
||||
JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
|
||||
JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
|
||||
popd
|
||||
popd > /dev/null || die
|
||||
java-pkg-simple_src_test
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
DIST kpeoplevcard-0.1.tar.xz 13424 BLAKE2B 567b5f081283da8af26e03c3e46c50bf67524146171a6f8afa938ac9609d11bfe32ad8de39a29ec0431af135f33825149fb8e98a28141941fd418539a8f03c30 SHA512 9f11ee768d1ddce1f03f41b604180078c0315eb8b9f0118dd99eba65333400b0a0ed12ab1e08ebce3c6c0a2c93563e5c3e832a0cd458d6ea296bd64eeb9413e7
|
|
@ -1,29 +0,0 @@
|
|||
From 778d03445f41c536f2ca9116ee6acb5f4f01b868 Mon Sep 17 00:00:00 2001
|
||||
From: Dimitar Petrovski <dimeptr@gmail.com>
|
||||
Date: Mon, 6 Jul 2020 18:36:31 +0200
|
||||
Subject: [PATCH] Emit the Initial Fetch Complete signal
|
||||
|
||||
BUG: 423845
|
||||
The plugin does not emit the initialFetchComplete signal which seems
|
||||
needed by AllContactsMonitor and PersonsModel does not get initialized
|
||||
since it waitd for the signal from all plugins
|
||||
---
|
||||
src/kpeoplevcard.cpp | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/kpeoplevcard.cpp b/src/kpeoplevcard.cpp
|
||||
index bfaf71e..20531f6 100644
|
||||
--- a/src/kpeoplevcard.cpp
|
||||
+++ b/src/kpeoplevcard.cpp
|
||||
@@ -153,6 +153,8 @@ KPeopleVCard::KPeopleVCard()
|
||||
|
||||
processDirectory(QFileInfo(*vcardsLocation));
|
||||
|
||||
+ emitInitialFetchComplete(true);
|
||||
+
|
||||
connect(m_fs, &KDirWatch::dirty, this, [this](const QString& path) {
|
||||
const QFileInfo fi(path);
|
||||
if (fi.isFile())
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KDE_ORG_CATEGORY="pim"
|
||||
KFMIN=5.82.0
|
||||
QTMIN=5.15.2
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Library to expose vcards to KPeople"
|
||||
HOMEPAGE="https://invent.kde.org/pim/kpeoplevcard"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="amd64 arm64 ~ppc64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="5"
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=kde-frameworks/kcontacts-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kpeople-${KFMIN}:5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-emit-initial-fetch-complete-signal.patch" # KDE-bug 423845
|
||||
)
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>kde@gentoo.org</email>
|
||||
<name>Gentoo KDE Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://bugs.kde.org/</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -1 +0,0 @@
|
|||
DIST kproperty-3.2.0.tar.xz 130208 BLAKE2B 22f5b4aafde41d285968f99579b757b8a88dbb12f7ed5e062e44f74c72765b915195961f5ab20e7ef9735a5f82f6c568fa807aa9bb061bfdf64ecfdfc0775793 SHA512 2d7fe5a18fd3520f0dc146ec844cf284c52eb330404666fa1400342c1489a88e1f72834d813cf52f2fd90c8312b5122f542acad7d86ae10a8d1a023c72c368ee
|
|
@ -1,34 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ECM_QTHELP="true"
|
||||
ECM_TEST="true" # build system adds autotests dir based on BUILD_TESTING value
|
||||
KFMIN=5.60.0
|
||||
QTMIN=5.12.3
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Property editing framework with editor widget similar to Qt Designer"
|
||||
HOMEPAGE="https://community.kde.org/KProperty"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="5/4"
|
||||
|
||||
# tests require installed headers, bug 636108
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kguiaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>kde@gentoo.org</email>
|
||||
<name>Gentoo KDE Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://bugs.kde.org/</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -1 +0,0 @@
|
|||
DIST kreport-3.2.0.tar.xz 374072 BLAKE2B b0e4a028464f424e1e6661a02233a0e6f711a890892ea34c8c8ebc12675379a233e9aa8b00f9165e9a82993d43ae2086c7a8c0f5cc17cfaa658614225c7b56c8 SHA512 3f7b8bf8d4c5e88de74b38c55b4c82ac1e3ae11db424b10b85884ff479d25640b0ef7c6f90567cf27a1bab099d4b14a042ddf4549cec9ca7d5b237c3a8f7104c
|
|
@ -1,54 +0,0 @@
|
|||
From b37de83728dc7463dea37f71417560ae602f615d Mon Sep 17 00:00:00 2001
|
||||
From: Jaroslaw Staniek <staniek@kde.org>
|
||||
Date: Sat, 1 Feb 2020 19:07:52 +0100
|
||||
Subject: [PATCH] TRIVIAL Move Q_REQUIRED_RESULT to correct place
|
||||
|
||||
This can fix builds for newer MSVC
|
||||
---
|
||||
src/common/KReportDataSource.h | 2 +-
|
||||
src/common/KReportPluginManager.h | 2 +-
|
||||
src/wrtembed/KReportDesigner.h | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/common/KReportDataSource.h b/src/common/KReportDataSource.h
|
||||
index 4761af6c..89490b47 100644
|
||||
--- a/src/common/KReportDataSource.h
|
||||
+++ b/src/common/KReportDataSource.h
|
||||
@@ -124,7 +124,7 @@ public:
|
||||
//! Creates a new instance with data source. Default implementation returns @c nullptr.
|
||||
//! @a source is implementation-specific identifier.
|
||||
//! Owner of the returned pointer is the caller.
|
||||
- virtual KReportDataSource* create(const QString &source) const Q_REQUIRED_RESULT;
|
||||
+ virtual Q_REQUIRED_RESULT KReportDataSource* create(const QString &source) const;
|
||||
|
||||
private:
|
||||
Q_DISABLE_COPY(KReportDataSource)
|
||||
diff --git a/src/common/KReportPluginManager.h b/src/common/KReportPluginManager.h
|
||||
index a8c4efcf..9ea01804 100644
|
||||
--- a/src/common/KReportPluginManager.h
|
||||
+++ b/src/common/KReportPluginManager.h
|
||||
@@ -49,7 +49,7 @@ class KREPORT_EXPORT KReportPluginManager : public QObject
|
||||
|
||||
KReportPluginInterface* plugin(const QString& id) const;
|
||||
|
||||
- QList<QAction*> createActions(QObject *parent) Q_REQUIRED_RESULT;
|
||||
+ Q_REQUIRED_RESULT QList<QAction*> createActions(QObject *parent);
|
||||
|
||||
private:
|
||||
// class for access to the constructor
|
||||
diff --git a/src/wrtembed/KReportDesigner.h b/src/wrtembed/KReportDesigner.h
|
||||
index 404c8fd4..b5b64a30 100644
|
||||
--- a/src/wrtembed/KReportDesigner.h
|
||||
+++ b/src/wrtembed/KReportDesigner.h
|
||||
@@ -106,7 +106,7 @@ public:
|
||||
@return Pointer to a new report section section object, ownership is transferred to
|
||||
the caller
|
||||
*/
|
||||
- KReportDesignerSection* createSection() Q_REQUIRED_RESULT;
|
||||
+ Q_REQUIRED_RESULT KReportDesignerSection* createSection();
|
||||
|
||||
/**
|
||||
@brief Deletes the section specified
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
From 4ce3e8a857f2540909e1c23b73beef62eb3ab5fa Mon Sep 17 00:00:00 2001
|
||||
From: jordi fita i mas <jfita@infoblitz.com>
|
||||
Date: Sat, 11 Apr 2020 22:37:20 +0200
|
||||
Subject: [PATCH] Add Qt5PrintSupport and KF5CoreAddons dependencies to CMake
|
||||
config
|
||||
|
||||
Reviewers: staniek
|
||||
|
||||
Reviewed By: staniek
|
||||
|
||||
Subscribers: staniek
|
||||
|
||||
Tags: #kreport
|
||||
|
||||
Differential Revision: https://phabricator.kde.org/D28736
|
||||
---
|
||||
src/KReportConfig.cmake.in | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/KReportConfig.cmake.in b/src/KReportConfig.cmake.in
|
||||
index 7d74122b..9828fcc1 100644
|
||||
--- a/src/KReportConfig.cmake.in
|
||||
+++ b/src/KReportConfig.cmake.in
|
||||
@@ -20,6 +20,8 @@ include(CMakeFindDependencyMacro)
|
||||
find_dependency(Qt5Core @REQUIRED_QT_VERSION@)
|
||||
find_dependency(Qt5Widgets @REQUIRED_QT_VERSION@)
|
||||
find_dependency(Qt5Xml @REQUIRED_QT_VERSION@)
|
||||
+find_dependency(Qt5PrintSupport @REQUIRED_QT_VERSION@)
|
||||
+find_dependency(KF5CoreAddons @REQUIRED_KF5_VERSION@)
|
||||
find_dependency(KPropertyWidgets @REQUIRED_KPROPERTY_VERSION@)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/KReportTargets.cmake")
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -1,166 +0,0 @@
|
|||
From 779479c5474e080a857b2d80bdc86b9cab6531a0 Mon Sep 17 00:00:00 2001
|
||||
From: Jaroslaw Staniek <staniek@kde.org>
|
||||
Date: Fri, 1 Nov 2019 19:54:00 +0100
|
||||
Subject: [PATCH] Fix insane delay in report items creation
|
||||
|
||||
Summary:
|
||||
Fix insane delay in report items creation by not instantiating hi-resolution QPrinter object for each item.
|
||||
|
||||
To be honest I am not understanding the whole word-wrapping algorithm used here.
|
||||
|
||||
Test Plan:
|
||||
Approach 1: Run KEXI and create report with large number of pages. Use at
|
||||
least one text element.
|
||||
Before the fix there's noticeable O(N) delay.
|
||||
|
||||
Approach 2: Also if we enter static value for the text item the kreportexample
|
||||
app, there is noticeable delay on each key press before this fix.
|
||||
|
||||
Expected: all is smooth after the fix.
|
||||
|
||||
Reviewers: piggz
|
||||
|
||||
Reviewed By: piggz
|
||||
|
||||
Subscribers: Kexi-Devel-list
|
||||
|
||||
Tags: #kreport
|
||||
|
||||
Differential Revision: https://phabricator.kde.org/D25108
|
||||
---
|
||||
src/CMakeLists.txt | 2 ++
|
||||
src/common/KReportUtils_p.cpp | 14 +++++++++++---
|
||||
src/common/KReportUtils_p.h | 12 +++++++++++-
|
||||
src/items/text/KReportItemText.cpp | 11 ++++++-----
|
||||
4 files changed, 30 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index e15d5ca6..1cf0b389 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -198,6 +198,8 @@ target_link_libraries(KReportUtilsPrivate
|
||||
Qt5::Widgets
|
||||
KF5::ConfigGui
|
||||
KF5::WidgetsAddons
|
||||
+ PRIVATE
|
||||
+ Qt5::PrintSupport
|
||||
)
|
||||
|
||||
ecm_setup_version(${PROJECT_VERSION}
|
||||
diff --git a/src/common/KReportUtils_p.cpp b/src/common/KReportUtils_p.cpp
|
||||
index 5ac288bb..0fd90c2f 100644
|
||||
--- a/src/common/KReportUtils_p.cpp
|
||||
+++ b/src/common/KReportUtils_p.cpp
|
||||
@@ -1,5 +1,5 @@
|
||||
/* This file is part of the KDE project
|
||||
- Copyright (C) 2015-2016 Jarosław Staniek <staniek@kde.org>
|
||||
+ Copyright (C) 2015-2019 Jarosław Staniek <staniek@kde.org>
|
||||
Copyright (C) 2016 Adam Pigg <adam@piggz.co.uk>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
@@ -26,13 +26,14 @@
|
||||
#include <KMessageBox>
|
||||
|
||||
#include <QApplication>
|
||||
+#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
+#include <QGlobalStatic>
|
||||
+#include <QPrinter>
|
||||
#include <QRegularExpression>
|
||||
#include <QResource>
|
||||
#include <QStandardPaths>
|
||||
-#include <QDebug>
|
||||
-#include <QGlobalStatic>
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
#include <QX11Info>
|
||||
@@ -329,6 +330,13 @@ int dpiY()
|
||||
return s_instance->m_dpiY;
|
||||
}
|
||||
|
||||
+Q_GLOBAL_STATIC_WITH_ARGS(QPrinter, s_printerInstance, (QPrinter::HighResolution))
|
||||
+
|
||||
+QPrinter* highResolutionPrinter()
|
||||
+{
|
||||
+ return s_printerInstance;
|
||||
+}
|
||||
+
|
||||
PageLayout::PageLayout() : QPageLayout(QPageSize(QPageSize::A4), QPageLayout::Portrait, QMarginsF(0,0,0,0))
|
||||
{
|
||||
}
|
||||
diff --git a/src/common/KReportUtils_p.h b/src/common/KReportUtils_p.h
|
||||
index 1d223f6e..9e4b111b 100644
|
||||
--- a/src/common/KReportUtils_p.h
|
||||
+++ b/src/common/KReportUtils_p.h
|
||||
@@ -1,5 +1,5 @@
|
||||
/* This file is part of the KDE project
|
||||
- Copyright (C) 2015-2016 Jarosław Staniek <staniek@kde.org>
|
||||
+ Copyright (C) 2015-2019 Jarosław Staniek <staniek@kde.org>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <QRect>
|
||||
#include <QStandardPaths>
|
||||
|
||||
+class QPrinter;
|
||||
+
|
||||
const bool DEFAULT_SHOW_GRID = true;
|
||||
const bool DEFAULT_SNAP_TO_GRID = true;
|
||||
const int DEFAULT_GRID_DIVISIONS = 4;
|
||||
@@ -173,6 +175,14 @@ int dpiX();
|
||||
|
||||
int dpiY();
|
||||
|
||||
+/*!
|
||||
+ * Returns a high-resolution printer
|
||||
+ *
|
||||
+ * The QPrinter(QPrinter::HighResolution)) instance is created on first call.
|
||||
+ * The global printer helps to optimize access to QPrinter when report items need it.
|
||||
+ */
|
||||
+QPrinter* highResolutionPrinter();
|
||||
+
|
||||
//! This class is wrapper that fixes a critical QTBUG-47551 bug in default constructor of QPageLayout
|
||||
//! Default constructor of QPageLayout does not initialize units.
|
||||
//! https://bugreports.qt.io/browse/QTBUG-47551
|
||||
diff --git a/src/items/text/KReportItemText.cpp b/src/items/text/KReportItemText.cpp
|
||||
index 29f63998..e05088fa 100644
|
||||
--- a/src/items/text/KReportItemText.cpp
|
||||
+++ b/src/items/text/KReportItemText.cpp
|
||||
@@ -1,5 +1,6 @@
|
||||
/* This file is part of the KDE project
|
||||
* Copyright (C) 2007-2008 by Adam Pigg (adam@piggz.co.uk)
|
||||
+ * Copyright (C) 2019 Jarosław Staniek <staniek@kde.org>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@@ -17,8 +18,9 @@
|
||||
|
||||
#include "KReportItemText.h"
|
||||
#include "KReportRenderObjects.h"
|
||||
-#include "kreportplugin_debug.h"
|
||||
#include "KReportUtils.h"
|
||||
+#include "KReportUtils_p.h"
|
||||
+#include "kreportplugin_debug.h"
|
||||
|
||||
#include <KPropertyListData>
|
||||
#include <KPropertySet>
|
||||
@@ -217,11 +219,10 @@ int KReportItemText::renderSimpleData(OROPage *page, OROSection *section, const
|
||||
int pos = 0;
|
||||
QChar separator;
|
||||
QRegularExpression re(QLatin1String("\\s"));
|
||||
- QPrinter prnt(QPrinter::HighResolution);
|
||||
- QFontMetricsF fm(font(), &prnt);
|
||||
+ const QFontMetricsF fm(font(), KReportPrivate::highResolutionPrinter());
|
||||
|
||||
- // int intRectWidth = (int)(trf.width() * prnt.resolution()) - 10;
|
||||
- int intRectWidth = (int)((size().width() / 72) * prnt.resolution());
|
||||
+ const int intRectWidth
|
||||
+ = (int)((size().width() / 72) * KReportPrivate::highResolutionPrinter()->resolution());
|
||||
int intLineCounter = 0;
|
||||
qreal intBaseTop = trf.top();
|
||||
qreal intRectHeight = trf.height();
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -1,120 +0,0 @@
|
|||
From 5d3053ea78b349b81b7a562974ad78f93d169791 Mon Sep 17 00:00:00 2001
|
||||
From: Jaroslaw Staniek <staniek@kde.org>
|
||||
Date: Tue, 16 Jun 2020 21:59:12 +0200
|
||||
Subject: [PATCH] Fix build with GCC 10 (make KReportGroupTracker use C++ file)
|
||||
|
||||
BUG:422886
|
||||
CCMAIL:adam@piggz.co.uk
|
||||
|
||||
FIXED-IN:3.2.1
|
||||
---
|
||||
src/CMakeLists.txt | 5 +---
|
||||
.../scripting/KReportGroupTracker.cpp | 26 +++++++++++++++++++
|
||||
src/renderer/scripting/KReportGroupTracker.h | 25 +++++++++++++++---
|
||||
3 files changed, 48 insertions(+), 8 deletions(-)
|
||||
create mode 100644 src/renderer/scripting/KReportGroupTracker.cpp
|
||||
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 1cf0b389..65bcf6e5 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -106,6 +106,7 @@ set(kreport_TARGET_INCLUDE_DIRS
|
||||
|
||||
if(KREPORT_SCRIPTING)
|
||||
list(APPEND kreport_LIB_SRCS
|
||||
+ renderer/scripting/KReportGroupTracker.cpp
|
||||
renderer/scripting/KReportScriptHandler.cpp
|
||||
renderer/scripting/KReportScriptConstants.cpp
|
||||
renderer/scripting/KReportScriptDebug.cpp
|
||||
@@ -133,10 +134,6 @@ if(KREPORT_SCRIPTING)
|
||||
items/text/KReportScriptText.cpp
|
||||
)
|
||||
|
||||
- qt_wrap_cpp(KReport kreport_LIB_SRCS
|
||||
- renderer/scripting/KReportGroupTracker.h
|
||||
- )
|
||||
-
|
||||
list(APPEND kreport_INCLUDE_DIRS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/renderer/scripting
|
||||
)
|
||||
diff --git a/src/renderer/scripting/KReportGroupTracker.cpp b/src/renderer/scripting/KReportGroupTracker.cpp
|
||||
new file mode 100644
|
||||
index 00000000..9274d4a5
|
||||
--- /dev/null
|
||||
+++ b/src/renderer/scripting/KReportGroupTracker.cpp
|
||||
@@ -0,0 +1,26 @@
|
||||
+/* This file is part of the KDE project
|
||||
+ * Copyright (C) 2015 by Adam Pigg (adam@piggz.co.uk)
|
||||
+ *
|
||||
+ * This library is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU Lesser General Public
|
||||
+ * License as published by the Free Software Foundation; either
|
||||
+ * version 2.1 of the License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This library is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ * Lesser General Public License for more details.
|
||||
+ *
|
||||
+ * You should have received a copy of the GNU Lesser General Public
|
||||
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
+ */
|
||||
+
|
||||
+#include "KReportGroupTracker.h"
|
||||
+
|
||||
+KReportGroupTracker::KReportGroupTracker()
|
||||
+{
|
||||
+}
|
||||
+
|
||||
+KReportGroupTracker::~KReportGroupTracker()
|
||||
+{
|
||||
+}
|
||||
diff --git a/src/renderer/scripting/KReportGroupTracker.h b/src/renderer/scripting/KReportGroupTracker.h
|
||||
index e434e05a..4c0852ea 100644
|
||||
--- a/src/renderer/scripting/KReportGroupTracker.h
|
||||
+++ b/src/renderer/scripting/KReportGroupTracker.h
|
||||
@@ -1,3 +1,20 @@
|
||||
+/* This file is part of the KDE project
|
||||
+ * Copyright (C) 2015 by Adam Pigg (adam@piggz.co.uk)
|
||||
+ *
|
||||
+ * This library is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU Lesser General Public
|
||||
+ * License as published by the Free Software Foundation; either
|
||||
+ * version 2.1 of the License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This library is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ * Lesser General Public License for more details.
|
||||
+ *
|
||||
+ * You should have received a copy of the GNU Lesser General Public
|
||||
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
+ */
|
||||
+
|
||||
#ifndef KREPORTGROUPTRACKER_H
|
||||
#define KREPORTGROUPTRACKER_H
|
||||
|
||||
@@ -7,16 +24,16 @@
|
||||
/*!
|
||||
* @brief Keeps track of groups as the data for the group changes
|
||||
*/
|
||||
-class KREPORT_EXPORT KReportGroupTracker : public QObject {
|
||||
+class KREPORT_EXPORT KReportGroupTracker : public QObject
|
||||
+{
|
||||
Q_OBJECT
|
||||
|
||||
protected:
|
||||
- KReportGroupTracker() {}
|
||||
- ~KReportGroupTracker() override{}
|
||||
+ KReportGroupTracker();
|
||||
+ ~KReportGroupTracker() override;
|
||||
|
||||
public:
|
||||
Q_SLOT virtual void setGroupData(const QMap<QString, QVariant> &groupData) = 0;
|
||||
};
|
||||
|
||||
#endif // KREPORTGROUPTRACKER_H
|
||||
-
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
From 4b4b94f0bafcb49cefb1e453edd04a46d6ceacce Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20Usta?= <omerusta@gmail.com>
|
||||
Date: Thu, 12 May 2022 05:01:48 +0000
|
||||
Subject: [PATCH] Fix build with GCC 12 (standard attributes in middle of
|
||||
decl-specifiers)
|
||||
|
||||
---
|
||||
src/common/KReportDataSource.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/common/KReportDataSource.h b/src/common/KReportDataSource.h
|
||||
index 89490b47..0e45b644 100644
|
||||
--- a/src/common/KReportDataSource.h
|
||||
+++ b/src/common/KReportDataSource.h
|
||||
@@ -124,7 +124,7 @@ public:
|
||||
//! Creates a new instance with data source. Default implementation returns @c nullptr.
|
||||
//! @a source is implementation-specific identifier.
|
||||
//! Owner of the returned pointer is the caller.
|
||||
- virtual Q_REQUIRED_RESULT KReportDataSource* create(const QString &source) const;
|
||||
+ Q_REQUIRED_RESULT virtual KReportDataSource* create(const QString &source) const;
|
||||
|
||||
private:
|
||||
Q_DISABLE_COPY(KReportDataSource)
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ECM_QTHELP="true"
|
||||
ECM_TEST="true"
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
KFMIN=5.82.0
|
||||
QTMIN=5.15.2
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit ecm kde.org python-any-r1
|
||||
|
||||
DESCRIPTION="Framework for creation and generation of reports in multiple formats"
|
||||
HOMEPAGE="https://community.kde.org/KReport"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="5/4"
|
||||
IUSE="marble +scripting"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/kproperty-${PV}:5=
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtprintsupport-${QTMIN}:5
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=dev-qt/qtxml-${QTMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kguiaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
||||
marble? ( kde-apps/marble:5= )
|
||||
scripting? ( >=dev-qt/qtdeclarative-${QTMIN}:5 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gcc10.patch"
|
||||
"${FILESDIR}/${P}-fix-insane-delay.patch"
|
||||
"${FILESDIR}/${P}-fix-cmake-config.patch"
|
||||
"${FILESDIR}/${P}-Q_REQUIRED_RESULT-placing.patch" # gcc12-patch dep
|
||||
"${FILESDIR}/${P}-gcc12.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
ecm_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKitWidgets=ON
|
||||
$(cmake_use_find_package marble Marble)
|
||||
-DKREPORT_SCRIPTING=$(usex scripting)
|
||||
)
|
||||
ecm_src_configure
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>kde@gentoo.org</email>
|
||||
<name>Gentoo KDE Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://bugs.kde.org/</bugs-to>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="marble">Enable displaying of maps using <pkg>kde-apps/marble</pkg></flag>
|
||||
<flag name="scripting">Support Qml scripting using <pkg>dev-qt/qtdeclarative</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
|
@ -1,2 +1 @@
|
|||
DIST libevdev-1.13.2.tar.xz 460456 BLAKE2B bdb71525600e2aa3aa264da322e1d7e93270790a48b62baf3df51cf23a6ddf7371cb9de157dd430e632514d1cb3d3b076f8710c43fac4f99e42e7ca503061bee SHA512 558267df0e45d8641a58dddb9fe30e2235ce247d96710189b09512d19d691afbd25189d188bb26bb5092fbbe249fbc7ca60a9e6af4fab535a946d5a3e030a21f
|
||||
DIST libevdev-1.13.3.tar.xz 460660 BLAKE2B d4a808ad13e7e5b818bde0b885eb53e109afb0d0ec9b72a80a05a36135c3db955efd092b8f91f0f2393a1f717e2517ed916326dbb32eae13275b89ee0f40003a SHA512 24330c7f6f003c95da97dcb66fcc750437db59ac9049415c35cbcaa1612845363a59180da6b3120c81d7d3f969adb139fa023ed765223e185fb68465d45a0fd2
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit meson-multilib python-any-r1
|
||||
|
||||
DESCRIPTION="Handler library for evdev events"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/ https://gitlab.freedesktop.org/libevdev/libevdev"
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/libevdev/libevdev.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="test? ( dev-libs/check[${MULTILIB_USEDEP}] )"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
doc? ( app-text/doxygen )
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_feature doc documentation)
|
||||
$(meson_feature test tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
meson_src_test -t 100
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if use doc; then
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
einstalldocs
|
||||
fi
|
||||
}
|
|
@ -1,2 +1 @@
|
|||
DIST libinput-1.26.1.tar.bz2 823409 BLAKE2B c9b807d40bb247330c31769cbcff1a2a506504ac952841463e5fb67717b5d002de204caa8be3298d3920c20a85c55b453a6d63a8940a6b0f088cb474f4fe73c0 SHA512 d4611fc75ee6091f3139134f348db79d710560c27a936c7a8c0dc50657d6e1bdbdb1b44fb4c2c668a5b45934d91d3aef336d4096806807354472b25e298cdab6
|
||||
DIST libinput-1.26.2.tar.bz2 824312 BLAKE2B df463f377cf2f246f6b5b35bdc69039830b4eb5b836a8df9698330140b1bc4b31c7dd50d8ffdec7c935e8b14909d98436ce8f1f9a6d0120e4b72f29381f9b697 SHA512 51fab62e1bfb6007287e1219bf458a351806ce685e6e7ba5360062c863f0811da75acc6ec92aef7f9e0556dac0413fbe43a4744885f7449e38036130112907a6
|
||||
|
|
|
@ -1,102 +0,0 @@
|
|||
# Copyright 2014-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit meson optfeature python-any-r1 udev
|
||||
|
||||
DESCRIPTION="Library to handle input devices in Wayland"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/ https://gitlab.freedesktop.org/libinput/libinput"
|
||||
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/10"
|
||||
if [[ $(ver_cut 3) -lt 900 ]] ; then
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
fi
|
||||
IUSE="doc input_devices_wacom test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
input_devices_wacom? ( >=dev-libs/libwacom-0.27:= )
|
||||
>=dev-libs/libevdev-1.9.902
|
||||
>=sys-libs/mtdev-1.1
|
||||
virtual/libudev:=
|
||||
virtual/udev
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( >=dev-libs/check-0.9.10 )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/commonmark[${PYTHON_USEDEP}]
|
||||
dev-python/recommonmark[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-rtd-theme-0.2.4[${PYTHON_USEDEP}]
|
||||
')
|
||||
>=app-text/doxygen-1.8.3
|
||||
>=media-gfx/graphviz-2.38.0
|
||||
)
|
||||
test? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
# test? ( dev-debug/valgrind )
|
||||
|
||||
python_check_deps() {
|
||||
if use doc; then
|
||||
python_has_version \
|
||||
"dev-python/commonmark[${PYTHON_USEDEP}]" \
|
||||
"dev-python/recommonmark[${PYTHON_USEDEP}]" \
|
||||
"dev-python/sphinx[${PYTHON_USEDEP}]" \
|
||||
">=dev-python/sphinx-rtd-theme-0.2.4[${PYTHON_USEDEP}]" \
|
||||
|| return
|
||||
fi
|
||||
if use test; then
|
||||
python_has_version \
|
||||
"dev-python/pytest[${PYTHON_USEDEP}]" \
|
||||
"dev-python/pytest-xdist[${PYTHON_USEDEP}]" \
|
||||
|| return
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed "s@, '-Werror'@@" -i meson.build || die #744250
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# gui can be built but will not be installed
|
||||
local emesonargs=(
|
||||
-Ddebug-gui=false
|
||||
$(meson_use doc documentation)
|
||||
$(meson_use input_devices_wacom libwacom)
|
||||
$(meson_use test tests)
|
||||
-Dudev-dir="${EPREFIX}$(get_udevdir)"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc -r "${BUILD_DIR}"/Documentation/.
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "measure and replay tools" dev-python/libevdev
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
udev_reload
|
||||
}
|
|
@ -9,7 +9,7 @@ if [[ ${PV} == *9999 ]] ; then
|
|||
EGIT_REPO_URI="https://github.com/kyz/libmspack.git"
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
SRC_URI="https://github.com/kyz/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
|
|
|
@ -5,5 +5,6 @@ DIST libsecp256k1-0.4.0.tar.gz 2607093 BLAKE2B abbd68580e5e35478d74cad13e0e55a17
|
|||
DIST libsecp256k1-0.4.1.tar.gz 2614189 BLAKE2B 50de3e2699afa6b80aa64b9c593a6eff98d779706fde3cbb9b54ae0b596c584538abfc9f6d03cdcfd92e6df46db287049a83609e4f5dbb197fd067202f728810 SHA512 68d057d6820ca77006a16d6997c1e8240480b2d6e8d6a4d68188c699c476b71a46850dd3bc217e53a2ebd518b4db37d669058d2104d89cb2a356ba54892ad447
|
||||
DIST libsecp256k1-0.5.0.tar.gz 1960832 BLAKE2B 118e3bb1d8e0a4493debae3b1feb68ff5a93348bbed32486779416cc2359dd65d8cfaa7bb47afca8b4ddb214b7ce05c9997896fd256ad73df35ec51a8966fe69 SHA512 b8511b0d8b581d371ee48f2c8a5a72930e7a0686a860200e56e83e2f58a63f2d781af75829d922e98f6648d361e20efde29abcf52c086b77647457c6c3586e78
|
||||
DIST libsecp256k1-0.5.1.tar.gz 1962518 BLAKE2B edff454529755c5de4f7a5192235b7e461426cc05da83ba1be03a3f9f4327397ae96b11bbf4250cd09165a1a6bd5383b928d4374713c47ef930de0af11cfc772 SHA512 5cba94794ac9c0e9a72111958562690bfb79b1ccd3071e0aaa22c4c6a4fe4007b87e402c00bbab1bdc93f31490d4b528d7ac368870ac05de12ee76db8313e510
|
||||
DIST libsecp256k1-0.6.0.tar.gz 1996783 BLAKE2B 6c8ec26bd3d10f463ac4aeed4aa092718a8101012d9ae0b8931166a4bec717f9d5bdc2c8ef21395f6ce2285828871deefa1e47299654d19634c9398d7447acea SHA512 bccaa15295b0633e1fe5a4a4d7a80be812e40c8ed815be4f0d3f3348a5e185633c599cd50b7461a3584f89aea94f6d5321772876c5146553e2732df8b72becc2
|
||||
DIST libsecp256k1-v0.1_pre20190401.tgz 166663 BLAKE2B 68c9fc3fda6af56452f32edeae5dcb5a92f68bc3fb39a397c532951c6392347df14ea0347bbe05cab43158512e0d9f5ea87bd8f69bece1b04440860ebb8065ee SHA512 8c4945e93cb5ff241482ba4426b25162a7ae3b26860edc10c91d06b1c396887202ad971f4d38e035828352531b87fc29087a12b675e43da44f23c9ea3b6c0cc8
|
||||
DIST libsecp256k1-v0.1_pre20201028.tgz 200051 BLAKE2B 90d636049b411e02703feb2661006900a55f952f60e76e2b7147a5afe8e391a06a80d6ae1489b1e7f2382176c7ea831526465a85bca09156dc6d37b417fcb33b SHA512 54a0fa21b64dd6836e4227de51f3539afe06e0e2f352683397d6adb5dd0508af443d2e25f91e90e1ae366b261965fe7d438292314705baee799cf37421644958
|
||||
|
|
73
dev-libs/libsecp256k1/libsecp256k1-0.6.0.ebuild
Normal file
73
dev-libs/libsecp256k1/libsecp256k1-0.6.0.ebuild
Normal file
|
@ -0,0 +1,73 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
MyPN=secp256k1
|
||||
DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
|
||||
HOMEPAGE="https://github.com/bitcoin-core/secp256k1"
|
||||
SRC_URI="https://github.com/bitcoin-core/secp256k1/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MyPN}-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/5" # subslot is "$((_LIB_VERSION_CURRENT-_LIB_VERSION_AGE))" from configure.ac
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+asm +ecdh +ellswift experimental +extrakeys lowmem musig +recovery +schnorr test valgrind"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="
|
||||
asm? ( || ( amd64 arm ) arm? ( experimental ) )
|
||||
musig? ( schnorr )
|
||||
schnorr? ( extrakeys )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-build/autoconf-archive
|
||||
virtual/pkgconfig
|
||||
valgrind? ( dev-debug/valgrind )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/0.4.0-fix-cross-compile.patch"
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
README.md
|
||||
doc/safegcd_implementation.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
# Generate during build
|
||||
rm -f src/precomputed_ecmult.c src/precomputed_ecmult_gen.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-benchmark
|
||||
$(use_enable experimental)
|
||||
$(use_enable test tests)
|
||||
$(use_enable test exhaustive-tests)
|
||||
$(use_enable {,module-}ecdh)
|
||||
$(use_enable {,module-}ellswift)
|
||||
$(use_enable {,module-}extrakeys)
|
||||
$(use_enable {,module-}musig)
|
||||
$(use_enable {,module-}recovery)
|
||||
$(use_enable schnorr module-schnorrsig)
|
||||
$(use_with asm asm "$(usex arm arm32 auto)")
|
||||
$(usev lowmem '--with-ecmult-window=4 --with-ecmult-gen-kb=2')
|
||||
$(use_with valgrind)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use ellswift && DOCS+=( doc/ellswift.md )
|
||||
use musig && DOCS+=( doc/musig.md )
|
||||
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
|
@ -16,6 +16,7 @@
|
|||
<flag name="experimental">Allow experimental USE flags</flag>
|
||||
<flag name="extrakeys">Enable extrakeys module</flag>
|
||||
<flag name="lowmem">Reduce runtime memory usage at the expense of performance (ecmult window size 4, gen precision 2)</flag>
|
||||
<flag name="musig">Enable MuSig2 module</flag>
|
||||
<flag name="recovery">Enable ECDSA pubkey recovery module</flag>
|
||||
<flag name="schnorr">Enable Schnorr signature module</flag>
|
||||
<flag name="test-openssl">Enable OpenSSL comparison tests</flag>
|
||||
|
|
|
@ -4,3 +4,5 @@ DIST libuv-1.49.0.tar.gz 1331420 BLAKE2B f939df07e7e120cdb5c489a6146b220d9d85aa5
|
|||
DIST libuv-1.49.0.tar.gz.sig 833 BLAKE2B aa37c82779d2e904b5b1cdac802573fe30a570f83a818f94eed87d4b7a45a83e6fa02f0f2a06e24a8b01561bbe1b647bc931670c78af79301ba0aa08e6c0c708 SHA512 ad86a158179f5b8961aba701f0fdc16906383158cceb1ab2e23a7d5caa31ee4d87e9260ba6d04aa16719254e9b8d9e85066e2352d02006d231f4898235525fe6
|
||||
DIST libuv-1.49.1.tar.gz 1332225 BLAKE2B 7a56817c94060629456a53026c142d74d72d2777a4e433bd370d76c93c8ae7a775d9cb9362241ce563948dd01a2b4bbe5d3bc10c014687fa9aff38b2fde98ccf SHA512 f0a55fd5e91b87418ec22b0bd607a9b46510296c8a33600878a6454033b0d1bc7b4b674255007e94b38057635c024f7cbff187e7c0f0e0d627604636c3ad3497
|
||||
DIST libuv-1.49.1.tar.gz.sig 833 BLAKE2B 826f6c97806a474c6b1f77b11b553d5f26d1c25261d9f25f4318552e1e4291cff56a4d5c9a7059ad938dc792e7015eab11d84132553e66c4ac164a847eb9d6dd SHA512 49ffdb678afb5c1c899745102e7d884d4a7bb933e88066cff82ef7c939bdbde5b2fa8e22094cdb75ed77697eef559dfa7f22d66d6a65b3a43a8a9d2cca4d7fd3
|
||||
DIST libuv-1.49.2.tar.gz 1331024 BLAKE2B a4a3367053ab3d5b87c502ef4a25b569fc829b3580005333adf2d3f02a799e6fefec9b6c2cf354eb0e8fe003eff4d3bd5d0f91980dd44702595bfdc54a9fad66 SHA512 ecb94edb9393d1f3ace1e01e89a3f693fb813c1ed21a3c706409bdfd8821885e7713f8d6b043d97ab202cbea9edc99ad6672d1144858802dc92031800ffba1a1
|
||||
DIST libuv-1.49.2.tar.gz.sig 833 BLAKE2B fe7ac42aad297f71e36995c665e445a82f8bb2fe6b2270fc7581dc1cf321c0bfc9c4238ad58b8666aec531c590c4df07268315980cf17406a5d448f2c5dc6d0b SHA512 66a6f345bfc16a5a673b8e7eb696e731b42f2cc9cb10f2a9eff74ca2ea5f47c7809f1ecea6182863531b776fef8bef8cefee3c7295d1976bd47f0f30afc455cf
|
||||
|
|
62
dev-libs/libuv/libuv-1.49.2.ebuild
Normal file
62
dev-libs/libuv/libuv-1.49.2.ebuild
Normal file
|
@ -0,0 +1,62 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libuv.asc
|
||||
inherit autotools verify-sig
|
||||
|
||||
DESCRIPTION="Cross-platform asychronous I/O"
|
||||
HOMEPAGE="https://github.com/libuv/libuv"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/libuv/libuv.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
https://dist.libuv.org/dist/v${PV}/libuv-v${PV}.tar.gz -> ${P}.tar.gz
|
||||
verify-sig? ( https://dist.libuv.org/dist/v${PV}/libuv-v${PV}.tar.gz.sign -> ${P}.tar.gz.sig )
|
||||
"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="BSD BSD-2 ISC MIT"
|
||||
SLOT="0/1"
|
||||
|
||||
BDEPEND="
|
||||
dev-build/libtool
|
||||
virtual/pkgconfig
|
||||
verify-sig? ( sec-keys/openpgp-keys-libuv )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.48.0-test-thread-priority-portage.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then
|
||||
eapply "${FILESDIR}"/${PN}-1.41.0-darwin.patch
|
||||
fi
|
||||
|
||||
# Upstream fails to ship a configure script and has missing m4 file.
|
||||
echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
|
||||
> m4/libuv-extra-automake-flags.m4 || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
cc_cv_cflags__g=no
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
diff --git a/tests/tools/tools.sh b/tests/tools/tools.sh
|
||||
--- a/tests/tools/tools.sh
|
||||
+++ b/tests/tools/tools.sh
|
||||
@@ -542,25 +542,25 @@
|
||||
check_tmpfile
|
||||
|
||||
echo "${BINDIR}/pk12util -l ${TOOLSDIR}/data/pbmac1-invalid-bad-iter.p12 -d ${P_R_COPYDIR} -k ${R_PWFILE} -W '1234'"
|
||||
${BINDIR}/pk12util -l ${TOOLSDIR}/data/pbmac1-invalid-bad-iter.p12 -d ${P_R_COPYDIR} -k ${R_PWFILE} -W '1234' 2>&1
|
||||
ret=$?
|
||||
- html_msg $ret 19 "Fail to list private key with bad iterator"
|
||||
+ html_msg $ret 17 "Fail to list private key with bad iterator"
|
||||
check_tmpfile
|
||||
|
||||
echo "${BINDIR}/pk12util -l ${TOOLSDIR}/data/pbmac1-invalid-bad-salt.p12 -d ${P_R_COPYDIR} -k ${R_PWFILE} -W '1234'"
|
||||
${BINDIR}/pk12util -l ${TOOLSDIR}/data/pbmac1-invalid-bad-salt.p12 -d ${P_R_COPYDIR} -k ${R_PWFILE} -W '1234' 2>&1
|
||||
ret=$?
|
||||
echo "Fail to list private key with bad salt val=$ret"
|
||||
- html_msg $ret 19 "Fail to import private key with bad salt"
|
||||
+ html_msg $ret 17 "Fail to import private key with bad salt"
|
||||
check_tmpfile
|
||||
|
||||
echo "${BINDIR}/pk12util -l ${TOOLSDIR}/data/pbmac1-invalid-no-length.p12 -d ${P_R_COPYDIR} -k ${R_PWFILE} -W '1234'"
|
||||
${BINDIR}/pk12util -l ${TOOLSDIR}/data/pbmac1-invalid-no-length.p12 -d ${P_R_COPYDIR} -k ${R_PWFILE} -W '1234' 2>&1
|
||||
ret=$?
|
||||
echo "Fail to import private key with no length val=$ret"
|
||||
- html_msg $ret 19 "Fail to import private key with no length"
|
||||
+ html_msg $ret 17 "Fail to import private key with no length"
|
||||
check_tmpfile
|
||||
}
|
||||
|
||||
############################## tools_p12 ###############################
|
||||
# local shell function to test basic functionality of pk12util
|
||||
|
|
@ -41,7 +41,7 @@ PATCHES=(
|
|||
"${FILESDIR}"/nss-3.103-gentoo-fixes-add-pkgconfig-files.patch
|
||||
"${FILESDIR}"/nss-3.21-gentoo-fixup-warnings.patch
|
||||
"${FILESDIR}"/nss-3.87-use-clang-as-bgo892686.patch
|
||||
"${FILESDIR}"/nss-3.106-disable-broken-tests.patch
|
||||
"${FILESDIR}"/nss-3.106-bmo-1927096-fix-broken-test-files.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
DIST wayland-protocols-1.36.tar.xz 95512 BLAKE2B 6c460106a2069ff9ce0b6c8221f85462e74d726ead69f6918417aac0cd24567251873ea05ec111a90f3385f4128e7e8d76aca42c7b1f89a070943c604b87573c SHA512 5448b9aedc953ce6be0f378da900c195c8743cb6001f615823b5fc9cab3e3ee54271132055743278e10decef7f8e9dcdeef31593a2a12062575fb90eb0084be0
|
||||
DIST wayland-protocols-1.37.tar.xz 100356 BLAKE2B f341bdb50f4169112a89b1d834a4b62b59ab7c5d9b7640a3bb5a7d84dc055f390429b171de2038a70ec564c1431ecb95a036b053f18353f3ff936651240050de SHA512 57936a23d08957afa9563b51b2b195aa10410fa74176c0503f83b1544e243d4e5b99c3daf5fc14c0a68a78d3f5759e1a5ca9fe4ba22220cbf5328168903c7575
|
||||
DIST wayland-protocols-1.38.tar.xz 102648 BLAKE2B b07abed74b2f83247f3746414dc1f9e317793f9bc6ae7c1cb955d94149577964dee2ed0d658d4b9d9d7bd446509966393f4060b85db09b56292ddd9702bd1aee SHA512 43fc36d35bedb245deed0e2de246f42d2bbfa6ecafa094f2a7fb103d6df8ae28f3cc200bc5aa24745b9131a28381883c24779da0a6d9ac954753bd5ebb1405db
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Wayland protocol files"
|
||||
HOMEPAGE="https://wayland.freedesktop.org/"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/${PN}.git/"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://gitlab.freedesktop.org/wayland/${PN}/-/releases/${PV}/downloads/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
test? ( dev-libs/wayland )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/wayland-scanner
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use test tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
Binary file not shown.
|
@ -9,7 +9,7 @@ inherit perl-module
|
|||
|
||||
DESCRIPTION="A try/catch/finally syntax for Perl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="dev-perl/XS-Parse-Keyword"
|
||||
BDEPEND="
|
||||
|
|
Binary file not shown.
|
@ -1,3 +1,3 @@
|
|||
DIST aiohttp-3.10.10.tar.gz 7542993 BLAKE2B edc9808937892e2915b591a3d5b9e2be8401a67e6421ada8c49e27cfa1ee67283465d17e3c3a77f7579d4ed45df39884a2f9e336429ef7d64adf351ce7507a85 SHA512 c6928d989c110c323347b6f5b0a90c42e17924b4121455a240f5a15d87f939580640ba0f8d576f8254e484e5b631ec4562a2fb4e6c86402924b1892a6d72aff8
|
||||
DIST aiohttp-3.11.0b1.tar.gz 7613789 BLAKE2B c5eff496ab6c6fe755a31a3f368716de52727e825102ff718016c0e9ff698bd95b114ac5d41790359cd44ecaba44fde6785ce7e220a4835378f36241318d2bef SHA512 a9bd6a45eb47e5209eb5765590684cd3134b936cfd0126716b4e723bf6d5a909079233148ce48f9cff69d4020a6ec25e809860c02cba702079fe5e44bf86d5ff
|
||||
DIST aiohttp-3.11.0b2.tar.gz 7615280 BLAKE2B a37a095b065adc4ecadfb8c01713848a504ee4ae87a16073283463b0d49dd4adb1439ee900e4015061dc217dacd285faf8e2dc9abcd3dc98ad09836ac07c8611 SHA512 babbcbdf291d80dbb26b2b32db328844d4a815360d8862915b9e5e11c508ab6c381092565d3b014a5c53047b375645f7f607ac6c6a8ed2f15639ebe03148bfa7
|
||||
DIST aiohttp-3.11.0b3.tar.gz 7617599 BLAKE2B 02cac5fbaeec0f7d7114bcac48246dfc3777f91e0aeef489f1e537a9e034c09d3e9e8959825c87775ec92f012542138d790be4b4dff89b99c35b87fbc59a236e SHA512 13a3be6a9148363b75ff959b2b0bcb0669990043c89a8f05cbeb133f4e1180ee7ebb1fc8aa5ed6c5dea9e1950294b8ce4f36e54d02e9e4bad03be13083bf3fe8
|
||||
|
|
|
@ -102,7 +102,9 @@ python_test() {
|
|||
# python_on_whales is not packaged
|
||||
tests/autobahn/test_autobahn.py
|
||||
# benchmarks
|
||||
tests/test_benchmarks_client.py
|
||||
tests/test_benchmarks_client_request.py
|
||||
tests/test_benchmarks_client_ws.py
|
||||
tests/test_benchmarks_cookiejar.py
|
||||
tests/test_benchmarks_http_websocket.py
|
||||
tests/test_benchmarks_http_writer.py
|
|
@ -1 +1,2 @@
|
|||
DIST caldav-1.3.9.tar.gz 106392 BLAKE2B 6b7ca6b7be72b604f54663c5d2a79bc0a3b9874c791407fb7161357bad4cc5016249d0dd8278fb394ff3ce9bfa681f8e034710706faf2d1b4eb8345ac3ba110c SHA512 d368511b82d341406801ecca6aa371a2b4f5641eedba784fa869d76ebd1836991fb2d1cdc12d42feb1a55db73dfb5d80da7efebf95759fd7b6e122129a001ae3
|
||||
DIST caldav-1.4.0.tar.gz 141012 BLAKE2B a7936779571c01935f827d2a1a6bd059354431735b316fdbcf324a8be7ccbf4f4aaa88fac902088b39cc96c7b2d7b85d6a8bf87e06f4d30c95dcd7135535537d SHA512 15684684080bb4de2eefc20babcd75ed2de753fad516f456f3ef93439ef94ed31afcce725cde09b722e52fb1af03631d1489151e31e1be5745dc210ee51dca0f
|
||||
|
|
37
dev-python/caldav/caldav-1.4.0.ebuild
Normal file
37
dev-python/caldav/caldav-1.4.0.ebuild
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="CalDAV (RFC4791) client library for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/python-caldav/caldav/
|
||||
https://pypi.org/project/caldav/
|
||||
"
|
||||
|
||||
LICENSE="|| ( GPL-3 Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/icalendar[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
>=dev-python/recurring-ical-events-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/vobject[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
' 3.10)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/tzlocal[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
|
@ -1,4 +1,3 @@
|
|||
DIST cmd2-2.4.3.tar.gz 678661 BLAKE2B 806fbd6abc26737032dd6330ebabc1e5308e9082f9c98002845a54f1458d314feb476e4d491892e74cde16f5043c57495426ad50aaf3e7e8d0d938f0388db6e2 SHA512 1d440752262f38a742069e636373884edcc49c17ba17b21b24015cfe559b4df36b45ac9489f2f643897fbd38f54b8e6120daf07ef25d2f209af8a4ac8e4c0085
|
||||
DIST cmd2-2.5.0.tar.gz 688531 BLAKE2B b5b88faf2848b8941df70235c32451847c86dbc7953b960383e57fa1529d4d3c557d75a36010900f7702c68b3f46de1725fb4b74892073b0dcd975b4f880e9cb SHA512 7c04cb735624abdd8ba93aa7dd5155913fe6bd9f2021c58008a20e91c380fed87c1bb32b552be6b7ab47ceca49bc5dced9e31fe7a5a0b621475862b28216f4ee
|
||||
DIST cmd2-2.5.1.tar.gz 984750 BLAKE2B 3da891b3ba5b6b4ac85511830d79bb339a4cc33c2aa7d85b6f4143f533b53b3786a8d2034c062f36909eb8a15efcf8451c19a5d9a6beb4c7f122933482058041 SHA512 703f5d0aca1006f94c5971815c8b18e40d186f906d782fb6386d5d50c08f03535c8dc1577fc6b2f67fca207d414c01223f5efa2adeafe121217b2a0158deec94
|
||||
DIST cmd2-2.5.2.tar.gz 984695 BLAKE2B b85b1f0732897491c9f391a56018c5258a8916299003c565e4f2f42866ce1ff48d86e03b54aa0bf7a582e8e51cf41b079d0fabe418b4e9a855a8e850e7bc02cb SHA512 565c64030f4ea15e29a8350ed625b56a3e18c442930a8c4216c334431ab220895e0dd21ff079c5a888c693f43fec4b69da4dcf14c84ec3a089cfc27ff4c298f8
|
||||
DIST cmd2-2.5.3.tar.gz 689714 BLAKE2B 20dd6aff4b2c520d5f82e6273a853571d03d8c5b1d464c0225270757e6e8f4a36ced09c2311bbdc132603d92ff80bb7047502aef445974fb9908b7088f92a8b4 SHA512 eb5da50a543f485a15a768cca72cfaa32608e20d8afc07712baa7c2105eefd8496a9ad2a123097dd7dac236de6e2cf725539a36dd7902bd909668e41f304b646
|
||||
|
|
|
@ -1,53 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit distutils-r1 virtualx pypi
|
||||
|
||||
DESCRIPTION="Extra features for standard library's cmd module"
|
||||
HOMEPAGE="
|
||||
https://github.com/python-cmd2/cmd2/
|
||||
https://pypi.org/project/cmd2/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pyperclip[${PYTHON_USEDEP}]
|
||||
dev-python/wcwidth[${PYTHON_USEDEP}]
|
||||
"
|
||||
# pyperclip uses clipboard backends in the following preference order:
|
||||
# pygtk, xclip, xsel, klipper, qtpy, pyqt5, pyqt4.
|
||||
# klipper is known to be broken in Xvfb, and therefore causes test
|
||||
# failures. to avoid them, we must ensure that one of the backends
|
||||
# preferred to it is available (i.e. xclip or xsel).
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
x11-misc/xclip
|
||||
x11-misc/xsel
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_test() {
|
||||
# tests rely on very specific text wrapping...
|
||||
local -x COLUMNS=80
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
# TODO: tests_isolated?
|
||||
epytest -o addopts= -p pytest_mock tests || die
|
||||
}
|
|
@ -1 +1,2 @@
|
|||
DIST jsonpickle-3.3.0.gh.tar.gz 324099 BLAKE2B e2c922df65f497b80ae78258024342de763d7585ce391f076e9e8a2f1da73e5c755b977be069a9778c85721b2fdcfcde70034374c7f38f001486a41742e9a488 SHA512 b796c2263ccb38e9e9191d9519ac044defa5df8a2b34bc8002f4de59397056048e037ae12f3e5ca46061febb81a7b35cfec11335926c893357f0c22e9b1b6d85
|
||||
DIST jsonpickle-3.4.1.gh.tar.gz 307367 BLAKE2B 3885953e418ee07266abecaa0360527a8f5074c3d1f56ee921102a32a1780a752c6a5bf70e127b47ddbbb9c2a32c62268c5af67a11d253d40a76fdb9b8756924 SHA512 0dec541753e0b1bb980d78d091fdc01f4e390415d39ffe2c1a0c466629b23580aa4d849bef4cc8c4ccb5666445a8229cceacc6b3e01e104b648adb076ac7e04e
|
||||
|
|
67
dev-python/jsonpickle/jsonpickle-3.4.1.ebuild
Normal file
67
dev-python/jsonpickle/jsonpickle-3.4.1.ebuild
Normal file
|
@ -0,0 +1,67 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="Python library for serializing any arbitrary object graph into JSON"
|
||||
HOMEPAGE="
|
||||
https://github.com/jsonpickle/jsonpickle/
|
||||
https://pypi.org/project/jsonpickle/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/jsonpickle/jsonpickle/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/feedparser[${PYTHON_USEDEP}]
|
||||
dev-python/gmpy[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/ujson[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
# unpackaged bson dependency
|
||||
tests/bson_test.py
|
||||
)
|
||||
|
||||
if ! has_version "dev-python/gmpy[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py )
|
||||
fi
|
||||
if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_IGNORE+=( jsonpickle/ext/pandas.py )
|
||||
fi
|
||||
|
||||
epytest tests
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Unpackaged optional backends: yajl, demjson
|
||||
optfeature "encoding numpy-based data" dev-python/numpy
|
||||
optfeature "encoding pandas objects" dev-python/pandas
|
||||
optfeature "fast JSON backend" dev-python/simplejson
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
DIST mkdocs-material-9.5.41.gh.tar.gz 14762837 BLAKE2B 6519d6f426ad4f53e83255c5a41cd06d4c4892c40457a1bda878f25134bc2942baaa38c90dbbde26a301b4958b149bc0050c3a0a434811f9b7462a6e315555c0 SHA512 4588b4b9ff0debbbb0ed3bc27504c43f7a60a7a0e0690766285dddf50714de2ae048cbdaf44f1bae3607e4ba4aff00f779926cd48e0de59b02a08f3b13291e4f
|
||||
DIST mkdocs-material-9.5.42.gh.tar.gz 14763147 BLAKE2B 3f45a3d40e77ef822c0a661ca3b8234d7098029f5a259cde631484aa92311c417b628a2b532e8df88d08d116dec7520b2c49219e5e6f6c0db7491bf260cc46c5 SHA512 96e5c8db3dcb047a9eb0df1c686f38238807f44c22554311eb86ac17dca5c6243996b2b8d5bc2745a611a6ca21da0657b5010889fbcc3a038311c816eaf846f5
|
||||
DIST mkdocs-material-9.5.43.gh.tar.gz 14762388 BLAKE2B 49e5591aa3669c7bc8a8cd1969d3a54c7575958303742d5169023dd0e8c42ea6beabaa730b388e144d06dd402be7edac92a51d26ee40c2e90c2d19b8779afb6a SHA512 f7930ebcecb2cb37ec9a462f7a1a68351e73f745db36a85bac4c07797582e0a64a28936ccb85f0125ff5d3940768627f5b51c425b2d3b886663e904c607ae629
|
||||
DIST mkdocs-material-9.5.44.gh.tar.gz 14764147 BLAKE2B e0aaed852abd060eee0b9049798a327a4ddc5969a84289b8aa983b0dfbe926b2e0dfd13525593c2783106bca882adfcfad7961c2eb0363a1f4a4131c364c42c8 SHA512 9a0c8d4a52c8b44b9c8e84b57839d5ddc3080eaa136cb6effc3da8eb9d08a2ef0c0898ff875afabc1783ea548653a9b00f00db67ceb48d52f323a93795529465
|
||||
|
|
67
dev-python/mkdocs-material/mkdocs-material-9.5.44.ebuild
Normal file
67
dev-python/mkdocs-material/mkdocs-material-9.5.44.ebuild
Normal file
|
@ -0,0 +1,67 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
DOCS_BUILDER="mkdocs"
|
||||
DOCS_DEPEND="
|
||||
dev-python/mkdocs-material-extensions
|
||||
dev-python/mkdocs-minify-plugin
|
||||
dev-python/mkdocs-redirects
|
||||
"
|
||||
|
||||
inherit distutils-r1 docs
|
||||
|
||||
DESCRIPTION="A Material Design theme for MkDocs"
|
||||
HOMEPAGE="
|
||||
https://github.com/squidfunk/mkdocs-material/
|
||||
https://pypi.org/project/mkdocs-material/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="social"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/Babel-2.10.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorama-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-4.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/paginate-0.5.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.16[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/readtime-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/regex-2022.4.24[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.26[${PYTHON_USEDEP}]
|
||||
social? (
|
||||
>=dev-python/pillow-10.2[${PYTHON_USEDEP}]
|
||||
>=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}]
|
||||
"
|
||||
# mkdocs-material-extensions depends on mkdocs-material creating a circular dep
|
||||
PDEPEND="
|
||||
>=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# simplify pyproject to remove extra deps for metadata
|
||||
"${FILESDIR}/${PN}-8.5.7-simplify-build.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
echo "__version__ = '${PV}'" > gentoo_version.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
DIST opentelemetry-python-1.27.0.gh.tar.gz 619819 BLAKE2B d861624821cef77cb4cc81a0d04fd9f238f7363122d0fab34433856458bb06f47b7a04022b29dfdbba2d190159e9b2ffe813f0d56ac9473b44c084b764c982e4 SHA512 d8b5a617c7e804b4e6e1b508395e87481a3dcc3b375573110750830a1cf6037cfeb5c09dba3e7cfa472e385dbf619afedd79b1c31c5bfe4e87d44ea65f4d2f0b
|
||||
DIST opentelemetry-python-1.28.0.gh.tar.gz 637413 BLAKE2B e5897c671d95260b38e489a78b879d050355bc319748c3ac712f5e20b41cc1914963c9d835ecd2198f3965e72a429c772287a8d0f45186ec41b3a8bab2764bfa SHA512 1fff73bcd6d9a4bd33e29687674a87d9a1d293964c8d9fdac3122447bd5397161a27186c8cf123d6edef21a9227071a9fe13687593d6923db10dbb96f1e92312
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue