nsxiv32a6520
Shortened additional features section
+10 −17
1 file changed
- M README.md +10 −17
| @@ -30,7 +30,6 @@ Image mode: | |||
| 30 | 30 | ||
| 31 | 31 | <img src="http://github.com/muennich/sxiv/raw/master/sample/image.png"> | |
| 32 | 32 | ||
| 33 | − | ||
| 34 | 33 | Thumbnail mode: | |
| 35 | 34 | ||
| 36 | 35 | <img src="http://github.com/muennich/sxiv/raw/master/sample/thumb.png"> | |
| @@ -60,22 +59,16 @@ Additional features | |||
| 60 | 59 | The XFLAGS and XLIBS macros control which additional features (non-default | |
| 61 | 60 | compile-time features) should be enabled and included during compilation. | |
| 62 | 61 | ||
| 63 | − | The following table lists the available additional features--the column | |
| 64 | − | *Requires* indicates, which libraries need to be installed for a feature; the | |
| 65 | − | columns *XFLAGS* and *XLIBS* show, what needs to be added to these macros to | |
| 66 | − | enable the corresponding feature: | |
| 67 | − | ||
| 68 | − | Feature | Requires | XFLAGS | XLIBS | |
| 69 | − | ----------------------------------+----------+----------------+-------- | |
| 70 | − | GIF support: Load all frames and | giflib | -DGIF_SUPPORT | -lgif | |
| 71 | − | play animations of GIF files | | | | |
| 72 | − | ----------------------------------+----------+----------------+-------- | |
| 73 | − | EXIF support: auto-orientate JPEG | libexif | -DEXIF_SUPPORT | -lexif | |
| 74 | − | files according to their EXIF tag | | | | |
| 75 | − | ||
| 76 | − | For instance, to enable GIF and EXIF support, the giflib and libexif libraries | |
| 77 | − | need to be installed on your system and you need to change the first build | |
| 78 | − | command to: | |
| 62 | + | * GIF support: | |
| 63 | + | ||
| 64 | + | XFLAGS=-DGIF_SUPPORT, XLIBS=-lgif, requires: giflib | |
| 65 | + | ||
| 66 | + | * EXIF support: | |
| 67 | + | ||
| 68 | + | XFLAGS=-DEXIF_SUPPORT, XLIBS=-lexif, requires: libexif | |
| 69 | + | ||
| 70 | + | To enable GIF and EXIF support, the giflib and libexif libraries need to be | |
| 71 | + | installed on your system and you need to change the first build command to: | |
| 79 | 72 | ||
| 80 | 73 | $ make XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT" XLIBS="-lgif -lexif" | |
| 81 | 74 | ||