View previous topic :: View next topic |
Author |
Message |
JohnN Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11111332724981f12e14a1c.gif)
Joined: 05 Jul 2005 Posts: 158 Location: Claremont, CA
|
Posted: Thu Nov 29, 2012 4:09 am Post subject: gscan2pdf gone from the tree? |
|
|
I know this program was a little problematic, but it worked great for me. Is there a replacement in the tree? I've tried compiling it separately, but it doesn't find any of its prereqs, even though they are installed. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
paulj Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/11201087764514cdac71486.jpg)
Joined: 30 Sep 2004 Posts: 513 Location: Wales, UK
|
Posted: Thu Nov 29, 2012 6:09 am Post subject: |
|
|
It appears to be available through several overlays: http://gpo.zugaina.org/media-gfx/gscan2pdf, although none of them appear to have the latest version shown on the homepage. You could create your own local ebuild using one of those available in the overlays as a template to get the 1.1.0 version, or go with 1.0.6 from the sabayon overlay. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fitzcarraldo Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/32674073548b9c27b587f8.jpg)
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Thu Nov 29, 2012 10:57 am Post subject: |
|
|
gscan2pdf is one of the applications I use the most. Excellent application. It belongs in the main Portage tree for sure. _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JohnN Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11111332724981f12e14a1c.gif)
Joined: 05 Jul 2005 Posts: 158 Location: Claremont, CA
|
Posted: Thu Nov 29, 2012 3:01 pm Post subject: |
|
|
Thanks for the overlay tips. Yes, I wish it were in the tree too. I use it every day and am putting off a perl upgrade for fear of losing it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fitzcarraldo Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/32674073548b9c27b587f8.jpg)
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JohnN Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11111332724981f12e14a1c.gif)
Joined: 05 Jul 2005 Posts: 158 Location: Claremont, CA
|
Posted: Sat Dec 01, 2012 12:51 am Post subject: |
|
|
Yep, works for me. Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Yczo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20523939524f1fefbf191ca.jpg)
Joined: 09 Jul 2011 Posts: 225
|
Posted: Sat Dec 01, 2012 5:56 pm Post subject: |
|
|
The Sabayon repository does not work for me. (I recently did emerge --update --deep --newuse world && emerge --deplean && revdep-rebuild ). Is sad. A program so useful.
Regards. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Randy Andy Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/177808402648d3bd29897c8.png)
Joined: 19 Jun 2007 Posts: 1148 Location: /dev/koelsch
|
Posted: Sat Dec 01, 2012 7:03 pm Post subject: |
|
|
JohnN,
although your problem seems to be solved, here my answer regarding your first question for an replacement of gscan2pdf.
As a alternative which is in the tree, I use media-gfx/simple-scan for that task.
In former times I also used gscan2pdf, but now simple-scan is well enough for me.
Does anybody who knows both, misses some function in simple-scan, just for interest.
Regards, Andy. _________________ If you want to see a Distro done right, compile it yourself! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Yczo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20523939524f1fefbf191ca.jpg)
Joined: 09 Jul 2011 Posts: 225
|
Posted: Sat Dec 01, 2012 8:27 pm Post subject: |
|
|
Well is not a general solution. I had the following dependencies error installing from the sabayon overlay.
>>> Emerging (13 of 16) dev-perl/Gtk2-Ex-Simple-List-0.500.0
* Gtk2-Ex-Simple-List-0.50.tar.gz SHA256 SHA512 WHIRLPOOL size ... [ ok ]
>>> Unpacking source...
>>> Unpacking Gtk2-Ex-Simple-List-0.50.tar.gz to /var/tmp/portage/dev-perl/Gtk2-Ex-Simple-List-0.500.0/work
>>> Source unpacked in /var/tmp/portage/dev-perl/Gtk2-Ex-Simple-List-0.500.0/work
>>> Preparing source in /var/tmp/portage/dev-perl/Gtk2-Ex-Simple-List-0.500.0/work/Gtk2-Ex-Simple-List-0.50 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/Gtk2-Ex-Simple-List-0.500.0/work/Gtk2-Ex-Simple-List-0.50 ...
* Using ExtUtils::MakeMaker
* perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Gtk2-Ex-Simple-List-0.500.0/image/
Can't locate Glib/MakeHelper.pm in @INC (@INC contains: /etc/perl /usr/lib64/perl5/site_perl/5.12.4/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.12.4 /usr/lib64/perl5/vendor_perl/5.12.4/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.12.4 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.12.4/x86_64-linux-thread-multi /usr/lib64/perl5/5.12.4 /usr/local/lib/site_perl .) at (eval line 1.
BEGIN failed--compilation aborted at (eval line 1.
Checking if your kit is complete...
Looks good
MakeMaker FATAL: prerequisites not found.
Glib not installed
Gtk2 not installed
Please install these modules first and rerun 'perl Makefile.PL'.
* ERROR: dev-perl/Gtk2-Ex-Simple-List-0.500.0 failed (configure phase):
* Unable to build!
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 2546: Called perl-module_src_configure
* environment, line 2180: Called perl-module_src_prep
* environment, line 2252: Called die
* The specific snippet of code:
* perl Makefile.PL "$@" <<< "${pm_echovar}" || die "Unable to build!";
*
* If you need support, post the output of `emerge --info '=dev-perl/Gtk2-Ex-Simple-List-0.500.0'`,
* the complete build log and the output of `emerge -pqv '=dev-perl/Gtk2-Ex-Simple-List-0.500.0'`.
* The complete build log is located at '/var/tmp/portage/dev-perl/Gtk2-Ex-Simple-List-0.500.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-perl/Gtk2-Ex-Simple-List-0.500.0/temp/environment'.
* Working directory: '/var/tmp/portage/dev-perl/Gtk2-Ex-Simple-List-0.500.0/work/Gtk2-Ex-Simple-List-0.50'
* S: '/var/tmp/portage/dev-perl/Gtk2-Ex-Simple-List-0.500.0/work/Gtk2-Ex-Simple-List-0.50'
but take a look to this:
$ eix-installed all|grep glib
dev-cpp/glibmm-2.32.1
dev-libs/dbus-glib-0.100
dev-libs/glib-2.32.4-r1
dev-perl/glib-perl-1.242.0
media-libs/taglib-1.7.2
net-libs/glib-networking-2.32.3
net-libs/telepathy-glib-0.18.1
sys-libs/glibc-2.15-r3
$ eix-installed all|grep gtk2
dev-perl/gtk2-ex-formfactory-0.670.0
dev-perl/gtk2-perl-1.242.0
PD: I use only KDE
regards. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Randy Andy Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/177808402648d3bd29897c8.png)
Joined: 19 Jun 2007 Posts: 1148 Location: /dev/koelsch
|
Posted: Sun Dec 02, 2012 4:54 pm Post subject: |
|
|
Yczo,
I guess that is not the fault of sabayon's overlay or the belonging dependencies.
Possibly the following worst case command would fix the problem for you, but it recompiles up to 100 packages.
Code: | perl-cleaner --reallyall |
But you coud try lower perl-cleaner options if you want to save build time, but lower the chance for success eventually....
See perl-cleaner --help for more options.
Much success, Andy. _________________ If you want to see a Distro done right, compile it yourself! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jasn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/154591986646937eeaddde6.jpg)
Joined: 05 May 2005 Posts: 439 Location: Maryland, US
|
Posted: Sun Dec 02, 2012 5:34 pm Post subject: |
|
|
Yczo wrote: | Well is not a general solution. I had the following dependencies error installing from the sabayon overlay. |
The problem you ran into was because in order to install gscan2pdf you needed to enable the ithreads USE flag of dev-lang/perl. After you rebuilt dev-lang/perl with
the emerge package messages printed a warning, that you had to run perl-cleaner after changing the ithreads setting. You just need to issue the following command;
Code: | perl-cleaner --modules ; perl-cleaner --force --libperl |
and you could resume your emerge of gscan2pdf. Or as Randy Andy pointed out doing a;
Code: | perl-cleaner --reallyall |
will fix it as well. See bug 417297 for a complete explanation.
BTW, after I emerged media-gfx/gscan2pdf-1.1.0 from the sabayon overlay, gscan2pdf would fail with the following error message;
Code: | open3: exec of unpaper --version failed at /usr/lib64/perl5/vendor_perl/5.16.1/Gscan2pdf/Document.pm line 1126.
Perl exited with active threads:
2 running and unjoined
0 finished and unjoined
0 running and detached |
I noticed after emerging gscan2pdf, the emerge package messages was the following;
Code: | * Messages for package media-gfx/gscan2pdf-1.1.0:
* Optional dependencies:
* app-text/cuneiform, app-text/gocr, app-text/tesseract (or OCRopus, not in Portage) - for OCR
* app-text/unpaper - image post processing utility
* dev-perl/Gtk2-Ex-PodViewer - for displaying help
* app-text/djvu - DjVu support
* media-gfx/sane-frontends - for ADF scanners
* x11-misc/xdg-utils - required for email as PDF |
Emerging unpaper, fixed the gscan2pdf loading issue above, so it appears that it's not an optional dependency anymore. I also went ahead and emerged both gocr and tesseract for OCR support as well.
Good Luck.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Yczo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20523939524f1fefbf191ca.jpg)
Joined: 09 Jul 2011 Posts: 225
|
Posted: Wed Dec 05, 2012 3:37 pm Post subject: |
|
|
Hey! Thank you very much kids!
That solved all!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Yczo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20523939524f1fefbf191ca.jpg)
Joined: 09 Jul 2011 Posts: 225
|
Posted: Wed Dec 05, 2012 4:52 pm Post subject: |
|
|
uppps, I don't see the tesseract option inside the ocr menu in settings or scan. I wonder if can be that i have installed tesseract-3.02. I will try with the stable version
Regards! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Yczo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20523939524f1fefbf191ca.jpg)
Joined: 09 Jul 2011 Posts: 225
|
Posted: Wed Dec 05, 2012 5:03 pm Post subject: |
|
|
Was That!! Solved installing tesseract-2.04-r1
Salutes. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jasn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/154591986646937eeaddde6.jpg)
Joined: 05 May 2005 Posts: 439 Location: Maryland, US
|
Posted: Wed Dec 05, 2012 6:40 pm Post subject: |
|
|
Randy Andy wrote: | As a alternative which is in the tree, I use media-gfx/simple-scan for that task.
In former times I also used gscan2pdf, but now simple-scan is well enough for me.
Does anybody who knows both, misses some function in simple-scan, just for interest. |
After emerging the latest media-gfx/gscan2pdf-1.1.0 from the sabayon overlay, I went ahead and emerged the latest media-gfx/simple-scan-3.4.2, and I find that simple-scan also scans to PDF, is an easier tool to use, and gives more reliable scans. So I removed gscan2pdf in favor of simple-scan too.
Thanks.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
petlab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/92804356641448d72845fb.jpg)
Joined: 03 May 2004 Posts: 290 Location: Armpit, Oregon
|
Posted: Sun Mar 10, 2013 5:32 pm Post subject: |
|
|
Ouch! I just tried simple-scan with tesseract, and it made my scanner grind its gears!
I have a Samsung CLX-6260FD multifunction. Xsane works fine with the scanner, so I think it's a problem in simple-scan. I am demerging simple-scan. _________________ Get Serious - Get JAWA CZ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|