don't gzip gtkdoc's devhelp2 files

Bug #1466210 reported by Stefan Sauer
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gtk-doc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I am the upstream gtkdoc developer and maintainer and work on https://bugzilla.gnome.org/show_bug.cgi?id=742404 that will be part of the next gtk-doc release. With some luck I noticed that Ubuntu applies gzip compression to some of gtkdoc's data files.

Please don't do this. While I can probably use popen for this case, I cannot handle this for all possible cases (e.g. some distro using bzip2 instead). These files are only installed on developer machines and I don't think the space saving are worth it. I'd believe most developers rather get better performance.

ll /usr/share/gtk-doc/html/*/*.devhelp2.gz | sort
-rw-r--r-- 1 root root 29061 Sep 25 2014 /usr/share/gtk-doc/html/glib/glib.devhelp2,gz
-rw-r--r-- 1 root root 10128 Sep 25 2014 /usr/share/gtk-doc/html/gobject/gobject.devhelp2.gz
-rw-r--r-- 1 root root 10502 Mar 18 2014 /usr/share/gtk-doc/html/pango/pango.devhelp2.gz
-rw-r--r-- 1 root root 10694 Jan 15 14:44 /usr/share/gtk-doc/html/gdk3/gdk3.devhelp2.gz
-rw-r--r-- 1 root root 32728 Sep 25 2014 /usr/share/gtk-doc/html/gio/gio.devhelp2.gz
-rw-r--r-- 1 root root 3318 Feb 13 2014 /usr/share/gtk-doc/html/libgnomecanvas/libgnomecanvas.devhelp2.gz
-rw-r--r-- 1 root root 3763 Mar 4 23:43 /usr/share/gtk-doc/html/polkit-1/polkit-1.devhelp2.gz
-rw-r--r-- 1 root root 6057 Jan 23 2014 /usr/share/gtk-doc/html/gsf/gsf.devhelp2.gz
-rw-r--r-- 1 root root 77077 Jan 15 14:44 /usr/share/gtk-doc/html/gtk3/gtk3.devhelp2.gz
-rw-r--r-- 1 root root 80638 Feb 4 2014 /usr/share/gtk-doc/html/telepathy-glib/telepathy-glib.devhelp2.gz
-rw-r--r-- 1 root root 8261 Jan 30 01:52 /usr/share/gtk-doc/html/webkitgtk-3.0/webkitgtk.devhelp2.gz

Revision history for this message
Stefan Sauer (ensonic) wrote :

For previous discussion on the same issue regarding index.sgml files: https://bugs.launchpad.net/ubuntu/+source/gtk-doc/+bug/77138

Stefan Sauer (ensonic)
affects: glib2.0 (Ubuntu) → gtk-doc (Ubuntu)
Revision history for this message
Stefan Sauer (ensonic) wrote :

After some IRC discusison with mbiebl from debian and pochu:

some package install the docs in /usr/share/doc/$pkg/ and symlink it to /usr/share/gtk-doc and for files in /usr/share/doc/, dh_installdocs applies it's compression, the installation creates symlinks so that the docs are found by gtk-doc. Some packages have exception rules to deal with this: http://paste.debian.net/237640/

Revision history for this message
Stefan Sauer (ensonic) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk-doc (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastian Geiger (lanoxx) wrote :

On Bionic this seems no longer valid. There are no .gz files under /usr/share/gtk-doc/html

$ll /usr/share/gtk-doc/html/*/*|grep gz
$

All .devhelp2 files are uncompressed. So probably this bug can be closed?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.