wok diff epdfview-cups/receipt @ rev 16264
Add some any arch packages
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 05 10:12:34 2014 +0000 (2014-04-05) |
parents | 380ffe05937a |
children | feb2e0c63d21 |
line diff
1.1 --- a/epdfview-cups/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/epdfview-cups/receipt Sat Apr 05 10:12:34 2014 +0000 1.3 @@ -22,6 +22,12 @@ 1.4 sed -i 's/<config.h>/&\n#include <stdio.h>\n#define g_fopen fopen/' \ 1.5 src/epdfview.h 1.6 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' 1.7 + # cups 1.6 support 1.8 + sed -i -e '/ippNew/{NNNNNNNNNd}' \ 1.9 + -e 's/state->values\[0\].integer/ippGetInteger(state, 0)/' \ 1.10 + -e 's/location->values\[0\].string.text/ippGetString(location, 0, NULL)/' \ 1.11 + -e 's/.*IPP_TAG_KEYWORD.*/ ipp_t *request = ippNewRequest(IPP_GET_PRINTER_ATTRIBUTES);\n&/' \ 1.12 + src/PrintPter.cxx 1.13 ./configure \ 1.14 --with-cups \ 1.15 $CONFIGURE_ARGS &&