public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: ANNOUNCE Support for XML
  2000-12-27  6:36 ANNOUNCE Support for XML Gregory Leblanc
@ 2000-11-27 11:29 ` Gregory Leblanc
  2001-12-19 22:49 ` Eric Bischoff
  1 sibling, 0 replies; 17+ messages in thread
From: Gregory Leblanc @ 2000-11-27 11:29 UTC (permalink / raw)
  To: 'Eric Bischoff'; +Cc: docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3988 bytes --]

 > Le Lundi 13 Novembre 2000 07:08, Gregory Leblanc a écrit :
> >  In it's current form, I am NOT able to build an
> > RPM for the docbook-utils package unless I'm logged in as root.
> 
> ???? What happens? Should not be needed.
 
 
 
ok, I sort of lied.  I changed your spec file like this. 
 
--- docbook-utils.spec  Thu Nov  9 14:23:21 2000
 
+++ docbook-utils.spec.new      Mon Nov 13 10:54:06 2000
 
@@ -31,13 +31,21 @@
 
 
 
 
 
 %Build
-./configure --prefix=/usr --mandir=/usr/share/man/en
-make
+%Configure
+#./configure --prefix=/usr --mandir=/usr/share/man/en
+if [ "$SMP" != "" ]; then
+  make -j$SMP "MAKE=make -j$SMP"
+else
+  make
+fi
+#make
 
 %Install
+rm -rf $RPM_BUILD_ROOT
 export DESTDIR=$RPM_BUILD_ROOT
-make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
docdir=/usr/share/doc
+%makeinstall
+#make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
docdir=/usr/share/doc
 
 
 %Clean
 
 
Basically this says to use the macros built in to RPM instead of hacking
stuff together.  This makes it much easier to for the RPM to be ported
across distributions.  I did this because your spec file would put man pages
and docs in the wrong locations on RH 6.x.  Using these changes, building
the RPM fails.  Here's what I found as the errors, and I can also send the
complete output of rpm -bb docbook-utils.spec, if that will help.  
 
Making install in bin 
make[1]: Entering directory
`/home/gleblanc/projects/rpm/BUILD/docbook-utils-0.6/bin' 
make[2]: Entering directory
`/home/gleblanc/projects/rpm/BUILD/docbook-utils-0.6/bin' 
/bin/sh ../mkinstalldirs
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in 
mkdir /home/gleblanc/projects/rpm/var/tmp/home 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp

