> >> but you can get the src.rpm from the sources CD of Linux Mandrake 6.0;
> >> then build it on your alpha and console-tools should build ok.
> > For some reason they don't compile... I just got the redhat 6.0 alpha
> > one. Recompiling console-tools and some other packages that seemed to
> > miss sgml now.
> Does the Red Hat one include some alpha specific patches ?
Summary: A text formatting package based on SGML.
Name: sgml-tools
Obsoletes: linuxdoc-sgml
Version: 1.0.9
Release: 2
Copyright: freeware
Group: Applications/Publishing
Source:
http://www.consultronics.com/~cdegroot/sgmltools/dist/%{name}-%{version}.tar.gz
Patch: sgml-tools-1.0.6-letter.patch
Patch1: sgml-tools-1.0.9-egcs.patch
Url: http://www.sgmltools.org
Buildroot: /var/tmp/%{name}-root
Seems quite neutral... no alpha specific stuff...
The letter patch... ah... not a nice patch for European users...
> > I'm also wondering how are we going to tackle binary packages. Say for
> > example netscape. There is also a version for digital unix (yes, I know, you
> > need the Tru64 libs, and you need a license for the libs...) and it runs on
> > alpha-linux.
> > Now, do we call the rpm netscape-alpha-<version>.src.rpm, or are we
> > going to
> > put all the sources together (alpha, sparc (??) and x86) and make the
> > .spec file handle the different archs? This would make you end up with
> > one HUGE src.rpm... any thoughts??
> It would be better to separate the src.rpm (hem) files if they are compeltly
> different; but keep, as long as possible, similar naming for the binary ones.
yup.
> Also, maybe it would be nice, for the alpha version of the distrib, to include
> the latest Mozilla milestone.
Alphalinux.org has some binaries.
(they recently also started 2 alpha related mailinglists)
Stefan
--- sgml-tools-1.0.9/rtf-fix/rtf2rtf.l.egcs Wed Mar 17 16:48:10 1999
+++ sgml-tools-1.0.9/rtf-fix/rtf2rtf.l Wed Mar 17 16:49:56 1999
@@ -53,8 +53,8 @@
int section_id = 0; /* used for TOC hyperlinks */
int in_appendix = 0;
-FILE *out = stdout;
-FILE *idx_fp = stdout;
+FILE *out;
+FILE *idx_fp;
char buf[2048], sectname[256], labeltxt[256];
char firstname[256], outname[256];
@@ -380,11 +380,13 @@
%%
-void
+int
main( int argc, char **argv )
{
int i;
+ out = idx_fp = stdout;
+
strcpy( firstname, "RTF" );
for (i = 1; i < argc; i++)
@@ -420,7 +422,7 @@
fputs ("\n}\n", idx_fp);
fclose( idx_fp );
- exit( 0 );
+ return 0;
}
/* Use the existing indentation style:
--- sgml-tools-1.0.9/sp/include/config.h.egcs Tue Oct 13 07:34:03 1998
+++ sgml-tools-1.0.9/sp/include/config.h Wed Mar 17 16:39:57 1999
@@ -9,9 +9,11 @@
#ifdef __GNUG__
// It's not missing, but it pulls in libg++
-#define SP_NEW_H_MISSING
+// NOT GOOD WITH EGCS 1.1.2!!!
+// #define SP_NEW_H_MISSING
// set_new_handler() has to be declared extern "C"
-#define SP_SET_NEW_HANDLER_EXTERN_C
+// THE FOLLOWING IS NOT NEEDED WITH EGCS 1.1.2 EITHER...
+//#define SP_SET_NEW_HANDLER_EXTERN_C
#ifndef SP_MANUAL_INST
#define SP_MANUAL_INST
#endif