[Bug 446245] Re: lzma more efficient than gzip

2010-08-10 Thread Till Kamppeter
My suggestion of comment #2 is now implemented. I have mentored Vitor
Baptista in the Google Summer of Code 2010 exactly for this. He finished
it today and I applied it to the openprinting-ppds and openprinting-
ppds-extra packages in Maverick, saving near 30 MB in an installed
system. I will do the same with HPLIP.

** Changed in: foomatic-db (Ubuntu)
   Status: Confirmed = Fix Released

-- 
lzma more efficient than gzip
https://bugs.launchpad.net/bugs/446245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 446245] Re: lzma more efficient than gzip

2010-08-10 Thread Jérôme
Great. Thank Vitor and Till for your effort.

-- 
lzma more efficient than gzip
https://bugs.launchpad.net/bugs/446245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 446245] Re: lzma more efficient than gzip

2009-11-02 Thread Jérôme
Maybe a driver cache would avoid cups to decompress each time.

-- 
lzma more efficient than gzip
https://bugs.launchpad.net/bugs/446245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 446245] Re: lzma more efficient than gzip

2009-10-21 Thread Jérôme
Mike from Cups team replied to my request that LZMA as a format has
also not been standardized like GZIP/Flate, so we'd want to make sure
that issue is covered before we adopt it.

-- 
lzma more efficient than gzip
https://bugs.launchpad.net/bugs/446245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 446245] Re: lzma more efficient than gzip

2009-10-08 Thread Jérôme

** Attachment added: BootDmesg.txt
   http://launchpadlibrarian.net/33292791/BootDmesg.txt

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/33292792/Dependencies.txt

** Attachment added: Locale.txt
   http://launchpadlibrarian.net/33292793/Locale.txt

** Attachment added: Lspci.txt
   http://launchpadlibrarian.net/33292794/Lspci.txt

** Attachment added: PrintingPackages.txt
   http://launchpadlibrarian.net/33292795/PrintingPackages.txt

** Attachment added: ProcCpuinfo.txt
   http://launchpadlibrarian.net/33292796/ProcCpuinfo.txt

** Attachment added: ProcInterrupts.txt
   http://launchpadlibrarian.net/33292797/ProcInterrupts.txt

** Attachment added: ProcModules.txt
   http://launchpadlibrarian.net/33292798/ProcModules.txt

** Attachment added: UdevDb.txt
   http://launchpadlibrarian.net/33292799/UdevDb.txt

** Attachment added: UdevLog.txt
   http://launchpadlibrarian.net/33292800/UdevLog.txt

-- 
lzma more efficient than gzip
https://bugs.launchpad.net/bugs/446245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 446245] Re: lzma more efficient than gzip

2009-10-08 Thread Till Kamppeter
** Changed in: foomatic-db (Ubuntu)
   Importance: Undecided = Wishlist

** Changed in: foomatic-db (Ubuntu)
   Status: New = Confirmed

-- 
lzma more efficient than gzip
https://bugs.launchpad.net/bugs/446245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 446245] Re: lzma more efficient than gzip

2009-10-08 Thread Till Kamppeter
First, this is a feature request and therefore I have marked it
Wishlist. As this feature request is not about the packaging and
installation of foomatic-db but about its core functionality I recommend
to report this upstream, in this case on
http://buga.linuxfoundation.org/, for the product OpenPrinting and the
component foomatic-db.

The reason why we are using gzip compression for all PPDs (also in the
printer driver packages) and not bz2 or lzma is that CUPS reads ready-
made PPD files also if they are .gz-compressed but not if they are .bz2-
or .lzma-compressed. Here you should post a feature request at
http://www.cups.org/str.php asking for CUPS to support more modern
compression formats for PPD files.

Another approach which could be implemented in foomatic-db-engine is to
supply a PPD generator in /usr/lib/cups/driver/ which simply
uncompresses lzma-compressed PPDs when CUPS requests them. In this case
one can even think about putting all PPDs into one big file (like
.tar.lzma) as this compresses the files even further. When compressing
all PPDs into one file one can very well make use of the similarity of
PPDs for printers which are only slightly different (something like HP
LaserJet 4100 and 4200 or so). One could divide the PPDs in groups of
similar files and in ech group take a master PPD which gets included
completely and add the rest as diffs to be applied to the master PPD.
Naturally one completes it by lzma-ing the whole thing.

Algorithms to genrate such a PPD package and quickly getting the
desirted PPDs out of it would be an interesting student project on
custom data compression techmologies.

-- 
lzma more efficient than gzip
https://bugs.launchpad.net/bugs/446245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 446245] Re: lzma more efficient than gzip

2009-10-08 Thread Jérôme
Thanks for your feedback.

I posted a feature request for lzma compression to the cups project:
http://www.cups.org/str.php?L3369

For the PPD generator solution, I think that it is a kind of file system
implementation with less performance since the PPD generator would have
to read the whole tar archive in order to reach a driver file at the end
of the archive.

Moreover, it would make the cups system heavier and duplicate the file
system feature.

-- 
lzma more efficient than gzip
https://bugs.launchpad.net/bugs/446245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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