Package Details: gscan2pdf 1.4.0-1

Git Clone URL: https://aur.archlinux.org/gscan2pdf.git (read-only)
Package Base: gscan2pdf
Description: A GUI with OCR capability to produce PDFs or DjVus from scanned documents
Upstream URL: http://gscan2pdf.sourceforge.net/
Licenses: GPL
Submitter: None
Maintainer: Tristelune
Last Packager: Tristelune
Votes: 141
Popularity: 2.298273
First Submitted: 2006-12-04 05:12
Last Updated: 2016-04-15 18:23

Latest Comments

Tristelune commented on 2016-05-01 09:10

Hi Muflone,

I think it's a good idea, there are a lot of users. I also think the needed perl packages should be also moved to community. Just tell me what I have to do.

Muflone commented on 2016-04-25 22:30

Hi Tristelune
I think this package deserves to be in the Arch Linux official community repository.
Do you have any objection to move it in the community repository?
Obviously the needed perl libraries would be moved along.

Tristelune commented on 2016-04-15 18:25

Update to version 1.4.0.

Thank you mkoloberdin for your patch! I have applied it for the new version.

mkoloberdin commented on 2016-03-19 18:05

The same patch as below, with proper formatting: http://pastebin.com/dWMySTfH

Subject: [PATCH] Changes in accordance with Perl package guidelines in Arch Wiki

---
.SRCINFO | 7 +++----
PKGBUILD | 20 +++++++-------------
2 files changed, 10 insertions(+), 17 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 8a0368e..6cfebc0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
# Generated by mksrcinfo v8
-# Fri Mar 18 22:27:06 UTC 2016
+# Sat Mar 19 17:59:25 UTC 2016
pkgbase = gscan2pdf
pkgdesc = A GUI with OCR capability to produce PDFs or DjVus from scanned documents
pkgver = 1.3.9
- pkgrel = 1
+ pkgrel = 2
url = http://gscan2pdf.sourceforge.net/
- arch = i686
- arch = x86_64
+ arch = any
license = GPL
depends = imagemagick
depends = perl-config-general
diff --git a/PKGBUILD b/PKGBUILD
index 8c60a81..5087adf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,9 +6,9 @@

