Hi everyone,

finally! here is the patch to add conditional compilation of the
libmagic detection (with old method fallback). Actually the fallback
is both at compilation time, and runtime: if the libmagic method does
not work, it fallsback to the old method.

There are 3 patches attached: the first 2;
- (0001-...) implement the patch previously sent (with the *flags* bug
corrected)
- (0002-...) implements conditional compilation on top of (0001-...)
- (libmagic-detection-...) is a fusion of the 2 above (thus can be
applied on top of origin/master)

The conditional compilation of the libmagic feature is activated by
default in config.mk; is this a good idea? it would mean that we
expect libmagic to be installed in most cases.

Diego

Attachment: 0001-patch-sent-to-mailinglist.patch
Description: Binary data

Attachment: 0002-libmagic-filetype-detection-optional-in-build.patch
Description: Binary data

Attachment: libmagic-detection-with-option-build-conditional.patch
Description: Binary data

_______________________________________________
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura

Reply via email to