Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6440 - linuxdoc-tools
Summary: linuxdoc-tools
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL: http://people.debian.org/~sano/linuxd...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-13 23:26 UTC by Lim Swee Tat (RETIRED)
Modified: 2004-01-31 02:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
linuxdoc tools 0.9.21 (linuxdoc-tools.ebuild.tar.bz2,1.28 KB, application/octet-stream)
2002-08-13 23:27 UTC, Lim Swee Tat (RETIRED)
Details
linuxdoc-tools-0.9.21.ebuild (linuxdoc-tools-0.9.21.ebuild,1005 bytes, text/plain)
2003-02-09 00:46 UTC, Lim Swee Tat (RETIRED)
Details
linuxdoc-tools-0.9.21.ebuild (linuxdoc-tools-0.9.21.ebuild,1.33 KB, text/plain)
2003-02-09 01:07 UTC, Lim Swee Tat (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lim Swee Tat (RETIRED) gentoo-dev 2002-08-13 23:26:32 UTC
Linuxdoc Tools for conversion of linuxdoc sgml to other forms.Provides
sgml2{html,txt,rtf,dvi,ps}
Comment 1 Lim Swee Tat (RETIRED) gentoo-dev 2002-08-13 23:27:21 UTC
Created attachment 3061 [details]
linuxdoc tools 0.9.21

This is the ebuild file.
Comment 2 Nicholas Wourms 2002-08-14 14:42:20 UTC
Doesn't sgmltools-lite already provide these tools?
Comment 3 Lim Swee Tat (RETIRED) gentoo-dev 2002-08-14 19:15:20 UTC
No, sgmltools-lite does not provide the convertors for linuxdoc.  The two are
different.  There are dtds bundled that are obviously different.
Comment 4 Nicholas Wourms 2002-08-15 08:05:28 UTC
Well then special care should be taken so that the two don't clobber each other.
Comment 5 Matthew Turk (RETIRED) gentoo-dev 2002-09-05 21:31:42 UTC
Will commit after the ebuild freeze ends. 
Comment 6 Matthew Turk (RETIRED) gentoo-dev 2002-09-19 02:54:55 UTC
Hit the wrong button.  Sorry about that... 
Comment 7 Matthew Turk (RETIRED) gentoo-dev 2002-11-16 00:19:53 UTC
This needs to rename the utilities to linuxdoc2{html,txt,rtf,dvi,ps} , as 
otherwise they *will* clobber.  I'll commit after this change is made. 
 
Sorry for the delay. 
Comment 8 Matthew Turk (RETIRED) gentoo-dev 2003-01-03 01:29:02 UTC
Ok.  This ebuild actually doesn't seem to work; tons of errors come up during 
the install phase while processing the guide.sgml.  I suspect either the DTDs 
aren't being installed correctly or something.  I can attach the output. 
Comment 9 Lim Swee Tat (RETIRED) gentoo-dev 2003-01-03 01:35:03 UTC
Sorry.  I've been ignoring all this development because I have my day job.  Can
you post the error messages??
Comment 10 Matthew Turk (RETIRED) gentoo-dev 2003-01-03 01:40:15 UTC
Sure thing.  It gets to the install phase and looks like guide.sgml doesn't 
validate.  Here's the top; the rest is mostly more of the same. 
 
I think that we can also just refrain from installing the sgml2X programs, as 
linuxdoc is the "preferred" method. 
 
ln -s linuxdoc $i;done) 
Installing documentation in 
/var/tmp/portage/linuxdoc-tools-0.9.21/image//usr/share/doc/linuxdoc-tools ... 
(cd doc; 
PATH=/usr/bin/ccache:/sbin:/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/opt/Acrobat5:/opt/rar/bin:/opt/RealPlayer8:/usr/X11R6/bin:/opt/sun-j2sdk-1.4.0/bin:/opt/sun-j2sdk-1.4.0/jre/bin:/usr/qt/3/bin:/usr/qt/2/bin:/usr/kde/3/bin:/usr/kde/2/bin:/var/tmp/portage/linuxdoc-tools-0.9.21/image//usr/bin 
PREFIX=/var/tmp/portage/linuxdoc-tools-0.9.21/image//usr 
BINDIR=/var/tmp/portage/linuxdoc-tools-0.9.21/image//usr/bin \ 
 DATADIR=/var/tmp/portage/linuxdoc-tools-0.9.21/image//usr/share bash 
Makedoc.sh) 
/var/tmp/portage/linuxdoc-tools-0.9.21/work/linuxdoc-tools-0.9.21/doc 
Installed tree: /var/tmp/portage/linuxdoc-tools-0.9.21/image//usr 
using temporary directory: /tmp/13132 
Processing file ./guide 
/usr/bin/nsgmls:<OSFD>0:8:8:E: document type does not allow element "ARTICLE" 
here; assuming missing "LINUXDOC" start-tag 
/usr/bin/nsgmls:<OSFD>0:10:6:E: document type does not allow element "TITLE" 
here; assuming missing "TITLEPAG" start-tag 
/usr/bin/nsgmls:<OSFD>0:11:7:E: document type does not allow element "AUTHOR" 
here 
/usr/bin/nsgmls:<OSFD>0:19:5:E: document type does not allow element "DATE" 
here 
/usr/bin/nsgmls:<OSFD>0:20:9:E: document type does not allow element 
"ABSTRACT" here 
/usr/bin/nsgmls:<OSFD>0:29:4:E: document type does not allow element "TOC" 
here 
/usr/bin/nsgmls:<OSFD>0:31:5:E: document type does not allow element "SECT" 
here 
/usr/bin/nsgmls:<OSFD>0:31:6:E: character data is not allowed here 
Comment 11 Lim Swee Tat (RETIRED) gentoo-dev 2003-01-03 01:51:03 UTC
which libxml2 are you using?? which version of openjade
Comment 12 Matthew Turk (RETIRED) gentoo-dev 2003-01-03 01:58:30 UTC
libxml 1.8.17-r2, libxml2 2.4.28-r1, openjade 1.3.1-r6. 
 
