Updated doc
This commit is contained in:
		
							
								
								
									
										18
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								README.md
									
									
									
									
									
								
							@@ -35,8 +35,8 @@ included during compilation.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
The following table lists the available additional features--the column
 | 
					The following table lists the available additional features--the column
 | 
				
			||||||
*Requires* indicates, which libraries need to be installed for a feature; the
 | 
					*Requires* indicates, which libraries need to be installed for a feature; the
 | 
				
			||||||
columns *XFLAGS* and *XLIBS* show, what needs to be added to these environment
 | 
					columns *XFLAGS* and *XLIBS* show, what needs to be added to these
 | 
				
			||||||
variables to enable the corresponding feature:
 | 
					macros/environment variables to enable the corresponding feature:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Feature                           | Requires | XFLAGS         | XLIBS
 | 
					    Feature                           | Requires | XFLAGS         | XLIBS
 | 
				
			||||||
    ----------------------------------+----------+----------------+--------
 | 
					    ----------------------------------+----------+----------------+--------
 | 
				
			||||||
@@ -46,12 +46,16 @@ variables to enable the corresponding feature:
 | 
				
			|||||||
    EXIF support: auto-orientate JPEG | libexif  | -DEXIF_SUPPORT | -lexif
 | 
					    EXIF support: auto-orientate JPEG | libexif  | -DEXIF_SUPPORT | -lexif
 | 
				
			||||||
    files according to their EXIF tag |          |                |
 | 
					    files according to their EXIF tag |          |                |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
For instance, to enable GIF support, the giflib library needs to be installed
 | 
					For instance, to enable GIF and EXIF support, the giflib and libexif libraries
 | 
				
			||||||
on your system and you need to execute the following shell commands before
 | 
					need to be installed on your system and you either need to change the first
 | 
				
			||||||
running make:
 | 
					build command to:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    $ export XFLAGS=-DGIF_SUPPORT
 | 
					    $ make XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT" XLIBS="-lgif -lexif"
 | 
				
			||||||
    $ export XLIBS=-lgif
 | 
					
 | 
				
			||||||
 | 
					Or you need to run the following commands before building sxiv:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    $ export XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT"
 | 
				
			||||||
 | 
					    $ export XLIBS="-lgif -lexif"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Usage
 | 
					Usage
 | 
				
			||||||
=====
 | 
					=====
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user