pkgname=gscan2pdf
pkgver=1.3.9
-pkgrel=1
+pkgrel=2
pkgdesc='A GUI with OCR capability to produce PDFs or DjVus from scanned documents'
-arch=('i686' 'x86_64')
+arch=('any')
url='http://gscan2pdf.sourceforge.net/'
license=('GPL')
depends=('imagemagick' 'perl-config-general' 'perl-goo-canvas' 'perl-gtk2-ex-simple-list' 'perl-gtk2-imageview'
@@ -21,23 +21,17 @@ source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz")
sha512sums=('0f55cc95e63d02c7416bd58e9555497f55744c83587432547068ea5674671dc8318bbfdd5dad46be25f2065e5fdae8daf8803edc9963f1a603ec11be64f72e82')

build() {
-
cd ${srcdir}/${pkgname}-${pkgver}
- perl Makefile.PL
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ /usr/bin/perl Makefile.PL
make
-
}

package() {
-
cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-
- # Create symlinks to /usr/bin/site_perl/* in /usr/bin/
- cd ${pkgdir}
- ln -sf site_perl/gscan2pdf usr/bin/
- ln -sf site_perl/scanadf-perl usr/bin/
- ln -sf site_perl/scanimage-perl usr/bin/
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"

# Standard perl cleaning
/usr/bin/find ${pkgdir} -name '.packlist' -o -name 'perllocal.pod' -delete
--
2.7.4

Tristelune commented on 2016-03-18 22:30

Update to version 1.3.9

Tristelune commented on 2016-02-16 07:48

Update to version 1.3.8

Tristelune commented on 2016-01-28 11:53

Update to version 1.3.7.

Tristelune commented on 2016-01-11 18:51

Package updated to version 1.3.6. Thank you for testing akgrant0710!!

akgrant0710 commented on 2016-01-07 20:40

Hi Tristelune,

I sent you an email, if you didn't receive it: akgrant0710 at gmail dot com.

Tristelune commented on 2016-01-06 20:38

Hi,

I want to create the package for gscan2pdf 1.3.6 and that somebody tests it (if the installation is ok and the software starts without a problem). Ok for you ?

If you managed to install perl-data-uuid with the actual version, could you send me an email ? Thank you!

akgrant0710 commented on 2016-01-05 22:30

Hi Tristelune,

I may have misunderstood exactly what you want tested.

I've successfully done a clean install of gscan2pdf 1.3.5 (with a clean install of perl-data-uuid 1.221-1). This scans documents without any problem (strictly speaking, there's an issue with unpaper, but that's cross-platform).

Are you looking to test gscan2pdf 1.3.6 (which was released about 21 Dec., and is what I originally thought you wanted), or to test the upgrade of perl-data-uuid, or something else?

My apologies for the confusion.

Thanks,
Alistair

Tristelune commented on 2016-01-05 21:00

Hi akgrant0710,

thank you for your proposal. You simply have to install the package from aur. Then simply start the software, try to see if you can scan something or open a file and it's enough. Is it ok for you ?

akgrant0710 commented on 2016-01-05 03:39

Hi Tristelune,

As a long time gscan2pdf user on Ubuntu, and now trying to switch to Arch, I'd be happy to test the new version.

[cut]
Unfortunately I haven't been able to get the Epson V370 scanner drivers loaded on Arch. If anyone is able to help with that, once installed I'll start the gscan2pdf testing.
[/cut]

I've got the V370 drivers installed by manually copying the files and gscan2pdf 1.3.5 is working. I'll work on producing a PKGBUILD for the drivers.

Please let me know how you'd like to proceed with the upgrade and testing.

Thanks,
Alistair

Tristelune commented on 2016-01-02 09:19

Hi,

there is a new version at the moment. I have bought a new computer and I can't install gscan2pdf. The problem is with perl-data-uuid. I made a comment for the maintainer, but I got no answer until now. I don't want to update the package without testing it. I think the update is easy. If someone agrees to test the new package I can update it. Then that person can confirm if everything is ok. It's better to have an old version which can be installed than a new one which nobody can install!

Just leave a comment here or send me an email.

ferrvittorio commented on 2015-11-09 14:00

Tristelune,
Thanks. I was able to solve.
Thanks form manintaining pkg

Tristelune commented on 2015-11-08 10:27

Hi ferrvittorio,

I assume it's something like https://bbs.archlinux.org/viewtopic.php?id=198700.
I would uninstall everything (included all perl modules) and resintall all after that.

@ huitseeker: I thhink usr/bin is created in the Makefile, so it's not necessary to add it.

ferrvittorio commented on 2015-10-30 09:35

Hi.
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/auto/Sane/Sane.so: undefined symbol: Perl_xs_apiversion_bootcheck

huitseeker commented on 2015-10-24 12:52

In package (), you may want to do mkdir -p usr/bin before the symlinks.

Tristelune commented on 2015-08-10 21:56

Hi Muflone, thank you for your contribution! It works perfectly. I have updated gscan2pdf to the latest version. The dependency perl-data-uuid has been added and perl-linux-distribution removed.

Muflone commented on 2015-08-08 12:04

Hi Tristelune, actually all packages seems available on the aur4.
The only missing was perl-set-intspan which I uploaded today and the whole build works fine here.

Tristelune commented on 2015-07-23 15:09

Sourceforge is up. Unfortunately I discovered some packages are only on aur and not on aur4. So for the moment it's not possible to fully install gscan2pdf from aur4. I'll take a look if I can adopt those packages.

Tristelune commented on 2015-07-22 14:10

Sorry for the late answer, yes sourceforge is down at the moment. As I have seen it should be up in a few days, maybe in one or two days.

Gscan2pdf has been flagged but as far as I know there is no new version. If there is one, please provide a link.

workdowg commented on 2015-07-16 15:29

sourceforge link is dead???

halogene commented on 2015-07-01 10:06

That seems to work now, thank you.

vantu5z commented on 2015-07-01 09:22

Need to rebuild and reinstall perl-filesys-df package:

yaourt -S perl-filesys-df

GordonGR commented on 2015-06-30 15:37

FadeMind, I am getting

/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/auto/Filesys/Df/Df.so: undefined symbol: Perl_xs_apiversion_bootcheck

I rebuilt perl-sane and still :S

FadeMind commented on 2015-06-30 13:53

Rebuild and reinstall perl-sane package against new perl release.

yaourt -S perl-sane --noconfirm

halogene commented on 2015-06-30 13:37

I'm getting a

/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/auto/Sane/Sane.so: undefined symbol: Perl_xs_apiversion_bootcheck

when launching gscan2pdf.

djringjr commented on 2015-05-29 17:44

For some reason you have to install perl-readonly manually first.

https://www.archlinux.org/packages/community/any/perl-readonly/

djringjr commented on 2015-05-29 04:09

Bad news! perl-readonly is now missing from AUR.

Gscan2pdf won't work without it.

Tristelune commented on 2015-05-02 17:53

Done, thank you for the comment!

greyltc commented on 2015-04-29 16:59

also requires imagemagick

Tristelune commented on 2015-02-24 16:32

That's right, thank you!

zman0900 commented on 2015-02-24 05:10

Also needs perl-locale-gettext

Tristelune commented on 2015-02-23 16:43

Thank you for the feedbacks! I was sure I had included perl-pdf-api2 and perl-log-log4perl. And perl-list-moreutils and perl-readonly were also missing.Don't hesitate if there is something else!

infiniteh commented on 2015-02-22 20:07

I uninstalled gscan2pdf, all its dependencies, and all other perl packages on my system. Then I reinstalled the new version of gscan2pdf. The following four perl packages needed to be installed manually in order for gscan2pdf to start:

perl-readonly
perl-pdf-api2
perl-list-moreutils
perl-log-log4perl

The program starts without any errors at this point, but that is all I've tested so far.

Thank you for your work on this package Tristelune!

LeCrayonVert commented on 2015-02-22 18:38

Tristelune => I had to reinstall perl-list-moreutils and perl-readonly. Are you sure they are not required ?

Tristelune commented on 2015-02-22 17:49

I have cleaned the dependencies. Could you uninstall the package and reinstall the new version ? I don't use every functionality of this software, so something is perhaps missing. Thank you!

Tristelune commented on 2015-02-22 17:48

I have cleaned the dependencies. Could you uninstall the package and reinstalled the new version ? I don't use every functionality of this software, so something is perhaps missing. Thank you!

Tristelune commented on 2015-02-16 21:29

@supernaicol: Ok, as I thought the problem is not in the PKGBUILD. Tell me if it works when sourceforge will be fixed.

@LeCrayonVert: thank you for the feedback!

Tristelune commented on 2015-02-16 21:28

Ok, as I thought the problem is not in the PKGBUILD. Tell me if it works when sourceforge will be fixed.

supernaicol commented on 2015-02-16 18:39

@Tristelune
Sorry, an update: seems like a sourceforge problem, they're down and the downloaded archive is not a valid file.

supernaicol commented on 2015-02-16 18:21

@Tristelune
I just got the same error.

LeCrayonVert commented on 2015-02-15 20:35

@Tristelune I don't have this problem either.

Tristelune commented on 2015-02-15 17:49

Sorry for the late update, I was away.

@satanselbow: change done.

For the error: does somebody else have the same problem ? On my system the
installation is done without a problem.

MZ250Supa5 commented on 2015-02-10 19:11

I'm getting ERROR: One or more files did not pass the validity checks! on this on Majaro Mate

satanselbow commented on 2015-02-09 11:58

Please add "perl-gtk2-ex-podviewer" as optional dep for in app help ;)

Thanks for keeping this maintained ;)

Tristelune commented on 2014-12-20 08:52

