parent
f957ab55e3
commit
7a1b0c904e
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29772 BLAKE2B 1f56d110e2057c8f45495a37edb783c3c3bffd2ac8c2feb4d2310c4bc63937f29258cf3547acf67a583c12ced67f2f279be7d7aca45b47014cd020a8cc7ce75d SHA512 f98edb7197f6af5424cdf555509c33a0ec2ba989e4bead81a2a02aaa9f2bab47532578c7a4b5f4ce8964eafeb27dafcc2edafe88bfb126799f0acfebf86343c3
|
||||
TIMESTAMP 2023-01-08T12:09:40Z
|
||||
MANIFEST Manifest.files.gz 29807 BLAKE2B 1fb5b224645d56f282939ed0f33f8cb4e019425c23b81841a7121c0fdd79244c8d73ed8d2aa9b2dab24380e67a2969fa5c6988b0e75c731dd89b79000e85efcd SHA512 ff66920609c2db5610cc6894a8036ef9739e621043591aac20dbe63c5303cecab69b9b1f6d4396451049443a0cf94f8c6188a5b5d4a8e2ea5b5360649096048c
|
||||
TIMESTAMP 2023-01-09T09:39:40Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmO6soRfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmO74NxfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAqDg//XQ1Z10HkUF6mgSy8znpzo19tsb76sOw9oJgF3aKDx6ivNrEHHATktMnZ
|
||||
uYp5Ov0B4YSSUGck4dx7qtYM3DqQw3wm29DcrUrbHQeFqpsqkKCuXe7x+ckHwOKQ
|
||||
E68wxyh5oiz/id0OCy2OPxwGj2l5TVGeqs7aJCIvnQiBMd3JKY5ZtHoXreNGCMWD
|
||||
sq5pHLGQRJy0NyPxkSQcBtEmG5cyMtFXeN/RLsy+pMLidSZ2UQ9Gd1asY+ZuV9nF
|
||||
bPrigw86fpS0cDpkbhmgatKkxyI4Hc8W5RlPCz2iCH8C/YpCn0O2BNTofKD311rd
|
||||
q8zjCSjjh4GulWoa+LNXTtPUGHWO69PogHHEjzj9IQqNy/exnhakwu1nK1+xi1S3
|
||||
hopCJi7+uYc/DnCd2Evgt5dbMMNahZaXx5pmPWgIy7XvHq3Dm3XIi4+gvHliSLXs
|
||||
H3VwSQYmDykRBq/Kz0EfY6xe5jYR73lc4rOKTFL7KoCYkknXy1HAy5FzQYbMrG3+
|
||||
Ei7Y8anbsSXzyYzpj/6YgZpKfWHFI4pSUXDQKXSigxr06K7zAGTm+D0pdjDJfzuK
|
||||
i9RALkgUtL+smcRXmUM6bus3nSLSF8DzOXi3OLBtwwYf9Upzphz+YxxQji4FBKpQ
|
||||
V9ramoHkq6zd9IjEN1LSbLe3PVreg4SVbhIxHKFJNaPNg8z5Q8I=
|
||||
=F4x2
|
||||
klCAaA/9HxpGeoIEFE0um24PpzGj3aDPfYuX3PsbcY97SDZRqMaLrwRs1wMX786K
|
||||
vJ50IjiqXHruSyla6PItQboG1ZB6qYjnkNGUJAXRZ4dplbIXwYRyCmrjhXFYef42
|
||||
Q5ydDBCk3G8uUr3N3eG3fJE8t96J3v0JtmDRIU4euRAYOLZLlcjbv0gpGwZhbxsP
|
||||
LXYxrIB59McVeuSW2LswvOVIrAXfwh6A+oISm0rqd8UCgWarmuEdiAdJQ4L1R0R2
|
||||
WMO6U1Ojmzd0AVgKhDrkvq2Gi4LYasfYRhUPtRpalvTwV86dm0+ck++hIYROvTNx
|
||||
+Z/Nn2juEDiMJ3yPFf5tNYY+OsgSyW6TLBPerGDO1Gxfv5WkT2bTBkutHoFrh/Z9
|
||||
mKaJfvnpyknd5SR1oTR9oJ7AlfbF60EXk1nglefy9lfT1yIaSRYomOW+lsdwcUS2
|
||||
zKzhfwIRPt7dvNs7rf6oSZGzNdAG663S1Z7NJgiJwIqznbHVjDABd92kPEf+0ADO
|
||||
C6kkYbObHz8ut5UB49iQf3ZH0KUSTtPpKui3flLKkwkWLvjxwbJTjk1U9RCv10cv
|
||||
EWKH14oG6qRPBZzphCycW4ZsycyFs/geARrOP2VEF7dyQgfTK17IxU6LwFVRIJOw
|
||||
aUFTvRcis19ZMQyb+B1PrUrN8MWKfD+r0FmumS7ENefZRTaF4e8=
|
||||
=+eBS
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,11 +1,7 @@
|
||||
AUX ras-mc-ctl.openrc-r1 419 BLAKE2B 50239d64b95c1759a2fb88107b78875b9f6227c256c2a59628b33dfaf720c649e714afe24424f34e865d1fc46145daa8deda4e8612ef6c0d11ef1bf67b2c2e88 SHA512 f12c82432086bfdd0ee24a767b2c6dae9a50cb65038189bfdc2aff9447e5e734e1277d809ed3c7a55ac31034773983e1f46f466adabdd4e727b491c260c5c53e
|
||||
AUX rasdaemon-0.6.7-musl.patch 1032 BLAKE2B 4185df738abec830fe1fa202cf15b9e12fe4fa09056ffcc77be3189310526b4e1b1aa2c938f30493e6ad8626902d58ea2d1c8ee0398226ea315d51155b2c64e0 SHA512 17d83cd502e32f8ad70655dd9d94d2a6d4b0535054488b56decdeefeb83bbd5d314e0740f51ed3df198cee18c0e0c91462fe01dd3816c3f2a41e659aa7ad0f58
|
||||
AUX rasdaemon-0.6.8-bashisms-configure.patch 9566 BLAKE2B 8a59f4255ff37bda63047bacbecd6a90856f9fa8acc42f8fffec653e20161d0cd6ebde06c9d54004f9c81e17c3e18b8673345690af75604557a7d97d45b72149 SHA512 f8a98bd9c3cb1050f66207105fac80efd1a4ea7f1dcbe997d0f8f611d345eb1026c9d8a4923eef4240fd072fec99e9f1fcb0e2b46d85c053d3d5fcf7da4469b2
|
||||
AUX rasdaemon.confd 109 BLAKE2B 20f78ff36701aa718e5dcb36b79949ea5f887ddc65219c335dddabc3440007d91bc5b53ffc499aa6ca018dd8108a2ea841b8ae111b10877be2005cc8c1aca299 SHA512 9e240c3a4c2dd741d2a77a0a9458e960da5480c40cd9b829546e5189d222b643b52c15252a6dc78aab8661d6e3c13b8d2288176c25cd8873b93b874b8d3c6c49
|
||||
AUX rasdaemon.confd 108 BLAKE2B 0a6f45d7984965411fe31350bc14e263c0994230b0eff4051a7210bb3e8cbdc293d8c0bccb6417802be879326f127b2fb691a8db73c37f433a258b46eb8bd857 SHA512 f22d7273c5ac57fef57dae5c5c6d765c1554a17889b96a9aedfe13e1b31d969298a537042cd70d3d9cec6896e8b5c1e3e20313e5b4feaeca2a206dc51e3f2ee9
|
||||
AUX rasdaemon.openrc-r2 424 BLAKE2B d3be2b06631ec3dc60e464b5fb38a4778e92a93fc284455f53f6b7c43a05d182b79f478362ed93a706b421ca99f6a21afdd2cbd53d125711bbf1d0f267304ace SHA512 2e30602222443e519cefc1f138dc537f5e22109fde2f8ebb0f8962abd926721389defc46cfa8db667db8618d4dc4257d36e9855367c3c8f2b7d28cb8684a4adf
|
||||
AUX sysconfig-fix-0.6.7.patch 1226 BLAKE2B 58c30284cb2d7fbf65a6f9233a9fc934f7d48b184cb3364aede9d4080dfab398c41e9f91b9c1728a3bab584ea0881d67857e9e04ba4c1c5e9dedf3c6e119a91a SHA512 3923737c47b04edc80eb5cb3b0cc5fca597fa4dfdbe42ffc262e7cedaf5debc73996befadf3fae65c1244857eabded5844c067ec0f5f3fe9468b24c5f4b780c2
|
||||
DIST rasdaemon-0.6.7.tar.bz2 422473 BLAKE2B 32a95ed9ca217fb69b197f88fa296bf0d3b4230a1ae11c60582911ff84abbe8b9a67b318774b8c4b765dbedbd4458eb220ca3b8ff4c9d065eb893a9a6a9916c5 SHA512 15beae5d4964c49b7b7f9e731948b5def9622fba5d7d17ce52a282d7834d256366cdf3cf427b82b2a6a8fd0c99f202f545000bdb06064fbae7ae0296aef0946c
|
||||
DIST rasdaemon-0.6.8.tar.gz 161343 BLAKE2B 95dab212e404480d45e5b07fa0f9ec7361036c9295a81dd082657c71cf8ad1114cc28f163b8975733e2042dfeb957f8da71dc52440249c75c24653c1ce235e86 SHA512 634638154c6b0bf7a079d6aba884a55e540c9edc3c25715a792ad7535c68629618e9cef8b6ec7e20845f78bd57f712d437be4d772523020f09d30cce42759a30
|
||||
EBUILD rasdaemon-0.6.7-r1.ebuild 1496 BLAKE2B a3da9b07cce0c7673877c8e46d8176a89da6eccf952494ead9c3abc4c13315279657de96be8b0c2b70be6ef3e323b073527ee9ba952f7873c333d5c1c6c1c838 SHA512 7c68b384e41416d41fa9aa0f73cad14dbb7ca9f655c763b4d30219dc7e6b8ba0546a308c6eb0249dd791511e33e454aa4417905e62a84228d2abc610cda91619
|
||||
EBUILD rasdaemon-0.6.8.ebuild 1464 BLAKE2B 03879caebdc5030124462cd93ad4c5df19e5b63e167904590d4e5915610098e7e3da7293b02ba64ae709c27f992c1332ecd192657ed219552f924a5a2306a755 SHA512 f045c63caca06cb162ade1890c8b3fd902e9b1fd0d2a40b29225f90ddfc8a4ca3d1caff8d2685d3fbdea3350bc64d825025125105938253b74ca7e48c7f9a360
|
||||
EBUILD rasdaemon-0.6.8-r1.ebuild 1462 BLAKE2B 3fc7a39aa1b485de50cbec5b24f9f163c64697f6a1c560deff1d89c9a2a8f31c206521a049d9f0b9eddda71602413cf692487558b641a0eeb70eaaa56eb8fb57 SHA512 543a5af27d7eaacc81a15f28d78b282dc8a5262a2b2ba899a3d159b8659e8317a9e68bfe14296f2f09d49ee4a5a2556e99ceb15cb70db49e1cc84c9a53bf86e9
|
||||
MISC metadata.xml 1086 BLAKE2B d9017158e600a5aca8b1ca0600a36efec9f12c26493e28b129a0029caa37224b2e5341292ffdebabdc81893aebddba7b893d69f66f87ff4fd927e5310a4482c8 SHA512 3801a8c374a0d38f9efc07a288eb338739e74d1e7e41a182b871f01ce8cfd695621cfb6c883e5ce8da267e1440bf8106db6ad5ac12ef5e156bba958f72ea6297
|
||||
|
@ -1,34 +0,0 @@
|
||||
From c450d2334d59c2441d9b4fcee1284afb55b9639c Mon Sep 17 00:00:00 2001
|
||||
From: Stijn Tintel <stijn@linux-ipv6.be>
|
||||
Date: Wed, 1 Sep 2021 03:32:18 +0300
|
||||
Subject: [PATCH] rasdaemon: fix compile against musl libc
|
||||
|
||||
Fix the following compile errors that occurs when building against musl:
|
||||
|
||||
ras-events.c: In function 'read_ras_event_all_cpus':
|
||||
ras-events.c:366:16: error: 'PATH_MAX' undeclared (first use in this function)
|
||||
366 | char pipe_raw[PATH_MAX];
|
||||
| ^~~~~~~~
|
||||
|
||||
ras-events.c: In function 'handle_ras_events_cpu':
|
||||
ras-events.c:564:16: error: 'PATH_MAX' undeclared (first use in this function)
|
||||
564 | char pipe_raw[PATH_MAX];
|
||||
|
|
||||
|
||||
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
|
||||
---
|
||||
ras-events.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/ras-events.c b/ras-events.c
|
||||
index fe4bd26..39cab20 100644
|
||||
--- a/ras-events.c
|
||||
+++ b/ras-events.c
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
+#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
@ -1,2 +1,2 @@
|
||||
# pass the --record option if sqlite is enabled and you wish store events in sqlite
|
||||
#RASDAEMON_ARGS=--record
|
||||
RASDAEMON_ARGS=--record
|
||||
|
@ -1,32 +0,0 @@
|
||||
From 2379c720a7e490854a2f352ca53af6fbd99c0832 Mon Sep 17 00:00:00 2001
|
||||
From: Matt Whitlock <whitslack@users.noreply.github.com>
|
||||
Date: Wed, 9 Jun 2021 10:25:18 -0400
|
||||
Subject: [PATCH] configure.ac: fix SYSCONFDEFDIR default value
|
||||
|
||||
configure.ac was using AC_ARG_WITH incorrectly, yielding a generated configure script like:
|
||||
|
||||
# Check whether --with-sysconfdefdir was given.
|
||||
if test "${with_sysconfdefdir+set}" = set; then :
|
||||
withval=$with_sysconfdefdir; SYSCONFDEFDIR=$withval
|
||||
else
|
||||
"/etc/sysconfig"
|
||||
fi
|
||||
|
||||
This commit fixes the default case so that the SYSCONFDEFDIR variable is assigned the value "/etc/sysconfig" rather than trying to execute "/etc/sysconfig" as a command.
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index f7d1947..33b81fe 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -172,7 +172,7 @@ AC_SUBST([RASSTATEDIR])
|
||||
AC_ARG_WITH(sysconfdefdir,
|
||||
AC_HELP_STRING([--with-sysconfdefdir=DIR], [rasdaemon environment file dir]),
|
||||
[SYSCONFDEFDIR=$withval],
|
||||
- ["/etc/sysconfig"])
|
||||
+ [SYSCONFDEFDIR=/etc/sysconfig])
|
||||
AC_SUBST([SYSCONFDEFDIR])
|
||||
|
||||
AC_DEFINE([RAS_DB_FNAME], ["ras-mc_event.db"], [ras events database])
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic linux-info systemd
|
||||
|
||||
DESCRIPTION="Reliability, Availability and Serviceability logging tool"
|
||||
HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"
|
||||
SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="sqlite"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-devel/gettext
|
||||
sys-apps/dmidecode
|
||||
sqlite? (
|
||||
dev-db/sqlite
|
||||
dev-perl/DBD-SQLite
|
||||
)
|
||||
elibc_musl? ( sys-libs/argp-standalone )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/sysconfig-fix-0.6.7.patch"
|
||||
"${FILESDIR}"/${P}-musl.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
local CONFIG_CHECK="~ACPI_EXTLOG"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# avoid re-configure due to automake trigger
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable sqlite sqlite3)
|
||||
--enable-abrt-report
|
||||
--enable-aer
|
||||
--enable-arm
|
||||
--enable-extlog
|
||||
--enable-hisi-ns-decode
|
||||
--enable-mce
|
||||
--enable-non-standard
|
||||
--enable-devlink
|
||||
--enable-diskerror
|
||||
--enable-memory-ce-pfa
|
||||
--includedir="/usr/include/${PN}"
|
||||
--localstatedir=/var
|
||||
)
|
||||
|
||||
use elibc_musl && append-libs argp
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
keepdir "/var/lib/${PN}"
|
||||
|
||||
systemd_dounit misc/*.service
|
||||
|
||||
newinitd "${FILESDIR}/rasdaemon.openrc-r2" rasdaemon
|
||||
newinitd "${FILESDIR}/ras-mc-ctl.openrc-r1" ras-mc-ctl
|
||||
newconfd "${FILESDIR}"/rasdaemon.confd rasdaemon
|
||||
}
|
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
--- duplicity-0.8.22/setup.py 2022-03-19 15:08:36.755624771 -0400
|
||||
+++ duplicity-0.8.22/setup.py 2022-03-19 15:09:38.332763172 -0400
|
||||
@@ -94,17 +94,6 @@
|
||||
u'bin/rdiffdir.1'
|
||||
]
|
||||
),
|
||||
- (u'share/doc/duplicity-%s' % Version,
|
||||
- [
|
||||
- u'CHANGELOG.md',
|
||||
- u'CONTRIBUTING.md',
|
||||
- u'COPYING',
|
||||
- u'README.md',
|
||||
- u'README-LOG.md',
|
||||
- u'README-REPO.md',
|
||||
- u'README-TESTING.md',
|
||||
- ],
|
||||
- ),
|
||||
]
|
||||
|
||||
if not os.environ.get(u'READTHEDOCS') == u'True':
|
Binary file not shown.
@ -1,11 +0,0 @@
|
||||
--- a/Make.rules
|
||||
+++ b/Make.rules
|
||||
@@ -71,7 +71,7 @@
|
||||
%.hash: %.efi hash-to-efi-sig-list
|
||||
./hash-to-efi-sig-list $< $@
|
||||
|
||||
-%-blacklist.esl: %.crt cert-to-efi-hash-list
|
||||
+%-blacklist.esl: %.crt cert-to-efi-sig-list
|
||||
./cert-to-efi-sig-list $< $@
|
||||
|
||||
%-hash-blacklist.esl: %.crt cert-to-efi-hash-list
|
@ -1,25 +0,0 @@
|
||||
From 81503d7a43b99c036758d05c1794502c09189fa4 Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Maier <tamiko@43-1.org>
|
||||
Date: Tue, 5 Oct 2021 22:27:52 -0500
|
||||
Subject: [PATCH] Do not use ar directly
|
||||
|
||||
---
|
||||
Make.rules | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Make.rules b/Make.rules
|
||||
index e46d407..767070d 100644
|
||||
--- a/Make.rules
|
||||
+++ b/Make.rules
|
||||
@@ -129,7 +129,7 @@ getvar = $(shell if [ "$(1)" = "PK" -o "$(1)" = "KEK" ]; then echo $(1); else ec
|
||||
# sbsign --key KEK.key --cert KEK.crt --output $@ $<
|
||||
|
||||
%.a:
|
||||
- ar rcv $@ $^
|
||||
+ $(AR) rcv $@ $^
|
||||
|
||||
doc/%.1: doc/%.1.in %
|
||||
$(HELP2MAN) --no-info -i $< -o $@ ./$*
|
||||
--
|
||||
2.32.0
|
||||
|
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
AUX elvis-2.2.0-glibc-2.10.patch 1526 BLAKE2B 4c49a42ade8a5bfb4140362d7237fa1e21bf231cc1ebfc038b24181ed5e6f522463ca1111835f90e82e1975484be1637e299257a04f36f16585e0498133d6282 SHA512 2658fc5a6758a0ecab2320a01fcb708d595e304e94609f642e324d6d77a58a13e20560041fdb890f0f91443c5a3c53ccd1eb8f6a7bc47c70f8e910da107b071c
|
||||
AUX elvis-2.2.0-interix.patch 297 BLAKE2B be5b6d3ab880254f2fc271b85289ec64f3dc907936a71fc122b5ec37d7377c3d169af3c26b488c2e4bbdaf4562f3237a8850a867c3e67f568cedcc8d1cb604c6 SHA512 7215150c74b96ea441898435c02f342c0fac2e579363be5a95684a49b84e020275b6e9124b8fd449559e1e3217f96901c2887214ee61a4ca8484598a7cd42442
|
||||
AUX ft2.3-symbol-collision-fix.patch 2396 BLAKE2B a890da27b23700d2f6def41ab0a567ab3af899c291d0a06fdba4c567a5169da01ba61a3e4490faaf91a3a74b3bf91750f1426aeecc02452eb1355093e14d973f SHA512 14a2880f9984615f9876973e5eaea54846547d2871b8c2f1417c968e5e92c01612c954d39026671cb29656c4d6fd93d65f1bd6fc6325471346e1f56e3e1b97a3
|
||||
DIST elvis-2.2_0.tar.gz 1439293 BLAKE2B c061370a3a9a9d24bcdba65f1d16b5b8d7dd6a5a9e777949c80862f8e9ce879dac6685f625c0fd86cae26efbbf58277d9626be2f4e513d1b1bed131cc60eb95d SHA512 847cc9ac0af170798abd4725f7dc2ec74d4931fb761b58836d4016d36da5657176bd8cdcdae02bc08438b18e8ce2433eb3340ec2503630fd2992e83ba06adf42
|
||||
EBUILD elvis-2.2.0-r8.ebuild 2501 BLAKE2B fb3ec68d80771add1fcbec5a80b45a13dd5519f3b8a337aad468884787ffe90418c790c22801960c8c48900df724a2be578f036355b9bb47f075970e127ce818 SHA512 bac51155f85c1588874acf4892a4d457e12d66dc7cb56936fa4c853b338be8b520677b2e8c6be7956d87e73c919c74f82968980374402741632180b4815704c6
|
||||
MISC metadata.xml 246 BLAKE2B 410fd0eb2d2b412bb4ca13905fea3351e818dbeed07d7063df2ebfe9000dd45ba7ac827a33c8961913ac567db7caa61646229e43b527edbd704795cc09ba3c94 SHA512 2c66e46cc1cc61356d6784064205b832cd2854c3dbfb6dc79ba55b968d1886e2063a7bdb4b2541651e4f289c09bd344cd4eb7d48b2bda67c955b09f142b63c55
|
@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit versionator toolchain-funcs
|
||||
|
||||
MY_PV=$(replace_version_separator 2 '_')
|
||||
|
||||
DESCRIPTION="A vi/ex clone"
|
||||
HOMEPAGE="http://elvis.the-little-red-haired-girl.org"
|
||||
SRC_URI="ftp://ftp.cs.pdx.edu/pub/elvis/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 ~riscv x86 ~ppc-macos ~sparc-solaris"
|
||||
IUSE="X doc"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/ncurses:0=
|
||||
app-eselect/eselect-vi
|
||||
X? (
|
||||
>=x11-libs/libX11-1.0.0
|
||||
>=x11-libs/libXt-1.0.0
|
||||
>=x11-libs/libXpm-3.5.4.2
|
||||
>=x11-libs/libXft-2.1.8.2
|
||||
)"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
X? ( x11-base/xorg-proto )
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/ft2.3-symbol-collision-fix.patch
|
||||
"${FILESDIR}"/${P}-glibc-2.10.patch
|
||||
"${FILESDIR}"/${P}-interix.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
export CC="$(tc-getCC)"
|
||||
./configure \
|
||||
--libs="$($(tc-getPKG_CONFIG) --libs ncurses)" \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--bindir="${EPREFIX}"/usr/bin \
|
||||
--datadir="${EPREFIX}"/usr/share/elvis \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
$(use_with X x) \
|
||||
|| die
|
||||
|
||||
# Some Makefile fixups (must happen after configure)
|
||||
# Use our CFLAGS
|
||||
sed -e "s#^CFLAGS=\(.*\)#CFLAGS=\1 ${CFLAGS}#g;" -i Makefile || \
|
||||
die "sed 1 failed"
|
||||
|
||||
# We'll install the man-pages ourselves
|
||||
sed -i -e '/^ sh instman.sh/d' Makefile || die "sed 2 failed"
|
||||
|
||||
# Don't try to write to /etc
|
||||
sed -i -e 's,/etc/elvis,${ED}/etc/elvis,g' Makefile || die "sed 3 failed"
|
||||
|
||||
# Use LDFLAGS
|
||||
sed -i -e "s#\$(CC) \$(CFLAGS)#\$(CC) \$(CFLAGS) ${LDFLAGS}#" Makefile || \
|
||||
die "sed 4 failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
dodir /usr/share/man/man1
|
||||
dodir /usr/share/elvis
|
||||
dodir /usr/share/doc/${PF}
|
||||
dodir /etc
|
||||
|
||||
local docdir="${ED}/usr/share/doc/${PF}"
|
||||
if ! use doc; then
|
||||
docdir="${T}/doc-discard"
|
||||
fi
|
||||
|
||||
emake install \
|
||||
PREFIX="${ED}"/usr \
|
||||
BINDIR="${ED}"/usr/bin \
|
||||
DATADIR="${ED}"/usr/share/elvis \
|
||||
DOCDIR="${docdir}"
|
||||
|
||||
# Install the man-pages
|
||||
mv doc/elvis.man doc/elvis.1 || die
|
||||
mv doc/elvtags.man doc/elvtags.1 || die
|
||||
mv doc/ref.man doc/ref.1 || die
|
||||
doman doc/*.1
|
||||
|
||||
# Fixup some READMEs
|
||||
sed -i -e "s,${ED},,g" "${ED}"/etc/elvis/README \
|
||||
|| die 'sed /etc/elvis/README failed'
|
||||
sed -i -e "s,${ED},,g" "${ED}"/usr/share/elvis/README \
|
||||
|| die 'sed /usr/share/elvis/README failed'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Setting /usr/bin/vi symlink"
|
||||
eselect vi set "${PN}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
einfo "Updating /usr/bin/vi symlink"
|
||||
eselect vi update
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
diff -ur elvis-2.2_0.orig/ref.c elvis-2.2_0/ref.c
|
||||
--- elvis-2.2_0.orig/ref.c 2003-10-21 05:32:25.000000000 +0300
|
||||
+++ elvis-2.2_0/ref.c 2009-08-05 21:28:30.000000000 +0300
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#if USE_PROTOTYPES
|
||||
static void usage(char *argv0);
|
||||
-static char *getline(FILE *fp);
|
||||
+static char *get_line(FILE *fp);
|
||||
static void store(char *line, char **list);
|
||||
static LINECLS classify(char *line, LINECLS prev);
|
||||
static void lookup(TAG *tag);
|
||||
@@ -171,7 +171,7 @@
|
||||
/* This function reads a single line, and replaces the terminating newline with
|
||||
* a '\0' byte. The string will be in a static buffer. Returns NULL at EOF.
|
||||
*/
|
||||
-static char *getline(fp)
|
||||
+static char *get_line(fp)
|
||||
FILE *fp;
|
||||
{
|
||||
int ch;
|
||||
@@ -348,7 +348,7 @@
|
||||
}
|
||||
|
||||
/* for each line... */
|
||||
- for (lnum = 1, lc = LC_COMPLETE; (line = getline(fp)) != NULL; lnum++)
|
||||
+ for (lnum = 1, lc = LC_COMPLETE; (line = get_line(fp)) != NULL; lnum++)
|
||||
{
|
||||
/* is this the tag definition? */
|
||||
if (taglnum > 0 ? taglnum == lnum : !strncmp(tagline, line, len))
|
||||
@@ -377,7 +377,7 @@
|
||||
{
|
||||
if (strchr(line, '(') != NULL)
|
||||
{
|
||||
- while ((line = getline(fp)) != NULL
|
||||
+ while ((line = get_line(fp)) != NULL
|
||||
&& *line
|
||||
&& ((*line != '#' && *line != '{')
|
||||
|| line[strlen(line) - 1] == '\\'))
|
||||
@@ -387,7 +387,7 @@
|
||||
}
|
||||
else if ((lc = classify(line, lc)) == LC_PARTIAL)
|
||||
{
|
||||
- while ((line = getline(fp)) != NULL
|
||||
+ while ((line = get_line(fp)) != NULL
|
||||
&& (lc = classify(line, lc)) == LC_PARTIAL)
|
||||
{
|
||||
puts(line);
|
@ -1,11 +0,0 @@
|
||||
diff -ru -x '*.Po' -x '*.Plo' elvis-2.2_0.orig/osunix/osblock.c elvis-2.2_0/osunix/osblock.c
|
||||
--- elvis-2.2_0.orig/osunix/osblock.c 2008-04-03 12:00:26 +0200
|
||||
+++ elvis-2.2_0/osunix/osblock.c 2008-04-03 12:01:53 +0200
|
||||
@@ -293,5 +293,7 @@
|
||||
return;
|
||||
#endif
|
||||
|
||||
+#ifndef __INTERIX
|
||||
sync();
|
||||
+#endif
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
diff -ur elvis-2.2_0-orig/guix11/tags elvis-2.2_0/guix11/tags
|
||||
--- elvis-2.2_0-orig/guix11/tags 2003-10-20 19:32:26.000000000 -0700
|
||||
+++ elvis-2.2_0/guix11/tags 2007-08-17 12:56:28.000000000 -0700
|
||||
@@ -31,7 +31,7 @@
|
||||
DEFAULT_TOOLFG guix11.c 40;" d ln:40 file:
|
||||
DEFAULT_XENCODING guix11.c 48;" d ln:48 file:
|
||||
FT_DEFAULT xdialog.h 10;" ln:10 enum:X_FIELDTYPE
|
||||
-FT_FILE xdialog.h 10;" ln:10 enum:X_FIELDTYPE
|
||||
+FT_FILEC xdialog.h 10;" ln:10 enum:X_FIELDTYPE
|
||||
FT_LOCKED xdialog.h 10;" ln:10 enum:X_FIELDTYPE
|
||||
FT_NUMBER xdialog.h 10;" ln:10 enum:X_FIELDTYPE
|
||||
FT_ONEOF xdialog.h 10;" ln:10 enum:X_FIELDTYPE
|
||||
diff -ur elvis-2.2_0-orig/guix11/xdialog.c elvis-2.2_0/guix11/xdialog.c
|
||||
--- elvis-2.2_0-orig/guix11/xdialog.c 2003-10-20 19:32:26.000000000 -0700
|
||||
+++ elvis-2.2_0/guix11/xdialog.c 2007-08-17 12:56:28.000000000 -0700
|
||||
@@ -387,7 +387,7 @@
|
||||
case 'o': ft = FT_ONEOF, limit = scan; break;
|
||||
case 'n': ft = FT_NUMBER, limit = scan; break;
|
||||
case 's': ft = FT_STRING; break;
|
||||
- case 'f': ft = FT_FILE; break;
|
||||
+ case 'f': ft = FT_FILEC; break;
|
||||
case 'l': ft = FT_LOCKED; break;
|
||||
}
|
||||
|
||||
@@ -556,7 +556,7 @@
|
||||
break;
|
||||
|
||||
case FT_STRING:
|
||||
- case FT_FILE:
|
||||
+ case FT_FILEC:
|
||||
button = addbutton(dia, "<", 'l', ELVCTRL('L'));
|
||||
button->y = dia->y0 + dia->rowh * i;
|
||||
button->x = dia->x0 + 3;
|
||||
@@ -1111,7 +1111,7 @@
|
||||
newvalue = keystring(dia, key);
|
||||
break;
|
||||
|
||||
- case FT_FILE:
|
||||
+ case FT_FILEC:
|
||||
#ifdef FEATURE_COMPLETE
|
||||
if (key == '\t')
|
||||
{
|
||||
@@ -1179,7 +1179,7 @@
|
||||
switch (dia->field[row].ft)
|
||||
{
|
||||
case FT_STRING:
|
||||
- case FT_FILE:
|
||||
+ case FT_FILEC:
|
||||
case FT_NUMBER:
|
||||
case FT_LOCKED:
|
||||
drawtext(dia, row);
|
||||
@@ -1207,7 +1207,7 @@
|
||||
break;
|
||||
|
||||
case FT_STRING:
|
||||
- case FT_FILE:
|
||||
+ case FT_FILEC:
|
||||
if (button->shape == 'l')
|
||||
if (row == dia->current
|
||||
? dia->shift > 0
|
||||
diff -ur elvis-2.2_0-orig/guix11/xdialog.h elvis-2.2_0/guix11/xdialog.h
|
||||
--- elvis-2.2_0-orig/guix11/xdialog.h 2003-10-20 19:32:26.000000000 -0700
|
||||
+++ elvis-2.2_0/guix11/xdialog.h 2007-08-17 12:56:28.000000000 -0700
|
||||
@@ -5,7 +5,7 @@
|
||||
FT_ONEOF, /* one of a preset list; includes boolean */
|
||||
FT_NUMBER, /* numeric field */
|
||||
FT_STRING, /* string field */
|
||||
- FT_FILE, /* string field where <Tab> does filename completion */
|
||||
+ FT_FILEC, /* string field where <Tab> does filename completion */
|
||||
FT_LOCKED /* non-editable field */
|
||||
} X_FIELDTYPE;
|
||||
typedef struct
|
||||
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>vim@gentoo.org</email>
|
||||
<name>Gentoo Vim Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
H=fbb4a4664e2cc2b5d21eee62735f73b7f0272e60
|
||||
NEED_EMACS=25.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Emacs modes for Racket: edit, REPL, check-syntax, debug, profile, and more"
|
||||
HOMEPAGE="https://github.com/greghendershott/racket-mode/"
|
||||
SRC_URI="https://github.com/greghendershott/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${H}
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-scheme/racket:=[-minimal]"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-rkt-source-dir.patch )
|
||||
|
||||
DOCS=( CONTRIBUTING.md README.md THANKS.md )
|
||||
|
||||
ELISP_TEXINFO="doc/racket-mode.texi"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
elisp_src_prepare
|
||||
|
||||
sed "s|@SITEETC@|${SITEETC}/${PN}|" -i racket-util.el || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
|
||||
# Equivalent to compiling from Emacs with "racket-mode-start-faster",
|
||||
# because this is installed globally we have to compile it now.
|
||||
ebegin "Compiling Racket source files"
|
||||
find "${S}"/racket -type f -name "*.rkt" -exec raco make -v {} +
|
||||
eend $? "failed to compile Racket source files" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Set "PLTUSERHOME" to a safe temp directory to prevent writing to ~.
|
||||
PLTUSERHOME="${T}"/racket-mode/test-racket emake test-racket
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
# Install Racket files
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins -r racket
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX 50stripes-gentoo.el 187 BLAKE2B d133b53ab49da5d9cc86f421731558da405c2f23afe66a3cc651f71fea3fb9cf39ab5af8978419277a6d80338bf3059b9eb1c9f3ea067bef3eb8eb74bdace12c SHA512 8331db93be4f3276d2a075808742b8d8ee74f17258e25028478aa3820167fa14b9b08083f0fc7c41fe77df1860ad0b31fbcb8c9479e0775504f6325eede8e936
|
||||
DIST stripes-0.2.tar.gz 2203 BLAKE2B 4daec93d681bd2cb7187b427c13b27990e03bdb34b6131cda3b8d88bd48cdece57d53dd9f124c0f65e2869045e69ca8c98e39cc03b3a6c75f5b1ca359a12582f SHA512 c0e0d7c16f6d593221573268e8ec30f30374a6c4ad6e34458139de90f5cde12cdb02b81e91f40176ea10a9e411921bdeb324eb0bc6aa5f2874602bf38bdf9521
|
||||
DIST stripes-el-0.3.1.1.tar.bz2 1867 BLAKE2B ebaf7d9fb8769764222e755f54061ac3d8d75bb679a72c823d714af233e4d123f93a584e00119ce78676aec473e6a2fe432a91b6d219d39c9a6b20003959347f SHA512 87fca70165bb4f76470b4bd707d3e3aea7a265e9742ae0b53175a18d128d74ffa2e9a15417549f9ead0cc0ae7b1d9a4e8c4eb88d64a7deb49dc1eb8932010a51
|
||||
EBUILD stripes-0.2-r2.ebuild 380 BLAKE2B 83ae1ef42f474291e5fb6d8939d9e74cc18d4332a11bf5b933c62ef6f3f27e67558f8074255c3e675f624b795ae95dd8e951e0bb684d0ba76e8d6cb4f0cc8e66 SHA512 fcd6878279d77183c5aae693fbb497a38cd7b4c73e91fe79e7441a138c1a633aa5628a6956199f43eed9a03b3d784f7ece3bc5871d5bb269757e04aaa6984597
|
||||
EBUILD stripes-0.3.1.1.ebuild 523 BLAKE2B 61eb6cb46250e0e7e26a4b063c5f2723de225126a71b5ee8e3b93aeca78988276f0c51d6b2e7cb3a9dd9fbe4a43b51bd1c26b9e7e81fd597cb5459ab61d706a3 SHA512 ddf5e387611b9da3cee36b544df493851aa79d7854434e306c3207ba0567644f1d375232fe5fe4146e1815f855cbc30e58b012d8124269a0d33a46aa7f9773ae
|
||||
MISC metadata.xml 491 BLAKE2B 6204fdc566d245da500252b6b97dd864a07da8cc44a93366e94775080cdb7db2bf40d467547bc644aa0fa5c44aeeab7cfa4570ab2cce04a33a446752f19042fc SHA512 164c57b5cf647511ff1847e8bae8116b2b0a5a89a34fcd08b0dd4400a5e14c6c56fb3a80bb0bf5b1154943013e95476288a5a5cae27dc752cb67568d08caedc4
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=24.3
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="An Emacs mode that alternates the background color of lines"
|
||||
HOMEPAGE="https://www.emacswiki.org/emacs/StripesMode
|
||||
https://gitlab.com/stepnem/stripes-el/"
|
||||
SRC_URI="https://gitlab.com/stepnem/${PN}-el/-/archive/${PV}/${PN}-el-${PV}.tar.bz2"
|
||||
S="${WORKDIR}"/${PN}-el-${PV}
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~x86"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
Binary file not shown.
@ -1,12 +0,0 @@
|
||||
diff -Naur free42-nologo-2.5.3.orig/gtk/build-intel-lib.sh free42-nologo-2.5.3/gtk/build-intel-lib.sh
|
||||
--- free42-nologo-2.5.3.orig/gtk/build-intel-lib.sh 2019-09-01 17:44:47.000000000 +0200
|
||||
+++ free42-nologo-2.5.3/gtk/build-intel-lib.sh 2019-09-03 23:58:30.604579443 +0200
|
||||
@@ -65,7 +65,7 @@
|
||||
esac
|
||||
|
||||
cd LIBRARY
|
||||
-$MK $OS_ARG CC=$CC CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 $ENDIAN_ARG
|
||||
+$MK $OS_ARG A=a CC=$CC CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 $ENDIAN_ARG
|
||||
mv libbid.a ../../gcc111libbid.a
|
||||
cd ../..
|
||||
( echo '#ifdef FREE42_FPTEST'; echo 'const char *readtest_lines[] = {'; tr -d '\r' < IntelRDFPMathLib20U1/TESTS/readtest.in | sed 's/^\(.*\)$/"\1",/'; echo '0 };'; echo '#endif' ) > readtest_lines.cc
|
Binary file not shown.
@ -1,9 +1,7 @@
|
||||
DIST tmuxp-1.15.0.tar.gz 842727 BLAKE2B 7e0e68ae848fdefab46a936511f57a9927b28a220e1dadb8b2531cd26a2cb6cbb7f1fd3a3a279f624a3ac8cebfeb434582cf48803d3c8bbf14b1c6960b5f2ef7 SHA512 4c9c72ddeea283ee4d0595d099dfdc178b3fdd96691ae1b02e9867096f770b4339e1f60abea985a05b974d3d620addd8b571c05db7d2914e8736322e5cf19fb6
|
||||
DIST tmuxp-1.18.2.tar.gz 853145 BLAKE2B 4fc3e825474bccce9f78072e1c3545b7c8eeb40e0d23265901062a00f7434506a84db0414637d18c57e84f4e3b37978c890e01a786d6f1edda87af806c2b298d SHA512 c599dac5b54627342424b2ef7721f47c57c2d271698b007ffb7de972a3a7683c0bd7ea76d2a7e4c168e8a412a03171dd5f53422a3e2d858f7dfc746fa7946be8
|
||||
DIST tmuxp-1.19.1.tar.gz 853713 BLAKE2B c6d06c6d8488ffef2afa700c25aab3765371c682e77c938040773eaad471a87799a6feeb07e92a6fc41ecec72abd9f82bdc09ff540eb4dfbb90e2356e449d9fc SHA512 da76efbc64f51a09092dda93299e72696c1b74cf49d60d25de02550215a2cbfe227bc4ed84b45371d401a8f2cefb68d94947dadb8280445687cafb0abfdccdd2
|
||||
DIST tmuxp-1.24.0.tar.gz 856446 BLAKE2B 79eba246d6d4dd30afc8c2e39ec40193415a63df6bf3617aafab9ca24d3e09dd9908533088c1bcd8a2de5ffe2e78d3f5f27259ab848658c17479db28ebe35144 SHA512 d7372a2304a67bbb18530590eb2f5785ebfe60250562fd2e40a4ce5f4162866b67c98721a2effea540852ebc09d6e552f6e493424e566de78c2d87b3f7552f7f
|
||||
DIST tmuxp-1.24.1.tar.gz 856989 BLAKE2B c809ecc13f29384a43097e10fe7cad15381f50e8962050e7cd8af46e69f422ecb0d4e714555779a85cb72a4be879ef21fdecc207f6321286664a1f81024a1574 SHA512 153505b2e4c2a357c8d73ef6dbd592225a77e32d42165ff1ff80a74b9f52b77cf2d3abe59e9065c3414ce40a32a8a22b63395c9ae958ed14e73a3c03ce1382fb
|
||||
DIST tmuxp-1.25.0.tar.gz 857012 BLAKE2B d472e0bc34b12f6aac87a0f608ec1e78f52bb54c9e068c5fec53fb8a9a0f70041831dc62a070b4d0f81788f8bd4a0d1f1cb3e45a2d744aa010bf3ecd988e2f6c SHA512 a18dfe4a1df22fc76fb70c7ff06bda6d55a3ffafb21eb26a5ff6fb131452d5a4e2677ca1c3f58c9c6b237b6a9791a3c904f6535a2fcd7dbc1dde28da8959a3fa
|
||||
EBUILD tmuxp-1.15.0.ebuild 919 BLAKE2B 3e3b9703c4907aef498f5981eb906d0bf0e4a52ae6a8ff0050babb84e22afbb6e60bedb8cf89b2a3ec1813ba215d11c87546aa4a08e7215eaf4d75e0ac930e2c SHA512 152e1ca7405ab953223881a77529e6d811b0a4442da9b0fa73d7ebf0fcb6c096048c173a6feeb672b4be3f453587e5337f3c086ed191fa213d4b29066976273b
|
||||
EBUILD tmuxp-1.18.2.ebuild 928 BLAKE2B 4988926342091828cd81ea9a9a4f2b09a12362ec3edf2a83038e6f7fbbec9f7c9da9a759d03377a524613e350f5c5e6d452cb15ada2c7c41e91509115f1b49fc SHA512 6ea3027ed76d8a6c38922aeb5233bbad573614753fbb2a8728f66eb08d8f0c2665ac5b1922b0c96d05f53c836de35daf9485036d63f9835b9cc36bf24aab2055
|
||||
EBUILD tmuxp-1.19.1.ebuild 881 BLAKE2B a06bc6ddbb130e54515d6ed794721f0a3143a3f88b5028cb2b302caf9656ffb497756755f8cd7a401a4fec8eb200212241ff0d61da6a2cf268b51410866db187 SHA512 cbe40d6ce8ea962afd88de5f098239aa08d52e01ca57a040af2870a06d61934fc229812b83e152f53365e3867e6e4d6218da9bfaf462b47cf01f8c2541fd0b41
|
||||
EBUILD tmuxp-1.24.0.ebuild 881 BLAKE2B 902580be023d4107afeb45a8157d0f0d046300451bf654c3392b1fee99b247c409c609497ba9e754a59e35cb1f96b64d6991fd250eba1243ff12a0cdd7eb1a9f SHA512 90b7d5d85eb88bae415107db507b21ee9b7ec64ec574a62d63aa62b9f04a5af38abe4c1e76ef61af8eb95c9d8e5dd9612ed1496137d35e3ccd1653c5d30e7313
|
||||
EBUILD tmuxp-1.24.1.ebuild 883 BLAKE2B dd7f83851becbfd71a4d13db2080095c9e6ca20026df5747b3ffec9ef8bb6124e5259d8342e1ed49bdb5787550caab00edcd5df993ad5be27858c006e71feda0 SHA512 bca8d8b55ba6483a07fa73ddca2096610de9eb4cd634e44361ca2f15783a8cddd3d5d3204c5eb72ecb92d910e0662cb6d3c711e7e027feb53b872ad1ca86b281
|
||||
EBUILD tmuxp-1.25.0.ebuild 883 BLAKE2B 000658cf7b5c0ec645cf8e7954c5d42d3d3282e77aca74e267ecf3f914bf4586955a34d8473f86c997bd56697a1a26861ed5787e939f6c98babee72a661569a0 SHA512 9aa7a75c06c5f13ae7e65516b760f927045e948f66d119d78017889fea13241d2add5f083f4674045644387e3fcb36fac737a2a979194b37b02b9c338a529ab8
|
||||
MISC metadata.xml 256 BLAKE2B e4fb7b4732dc88ff20c10bd7e5425beca8310c14d3934046ad6fcd99d8f401ea8610a6df5444d094f5bae4e5120cb7aedc15b45f0862b73f83bd7d5e54617337 SHA512 d37651285ce883fc1c73b41e09e66788d47b2451a4f96ac4237e6bef59643b3171a7a24900f204f0ca1accdbd5961d74e4bd7c8c41e1d29492874e4cbc737611
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="tmux session manager. built on libtmux"
|
||||
HOMEPAGE="https://tmuxp.git-pull.com"
|
||||
SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/tmux-3.0a
|
||||
=dev-python/libtmux-0.15*[${PYTHON_USEDEP}]
|
||||
>=dev-python/libtmux-0.15.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
|
||||
!dev-python/flaky
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
SHELL="/bin/bash" epytest tests
|
||||
}
|
Binary file not shown.
@ -1,7 +1,9 @@
|
||||
DIST mgorny-dev-scripts-31.tar.gz 11903 BLAKE2B bbe7dc4ab1978485d9c954e5ac0752e3babb3162a20b3c582d92a14cfd20d82f3710f65d34bd15a3b101547f587cf3c8859b066be555ac5b3d55c10ee7f68568 SHA512 a164bb1b75911a4575813720c2dd10b81ca806dafa6eebf71f2f609eee24cd4bbc645eb3f1c8d40eb6031d25b5ea6575fa761f53b5f03d52e0438d6dfd2dc173
|
||||
DIST mgorny-dev-scripts-32.tar.gz 11933 BLAKE2B b10333bfc4afe5ecb8faa1ccadb74c476911056ba8d0f7b0113d8ee5453252a20958bc1a08cee42cf48a1f343f64c1ecb80b157efa6f253cdecf16750759f78f SHA512 1043b12f788130e10eae651f80869b9ba4603bb28c7c7bae3fcb790ecb55b36b2d8b8b5597f7bf34053f5a99fc70590fd029a5f65ccc0bd2ba5ae2a93e5f2199
|
||||
DIST mgorny-dev-scripts-33.tar.gz 11943 BLAKE2B 8455d90db5ad1358941e4ccdba1b2f7ea8cc766d0789b3ab598e5b4c3d406b0b66c6d24aaa1a33019560b6103bd648aedcce02dad7deb6df4ac789e4937fe7cf SHA512 b4c17cb1c2eeba86a74fbe011e9ad7b06304a7386960032add1b9c1d7e8200b258a8b2239e0450da7c61ce4c8d1a025206b54fc4050cfa8e343590a1d35e3139
|
||||
DIST mgorny-dev-scripts-34.tar.gz 11957 BLAKE2B d277bbfdddd81b5b0c27d1c318c9dc33393f91ac86b0c6768124e72ad688586f099c6e4c965eb29d027e26d931ac9a4e15ee3d1e17d9e736d61e543c3fab7c38 SHA512 f9651ae5c3707dc8794d300b2c049cbaf286d48f50c25a8ad4570623b8b8271925cec08d97babe3eb8331dc658ed49b77f0e8d0a4de0215b3bdff732d2cf8a60
|
||||
EBUILD mgorny-dev-scripts-31.ebuild 695 BLAKE2B a743b633c5732c86e68e91b2cb70462379021d834abe8818fbe40a90200efb624de722cdebfa64a5e187f70c83eacb21194c67bb16f938f89f033ccc0e7b0e33 SHA512 f52d547ca624087dd58db3871e02897e7187baf26bb6e455810ac01436a9b961201adad9d898730816933386960f5ed5a12d0fcaeed84c8bbf0180d67a355943
|
||||
EBUILD mgorny-dev-scripts-32.ebuild 699 BLAKE2B 23aaccbdcff9f10ea8128c0c34d51abc98f22243ac00d096343427427325bba639de36b2577293bb0db13b771b6e05bc13c1afec7a8f95ea3cbb20f8720ddc46 SHA512 06a4e281a292eafab7c2bd7755bb51e3c20e0929110ad76688d19b3e44e8d3fd10f2c9cd298c51ee3f665bc64a0b317f9b82a85ce7d4a598295806cd253a8ef4
|
||||
EBUILD mgorny-dev-scripts-33.ebuild 699 BLAKE2B 23aaccbdcff9f10ea8128c0c34d51abc98f22243ac00d096343427427325bba639de36b2577293bb0db13b771b6e05bc13c1afec7a8f95ea3cbb20f8720ddc46 SHA512 06a4e281a292eafab7c2bd7755bb51e3c20e0929110ad76688d19b3e44e8d3fd10f2c9cd298c51ee3f665bc64a0b317f9b82a85ce7d4a598295806cd253a8ef4
|
||||
EBUILD mgorny-dev-scripts-34.ebuild 699 BLAKE2B 23aaccbdcff9f10ea8128c0c34d51abc98f22243ac00d096343427427325bba639de36b2577293bb0db13b771b6e05bc13c1afec7a8f95ea3cbb20f8720ddc46 SHA512 06a4e281a292eafab7c2bd7755bb51e3c20e0929110ad76688d19b3e44e8d3fd10f2c9cd298c51ee3f665bc64a0b317f9b82a85ce7d4a598295806cd253a8ef4
|
||||
MISC metadata.xml 362 BLAKE2B 9f7873c2b1dea8abe84daabea4db33438b730c92487220d28af391e411f58b15f7eaa7aedffab8849a8d0cf4c032db04e48cbf9be28f0ee7602b6a05f0e430be SHA512 d7d44e67c952a00cda52b223975c1c48ca8283d55ccc084edbed956633e8f2a04ede1553f16a3b673485ce433b9067d35c1459f0ef392ddf6d4d03ab02d339a2
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Handy scripts for ebuild development and more"
|
||||
HOMEPAGE="https://github.com/projg2/mgorny-dev-scripts/"
|
||||
SRC_URI="
|
||||
https://github.com/projg2/mgorny-dev-scripts/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
app-portage/gentoolkit
|
||||
app-portage/portage-utils
|
||||
dev-perl/URI
|
||||
dev-util/pkgcheck
|
||||
dev-vcs/git
|
||||
net-misc/wget
|
||||
sys-apps/portage
|
||||
x11-misc/xdg-utils
|
||||
!dev-util/pkgdiff
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dodoc README.rst
|
||||
rm -f COPYING README.rst || die
|
||||
dobin *
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
DIST tatt-0.10.tar.gz 22675 BLAKE2B 4272cd0bf65a2181ba70d12fe8ca593403d7217aebf2f4dffd2f69397e686c79bc93ec70c756f1e94c548ed2acd8af7470c022611c16b5f3571af860aeca4b9c SHA512 1993f597e92b0b1f004e492aa164d7de6cf6776285850e5245f3328de0396c54cfc58943c767afe1fd1c49a771a1f33c65b6bed3c7d164223767567c05e12af1
|
||||
DIST tatt-0.9.tar.gz 22659 BLAKE2B c67da6d71bd46a7a1e73810f6f837cbe18b4fcfdf18da2401ab696e69d05c3ccbdeacaf152999dbf49d39c20e0e9e656e05c294a5eb7128015ee06d25bf95fcb SHA512 4f8d4f6d56ce1389caee8a67d1ae13967692fad90e1bc484ec9ffd9fa057e858c2fc4e6cefa496b33c7565b06e7f71e012a94653de4a501f3b25ec77d07cea92
|
||||
EBUILD tatt-0.10.ebuild 855 BLAKE2B 5d6c7501ac37cd024cf5d23772ab912b7257a90959f76fe11c995ce85cc82cf5664214a50f74b8e23a18e6ad68fdba672194149b450fcaf71ff6c61d47edea46 SHA512 1ea97079799f0ce857840f19d7dc4b425de823dc3a67848cb7722140d302007adf13767989eb6b6159df14e11234f779909aeefddaccb439292019b9a9ad78d5
|
||||
EBUILD tatt-0.10.ebuild 847 BLAKE2B 7fa91be1ed18978b9b85dd3062ed8ef90672abe6b394cab44b08a8cf19fdc7256ffa473732b272435f12b49c130badd6d8c308d8f0f3b0e888a1dd31702e80e0 SHA512 30325ef671d211082ede37b209bb3b48dcbb1d2868886a0323b1beb4de2923b8ec79efdf3cfef3edba8d52410b1099f024cb6454c33630007baea0adb1240779
|
||||
EBUILD tatt-0.9.ebuild 840 BLAKE2B ab4aceed18527ea071f8b31018f4745b58971d61e064ffb6a912bf2aaaf7688194c062c954072df4f6ef66ff341d362d91a08e26f121d5ca5c92b2e2c4ed3632 SHA512 7aaff41567232a94c28f3f3939240277fce63af689dc4aedc9ef8279dfc6f62fcd68fe5fc5739ce4a46a30da07bb6ca78c3d580531897d7ce1cd4da62d8d9c17
|
||||
EBUILD tatt-9999.ebuild 765 BLAKE2B a2b130fc4a64f54e299452252d104cbaaff2ddad913fee9bbbaefd020f37d5d7ccd8550b28e64b50dbdcf540ef8f06e8c8480da6c9432c0553487bb464d6e02d SHA512 71f5e9ac4c9190c65979e7d24f160a861dee3313e9fe03297eb9620bebc32dc349cd6204a7401dd77fa378617fd21dd851773f269ce862880acfcbd195512d25
|
||||
MISC metadata.xml 751 BLAKE2B 5b6715b02cbb774a14a382cde64c0b2bf0896311aa553a1f8f8563a4374343bdf996b2b93238e4be2a53d3d648216e380f57706856489da2ce44f88017f14e1b SHA512 6f3ec390dd310176c49f6d7d298bb6782307afaf5439ce54aa6fa560b3fdf9be5d50e6f8afe30eee220a6d9fd61e7ac030e7fa79e8e0068519cf3089f9c46332
|
||||
|
Binary file not shown.
@ -1,7 +1,9 @@
|
||||
AUX README.gentoo 732 BLAKE2B b869bd411bf505339adec5a6c35731bf26f8910bcf82919c15df7f8e2a8bc6ebf4baf6964ff27ce572e738c657696b1cd1446a18996a2270a620c3374f629f98 SHA512 20a0892d7e9c4aa7736bf5dbca485e848f817390325186bb2dd054ac56259679f0accf5b4c3b18c9cd398c43d1bb393b0423be26a4c15adfe070d6f06741f693
|
||||
DIST fish-3.4.0.tar.xz 3292216 BLAKE2B 3691e5387a8392d7d43b3b0f8b893e83e246c3532684e95a19c7b2eb4ebe80bcf04aaa1b965f5c4f6d782d0ae52269bb1cdafef76845b02f9f99d4c82ea77ce3 SHA512 463ee8d86815520c6de9777fd2b5975f06cc0842137c86cca7ae0331e95d74e755bf6f4b0bdea7e96c11371436ff9f97ce483ae026daa1e8d385f6cad8860ed4
|
||||
DIST fish-3.5.1.tar.xz 3329900 BLAKE2B 960ee4036dd44bda93300a377e44f5c3db19f2c24ee60112c3e8b886cc434e9bc08c65dd99ab13aefde6c7cb66e027f446064bc6b7f20f9a85b16753ea7b50c3 SHA512 328e3d972f9e7cffe161515540f00a97c5cbe11b43ec293090bedb96a6a8e689e07ceafecb3efcd0e378edea59811adb0acc011d5885ac28d98838387c678235
|
||||
DIST fish-3.6.0.tar.xz 2892296 BLAKE2B 8c27e091b8241d88bd5e8390a0c221aa6cfccd236ece78feb434760318cf7d4e333a470b53bef02c228916b65ff4e19595cbb21e2021409b50d63df5d133b786 SHA512 a11ea761adace02ef7f88b25893328005cef07f92d362fbc794540dca26e9cfc970878d0312caebd19d64483e9f3c3e24ad6c27dfce264d177f93d65c7ef6996
|
||||
EBUILD fish-3.4.0.ebuild 2347 BLAKE2B 7b53f400c6738fd17c431ea45c3f6dcdb1380d1fc354d16d3116e9123eb8a0210c477e5043eaee5f53dd1059f8a61071bc629054cad4198bf7684e6f08c33ccd SHA512 ce2e90072bc0b9fc5e043da6192e159f3f62f9436e86b5891764784d11e402533819417e72a39e798bcd99b44d2894b8f4f98e0fb1786e6f3de5c7de8f0bc263
|
||||
EBUILD fish-3.5.1.ebuild 2616 BLAKE2B 438d4c8b2a3ee69b0dbd67f8404d019638f8efb47f20ea418673028df4bda27fec56e7a41212e8bd0d667e155d36516a3e231bdecc9a6399650c844f52e95562 SHA512 faab54fbfb2e230e30abffba2656a795e8645917811945e97d4e970d50c13f31bae485c809e1187cbb91d7450721f4fe3133477259fa51900621a65cf071ad51
|
||||
EBUILD fish-9999.ebuild 2616 BLAKE2B 438d4c8b2a3ee69b0dbd67f8404d019638f8efb47f20ea418673028df4bda27fec56e7a41212e8bd0d667e155d36516a3e231bdecc9a6399650c844f52e95562 SHA512 faab54fbfb2e230e30abffba2656a795e8645917811945e97d4e970d50c13f31bae485c809e1187cbb91d7450721f4fe3133477259fa51900621a65cf071ad51
|
||||
EBUILD fish-3.6.0.ebuild 3170 BLAKE2B 420ea48dbf366d2ebf9dc4b7778d7b7664f2fdd7783acad983b05e89068a0632caa6b3b5e7906015638f71df757847df9fc91230b7741ebbf6410f69a9f250cc SHA512 14dcec5780a42b0dc5982d290d7efe54b104993ae3f28c7f50f52853beb013d46cc795ca556a80ffe019b284f1ea35d5268bca1c0a52e02eb3b9f6b5affea769
|
||||
EBUILD fish-9999.ebuild 3170 BLAKE2B 420ea48dbf366d2ebf9dc4b7778d7b7664f2fdd7783acad983b05e89068a0632caa6b3b5e7906015638f71df757847df9fc91230b7741ebbf6410f69a9f250cc SHA512 14dcec5780a42b0dc5982d290d7efe54b104993ae3f28c7f50f52853beb013d46cc795ca556a80ffe019b284f1ea35d5268bca1c0a52e02eb3b9f6b5affea769
|
||||
MISC metadata.xml 628 BLAKE2B 0449de5f2df4578d1b6ea0ca56276805afa3726b9120b96de0968db59a92bf933c6516f7d62afe7074d64fe1f5cb7c48fce09d0f15ccda67b5f45fd600cef490 SHA512 f30b029929df8548ad626b96d6426227c9bd421d8838836ca09304a44aa7045d7a06b4ca215c98dd6ab9554dbd594578c5d9b0baa1b8564c17cd69dd9a8d9203
|
||||
|
@ -0,0 +1,121 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit cmake python-any-r1 readme.gentoo-r1 xdg
|
||||
|
||||
DESCRIPTION="Friendly Interactive SHell"
|
||||
HOMEPAGE="https://fishshell.com/"
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/${PN}-shell/${PN}-shell.git"
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}-shell/${PN}-shell/releases/download/${MY_PV}/${MY_P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+doc nls split-usr test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libpcre2-10.32:=[pcre32]
|
||||
sys-apps/coreutils
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
nls? ( sys-devel/gettext )
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
dev-tcltk/expect
|
||||
$(python_gen_any_dep '
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
# we don't need shpinx dep for release tarballs
|
||||
[[ ${PV} == 9999 ]] && DEPEND+=" doc? ( dev-python/sphinx )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_check_deps() {
|
||||
use test || return 0
|
||||
python_has_version "dev-python/pexpect[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# workaround for https://github.com/fish-shell/fish-shell/issues/4883
|
||||
if use split-usr; then
|
||||
sed -i 's#${TEST_INSTALL_DIR}/${CMAKE_INSTALL_PREFIX}#${TEST_INSTALL_DIR}#' \
|
||||
cmake/Tests.cmake || die
|
||||
fi
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# installing into /bin breaks tests on merged usr systems.
|
||||
# sbin -> bin symlink confuses tests.
|
||||
# so on split-usr we install to /bin.
|
||||
# on merge-usr we set sbindir to bin.
|
||||
$(usex split-usr "-DCMAKE_INSTALL_BINDIR=${EPREFIX}/bin" \
|
||||
"-DCMAKE_INSTALL_SBINDIR=${EPREFIX}/usr/bin")
|
||||
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
|
||||
-DCURSES_NEED_NCURSES=ON
|
||||
-DINSTALL_DOCS="$(usex doc)"
|
||||
-DWITH_GETTEXT="$(usex nls)"
|
||||
)
|
||||
# release tarballs ship pre-built docs // -DHAVE_PREBUILT_DOCS=TRUE
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
mycmakeargs+=( -DBUILD_DOCS="$(usex doc)" )
|
||||
else
|
||||
mycmakeargs+=( -DBUILD_DOCS=OFF )
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
keepdir /usr/share/fish/vendor_{completions,conf,functions}.d
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# some tests are fragile, sanitize environment
|
||||
local -x COLUMNS=80
|
||||
local -x LINES=24
|
||||
|
||||
# very fragile, depends on terminal, size, tmux, screen and timing
|
||||
# no die is intentional, for repeated test runs
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
rm -v tests/pexpects/terminal.py || :
|
||||
fi
|
||||
|
||||
# zfs completion test will fail with "Permission denied the ZFS utilities must be run as root."
|
||||
mv "${S}"/share/completions/zfs.{fish,disabled} || die
|
||||
|
||||
# TODO: fix tests & submit upstream
|
||||
# tests are confused by usr/sbin -> bin symlink, no die is intentional for repeated test runs
|
||||
use split-usr || rm -v tests/checks/{redirect,type}.fish || :
|
||||
|
||||
cmake_build test
|
||||
|
||||
# now restore zfs completions
|
||||
mv "${S}"/share/completions/zfs.{disabled,fish} || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
xdg_pkg_postinst
|
||||
}
|
Binary file not shown.
@ -1,11 +1,5 @@
|
||||
AUX apvlv-0.1.5-cflags.patch 702 BLAKE2B f6679326fdf3263e5a304f11bb1b6d047fd5604288912c9099a18b9a990574e1031c92c751c147319aa8c0f9e066e8a239562483b56f77e29fecf649fe7f89d5 SHA512 de7842c8cb402f045240aa50bdf05a13c6e9a4bea099fc8c41f07329b330fbb98f6edc229f0bb78eec65b14ecfffe9240441387717024939c11b9a69cb65919f
|
||||
AUX apvlv-0.1.5-gcc6.patch 403 BLAKE2B d593c72ef63ddc22a76fe8b93ad12078b1739f359832dee54f3ff4f5fbf7fa4249457ac74921b8fd9734eafdae2088321703df0b3bf56a89a1c33b96a15908b8 SHA512 f838fe6c601765e7d03ba83575aa5ffa2562d90e257832109ebe879b29d67228784c920ff7c9716010f10d2c36f4e873bc2425fc337857c437c6a19e6bd5e5f5
|
||||
AUX apvlv-0.1.5-gcc7.patch 685 BLAKE2B 3ece21cc1bfb5bbf66d10fb67abb140a357c6953655ca1b02b37cbc3d09503b5382694fb20337b2a7e50fc0a7ab51657f1a3091060bf03e8666b2bdbd0b8a8dc SHA512 53102dfea587fd946bdd7300fdb60b8395d6b2436aef6fe67be539e4ac88063f9d7934282227316f456951aa1e0748db7db02ddda06e17056d32ea6b91588afb
|
||||
AUX apvlv-0.1.5-poppler-0.73.patch 282 BLAKE2B 8bd7926afd2ce2364b82e7f9c8348b2905e1c3cdd6ba3565b4191ec5b6cfa5565179cc58706286f793b5b02cba2dc6eff04076b2fa61eb0be1638681632eedd5 SHA512 b832ee8e8e7290d2294ac326e84271570f560a5e7afc29446401ad1c05f1b03998c054bf3cd7ec80813899e49c256f86c871b400ce8e5a663fa9ab22015990cb
|
||||
AUX apvlv-0.4.0-cmake-cxxflags.patch 378 BLAKE2B 44063fd090374654067c6f1b43d9d392fb0a6739ae1e44271796c97a39962e229b6ba597b29ec7a0e5b30501af3c62f5a7c0fcc3ed093985e4b253ed33a39efc SHA512 d52d7b7f4500c3094de521e8eee368d6b50dd858d78fa830067ea2fe7cb446f66850d57ab70e6f51281d7a86ac531c0ed89425480d1c5e371631f1fbcff23fd3
|
||||
AUX apvlv-0.4.0-icon.patch 258 BLAKE2B 440dfe9904c4ac79408c90c5930e7b6ffc26fdd084ac4320fd945679f69c5333ffc4120991658d045d1e4525421f973d7dce020814b641397b54a0706f510475 SHA512 039204036fdf6b8a26451ca7d4b5d7d2e6b28bac8df5d97876a3b3dcb1e5b24e1f030864cac41b7a4776ea7999dffa9053bdd0632baf2d43054474c28e9a9b3d
|
||||
DIST apvlv-0.1.5.tar.gz 4254177 BLAKE2B 53bb949838353e7e8387219d086b8c7efef78d4bff15196c68e3d0fe6c298be8a771ecce4e156254f1d072d1715794caff640ebe795f8da73e09d6a4fe4addc9 SHA512 680b2d6e272cda34b0b9065f5fdf7b917a4e3ed4d54a6e78cb41a60cf43374c687b506d4148d6cecf87912957fbe6bc4c77e9278616fd236e49ade15774e1ccd
|
||||
DIST apvlv-0.4.0.tar.gz 4361302 BLAKE2B 99d61df285ff3b910ace50bc4b1b62601fe7ca9037f835262a8eac179ddcccff5f772121b223e38050243d4bc2da9532e17d9b38fbceb786971d77fea006f91d SHA512 a25033e52acf34b486101953ffaa5de604e3321f9b4705e94fa157596ef560351c1712ed830b2a950f92c054b600a33f903be58f8a7d222c27e5125fedf4245b
|
||||
EBUILD apvlv-0.1.5-r2.ebuild 1074 BLAKE2B c372704ea0105086aec23cf4a5ca647440e1a9c3dd90fee4e94bc285e6b78475cf0c7f43edd3b91b4999fcc22f13cb6d978837d9ad2c9cbf3e7ae6b1327a9060 SHA512 7b78bf8e5805f95348e4ae1dd7a6c8027bfc147f2db31b78739b7f343557a918db53831891ed1d0b71430ba2a963f44483277913de5998c7829a70aa7d7e3c5a
|
||||
EBUILD apvlv-0.4.0-r1.ebuild 1125 BLAKE2B aec2471b52af93c8435d3e3949e85687ccc030f2af562a9eba78e488646eb25e0d743d72b0f3acadbd67298edb736b1c52c6da49d158d14b140cfdd5ba8f7439 SHA512 1a9edbe4ffecec6f68d6a574b14a5e09cfa694c5b5785debfbae4c60edd7408d7eaa03ee9bf2db7d7ac9fce9a3e89b1457fb78efb728d0c5b8fd4079079994c5
|
||||
MISC metadata.xml 543 BLAKE2B 6e61516bb251d76663ce79b5c55ba6b7ea8fc6c3b1f0bd9ba4524e7b61e9f79d271599395daaeafa90ff2a44ad6755bf1185aa29adc0462bf65d4bdc9129e502 SHA512 c8822ce8ddfec1223794ac415517f17e46b06eb19207a52457b5362076342364fb85cd1873c0b39642f65bc2640eb752fb793df1d26a66140dd8026f81b8ea90
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit xdg cmake desktop
|
||||
|
||||
DESCRIPTION="Alf's PDF Viewer Like Vim"
|
||||
HOMEPAGE="https://github.com/naihe2010/apvlv/"
|
||||
SRC_URI="https://github.com/naihe2010/apvlv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug djvu"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
>=app-text/poppler-0.18[cairo,xpdf-headers(+)]
|
||||
dev-libs/glib:2
|
||||
x11-libs/gtk+:3
|
||||
djvu? ( app-text/djvu:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
# preserve cflags
|
||||
"${FILESDIR}/${P}-cflags.patch"
|
||||
"${FILESDIR}/${P}-gcc6.patch"
|
||||
"${FILESDIR}/${P}-gcc7.patch"
|
||||
"${FILESDIR}/${P}-poppler-0.73.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DSYSCONFDIR=/etc/${PN}
|
||||
-DDOCDIR=/usr/share/${PN}
|
||||
-DMANDIR=/usr/share/man
|
||||
-DAPVLV_WITH_HTML=OFF
|
||||
-DAPVLV_WITH_UMD=OFF
|
||||
-DAPVLV_WITH_TXT=ON
|
||||
-DAPVLV_WITH_DJVU=$(usex djvu)
|
||||
-DAPVLV_ENABLE_DEBUG=$(usex debug)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
newicon -s 32 icons/pdf.png ${PN}.png
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index ae9ae09..5831e7a 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -1,13 +1,11 @@
|
||||
IF (WIN32)
|
||||
ADD_DEFINITIONS (-D_CRT_SECURE_NO_WARNINGS)
|
||||
ELSE (WIN32)
|
||||
- SET (CMAKE_CXX_FLAGS "-Wall -fno-strict-aliasing")
|
||||
+ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fno-strict-aliasing")
|
||||
|
||||
OPTION (APVLV_ENABLE_DEBUG "If build binary with debug infomations." OFF)
|
||||
IF (APVLV_ENABLE_DEBUG)
|
||||
- SET (CMAKE_CXX_FLAGS "-D_DEBUG -g ${CMAKE_CXX_FLAGS}")
|
||||
- ELSE (APVLV_ENABLE_DEBUG)
|
||||
- SET (CMAKE_CXX_FLAGS "-O2 ${CMAKE_CXX_FLAGS}")
|
||||
+ SET (CMAKE_CXX_FLAGS "-D_DEBUG ${CMAKE_CXX_FLAGS}")
|
||||
ENDIF (APVLV_ENABLE_DEBUG)
|
||||
ENDIF (WIN32)
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -Naur apvlv-0.1.5.orig/src/ApvlvParams.cc apvlv-0.1.5/src/ApvlvParams.cc
|
||||
--- apvlv-0.1.5.orig/src/ApvlvParams.cc 2015-01-10 15:04:24.000000000 +0100
|
||||
+++ apvlv-0.1.5/src/ApvlvParams.cc 2017-02-09 20:03:08.655402750 +0100
|
||||
@@ -90,7 +90,7 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
- while ((getline (os, str)) != NULL)
|
||||
+ while (getline (os, str))
|
||||
{
|
||||
string argu, data, crap;
|
||||
stringstream is (str);
|
@ -1,22 +0,0 @@
|
||||
--- apvlv-0.1.5+dfsg.orig/src/ApvlvCmds.cc
|
||||
+++ apvlv-0.1.5+dfsg/src/ApvlvCmds.cc
|
||||
@@ -200,7 +200,7 @@ namespace apvlv
|
||||
|
||||
if (len >= 4
|
||||
&& *s == '<'
|
||||
- && (e = strchr ((char *) s, '>')) != '\0' && *(s + 2) != '-')
|
||||
+ && (e = strchr ((char *) s, '>')) && *(s + 2) != '-')
|
||||
{
|
||||
e++;
|
||||
StringKeyMap::iterator it;
|
||||
--- apvlv-0.1.5+dfsg.orig/src/ApvlvCore.cc
|
||||
+++ apvlv-0.1.5+dfsg/src/ApvlvCore.cc
|
||||
@@ -90,7 +90,7 @@ namespace apvlv
|
||||
{
|
||||
mInuse = use;
|
||||
|
||||
- if (mInuse == false && gView->hasloaded (filename (), type ()) == false)
|
||||
+ if (mInuse == false && !gView->hasloaded (filename (), type ()))
|
||||
{
|
||||
debug ("core :%p is not needed, delete it\n", this);
|
||||
delete this;
|
@ -1,10 +0,0 @@
|
||||
--- a/src/ApvlvPdf.cc 2015-01-10 15:04:24.000000000 +0100
|
||||
+++ b/src/ApvlvPdf.cc 2019-01-17 01:29:54.479256848 +0100
|
||||
@@ -29,7 +29,6 @@
|
||||
#include "ApvlvPdf.h"
|
||||
|
||||
#ifndef POPPLER_WITH_GDK
|
||||
-#include <goo/gtypes.h>
|
||||
|
||||
static void
|
||||
copy_cairo_surface_to_pixbuf (cairo_surface_t *surface,
|
@ -1,5 +1,6 @@
|
||||
AUX recode-3.7.13-no-help2man.patch 1945 BLAKE2B 62f5af8333b360ff7519edaa7af3ebef8c602c811aa8575c18910929c1f2776e44a234bff2abb2c5403cb94d803f3a2601aee00fd259497c6eaeb07b882b4112 SHA512 bd808c741e58dd7fd56c0960188d49237016e3a66996b8ef286d1305a8ca32d5b9a8f30fa08120ddae1901eb5d3fa019044b63fda32dc78d71c91babacc84ded
|
||||
DIST recode-3.7.12.tar.gz 2399126 BLAKE2B 420ba6f96d532da4ae0e1861b512c39ad59f1f63b0e0ef061dcff95c15ff4ed82a3b7bb72f6abb29f85588476a76cb5d50151ca9e3f857c2c1c09727ccdd2890 SHA512 365602bf7b20e5362d13d1ab5269419f7f0838fb81dc01c466ea99c38eb1b979f8d707d24ca3dabbd3a0c65cde97704b570007ac60689d88bbafd33351d37d95
|
||||
DIST recode-3.7.13.tar.gz 2400432 BLAKE2B 457ba7855aeb5ae8b0cc32ee82b5b61b1b46ba2908406c0c10a76ae242343f421e81038b9bb6784089e8e3e687ecc0f61a6263c24f6b234962f94853e9359734 SHA512 af86754ed2ed1dc414f1dd7ab3564d606abb309766fb02bf085e56241527a74ac7141617956d01b0797e8e426cfb39ec597bd221d8ad58d9246e96b228e65b00
|
||||
EBUILD recode-3.7.12-r1.ebuild 1521 BLAKE2B 3445d43122f73fbc1a5c85e78f2433043f5b5f3627482ced67d733c016beeefd115ff5eca79b06ec3b659196557d8a64899449c2ea63a8fd0529c62924f12334 SHA512 1eb3427f0e2607c182dd165bc12e3688af8c9430584c0f66c8a67d8dca5f44d540a9cefb30622486de059c15c3093c1682b614991dbcaefcf8aee0994cbefccf
|
||||
EBUILD recode-3.7.13.ebuild 1612 BLAKE2B 50340a139b4905c7f531d9bd3467d8ca582f6244a5ed09e171e58adc7896eabf98cff134f1c6ff8caee0bad34b9e8f652b945bc00ac98f8fe4538a07e906a1d2 SHA512 03b2050efd7318e2c83ae6fc6dbf423e4ebc7a75ec2ddff69d146ada2e065c3a55052da7ec110d8d0984ad16d8d3aa9daa55cded0bcb98bc4fc6c8e2e44892fa
|
||||
EBUILD recode-3.7.13.ebuild 1580 BLAKE2B 6fd77f09d824fe222c02fbec0d6b5b6ce1e10b4be22bfc69b6ad696b135cda9f8cf03d858e63798c51e11761147e44213d51625b7fcc6777f4485d768de67dcb SHA512 4a93c11468c4c9336bcc8d05489b7c998e858fcd486b2950c72af9c0708a791b203a8f21c28b380315e58dec292ff75e780c8418eb786eb7a09c915c016d4bd1
|
||||
MISC metadata.xml 431 BLAKE2B a2f1b90590a30ec6d561845193e29d2fde7254ece1cc31b777bc5d3ed85aae53a6abb23cd9a00f9fd07ac4e13ccabd35e2fc71816106e46c89ff0607e869419c SHA512 388038f9e95b0491e8061def1c405facb327e8feefeca08d7b425b143db03d4f7745c6b7515cc000f42992b97cc9e82aac7660e313a2159d324883792d6d85fb
|
||||
|
@ -0,0 +1,50 @@
|
||||
https://bugs.gentoo.org/890256
|
||||
https://github.com/rrthomas/recode/commit/dcdd5d26c0c2c49f8113b63186449d6a1e3a509e
|
||||
|
||||
From dcdd5d26c0c2c49f8113b63186449d6a1e3a509e Mon Sep 17 00:00:00 2001
|
||||
From: Reuben Thomas <rrt@sc3d.org>
|
||||
Date: Fri, 6 Jan 2023 20:11:03 +0100
|
||||
Subject: [PATCH] src/Makefile.am: allow build without help2man
|
||||
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -19,7 +19,7 @@ AUTOMAKE_OPTIONS = gnits
|
||||
bin_PROGRAMS = recode
|
||||
lib_LTLIBRARIES = librecode.la
|
||||
noinst_LTLIBRARIES = libmerged.la
|
||||
-man_MANS = recode.1
|
||||
+dist_man_MANS = recode.1
|
||||
include_HEADERS = recode.h recodext.h
|
||||
|
||||
H_STEPS = common.h decsteps.h inisteps.h tersteps.h \
|
||||
@@ -100,12 +100,12 @@ merged.c: mergelex.py $(L_STEPS)
|
||||
# Depend on recode$(EXEEXT) rather than explicitly make-ing it, as otherwise
|
||||
# we break parallel builds, as libmerged.la can be built twice in parallel,
|
||||
# which can fail.
|
||||
-recode.1: main.c $(top_srcdir)/configure.ac recode$(EXEEXT)
|
||||
+recode.1: main.c $(top_srcdir)/configure.ac
|
||||
## Exit gracefully if recode.1 is not writeable, such as during distcheck!
|
||||
$(AM_V_GEN)if ( touch $@.w && rm -f $@.w; ) >/dev/null 2>&1; then \
|
||||
$(top_srcdir)/build-aux/missing --run $(HELP2MAN) --locale=en_US.UTF-8 \
|
||||
--name="converts files between character sets" \
|
||||
- --output=$@ ./recode; \
|
||||
+ --output=$@ ./recode$(EXEEXT); \
|
||||
fi
|
||||
|
||||
main.o: main.c ../config.status
|
||||
@@ -169,5 +169,3 @@ strip-pool.c strip-data.c: stamp-strip
|
||||
stamp-strip: ../tables.py $(MNEMONICS_DS) $(CHARSETS_DEF)
|
||||
$(TABLES_PY) -C $(srcdir) -p $(MNEMONICS_DS) $(CHARSETS_DEF)
|
||||
@echo timestamp > $(srcdir)/$@
|
||||
-
|
||||
-DISTCLEANFILES = recode.1
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -1,5 +1,5 @@
|
||||
# Makefile for Recode regression tests.
|
||||
-# Copyright © 1996-2022 Free Software Foundation, Inc.
|
||||
+# Copyright © 1996-2023 Free Software Foundation, Inc.
|
||||
# François Pinard <pinard@iro.umontreal.ca>, 1988.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
|
@ -1,7 +1,10 @@
|
||||
AUX zathura-pdf-mupdf-0.3.8-meson-mupdfthird.patch 719 BLAKE2B e8fee9b67dd4e3156eb48a69505bb81533751e29c9f05a46c5f93ea069eda042f72a24c4af1f804c28d2058ffe0d6ed646ba8f97610b113069cbadf05c841664 SHA512 a4b4a5b2d207ecd37a05d38f18f1f6a2df2acfaacf7a03fc97b14c3bf04441b3e0caa9aca30551fb4e12e0d41d1c4760d8033fb1c7a6b13dd8475453b59b529e
|
||||
AUX zathura-pdf-mupdf-0.4.0-meson-mupdfthird.patch 1015 BLAKE2B b2ba561909eafed3f1aef2efdf5596a2d0f1a933c1e60106eef9ce52f86c9182492b4e4959f274312332089863e4209204c098d4baa1885de28eeaafd04d803d SHA512 264d6b4eb035424a54eccdc8b5103142f6c822de1e4831303413b778769b520268f02139213d391294d1c407289e075148c227e6a0d8fe02ba03d401f9c0f067
|
||||
DIST zathura-pdf-mupdf-0.3.8.tar.gz 9198 BLAKE2B b873d3352d4f324d5dfceebe0ca1cd13e5e5b9bbedf89a5fdae553a2d2cf59ece455bbe931fc021310a7be3c765663ef73931016d48abaedaf2d3488f96d0866 SHA512 5742f22fc919af390a8a42f64640c36aaf1499a20d1c6603e70cc47b3f6634dafc94a31bfbb30c88524ac0c18c040f0fd6c63d236dbb556784cb17a9b0446374
|
||||
DIST zathura-pdf-mupdf-0.3.9.tar.gz 9201 BLAKE2B a74621e6330889363e25875e25984d8f9d9250a654ddb628849a8750fc4bbbb730cb6707d1959d0d28189d99af6bc041e1806036737b3daaa739373e632e304d SHA512 12537ca4c579be6dfa4c94195eafea09e45a08207eb131ed806ab868a71d781dbe6fef5e4442f77bcc0a70921d44654d97d48a6f4bfdbe28e0bdb9fec67f69b1
|
||||
DIST zathura-pdf-mupdf-0.4.0.tar.gz 9323 BLAKE2B e633e2d52080dc017cd59be184fc52f52b21f9bfa1cecb48c83b4383366226f8e65fcd92503493e8df568847f84a39f2f7d8e4a87df44c66ec121c246557e10a SHA512 44a8d72f54adf29cc853c636f2387edb52e253522c82175533a2f80a6afc45ca88a785785bb840bf81e368ef8f35e31f5e9bf7648ee6a13d394eb4133585c060
|
||||
EBUILD zathura-pdf-mupdf-0.3.8-r2.ebuild 783 BLAKE2B 87ad7d1eadc88026806ec9999bfc3486257362db0b3e0a6546c98f00b32dd89c8a699362c3085e822110fdd4b0645b3b968538917bbafd852eb69bcd49b01e2f SHA512 677fb3b5ced87f54d9d69367cba816f781bc08800f32219dea880e1cb767252401410b67c211908e815e3d54a2d3e7754d16d818439e9291bacbff9a182267a9
|
||||
EBUILD zathura-pdf-mupdf-0.3.9.ebuild 784 BLAKE2B cc9ff02db43aa1f51fff3ce73d51cb84e5070fae3fe130cf124da98191ca840c985b0b5ffd6fb48bfa7512b5fa9032043cef28fa0cc1470cb3c55e5945645cd4 SHA512 1877ff3986f1c4a507d6c8a68b6f31b159b42789bcb3bbdd65be56b287c8ad7cdfa344ef2a68652d72153255b5f4987b87e58aac1e5068e5d39b2675bcde1ff8
|
||||
EBUILD zathura-pdf-mupdf-9999.ebuild 787 BLAKE2B 942b51d2a72ed0a3b26eb4f88deb4f1fc510c0a8551e563c6799cbcd653bca158fc1467f1bda0a768d78aa5464714ee15bfc308bbf70f95fa2cd0424118a1195 SHA512 253121b5df0ec0322f7393c748470d062f834df39560a14755a14ba79fe28ad60523717a117b6f4d774e62fde71b1712b813cdc059b61d2fa774544de60009c8
|
||||
EBUILD zathura-pdf-mupdf-0.4.0.ebuild 850 BLAKE2B 5a22d731aaaf6b7cd2d1306eb3b68050e87bbaf5442ec6334137973dccefc6b037acf49645712c3fd0d93a538636c78c348ece5aa5eab956bdf0916c3b71d7d4 SHA512 7334ceb8d5a68317b28eb6ccc4580a7c464f01b69911b3591372f502be1257dc378d76fffee4efe3fb315505e65d4c49d03c6f9fb605e1bbf66577f8a979d1f3
|
||||
EBUILD zathura-pdf-mupdf-9999.ebuild 857 BLAKE2B fc48aa72ddb8caa36c3e32c51307d6779feb954e9607211dec5944c6c200c42fd180f0f5dc63c55eceb07401b3f08213fe24d1024f678bdf46b4491d2f6cfa12 SHA512 8867464a50199c1c523b587d2cec37d64ac17478a74002596a85bfa81bf66e9b83d09b95bf9802d29513001c07558f182bc5a7a63dac46daceb907bff113475d
|
||||
MISC metadata.xml 827 BLAKE2B 3260695042be5b2fa3df9337f1888467d43d79c210d466c9cad94c12f50400563e3c7a34aaa920d43160835fa90267c39a8266a927c184b60b86ab520a9deafc SHA512 1129c85640589275b1a973de6b5b61cfd1e54a294cb405e9e6b42e6b58bc92e3f82cfded1f6e7e8d49f2d81203f761a871085771c4eb0b2fe11cb1da190b3e5c
|
||||
|
@ -0,0 +1,39 @@
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -20,7 +20,6 @@ girara = dependency('girara-gtk3')
|
||||
glib = dependency('glib-2.0')
|
||||
cairo = dependency('cairo')
|
||||
mupdf = dependency('mupdf', required: false)
|
||||
-mupdfthird = cc.find_library('mupdf-third')
|
||||
|
||||
build_dependencies = [
|
||||
zathura,
|
||||
@@ -32,17 +31,15 @@ build_dependencies = [
|
||||
if not mupdf.found()
|
||||
# normal build of mupdf
|
||||
mupdf = cc.find_library('mupdf')
|
||||
- build_dependencies += [mupdf, mupdfthird]
|
||||
+ build_dependencies += [mupdf]
|
||||
else
|
||||
# build from Debian's libmupdf-dev
|
||||
- build_dependencies += [mupdf, mupdfthird]
|
||||
+ build_dependencies += [mupdf]
|
||||
|
||||
libjpeg = dependency('libjpeg')
|
||||
libjbig2dec = cc.find_library('jbig2dec')
|
||||
libopenjp2 = dependency('libopenjp2')
|
||||
gumbo = dependency('gumbo')
|
||||
- tesseract = dependency('tesseract')
|
||||
- leptonica = dependency('lept')
|
||||
mujs = dependency('mujs')
|
||||
|
||||
build_dependencies += [
|
||||
@@ -50,8 +47,6 @@ else
|
||||
libjbig2dec,
|
||||
libopenjp2,
|
||||
gumbo,
|
||||
- tesseract,
|
||||
- leptonica,
|
||||
mujs
|
||||
]
|
||||
endif
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson xdg
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura-pdf-mupdf.git"
|
||||
EGIT_BRANCH="develop"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
SRC_URI="https://git.pwmt.org/pwmt/${PN}/-/archive/${PV}/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="PDF plug-in for zathura"
|
||||
HOMEPAGE="https://git.pwmt.org/pwmt/zathura-pdf-mupdf"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
IUSE="+javascript"
|
||||
|
||||
DEPEND="
|
||||
>=app-text/mupdf-1.20.0:=[javascript?]
|
||||
>=app-text/zathura-0.5.2:=
|
||||
dev-libs/girara
|
||||
dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-meson-mupdfthird.patch"
|
||||
)
|
||||
|
||||
src_prepare() (
|
||||
default
|
||||
|
||||
if ! use javascript ; then
|
||||
sed -i -e '/mujs/d' meson.build || die
|
||||
fi
|
||||
)
|
@ -1,4 +1,6 @@
|
||||
DIST zathura-pdf-poppler-0.3.0.tar.gz 8895 BLAKE2B 42ea3e63901474106af744f8c48ff74f91ada036f0cc9beca49b2ebac3e09dbc8334b150ac313d75c3f05f7be59d1f42873a67b77c58186a40c41f88d4772f15 SHA512 588c1d03fef2b0cbb44af6904ab078ae3686d79ce05b1448a41a62ac807226cade4b54725002f0c4bd9c428b192b607664da4bdc8d83c792fab250ef43622a85
|
||||
DIST zathura-pdf-poppler-0.3.1.tar.gz 9259 BLAKE2B c1131d2acc0cf69bf9266969839f6fb4e043664a0a4648d033f9338b1219d75e34576a03380daf54bc8fe52cc8bd2244a93394e15f8ff0bbb980fb903749affc SHA512 a6ea7d61f05cfbc6229ec81580c539841916b44085aeb168668cfabd41aca2e5321e88605f092caaa3efc30bec25a2bb319c687920a22b1f7f53e4b1e470ec34
|
||||
EBUILD zathura-pdf-poppler-0.3.0.ebuild 767 BLAKE2B d4955dc86e748ab9710b15b17c83cb2cff34e11d845eb3261efc854ba7b132a8d6a90c05b5b3001fcbbc6c6d128a1442272012388ff2d48fcbeaa6724e84822d SHA512 e9e573f14940d53d9627b782aabe16e1903044b7490cd03047d05bba924ddac57493b98449602bce074611535fef9d4f7a031f90a1a9f3347670ce2ea20cda0a
|
||||
EBUILD zathura-pdf-poppler-9999.ebuild 770 BLAKE2B 83a617fbab49073633f120c1d3974c17998b2d5b92d71e195434e7527d6fe4b1c1d9598bc82c8c84984e517ef2e27f884159899b1a4f30f0af647668298bb939 SHA512 d31e24d52bae236e369f46245ca852f0c7540adc22980f08a9a101fa10ce3084ffd443442d7086a93be2e1f04d302061f1d1125b0b2e94d4c230f58e1e7c6f33
|
||||
MISC metadata.xml 669 BLAKE2B 60a8af6a6f1ef902d941ebbfa7bc86fa10a773af260878d0bdc2d211d6792ae1eb28106e653247a03ffb3dfbc4bddf76d7332fd7b703a9e03dc37c90c69b1deb SHA512 c2afc877f4c46a55d662fd0ee6a66fd940f32e7b396a0124cf24209b1cf9d9fd2cc8dc05fccaa5a7a067f7760207a2f8b2ddc54964c6191f2a438d790b3a0d34
|
||||
EBUILD zathura-pdf-poppler-0.3.1.ebuild 772 BLAKE2B 401c7396ff2e8a6803d67400065d104839437d734897454e73058abdfd603c515a21827cd9efe5ef3e3fceebb9c359e17173eb0fcc6fcb00c201d71fa892b464 SHA512 e08a7d327ee0ccbbab0f2881ab8ead87ed28309b9f6e27b32014b9631ab1f9f95afcb9f286293ebcedecd8bb7d6480ad8a748fd82be12e5f952b7c1180b22539
|
||||
EBUILD zathura-pdf-poppler-9999.ebuild 772 BLAKE2B 401c7396ff2e8a6803d67400065d104839437d734897454e73058abdfd603c515a21827cd9efe5ef3e3fceebb9c359e17173eb0fcc6fcb00c201d71fa892b464 SHA512 e08a7d327ee0ccbbab0f2881ab8ead87ed28309b9f6e27b32014b9631ab1f9f95afcb9f286293ebcedecd8bb7d6480ad8a748fd82be12e5f952b7c1180b22539
|
||||
MISC metadata.xml 742 BLAKE2B 25123046ea688616972cd2ef7347eaa72efe9136914abc7b54b2afbf3f85afdf487cc9e246cd1b2de45f2109998c34005b5f9041d6d15282389e9942b357beac SHA512 bddd3bf740e7ef9a6327ed9bd29e2224643fb7403486417b98d6e00b19af7405694d3d726de28090a00b0c469a238d721664240f6e524d3c9bfc816ff431eca8
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson xdg-utils
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura-pdf-poppler.git"
|
||||
EGIT_BRANCH="develop"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~riscv ~x86"
|
||||
SRC_URI="https://github.com/pwmt/zathura-pdf-poppler/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="PDF plug-in for zathura"
|
||||
HOMEPAGE="https://pwmt.org/projects/zathura-pdf-poppler"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="app-text/poppler[cairo]
|
||||
>=app-text/zathura-0.3.9:=
|
||||
dev-libs/girara
|
||||
dev-libs/glib:2"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
Binary file not shown.
@ -1,7 +1,11 @@
|
||||
DIST citus-10.2.7.tar.gz 5549985 BLAKE2B cb562437757624cc34f80219e8039fdcaf27ebc4a63b30714beafe5555a85769f44a92d74173fb94085f48d09bedaffc019463ec6db67217f8554154a91e2e74 SHA512 32441e964d97d3a69eed309c8d52f65ae31a3a7b79c6e765e967025c7f6a041420925dfb5fb0835cec1ae66549f59fe256994f4120514ec2e781169b771c85e6
|
||||
DIST citus-11.0.6.tar.gz 6021221 BLAKE2B 7b19328890b79ce639599cf2f99ee15f6dc7e87a062fbd538b288895a3ec6e4af36eabad0a7111de8b53029670be8d6a66ba692a66101c43120640f4fffc37d4 SHA512 4b5667fcfdc89a171ae8e15095d5e688a1d8b4707d13cd4742f5695f9e57e76190e11c4fe933044a64ac00b0982da91d6a253cd272af6ba58131b787ad4b13ef
|
||||
DIST citus-11.0.7.tar.gz 6032102 BLAKE2B af36e0f0f3f7f3a3d438f8455caa0531b00b3312b5ec8d85922acdef36a25583b5c5af6054e151ae989122a19d4d78e66a983af41d7a3ac5f781c494fd5247d9 SHA512 3c10a3bd471f82a83f9b3769ac23c107052470d692cc555c2798acfe2afadfc0bcb843db374fe22a0ee41d4f90d1b0f3d2eda6e6e5d9e6e359dd9a9731c26b6b
|
||||
DIST citus-11.1.4.tar.gz 6369400 BLAKE2B aca772fbb7fb632c73d92b1f3841e7772d797373891a40c007a147ab9f44ef42eec325553915d7fd11b56f0f60f302b286061ea4ce55351ce9f9d8cd0d9d084b SHA512 f0c4cbbaa0e8ed173d3ba68b24815272ce7c04186bf628c561119833ddd648928ac31adc1784e25f268d45e8d5c02792088f695ad8dbf2ab425093dc1f241f99
|
||||
DIST citus-11.1.5.tar.gz 6371656 BLAKE2B f370499dc466adb8a9eb45d3b324c50c746ea28966410f62c59beeb246b58d9db9b487bd12e303026fc3480dfd21f4e5b001d19cb587a1ed83ed0f21e8673cc0 SHA512 9cf2c5f43b93e61246e7efec89115d123077cdbcc157da9d83857f2d58b88c83e067a8aa831089ac4f13912a276cfe75e62ca3e10e05a6a300b480bf7a6093ee
|
||||
EBUILD citus-10.2.7.ebuild 576 BLAKE2B 2139c10495f8b7c23e0fbc6be85012c24ffce7481f614e2f6134efeab79780b6b8bb7d5f8e7ed1866021fd577dbd8cd8400aa250c37bf568829b55879ef85ddc SHA512 25e3cb723a51b31bf85722098a40e31ecb3f4852dd2806fb91f73d52b2cfeb20159722c3a01d3d17238fb9d9e3ac754def12782c9bd64fe1d0f36f5e94a6ec05
|
||||
EBUILD citus-11.0.6.ebuild 643 BLAKE2B 112b8708755f1459308b7b421f5d70562ebbce7e602a4c85a60767bb051e994a72811d127eb9ad6153b574eb5557b0759ae3e7222b9dd3e269eb1eec8ed8cc09 SHA512 de47a96f5146f66e713e9ff18508a2b6f7eb11ff5abb134bd9a2fc8410e321e8afd1e96bcb9fabfa998784e525a8d4df778736e2d27e8029e40bc5f807b68624
|
||||
EBUILD citus-11.0.7.ebuild 646 BLAKE2B 3557d4be852f27d0e92ce85ed4175fcd975fa0d8dd58c4dffc3109bee5cfa7086444815530cef1dd86d3eedd84a74d24ed51b3904a93c875d7da36e51629b03d SHA512 aeb8d416efb27eed1bf23e2936a314c3d73fd3702ab7f279cbbdcf8b965ae54d1a7fed2c3ac1e3ed5d7c63c0a9ab6f6297a9a52c4c04f5932f8f4f6b210fc02c
|
||||
EBUILD citus-11.1.4.ebuild 646 BLAKE2B 0a53954e30a7a8170971367fc333e92e946be56e247fa6b6bd3301d98cdee73f26347124cb4af8e3ad00b8289c9382a4db8896be77daf7699b923602153ef8de SHA512 529fbf5739ef635b46aca44fe3c48200fc08122ce39ccf0240d91d112806e93df7b3fe756d4d3bd975c1b9fce8655414519e0a3638fb37812393e65545218d98
|
||||
EBUILD citus-11.1.5.ebuild 646 BLAKE2B 3557d4be852f27d0e92ce85ed4175fcd975fa0d8dd58c4dffc3109bee5cfa7086444815530cef1dd86d3eedd84a74d24ed51b3904a93c875d7da36e51629b03d SHA512 aeb8d416efb27eed1bf23e2936a314c3d73fd3702ab7f279cbbdcf8b965ae54d1a7fed2c3ac1e3ed5d7c63c0a9ab6f6297a9a52c4c04f5932f8f4f6b210fc02c
|
||||
MISC metadata.xml 281 BLAKE2B 85a0d31b886497ac44662bb58420de2f6af5444882f008f902287c6a8265f6e76afa7513b0edeca5b34a26d69d9aa61832c5fb3287c577a7f047180aa3fb242e SHA512 9e9007a37a7acc9948a6eb15bd1bdfea46c95eacc88e96a878237baaf01298b1f849d6e170f04638bbfb68f2c8b8a3bf227e563b5309f859cfcd23d43bc5dd85
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
POSTGRES_COMPAT=( 13 14 15 )
|
||||
|
||||
inherit postgres-multi
|
||||
|
||||
DESCRIPTION="Open-source postgresql extension for clustering/multi-node setups"
|
||||
HOMEPAGE="https://www.citusdata.com/"
|
||||
|
||||
MY_PV="${PV/beta0/beta}"
|
||||
SRC_URI="https://github.com/citusdata/citus/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
IUSE=""
|
||||
LICENSE="POSTGRESQL AGPL-3"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
SLOT=0
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="${POSTGRES_DEP}
|
||||
app-arch/lz4
|
||||
app-arch/zstd
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
postgres-multi_foreach econf
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
POSTGRES_COMPAT=( 13 14 15 )
|
||||
|
||||
inherit postgres-multi
|
||||
|
||||
DESCRIPTION="Open-source postgresql extension for clustering/multi-node setups"
|
||||
HOMEPAGE="https://www.citusdata.com/"
|
||||
|
||||
MY_PV="${PV/beta0/beta}"
|
||||
SRC_URI="https://github.com/citusdata/citus/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
IUSE=""
|
||||
LICENSE="POSTGRESQL AGPL-3"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
SLOT=0
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="${POSTGRES_DEP}
|
||||
app-arch/lz4
|
||||
app-arch/zstd
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
postgres-multi_foreach econf
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module
|
||||
EGIT_COMMIT=62e43d8de1784178b876ec33867b80aac0554282
|
||||
|
||||
DESCRIPTION="Replicated SQLite using the Raft consensus protocol"
|
||||
HOMEPAGE="https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/"
|
||||
SRC_URI="https://github.com/zmedico/rqlite/archive/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz"
|
||||
|
||||
LICENSE="MIT Apache-2.0 BSD CC0-1.0 MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${P}-vendor
|
||||
|
||||
src_compile() {
|
||||
GOBIN="${S}/bin" \
|
||||
go install \
|
||||
-ldflags="-X main.version=v${PV}
|
||||
-X main.branch=master
|
||||
-X main.commit=${EGIT_COMMIT}
|
||||
-X main.buildtime=$(date +%Y-%m-%dT%T%z)" \
|
||||
./cmd/... || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOBIN="${S}/bin" \
|
||||
go test ./... || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r *.md DOC
|
||||
}
|
@ -1,12 +1,6 @@
|
||||
AUX sqlite-3.39.4-icu-72-test.patch 800 BLAKE2B 799fd4df209886e5df6fc050247719a0eafae494bd23c3ee44e4e1c0b86da036d438ac86f763101b846fef7b7f3c1196c0ebdbd3e7aa70394c76307673a44cc6 SHA512 dca2f9552e144dfb5636c4796c634d892d1de0beb980ce6683906266fb4c9a9a98e03eb92c8c3fe7a8de427ae41d0f784ac32c0f93630563cb6a3d6db6fb5493
|
||||
DIST sqlite-doc-3390400.zip 10853153 BLAKE2B 617927351809e5ec7489011f963337e92b539a83b135daa7ccd48f840d35716d08e8adc08a67e17d674a6bc64ca24fa92b56573c0065105386fc9c75f1f7f9ef SHA512 75d97b0f2f0d530b2e0ad505574af3bf657d82f0859bb5de7ee45c40a80351e933944845cedca56b579925a3d07505c6f4721f756f27862ffafdfc2caff539fb
|
||||
DIST sqlite-doc-3400000.zip 10921883 BLAKE2B 786bba5f4eec32114b0e12d0a42eb763c3be999506edb65e72a1ea32499c9972be9e546b4773a96165273e3eac4da9c2e3c2c696e07494d8af8f273da72e44fd SHA512 3557fe49e08fd24890da584f3fa7fb93d1e3317787f98a8ce1062dcac07733782026e50dfef7db72582739ddf0a77095cc4d3a81f3df097a69e85c672591bf7e
|
||||
DIST sqlite-doc-3400100.zip 10934836 BLAKE2B 52adbfa911a5d8556e4e071bf14ad83145023fbd426f285d9724d7f06e41257df53d3c28224581f12b4ca8f699bf3d3ec829ee161374ce0208783e5da72639dc SHA512 1131b0a6304a4dd6287c85d38d1450fd2dd0e3377d88a263e3c4716415e0587750357f25486727b9433797da0331229682565e7a8a3986eba89cfcab550a2d41
|
||||
DIST sqlite-src-3390400.zip 13405169 BLAKE2B aa0e0abbdcafced086a604ec910dbfd1e4df28e83e0edb6056019391e96367050e59478ee8847d930191a65b21cf0bf9957c35ef056abd9be4947a3838d78eb2 SHA512 0acb8afc87f911c91ec555cc97af5b77b6b0e80cc8672711ddd87c651d9e11b697c9669ff9ba2b58da12b972bb46acdf8b8fe35993950f10735b4036501b73bb
|
||||
DIST sqlite-src-3400000.zip 13723231 BLAKE2B 4b4d3119f3210497e4e41f1305558e7ed49505b635fed18f466b5fb8dcc60712d0c053a0e569f9af4b2b37803d2670528244bdcf6ef580fd3f85510e8d4dba78 SHA512 c3bb3829f99c663f3381f4c610e401173f133fe944558b70da7521cc44116d048e4e1651993feb128b0f3814381aa4fa93f48ba3e277abca3442af805159287d
|
||||
DIST sqlite-src-3400100.zip 13725560 BLAKE2B 24d2efbbf7f8f35888b1e53c98f9c7fece9b1cf0b175bf49b78869253aa753ce47e2db67247183c07368e69d6eb63a6e39c06b212c8fd5ca36c892ff535bedca SHA512 78f8c6396bf8da090671c6f4c41255e60788324fccdaad906c53610eb6e37705f4d25c7f84da3be00b511ddf9f2e0545901f33f5ae4b6e00b1ea9413af095299
|
||||
EBUILD sqlite-3.39.4.ebuild 13307 BLAKE2B e47c50098d916a84cd7586e4a0d9246618783634c208c3e3f84b32db8315a0804c7d03f6d68990a33b5b8014fa4b01f8e013d26075f39ae07b7eef102ef3307d SHA512 59f4886e978daf7af41a4665a4e7ddb8ddc5ab7fea6cfe8f5b40303ca112ddd44007e6e8342e4235ca6e67b68a13d0259cbc65e2b88a88fe3e24930935ea7c58
|
||||
EBUILD sqlite-3.40.0.ebuild 13026 BLAKE2B 7362352c63c8ba197ba953e2aefd9248ce50f7b51efb0e6919a1299a3e20962b58b23fa54262abb52912a0b337549f3b88da65aecf3bd284992120909358ff5e SHA512 bb7a06ebbc86c75b584c59c859c2e47bdf68cfdf96c127852b4fd77dc6c05f26e6135cbf495d7d2fabd3a9a9477f3678d9fe60d008d2d254a5aaf067ad68c22c
|
||||
EBUILD sqlite-3.40.1.ebuild 13019 BLAKE2B 1c87878a9a5f689c5926594dbbcc28b9554d6fd0645970f4bce5ba1d4922d265677b208637642ccc967fef410c58d5af6b3e183129a58031135d3722d1d2f9ab SHA512 685b8c116bc4cecaeeb43943bf99cacf789f944fa970e055839635e4956e42e93151798bd0c9200c9fee08e4aab8581286c7955ef25dba8b395d7b2c56be749e
|
||||
EBUILD sqlite-3.40.1.ebuild 13018 BLAKE2B cacf271b8d62005ff052e2f76e64be08d772807e24c7609cce41e610633faceff5ed3583fab6e15489d8ee79f8643b637accbfb05aac1d537ef48529d663b8da SHA512 dfd0999b6bd41f54829d8d30679ac9592f9ba239864a70d3c1c79d09f173dace94dc9b23b15b94f2e6a9ba336f76b3871a65d901b28e58ab1c1080c128bb897e
|
||||
EBUILD sqlite-9999.ebuild 12967 BLAKE2B f6724f1c26d68d81390a6acecbefacae560d4c396f870749131202fcd9c59262fa07bba6b3629ef9c988ca8758ba29927df178dc0d35c717f9799682ddf6e344 SHA512 02598d374b55edf52ea3641b06812b554f80beb48137166b81b285499b92872574131e1afef3ab5d3ea6b7791cf1c2e47e86e144c2e2ad472be7adc07229353a
|
||||
MISC metadata.xml 824 BLAKE2B 8ab2e8f230bf3a2b26077d90944bca7bf35ae905310205b90bf243365148488303256606c0ee7c3fb736300686466a1c2583bf103693c20063ca668fe9e52647 SHA512 ed4a89e3c2d633cb6ebf8bcbf3ca055d0d1b2ffd801ba559395f812faeaafdfedd97dae11a5a53a4c068e43026fbd4eed4cb12c8b89a7fda6dabe6f78a2e0b38
|
||||
|
@ -1,440 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit autotools flag-o-matic multilib-minimal toolchain-funcs
|
||||
|
||||
if [[ "${PV}" != "9999" ]]; then
|
||||
SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
|
||||
DOC_PV="${SRC_PV}"
|
||||
# DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
|
||||
fi
|
||||
|
||||
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
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://sqlite.org/2022/${PN}-src-${SRC_PV}.zip
|
||||
doc? ( https://sqlite.org/2022/${PN}-doc-${DOC_PV}.zip )"
|
||||
fi
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
PROPERTIES="live"
|
||||
fi
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
BDEPEND=">=dev-lang/tcl-8.6:0
|
||||
dev-vcs/fossil"
|
||||
else
|
||||
BDEPEND="app-arch/unzip
|
||||
>=dev-lang/tcl-8.6:0"
|
||||
fi
|
||||
RDEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]
|
||||
icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
||||
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
||||
tools? ( dev-lang/tcl:0= )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( >=dev-lang/tcl-8.6:0[${MULTILIB_USEDEP}] )"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
S="${WORKDIR}/${PN}"
|
||||
else
|
||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||
fi
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.39.4-icu-72-test.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
|
||||
|
||||
# debug USE flag.
|
||||
options+=($(use_enable debug))
|
||||
|
||||
# icu USE flag.
|
||||
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
|
||||
|
||||
# readline USE flag.
|
||||
options+=(
|
||||
--disable-editline
|
||||
$(use_enable readline)
|
||||
)
|
||||
if use readline; then
|
||||
options+=(--with-readline-inc="-I${ESYSROOT}/usr/include/readline")
|
||||
fi
|
||||
|
||||
# secure-delete USE flag.
|
||||
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
|
||||
|
||||
# static-libs USE flag.
|
||||
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
|
||||
|
||||
# Skip known-broken test for now
|
||||
# https://sqlite.org/forum/forumpost/d97caf168f
|
||||
# https://sqlite.org/forum/forumpost/50f136d91d
|
||||
if use test ; then
|
||||
rm test/atof1.test || die
|
||||
fi
|
||||
fi
|
||||
|
||||
econf "${options[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake HAVE_TCL="$(usex 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 /.
|
||||
# https://bugs.gentoo.org/839798
|
||||
local SANDBOX_PREDICT=${SANDBOX_PREDICT}
|
||||
addpredict "/test.db:/ÿ.db"
|
||||
|
||||
emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo 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
|
||||
}
|
@ -1,432 +0,0 @@
|
||||
# Copyright 1999-2022 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
|
||||
SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
|
||||
DOC_PV="${SRC_PV}"
|
||||
#DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
|
||||
|
||||
SRC_URI="
|
||||
https://sqlite.org/2022/${PN}-src-${SRC_PV}.zip
|
||||
doc? ( https://sqlite.org/2022/${PN}-doc-${DOC_PV}.zip )
|
||||
"
|
||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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.39.4-icu-72-test.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
|
||||
|
||||
# Skip known-broken test for now
|
||||
# https://sqlite.org/forum/forumpost/d97caf168f
|
||||
# https://sqlite.org/forum/forumpost/50f136d91d
|
||||
if use test ; then
|
||||
rm test/atof1.test || die
|
||||
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:/ÿ.db"
|
||||
|
||||
emake HAVE_TCL="$(usex tcl 1 "")" $(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
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
POSTGRES_COMPAT=( 12 13 14 15 )
|
||||
POSTGRES_USEDEP="ssl"
|
||||
|
||||
inherit postgres-multi cmake
|
||||
|
||||
DESCRIPTION="Open-source time-series SQL database"
|
||||
HOMEPAGE="https://www.timescale.com/"
|
||||
SRC_URI="https://github.com/timescale/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
IUSE="proprietary-extensions"
|
||||
LICENSE="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
SLOT=0
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="${POSTGRES_DEP}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD=yes
|
||||
CMAKE_BUILD_TYPE="RelWithDebInfo"
|
||||
BUILD_DIR=${WORKDIR}/${P}
|
||||
|
||||
src_prepare() {
|
||||
postgres-multi_src_prepare
|
||||
postgres-multi_foreach cmake_src_prepare
|
||||
}
|
||||
|
||||
timescale_configure() {
|
||||
local CMAKE_USE_DIR=$BUILD_DIR
|
||||
local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" )
|
||||
|
||||
# licensing is tied to features, this useflag disables the non-apache2 licensed bits
|
||||
if ! use proprietary-extensions ; then
|
||||
mycmakeargs+=("-DAPACHE_ONLY=ON")
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
postgres-multi_foreach timescale_configure
|
||||
}
|
||||
|
||||
timescale_src_compile() {
|
||||
local CMAKE_USE_DIR=$BUILD_DIR
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
postgres-multi_foreach timescale_src_compile
|
||||
}
|
||||
|
||||
timescale_src_install() {
|
||||
local CMAKE_USE_DIR=$BUILD_DIR
|
||||
cmake_src_install
|
||||
}
|
||||
|
||||
src_install() {
|
||||
postgres-multi_foreach timescale_src_install
|
||||
}
|
Binary file not shown.
@ -1,8 +1,6 @@
|
||||
DIST asm-ASM_4_0.tar.bz2 14706135 BLAKE2B 20bed2b10b6107e9af74dafd8f7c9db93be1c26e073a8f7d8b25a94b99a1e89659dd03ed9094c4a56fe8a9b8d206b00e3db35eb4074e16396292d2fe75c2bb41 SHA512 046b36fe664a58e65daca2e3820f431436f27242fb548723ec02e829637f4d27d3329edd5014d3c84855d827a2fb2a87107043951a83f4fee2e83d89bb0ba74d
|
||||
DIST asm-ASM_5_1.tar.bz2 16191369 BLAKE2B 30e0f97fe200f09c78b3ba743ad70f25715b411d5e0be330234d97dec98b997db78736b5e005fdac8ed5339c553783a4e12386c34cb2c5a45bd8d8b42d7e8465 SHA512 6e73fe0787cfa974c598be44b5d735bbd6cba88f64db24169ec481281aea2169bce65fb08a677aa99f0d71f876a204c86432d2a4a79e85cc5286eb2ccf7617d7
|
||||
DIST asm-ASM_9_3.tar.gz 1666740 BLAKE2B 6905233f666159f861dda68a855e8f5632817b0627c2006d3a8e61340cd4afca9310860dd1eff46173ca7356583e6c44027e674f7e17eacaaf0dbcc24b92198e SHA512 401a4dd7c2638bbad940ca92c42b7ec6f44e1d19c407bba3cd6a081e0b51969cf62a0fbcc407ef4889d3c7d6c7b9893e77642c058f812e9d10b9d67c5215be42
|
||||
DIST asm-ASM_9_4.tar.bz2 1380417 BLAKE2B 612fc6669294f2926ec77522f642f2878a96a9c977579ceda9feb955041ff53fa698c75b26c27bae478a41dca59357d9cf824263df39d60ea5c6722e5f0efc75 SHA512 a59268808ac54a238bd6e117eb0164d28c5c3572c12d7ad42c2f3dbd32714c03056f330255756511db4f1ede8d66bf32c7347128b8ec179beba11cca27927687
|
||||
EBUILD asm-5.1-r1.ebuild 1291 BLAKE2B 725d3131119c130036a1d9ba211731c75700c62dfca02b9fca40125dabb8b6cc8233d3df6f29edaa4341d5412d695e8ebd7c70f3e0bd84a0b2091f3d7375fb51 SHA512 ccceba8cf7a50559aa3a505cf8450d695da2a927e0044fcead1878c156c17eae7ff25cbe25d84b4ed780f930b4b669b30d0ab65289bd141272eaf4febd4ee002
|
||||
EBUILD asm-9.3.ebuild 1596 BLAKE2B c14991f2292a3c005e176f714c5f75798824284aac7563902c876ae38bf738d548b999d30b6ac21be9c3512de1e56736dcb3d0a30155cdcedcef6750d9bd9372 SHA512 787f4c1949ace552c29dd4a739c51d02814e8500c42c8108f6bcc5b88c48f67b21afd091928806e69713600bb56ab627e6b3accc793300c5cffcedb9369fdd22
|
||||
EBUILD asm-9.4.ebuild 2367 BLAKE2B 1703a204f3acda73637408d224886f71458abba801cbc04809cd9cf24e35837cdc268fb6307e5aef0ea497664deb025dbf304691b0c5c0ac329ec36f5c5334f5 SHA512 31f2468a2958eb4760f29242be8fb2c5dda12621908be79028951cae5e7a9319177b0cecc57b8c2616b2838eeb79cb6f0e5be9ccea34b3786e6b56d6361bcc98
|
||||
EBUILD asm-9.4.ebuild 2363 BLAKE2B 36b4ba331468998e388a6d240c99d0c195cee271c135f8180cdaebdce6546a6837c4a1533333889aee4dec0352dbc883de936d86bea6c80477e616c01cdd3b57 SHA512 2ead6c41436c36bc9011963a74d2fac092ffc22e31ca9cf7f5d5fcbfe05754223d3ca88f2bea77b4c72c3ef610978a23b525513e16b1d6e151a4590aad6889b4
|
||||
MISC metadata.xml 1233 BLAKE2B 13faf251d3d40ed558c83262972ea106892cc3be0f7a1b95a0b484123d93473bd867b2f7b53c3e5ccc2f1fe249ebe66cb9e757e19ad36c8d3e3eac6a7a981d98 SHA512 59a292291ac757818e41d009e2cdbb73b6d914c1f552c34e9360635cb468f1ebfdf9c58d6642710d5218689d08797320102c8ccb6d5f4bc9478883feb9b9b397
|
||||
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.ow2.asm:asm-bom:9.3"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Bytecode manipulation framework for Java"
|
||||
HOMEPAGE="https://asm.ow2.io"
|
||||
MY_P="ASM_${PV//./_}"
|
||||
SRC_URI="https://gitlab.ow2.org/asm/asm/-/archive/${MY_P}/asm-${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="9"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~x64-macos"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
ASM_MODULES=( "asm" "asm-tree" "asm-analysis" "asm-commons" "asm-util" )
|
||||
|
||||
S="${WORKDIR}/asm-${MY_P}"
|
||||
|
||||
src_compile() {
|
||||
local module
|
||||
for module in "${ASM_MODULES[@]}"; do
|
||||
einfo "Compiling ${module}"
|
||||
JAVA_RESOURCE_DIRS=()
|
||||
JAVA_MAIN_CLASS=""
|
||||
JAVA_SRC_DIR="${module}/src/main/java"
|
||||
JAVA_JAR_FILENAME="${module}.jar"
|
||||
# Not all of the modules have resources.
|
||||
if [[ -d ${module}/src/main/resources ]]; then \
|
||||
JAVA_RESOURCE_DIRS="${module}/src/main/resources"
|
||||
fi
|
||||
java-pkg-simple_src_compile
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA+=":${module}.jar"
|
||||
rm -r target || die
|
||||
done
|
||||
|
||||
if use doc; then
|
||||
JAVA_SRC_DIR=()
|
||||
JAVA_JAR_FILENAME="ignoreme.jar"
|
||||
for module in "${ASM_MODULES[@]}"; do
|
||||
JAVA_SRC_DIR+=( "${module}/src/main/java" )
|
||||
done
|
||||
java-pkg-simple_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs # https://bugs.gentoo.org/789582
|
||||
local module
|
||||
for module in "${ASM_MODULES[@]}"; do
|
||||
java-pkg_dojar ${module}.jar
|
||||
if use source; then
|
||||
java-pkg_dosrc "${module}/src/main/java/*"
|
||||
fi
|
||||
done
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc target/api
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,7 +1,3 @@
|
||||
AUX libwbxml-0.11.7-expat-compat-fixes.patch 5005 BLAKE2B 705cd2068fc95536a8ed329de2e77cacb044b01273689c110d78f9a6500914961e4f7f23da05a18fb3743c89ad78f7f2ab618c8b187e4280d18dd10c0d71f102 SHA512 e2ca3c5134bfe4800489ba215c443f85ff85612db45da6896c3d6bed6b493eefc4b904b3b9a3b8fa8a6b2ab8f5c294866512dd064ac315ebc689756882a4395f
|
||||
DIST libwbxml-0.11.7.tar.gz 427429 BLAKE2B 1ec456032d4d343f5b11c60dfe5fa5dfb8750c87f1e05c48b1671257822ce7ec121a7006ed9749aacd84d4ce9f5dfa0c358cf3f3581a4a24a34db1c91338f74a SHA512 fc855650661593596a158527682d2c40d800c1fa44169d79e9ca9c6d64d67b6c660807ed89b1bddd644f114c27711356627ac919af91fd7f19d409879505512f
|
||||
DIST libwbxml-0.11.8.tar.gz 362833 BLAKE2B 8501a578c1937097a7f0993baf0bed1d645d14441fca149142a8d338f9b6aece7f726576d9170dfc298388c66937d8a6549d52ed75305cab2c427c82b1331dfd SHA512 14b74e3d25f21ce4bf05f4ed546087817c698b5a44190c569b7691e26510b117118bf828e15beccaa4bdd2e744c45f9b5695b38eb7994f3af0f4f81f90ecff69
|
||||
EBUILD libwbxml-0.11.7-r1.ebuild 761 BLAKE2B 7622ce155b8348dea4c9a6d607637476ffe54dbfcab1b9888714b2941e4ebc2ef7cf496c5da9c84657bf1b5b7e03ea8aa8f56d810ca396ea352575015409e919 SHA512 d8f03a241a8c461a1babe616c4c405c3be14015cf82ec9b0ec16d74451477f5f6bdee2b2e8afd2f6f2da75268859d13a749c3599e1db4c7eaa2f0715304d7190
|
||||
EBUILD libwbxml-0.11.7.ebuild 700 BLAKE2B 9798f8f3aa8461d32f86089d9ef4cc059ce393b65afd31d77bc984d0538d960c35a8f9c42fe5418850d35ffff0782fcc20b1e2a905d92cc307f8936cd789d2aa SHA512 dfa8c1f81e264b465015631865bd23b38237dcbbfae252d21fc776b6826770dd841af503717d0a8f559099e42bcb5ef861010ac09f04be855639204d21f12e41
|
||||
EBUILD libwbxml-0.11.8.ebuild 700 BLAKE2B 79a99e8d21944de04d76e25a6482c71112a0d517ced12ce0875e043950c234ed32f11d1727cd6814103844d81b3aaf12b33b5dc51f360efe986b18bad7f2fd4e SHA512 cc9c7f14e4ec060f75d16e0f999958543ebad1f87cf40e8e8edddb2c1a57ce1309abab7a9a9f398ab6b207ffe259b03bbc1d6b974f69783ba3596d5a4c4e6517
|
||||
MISC metadata.xml 393 BLAKE2B 270d88949c326fa1d283b9e7e9a168dc5fce083a2545c6933efc9792e407ecc1742dc73a06ae8d071c14b9816487f6d7690e4c5ffde6fc0e00042d1442d8dd89 SHA512 6a5daed5693df3ac31def8d5e1f909bcdd65b8aa459c9cb3dab6659f652ed510fed64fc815a048447a5bbeeaedcda5942a44d74b3232e01344f80ec50d53285f
|
||||
|
@ -1,116 +0,0 @@
|
||||
https://github.com/libwbxml/libwbxml/commit/4664d476fb5029073012b91880ce2a9bbc0b4725
|
||||
https://github.com/libwbxml/libwbxml/commit/4425e80f74b93a590b2c99638b9c5095e6a66244
|
||||
|
||||
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
|
||||
Date: Thu, 24 Feb 2022 20:30:18 +0100
|
||||
Subject: [PATCH] Allow the use of a namespace separator specified by the
|
||||
constant instead of hardcoded colon in the SyncML related code.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
||||
--- a/src/wbxml_internals.h
|
||||
+++ b/src/wbxml_internals.h
|
||||
@@ -156,7 +156,9 @@ typedef enum WBXMLWVDataType_e {
|
||||
#pragma warning(error: 4761) /**< integral size mismatch in argument : conversion supplied */
|
||||
#endif /* WIN32 */
|
||||
|
||||
-#define WBXML_NAMESPACE_SEPARATOR ':'
|
||||
+/* Separator must be the same in both cases - once as a char, once as a string */
|
||||
+#define WBXML_NAMESPACE_SEPARATOR ':'
|
||||
+#define WBXML_NAMESPACE_SEPARATOR_STR ":"
|
||||
|
||||
/** @} */
|
||||
|
||||
--- a/src/wbxml_tree_clb_xml.c
|
||||
+++ b/src/wbxml_tree_clb_xml.c
|
||||
@@ -33,6 +33,7 @@
|
||||
* @brief WBXML Tree Callbacks for XML Parser (Expat)
|
||||
*/
|
||||
|
||||
+#include "wbxml_internals.h"
|
||||
#include "wbxml_config_internals.h"
|
||||
|
||||
#if defined( HAVE_EXPAT )
|
||||
@@ -160,8 +161,8 @@ void wbxml_tree_clb_xml_start_element(void *ctx,
|
||||
* potentially embedded documents.
|
||||
*/
|
||||
if ((
|
||||
- (WBXML_STRCMP(localName, "syncml:devinf:DevInf") == 0) ||
|
||||
- (WBXML_STRCMP(localName, "syncml:dmddf1.2:MgmtTree") == 0)
|
||||
+ (WBXML_STRCMP(localName, "syncml:devinf" WBXML_NAMESPACE_SEPARATOR_STR "DevInf") == 0) ||
|
||||
+ (WBXML_STRCMP(localName, "syncml:dmddf1.2" WBXML_NAMESPACE_SEPARATOR_STR "MgmtTree") == 0)
|
||||
)&&
|
||||
(tree_ctx->current != NULL))
|
||||
{
|
||||
@@ -255,8 +256,8 @@ void wbxml_tree_clb_xml_end_element(void *ctx,
|
||||
/* End of skipped node */
|
||||
|
||||
#if defined( WBXML_SUPPORT_SYNCML )
|
||||
- if (WBXML_STRCMP(localName, "syncml:devinf:DevInf") == 0 ||
|
||||
- WBXML_STRCMP(localName, "syncml:dmddf1.2:MgmtTree") == 0) {
|
||||
+ if (WBXML_STRCMP(localName, "syncml:devinf" WBXML_NAMESPACE_SEPARATOR_STR "DevInf") == 0 ||
|
||||
+ WBXML_STRCMP(localName, "syncml:dmddf1.2" WBXML_NAMESPACE_SEPARATOR_STR "MgmtTree") == 0) {
|
||||
/* definitions first ... or some compilers don't like it */
|
||||
WBXMLBuffer *embed_doc = NULL;
|
||||
WBXMLTree *tree = NULL;
|
||||
@@ -277,10 +278,10 @@ void wbxml_tree_clb_xml_end_element(void *ctx,
|
||||
}
|
||||
|
||||
/* Check Buffer Creation and add the closing tag */
|
||||
- if ((WBXML_STRCMP(localName, "syncml:devinf:DevInf") == 0 &&
|
||||
+ if ((WBXML_STRCMP(localName, "syncml:devinf" WBXML_NAMESPACE_SEPARATOR_STR "DevInf") == 0 &&
|
||||
(!wbxml_buffer_append_cstr(embed_doc, "</DevInf>")))
|
||||
||
|
||||
- (WBXML_STRCMP(localName, "syncml:dmddf1.2:MgmtTree") == 0 &&
|
||||
+ (WBXML_STRCMP(localName, "syncml:dmddf1.2" WBXML_NAMESPACE_SEPARATOR_STR "MgmtTree") == 0 &&
|
||||
(!wbxml_buffer_append_cstr(embed_doc, "</MgmtTree>"))))
|
||||
{
|
||||
tree_ctx->error = WBXML_ERROR_NOT_ENOUGH_MEMORY;
|
||||
@@ -289,7 +290,7 @@ void wbxml_tree_clb_xml_end_element(void *ctx,
|
||||
}
|
||||
|
||||
/* Add doctype to give the XML parser a chance */
|
||||
- if (WBXML_STRCMP(localName, "syncml:dmddf1.2:MgmtTree") == 0 &&
|
||||
+ if (WBXML_STRCMP(localName, "syncml:dmddf1.2" WBXML_NAMESPACE_SEPARATOR_STR "MgmtTree") == 0 &&
|
||||
tree_ctx->tree->lang->langID != WBXML_LANG_SYNCML_SYNCML12)
|
||||
{
|
||||
tree_ctx->error = WBXML_ERROR_UNKNOWN_XML_LANGUAGE;
|
||||
@@ -305,7 +306,7 @@ void wbxml_tree_clb_xml_end_element(void *ctx,
|
||||
lang = wbxml_tables_get_table(WBXML_LANG_SYNCML_DEVINF11);
|
||||
break;
|
||||
case WBXML_LANG_SYNCML_SYNCML12:
|
||||
- if (WBXML_STRCMP(localName, "syncml:dmddf1.2:MgmtTree") == 0) {
|
||||
+ if (WBXML_STRCMP(localName, "syncml:dmddf1.2" WBXML_NAMESPACE_SEPARATOR_STR "MgmtTree") == 0) {
|
||||
lang = wbxml_tables_get_table(WBXML_LANG_SYNCML_DMDDF12);
|
||||
} else {
|
||||
lang = wbxml_tables_get_table(WBXML_LANG_SYNCML_DEVINF12);
|
||||
|
||||
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
|
||||
Date: Thu, 24 Feb 2022 20:31:15 +0100
|
||||
Subject: [PATCH] Change the default internal namespace separator from the
|
||||
colon to the pipe.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This solves compatibility with libexpat >= 2.4.5
|
||||
after fix the security problem CVE-2022-25236.
|
||||
|
||||
This resolves issue #76.
|
||||
|
||||
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
||||
--- a/src/wbxml_internals.h
|
||||
+++ b/src/wbxml_internals.h
|
||||
@@ -157,8 +157,8 @@ typedef enum WBXMLWVDataType_e {
|
||||
#endif /* WIN32 */
|
||||
|
||||
/* Separator must be the same in both cases - once as a char, once as a string */
|
||||
-#define WBXML_NAMESPACE_SEPARATOR ':'
|
||||
-#define WBXML_NAMESPACE_SEPARATOR_STR ":"
|
||||
+#define WBXML_NAMESPACE_SEPARATOR '|'
|
||||
+#define WBXML_NAMESPACE_SEPARATOR_STR "|"
|
||||
|
||||
/** @} */
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Library and tools to parse, encode and handle WBXML documents"
|
||||
HOMEPAGE="https://github.com/libwbxml/libwbxml"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
virtual/libiconv"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/check )"
|
||||
|
||||
DOCS=( BUGS ChangeLog README References THANKS TODO )
|
||||
S=${WORKDIR}/${PN}-${P}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-expat-compat-fixes.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_INSTALL_DOC=OFF
|
||||
-DENABLE_UNIT_TEST=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Library and tools to parse, encode and handle WBXML documents"
|
||||
HOMEPAGE="https://github.com/libwbxml/libwbxml"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
virtual/libiconv"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/check )"
|
||||
|
||||
DOCS=( BUGS ChangeLog README References THANKS TODO )
|
||||
S=${WORKDIR}/${PN}-${P}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_INSTALL_DOC=OFF
|
||||
-DENABLE_UNIT_TEST=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue