[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:38:50 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=ba57eba

The following commit has been merged in the master branch:
commit ba57ebadce6cdde71c167b98465069085861323d
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Mon Oct 1 17:59:06 2007 +0000

    Added configure options for XMP support and integrated XMP Toolkit.
---
 Makefile                                         |   14 +-
 README                                           |    3 +
 README-XMP                                       |   66 +-
 config/config.h.in                               |    3 +
 config/config.mk.in                              |   33 +-
 config/configure.ac                              |   45 +
 doc/templates/getting-started.html.in            |   49 +-
 src/Makefile                                     |   12 +
 src/doxygen.hpp.in                               |    6 +-
 src/exv_msvc.h                                   |    6 +
 xmpsdk/README                                    |   73 +
 xmpsdk/include/TXMPFiles.hpp                     |  418 +++++
 xmpsdk/include/TXMPIterator.hpp                  |  205 +++
 xmpsdk/include/TXMPMeta.hpp                      | 1599 ++++++++++++++++
 xmpsdk/include/TXMPUtils.hpp                     |  845 +++++++++
 xmpsdk/include/XMP.hpp                           |   98 +
 xmpsdk/include/XMP.incl_cpp                      |   69 +
 xmpsdk/include/XMP_Const.h                       |  913 ++++++++++
 xmpsdk/include/XMP_Environment.h                 |  121 ++
 xmpsdk/include/XMP_Version.h                     |   45 +
 xmpsdk/include/client-glue/TXMPFiles.incl_cpp    |  347 ++++
 xmpsdk/include/client-glue/TXMPIterator.incl_cpp |  226 +++
 xmpsdk/include/client-glue/TXMPMeta.incl_cpp     |  927 ++++++++++
 xmpsdk/include/client-glue/TXMPUtils.incl_cpp    |  491 +++++
 xmpsdk/include/client-glue/WXMPFiles.hpp         |  155 ++
 xmpsdk/include/client-glue/WXMPIterator.hpp      |   83 +
 xmpsdk/include/client-glue/WXMPMeta.hpp          |  610 +++++++
 xmpsdk/include/client-glue/WXMPUtils.hpp         |  322 ++++
 xmpsdk/include/client-glue/WXMP_Common.hpp       |  110 ++
 xmpsdk/src/ExpatAdapter.cpp                      |  465 +++++
 xmpsdk/src/ExpatAdapter.hpp                      |   38 +
 xmpsdk/src/MD5.cpp                               |  325 ++++
 xmpsdk/src/MD5.h                                 |   46 +
 xmpsdk/src/Makefile                              |  126 ++
 xmpsdk/src/ParseRDF.cpp                          | 1344 ++++++++++++++
 xmpsdk/src/UnicodeConversions.cpp                | 1665 +++++++++++++++++
 xmpsdk/src/UnicodeConversions.hpp                |  121 ++
 xmpsdk/src/UnicodeInlines.incl_cpp               |  129 ++
 xmpsdk/src/WXMPIterator.cpp                      |  186 ++
 xmpsdk/src/WXMPMeta.cpp                          | 1285 +++++++++++++
 xmpsdk/src/WXMPUtils.cpp                         |  624 +++++++
 xmpsdk/src/XMLParserAdapter.hpp                  |   53 +
 xmpsdk/src/XMPCore_Impl.cpp                      | 1507 +++++++++++++++
 xmpsdk/src/XMPCore_Impl.hpp                      |  631 +++++++
 xmpsdk/src/XMPIterator.cpp                       |  735 ++++++++
 xmpsdk/src/XMPIterator.hpp                       |  148 ++
 xmpsdk/src/XMPMeta-GetSet.cpp                    | 1209 ++++++++++++
 xmpsdk/src/XMPMeta-Parse.cpp                     | 1290 +++++++++++++
 xmpsdk/src/XMPMeta-Serialize.cpp                 | 1352 ++++++++++++++
 xmpsdk/src/XMPMeta.cpp                           | 1471 +++++++++++++++
 xmpsdk/src/XMPMeta.hpp                           |  414 +++++
 xmpsdk/src/XMPUtils-FileInfo.cpp                 | 1257 +++++++++++++
 xmpsdk/src/XMPUtils.cpp                          | 2123 ++++++++++++++++++++++
 xmpsdk/src/XMPUtils.hpp                          |  220 +++
 xmpsdk/src/XMP_BuildInfo.h                       |   36 +
 55 files changed, 26607 insertions(+), 87 deletions(-)

diff --git a/Makefile b/Makefile
index c8e2501..eda2f54 100644
--- a/Makefile
+++ b/Makefile
@@ -12,9 +12,15 @@
 #  Requires GNU make.
 #
 
-.PHONY: all install uninstall doc config mostlyclean clean distclean maintainer-clean
+.PHONY: all doc config xmpsdk                        \
+        mostlyclean clean distclean maintainer-clean \
+        install uninstall
 
-all install uninstall: config/config.mk
+all install: config/config.mk xmpsdk
+	cd src && $(MAKE) $(MAKECMDGOALS)
+	cd po && $(MAKE) $(MAKECMDGOALS)
+
+uninstall: config/config.mk
 	cd src && $(MAKE) $(MAKECMDGOALS)
 	cd po && $(MAKE) $(MAKECMDGOALS)
 
@@ -24,9 +30,13 @@ doc: config/config.mk
 config:
 	cd config && $(MAKE) $(MAKECMDGOALS)
 
+xmpsdk: config/config.mk
+	cd xmpsdk/src && $(MAKE) $(MAKECMDGOALS)
+
 mostlyclean clean: config/config.mk
 	cd src && $(MAKE) $(MAKECMDGOALS)
 	cd doc && $(MAKE) $(MAKECMDGOALS)
+	cd xmpsdk/src && $(MAKE) $(MAKECMDGOALS)
 	cd config && $(MAKE) $(MAKECMDGOALS)
 	cd po && $(MAKE) $(MAKECMDGOALS)
 
diff --git a/README b/README
index 2e74271..b735f22 100644
--- a/README
+++ b/README
@@ -57,10 +57,13 @@ PNG image support           zlib      --without-zlib
 National language support   gettext   --disable-nls
 Converting Windows XP tags  libiconv  --disable-printucs2
                                       --with-libiconv-prefix[=DIR]
+XMP support                 expat     --disable-xmp
+                                      --with-expat=DIR
 
 zlib         http://www.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.
diff --git a/README-XMP b/README-XMP
index 9ea740e..c13ec54 100644
--- a/README-XMP
+++ b/README-XMP
@@ -1,16 +1,17 @@
 XMP support
-===========
-Todo: XMP support is controlled with the ENABLE_XMP directive 
-in config/config.mk.in. This will be a configure option
-eventually. To build Exiv2 without XMP support, comment the
-line "ENABLE_XMP = 1" either in config.mk.in before running
-./configure or in config.mk for now.
+***********
+
+XMP support is controlled with the --enable-xmp and 
+--disable-xmp options of the configure script. Building Exiv2
+with XMP support requires the Expat XMP parser library, which
+is widely available. The --with-expat configure option can
+be used if it is installed in a non-standard directory.
 
 Top-level Exiv2 classes to access XMP metadata are XmpData,
 Xmpdatum and XmpKey. They work similar to the corresponding 
 Exif and IPTC classes. The property-repository is XmpProperties.
 In addition to the expected new members, class Image also
-has a new interface to access the raw XMP packet.
+has an interface to access the raw XMP packet.
 
 All XMP value types are supported: Simple types, structures,
 arrays, property qualifiers and language alternatives.
@@ -37,54 +38,3 @@ Note: Unlike Exif and IPTC tags, XMP properties do not have
 a tag number.
 
 Todo: Conversion between XMP and Exif/IPTC metadata.
-
-XMP Toolkit installation
-========================
-Exiv2 uses the Adobe XMP Toolkit (XMP SDK) to parse
-and serialize XMP packets (only the XMPCore component).
-
-Todo: Integrate the XMPCore component of the XMP Toolkit with
-Exiv2 and make the build process transparent for users. The
-final solution will be to use an external XMP Toolkit eventually,
-once it is available as a standalone package from Linux distros.
-
-Below are the installation steps that worked for me on a
-Debian GNU/Linux (testing) system. Your mileage may vary.
-Please check with Adobe if you encounter problems with the
-XMP Toolkit installation.
-
-Installation directory
-----------------------
-The top-level exiv2 directory ($HOME/src/exiv2/ on my system).
-
-If you install XMP elsewhere, or use different OS or STAGE
-options to the make command below, you will need to manually
-modify the exiv2/config/config.mk.in (before running the 
-configure script). There is no autoconf-magic yet to set 
-this via configure options.
-
-External packages (non-Debian)
------------------
-xmp_v411_sdk.zip    - http://www.adobe.com/devnet/xmp/sdk/eula.html
-expat-2.0.1.tar.gz  - http://sourceforge.net/project/showfiles.php?group_id=10127
-exiv2               - from SVN
-
-Installation steps
-------------------
-cd $HOME/src/exiv2/
-cp /path/to/xmp_v411_sdk.zip ./
-unzip xmp_v411_sdk.zip
-
-cp /path/to/expat-2.0.1.tar.gz XMP-SDK/third-party/
-cd XMP-SDK/third-party/
-tar zxvf expat-2.0.1.tar.gz
-mv expat expat-orig
-mv expat-2.0.1 expat
-
-cd ../build/gcc
-make -f XMPCore.mak OS=i80386linux STAGE=debug
-
-Expected result
----------------
-Now there should be a library
-../../public/libraries/i80386linux/debug/libXMPCoreStaticDebug.a
diff --git a/config/config.h.in b/config/config.h.in
index 4369621..688ae84 100644
--- a/config/config.h.in
+++ b/config/config.h.in
@@ -116,6 +116,9 @@
 /* Define to 1 if you have the `zlib' library. */
 #undef HAVE_LIBZ
 
+/* Define to 1 if you have the Adobe XMP Toolkit. */
+#undef HAVE_XMP_TOOLKIT
+
 /* Define to 1 if the system has the type `_Bool'. */
 #undef HAVE__BOOL
 
diff --git a/config/config.mk.in b/config/config.mk.in
index 4771b61..713f719 100644
--- a/config/config.mk.in
+++ b/config/config.mk.in
@@ -77,18 +77,26 @@ endif
 
 # **********************************************************************
 # XMP support
-ENABLE_XMP = 1
+ENABLE_XMP = @ENABLE_XMP@
 
 ifdef ENABLE_XMP
-	CPPFLAGS += -DEXV_HAVE_XMP_TOOLKIT -DUNIX_ENV -I$(top_srcdir)/XMP-SDK/public/include
-	LDFLAGS += -L$(top_srcdir)/XMP-SDK/public/libraries/i80386linux/debug -lXMPCoreStaticDebug
+	XMPSDK_DIR = $(top_srcdir)/xmpsdk
+	XMPSDK_CPPFLAGS = -DUNIX_ENV -I$(XMPSDK_DIR)/include
+	XMPSDK_LDFLAGS = -L$(XMPSDK_DIR)/lib
+	XMPSDK_LIBS = -lxmpsdk
 else
-        # XMP Toolkit doesn't compile cleanly with these
+        # Enable additional warnings. XMP Toolkit doesn't compile
+        # with these.
 	ifeq ($(GXX),yes)
 		CXXFLAGS += -Wundef -pedantic
 	endif
 endif
 
+# Expat library needed to compile the XMP Toolkit
+EXPAT_LDFLAGS = @EXPAT_LDFLAGS@
+EXPAT_CPPFLAGS = @EXPAT_CPPFLAGS@
+EXPAT_LIBS = @EXPAT_LIBS@
+
 # **********************************************************************
 # Libraries and Functions
 HAVE_LIBZ = @HAVE_LIBZ@
@@ -100,22 +108,13 @@ HAVE_TIMEGM = @HAVE_TIMEGM@
 DEP_TRACKING = @DEP_TRACKING@
 
 ifdef DEP_TRACKING
-# Compiler flags to generate dependency files at the same time 
-# as object files (for gcc)
-ifeq ($(GXX),yes)
-	CXXFLAGS += -MMD
-	CFLAGS += -MMD
-	MAKEDEPEND =
-else
-# Command to run the compiler or preprocessor to produce dependencies.
-# If you're not using gcc, you may need to change this to something 
-# suitable for your compiler or simply unset the variable. See the link
-# above for suggestions
+        # Command to run the compiler or preprocessor to produce 
+        # dependencies. If you're not using gcc, you may need to change
+        # this to something suitable for your compiler or simply unset
+        # the variable. See the link above for suggestions.
 	MAKEDEPEND = $(CXX) -MM $(CPPFLAGS) -o $*.d $<
 endif
 
-endif
-
 # **********************************************************************
 # Installation programs
 INSTALL_EXE = @INSTALL@
diff --git a/config/configure.ac b/config/configure.ac
index a8c494d..48446d8 100644
--- a/config/configure.ac
+++ b/config/configure.ac
@@ -139,6 +139,51 @@ AC_ARG_ENABLE(commercial,
 AC_MSG_RESULT($COMMERCIAL_VERSION)
 AC_SUBST(COMMERCIAL_VERSION,$COMMERCIAL_VERSION)
 
+AC_MSG_CHECKING([whether to enable XMP support (requires expat)])
+AC_ARG_ENABLE(xmp,
+    [  --disable-xmp           do not compile XMP support and the XMP Toolkit ],
+    USE_XMP_TOOLKIT=$enableval, USE_XMP_TOOLKIT=yes)
+AC_MSG_RESULT($USE_XMP_TOOLKIT)
+
+# expat option might change flags, so we save them initially
+_cppflags="${CPPFLAGS}"
+_ldflags="${LDFLAGS}"
+
+AC_ARG_WITH(expat,
+[  --with-expat[[=DIR]]    use libexpat in DIR],[
+  if test "$withval" != "no" -a "$withval" != "yes"; then
+    EXPAT_DIR=$withval
+    CPPFLAGS="${CPPFLAGS} -I$withval/include"
+    LDFLAGS="${LDFLAGS} -L$withval/lib"
+  fi
+])
+
+ENABLE_XMP=
+if test "$USE_XMP_TOOLKIT" = "yes"; then
+    # Check for expat library
+    if test "$with_expat" = "no"; then
+       AC_MSG_ERROR(either specify a valid expat installation with --with-expat=DIR or disable XMP support with --disable-xmp)
+    else
+        AC_CHECK_HEADERS(expat.h,
+            AC_CHECK_LIB(expat, XML_ParserCreate,[
+                AC_DEFINE([HAVE_EXPAT], [], [Have Expat XML parser library])
+                EXPAT_LIBS="-lexpat"
+                if test "x${EXPAT_DIR}" != "x"; then
+                    EXPAT_CPPFLAGS="-I${EXPAT_DIR}/include"
+                    EXPAT_LDFLAGS="-L${EXPAT_DIR}/lib"
+                fi]))
+    fi
+    AC_DEFINE(HAVE_XMP_TOOLKIT,1)
+    ENABLE_XMP=1
+    AC_SUBST(EXPAT_CPPFLAGS)
+    AC_SUBST(EXPAT_LDFLAGS)
+    AC_SUBST(EXPAT_LIBS)
+fi
+AC_SUBST(ENABLE_XMP)
+
+CPPFLAGS=${_cppflags}
+LDFLAGS=${_ldflags}
+
 # ---------------------------------------------------------------------------
 # Create output files.
 # ---------------------------------------------------------------------------
diff --git a/doc/templates/getting-started.html.in b/doc/templates/getting-started.html.in
index f7c80ee..c06bcb7 100644
--- a/doc/templates/getting-started.html.in
+++ b/doc/templates/getting-started.html.in
@@ -13,8 +13,7 @@ __index1__
 <p>The <a href="index.html">Exiv2 library</a> is made up of all
 elements defined in the <a href="namespaceExiv2.html">Exiv2
 namespace</a>. The Action and Util namespaces are only used by the
-Exiv2 command line utility. Thus, to learn about the library, focus on
-the members of the Exiv2 namespace.</p>
+Exiv2 command line utility.</p>
 
 <h2><a href="classes.html">Classes</a></h2>
 
@@ -29,12 +28,12 @@ applications will use
 to access images in files or memory, in which case the image format 
 is transparent to them.</p>
 
-<p>Metadata is manipulated through the classes
+<p>Exif and IPTC metadata is manipulated through the classes
 <a class="el" href="classExiv2_1_1ExifData.html">Exiv2::ExifData</a> 
-and <a class="el" href="classExiv2_1_1IptcData.html">Exiv2::IptcData</a>
-of the Exiv2 library. They hold a container
-of Exif and IPTC metadata, respectively, and define related methods to
-access and manipulate the metadata. The containers hold objects derived from
+and <a class="el" href="classExiv2_1_1IptcData.html">Exiv2::IptcData</a>.
+They hold a container of Exif and IPTC metadata, respectively, and define
+related methods to access and manipulate the metadata. The containers hold
+objects derived from
 <a class="el" href="classExiv2_1_1Metadatum.html">Exiv2::Metadatum</a>. 
 Interface class Exiv2::Metadatum defines methods to access the
 information of one Exif tag or IPTC dataset. It models the tag data as
@@ -50,6 +49,40 @@ the Exif tag or IPTC dataset. It is usually determined when the Exif metadata
 is read from an image. It is also possible to manually create a Value and
 together with a key add it to an ExifData or IptcData container.</p>
 
+Top-level Exiv2 classes to access XMP metadata are 
+<a class="el" href="classExiv2_1_1XmpData.html">Exiv2::XmpData</a>,
+<a class="el" href="classExiv2_1_1Xmpdatum.html">Exiv2::Xmpdatum</a> 
+and <a class="el" href="classExiv2_1_1XmpKey.html">Exiv2::XmpKey</a>.
+They work similar to the corresponding Exif and IPTC classes.
+The property-repository is <a class="el" href="classExiv2_1_1XmpProperties.html">Exiv2::XmpProperties</a>.
+In addition to the expected new members, class
+<a class="el" href="classExiv2_1_1Image.html">Exiv2::Image</a>
+also has an interface to access the raw XMP packet.
+
+All XMP value types are supported: Simple types, structures,
+arrays, property qualifiers and language alternatives.
+
+XMP properties are accessed through keys of the form
+"Xmp.<Prefix>.<PropertyPath>", where <Prefix> is the preferred 
+(or rather, registered) prefix for a schema namespace and 
+<PropertyPath> is the path of the XMP node. In its most basic
+form, to address simple properties, <PropertyPath> is the name
+of the property. In general, <PropertyPath> can be used to 
+address any XMP node, including array items, structure fields
+qualifiers and deeply nested properties.
+
+Any properties in known namespaces are supported and additional
+namespaces can be registered.
+
+The specialized Exiv2 values 
+<a class="el" href="classExiv2_1_1XmpTextValue.html">Exiv2::XmpTextValue</a>,
+<a class="el" href="classExiv2_1_1XmpArrayValue.html">Exiv2::XmpArrayValue</a>
+and <a class="el" href="classExiv2_1_1LangAltValue.html">Exiv2::LangAltValue</a> are
+provided to simplify the use of XMP properties.
+
+Note: Unlike Exif and IPTC tags, XMP properties do not have
+a tag number.
+
 <h2><a href="examples.html">Examples</a></h2>
 
 <p>There are several simple examples that demonstrate the basic use of Exiv2
@@ -61,6 +94,8 @@ example to print IPTC data.
 add, modify and delete Exif metadata. 
 <a href="exifcomment_8cpp-example.html">Exifcomment</a> shows how to
 set the exif comment of an image. 
+<a href="xmpsample_8cpp-example.html">Xmpsample.cpp</a> contains examples
+of how to set various types of XMP properties.<br>
 For more real-world code have a look at the implementation of the
 different actions of the Exiv2 utility (actions.cpp).</p>
 
diff --git a/src/Makefile b/src/Makefile
index c08423d..e365a9d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -155,6 +155,10 @@ SHELL = /bin/sh
 
 .PRECIOUS: %.cpp
 
+CPPFLAGS += $(XMPSDK_CPPFLAGS)
+LDFLAGS += $(EXPAT_LDFLAGS) $(XMPSDK_LDFLAGS)
+LIBS += $(EXPAT_LIBS) $(XMPSDK_LIBS)
+
 # Generic variables
 CCHDR := $(CCHDR) $(CCSRC:.cpp=.hpp)
 CCOBJ = $(CCSRC:.cpp=.o)
@@ -182,6 +186,14 @@ MCBIN = $(MCMAIN:.cpp=)
 MCEXE = $(MCMAIN:.cpp=$(EXEEXT))
 
 ifdef DEP_TRACKING
+# Compiler flags to generate dependency files at the same time 
+# as object files (for gcc)
+ifeq ($(GXX),yes)
+	CXXFLAGS += -MMD
+	CFLAGS += -MMD
+	MAKEDEPEND =
+endif
+
 DEPDIR = .deps
 DEP = $(CCSRC:%.cpp=$(DEPDIR)/%.d) $(CSRC:%.c=$(DEPDIR)/%.d) \
       $(BINSRC:%.cpp=$(DEPDIR)/%.d) \
diff --git a/src/doxygen.hpp.in b/src/doxygen.hpp.in
index e3c97e7..3e9b495 100644
--- a/src/doxygen.hpp.in
+++ b/src/doxygen.hpp.in
@@ -8,7 +8,7 @@
   @date    07-Feb-04, ahu: created
  */
 /*!
-  @mainpage Exif and IPTC metadata library and tools v at PACKAGE_VERSION@
+  @mainpage Image metadata library and tools v at PACKAGE_VERSION@
 
   @section overview Exiv2 Overview
 
@@ -17,8 +17,8 @@
   <A HREF="http://www.exiv2.org/">http://www.exiv2.org/</A>.
 
   The %Exiv2 library provides
-  - full read and write access to the Exif and IPTC metadata of an image through
-    %Exiv2 keys and standard C++ iterators
+  - full read and write access to the Exif, IPTC and XMP metadata of an image
+    through %Exiv2 keys and standard C++ iterators
   - a smart IPTC implementation that does not affect data that programs like
     Photoshop store in the same image segment
   - Exif <A HREF="makernote.html">MakerNote</A> support:
diff --git a/src/exv_msvc.h b/src/exv_msvc.h
index ba68145..b23684c 100644
--- a/src/exv_msvc.h
+++ b/src/exv_msvc.h
@@ -51,6 +51,12 @@
 
 #endif /* !EXV_COMMERCIAL_VERSION */
 
+/* Define to 1 if you have the `zlib' library. */
+#undef HAVE_LIBZ
+
+/* Define to 1 if you have the Adobe XMP Toolkit. */
+#undef HAVE_XMP_TOOLKIT
+
 /* File path seperator */
 #define EXV_SEPERATOR_STR "\"
 #define EXV_SEPERATOR_CHR '\'
diff --git a/xmpsdk/README b/xmpsdk/README
new file mode 100644
index 0000000..d8f2c43
--- /dev/null
+++ b/xmpsdk/README
@@ -0,0 +1,73 @@
+XMP Toolkit
+***********
+
+Exiv2 uses the XMPCore component of the Adobe XMP Toolkit (XMP SDK) to
+parse and serialize XMP packets. Temporarily, it is integrated and
+distributed together with Exiv2. The xmpsdk/ directory of the Exiv2
+distribution (this directory) contains the XMP SDK source code. The
+final solution will rely on an external XMP Toolkit, once it is
+available as a standalone package from Linux distros.
+
+Building the XMP Toolkit is transparent. Following the installation
+steps described in the top-level Exiv2 README file will ensure that
+the XMP Toolkit is compiled if necessary. It is only needed if XMP
+support is enabled. Building the XMP Toolkit results in a static
+library xmpsdk/lib/libxmpsdk.a. This library is not installed on the
+system and is not meant to be used as a standalone library. It is
+only used to build exiv2.
+
+If you experience problems building this library, please email to the
+Exiv2 support forum for help, see http://www.exiv2.org/support.html
+and not to Adobe directly.
+
+
+Source
+======
+
+XMP Toolkit 4.1.1 (xmp_v411_sdk.zip) from
+http://www.adobe.com/devnet/xmp/sdk/eula.html
+
+The following files were copied from the original XMP SDK
+distribution:
+
+public/include/*      -> include
+source/common/*       -> src
+source/XMPCore/*      -> src
+build/XMP_BuildInfo.h -> src
+third-party/MD5/*     -> src
+
+
+License
+=======
+
+The BSD License
+
+Copyright (c) 1999 - 2007, Adobe Systems Incorporated
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+ 
+* Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+ 
+* Neither the name of Adobe Systems Incorporated, nor the names of its
+  contributors may be used to endorse or promote products derived from
+  this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/xmpsdk/include/TXMPFiles.hpp b/xmpsdk/include/TXMPFiles.hpp
new file mode 100644
index 0000000..499dfb9
--- /dev/null
+++ b/xmpsdk/include/TXMPFiles.hpp
@@ -0,0 +1,418 @@
+#ifndef __TXMPFiles_hpp__
+#define __TXMPFiles_hpp__	1
+
+#if ( ! __XMP_hpp__ )
+    #error "Do not directly include, use XMP.hpp"
+#endif
+
+// =================================================================================================
+// ADOBE SYSTEMS INCORPORATED
+// Copyright 2002-2007 Adobe Systems Incorporated
+// All Rights Reserved
+//
+// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
+// of the Adobe license agreement accompanying it.
+// =================================================================================================
+
+//  ================================================================================================
+/// 
ile TXMPFiles.hpp
+/// rief API for access to the "main" metadata in a file.
+///
+/// 
-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list