then for this patch, it works fine for me on Ubuntu Lucid.

Here is instructions to build it on Lucid. Build process should be the
same on any version of Debian and Ubuntu, except package version number.

# get header to build xsane package
sudo apt-get build-dep xsane

# create a working directory
mkdir -p $HOME/tmp/xsane && cd $HOME/tmp/xsane

# get xsane sources
apt-get source xsane

# get Aisano xsane patch
wget 'http://launchpadlibrarian.net/48345142/xsane-preview.c.patch'

# apply patch
patch xsane-0.996/src/xsane-preview.c xsane-preview.c.patch

# build xsane as a package
(cd xsane-0.996/ && dpkg-buildpackage -rfakeroot -uc -b)

# remove existing installed package
sudo dpkg -r xsane xsane-common

# install new built package
cd $HOME/tmp/xsane && sudo dpkg -i xsane_0.996-2ubuntu1.1_i386.deb  
xsane-common_0.996-2ubuntu1.1_all.deb

# restore ubuntu package if needed (if this one does not work).
sudo dpkg -r xsane xsane-common
sudo apt-get install xsane xsane-common

-- 
Unable to select scan area in preview window
https://bugs.launchpad.net/bugs/370818
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to