Package: cups-pk-helper / 0.2.6-1

Metadata

Package Version Patches format
cups-pk-helper 0.2.6-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Make sure O_NOFOLLOW can be used.patch | (download)

configure.ac | 3 3 + 0 - 0 !
src/cups.c | 6 4 + 2 - 0 !
2 files changed, 7 insertions(+), 2 deletions(-)

 make sure o_nofollow can be used
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Thanks Moritz Mühlenhoff

Drop deprecated and unused GNOME_MAINTAINER_MODE_DEFINES.patch | (download)

configure.ac | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 drop deprecated (and unused) gnome_maintainer_mode_defines


Use AX_COMPILER_FLAGS instead of GNOME_COMPILE_WARNINGS.patch | (download)

configure.ac | 2 1 + 1 - 0 !
src/Makefile.am | 2 2 + 0 - 0 !
2 files changed, 3 insertions(+), 1 deletion(-)

 use ax_compiler_flags instead of gnome_compile_warnings

since the later is deprecated by GNOME:

   https://git.gnome.org/browse/gnome-common/commit/?id=b57bae0be
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830009

Don t compare signed and unsigned int.patch | (download)

src/cups.c | 9 5 + 4 - 0 !
1 file changed, 5 insertions(+), 4 deletions(-)

 don't compare signed and unsigned int
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

  CC       cups_pk_helper_mechanism-cups.o
cups.c: In function ‘cph_cups_printer_class_rename’:
cups.c:2272:39: error: comparison between signed and unsigned integer
expressions [-Werror=sign-compare]
                         for (i = 0; i < g_strv_length (member_names); i++) {
                                       ^
cups.c:2331:39: error: comparison between signed and unsigned integer
expressions [-Werror=sign-compare]
                         for (i = 0; i < g_strv_length (member_names); i++) {
                                       ^

Add default statements to silence compiler warnings.patch | (download)

src/cups-pk-helper-mechanism.c | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 add default statements to silence compiler warnings
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

cups-pk-helper-mechanism.c: In function ‘cph_mechanism_job_set_hold_until’:
cups-pk-helper-mechanism.c:1402:9: error: switch missing default case
[-Werror=switch-default]
         switch (job_status) {
         ^
cc1: all warnings being treated as errors

Don t use g_type_init on recent glib.patch | (download)

src/main.c | 2 2 + 0 - 0 !
src/test-cups-pk.c | 2 2 + 0 - 0 !
src/test-cups.c | 2 2 + 0 - 0 !
3 files changed, 6 insertions(+)

 don't use g_type_init on recent glib
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

it's not needed and avoids

test-cups-pk.c: In function ‘main’:
test-cups-pk.c:80:9: error: ‘g_type_init’ is deprecated
[-Werror=deprecated-declarations]
         g_type_init ();