I have updated the package with your comments. As discussed with lucastanure, I will have a look at the package to see if it's possible to clean the dependencies tree. When the software is installed for the first time, it takes a lot of time to install it!

lucastanure commented on 2014-12-18 21:31

Add perl-list-moreutils as a dependencie.

vantu5z commented on 2014-12-15 05:54

don't run without "perl-list-moreutils" package.

Tristelune commented on 2014-12-14 09:56

The package has been updated.

Tristelune commented on 2014-12-09 12:30

Sorry, I have a lot of to do at the moment and I forgot. I'll do the update this week-end.

lucastanure commented on 2014-12-04 00:47

Remove perl-test-critic is not a Dependencie.
Add perl-readonly.

quellen commented on 2014-11-15 17:49

it doesn't work:
http://pastebin.com/DBz8i2cC

Tristelune commented on 2014-09-05 13:14

Thank you for sharing it!

caj2aur commented on 2014-09-02 18:33

I'm happy to report that I solved the problem on https://bbs.archlinux.org/viewtopic.php?id=186354.

caj2aur commented on 2014-08-29 17:55

I, too, and having the "Segmentation fault" error and just posted the details of my efforts on https://bbs.archlinux.org/viewtopic.php?id=186354. Any help would be greatly appreciated. Thanks.

Fif91 commented on 2014-07-22 12:12

Hi,
I have the same problem since my last update (today).
I got a segmentation fault, executing the soft.

pacman -Qs perl
local/acidrip 0.14-10
A Gtk2::Perl application for ripping and encoding DVD's
local/cairo-perl 1.104-2
Perl wrappers for cairo
local/dvdrip 0.98.11-11
A Gtk frontend for transcode writen in Perl
local/glib-perl 1.304-2
Perl wrappers for glib 2.x, including GObject
local/gtk2-perl 1.249-2
Perl bindings for GTK+ 2.x
local/lib32-pcre 8.35-1
A library that implements Perl 5-style regular expressions (32-bit)
local/pango-perl 1.225-2
Perl bindings for Pango
local/pcre 8.35-1
A library that implements Perl 5-style regular expressions
local/perl 5.20.0-5 (base)
A highly capable, feature-rich programming language
local/perl-anyevent 4:7.07-1
The DBI of event loop programming
local/perl-async-interrupt 1.20-2
allow C/XS libraries to interrupt perl asynchronously
local/perl-b-keywords 1.13-1
Lists of reserved barewords and symbol names
local/perl-class-data-inheritable 0.08-6
Inheritable, overridable class data
local/perl-class-inspector 1.28-2
Get information about a class and its structure
local/perl-clone 0.37-2
Recursive copy of nested objects.
local/perl-common-sense 3.73-1
Implements some sane defaults for Perl programs
local/perl-config-general 2.56-2
Config::General - Generic Config Module
local/perl-config-tiny 2.20-1
Read/Write .ini style files with as little code as possible
local/perl-critic 1.121-2
Critique Perl source code for best-practices.
local/perl-devel-stacktrace 1.32-1
Stacktrace object w/ info form caller()
local/perl-email-address 1.905-1
RFC 2822 Address Parsing and Creation
local/perl-encode-locale 1.03-2
Determine the locale encoding
local/perl-error 0.17022-1
Perl/CPAN Error module - Error/exception handling in an OO-ish way
local/perl-ev 4.17-2
perl interface to libev, a high performance full-featured event loop
local/perl-event-execflow 0.64-4
Framework for perl-events
local/perl-exception-class 1.38-1
A module that allows you to declare real exception classes in Perl
local/perl-extutils-depends 0.308-1
The Perl depends module
local/perl-extutils-pkgconfig 1.15-1
The Perl Pkgconfig module
local/perl-file-listing 6.04-2
parse directory listing
local/perl-file-remove 1.52-2
Remove files and directories
local/perl-font-ttf 1.04-2
Font::TTF - Perl module for TrueType Font hacking
local/perl-goo-canvas 0.06-3
Perl bindings for GooCanvas
local/perl-gtk2-ex-formfactory 0.67-2
Framework for perl-gtk2 development
local/perl-gtk2-ex-simple-list 0.50-2
A simple interface to Gtk2's complex MVC list widget
local/perl-gtk2-imageview 0.05-3
Perl bindings to the GtkImageView image viewer widget
local/perl-guard 1.022-4
safe cleanup blocks
local/perl-hook-lexwrap 0.24-1
Lexically scoped subroutine wrappers
local/perl-html-parser 3.71-3
Perl HTML parser class
local/perl-html-tagset 3.20-4
Data tables useful in parsing HTML
local/perl-http-cookies 6.01-2
HTTP cookie jars
local/perl-http-daemon 6.01-2
A simple http server class
local/perl-http-date 6.02-2
Date conversion routines
local/perl-http-message 6.06-2
HTTP style messages
local/perl-http-negotiate 6.01-2
Choose a variant to serve
local/perl-io-string 1.08-9
IO::File interface for in-core strings
local/perl-libintl-perl 1.23-3
Perl Module: Localization support
local/perl-libwww 6.06-1
The World-Wide Web library for Perl
local/perl-list-moreutils 0.33-5
Provide the stuff missing in List::Util
local/perl-locale-gettext 1.05-11
Permits access from Perl to the gettext() family of functions
local/perl-log-log4perl 1.44-1
Log4j implementation for Perl
local/perl-lwp-mediatypes 6.02-2
Guess the media type of a file or a URL
local/perl-module-pluggable 5.1-1
automatically give your module the ability to have plugins
local/perl-net-http 6.06-2
Low-level HTTP connection (client)
local/perl-params-util 1.07-3
Simple, compact and correct param-checking functions
local/perl-pdf-api2 2.021-1
A module chain to faciliate the creation and modification of high-quality PDF files
local/perl-pod-spell 1.05-1
a formatter for spellchecking Pod
local/perl-ppi 1.215-1
Parse, Analyze and Manipulate Perl (without perl)
local/perl-ppix-regexp 0.036-1
Represent a regular expression of some sort
local/perl-ppix-utilities 1.001000-3
Extensions to PPI
local/perl-proc-processtable 0.50-2
Provides a consistent interface to process table information.
local/perl-readonly 2.00-1
Facility for creating read-only scalars, arrays, hashes
local/perl-readonly-xs 1.05-2
Companion module for Readonly.pm, to speed up read-only
local/perl-sane 0.05-3
Perl extension for the SANE (Scanner Access Now Easy) Project
local/perl-set-intspan 1.19-4
Set::IntSpan - Manages sets of integers, .newsrc style
local/perl-string-format 1.17-1
sprintf-like string formatting capabilities with
local/perl-task-weaken 1.04-2
Ensure that a platform has weaken support
local/perl-test-critic 1.02-1
Use Perl::Critic in test programs.
local/perl-test-deep 0.112-1
Extremely flexible deep comparison
local/perl-test-nowarnings 1.04-2
Make sure you didn't emit any warnings while testing
local/perl-test-object 0.07-1
Thoroughly testing objects via registered handlers
local/perl-test-subcalls 1.09-1
Track the number of times subs are called
local/perl-test-tester 0.109-1
Ease testing test modules built with Test::Builder
local/perl-tidy 20140328-1
Parses and beautifies perl source
local/perl-try-tiny 0.22-1
Minimal try/catch with proper localization of $@
local/perl-uri 1.64-1
Uniform Resource Identifiers (absolute and relative)
local/perl-www-robotrules 6.02-2
Database of robots.txt-derived permissions
local/perl-xml-parser 2.41-5
Expat-based XML parser module for perl
local/perl-xml-simple 2.20-2
Simple XML parser for perl

