Hello community,

here is the log from the commit of package mysql-connector-cpp.1703 for 
openSUSE:12.3:Update checked in at 2013-06-05 11:29:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/mysql-connector-cpp.1703 (Old)
 and      /work/SRC/openSUSE:12.3:Update/.mysql-connector-cpp.1703.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mysql-connector-cpp.1703"

Changes:
--------
New Changes file:

--- /dev/null   2013-05-23 01:40:31.032032505 +0200
+++ 
/work/SRC/openSUSE:12.3:Update/.mysql-connector-cpp.1703.new/mysql-connector-cpp.changes
    2013-06-05 11:29:21.000000000 +0200
@@ -0,0 +1,82 @@
+-------------------------------------------------------------------
+Mon Apr 22 07:48:00 UTC 2013 - mhruse...@suse.com
+
+- merge with mysql-connector-c++
+- fixed for some reason broken build:
+  + added mysql-connector-cpp-1.1.0-build.patch
+  + added mysql-connector-cpp-1.1.0-disable_tests_and_examples.patch 
+  + changed mysql-connector-cpp-1.1.0-cmake-paths-fix.patch 
+
+-------------------------------------------------------------------
+Wed Jan 18 13:04:42 UTC 2012 - cdenic...@suse.com
+
+- license update: SUSE-GPL-2.0-with-FLOSS-exception
+  GPL has FLOSS exception.
+
+-------------------------------------------------------------------
+Thu Jan 12 11:30:48 UTC 2012 - co...@suse.com
+
+- change license to be in spdx.org format
+
+-------------------------------------------------------------------
+Thu Jun  2 16:22:02 CEST 2011 - mhruse...@suse.cz
+
+- updated to version 1.1.0, see
+  
http://forge.mysql.com/wiki/Connector_C%2B%2B#MySQL_Connector.2FC.2B.2B_1.1.0_GA_.2813.09.2010.29
+
+-------------------------------------------------------------------
+Tue Nov  3 19:09:32 UTC 2009 - co...@novell.com
+
+- updated patches to apply with fuzz=0
+
+-------------------------------------------------------------------
+Tue Jul 28 13:39:59 CEST 2009 - mhruse...@suse.cz
+
+- Better description (bnc#522682)
+
+-------------------------------------------------------------------
+Thu May 21 17:37:01 CEST 2009 - mhruse...@suse.cz
+
+- updated to version 1.0.5
+  * Changed the interface of sql::ConnectionMetaData, sql::ResultSetMetaData
+    and sql::ParameterMetaData to have a protected destructor. In this way the
+    client code doesn't need, and won't be able, to destruct the metadata
+    objects returned by the connector. The connector will handle their
+    destruction.  This enables statements like :
+    connection->getMetaData->getSchema(); without the result of leaking memory
+    because we lost the pointer returned by getMetaData().  (Lawrin, Andrey)
+  * Large overhaul of the code to improve the memory management to not leak in
+    exceptional situations. Big improvement compared to Beta1. (Andrey)
+  * Fixed the interface of sql::Driver and sql::Connection so they accept the
+    options map by alias instead of by value. (Andrey)
+  * Changed the return type of sql::SQLException::getSQLState() from
+    std::string to const char * to be consistent with std::exception::what().
+    (Andrey)
+  * Implemented getResultSetType() and setResultSetType() for Statement. Used
+    are TYPE_FORWARD_ONLY, which means unbuffered result set and
+    TYPE_SCROLL_INSENSITIVE, which means buffered result set. (Andrey)
+  * Implemented getResultSetType() for PreparedStatement. The setter is not
+    implemented because currently PreparedStatement can't do refetching and
+    storing the result means the bind buffers will be correct. (Andrey)
+  * Added "defaultStatementResultType" to MySQL_Connection::setClientOption()
+    as an option. Also the method now returns `sql::Connection *`. (Andrey)
+  * Added Result::getType() and implemented it in the three result set classes.
+    (Andrey)
+  * Enabled tracing functionality when building with VC8 and up (VS2005 and
+    up). (Andrey)
+  * Added better support for named pipes, on Windows. Use pipe:// and add the
+    path to the pipe. Shared memory connections are currently not supported.
+    (Andrey)
+  * Fixed a bug in MySQL_Connection::setSessionVariable() which led to
+    exception being thrown. (Andrey)
+
+-------------------------------------------------------------------
+Mon May 18 14:00:33 CEST 2009 - mhruse...@suse.cz
+
+- fixed compilation using gcc44
+
+-------------------------------------------------------------------
+Fri Apr 17 19:57:19 CEST 2009 - mhruse...@suse.cz
+
+- initial version of MySQL Connector/C++ package (version 1.0.4 beta)
+

New:
----
  mysql-connector-c++-1.1.0.tar.bz2
  mysql-connector-cpp-1.1.0-build.patch
  mysql-connector-cpp-1.1.0-cmake-paths-fix.patch
  mysql-connector-cpp-1.1.0-disable_tests_and_examples.patch
  mysql-connector-cpp-1.1.0-gcc44.patch
  mysql-connector-cpp.changes
  mysql-connector-cpp.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mysql-connector-cpp.spec ++++++
#
# spec file for package mysql-connector-cpp
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           mysql-connector-cpp
Summary:        MySQL Connector/C++: Standardized database driver for C++ 
development
License:        SUSE-GPL-2.0-with-FLOSS-exception
Group:          Development/Libraries/C and C++
Version:        1.1.0
Release:        0
Url:            http://dev.mysql.com/downloads/connector/
#               
http://dev.mysql.com/get/Downloads/Connector-C%2B%2B/mysql-connector-c%2B%2B-%{version}.tar.gz
Source:         mysql-connector-c++-%{version}.tar.bz2
# PATCH-SUSE-INTEGRATION - mysql-connector-cpp-1.0.4-beta-cmake-paths-fix.patch 
[] mhruse...@suse.cz -- adjust some default paths
Patch0:         mysql-connector-cpp-1.1.0-cmake-paths-fix.patch
# PATCH-UPSTREAM-FIX - mysql-connector-cpp-1.0.4-beta-gcc44.patch [ 
upstream#44931 ] mhruse...@suse.cz -- adding missing includes
# http://bugs.mysql.com/44931
Patch1:         mysql-connector-cpp-1.1.0-gcc44.patch
Patch2:         mysql-connector-cpp-1.1.0-disable_tests_and_examples.patch
Patch3:         mysql-connector-cpp-1.1.0-build.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  boost-devel
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  libmysqlclient-devel

%description
MySQL Connector/C++ is a MySQL database connector for C++ development. The
MySQL driver for C++ can be used to connect to MySQL from C++ applications. The
driver mimics the JDBC 4.0 API. It implements a significant subset of JDBC 4.0. 

The Driver for C++ is designed to work best with MySQL 5.1 or later. Note - its
full functionality is not available when connecting to MySQL 5.0. You cannot
connect to MySQL 4.1 or earlier.

Using MySQL Connector/C++ instead of the MySQL C API (MySQL Client Library)
offers the following advantages for C++ users:

    * Convenience of pure C++ - no C function calls
    * Support of a well designed API - JDBC 4.0
    * Support of a commonly known and well documented API - JDBC 4.0
    * Support of the object oriented programming paradigma
    * Shorter development times 

%package -n libmysqlcppconn-devel
Requires:       libmysqlcppconn5 = %{version}
Summary:        Development files for MySQL Connector/C++
Group:          Development/Libraries/C and C++

%description -n libmysqlcppconn-devel
MySQL Connector/C++ is a MySQL database connector for C++ development. The
MySQL driver for C++ can be used to connect to MySQL from C++ applications. The
driver mimics the JDBC 4.0 API. It implements a significant subset of JDBC 4.0. 

The Driver for C++ is designed to work best with MySQL 5.1 or later. Note - its
full functionality is not available when connecting to MySQL 5.0. You cannot
connect to MySQL 4.1 or earlier.

Using MySQL Connector/C++ instead of the MySQL C API (MySQL Client Library)
offers the following advantages for C++ users:

    * Convenience of pure C++ - no C function calls
    * Support of a well designed API - JDBC 4.0
    * Support of a commonly known and well documented API - JDBC 4.0
    * Support of the object oriented programming paradigma
    * Shorter development times 

%package -n libmysqlcppconn5
Summary:        MySQL Connector/C++: Standardized database driver for C++ 
development
Group:          Development/Libraries/C and C++

%description -n libmysqlcppconn5
MySQL Connector/C++ is a MySQL database connector for C++ development. The
MySQL driver for C++ can be used to connect to MySQL from C++ applications. The
driver mimics the JDBC 4.0 API. It implements a significant subset of JDBC 4.0. 

The Driver for C++ is designed to work best with MySQL 5.1 or later. Note - its
full functionality is not available when connecting to MySQL 5.0. You cannot
connect to MySQL 4.1 or earlier.

Using MySQL Connector/C++ instead of the MySQL C API (MySQL Client Library)
offers the following advantages for C++ users:

    * Convenience of pure C++ - no C function calls
    * Support of a well designed API - JDBC 4.0
    * Support of a commonly known and well documented API - JDBC 4.0
    * Support of the object oriented programming paradigma
    * Shorter development times 

%prep
%setup -n mysql-connector-c++-%{version}
%patch0 -p1
%patch1
%patch2 -p1
%patch3

%build
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIB_DIR=`basename 
%{_libdir}` \
        -DCMAKE_C_FLAGS:STRING="%{optflags}" \
        -DCMAKE_CXX_FLAGS:STRING="%{optflags}" \
        -DCMAKE_BUILD_TYPE=RelWithDebInfo \
        -DCMAKE_SKIP_RPATH=ON \
        -DCMAKE_INSTALL_PREFIX=%{_prefix} \
%if %{_lib} == lib64
        -DLIB_SUFFIX=64 \
%endif
        -DBUILD_SHARED_LIBS=ON \
        -DMYSQLCPPCONN_GCOV_ENABLE=ON \
        -DMYSQLCPPCONN_ICU_ENABLE=OFF \
        -DMYSQLCPPCONN_BUILD_EXAMPLES=OFF \
        -DCMAKE_INSTALL_LIB_DIR=%{_lib} \
        -DMYSQLCLIENT_STATIC_BINDING=0 \

make %{?jobs:-j%jobs} LIBDIR=%{_libdir}

%install
%makeinstall
rm -f %{buildroot}%{_libdir}/libmysqlcppconn-static.a
rm -f %{buildroot}/usr/[A-Z]*

%clean
rm -rf %{buildroot}

%post -n libmysqlcppconn5 -p /sbin/ldconfig

%postun -n libmysqlcppconn5 -p /sbin/ldconfig

%files -n libmysqlcppconn-devel
%defattr(-,root,root)
%doc README ANNOUNCEMENT COPYING CHANGES
%{_includedir}/*
%{_libdir}/*.so

%files -n libmysqlcppconn5
%defattr(-,root,root)
%{_libdir}/*.so.*

%changelog
++++++ mysql-connector-cpp-1.1.0-build.patch ++++++
Index: driver/nativeapi/libmysql_dynamic_proxy.cpp
===================================================================
--- driver/nativeapi/libmysql_dynamic_proxy.cpp.orig
+++ driver/nativeapi/libmysql_dynamic_proxy.cpp
@@ -429,7 +429,7 @@ LibmysqlDynamicProxy::real_connect(MYSQL
 unsigned long
 LibmysqlDynamicProxy::real_escape_string(MYSQL * mysql, char * to, const char 
* from, unsigned long length)
 {
-       ptr2mysql_realescapestring ptr2_realescapestring = 
symbol_safe_cast<ptr2mysql_realescapestring>(GetProcAddr("mysql_real_escape_string"));
+       ptr2mysql_real_escape_string ptr2_realescapestring = 
symbol_safe_cast<ptr2mysql_real_escape_string>(GetProcAddr("mysql_real_escape_string"));
 
        return (*ptr2_realescapestring)(mysql, to, from, length);
 }
++++++ mysql-connector-cpp-1.1.0-cmake-paths-fix.patch ++++++
diff -urN mysql-connector-c++-1.1.0.old/cppconn/CMakeLists.txt 
mysql-connector-c++-1.1.0/cppconn/CMakeLists.txt
--- mysql-connector-c++-1.1.0.old/cppconn/CMakeLists.txt        2011-07-30 
13:15:44.000000000 +0200
+++ mysql-connector-c++-1.1.0/cppconn/CMakeLists.txt    2011-07-30 
14:10:34.000000000 +0200
@@ -55,7 +55,7 @@
 
 SET(MYSQLCPPCONN_INSTALL_HEADERS
                build_config.h
-               config.h
+               ${CMAKE_CURRENT_BINARY_DIR}/config.h
                connection.h
                datatype.h
                driver.h
diff -urN mysql-connector-c++-1.1.0.old/driver/CMakeLists.txt 
mysql-connector-c++-1.1.0/driver/CMakeLists.txt
--- mysql-connector-c++-1.1.0.old/driver/CMakeLists.txt 2011-07-30 
13:15:44.000000000 +0200
+++ mysql-connector-c++-1.1.0/driver/CMakeLists.txt     2011-07-30 
13:20:36.000000000 +0200
@@ -26,6 +26,9 @@
 
 INCLUDE_DIRECTORIES(${MYSQLCPPCONN_SOURCE_DIR})
 INCLUDE_DIRECTORIES(${MYSQLCPPCONN_SOURCE_DIR}/cppconn)
+INCLUDE_DIRECTORIES(${MYSQLCPPCONN_BINARY_DIR})
+INCLUDE_DIRECTORIES(${MYSQLCPPCONN_BINARY_DIR}/cppconn)
+INCLUDE_DIRECTORIES(${MYSQLCPPCONN_BINARY_DIR}/driver/nativeapi)
 INCLUDE_DIRECTORIES(${MYSQLCPPCONN_BOOST_INCLUDE_DIRS})
 MESSAGE(STATUS "BOOST_INCLUDE_DIRS=${MYSQLCPPCONN_BOOST_INCLUDE_DIRS}")
 
@@ -149,20 +152,22 @@
                nativeapi/native_statement_wrapper.h
                nativeapi/mysql_native_resultset_wrapper.h
                nativeapi/native_resultset_wrapper.h
-               ../cppconn/warning.h
-               ../cppconn/statement.h
-               ../cppconn/sqlstring.h
-               ../cppconn/resultset_metadata.h
-               ../cppconn/resultset.h
-               ../cppconn/prepared_statement.h
-               ../cppconn/parameter_metadata.h
-               ../cppconn/metadata.h
-               ../cppconn/exception.h
-               ../cppconn/driver.h
-               ../cppconn/datatype.h
-               ../cppconn/connection.h
-               ../cppconn/config.h
-               ../cppconn/build_config.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/warning.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/statement.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/sqlstring.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/resultset_metadata.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/resultset.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/prepared_statement.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/parameter_metadata.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/metadata.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/exception.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/driver.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/datatype.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/connection.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/config.h
+               ${CMAKE_CURRENT_BINARY_DIR}/cppconn/config.h
+               ${CMAKE_CURRENT_SOURCE_DIR}/cppconn/build_config.h
+               ${CMAKE_CURRENT_BINARY_DIR}/cppconn/build_config.h
 
        )
 
@@ -271,8 +276,8 @@
        )
 ELSE(WIN32)
        INSTALL(TARGETS mysqlcppconn mysqlcppconn-static
-               LIBRARY DESTINATION lib
-               ARCHIVE DESTINATION lib
+               LIBRARY DESTINATION lib${LIB_SUFFIX}
+               ARCHIVE DESTINATION lib${LIB_SUFFIX}
        )
 ENDIF(WIN32)
 
++++++ mysql-connector-cpp-1.1.0-disable_tests_and_examples.patch ++++++
diff -rupN mysql-connector-c++-1.1.2/CMakeLists.txt 
mysql-connector-c++-1.1.2_mod/CMakeLists.txt
--- mysql-connector-c++-1.1.2/CMakeLists.txt    2013-01-24 16:45:15.000000000 
+0100
+++ mysql-connector-c++-1.1.2_mod/CMakeLists.txt        2013-02-13 
21:35:51.503045611 +0100
@@ -291,11 +291,6 @@ INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/
 
 ADD_SUBDIRECTORY(cppconn)
 ADD_SUBDIRECTORY(driver)
-ADD_SUBDIRECTORY(examples)
-ADD_SUBDIRECTORY(test)
-ADD_SUBDIRECTORY(test/framework)
-ADD_SUBDIRECTORY(test/CJUnitTestsPort)
-ADD_SUBDIRECTORY(test/unit)
 
 IF(DEFINED CMAKE_SYSTEM_NAME AND ${CMAKE_SYSTEM_NAME} STREQUAL "SunOS")
        # see also README
++++++ mysql-connector-cpp-1.1.0-gcc44.patch ++++++
Index: driver/mysql_art_resultset.cpp
===================================================================
--- driver/mysql_art_resultset.cpp.orig
+++ driver/mysql_art_resultset.cpp
@@ -23,6 +23,7 @@
 */
 
 #include <sstream>
+#include <stdio.h>
 #include <math.h>
 #include <stdio.h>
 
Index: driver/mysql_resultbind.cpp
===================================================================
--- driver/mysql_resultbind.cpp.orig
+++ driver/mysql_resultbind.cpp
@@ -32,6 +32,7 @@
 #include "nativeapi/native_resultset_wrapper.h"
 
 #include <string.h>
+#include <stdio.h>
 
 namespace sql
 {
Index: test/unit/classes/resultsetmetadata.cpp
===================================================================
--- test/unit/classes/resultsetmetadata.cpp.orig
+++ test/unit/classes/resultsetmetadata.cpp
@@ -27,6 +27,7 @@
 #include "resultsetmetadata.h"
 #include <sstream>
 #include <stdlib.h>
+#include <stdio.h>
 #include <cppconn/resultset.h>
 #include <cppconn/datatype.h>
 #include <cppconn/prepared_statement.h>
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to