[Pkg-mysql-commits] r1532 - in mysql-connector-cpp/trunk: . debian debian/patches

Rene Engelhard rene at alioth.debian.org
Sat Feb 21 23:00:52 UTC 2009


tags 508985 pending
thanks

Author: rene
Date: 2009-02-21 23:00:51 +0000 (Sat, 21 Feb 2009)
New Revision: 1532

Added:
   mysql-connector-cpp/trunk/debian/
   mysql-connector-cpp/trunk/debian/changelog
   mysql-connector-cpp/trunk/debian/compat
   mysql-connector-cpp/trunk/debian/control
   mysql-connector-cpp/trunk/debian/copyright
   mysql-connector-cpp/trunk/debian/libmysqlcppconn-dev.install
   mysql-connector-cpp/trunk/debian/libmysqlcppconn-dev.links
   mysql-connector-cpp/trunk/debian/libmysqlcppconn1.install
   mysql-connector-cpp/trunk/debian/patches/
   mysql-connector-cpp/trunk/debian/patches/00list
   mysql-connector-cpp/trunk/debian/patches/01_gcc43.dpatch
   mysql-connector-cpp/trunk/debian/rules
Log:
initial import of mysql-connector-cpp_1.0.2~20081215-1


Added: mysql-connector-cpp/trunk/debian/changelog
===================================================================
--- mysql-connector-cpp/trunk/debian/changelog	                        (rev 0)
+++ mysql-connector-cpp/trunk/debian/changelog	2009-02-21 23:00:51 UTC (rev 1532)
@@ -0,0 +1,5 @@
+mysql-connector-cpp (1.0.2~20081215-1) experimental; urgency=low
+
+  * Initial release (closes: #508985)
+
+ -- Rene Engelhard <rene at debian.org>  Mon, 05 Jan 2009 12:29:23 +0100

Added: mysql-connector-cpp/trunk/debian/compat
===================================================================
--- mysql-connector-cpp/trunk/debian/compat	                        (rev 0)
+++ mysql-connector-cpp/trunk/debian/compat	2009-02-21 23:00:51 UTC (rev 1532)
@@ -0,0 +1 @@
+7

Added: mysql-connector-cpp/trunk/debian/control
===================================================================
--- mysql-connector-cpp/trunk/debian/control	                        (rev 0)
+++ mysql-connector-cpp/trunk/debian/control	2009-02-21 23:00:51 UTC (rev 1532)
@@ -0,0 +1,31 @@
+Source: mysql-connector-cpp
+Priority: optional
+Maintainer: Debian MySQL Maintainers <pkg-mysql-maint at lists.alioth.debian.org>
+Uploaders: Rene Engelhard <rene at debian.org>
+Build-Depends: debhelper (>= 7), cmake, libmysqlclient15-dev, dpatch
+Standards-Version: 3.7.3
+Section: libs
+Homepage: http://forge.mysql.com/wiki/Connector_C++
+
+Package: libmysqlcppconn-dev
+Section: libdevel
+Architecture: any
+#Depends: libmysqlcppconn1 (= ${binary:Version})
+Description: MySQL Connector for C++ (development files)
+ MySQL Connector/C++ is a MySQL database connector for C++.
+ .
+ It mimics the JDBC 4.0 API. 
+ .
+ This package contains the development files (headers, static library).
+
+#Package: libmysqlcppconn1
+#Section: libs
+#Architecture: any
+#Depends: ${shlibs:Depends}
+#Description: MySQL Connector for C++ (library)
+# MySQL Connector/C++ is a MySQL database connector for C++.
+# .
+# It mimics the JDBC 4.0 API. 
+# .
+# This package contains the shared library
+

Added: mysql-connector-cpp/trunk/debian/copyright
===================================================================
--- mysql-connector-cpp/trunk/debian/copyright	                        (rev 0)
+++ mysql-connector-cpp/trunk/debian/copyright	2009-02-21 23:00:51 UTC (rev 1532)
@@ -0,0 +1,85 @@
+This package was debianized by Rene Engelhard <rene at debian.org> on
+Tue, 25 Nov 2008 14:39:51 +0100.
+
+It was downloaded from http://forge.mysql.com/wiki/Connector_C++
+
+Upstream Authors:
+
+MySQL AB, Sun Microsystems Inc.
+
+Copyright:
+
+Copyright (C) 2000-2008 MySQL AB
+Copyright (C) 2008 Sun Microsystems Inc.
+
+License:
+
+    GPL v2 with "FLOSS exception"
+
+On Debian systems, the full text of the GPL v2 can be found in
+/usr/share/common-licenses/GPL-2.
+
+FLOSS License Exception
+
+The MySQL AB Exception for Free/Libre and Open Source Software-only Applications Using MySQL Client Libraries (the "FLOSS Exception").
+
+Version 0.6, 11 Aug 2008
+Exception Intent
+
+We want specified Free/Libre and Open Source Software ("FLOSS") applications to be able to use specified GPL-licensed MySQL client libraries (the "Program") despite the fact that not all FLOSS licenses are compatible with version 2 of the GNU General Public License (the "GPL").
+Legal Terms and Conditions
+
+As a special exception to the terms and conditions of version 2.0 of the GPL:
+
+You are free to distribute a Derivative Work that is formed entirely from the Program and one or more works (each, a "FLOSS Work") licensed under one or more of the licenses listed below in section 1, as long as:
+
+   1. You obey the GPL in all respects for the Program and the Derivative Work, except for identifiable sections of the Derivative Work which are not derived from the Program, and which can reasonably be considered independent and separate works in themselves,
+   2. all identifiable sections of the Derivative Work which are not derived from the Program, and which can reasonably be considered independent and separate works in themselves,
+         1. are distributed subject to one of the FLOSS licenses listed below, and
+         2. the object code or executable form of those sections are accompanied by the complete corresponding machine-readable source code for those sections on the same medium and under the same FLOSS license as the corresponding object code or executable forms of those sections, and
+   3. any works which are aggregated with the Program or with a Derivative Work on a volume of a storage or distribution medium in accordance with the GPL, can reasonably be considered independent and separate works in themselves which are not derivatives of either the Program, a Derivative Work or a FLOSS Work.
+
+If the above conditions are not met, then the Program may only be copied, modified, distributed or used under the terms and conditions of the GPL or another valid licensing option from MySQL AB.
+1. FLOSS License List
+License name    Version(s)/Copyright Date
+Academic Free License   2.0
+Apache Software License 1.0/1.1/2.0
+Apple Public Source License     2.0
+Artistic license        From Perl 5.8.0
+BSD license     "July 22 1999"
+Common Development and Distribution License (CDDL)      1.0
+Common Public License   1.0
+Eclipse Public License  1.0
+GNU Library or "Lesser" General Public License (LGPL)   2.0/2.1/3.0
+Jabber Open Source License      1.0
+MIT License (As listed in file MIT-License.txt) -
+Mozilla Public License (MPL)    1.0/1.1
+Open Software License   2.0
+OpenSSL license (with original SSLeay license)  "2003" ("1998")
+PHP License     3.0/3.01
+Python license (CNRI Python License)    -
+Python Software Foundation License      2.1.1
+Sleepycat License       "1999"
+University of Illinois/NCSA Open Source License -
+W3C License     "2001"
+X11 License     "2001"
+Zlib/libpng License     -
+Zope Public License     2.0
+
+Due to the many variants of some of the above licenses, we require that any version follow the 2003 version of the Free Software Foundation's Free Software Definition (http://www.gnu.org/philosophy/free-sw.html) or version 1.9 of the Open Source Definition by the Open Source Initiative (http://www.opensource.org/docs/definition.php).
+2. Definitions
+
+   1. Terms used, but not defined, herein shall have the meaning provided in the GPL.
+   2. Derivative Work means a derivative work under copyright law.
+
+3. Applicability
+
+This FLOSS Exception applies to all Programs that contain a notice placed by MySQL AB saying that the Program may be distributed under the terms of this FLOSS Exception. If you create or distribute a work which is a Derivative Work of both the Program and any other work licensed under the GPL, then this FLOSS Exception is not available for that work; thus, you must remove the FLOSS Exception notice from that work and comply with the GPL in all respects, including by retaining all GPL notices. You may choose to redistribute a copy of the Program exclusively under the terms of the GPL by removing the FLOSS Exception notice from that copy of the Program, provided that the copy has never been modified by you or any third party.
+Appendix A. Qualified Libraries and Packages
+
+The following is a a non-exhaustive list of libraries and packages which are covered by the FLOSS License Exception. Please note that appendix is merely provided as an additional service to specific FLOSS projects who wish to simplify licensing information for their users. Compliance with one of the licenses noted under the "FLOSS license list" section remains a prerequisite.
+Package name    Qualifying License and Version
+Apache Portable Runtime (APR)   Apache Software License 2.0
+
+The Debian packaging is (C) 2008, Rene Engelhard <rene at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: mysql-connector-cpp/trunk/debian/libmysqlcppconn-dev.install
===================================================================
--- mysql-connector-cpp/trunk/debian/libmysqlcppconn-dev.install	                        (rev 0)
+++ mysql-connector-cpp/trunk/debian/libmysqlcppconn-dev.install	2009-02-21 23:00:51 UTC (rev 1532)
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/libmysqlcppconn-static.a
+#usr/lib/*.so

Added: mysql-connector-cpp/trunk/debian/libmysqlcppconn-dev.links
===================================================================
--- mysql-connector-cpp/trunk/debian/libmysqlcppconn-dev.links	                        (rev 0)
+++ mysql-connector-cpp/trunk/debian/libmysqlcppconn-dev.links	2009-02-21 23:00:51 UTC (rev 1532)
@@ -0,0 +1 @@
+usr/lib/libmysqlcppconn-static.a usr/lib/libmysqlcppconn.a

Added: mysql-connector-cpp/trunk/debian/libmysqlcppconn1.install
===================================================================
--- mysql-connector-cpp/trunk/debian/libmysqlcppconn1.install	                        (rev 0)
+++ mysql-connector-cpp/trunk/debian/libmysqlcppconn1.install	2009-02-21 23:00:51 UTC (rev 1532)
@@ -0,0 +1 @@
+usr/lib/*.so.*

Added: mysql-connector-cpp/trunk/debian/patches/00list
===================================================================
--- mysql-connector-cpp/trunk/debian/patches/00list	                        (rev 0)
+++ mysql-connector-cpp/trunk/debian/patches/00list	2009-02-21 23:00:51 UTC (rev 1532)
@@ -0,0 +1 @@
+01_gcc43

Added: mysql-connector-cpp/trunk/debian/patches/01_gcc43.dpatch
===================================================================
--- mysql-connector-cpp/trunk/debian/patches/01_gcc43.dpatch	                        (rev 0)
+++ mysql-connector-cpp/trunk/debian/patches/01_gcc43.dpatch	2009-02-21 23:00:51 UTC (rev 1532)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_gcc43.dpatch by Rene Engelhard <rene at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: as the name says, gcc 4.3 build fix
+
+ at DPATCH@
+diff -urNad mysql-connector-cpp-1.0.2~20081215~/test/CJUnitTestsPort/BaseTestCase.cpp mysql-connector-cpp-1.0.2~20081215/test/CJUnitTestsPort/BaseTestCase.cpp
+--- mysql-connector-cpp-1.0.2~20081215~/test/CJUnitTestsPort/BaseTestCase.cpp	2008-12-15 14:30:05.000000000 +0100
++++ mysql-connector-cpp-1.0.2~20081215/test/CJUnitTestsPort/BaseTestCase.cpp	2008-12-17 11:36:43.000000000 +0100
+@@ -20,6 +20,7 @@
+ */
+ 
+ #include <time.h>
++#include <stdlib.h>
+ 
+ #include "BaseTestCase.h"
+ #include "../common/stringutils.h"

Added: mysql-connector-cpp/trunk/debian/rules
===================================================================
--- mysql-connector-cpp/trunk/debian/rules	                        (rev 0)
+++ mysql-connector-cpp/trunk/debian/rules	2009-02-21 23:00:51 UTC (rev 1532)
@@ -0,0 +1,94 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+configure: configure-stamp
+configure-stamp: patch-stamp
+	dh_testdir
+	
+	cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr .
+	touch configure-stamp
+
+
+build: build-stamp
+build-stamp: configure-stamp  
+	dh_testdir
+
+	$(MAKE)
+
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	[ ! -f Makefile ] || $(MAKE) clean
+	
+	rm -f CMakeCache.txt
+	rm -f CPackConfig.cmake
+	rm -f CPackSourceConfig.cmake
+	rm -f Makefile
+	rm -f cmake_install.cmake
+	rm -f cppconn/CMakeFiles/CMakeDirectoryInformation.cmake
+	rm -f cppconn/CMakeFiles/progress.make
+	rm -f cppconn/Makefile
+	rm -f cppconn/cmake_install.cmake
+	rm -f driver/Makefile
+	rm -f driver/cmake_install.cmake
+	rm -f examples/Makefile
+	rm -f examples/cmake_install.cmake
+	rm -f install_manifest.txt
+	rm -f test/Makefile 
+	rm -f test/cmake_install.cmake
+	rm -f test/CJUnitTestsPort/cmake_install.cmake
+	rm -f test/CJUnitTestsPort/CMakeFiles/progress.make
+	rm -f test/CJUnitTestsPort/Makefile
+	rm -rf foo
+	rm -rf CMakeFiles
+	rm -rf driver/CMakeFiles
+	rm -rf test/CMakeFiles
+	rm -rf test/CJUnitTestsPort/CMakeFiles
+	rm -rf examples/CMakeFiles
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_installdocs
+	dh_installexamples
+	dh_install
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: mysql-connector-cpp/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-mysql-commits mailing list