Tristelune commented on 2014-06-23 20:24

It's a good new! I'm happy, it finally worked. And thank you for sharing it, I think Moggele had probably the same problem.

LeCrayonVert commented on 2014-06-22 07:04

Tristelune => problem solved after the last update of perl (https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/perl&id=17649625b252493074f16862da3b98c3b0017b40). See https://bugs.archlinux.org/task/40718
Thanks for your help.

Tristelune commented on 2014-06-19 19:43

For the moment I have no other idea. I can only tell you an other person has the same problem an after running find-broken he has:

cat ./perl-modules.txt
Readonly::XS
SVN::_Fs
SVN::_Wc
SVN::_Delta
SVN::_Ra
SVN::_Client
SVN::_Repos
SVN::_Core

So exactly like you. I don't have subversion. But I don't think it's the problem. If you open a thread on the forum just tell me which one it is. Depending what others can tell you I could have an idea.

Perhaps try to downgrade to perl 5.18. But because some modules have been rebuilt with 5.20, it could lead to some problems. I also see there is an update of the perl package: perl 5.20.0-5.

LeCrayonVert commented on 2014-06-19 18:11

I've uninstalled with yaourt -Rcs and reinstall with yaourt afterwards.

I use many software that depends on perl and I don't have this issue (well at least not something that prevents the program from running).

Tristelune commented on 2014-06-18 20:14

I have the same version of perl on my system. I suspect there is a problem with perl-readonly-xs. But it's uninstalled after 'pacman -Rcs'. How do you install gscan2pdf after the 'pacman -Rcs' command ? Do you use an aur helper ?

Do you use an other perl software ? If yes, does it works or do you have the same problem ?

Tristelune commented on 2014-06-18 20:04

I have the same version of perl on my system. I suspect there is a problem with perl-readonly-xs. But it's uninstalled after 'pacman -Rcs'. How do you install gscan2pdf after the 'pacman -Rcs' command ? Do you use an aur helper ?

LeCrayonVert commented on 2014-06-17 18:22

Tristelune => I've uninstalled gscan2pdf using the pacman -Rcs command.

Here is the result of find-broken :

cat pacman.txt perl-dists.txt perl-modules.txt raw.txt

perl-readonly-xs
subversion
____
____
Readonly::XS
SVN::_Ra
SVN::_Wc
SVN::_Core
SVN::_Client
SVN::_Repos
SVN::_Delta
SVN::_Fs
_____
/usr/lib/perl5/vendor_perl/auto/Readonly/XS/XS.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Ra/_Ra.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Wc/_Wc.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Core/_Core.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Client/_Client.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Repos/_Repos.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Delta/_Delta.so
/usr/lib/perl5/vendor_perl/auto/SVN/_Fs/_Fs.so

After uninstalling with -Rcs, the only thing found by find-broken is subversion.

perl version 5.20.0-4

thiagoalmeidasa commented on 2014-06-17 13:26

I solved this mode:
rm "/usr/share/man/man3/Gtk2::Gdk::Pixbuf::Draw::Cache.3pm.gz"
rm -rf /usr/share/man/man3/Gtk2\:\:ImageView*
rm -rf /usr/lib/perl5/vendor_perl/auto/Gtk2/ImageView/
rm -rf /usr/lib/perl5/vendor_perl/Gtk2/ImageView/
rm -rf /usr/lib/perl5/vendor_perl/Gtk2/ImageView.pm
yaourt -Rcs gscan2pdf
yaourt -S aur/perl-gtk2-imageview
yaourt -S gscan2pdf

thanks @Tristelune, your help show me problem on perl-gtk2-imageview:
error: No package owns /usr/lib/perl5/vendor_perl/Gtk2/ImageView/Install/Files.pm

Tristelune commented on 2014-06-17 10:16

@Moggele: I also have the message

Possible precedence issue with control flow operator at /usr/share/perl5/site_perl/Gscan2pdf/Dialog/Scan.pm li

But it seems to work. I assume you can start the software. Tell me exactly what you do after starting it. I think it's better if you send me a mail (Take a look in the PKGBUILD). Send me the file "file.log" generated with

gscan2pdf --log=file.log

after the problem occurs.

