diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-util/mdds | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-util/mdds')
| -rw-r--r-- | dev-util/mdds/Manifest | 2 | ||||
| -rw-r--r-- | dev-util/mdds/files/mdds-1.5.0-buildsystem.patch | 39 | ||||
| -rw-r--r-- | dev-util/mdds/files/mdds-2.1.1-include.patch | 24 | ||||
| -rw-r--r-- | dev-util/mdds/files/mdds-3.0.0-buildsystem.patch | 41 | ||||
| -rw-r--r-- | dev-util/mdds/files/mdds-3.0.0-include.patch | 19 | ||||
| -rw-r--r-- | dev-util/mdds/mdds-2.1.1-r1.ebuild | 62 | ||||
| -rw-r--r-- | dev-util/mdds/mdds-3.0.0.ebuild | 64 | ||||
| -rw-r--r-- | dev-util/mdds/mdds-9999.ebuild | 63 | ||||
| -rw-r--r-- | dev-util/mdds/metadata.xml | 9 |
9 files changed, 323 insertions, 0 deletions
diff --git a/dev-util/mdds/Manifest b/dev-util/mdds/Manifest new file mode 100644 index 000000000000..8ddfc863847c --- /dev/null +++ b/dev-util/mdds/Manifest @@ -0,0 +1,2 @@ +DIST mdds-2.1.1.tar.xz 540732 BLAKE2B d549bf5c39db6b8ec738cca2833545fef48ffd0b603c2c97dd425ae89bd5368a6981fb75bd4cbf90c9cf09efc7116a4e485c843bb2200fc198d23a02dbdd6559 SHA512 5fe345e7d84d2e290a519d65b27332f69001c01da961c05a30abfe2a17cb8545822490bcd63b320d49e1b26291a4a898f77495951919aece83208133027848ea +DIST mdds-3.0.0.tar.xz 635852 BLAKE2B 67a10991409d92dfbae97242dcf0925936587f037b496bd3448b8f7c8fe5e1a5574fc29d7b89342750cb50dce3ce6eee1da9ce628987a3d2ad9260a23a904061 SHA512 c6b6be808a6b4a44ce41bf7e28cfe8c5bd3c5ede70dab808d1361b61ee51604750c5d47c46bf3e9bbdce6260311f4e5845afad158d2d1b3d9c349beae9611491 diff --git a/dev-util/mdds/files/mdds-1.5.0-buildsystem.patch b/dev-util/mdds/files/mdds-1.5.0-buildsystem.patch new file mode 100644 index 000000000000..113581a8de63 --- /dev/null +++ b/dev-util/mdds/files/mdds-1.5.0-buildsystem.patch @@ -0,0 +1,39 @@ +# Nils Freydank <holgersson@posteo.de> (2020-01-08) +Avoid auto installation of files we install later manually. +Adopted from asturm's patch for mdds-1.4.3. + +--- a/Makefile.am 2020-02-08 20:00:00.000000000 +0100 ++++ b/Makefile.am 2020-02-08 20:00:00.000000001 +0100 +@@ -4,7 +4,6 @@ + + AM_CPPFLAGS = -I$(top_srcdir)/include $(CXXFLAGS_UNITTESTS) + +-dist_doc_DATA = AUTHORS README.md + nodist_pkgconf_DATA = misc/mdds-@API_VERSION@.pc + + DISTCLEANFILES = \ +@@ -14,8 +13,6 @@ + + EXTRA_DIST = \ + autogen.sh \ +- CHANGELOG \ +- LICENSE \ + doc/conf.py \ + doc/doxygen.conf \ + doc/flat_segment_tree.rst \ +@@ -164,14 +161,6 @@ + rtree_test_bulkload_mem.mem + endif + +-install-data-local: +- $(MKDIR_P) $(DESTDIR)$(docdir) +- $(INSTALL_DATA) $(top_srcdir)/LICENSE $(DESTDIR)$(docdir)/COPYING +- $(INSTALL_DATA) $(top_srcdir)/CHANGELOG $(DESTDIR)$(docdir)/NEWS +- +-uninstall-local: +- rm -f $(DESTDIR)$(docdir)/COPYING $(DESTDIR)$(docdir)/NEWS +- + if BUILD_DOCS + html-local: + (cd doc && $(DOXYGEN) doxygen.conf) + diff --git a/dev-util/mdds/files/mdds-2.1.1-include.patch b/dev-util/mdds/files/mdds-2.1.1-include.patch new file mode 100644 index 000000000000..caa6d9c8cf63 --- /dev/null +++ b/dev-util/mdds/files/mdds-2.1.1-include.patch @@ -0,0 +1,24 @@ +diff --git a/include/mdds/trie_map.hpp b/include/mdds/trie_map.hpp +index c0fe6a0..d5b6dd5 100644 +--- a/include/mdds/trie_map.hpp ++++ b/include/mdds/trie_map.hpp +@@ -31,6 +31,7 @@ + + #include "trie_map_itr.hpp" + ++#include <cstdint> + #include <vector> + #include <string> + #include <deque> +diff --git a/include/mdds/trie_map_itr.hpp b/include/mdds/trie_map_itr.hpp +index cc993fb..bac5615 100644 +--- a/include/mdds/trie_map_itr.hpp ++++ b/include/mdds/trie_map_itr.hpp +@@ -28,6 +28,7 @@ + #ifndef INCLUDED_MDDS_TRIE_MAP_ITR_HPP + #define INCLUDED_MDDS_TRIE_MAP_ITR_HPP + ++#include <cstdint> + #include <utility> + #include <cassert> + #include <iostream> diff --git a/dev-util/mdds/files/mdds-3.0.0-buildsystem.patch b/dev-util/mdds/files/mdds-3.0.0-buildsystem.patch new file mode 100644 index 000000000000..ce4816d94dc7 --- /dev/null +++ b/dev-util/mdds/files/mdds-3.0.0-buildsystem.patch @@ -0,0 +1,41 @@ +# Nils Freydank <holgersson@posteo.de> (2020-01-08) +Avoid auto installation of files we install later manually. +Adopted from asturm's patch for mdds-1.4.3. + +diff --git a/Makefile.am b/Makefile.am +index 9b69455b..010c7826 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -7,7 +7,6 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/test/include \ + $(CXXFLAGS_UNITTESTS) + +-dist_doc_DATA = AUTHORS README.md + nodist_pkgconf_DATA = misc/mdds-@API_VERSION@.pc + + DISTCLEANFILES = \ +@@ -15,8 +14,6 @@ DISTCLEANFILES = \ + + EXTRA_DIST = \ + autogen.sh \ +- CHANGELOG \ +- LICENSE \ + doc/_static/images/fst-example1-initial.svg \ + doc/_static/images/fst-example1-insert1.svg \ + doc/_static/images/fst-example1-insert2.svg \ +@@ -95,14 +92,6 @@ EXTRA_DIST = \ + misc/sorted_string_data.dat \ + misc/sorted_string_map_perf.cpp + +-install-data-local: +- $(MKDIR_P) $(DESTDIR)$(docdir) +- $(INSTALL_DATA) $(top_srcdir)/LICENSE $(DESTDIR)$(docdir)/COPYING +- $(INSTALL_DATA) $(top_srcdir)/CHANGELOG $(DESTDIR)$(docdir)/NEWS +- +-uninstall-local: +- rm -f $(DESTDIR)$(docdir)/COPYING $(DESTDIR)$(docdir)/NEWS +- + if BUILD_DOCS + + doc-doxygen: + diff --git a/dev-util/mdds/files/mdds-3.0.0-include.patch b/dev-util/mdds/files/mdds-3.0.0-include.patch new file mode 100644 index 000000000000..6bd5477d08ad --- /dev/null +++ b/dev-util/mdds/files/mdds-3.0.0-include.patch @@ -0,0 +1,19 @@ +https://gitlab.com/mdds/mdds/-/commit/7c414ddc0bd2fae590cc09944579e90d822d9e0b + +From 7c414ddc0bd2fae590cc09944579e90d822d9e0b Mon Sep 17 00:00:00 2001 +From: Gwyn Ciesla <gwync@protonmail.com> +Date: Tue, 28 Jan 2025 13:33:22 -0600 +Subject: [PATCH] Fix build with most recent gcc/glibc + +--- a/include/mdds/trie_map.hpp ++++ b/include/mdds/trie_map.hpp +@@ -37,6 +37,7 @@ + #include <map> + #include <memory> + #include <limits> ++#include <cstdint> + + namespace mdds { + +-- +GitLab diff --git a/dev-util/mdds/mdds-2.1.1-r1.ebuild b/dev-util/mdds/mdds-2.1.1-r1.ebuild new file mode 100644 index 000000000000..187e54a92450 --- /dev/null +++ b/dev-util/mdds/mdds-2.1.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git" + inherit git-r3 +else + SRC_URI="https://kohei.us/files/${PN}/src/${P}.tar.xz" + KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86" +fi +inherit autotools toolchain-funcs + +DESCRIPTION="Collection of multi-dimensional data structure and indexing algorithm" +HOMEPAGE="https://gitlab.com/mdds/mdds" + +LICENSE="MIT" +SLOT="1/2.1" # Check API version on version bumps! +IUSE="doc openmp test" +RESTRICT="!test? ( test )" + +DEPEND="dev-libs/boost:=" +RDEPEND="${DEPEND}" +BDEPEND=" + doc? ( + app-text/doxygen + dev-python/sphinx + ) + test? ( dev-util/dejagnu ) +" + +PATCHES=( + "${FILESDIR}/${PN}-1.5.0-buildsystem.patch" + "${FILESDIR}/${PN}-2.1.1-include.patch" +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable doc docs) + $(use_enable openmp) + ) + econf "${myeconfargs[@]}" +} + +src_test() { + tc-export CXX + default +} diff --git a/dev-util/mdds/mdds-3.0.0.ebuild b/dev-util/mdds/mdds-3.0.0.ebuild new file mode 100644 index 000000000000..18a3b79c0077 --- /dev/null +++ b/dev-util/mdds/mdds-3.0.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git" + inherit git-r3 +else + # For 3.0.0, it mysteriously redirects to 2.0.0 + #SRC_URI="https://kohei.us/files/${PN}/src/${P}.tar.xz" + SRC_URI="https://gitlab.com/api/v4/projects/mdds%2Fmdds/packages/generic/source/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi +inherit autotools toolchain-funcs + +DESCRIPTION="Collection of multi-dimensional data structure and indexing algorithm" +HOMEPAGE="https://gitlab.com/mdds/mdds" + +LICENSE="MIT" +SLOT="1/3.0" # Check API version on version bumps! +IUSE="doc openmp test" +RESTRICT="!test? ( test )" + +DEPEND="dev-libs/boost:=" +RDEPEND="${DEPEND}" +BDEPEND=" + doc? ( + app-text/doxygen + dev-python/sphinx + ) + test? ( dev-util/dejagnu ) +" + +PATCHES=( + "${FILESDIR}/${PN}-3.0.0-buildsystem.patch" + "${FILESDIR}/${P}-include.patch" +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable doc docs) + $(use_enable openmp) + ) + econf "${myeconfargs[@]}" +} + +src_test() { + tc-export CXX + default +} diff --git a/dev-util/mdds/mdds-9999.ebuild b/dev-util/mdds/mdds-9999.ebuild new file mode 100644 index 000000000000..3a39cabf933a --- /dev/null +++ b/dev-util/mdds/mdds-9999.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git" + inherit git-r3 +else + # For 3.0.0, it mysteriously redirects to 2.0.0 + #SRC_URI="https://kohei.us/files/${PN}/src/${P}.tar.xz" + SRC_URI="https://gitlab.com/api/v4/projects/mdds%2Fmdds/packages/generic/source/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi +inherit autotools toolchain-funcs + +DESCRIPTION="Collection of multi-dimensional data structure and indexing algorithm" +HOMEPAGE="https://gitlab.com/mdds/mdds" + +LICENSE="MIT" +SLOT="1/3.0" # Check API version on version bumps! +IUSE="doc openmp test" +RESTRICT="!test? ( test )" + +DEPEND="dev-libs/boost:=" +RDEPEND="${DEPEND}" +BDEPEND=" + doc? ( + app-text/doxygen + dev-python/sphinx + ) + test? ( dev-util/dejagnu ) +" + +PATCHES=( + "${FILESDIR}/${PN}-3.0.0-buildsystem.patch" +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable doc docs) + $(use_enable openmp) + ) + econf "${myeconfargs[@]}" +} + +src_test() { + tc-export CXX + default +} diff --git a/dev-util/mdds/metadata.xml b/dev-util/mdds/metadata.xml new file mode 100644 index 000000000000..18c88c7bba09 --- /dev/null +++ b/dev-util/mdds/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>office@gentoo.org</email> + <name>Gentoo Office project</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
