At this point, I dont think we want to enshrine anything as being part of SANE2. The proper fix is to either remove that code, or stop shipping sane-frontends altogether. Frankly, scanimage should be made to do everything scanadf can do, and the rest of the frontends are not really maintained.
allan On Mon, Apr 26, 2010 at 1:45 PM, Ilm?rs Poik?ns <ilmars at delibero.lv> wrote: > Hi, > > As I understood code in sane.h commented out with "#if 0" is for next > version SANE. Isn't it better to have one switch like SANE_API_2 in > sane.h instead of two "#if 0"? See patch to current git master in > attachment (previous patch I sent was other way round). Then there is > flexibility to switch on/off new features with one #define in code or > by passing argument to gcc. WIth those changes old sane-frontends > compiles successfully (except you need to either add #define > SANE_API_2 1 to scanadf.c or pass additional argument when compiling > during make). > > Best regards, > Ilmars Poikans > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"