Could it be that I have conflicting linuxdoc DTDs?  I have all the latest SGML 
ebuilds (for ~x86) installed. 
 
I've been looking at it, and I would like to get this ebuild into portage.  
So, perhaps something needs to be done about installation of the DTD prior to 
generation of the documentation?  Could that be related?  Although, subsequent 
emerges still don't work. 
 
Did you hand install anything into /etc/sgml? 
Comment 13 Lim Swee Tat (RETIRED) gentoo-dev 2003-01-03 02:06:02 UTC
Can you check if there are linuxdoc sgml stuff in the docbook-sgml ebuild??

This ebuild is different because of some perl stuff that had to be installed. 
Actually, I just pulled it off from debian, and plugged it for installation on
my machine.

I did not do anything with /etc/sgml.

Ciao
ST Lim
Comment 14 Lim Swee Tat (RETIRED) gentoo-dev 2003-02-09 00:46:48 UTC
Created attachment 8073 [details]
linuxdoc-tools-0.9.21.ebuild

Hi,
  Just thought that maybe, a quick and simple solution for overwriting sgml2xxx
stuff will be to do this.
Comment 15 Lim Swee Tat (RETIRED) gentoo-dev 2003-02-09 01:07:57 UTC
Created attachment 8074 [details]
linuxdoc-tools-0.9.21.ebuild

Minor oops.  Did not test before posting the previous one.  This one works on
my machine.  The following is my qpkg -v -I -nc docbook:

app-text/docbook-sgml-utils-0.6.12
app-text/docbook-xsl-stylesheets-1.60.1
app-text/docbook-sgml-dtd-4.2
app-text/docbook-sgml-dtd-3.0-r1
app-text/docbook-sgml-dtd-3.1-r1
app-text/docbook-dsssl-stylesheets-1.77-r2
app-text/docbook-sgml-dtd-4.0-r1
app-text/docbook-sgml-dtd-4.1-r1
app-text/docbook-xml-simple-dtd-4.1.2.4
app-text/docbook-xml-dtd-4.2
Comment 16 Mike Gardiner (RETIRED) gentoo-dev 2003-12-27 03:24:21 UTC
Is there still an interest in this ? This is the only place I've seen 'linuxdoc' mentioned. Comments on the ebuild (in point form to make it short):

o  KEYWORDS should be ~arch, and only include the arch's you've tested on, so this should be something like ~x86, unless you've tested on both x86 and ppc in which case this should be ~x86 ~ppc
o  add SLOT="0" (unless it's going to be slotted by version), IUSE="" and LICENSE="" the license it falls under. These are required keywords.
o  try using 'econf' wraps around most of those options to configure, but I'm especially suspicious of "--exec-prefix=/usr/linuxdoc/bin" (if this is the solution to the similarly named binaries, I'm afraid will have to think of something else, but that's ok)
o  use emake as well :)
o  and einstall with any necessary options overridden
(It's possible emake, econf and einstall were new things when this ebuild was written, I know it's been a while - in which case ignore)

If you'd like to get this in, please respond, otherwise I'm sorry I'm not that interested in putting it into the tree without some user-interest.
Comment 17 Mike Gardiner (RETIRED) gentoo-dev 2004-01-31 02:03:24 UTC
No interest.