summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Schultz <mattsch@gmail.com>2012-11-30 13:09:48 -0600
committerMatthew Schultz <mattsch@gmail.com>2012-11-30 13:09:57 -0600
commitbdc8417d073dbea9a5ee0c4aa0556fdf406d37e0 (patch)
treea7f0cafcc1cb1e21de5d0a43047ea484bffac058 /dev-libs
parentdev-python/selenium: moved to main tree. (diff)
downloadsunrise-bdc8417d073dbea9a5ee0c4aa0556fdf406d37e0.tar.gz
sunrise-bdc8417d073dbea9a5ee0c4aa0556fdf406d37e0.tar.bz2
sunrise-bdc8417d073dbea9a5ee0c4aa0556fdf406d37e0.zip
dev-libs/sgml-data: New Ebuild for bug bug #445376
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/sgml-data/ChangeLog10
-rw-r--r--dev-libs/sgml-data/Manifest4
-rw-r--r--dev-libs/sgml-data/metadata.xml9
-rw-r--r--dev-libs/sgml-data/sgml-data-2.0.8.ebuild150
4 files changed, 173 insertions, 0 deletions
diff --git a/dev-libs/sgml-data/ChangeLog b/dev-libs/sgml-data/ChangeLog
new file mode 100644
index 000000000..c676793ab
--- /dev/null
+++ b/dev-libs/sgml-data/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/sgml-data
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*sgml-data-2.0.8 (30 Nov 2012)
+
+ 30 Nov 2012; Matthew Schultz (mschultz) <mattsch@gmail.com>
+ +sgml-data-2.0.8.ebuild, +metadata.xml:
+ New Ebuild for bug bug #445376
+
diff --git a/dev-libs/sgml-data/Manifest b/dev-libs/sgml-data/Manifest
new file mode 100644
index 000000000..67454fa03
--- /dev/null
+++ b/dev-libs/sgml-data/Manifest
@@ -0,0 +1,4 @@
+DIST sgml-data_2.0.8.tar.gz 278497 SHA256 9cbff1ccd3ee9121095bebf340d25c9f8cb93328e96b80181b06a315e468d619 SHA512 02f93225b75e01b42b87da334b13727ed50b98d978110a753f7841e145846910ebd396bf9828c1d6e5342499557845d80e3917ba15a5d82b688c608051f6d655 WHIRLPOOL 3390b623298ac099bd0c5f3efe20572e94fe7c97461afcb8d6eaba4b19ed4e763cdc66d80107f4ebfa261ae4e5de4e25f363d17a817a01a8e34b19d77b93f757
+EBUILD sgml-data-2.0.8.ebuild 5621 SHA256 8df12af393bb672927ef5fd4f80ffcab0fb981adb207e148fa25ce5c12e80522 SHA512 ab0114b6b874cda10ca4b08d7f1e6ae0bee39b08e362e615f4bb9f4b055693f1ede77dfdc12b87f34350a7f73d3a42c4c30217548f7f6bdf9e254c11ba0160e0 WHIRLPOOL 7f968fa4682126c1bffb0d3e4a15ae03608bf198536b6ca8d13bbf61c13a5f429926f1ad89c14e46de6b1e96f03359f3683457326884c6a6e4611e51ba518b40
+MISC ChangeLog 289 SHA256 f6993a8e93d8c24cd8e122197331606da786722f2b672c85095ba10ef59d2c3a SHA512 1537ce77b87d28544bcf7f3c78dbc1498d17843bc9f5c2f909ce9b3e5bc72d6cc797061e99622adca059c7c574271a44ea0836671dd4080c302e3d8cc014edcd WHIRLPOOL e41a294605468c897eb342695969e3ab3d9b547bfc0ce6819f15ee8f70a424f0f577cff95d4ebbbfe46bad4ed480dca7ef91292b4e202a39eb04210636af5bb2
+MISC metadata.xml 340 SHA256 56f04e61a70a16837a798adfed04437ac1ff3123b3379ece6892095492207572 SHA512 85dc6007205eacc89a7825fb3edafa63af03aa5f962e3318775c8862d6f6cda917ed7e770730776a7f2711b695936353311865786e3b866c5585fdfa5ed37ba1 WHIRLPOOL a6825f257d3472145517dacb2dc113eb9b7d9d5733f262bfde3584ea505bf5d3d1e6e73c78d61ae960d896a2b36af1f981f57182adb8b6e5a366673e982ccb32
diff --git a/dev-libs/sgml-data/metadata.xml b/dev-libs/sgml-data/metadata.xml
new file mode 100644
index 000000000..25d829dac
--- /dev/null
+++ b/dev-libs/sgml-data/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+ <longdescription>
+ This package contains basic XML and SGML data shared and used by
+ multiple packages.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-libs/sgml-data/sgml-data-2.0.8.ebuild b/dev-libs/sgml-data/sgml-data-2.0.8.ebuild
new file mode 100644
index 000000000..6351b331e
--- /dev/null
+++ b/dev-libs/sgml-data/sgml-data-2.0.8.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit sgml-catalog
+
+DESCRIPTION="Common SGML and XML data"
+HOMEPAGE="http://packages.qa.debian.org/sgml-data"
+SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="dev-lang/perl
+ dev-libs/libxml2
+ virtual/perl-Getopt-Long"
+
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/sgml/dtd/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/sgml/entities/ArborText/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/sgml/entities/Hewlett-Packard/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/sgml/entities/sgml-iso-entities-8879.1986/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/sgml/entities/sgml-iso-entities-9573-13.1991/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/sgml/html/dtd/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/sgml/html/dtd/4.0/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/sgml/html/dtd/4.01/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/sgml/html/dtd/iso-15445/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/sgml/html/entities/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/xml/qaml/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/xml/svg/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/xml/entities/xml-iso-entities-8879.1986/catalog"
+
+src_install() {
+ dodir /etc/sgml /etc/xml
+ insinto /usr/share/xml
+ doins -r xml/*
+ dosym /usr/share/xml/declaration/xml.dcl /usr/share/xml/declaration/xml.decl
+ insinto /usr/share/sgml
+ doins -r sgml/*
+ doins -r xml/{declaration,entities}
+ dosym /usr/share/xml/declaration/xml.dcl /usr/share/sgml/declaration/xml.decl
+ insinto /usr/share/sgml/dtd
+ doins xml/qaml/qaml-xml.dtd xml/svg/svg*
+ exeinto /usr/share/${PN}
+ doexe sgml-catalog-check.pl
+ insinto /usr/share/lintian/overrides
+ newins debian/sgml-data.lintian-overrides sgml-data
+ dodoc debian/{README.Debian,TODO.Debian,changelog}
+ if use examples; then
+ insinto /usr/share/doc/${P}
+ doins -r examples
+ fi
+
+}
+
+pkg_postinst() {
+ einfo "Creating package XML catalog"
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --create /etc/xml/${PN}
+ einfo "Adding entries to root XML catalog and package XML catalog"
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "public" \
+ "+//IDN faq.org//DTD Frequently Asked Questions" \
+ "${EPREFIX}"/etc/xml/${PN} /etc/xml/catalog
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "public" \
+ "+//IDN faq.org//DTD Frequently Asked Questions" \
+ "${EPREFIX}"/usr/share/xml/qaml/catalog.xml /etc/xml/${PN}
+
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "system" \
+ "http://xml.ascc.net/xml/resource/qaml-xml" \
+ "${EPREFIX}"/etc/xml/${PN} /etc/xml/catalog
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "system" \
+ "http://xml.ascc.net/xml/resource/qaml-xml" \
+ "${EPREFIX}"/usr/share/xml/qaml/catalog.xml /etc/xml/${PN}
+
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "public" \
+ "+//ISBN 82-7640-023//DTD Frequently Asked Questions//EN" \
+ "${EPREFIX}"/etc/xml/${PN} /etc/xml/catalog
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "public" \
+ "+//ISBN 82-7640-023//DTD Frequently Asked Questions//EN" \
+ "${EPREFIX}"/usr/share/xml/qaml/catalog.xml /etc/xml/${PN}
+
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "system" \
+ "/usr/share/sgml/dtd/qaml-xml.dtd" \
+ "${EPREFIX}"/etc/xml/${PN} /etc/xml/catalog
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "system" \
+ "/usr/share/sgml/dtd/qaml-xml.dtd" \
+ "${EPREFIX}"/usr/share/xml/qaml/catalog.xml /etc/xml/${PN}
+
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "public" \
+ "-//W3C//DTD SVG" \
+ "${EPREFIX}"/etc/xml/${PN} /etc/xml/catalog
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "public" \
+ "-//W3C//DTD SVG" \
+ "${EPREFIX}"/usr/share/xml/svg/catalog.xml /etc/xml/${PN}
+
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "system" \
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/" \
+ "${EPREFIX}"/etc/xml/${PN} /etc/xml/catalog
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "system" \
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/" \
+ "${EPREFIX}"/usr/share/xml/svg/catalog.xml /etc/xml/${PN}
+
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "system" \
+ "http://www.w3.org/Graphics/SVG/1.1/" \
+ "${EPREFIX}"/etc/xml/${PN} /etc/xml/catalog
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "system" \
+ "http://www.w3.org/Graphics/SVG/1.1/" \
+ "${EPREFIX}"/usr/share/xml/svg/catalog.xml /etc/xml/${PN}
+
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "system" \
+ "/usr/share/sgml/dtd/svg" \
+ "${EPREFIX}"/etc/xml/${PN} /etc/xml/catalog
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "system" \
+ "/usr/share/sgml/dtd/svg" \
+ "${EPREFIX}"/usr/share/xml/svg/catalog.xml /etc/xml/${PN}
+
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "public" \
+ "ISO 8879:1986//ENTITIES" \
+ "${EPREFIX}"/etc/xml/${PN} /etc/xml/catalog
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --add "public" \
+ "ISO 8879:1986//ENTITIES" \
+ "${EPREFIX}"/usr/share/xml/entities/xml-iso-entities-8879.1986/catalog.xml /etc/xml/${PN}
+ sgml-catalog_pkg_postinst
+}
+
+pkg_postrm() {
+ einfo "Removing entries from the root XML catalog"
+ "${EPREFIX}"/usr/bin/xmlcatalog --noout --del \
+ "${EPREFIX}"/etc/xml/${PN} /etc/xml/catalog
+ einfo "Removing the package XML catalog"
+ if [ -e /etc/xml/${PN} ]; then
+ rm /etc/xml/${PN}
+ fi
+ sgml-catalog_pkg_postrm
+}