gotomypc / leptonica

Automatically exported from code.google.com/p/leptonica
0 stars 0 forks source link

pixDisplay() - use open on Mac OS X instead of defaulting to xzgv #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run for example prog/livre_makefigs under Mac OS X
2. It tries to invoke xzgv which won't work on most installs

What is the expected output? What do you see instead?
The patch attached invokes the 'open' command on Mac OS X instead. Then the 
user will just need to setup the default viewer to use for all file types.

What version of the product are you using? On what operating system?
leptonica 1.69 - Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; 
root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64

Please provide any additional information below.
Patch provided. Use with -p1.

Many thanks for Leptonica. It absolutely rocks!

Original issue reported on code.google.com by pierre.q...@gmail.com on 16 Jan 2014 at 11:01

Attachments:

GoogleCodeExporter commented 9 years ago
I can't seem to change the Type and Priority, but this should be classified as 
Enhancement / Low.

Original comment by pierre.q...@gmail.com on 16 Jan 2014 at 11:04

GoogleCodeExporter commented 9 years ago
Pierre, thanks for the suggestion.  Glad you like the library.

I've applied your patch and it will go out with 1.70, which I expect to be by 
20 Jan 14.

Original comment by dan.bloo...@gmail.com on 16 Jan 2014 at 11:38

GoogleCodeExporter commented 9 years ago
1.70 is out.  YOu can get it at leptonica.org/download.html

Original comment by dan.bloo...@gmail.com on 23 Jan 2014 at 10:01