diff --git a/sdk_container/src/third_party/portage-stable/app-text/build-docbook-catalog/Manifest b/sdk_container/src/third_party/portage-stable/app-text/build-docbook-catalog/Manifest new file mode 100644 index 0000000000..e788119937 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/build-docbook-catalog/Manifest @@ -0,0 +1 @@ +DIST build-docbook-catalog-1.4.bz2 3051 RMD160 5b55e774db345052aab32d9d49a44f01e16d1cbe SHA1 30e7a5e08982b485479332794f2e20b27d102e8a SHA256 ce0e9d5c988d165171ef1fde5e2de019c433af22d71db512e206356f3f0c149d diff --git a/sdk_container/src/third_party/portage-stable/app-text/build-docbook-catalog/build-docbook-catalog-1.4.ebuild b/sdk_container/src/third_party/portage-stable/app-text/build-docbook-catalog/build-docbook-catalog-1.4.ebuild new file mode 100644 index 0000000000..25fbdf46fe --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/build-docbook-catalog/build-docbook-catalog-1.4.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/build-docbook-catalog/build-docbook-catalog-1.4.ebuild,v 1.10 2009/07/08 20:18:17 ssuominen Exp $ + +DESCRIPTION="DocBook XML catalog auto-updater" +HOMEPAGE="http://unknown/" +SRC_URI="mirror://gentoo/${P}.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="" + +RDEPEND="|| ( sys-apps/util-linux app-misc/getopt ) + ! xml2po + chmod +x xml2po +diff -Naur gnome-doc-utils-0.16.0/xml2po/Makefile.in gnome-doc-utils-0.16.0.new/xml2po/Makefile.in +--- gnome-doc-utils-0.16.0/xml2po/Makefile.in 2009-03-16 18:52:17.000000000 +0100 ++++ gnome-doc-utils-0.16.0.new/xml2po/Makefile.in 2009-03-21 14:07:09.000000000 +0100 +@@ -225,7 +225,6 @@ + SUBDIRS = modes examples + nodist_bin_SCRIPTS = xml2po + CLEANFILES = xml2po +-commondir = $(datadir)/xml2po + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = xml2po.pc + man_MANS = xml2po.1 +@@ -631,7 +630,7 @@ + + xml2po: xml2po.py + sed -e "s/^VERSION =.*/VERSION = \"@VERSION@\"/" \ +- -e "s+^submodes_path =.*+submodes_path = \"$(commondir)\"+" \ ++ -e "s+^submodes_path =.*+submodes_path = \"$(pythondir)/xml2po\"+" \ + -e "s+^#!.*python.*+#!$(PYTHON)+" \ + < $(srcdir)/xml2po.py > xml2po + chmod +x xml2po +diff -Naur gnome-doc-utils-0.16.0/xml2po/modes/Makefile.am gnome-doc-utils-0.16.0.new/xml2po/modes/Makefile.am +--- gnome-doc-utils-0.16.0/xml2po/modes/Makefile.am 2008-09-22 22:06:09.000000000 +0200 ++++ gnome-doc-utils-0.16.0.new/xml2po/modes/Makefile.am 2009-03-21 14:04:54.000000000 +0100 +@@ -1,4 +1,4 @@ +-commondir = $(datadir)/xml2po ++commondir = $(pythondir)/xml2po + common_DATA = docbook.py empty.py gs.py ubuntu.py xhtml.py + + EXTRA_DIST = $(common_DATA) +diff -Naur gnome-doc-utils-0.16.0/xml2po/modes/Makefile.in gnome-doc-utils-0.16.0.new/xml2po/modes/Makefile.in +--- gnome-doc-utils-0.16.0/xml2po/modes/Makefile.in 2009-03-16 18:52:17.000000000 +0100 ++++ gnome-doc-utils-0.16.0.new/xml2po/modes/Makefile.in 2009-03-21 14:03:20.000000000 +0100 +@@ -205,7 +205,7 @@ + sharedstatedir = @sharedstatedir@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ +-commondir = $(datadir)/xml2po ++commondir = $(pythondir)/xml2po + common_DATA = docbook.py empty.py gs.py ubuntu.py xhtml.py + EXTRA_DIST = $(common_DATA) + all: all-am +diff -Naur gnome-doc-utils-0.16.0/xml2po/xml2po.pc.in gnome-doc-utils-0.16.0.new/xml2po/xml2po.pc.in +--- gnome-doc-utils-0.16.0/xml2po/xml2po.pc.in 2008-09-22 22:06:09.000000000 +0200 ++++ gnome-doc-utils-0.16.0.new/xml2po/xml2po.pc.in 2009-03-21 14:04:24.000000000 +0100 +@@ -1,7 +1,7 @@ + prefix=@prefix@ + exec_prefix=${prefix} + datarootdir=@datarootdir@ +-modesdir=@datadir@/xml2po ++modesdir=@pythondir@/xml2po + + Name: xml2po + Description: Tool for translating XML documents diff --git a/sdk_container/src/third_party/portage-stable/app-text/gnome-doc-utils/gnome-doc-utils-0.16.1.ebuild b/sdk_container/src/third_party/portage-stable/app-text/gnome-doc-utils/gnome-doc-utils-0.16.1.ebuild new file mode 100644 index 0000000000..cd1c280049 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/gnome-doc-utils/gnome-doc-utils-0.16.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.16.1.ebuild,v 1.13 2010/01/16 17:00:03 armin76 Exp $ + +EAPI="2" + +inherit eutils python gnome2 + +DESCRIPTION="A collection of documentation utilities for the Gnome project" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 sh sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-libs/libxml2-2.6.12[python] + >=dev-libs/libxslt-1.1.8 + >=dev-lang/python-2" +DEPEND="${RDEPEND} + sys-devel/gettext + >=dev-util/intltool-0.35 + >=dev-util/pkgconfig-0.9 + ~app-text/docbook-xml-dtd-4.4" +# dev-libs/glib needed for eautofoo, bug #255114. + +DOCS="AUTHORS ChangeLog NEWS README" + +pkg_setup() { + G2CONF="${G2CONF} --disable-scrollkeeper" +} + +src_prepare() { + gnome2_src_prepare + + # Make xml2po FHS compliant, bug #190798 + epatch "${FILESDIR}/${PN}-0.16.1-fhs.patch" + + # 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) +} + +pkg_postinst() { + python_need_rebuild + python_mod_optimize $(python_get_sitedir)/xml2po + gnome2_pkg_postinst +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/xml2po + gnome2_pkg_postrm +} diff --git a/sdk_container/src/third_party/portage-stable/app-text/htmltidy/Manifest b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/Manifest new file mode 100644 index 0000000000..a85075ba78 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/Manifest @@ -0,0 +1,2 @@ +DIST tidy-20090325-doc.tar.bz2 13319 RMD160 8fee995d8eb385e87ec9a3fcd27b9a18abc4beaf SHA1 72ec377341a50369beffae2ab4a2a75b26d65798 SHA256 be018829d24d5477556f3b72a426335ca21f62ca103b50a5d17c0e16ffd97956 +DIST tidy-20090325.tar.bz2 382016 RMD160 796a025bc1b67ea64394c64a1455a582e9285982 SHA1 28c000a2cd40262fc0d7c2c429eb2a09b2df7bf4 SHA256 58099898f326eff209a97509d1879cee19812a8a7048e2143b39821d35d7b6bd diff --git a/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/03-html2db-null.patch b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/03-html2db-null.patch new file mode 100644 index 0000000000..926f57b9ca --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/03-html2db-null.patch @@ -0,0 +1,117 @@ +--- html2b-unpatched/html2db/main.c 2003-03-11 04:28:46.000000000 +0800 ++++ html2db/main.c 2003-11-08 12:32:41.000000000 +0800 +@@ -75,8 +75,8 @@ + doc = tidyDocToImpl( tdoc ); + out = FileOutput(stdout, 0, '\n'); + doc->docOut = out; +- PrintSgml( doc, 0, 0, doc->root ); +- doc->docOut = null; ++ PrintSgml( doc, 0, 0, &( doc->root ) ); ++ doc->docOut = NULL; + } + else { + fprintf(stderr, "Problem parsing file %s\n", file); +--- html2b-unpatched/html2db/pprint.c 2003-05-05 22:23:30.000000000 +0800 ++++ html2db/pprint.c 2003-11-08 12:34:42.000000000 +0800 +@@ -341,7 +341,7 @@ + Node *parent; + + for (parent = element->parent; +- parent != null; parent = parent->parent) ++ parent != NULL; parent = parent->parent) + { if (parent->element && tmbstrcasecmp(parent->element, "address") == 0) + return yes; + } +@@ -488,7 +488,7 @@ + Bool xhtml = cfgBool( doc, TidyXhtmlOut); + uint spaces = cfg( doc, TidyIndentSpaces ); + +- if (node == null) ++ if (node == NULL) + return; + + if (node->type == TextNode) { +@@ -521,7 +521,7 @@ + else if (node->type == RootNode) + { + for (content = node->content; +- content != null; ++ content != NULL; + content = content->next) + PrintSgml(doc, mode, indent, content); + } +@@ -565,7 +565,7 @@ + PFlushLine(doc, indent); + + for (content = node->content; +- content != null; ++ content != NULL; + content = content->next) + PrintSgml(doc, (mode | PREFORMATTED | NOWRAP), + indent, content); +@@ -574,7 +574,7 @@ + PrintSgmlTag(doc, mode, indent, node, SgmlTagEnd); + PFlushLine(doc, indent); + +- if ( !cfg(doc, TidyIndentContent) && node->next != null ) ++ if ( !cfg(doc, TidyIndentContent) && node->next != NULL ) + PFlushLine(doc, indent); + } + else if (node->tag->model & CM_INLINE) +@@ -586,7 +586,7 @@ + indent += spaces; + + for (content = node->content; +- content != null; ++ content != NULL; + content = content->next) + PrintSgml(doc, mode, indent, content); + +@@ -598,7 +598,7 @@ + { + + for (content = node->content; +- content != null; ++ content != NULL; + content = content->next) + PrintSgml(doc, mode, indent, content); + } +@@ -607,7 +607,7 @@ + } + else + { PCondFlushLine(doc, indent); +-/* if (TidySmartIndent && node->prev != null) ++/* if (TidySmartIndent && node->prev != NULL) + PFlushLine(doc, indent); + */ + PrintSgmlTag(doc, mode ,indent, node, SgmlTagStart); +@@ -623,7 +623,7 @@ + indent += spaces; + + for (content = node->content; +- content != null; ++ content != NULL; + content = content->next) + PrintSgml(doc, mode, indent, content); + PCondFlushLine(doc, indent); +@@ -632,9 +632,9 @@ + } + else + { Node *last; +- last = null; ++ last = NULL; + for (content = node->content; +- content != null; ++ content != NULL; + content = content->next) { + /* kludge for naked text before block level tag */ + if (last && !cfg(doc, TidyIndentContent) && +@@ -654,7 +654,7 @@ + PrintSgmlTag(doc, mode, indent, node, SgmlTagEnd); + PFlushLine(doc, indent); + if (cfg(doc, TidyIndentContent) == no && +- node->next != null && ++ node->next != NULL && + TidyHideEndTags == no && + (node->tag->model & (CM_BLOCK|CM_LIST|CM_DEFLIST|CM_TABLE))) + PFlushLine(doc, indent); diff --git a/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/03-htmltidy-docbook.patch b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/03-htmltidy-docbook.patch new file mode 100644 index 0000000000..78f1082c43 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/03-htmltidy-docbook.patch @@ -0,0 +1,98 @@ +--- src/pprint.c.old 2003-11-08 13:01:16.000000000 +0800 ++++ src/pprint.c 2003-11-08 13:03:05.000000000 +0800 +@@ -40,7 +40,7 @@ + static int TextEndsWithNewline( Lexer *lexer, Node *node, uint mode ); + static int TextStartsWithWhitespace( Lexer *lexer, Node *node, uint start, uint mode ); + static Bool InsideHead( TidyDocImpl* doc, Node *node ); +-static Bool ShouldIndent( TidyDocImpl* doc, Node *node ); ++Bool ShouldIndent( TidyDocImpl* doc, Node *node ); + + #if SUPPORT_ASIAN_ENCODINGS + /* #431953 - start RJ Wraplen adjusted for smooth international ride */ +@@ -706,7 +706,7 @@ + } + } + +-static void PPrintChar( TidyDocImpl* doc, uint c, uint mode ) ++void PPrintChar( TidyDocImpl* doc, uint c, uint mode ) + { + tmbchar entity[128]; + ctmbstr p; +@@ -941,7 +941,7 @@ + to UTF-8 is deferred to the WriteChar() routine called + to flush the line buffer. + */ +-static void PPrintText( TidyDocImpl* doc, uint mode, uint indent, ++void PPrintText( TidyDocImpl* doc, uint mode, uint indent, + Node* node ) + { + uint start = node->start; +@@ -982,13 +982,11 @@ + } + } + +-#if 0 +-static void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str ) ++void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str ) + { + while ( *str != '\0' ) + AddChar( &doc->pprint, *str++ ); + } +-#endif /* 0 */ + + + static void PPrintAttrValue( TidyDocImpl* doc, uint indent, +@@ -1370,7 +1368,7 @@ + AddChar( pprint, '>' ); + } + +-static void PPrintComment( TidyDocImpl* doc, uint indent, Node* node ) ++void PPrintComment( TidyDocImpl* doc, uint indent, Node* node ) + { + TidyPrintImpl* pprint = &doc->pprint; + +@@ -1454,7 +1452,7 @@ + PCondFlushLine( doc, indent ); + } + +-static void PPrintPI( TidyDocImpl* doc, uint indent, Node *node ) ++void PPrintPI( TidyDocImpl* doc, uint indent, Node *node ) + { + TidyPrintImpl* pprint = &doc->pprint; + tchar c; +@@ -1485,7 +1483,7 @@ + PCondFlushLine( doc, indent ); + } + +-static void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node ) ++void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node ) + { + AttVal* att; + uint saveWrap; +@@ -1574,7 +1572,7 @@ + WrapOn( doc, saveWrap ); + } + +-static void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node ) ++void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node ) + { + uint saveWrap; + TidyPrintImpl* pprint = &doc->pprint; +@@ -1593,7 +1591,7 @@ + WrapOn( doc, saveWrap ); /* restore wrapping */ + } + +-static void PPrintSection( TidyDocImpl* doc, uint indent, Node *node ) ++void PPrintSection( TidyDocImpl* doc, uint indent, Node *node ) + { + TidyPrintImpl* pprint = &doc->pprint; + Bool wrapSect = cfgBool( doc, TidyWrapSection ); +@@ -1900,7 +1898,7 @@ + + + +-static Bool ShouldIndent( TidyDocImpl* doc, Node *node ) ++Bool ShouldIndent( TidyDocImpl* doc, Node *node ) + { + uint indentContent = cfg( doc, TidyIndentContent ); + if ( indentContent == no ) diff --git a/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/04-htmltidy-docbook.patch b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/04-htmltidy-docbook.patch new file mode 100644 index 0000000000..5e6cb1cec1 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/04-htmltidy-docbook.patch @@ -0,0 +1,100 @@ +--- src/pprint.c.orig 2004-08-02 16:14:50.000000000 +0900 ++++ src/pprint.c 2004-08-18 08:49:24.000000000 +0900 +@@ -40,7 +40,7 @@ + static int TextEndsWithNewline( Lexer *lexer, Node *node, uint mode ); + static int TextStartsWithWhitespace( Lexer *lexer, Node *node, uint start, uint mode ); + static Bool InsideHead( TidyDocImpl* doc, Node *node ); +-static Bool ShouldIndent( TidyDocImpl* doc, Node *node ); ++Bool ShouldIndent( TidyDocImpl* doc, Node *node ); + + #if SUPPORT_ASIAN_ENCODINGS + /* #431953 - start RJ Wraplen adjusted for smooth international ride */ +@@ -704,7 +704,7 @@ + } + } + +-static void PPrintChar( TidyDocImpl* doc, uint c, uint mode ) ++void PPrintChar( TidyDocImpl* doc, uint c, uint mode ) + { + tmbchar entity[128]; + ctmbstr p; +@@ -939,7 +939,7 @@ + to UTF-8 is deferred to the WriteChar() routine called + to flush the line buffer. + */ +-static void PPrintText( TidyDocImpl* doc, uint mode, uint indent, ++void PPrintText( TidyDocImpl* doc, uint mode, uint indent, + Node* node ) + { + uint start = node->start; +@@ -980,15 +980,13 @@ + } + } + +-#if 0 +-static void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str ) ++void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str ) + { + #pragma unused(indent) + + while ( *str != '\0' ) + AddChar( &doc->pprint, *str++ ); + } +-#endif /* 0 */ + + + static void PPrintAttrValue( TidyDocImpl* doc, uint indent, +@@ -1384,7 +1382,7 @@ + AddChar( pprint, '>' ); + } + +-static void PPrintComment( TidyDocImpl* doc, uint indent, Node* node ) ++void PPrintComment( TidyDocImpl* doc, uint indent, Node* node ) + { + TidyPrintImpl* pprint = &doc->pprint; + +@@ -1471,7 +1469,7 @@ + PCondFlushLine( doc, indent ); + } + +-static void PPrintPI( TidyDocImpl* doc, uint indent, Node *node ) ++void PPrintPI( TidyDocImpl* doc, uint indent, Node *node ) + { + TidyPrintImpl* pprint = &doc->pprint; + tchar c; +@@ -1502,7 +1500,7 @@ + PCondFlushLine( doc, indent ); + } + +-static void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node ) ++void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node ) + { + AttVal* att; + uint saveWrap; +@@ -1590,7 +1588,7 @@ + WrapOn( doc, saveWrap ); + } + +-static void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node ) ++void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node ) + { + uint saveWrap; + TidyPrintImpl* pprint = &doc->pprint; +@@ -1609,7 +1607,7 @@ + WrapOn( doc, saveWrap ); /* restore wrapping */ + } + +-static void PPrintSection( TidyDocImpl* doc, uint indent, Node *node ) ++void PPrintSection( TidyDocImpl* doc, uint indent, Node *node ) + { + TidyPrintImpl* pprint = &doc->pprint; + Bool wrapSect = cfgBool( doc, TidyWrapSection ); +@@ -1825,7 +1823,7 @@ + + + +-static Bool ShouldIndent( TidyDocImpl* doc, Node *node ) ++Bool ShouldIndent( TidyDocImpl* doc, Node *node ) + { + uint indentContent = cfg( doc, TidyIndentContent ); + if ( indentContent == no ) diff --git a/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/05-htmltidy-docbook.patch b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/05-htmltidy-docbook.patch new file mode 100644 index 0000000000..23c2ad468d --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/05-htmltidy-docbook.patch @@ -0,0 +1,99 @@ +diff -urN tidy.old/src/pprint.c tidy-26/src/pprint.c +--- tidy.old/src/pprint.c 2005-08-03 08:58:11.000000000 +0200 ++++ tidy-26/src/pprint.c 2006-02-13 17:29:01.000000000 +0100 +@@ -40,7 +40,7 @@ + static int TextEndsWithNewline( Lexer *lexer, Node *node, uint mode ); + static int TextStartsWithWhitespace( Lexer *lexer, Node *node, uint start, uint mode ); + static Bool InsideHead( TidyDocImpl* doc, Node *node ); +-static Bool ShouldIndent( TidyDocImpl* doc, Node *node ); ++Bool ShouldIndent( TidyDocImpl* doc, Node *node ); + + #if SUPPORT_ASIAN_ENCODINGS + /* #431953 - start RJ Wraplen adjusted for smooth international ride */ +@@ -708,7 +708,7 @@ + } + } + +-static void PPrintChar( TidyDocImpl* doc, uint c, uint mode ) ++void PPrintChar( TidyDocImpl* doc, uint c, uint mode ) + { + tmbchar entity[128]; + ctmbstr p; +@@ -943,7 +943,7 @@ + to UTF-8 is deferred to the WriteChar() routine called + to flush the line buffer. + */ +-static void PPrintText( TidyDocImpl* doc, uint mode, uint indent, ++void PPrintText( TidyDocImpl* doc, uint mode, uint indent, + Node* node ) + { + uint start = node->start; +@@ -984,13 +984,11 @@ + } + } + +-#if 0 +-static void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str ) ++void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str ) + { + while ( *str != '\0' ) + AddChar( &doc->pprint, *str++ ); + } +-#endif /* 0 */ + + + static void PPrintAttrValue( TidyDocImpl* doc, uint indent, +@@ -1414,7 +1412,7 @@ + AddChar( pprint, '>' ); + } + +-static void PPrintComment( TidyDocImpl* doc, uint indent, Node* node ) ++void PPrintComment( TidyDocImpl* doc, uint indent, Node* node ) + { + TidyPrintImpl* pprint = &doc->pprint; + +@@ -1501,7 +1499,7 @@ + PCondFlushLine( doc, indent ); + } + +-static void PPrintPI( TidyDocImpl* doc, uint indent, Node *node ) ++void PPrintPI( TidyDocImpl* doc, uint indent, Node *node ) + { + TidyPrintImpl* pprint = &doc->pprint; + tchar c; +@@ -1532,7 +1530,7 @@ + PCondFlushLine( doc, indent ); + } + +-static void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node ) ++void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node ) + { + AttVal* att; + uint saveWrap; +@@ -1620,7 +1618,7 @@ + WrapOn( doc, saveWrap ); + } + +-static void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node ) ++void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node ) + { + uint saveWrap; + TidyPrintImpl* pprint = &doc->pprint; +@@ -1639,7 +1637,7 @@ + WrapOn( doc, saveWrap ); /* restore wrapping */ + } + +-static void PPrintSection( TidyDocImpl* doc, uint indent, Node *node ) ++void PPrintSection( TidyDocImpl* doc, uint indent, Node *node ) + { + TidyPrintImpl* pprint = &doc->pprint; + Bool wrapSect = cfgBool( doc, TidyWrapSection ); +@@ -1856,7 +1854,7 @@ + + + +-static Bool ShouldIndent( TidyDocImpl* doc, Node *node ) ++Bool ShouldIndent( TidyDocImpl* doc, Node *node ) + { + TidyTriState indentContent = cfgAutoBool( doc, TidyIndentContent ); + if ( indentContent == TidyNoState ) diff --git a/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch new file mode 100644 index 0000000000..942a61e146 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch @@ -0,0 +1,31 @@ +Index: tidy-20090325/include/platform.h +=================================================================== +--- tidy-20090325.orig/include/platform.h ++++ tidy-20090325/include/platform.h +@@ -24,7 +24,7 @@ extern "C" { + */ + + /* #define TIDY_CONFIG_FILE "/etc/tidy_config.txt" */ /* original */ +-/* #define TIDY_CONFIG_FILE "/etc/tidyrc" */ ++#define TIDY_CONFIG_FILE "/etc/tidyrc" + /* #define TIDY_CONFIG_FILE "/etc/tidy.conf" */ + + /* +@@ -33,7 +33,7 @@ extern "C" { + It enables tidy to find config files named ~/.tidyrc if + the HTML_TIDY environment variable is not set. + */ +-/* #define TIDY_USER_CONFIG_FILE "~/.tidyrc" */ ++#define TIDY_USER_CONFIG_FILE "~/.tidyrc" + + /* + Uncomment the following #define if your +@@ -48,7 +48,7 @@ extern "C" { + Contributed by Todd Lewis. + */ + +-/* #define SUPPORT_GETPWNAM */ ++#define SUPPORT_GETPWNAM + + + /* Enable/disable support for Big5 and Shift_JIS character encodings */ diff --git a/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch new file mode 100644 index 0000000000..4c805cf222 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch @@ -0,0 +1,12 @@ +diff -urN tidy.old/configure.in tidy-26/configure.in +--- tidy.old/configure.in 2006-02-13 17:17:49.000000000 +0100 ++++ tidy-26/configure.in 2006-02-13 17:17:20.000000000 +0100 +@@ -72,7 +72,7 @@ + if test $debug_build = yes; then + CFLAGS="$save_cflags -g" + else +- CFLAGS="-O2 $save_cflags" ++ CFLAGS="$save_cflags" + fi + # + # ============================================= diff --git a/sdk_container/src/third_party/portage-stable/app-text/htmltidy/htmltidy-20090325.ebuild b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/htmltidy-20090325.ebuild new file mode 100644 index 0000000000..8c6f66bc5b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/htmltidy/htmltidy-20090325.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/htmltidy/htmltidy-20090325.ebuild,v 1.10 2010/01/02 12:16:07 fauli Exp $ + +EAPI=2 +inherit eutils autotools + +MY_PN="tidy" +MY_P=${MY_PN}-${PV} +S="${WORKDIR}"/${MY_P} + +DESCRIPTION="Tidy the layout and correct errors in HTML and XML documents" +HOMEPAGE="http://tidy.sourceforge.net/" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2 + mirror://gentoo/${MY_P}-doc.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug doc" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +src_prepare() { + # Required to setup the source dist for autotools + einfo "Setting up autotools for source build" + cp -R ./build/gnuauto/* . || die "could not prepare autotools environment" + + # Stop tidy from appending -O2 to our CFLAGS + epatch "${FILESDIR}"/htmltidy-5.10.26-strip-O2-flag.patch + + # Define /etc/tidyrc for system wide config, bug 154834 + epatch "${FILESDIR}"/htmltidy-20090325-tidyrc.patch + + eautoreconf +} + +src_compile() { + default + + if use doc ; then + doxygen htmldoc/doxygen.cfg || die "error making apidocs" + fi +} + +src_configure() { + econf $(use_enable debug) +} + +src_install() { + emake DESTDIR="${D}" install || die "error during make install" + + cd "${S}"/htmldoc + # It seems the manual page installation in the Makefile's + # is commented out, so we need to install manually + # for the moment. Please check this on updates. + # mv man_page.txt tidy.1 + # doman tidy.1 + # + # Update: + # Now the man page is provided as an xsl file, which + # we can't use until htmltidy is merged. + # I have generated the man page and quickref which is on + # the mirrors. (bug #132429) + doman "${WORKDIR}"/${MY_P}-doc/tidy.1 + + # Install basic html documentation + dohtml *.html *.css *.gif "${WORKDIR}"/${MY_P}-doc/quickref.html + + # If use 'doc' is set, then we also want to install the + # api documentation + use doc && dohtml -r api +} diff --git a/sdk_container/src/third_party/portage-stable/app-text/libpaper/Manifest b/sdk_container/src/third_party/portage-stable/app-text/libpaper/Manifest new file mode 100644 index 0000000000..9bee2961b7 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/libpaper/Manifest @@ -0,0 +1 @@ +DIST libpaper_1.1.23.tar.gz 351153 RMD160 bf407f5e75348abde5b7d3d3c8e2ea695de46cd7 SHA1 e1c03fc0fa708cafe12d00a120685ef566100468 SHA256 d6fe2af9da1f5f035665ba5f4600ea53cf00041eb268d981447c193eb3212acb diff --git a/sdk_container/src/third_party/portage-stable/app-text/libpaper/files/libpaper-1.1.14.8-malloc.patch b/sdk_container/src/third_party/portage-stable/app-text/libpaper/files/libpaper-1.1.14.8-malloc.patch new file mode 100644 index 0000000000..ca96a38fea --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/libpaper/files/libpaper-1.1.14.8-malloc.patch @@ -0,0 +1,12 @@ +Index: libpaper-1.1.14ubuntu8/lib/paper.c +=================================================================== +--- libpaper-1.1.14ubuntu8.orig/lib/paper.c ++++ libpaper-1.1.14ubuntu8/lib/paper.c +@@ -14,7 +14,6 @@ + #include + + #include +-#include + #include + #include + diff --git a/sdk_container/src/third_party/portage-stable/app-text/libpaper/libpaper-1.1.23.ebuild b/sdk_container/src/third_party/portage-stable/app-text/libpaper/libpaper-1.1.23.ebuild new file mode 100644 index 0000000000..0f7f6a9fd3 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/libpaper/libpaper-1.1.23.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/libpaper-1.1.23.ebuild,v 1.10 2010/03/08 08:14:49 sping Exp $ + +inherit eutils libtool + +MY_P=${P/-/_} +DESCRIPTION="Library for handling paper characteristics" +HOMEPAGE="http://packages.debian.org/unstable/source/libpaper" +SRC_URI="mirror://gentoo/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/libpaper-1.1.14.8-malloc.patch + elibtoolize +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README ChangeLog debian/changelog debian/NEWS + dodir /etc + (paperconf 2>/dev/null || echo a4) > "${D}"/etc/papersize +} + +pkg_postinst() { + echo + elog "run \"paperconfig -p letter\" as root to use letter-pagesizes" + elog "or paperconf with normal user privileges." + echo +} diff --git a/sdk_container/src/third_party/portage-stable/app-text/opensp/Manifest b/sdk_container/src/third_party/portage-stable/app-text/opensp/Manifest new file mode 100644 index 0000000000..f4a2edaa36 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/opensp/Manifest @@ -0,0 +1 @@ +DIST OpenSP-1.5.2.tar.gz 1521390 RMD160 6e671a267562c5b9283e7e6504e8339cb1d86850 SHA1 b4e903e980f8a8b3887396a24e067bef126e97d5 SHA256 57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce diff --git a/sdk_container/src/third_party/portage-stable/app-text/opensp/files/opensp-1.5-gcc34.patch b/sdk_container/src/third_party/portage-stable/app-text/opensp/files/opensp-1.5-gcc34.patch new file mode 100644 index 0000000000..60ee560853 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/opensp/files/opensp-1.5-gcc34.patch @@ -0,0 +1,10 @@ +--- include/RangeMap.h~ 2004-04-22 20:34:13.729541096 +0300 ++++ include/RangeMap.h 2004-04-22 20:31:48.473049702 +0300 +@@ -8,6 +8,7 @@ + #include "Boolean.h" + #include "ISet.h" + #include "types.h" ++#include "constant.h" + #include + + #ifdef SP_NAMESPACE diff --git a/sdk_container/src/third_party/portage-stable/app-text/opensp/opensp-1.5.2-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-text/opensp/opensp-1.5.2-r1.ebuild new file mode 100644 index 0000000000..02f4558412 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/opensp/opensp-1.5.2-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/opensp-1.5.2-r1.ebuild,v 1.11 2007/07/12 04:37:47 mr_bones_ Exp $ + +inherit eutils flag-o-matic + +MY_P=${P/opensp/OpenSP} +S=${WORKDIR}/${MY_P} +DESCRIPTION="A free, object-oriented toolkit for SGML parsing and entity management" +HOMEPAGE="http://openjade.sourceforge.net/" +SRC_URI="mirror://sourceforge/openjade/${MY_P}.tar.gz" + +LICENSE="JamesClark" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="doc nls" + +DEPEND="nls? ( >=sys-devel/gettext-0.14.5 ) + doc? ( + app-text/xmlto + ~app-text/docbook-xml-dtd-4.1.2 + )" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.5-gcc34.patch +} + +src_compile() { + # + # The following filters are taken from openjade's ebuild. See bug #100828. + # + + # Please note! Opts are disabled. If you know what you're doing + # feel free to remove this line. It may cause problems with + # docbook-sgml-utils among other things. + ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march" + strip-flags + + # Default CFLAGS and CXXFLAGS is -O2 but this make openjade segfault + # on hppa. Using -O1 works fine. So I force it here. + use hppa && replace-flags -O2 -O1 + + local myconf="--enable-http \ + --enable-default-catalog=/etc/sgml/catalog \ + --enable-default-search-path=/usr/share/sgml \ + --datadir=/usr/share/sgml/${P} \ + $(use_enable nls) \ + $(use_enable doc doc-build)" + + econf ${myconf} || die "econf failed" + emake pkgdocdir=/usr/share/doc/${PF} || die "Compilation failed" +} + +src_test() { + echo ">>> Test phase [check]: ${CATEGORY}/${PF}" + einfo "Skipping tests known not to work" + make SHOWSTOPPERS= check || die "Make test failed" + SANDBOX_PREDICT="${SANDBOX_PREDICT%:/}" +} + +src_install() { + make DESTDIR="${D}" \ + pkgdocdir=/usr/share/doc/${PF} install || die "Installation failed" + + dodoc AUTHORS BUGS ChangeLog NEWS README +} + +pkg_postinst() { + ewarn "Please note that the soname of the library changed." + ewarn "If you are upgrading from a previous version you need" + ewarn "to fix dynamic linking inconsistencies by executing:" + ewarn + ewarn " revdep-rebuild --library='libosp.so.*'" +} diff --git a/sdk_container/src/third_party/portage-stable/app-text/rarian/Manifest b/sdk_container/src/third_party/portage-stable/app-text/rarian/Manifest new file mode 100644 index 0000000000..a34e92ef8c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/rarian/Manifest @@ -0,0 +1 @@ +DIST rarian-0.8.1.tar.bz2 324441 RMD160 2e4c0a4d22a4e0c41d4d3dc8e4a5ad080ee3b6ce SHA1 9b3f1bad1cdbb0de51d6f74431b20eb3647edc5a SHA256 aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577 diff --git a/sdk_container/src/third_party/portage-stable/app-text/rarian/rarian-0.8.1.ebuild b/sdk_container/src/third_party/portage-stable/app-text/rarian/rarian-0.8.1.ebuild new file mode 100644 index 0000000000..401e14d014 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-text/rarian/rarian-0.8.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/rarian/rarian-0.8.1.ebuild,v 1.10 2009/03/02 18:46:53 armin76 Exp $ + +inherit eutils gnome2 + +DESCRIPTION="A documentation metadata library" +HOMEPAGE="http://www.freedesktop.org" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="" + +RDEPEND="dev-libs/libxslt" +DEPEND="${RDEPEND} + ! +# This program is under GPL license. See LICENSE file for details. + +# Modified by Gentoo developers to better integrate it to portage. +# + +# Set help message +SGML_HELP_MESSAGE="Usage: `basename $0` [