exiv2 stable port information

Package: exiv2
Version: 0.17.1
Revision: 1002
Source: http://www.exiv2.org/%n-%v.tar.gz
Depends: libexiv2-shlibs (= %v-%r)
BuildDepends: libgettext3-dev, libiconv-dev, expat1, pkgconfig, gettext-tools, fink (>= 0.24.12-1)
GCC: 4.0
SourceDirectory: %n-%v
Maintainer: Jack Fink
Homepage: http://www.exiv2.org
License: GPL
Description: Cmdline read/write of EXIF & IPTC metadata
Source-MD5: 52a602f4f0d9e89b7084ac795b7547ac
PatchFile: %n.patch
PatchFile-MD5: ac1283125360fa3cb1f1db931d26f32d
PatchScript: <<
%{default_script}
perl -pi -e 's/-g -O/-O/g;s/-O2/-Os/g;s/INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"/INTL_MACOSX_LIBS="-Wl,-framework,CoreFoundation"/' configure
<<
ConfigureParams: --mandir=%p/share/man --with-extra-libs=%p/lib --with-extra-includes=%p/include --disable-dependency-tracking
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: COPYING README
Splitoff: <<
Package: libexiv2-shlibs
Description: Library to read/write EXIF and IPTC metadata, shared libs
Replaces: libexiv2-0.12-shlibs
Depends: libgettext3-shlibs, libiconv, expat1-shlibs
Files: <<
lib/libexiv2.4.dylib
lib/libexiv2.4.0.1.dylib
<<
Shlibs: <<
%p/lib/libexiv2.4.dylib 5.0.0 %n (>= 0.17-1001)
<<
DocFiles: COPYING README
<<
SplitOff2: <<
Package: libexiv2
Description: Library to read/write EXIF and IPTC metadata
Depends: libexiv2-shlibs (= %v-%r)
BuildDependsOnly: true
Replaces: libexiv2-0.12
Files: <<
include
lib/*.*a
lib/pkgconfig
lib/libexiv2.dylib
<<
DocFiles: COPYING README
<<

exiv2 stable port .patch

diff -Nurd -x'*~' exiv2-0.17.orig/config/config.mk.in exiv2-0.17/config/config.mk.in
--- exiv2-0.17.orig/config/config.mk.in 2008-04-16 11:40:36.000000000 -0400
+++ exiv2-0.17/config/config.mk.in 2008-07-13 19:01:28.000000000 -0400
@@ -65,7 +65,7 @@
CXXCPP = @CXXCPP@

# Preprocessor flags
-CPPFLAGS = -I. @CPPFLAGS@ -DEXV_LOCALEDIR=\"$(localedir)\"
+CPPFLAGS = -I. $(XMPSDK_CPPFLAGS) @CPPFLAGS@ -DEXV_LOCALEDIR=\"$(localedir)\"
ifeq ($(COMMERCIAL_VERSION),yes)
CPPFLAGS += -DEXV_COMMERCIAL_VERSION=1
endif
@@ -95,8 +95,7 @@
XMPSDK_LIBRARY = xmpsdk
XMPSDK_DIR = $(top_srcdir)/xmpsdk
XMPSDK_CPPFLAGS = -I$(XMPSDK_DIR)/include
- XMPSDK_LDFLAGS = -L$(XMPSDK_DIR)/src
- XMPSDK_LIBS = -l$(XMPSDK_LIBRARY)
+ XMPSDK_LIBS = $(XMPSDK_DIR)/src/lib$(XMPSDK_LIBRARY).la
else
# Enable additional warnings. XMP Toolkit doesn't compile
# with these.
diff -Nurd -x'*~' exiv2-0.17.orig/src/Makefile exiv2-0.17/src/Makefile
--- exiv2-0.17.orig/src/Makefile 2008-04-14 23:46:01.000000000 -0400
+++ exiv2-0.17/src/Makefile 2008-07-13 18:48:52.000000000 -0400
@@ -149,7 +149,6 @@

.PRECIOUS: %.cpp

-CPPFLAGS += $(XMPSDK_CPPFLAGS)
LDFLAGS += $(EXPAT_LDFLAGS) $(XMPSDK_LDFLAGS)
LIBS += $(EXPAT_LIBS) $(XMPSDK_LIBS)

exiv2 _unstable_ port information

Package: exiv2
Version: 0.17.1
Revision: 1002
Source: http://www.exiv2.org/%n-%v.tar.gz
Depends: libexiv2-shlibs (= %v-%r)
BuildDepends: libgettext3-dev, libiconv-dev, expat1, pkgconfig, gettext-tools, fink (>= 0.24.12-1)
GCC: 4.0
SourceDirectory: %n-%v
Maintainer: Jack Fink
Homepage: http://www.exiv2.org
License: GPL
Description: Cmdline read/write of EXIF & IPTC metadata
Source-MD5: 52a602f4f0d9e89b7084ac795b7547ac
PatchFile: %n.patch
PatchFile-MD5: ac1283125360fa3cb1f1db931d26f32d
PatchScript: <<
%{default_script}
perl -pi -e 's/-g -O/-O/g;s/-O2/-Os/g;s/INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"/INTL_MACOSX_LIBS="-Wl,-framework,CoreFoundation"/' configure
<<
ConfigureParams: --mandir=%p/share/man --with-extra-libs=%p/lib --with-extra-includes=%p/include --disable-dependency-tracking
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: COPYING README
Splitoff: <<
Package: libexiv2-shlibs
Description: Library to read/write EXIF and IPTC metadata, shared libs
Replaces: libexiv2-0.12-shlibs
Depends: libgettext3-shlibs, libiconv, expat1-shlibs
Files: <<
lib/libexiv2.4.dylib
lib/libexiv2.4.0.1.dylib
<<
Shlibs: <<
%p/lib/libexiv2.4.dylib 5.0.0 %n (>= 0.17-1001)
<<
DocFiles: COPYING README
<<
SplitOff2: <<
Package: libexiv2
Description: Library to read/write EXIF and IPTC metadata
Depends: libexiv2-shlibs (= %v-%r)
BuildDependsOnly: true
Replaces: libexiv2-0.12
Files: <<
include
lib/*.*a
lib/pkgconfig
lib/libexiv2.dylib
<<
DocFiles: COPYING README
<<

exiv2 _unstable_ port .patch

diff -Nurd -x'*~' exiv2-0.17.orig/config/config.mk.in exiv2-0.17/config/config.mk.in
--- exiv2-0.17.orig/config/config.mk.in 2008-04-16 11:40:36.000000000 -0400
+++ exiv2-0.17/config/config.mk.in 2008-07-13 19:01:28.000000000 -0400
@@ -65,7 +65,7 @@
CXXCPP = @CXXCPP@

# Preprocessor flags
-CPPFLAGS = -I. @CPPFLAGS@ -DEXV_LOCALEDIR=\"$(localedir)\"
+CPPFLAGS = -I. $(XMPSDK_CPPFLAGS) @CPPFLAGS@ -DEXV_LOCALEDIR=\"$(localedir)\"
ifeq ($(COMMERCIAL_VERSION),yes)
CPPFLAGS += -DEXV_COMMERCIAL_VERSION=1
endif
@@ -95,8 +95,7 @@
XMPSDK_LIBRARY = xmpsdk
XMPSDK_DIR = $(top_srcdir)/xmpsdk
XMPSDK_CPPFLAGS = -I$(XMPSDK_DIR)/include
- XMPSDK_LDFLAGS = -L$(XMPSDK_DIR)/src
- XMPSDK_LIBS = -l$(XMPSDK_LIBRARY)
+ XMPSDK_LIBS = $(XMPSDK_DIR)/src/lib$(XMPSDK_LIBRARY).la
else
# Enable additional warnings. XMP Toolkit doesn't compile
# with these.
diff -Nurd -x'*~' exiv2-0.17.orig/src/Makefile exiv2-0.17/src/Makefile
--- exiv2-0.17.orig/src/Makefile 2008-04-14 23:46:01.000000000 -0400
+++ exiv2-0.17/src/Makefile 2008-07-13 18:48:52.000000000 -0400
@@ -149,7 +149,6 @@

.PRECIOUS: %.cpp

-CPPFLAGS += $(XMPSDK_CPPFLAGS)
LDFLAGS += $(EXPAT_LDFLAGS) $(XMPSDK_LDFLAGS)
LIBS += $(EXPAT_LIBS) $(XMPSDK_LIBS)