[ooo-build-commit] bin/unpack download.in patches/dev300
René Engelhard
rene at kemper.freedesktop.org
Mon Dec 7 16:59:29 PST 2009
bin/unpack | 9 +++++++++
download.in | 2 ++
patches/dev300/cws-mysqlnative-20090916-dev300-m61.diff | 10 ++--------
patches/dev300/cws-mysqlnative-20090916-dev300.diff | 10 ++--------
patches/dev300/cws-mysqlnative-20090916-ooo320-m1.diff | 10 ++--------
patches/dev300/cws-mysqlnative-20090916-ooo320.diff | 10 ++--------
6 files changed, 19 insertions(+), 32 deletions(-)
New commits:
commit 42dfd33fa6143a7ea970abd3073d264d8626ffae
Author: Rene Engelhard <rene at debian.org>
Date: Tue Dec 8 00:43:13 2009 +0100
fix build with internal mysqlcppconn
* bin/unpack: copy mysql-connector-cpp.zip into the tree
* download.in: add URL for mysql-connector-cpp.zip
* patches/dev300/cws-mysqlnative-20090916*.diff: remove bogus conditional
diff --git a/bin/unpack b/bin/unpack
index e7631ca..f1f7769 100755
--- a/bin/unpack
+++ b/bin/unpack
@@ -900,4 +900,13 @@ if test "x$OXYGEN_IMAGES_TAR" != "x"; then
$GNUCP $SRCDIR/$OXYGEN_IMAGES_TAR $OOBUILDDIR/external_images/ooo_oxygen_images.tar.gz || exit 1
fi
+if echo $PROPAGATED_ARGS | grep -q enable-mysql-connector; then
+ if ! echo $PROPAGATED_ARGS | grep -q system-mysqlcppconn; then
+ check_tarball $SRCDIR/mysql-connector-cpp.zip
+ echo "Copying mysql-connector-cpp.zip into the tree"
+ mkdir -p $OOBUILDDIR/mysqlcppconn/download
+ $GNUCP -a $SRCDIR/mysql-connector-cpp.zip -d $OOBUILDDIR/mysqlcppconn/download || exit 1
+ fi
+fi
+
fi # PIECES hack
diff --git a/download.in b/download.in
index 055b54a..482c2b3 100755
--- a/download.in
+++ b/download.in
@@ -159,6 +159,8 @@ sub trim($)
# oooblogger Extension
'oooblogger*' => 'http://download.go-oo.org/src/'
+# MySQL Connector/C++
+ 'mysql-connector-cpp.zip' => 'http://svn.services.openoffice.org/ooo/cws/mysqlnative/mysqlcppconn/download/mysql-connector-cpp.zip'
);
if ( '@UPSTREAM_NAME@' ne '' ) {
diff --git a/patches/dev300/cws-mysqlnative-20090916-dev300-m61.diff b/patches/dev300/cws-mysqlnative-20090916-dev300-m61.diff
index 1bb79c2..71ac4e7 100644
--- a/patches/dev300/cws-mysqlnative-20090916-dev300-m61.diff
+++ b/patches/dev300/cws-mysqlnative-20090916-dev300-m61.diff
@@ -2,7 +2,7 @@ Index: mysqlcppconn/mysql_config.pmk
===================================================================
--- mysqlcppconn/mysql_config.pmk (.../tags/OOO310_m10) (Revision 0)
+++ mysqlcppconn/mysql_config.pmk (.../cws/mysqlnative) (Revision 275542)
-@@ -0,0 +1,55 @@
+@@ -0,0 +1,49 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40,13 +40,7 @@ Index: mysqlcppconn/mysql_config.pmk
+ .ENDIF
+.ENDIF
+
-+.IF "$(GUI)"!="WNT"
-+
-+.IF "$(SYSTEM_MYSQL)" == "YES"
-+ MYSQL_LIB+=-lmysqlcppconn
-+.ENDIF
-+
-+.ELSE # "$(GUI)"!="WNT"
++.IF "$(GUI)"=="WNT"
+
+CFLAGS+=-DCPPDBC_WIN32 -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+
diff --git a/patches/dev300/cws-mysqlnative-20090916-dev300.diff b/patches/dev300/cws-mysqlnative-20090916-dev300.diff
index 9ba5252..294ac73 100644
--- a/patches/dev300/cws-mysqlnative-20090916-dev300.diff
+++ b/patches/dev300/cws-mysqlnative-20090916-dev300.diff
@@ -2,7 +2,7 @@ Index: mysqlcppconn/mysql_config.pmk
===================================================================
--- mysqlcppconn/mysql_config.pmk (.../tags/OOO310_m10) (Revision 0)
+++ mysqlcppconn/mysql_config.pmk (.../cws/mysqlnative) (Revision 275542)
-@@ -0,0 +1,55 @@
+@@ -0,0 +1,49 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40,13 +40,7 @@ Index: mysqlcppconn/mysql_config.pmk
+ .ENDIF
+.ENDIF
+
-+.IF "$(GUI)"!="WNT"
-+
-+.IF "$(SYSTEM_MYSQL)" == "YES"
-+ MYSQL_LIB+=-lmysqlcppconn
-+.ENDIF
-+
-+.ELSE # "$(GUI)"!="WNT"
++.IF "$(GUI)"=="WNT"
+
+CFLAGS+=-DCPPDBC_WIN32 -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+
diff --git a/patches/dev300/cws-mysqlnative-20090916-ooo320-m1.diff b/patches/dev300/cws-mysqlnative-20090916-ooo320-m1.diff
index c72f9ee..26b27b1 100644
--- a/patches/dev300/cws-mysqlnative-20090916-ooo320-m1.diff
+++ b/patches/dev300/cws-mysqlnative-20090916-ooo320-m1.diff
@@ -2,7 +2,7 @@ Index: mysqlcppconn/mysql_config.pmk
===================================================================
--- mysqlcppconn/mysql_config.pmk (.../tags/OOO310_m10) (Revision 0)
+++ mysqlcppconn/mysql_config.pmk (.../cws/mysqlnative) (Revision 275542)
-@@ -0,0 +1,55 @@
+@@ -0,0 +1,49 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40,13 +40,7 @@ Index: mysqlcppconn/mysql_config.pmk
+ .ENDIF
+.ENDIF
+
-+.IF "$(GUI)"!="WNT"
-+
-+.IF "$(SYSTEM_MYSQL)" == "YES"
-+ MYSQL_LIB+=-lmysqlcppconn
-+.ENDIF
-+
-+.ELSE # "$(GUI)"!="WNT"
++.IF "$(GUI)"=="WNT"
+
+CFLAGS+=-DCPPDBC_WIN32 -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+
diff --git a/patches/dev300/cws-mysqlnative-20090916-ooo320.diff b/patches/dev300/cws-mysqlnative-20090916-ooo320.diff
index b1846d3..579a181 100644
--- a/patches/dev300/cws-mysqlnative-20090916-ooo320.diff
+++ b/patches/dev300/cws-mysqlnative-20090916-ooo320.diff
@@ -2,7 +2,7 @@ Index: mysqlcppconn/mysql_config.pmk
===================================================================
--- mysqlcppconn/mysql_config.pmk (.../tags/OOO310_m10) (Revision 0)
+++ mysqlcppconn/mysql_config.pmk (.../cws/mysqlnative) (Revision 275542)
-@@ -0,0 +1,55 @@
+@@ -0,0 +1,49 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40,13 +40,7 @@ Index: mysqlcppconn/mysql_config.pmk
+ .ENDIF
+.ENDIF
+
-+.IF "$(GUI)"!="WNT"
-+
-+.IF "$(SYSTEM_MYSQL)" == "YES"
-+ MYSQL_LIB+=-lmysqlcppconn
-+.ENDIF
-+
-+.ELSE # "$(GUI)"!="WNT"
++.IF "$(GUI)"=="WNT"
+
+CFLAGS+=-DCPPDBC_WIN32 -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
+
More information about the ooo-build-commit
mailing list