parent
04ac43b66e
commit
a9ec026c4a
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST kontrast-21.08.3.tar.xz 125632 BLAKE2B 8734de15fcfd542d037cde92e6a80060e9c6628cd69d3cfee1f1f4c9b8938647d83924381966600ac9978acfa14723e0920c98f3ce2e666ddfdb624b8cc5f010 SHA512 193d372cdcecb3b90a352fb2deb24528d004c44e50c834e02a63c562eb97bd1f528fd81254bfc3ab7152edcc9894129eae7c6e1826a9ae42bc5ab22bf9a660c9
|
||||
DIST kontrast-21.12.1.tar.xz 124940 BLAKE2B 5b69216e1e8e040a4ce317d107a2138175da83ffba21ad2f5bf6a749516de453ff5bdaa96ee2f13f62b141faab1f433956954e12360364d60d114c3a271a0143 SHA512 2100145a49828d8dc4baddfbb4a2b073187e67a99b7211621744363fd837819cc02ca687f469d03152fd25ced0f772c1f92449f4f35df51994c85ef7359da923
|
||||
DIST kontrast-21.12.2.tar.xz 124928 BLAKE2B 7ae6c965ea799405828c10fe5dff4d687d513d8b59e5443a7adb4d747b80d9ab2973013038d6716c2aab735d691f24ae5d57587688e9eb2a924ad85fc4bf75dd SHA512 5bd611e79f7a8d92535ef658d97e0ba8435f7fa2b75279d3ae55baa533a81fcd58d590197207630d9946aa82d37ab89aa7de7c815346de039e480268f34cddef
|
||||
|
Binary file not shown.
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Windows"
|
||||
HOMEPAGE="https://www.geekbench.com/"
|
||||
SRC_URI="https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz"
|
||||
S="${WORKDIR}/Geekbench-${PV}-Linux"
|
||||
|
||||
KEYWORDS="-* amd64"
|
||||
LICENSE="geekbench"
|
||||
SLOT="5"
|
||||
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/geekbench5/geekbench5
|
||||
opt/geekbench5/geekbench_x86_64
|
||||
"
|
||||
|
||||
pkg_nofetch() {
|
||||
elog "Please download ${A} from ${HOMEPAGE}/download/linux"
|
||||
elog "and place it in your DISTDIR directory."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/geekbench5
|
||||
doexe geekbench5 geekbench_x86_64
|
||||
|
||||
insinto /opt/geekbench5
|
||||
doins geekbench.plar
|
||||
|
||||
dodir /opt/bin
|
||||
dosym ../geekbench5/geekbench5 /opt/bin/geekbench5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you have purchased a commercial license, you can enter"
|
||||
elog "your email address and your license key with the following command:"
|
||||
elog "geekbench5 -r <email address> <license key>"
|
||||
}
|
@ -1 +1 @@
|
||||
DIST stress-ng-0.13.10.tar.gz 1044430 BLAKE2B 2b5c7ad42d31382ea236bfaf9b16ee5a5fb85e10eb9bde6bf2dead4fa1d5e52bb4df006a528b52706f6aa3b605502ac801f8ffcc37528f5233afb98310e9eaeb SHA512 9605545c241ee13bc94781b2676bc2a4e1aa5c94acd3f7e2826fd7a75fd6717f6de6f657aba0566bf66d709e53bcc4f5349496bdbfe9498cf3e1a576858cd8f1
|
||||
DIST stress-ng-0.13.11.tar.gz 1069071 BLAKE2B a622e9b3e1015d78f3ae3cc314cabce9ddc9a0ad50ae4de6b15c74918f202e75ad5fdb73d786b01a2c2765114ce1fe9f00702e80419311eb627eddccebf161db SHA512 18e21f2e8af24f5d50b2e8c4119544d1469e82f7e1d96610ba509f12f84b6b4ef11353e7a31b5fdc848ec4cdfdd24ad22818492cbe917122e2fbad4727466cc2
|
||||
|
Binary file not shown.
@ -1,240 +0,0 @@
|
||||
From ca0d487aac3b9cf21e520a00b94cb3eaf833b9a3 Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garnacho <carlosg@gnome.org>
|
||||
Date: Thu, 24 Dec 2020 12:19:49 +0100
|
||||
Subject: [PATCH 1/5] Obtain TrackerSparqlConnection in a single point
|
||||
|
||||
The is_available vmethod tries to create a connection if it's not
|
||||
there. But the BraseroSearchTracker initialization already tries to
|
||||
obtain the SPARQL connection. Let this method return wether
|
||||
initialiation was successful.
|
||||
---
|
||||
src/brasero-search-tracker.c | 6 ------
|
||||
1 file changed, 6 deletions(-)
|
||||
|
||||
diff --git a/src/brasero-search-tracker.c b/src/brasero-search-tracker.c
|
||||
index fe7be2bd..f8c29c0d 100644
|
||||
--- a/src/brasero-search-tracker.c
|
||||
+++ b/src/brasero-search-tracker.c
|
||||
@@ -56,12 +56,6 @@ brasero_search_tracker_is_available (BraseroSearchEngine *engine)
|
||||
BraseroSearchTrackerPrivate *priv;
|
||||
|
||||
priv = BRASERO_SEARCH_TRACKER_PRIVATE (engine);
|
||||
- GError *error = NULL;
|
||||
- if (priv->connection)
|
||||
- return TRUE;
|
||||
-
|
||||
- priv->cancellable = g_cancellable_new ();
|
||||
- priv->connection = tracker_sparql_connection_get (priv->cancellable, &error);
|
||||
return (priv->connection != NULL);
|
||||
}
|
||||
|
||||
--
|
||||
GitLab
|
||||
|
||||
|
||||
From c0dace005ec34b345845aacd1f929fd618b199af Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garnacho <carlosg@gnome.org>
|
||||
Date: Thu, 24 Dec 2020 12:37:13 +0100
|
||||
Subject: [PATCH 2/5] Fix ORDER BY clauses in Tracker search
|
||||
|
||||
The ?urn variable is not defined anywhere else in the query, so
|
||||
ordering is left undefined. Access the url/filename properly here.
|
||||
---
|
||||
src/brasero-search-tracker.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/brasero-search-tracker.c b/src/brasero-search-tracker.c
|
||||
index f8c29c0d..94085070 100644
|
||||
--- a/src/brasero-search-tracker.c
|
||||
+++ b/src/brasero-search-tracker.c
|
||||
@@ -307,7 +307,7 @@ brasero_search_tracker_query_start_real (BraseroSearchEngine *search,
|
||||
g_string_append (query, ")");
|
||||
|
||||
g_string_append (query,
|
||||
- "} ORDER BY DESC(nie:url(?urn)) DESC(nfo:fileName(?urn))");
|
||||
+ "} ORDER BY DESC(?url) DESC(nfo:fileName(?file))");
|
||||
|
||||
tracker_sparql_connection_query_async (priv->connection,
|
||||
query->str,
|
||||
--
|
||||
GitLab
|
||||
|
||||
|
||||
From f7181445bf9c88b7fab1bb5237d602b491694a9e Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garnacho <carlosg@gnome.org>
|
||||
Date: Thu, 24 Dec 2020 13:04:03 +0100
|
||||
Subject: [PATCH 3/5] Only use fts:rank with FTS searches
|
||||
|
||||
This fixes two things:
|
||||
- The use of fts:match depends on priv->keywords being set, but
|
||||
fts:rank() has undefined behavior if fts:match is not present.
|
||||
Its value is returned in the cursor, but fortunately unused,
|
||||
so it can go away.
|
||||
|
||||
- Fixes "garbage" being added at the end of the query, concretely
|
||||
") } ORDER BY ... " is appended at the supposed end of the query
|
||||
string. Older SPARQL parser implementations would allow garbage
|
||||
at the end of its parsing state, I suspect "LIMIT 0 OFFSET 10000"
|
||||
was just a mean to push it to that state that it'd allow the
|
||||
remaining string, so that is gone too.
|
||||
---
|
||||
src/brasero-search-tracker.c | 21 +++++++++------------
|
||||
1 file changed, 9 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/src/brasero-search-tracker.c b/src/brasero-search-tracker.c
|
||||
index 94085070..ae1d388a 100644
|
||||
--- a/src/brasero-search-tracker.c
|
||||
+++ b/src/brasero-search-tracker.c
|
||||
@@ -234,7 +234,7 @@ brasero_search_tracker_query_start_real (BraseroSearchEngine *search,
|
||||
|
||||
priv = BRASERO_SEARCH_TRACKER_PRIVATE (search);
|
||||
|
||||
- query = g_string_new ("SELECT ?file ?url ?mime fts:rank(?file) " /* Which variables should be returned */
|
||||
+ query = g_string_new ("SELECT ?file ?url ?mime " /* Which variables should be returned */
|
||||
"WHERE {" /* Start defining the search and its scope */
|
||||
" ?file a nfo:FileDataObject . " /* File must be a file (not a stream, ...) */
|
||||
" ?file nie:url ?url . " /* Get the url of the file */
|
||||
@@ -293,21 +293,18 @@ brasero_search_tracker_query_start_real (BraseroSearchEngine *search,
|
||||
" ) ");
|
||||
}
|
||||
|
||||
- if (priv->keywords)
|
||||
+ if (priv->keywords) {
|
||||
g_string_append_printf (query,
|
||||
" ?file fts:match \"%s\" ", /* File must match possible keywords */
|
||||
priv->keywords);
|
||||
|
||||
- g_string_append (query,
|
||||
- " } "
|
||||
- "ORDER BY ASC(fts:rank(?file)) "
|
||||
- "OFFSET 0 "
|
||||
- "LIMIT 10000");
|
||||
-
|
||||
- g_string_append (query, ")");
|
||||
-
|
||||
- g_string_append (query,
|
||||
- "} ORDER BY DESC(?url) DESC(nfo:fileName(?file))");
|
||||
+ g_string_append (query,
|
||||
+ " } "
|
||||
+ "ORDER BY ASC(fts:rank(?file))");
|
||||
+ } else {
|
||||
+ g_string_append (query,
|
||||
+ "} ORDER BY DESC(?url) DESC(nfo:fileName(?file))");
|
||||
+ }
|
||||
|
||||
tracker_sparql_connection_query_async (priv->connection,
|
||||
query->str,
|
||||
--
|
||||
GitLab
|
||||
|
||||
|
||||
From ede7758e2fae487d57be641a120c4c02bfd249f1 Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garnacho <carlosg@gnome.org>
|
||||
Date: Thu, 24 Dec 2020 13:15:21 +0100
|
||||
Subject: [PATCH 4/5] Observe nfo:FileDataObject/nie:InformationElement split
|
||||
|
||||
These resources are interpreted differently in Tracker 3.0 compared
|
||||
to older versions, the newer version makes those 2 different resources
|
||||
(one representing the "file", other the "content) that relate to each
|
||||
other. In older tracker versions, these 2 aspects were conflated in
|
||||
a single resource.
|
||||
|
||||
The query is implicitly crossing that barrier, so make it explicit.
|
||||
With this change, the query may run with either version.
|
||||
---
|
||||
src/brasero-search-tracker.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/brasero-search-tracker.c b/src/brasero-search-tracker.c
|
||||
index ae1d388a..9aa06289 100644
|
||||
--- a/src/brasero-search-tracker.c
|
||||
+++ b/src/brasero-search-tracker.c
|
||||
@@ -238,7 +238,8 @@ brasero_search_tracker_query_start_real (BraseroSearchEngine *search,
|
||||
"WHERE {" /* Start defining the search and its scope */
|
||||
" ?file a nfo:FileDataObject . " /* File must be a file (not a stream, ...) */
|
||||
" ?file nie:url ?url . " /* Get the url of the file */
|
||||
- " ?file nie:mimeType ?mime . "); /* Get its mime */
|
||||
+ " ?file nie:mimeType ?mime . " /* Get its mime */
|
||||
+ " ?content nie:isStoredAs ?file . "); /* Get the resource representing the content */
|
||||
|
||||
if (priv->mimes) {
|
||||
int i;
|
||||
@@ -259,7 +260,7 @@ brasero_search_tracker_query_start_real (BraseroSearchEngine *search,
|
||||
gboolean param_added = FALSE;
|
||||
|
||||
g_string_append (query,
|
||||
- " ?file a ?type . "
|
||||
+ " ?content a ?type . "
|
||||
" FILTER ( ");
|
||||
|
||||
if (priv->scope & BRASERO_SEARCH_SCOPE_MUSIC) {
|
||||
--
|
||||
GitLab
|
||||
|
||||
|
||||
From 05589be7da3a0dfb00617df049d129abba703c36 Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garnacho <carlosg@gnome.org>
|
||||
Date: Thu, 24 Dec 2020 13:22:43 +0100
|
||||
Subject: [PATCH 5/5] Support Tracker 3.0
|
||||
|
||||
Add the compile-time checks, and add the minimal code catering for
|
||||
the API changes. In 3.0 connections are no longer singletons.
|
||||
---
|
||||
configure.ac | 6 +++++-
|
||||
src/brasero-search-tracker.c | 8 ++++++++
|
||||
2 files changed, 13 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index d0c7a870..96afc551 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -388,7 +388,7 @@ AC_ARG_ENABLE(search,
|
||||
if test x"$enable_search" != "xno"; then
|
||||
# Try to figure out the tracker API version to use
|
||||
tracker_api="0.10"
|
||||
- m4_foreach([VERSION], [[0.10], [0.12], [0.14], [0.16], [0.18], [1.0], [2.0]],
|
||||
+ m4_foreach([VERSION], [[0.10], [0.12], [0.14], [0.16], [0.18], [1.0], [2.0], [3.0]],
|
||||
[PKG_CHECK_EXISTS([tracker-sparql-VERSION >= $TRACKER_REQUIRED],
|
||||
[tracker_api="VERSION"])
|
||||
])
|
||||
@@ -408,6 +408,10 @@ if test x"$enable_search" = "xyes"; then
|
||||
AC_SUBST(BRASERO_SEARCH_LIBS)
|
||||
build_tracker="yes"
|
||||
build_search="yes"
|
||||
+
|
||||
+ if test x"$tracker_api" = x"3.0"; then
|
||||
+ AC_DEFINE(HAVE_TRACKER3, 1, [define if tracker3 is available])
|
||||
+ fi
|
||||
else
|
||||
build_search="no"
|
||||
fi
|
||||
diff --git a/src/brasero-search-tracker.c b/src/brasero-search-tracker.c
|
||||
index 9aa06289..40c5f1ac 100644
|
||||
--- a/src/brasero-search-tracker.c
|
||||
+++ b/src/brasero-search-tracker.c
|
||||
@@ -17,6 +17,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
+#include "config.h"
|
||||
+
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <libtracker-sparql/tracker-sparql.h>
|
||||
@@ -444,7 +446,13 @@ brasero_search_tracker_init (BraseroSearchTracker *object)
|
||||
|
||||
priv = BRASERO_SEARCH_TRACKER_PRIVATE (object);
|
||||
priv->cancellable = g_cancellable_new ();
|
||||
+
|
||||
+#ifdef HAVE_TRACKER3
|
||||
+ priv->connection = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker3.Miner.Files",
|
||||
+ NULL, NULL, &error);
|
||||
+#else
|
||||
priv->connection = tracker_sparql_connection_get (priv->cancellable, &error);
|
||||
+#endif
|
||||
|
||||
if (error) {
|
||||
g_warning ("Could not establish a connection to Tracker: %s", error->message);
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST dolphin-plugins-21.08.3.tar.xz 254604 BLAKE2B 9a7a9c7a1cf82d458c1fd0bbce6b47c233b8a7a20bd1d1696bc75d6b04c8e4a9d6464025d8ad39b3bb96b8dd428fb880a5d318f7c0d13ef3bc8bf24a42c24169 SHA512 2fb7fbd6490d768f3eb7d756429d858337b8088a7c87836ed4a54fc3f863f50c4973bbe2ae149d53d2769d7ce3c31fbd737bc4afc74fd14260a158da83992076
|
||||
DIST dolphin-plugins-21.12.1.tar.xz 254672 BLAKE2B ab30e233774bd4d1bcd2446e19180235ba04248cf636f2c3dbe8b0e0c4a5756a35fbde78f429d2daf03cff969d47023395958305c94b3ab05e614f1e004347f8 SHA512 4fc0eb757cc32a881c0f764a09acc7aa1b8be302b8b74608121151a3ddb4cd3a2b299c0eb1fe5d7dcdf702cc331dd2bbda986bef079f9110a6fb0b9274ce397b
|
||||
DIST dolphin-plugins-21.12.2.tar.xz 254836 BLAKE2B 1f8cdfc133a0c7e9083c8ab9fbd0e6dec5221ca89c5bff37d14aa6e4e286c0046512875f1d45544e11bde71f7cdd5d756996eea56e9dba29888dbfad821eb2aa SHA512 44e93558802282f3a73aaac9443dcded8498499c4ab400dedb68572af4add007dcbae6424a99929da6c5ab03c7c125beee313fe4b14b5ee29147938418410dfc
|
||||
|
Binary file not shown.
@ -0,0 +1,208 @@
|
||||
https://gitlab.gnome.org/GNOME/gedit-plugins/-/merge_requests/27.patch
|
||||
https://bugs.gentoo.org/832315
|
||||
|
||||
From: Jan Beich <jbeich@FreeBSD.org>
|
||||
Date: Tue, 25 Jan 2022 12:10:06 +0000
|
||||
Subject: [PATCH] meson: drop unused argument for i18n.merge_file()
|
||||
|
||||
Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.
|
||||
|
||||
plugins/bookmarks/meson.build:43:0: ERROR: Function does not take positional arguments.
|
||||
plugins/bracketcompletion/meson.build:32:0: ERROR: Function does not take positional arguments.
|
||||
plugins/charmap/meson.build:28:0: ERROR: Function does not take positional arguments.
|
||||
plugins/codecomment/meson.build:32:0: ERROR: Function does not take positional arguments.
|
||||
plugins/colorpicker/meson.build:32:0: ERROR: Function does not take positional arguments.
|
||||
plugins/colorschemer/meson.build:41:0: ERROR: Function does not take positional arguments.
|
||||
plugins/commander/meson.build:37:0: ERROR: Function does not take positional arguments.
|
||||
plugins/drawspaces/meson.build:58:0: ERROR: Function does not take positional arguments.
|
||||
plugins/findinfiles/meson.build:64:0: ERROR: Function does not take positional arguments.
|
||||
plugins/git/meson.build:28:0: ERROR: Function does not take positional arguments.
|
||||
plugins/joinlines/meson.build:32:0: ERROR: Function does not take positional arguments.
|
||||
plugins/multiedit/meson.build:28:0: ERROR: Function does not take positional arguments.
|
||||
plugins/smartspaces/meson.build:36:0: ERROR: Function does not take positional arguments.
|
||||
plugins/synctex/meson.build:28:0: ERROR: Function does not take positional arguments.
|
||||
plugins/terminal/meson.build:40:0: ERROR: Function does not take positional arguments.
|
||||
plugins/textsize/meson.build:28:0: ERROR: Function does not take positional arguments.
|
||||
plugins/translate/meson.build:49:0: ERROR: Function does not take positional arguments.
|
||||
plugins/wordcompletion/meson.build:57:0: ERROR: Function does not take positional arguments.
|
||||
--- a/plugins/bookmarks/meson.build
|
||||
+++ b/plugins/bookmarks/meson.build
|
||||
@@ -41,7 +41,6 @@ bookmarks_plugin = custom_target(
|
||||
)
|
||||
|
||||
bookmarks_metainfo = i18n.merge_file(
|
||||
- 'gedit-bookmarks.metainfo.xml',
|
||||
input: 'gedit-bookmarks.metainfo.xml.in',
|
||||
output: 'gedit-bookmarks.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/bracketcompletion/meson.build
|
||||
+++ b/plugins/bracketcompletion/meson.build
|
||||
@@ -30,7 +30,6 @@ bracketcompletion_plugin = custom_target(
|
||||
)
|
||||
|
||||
bracketcompletion_metainfo = i18n.merge_file(
|
||||
- 'gedit-bracketcompletion.metainfo.xml',
|
||||
input: 'gedit-bracketcompletion.metainfo.xml.in',
|
||||
output: 'gedit-bracketcompletion.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/charmap/meson.build
|
||||
+++ b/plugins/charmap/meson.build
|
||||
@@ -26,7 +26,6 @@ charmap_plugin = custom_target(
|
||||
)
|
||||
|
||||
charmap_metainfo = i18n.merge_file(
|
||||
- 'gedit-charmap.metainfo.xml',
|
||||
input: 'gedit-charmap.metainfo.xml.in',
|
||||
output: 'gedit-charmap.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/codecomment/meson.build
|
||||
+++ b/plugins/codecomment/meson.build
|
||||
@@ -30,7 +30,6 @@ codecomment_plugin = custom_target(
|
||||
)
|
||||
|
||||
codecomment_metainfo = i18n.merge_file(
|
||||
- 'gedit-codecomment.metainfo.xml',
|
||||
input: 'gedit-codecomment.metainfo.xml.in',
|
||||
output: 'gedit-codecomment.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/colorpicker/meson.build
|
||||
+++ b/plugins/colorpicker/meson.build
|
||||
@@ -30,7 +30,6 @@ colorpicker_plugin = custom_target(
|
||||
)
|
||||
|
||||
colorpicker_metainfo = i18n.merge_file(
|
||||
- 'gedit-colorpicker.metainfo.xml',
|
||||
input: 'gedit-colorpicker.metainfo.xml.in',
|
||||
output: 'gedit-colorpicker.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/colorschemer/meson.build
|
||||
+++ b/plugins/colorschemer/meson.build
|
||||
@@ -39,7 +39,6 @@ colorschemer_plugin = custom_target(
|
||||
)
|
||||
|
||||
colorschemer_metainfo = i18n.merge_file(
|
||||
- 'gedit-colorschemer.metainfo.xml',
|
||||
input: 'gedit-colorschemer.metainfo.xml.in',
|
||||
output: 'gedit-colorschemer.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/commander/meson.build
|
||||
+++ b/plugins/commander/meson.build
|
||||
@@ -35,7 +35,6 @@ commander_plugin = custom_target(
|
||||
)
|
||||
|
||||
commander_metainfo = i18n.merge_file(
|
||||
- 'gedit-commander.metainfo.xml',
|
||||
input: 'gedit-commander.metainfo.xml.in',
|
||||
output: 'gedit-commander.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/drawspaces/meson.build
|
||||
+++ b/plugins/drawspaces/meson.build
|
||||
@@ -56,7 +56,6 @@ install_data(
|
||||
)
|
||||
|
||||
drawspaces_metainfo = i18n.merge_file(
|
||||
- 'gedit-drawspaces.metainfo.xml',
|
||||
input: 'gedit-drawspaces.metainfo.xml.in',
|
||||
output: 'gedit-drawspaces.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/findinfiles/meson.build
|
||||
+++ b/plugins/findinfiles/meson.build
|
||||
@@ -62,7 +62,6 @@ findinfiles_plugin = custom_target(
|
||||
)
|
||||
|
||||
findinfiles_metainfo = i18n.merge_file(
|
||||
- 'gedit-findinfiles.metainfo.xml',
|
||||
input: 'gedit-findinfiles.metainfo.xml.in',
|
||||
output: 'gedit-findinfiles.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/git/meson.build
|
||||
+++ b/plugins/git/meson.build
|
||||
@@ -26,7 +26,6 @@ git_plugin = custom_target(
|
||||
)
|
||||
|
||||
git_metainfo = i18n.merge_file(
|
||||
- 'gedit-git.metainfo.xml',
|
||||
input: 'gedit-git.metainfo.xml.in',
|
||||
output: 'gedit-git.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/joinlines/meson.build
|
||||
+++ b/plugins/joinlines/meson.build
|
||||
@@ -30,7 +30,6 @@ joinlines_plugin = custom_target(
|
||||
)
|
||||
|
||||
joinlines_metainfo = i18n.merge_file(
|
||||
- 'gedit-joinlines.metainfo.xml',
|
||||
input: 'gedit-joinlines.metainfo.xml.in',
|
||||
output: 'gedit-joinlines.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/multiedit/meson.build
|
||||
+++ b/plugins/multiedit/meson.build
|
||||
@@ -26,7 +26,6 @@ multiedit_plugin = custom_target(
|
||||
)
|
||||
|
||||
multiedit_metainfo = i18n.merge_file(
|
||||
- 'gedit-multiedit.metainfo.xml',
|
||||
input: 'gedit-multiedit.metainfo.xml.in',
|
||||
output: 'gedit-multiedit.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/smartspaces/meson.build
|
||||
+++ b/plugins/smartspaces/meson.build
|
||||
@@ -34,7 +34,6 @@ smartspaces_plugin = custom_target(
|
||||
)
|
||||
|
||||
smartspaces_metainfo = i18n.merge_file(
|
||||
- 'gedit-smartspaces.metainfo.xml',
|
||||
input: 'gedit-smartspaces.metainfo.xml.in',
|
||||
output: 'gedit-smartspaces.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/synctex/meson.build
|
||||
+++ b/plugins/synctex/meson.build
|
||||
@@ -26,7 +26,6 @@ synctex_plugin = custom_target(
|
||||
)
|
||||
|
||||
synctex_metainfo = i18n.merge_file(
|
||||
- 'gedit-synctex.metainfo.xml',
|
||||
input: 'gedit-synctex.metainfo.xml.in',
|
||||
output: 'gedit-synctex.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/terminal/meson.build
|
||||
+++ b/plugins/terminal/meson.build
|
||||
@@ -38,7 +38,6 @@ install_data(
|
||||
)
|
||||
|
||||
terminal_metainfo = i18n.merge_file(
|
||||
- 'gedit-terminal.metainfo.xml',
|
||||
input: 'gedit-terminal.metainfo.xml.in',
|
||||
output: 'gedit-terminal.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/textsize/meson.build
|
||||
+++ b/plugins/textsize/meson.build
|
||||
@@ -26,7 +26,6 @@ textsize_plugin = custom_target(
|
||||
)
|
||||
|
||||
textsize_metainfo = i18n.merge_file(
|
||||
- 'gedit-textsize.metainfo.xml',
|
||||
input: 'gedit-textsize.metainfo.xml.in',
|
||||
output: 'gedit-textsize.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/translate/meson.build
|
||||
+++ b/plugins/translate/meson.build
|
||||
@@ -47,7 +47,6 @@ install_data(
|
||||
)
|
||||
|
||||
translate_metainfo = i18n.merge_file(
|
||||
- 'gedit-translate.metainfo.xml',
|
||||
input: 'gedit-translate.metainfo.xml.in',
|
||||
output: 'gedit-translate.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
--- a/plugins/wordcompletion/meson.build
|
||||
+++ b/plugins/wordcompletion/meson.build
|
||||
@@ -55,7 +55,6 @@ install_data(
|
||||
)
|
||||
|
||||
wordcompletion_metainfo = i18n.merge_file(
|
||||
- 'gedit-wordcompletion.metainfo.xml',
|
||||
input: 'gedit-wordcompletion.metainfo.xml.in',
|
||||
output: 'gedit-wordcompletion.metainfo.xml',
|
||||
po_dir: join_paths(srcdir, 'po'),
|
||||
GitLab
|
Binary file not shown.
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
NEED_EMACS=24
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Use the Emacsclient as the \$EDITOR of child processes"
|
||||
HOMEPAGE="https://magit.vc/manual/with-editor"
|
||||
SRC_URI="https://github.com/magit/with-editor/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
S="${WORKDIR}/${P}/lisp"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
ELISP_TEXINFO="../docs/*.texi"
|
||||
DOCS="../README.md ../docs/with-editor.org"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
DEPEND="${DEPEND} sys-apps/texinfo"
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST libdsk-1.5.18.tar.gz 1295474 BLAKE2B 36dd2a0c5a53899b721dc46848c79a36b80ebb30d8210eacf7462d5785c607f00b69ca26ea4ec35bd3e03f5203043e6aa0687b2212672b274305e9f5aad8ce6e SHA512 5d845084f6c7791813be7c2afcd34a52cebb217ddcdafe1953fcbd55ce5b7df944e2b3abd253d2a7cd376e6e111f9d6f2e0b6474ceb84a5b5f4dcb5609922d4e
|
||||
DIST libdsk-1.5.8.tar.gz 1212684 BLAKE2B 52a2687d8ade0378096215d362df21b6eb477b3304910bb98c56264fb05bec6ad2d2b7254dd132fe50e60d5179b4875a1a91088f8ed93f68886054bf1df060f4 SHA512 6bb332dcd58b88272130a950ed686852f66a1e97030aaa280db3bc65a7f82513d57055c2cc3e653e1e06843c453e46a52ce280b45b42c0bb671d1e0f6d7c9520
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="LIBDSK is a library for accessing discs and disc image files"
|
||||
HOMEPAGE="https://www.seasip.info/Unix/LibDsk/"
|
||||
SRC_URI="https://www.seasip.info/Unix/LibDsk/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc"
|
||||
|
||||
#PATCHES=( "${FILESDIR}"/${P}-include-sysmacros.patch )
|
||||
DOCS=( doc/${PN}.{txt,pdf} )
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
@ -1,187 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CHECKREQS_DISK_BUILD="4G"
|
||||
ECM_HANDBOOK="forceoptional"
|
||||
ECM_TEST="forceoptional"
|
||||
KFMIN=5.74.0
|
||||
QTMIN=5.15.1
|
||||
inherit check-reqs ecm kde.org
|
||||
|
||||
DESCRIPTION="KDE Office Suite"
|
||||
HOMEPAGE="https://calligra.org/"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} == release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="amd64 ~ppc64 x86"
|
||||
fi
|
||||
|
||||
CAL_FTS=( karbon sheets stage words )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="5"
|
||||
IUSE="activities +charts +crypt +fontconfig gemini gsl +import-filter +lcms okular openexr
|
||||
+pdf phonon spacenav +truetype X $(printf 'calligra_features_%s ' ${CAL_FTS[@]})"
|
||||
|
||||
# TODO: Not packaged: Cauchy (https://bitbucket.org/cyrille/cauchy)
|
||||
# Required for the matlab/octave formula tool
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
"
|
||||
COMMON_DEPEND="
|
||||
dev-lang/perl
|
||||
>=dev-qt/designer-${QTMIN}:5
|
||||
>=dev-qt/qtdbus-${QTMIN}:5
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtnetwork-${QTMIN}:5
|
||||
>=dev-qt/qtprintsupport-${QTMIN}:5
|
||||
>=dev-qt/qtscript-${QTMIN}:5
|
||||
>=dev-qt/qtsvg-${QTMIN}:5
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=dev-qt/qtxml-${QTMIN}:5
|
||||
>=kde-frameworks/karchive-${KFMIN}:5
|
||||
>=kde-frameworks/kcmutils-${KFMIN}:5
|
||||
>=kde-frameworks/kcodecs-${KFMIN}:5
|
||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kdelibs4support-${KFMIN}:5
|
||||
>=kde-frameworks/kemoticons-${KFMIN}:5
|
||||
>=kde-frameworks/kglobalaccel-${KFMIN}:5
|
||||
>=kde-frameworks/kguiaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
||||
>=kde-frameworks/kio-${KFMIN}:5
|
||||
>=kde-frameworks/kitemmodels-${KFMIN}:5
|
||||
>=kde-frameworks/kitemviews-${KFMIN}:5
|
||||
>=kde-frameworks/kjobwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/knotifications-${KFMIN}:5
|
||||
>=kde-frameworks/knotifyconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kparts-${KFMIN}:5
|
||||
>=kde-frameworks/kross-${KFMIN}:5
|
||||
>=kde-frameworks/ktextwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kwallet-${KFMIN}:5
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kwindowsystem-${KFMIN}:5
|
||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
||||
>=kde-frameworks/sonnet-${KFMIN}:5
|
||||
sys-libs/zlib
|
||||
virtual/libiconv
|
||||
activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 )
|
||||
charts? ( dev-libs/kdiagram:5 )
|
||||
crypt? ( >=app-crypt/qca-2.3.0:2 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
gemini? ( >=dev-qt/qtdeclarative-${QTMIN}:5[widgets] )
|
||||
gsl? ( sci-libs/gsl:= )
|
||||
import-filter? (
|
||||
app-text/libetonyek
|
||||
app-text/libodfgen
|
||||
app-text/libwpd:*
|
||||
app-text/libwpg:*
|
||||
>=app-text/libwps-0.4
|
||||
dev-libs/librevenge
|
||||
media-libs/libvisio
|
||||
)
|
||||
lcms? (
|
||||
media-libs/ilmbase:=
|
||||
media-libs/lcms:2
|
||||
)
|
||||
okular? ( kde-apps/okular:5 )
|
||||
openexr? ( <media-libs/openexr-3.0.0:0= )
|
||||
pdf? ( app-text/poppler:=[qt5] )
|
||||
phonon? ( >=media-libs/phonon-4.11.0 )
|
||||
spacenav? ( dev-libs/libspnav )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
X? (
|
||||
>=dev-qt/qtx11extras-${QTMIN}:5
|
||||
x11-libs/libX11
|
||||
)
|
||||
calligra_features_sheets? ( dev-cpp/eigen:3 )
|
||||
calligra_features_words? ( dev-libs/libxslt )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-libs/boost
|
||||
test? ( >=kde-frameworks/threadweaver-${KFMIN}:5 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
calligra_features_karbon? ( media-gfx/pstoedit[plotutils] )
|
||||
gemini? (
|
||||
>=dev-qt/qtquickcontrols2-${QTMIN}:5
|
||||
>=kde-frameworks/kirigami-${KFMIN}:5
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.1.89-no-arch-detection.patch
|
||||
"${FILESDIR}"/${P}-cmake-3.16.patch # bug 796224
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
ecm_pkg_setup
|
||||
check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
ecm_src_prepare
|
||||
|
||||
# Unconditionally disable deprecated deps (required by QtQuick1)
|
||||
ecm_punt_bogus_dep Qt5 Declarative
|
||||
ecm_punt_bogus_dep Qt5 OpenGL
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local cal_ft myproducts
|
||||
|
||||
# applications
|
||||
for cal_ft in ${CAL_FTS[@]}; do
|
||||
use calligra_features_${cal_ft} && myproducts+=( "${cal_ft^^}" )
|
||||
done
|
||||
|
||||
use lcms && myproducts+=( PLUGIN_COLORENGINES )
|
||||
use okular && myproducts+=( OKULAR )
|
||||
use spacenav && myproducts+=( PLUGIN_SPACENAVIGATOR )
|
||||
|
||||
local mycmakeargs=(
|
||||
-DPACKAGERS_BUILD=OFF
|
||||
-DRELEASE_BUILD=ON
|
||||
-DWITH_Iconv=ON
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_KF5CalendarCore=ON
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_KF5KHtml=ON
|
||||
-DPRODUCTSET="${myproducts[*]}"
|
||||
$(cmake_use_find_package activities KF5Activities)
|
||||
$(cmake_use_find_package charts KChart)
|
||||
-DWITH_Qca-qt5=$(usex crypt)
|
||||
-DWITH_Fontconfig=$(usex fontconfig)
|
||||
$(cmake_use_find_package gemini Libgit2)
|
||||
$(cmake_use_find_package gemini Qt5QuickWidgets)
|
||||
-DWITH_GSL=$(usex gsl)
|
||||
-DWITH_LibEtonyek=$(usex import-filter)
|
||||
-DWITH_LibOdfGen=$(usex import-filter)
|
||||
-DWITH_LibRevenge=$(usex import-filter)
|
||||
-DWITH_LibVisio=$(usex import-filter)
|
||||
-DWITH_LibWpd=$(usex import-filter)
|
||||
-DWITH_LibWpg=$(usex import-filter)
|
||||
-DWITH_LibWps=$(usex import-filter)
|
||||
$(cmake_use_find_package phonon Phonon4Qt5)
|
||||
-DWITH_LCMS2=$(usex lcms)
|
||||
-DWITH_Okular5=$(usex okular)
|
||||
-DWITH_OpenEXR=$(usex openexr)
|
||||
-DWITH_Poppler=$(usex pdf)
|
||||
-DWITH_Eigen3=$(usex calligra_features_sheets)
|
||||
-DBUILD_UNMAINTAINED=$(usex calligra_features_stage)
|
||||
-DENABLE_CSTESTER_TESTING=$(usex test)
|
||||
-DWITH_Freetype=$(usex truetype)
|
||||
)
|
||||
|
||||
ecm_src_configure
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST libnumbertext-1.0.7.tar.xz 289764 BLAKE2B dc7a340dd1843ac77088fd31d4343b570bba0bd5758b939ad228d9d31a7f283ce9c11cf8a504e0c14464bfc6962911b7d1c075122d3efaa7014180a57d419248 SHA512 7755c713dd9b9b75e486eac7ffbfb418c3bdfefd67ecb149f0e25a339410814bf73296f69a4e009a17f9f21292f0eeafa931aef60596cd3d932dab47278de8c2
|
||||
DIST libnumbertext-1.0.8.tar.xz 292568 BLAKE2B d385f0bdb19013673190533a21305e12211e1427d59503a9b3c54bc1deda27f405dae347c4cc43161766a901ec14c9ea4b0eed17ba468eb0855ef1a6b0ec95c3 SHA512 b29e544eac25a0603ba7fc68744ac54a372402af32f4bbf52f2373b280efce2eb6831c803d0a10e1f674988839f4c123b8a120e2697bcfa2510d3852d856fe2d
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Number to number name and money text conversion libraries"
|
||||
HOMEPAGE="https://github.com/Numbertext/libnumbertext"
|
||||
SRC_URI="https://github.com/Numbertext/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-werror
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST po4a-0.63.tar.gz 4067940 BLAKE2B 4cfa4163c21f5f8b783a5bdc29595f10cd172f7813de5617ed67a25bef547697084511a6f3897c47acb9158f15b3fcd97600bec7e23ba560cffe7cc646ce4c39 SHA512 556859b73728249795df22676a3cde1cbf575c608ad20f267fe7a6ee224d0262db2db19df8b7369ebf1ab568c017548ff118ae035608cca7a4d0963db8acd633
|
||||
DIST po4a-0.64.tar.gz 4121565 BLAKE2B a579aabb4245501be4ec7c319e8cef91db2e10883a09ef5a7eaf2d97aad64e8e59f25101c20286c955067fef2f58bc08c9865d5d608dd72913a38eaaff0ac542 SHA512 3d51aaa5894365087523b82e218819ba8a92d3cbc1b389648526f26fbbf37ccaa7ed6643bb388e5fa73a7a1abadee2b4ee2ebbcac14790c56567bf1a3e766fb0
|
||||
DIST po4a-0.65.tar.gz 4152612 BLAKE2B 81d330f234cae10f228b5de7e8417f79d7008f827faf676a68c83b05044a2198c1c03f8d19d8bbbfdb71a83cb93abc319e7e6ac5ce57704294d0f3b858bb9b56 SHA512 eea2ddc1344d371ee685e73dc3c3b1b58d24f8bae7edbe7f2112bfead1c481c6796d02c5f7d9fc9bbac57bd93c4194ade51368bb8b29ba62aee333a7afa2e7e6
|
||||
DIST po4a-0.66.tar.gz 4240059 BLAKE2B 1d88665b8aa0d7f81854c97265f483934adc51503c2d33252d6ae08a00fddfa8aaa6e9c652f764ae46bf14fea3bcd1093f923fcbf08d96e97296954199e9b900 SHA512 f72e1267cbd6ced01ecc362c327b1634c47dff15398b48644548d28e01ba91108d5626e6d4abcfcb360697e4c0affa3228c6993653ce8f257acbbb3d7ae20fc4
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
PLOCALES="ace af ar ca cs da de eo es et eu fr hr hu id it ja kn ko nb nl pl pt pt_BR ru sl sr_Cyrl sv uk vi zh_CN zh_HK zh_Hant"
|
||||
|
||||
inherit perl-module plocale
|
||||
|
||||
DESCRIPTION="Tools to ease the translation of documentation"
|
||||
HOMEPAGE="https://po4a.org/"
|
||||
SRC_URI="https://github.com/mquinson/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-text/opensp
|
||||
dev-libs/libxslt
|
||||
dev-perl/Locale-gettext
|
||||
dev-perl/Pod-Parser
|
||||
dev-perl/SGMLSpm
|
||||
dev-perl/TermReadKey
|
||||
dev-perl/Text-WrapI18N
|
||||
dev-perl/Unicode-LineBreak
|
||||
dev-perl/YAML-Tiny
|
||||
sys-devel/gettext"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-perl/Module-Build
|
||||
sys-devel/gettext
|
||||
test? (
|
||||
app-text/docbook-sgml-dtd:4.1
|
||||
dev-perl/Test-Pod
|
||||
virtual/latex-base
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-man.patch )
|
||||
|
||||
DIST_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
plocale_find_changes "${S}/po/bin" '' '.po'
|
||||
|
||||
rm_locale() {
|
||||
PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
|
||||
}
|
||||
plocale_for_each_disabled_locale rm_locale
|
||||
|
||||
perl-module_src_prepare
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST gentoo-syntax-20211208.tar.bz2 18844 BLAKE2B 52e7025d46f5101f2e1c44afcbf3cba0756a1ec9c626f7af312bb5bbae518645c06c94bfc48822a721e2e3c1ed5f61376e88a074a9688cf4b5b3c352a99c87c9 SHA512 f1cfe2af440f7ed3042cbaa16558cb6df8038f439a2c3e7067f81751a37098854a3afb1653c7c3656ef85ad1874d2db9271429b92a25f494da6ee5c68819e631
|
||||
DIST gentoo-syntax-20220126.tar.bz2 19267 BLAKE2B c18f50e29f4aa75e4cc8d629b5086de3cef629b99454389bfe5eecbc61288e4344921360a2d64ea021be7f0269178e6348abf0d1481e0fc8b88e16a16fb73215 SHA512 bbedf2bf98eaf7b80abac2e6a66dcbba2f5024f1a4327535e5d956c4c034fa9be0395a36784a576caeaee81df27eb153687238388bfc2aeaf210498d8377c99d
|
||||
DIST gentoo-syntax-20220203.tar.bz2 19323 BLAKE2B e9947e6deefcb6974ef97c0ad2057b9d5052907a3f30ebce6d59cbf69a7555c1f1466eb896ffc669dcc8ddd8719037f5bca7ecac2a5d9f3a299710086ada95b3 SHA512 749943ed2edec9ac8285a88d551bc18ff386b23981d4aa233a4206688d2e3903804f5ea92a4476c6bfc04641c1fc4952c6c4980b5059df80cb6fbccc5469040c
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: Gentoo and Portage syntax highlighting"
|
||||
HOMEPAGE="https://github.com/gentoo/gentoo-syntax"
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/gentoo-syntax.git/snapshot/${P}.tar.bz2"
|
||||
|
||||
LICENSE="vim"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="ignore-glep31"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="gentoo-syntax"
|
||||
VIM_PLUGIN_MESSAGES="filetype"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if use ignore-glep31 ; then
|
||||
for f in ftplugin/*.vim ; do
|
||||
ebegin "Removing UTF-8 rules from ${f} ..."
|
||||
sed -i -e 's~\(setlocal fileencoding=utf-8\)~" \1~' ${f} \
|
||||
|| die "waah! bad sed voodoo. need more goats."
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
vim-plugin_pkg_postinst
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
if use ignore-glep31 1>/dev/null ; then
|
||||
ewarn "You have chosen to disable the rules which ensure GLEP 31"
|
||||
ewarn "compliance. When editing ebuilds, please make sure you get"
|
||||
ewarn "the character set correct."
|
||||
fi
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST msv-core-2013.6.1-sources.jar 1011944 BLAKE2B 474d8a45bc5f16ec76dbe853a835b66cd1d733973ffad0dd5e0a653d349f075e22a72d29d91da312a9a133218f4187ece15fd66b19dc34bc00cdea72b95a5929 SHA512 3985451ff52e50957fdc22ef598edcd7b02495b834a53a048018064d1a6063d4554a7cb5d7752c2d265b852d17c7a55787d9b1ec2b580988ad005fcbc9c6eb8a
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The Sun Multi-Schema XML Validator (MSV) is a Java technology tool
|
||||
to validate XML documents against several kinds of XML schemata.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PV="${PV:4:2}.${PV:6}"
|
||||
MY_PV="${PV:0:4}.${MY_PV//0}"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="net.java.dev.msv:msv-core:2013.6.1"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Multi-Schema XML Validator, a Java tool for validating XML documents"
|
||||
HOMEPAGE="https://msv.java.net/"
|
||||
SRC_URI="https://search.maven.org/remotecontent?filepath=net/java/dev/${PN}/${PN}-core/${MY_PV}/${PN}-core-${MY_PV}-sources.jar"
|
||||
|
||||
LICENSE="BSD Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/iso-relax:0
|
||||
dev-java/relaxng-datatype:0
|
||||
dev-java/xml-commons-resolver:0
|
||||
dev-java/xsdlib:0"
|
||||
|
||||
DEPEND="${CP_DEPEND}
|
||||
>=virtual/jdk-1.8:*"
|
||||
|
||||
RDEPEND="${CP_DEPEND}
|
||||
dev-java/xerces:2
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
JAVAC_ARGS="-XDignore.symbol.file"
|
||||
JAVA_SRC_DIR="."
|
||||
JAVA_RESOURCE_DIRS="res"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mkdir "res" || die
|
||||
cp -r "com" "res" || die
|
||||
|
||||
# The only resources to have are '*.properties'
|
||||
find res -type f ! -name '*.properties' -exec rm -rf {} + || die
|
||||
|
||||
sed -e '/resolver.tools.CatalogResolver/s/com.sun.org.apache.xml.internal/org.apache.xml/' \
|
||||
-i com/sun/msv/driver/textui/Driver.java || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
java-pkg_register-dependency xerces-2
|
||||
java-pkg_dolauncher "${PN}" --main com.sun.msv.driver.textui.Driver
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST stax2-api-4.2.1.tar.gz 128806 BLAKE2B 64254b0bbd269e5d62931280773e0e7e7915204ce41a86eb10a08e3d8d27691d48094e17a8deb0ca3fa916b413800d75969af05db1ba897277c0dae13771e3b4 SHA512 f6fada289e75db0c4c911d3f70e8b8167c96342390168c87563ab4e3e1498360d47c393407cd8ae670716fcb7e1c83d6a8d38364d00648ed380844cf08bdc063
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
stax2 API is an extension to basic Stax 1.0 API that adds significant new functionality, such as full-featured bi-direction validation interface and high-performance Typed Access API.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/FasterXML/stax2-api/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/FasterXML/stax2-api/archive/refs/tags/stax2-api-4.2.1.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild stax2-api-4.2.1.ebuild
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.codehaus.woodstox:stax2-api:4.2.1"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="istax2 API is an extension to basic Stax 1.0 API"
|
||||
HOMEPAGE="https://github.com/FasterXML/stax2-api"
|
||||
SRC_URI="https://github.com/FasterXML/${PN}/archive/refs/tags/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
DOCS=( README.md release-notes/VERSION )
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
JAVA_SRC_DIR=( "src/main/java" "src/moditect" )
|
||||
JAVA_RESOURCE_DIRS="src/main/resources"
|
||||
|
||||
src_install() {
|
||||
default # https://bugs.gentoo.org/789582
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST woodstox-core-6.2.7.tar.gz 5250524 BLAKE2B 3f5be53a459e8999cb53b3e89398bd94439815dd58cc30df7e1b71b9e98ef94b7704d04ae20401d39afff67210e423a4c5a148909a3a7ed750f7e0e24146c24a SHA512 0e2e11607c26d97509708523c4617d9e75fc529fbf5294b25deba5ca570797692e31e65621c77e7c4d9bdf0b3dee4b3c4fe0486a1e23d19dc41035d7d710668e
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/FasterXML/woodstox/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/FasterXML/woodstox/archive/refs/tags/woodstox-core-6.2.7.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild woodstox-core-6.2.7.ebuild
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="com.fasterxml.woodstox:woodstox-core:6.2.7"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="An XML processor that implements Stax (JSR-173), SAX2 and Stax2 APIs"
|
||||
HOMEPAGE="https://github.com/FasterXML/woodstox"
|
||||
SRC_URI="https://github.com/FasterXML/woodstox/archive/refs/tags/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
# Common dependencies
|
||||
# POM: pom.xml
|
||||
# net.java.dev.msv:msv-core:2013.6.1 -> !!!artifactId-not-found!!!
|
||||
# net.java.dev.msv:xsdlib:2013.6.1 -> >=dev-java/xsdlib-20090415:0
|
||||
# org.codehaus.woodstox:stax2-api:4.2.1 -> >=dev-java/stax2-api-4.2.1:0
|
||||
# relaxngDatatype:relaxngDatatype:20020414 -> !!!groupId-not-found!!!
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/msv:0
|
||||
dev-java/relaxng-datatype:0
|
||||
dev-java/stax2-api:0
|
||||
dev-java/xsdlib:0
|
||||
"
|
||||
|
||||
# Compile dependencies
|
||||
# POM: pom.xml
|
||||
# org.apache.felix:org.osgi.core:1.4.0 -> !!!groupId-not-found!!!
|
||||
# POM: pom.xml
|
||||
# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4
|
||||
|
||||
DEPEND="${CP_DEPEND}
|
||||
>=virtual/jdk-1.8:*
|
||||
dev-java/osgi-core-api:0"
|
||||
|
||||
RDEPEND="${CP_DEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
DOCS=( LICENSE {README,SECURITY}.md release-notes/{CREDITS,VERSION} )
|
||||
|
||||
S="${WORKDIR}/woodstox-${P}"
|
||||
|
||||
JAVA_CLASSPATH_EXTRA="osgi-core-api"
|
||||
JAVA_SRC_DIR=( "src/main/java" "src/moditect" )
|
||||
JAVA_RESOURCE_DIRS="src/main/resources"
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
JAVA_TEST_SRC_DIR="src/test/java"
|
||||
JAVA_TEST_RESOURCE_DIRS="src/test/resources"
|
||||
|
||||
JAVA_TEST_EXCLUDES=(
|
||||
# Upstream: Tests run: 864, Failures: 0, Errors: 0, Skipped: 0
|
||||
# "No tests found in ..."
|
||||
wstxtest.vstream.BaseValidationTest
|
||||
wstxtest.BaseWstxTest
|
||||
stax2.vstream.BaseStax2ValidationTest
|
||||
stax2.BaseStax2Test
|
||||
stax2.wstream.BaseWriterTest
|
||||
org.codehaus.stax.test.BaseStaxTest
|
||||
org.codehaus.stax.test.wstream.BaseWriterTest
|
||||
org.codehaus.stax.test.stream.BaseStreamTest
|
||||
# "... has no public constructor"
|
||||
wstxtest.stream.BaseStreamTest
|
||||
wstxtest.wstream.BaseWriterTest
|
||||
stax2.vwstream.BaseOutputTest
|
||||
org.codehaus.stax.test.vstream.BaseVStreamTest
|
||||
org.codehaus.stax.test.evt.BaseEventTest
|
||||
# Upstream does not run these:
|
||||
failing.TestBasicSax
|
||||
failing.TestExtLocationInfo91
|
||||
failing.TestRelaxNG
|
||||
failing.TestW3CDefaultValues
|
||||
failing.TestW3CDefaultValues
|
||||
failing.TestW3CSchemaComplexTypes
|
||||
failing.TestW3CSchemaTypes
|
||||
failing.TestW3CSchemaTypes
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
#rc/moditect/module-info.java:32: error: package com.ctc.wstx.shaded.msv.relaxng_datatype does not exist
|
||||
# provides com.ctc.wstx.shaded.msv.relaxng_datatype.DatatypeLibraryFactory with com.ctc.wstx.shaded.msv_core.datatype.xsd.ngimpl.DataTypeLibraryImpl;
|
||||
# ^
|
||||
#src/moditect/module-info.java:32: error: package com.ctc.wstx.shaded.msv_core.datatype.xsd.ngimpl does not exist
|
||||
# provides com.ctc.wstx.shaded.msv.relaxng_datatype.DatatypeLibraryFactory with com.ctc.wstx.shaded.msv_core.datatype.xsd.ngimpl.DataTypeLibraryImpl
|
||||
sed -e '/com.ctc.wstx.shaded.msv/d' \
|
||||
-e '/org.codehaus.stax2.validation/d' \
|
||||
-i "src/moditect/module-info.java" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default # https://bugs.gentoo.org/789582
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="xerces:xercesImpl:2.12.1"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_PN="xercesImpl"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Xerces Java XML parser"
|
||||
HOMEPAGE="https://xerces.apache.org/xerces2-j/index.html"
|
||||
SRC_URI="https://repo1.maven.org/maven2/xerces/${MY_PN}/${PV}/${MY_P}-sources.jar -> ${P}.jar"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
CDEPEND="dev-java/xml-commons-resolver:0"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-11:*"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-11:*"
|
||||
|
||||
JAVA_SRC_DIR="org"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="xml-commons-resolver"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm -rv "org/w3c" || die
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
# 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="xerces:xercesImpl:2.12.2"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Xerces Java XML parser"
|
||||
HOMEPAGE="https://xerces.apache.org/xerces2-j/index.html"
|
||||
SRC_URI="mirror://apache/xerces/j/source/Xerces-J-src.2.12.2.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/xml-commons-external:1.4
|
||||
dev-java/xml-commons-resolver:0"
|
||||
|
||||
# JDK 11+ already privides the following file and the compilation
|
||||
# fails if xerces provides it too. On contrary, compilation on 1.8
|
||||
# fails if we don't provide the file because it's not part of 1.8.
|
||||
# By restricting compilation to 1.8 and providing the file we build
|
||||
# a jar that should work both on 1.8 and also on the newer versions
|
||||
# of JDK.
|
||||
# the file: "org/w3c/dom/html/HTMLDOMImplementation.class"
|
||||
DEPEND="
|
||||
${CP_DEPEND}
|
||||
virtual/jdk:1.8"
|
||||
|
||||
RDEPEND="
|
||||
${CP_DEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
DOCS=( LICENSE NOTICE README {LICENSE.resolver,LICENSE.serializer,NOTICE.resolver,NOTICE.serializer}.txt )
|
||||
HTML_DOCS=( {LICENSE.DOM-documentation,LICENSE.DOM-software,LICENSE-SAX,Readme}.html )
|
||||
|
||||
S="${WORKDIR}/${P//./_}"
|
||||
|
||||
JAVA_SRC_DIR="src"
|
||||
JAVA_RESOURCE_DIRS="resources"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mkdir "${JAVA_RESOURCE_DIRS}" || die
|
||||
cp -r "${JAVA_SRC_DIR}/org" "${JAVA_RESOURCE_DIRS}" || die
|
||||
find "${JAVA_RESOURCE_DIRS}" -type f -name '*.java' -exec rm -rf {} + || die
|
||||
rm "${JAVA_RESOURCE_DIRS}"/org/apache/xerces/{dom/org.apache.xerces.dom.DOMImplementationSourceImpl,xs/datatypes/package.html,parsers/org*} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default # https://bugs.gentoo.org/789582
|
||||
java-pkg-simple_src_install
|
||||
}
|
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
https://github.com/boostorg/interprocess/commit/d002a0d929ecb031843d806c2bda69e013442e13
|
||||
https://bugs.gentoo.org/829147
|
||||
|
||||
From: Leonardo Neumann <leonardo@neumann.dev.br>
|
||||
Date: Mon, 13 Dec 2021 01:07:20 -0300
|
||||
Subject: [PATCH] Fix missing sys/stat.h include on musl-based systems
|
||||
|
||||
Boost 1.78.0 fails to build on musl-based systems because musl does
|
||||
not include sys/stat.h by default.
|
||||
|
||||
Fixes #161 ("Boost compiler error")
|
||||
--- a/boost/interprocess/permissions.hpp
|
||||
+++ b/boost/interprocess/permissions.hpp
|
||||
@@ -29,6 +29,10 @@
|
||||
|
||||
#include <boost/interprocess/detail/win32_api.hpp>
|
||||
|
||||
+#else
|
||||
+
|
||||
+#include <sys/stat.h>
|
||||
+
|
||||
#endif
|
||||
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit meson python-any-r1
|
||||
|
||||
DEBUGBREAK_COMMIT="6b79ec8d8f8d4603111f580a0537f8f31c484c32"
|
||||
KLIB_COMMIT="cdb7e9236dc47abf8da7ebd702cc6f7f21f0c502"
|
||||
NANOPB_COMMIT="c9124132a604047d0ef97a09c0e99cd9bed2c818"
|
||||
|
||||
MY_PV="$(ver_rs 3 -)"
|
||||
|
||||
DESCRIPTION="Cross platform unit testing framework for C and C++"
|
||||
HOMEPAGE="https://github.com/Snaipe/Criterion"
|
||||
SRC_URI="https://github.com/Snaipe/Criterion/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/scottt/debugbreak/archive/${DEBUGBREAK_COMMIT}.tar.gz -> debugbreak-${DEBUGBREAK_COMMIT}.tar.gz
|
||||
https://github.com/attractivechaos/klib/archive/${KLIB_COMMIT}.tar.gz -> klib-${KLIB_COMMIT}.tar.gz
|
||||
https://github.com/nanopb/nanopb/archive/${NANOPB_COMMIT}.tar.gz -> nanopb-${NANOPB_COMMIT}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 MIT ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-libs/nanomsg:=
|
||||
dev-libs/libgit2:=
|
||||
dev-libs/libffi:="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boxfort
|
||||
test? (
|
||||
$(python_gen_any_dep 'dev-util/cram[${PYTHON_USEDEP}]')
|
||||
)"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/Criterion-${MY_PV}"
|
||||
|
||||
python_check_deps() {
|
||||
has_version "dev-util/cram[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm -r dependencies/{debugbreak,klib} || die
|
||||
mv "${WORKDIR}/debugbreak-${DEBUGBREAK_COMMIT}" dependencies/debugbreak || die
|
||||
mv "${WORKDIR}/klib-${KLIB_COMMIT}" dependencies/klib || die
|
||||
mv "${WORKDIR}/nanopb-${NANOPB_COMMIT}" subprojects/nanopb || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dsamples=$(usex test true false)
|
||||
-Dtests=$(usex test true false)
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST expat-2.4.3.tar.xz 451012 BLAKE2B 4c0200837ea0054a88d2a2606486482f234e4b4f6b5f16134bf2a4b7b61457b12d534c6be3f16d28f6926f896d00177ef53a947a0a6c3ad11ff024a8e76edf84 SHA512 62a7fe751f6846deec4b04fd2c2ca8ed9e139fa27cda0e3fe7f8f05107caaed70597aed17b45c49d30a60c8a0c6beae1317dd5f24240640310951aabb16dbcb7
|
||||
DIST expat-2.4.4.tar.xz 449448 BLAKE2B 20b2cfb27746c24e56580478c933b3ca9e9ff19aed13561bc07e8ad879daff575882b8940fdca00f8c99b146067438a4a680238728098b10e4d08303ffa00119 SHA512 c88a82f4732e27340eb9480c082bcc909b0284e16b368ee9feeb4e2dd058e8f7c42fd48feacd5272cc76cb78bd183df33eb5d0b135fdd1d3c493cb156572ab76
|
||||
|
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
AUTOTOOLS_AUTO_DEPEND=no
|
||||
AT_NOEAUTOHEADER=yes # because expat_config.h.in would need post-processing
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="Stream-oriented XML parser library"
|
||||
HOMEPAGE="https://libexpat.github.io/"
|
||||
SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/expat-${PV}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="examples static-libs unicode"
|
||||
BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# fix interpreter to be a recent/good shell
|
||||
sed -i -e "1s:/bin/sh:${BASH}:" conftools/get-version.sh || die
|
||||
if use unicode; then
|
||||
cp -R "${S}" "${S}"w || die
|
||||
pushd "${S}"w >/dev/null
|
||||
find -name Makefile.am \
|
||||
-exec sed \
|
||||
-e 's,libexpat\.la,libexpatw.la,' \
|
||||
-e 's,libexpat_la,libexpatw_la,' \
|
||||
-i {} + || die
|
||||
eautoreconf
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf="$(use_enable static-libs static) --without-docbook"
|
||||
|
||||
mkdir -p "${BUILD_DIR}"w || die
|
||||
|
||||
if use unicode; then
|
||||
pushd "${BUILD_DIR}"w >/dev/null
|
||||
CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}"w econf ${myconf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
ECONF_SOURCE="${S}" econf ${myconf}
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake
|
||||
|
||||
if use unicode; then
|
||||
pushd "${BUILD_DIR}"w >/dev/null
|
||||
emake -C lib
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
if use unicode; then
|
||||
pushd "${BUILD_DIR}"w >/dev/null
|
||||
emake -C lib install DESTDIR="${D}"
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
|
||||
cp expat.pc expatw.pc
|
||||
sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
doman doc/xmlwf.1
|
||||
|
||||
# Note: Use of HTML_DOCS would add unwanted "doc" subfolder
|
||||
docinto html
|
||||
dodoc doc/*.{css,html}
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/*.c
|
||||
docompress -x usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST kopeninghours-21.08.3.tar.xz 65904 BLAKE2B 88169a5881a49fbb6728d706585d2e2d4c88d2eb66360917c1d0cef0cb7239de378d69afc1970f038e9c52756fe6097d5e423577a29e77c071e0b5ad54b7c6c2 SHA512 9fe8181b4c4e9427a6eba133a51b119e86378933ebf5bdbfe5a78c711837ccdbaa8baa04cb10e234febe7596c7e7e515dda8e09f8568bd785b0a3e061f6d8bcf
|
||||
DIST kopeninghours-21.12.1.tar.xz 68732 BLAKE2B a6de2313bf75d1067fb69830e185f975723b9ee314f2bd8e502f28f8a39f4878202b9f9c7a11164dbe9b05b5696f8876fe156b8218ce20808a52991a135ac360 SHA512 8970816f0f679a4d7a0f756e6dea08605d142c5590b9178d6e8468c377b8bb71f39786d3cf7db71b7a2ff0bfe4d3e042722bde41ae09395beb9b45225cc9cb8f
|
||||
DIST kopeninghours-21.12.2.tar.xz 68732 BLAKE2B 22407bd9c1f0e6bc3c875537b7326df65864fc1071ba87ea0d1a37165b5179d49bbfe579197c11ae7b61067b3a7f173f75c829dcf58a3cdb761878179049fd3d SHA512 1b70ee85588bbbd90643571db2df4eda46977b784ab69ac1a6fea870a4e6869d674587c9e738e7ade709c7795b92e8704c8a0ed22392e68ad49946ebb0888fbe
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST kosmindoormap-21.08.3.tar.xz 342772 BLAKE2B e30c0645105627b304162187ac9c84e8ebef0bbf5db17b28c1239428ec982eed526a7f29f7e543d1c1fb660d90d641358c1d0e8b1c6d6c40c5b11e471b25be52 SHA512 3a2337b433c25c16f2e69ab1a42e9324e8e176eaf85094a08d95a542af479e65637544a8486d481a3fe811e5c90aee1bcf803d92f3225db7c53c75840247e642
|
||||
DIST kosmindoormap-21.12.1.tar.xz 351084 BLAKE2B be7445e3163d506a17502dc69d71f43df1a260c5f0afd1f5ce82d2cc40a5f7b9c7cd82db1a53b03bf53354292ae2dfa17038ca106ce5ca8bf3cd208f92d78484 SHA512 bea94bc11af528b1f82dcbf12a2c04ecb3c123634e3ccf02209e3e73dea60ae44d53e17a10c0f3a485fc94c1982bdf4bcbdea0760d4d16e748a8c2d75b12c8ca
|
||||
DIST kosmindoormap-21.12.2.tar.xz 351192 BLAKE2B ffa32664ef73eef2ddf95ff6590f0164a601ac3acc4bd9349ffaab817c7babe0c3753c50893d35862c63a5e34e8a11458696b5ce38171c56d9910eef9e8e3a9f SHA512 8b4a98ba468e7c7578a52afb90077efb1406c39ed982a82368fd3c5f9f2835e39ecc5477dfba92fd94fdbc44150982be30b5c0abd5adc9672c45d3916875d577
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue