[arch-commits] Commit in ocrfeeder/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sun Mar 14 20:24:45 UTC 2021


    Date: Sunday, March 14, 2021 @ 20:24:44
  Author: bgyorgy
Revision: 891300

upgpkg: ocrfeeder 0.8.3-4: Rebuild for goocanvas3

Modified:
  ocrfeeder/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-14 20:22:39 UTC (rev 891299)
+++ PKGBUILD	2021-03-14 20:24:44 UTC (rev 891300)
@@ -2,7 +2,7 @@
 
 pkgname=ocrfeeder
 pkgver=0.8.3
-pkgrel=3
+pkgrel=4
 pkgdesc="GTK+ document layout analysis and optical character recognition application"
 arch=('any')
 url="https://wiki.gnome.org/Apps/OCRFeeder"
@@ -25,8 +25,13 @@
 
 prepare() {
   cd $pkgname
+
   # Remove the usage of deprecated 'xml.etree.ElementTree.Element.getchildren' (FS#69470)
   git cherry-pick -n c0c460893961d5589f300645b32b5584a6c3f463
+
+  # Port to GooCanvas 3.0
+  sed -i "s/gi.require_version('GooCanvas', '2.0')/gi.require_version('GooCanvas', '3.0')/" src/ocrfeeder/studio/studioBuilder.py
+
   NOCONFIGURE=1 ./autogen.sh
 }
 



More information about the arch-commits mailing list