merge with master tizen_2.1 2.1b_release accepted/tizen/20130520.101756 accepted/tizen_2.1/20130425.025141 submit/tizen/20130517.050251 submit/tizen_2.1/20130424.225108
authorJinkun Jang <jinkun.jang@samsung.com>
Fri, 15 Mar 2013 16:09:25 +0000 (01:09 +0900)
committerJinkun Jang <jinkun.jang@samsung.com>
Fri, 15 Mar 2013 16:09:25 +0000 (01:09 +0900)
debian/changelog
hplip.manifest
packaging/hplip.spec
packaging/tizen_add_job_media_progress.patch [new file with mode: 0644]

index bd30932..6763e8d 100644 (file)
@@ -1,3 +1,11 @@
+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
index f3ff7db..b771fc9 100644 (file)
@@ -1,5 +1,5 @@
 <manifest>
        <request>
-               <domain name="cups"/>
+               <domain name="mobileprint"/>
        </request>
 </manifest>
index eac46fa..86a7759 100644 (file)
@@ -25,7 +25,7 @@ Group:          Hardware/Printing
 # 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
@@ -117,6 +117,7 @@ Patch103:           tizen_disable_dbus_hpcups.patch
 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
@@ -332,6 +333,7 @@ http://hplipopensource.com
 %patch104
 %patch105
 %patch106
+%patch107 -p1
 
 %build
 # If AUTOMAKE='automake --foreign' is not set, autoreconf (in fact automake)
diff --git a/packaging/tizen_add_job_media_progress.patch b/packaging/tizen_add_job_media_progress.patch
new file mode 100644 (file)
index 0000000..4d8c16d
--- /dev/null
@@ -0,0 +1,15 @@
+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) {