[sane-devel] demo patch for SANE 1 / SANE 2 coexistence

2008-11-18 Thread stef
Hello, here's a variant to make SANE 1/SANE 2 coexist in the case of dynamic linking. dll.c is modified to search for backend with a soname of 2 first, and in case of failure, it searches backend a a 1 soname. This way if an out-of-tree backend in installed, it will still be usa

[sane-devel] demo patch for SANE 1 / SANE 2 coexistence

2008-11-14 Thread stef
Le Friday 14 November 2008 12:35:00 Johannes Meixner, vous avez ?crit?: > Hello, > > On Nov 13 22:11 stef wrote: > > in order to demonstrate the possibility to have SANE 1 and SANE 2 > > coexisting by using meta backends, here's a demo patch against > > recent CVS which: > > - raise V_MAJOR to 2 >

[sane-devel] demo patch for SANE 1 / SANE 2 coexistence

2008-11-14 Thread Johannes Meixner
Hello, On Nov 13 22:11 stef wrote: > in order to demonstrate the possibility to have SANE 1 and SANE 2 > coexisting by using meta backends, here's a demo patch against > recent CVS which: > - raise V_MAJOR to 2 > - add a sane1 meta backend that loads backends with a so major of 1 to > allow SAN

[sane-devel] demo patch for SANE 1 / SANE 2 coexistence

2008-11-13 Thread stef
Hello, in order to demonstrate the possibility to have SANE 1 and SANE 2 coexisting by using meta backends, here's a demo patch against recent CVS which: - raise V_MAJOR to 2 - add a sane1 meta backend that loads backends with a so major of 1 to allow SA