debian/0000755000000000000000000000000012254461723007174 5ustar debian/watch0000644000000000000000000000013410663034666010227 0ustar version=2 http://ftp.gnome.org/pub/gnome/sources/rarian/([\d\.]+)/rarian-([\d\.]+)\.tar\.gz debian/rarian-compat.xmlcatalogs0000644000000000000000000000040611166657120014170 0ustar local;debian/catalog.xml;/usr/share/xml/scrollkeeper/dtds/catalog.xml root;uri;http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/ package;uri;http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/;/usr/share/xml/scrollkeeper/dtds/catalog.xml debian/control.in0000644000000000000000000000370612254460527011213 0ustar Source: rarian Section: doc Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Frederic Peters Uploaders: @GNOME_TEAM@ Build-Depends: cdbs, debhelper (>= 5), dh-autoreconf, xsltproc, xml-core (>= 0.06), gnome-pkg-tools Standards-Version: 3.8.2 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/rarian Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/desktop/unstable/rarian Homepage: http://rarian.freedesktop.org/ Package: librarian0 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: yelp (<< 2.21) Description: Documentation meta-data library (library package) Rarian (formerly Spoon) is a documentation meta-data library, designed as a replacement for Scrollkeeper. . This package ships the shared library. Package: librarian-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, librarian0 (= ${binary:Version}) Description: Documentation meta-data library (header files) Rarian (formerly Spoon) is a documentation meta-data library, designed as a replacement for Scrollkeeper. . This package ships the development files. Package: rarian-compat Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, docbook-xml Provides: scrollkeeper Conflicts: scrollkeeper (<< 0.4) Replaces: scrollkeeper (<< 0.4) Description: Documentation meta-data library (compatibility tools) Rarian (formerly Spoon) is a documentation meta-data library, designed as a replacement for Scrollkeeper. Package: scrollkeeper Architecture: all Depends: ${misc:Depends}, rarian-compat Description: Transitional package for scrollkeeper This dummy package is designed to facilitate upgrades for systems with scrollkeeper installed. It will bring its replacement, named rarian, instead. . You can safely remove this package. debian/scrollkeeper-cl.dtd0000644000000000000000000000714411166657120012764 0ustar debian/rules0000755000000000000000000000072612254460456010263 0ustar #!/usr/bin/make -f include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/autoreconf.mk -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk DEB_CONFIGURE_EXTRA_FLAGS += --enable-skdb-update=no DEB_DH_MAKESHLIBS_ARGS_librarian0 := -V 'librarian0 (>= 0.8.0)' binary-post-install/rarian-compat:: dh_installxmlcatalogs -prarian-compat debian/rarian-compat.postinst0000644000000000000000000000052611344124742013535 0ustar #!/bin/sh set -e # In some cases old scrollkeeper left over its catalog. See #532271. if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "0.8.1-4.1"; then update-xmlcatalog --del --type uri --id "http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/" --package scrollkeeper >/dev/null 2>/dev/null || true fi #DEBHELPER# debian/copyright0000644000000000000000000000610311057251714011124 0ustar This package was debianized by Daniel Holbach on Sun, 6 May 2007 16:29:19 +0200. It was downloaded from http://rarian.freedesktop.org/ Upstream Author: Don Scorgie 2006-2007 Copyright: Copyright (C) 2006 - Don Scorgie Original file by Yves Berquin. Original code (2.0 and earlier )copyright (c) 2000-2002 Lee Thomason (www.grinninglizard.com) License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. librarian/ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. The Debian packaging is (C) 2007, Daniel Holbach and and is licensed under the GPL, see above. util/tinyxml* This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. debian/librarian-dev.install0000644000000000000000000000024511223352431013272 0ustar debian/tmp/usr/lib/librarian*.so debian/tmp/usr/lib/pkgconfig debian/tmp/usr/include debian/tmp/usr/share/help/rarian.document debian/tmp/usr/share/librarian/manual debian/catalog.xml0000644000000000000000000000045711166657120011335 0ustar debian/source/0000755000000000000000000000000011414124547010471 5ustar debian/source/format0000644000000000000000000000001411414124453011673 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012254461706010624 5ustar debian/patches/01_info_shortnames.patch0000644000000000000000000000123511414124453015334 0ustar Bug: https://bugs.freedesktop.org/show_bug.cgi?id=22602 --- a/librarian/rarian-info.c.orig 2008-09-02 16:38:09.982622444 +0200 +++ b/librarian/rarian-info.c 2008-09-02 17:07:36.206700155 +0200 @@ -665,8 +665,9 @@ while (l) { if ((l->reg->doc_name && !strcmp (uri, l->reg->doc_name)) || - (!strcmp (uri, l->reg->name))) { - if (!section || (*section && l->reg->section && !strcmp (l->reg->section, section))) { + (!strncmp (uri, l->reg->name, strlen(uri)))) { + if ((!section && !strcmp (uri, l->reg->name)) || + (section && *section && l->reg->section && !strcmp (l->reg->section, section))) { return l->reg; } else { best_result = l; debian/patches/03_language.patch0000644000000000000000000000102611414124453013721 0ustar Index: rarian-0.8.1/librarian/rarian-language.c =================================================================== --- rarian-0.8.1.orig/librarian/rarian-language.c 2010-07-04 17:24:46.881069651 +0200 +++ rarian-0.8.1/librarian/rarian-language.c 2010-07-04 17:25:32.305067458 +0200 @@ -89,6 +89,9 @@ rrn_language_init (char *lang) loc = getenv ("LC_ALL"); } if (!loc || !strcmp (loc, "")) { + loc = getenv ("LC_MESSAGES"); + } + if (!loc || !strcmp (loc, "")) { loc = getenv ("LANG"); } debian/patches/05_no_dist_gzip_option.patch0000644000000000000000000000076512254461706016241 0ustar Description: Remove the nonexistent "dist-gzip" Automake option Author: Colin Watson Forwarded: no Last-Update: 2013-12-19 Index: b/configure.ac =================================================================== --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ AC_INIT(rarian, 0.8.1) AC_CONFIG_SRCDIR([util/rarian-example.c]) AC_CONFIG_HEADER([config.h]) -AM_INIT_AUTOMAKE([foreign dist-bzip2 dist-gzip]) +AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE debian/patches/04_m4_syntax.patch0000644000000000000000000000077412254461274014106 0ustar Description: Fix m4 syntax so that autoreconf doesn't break Author: Colin Watson Forwarded: no Last-Update: 2013-12-19 Index: b/configure.ac =================================================================== --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ AC_INIT(rarian, 0.8.1) AC_CONFIG_SRCDIR([util/rarian-example.c]) AC_CONFIG_HEADER([config.h]) -AM_INIT_AUTOMAKE ([foreign dist-bzip2 dist-gzip]) +AM_INIT_AUTOMAKE([foreign dist-bzip2 dist-gzip]) AM_MAINTAINER_MODE debian/patches/series0000644000000000000000000000016712254461602012040 0ustar 01_info_shortnames.patch 02_crash_no_extension.patch 03_language.patch 04_m4_syntax.patch 05_no_dist_gzip_option.patch debian/patches/02_crash_no_extension.patch0000644000000000000000000000142211414124453016025 0ustar Bug: https://bugs.freedesktop.org/show_bug.cgi?id=22363 Index: librarian/rarian-main.c =================================================================== --- a/librarian/rarian-main.c (revision 62) +++ b/librarian/rarian-main.c (working copy) @@ -294,10 +294,12 @@ char *suffix = NULL; suffix = strrchr (full_name, '.'); - if (!strcmp (suffix, ".document")) { - process_file (full_name); - } else if (!strcmp (suffix, ".section")) { - process_section (full_name); + if (suffix) { + if (!strcmp (suffix, ".document")) { + process_file (full_name); + } else if (!strcmp (suffix, ".section")) { + process_section (full_name); + } } } else if (S_ISDIR(buf.st_mode) && strcmp (dp->d_name, ".") && strcmp (dp->d_name, "..") && debian/compat0000644000000000000000000000000210663023175010367 0ustar 5 debian/control0000644000000000000000000000443212254461725010604 0ustar # This file is autogenerated. DO NOT EDIT! # # Modifications should be made to debian/control.in instead. # This file is regenerated automatically in the clean target. Source: rarian Section: doc Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Frederic Peters Uploaders: Debian GNOME Maintainers , Frederic Peters , Josselin Mouette , Sebastian Dröge Build-Depends: cdbs, debhelper (>= 5), dh-autoreconf, xsltproc, xml-core (>= 0.06), gnome-pkg-tools Standards-Version: 3.8.2 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/rarian Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/desktop/unstable/rarian Homepage: http://rarian.freedesktop.org/ Package: librarian0 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: yelp (<< 2.21) Description: Documentation meta-data library (library package) Rarian (formerly Spoon) is a documentation meta-data library, designed as a replacement for Scrollkeeper. . This package ships the shared library. Package: librarian-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, librarian0 (= ${binary:Version}) Description: Documentation meta-data library (header files) Rarian (formerly Spoon) is a documentation meta-data library, designed as a replacement for Scrollkeeper. . This package ships the development files. Package: rarian-compat Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, docbook-xml Provides: scrollkeeper Conflicts: scrollkeeper (<< 0.4) Replaces: scrollkeeper (<< 0.4) Description: Documentation meta-data library (compatibility tools) Rarian (formerly Spoon) is a documentation meta-data library, designed as a replacement for Scrollkeeper. Package: scrollkeeper Architecture: all Depends: ${misc:Depends}, rarian-compat Description: Transitional package for scrollkeeper This dummy package is designed to facilitate upgrades for systems with scrollkeeper installed. It will bring its replacement, named rarian, instead. . You can safely remove this package. debian/scrollkeeper-omf.dtd0000644000000000000000000002543311166657120013150 0ustar debian/changelog0000644000000000000000000002315412254461723011053 0ustar rarian (0.8.1-5ubuntu1) trusty; urgency=medium * Use dh-autoreconf to update libtool macros for new ports. This also requires fixing an m4 syntax error in configure.ac and removing the nonexistent "dist-gzip" Automake option. -- Colin Watson Thu, 19 Dec 2013 03:11:14 +0000 rarian (0.8.1-5build1) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Mon, 08 Oct 2012 22:27:28 +0100 rarian (0.8.1-5) unstable; urgency=low * Switch to 3.0 source format. * 03_language.patch: new patch. Make librarian obey to LC_MESSAGES. Closes: #588060. * Fix a spelling error in description. -- Josselin Mouette Sun, 04 Jul 2010 17:26:38 +0200 rarian (0.8.1-4.1) unstable; urgency=low * Non-maintainer upload. * Clean-up old scrollkeeper's XML catalog so that rarian-compat can register its own catalog. Closes: #532271. -- Tommi Vainikainen Wed, 03 Mar 2010 15:23:45 +0200 rarian (0.8.1-4) unstable; urgency=low * Build a dummy scrollkeeper package to facilitate upgrades. * Small improvements in short descriptions. -- Josselin Mouette Thu, 27 Aug 2009 00:33:38 +0200 rarian (0.8.1-3) unstable; urgency=low * debian/patches/02_crash_no_extension.patch: Patch by Loïc Minier to fix a crash when opening files without dots in their filename. Closes: #535433. * debian/rules: Reorder includes. * debian/control.in: Wrap depends. * Standards-Version is 3.8.2, no changes needed. * Add Vcs-* fields. * debian/control.in: Inherit the Section from the source stanza where it's duplicated. * debian/librarian-dev.install: Install the rarian.document file. Change taken from Ubuntu. -- Emilio Pozuelo Monfort Thu, 02 Jul 2009 23:56:34 +0200 rarian (0.8.1-2) unstable; urgency=low * debian/*.dtd: ship the DTDs currently in the scrollkeeper package to ensure full compatibility. * debian/catalog.xml, debian/rarian-compat.xmlcatalogs: same for the catalog. * Call dh_installxmlcatalogs, build-depend on xml-core. -- Josselin Mouette Tue, 07 Apr 2009 16:07:36 +0200 rarian (0.8.1-1) unstable; urgency=low * New upstream bugfix release. + Fixes crash when loading an unknown info URI. Closes: #495092. * 01_info_shortnames.patch: patch from JHM Dassen (Ray), modified a bit. Allow to specify only the prefix of an info page (e.g. gcc for gcc-4.3). Closes: #462332. * Standards version is 3.8.0, no changes. * Update homepage and copyright to the new URL. -- Josselin Mouette Tue, 02 Sep 2008 16:55:00 +0200 rarian (0.8.0-2) unstable; urgency=low * debian/librarian-dev.install, debian/rarian-compat.install: + ship rarian-sk-cl.xml and scrollkeeper_cl.xml in rarian-compat, as they are required and only used by rarian-compat tools. (closes: #494358) * debian/control{.in}: add docbook-xml as a rarian-compat dependency. (closes: #494359) -- Frederic Peters Fri, 08 Aug 2008 22:45:04 +0200 rarian (0.8.0-1) unstable; urgency=low [ Loic Minier ] * Cleanup whitespace. [ Sebastian Dröge ] * New upstream stable release: + debian/copyright: - Updated, taken from the Ubuntu package. + debian/control.in: - Update Standards-Version to 3.7.3, no additional changes needed. - Move homepage to the Homepage field. - Let librarian0 conflict with yelp << 2.21, taken from the Ubuntu package. + debian/rules: - Update shlibs to >= 0.8.0 because of new API. -- Sebastian Dröge Fri, 14 Mar 2008 13:17:07 +0100 rarian (0.6.0-1) unstable; urgency=low * New upstream release. * First upload to Debian. * debian/control{,.in}: removed duplicated Uploaders: field. -- Frederic Peters Thu, 13 Sep 2007 12:29:48 +0200 rarian (0.5.8-1) unstable; urgency=low * Imported Ubuntu package in Debian. * Changes: - removed debian/spoon-compat.install - added @GNOME_TEAM@ and moved from control to control.in - added gnome-pkg-tools and xsltproc to build-depends - added watch file -- Frederic Peters Wed, 22 Aug 2007 15:25:45 +0200 rarian (0.5.8-0ubuntu1) gutsy; urgency=low * New upstream version: - Fix build on FreeBSD and Solaris (mostly) - rarian-example now goes through man and info pages again - Add MAINTAINER file, since someone asked for it Bug fixed: - Missing argument to sprintf added (bug #11976 and #11957) (LP: #130822) - Fix crashes on invalid info files (bug #11896) - Fix crashes on man pages with no section (bug #11901) - Fix update script when not reading OMF's directly - Don't free environment variables - they don't belong to us - Fix categoried with omf files (the one everyone complained about) * debian/patches/90_from_svn_fix_omf_categories.patch: - dropped, fixed with the new version -- Sebastien Bacher Mon, 13 Aug 2007 23:17:41 +0200 rarian (0.5.6-0ubuntu2) gutsy; urgency=low * debian/patches/90_from_svn_fix_omf_categories.patch: - patch from SVN, fix omf categories use -- Sebastien Bacher Tue, 07 Aug 2007 00:28:12 +0200 rarian (0.5.6-0ubuntu1) gutsy; urgency=low * New upstream version - By default, we now read omf files directly and don't do translations when update script is run. This fixes everyone's install (hopefully) and helps out packagers * debian/patches/01_create_correct_directory.patch: - dropped, fixed witht the new version -- Sebastien Bacher Tue, 31 Jul 2007 22:49:56 +0200 rarian (0.5.4-0ubuntu1) gutsy; urgency=low * New upstream version: - Fix README to not display version stuff - Write the rarian-update-mtimes file to $statedir - Fixes FHS compliance - Remove some uneccessary memory allocations - Fix infinite loop bug in update script --help - Store configure.ac in SVN as executable - Fix install when no prefix is specified (as autofoo insists on specifying to prefix variable as NONE instead of not defining it) - Reenable the rebuild script and fix it when the mtimes file doesn't exist * debian/patches/01_create_correct_directory.patch: - fix build issue * debian/patches/80_from_upstream_fix_rebuilddb_and_update.patch: - dropped, fixed with the new version -- Sebastien Bacher Sun, 29 Jul 2007 15:35:03 +0200 rarian (0.5.2-0ubuntu1) gutsy; urgency=low * New upstream version: Fixes: - Fix template naming error (that stopped yelp working) - Make scrollkeeper-update optional at install time - Make build work in chroot - Fix #include's for potentially non-included files - Fix man pages to not repase all man pages on every single call - Only check for xsltproc instead of libxslt (as that's what we actually use) - Only install / link sk-extract if it's actually possible (ENABLE_EXTRACT is set) - Fix stupid, broken omf parsing when no seriesid is available - Make failing omf conversion errors slightly less cryptic - Override default dest dir for omf translation when asked (fixes things for packagers) - Fix older autoconf datarootdir issue - Don't do scrollkeeper-rebuilddb when distchecking - Make update script work correctly with dash - Fix symlinks for packagers - Fix silly error in rarian-man that caused a warning in linked programs - Make distcheck pass properly * debian/control: - rarian-compat Conflicts,Provides,Replaces scrollkeeper * debian/patches/02-fix-util-Makefile.patch: - dropped, fixed in the new version * debian/patches/10_fix_rarian-sk-install.patch: - dropped, fixed in the new version * debian/patches/80_from_upstream_fix_rebuilddb_and_update.patch: - patch from upstream, fix rebuilddb and update -- Sebastien Bacher Fri, 27 Jul 2007 16:59:04 +0200 rarian (0.5.0+svn20070716-0ubuntu3) gutsy; urgency=low * debian/control: added notes referring to the homepage. * debian/copyright: added note about copyright of debian/ packaging. -- Daniel Holbach Tue, 17 Jul 2007 18:16:15 +0200 rarian (0.5.0+svn20070716-0ubuntu2) gutsy; urgency=low * debian/control: made package description more descriptive. -- Daniel Holbach Tue, 17 Jul 2007 17:31:35 +0200 rarian (0.5.0+svn20070716-0ubuntu1) gutsy; urgency=low * New SVN checkout. * debian/patches/10_fix_rarian-sk-install.patch: fix syntax error. * debian/patches/01-build-system-fixes.patch, debian/patches/90-autoconf-automake.patch: dropped, not necessary any more. * debian/patches/02-fix-util-Makefile.patch: fix ln -s usage. -- Daniel Holbach Mon, 16 Jul 2007 10:08:30 +0200 rarian (0.5.0-0ubuntu2) gutsy; urgency=low * debian/patches/01-build-system-fixes.patch: applied patches for http://code.google.com/p/rarian/issues/detail?id=2 and http://code.google.com/p/rarian/issues/detail?id=3 * debian/patches/90-autoconf-automake.patch: ran autoconf; automake-1.9; rm -r autom4te.cache. * debian/rules: build with --enable-skdb-update=no. -- Daniel Holbach Thu, 21 Jun 2007 09:42:33 +0200 rarian (0.5.0-0ubuntu1) gutsy; urgency=low * New upstream release. * debian/*: rename to rarian. -- Daniel Holbach Wed, 20 Jun 2007 10:42:58 +0200 spoon (0.4.6~pre1-0ubuntu1) gutsy; urgency=low * Initial release. -- Daniel Holbach Sun, 6 May 2007 16:29:19 +0200 debian/rarian-compat.install0000644000000000000000000000032011166657120013313 0ustar debian/tmp/usr/bin debian/tmp/usr/share/librarian/Templates debian/tmp/usr/share/librarian/rarian-sk-cl.xml debian/*.dtd /usr/share/xml/scrollkeeper/dtds/ debian/catalog.xml /usr/share/xml/scrollkeeper/dtds/ debian/librarian0.install0000644000000000000000000000004311047130322012567 0ustar debian/tmp/usr/lib/librarian*.so.*