Paperwork 1.3.0

Mail posted on the old mailing-list the 2019/8/19:

Hello,

I’m pleased to announce the release of Paperwork 1.3.0, code-named
“Fudge”.

IMPORTANT: The main change is that Paperwork now uses Libinsane[1]
instead of Pyinsane[2]. Libinsane is not a Python library. Do not
expect to find it on Pypi. It is a C library.

Most of the other changes are minor features or bug fixes.

Here are the other main changes in Paperwork 1.3 (frontend):

  • Replace application menu by primary menu (new Gnome recommendation)
    (thanks to Mathieu Jourdan)
  • Remove documentations ‘hacking’ and ‘translating’. They are in the
    Wiki
    now.
  • Settings window: If no scanner has been found and we are running
    inside
    a Flatpak container, show a popup to the user explaining how to enable
    and
    configure Saned.
  • Fix: Ignore word boxes starting at (0, 0) (Tesseract bug ?) (thanks to
    Jonas Wloka and Balló György)
  • Install icons in the correct hicolor sub-directory (thanks to
    Elliott Sales de Andrade)

A more detailed list of changes can be found in the ChangeLog:

Here are the other main changes in Paperwork-backend 1.3:

  • Disable the use of a dedicated process for index operations: it
    prevents debugging and didn’t improve much the Python GIL situation.
  • paperwork-shell: Add name and label arguments to command ‘import’
    (thanks to
    Stéphane Brunner)
  • Backend: Fix importing PNG files with transparency (thanks to Balló
    György)

A more detailed list of changes can be found in the ChangeLog:

Main change in the Flatpak repository:

  • All dependencies have been updated to their latest versions (GTK,
    Tesseract 4, etc)

Main change in Windows installer:

  • All dependencies have been updated to their latest versions available
    in MSYS2 (GTK, Tesseract 4, etc)
  • Installer now always install the latest build from the branch ‘master’
    (aka ‘stable’) instead of installing the latest release. It will be
    possible to install next versions of Paperwork simply by uninstalling it
    and reinstalling it using the same installer.

As usual, information regarding Paperwork installation and updating can
be found at
https://gitlab.gnome.org/World/OpenpaperWork/paperwork#readme .
Windows version is available here:
https://openpaper.work/

For the future Paperwork 1.4, I’m focusing on turning the backend part
of the code into a bunch of plugins[3]. After Paperwork 1.4, I’m going
to turn the whole frontend into a bunch of plugins as well. It’s my hope
that this plugin-ification of Paperwork will make separations of
concerns much clearer and make the code more modulable, readable and
testable/tested. My end goals are making contributions easier, making
Paperwork more portable (for instance, I still have Android), and making
components reusable for other future applications.

Enjoy :slight_smile:


[1] https://gitlab.gnome.org/World/OpenPaperwork/libinsane/#readme
[2] https://gitlab.gnome.org/World/OpenPaperwork/pyinsane/#readme
[3] https://gitlab.gnome.org/World/OpenPaperwork/paperwork/issues/194