From d665f6aeb68def39f123ef4b2f0df5e101fb4265 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 28 Aug 2012 11:37:09 +0200 Subject: Do not enable imagemagick by default --- ChangeLog | 3 +++ man/feh.pre | 14 ++++---------- src/options.c | 2 +- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 76f5cd9..8f758fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,9 @@ git HEAD (consequence: lossless rotate no longer works for such files) * --reload now accepts rational numbers * Fix --filelist trying to load .txt files with imagemagick + * imagemagick support is now disabled by default, to make feh behaviour + less confusing. Set --magick-timeout to a non-negative value to enable + it (--magick-timeout 5 for feh-2.5 behaviour) Sun, 25 Mar 2012 13:13:26 +0200 Daniel Friesel diff --git a/man/feh.pre b/man/feh.pre index 4d673f4..e047286 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -118,18 +118,12 @@ can open any format supported by Imlib2, most notably jpeg and png. If the convert binary .Pq supplied by ImageMagick is available, it also has limited support for many other filetypes, such as -svg, xcf and otf. +svg, xcf and otf. Use +.Cm --magick-timeout Ar num +with a non-negative value to enable it. . For animated images, only the first frame is shown. . -.Pp -. -If you don't like the results produced by convert, disable it with -.Qq --magick-timeout -1 . -Also, note that -.Nm -will only try to convert a file for up to five seconds by default. -. . .Sh OPTIONS . @@ -401,7 +395,7 @@ Stop trying to convert unloadable files after seconds. A negative value disables covert / magick support altogether, a value of zero causes .Nm -to try indefinitely. Default timeout is 5 seconds. +to try indefinitely. By default, magick support is disabled. . .It Cm -M , --menu-font Ar font . diff --git a/src/options.c b/src/options.c index 6f11d07..09ae5cc 100644 --- a/src/options.c +++ b/src/options.c @@ -53,7 +53,7 @@ void init_parse_options(int argc, char **argv) opt.display = 1; opt.aspect = 1; opt.slideshow_delay = 0.0; - opt.magick_timeout = 5; + opt.magick_timeout = -1; opt.thumb_w = 60; opt.thumb_h = 60; opt.thumb_redraw = 10; -- cgit v1.2.3