mkdir
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr 
mkdir
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in 
 /usr/bin/install -c  jw
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/jw 
 /usr/bin/install -c  sgmldiff
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/sgmldiff 
 /usr/bin/install -c  docbook2dvi
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2dvi 
 /usr/bin/install -c  docbook2html
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2html 
 /usr/bin/install -c  docbook2man
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2man 
 /usr/bin/install -c  docbook2pdf
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2pdf 
 /usr/bin/install -c  docbook2ps
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2ps 
 /usr/bin/install -c  docbook2rtf
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2rtf 
 /usr/bin/install -c  docbook2tex
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2tex 
 /usr/bin/install -c  docbook2texi
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2texi 
 /usr/bin/install -c  docbook2txt
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2txt 
make[2]: Nothing to be done for `install-data-am'. 
make[2]: Leaving directory
`/home/gleblanc/projects/rpm/BUILD/docbook-utils-0.6/bin' 
make[1]: Leaving directory
`/home/gleblanc/projects/rpm/BUILD/docbook-utils-0.6/bin' 
Making install in doc  
 
 
I see why the build is failing, but I can't figure out why it's doing that,
nor how to fix it.  Any help?
 
     Greg
 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* RE: ANNOUNCE Support for XML
@ 2000-12-27  6:36 Gregory Leblanc
  2000-11-27 11:29 ` Gregory Leblanc
  2001-12-19 22:49 ` Eric Bischoff
  0 siblings, 2 replies; 17+ messages in thread
From: Gregory Leblanc @ 2000-12-27  6:36 UTC (permalink / raw)
  To: 'Eric Bischoff'; +Cc: docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3988 bytes --]

 > Le Lundi 13 Novembre 2000 07:08, Gregory Leblanc a écrit :
> >  In it's current form, I am NOT able to build an
> > RPM for the docbook-utils package unless I'm logged in as root.
> 
> ???? What happens? Should not be needed.
 
 
 
ok, I sort of lied.  I changed your spec file like this. 
 
--- docbook-utils.spec  Thu Nov  9 14:23:21 2000
 
+++ docbook-utils.spec.new      Mon Nov 13 10:54:06 2000
 
@@ -31,13 +31,21 @@
 
 
 
 
 
 %Build
-./configure --prefix=/usr --mandir=/usr/share/man/en
-make
+%Configure
+#./configure --prefix=/usr --mandir=/usr/share/man/en
+if [ "$SMP" != "" ]; then
+  make -j$SMP "MAKE=make -j$SMP"
+else
+  make
+fi
+#make
 
 %Install
+rm -rf $RPM_BUILD_ROOT
 export DESTDIR=$RPM_BUILD_ROOT
-make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
docdir=/usr/share/doc
+%makeinstall
+#make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
docdir=/usr/share/doc
 
 
 %Clean
 
 
Basically this says to use the macros built in to RPM instead of hacking
stuff together.  This makes it much easier to for the RPM to be ported
across distributions.  I did this because your spec file would put man pages
and docs in the wrong locations on RH 6.x.  Using these changes, building
the RPM fails.  Here's what I found as the errors, and I can also send the
complete output of rpm -bb docbook-utils.spec, if that will help.  
 
Making install in bin 
make[1]: Entering directory
`/home/gleblanc/projects/rpm/BUILD/docbook-utils-0.6/bin' 
make[2]: Entering directory
`/home/gleblanc/projects/rpm/BUILD/docbook-utils-0.6/bin' 
/bin/sh ../mkinstalldirs
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in 
mkdir /home/gleblanc/projects/rpm/var/tmp/home 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var 
mkdir /home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp

mkdir
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr 
mkdir
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in 
 /usr/bin/install -c  jw
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/jw 
 /usr/bin/install -c  sgmldiff
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/sgmldiff 
 /usr/bin/install -c  docbook2dvi
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2dvi 
 /usr/bin/install -c  docbook2html
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2html 
 /usr/bin/install -c  docbook2man
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2man 
 /usr/bin/install -c  docbook2pdf
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2pdf 
 /usr/bin/install -c  docbook2ps
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2ps 
 /usr/bin/install -c  docbook2rtf
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2rtf 
 /usr/bin/install -c  docbook2tex
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2tex 
 /usr/bin/install -c  docbook2texi
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2texi 
 /usr/bin/install -c  docbook2txt
/home/gleblanc/projects/rpm/var/tmp/home/gleblanc/projects/rpm/var/tmp/usr/b
in/docbook2txt 
make[2]: Nothing to be done for `install-data-am'. 
make[2]: Leaving directory
`/home/gleblanc/projects/rpm/BUILD/docbook-utils-0.6/bin' 
make[1]: Leaving directory
`/home/gleblanc/projects/rpm/BUILD/docbook-utils-0.6/bin' 
Making install in doc  
 
 
I see why the build is failing, but I can't figure out why it's doing that,
nor how to fix it.  Any help?
 
     Greg
 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2001-12-19 22:49 ` Eric Bischoff
@ 2001-10-26 14:59   ` Eric Bischoff
  2001-12-15  2:50   ` Eric Bischoff
  1 sibling, 0 replies; 17+ messages in thread
From: Eric Bischoff @ 2001-10-26 14:59 UTC (permalink / raw)
  To: Gregory Leblanc; +Cc: docbook-tools-discuss

Le Monday 27 November 2000 20:29, Gregory Leblanc a écrit :
> > Le Lundi 13 Novembre 2000 07:08, Gregory Leblanc a écrit :
> > >  In it's current form, I am NOT able to build an
> > > RPM for the docbook-utils package unless I'm logged in as root.
> >
> > ???? What happens? Should not be needed.
>
> ok, I sort of lied.  I changed your spec file like this.
>
> --- docbook-utils.spec  Thu Nov  9 14:23:21 2000
>
> +++ docbook-utils.spec.new      Mon Nov 13 10:54:06 2000
>
> @@ -31,13 +31,21 @@
> ...
>
>
> I see why the build is failing, but I can't figure out why it's doing that,
> nor how to fix it.  Any help?

Hi Greg. I'm purging my very old unread emails. At some point of time I had 
problems to keep pace with the flood of emails.

Do you still need help on this? If yes, can you reexplain the problem?

Sorry for answering one year later :-(.

-- 
+----------------------------------------------------------------------+
| Éric Bischoff                              mailto:e.bischoff@noos.fr |
+----------------------------------------------------------------------+

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2001-12-19 22:49 ` Eric Bischoff
  2001-10-26 14:59   ` Eric Bischoff
@ 2001-12-15  2:50   ` Eric Bischoff
  1 sibling, 0 replies; 17+ messages in thread
