app-text/gnome-doc-utils: treeclean

Closes: https://bugs.gentoo.org/929362 (pkgremoved)
Closes: https://bugs.gentoo.org/707026 (pkgremoved)
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2025-08-18 00:53:42 -04:00
parent 85ad717192
commit 7985cc5f2b
4 changed files with 0 additions and 118 deletions

View File

@@ -1,2 +0,0 @@
DIST gnome-doc-utils-0.20.10-python3.patch 21576 BLAKE2B 487b2f7d3758d1df475178154ed92ee548c63fd492d59fb0c6cc3a75e6378ebe75e74e3bdc60b46a74ea0670ca77f9bbad279b625bb64d4cb8a432a869eb426b SHA512 500e952f12c1baae08a0f520ea7e08c09d20ee58c3ed5fdc5f6dd1b7a192d90f66de26956306ab685ef62298df9770af184c0f33b7d4e015023ef2129da351bf
DIST gnome-doc-utils-0.20.10.tar.xz 526700 BLAKE2B 6019aa9b1d2c8153ddc1e6af589f79628ceafb6c14b0de5dc8f9ef518b5e626bbafdc2a4d93bfb70c6823ba0605a5abe899989e9f893c976d7a5fcd9c99a90dc SHA512 1cb5e3b9ca9e45e6c551801e9c9c4aac725c2ce85238c230a4c70b36c90419886b921d8dd464df0643fc3bbb877df075abaa83a36d1609c5664960c31e11d151

View File

@@ -1,30 +0,0 @@
--- a/bootstrap.make 2013-04-11 20:34:59.015015386 +0200
+++ b/bootstrap.make 2013-04-11 20:35:26.710082615 +0200
@@ -1,4 +1,4 @@
-_xml2po = PYTHONPATH="$(shell pwd)/$(top_builddir)/xml2po:$(shell pwd)/$(top_srcdir)/xml2po:$(PYTHONPATH)" "$(shell pwd)/$(top_builddir)/xml2po/xml2po/xml2po"
+_xml2po = PYTHONPATH="$(abs_top_builddir)/xml2po:$(abs_top_srcdir)/xml2po:$(PYTHONPATH)" "${EPYTHON}" "$(abs_top_builddir)/xml2po/xml2po/xml2po"
_db2html = $(top_srcdir)/xslt/docbook/html/db2html.xsl
_db2omf = $(top_srcdir)/xslt/docbook/omf/db2omf.xsl
--- a/doc/xslt/Makefile.in 2013-05-10 12:57:46.804104663 +0200
+++ b/doc/xslt/Makefile.in 2013-05-10 12:58:12.434908022 +0200
@@ -340,7 +340,7 @@
_clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
_clean_dir = $(if $(DOC_MODULE)$(DOC_ID),clean-doc-dir)
_doc_install_dir = $(if $(DOC_ID),$(DOC_ID),$(DOC_MODULE))
-_xml2po = PYTHONPATH="$(shell pwd)/$(top_builddir)/xml2po:$(shell pwd)/$(top_srcdir)/xml2po:$(PYTHONPATH)" "$(shell pwd)/$(top_builddir)/xml2po/xml2po/xml2po"
+_xml2po = PYTHONPATH="$(abs_top_builddir)/xml2po:$(abs_top_srcdir)/xml2po:$(PYTHONPATH)" "${EPYTHON}" "$(abs_top_builddir)/xml2po/xml2po/xml2po"
_db2html = $(top_srcdir)/xslt/docbook/html/db2html.xsl
_db2omf = $(top_srcdir)/xslt/docbook/omf/db2omf.xsl
_chunks = $(top_srcdir)/xslt/docbook/utils/chunks.xsl
--- a/doc/gnome-doc-make/Makefile.in 2013-05-10 12:57:46.804104663 +0200
+++ b/doc/gnome-doc-make/Makefile.in 2013-05-10 12:58:12.434908022 +0200
@@ -340,7 +340,7 @@
_clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
_clean_dir = $(if $(DOC_MODULE)$(DOC_ID),clean-doc-dir)
_doc_install_dir = $(if $(DOC_ID),$(DOC_ID),$(DOC_MODULE))
-_xml2po = PYTHONPATH="$(shell pwd)/$(top_builddir)/xml2po:$(shell pwd)/$(top_srcdir)/xml2po:$(PYTHONPATH)" "$(shell pwd)/$(top_builddir)/xml2po/xml2po/xml2po"
+_xml2po = PYTHONPATH="$(abs_top_builddir)/xml2po:$(abs_top_srcdir)/xml2po:$(PYTHONPATH)" "${EPYTHON}" "$(abs_top_builddir)/xml2po/xml2po/xml2po"
_db2html = $(top_srcdir)/xslt/docbook/html/db2html.xsl
_db2omf = $(top_srcdir)/xslt/docbook/omf/db2omf.xsl
_chunks = $(top_srcdir)/xslt/docbook/utils/chunks.xsl

View File

@@ -1,75 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit gnome2 python-r1
DESCRIPTION="A collection of documentation utilities for the Gnome project"
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeDocUtils"
SRC_URI+=" https://dev.gentoo.org/~juippis/distfiles/tmp/${P}-python3.patch"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
>=dev-libs/libxml2-2.6.12:2[python,${PYTHON_USEDEP}]
>=dev-libs/libxslt-1.1.8
"
DEPEND="${RDEPEND}
app-text/docbook-xml-dtd:4.4
app-text/scrollkeeper-dtd
"
BDEPEND="
>=dev-util/intltool-0.35
sys-devel/gettext
app-alternatives/awk
virtual/pkgconfig
"
# dev-libs/glib needed for eautofoo, bug #255114.
# If there is a need to reintroduce eautomake or eautoreconf, make sure
# to AT_M4DIR="tools m4", bug #224609 (m4 removes glib build time dep)
src_prepare() {
# Stop build from relying on installed package
eapply "${FILESDIR}"/${P}-fix-out-of-tree-build.patch
eapply "${DISTDIR}"/${P}-python3.patch
# Empty py-compile, so it doesn't write its own pyo/pyc files
echo > "${S}"/py-compile
chmod a+x "${S}"/py-compile || die
gnome2_src_prepare
# Leave shebang alone
sed -e '/s+^#!.*python.*+#/d' \
-i xml2po/xml2po/Makefile.{am,in} || die
python_prepare() {
mkdir -p "${BUILD_DIR}"
}
python_foreach_impl python_prepare
}
src_configure() {
ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir gnome2_src_configure
}
src_compile() {
MAKEOPTS="${MAKEOPTS} -j1" python_foreach_impl run_in_build_dir gnome2_src_compile #574282
}
src_test() {
python_foreach_impl run_in_build_dir default
}
src_install() {
python_foreach_impl run_in_build_dir gnome2_src_install
python_foreach_impl run_in_build_dir python_optimize
python_replicate_script "${ED}"/usr/bin/xml2po
}

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
<upstream>
<remote-id type="gnome-gitlab">Archive/gnome-doc-utils</remote-id>
</upstream>
</pkgmetadata>