@LeCrayonVert: could you give me the command you execute to uninstall gscan2pdf ? Did you tried this script: https://git.server-speed.net/users/flo/bin/plain/find-broken-perl-packages.sh after uninstalling everything ? Last question: which version of perl is installed on your system ?

Tristelune commented on 2014-06-17 10:16



@Moggele: I also have the message

Possible precedence issue with control flow operator at /usr/share/perl5/site_perl/Gscan2pdf/Dialog/Scan.pm li

But it seems to work. I assume you can start the software. Tell me exactly what you do after starting it. I think it's better if you send me a mail (Take a look in the PKGBUILD). Send me the file "file.log" generated with

gscan2pdf --log=file.log

after the problem occurs.

@LeCrayonVert: could you give me the command you execute to uninstall gscan2pdf ? Did you tried this script: https://git.server-speed.net/users/flo/bin/plain/find-broken-perl-packages.sh after uninstalling everything ? Last question: which version of perl is installed on your computer ?

Tristelune commented on 2014-06-17 10:14

@Moggele: I also have the message

Possible precedence issue with control flow operator at /usr/share/perl5/site_perl/Gscan2pdf/Dialog/Scan.pm li

But it seems to work. I assume you can start the software. Tell me exactly what you do after starting it. I think it's better if you send me a mail (Take a look in the PKGBUILD). Send me the file "file.log" generated with

gscan2pdf --log=file.log

after the problem occurs.

@LeCrayonVert: could you give me the command you execute to uninstall gscan2pdf ? Did you tried this script: [url]https://git.server-speed.net/users/flo/bin/plain/find-broken-perl-packages.sh[/url] ?

LeCrayonVert commented on 2014-06-16 17:06

Tristelune > unfortunately, I still have the error message even after reinstalling everything.

Moggele commented on 2014-06-16 15:52

Hi,
i have the Problem
if i start gscan2pdf

Possible precedence issue with control flow operator at /usr/share/perl5/site_perl/Gscan2pdf/Dialog/Scan.pm line 1141.
Invalid version format (non-numeric data) at /usr/bin/gscan2pdf line 74.
BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 74.

I have reinstalled gscan2pf and all depends packages but still the same error.
I have also tryed what LeCrayonVert said but it did not work



Tristelune commented on 2014-06-15 20:11

@LeCrayonVert. It is related with the perl update to version 5.20. I tried what you said and I had the same error. Uninstall gscan2pdf with every packages:

yaourt -Rcs gscan2pdf

or what method do you like. Then update all perl modules as explained in the new. After that you can install gscan2pdf. I didn't have test it completely, but I have no more segmentation fault and the software starts.

@lumberjack: try the same.

LeCrayonVert commented on 2014-06-15 14:55

This issue may be related to the specified version number in gscan2pdf.

------
use Config::General 2.40; #### something is wrong here
use PDF::API2;
use Getopt::Long 5.004;
use Set::IntSpan 1.10;
use Proc::Killfam;
use Fcntl qw(:flock)
------
Change 2.40 to v2.56 (see http://perldoc.perl.org/functions/use.html) and the error now occurs further on.

LeCrayonVert commented on 2014-06-15 14:34

Okay, I've just reinstalled perl-sane and now, I've got the same issue as lumberjack

LeCrayonVert commented on 2014-06-15 14:19

When I run gscan2pdf, i've got the following error in the console :
segmentation fault (core dumped) gscan2pdf

I've reinstalled the package and all its dependencies and still have this segfault.

Tristelune commented on 2014-06-15 10:08

Are you sure it's a problem with the package ? Do you get this error when you install the package or
when you use gscan2pdf ?

lumberjack commented on 2014-06-13 06:59

Possible precedence issue with control flow operator at /usr/share/perl5/site_perl/Gscan2pdf/Dialog/Scan.pm line 1141.
Invalid version format (non-numeric data) at /usr/bin/gscan2pdf line 74.
BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 74.

karol_007 commented on 2014-05-03 17:17

Test comment (to see if the maintainer gets the notification).

Tristelune commented on 2014-05-03 13:06

Test comment.

Tristelune commented on 2014-04-09 12:57

Thank you for your kind comment Neitsab. I appreciate it a lot. And for me it's a pleasure to see others can enjoy my packages!

neitsab commented on 2014-04-08 12:51

No problem Tristelune, and thanks for your responsiveness! You sure make a great package maintainer. Cheers

Tristelune commented on 2014-04-07 07:55

Thank you Neitsab for the help. A new version has been released and I have modified the description. Becaused it has to be 80 characters long or less, I had to shorten your description. I think now it's better. The dependency of xsane is now deleted.

neitsab commented on 2014-04-07 02:46

For me personnally it sure can wait until the next version. I have XSane installed for other reasons and was just mentionning something that interpellated me, but it is of no particuliar importance as long as package quality is concerned. And I've had a go at trying to describe its functionnalities here: https://wiki.archlinux.org/index.php/Sane#Install_a_frontend. If you want some inspiration :-) Cheers

Tristelune commented on 2014-04-02 13:18

Do you want an updated PKGBUILD in the next days or is it ok to wait for the next version ? Note that the next can be released in a couple of month.

neitsab commented on 2014-04-01 11:39

Thanks Tristelune for your consideration, will wait for the update to the PKGBUILD :-)

caj2aur commented on 2014-03-26 00:16

I'm having difficulties installing gscan2pdf on an Arch Linux and xfce system that is otherwise up-to-date with pacman -Syu and aurget -Syu.

My original attempt with 'aurget -S gscan2pdf' listed a number of dependencies, I think nine of them, and all of a perl nature. I tried to work through them and succeeded with these seven:

perl-gtk2-ex-simple-list
perl-config-general
perl-goo-canvas
perl-gtk2-imageview
perl-sane
perl-set-intspan
perl-proc-processtable

The remaining two, however, still elude me.

Installing perl-pdf-api2 tells me it's dependent on perl-font-ttf. I have successfully installed perl-font-ttf (a couple of times now), but 'aurget -S perl-pdf-api2' still says:

