Sync from SUSE:SLFO:Main openjade revision d96b5713a2f925ef45335f74f30b5fdc
This commit is contained in:
commit
2bd4664e3c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
74
gcc46_default_ctors.patch
Normal file
74
gcc46_default_ctors.patch
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
--- jade/TeXFOTBuilder.cxx 2011-05-10 21:01:33.769789341 +0200
|
||||||
|
+++ jade/TeXFOTBuilder.cxx 2011-05-10 21:05:04.142897135 +0200
|
||||||
|
@@ -75,6 +75,8 @@
|
||||||
|
virtual void end(TeXFOTBuilder &) const = 0;
|
||||||
|
};
|
||||||
|
class PageFloatFlowObj : public TeXCompoundExtensionFlowObj {
|
||||||
|
+ public:
|
||||||
|
+ PageFloatFlowObj() {}
|
||||||
|
void start(TeXFOTBuilder &fotb, const NodePtr &) const {
|
||||||
|
fotb.startPageFloat(nic_);
|
||||||
|
}
|
||||||
|
@@ -94,6 +96,8 @@
|
||||||
|
StringC placement;
|
||||||
|
};
|
||||||
|
class PageFootnoteFlowObj : public TeXCompoundExtensionFlowObj {
|
||||||
|
+ public:
|
||||||
|
+ PageFootnoteFlowObj() {}
|
||||||
|
void start(TeXFOTBuilder &fotb, const NodePtr &) const {
|
||||||
|
fotb.startPageFootnote();
|
||||||
|
}
|
||||||
|
--- jade/TransformFOTBuilder.cxx.orig 2011-05-10 21:18:33.554680483 +0200
|
||||||
|
+++ jade/TransformFOTBuilder.cxx 2011-05-10 21:24:23.456887213 +0200
|
||||||
|
@@ -41,6 +41,7 @@
|
||||||
|
};
|
||||||
|
class EntityRefFlowObj : public TransformExtensionFlowObj {
|
||||||
|
public:
|
||||||
|
+ EntityRefFlowObj() {}
|
||||||
|
void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
|
||||||
|
fotb.entityRef(name_);
|
||||||
|
}
|
||||||
|
@@ -56,6 +57,7 @@
|
||||||
|
};
|
||||||
|
class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
|
||||||
|
public:
|
||||||
|
+ ProcessingInstructionFlowObj() {}
|
||||||
|
void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
|
||||||
|
fotb.processingInstruction(data_);
|
||||||
|
}
|
||||||
|
@@ -70,6 +72,8 @@
|
||||||
|
StringC data_;
|
||||||
|
};
|
||||||
|
class EmptyElementFlowObj : public TransformExtensionFlowObj {
|
||||||
|
+ public:
|
||||||
|
+ EmptyElementFlowObj() {}
|
||||||
|
void atomic(TransformFOTBuilder &fotb, const NodePtr &nd) const {
|
||||||
|
if (nic_.gi.size() > 0)
|
||||||
|
fotb.emptyElement(nic_);
|
||||||
|
@@ -102,6 +106,8 @@
|
||||||
|
ElementNIC nic_;
|
||||||
|
};
|
||||||
|
class ElementFlowObj : public TransformCompoundExtensionFlowObj {
|
||||||
|
+ public:
|
||||||
|
+ ElementFlowObj() {}
|
||||||
|
void start(TransformFOTBuilder &fotb, const NodePtr &nd) const {
|
||||||
|
if (nic_.gi.size() > 0)
|
||||||
|
fotb.startElement(nic_);
|
||||||
|
@@ -137,6 +143,8 @@
|
||||||
|
ElementNIC nic_;
|
||||||
|
};
|
||||||
|
class EntityFlowObj : public TransformCompoundExtensionFlowObj {
|
||||||
|
+ public:
|
||||||
|
+ EntityFlowObj() {}
|
||||||
|
void start(TransformFOTBuilder &fotb, const NodePtr &) const {
|
||||||
|
fotb.startEntity(systemId_);
|
||||||
|
}
|
||||||
|
@@ -154,6 +162,8 @@
|
||||||
|
StringC systemId_;
|
||||||
|
};
|
||||||
|
class DocumentTypeFlowObj : public TransformExtensionFlowObj {
|
||||||
|
+ public:
|
||||||
|
+ DocumentTypeFlowObj() {}
|
||||||
|
void atomic(TransformFOTBuilder &fotb, const NodePtr &nd) const {
|
||||||
|
fotb.documentType(nic_);
|
||||||
|
}
|
41
jade_style-sheet.dtd
Normal file
41
jade_style-sheet.dtd
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<!-- A DTD for DSSSL Style Sheets. The public identifier for this is
|
||||||
|
|
||||||
|
"-//James Clark//DTD DSSSL Style Sheet//EN"
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!element style-sheet o o (style-specification,
|
||||||
|
(external-specification|style-specification)*)>
|
||||||
|
<!element style-specification o o (style-specification-body)>
|
||||||
|
<!attlist style-specification
|
||||||
|
id id #implied
|
||||||
|
use idrefs #implied
|
||||||
|
>
|
||||||
|
<!element style-specification-body o o (#pcdata)>
|
||||||
|
<!attlist style-specification-body
|
||||||
|
content entity #conref
|
||||||
|
>
|
||||||
|
<!element external-specification - o empty>
|
||||||
|
<!attlist external-specification
|
||||||
|
id id #required
|
||||||
|
document entity #required
|
||||||
|
specid name #implied
|
||||||
|
>
|
||||||
|
<?IS10744 ArcBase DSSSL>
|
||||||
|
<!NOTATION DSSSL PUBLIC "ISO/IEC 10179:1996//NOTATION
|
||||||
|
DSSSL Architecture Definition Document//EN"
|
||||||
|
-- A document architecture conforming to the
|
||||||
|
Architectural Form Definition Requirements of
|
||||||
|
ISO/IEC 10744. --
|
||||||
|
>
|
||||||
|
|
||||||
|
<!ATTLIST #NOTATION DSSSL
|
||||||
|
-- Support attributes for all architectures --
|
||||||
|
ArcQuant CDATA #FIXED "NAMELEN 64"
|
||||||
|
ArcDTD CDATA #FIXED "%DSSSLDTD"
|
||||||
|
ArcDocF NAME #FIXED dsssl-specification
|
||||||
|
ArcDataF NAME #FIXED dsssl-specification
|
||||||
|
>
|
||||||
|
|
||||||
|
<!ENTITY % DSSSLDTD PUBLIC
|
||||||
|
"ISO/IEC 10179:1996//DTD DSSSL Architecture//EN"
|
||||||
|
>
|
59794
openjade-1.3.1-autoconf.dif
Normal file
59794
openjade-1.3.1-autoconf.dif
Normal file
File diff suppressed because it is too large
Load Diff
20
openjade-1.3.2-getopts.patch
Normal file
20
openjade-1.3.2-getopts.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- ./msggen.pl.orig 2012-06-11 11:35:22.000000000 +0000
|
||||||
|
+++ ./msggen.pl 2012-06-11 11:37:06.000000000 +0000
|
||||||
|
@@ -4,6 +4,7 @@
|
||||||
|
# See the file COPYING for copying permission.
|
||||||
|
|
||||||
|
use POSIX;
|
||||||
|
+use Getopt::Std;
|
||||||
|
|
||||||
|
# Package and version.
|
||||||
|
$package = 'openjade';
|
||||||
|
@@ -18,8 +19,7 @@ $gen_c = 0;
|
||||||
|
undef $opt_l;
|
||||||
|
undef $opt_p;
|
||||||
|
undef $opt_t;
|
||||||
|
-do 'getopts.pl';
|
||||||
|
-&Getopts('l:p:t:');
|
||||||
|
+getopts('l:p:t:');
|
||||||
|
$module = $opt_l;
|
||||||
|
$pot_file = $opt_p;
|
||||||
|
|
30
openjade-1.3.2-makefile.patch
Normal file
30
openjade-1.3.2-makefile.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
--- openjade-1.3.2/spgrove/Makefile.sub.~1~ 2002-11-15 23:46:50.000000000 +0100
|
||||||
|
+++ openjade-1.3.2/spgrove/Makefile.sub 2005-09-21 10:21:24.000000000 +0200
|
||||||
|
@@ -1,8 +1,8 @@
|
||||||
|
LTVERSION=0:1:0
|
||||||
|
LIB=ospgrove
|
||||||
|
INCLUDE=-I$(srcdir)/../grove
|
||||||
|
-DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \
|
||||||
|
- -L$(TOP)/lib -L$(TOP)/lib/.libs \
|
||||||
|
+DEPLIBS=-lm $(TOP)/grove \
|
||||||
|
+ $(TOP)/lib \
|
||||||
|
$(LIB_THREADS)
|
||||||
|
OBJS=GroveApp.o GroveBuilder.o SdNode.o
|
||||||
|
GENSRCS=grove_inst.cxx
|
||||||
|
|
||||||
|
--- openjade-1.3.2/style/Makefile.sub.~1~ 2002-11-15 23:46:50.000000000 +0100
|
||||||
|
+++ openjade-1.3.2/style/Makefile.sub 2005-09-21 13:15:19.000000000 +0200
|
||||||
|
@@ -1,8 +1,8 @@
|
||||||
|
LTVERSION=0:1:0
|
||||||
|
LIB=ostyle
|
||||||
|
-DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \
|
||||||
|
- -L$(TOP)/lib -L$(TOP)/lib/.libs \
|
||||||
|
- -L$(TOP)/spgrove -L$(TOP)/spgrove/.libs
|
||||||
|
+DEPLIBS=-lm $(TOP)/grove \
|
||||||
|
+ $(TOP)/lib \
|
||||||
|
+ $(TOP)/spgrove
|
||||||
|
OBJS=LangObj.o \
|
||||||
|
Collector.o \
|
||||||
|
DssslApp.o \
|
||||||
|
|
||||||
|
|
13
openjade-1.3.2-shared.patch
Normal file
13
openjade-1.3.2-shared.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: jade/Makefile.sub
|
||||||
|
===================================================================
|
||||||
|
--- jade/Makefile.sub.orig 2002-11-15 23:46:50.000000000 +0100
|
||||||
|
+++ jade/Makefile.sub 2008-01-13 22:43:28.000000000 +0100
|
||||||
|
@@ -4,7 +4,7 @@ OBJS=jade.o SgmlFOTBuilder.o RtfFOTBuild
|
||||||
|
INCLUDE=-I$(srcdir)/../grove -I$(srcdir)/../spgrove -I$(srcdir)/../style
|
||||||
|
# XLIBS=../style/libostyle.a ../spgrove/libospgrove.a ../grove/libogrove.a \
|
||||||
|
# ../lib/libosp.a
|
||||||
|
-XLIBS=../style/libostyle.a ../spgrove/libospgrove.a ../grove/libogrove.a $(splibdir)/libosp.a
|
||||||
|
+XLIBS=../style/libostyle.a ../spgrove/libospgrove.a ../grove/libogrove.a $(splibdir)/libosp.so
|
||||||
|
GENSRCS=JadeMessages.h HtmlMessages.h RtfMessages.h TeXMessages.h \
|
||||||
|
HtmlFOTBuilder_inst.cxx RtfFOTBuilder_inst.cxx TeXFOTBuilder_inst.cxx \
|
||||||
|
TransformFOTBuilder_inst.cxx MifMessages.h MifFOTBuilder_inst.cxx
|
BIN
openjade-1.3.2.tar.bz2
(Stored with Git LFS)
Normal file
BIN
openjade-1.3.2.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
18
openjade-README.SUSE
Normal file
18
openjade-README.SUSE
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
openjade and jade_dsl
|
||||||
|
=====================
|
||||||
|
|
||||||
|
openjade is considered to replace the traditional jade_dsl (James
|
||||||
|
Clark's jade). In case one of your own tools depend on the old
|
||||||
|
directory layout try creating a compatibility link (as root); first
|
||||||
|
check whether /usr/share/sgml/jade_dsl exists--if yes, copy the files to
|
||||||
|
a secure location and delete it:
|
||||||
|
|
||||||
|
cd /usr/share/sgml
|
||||||
|
rm -r jade_dsl
|
||||||
|
ln -s openjade jade_dsl
|
||||||
|
|
||||||
|
Other compatibility links are provided by default; note, those links
|
||||||
|
will go away with SuSE Linux 9.0! Please, switch to CATALOG names with
|
||||||
|
the "openjade" string as soon as possible.
|
||||||
|
|
||||||
|
2003-01-30 14:59:33 CET -ke-
|
237
openjade.changes
Normal file
237
openjade.changes
Normal file
@ -0,0 +1,237 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 27 07:30:09 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
- Pimp up openjade-1.3.1-autoconf.dif so we can skip all this autoreconf
|
||||||
|
black magic for a package with configure from 1999
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 13 17:13:49 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Run spec-cleaner
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 13 15:12:52 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Rename README.SuSE to README.SUSE, adhering to the correct
|
||||||
|
spelling.
|
||||||
|
- Set RPM group for -devel package to "Development/Languages/C and
|
||||||
|
C++" (fix rpmlint warning).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 15 12:58:47 UTC 2016 - rguenther@suse.com
|
||||||
|
|
||||||
|
- Build with -fno-lifetime-dse because of object lifetime violations
|
||||||
|
within style/Collector.h
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 11 13:39:17 CEST 2012 - mls@suse.de
|
||||||
|
|
||||||
|
- don't use obsolete getops.pl
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 27 06:52:41 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- add libtool as buildrequire to avoid implicit dependency
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 26 11:19:51 UTC 2011 - idonmez@novell.com
|
||||||
|
|
||||||
|
- Drop unapplied openjade-1.3-starlink-0.1.patch and
|
||||||
|
valid_fo_patch2.gz patches
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 10 19:32:22 UTC 2011 - cgiboudeaux@gmx.com
|
||||||
|
|
||||||
|
- Add gcc46_default-ctors.patch. Adds the missing ctors to build with gcc 4.6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 14 13:32:27 CET 2008 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- fix build to build with recent versions of opensp
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 9 08:49:48 CET 2007 - aj@suse.de
|
||||||
|
|
||||||
|
- Add defattr.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:39:04 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 21 10:50:42 CEST 2005 - ke@suse.de
|
||||||
|
|
||||||
|
- openjade-1.3.2-spgrove-makefile-fix.patch: Remove misleading link
|
||||||
|
specifications; thanks for hints to Dirk Mueller.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 6 11:16:17 CEST 2003 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Remove sgml-skel from needed for build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 21 17:35:45 CEST 2003 - ke@suse.de
|
||||||
|
|
||||||
|
- Install jade manpage properly [# 26995]; reported by Tomas Kouba.
|
||||||
|
- Use %postun and remove actalog entry on update only.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 12 12:53:24 CEST 2003 - ro@suse.de
|
||||||
|
|
||||||
|
- run libtoolize
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 17 14:03:27 CET 2003 - ke@suse.de
|
||||||
|
|
||||||
|
- Remove aclocal.m4 and missing before calling aclocal; reported by Olaf
|
||||||
|
Hering.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 6 15:05:36 CET 2003 - ke@suse.de
|
||||||
|
|
||||||
|
- Register CATALOG.openjade in /etc/sgml/catalog; reported by Marcus
|
||||||
|
Meissner.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 30 15:34:53 CET 2003 - ke@suse.de
|
||||||
|
|
||||||
|
- Stop providing the jade_dsl compatibility link in /usr/share/sgml.
|
||||||
|
- Add README.SuSE: it explains how to create the link if wanted.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 2 11:29:30 CET 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to 1.3.2:
|
||||||
|
* Minor fixes to MIF backend.
|
||||||
|
* Correct typo in definition of "attribute" in builtin.dsl.
|
||||||
|
* Fix quoted of ampersand in XML/SGML transformations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 27 11:53:59 CET 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Link against %_libdir.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 26 14:16:56 CET 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 1.3.2rc2.
|
||||||
|
- Make opensp/opensp-devel a package on its own; provide openjade-devel
|
||||||
|
as a subpackage.
|
||||||
|
- Provide compatibility links with jade_dsl (these links will go away
|
||||||
|
on SuSE Linux 9.0).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 11 11:26:22 CET 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Create subpackage opensp-devel (from opensp).
|
||||||
|
- Fix various jade_dsl compatibility issues.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 8 11:57:50 CET 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Prepare package as the default DSSSL engine on SuSE Linux, replacing
|
||||||
|
jade_dsl; provide links for compatibility.
|
||||||
|
- Create subpackage 'opensp'.
|
||||||
|
- Add, but don't activate valid_fo_patch2.gz, provided by N. Lundblad,
|
||||||
|
Peter.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 21 16:12:35 CEST 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Rename 'sx' man page to 's2x' resp. 'osgml2xml'.
|
||||||
|
- Don't install files under /usr/share/sgml conflicting with jade_dsl.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 19 10:42:57 CEST 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Install man pages; reported by Ian Castle [# 18047].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 21 15:03:33 CEST 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- openjade-dtddecl-warning.diff: Remove DTDDECL warning (cf. jade_dsl).
|
||||||
|
- Add convenience links again (take over from jade_dsl) [# 4413].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 19 02:08:12 CEST 2002 - ro@suse.de
|
||||||
|
|
||||||
|
- work around linking problem with undefined
|
||||||
|
Options<char>::Options[in-charge](int, char* const*, char const*)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 9 01:35:31 CEST 2002 - ro@suse.de
|
||||||
|
|
||||||
|
- build with latest automake/autoconf
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 11 17:17:58 CET 2002 - schwab@suse.de
|
||||||
|
|
||||||
|
- Remove workaround for ia64.
|
||||||
|
- Simplify config cleanup a bit.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 11 16:00:04 CET 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 1.3.1 (thus most of our config and build patches
|
||||||
|
are superfluous):
|
||||||
|
- Improve Tex back end; table processing works by far better now.
|
||||||
|
- Fopr more info cf. release notes in the documentation directory.
|
||||||
|
- Don't apply latex back end patch.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 12 12:14:17 CEST 2001 - schwab@suse.de
|
||||||
|
|
||||||
|
- Use namespaces with gcc 3.0.
|
||||||
|
- Fix configure script.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 9 17:58:28 CEST 2001 - mfabian@suse.de
|
||||||
|
|
||||||
|
- bzip2 sources
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 21 20:35:14 CET 2001 - mmj@suse.de
|
||||||
|
|
||||||
|
- Fixed to build on S/390 (yes, I know it's ugly so if someone
|
||||||
|
have a cleaner solution, let me know)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 29 16:25:43 CET 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Apply latex backend patch.
|
||||||
|
- Use more rpm macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 10 22:10:55 CET 2000 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix visibility bugs.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 23 19:45:20 CET 2000 - ke@suse.de
|
||||||
|
|
||||||
|
- Don't install convenience links (at the moment they are useless)
|
||||||
|
[partially fix for #4413].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 15 19:12:47 CET 2000 - ke@suse.de
|
||||||
|
|
||||||
|
- Add group tag.
|
||||||
|
- Use spec file macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 12 17:50:20 CEST 2000 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix for ia64.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 29 14:10:17 CEST 1999 - ke@suse.de
|
||||||
|
|
||||||
|
- Install `builtins.dsl'.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 25 14:37:37 CEST 1999 - ke@suse.de
|
||||||
|
|
||||||
|
- Initial package: version 1.3 (bug #172 resolved).
|
||||||
|
|
||||||
|
|
218
openjade.spec
Normal file
218
openjade.spec
Normal file
@ -0,0 +1,218 @@
|
|||||||
|
#
|
||||||
|
# spec file for package openjade
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define regcat %{_bindir}/sgml-register-catalog
|
||||||
|
Name: openjade
|
||||||
|
Version: 1.3.2
|
||||||
|
Release: 0
|
||||||
|
Summary: DSSSL Engine for SGML Documents
|
||||||
|
License: MIT
|
||||||
|
Group: Productivity/Publishing/SGML
|
||||||
|
URL: http://openjade.sourceforge.net/
|
||||||
|
Source: http://switch.dl.sourceforge.net/sourceforge/openjade/openjade-1.3.2.tar.bz2
|
||||||
|
Source1: jade_style-sheet.dtd
|
||||||
|
Source2: %{name}-README.SUSE
|
||||||
|
Patch1: openjade-1.3.1-autoconf.dif
|
||||||
|
Patch2: openjade-1.3.2-makefile.patch
|
||||||
|
Patch3: openjade-1.3.2-shared.patch
|
||||||
|
Patch4: gcc46_default_ctors.patch
|
||||||
|
Patch5: openjade-1.3.2-getopts.patch
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: opensp-devel
|
||||||
|
Requires: opensp
|
||||||
|
Requires(pre): %{regcat}
|
||||||
|
# Conflicts: jade_dsl
|
||||||
|
Obsoletes: jade_dsl
|
||||||
|
Provides: jade
|
||||||
|
Provides: jade_dsl
|
||||||
|
|
||||||
|
%description
|
||||||
|
OpenJade, the follow-up to Jade by James Clark, is an implementation of
|
||||||
|
the ISO/IEC 10179:1996 standard DSSSL (Document Style, Semantics, and
|
||||||
|
Specification Language); pronounce it "dissl"--it rhymes with whistle.
|
||||||
|
|
||||||
|
It has back-ends for SGML, RTF, MIF, TeX, and HTML.
|
||||||
|
|
||||||
|
The parser, "nsgmls," and helper tools like "sgmlnorm," "spam,"
|
||||||
|
"spent," and "sx" are now included in the separate "opensp" package.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: DSSSL Engine (development package)
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Libraries and includes to compile applications that use the OpenJade
|
||||||
|
framework (package 'openjade').
|
||||||
|
|
||||||
|
%define INSTALL install -m755 -s
|
||||||
|
%define INSTALL_DIR install -d -m755
|
||||||
|
%define INSTALL_DATA install -m644
|
||||||
|
%define sgml_dir %{_datadir}/sgml
|
||||||
|
%define sgml_dir_pkg %{sgml_dir}/%{name}
|
||||||
|
%define sgml_var_dir %{_localstatedir}/lib/sgml
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
# -n %%{name}-1.3.2-rc2
|
||||||
|
cp %{SOURCE1} dsssl
|
||||||
|
cp %{SOURCE2} README.SUSE
|
||||||
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
%patch3
|
||||||
|
%patch4
|
||||||
|
%patch5
|
||||||
|
|
||||||
|
%build
|
||||||
|
# export CXXFLAGS='-O'
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
export CXXFLAGS="%{optflags} -fno-lifetime-dse"
|
||||||
|
%else
|
||||||
|
export CXXFLAGS="%{optflags}"
|
||||||
|
%endif
|
||||||
|
# export CXXFLAGS="-g -march=i486 -mcpu=i686"
|
||||||
|
# export DEFAULT_SCHEME_BUILTINS=/usr/share/sgml/openjade/builtins.dsl
|
||||||
|
%configure --disable-static --with-gnu-ld --with-pic \
|
||||||
|
--datadir=%{sgml_dir}/openjade \
|
||||||
|
--enable-splibdir=%{_libdir} \
|
||||||
|
--enable-http \
|
||||||
|
--enable-mif \
|
||||||
|
--enable-default-catalog="CATALOG:%{_sysconfdir}/sgml/catalog:%{sgml_dir}/CATALOG"
|
||||||
|
# [ -r jade/openjade.orig ] && mv jade/openjade.orig jade/openjade
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
# # now start building the debug version
|
||||||
|
# mv jade/openjade jade/openjade.orig
|
||||||
|
# zcat %%{P:5} | patch -s -p 1
|
||||||
|
# make
|
||||||
|
# mv jade/openjade jade/openjade-valid-fo
|
||||||
|
# mv jade/openjade.orig jade/openjade
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{INSTALL_DIR} %{buildroot}%{_libdir} \
|
||||||
|
%{buildroot}%{sgml_dir}/%{name} \
|
||||||
|
%{buildroot}%{_includedir}/%{name}
|
||||||
|
%make_install
|
||||||
|
ln -sf openjade %{buildroot}%{_bindir}/jade
|
||||||
|
[ -r jade/openjade-valid-fo ] && install -s jade/openjade-valid-fo %{buildroot}%{_bindir}
|
||||||
|
make install-man DESTDIR=%{buildroot}
|
||||||
|
pushd %{buildroot}%{_mandir}
|
||||||
|
# find . ! -name 'jade*' -exec rm -f {} \;
|
||||||
|
pushd man1 && ln -sf openjade.1 jade.1 && popd
|
||||||
|
popd
|
||||||
|
/sbin/ldconfig -n %{buildroot}%{_libdir}
|
||||||
|
# %%{INSTALL_DATA} include/*.* $RPM_BUILD_ROOT%%{_includedir}/%%{name}
|
||||||
|
%{INSTALL_DATA} generic/*.h %{buildroot}%{_includedir}/%{name}
|
||||||
|
%{INSTALL_DATA} grove/Node.h %{buildroot}%{_includedir}/%{name}
|
||||||
|
%{INSTALL_DATA} spgrove/GroveApp.h \
|
||||||
|
spgrove/GroveBuilder.h %{buildroot}%{_includedir}/%{name}
|
||||||
|
%{INSTALL_DATA} style/FOTBuilder.h style/GroveManager.h \
|
||||||
|
style/DssslApp.h style/dsssl_ns.h \
|
||||||
|
%{buildroot}%{_includedir}/%{name}
|
||||||
|
# pushd $RPM_BUILD_ROOT%%{_mandir}/man1
|
||||||
|
# popd
|
||||||
|
# pushd $RPM_BUILD_ROOT%%{_bindir}
|
||||||
|
# popd
|
||||||
|
# %%{INSTALL_DIR} $RPM_BUILD_ROOT/etc/profile.d
|
||||||
|
# %%{INSTALL_DATA} jade_dsl.sh $RPM_BUILD_ROOT/etc/profile.d
|
||||||
|
%{INSTALL_DIR} %{buildroot}%{sgml_dir_pkg}
|
||||||
|
# comes with opensp:
|
||||||
|
# %%{INSTALL_DATA} japan.sgmldecl $RPM_BUILD_ROOT%%{sgml_dir_pkg}/japan.dcl
|
||||||
|
# %%{INSTALL_DATA} pubtext/xml.dcl $RPM_BUILD_ROOT%%{sgml_dir_pkg}/xml.dcl
|
||||||
|
# sed 's|decl|dcl|' pubtext/xml.soc > $RPM_BUILD_ROOT%%{sgml_dir_pkg}/xml.soc
|
||||||
|
pushd dsssl
|
||||||
|
%{INSTALL_DATA} catalog dsssl.dtd extensions.dsl fot.dtd style-sheet.dtd \
|
||||||
|
builtins.dsl jade_style-sheet.dtd %{buildroot}%{sgml_dir_pkg}
|
||||||
|
%{INSTALL_DIR} %{buildroot}%{sgml_var_dir}
|
||||||
|
sed 's:"\([^"]*\(dtd\|dsl\)\)"$:"%{sgml_dir_pkg}/\1":' catalog \
|
||||||
|
> %{buildroot}%{sgml_var_dir}/CATALOG.%{name}
|
||||||
|
ln -sf CATALOG.%{name} %{buildroot}%{sgml_var_dir}/CATALOG.jade_dsl
|
||||||
|
cd %{buildroot}%{sgml_dir} \
|
||||||
|
&& ln -sf ../../..%{sgml_var_dir}/CATALOG.%{name} CATALOG.%{name} \
|
||||||
|
&& ln -sf ../../..%{sgml_var_dir}/CATALOG.%{name} CATALOG.jade_dsl
|
||||||
|
popd
|
||||||
|
%{INSTALL_DIR} %{buildroot}%{sgml_dir}/James_Clark/dtd
|
||||||
|
%{INSTALL_DIR} %{buildroot}%{sgml_dir}/OpenJade/dtd
|
||||||
|
%{INSTALL_DIR} %{buildroot}%{sgml_dir}/ISO_IEC_10179:1996/dtd
|
||||||
|
(cd %{buildroot}%{sgml_dir}/James_Clark/dtd \
|
||||||
|
&& ln -sf ../../$RPM_PACKAGE_NAME/jade_style-sheet.dtd DSSSL_Style_Sheet \
|
||||||
|
&& ln -sf ../../$RPM_PACKAGE_NAME/fot.dtd DSSSL_Flow_Object_Tree)
|
||||||
|
(cd %{buildroot}%{sgml_dir}/OpenJade/dtd \
|
||||||
|
&& ln -sf ../../$RPM_PACKAGE_NAME/style-sheet.dtd DSSSL_Style_Sheet)
|
||||||
|
(cd %{buildroot}%{sgml_dir}/ISO_IEC_10179:1996/dtd \
|
||||||
|
&& ln -sf ../../$RPM_PACKAGE_NAME/dsssl.dtd DSSSL_Architecture)
|
||||||
|
# for compatibility with SL <= 8.1
|
||||||
|
pushd %{buildroot}%{sgml_dir}
|
||||||
|
pushd %{name}
|
||||||
|
ln -s ../opensp/japan.dcl .
|
||||||
|
ln -s ../opensp/opensp-implied.dcl sp_implied.dcl
|
||||||
|
ln -s ../opensp/xml.dcl .
|
||||||
|
ln -s ../opensp/xml.soc .
|
||||||
|
for d in *.dcl; do
|
||||||
|
ln -sf $d ${d/.dcl/.decl}
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
popd
|
||||||
|
rm -fr html
|
||||||
|
cp -a jadedoc html
|
||||||
|
echo "\
|
||||||
|
<a href=\"README.SUSE\">README.SUSE</a>
|
||||||
|
<a href=\"html/index.htm\">OpenJade documentation</a> (html)" > index.html
|
||||||
|
grep -r include %{buildroot}%{_includedir}
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
if [ -x %{regcat} ]; then
|
||||||
|
%{regcat} -a %{sgml_dir}/CATALOG.%{name} >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
if [ "$1" = "0" -a -x %{regcat} ]; then
|
||||||
|
%{regcat} -r %{sgml_dir}/CATALOG.%{name} >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc NEWS README*
|
||||||
|
%doc index.html html
|
||||||
|
%doc dsssl develdoc testsuite
|
||||||
|
%doc japan.sgmldecl
|
||||||
|
%doc releasenotes.{html,pdf}
|
||||||
|
%{sgml_dir}/openjade
|
||||||
|
%{_bindir}/*jade*
|
||||||
|
# %%{_mandir}/*/*jade*
|
||||||
|
%{_mandir}/*/*
|
||||||
|
# %%config /etc/profile.d/jade_dsl.sh
|
||||||
|
%{sgml_dir}/CATALOG.%{name}
|
||||||
|
%config %{sgml_var_dir}/CATALOG.%{name}
|
||||||
|
#for compatibility <= 8.1
|
||||||
|
%{sgml_dir}/CATALOG.jade_dsl
|
||||||
|
%{sgml_var_dir}/CATALOG.jade_dsl
|
||||||
|
%{sgml_dir}/ISO_IEC_10179:1996
|
||||||
|
%{sgml_dir}/James_Clark
|
||||||
|
%{sgml_dir}/OpenJade
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/%{name}
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
%exclude %{_libdir}/*a
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user