~ubuntu-branches/debian/jessie/sane-backends/jessie

« back to all changes in this revision

Viewing changes to backend/pixma_mp730.c

  • Committer: Package Import Robot
  • Author(s): Markus Koschany
  • Date: 2013-07-04 17:41:47 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20130704174147-tl5tzd8bwvmctka2
Tags: 1.0.23-1
* QA upload.
* New upstream release.
* This package has been orphaned. Set maintainer to the Debian QA Group.
* Bump compat level to 9 (was 5) and require debhelper >= 9.
* debian/control:
  - sane-utils: Inherit Section: graphics from source package sane-backends.
  - Remove versioned dependencies. They are trivially satisfied.
* Drop the following patches. They are merged upstream now.
  - fix_v4l_build.patch
  - hurd_path_max_fix.patch
  - sane_desc_udev+acl.patch
  - scanimage_man_batch_start.patch
  - udev_usb_suspend.patch
  - xerox_mfp_add_scx_4623fw.patch
  - xerox_mfp_fix_usb_device.patch
* Drop disable_rpath.patch because the RPATH is already removed by chrpath
  in debian/rules.
* Rebase and refresh all other patches against the new upstream relase.
* debian/rules:
  - Simplify debian/rules by using dh sequencer.
  - Build with --parallel and with autotools_dev.
  - Enable all hardening build flags.
  - Install umax_pp with sane-utils.install.
* Build-Depend on libtiff5-dev. Thanks to Michael Terry for the patch.
  (Closes: #681079)
* Build-Depend on libusb-1.0-0-dev and enable libusb1.0 support in
  debian/rules. Thanks to Martin Pitt for the report and Whoopie for the
  patch. (Closes: #687137)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
   Copyright (C) 2007-2008 Nicolas Martin, <nicols-guest at alioth dot debian dot org>
4
4
   Copyright (C) 2006-2007 Wittawat Yamwong <wittawat@web.de>
 
5
   Copyright (C) 2011-2012 Rolf Bensch <rolf at bensch hyphen online dot de>
5
6
 
6
7
   This file is part of the SANE package.
7
8
 
792
793
  mp730_get_status
793
794
};
794
795
 
 
796
/* TODO: implement ext_min_dpi & ext_max_dpi for grayscale & lineart */
795
797
#define DEVICE(name, model, pid, dpi, w, h, cap) {           \
796
798
              name,              /* name */           \
797
799
              model,             /* model */                  \
799
801
              1,                 /* iface */                  \
800
802
              &pixma_mp730_ops,  /* ops */            \
801
803
              dpi, dpi,          /* xdpi, ydpi */           \
 
804
              0, 0,              /* ext_min_dpi & ext_max_dpi not used in this subdriver */ \
802
805
              w, h,              /* width, height */    \
803
806
        PIXMA_CAP_GRAY|PIXMA_CAP_EVENTS|cap           \
804
807
}