error: target not found: perl-font-ttf
==> ERROR: 'pacman' failed to install missing dependencies.
warning: package perl-pdf-api2 failed to build, skipping

It's a similar,though more deeply nested, situation with perl-test-critic:

perl-test-critic wants
perl-critic . . . which wants
perl-b-keywords>=1.05
perl-exception-class>=1.23
perl-ppi>=1.215
perl-ppix-regexp>=0.027
perl-ppix-utilities>=0
perl-pod-spell>=1
perl-readonly>=1.03
perl-string-format>=1.13
perl-task-weaken>=0

Then I can install perl-task-weaken for example, but perl-ppi still lists it as a target not found.

I'm rather a novice at using linux, so decyphering the convolutions here is beyond me. Can someone help out? Or direct me to the right place to look? Many thanks.

Tristelune commented on 2014-03-20 09:21

Hi, thank you for your comment. I have taken this package from the previous maintainer and I didn't had a look in details at the dependences. I don't think xsane is necessary, so I will delete this dependence.
About the description: you are right, I will think about a better description.

neitsab commented on 2014-03-18 18:45

Hi, why does it depend on XSane to build? I also think the description doesn't reflect the capabilities of this program: TIFF ad DjVu output formats, OCR functionality... Thanks anyway for maintaining this!

Tristelune commented on 2013-12-28 19:21

Has somebody already installed the new version (1.2.0) ? If yes, can you produce pdf without problems ?

algoban commented on 2013-08-31 16:29

Alister.Hood you should update perl-sane

Alister.Hood commented on 2013-07-03 16:35

I got this error message. In case anyone else happens to do the same thing, it was because I had sane compiled without libieee1284 :)

Can't load '/usr/lib/perl5/vendor_perl/auto/Sane/Sane.so' for module Sane: libieee1284.so.3: cannot open shared object file: No such file or directory at /usr/share/perl5/core_perl/XSLoader.pm line 68.
at /usr/lib/perl5/vendor_perl/Sane.pm line 263.
Compilation failed in require at /usr/share/perl5/site_perl/Gscan2pdf/Scanner/Options.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/Gscan2pdf/Scanner/Options.pm line 7.
Compilation failed in require at /usr/share/perl5/site_perl/Gscan2pdf/Document.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/Gscan2pdf/Document.pm line 11.
Compilation failed in require at /usr/bin/gscan2pdf line 57.
BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 57.

Tristelune commented on 2013-06-17 22:18

Thank you for the comment!

Maarten commented on 2013-06-15 17:53

gscan2pdf refused to export to pdf producing the somewhat fuzzy debug message "gscan2pdf modification of non-creatable array value attempted" pointing to line 2780.

After some digging I discovered gscan2pdf tries to read the value of the combobox with the list of ttf fonts in the save-as-pdf window. Because I didn't have any ttf fonts installed this list was empty resulting in above error message. (I take the message is perls version of array-access out of bounds?)

Anyway, the problem is solved by installing at least one set of ttf fonts. For example ttf-dejavu.

Anonymous comment on 2013-05-30 15:29

Aerion's fix works for me, thanks. I reinstalled a number of perl modules.

pacaur -S perl-goo-canvas perl-gtk2-imageview perl-proc-processtable perl-readonly-xs perl-sane

Aerion commented on 2013-05-30 14:29

@GordonGR @dlandmj Your error messages are telling you that the perl modules you have installed (in this case perl-sane) are built for Perl 5.14 (GordonGR) and Perl 5.16 (dlandmj), whereas you have Perl 5.16 (GordonGR, you should update perl first) and Perl 5.18 (dlandmj) installed, making them binary incompatible.

Reinstalling perl-sane should take care of the problem, unless you have other perl modules installed from the AUR that are binary incompatible, in which case you'll need to reinstall them too.

To find out which perl modules you have installed from the AUR, run:

pacman -Qml | awk '/_perl\/auto\/.+\.so$/ { print $1 }' | uniq

See https://bbs.archlinux.org/viewtopic.php?pid=1111236#p1111236 for a description of a similar problem with a different perl module.

Anonymous comment on 2013-05-30 11:55

gscan2pdf now won't start up on any of the three Linux machines in this office.

Error message:

[martin@martin ~]$ gscan2pdf
Perl API version v5.16.0 of Sane does not match v5.18.0 at /usr/share/perl5/core_perl/XSLoader.pm line 92.
Compilation failed in require at /usr/share/perl5/site_perl/Gscan2pdf/Scanner/Options.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/Gscan2pdf/Scanner/Options.pm line 7.
Compilation failed in require at /usr/share/perl5/site_perl/Gscan2pdf/Document.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/Gscan2pdf/Document.pm line 11.
Compilation failed in require at /usr/bin/gscan2pdf line 57.
BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 57.

This looks similar to the output GordonGR got.

Perl version perl-5.18.0-1
Perl-sane version perl-sane 0.05-2

No perl modules installed manually.

Tristelune commented on 2013-05-14 19:20

Which version of perl and perl-sane do you have ? Did you install some of the required perl modules manually ?

GordonGR commented on 2013-05-10 15:14

I do, I'm afraid. When I try to run it, it says:
nikos@Russell:~$ gscan2pdf
Perl API version v5.14.0 of Sane does not match v5.16.0 at /usr/share/perl5/core_perl/XSLoader.pm line 92.
Compilation failed in require at /usr/share/perl5/site_perl/Gscan2pdf/Scanner/Options.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/Gscan2pdf/Scanner/Options.pm line 7.
Compilation failed in require at /usr/share/perl5/site_perl/Gscan2pdf/Document.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/Gscan2pdf/Document.pm line 11.
Compilation failed in require at /usr/bin/gscan2pdf line 57.
BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 57

Tristelune commented on 2013-04-30 13:03

I will try to maintain this package. Does somebody still have problems with this package ?

LeCrayonVert commented on 2013-04-29 19:06

