nsxiv70d37c5
Updated doc
+11 −7
1 file changed
- M README.md +11 −7
| @@ -35,8 +35,8 @@ included during compilation. | |||
| 35 | 35 | ||
| 36 | 36 | The following table lists the available additional features--the column | |
| 37 | 37 | *Requires* indicates, which libraries need to be installed for a feature; the | |
| 38 | − | columns *XFLAGS* and *XLIBS* show, what needs to be added to these environment | |
| 39 | − | variables to enable the corresponding feature: | |
| 38 | + | columns *XFLAGS* and *XLIBS* show, what needs to be added to these | |
| 39 | + | macros/environment variables to enable the corresponding feature: | |
| 40 | 40 | ||
| 41 | 41 | Feature | Requires | XFLAGS | XLIBS | |
| 42 | 42 | ----------------------------------+----------+----------------+-------- | |
| @@ -46,12 +46,16 @@ variables to enable the corresponding feature: | |||
| 46 | 46 | EXIF support: auto-orientate JPEG | libexif | -DEXIF_SUPPORT | -lexif | |
| 47 | 47 | files according to their EXIF tag | | | | |
| 48 | 48 | ||
| 49 | − | For instance, to enable GIF support, the giflib library needs to be installed | |
| 50 | − | on your system and you need to execute the following shell commands before | |
| 51 | − | running make: | |
| 49 | + | For instance, to enable GIF and EXIF support, the giflib and libexif libraries | |
| 50 | + | need to be installed on your system and you either need to change the first | |
| 51 | + | build command to: | |
| 52 | 52 | ||
| 53 | − | $ export XFLAGS=-DGIF_SUPPORT | |
| 54 | − | $ export XLIBS=-lgif | |
| 53 | + | $ make XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT" XLIBS="-lgif -lexif" | |
| 54 | + | ||
| 55 | + | Or you need to run the following commands before building sxiv: | |
| 56 | + | ||
| 57 | + | $ export XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT" | |
| 58 | + | $ export XLIBS="-lgif -lexif" | |
| 55 | 59 | ||
| 56 | 60 | Usage | |
| 57 | 61 | ===== | |