← Back to team overview

registry team mailing list archive

[Bug 370818] Patch

 

Attempted to apply the patch to Mint 8 but only resulted in removing
Xsane.

This is the terminal output.

Mint8 wilf # # get header to build xsane package
Mint8 wilf # sudo apt-get build-dep xsane
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: You must put some 'source' URIs in your sources.list
Mint8 wilf #
Mint8 wilf # # create a working directory
Mint8 wilf # mkdir -p $HOME/tmp/xsane && cd $HOME/tmp/xsane
Mint8 xsane #
Mint8 xsane # # get xsane sources
Mint8 xsane # apt-get source xsane
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: You must put some 'source' URIs in your sources.list
Mint8 xsane #
Mint8 xsane # # get Aisano xsane patch
Mint8 xsane # wget 
'http://launchpadlibrarian.net/48345142/xsane-preview.c.patch'
--2010-05-18 19:27:41--  
http://launchpadlibrarian.net/48345142/xsane-preview.c.patch
Resolving launchpadlibrarian.net... 91.189.89.228, 91.189.89.229
Connecting to launchpadlibrarian.net|91.189.89.228|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1071 (1.0K) [text/plain]
Saving to: `xsane-preview.c.patch.4'

100%[======================================>] 1,071       --.-K/s   in 
0s     

2010-05-18 19:27:41 (78.8 MB/s) - `xsane-preview.c.patch.4' saved 
[1071/1071]

Mint8 xsane #
Mint8 xsane # # apply patch
Mint8 xsane # patch xsane-0.996/src/xsane-preview.c xsane-preview.c.patch
patch: **** Can't find file xsane-0.996/src/xsane-preview.c : No such 
file or directory
Mint8 xsane #
Mint8 xsane # # build xsane as a package
Mint8 xsane # (cd xsane-0.996/ && dpkg-buildpackage -rfakeroot -uc -b)
bash: cd: xsane-0.996/: No such file or directory
Mint8 xsane #
Mint8 xsane # # remove existing installed package
Mint8 xsane # sudo dpkg -r xsane xsane-common
(Reading database ... 160137 files and directories currently installed.)
Removing xsane ...
Removing xsane-common ...
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for desktop-file-utils ...
Mint8 xsane #
Mint8 xsane # # install new built package
Mint8 xsane # cd $HOME/tmp/xsane && sudo dpkg -i 
xsane_0.996-2ubuntu1.1_i386.deb  xsane-common_0.996-2ubuntu1.1_all.deb

Regards


Wilf Hull

-- 
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 Registry
Administrators, which is the registrant for xsane.