Difference between revisions of "SGML Common"
From CBLFS
Jump to navigationJump to search (I added the package description from BLFS.) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://gd.tuwien.ac.at/hci/kde/devel/docbook/SOURCES/sgml-common- | + | | http://gd.tuwien.ac.at/hci/kde/devel/docbook/SOURCES/sgml-common-{{SGML Common-Version}}.tgz |
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/sgml-common- | + | | ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/sgml-common-{{SGML Common-Version}}.tgz |
|- | |- | ||
!Required Patch: | !Required Patch: | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/sgml-common/sgml-common- | + | | http://svn.cross-lfs.org/svn/repos/patches/sgml-common/sgml-common-{{SGML Common-Version}}-manpage-1.patch |
|} | |} | ||
---- | ---- | ||
− | + | {{Package-Introduction|The SGML Common package contains '''install-catalog'''. This is useful for creating and maintaining centralized SGML catalogs.}} | |
− | |||
− | The SGML Common package contains '''install-catalog'''. This is useful for creating and maintaining centralized SGML catalogs. | ||
== Dependencies == | == Dependencies == | ||
Line 23: | Line 21: | ||
Instead of the normal convention of including the autotools files in the package, the maintainers included symlinks to the files in /usr/share/automake. For previous versions of Automake this convention is correct, but recent versions of Automake install the internal files in version specific directories. This causes the '''configure''' script to abort. To fix this error, the autotools are regenerated. Since the included Makefile.am file uses a syntax not supported by current versions of Automake, a patch is required to fix the syntax. | Instead of the normal convention of including the autotools files in the package, the maintainers included symlinks to the files in /usr/share/automake. For previous versions of Automake this convention is correct, but recent versions of Automake install the internal files in version specific directories. This causes the '''configure''' script to abort. To fix this error, the autotools are regenerated. Since the included Makefile.am file uses a syntax not supported by current versions of Automake, a patch is required to fix the syntax. | ||
− | patch -Np1 -i ../sgml-common- | + | patch -Np1 -i ../sgml-common-{{SGML Common-Version}}-manpage-1.patch && |
autoreconf -f -i | autoreconf -f -i | ||
Line 38: | Line 36: | ||
install-catalog --add /etc/sgml/sgml-docbook.cat \ | install-catalog --add /etc/sgml/sgml-docbook.cat \ | ||
/etc/sgml/sgml-ent.cat | /etc/sgml/sgml-ent.cat | ||
+ | |||
+ | [[Category:DocBook SGML]] |
Latest revision as of 15:00, 19 March 2009
Introduction to SGML Common
The SGML Common package contains install-catalog. This is useful for creating and maintaining centralized SGML catalogs.
Project Homepage: Unknown
Dependencies
Non-Multilib or Multilib
Instead of the normal convention of including the autotools files in the package, the maintainers included symlinks to the files in /usr/share/automake. For previous versions of Automake this convention is correct, but recent versions of Automake install the internal files in version specific directories. This causes the configure script to abort. To fix this error, the autotools are regenerated. Since the included Makefile.am file uses a syntax not supported by current versions of Automake, a patch is required to fix the syntax.
patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch && autoreconf -f -i
Compile the package:
./configure --prefix=/usr --sysconfdir=/etc && make
Install the package
make install && install-catalog --add /etc/sgml/sgml-ent.cat \ /usr/share/sgml/sgml-iso-entities-8879.1986/catalog && install-catalog --add /etc/sgml/sgml-docbook.cat \ /etc/sgml/sgml-ent.cat