[arch-commits] Commit in ocrfeeder/repos/community-any (3 files)
Date: Tuesday, July 12, 2016 @ 21:50:48 Author: bgyorgy Revision: 182779 archrelease: copy trunk to community-any Added: ocrfeeder/repos/community-any/PKGBUILD (from rev 182778, ocrfeeder/trunk/PKGBUILD) Deleted: ocrfeeder/repos/community-any/PKGBUILD ocrfeeder/repos/community-any/ocrfeeder.install ---+ PKGBUILD | 83 +--- ocrfeeder.install | 11 -- 2 files changed, 41 insertions(+), 53 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-07-12 21:50:44 UTC (rev 182778) +++ PKGBUILD2016-07-12 21:50:48 UTC (rev 182779) @@ -1,42 +0,0 @@ -# $Id$ -# Maintainer: Balló György - -pkgname=ocrfeeder -pkgver=0.8.1 -pkgrel=1 -pkgdesc="GTK+ document layout analysis and optical character recognition application" -arch=('any') -url="https://wiki.gnome.org/Apps/OCRFeeder"; -license=('GPL') -depends=('python2-pyenchant' 'python2-gobject' 'python2-lxml' 'python2-pillow' - 'python2-reportlab' 'gtk3' 'goocanvas' 'gtkspell3' 'ghostscript' 'unpaper' 'sane' - 'iso-codes' 'desktop-file-utils') -makedepends=('intltool' 'gnome-doc-utils' 'python2-gobject2') -optdepends=('tesseract: character recognition' -'ocrad: character recognition' -'gocr: character recognition' -'cuneiform: character recognition') -install=$pkgname.install -source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('5816401c9b4bfce98fd9a7b649a3c7ecc3d6968a30f0e4d1b3677d172d55253b') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - - # Python2 fix - sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/ocrfeeder*.in src/ocrfeeder/odf/*.py -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - PYTHON=python2 - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install - mkdir -p "$pkgdir/usr/share/pixmaps" - ln -s ../ocrfeeder/icons/ocrfeeder.svg "$pkgdir/usr/share/pixmaps/ocrfeeder.svg" -} Copied: ocrfeeder/repos/community-any/PKGBUILD (from rev 182778, ocrfeeder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-07-12 21:50:48 UTC (rev 182779) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Balló György + +pkgname=ocrfeeder +pkgver=0.8.1 +pkgrel=2 +pkgdesc="GTK+ document layout analysis and optical character recognition application" +arch=('any') +url="https://wiki.gnome.org/Apps/OCRFeeder"; +license=('GPL') +depends=('python2-pyenchant' 'python2-gobject' 'python2-lxml' 'python2-pillow' + 'python2-reportlab' 'gtk3' 'goocanvas' 'gtkspell3' 'ghostscript' 'unpaper' 'sane' + 'iso-codes') +makedepends=('intltool' 'gnome-doc-utils' 'python2-gobject2') +optdepends=('tesseract: character recognition' +'ocrad: character recognition' +'gocr: character recognition' +'cuneiform: character recognition') +source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('5816401c9b4bfce98fd9a7b649a3c7ecc3d6968a30f0e4d1b3677d172d55253b') + +prepare() { + cd $pkgname-$pkgver + + # Python2 fix + sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/ocrfeeder*.in src/ocrfeeder/odf/*.py +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + PYTHON=python2 + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + mkdir -p "$pkgdir/usr/share/pixmaps" + ln -s ../ocrfeeder/icons/ocrfeeder.svg "$pkgdir/usr/share/pixmaps/ocrfeeder.svg" +} Deleted: ocrfeeder.install === --- ocrfeeder.install 2016-07-12 21:50:44 UTC (rev 182778) +++ ocrfeeder.install 2016-07-12 21:50:48 UTC (rev 182779) @@ -1,11 +0,0 @@ -post_install() { - update-desktop-database -q -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -}
[arch-commits] Commit in ocrfeeder/repos/community-any (3 files)
Date: Thursday, January 9, 2020 @ 20:12:13 Author: bgyorgy Revision: 551485 archrelease: copy trunk to community-any Added: ocrfeeder/repos/community-any/PKGBUILD (from rev 551484, ocrfeeder/trunk/PKGBUILD) Deleted: ocrfeeder/repos/community-any/PKGBUILD ocrfeeder/repos/community-any/ocrfeeder.appdata.xml ---+ PKGBUILD | 87 ocrfeeder.appdata.xml | 30 2 files changed, 45 insertions(+), 72 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-01-09 20:11:55 UTC (rev 551484) +++ PKGBUILD2020-01-09 20:12:13 UTC (rev 551485) @@ -1,42 +0,0 @@ -# Maintainer: Balló György - -pkgname=ocrfeeder -pkgver=0.8.1 -pkgrel=4 -pkgdesc="GTK+ document layout analysis and optical character recognition application" -arch=('any') -url="https://wiki.gnome.org/Apps/OCRFeeder"; -license=('GPL') -depends=('python2-pyenchant' 'python2-gobject' 'python2-lxml' 'python2-pillow' - 'python2-reportlab' 'gtk3' 'goocanvas' 'gtkspell3' 'ghostscript' 'unpaper' 'python2-sane' - 'iso-codes') -makedepends=('intltool' 'gnome-doc-utils' 'python2-gobject2') -optdepends=('tesseract: character recognition' -'ocrad: character recognition' -'gocr: character recognition' -'cuneiform: character recognition') -source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz -ocrfeeder.appdata.xml) -sha256sums=('5816401c9b4bfce98fd9a7b649a3c7ecc3d6968a30f0e4d1b3677d172d55253b' -'4513fe7200e8f9b31017d76ffc679e8d92b0c40f0846fb1be20499f0efb6e4a7') - -prepare() { - cd $pkgname-$pkgver - - # Python2 fix - sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/ocrfeeder*.in src/ocrfeeder/odf/*.py -} - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - PYTHON=python2 - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - install -Dm644 resources/icons/ocrfeeder.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/ocrfeeder.svg" - install -Dm644 ../ocrfeeder.appdata.xml "$pkgdir/usr/share/metainfo/ocrfeeder.appdata.xml" -} Copied: ocrfeeder/repos/community-any/PKGBUILD (from rev 551484, ocrfeeder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-01-09 20:12:13 UTC (rev 551485) @@ -0,0 +1,45 @@ +# Maintainer: Balló György + +pkgname=ocrfeeder +pkgver=0.8.1+87+g8615aff +pkgrel=1 +pkgdesc="GTK+ document layout analysis and optical character recognition application" +arch=('any') +url="https://wiki.gnome.org/Apps/OCRFeeder"; +license=('GPL') +depends=('ghostscript' 'goocanvas' 'gtk3' 'gtkspell3' 'iso-codes' 'python-gobject' 'python-odfpy' + 'python-pillow' 'python-pyenchant' 'python-reportlab' 'python-sane' 'unpaper') +makedepends=('git' 'gnome-common') +optdepends=('tesseract: character recognition' +'ocrad: character recognition' +'gocr: character recognition' +'cuneiform: character recognition') +_commit=8615aff3966dbfe24ed45eed6d34dc9b4e6b4e90 # master +source=("git+https://gitlab.gnome.org/GNOME/ocrfeeder.git#commit=$_commit";) +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^release_//;s/_/./g;s/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make +} + +check() { + make -C $pkgname check +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install + install -Dm644 resources/icons/org.gnome.OCRFeeder.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/org.gnome.OCRFeeder.svg" +} Deleted: ocrfeeder.appdata.xml === --- ocrfeeder.appdata.xml 2020-01-09 20:11:55 UTC (rev 551484) +++ ocrfeeder.appdata.xml 2020-01-09 20:12:13 UTC (rev 551485) @@ -1,30 +0,0 @@ - - - org.gnome.ocrfeeder - ocrfeeder.desktop - OCRFeeder - The complete OCR suite - CC0-1.0 - GPL-3.0+ - Joaquim Rocha - -OCRFeeder is a document layout analysis and optical character recognition system. -Given the images it will automatically outline its contents, distinguish between what's graphics and text and perform OCR over the latter. It generates multiple formats being its main one ODT. -It features a complete GTK graphical user interface that allows the users to correct any unrecognized characters, defined or correct bounding boxes, set paragraph styles, clean the input images, import PDFs, save and load the project, export everything to multiple formats, etc. - - - - https://wiki.gnome.org/Apps/OCRFeeder?action=AttachFile&do=get&target=ocrfeeder.jpeg - - - https://wiki.gnome.o
[arch-commits] Commit in ocrfeeder/repos/community-any (3 files)
Date: Thursday, December 27, 2018 @ 20:49:02 Author: bgyorgy Revision: 418558 archrelease: copy trunk to community-any Added: ocrfeeder/repos/community-any/PKGBUILD (from rev 418557, ocrfeeder/trunk/PKGBUILD) ocrfeeder/repos/community-any/ocrfeeder.appdata.xml (from rev 418557, ocrfeeder/trunk/ocrfeeder.appdata.xml) Deleted: ocrfeeder/repos/community-any/PKGBUILD ---+ PKGBUILD | 83 ocrfeeder.appdata.xml | 30 + 2 files changed, 72 insertions(+), 41 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-12-27 20:48:56 UTC (rev 418557) +++ PKGBUILD2018-12-27 20:49:02 UTC (rev 418558) @@ -1,41 +0,0 @@ -# $Id$ -# Maintainer: Balló György - -pkgname=ocrfeeder -pkgver=0.8.1 -pkgrel=3 -pkgdesc="GTK+ document layout analysis and optical character recognition application" -arch=('any') -url="https://wiki.gnome.org/Apps/OCRFeeder"; -license=('GPL') -depends=('python2-pyenchant' 'python2-gobject' 'python2-lxml' 'python2-pillow' - 'python2-reportlab' 'gtk3' 'goocanvas' 'gtkspell3' 'ghostscript' 'unpaper' 'python2-sane' - 'iso-codes') -makedepends=('intltool' 'gnome-doc-utils' 'python2-gobject2') -optdepends=('tesseract: character recognition' -'ocrad: character recognition' -'gocr: character recognition' -'cuneiform: character recognition') -source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('5816401c9b4bfce98fd9a7b649a3c7ecc3d6968a30f0e4d1b3677d172d55253b') - -prepare() { - cd $pkgname-$pkgver - - # Python2 fix - sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/ocrfeeder*.in src/ocrfeeder/odf/*.py -} - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - PYTHON=python2 - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - mkdir -p "$pkgdir/usr/share/pixmaps" - ln -s ../ocrfeeder/icons/ocrfeeder.svg "$pkgdir/usr/share/pixmaps/ocrfeeder.svg" -} Copied: ocrfeeder/repos/community-any/PKGBUILD (from rev 418557, ocrfeeder/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-12-27 20:49:02 UTC (rev 418558) @@ -0,0 +1,42 @@ +# Maintainer: Balló György + +pkgname=ocrfeeder +pkgver=0.8.1 +pkgrel=4 +pkgdesc="GTK+ document layout analysis and optical character recognition application" +arch=('any') +url="https://wiki.gnome.org/Apps/OCRFeeder"; +license=('GPL') +depends=('python2-pyenchant' 'python2-gobject' 'python2-lxml' 'python2-pillow' + 'python2-reportlab' 'gtk3' 'goocanvas' 'gtkspell3' 'ghostscript' 'unpaper' 'python2-sane' + 'iso-codes') +makedepends=('intltool' 'gnome-doc-utils' 'python2-gobject2') +optdepends=('tesseract: character recognition' +'ocrad: character recognition' +'gocr: character recognition' +'cuneiform: character recognition') +source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz +ocrfeeder.appdata.xml) +sha256sums=('5816401c9b4bfce98fd9a7b649a3c7ecc3d6968a30f0e4d1b3677d172d55253b' +'4513fe7200e8f9b31017d76ffc679e8d92b0c40f0846fb1be20499f0efb6e4a7') + +prepare() { + cd $pkgname-$pkgver + + # Python2 fix + sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/ocrfeeder*.in src/ocrfeeder/odf/*.py +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + PYTHON=python2 + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 resources/icons/ocrfeeder.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/ocrfeeder.svg" + install -Dm644 ../ocrfeeder.appdata.xml "$pkgdir/usr/share/metainfo/ocrfeeder.appdata.xml" +} Copied: ocrfeeder/repos/community-any/ocrfeeder.appdata.xml (from rev 418557, ocrfeeder/trunk/ocrfeeder.appdata.xml) === --- ocrfeeder.appdata.xml (rev 0) +++ ocrfeeder.appdata.xml 2018-12-27 20:49:02 UTC (rev 418558) @@ -0,0 +1,30 @@ + + + org.gnome.ocrfeeder + ocrfeeder.desktop + OCRFeeder + The complete OCR suite + CC0-1.0 + GPL-3.0+ + Joaquim Rocha + +OCRFeeder is a document layout analysis and optical character recognition system. +Given the images it will automatically outline its contents, distinguish between what's graphics and text and perform OCR over the latter. It generates multiple formats being its main one ODT. +It features a complete GTK graphical user interface that allows the users to correct any unrecognized characters, defined or correct bounding boxes, set paragraph styles, clean the input images, import PDFs, save and load the project, ex