diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/xhtml1 | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-text/xhtml1')
-rw-r--r-- | app-text/xhtml1/Manifest | 1 | ||||
-rw-r--r-- | app-text/xhtml1/files/xhtml1-catalog.patch | 19 | ||||
-rw-r--r-- | app-text/xhtml1/metadata.xml | 5 | ||||
-rw-r--r-- | app-text/xhtml1/xhtml1-20020801-r4.ebuild | 81 |
4 files changed, 106 insertions, 0 deletions
diff --git a/app-text/xhtml1/Manifest b/app-text/xhtml1/Manifest new file mode 100644 index 000000000000..2cf70e8b74b4 --- /dev/null +++ b/app-text/xhtml1/Manifest @@ -0,0 +1 @@ +DIST xhtml1.tgz 232192 SHA256 148e9eccb5c91222b5f0c07359174ca0df1bd74834a2bae4c6e57c10136a2067 SHA512 184758381c5e2d36b80fa1e4470e864777383ff7539b48291036f8a3f1dba0b354a32142bfcc9071147fb20bcd4c0d4d541e09e865047938ab4cf9ae5a806412 WHIRLPOOL a7097078ffab88a042b133edba0a4c1a3cf568c04ae14ce33da4dcf00f8ed16d997a9a08c4b601597a0954f4ecb499bd403f9529326e2ad88aa3f00fe02407ff diff --git a/app-text/xhtml1/files/xhtml1-catalog.patch b/app-text/xhtml1/files/xhtml1-catalog.patch new file mode 100644 index 000000000000..37b41a2b0dc1 --- /dev/null +++ b/app-text/xhtml1/files/xhtml1-catalog.patch @@ -0,0 +1,19 @@ +diff -NurdB xhtml1-20020801/DTD/xhtml.soc xhtml1-20020801-patched/DTD/xhtml.soc +--- xhtml1-20020801/DTD/xhtml.soc 2002-08-01 13:23:08.000000000 -0500 ++++ xhtml1-20020801-patched/DTD/xhtml.soc 2005-06-21 04:12:36.000000000 -0500 +@@ -1,4 +1,9 @@ + OVERRIDE YES ++ ++DTDDECL "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1.dcl" ++DTDDECL "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1.dcl" ++DTDDECL "-//W3C//DTD XHTML 1.0 Frameset//EN" "xhtml1.dcl" ++ + -- Oasis entity catalog for Extensible HTML 1.0 -- + + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd" +@@ -10,5 +15,3 @@ + PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "xhtml-lat1.ent" + PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN" "xhtml-symbol.ent" + PUBLIC "-//W3C//ENTITIES Special for XHTML//EN" "xhtml-special.ent" +- +-SGMLDECL "xhtml1.dcl" diff --git a/app-text/xhtml1/metadata.xml b/app-text/xhtml1/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/app-text/xhtml1/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/app-text/xhtml1/xhtml1-20020801-r4.ebuild b/app-text/xhtml1/xhtml1-20020801-r4.ebuild new file mode 100644 index 000000000000..46625a78a51c --- /dev/null +++ b/app-text/xhtml1/xhtml1-20020801-r4.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit sgml-catalog eutils + +DESCRIPTION="DTDs for the eXtensible HyperText Markup Language 1.0" +HOMEPAGE="http://www.w3.org/TR/xhtml1/" +SRC_URI="http://www.w3.org/TR/xhtml1/xhtml1.tgz" +LICENSE="W3C" + +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +DEPEND="app-text/sgml-common + dev-libs/libxml2" +RDEPEND="" + +xml_catalog_setup() { + CATALOG="${EROOT}etc/xml/catalog" + XMLTOOL="${EROOT}usr/bin/xmlcatalog" + DTDDIR="${EROOT}usr/share/sgml/${PN}" + + [ -x "${XMLTOOL}" ] || return 1 + + return 0 +} + +src_prepare() { + sgml-catalog_cat_include "/etc/sgml/${PN}.cat" \ + "/usr/share/sgml/${PN}/xhtml.soc" + + epatch "${FILESDIR}"/${PN}-catalog.patch +} + +src_install() { + insinto /usr/share/sgml/${PN} + doins DTD/xhtml.soc DTD/*.dcl DTD/*.dtd DTD/*.ent || die "doins failed" + insinto /etc/sgml + dodoc *.pdf *.ps || die "dodoc failed" + dohtml *.html *.png *.css || die "dohtml failed" +} + +pkg_postinst() { + sgml-catalog_pkg_postinst + xml_catalog_setup || return + + einfo "Installing xhtml1 in the global XML catalog" + + $XMLTOOL --noout --add 'public' '-//W3C//DTD XHTML 1.0 Strict//EN' \ + ${DTDDIR}/xhtml1-strict.dtd $CATALOG + $XMLTOOL --noout --add 'public' '-//W3C//DTD XHTML 1.0 Transitional//EN' \ + ${DTDDIR}/xhtml1-transitional.dtd $CATALOG + $XMLTOOL --noout --add 'public' '-//W3C//DTD XHTML 1.0 Frameset//EN' \ + ${DTDDIR}/xhtml1-frameset.dtd $CATALOG + $XMLTOOL --noout --add 'rewriteSystem' 'http://www.w3.org/TR/xhtml1/DTD' \ + ${DTDDIR} $CATALOG + $XMLTOOL --noout --add 'rewriteURI' 'http://www.w3.org/TR/xhtml1/DTD' \ + ${DTDDIR} $CATALOG +} + +pkg_postrm() { + sgml-catalog_pkg_postrm + xml_catalog_setup || return + + if [ -d "$DTDDIR" ]; then + einfo "The xhtml1 data directory still exists." + einfo "No entries will be removed from the XML catalog." + return + fi + + einfo "Removing xhtml1 from the global XML catalog" + + $XMLTOOL --noout --del '-//W3C//DTD XHTML 1.0 Strict//EN' $CATALOG + $XMLTOOL --noout --del '-//W3C//DTD XHTML 1.0 Transitional//EN' $CATALOG + $XMLTOOL --noout --del '-//W3C//DTD XHTML 1.0 Frameset//EN' $CATALOG + $XMLTOOL --noout --del 'http://www.w3.org/TR/xhtml1/DTD' $CATALOG +} |