ALT Linux repositórios
Group :: Edição
RPM: sgmltools-lite
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: sgmltools-lite-3.0.3-cvs-20020815.patch
Download
Download
Index: ChangeLog
===================================================================
RCS file: /cvsroot/sgmltools-lite/src/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -a -r1.9 -r1.10
--- ChangeLog 7 May 2001 21:03:59 -0000 1.9
+++ ChangeLog 15 Aug 2002 19:16:14 -0000 1.10
@@ -1,3 +1,12 @@
+2002-08-15 David Nedrow <dnedrow@usa.net>
+
+ * Updated buildcat.in to fix link check issue reported in bug #590445.
+
+ * Moved POSTINSTALL to PREINSTALL since the info is needed BEFORE
+ installing.
+
+ * Updated spec file to take into account doc change.
+
2001-05-04 David Nedrow <dnedrow@usa.net>
* Several updates to begin moving sgmltools-lite into the LSB world.
Index: POSTINSTALL
===================================================================
RCS file: POSTINSTALL
diff -N POSTINSTALL
--- POSTINSTALL 5 Jun 2001 05:41:42 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,97 +0,0 @@
-$Id: POSTINSTALL,v 1.4 2001/06/05 05:41:42 dnedrow Exp $
-
-SGMLtools-Lite post installation instructions
----------------------------------------------
-
-SGMLtools-Lite needs a bunch of SGML-related data files in order to function
-correctly. These data files may already be on your system, or be part
-of your Linux distribution, because lots of Linux distributors now bundle
-them. The package names for SuSE and RedHat are included in this document;
-if you have a set of package names for your distribution, I'll be happy to
-add them.
-
-Here are the packages you need to have installed:
-
-* SGML ISO 8879:1986 entity declarations
-
- This is a set of declarations for standard character entities.
-
- RedHat: sgml-common (RH 6.2 uses sgml-common-0.1-8.noarch.rpm)
- SuSE: sgm1/iso_ent.rpm
-
-* DocBook 3.1 Document Type Definition
-
- This is the actual DocBook DTD.
-
- RedHat 6.2: docbook
- RedHat 7.1: docbook-dtd31-sgml
- SuSE: sgm1/docbk31.rpm
-
-* DocBook DSSSL Stylesheets
-
- This are the stylesheets that Jade uses to transform SGML into
- whatever backend format you like.
-
- RedHat 6.2: stylesheets
- RedHat 7.1: docbook-style-dsssl
- SuSE: sgm1/docbkdsl.rpm
-
-Each of these packages, and Jade and SGMLtools-Lite as well, have a
-catalog that points to other files in the packages. If you don't
-know about SGML catalog files, don't worry: you won't need to know.
-
-What you should make sure is that you have the names of the following
-catalog files strung together in the environment variable SGML_CATALOG_FILES
-(don't forget to export it!):
-
-- DocBook DTD catalog: "docbook.cat" in the DocBook DTD directory
-- DocBook DSSL catalog: "catalog" in the DocBook DSSSL stylesheets directory
-- ISO Entities catalog: "iso-entities.cat" in the ISO 8870:1986 directory
-- Jade catalog: "dsssl.cat" in the Jade data directory
-- SGMLtools DTD catalog: "catalog" in the SGMLtools DTD directory
-- SGMLtools DSSSL catalog: "sgmltools.cat" in the SGMLtools DSSSL directory
-
-Here is cdegroot's version for SuSE Linux:
-% echo $SGML_CATALOG_FILES
-/usr/local/share/sgml/stylesheets/docbook/catalog:/usr/local/share/sgml/entities/iso-entities-8879.1986/iso-entities.cat:/usr/local/share/sgml/dtd/jade/dsssl.cat:/usr/local/share/sgml/stylesheets/sgmltools/sgmltools.cat:/usr/local/share/sgml/dtd/sgmltools/catalog:/usr/local/share/sgml/dtd/docbook/3.1/docbook.cat
-
-If yours looks similar, you have a working catalog setup.
-
- Tip: there's a little program called 'gensgmlenv' that is installed
- with the SGMLtools distribution. If you collect a bunch of symlinks
- in to all these catalog files mentioned above in /etc/sgml,
- running this script will generate a Bourne-shell and a C-shell file
- in /etc/sgml that defines the SGML_CATALOG_FILES variable.
-
- Tip: The current developer version of sgmltools-lite contains
- master catalogue files for RedHat and SuSE. You can just place
- these files somewhere convenient and then point SGML_CATALOG_FILES
- to this master catalog.
-
-The second thing you need to have working is JadeTeX. JadeTeX itself is not
-hard to install:
-
- RedHat: jadetex (RH 6.2 uses jadetex-2.7-2.i386.rpm)
- SuSE: sgm1/jadetex.rpm
-
-JadeTeX eats enourmous amounts of TeX memory and needs special TeX
-configuration. The SuSE RPMs take care of that, but if your distribution
-does not, or if you need to install JadeTeX manually, tune texmf.cnf
-and set the following parameters:
-
- hash_extra.jadetex = 15000
- pool_size.jadetex = 200000
- max_strings.jadetex = 50000
- save_size.jadetex = 15000
-
-If you're unsure, don't touch the file and start working with SGMLtools-Lite.
-When you get a TeX error message complaining about capacities, you'll know
-what to do...
-
-That's all, folks!
-
-Cees de Groot
-mailto:cg@cdegroot.com
-
-Marc André Selig
-mailto:mas@seligma.com
Index: PREINSTALL
===================================================================
RCS file: PREINSTALL
diff -N PREINSTALL
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ PREINSTALL 15 Aug 2002 19:11:46 -0000 1.1
@@ -0,0 +1,97 @@
+$Id: PREINSTALL,v 1.1 2002/08/15 19:11:46 dnedrow Exp $
+
+SGMLtools-Lite post installation instructions
+---------------------------------------------
+
+SGMLtools-Lite needs a bunch of SGML-related data files in order to function
+correctly. These data files may already be on your system, or be part
+of your Linux distribution, because lots of Linux distributors now bundle
+them. The package names for SuSE and RedHat are included in this document;
+if you have a set of package names for your distribution, I'll be happy to
+add them.
+
+Here are the packages you need to have installed:
+
+* SGML ISO 8879:1986 entity declarations
+
+ This is a set of declarations for standard character entities.
+
+ RedHat: sgml-common (RH 6.2 uses sgml-common-0.1-8.noarch.rpm)
+ SuSE: sgm1/iso_ent.rpm
+
+* DocBook 3.1 Document Type Definition
+
+ This is the actual DocBook DTD.
+
+ RedHat 6.2: docbook
+ RedHat 7.1: docbook-dtd31-sgml
+ SuSE: sgm1/docbk31.rpm
+
+* DocBook DSSSL Stylesheets
+
+ This are the stylesheets that Jade uses to transform SGML into
+ whatever backend format you like.
+
+ RedHat 6.2: stylesheets
+ RedHat 7.1: docbook-style-dsssl
+ SuSE: sgm1/docbkdsl.rpm
+
+Each of these packages, and Jade and SGMLtools-Lite as well, have a
+catalog that points to other files in the packages. If you don't
+know about SGML catalog files, don't worry: you won't need to know.
+
+What you should make sure is that you have the names of the following
+catalog files strung together in the environment variable SGML_CATALOG_FILES
+(don't forget to export it!):
+
+- DocBook DTD catalog: "docbook.cat" in the DocBook DTD directory
+- DocBook DSSL catalog: "catalog" in the DocBook DSSSL stylesheets directory
+- ISO Entities catalog: "iso-entities.cat" in the ISO 8870:1986 directory
+- Jade catalog: "dsssl.cat" in the Jade data directory
+- SGMLtools DTD catalog: "catalog" in the SGMLtools DTD directory
+- SGMLtools DSSSL catalog: "sgmltools.cat" in the SGMLtools DSSSL directory
+
+Here is cdegroot's version for SuSE Linux:
+% echo $SGML_CATALOG_FILES
+/usr/local/share/sgml/stylesheets/docbook/catalog:/usr/local/share/sgml/entities/iso-entities-8879.1986/iso-entities.cat:/usr/local/share/sgml/dtd/jade/dsssl.cat:/usr/local/share/sgml/stylesheets/sgmltools/sgmltools.cat:/usr/local/share/sgml/dtd/sgmltools/catalog:/usr/local/share/sgml/dtd/docbook/3.1/docbook.cat
+
+If yours looks similar, you have a working catalog setup.
+
+ Tip: there's a little program called 'gensgmlenv' that is installed
+ with the SGMLtools distribution. If you collect a bunch of symlinks
+ in to all these catalog files mentioned above in /etc/sgml,
+ running this script will generate a Bourne-shell and a C-shell file
+ in /etc/sgml that defines the SGML_CATALOG_FILES variable.
+
+ Tip: The current developer version of sgmltools-lite contains
+ master catalogue files for RedHat and SuSE. You can just place
+ these files somewhere convenient and then point SGML_CATALOG_FILES
+ to this master catalog.
+
+The second thing you need to have working is JadeTeX. JadeTeX itself is not
+hard to install:
+
+ RedHat: jadetex (RH 6.2 uses jadetex-2.7-2.i386.rpm)
+ SuSE: sgm1/jadetex.rpm
+
+JadeTeX eats enourmous amounts of TeX memory and needs special TeX
+configuration. The SuSE RPMs take care of that, but if your distribution
+does not, or if you need to install JadeTeX manually, tune texmf.cnf
+and set the following parameters:
+
+ hash_extra.jadetex = 15000
+ pool_size.jadetex = 200000
+ max_strings.jadetex = 50000
+ save_size.jadetex = 15000
+
+If you're unsure, don't touch the file and start working with SGMLtools-Lite.
+When you get a TeX error message complaining about capacities, you'll know
+what to do...
+
+That's all, folks!
+
+Cees de Groot
+mailto:cg@cdegroot.com
+
+Marc André Selig
+mailto:mas@seligma.com
Index: bin/buildcat.in
===================================================================
RCS file: /cvsroot/sgmltools-lite/src/bin/buildcat.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -a -r1.2 -r1.3
--- bin/buildcat.in 4 May 2001 04:27:17 -0000 1.2
+++ bin/buildcat.in 15 Aug 2002 19:06:03 -0000 1.3
@@ -2,7 +2,7 @@
#
# buildcat - build a shared catalog file.
#
-# $Id: buildcat.in,v 1.2 2001/05/04 04:27:17 dnedrow Exp $
+# $Id: buildcat.in,v 1.3 2002/08/15 19:06:03 dnedrow Exp $
#
# SGMLtools - an SGML toolkit.
# Copyright (C) 1998 Cees A. de Groot
@@ -79,7 +79,7 @@ assert os.path.isdir(ETCSGMLCATDIR)
if __name__ == "__main__":
print '-- AUTOMATICALLY GENERATED, DO NOT EDIT --'
for filename in glob.glob(ETCSGMLCATDIR + "/*.cat"):
- if S_ISLNK(os.stat(filename)[ST_MODE]):
+ if os.path.islink(filename):
catlnkpath = os.readlink(filename)
else:
catlnkpath = filename
Index: man/sgmltools-lite.1
===================================================================
RCS file: /cvsroot/sgmltools-lite/src/man/sgmltools-lite.1,v
retrieving revision 1.1
retrieving revision 1.3
diff -u -p -a -r1.1 -r1.3
--- man/sgmltools-lite.1 24 Apr 2001 18:13:58 -0000 1.1
+++ man/sgmltools-lite.1 9 Sep 2001 19:45:59 -0000 1.3
@@ -28,7 +28,7 @@ sgmltools \- process sgml files.
.SH SYNOPSIS
.B sgmltools
[\-b backend] [\-d] [\-v] [\-V] [\-h] [\-l] [\-s dsssl_spec] [\-j jadeopt]
-[\-\-backend={html,ps,dvi,rtf,txt,ld2db,jadetex,pdb,lynx,w3m}] [\-\-debug]
+[\-\-backend={html,onehtml,ps,dvi,rtf,txt,ld2db,jadetex,pdb,lynx,w3m}] [\-\-debug]
[\-\-verbose]
[\-\-dsssl\-spec=dsssl_spec] [\-\-jade\-opt=jadeopt]
[\-\-version] [\-\-help] [\-\-license]
@@ -52,6 +52,8 @@ expects a DocBook SGML file and will con
.B html
expects a DocBook SGML file and will convert it into HTML; the resulting
files will be put in a subdirectory (default).
+.B onehtml
+expects a DocBook SGML file and will convert it into a single HTML file.
.B txt
expects a DocBook SGML file and will convert it into ASCII. Note that this
backend actually uses the w3m (preferred) or lynx (if w3m not found) backends.
Index: python/backends/iSilo.py
===================================================================
RCS file: /cvsroot/sgmltools-lite/src/python/backends/iSilo.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -a -r1.2 -r1.3
--- python/backends/iSilo.py 27 Nov 2000 20:11:57 -0000 1.2
+++ python/backends/iSilo.py 18 Sep 2001 18:41:00 -0000 1.3
@@ -1,7 +1,7 @@
#
# backends/iSilo.py
#
-# $Id: iSilo.py,v 1.2 2000/11/27 20:11:57 dnedrow Exp $
+# $Id: iSilo.py,v 1.3 2001/09/18 18:41:00 dnedrow Exp $
#
# SGMLtools iSilo-based text backend driver.
#
@@ -41,7 +41,7 @@ class iSilo(Backend):
# Jade wrote HTML, run it through iSilo.
#
destfile = os.path.join(self._fileparts[1], self._fileparts[0] + '.pdb')
- self._tracer.system ("%s -y -I %s %s" \
+ self._tracer.system ("%s -y -Idef %s %s" \
% (self._autoconf['progs']['iSilo'],
stdoutfile, destfile))
Index: rpm/sgmltools-lite.spec
===================================================================
RCS file: /cvsroot/sgmltools-lite/src/rpm/sgmltools-lite.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -a -r1.8 -r1.9
--- rpm/sgmltools-lite.spec 5 Jun 2001 05:40:19 -0000 1.8
+++ rpm/sgmltools-lite.spec 15 Aug 2002 19:13:39 -0000 1.9
@@ -80,13 +80,16 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
-%doc README POSTINSTALL index.html COPYING README.rpm
+%doc README PREINSTALL index.html COPYING README.rpm
%config %{sysconfdir}/aliases
%{_bindir}/*
%{_mandir}/*/*
%{sgmldir}/*
%changelog
+* Thu Aug 08 2002 David Nedrow <dnedrow@usa.net>
+- Changes to POST/PREINSTALL docs
+
* Tue Jun 05 2001 David Nedrow <dnedrow@usa.net>
- Minor change to RedHat 7.1 specfile.
Index: rpm/sgmltools-lite.spec.rh71
===================================================================
RCS file: /cvsroot/sgmltools-lite/src/rpm/sgmltools-lite.spec.rh71,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -a -r1.5 -r1.6
--- rpm/sgmltools-lite.spec.rh71 5 Jun 2001 05:40:19 -0000 1.5
+++ rpm/sgmltools-lite.spec.rh71 15 Aug 2002 19:13:39 -0000 1.6
@@ -80,13 +80,16 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
-%doc README POSTINSTALL index.html COPYING README.rpm
+%doc README PREINSTALL index.html COPYING README.rpm
%config %{sysconfdir}/aliases
%{_bindir}/*
%{_mandir}/*/*
%{sgmldir}/*
%changelog
+* Thu Aug 08 2002 David Nedrow <dnedrow@usa.net>
+- Changes to POST/PREINSTALL docs
+
* Tue Jun 05 2001 David Nedrow <dnedrow@usa.net>
- Minor change to RedHat 7.1 specfile.