the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gmetadom0
Version: 0.2.6
Revision: 2
Source: mirror:sourceforge:gmetadom/gmetadom-%v.tar.gz
Source-MD5: 7bfb5d9c6f20ffa5e790b63d1f8cb481
BuildDepends: <<
fink (>= 0.24.12-1),
glib2-dev (>= 2.22.0-1),
libgdome0 (>= 0.8.1-7),
libiconv-dev,
libxslt-bin,
pkgconfig (>= 0.23)
<<
Depends: %N-shlibs (= %v-%r)
GCC: 4.0
BuildDependsOnly: true
SetCPPFLAGS: -Wall
SetCXXFLAGS: -Wall
ConfigureParams: --mandir=%p/share/man --disable-dependency-tracking --with-modules=gdome_cpp_smart --disable-static PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH"
PatchFile: %n.patch
PatchFile-MD5: be45545785db903586205f5e66d90573
PatchScript: <<
%{default_script}
perl -pi -e 's/-version-info/-no-undefined -version-info/' src/gdome_cpp_smart/Makefile.in
<<
CompileScript: <<
OCAMLC=no OCAMLOPT=no HAVE_OCAMLDEP=no HAVE_OCAMLFIND=no ./configure %c
make
<<
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: AUTHORS COPYING ChangeLog HISTORY LICENSE
SplitOff: <<
Package: %N-shlibs
Depends: <<
glib2-shlibs (>= 2.22.0-1),
libiconv,
libgdome0-shlibs (>= 0.8.1-7)
<<
Files: lib/libgmetadom_gdome_cpp_smart.0.*dylib
DocFiles: AUTHORS COPYING ChangeLog HISTORY LICENSE NEWS README
Shlibs: %p/lib/libgmetadom_gdome_cpp_smart.0.dylib 3.0.0 %n (>= 0.2.3-1)
<<
DescPort: <<
The g++ linker already passes -lstdc++ to ld, so don't also pass it
explicitly.
Make sure all local -I come before global ones.
Uses libiconv, so link against it directly.
Don't hard-code path to static-lib since libtool will already
find shared one.
<<
DescPackaging: <<
Disable ocaml stuff because I don't use it but keep seeing
reports that ocaml version-updates break things.
<<
Description: C++ bindings for DOM level2 library
Homepage: http://gmetadom.sourceforge.net
License: LGPL
Maintainer: Daniel Macks
diff -Nurd -x'*~' gmetadom-0.2.6.orig/src/gdome_cpp_smart/Makefile.in gmetadom-0.2.6/src/gdome_cpp_smart/Makefile.in
--- gmetadom-0.2.6.orig/src/gdome_cpp_smart/Makefile.in 2007-10-15 05:42:42.000000000 -0400
+++ gmetadom-0.2.6/src/gdome_cpp_smart/Makefile.in 2010-01-15 14:17:09.000000000 -0500
@@ -230,16 +230,16 @@
$(top_builddir)/src/gdome_cpp_smart/events/libevents.la \
$(top_builddir)/src/gdome_cpp_smart/core/libcore.la \
$(top_builddir)/src/gdome_cpp_smart/basic/libbasic.la \
- -lstdc++
+ -liconv
libgmetadom_gdome_cpp_smart_la_LDFLAGS = -version-info @GMETADOM_VERSION_INFO@
libgmetadom_gdome_cpp_smart_la_SOURCES = \
GdomeSmartDOMDOMImplementation.cc
INCLUDES = \
- $(GDOME_CFLAGS) \
-I$(srcdir)/include \
- -I$(top_builddir)/src/gdome_cpp_smart/include
+ -I$(top_builddir)/src/gdome_cpp_smart/include \
+ $(GDOME_CFLAGS)
all: all-recursive
diff -Nurd -x'*~' gmetadom-0.2.6.orig/src/gdome_cpp_smart/basic/Makefile.in gmetadom-0.2.6/src/gdome_cpp_smart/basic/Makefile.in
--- gmetadom-0.2.6.orig/src/gdome_cpp_smart/basic/Makefile.in 2007-10-15 05:42:42.000000000 -0400
+++ gmetadom-0.2.6/src/gdome_cpp_smart/basic/Makefile.in 2008-09-28 03:16:16.000000000 -0400
@@ -213,9 +213,9 @@
noinst_LTLIBRARIES = libbasic.la
libbasic_la_SOURCES = $(AUTO_CC)
INCLUDES = \
- $(GDOME_CFLAGS) \
-I$(srcdir)/../include \
- -I$(top_builddir)/src/gdome_cpp_smart/include
+ -I$(top_builddir)/src/gdome_cpp_smart/include \
+ $(GDOME_CFLAGS)
all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-am
diff -Nurd -x'*~' gmetadom-0.2.6.orig/src/gdome_cpp_smart/core/Makefile.in gmetadom-0.2.6/src/gdome_cpp_smart/core/Makefile.in
--- gmetadom-0.2.6.orig/src/gdome_cpp_smart/core/Makefile.in 2007-10-15 05:42:43.000000000 -0400
+++ gmetadom-0.2.6/src/gdome_cpp_smart/core/Makefile.in 2008-09-28 03:16:16.000000000 -0400
@@ -238,9 +238,9 @@
$(AUTO_CC)
INCLUDES = \
- $(GDOME_CFLAGS) \
-I$(srcdir)/../include \
- -I$(top_builddir)/src/gdome_cpp_smart/include
+ -I$(top_builddir)/src/gdome_cpp_smart/include \
+ $(GDOME_CFLAGS)
all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-am
diff -Nurd -x'*~' gmetadom-0.2.6.orig/src/gdome_cpp_smart/events/Makefile.in gmetadom-0.2.6/src/gdome_cpp_smart/events/Makefile.in
--- gmetadom-0.2.6.orig/src/gdome_cpp_smart/events/Makefile.in 2007-10-15 05:42:43.000000000 -0400
+++ gmetadom-0.2.6/src/gdome_cpp_smart/events/Makefile.in 2008-09-28 03:16:16.000000000 -0400
@@ -218,9 +218,9 @@
$(AUTO_CC)
INCLUDES = \
- $(GDOME_CFLAGS) \
-I$(srcdir)/../include \
- -I$(top_builddir)/src/gdome_cpp_smart/include
+ -I$(top_builddir)/src/gdome_cpp_smart/include \
+ $(GDOME_CFLAGS)
all: all-am
diff -Nurd -x'*~' gmetadom-0.2.6.orig/src/gdome_cpp_smart/test/Makefile.in gmetadom-0.2.6/src/gdome_cpp_smart/test/Makefile.in
--- gmetadom-0.2.6.orig/src/gdome_cpp_smart/test/Makefile.in 2007-10-15 05:42:44.000000000 -0400
+++ gmetadom-0.2.6/src/gdome_cpp_smart/test/Makefile.in 2010-01-15 14:27:17.000000000 -0500
@@ -51,7 +51,6 @@
basic_OBJECTS = $(am_basic_OBJECTS)
am__DEPENDENCIES_1 =
am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) \
- $(top_builddir)/src/gdome_cpp_smart/.libs/libgmetadom_gdome_cpp_smart.a \
$(top_builddir)/src/gdome_cpp_smart/libgmetadom_gdome_cpp_smart.la
basic_DEPENDENCIES = $(am__DEPENDENCIES_2)
am_deep_OBJECTS = deep.$(OBJEXT)
@@ -218,17 +217,15 @@
deep_SOURCES = deep.cc
LDADDS = \
$(GDOME_LIBS) \
- $(top_builddir)/src/gdome_cpp_smart/.libs/libgmetadom_gdome_cpp_smart.a \
- $(top_builddir)/src/gdome_cpp_smart/libgmetadom_gdome_cpp_smart.la \
- -lstdc++
+ $(top_builddir)/src/gdome_cpp_smart/libgmetadom_gdome_cpp_smart.la
test_LDADD = $(LDADDS)
basic_LDADD = $(LDADDS)
deep_LDADD = $(LDADDS)
INCLUDES = \
- $(GDOME_CFLAGS) \
-I$(srcdir)/../include \
- -I$(top_builddir)/src/gdome_cpp_smart/include
+ -I$(top_builddir)/src/gdome_cpp_smart/include \
+ $(GDOME_CFLAGS)
all: all-am