diff -up pycups-1.9.70/cupsmodule.c.ipp-constants pycups-1.9.70/cupsmodule.c --- pycups-1.9.70/cupsmodule.c.ipp-constants 2014-12-23 13:01:14.000000000 +0000 +++ pycups-1.9.70/cupsmodule.c 2015-01-12 11:19:16.132501327 +0000 @@ -1,6 +1,6 @@ /* * cups - Python bindings for CUPS - * Copyright (C) 2002, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc + * Copyright (C) 2002, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Red Hat, Inc * Author: Tim Waugh * * This program is free software; you can redistribute it and/or modify @@ -1341,10 +1341,14 @@ initcups (void) INT_16_CONSTANT (IPP_STATUS_ERROR_TEMPORARY, IPP_TEMPORARY_ERROR); INT_16_CONSTANT (IPP_STATUS_ERROR_NOT_ACCEPTING_JOBS, IPP_NOT_ACCEPTING); INT_16_CONSTANT (IPP_STATUS_ERROR_BUSY, IPP_PRINTER_BUSY); - INT_IPP_STATUS_ERROR_CONSTANT (JOB_CANCELED); + INT_16_CONSTANT (IPP_STATUS_ERROR_JOB_CANCELED, IPP_ERROR_JOB_CANCELED); INT_IPP_STATUS_ERROR_CONSTANT (MULTIPLE_JOBS_NOT_SUPPORTED); INT_IPP_STATUS_ERROR_CONSTANT (PRINTER_IS_DEACTIVATED); + INT_16_CONSTANT (IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED, + IPP_AUTHENTICATION_CANCELED); INT_16_CONSTANT (IPP_STATUS_ERROR_CUPS_PKI, IPP_PKI_ERROR); + INT_16_CONSTANT (IPP_STATUS_ERROR_CUPS_UPGRADE_REQUIRED, + IPP_UPGRADE_REQUIRED); // IPP states /* Also define legacy names */ diff -up pycups-1.9.70/NEWS.ipp-constants pycups-1.9.70/NEWS --- pycups-1.9.70/NEWS.ipp-constants 2014-12-23 13:07:01.000000000 +0000 +++ pycups-1.9.70/NEWS 2015-01-12 11:19:16.117501266 +0000 @@ -1,6 +1,14 @@ NEWS ---- +New in 1.9.71: + +* Fixes for cups.IPP_JOB_CANCELED, cups.IPP_ERROR_JOB_CANCELED, + cups.IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED, + cups.IPP_AUTHENTICATION_CANCELED, + cups.IPP_STATUS_ERROR_CUPS_UPGRADE_REQUIRED, and + cups.IPP_UPGRADE_REQUIRED. + New in 1.9.70: * cups.ippErrorString(). Fixed build with CUPS 1.5. New-style (CUPS