exiv2 0.23
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Tue, 30 Jul 2013 15:54:29 +0000 (10:54 -0500)
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Tue, 30 Jul 2013 15:54:29 +0000 (10:54 -0500)
0.23-autoconf.patch [new file with mode: 0644]
README [deleted file]
exiv2-0.22-1.cygport [deleted file]
exiv2.cygport [new file with mode: 0644]
exiv2.hint [deleted file]
libexiv2-devel.hint [deleted file]
libexiv2_11.hint [deleted file]

diff --git a/0.23-autoconf.patch b/0.23-autoconf.patch
new file mode 100644 (file)
index 0000000..8b063be
--- /dev/null
@@ -0,0 +1,48 @@
+--- origsrc/exiv2-0.23/config/configure.ac     2012-03-23 05:40:44.000000000 -0500
++++ src/exiv2-0.23/config/configure.ac 2013-07-30 10:44:15.520941800 -0500
+@@ -36,6 +36,7 @@ AC_CANONICAL_HOST
+ # i18n support
+ # ---------------------------------------------------------------------------
+ AM_GNU_GETTEXT([external])
++AM_GNU_GETTEXT_VERSION([0.18.1])
+ # ---------------------------------------------------------------------------
+ # Libtool support
+@@ -48,8 +49,7 @@ AC_SUBST([LIBTOOL_DEPS])
+ # ---------------------------------------------------------------------------
+ AC_CHECK_LIBM()
+ LIBS="$LIBS $LIBM"
+-CHECK_ZLIB()
+-AC_SUBST(HAVE_LIBZ,$HAVE_LIBZ)
++AX_CHECK_ZLIB()
+ AM_ICONV
+ # ---------------------------------------------------------------------------
+@@ -106,12 +106,12 @@ AC_ARG_ENABLE(visibility,
+ AC_MSG_RESULT($VISIBILITY_SUPPORT)
+ if test "$VISIBILITY_SUPPORT" = "yes"; then
+     # Sun Studio C++ compiler (which apparently ignores -fvisibility-inlines-hidden)
+-    AX_CXX_CHECK_FLAG(-xldscope=hidden,[],[],[VISIBILITY_SUPPORT=yes],[VISIBILITY_SUPPORT=no])
++    AX_CHECK_COMPILE_FLAG(-xldscope=hidden,[VISIBILITY_SUPPORT=yes],[VISIBILITY_SUPPORT=no])
+     if test "$VISIBILITY_SUPPORT" = "yes"; then
+         CXXFLAGS="${CXXFLAGS} -xldscope=hidden"
+     else
+         # GNU g++
+-        AX_CXX_CHECK_FLAG(-fvisibility-inlines-hidden,[],[],[VISIBILITY_SUPPORT=yes],[VISIBILITY_SUPPORT=no])
++        AX_CHECK_COMPILE_FLAG(-fvisibility-inlines-hidden,[VISIBILITY_SUPPORT=yes],[VISIBILITY_SUPPORT=no])
+       if test "$VISIBILITY_SUPPORT" = "yes"; then
+            CXXFLAGS="${CXXFLAGS} -fvisibility=hidden -fvisibility-inlines-hidden"
+         fi
+--- origsrc/exiv2-0.23/src/Makefile    2013-07-30 10:42:34.397157900 -0500
++++ src/exiv2-0.23/src/Makefile        2013-07-30 09:42:39.818559700 -0500
+@@ -92,10 +92,8 @@ CCSRC =  basicio.cpp           \
+        orfimage.cpp          \
+        panasonicmn.cpp       \
+        pgfimage.cpp
+-ifdef HAVE_LIBZ
+ CCSRC += pngimage.cpp          \
+        pngchunk.cpp
+-endif
+ CCSRC += preview.cpp           \
+        properties.cpp        \
+        psdimage.cpp          \
diff --git a/README b/README
deleted file mode 100644 (file)
index ad3d8df..0000000
--- a/README
+++ /dev/null
@@ -1,61 +0,0 @@
-exiv2
-------------------------------------------
-Exiv2 is a C++ library and a command line utility to access 
-Exif, IPTC, and XMP image metadata.
-
-Runtime requirements:
-  cygwin-1.7.5-1
-  libexpat1-2.0.1-1
-  libgcc1-4.3.4-3
-  libiconv2-1.13.1-1
-  libintl8-0.17-11
-  libstdc++6-4.3.4-3
-  zlib0-1.2.3-10
-
-Build requirements:
-  autoconf2.5-2.65-10
-  binutils-2.20.51-1
-  cygport-0.9.83-1
-  gawk-3.1.7-1
-  gcc4-core-4.3.4-3
-  gcc4-g++-4.3.4-3
-  make-3.81-2
-  sed-4.2.1-1
-
-Canonical website:
-  http://www.exiv2.org/
-
-Canonical download:
-  http://www.exiv2.org/download.html
-
--------------------------------------------
-
-Build instructions:
-  unpack exiv2-0.19-X-src.tar.bz2
-    if you use setup to install this src package, it will be
-        unpacked under /usr/src automatically
-  cd /usr/src
-  cygport ./exiv2-0.19-X.cygport all
-
-This will create:
-  /usr/src/exiv2-0.19-X-src.tar.bz2
-  /usr/src/exiv2-0.19-X.tar.bz2
-  /usr/src/libexiv2-devel-0.19-X.tar.bz2
-  /usr/src/libexiv2_6-0.19-X.tar.bz2
-
--------------------------------------------
-
-Port Notes:
-
------ version 0.19-1 -----
-ABI version bump.
-
------ version 0.18.2-1 -----
-Bugfix version bump.
-
------ version 0.18.1-1 -----
-Initial release for Cygwin 1.7.
-
-
-Cygwin port maintained by:
-http://sourceware.org/cygwinports/
diff --git a/exiv2-0.22-1.cygport b/exiv2-0.22-1.cygport
deleted file mode 100644 (file)
index 38eaf7b..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-DESCRIPTION="Another EXIF library"
-HOMEPAGE="http://www.exiv2.org/"
-SRC_URI="http://www.exiv2.org/${P}.tar.gz"
-PATCH_URI="0.17.1-no-undefined.patch"
-
-PKG_NAMES="${PN} lib${PN}_11 lib${PN}-devel"
-exiv2_CONTENTS="--exclude=html usr/bin/*.exe usr/share/"
-libexiv2_11_CONTENTS="usr/bin/cygexiv2-11.dll"
-libexiv2_devel_CONTENTS="usr/include/ usr/lib/"
-
-src_compile() {
-       lndirs
-       cd ${S}/config
-       NO_AUTOHEADER=1 cygautoreconf
-       mv -f configure ${S}/configure
-       cd ${B}
-       cygconf --disable-visibility
-       cygmake
-}
diff --git a/exiv2.cygport b/exiv2.cygport
new file mode 100644 (file)
index 0000000..90a8380
--- /dev/null
@@ -0,0 +1,32 @@
+NAME="exiv2"
+VERSION=0.23
+RELEASE=1
+CATEGORY="Libs"
+SUMMARY="Exiv, IPTC, and XMP image metadata library"
+DESCRIPTION="Exiv2 is a C++ library and a command line utility to access
+Exiv, IPTC, and XMP image metadata."
+HOMEPAGE="http://www.exiv2.org/"
+SRC_URI="http://www.exiv2.org/exiv2-${VERSION}.tar.gz"
+PATCH_URI="
+       0.17.1-no-undefined.patch
+       0.23-autoconf.patch
+"
+
+PKG_NAMES="${NAME} lib${NAME}_12 lib${NAME}-devel"
+exiv2_CATEGORY="Graphics"
+exiv2_SUMMARY=${SUMMARY/library/utility}
+exiv2_CONTENTS="--exclude=html usr/bin/*.exe usr/share/"
+libexiv2_12_CONTENTS="usr/bin/cygexiv2-12.dll"
+libexiv2_devel_CONTENTS="usr/include/ usr/lib/"
+
+src_compile() {
+       cd ${S}
+       rm -f config/aclocal.m4
+       ln -s config/configure.ac .
+       NO_AUTOHEADER=1 cygautoreconf
+       rm configure.ac
+       lndirs
+       cd ${B}
+       cygconf --disable-visibility
+       cygmake
+}
diff --git a/exiv2.hint b/exiv2.hint
deleted file mode 100644 (file)
index 9eb0c47..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-category: Graphics
-requires: libexiv2_11 libgcc1 libintl8 libstdc++6
-sdesc: "Exiv, IPTC, and XMP image metadata library (utility)"
-ldesc: "Exiv2 is a C++ library and a command line utility to access
-Exiv, IPTC, and XMP image metadata."
diff --git a/libexiv2-devel.hint b/libexiv2-devel.hint
deleted file mode 100644 (file)
index 270da1b..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-category: Graphics
-requires: libexiv2_11 libexpat1-devel libiconv gettext libstdc++6-devel zlib-devel
-external-source: exiv2
-sdesc: "Exiv, IPTC, and XMP image metadata library (development)"
-ldesc: "Exiv2 is a C++ library and a command line utility to access
-Exiv, IPTC, and XMP image metadata."
diff --git a/libexiv2_11.hint b/libexiv2_11.hint
deleted file mode 100644 (file)
index 0e92d29..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-category: Graphics
-requires: libexpat1 libgcc1 libiconv2 libintl8 libstdc++6 zlib0
-external-source: exiv2
-sdesc: "Exiv, IPTC, and XMP image metadata library (runtime)"
-ldesc: "Exiv2 is a C++ library and a command line utility to access
-Exiv, IPTC, and XMP image metadata."
This page took 0.040597 seconds and 5 git commands to generate.