> The complexity of every simple private or one-shot script that reads
these files is considerably increased.

This is why we use wrappers, libraries, or whatever to handle input formats, 
instead of writing a parser for each program.   If one needs to access gtk-doc 
files, then one is supposed to use a gtk-doc file data access layer.
  Unix programs are supposed to divide work in small specialized commands, so 
would one be able to pass the index.sgml on stdin, it would be easy to pipe a 
gunzip to handle compressed files, like we do for -- say -- man pages; I'm sure 
you wouldn't want all your man pages to be uncompressed.

I do get your argument that the parsers have to handle two (simple)
cases instead of one but I do argue that might be the consequence of
other design issues as other examples show this is trivially possible.

> Does grep support searching in compressed files?

The trivial zgrep wrapper shows this isn't an issue; besides, why would
one want to grep instead of using beagle, tracker, or an ad hoc command
to access a specialized format?

> Why HTML files aren't compressed?

Why are most PNG files compressed?

> do xpdf or evince support compressed PDF? Nope.

I can't speak for xpdf (which I don't have around), but evince certainly
does, as well as compressed DVI and PS.


Back to the point: the situation is that some index.sgml files *are* compressed 
-- or you wouldn't be complaining -- the easiest short term solution which 
instantaneously fixes the real life problem would have been to add compression 
support to gtk-doc.

I also argued that it would act as a safety net in case someone forgets
not to zip an index.sgml.

Finally, this has a size benefit for distributors (this is the general
use case of compressing the files).

It seems your final point of view is that compressed index.sgml should
not be supported to force people to use non-compressed files to force a
single possible format, so my conclusion so far is that we should aim at
excluding index.sgml files from compression and that such a transition
will happen slowly over the next years.

-- 
gtkdoc-fixxref broken by compressed documentation
https://bugs.launchpad.net/bugs/77138
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to