Fixed build error by changing buildrequires from pkgconfig(turbo-jpeg) to libjpeg...
[platform/upstream/hplip.git] / packaging / tizen_add_job_media_progress.patch
1 diff -urN hplip.orig/prnt/hpcups/HPCupsFilter.cpp hplip/prnt/hpcups/HPCupsFilter.cpp
2 --- hplip.orig/prnt/hpcups/HPCupsFilter.cpp     2013-01-10 19:55:26.010990577 +0900
3 +++ hplip/prnt/hpcups/HPCupsFilter.cpp  2013-01-10 19:54:58.118990579 +0900
4 @@ -700,6 +700,11 @@
5              }
6              WriteBMPRaster (cfp, color_raster, cups_header.cupsWidth, COLOR_RASTER);
7              WriteBMPRaster (kfp, black_raster, cups_header.cupsWidth/8, BLACK_RASTER);
8 +
9 +                       if ((y & 127) == 0)
10 +                       {
11 +                               fprintf(stderr, "ATTR: job-media-progress=%d\n", 100 * y / cups_header.cupsHeight);
12 +                       }
13          }
14          m_Job.NewPage();
15          if (err != NO_ERROR) {