ogmrip: fix subtitle ocr using tesseract-ocr + fix xlint warning

This commit is contained in:
newbluemoon 2017-10-16 21:11:08 +02:00 committed by Enno Boland
parent 9b8f508aba
commit 74bf9f4339
2 changed files with 22 additions and 2 deletions

View File

@ -0,0 +1,20 @@
--- libogmrip/ogmrip-srt.c.orig 2015-01-10 14:39:43.000000000 +0100
+++ libogmrip/ogmrip-srt.c 2017-10-16 21:00:19.921665865 +0200
@@ -228,7 +228,7 @@
g_return_val_if_fail (input != NULL, NULL);
argv = g_ptr_array_new ();
- g_ptr_array_add (argv, g_strdup ("tesseract"));
+ g_ptr_array_add (argv, g_strdup ("tesseract-ocr"));
g_ptr_array_add (argv, g_strdup (input));
g_ptr_array_add (argv, g_strdup (input));
@@ -555,7 +555,7 @@
}
#ifdef HAVE_TESSERACT_SUPPORT
- fullname = g_find_program_in_path ("tesseract");
+ fullname = g_find_program_in_path ("tesseract-ocr");
use_tesseract = fullname != NULL;
g_free (fullname);

View File

@ -1,8 +1,8 @@
# Template file for 'ogmrip'
pkgname=ogmrip
version=1.0.1
revision=1
short_desc="Application and ripping and encoding DVD into AVI, OGM, MP4, or Matroska"
revision=2
short_desc="Application to rip and encode DVDs into AVI, OGM, MP4, or Matroska"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="LGPL-2.1"
homepage="http://ogmrip.sourceforge.net/en/index.html"