From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5F85138334 for ; Thu, 26 Jul 2018 08:35:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A48DE0878; Thu, 26 Jul 2018 08:35:58 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BEAC2E086F for ; Thu, 26 Jul 2018 08:35:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9426D335CC9 for ; Thu, 26 Jul 2018 08:35:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6FE13357 for ; Thu, 26 Jul 2018 08:35:53 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1532594109.f3a064e1a7d2f6f526ebdff215a981387a7d652d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/docbook-dsssl-stylesheets/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79-r3.ebuild X-VCS-Directories: app-text/docbook-dsssl-stylesheets/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f3a064e1a7d2f6f526ebdff215a981387a7d652d X-VCS-Branch: master Date: Thu, 26 Jul 2018 08:35:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 033b3b46-ca66-42e3-a862-9ce3a68a7273 X-Archives-Hash: f8887b8b780cc99c06c34755473cecea commit: f3a064e1a7d2f6f526ebdff215a981387a7d652d Author: Ilya Tumaykin gmail com> AuthorDate: Wed Jul 4 19:36:20 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jul 26 08:35:09 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3a064e1 app-text/docbook-dsssl-stylesheets: install missing files, cleanup Due to Gentoo-originated poorly written Makefile not all required files were installed, which caused tools looking for them to fail, e.g. Gentoo bug 606768. Also one file that belong to another package was installed: dtds/decls/docbook.dcl is a part of docbook-sgml-dtd. Replace custom Makefile with a series of doins commands. Also remove dirty, ugly symlink hack to workaround Gentoo bug 15026. Current stable libgcrypt doesn't use docbook-dssl-stylesheets for docs. Bug: https://bugs.gentoo.org/606768 Bug: https://bugs.gentoo.org/15026 Package-Manager: Portage-2.3.41, Repoman-2.3.9 .../docbook-dsssl-stylesheets-1.79-r3.ebuild | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79-r3.ebuild b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79-r3.ebuild new file mode 100644 index 00000000000..2cf6e40311d --- /dev/null +++ b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79-r3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# EAPI=6 is blocked by Gentoo bug 497052. +EAPI=5 + +MY_P=${P/-stylesheets/} + +inherit sgml-catalog + +DESCRIPTION="DSSSL Stylesheets for DocBook" +HOMEPAGE="https://github.com/docbook/wiki/wiki" +SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="" + +RDEPEND=" + app-text/sgml-common + app-text/docbook-sgml-dtd:3.0 +" + +DOCS=( BUGS ChangeLog README RELEASE-NOTES.txt WhatsNew ) + +S="${WORKDIR}/${MY_P}" + +src_install() { + local dsssldir CATALOG_DIR=usr/share/sgml/docbook/dsssl-stylesheets-${PV} + + dobin bin/collateindex.pl + + insinto ${CATALOG_DIR} + doins catalog VERSION + + insinto ${CATALOG_DIR}/common + doins common/*.{dsl,ent} + + insinto ${CATALOG_DIR}/images + doins images/*.gif + + for dsssldir in html lib olink print; do + insinto ${CATALOG_DIR}/${dsssldir} + doins ${dsssldir}/*.dsl + done + + for dsssldir in dbdsssl html imagelib olink; do + insinto ${CATALOG_DIR}/dtds/${dsssldir} + doins dtds/${dsssldir}/*.dtd + done + + insinto ${CATALOG_DIR}/dtds/html + doins dtds/html/*.{dcl,gml} + + dodoc "${DOCS[@]}" +} + +sgml-catalog_cat_include \ + "/etc/sgml/dsssl-docbook-stylesheets.cat" \ + "/usr/share/sgml/docbook/dsssl-stylesheets-${PV}/catalog" + +sgml-catalog_cat_include \ + "/etc/sgml/sgml-docbook.cat" \ + "/etc/sgml/dsssl-docbook-stylesheets.cat"