cookutils view doc/cookopts.txt @ rev 834

cook: remake compressors (few more to come), introduce COOKOPTS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 14 07:01:25 2016 +0200 (2016-11-14)
parents
children 11a3c021e563
line source
1 You can use a variable COOKOPTS in the receipts to adjust certain aspects of the
2 preparation of a package. Multiple options are allowed, that can be written
3 together or separated by spaces, tabs or any other symbols.
5 Example of use:
7 COOKOPTS="!menus !pngz"
10 Currently, the following options are recognized:
12 !pixmaps
13 Don't copy icons from a /usr/share/pixmaps folder as well as from stuff
14 folder (the same action that made obsolete option `GENERIC_PIXMAPS="no"`).
16 !menus
17 Don't copy desktop files from a /usr/share/applications folder (the same
18 action that made obsolete option `GENERIC_MENUS="no"`).
20 !fixdesktops
21 Don't fix common errors and warnings in the .desktop files.
23 !strip
24 Don't strip executable files, shared and static libraries, as well as remove
25 Python (*.pyc and *.pyo) and Perl (perllocal.pod and .packlist) files.
27 !manz
28 Don't compress all man pages.
30 !pngz
31 Don't compress all png images. Image compression allows you to save some
32 space, but it takes a lot of time.
34 !pngquant
35 Don't use `pngquant` to compress png images. Note, `pngquant` produces
36 indexed images (max 256 colors) which can be inappropriate in some cases:
37 a few programs (such as SLiM) will not recognize this compressed PNG file
38 format.
40 !optipng
41 Don't use `optipng` to compress png images. Note, `optipng` is lossless png
42 compressor. Using `pngquant` and `optipng` in conjunction allows to save
43 more space.
45 op0 to op8
46 Use specified `optipng` optimization level. The higher the level, the slower
47 compression. Note, this option does not have an exclamation mark, because it
48 means "don't" and here is "do" otherwise.
50 !svgz
51 Don't compress all svg images.