Преглед на файлове

Shortened additional features section

master
Bert преди 13 години
родител
ревизия
32a65201bb
променени са 1 файла, в които са добавени 10 реда и са изтрити 17 реда
  1. +10
    -17
      README.md

+ 10
- 17
README.md Целия файл

@@ -30,7 +30,6 @@ Image mode:


<img src="http://github.com/muennich/sxiv/raw/master/sample/image.png"> <img src="http://github.com/muennich/sxiv/raw/master/sample/image.png">



Thumbnail mode: Thumbnail mode:


<img src="http://github.com/muennich/sxiv/raw/master/sample/thumb.png"> <img src="http://github.com/muennich/sxiv/raw/master/sample/thumb.png">
@@ -60,22 +59,16 @@ Additional features
The XFLAGS and XLIBS macros control which additional features (non-default The XFLAGS and XLIBS macros control which additional features (non-default
compile-time features) should be enabled and included during compilation. compile-time features) should be enabled and included during compilation.


The following table lists the available additional features--the column * GIF support:
*Requires* indicates, which libraries need to be installed for a feature; the XFLAGS=-DGIF_SUPPORT, XLIBS=-lgif, requires: giflib
columns *XFLAGS* and *XLIBS* show, what needs to be added to these macros to * EXIF support:
enable the corresponding feature: XFLAGS=-DEXIF_SUPPORT, XLIBS=-lexif, requires: libexif

To enable GIF and EXIF support, the giflib and libexif libraries need to be
Feature | Requires | XFLAGS | XLIBS installed on your system and you need to change the first build command to:
----------------------------------+----------+----------------+--------
GIF support: Load all frames and | giflib | -DGIF_SUPPORT | -lgif
play animations of GIF files | | |
----------------------------------+----------+----------------+--------
EXIF support: auto-orientate JPEG | libexif | -DEXIF_SUPPORT | -lexif
files according to their EXIF tag | | |

For instance, to enable GIF and EXIF support, the giflib and libexif libraries
need to be installed on your system and you need to change the first build
command to:


$ make XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT" XLIBS="-lgif -lexif" $ make XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT" XLIBS="-lgif -lexif"




||||||
x
 
000:0
Loading…
Отказ
Запис