public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde-sunset:master commit in: eclass/
Date: Mon, 30 Nov 2020 02:19:28 +0000 (UTC)	[thread overview]
Message-ID: <1606702758.8122eeeaf6dc061b64eb41f64ebfcce1e3a2a6db.asturm@gentoo> (raw)

commit:     8122eeeaf6dc061b64eb41f64ebfcce1e3a2a6db
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 30 02:15:58 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Nov 30 02:19:18 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=8122eeea

sgml-catalog.eclass: Remove unused eclass

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/sgml-catalog.eclass | 106 ---------------------------------------------
 1 file changed, 106 deletions(-)

diff --git a/eclass/sgml-catalog.eclass b/eclass/sgml-catalog.eclass
deleted file mode 100644
index 17940767..00000000
--- a/eclass/sgml-catalog.eclass
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# @DEAD
-# All consumers are gone.  Removal in 14 days
-
-# @ECLASS: sgml-catalog.eclass
-# @MAINTAINER:
-# kde-sunset overlay maintainers
-# @AUTHOR:
-# Author Matthew Turk <satai@gentoo.org>
-# @BLURB: Functions for installing SGML catalogs
-
-case ${EAPI:-0} in
-	0|1|2|3|4|5) inherit base ;;
-	*) ;;
-esac
-
-DEPEND=">=app-text/sgml-common-0.6.3-r2"
-
-# @ECLASS-VARIABLE: SGML_TOINSTALL
-# @DESCRIPTION:
-# An array of catalogs, arranged in pairs.
-# Each pair consists of a centralized catalog followed by an ordinary catalog.
-SGML_TOINSTALL=()
-
-# @FUNCTION: sgml-catalog_cat_include
-# @USAGE: <centralized catalog> <ordinary catalog>
-# @DESCRIPTION:
-# Appends a catalog pair to the SGML_TOINSTALL array.
-sgml-catalog_cat_include() {
-	debug-print function $FUNCNAME $*
-	SGML_TOINSTALL+=("$1" "$2")
-}
-
-# @FUNCTION: sgml-catalog_cat_doinstall
-# @USAGE: <centralized catalog> <ordinary catalog>
-# @DESCRIPTION:
-# Adds an ordinary catalog to a centralized catalog.
-sgml-catalog_cat_doinstall() {
-	debug-print function $FUNCNAME $*
-	has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
-	"${EPREFIX}"/usr/bin/install-catalog --add "${EPREFIX}$1" "${EPREFIX}$2" &>/dev/null
-}
-
-# @FUNCTION: sgml-catalog_cat_doremove
-# @USAGE: <centralized catalog> <ordinary catalog>
-# @DESCRIPTION:
-# Removes an ordinary catalog from a centralized catalog.
-sgml-catalog_cat_doremove() {
-	debug-print function $FUNCNAME $*
-	has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
-	"${EPREFIX}"/usr/bin/install-catalog --remove "${EPREFIX}$1" "${EPREFIX}$2" &>/dev/null
-}
-
-sgml-catalog_pkg_postinst() {
-	debug-print function $FUNCNAME $*
-	has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
-
-	set -- "${SGML_TOINSTALL[@]}"
-
-	while (( $# )); do
-		if [[ ! -e "${EPREFIX}$2" ]]; then
-			ewarn "${EPREFIX}$2 doesn't appear to exist, although it ought to!"
-			shift 2
-			continue
-		fi
-		einfo "Now adding ${EPREFIX}$2 to ${EPREFIX}$1 and ${EPREFIX}/etc/sgml/catalog"
-		sgml-catalog_cat_doinstall "$1" "$2"
-		shift 2
-	done
-	sgml-catalog_cleanup
-}
-
-sgml-catalog_pkg_prerm() {
-	sgml-catalog_cleanup
-}
-
-sgml-catalog_pkg_postrm() {
-	debug-print function $FUNCNAME $*
-	has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
-
-	set -- "${SGML_TOINSTALL[@]}"
-
-	while (( $# )); do
-		einfo "Now removing ${EPREFIX}$2 from ${EPREFIX}$1 and ${EPREFIX}/etc/sgml/catalog"
-		sgml-catalog_cat_doremove "$1" "$2"
-		shift 2
-	done
-}
-
-sgml-catalog_cleanup() {
-	has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
-	if [ -e "${EPREFIX}/usr/bin/gensgmlenv" ]
-	then
-		einfo Regenerating SGML environment variables ...
-		gensgmlenv
-		grep -v export "${EPREFIX}/etc/sgml/sgml.env" > "${EPREFIX}/etc/env.d/93sgmltools-lite"
-	fi
-}
-
-sgml-catalog_src_compile() {
-	return
-}
-
-EXPORT_FUNCTIONS pkg_postrm pkg_postinst src_compile pkg_prerm


             reply	other threads:[~2020-11-30  2:19 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-30  2:19 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-27 15:48 [gentoo-commits] proj/kde-sunset:master commit in: eclass/ Andreas Sturmlechner
2021-04-27 15:48 Andreas Sturmlechner
2020-12-07 20:53 Andreas Sturmlechner
2020-11-30  2:19 Andreas Sturmlechner
2020-11-30  2:19 Andreas Sturmlechner
2020-11-30  2:19 Andreas Sturmlechner
2020-11-30  2:19 Andreas Sturmlechner
2020-09-20 12:06 Andreas Sturmlechner
2020-08-25 14:59 Andreas Sturmlechner
2020-08-25 14:51 Andreas Sturmlechner
2020-08-23 19:46 Andreas Sturmlechner
2020-08-16 20:05 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2020-08-13 14:50 Andreas Sturmlechner
2018-09-12 20:41 Andreas Sturmlechner
2018-06-30  8:45 Andreas Sturmlechner
2018-06-30  8:45 Andreas Sturmlechner
2018-06-20 12:08 Andreas Sturmlechner
2018-05-31 20:31 Andreas Sturmlechner
2018-05-31 18:30 Andreas Sturmlechner
2018-05-31 18:30 Andreas Sturmlechner
2018-05-03 12:30 Andreas Sturmlechner
2018-04-10 13:32 Andreas Sturmlechner
2018-04-06  0:53 Andreas Sturmlechner
2016-12-17 19:08 Johannes Huber
2016-08-03 20:18 Johannes Huber
2016-04-24  7:07 Lars Wendler
2015-04-28 19:16 Ian Stakenvicius
2013-11-13 22:24 Lars Wendler
2011-05-05 21:11 Ladislav Láska

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1606702758.8122eeeaf6dc061b64eb41f64ebfcce1e3a2a6db.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox