# HG changeset patch # User Pascal Bellard # Date 1380491040 0 # Node ID 49dd2dff0330c937b4bc7700fd3d789acc315a59 # Parent b65a485271eb845fb925fcf80a679925ac4bf28b epdfview-cups: add cups 1.6 support diff -r b65a485271eb -r 49dd2dff0330 epdfview-cups/receipt --- a/epdfview-cups/receipt Sun Sep 29 20:30:03 2013 +0000 +++ b/epdfview-cups/receipt Sun Sep 29 21:44:00 2013 +0000 @@ -22,6 +22,12 @@ sed -i 's//&\n#include \n#define g_fopen fopen/' \ src/epdfview.h find . -name '*.[ch]*' | xargs sed -i 's|values\[0\].integer/ippGetInteger(state, 0)/' \ + -e 's/location->values\[0\].string.text/ippGetString(location, 0, NULL)/' \ + -e 's/.*IPP_TAG_KEYWORD.*/ ipp_t *request = ippNewRequest(IPP_GET_PRINTER_ATTRIBUTES);\n&/' \ + src/PrintPter.cxx ./configure \ --with-cups \ $CONFIGURE_ARGS &&