debian/0000775000000000000000000000000012260162011007157 5ustar debian/rules0000775000000000000000000000021112260161161010236 0ustar #!/usr/bin/make -f # -*- makefile-gmake -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with autoreconf debian/changelog0000664000000000000000000000562712260162007011050 0ustar rxp (1.5.0-2ubuntu1) trusty; urgency=medium * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by getting new libtool macros (still updates config.{sub,guess}). * Disable -Werror for automake to fix FTBFS while autoreconfing. -- Logan Rosen Sun, 29 Dec 2013 22:03:24 -0500 rxp (1.5.0-2) unstable; urgency=low * debian/compat: Require 9. * debian/control (Build-Depends): Require debhelper >= 9. Remove quilt. (Standards-Version): Conform to 3.9.4. [librxp0] (Multi-Arch, Pre-Depends): New for multi-arch. [rxp] (Description): Remove article. * debian/{librxp0.install,librxp-dev.install}: Update. Remove *.la. * debian/rules: Simplify using --with autotools-dev. * debian/patches/01_lp64_fixes.diff: New. -- NIIBE Yutaka Wed, 10 Jul 2013 23:33:53 +0000 rxp (1.5.0-1) unstable; urgency=low * New upsteam release. * debian/control (Maintainer): New maintainer (Closes: #494599). (Homepage): Added. (Build-Depends): Added quilt and autotools-dev. * debian/copyright: Write from scratch. * debian/rules: Write from scratch based on sample debian/rules of dh-make. -- NIIBE Yutaka Wed, 12 May 2010 11:46:15 +0900 rxp (1.2.3-2) unstable; urgency=low * make rxp dep on current librxp - Closes: #101111 -- Mike Mattice Fri, 30 Aug 2002 23:53:08 -0500 rxp (1.2.3-1) unstable; urgency=low * New upstream release. -- Mike Mattice Sun, 26 Nov 2000 19:14:50 -0600 rxp (1.1-7) unstable; urgency=low * New maintainer. closes: Bug#69643 -- Mike Mattice Tue, 22 Aug 2000 19:46:51 -0500 rxp (1.1-6) unstable; urgency=low * Corrected sections to match overrides file. -- Joey Hess Mon, 1 May 2000 20:19:02 -0700 rxp (1.1-5) unstable; urgency=low * Build deps. -- Joey Hess Sat, 4 Dec 1999 15:54:13 -0800 rxp (1.1-4) unstable; urgency=low * Removed install-stamp targetr, which can cause problems. -- Joey Hess Thu, 30 Sep 1999 13:28:03 -0700 rxp (1.1-3) unstable; urgency=low * FHS -- Joey Hess Sun, 12 Sep 1999 13:47:47 -0700 rxp (1.1-2) unstable; urgency=low * Patch from "Sean 'Shaleh' Perry" to make rxp build as a shared library. Split package into the typical lib and -dev packages. I hope festival can use this.. -- Joey Hess Thu, 29 Jul 1999 13:52:12 -0700 rxp (1.1-1) unstable; urgency=low * New upstream release. -- Joey Hess Thu, 29 Jul 1999 10:47:21 -0700 rxp (1.0-1) unstable; urgency=low * First release. * Minor modifications to make it compile. * No shared library is built, though it could be useful to build one for festival later. It's not supported out of the box. -- Joey Hess Fri, 14 May 1999 13:55:35 -0700 debian/compat0000664000000000000000000000000212167367564010407 0ustar 9 debian/librxp-dev.install0000664000000000000000000000006112167370313012634 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so debian/copyright0000664000000000000000000001404311372415762011135 0ustar This work was packaged for Debian by: NIIBE Yutaka on Wed, 12 May 2010 11:46:15 +0900 It was downloaded from: http://www.cogsci.ed.ac.uk/~richard/rxp.html When download, people need to agree license of GPL-2. Upstream Author: Richard Tobin Files: * Copyright: Copyright (c) 1997-2008 Richard Tobin, Language Technology Group, HCRC, University of Edinburgh. License: GPL-2 plus following disclaimer THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR OR THE UNIVERSITY OF EDINBURGH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. File: catalog/catalog_dtd.c Copyright: Copyright (c) 2000, 2001, 2002 OASIS Open, Inc. All Rights Reserved. License: This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English. Files: src/nf16check.c src/nf16data.c include/nf16check.h include/nf16data.h Copyright: Copyright (c) 2003 Martin J. Du"rst, W3C License: http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications: * The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. * Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code. * Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.) File: data in src/nf16data.c Copyright: Copyright (C) 1991-2010 Unicode, Inc. All rights reserved. License: COPYRIGHT AND PERMISSION NOTICE Copyright (C) 1991-2010 Unicode, Inc. All rights reserved. Distributed under the Terms of Use in http:/ /www.unicode.org/copyright.html. Permission is hereby granted, free of charge, to any person obtaining a copy of the Unicode data files and any associated documentation (the "Data Files") or Unicode software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that (a) the above copyright notice(s) and this permission notice appear with all copies of the Data Files or Software, (b) both the above copyright notice(s) and this permission notice appear in associated documentation, and (c) there is clear notice in each modified Data File or in the Software as well as in the documentation associated with the Data File(s) or Software that the data or software has been modified. THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE. Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder. The Debian packaging is done by NIIBE Yutaka and put into public domain. debian/source/0000775000000000000000000000000011372413172010471 5ustar debian/source/format0000664000000000000000000000001411372413172011677 0ustar 3.0 (quilt) debian/librxp-dev.dirs0000664000000000000000000000002411372413172012124 0ustar usr/lib usr/include debian/README.Debian0000664000000000000000000000055611372421134011235 0ustar On Debian (<= lenny), we had librxp1 and librxp1-dev package for version 1.2.3. Shared library were not supported at that time in upstream, and Debian introduce soname version 1 for librxp shared library. Now, upstream support shared library (as 0), and we have librxp0 and librxp-dev packages. -- NIIBE Yutaka , Wed, 12 May 2010 12:37:00 +0900 debian/rxp.install0000664000000000000000000000004311372421445011371 0ustar /usr/bin/rxp /usr/share/man/man1/* debian/librxp0.symbols0000664000000000000000000001427511372421774012203 0ustar librxp.so.0 librxp0 #MINVER# AttributeTypeName@Base 1.5.0 CE_alias_count@Base 1.5.0 CatalogEnable@Base 1.5.0 CharacterEncodingAlias@Base 1.5.0 CharacterEncodingName@Base 1.5.0 CharacterEncodingNameAndByteOrder@Base 1.5.0 ContentParticleTypeName@Base 1.5.0 ContentTypeName@Base 1.5.0 DefaultTypeName@Base 1.5.0 DefineAttributeN@Base 1.5.0 DefineElementN@Base 1.5.0 DefineEntity@Base 1.5.0 DefineNSElement@Base 1.5.0 DefineNSElementAttribute@Base 1.5.0 DefineNSGlobalAttribute@Base 1.5.0 DefineNotationN@Base 1.5.0 EncodingIsAsciiSuperset@Base 1.5.0 EncodingsCompatible@Base 1.5.0 EntityBaseURL@Base 1.5.0 EntityDescription@Base 1.5.0 EntityOpen@Base 1.5.0 EntitySetBaseURL@Base 1.5.0 EntityURL@Base 1.5.0 Epsilon@Base 1.5.0 Fclose@Base 1.5.0 Feof@Base 1.5.0 Ferror@Base 1.5.0 Fflush@Base 1.5.0 FindAttributeN@Base 1.5.0 FindElementN@Base 1.5.0 FindEncoding@Base 1.5.0 FindEntityN@Base 1.5.0 FindNSElementAttributeDefinition@Base 1.5.0 FindNSElementDefinition@Base 1.5.0 FindNSGlobalAttributeDefinition@Base 1.5.0 FindNamespace@Base 1.5.0 FindNotationN@Base 1.5.0 Fprintf@Base 1.5.0 Free@Base 1.5.0 FreeAttributeDefinition@Base 1.5.0 FreeCatalog@Base 1.5.0 FreeCatalogEntry@Base 1.5.0 FreeCatalogEntryFile@Base 1.5.0 FreeContentParticle@Base 1.5.0 FreeDtd@Base 1.5.0 FreeElementDefinition@Base 1.5.0 FreeEntity@Base 1.5.0 FreeFSM@Base 1.5.0 FreeNamespaceUniverse@Base 1.5.0 FreeNotationDefinition@Base 1.5.0 FreeParser@Base 1.5.0 FreeXBit@Base 1.5.0 FreeXTree@Base 1.5.0 Fseek@Base 1.5.0 GetCatalogEntryFile@Base 1.5.0 GetFILE@Base 1.5.0 GetFileEncoding@Base 1.5.0 Getu@Base 1.5.0 InternalCharacterEncoding@Base 1.5.0 IsPublicidUrn@Base 1.5.0 LookupNamespace@Base 1.5.0 MakeFILE16FromFD@Base 1.5.0 MakeFILE16FromFILE@Base 1.5.0 MakeFILE16FromString@Base 1.5.0 MakeStringFILE16@Base 1.5.0 Malloc@Base 1.5.0 NamespacifyElementAttributeDefinition@Base 1.5.0 NamespacifyElementDefinition@Base 1.5.0 NamespacifyGlobalAttributeDefinition@Base 1.5.0 NewCatalog@Base 1.5.0 NewCatalogEntry@Base 1.5.0 NewDtd@Base 1.5.0 NewExternalEntity@Base 1.5.0 NewExternalEntityN@Base 1.5.0 NewInputSource@Base 1.5.0 NewInternalEntityN@Base 1.5.0 NewNamespace@Base 1.5.0 NewNamespaceUniverse@Base 1.5.0 NewParser@Base 1.5.0 NextAttributeDefinition@Base 1.5.0 NextElementDefinition@Base 1.5.0 NextEntity@Base 1.5.0 NextNSElementAttributeDefinition@Base 1.5.0 NextNSElementDefinition@Base 1.5.0 NextNSGlobalAttributeDefinition@Base 1.5.0 NextNamespace@Base 1.5.0 NextNotationDefinition@Base 1.5.0 NextParameterEntity@Base 1.5.0 NormalizePublic16@Base 1.5.0 NormalizePublic8@Base 1.5.0 NormalizePublic@Base 1.5.0 NormalizeSystem16@Base 1.5.0 NormalizeSystem8@Base 1.5.0 NormalizeSystem@Base 1.5.0 NotationURL@Base 1.5.0 PCDataElement@Base 1.5.0 ParseDtd@Base 1.5.0 ParserPerror@Base 1.5.0 ParserPop@Base 1.5.0 ParserPush@Base 1.5.0 ParserRootEntity@Base 1.5.0 ParserRootSource@Base 1.5.0 ParserSetDtdCallback@Base 1.5.0 ParserSetDtdCallbackArg@Base 1.5.0 ParserSetEntityOpener@Base 1.5.0 ParserSetEntityOpenerArg@Base 1.5.0 ParserSetFlag@Base 1.5.0 ParserSetWarningCallback@Base 1.5.0 ParserSetWarningCallbackArg@Base 1.5.0 PeekXBit@Base 1.5.0 PreferName@Base 1.5.0 Printf@Base 1.5.0 ReadCatalogEntryFile@Base 1.5.0 ReadXBit@Base 1.5.0 ReadXTree@Base 1.5.0 Readu@Base 1.5.0 Realloc@Base 1.5.0 RedefineElement@Base 1.5.0 RedefineNotation@Base 1.5.0 ResolveExternalIdentifier@Base 1.5.0 ResolveURI@Base 1.5.0 SetCloseUnderlying@Base 1.5.0 SetFileEncoding@Base 1.5.0 SetNormalizeLineEnd@Base 1.5.0 Snprintf@Base 1.5.0 SourceClose@Base 1.5.0 SourceFromFILE16@Base 1.5.0 SourceFromStream@Base 1.5.0 SourceLineAndChar@Base 1.5.0 SourcePosition@Base 1.5.0 SourceSeek@Base 1.5.0 SourceTell@Base 1.5.0 Sprintf@Base 1.5.0 StandaloneDeclarationName@Base 1.5.0 Stderr@Base 1.5.0 Stdin@Base 1.5.0 Stdout@Base 1.5.0 StringFILE16String@Base 1.5.0 StringFILE16StringLength@Base 1.5.0 TentativelyDefineElementN@Base 1.5.0 TentativelyDefineNotationN@Base 1.5.0 Tolower@Base 1.5.0 Toupper@Base 1.5.0 UnwrapPublicidUrn@Base 1.5.0 Vfprintf@Base 1.5.0 Vprintf@Base 1.5.0 Vsnprintf@Base 1.5.0 Vsprintf@Base 1.5.0 Writeu@Base 1.5.0 XBitTypeName@Base 1.5.0 bogus_bit@Base 1.5.0 catalog_debug@Base 1.5.0 catalog_entity_open@Base 1.5.0 catalog_resource_error@Base 1.5.0 catalog_resource_error_data@Base 1.5.0 combiningClassCount@Base 1.5.0 combiningClasses@Base 1.5.0 create_hash_table@Base 1.5.0 default_base_url@Base 1.5.0 deinit_charset@Base 1.5.0 deinit_ctype16@Base 1.5.0 deinit_http@Base 1.5.0 deinit_namespaces@Base 1.5.0 deinit_parser@Base 1.5.0 deinit_stdio16@Base 1.5.0 deinit_url@Base 1.5.0 determine_character_encoding@Base 1.5.0 elements@Base 1.5.0 free_hash_table@Base 1.5.0 get_with_fill@Base 1.5.0 global_universe@Base 1.5.0 hash_count@Base 1.5.0 hash_find@Base 1.5.0 hash_find_or_add@Base 1.5.0 hash_map@Base 1.5.0 hash_remove@Base 1.5.0 http_open@Base 1.5.0 http_set_user_agent@Base 1.5.0 infoset_print@Base 1.5.0 init_charset@Base 1.5.0 init_ctype16@Base 1.5.0 init_http@Base 1.5.0 init_namespaces@Base 1.5.0 init_parser@Base 1.5.0 init_stdio16@Base 1.5.0 init_url@Base 1.5.0 iso_max_val@Base 1.5.0 iso_to_unicode@Base 1.5.0 nelements@Base 1.5.0 nf16check@Base 1.5.0 nf16checkDelete@Base 1.5.0 nf16checkExists@Base 1.5.0 nf16checkL@Base 1.5.0 nf16checkNew@Base 1.5.0 nf16checkNoStart@Base 1.5.0 nf16checkStart@Base 1.5.0 nf16flags@Base 1.5.0 percent_escape@Base 1.5.0 recombinerCount@Base 1.5.0 recombiners@Base 1.5.0 reinit_namespaces@Base 1.5.0 rxp_version_string@Base 1.5.0 schemes@Base 1.5.0 strcasecmp16@Base 1.5.0 strcasecmp8@Base 1.5.0 strcat16@Base 1.5.0 strchr16@Base 1.5.0 strcmp16@Base 1.5.0 strcmpC8@Base 1.5.0 strcpy16@Base 1.5.0 strdup16@Base 1.5.0 strdup8@Base 1.5.0 strlen16@Base 1.5.0 strncasecmp16@Base 1.5.0 strncasecmp8@Base 1.5.0 strncat16@Base 1.5.0 strncmp16@Base 1.5.0 strncpy16@Base 1.5.0 strstr16@Base 1.5.0 toUTF8@Base 1.5.0 translate_latin1_utf16@Base 1.5.0 translate_latin1_utf16_m@Base 1.5.0 translate_utf16_latin1@Base 1.5.0 translate_utf16_latin1_m@Base 1.5.0 unicode_to_iso@Base 1.5.0 url_merge@Base 1.5.0 url_open@Base 1.5.0 xml_char_map@Base 1.5.0 xml_char_map_105@Base 1.5.0 xml_char_map_11@Base 1.5.0 debian/control0000664000000000000000000000224712260161240010572 0ustar Source: rxp Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: NIIBE Yutaka Build-Depends: debhelper (>= 9), dh-autoreconf Standards-Version: 3.9.4 Section: text Homepage: http://www.cogsci.ed.ac.uk/~richard/rxp.html Package: rxp Section: text Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Validating XML parser Rxp reads, parses, and can optionally validate XML. Package: librxp0 Section: libs Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: Shared library for XML parsing and validating XML is a metalanguage to let you design your own markup language. This library can be used to parse and validate XML documents. Package: librxp-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, librxp0 (= ${binary:Version}) Description: Development files for librxp XML is a metalanguage to let you design your own markup language. librxp is a library that can be used to parse and validate XML documents. . This package contains the static library and header files used in development. debian/docs0000664000000000000000000000000011372413172010032 0ustar debian/patches/0000775000000000000000000000000012260161763010623 5ustar debian/patches/series0000664000000000000000000000005312260161740012031 0ustar 01_lp64_fixes.diff 02_automake_Werror.diff debian/patches/02_automake_Werror.diff0000664000000000000000000000030712260161755015125 0ustar --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_INIT(rxp, 1.5.0) -AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +AM_INIT_AUTOMAKE([-Wall foreign]) AC_TYPE_LONG_LONG_INT AC_TYPE_LONG_DOUBLE debian/patches/01_lp64_fixes.diff0000664000000000000000000000307312167400523013737 0ustar Description: LP64 fixes Author: NIIBE YUtaka Last-Update: 2013-07-11 Index: rxp-1.5.0/catalog/resolve.c =================================================================== --- rxp-1.5.0.orig/catalog/resolve.c 2013-07-11 00:50:23.168766366 +0000 +++ rxp-1.5.0/catalog/resolve.c 2013-07-11 00:50:23.108767396 +0000 @@ -6,6 +6,7 @@ #include "system.h" #include "catutil.h" #include "string.h" +#include "string16.h" static char *res_ext(Catalog catalog, char *file, const char *public, const char *system, Prefer prefer); Index: rxp-1.5.0/src/xmlparser.c =================================================================== --- rxp-1.5.0.orig/src/xmlparser.c 2013-07-11 00:50:23.168766366 +0000 +++ rxp-1.5.0/src/xmlparser.c 2013-07-11 00:50:23.108767396 +0000 @@ -4915,7 +4915,7 @@ { Parser p = (Parser)pp; - if(!(int)hash_get_value(id_entry)) + if(!(long)hash_get_value(id_entry)) validity_error(p, "The ID %.*S was referred to but never defined", hash_get_key_len(id_entry) / sizeof(Char), @@ -5552,7 +5552,7 @@ return error(p, "System error"); if(!found) { - hash_set_value(id_entry, (void *)(a->type == AT_id)); + hash_set_value(id_entry, (void *)(long)(a->type == AT_id)); if(ParserGetFlag(p, XMLNamespaces)) for(i=0; itype == AT_id) { - int idinfo = (int)hash_get_value(id_entry); + long idinfo = (long)hash_get_value(id_entry); if(idinfo & 1) { require(validity_error(p, "Duplicate ID attribute value %.*S", debian/librxp0.install0000664000000000000000000000003012167370323012135 0ustar /usr/lib/*/librxp*.so.*