Introduction to libgsf
        
        
          The libgsf package contains a
          library used for providing an extensible input/output abstraction
          layer for structured file formats.
        
        
          ![[Note]](../images/note.png) 
          
            Note
          
          
            Development versions of BLFS may not build or run some packages
            properly if LFS or dependencies have been updated since the most
            recent stable versions of the books.
          
         
        
          Package Information
        
        
        
          libgsf Dependencies
        
        
          Required
        
        
          GLib-2.86.1 and libxml2-2.15.1
        
        
          Recommended
        
        
          gdk-pixbuf-2.44.2 (To build gsf-office-thumbnailer)
        
        
          Optional
        
        
          7zip-25.01
          (for tests), GTK-Doc-1.35.1, Valgrind-3.26.0 (for
          tests), and 
          unzip (for tests)
        
       
      
        
          Installation of libgsf
        
        
          Install libgsf by running the
          following commands:
        
        ./configure --prefix=/usr --disable-static &&
make
        
          To test the results, issue: make
          check. Two tests related to Valgrind-3.26.0 are
          known to fail.
        
        
          Now, as the root user:
        
        make install
       
      
        
          Command Explanations
        
        
          --disable-static: This
          switch prevents installation of static versions of the libraries.
        
        
          --enable-gtk-doc: Use this parameter if
          GTK-Doc is installed and you wish
          to rebuild and install the API documentation.
        
       
      
        
          Contents
        
        
          
            
              Installed Programs:
              gsf, gsf-office-thumbnailer, and
              gsf-vba-dump
            
            
              Installed Library:
              libgsf-1.so
            
            
              Installed Directories:
              /usr/include/libgsf-1,
              /usr/share/gtk-doc/html/gsf and /usr/share/thumbnailers
            
           
         
        
          
            Short Descriptions
          
          
            
              
              
            
            
              
                | 
                    gsf
                   | 
                    is a simple archive utility, somewhat similar to
                    tar(1)
                   | 
              
                | 
                    gsf-office-thumbnailer
                   | 
                    is used internally by GNOME applications such as
                    Nautilus to generate
                    thumbnails of several types of office application files
                   | 
              
                | 
                    gsf-vba-dump
                   | 
                    is used to extract Visual Basic for Applications macros
                    from files
                   | 
              
                | 
                    libgsf-1.so | 
                    contains the libgsf API
                    functions
                   |