I don't have time to maintain this package anymore. I've disowned it.

lumberjack commented on 2013-04-25 19:16

/tmp/yaourt-tmp-black/aur-perl-ppi/./PKGBUILD: line 25: cd: /PPI-1.215: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build perl-ppi.
==> Restart building perl-ppi ? [y/N]

lumberjack commented on 2013-04-25 19:15

/tmp/yaourt-tmp-black/aur-perl-ppi/./PKGBUILD: line 25: cd: /PPI-1.215: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build perl-ppi.
==> Restart building perl-ppi ? [y/N]

lumberjack commented on 2013-04-25 19:11

/tmp/yaourt-tmp-black/aur-perl-ppi/./PKGBUILD: line 25: cd: /PPI-1.215: No file or directory find
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build perl-ppi.
==> Restart building perl-ppi ? [y/N]

Anonymous comment on 2013-04-17 15:09

perl-readonly is needed to run.
Also, perl-test-critic is not necessary. It depends on perl-exception-class which is currently broken in AUR.

A temporary solution is to just delete "perl-test-critic" in PKGFILE and everthing else goes through.

PTBM133A4X commented on 2013-03-13 23:24

Every time I try to update this application I get the following error:

cp gscan2pdf.svg /tmp/yaourt-tmp-john/aur-gscan2pdf/pkg/usr/share/pixmaps
ln: target ‘usr/bin/’ is not a directory: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build gscan2pdf.

Previously I have manually hacked around this but had to manually copy many files between directories.

Any advice on this?

LeCrayonVert commented on 2013-03-13 21:53

tuxer > updated !
Can anyone reproduce the error described by vnoel ?

tuxer commented on 2013-03-13 20:02

The version 1.1.3 is out

vnoel commented on 2013-02-25 10:39

Hi, I'm wondering if there is not something strange with the installation, I get this error:
Undefined subroutine &Gscan2pdf::Dialog::Scan::Sane::num_rows_combobox called at /usr/bin/gscan2pdf line 3772.

And actually, I never succeeded in scanning a document with any of the backends!

Thanks

Tristelune commented on 2013-02-14 20:22

The version 1.1.2 is out. The dependence of tesseract and cuneiform was an error. It is corrected with this version and you can move those two to optdepends again. Thank you!

LeCrayonVert commented on 2013-02-04 18:18

zeppelinlg > thanks, I've just moved unpaper and tesseract from optdepends to depends and added cuneiform.

zeppelinlg commented on 2013-02-04 09:03

Missing dependency for unpaper, tesseract (since 1.1.1) and cuneiform (since 1.1.1) :
open3: exec of unpaper --version failed at /usr/share/perl5/site_perl/Gscan2pdf/Document.pm line 1126.
Perl exited with active threads:
2 running and unjoined
0 finished and unjoined
0 running and detached

open3: exec of tesseract -v failed at /usr/share/perl5/site_perl/Gscan2pdf/Document.pm line 1082.
Perl exited with active threads:
2 running and unjoined
0 finished and unjoined
0 running and detached

open3: exec of cuneiform failed at /usr/share/perl5/site_perl/Gscan2pdf/Document.pm line 1082.
Perl exited with active threads:
2 running and unjoined
0 finished and unjoined
0 running and detached

Thanks for your packaging

Tristelune commented on 2013-02-03 17:43

The version 1.1.1 is out. Could you update it ? Thank you!

zeppelinlg commented on 2013-01-22 13:02

I third the comment by xia0er

plp commented on 2013-01-16 10:59

I second the comment by xia0er.

xia0er commented on 2012-12-08 21:58

I believe community/unpaper should be added as a dependency for gscan2pdf. I got this error when starting gscan2pdf without unpaper installed:

$ gscan2pdf
open3: exec of unpaper --version failed at /usr/share/perl5/site_perl/Gscan2pdf/Document.pm line 1126.
Perl exited with active threads:
2 running and unjoined
0 finished and unjoined
0 running and detached

Tristelune commented on 2012-11-24 17:23

Thank you very much!! But one question: in the PKGBUILD your email address is unchanged. Is it still your email address ? I was unable to contact you at that one. Perhaps you don't want to give it. In that case I would delete it from the PKGBUILD.

LeCrayonVert commented on 2012-11-24 10:54

Tristelune > thanks for your reminder ;) I've just updated to 1.1.0 ;)

Tristelune commented on 2012-11-23 23:39

I have updated the PKGBUILD to help you for submitting a PKGBUILD for 1.1.0. Unfortunately, I can't sent it to you at the email address in the PKGBUILD. How can I send you the new version ? LeCrayonVert are you still the maintainer ?

kralibes commented on 2012-09-26 21:17

Now I can install gscan2pdf, but it does not start.

Perl API version v5.14.0 of HTML::Parser does not match v5.16.0 at /usr/share/perl5/core_perl/XSLoader.pm line 92.
Compilation failed in require at /usr/lib/perl5/site_perl/HTML/Entities.pm line 152.

All packages was removed and reinstalled with no result.

Current Perl 5.16.1-1 is installed.

LeCrayonVert commented on 2012-06-03 11:57

If you are running into some problems after latest updates, try to reinstall the following packages :
perl-proc-processtable
perl-sane
perl-gtk2-imageview
perl-goo-canvas

LeCrayonVert commented on 2012-02-25 09:02

Updated to 1.0.1 (changelog is here > http://packages.debian.org/changelogs/pool/main/g/gscan2pdf/gscan2pdf_1.0.1-1/changelog)
Aerion > googcanvas1 is already a dependency of perl-goo-canvas

Aerion commented on 2011-10-28 13:42

Shouldn't goocanvas1 then not be added as a dependency?

LeCrayonVert commented on 2011-10-09 12:38

Don't forget to install goocanvas1 since goocanvas has been upgraded lately to 2.0.

Anonymous comment on 2011-09-29 20:09

Please add to dependencies "perl-html-parser". 1.0.0 can't run without it.
Thanks

LeCrayonVert commented on 2011-07-04 18:56

Usul > ah ! now I recall where I've seen perllocal.pod before....it was just in gscan2pdf PKGBUILD itself at the end. And you're right, this file should not be present in the file system, it's just some temporary file needed during building. Actually, every perl related package should add :
# Standard perl cleaning
/usr/bin/find ${pkgdir} -name '.packlist' -o -name 'perllocal.pod' -delete

at the end ;)

