Codebase list foomatic-filters / bf03eee
New d/p/0120-Disable_option_docs.patch Jörg Frings-Fürst 2 years ago
3 changed file(s) with 32 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
11
22 * New debian/patches/0115-Fix_text_filter.patch (Closes: #776315):
33 - Fix error on handling text filter.
4 * New debian/patches/0120-Disable_option_docs.patch (Closes: #1004417)
5 - Disable not availaqble option docs.
6
47
58 -- Jörg Frings-Fürst <debian@jff.email> Thu, 24 Feb 2022 08:07:44 +0100
69
0 Index: trunk/foomaticrip.c
1 ===================================================================
2 --- trunk.orig/foomaticrip.c
3 +++ trunk/foomaticrip.c
4 @@ -330,8 +330,9 @@ void process_cmdline_options()
5
6 /* "docs" option to print help page */
7 if (!strcasecmp(key, "docs")) {
8 - do_docs = 1;
9 - continue;
10 + do_docs = 0;
11 + rip_die(EXIT_OPTION_NOT_AVAILABLE, "Option \"docs\" isn't available now.\n");
12 +/* continue; */
13 }
14 /* "profile" option to supply a color correction profile to a CUPS raster driver */
15 if (!strcmp(key, "profile")) {
16 Index: trunk/foomaticrip.h
17 ===================================================================
18 --- trunk.orig/foomaticrip.h
19 +++ trunk/foomaticrip.h
20 @@ -62,6 +62,7 @@
21 #define EXIT_PRNERR_NORETRY_BAD_SETTINGS 9 /* interface settings are invalid */
22 #define EXIT_PRNERR_NO_SUCH_ADDRESS 10 /* address lookup failed, may be transient */
23 #define EXIT_PRNERR_NORETRY_NO_SUCH_ADDRESS 11 /* address lookup failed, not transient */
24 +#define EXIT_OPTION_NOT_AVAILABLE 20 /* Otion isn't avalable now */
25 #define EXIT_INCAPABLE 50 /* printer wants (lacks) features or resources */
26
27
44 0001-paps.patch
55 0500-r7406_also_consider_the_back_tick_as_an_illegal_shell_escape_character.patch
66 0115-Fix_text_filter.patch
7 0120-Disable_option_docs.patch