Difference between revisions of "Libextractor"

From CBLFS
Jump to navigationJump to search
m
 
(8 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
----
 
----
  
== Introduction to Libextractor ==
+
{{Package-Introduction|libextractor is a library used to extract meta-data from files.  It is designed to use helper-libraries to perform the actual extraction.  libextractor supports the following formats: HTML, PDF, PS, OLE2 (DOC, XLS, PPT), OpenOffice (sxw), StarOffice (sdw), DVI, MAN, MP3 (ID3v1 and ID3v2), NSF (NES Sound Format), SID, OGG, WAV, EXIV2, JPEG, GIF, PNG, TIFF, DEB, RPM, TAR(.GZ), ZIP, ELF, REAL, RIFF (AVI), MPEG, QT and ASF.|http://gnunet.org/libextractor}}
 
 
<Package Description Needed>
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 16: Line 14:
 
* [[Glib2]]
 
* [[Glib2]]
 
* [[Gtk2]]
 
* [[Gtk2]]
 +
* [[libvorbis]]
 +
* [[iso-codes]]
 +
* [[libmpeg2]]
 +
* [[Xpdf]]
 +
* [[Qt3]]
 +
* [[libgsf]]
 +
 +
== Configuration Information ==
 +
 +
Some configuration options that you may want to pass to the configure script:
 +
 +
{|style="text-align: left"
 +
|-
 +
|<i>--(dis/en)able-printable:</i> Enable printable support.
 +
|-
 +
|<i>--(dis/en)able-xpdf:</i> Enable xpdf-based extractor.
 +
|-
 +
|<i>--(dis/en)able-exiv2:</i> Enable exiv2 support.
 +
|}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 46: Line 63:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "/\(LDFLAGS\|EXT_LIB_PATH\)/s@/lib@&32@g" configure &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
Line 58: Line 76:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "/\(LDFLAGS\|EXT_LIB_PATH\)/s@/lib@&64@g" configure &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
Line 68: Line 87:
 
= Contents =
 
= Contents =
  
{| style="text-align: left;"
+
{|style="text-align: left"
|-
+
|-valign="top"
! Installed Programs:
+
!Installed Directories:
| ???
+
|/usr/lib/libextractor
|-
+
|-valign="top"
! Installed Libraries:
+
!Installed Programs:
| ???
+
|extract
|-
+
|-valign="top"
! Installed Directories:
+
!Installed Libraries:
| ???
+
|libextractor.{so,la}, libextractor_thumbnail.{so,la}, libextractor_deb.{so,la}, libextractor_dvi.{so.la}, libextractor_elf.{so,la}, libextractor_filename.{so,la}, libextractor_gif.{so,la}, libextractor_html.{so,la}, libextractor_id3v2.{so,la}, libextractor_id3v24.{so,la}, libextractor_id3v23.{so,la}, libextractor_jpeg.{so,la}, libextractor_lower.{so,la}, libextractor_man.{so,la}, libextractor_mime.{so,la}, libextractor_mp3.{so,la}, libextractor_mpeg.{so,la}, libextractor_nsf.{so,la}, libextractor_ogg.{so,la}, libextractor_png.{so,la}, libextractor_ps.{so,la}, libextractor_qt.{so,la}, libextractor_real.{so,la}, libextractor_riff.{so,la}, libextractor_split.{so,la}, libextractor_tar.{so,la}, libextractor_tiff.{so,la}, libextractor_translit.{so,la}, libextractor_wav.{so,la}, libextractor_zip.{so,la}, libextractor_oo.{so,la}, libextractor_printable_da.{so,la}, libextractor_printable_de.{so,la}, libextractor_printable_en.{so,la}, libextractor_printable_es.{so,la}, libextractor_printable_fi.{so,la}, libextractor_printable_fr.{so,la}, libextractor_printable_ga.{so,la}, libextractor_printable_it.{so,la}, libextractor_printable_no.{so,la}, libextractor_printable_pt.{so,la}, libextractor_printable_sv.{so,la}, libextractor_hash_md5.{so,la}, libextractor_hash_sha1.{so,la}, libextractor_hash_rmd160.{so,la}, libextractor_ole2.{so,la}, libextractor_rpm.{so,la}, libextractor_pdf.{so,la}, libextractor_thumbnailgtk.{so,la}, libextractor_exiv2.{so,la}
 +
|-valign="top"
 +
!Symlinks:
 +
|/usr/lib/libextractor.so.1.1.1  -->  /usr/lib/libextractor.so.1.1.1, /usr/lib/libextractor.so.1  -->  /usr/lib/libextractor.so.1.1.1, /usr/lib/libextractor.so.1.1.1  -->  /usr/lib/libextractor.so.1.1.1, /usr/lib/libextractor.so  -->  /usr/lib/libextractor.so.1.1.1, /usr/lib/libextractor/libextractor_thumbnail.so  -->  /usr/lib/libextractor/libextractor_thumbnailgtk.so,
 
|}
 
|}
  
Line 84: Line 106:
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|-
 
|-
! program1
+
!extract
| ???
+
|is a program the extracts metadata information from a file.
|-
 
! program2
 
| ???
 
 
|}
 
|}
 +
 +
[[Category:General Libs]]

Latest revision as of 08:51, 8 February 2009

Download Source: ftp://ftp.gnu.org/gnu/libextractor/libextractor-0.5.22.tar.gz

Introduction to Libextractor

libextractor is a library used to extract meta-data from files. It is designed to use helper-libraries to perform the actual extraction. libextractor supports the following formats: HTML, PDF, PS, OLE2 (DOC, XLS, PPT), OpenOffice (sxw), StarOffice (sdw), DVI, MAN, MP3 (ID3v1 and ID3v2), NSF (NES Sound Format), SID, OGG, WAV, EXIV2, JPEG, GIF, PNG, TIFF, DEB, RPM, TAR(.GZ), ZIP, ELF, REAL, RIFF (AVI), MPEG, QT and ASF.

Project Homepage: http://gnunet.org/libextractor

Dependencies

Optional

Configuration Information

Some configuration options that you may want to pass to the configure script:

--(dis/en)able-printable: Enable printable support.
--(dis/en)able-xpdf: Enable xpdf-based extractor.
--(dis/en)able-exiv2: Enable exiv2 support.

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

sed -i "/\(LDFLAGS\|EXT_LIB_PATH\)/s@/lib@&32@g" configure &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

sed -i "/\(LDFLAGS\|EXT_LIB_PATH\)/s@/lib@&64@g" configure &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install

Contents

Installed Directories: /usr/lib/libextractor
Installed Programs: extract
Installed Libraries: libextractor.{so,la}, libextractor_thumbnail.{so,la}, libextractor_deb.{so,la}, libextractor_dvi.{so.la}, libextractor_elf.{so,la}, libextractor_filename.{so,la}, libextractor_gif.{so,la}, libextractor_html.{so,la}, libextractor_id3v2.{so,la}, libextractor_id3v24.{so,la}, libextractor_id3v23.{so,la}, libextractor_jpeg.{so,la}, libextractor_lower.{so,la}, libextractor_man.{so,la}, libextractor_mime.{so,la}, libextractor_mp3.{so,la}, libextractor_mpeg.{so,la}, libextractor_nsf.{so,la}, libextractor_ogg.{so,la}, libextractor_png.{so,la}, libextractor_ps.{so,la}, libextractor_qt.{so,la}, libextractor_real.{so,la}, libextractor_riff.{so,la}, libextractor_split.{so,la}, libextractor_tar.{so,la}, libextractor_tiff.{so,la}, libextractor_translit.{so,la}, libextractor_wav.{so,la}, libextractor_zip.{so,la}, libextractor_oo.{so,la}, libextractor_printable_da.{so,la}, libextractor_printable_de.{so,la}, libextractor_printable_en.{so,la}, libextractor_printable_es.{so,la}, libextractor_printable_fi.{so,la}, libextractor_printable_fr.{so,la}, libextractor_printable_ga.{so,la}, libextractor_printable_it.{so,la}, libextractor_printable_no.{so,la}, libextractor_printable_pt.{so,la}, libextractor_printable_sv.{so,la}, libextractor_hash_md5.{so,la}, libextractor_hash_sha1.{so,la}, libextractor_hash_rmd160.{so,la}, libextractor_ole2.{so,la}, libextractor_rpm.{so,la}, libextractor_pdf.{so,la}, libextractor_thumbnailgtk.{so,la}, libextractor_exiv2.{so,la}
Symlinks: /usr/lib/libextractor.so.1.1.1 --> /usr/lib/libextractor.so.1.1.1, /usr/lib/libextractor.so.1 --> /usr/lib/libextractor.so.1.1.1, /usr/lib/libextractor.so.1.1.1 --> /usr/lib/libextractor.so.1.1.1, /usr/lib/libextractor.so --> /usr/lib/libextractor.so.1.1.1, /usr/lib/libextractor/libextractor_thumbnail.so --> /usr/lib/libextractor/libextractor_thumbnailgtk.so,

Short Descriptions

extract is a program the extracts metadata information from a file.