summaryrefslogtreecommitdiff
path: root/x11-misc/shared-mime-info
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /x11-misc/shared-mime-info
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'x11-misc/shared-mime-info')
-rw-r--r--x11-misc/shared-mime-info/Manifest2
-rw-r--r--x11-misc/shared-mime-info/files/shared-mime-info-2.4-libxml2.12.patch20
-rw-r--r--x11-misc/shared-mime-info/metadata.xml10
-rw-r--r--x11-misc/shared-mime-info/shared-mime-info-2.4-r2.ebuild98
-rw-r--r--x11-misc/shared-mime-info/shared-mime-info-2.4-r3.ebuild105
5 files changed, 0 insertions, 235 deletions
diff --git a/x11-misc/shared-mime-info/Manifest b/x11-misc/shared-mime-info/Manifest
deleted file mode 100644
index b27afce55914..000000000000
--- a/x11-misc/shared-mime-info/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST shared-mime-info-2.4.tar.bz2 7096347 BLAKE2B 25ff086e4962f5ab0cb2b7155df02be4af7af63dd0267500b2b12b802680bbae04b9ed252ef5a004d0175f6b48956c5e4b9738af9ab5d2fa76a7a0b6eac067ad SHA512 712f414e80919bf2a0f5083ced44c54a350948a526850466a6e9f35365dcfd97fad8bcdbb29945de2715a8f9b70a108e931c8500209a4d6e3dddf97af02771cb
-DIST xdgmime-179296748e92bd91bf531656632a1056307fb7b7.tar.bz2 28123 BLAKE2B ea107dba0819027e4a0a486db00e76f50a4e32e8e84f366b81490e213456e2c7e1c4a92cc4f92173dd6f94f257455bdcb77e3eb7d0ce8fb699c948d2d5b01f0d SHA512 efccff2672efb3ff0e44e83cfbaf6e2b926146e4a9d6132b14e2d7a88d602af340b3948793306ce5f720ac8b09e5d37d3b356a0cc269e8240b382558c9a3cf10
diff --git a/x11-misc/shared-mime-info/files/shared-mime-info-2.4-libxml2.12.patch b/x11-misc/shared-mime-info/files/shared-mime-info-2.4-libxml2.12.patch
deleted file mode 100644
index 22d2349053f5..000000000000
--- a/x11-misc/shared-mime-info/files/shared-mime-info-2.4-libxml2.12.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-https://bugs.gentoo.org/917561
-https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/219
-https://gitlab.freedesktop.org/xdg/shared-mime-info/-/commit/c918fe77e255150938e83a6aec259f153d303573
-
-From c918fe77e255150938e83a6aec259f153d303573 Mon Sep 17 00:00:00 2001
-From: David Faure <faure@kde.org>
-Date: Sun, 19 Nov 2023 11:18:11 +0100
-Subject: [PATCH] Fix build with libxml2-2.12.0 and clang-17
-
-Fixes #219
---- a/src/test-subclassing.c
-+++ b/src/test-subclassing.c
-@@ -1,4 +1,5 @@
- #include <libxml/tree.h>
-+#include <libxml/parser.h>
- #include <stdio.h>
- #include <string.h>
-
---
-GitLab
diff --git a/x11-misc/shared-mime-info/metadata.xml b/x11-misc/shared-mime-info/metadata.xml
deleted file mode 100644
index b133711a480e..000000000000
--- a/x11-misc/shared-mime-info/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>freedesktop-bugs@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="freedesktop-gitlab">xdg/shared-mime-info</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/x11-misc/shared-mime-info/shared-mime-info-2.4-r2.ebuild b/x11-misc/shared-mime-info/shared-mime-info-2.4-r2.ebuild
deleted file mode 100644
index cb2ef9cedc2a..000000000000
--- a/x11-misc/shared-mime-info/shared-mime-info-2.4-r2.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson xdg-utils
-
-# xdgmime is used for tests but doesn't make releases nowadays; do what
-# Fedora does and use a snapshot so we can run the test suite.
-MY_XDGMIME_COMMIT="179296748e92bd91bf531656632a1056307fb7b7"
-DESCRIPTION="The Shared MIME-info Database specification"
-HOMEPAGE="https://gitlab.freedesktop.org/xdg/shared-mime-info"
-SRC_URI="https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/${PV}/${P}.tar.bz2"
-SRC_URI+=" test? ( https://gitlab.freedesktop.org/xdg/xdgmime/-/archive/${MY_XDGMIME_COMMIT}/xdgmime-${MY_XDGMIME_COMMIT}.tar.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.1.2
- app-text/xmlto
- sys-devel/gettext
- virtual/pkgconfig
-"
-RDEPEND="
- dev-libs/glib:2
- dev-libs/libxml2:=
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( HACKING.md NEWS README.md )
-
-PATCHES=(
- "${FILESDIR}"/${P}-libxml2.12.patch
-)
-
-src_prepare() {
- default
-
- if use test ; then
- # Drop empty dir (it's a submodule in upstream git repo)
- rm -r "${S}"/xdgmime || die
- # Lead Meson to our snapshot
- mkdir "${WORKDIR}"/xdgmime_build || die
- ln -s "${WORKDIR}"/xdgmime_build xdgmime || die
- # Don't break parallel make
- #sed -i -e 's:make:$(MAKE):' xdgmime/Makefile || die
- fi
-}
-
-src_configure() {
- # We have to trick Meson into thinking it's there now so that
- # we can run meson then emake to build xdgmime later, rather than
- # building before running meson which would mean doing something
- # unexpected in src_configure.
- if use test ; then
- # Paths from https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/master/meson.build#L29
- mkdir xdgmime/src || die
- touch xdgmime/src/{print,test}-mime{,-data} || die
- chmod +x xdgmime/src/{print,test}-mime{,-data} || die
-
- BUILD_DIR="${WORKDIR}"/xdgmime_build EMESON_SOURCE="${WORKDIR}"/xdgmime-${MY_XDGMIME_COMMIT} meson_src_configure
- fi
-
- local emesonargs=(
- -Dbuild-tools=true
- -Dupdate-mimedb=false
- $(meson_use test build-tests)
- )
-
- meson_src_configure
-}
-
-src_compile() {
- if use test ; then
- meson_src_compile -C "${WORKDIR}"/xdgmime_build
- fi
-
- meson_src_compile
-}
-
-src_install() {
- meson_src_install
-
- # in prefix, install an env.d entry such that prefix patch is used/added
- if use prefix; then
- echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo || die
- doenvd "${T}"/50mimeinfo
- fi
-}
-
-pkg_postinst() {
- use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share
- xdg_mimeinfo_database_update
-}
diff --git a/x11-misc/shared-mime-info/shared-mime-info-2.4-r3.ebuild b/x11-misc/shared-mime-info/shared-mime-info-2.4-r3.ebuild
deleted file mode 100644
index 040c5616a8e2..000000000000
--- a/x11-misc/shared-mime-info/shared-mime-info-2.4-r3.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit meson python-any-r1 xdg-utils
-
-# xdgmime is used for tests but doesn't make releases nowadays; do what
-# Fedora does and use a snapshot so we can run the test suite.
-MY_XDGMIME_COMMIT="179296748e92bd91bf531656632a1056307fb7b7"
-DESCRIPTION="The Shared MIME-info Database specification"
-HOMEPAGE="https://gitlab.freedesktop.org/xdg/shared-mime-info"
-SRC_URI="https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/${PV}/${P}.tar.bz2"
-SRC_URI+=" test? ( https://gitlab.freedesktop.org/xdg/xdgmime/-/archive/${MY_XDGMIME_COMMIT}/xdgmime-${MY_XDGMIME_COMMIT}.tar.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.1.2
- app-text/xmlto
- sys-devel/gettext
- virtual/pkgconfig
- test? ( ${PYTHON_DEPS} )
-"
-RDEPEND="
- dev-libs/glib:2
- dev-libs/libxml2:=
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( HACKING.md NEWS README.md )
-
-PATCHES=(
- "${FILESDIR}"/${P}-libxml2.12.patch
-)
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- if use test ; then
- # Drop empty dir (it's a submodule in upstream git repo)
- rm -r "${S}"/xdgmime || die
- # Lead Meson to our snapshot
- mkdir "${WORKDIR}"/xdgmime_build || die
- ln -s "${WORKDIR}"/xdgmime_build xdgmime || die
- # Don't break parallel make
- #sed -i -e 's:make:$(MAKE):' xdgmime/Makefile || die
- fi
-}
-
-src_configure() {
- # We have to trick Meson into thinking it's there now so that
- # we can run meson then emake to build xdgmime later, rather than
- # building before running meson which would mean doing something
- # unexpected in src_configure.
- if use test ; then
- # Paths from https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/master/meson.build#L29
- mkdir xdgmime/src || die
- touch xdgmime/src/{print,test}-mime{,-data} || die
- chmod +x xdgmime/src/{print,test}-mime{,-data} || die
-
- BUILD_DIR="${WORKDIR}"/xdgmime_build EMESON_SOURCE="${WORKDIR}"/xdgmime-${MY_XDGMIME_COMMIT} meson_src_configure
- fi
-
- local emesonargs=(
- -Dbuild-tools=true
- -Dupdate-mimedb=false
- $(meson_use test build-tests)
- )
-
- meson_src_configure
-}
-
-src_compile() {
- if use test ; then
- meson_src_compile -C "${WORKDIR}"/xdgmime_build
- fi
-
- meson_src_compile
-}
-
-src_install() {
- meson_src_install
-
- # in prefix, install an env.d entry such that prefix patch is used/added
- if use prefix; then
- echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo || die
- doenvd "${T}"/50mimeinfo
- fi
-}
-
-pkg_postinst() {
- use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share
- xdg_mimeinfo_database_update
-}