+hplip (3.12.4-13) unstable; urgency=low
+
+ * Fixed to report job media progress
+ * Git: external/hplip
+ * Tag: hplip_3.12.4-13
+
+ -- GangHeok Kim <gangheok.kim@samsung.com> Thu, 10 Jan 2013 19:58:21 +0900
+
hplip (3.12.4-12slp2) unstable; urgency=low
* Fixed not to build deprecated PPD API
<manifest>
<request>
- <domain name="cups"/>
+ <domain name="mobileprint"/>
</request>
</manifest>
# x.y.m : x = major release number, y = year (eg: 6 = 2006), m = month (eg: 6a = second release in June)
# Official releases have a 3 digit number and release candidates have a 4 digit number: x.y.m.rc
Version: 3.12.4
-Release: 12
+Release: 13
Url: http://hplipopensource.com
# Source0...Source9 is for sources from HP:
# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.12.4.tar.gz
Patch104: tizen_add_sigpipe_ign.patch
Patch105: tizen_fix_image_align.patch
Patch106: tizen_fix_debug_log.patch
+Patch107: tizen_add_job_media_progress.patch
#PreReq: coreutils
#PreReq: /bin/grep
%patch104
%patch105
%patch106
+%patch107 -p1
%build
# If AUTOMAKE='automake --foreign' is not set, autoreconf (in fact automake)
--- /dev/null
+diff -urN hplip.orig/prnt/hpcups/HPCupsFilter.cpp hplip/prnt/hpcups/HPCupsFilter.cpp
+--- hplip.orig/prnt/hpcups/HPCupsFilter.cpp 2013-01-10 19:55:26.010990577 +0900
++++ hplip/prnt/hpcups/HPCupsFilter.cpp 2013-01-10 19:54:58.118990579 +0900
+@@ -700,6 +700,11 @@
+ }
+ WriteBMPRaster (cfp, color_raster, cups_header.cupsWidth, COLOR_RASTER);
+ WriteBMPRaster (kfp, black_raster, cups_header.cupsWidth/8, BLACK_RASTER);
++
++ if ((y & 127) == 0)
++ {
++ fprintf(stderr, "ATTR: job-media-progress=%d\n", 100 * y / cups_header.cupsHeight);
++ }
+ }
+ m_Job.NewPage();
+ if (err != NO_ERROR) {