From: Eric Bischoff @ 2001-12-15  2:50 UTC (permalink / raw)
  To: Gregory Leblanc; +Cc: docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]

Le Monday 27 November 2000 20:29, Gregory Leblanc a écrit :
> > Le Lundi 13 Novembre 2000 07:08, Gregory Leblanc a écrit :
> > >  In it's current form, I am NOT able to build an
> > > RPM for the docbook-utils package unless I'm logged in as root.
> >
> > ???? What happens? Should not be needed.
>
> ok, I sort of lied.  I changed your spec file like this.
>
> --- docbook-utils.spec  Thu Nov  9 14:23:21 2000
>
> +++ docbook-utils.spec.new      Mon Nov 13 10:54:06 2000
>
> @@ -31,13 +31,21 @@
> ...
>
>
> I see why the build is failing, but I can't figure out why it's doing that,
> nor how to fix it.  Any help?

Hi Greg. I'm purging my very old unread emails. At some point of time I had 
problems to keep pace with the flood of emails.

Do you still need help on this? If yes, can you reexplain the problem?

Sorry for answering one year later :-(.

-- 
+----------------------------------------------------------------------+
| Éric Bischoff                              mailto:e.bischoff@noos.fr |
+----------------------------------------------------------------------+

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2000-12-27  6:36 ANNOUNCE Support for XML Gregory Leblanc
  2000-11-27 11:29 ` Gregory Leblanc
@ 2001-12-19 22:49 ` Eric Bischoff
  2001-10-26 14:59   ` Eric Bischoff
  2001-12-15  2:50   ` Eric Bischoff
  1 sibling, 2 replies; 17+ messages in thread
From: Eric Bischoff @ 2001-12-19 22:49 UTC (permalink / raw)
  To: Gregory Leblanc; +Cc: docbook-tools-discuss

Le Monday 27 November 2000 20:29, Gregory Leblanc a écrit :
> > Le Lundi 13 Novembre 2000 07:08, Gregory Leblanc a écrit :
> > >  In it's current form, I am NOT able to build an
> > > RPM for the docbook-utils package unless I'm logged in as root.
> >
> > ???? What happens? Should not be needed.
>
> ok, I sort of lied.  I changed your spec file like this.
>
> --- docbook-utils.spec  Thu Nov  9 14:23:21 2000
>
> +++ docbook-utils.spec.new      Mon Nov 13 10:54:06 2000
>
> @@ -31,13 +31,21 @@
> ...
>
>
> I see why the build is failing, but I can't figure out why it's doing that,
> nor how to fix it.  Any help?

Hi Greg. I'm purging my very old unread emails. At some point of time I had 
problems to keep pace with the flood of emails.

Do you still need help on this? If yes, can you reexplain the problem?

Sorry for answering one year later :-(.

-- 
+----------------------------------------------------------------------+
| Éric Bischoff                              mailto:e.bischoff@noos.fr |
+----------------------------------------------------------------------+

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2000-12-27  6:36   ` Eric Bischoff
  2000-11-12  3:49     ` Eric Bischoff
@ 2000-12-27  6:36     ` Gregory Leblanc
  2000-11-12 23:09       ` Gregory Leblanc
  2000-12-27  6:36       ` Eric Bischoff
  1 sibling, 2 replies; 17+ messages in thread
From: Gregory Leblanc @ 2000-12-27  6:36 UTC (permalink / raw)
  To: ebisch; +Cc: docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1677 bytes --]

> Le Vendredi 10 Novembre 2000 21:35, Gregory Leblanc a écrit :
> > make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
> > docdir=/usr/share/doc
> >
> > it should read
> >
> > make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
> > docdir=$DESTDIR/usr/share/doc
> 
> I just checked. It is intentional that docdir is not buildrooted unlike 
> mandir. It is due to the way the autoconf process works.
> 
> In the Makefile, you have the following:
>       ...
>       htmldir = $(docdir)/html/docbook-utils-0.6
>       ...
>       install-htmlDATA: $(html_DATA)
>               ...
>               $(mkinstalldirs) $(DESTDIR)$(htmldir)
>                                           ^^^^^^^^^^^
> so the buildrooting is done outside of the "docdir" variable by autoconf 
> default behaviour.


I don't really see how this works, but I'm not an auto* expert (yet).  

> I know this is not logical, but I'm not responsible for that.


Do you mean to say that I can't blame my autoconf problems on you?  :)
> I encourage you to give a try at building once agin the package to check what 
> I'm saying.


I know that this can be fixed somehow, as there are countless other
packages that work.  In it's current form, I am NOT able to build an 
RPM for the docbook-utils package unless I'm logged in as root.  The 
RPM guru's say that the only packages that you MUST be root to build are
the kernel packages, because root access is required to create the DEV
entries.  If you want info on building RPMs as non-root, let me know as 
I've got a short article on that. I'll post a message to the RPM-list
tomorrow to see if they can help out.  Thanks,    Greg

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2000-12-27  6:36 ` ANNOUNCE Support for XML Eric Bischoff
  2000-11-09 15:39   ` Eric Bischoff
  2000-12-27  6:36   ` Gregory Leblanc
@ 2000-12-27  6:36   ` Eric Bischoff
  2000-11-12  2:44     ` Eric Bischoff
  2000-12-27  6:36   ` Eric Bischoff
  3 siblings, 1 reply; 17+ messages in thread
From: Eric Bischoff @ 2000-12-27  6:36 UTC (permalink / raw)
  To: Gregory Leblanc; +Cc: docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]

Le Vendredi 10 Novembre 2000 21:35, vous avez écrit :
> > The supported versions of the DTD include only DocBook 4.1 for the
> > moment.
> >
> > - docbook-utils-6.0:
> >   support for XML
> >   new --dcl option
> >
> > Any feedback welcome, of course.
>
> make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
> docdir=/usr/share/doc
>
> it should read
>
> make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
> docdir=$DESTDIR/usr/share/doc

Will be done, thank you for the bug report.

> Not a big fix.  HOWEVER, that will break the RPM build, as the docbook
> utils package doesn't really support being installed to anywhere other
> than the locations that you've specified.  You can easily see this if
> you try to build the package as a non-root user, or if you try using the
> above fix to the spec file.  This is the last bug on my list, so as soon
> as it gets fixed, I'll be happy to recomend that these tools be moved
> out of the trials stage.  Later,

I hope that Mark gives his "go ahead" then ;-).

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2000-12-27  6:36 ` ANNOUNCE Support for XML Eric Bischoff
                     ` (2 preceding siblings ...)
  2000-12-27  6:36   ` Eric Bischoff
@ 2000-12-27  6:36   ` Eric Bischoff
  2000-11-12  3:49     ` Eric Bischoff
  2000-12-27  6:36     ` Gregory Leblanc
  3 siblings, 2 replies; 17+ messages in thread
From: Eric Bischoff @ 2000-12-27  6:36 UTC (permalink / raw)
  To: Gregory Leblanc, docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

Le Vendredi 10 Novembre 2000 21:35, Gregory Leblanc a écrit :
> make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
> docdir=/usr/share/doc
>
> it should read
>
> make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
> docdir=$DESTDIR/usr/share/doc

I just checked. It is intentional that docdir is not buildrooted unlike 
mandir. It is due to the way the autoconf process works.

In the Makefile, you have the following:
	...
	htmldir = $(docdir)/html/docbook-utils-0.6
	...
	install-htmlDATA: $(html_DATA)
	        ...
	        $(mkinstalldirs) $(DESTDIR)$(htmldir)
                                          ^^^^^^^^^^^
so the buildrooting is done outside of the "docdir" variable by autoconf 
default behaviour.

I know this is not logical, but I'm not responsible for that.

I encourage you to give a try at building once agin the package to check what 
I'm saying.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* ANNOUNCE Support for XML
  1999-11-02  0:45 Index creation Christophe Guillon
@ 2000-12-27  6:36 ` Eric Bischoff
  2000-11-09 15:39   ` Eric Bischoff
                     ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Eric Bischoff @ 2000-12-27  6:36 UTC (permalink / raw)
  To: docbook-tools-discuss; +Cc: docbook-tools-discuss

Hi all,

Now it's possible to convert XML DocBook files through Jade with the comfort 
of the DocBook-tools. As usually, everything is available under

	ftp://sourceware.cygnus.com/pub/docbook-tools/new-trials

or one of its mirrors.

The supported versions of the DTD include only DocBook 4.1 for the moment.

The conversion is still done through the DSSSL style sheets. Andrey and I are 
currently evaluating the best tools to process through XSL style sheets, with 
the help of Norm.

The docbook-utils detect automatically that the processed file is an XML file 
so the process is fully transparent. In case the automated detection would not
work, you can use a new "--dcl" option to specify the SGML declaration to 
use. This new feature works even if it's not a XML document of course.

The modified packages are:
- sgml-common-0.4:
  now includes the SGML declaration for XML
  the ISO entities have been patched to support the new "euro" character

- docbook-dtd41-xml-1.0:
  the XML DTD for DocBook

- docbook-utils-6.0:
  support for XML
  new --dcl option

Enjoy! ;-)

Any feedback welcome, of course.
 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2000-12-27  6:36 ` ANNOUNCE Support for XML Eric Bischoff
  2000-11-09 15:39   ` Eric Bischoff
@ 2000-12-27  6:36   ` Gregory Leblanc
  2000-11-10 11:34     ` Gregory Leblanc
  2000-12-27  6:36   ` Eric Bischoff
  2000-12-27  6:36   ` Eric Bischoff
  3 siblings, 1 reply; 17+ messages in thread
From: Gregory Leblanc @ 2000-12-27  6:36 UTC (permalink / raw)
  To: docbook-tools-discuss

> The supported versions of the DTD include only DocBook 4.1 for the moment.
> 
> - docbook-utils-6.0:
>   support for XML
>   new --dcl option
> 
> Any feedback welcome, of course.


You asked for it...  :-)
I'm still having trouble re-locating this package at build time, and
there's a clear error in the spec file. I'll start with the spec file,
as that one is easier to fix
line 40 in docbook-utils.spec reads


make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en docdir=/usr/share/doc


it should read


make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en docdir=$DESTDIR/usr/share/doc


Not a big fix.  HOWEVER, that will break the RPM build, as the docbook
utils package doesn't really support being installed to anywhere other
than the locations that you've specified.  You can easily see this if
you try to build the package as a non-root user, or if you try using the
above fix to the spec file.  This is the last bug on my list, so as soon
as it gets fixed, I'll be happy to recomend that these tools be moved
out of the trials stage.  Later,

    Greg

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2000-12-27  6:36     ` Gregory Leblanc
  2000-11-12 23:09       ` Gregory Leblanc
@ 2000-12-27  6:36       ` Eric Bischoff
  2000-11-13  8:54         ` Eric Bischoff
  1 sibling, 1 reply; 17+ messages in thread
From: Eric Bischoff @ 2000-12-27  6:36 UTC (permalink / raw)
  To: Gregory Leblanc; +Cc: docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]

Le Lundi 13 Novembre 2000 07:08, Gregory Leblanc a écrit :
> > In the Makefile, you have the following:
> >       ...
> >       htmldir = $(docdir)/html/docbook-utils-0.6
> >       ...
> >       install-htmlDATA: $(html_DATA)
> >               ...
> >               $(mkinstalldirs) $(DESTDIR)$(htmldir)
> >                                           ^^^^^^^^^^^
> > so the buildrooting is done outside of the "docdir" variable by autoconf
> > default behaviour.
>
> I don't really see how this works, but I'm not an auto* expert (yet).

Assume it is braindead. Did it? Okay, you did half of the way... ;-)

> > I know this is not logical, but I'm not responsible for that.
>
> Do you mean to say that I can't blame my autoconf problems on you?  :)

You haven't autoconf problems. Everyone has a problem with autoconf.

;-)

> > I encourage you to give a try at building once agin the package to check
> > what I'm saying.
>
> I know that this can be fixed somehow, as there are countless other
> packages that work.

It hasn't to be fixed, because it is not a problem. The only problem is that 
when you read the specfile it looks strange that mandir and docdir behave 
differently.

>  In it's current form, I am NOT able to build an
> RPM for the docbook-utils package unless I'm logged in as root.

???? What happens? Should not be needed.

>  The
> RPM guru's say that the only packages that you MUST be root to build are
> the kernel packages, because root access is required to create the DEV
> entries.  If you want info on building RPMs as non-root, let me know as
> I've got a short article on that. I'll post a message to the RPM-list
> tomorrow to see if they can help out.  Thanks,    Greg

No it should not be necessary. First tell me what's wrong with docbook-utils.

-- 
Éric Bischoff  -  Documentation and Localization
Caldera (Deutschland) GmbH - Linux for eBusiness
Tel: +49 9131 7192 300 -  Fax: +49 9131 7192 399
http://www.caldera.de/

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2000-12-27  6:36       ` Eric Bischoff
@ 2000-11-13  8:54         ` Eric Bischoff
  0 siblings, 0 replies; 17+ messages in thread
From: Eric Bischoff @ 2000-11-13  8:54 UTC (permalink / raw)
  To: Gregory Leblanc; +Cc: docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]

Le Lundi 13 Novembre 2000 07:08, Gregory Leblanc a écrit :
> > In the Makefile, you have the following:
> >       ...
> >       htmldir = $(docdir)/html/docbook-utils-0.6
> >       ...
> >       install-htmlDATA: $(html_DATA)
> >               ...
> >               $(mkinstalldirs) $(DESTDIR)$(htmldir)
> >                                           ^^^^^^^^^^^
> > so the buildrooting is done outside of the "docdir" variable by autoconf
> > default behaviour.
>
> I don't really see how this works, but I'm not an auto* expert (yet).

Assume it is braindead. Did it? Okay, you did half of the way... ;-)

> > I know this is not logical, but I'm not responsible for that.
>
> Do you mean to say that I can't blame my autoconf problems on you?  :)

You haven't autoconf problems. Everyone has a problem with autoconf.

;-)

> > I encourage you to give a try at building once agin the package to check
> > what I'm saying.
>
> I know that this can be fixed somehow, as there are countless other
> packages that work.

It hasn't to be fixed, because it is not a problem. The only problem is that 
when you read the specfile it looks strange that mandir and docdir behave 
differently.

>  In it's current form, I am NOT able to build an
> RPM for the docbook-utils package unless I'm logged in as root.

???? What happens? Should not be needed.

>  The
> RPM guru's say that the only packages that you MUST be root to build are
> the kernel packages, because root access is required to create the DEV
> entries.  If you want info on building RPMs as non-root, let me know as
> I've got a short article on that. I'll post a message to the RPM-list
> tomorrow to see if they can help out.  Thanks,    Greg

No it should not be necessary. First tell me what's wrong with docbook-utils.

-- 
Éric Bischoff  -  Documentation and Localization
Caldera (Deutschland) GmbH - Linux for eBusiness
Tel: +49 9131 7192 300 -  Fax: +49 9131 7192 399
http://www.caldera.de/

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2000-12-27  6:36     ` Gregory Leblanc
@ 2000-11-12 23:09       ` Gregory Leblanc
  2000-12-27  6:36       ` Eric Bischoff
  1 sibling, 0 replies; 17+ messages in thread
From: Gregory Leblanc @ 2000-11-12 23:09 UTC (permalink / raw)
  To: ebisch; +Cc: docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1677 bytes --]

> Le Vendredi 10 Novembre 2000 21:35, Gregory Leblanc a écrit :
> > make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
> > docdir=/usr/share/doc
> >
> > it should read
> >
> > make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
> > docdir=$DESTDIR/usr/share/doc
> 
> I just checked. It is intentional that docdir is not buildrooted unlike 
> mandir. It is due to the way the autoconf process works.
> 
> In the Makefile, you have the following:
>       ...
>       htmldir = $(docdir)/html/docbook-utils-0.6
>       ...
>       install-htmlDATA: $(html_DATA)
>               ...
>               $(mkinstalldirs) $(DESTDIR)$(htmldir)
>                                           ^^^^^^^^^^^
> so the buildrooting is done outside of the "docdir" variable by autoconf 
> default behaviour.


I don't really see how this works, but I'm not an auto* expert (yet).  

> I know this is not logical, but I'm not responsible for that.


Do you mean to say that I can't blame my autoconf problems on you?  :)
> I encourage you to give a try at building once agin the package to check what 
> I'm saying.


I know that this can be fixed somehow, as there are countless other
packages that work.  In it's current form, I am NOT able to build an 
RPM for the docbook-utils package unless I'm logged in as root.  The 
RPM guru's say that the only packages that you MUST be root to build are
the kernel packages, because root access is required to create the DEV
entries.  If you want info on building RPMs as non-root, let me know as 
I've got a short article on that. I'll post a message to the RPM-list
tomorrow to see if they can help out.  Thanks,    Greg

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2000-12-27  6:36   ` Eric Bischoff
@ 2000-11-12  3:49     ` Eric Bischoff
  2000-12-27  6:36     ` Gregory Leblanc
  1 sibling, 0 replies; 17+ messages in thread
From: Eric Bischoff @ 2000-11-12  3:49 UTC (permalink / raw)
  To: Gregory Leblanc, docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

Le Vendredi 10 Novembre 2000 21:35, Gregory Leblanc a écrit :
> make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
> docdir=/usr/share/doc
>
> it should read
>
> make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
> docdir=$DESTDIR/usr/share/doc

I just checked. It is intentional that docdir is not buildrooted unlike 
mandir. It is due to the way the autoconf process works.

In the Makefile, you have the following:
	...
	htmldir = $(docdir)/html/docbook-utils-0.6
	...
	install-htmlDATA: $(html_DATA)
	        ...
	        $(mkinstalldirs) $(DESTDIR)$(htmldir)
                                          ^^^^^^^^^^^
so the buildrooting is done outside of the "docdir" variable by autoconf 
default behaviour.

I know this is not logical, but I'm not responsible for that.

I encourage you to give a try at building once agin the package to check what 
I'm saying.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2000-12-27  6:36   ` Eric Bischoff
@ 2000-11-12  2:44     ` Eric Bischoff
  0 siblings, 0 replies; 17+ messages in thread
From: Eric Bischoff @ 2000-11-12  2:44 UTC (permalink / raw)
  To: Gregory Leblanc; +Cc: docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]

Le Vendredi 10 Novembre 2000 21:35, vous avez écrit :
> > The supported versions of the DTD include only DocBook 4.1 for the
> > moment.
> >
> > - docbook-utils-6.0:
> >   support for XML
> >   new --dcl option
> >
> > Any feedback welcome, of course.
>
> make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
> docdir=/usr/share/doc
>
> it should read
>
> make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en
> docdir=$DESTDIR/usr/share/doc

Will be done, thank you for the bug report.

> Not a big fix.  HOWEVER, that will break the RPM build, as the docbook
> utils package doesn't really support being installed to anywhere other
> than the locations that you've specified.  You can easily see this if
> you try to build the package as a non-root user, or if you try using the
> above fix to the spec file.  This is the last bug on my list, so as soon
> as it gets fixed, I'll be happy to recomend that these tools be moved
> out of the trials stage.  Later,

I hope that Mark gives his "go ahead" then ;-).

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: ANNOUNCE Support for XML
  2000-12-27  6:36   ` Gregory Leblanc
@ 2000-11-10 11:34     ` Gregory Leblanc
  0 siblings, 0 replies; 17+ messages in thread
From: Gregory Leblanc @ 2000-11-10 11:34 UTC (permalink / raw)
  To: docbook-tools-discuss

> The supported versions of the DTD include only DocBook 4.1 for the moment.
> 
> - docbook-utils-6.0:
>   support for XML
>   new --dcl option
> 
> Any feedback welcome, of course.


You asked for it...  :-)
I'm still having trouble re-locating this package at build time, and
there's a clear error in the spec file. I'll start with the spec file,
as that one is easier to fix
line 40 in docbook-utils.spec reads


make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en docdir=/usr/share/doc


it should read


make install prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man/en docdir=$DESTDIR/usr/share/doc


Not a big fix.  HOWEVER, that will break the RPM build, as the docbook
utils package doesn't really support being installed to anywhere other
than the locations that you've specified.  You can easily see this if
you try to build the package as a non-root user, or if you try using the
above fix to the spec file.  This is the last bug on my list, so as soon
as it gets fixed, I'll be happy to recomend that these tools be moved
out of the trials stage.  Later,

    Greg

^ permalink raw reply	[flat|nested] 17+ messages in thread

* ANNOUNCE Support for XML
  2000-12-27  6:36 ` ANNOUNCE Support for XML Eric Bischoff
@ 2000-11-09 15:39   ` Eric Bischoff
  2000-12-27  6:36   ` Gregory Leblanc
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 17+ messages in thread
From: Eric Bischoff @ 2000-11-09 15:39 UTC (permalink / raw)
  To: docbook-tools-discuss; +Cc: docbook-tools-discuss

Hi all,

Now it's possible to convert XML DocBook files through Jade with the comfort 
of the DocBook-tools. As usually, everything is available under

	ftp://sourceware.cygnus.com/pub/docbook-tools/new-trials

or one of its mirrors.

The supported versions of the DTD include only DocBook 4.1 for the moment.

The conversion is still done through the DSSSL style sheets. Andrey and I are 
currently evaluating the best tools to process through XSL style sheets, with 
the help of Norm.

The docbook-utils detect automatically that the processed file is an XML file 
so the process is fully transparent. In case the automated detection would not
work, you can use a new "--dcl" option to specify the SGML declaration to 
use. This new feature works even if it's not a XML document of course.

The modified packages are:
- sgml-common-0.4:
  now includes the SGML declaration for XML
  the ISO entities have been patched to support the new "euro" character

- docbook-dtd41-xml-1.0:
  the XML DTD for DocBook

- docbook-utils-6.0:
  support for XML
  new --dcl option

Enjoy! ;-)

Any feedback welcome, of course.
 

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2001-12-15 10:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-27  6:36 ANNOUNCE Support for XML Gregory Leblanc
2000-11-27 11:29 ` Gregory Leblanc
2001-12-19 22:49 ` Eric Bischoff
2001-10-26 14:59   ` Eric Bischoff
2001-12-15  2:50   ` Eric Bischoff
  -- strict thread matches above, loose matches on Subject: below --
1999-11-02  0:45 Index creation Christophe Guillon
2000-12-27  6:36 ` ANNOUNCE Support for XML Eric Bischoff
2000-11-09 15:39   ` Eric Bischoff
2000-12-27  6:36   ` Gregory Leblanc
2000-11-10 11:34     ` Gregory Leblanc
2000-12-27  6:36   ` Eric Bischoff
2000-11-12  2:44     ` Eric Bischoff
2000-12-27  6:36   ` Eric Bischoff
2000-11-12  3:49     ` Eric Bischoff
2000-12-27  6:36     ` Gregory Leblanc
2000-11-12 23:09       ` Gregory Leblanc
2000-12-27  6:36       ` Eric Bischoff
2000-11-13  8:54         ` Eric Bischoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).