On Sun, Oct 06, 2019 at 05:09:30PM -0400, Jeremy Bicha wrote:
> Control: severity -1 serious
> Control: tags -1 -buster
>
> As part of the Python2 removal, it is our intent that pygtk will be removed
> from Testing before the release of Debian 11
> "Bullseye". Therefore, I am bumping the severity of this bug to Serious to
> ensure that there is plenty of warning before
> the Debian 11 release and to make the eventual removal of pygtk as smooth as
> possible.
Attached is a patch which drops the GUI package (and the python2 bindings
only needed for that).
Cheers,
Moritz
diff -Naur hocr-0.10.18.orig/debian/control hocr-0.10.18/debian/control
--- hocr-0.10.18.orig/debian/control 2018-07-30 09:51:22.000000000 +0200
+++ hocr-0.10.18/debian/control 2019-11-26 23:45:59.631805278 +0100
@@ -3,14 +3,10 @@
Maintainer: Debian Hebrew Packaging Team <[email protected]>
Uploaders: Lior Kaplan <[email protected]>, Shachar Shemesh <[email protected]>, Tzafrir Cohen <[email protected]>
Build-Depends: debhelper (>= 10),
- libgtkspell-dev,
- libgtk2.0-dev,
gettext,
swig,
- python-dev (>= 2.6.6-3~),
libfftw3-dev,
libtiff5-dev,
- dh-python,
Standards-Version: 3.9.8
Section: libs
Vcs-Browser: https://salsa.debian.org/hebrew-team/hocr
@@ -38,21 +34,3 @@
.
This package contains the libhocr library and the hocr command line utility,
which can process PBM file formats
-
-Package: hocr-gtk
-Section: graphics
-Architecture: all
-Depends: ${python:Depends}, libhocr-python (>= ${source:Version}), python-glade2, python-imaging-sane, aspell-he, ${misc:Depends}
-Description: GTK+ frontend for Hebrew OCR
- Hocr-gtk is a GTK+ based graphical interface to the libhocr library. It
- can open multiple image formats and uses aspell for internal spell checking.
-
-Package: libhocr-python
-Section: python
-Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
-Description: Hebrew OCR library Python bindings
- Libhocr is an Hebrew OCR (Optical character recognition) library written in
- C/C++.
- .
- This package contains Python bindings to libhocr.
diff -Naur hocr-0.10.18.orig/debian/rules hocr-0.10.18/debian/rules
--- hocr-0.10.18.orig/debian/rules 2018-07-30 09:51:22.000000000 +0200
+++ hocr-0.10.18/debian/rules 2019-11-26 23:46:15.687861008 +0100
@@ -7,10 +7,7 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
- dh $@ --with python2
-
-override_dh_python2:
- dh_python2 --no-guessing-versions
+ dh $@
override_dh_makeshlibs:
dh_makeshlibs -V