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: 145
Popularity: 4.780897
First Submitted: 2006-12-04 05:12
Last Updated: 2016-04-15 18:23

Latest Comments

djringjr commented on 2016-05-24 18:14

If gscan2pdf will no longer run check and see if it's "new" location is in $PATH.

$ which gscan2pdf

If gscan2pdf is not found, add this line to ~/.bashrc

export PATH=$PATH:/usr/bin/vendor_perl/

Save ~/.bashrc, then run the command "bash" in terminal to update the $PATH and you should be able to run gscan2pdf.



Sylvain_07 commented on 2016-05-18 17:02

Can't use string ("gimp %i") as an ARRAY ref while "strict refs" in use at /usr/bin/vendor_perl/gscan2pdf line 4160.
Perl exited with active threads:
2 running and unjoined
0 finished and unjoined
0 running and detached

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!!

All comments