Go to file
2017-08-21 23:24:19 +02:00
.travis Travis support for OSX 2017-08-20 18:08:59 +02:00
config Fix compiler flags on Linux 2017-08-21 23:18:27 +02:00
contrib #11 Integrating fix into master (accidentally lost on 2017-08-07 by rebase -force) 2017-08-09 23:51:03 +01:00
doc Fix: https://github.com/Exiv2/exiv2/issues/5 2017-05-31 21:02:29 +01:00
include/exiv2 Remove include tags_int.hpp from include/exiv2/*video.hpp files 2017-08-18 13:52:05 +01:00
msvc Restoring exv_msvc.h for use by msvc/exiv2/libexiv2.vcproj 2017-08-11 15:45:50 +01:00
po Only set CMAKE_RUNTIME_OUTPUT_DIRECTORY once 2017-08-21 23:24:19 +02:00
samples Only set CMAKE_RUNTIME_OUTPUT_DIRECTORY once 2017-08-21 23:24:19 +02:00
src Only set CMAKE_RUNTIME_OUTPUT_DIRECTORY once 2017-08-21 23:24:19 +02:00
test Fixing issues with Cygwin test suite. 2017-08-08 20:34:48 +01:00
website Redo 583cfd6e which was accidentally lost on 2017-08-07 (impacts #19 and #1302) 2017-08-10 00:07:57 +01:00
xmpsdk Simplify CMake logic for some compiler options related to the XMP target 2017-08-21 23:19:47 +02:00
.gitignore Ignore vim .swp temporary files 2017-07-07 17:26:15 +02:00
.travis.yml Travis support for OSX 2017-08-20 18:08:59 +02:00
ABOUT-NLS Merged revisions 907:999 from gettext branch into trunk 2006-12-03 08:42:50 +00:00
AUTHORS Refer to doc/ChangeLog for authors and other contributors. 2010-04-24 06:03:24 +00:00
bootstrap.linux dupplicates options 2016-12-04 19:15:08 +00:00
bootstrap.macports dupplicates options 2016-12-04 19:15:08 +00:00
bootstrap.mxe add support of MXE xrosscompiling for Windows, based on MinGW. 2016-12-01 20:23:30 +00:00
CMakeLists.txt Only set CMAKE_RUNTIME_OUTPUT_DIRECTORY once 2017-08-21 23:24:19 +02:00
COPYING Updated copyright and fsf address 2006-01-17 14:53:57 +00:00
COPYING-CMAKE-SCRIPTS use dedicated licence file for CMake Script, as it done into KDE project. 2012-03-27 11:00:44 +00:00
FindExiv2.cmake Adding Gilles' FindExiv2.cmake. Adding a pre-build header copy modify sample include path. 2012-06-05 01:09:45 +00:00
fixxml.sh Add script fixxml.sh to put the .vcproj and .vcxproj xml files on a line-count diet! 2014-09-08 22:03:51 +00:00
Makefile MacOSX --with-adobe link issue. exiv2 now links correctly. Other samples remain broken. 2017-08-19 09:18:21 +01:00
README-CMAKE Documentation update to withdraw support for MinGW. The code-base has not been modified and will probably build with MinGW. However Team Exiv2 will not support this platform. 2017-06-06 17:43:05 +01:00
README.md Code block for the README header 2017-08-20 21:23:02 +02:00
TODO-CMAKE Documentation update to withdraw support for MinGW. The code-base has not been modified and will probably build with MinGW. However Team Exiv2 will not support this platform. 2017-06-06 17:43:05 +01:00
WORK-IN-PROGRESS Build specification for v0.26.1 2017-08-18 14:58:01 +01:00

Build Status


    @@@Marco@@@@@b                   ;mm                       /##Gilles###\
    j@@@#Robin",                     Brad                     /@@@Thomas@@@@Q
     @@@#       \                     ##                     @@@b     |@@@b
     @@@#          .;;;;,     ,;;;, ,;;;;  ,;;;p      .;;;   7@@      ]Alan
     @@@#           j@@@@,   ]@@#/  '@@@#  j@@@#      ]@@^           ;@@@"
     @@@Andreas@C     "@@@p @@@"     @@@b   j@@@p     @@b           @@@#/
     @@@#^7"7%#\       ^@@@@@#~      Benb    1@@@    {@#          s@@@#
     @@@#                Niels       @@@b     @@@Q  ]@#         ;@@@#/
     @@@#              ,@@##@@m      @@@b      @@@p @@C        #@@#C
     @@@#       ,/    s@@#  @@@@     @@@b       Volker       @Tuan@
    ]@@@Abhinav@@\   /@@@\    \@@@Q  @@@Q       %@@@#      /@@@@Mahesh@@#
   /@@Raphael@@@@@\ /@@@@@\     C++  Metadata  Library    /@Sridhar@@@v0.26\

Exiv2

Welcome to Exiv2, a C++ library and a command line utility to read and write Exif, IPTC and XMP image metadata. The homepage of Exiv2 is:

http://www.exiv2.org/

See doc/ChangeLog for a list of recent changes to Exiv2.

Exiv2 API and tag reference documentation is at http://www.exiv2.org/doc or you can build it and point your browser to doc/index.html.

For more information on XMP support in Exiv2, see doc/README-XMP.

Building and Installing

You can build the libraries in the following ways:

1 UNIX-like systems (including GNU/Linux, MacOS-X, Cygwin (32 and 64), MinGW (32 and 64)

2 Microsoft Visual C++

  • see msvc/ReadMe.txt (32bit and 64bit builds Visual Studio 2005,08,10,12,13,15)

3 CMake (support for cmake on all platforms except MinGW)

  • see README-CMAKE for more information

To build a commercial version of the Exiv2 library, see also section "Commercial version" at the end of this file.

On UNIX-like systems, use the GNU configure script. Run the following commands from the top directory (containing this file) to configure, build and install the library and utility:

$ ./configure
$ make
$ sudo make install  (Cygwin/MinGW $ make install)

Caution: If you downloaded the source code from the subversion repository, you will have to generate the configure script:

$ make config
$ ./configure
$ make
$ sudo make install  (Cygwin/MinGW $ make install)

To build the sample applications:

$ make samples

The default install locations are /usr/local/lib for the library, /usr/local/bin for the exiv2 utility and /usr/local/include/exiv2 for the header files. Use the --prefix=directory option of the configure script to change the default. Run './configure --help' to see a list of all options.

To uninstall Exiv2 from a UNIX-like system, run:

$ sudo make uninstall

Dependencies

The following libexiv2 features are enabled by default and may*) require external libraries. They can be controlled through configure options. See also './configure --help'.

Feature Package Configure options


PNG image support zlib --without-zlib --with-zlib=DIR Native language support gettext --disable-nls Characterset conversions libiconv --without-libiconv-prefix --with-libiconv-prefix[=DIR] XMP support expat --disable-xmp --with-expat=DIR

zlib http://zlib.net/ gettext *) http://www.gnu.org/software/gettext/ libiconv *) http://www.gnu.org/software/libiconv/ expat http://expat.sourceforge.net/

*) Some systems have gettext and iconv in libc. The configure script should detect this.

On Linux, it is usually best to install the dependencies through the package management system of the distribution together with the corresponding development packages (for the header files and static libraries).

To build the sample programs in the samples/ directory ('make samples'), you also need to have the pkg-config program.

To generate the documentation ('make doc'), you will further need doxygen, graphviz, python and xsltproc.

pkg-config http://pkg-config.freedesktop.org/wiki/ doxygen http://www.doxygen.org/ graphviz http://www.graphviz.org/ python http://www.python.org/ xsltproc http://xmlsoft.org/XSLT/ md5sum http://www.microbrew.org/tools/md5sha1sum/

Troubleshooting

If you have problems building Exiv2 on UNIX-like systems, check the generated config/config.mk and config/config.h files. You should not need to modify any Makefile directly, in particular not src/Makefile!

Support

All project resources are accessible from the project website at

http://dev.exiv2.org/wiki/exiv2

Please send feedback or queries to the Exiv2 forum. For new bug reports and feature requests, please open an issue.

Linking your own code with Exiv2

A pkg-config .pc file is installed together with the library. Application developers can use pkg-config(1) to obtain correct compile and link time flags for the Exiv2 library. See samples/Makefile for an example.

If you downloaded Exiv2 directly from the subversion repository, and you want to build it using the GNU configure script, then you need to have GNU Autoconf installed on your system and create the configure script as the first step:

$ make config

Then run the usual './configure; make; make install' commands.

Exiv2 uses GNU Libtool in order to build shared libraries on a variety of systems. While this is very nice for making usable binaries, it can be a pain when trying to debug a program. For that reason, compilation of shared libraries can be turned off by specifying the --disable-shared option to the configure script.

License

Copyright (C) 2004-2017 Andreas Huggel ahuggel@gmx.net

Exiv2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Exiv2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.

Commercial version

If you have a commercial license, you must disable NLS support and the conversion of Nikon lens data to readable lens names to build a commercial version of the Exiv2 library.

To do this on Windows, compile the library with the preprocessor symbol EXV_COMMERCIAL_VERSION defined in msvc\include\exv_msvc.h

On UNIX-like systems, run the configure script with the options --enable-commercial --disable-nls --disable-lensdata.

That's all Folks