commit 32967ef99e7524f0b98d92f88342d16446ee93bd Author: Joaquim Rocha Date: Sun Mar 8 22:04:24 2020 +0100 Update for release 0.8.3 NEWS | 11 +++++++++++ configure.ac | 2 +- resources/org.gnome.OCRFeeder.appdata.xml.in | 12 ++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) commit 774b066d25eb1d4d56b700837cab2695e0017e9d Author: Joaquim Rocha Date: Sun Mar 8 21:50:37 2020 +0100 Remove unnecessary variable when importing a PDF It was assigned to the argument value and used only once. src/ocrfeeder/util/lib.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 72a60178e579f13c26ddd90030713658ddbc0472 Author: Joaquim Rocha Date: Sun Mar 8 21:47:56 2020 +0100 Add a prefix to the symlink when importing a PDF This is just an extra safety measure (maybe over-careful) to reduce the chances of future code modifications removing the original PDF path. src/ocrfeeder/util/lib.py | 3 +++ 1 file changed, 3 insertions(+) commit 5286120c8bc8b7ba74e0f9b19b5262b509f38cee Author: scx Date: Sun Mar 8 21:36:57 2020 +0100 Handle special chars in filenames when importing PDF files Some special characters (e.g. quotes) in the filename cause gs to fail. What's worse, gs interprets the escape character as a real character. This means that it cannot handle all Unix files on its own. We need to create a temp symlink as a workaround for gs limitations. Fixes GNOME/ocrfeeder#20 src/ocrfeeder/util/lib.py | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 57 insertions(+), 10 deletions(-) commit ee7506905fac7331f00e009ccad0031a298b5c1d Author: Joaquim Rocha Date: Sat Mar 7 21:49:04 2020 +0100 Replace use of deprecated os.popen os.popen has been deprecated since Python 2.6, and was never changed since OCRFeeder's first version. These changes replace the use of os.popen (when converting a PDF to an image) by the use of subprocess.run. See for more references: https://docs.python.org/2/library/os.html#os.popen https://docs.python.org/3/library/subprocess.html#replacing-os-popen-os-popen2-os-popen3 This commit is based on a similar fix proposed by @scx (thank you!): https://gitlab.gnome.org/GNOME/ocrfeeder/-/merge_requests/7 src/ocrfeeder/util/lib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4548fdefe07ed1ca41aa273ca4a8ffb52042c988 Author: Joaquim Rocha Date: Sat Mar 7 21:42:17 2020 +0100 build: Include the appdata.xml.in file in the dist tarball We need to include the mentioned file in the tarball. Fixes #21 resources/Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 25ef5bc050485522be635ce761052321a5014d75 Author: Andre Klapper Date: Thu Mar 5 00:44:38 2020 +0100 Fix broken markup in Basque UI translation po/eu.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e00176ed055b07995fc40f99aa3427b5ac58389a Author: Rafael Fontenelle Date: Thu Feb 13 13:50:33 2020 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 699 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------ 1 file changed, 371 insertions(+), 328 deletions(-) commit b9450893729182a799da53c482ec6922ae5e369f Author: Daniel Mustieles Date: Tue Jan 28 15:48:47 2020 +0100 Updated Spanish translation po/es.po | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------- 1 file changed, 76 insertions(+), 41 deletions(-)