1. Save the page http://bugs.gentoo.org/attachment.cgi?id=193316 to your Desktop as the file gscan2pdf-0.9.27.ebuild
2. If you have not already done it, edit the file /etc/make.conf as the root user and add the following line at the end of it:
- Code: Select all
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/"
3. Enter the following commands as root user in a Terminal/Konsole window:
- Code: Select all
# emerge --sync
# layman -S
# mkdir -p /usr/local/portage/media-gfx/gscan2pdf/
# cp /home/<your_username>/Desktop/gscan2pdf-0.9.27.ebuild /usr/local/portage/media-gfx/gscan2pdf/
# ebuild /usr/local/portage/media-gfx/gscan2pdf/gscan2pdf-0.9.27.ebuild manifest
# emerge -1v dev-perl/Sane
# emerge -1v dev-perl/Gtk2-ImageView
# emerge -1v gscan2pdf
4. Make sure your scanner is switched on. If you click on Kickoff > Applications > Graphics you should find gscan2pdf listed. If you wish you can instead launch it from the command line by typing gscan2pdf<Enter>.
5. You can ignore the little window titled "warning: missing packages" that pops up saying "The scanadf frontend is not available. unpaper missing." and just click on OK.
OPTIONAL:
There's an ebuild for the unpaper utility in Gentoo Bugzilla Report No. 172958, so if you want to add the unpaper utility then you can also install it via your local overlay:
1. Save the page http://bugs.gentoo.org/attachment.cgi?id=194009 to your Desktop as the file unpaper-0.3.ebuild
2. As root in a Terminal/Konsole window:
- Code: Select all
# mkdir -p /usr/local/portage/media-gfx/unpaper/
# cp /home/<your_username>/Desktop/unpaper-0.3.ebuild /usr/local/portage/media-gfx/unpaper/
# ebuild /usr/local/portage/media-gfx/unpaper/unpaper-0.3.ebuild manifest
# emerge -1v unpaper
# USE="unpaper" emerge -1v gscan2pdf