Thx

Usul commented on 2011-07-04 17:37

I'm examined this a little bit further, it turns out, that this file (perllocal.pod) should not be there, as you can read in the Perl Package Guideline:

https://wiki.archlinux.org/index.php/Perl_Package_Guidelines#File_Placement

One of the last steps in building a perl package should delete this generated file, it should not be part of a perl package. So I take a deep breath and just deleted this file from disk, continuing the installation.

A third package, perl-goo-canvas, also tried to install this file, so we have three different packages, all necessary for gscan2pdf, which are not conform to the Perl Package Guideline.

I will now go looking for a stick and poke the maintainers of this packages with it.

Usul commented on 2011-07-04 09:15

I'm using yaourt. I could try to build this two packages with conflicts on my system "by hand".

LeCrayonVert commented on 2011-07-04 07:48

Usul > well, that's weird because I don't have a file called perllocal.pod in my filesystem. After using locate perllocal, I've got this result :

/usr/share/perl5/core_perl/pod/perllocale.pod is owned by perl 5.14.1-1

Not sure if it's the same file...

Which aur helper do you use (if any) ?

Usul commented on 2011-07-03 21:00

Can't install this package, reason: Two dependencies claim the same file. If I try to install perl-pdf-api2, pacman says to me, that /usr/lib/perl5/core_perl/perllocal.pod is already on the file system. Which is true, if I ask pacman with "pacman -Qo /usr/lib/perl5/core_perl/perllocal.pod", it says, this file is provided by perl-gtk2-imageview. But both packages are dependencies of gscan2pdf.

I'm not enough in perl and package building to decide who is to blame for that kind of dependency hell.

LeCrayonVert commented on 2011-06-30 14:56

Though I dunno if I should add it to depends array....this might be a missing dependency for perl-test-critic instead...

satanselbow commented on 2011-06-30 13:48

I had also had a general perl tidy up (uninstalling numerous non critical pkgs) before following post below ;)

satanselbow commented on 2011-06-30 13:44

I had also had a general perl tidy up (uninstalling numerous non critical pkgs) before following post below ;)

satanselbow commented on 2011-06-30 13:39

Awesome!

perl-test-harness had to be installed 1st (via yaourt), then perl-test-simple, then gscan2pdf. I had numerous warnings about unsupported packages and (feeling brave) installed them all ;)

The only other problem I had was cleaning up previous failed installs - mostly gscanpdf.mo files in /usr/share/locale/* and /usr/share/pixmaps/gscan2pdf.svg
- the successfully built pkg then installed without error.

Thanks for your help LeCrayonVert - much appreciated :D

LeCrayonVert commented on 2011-06-30 11:21

Try to install perl-test-simple and perl-test-harness

satanselbow commented on 2011-06-30 09:50

Cheers for the reply but still got issues :(

Dep problems remain...

:: The following package cannot be upgraded due to unresolvable dependencies:
perl-test-simple

LeCrayonVert commented on 2011-06-29 15:34

satanselbow >> Yes, you need to reinstall every dependency (well technically, it could be just some of them) :

yaourt -S xsane gtk2-perl perl-locale-gettext libtiff sane perl-gtk2-ex-simple-list imagemagick perl-config-general perl-pdf-api2 perl-goo-canvas perl-gtk2-imageview perl-sane perl-test-critic perl-set-intspan perl-proc-processtable perl-log-log4perl

That way, they will be installed at the right location

satanselbow commented on 2011-06-29 13:43

Results in dep hell - due to recent perl path changes? follow the trail and it eventually fails at "perl-test-harness (virtual)" :(

LeCrayonVert commented on 2011-02-26 15:53

jelly > tesseract and unpaper are already in optdepends....

jelly commented on 2011-02-25 17:42

please add tesseract, unpaper as optdepends

LeCrayonVert commented on 2011-02-22 08:49

Update : remove perl-font-ttf dependency as it is now included in perl-pdf-api2 depends.

LeCrayonVert commented on 2011-02-21 13:54

Updated. Add missing perl-log-log4perl to depends.

LeCrayonVert commented on 2011-02-20 23:33

0.9.32 changelog > http://sourceforge.net/mailarchive/message.php?msg_id=27058023

LeCrayonVert commented on 2011-02-20 21:58

Package updated :
- follows PKBUILD guidelines (use $pkgdir and $srcdir}, removed || return 1
- removed removefork patch (failed on 0.9.32 sources)
- add perl-font-ttf as dependency
- create symlinks in /usr/bin/ for /usr/bin/site_perl/* scripts (this way, you won't have to add /usr/bin/site_perl to your PATH)
- perl cleaning (.packlist and perlloacl.pod) follows guidelines too

Let me know if something doesn't work properly !

Anonymous comment on 2011-02-20 19:20

perl-font-ttf is missing as dependency...

killajoe commented on 2010-09-27 18:20

Executable "/usr/bin/gscan2pf" is not linked to "/usr/lib/perl5/site_perl/bin/gscan2pf" and yes "/usr/bin/gscan2pdf" does not exist ;)

FredBezies commented on 2010-09-03 17:11

Adopt it.

FredBezies commented on 2010-09-03 17:11

Adopt it.

FredBezies commented on 2010-09-03 17:10

Adopt it.

Anonymous comment on 2010-08-06 00:59

Reading bug reports for gscan2pdf there are problems related to perl-forks. There is a patch to remove that dependency. The patched gscan2pdf seems to work fine for me.

mutlu_inek commented on 2010-04-13 08:55

Please change the source from the internap mirror to http://downloads.sourceforge.net/...