diff options
author | Brian Evans <grknight@gentoo.org> | 2015-07-21 15:09:32 +0000 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2015-07-21 15:09:32 +0000 |
commit | 99a73eb815967d68de2cf853718181ab8bcea241 (patch) | |
tree | 900498f2746513f66bcb8036b71d5078646ee0f9 | |
parent | complete msg in CHangeLog (diff) | |
download | gentoo-2-99a73eb815967d68de2cf853718181ab8bcea241.tar.gz gentoo-2-99a73eb815967d68de2cf853718181ab8bcea241.tar.bz2 gentoo-2-99a73eb815967d68de2cf853718181ab8bcea241.zip |
Version bump; fix repoman slot warning
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D1F781EFF9F4A3B6)
4 files changed, 96 insertions, 4 deletions
diff --git a/dev-db/mysql-connector-c++/ChangeLog b/dev-db/mysql-connector-c++/ChangeLog index 6f54dd1eb421..7058b43b1036 100644 --- a/dev-db/mysql-connector-c++/ChangeLog +++ b/dev-db/mysql-connector-c++/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-db/mysql-connector-c++ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-connector-c++/ChangeLog,v 1.25 2015/02/22 03:50:29 grknight Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-connector-c++/ChangeLog,v 1.26 2015/07/21 15:09:32 grknight Exp $ + +*mysql-connector-c++-1.1.6 (21 Jul 2015) + + 21 Jul 2015; Brian Evans <grknight@gentoo.org> + +files/mysql-connector-c++-1.1.6-fix-cmake.patch, + +mysql-connector-c++-1.1.6.ebuild, mysql-connector-c++-1.1.3.ebuild: + Version bump; fix repoman slot warning *mysql-connector-c++-1.1.5 (22 Feb 2015) diff --git a/dev-db/mysql-connector-c++/files/mysql-connector-c++-1.1.6-fix-cmake.patch b/dev-db/mysql-connector-c++/files/mysql-connector-c++-1.1.6-fix-cmake.patch new file mode 100644 index 000000000000..18d4e9a80410 --- /dev/null +++ b/dev-db/mysql-connector-c++/files/mysql-connector-c++-1.1.6-fix-cmake.patch @@ -0,0 +1,23 @@ +diff -aurN a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2015-06-04 08:58:30.000000000 -0400 ++++ b/CMakeLists.txt 2015-07-21 10:41:59.081091000 -0400 +@@ -300,7 +300,7 @@ + SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}") + ENDIF(WIN32) + +-SET(DOC_DESTINATION ".") ++SET(DOC_DESTINATION ${INSTALL_DOCS}) + IF(RPM_LAYOUT) + SET(DOC_DESTINATION "share/doc/${CPACK_PACKAGE_NAME}-${MYSQLCPPCONN_VERSION}") + ENDIF() +@@ -373,10 +373,6 @@ + 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 diff --git a/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.3.ebuild b/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.3.ebuild index 473edb690365..3df3a67b19b4 100644 --- a/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.3.ebuild +++ b/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.3.ebuild,v 1.7 2014/10/29 09:37:29 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.3.ebuild,v 1.8 2015/07/21 15:09:32 grknight Exp $ EAPI=5 @@ -18,7 +18,7 @@ IUSE="debug examples gcov static-libs" DEPEND=">=virtual/mysql-5.1 dev-libs/boost - dev-libs/openssl" + dev-libs/openssl:0" RDEPEND="${DEPEND}" PATCHES=( diff --git a/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.6.ebuild b/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.6.ebuild new file mode 100644 index 000000000000..67af5e6c0a33 --- /dev/null +++ b/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.6.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.6.ebuild,v 1.1 2015/07/21 15:09:32 grknight Exp $ + +EAPI=5 + +inherit eutils cmake-utils flag-o-matic multilib + +DESCRIPTION="MySQL database connector for C++ (mimics JDBC 4.0 API)" +HOMEPAGE="http://dev.mysql.com/downloads/connector/cpp/" +URI_DIR="Connector-C++" +SRC_URI="mirror://mysql/Downloads/${URI_DIR}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug examples gcov static-libs" + +DEPEND=">=virtual/mysql-5.5:0= + dev-libs/boost:0= + dev-libs/openssl:0=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-1.1.6-fix-cmake.patch" + "${FILESDIR}/${PN}-1.1.5-fix-mariadb.patch" +) + +src_configure() { + # native lib/wrapper needs this! + append-flags "-fno-strict-aliasing" + + local mycmakeargs=( + -DMYSQLCPPCONN_BUILD_EXAMPLES=OFF + -DMYSQLCPPCONN_ICU_ENABLE=OFF + $(cmake-utils_use debug MYSQLCPPCONN_TRACE_ENABLE) + $(cmake-utils_use gcov MYSQLCPPCONN_GCOV_ENABLE) + -DINSTALL_DOCS="/usr/share/doc/${PF}" + -DMYSQL_CXX_LINKAGE=0 + -DMYSQL_INCLUDE_DIR=$(mysql_config --variable=pkgincludedir) + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + # static lib has wrong name so we need to rename it + if use static-libs; then + mv "${ED}"/usr/$(get_libdir)/libmysqlcppconn-static.a \ + "${ED}"/usr/$(get_libdir)/libmysqlcppconn.a || die + else + rm -f "${ED}"/usr/$(get_libdir)/libmysqlcppconn-static.a + fi + + # examples + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins "${S}"/examples/* + fi +} |