I had to install the sane drivers with git due to my CanoScan 8800F to recognize the scanner. Scanning with "scanimage" works like a charm. But I'd prefer xsane to have a GUI. The problem is to install xsane without libsane dependencies. Otherwise it would install libsane and overwrite the git compiled sane-drivers. My scanner would not work then anymore. So I tried to install xsane by hand. But this seems to be a pain in the ass. First of all I downloaded the tar.gz sources (because there was no fitting version 0.996 as deb package). Secondly I tried to compile but I wasn't able to do a "make" because "SANE_CAP_ALWAYS_SETTABLE" wasn't defined in the code so it lead to a compile error. Then I found a patch but the patch didn't work either (Hunk #1 failed at ...**). After that I corrected the code by myself (I looked into the created "difference" file created by the patch command and looked for what I have to edit). "make" was able to compile then. When I was finished I created a deb package with "checkinstall -D make". At the end I installed the deb package with dpkg -i, but there doesn't seem to be any executable in /usr/bin or anywhere else, argh.
All I want to do is installing xsane without the dependencies of libsane (because I already have them, but apt doesn't know it). Is that anyhow possible?