[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#769876: unblock: ocrfeeder/0.7.11-6



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package ocrfeeder

This package contains the fix for http://bugs.debian.org/767627

In order to fix desktop-mime-but-no-exec-code, ocrfeeder 0.7.11-4
replaced the "Exec=ocrfeeder" line in the .desktop file with
"Exec=ocrfeeder -i %f". This way, OCRFeeder was able to open a file
from e.g. Nautilus.

However this change doesn't allow opening OCRFeeder from the
applications menu, since "ocrfeeder -i" (with no extra arguments) is
not a valid way to launch the program.

This upload reverts the change.

unblock ocrfeeder/0.7.11-6

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru ocrfeeder-0.7.11/debian/changelog ocrfeeder-0.7.11/debian/changelog
--- ocrfeeder-0.7.11/debian/changelog	2014-10-19 13:09:35.000000000 +0300
+++ ocrfeeder-0.7.11/debian/changelog	2014-11-02 23:14:39.000000000 +0200
@@ -1,3 +1,14 @@
+ocrfeeder (0.7.11-6) unstable; urgency=medium
+
+  * desktop-exec-code.patch:
+    - Remove, this prevents OCRFeeder from being launched from the menu
+      (Closes: #767627).
+  * desktop-no-mime-types.patch:
+    - Remove the MimeType keyword from the desktop file since the command
+      listed in Exec cannot open an image. This needs a separate file.
+
+ -- Alberto Garcia <berto@igalia.com>  Sun, 02 Nov 2014 23:05:57 +0200
+
 ocrfeeder (0.7.11-5) unstable; urgency=medium
 
   * debian/control:
diff -Nru ocrfeeder-0.7.11/debian/patches/desktop-exec-code.patch ocrfeeder-0.7.11/debian/patches/desktop-exec-code.patch
--- ocrfeeder-0.7.11/debian/patches/desktop-exec-code.patch	2014-10-19 13:09:35.000000000 +0300
+++ ocrfeeder-0.7.11/debian/patches/desktop-exec-code.patch	1970-01-01 02:00:00.000000000 +0200
@@ -1,15 +0,0 @@
-From: Alberto Garcia <berto@igalia.com>
-Subject: Add code to the Exec key in order to open a file
-Index: ocrfeeder/resources/ocrfeeder.desktop.in
-===================================================================
---- ocrfeeder.orig/resources/ocrfeeder.desktop.in
-+++ ocrfeeder/resources/ocrfeeder.desktop.in
-@@ -4,7 +4,7 @@ Type=Application
- _Name=OCRFeeder
- _Comment=The complete OCR suite.
- TryExec=ocrfeeder
--Exec=ocrfeeder
-+Exec=ocrfeeder -i %f
- Icon=/usr/share/ocrfeeder/icons/ocrfeeder.svg
- MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;
- Categories=Application;Office;
diff -Nru ocrfeeder-0.7.11/debian/patches/desktop-no-mime-types.patch ocrfeeder-0.7.11/debian/patches/desktop-no-mime-types.patch
--- ocrfeeder-0.7.11/debian/patches/desktop-no-mime-types.patch	1970-01-01 02:00:00.000000000 +0200
+++ ocrfeeder-0.7.11/debian/patches/desktop-no-mime-types.patch	2014-11-02 23:14:39.000000000 +0200
@@ -0,0 +1,12 @@
+From: Alberto Garcia <berto@igalia.com>
+Subject: Add code to the Exec key in order to open a file
+Index: ocrfeeder/resources/ocrfeeder.desktop.in
+===================================================================
+--- ocrfeeder.orig/resources/ocrfeeder.desktop.in
++++ ocrfeeder/resources/ocrfeeder.desktop.in
+@@ -6,5 +6,4 @@ _Comment=The complete OCR suite.
+ TryExec=ocrfeeder
+ Exec=ocrfeeder
+ Icon=/usr/share/ocrfeeder/icons/ocrfeeder.svg
+-MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;
+ Categories=Application;Office;
diff -Nru ocrfeeder-0.7.11/debian/patches/series ocrfeeder-0.7.11/debian/patches/series
--- ocrfeeder-0.7.11/debian/patches/series	2014-10-19 13:09:35.000000000 +0300
+++ ocrfeeder-0.7.11/debian/patches/series	2014-11-02 23:14:39.000000000 +0200
@@ -3,4 +3,4 @@
 gtkspell.patch
 automake-warnings.patch
 gdk-threads.patch
-desktop-exec-code.patch
+desktop-no-mime-types.patch

Reply to: