TODO list

From: Henning Meier-Geinitz (hmg-ml@gmx.de)
Date: Fri Nov 17 2000 - 11:48:31 PST

  • Next message: Marcel Pol: "RE: Linux Support for Current Microtek Scanners"

    Hi,

    this is a new version of the TODO lists (sane-backends and
    sane-frontends).

    Feature freeze was supposed to be in the next few days. I propose
    2000-11-27, so we have two more weekends.

    One of the bigger things remaining is to remove all the things
    concerning xcam and xscanimage from the sane-backends package now that
    sane-frontends is running.

    What about the patches for saned/net/authentification? Are they
    supposed to go into 1.0.4?

    What about the snapscan changes/additions? Should this be included
    into 1.0.4? At least we should add a link to the sourceforge website
    somwhere (PROJECTS and manpage?).

    Any other bigger changes to go into 1.0.4?

    What will be the name for the package containing the drivers: juste
    sane or sane-backends?

    ********************************* For the backends package: *************

    TODO (2000-11-15)

    ******** todo ********

    backends
    --------
      * add new backends (?)
        - as6e http://as6edriver.sourceforge.net/
        - bh http://www.martoneconsulting.com/sane-bh.html
        - Polaroid SprintScan 35 LE [should be included into microtek]
          Dick Bruijn <dick@wau.mis.ah.nl>
        - primax http://primax.sourceforge.net/
        - hp4200 http://hp4200-backend.sourceforge.net/
        - v4l2 http://video.inodes.org/sane-v4l2/
        - Relisys Scorpio Super 3 SCSI II
          Mark Plowman <mplowman@wxs.nl>
        - Linux Handscanner Ioctl Interface scanner by Harald
          Bauer <hbauer@online.de>
        - viceo (Visioneer OneTouch 8600)
          http://www.abaforum.es/martim/bird/otlinux.htm
        - addition to hp backend (support for SCL-based HP OfficeJets)
          http://hpoj.sourceforge.net
        - add additions/bug fixes to microtek2 from Karsten Festag
          <karsten.festag@t-online.de>

      * use DBG(...) instead of fprintf(stderr, ...)
         - microtek
         - microtek2

      * make authorization_callback work in net-backend and saned. Try to
        avoid plain text passwords?

      * check net/saned
         - net backend segfaults if saned isn't started (or timed out)
         - don't just ignore the byte-order for the image data (needed to
           support depths > 8 bits/channel)

      * qcam: implement auto mode for brightness and black-level (don't
        just advertise it!) Actually, implement an auto "backend" instead
        that can be plugged in front of any backend with brightness/contrast
        etc controls
     
      * qcam: figure out how/if to support bulb mode

      * qcam: convert to use sanei_pio functions instead of direct port
        access.
      
      * pnm: add more options for testing (e.g. arrays and read-only options)

      * artec: O_SYNC is not Posix? Problems with porting to OS/2?

    doc

    ---
      * add sane manpage
         - versioning system
         - SANE API (maybe summary only?)
         - point to backends and other information?
    

    * add sane-usb manpage

    * Documentation for sanei API - any ideas for this?

    frontends --------- * Remove frontends (at least xscanimage/xcam) from distribution.

    * dll: Rewrite to use libtool ltdl library

    * Add a check in the frontends if the backend delivers more data than it announced by sane_get_parameters to avoid segfaults with bad backends?

    * stiff.c: Tiff header not written correctly: "Jaeger, Gerhard" <gjaeger@sysgo.de> writes: When writing the TIFF header, you have to specify the TAG "BitsPerSample", which tells a reader how many bits each sample has. The current version only specifies one value (8 or 16). This is wrong, as we have to specify one value for each channel (i.e for a 24bit RGB pic we must specify 8,8,8, see TIFF6.0 spec, [...]

    [the remaining entries have been moved to the sane-frontends package]

    sanei ----- * add sanei_authorize (function for all backends)

    misc ---- * update libtool versioning system - -version-info is used but with the current version number system -release should be used. - look for AIX problems (overwriting shared libs with eachother because all libs are named libsane.so.1) - look for Irix/cc problems (program searches for libsane.so.2 instead of libsane.so.1). This was fixed by a "bad hack" which should be reverted . - in /usr/local/lib/libsane.la "installed=no" is set, isn't "installed=yes" the correct entry? * remove compiler warnings (>400 warnings even in disable-warnings mode, >800 with --enable-warnings))

    * Test SANE on different os/platforms, fix possible compilation problems Test methods: scanimage -d pnm:0 --filename=file.pnm -T scanimage -d net:localhost:pnm:0 --filename=file.pnm -T (not possible if I'm not root on the system) xscanimage / gimp with xscanimage plugin (where available) All the above with shared and static libraries.

    * build on Irix fails because of problems with the jpeg library. If this is removed in configure, build works. It complains about functions like (typename) functionname (). It doesn't like the brackets which result from expanding the macros EXTERN(x), METHODDEF(x), and GLOBAL(x) to (x). Defining something like EXTERN(x) x seems to work. Same for dc210.c Something like --disable-jpeg for configure would be nice.

    * build on AIX does only work for static libraries. The shared libraries seem to overwrite each other.

    * move .desc files for backends that are not included in SANE to different directory (e.g. backends and external-backends)?

    * Add a check for installed sane versions. - Print a warning when already a sane version is installed - If SANE is installed at a different location, ask user to remove old installation first

    * Maybe add script to detect and deinstall existing sane versions - make uninstall - install sane-uninstall script. Advantage: uninstall possible without sourcecode

    * use #include "../include/sane..." instead of #include <sane...>

    * use #include "../include/lalloca.h" instead of #include <lalloca.h>

    * getopt.c and umax.c seem to use gettext? Can cause crash if frontends are linked to libintl, too.

    * libdl is used in dll backend but -ldl is not added to LDFLAGS?

    ********************************* For the frontends package: ************* TODO (2000-11-16)

    ******** todo ********

    * add new frondends (?) - scanadf

    * add possibility to use external filters to xscanimage/xsane (?)

    * xscanimage/xcam: support depths > 8 bits/channel

    * xscanimage: provide both scale and textentry for ranges (make new widget)

    * xcam: provide access to option doc strings

    * xscanimage: scanning of images whose heights is not known a priori is not supported yet; this is going to be important for handheld scanners. At least the frontend shouldn't crash or produce invalid pnm files when it gets a length of -1.

    * xcam: add dithering and support for SANE depths other than 8 bit (test with Mustek backend, for example)

    * xcam: add recording feature (e.g., GIF, JPG, or MPEG)

    * For 3-pass scanners, xscanimage doesn't update the scan progress bar properly between scans; the scanner seems to be faster than xscanimage can write to disk (problem: seek for every byte). This doesn't happen as GIMP-plugin. It doesn't happen in blocking mode either.

    * Add a check in the frontends if the backend delivers more data than it announced by sane_get_parameters to avoid segfaults with bad backends?

    * Adapt xscanimage to new GIMP API. Try to make it backwards compatible with old GIMP versions if possible. Maybe two source/header files for compatibility with old API?

    * Test frontends on different os/platforms, fix possible compilation problems

    * configure --without-x doesn't work

    * xscanimage prints warning if compiled with GIMP supports but run standalone (at least with GIMP 1.1.29) * stiff.c: Tiff header not written correctly: "Jaeger, Gerhard" <gjaeger@sysgo.de> writes: When writing the TIFF header, you have to specify the TAG "BitsPerSample", which tells a reader how many bits each sample has. The current version only specifies one value (8 or 16). This is wrong, as we have to specify one value for each channel (i.e for a 24bit RGB pic we must specify 8,8,8, see TIFF6.0 spec, [...]

    * Add support for SANE_DEFAULT_DEVICE to xcam (see (x)scanimage).

    * Add/improve debug output for xscanimage and xcam.

    Bye, Henning

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Sat Nov 18 2000 - 01:33:46 PST