From 8796aaedb3257bbe4d80b0033408b2210b2259d6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 17 Oct 2024 04:04:27 +0100 Subject: gentoo auto-resync : 17:10:2024 - 04:04:26 --- dev-db/Manifest.gz | Bin 16901 -> 16900 bytes dev-db/mysql-workbench/Manifest | 3 + .../mysql-workbench/mysql-workbench-8.0.40.ebuild | 119 +++++++++++++++++++++ dev-db/percona-toolkit/Manifest | 2 +- .../percona-toolkit/percona-toolkit-3.5.7.ebuild | 2 +- 5 files changed, 124 insertions(+), 2 deletions(-) create mode 100644 dev-db/mysql-workbench/mysql-workbench-8.0.40.ebuild (limited to 'dev-db') diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz index baecada55e39..3f5c625dfeac 100644 Binary files a/dev-db/Manifest.gz and b/dev-db/Manifest.gz differ diff --git a/dev-db/mysql-workbench/Manifest b/dev-db/mysql-workbench/Manifest index 0992223ea54a..32f99b3ee9b9 100644 --- a/dev-db/mysql-workbench/Manifest +++ b/dev-db/mysql-workbench/Manifest @@ -2,6 +2,9 @@ AUX mysql-workbench-6.2.5-wbcopytables.patch 496 BLAKE2B 4666f32098ec43ad36f1c72 AUX mysql-workbench-8.0.19-mysql-connector-8.patch 624 BLAKE2B 0cb899a8b0127664471877bb9cdcda946c35ed7a159646b94891a791a618c77201cc7696d6f2893e95fd78dbc13325cef752740f76e69974e10c0f88084594fb SHA512 09c2349cb42393f6d32f24804e2c3438a5d846fc9611e0684ccf2139fd30b0abcb0f2aa7b205c60a081259e073fb345cd72837dab1a216e6a8aaaba5ec3decf7 AUX mysql-workbench-8.0.33-gcc13.patch 1516 BLAKE2B 831bde621ae092aeb75bf3e9cab6ad8eecfef27e036586fe4a3ca8a60f8d512ce4610a9ebf20e956c4a903df18eb0c3f2c5608cda462ca3c2a1cee50b0e6b1f9 SHA512 a37e9d9de5d7606528bdf80f15fda67511328bb8826005810a633eeb5b12d942b27c8a4b8287d13de8e77979f8dab90f671fb3d0334cdb9d4d7ed10bdac84ef5 DIST antlr-4.11.1-complete.jar 3547867 BLAKE2B 24e9799a402302fd13ebd91028a8e3b8141af50b446bc06bb4df3f7619cad956e9b681c0908b870a1f9d6701049e89099906cdc6038dc007984b19f7a8cc756b SHA512 a445bb71e4470ffa7bbb382a873fe5c5737b96b2c68b57593c1151ed9944ec701ce0c299ea5c3b593bd33916d384d598e2538a9b0b11b41c77a399beca4aab88 +DIST antlr-4.13.2-complete.jar 2140045 BLAKE2B b810c171c7bcce7e259beda70a2efbee7868188432868953229dd4457f977b162f384823ccce2ac497dd472fe80d05930d28b6eae865b88fd8bc70def86df131 SHA512 22569a011d207fb8f33e7e71162542a5748cc3daa67eec59cbdc2aeb0894c331dfb8b6100ea88529c6cea72672cbddd77ca6134ddf331685d68b3e72b4e0a914 DIST mysql-workbench-community-8.0.38-src.tar.gz 59069184 BLAKE2B ace0afbab46c106200da5234595065766798d97f57008261c166f97bed842f185e1bba90e0c60b9acf4843b54261b5aa49c8a3a6b096e72597443fcb1a011217 SHA512 9fa18d3a66111461dd47dec05ea8dfa214dac85017d51358e694d56cb05439d96a91f675e105cfbecc70c456127964a81ddb2a5a2951457196b20b10dcb6f502 +DIST mysql-workbench-community-8.0.40-src.tar.gz 59113554 BLAKE2B 3e0f86015ba6999284c9bee42e01ad2723b7e3292a67311f29bd0dc630b0bb14a82b8cef9509e1809de82b8330f5ea99594c413e347368a0dc26d69c89366021 SHA512 81f2db45f2dba2a546e02b3cb2eb1ab2e0dc142fa76f6579c0b6069e43cbdfe9cb1fb626aac435031e92aa2fa08cc00b311e7737043623b3d12291df48de9779 EBUILD mysql-workbench-8.0.38.ebuild 2999 BLAKE2B e9e6452fe944e8ae846e8e60f1d9642a268074eccfcdc63637effb1cd77bc253b01d54b1225105180d01a394341cf1c87a5a49a9198546b02ec1b7e55e1f1481 SHA512 f34ec499aca287e946ff01ed51010b5e6a77a4a5a850b935448f8e3f30ff03d5c3f05daa371eb806160100de7f7ad7d61d24a5cc9f9c60c6a7982aa10c324028 +EBUILD mysql-workbench-8.0.40.ebuild 3000 BLAKE2B 2506732059ffb12f85341dd21e0550b3e16947d8c1d2c204524063c31a86ebbebb826f2bd1c68faa06d782c2518fa1086cc5c0cbcf4e30a408e67179155c8ff4 SHA512 1450460c1ba62fed9cb2fee891d2ff3e272190a6c01ba7bd421539c0884ffb643c032ba316a858d83ea99c8693f2cd1aa032c1071fdbef2777327bf808f5dfc3 MISC metadata.xml 312 BLAKE2B 8c491f0d45e24b9e367ef63f8822daf6925a17f8d44ff822b8faf7485f729524de02309b91e18411421b4533aa086853914c4a0b2a93d3fd5573a289fa1e3715 SHA512 01f2f645d167290bdb313e6c1c386b0426b41edd0ee9b50acf538a7353855c84321111ffd11c213c71424c7df73aa48b8fb9f3f2af914b595fb2961cc6b3186c diff --git a/dev-db/mysql-workbench/mysql-workbench-8.0.40.ebuild b/dev-db/mysql-workbench/mysql-workbench-8.0.40.ebuild new file mode 100644 index 000000000000..4a2002cbe0d9 --- /dev/null +++ b/dev-db/mysql-workbench/mysql-workbench-8.0.40.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GCONF_DEBUG="no" + +PYTHON_COMPAT=( python3_{10,11,12} ) +PYTHON_REQ_USE="sqlite" + +ANTLR_VERSION=4.13.2 + +inherit gnome2 flag-o-matic python-single-r1 cmake + +MY_P="${PN}-community-${PV}-src" + +DESCRIPTION="MySQL Workbench" +HOMEPAGE="https://www.mysql.com/products/workbench/" +SRC_URI="https://cdn.mysql.com/Downloads/MySQLGUITools/${MY_P}.tar.gz + https://www.antlr.org/download/antlr-${ANTLR_VERSION}-complete.jar" +S="${WORKDIR}"/"${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug doc" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# glibc: deprecated mutex functions, removed in 2.36.0 +CDEPEND="${PYTHON_DEPS} + app-crypt/libsecret + dev-libs/glib:2 + >=dev-cpp/antlr-cpp-4.11.1:4 + dev-cpp/atkmm:* + dev-cpp/pangomm:1.4 + >=dev-cpp/glibmm-2.14:2 + dev-cpp/gtkmm:3.0 + >=net-libs/libssh-0.9.5[server] + x11-libs/pango + x11-libs/gtk+:3 + >=x11-libs/cairo-1.5.12[glib,svg(+)] + >=dev-libs/rapidjson-1.1.0 + dev-libs/libsigc++:2 + dev-libs/boost[nls] + >=dev-cpp/ctemplate-0.95 + >=dev-libs/libxml2-2.6.2:2 + dev-libs/libzip + dev-libs/libpcre[cxx] + >=sci-libs/gdal-1.11.1-r1:= + virtual/opengl + || ( sys-fs/e2fsprogs dev-libs/ossp-uuid ) + dev-libs/tinyxml[stl] + >=dev-db/mysql-connector-c++-8.0.27-r1[legacy(-)] + dev-db/vsqlite++ + || ( dev-db/libiodbc >=dev-db/unixODBC-2.3.11 ) + dev-python/pexpect + >=dev-python/paramiko-1.7.4 +" + +RDEPEND="${CDEPEND} + app-admin/sudo + >=sys-apps/net-tools-1.60_p20120127084908" + +DEPEND="${CDEPEND} + dev-lang/swig + >=virtual/jre-11 + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-6.2.5-wbcopytables.patch" + "${FILESDIR}/${PN}-8.0.19-mysql-connector-8.patch" + "${FILESDIR}/${PN}-8.0.33-gcc13.patch" +) + +src_unpack() { + unpack ${PN}-community-${PV}-src.tar.gz +} + +src_prepare() { + ## remove hardcoded CXXFLAGS + sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/CMakeLists.txt || die + ## And avoid -Werror + sed -i -e 's/-Werror//' CMakeLists.txt || die + ## Fix doc install directory + sed -i -e "/WB_INSTALL_DOC_DIR/ s/mysql-workbench/${P}/ ; /WB_INSTALL_DOC_DIR/ s/-community//" CMakeLists.txt || die + + ## package is very fragile... + strip-flags + + cmake_src_prepare +} + +src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/924671 + # https://bugs.mysql.com/bug.php?id=115735 + filter-lto + + if has_version dev-db/libiodbc ; then + IODBC="-DIODBC_CONFIG_PATH=/usr/bin/iodbc-config" + fi + + if has_version dev-db/unixODBC ; then + UNIXODBC="-DUNIXODBC_CONFIG_PATH=/usr/bin/odbc_config" + fi + + append-cxxflags -std=c++11 + ANTLR_JAR_PATH="${DISTDIR}/antlr-${ANTLR_VERSION}-complete.jar" + local mycmakeargs=( + -DWITH_ANTLR_JAR=${ANTLR_JAR_PATH} + -DLIB_INSTALL_DIR="/usr/$(get_libdir)" + -DIODBC_INCLUDE_PATH="/usr/include/iodbc" + ${IODBC} + ${UNIXODBC} + -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" + -DPYTHON_LIBRARY="$(python_get_library_path)" + -DMySQL_CONFIG_PATH="/usr/bin/mysql_config" + ) + cmake_src_configure +} diff --git a/dev-db/percona-toolkit/Manifest b/dev-db/percona-toolkit/Manifest index c8a336315c27..71fdba207615 100644 --- a/dev-db/percona-toolkit/Manifest +++ b/dev-db/percona-toolkit/Manifest @@ -4,5 +4,5 @@ DIST percona-toolkit-3.5.5.tar.gz 14847253 BLAKE2B f26b88581b84a12fd2b353984b2db DIST percona-toolkit-3.5.7-deps.tar.xz 108954608 BLAKE2B 788246531bdf3e1faa7d310fdd920b2fa42d9d82a75d730bb143047d0ce0c22d23ee86cf58bd646aae3dac503d88793040168be15fc74a7686979233a8d65dc1 SHA512 54a0698c5e3ae0fe30b6e253a31829db4c4656cccd48107126a5b99c148fe1ed9515d91e79784e1970569bfe8853d1b5cb74cf968dbc2d08e95aec6ef209659d DIST percona-toolkit-3.5.7.tar.gz 138784243 BLAKE2B a589c884348ad820ccadbb871ad85bf89a21ae49e8cea34fa019c61ab53302a5b7db03f01ae191138e15f61c77068388cb5d3863f360a7207d9f9075e9100385 SHA512 cfe232aa5b59d262242348ec18b676d0d8c7752dddadd1f027772346e02d329f5bc53b96dfdb82fbdb18524095f88ad0721e4b4c6ed611c727c0a5cde85998bd EBUILD percona-toolkit-3.5.5.ebuild 1205 BLAKE2B db6a44d0959530b831cd10a8cfba0027edd156ebf85cd542f94fbc2c7c8395ee911906be689cee3f433e85b3d2ae3dd92b812c66d80180e55a5498ce77bf90be SHA512 845e6b2cd64b12e7e7a95a1fce9face54d02eb1f05387e446b11b5e4f237dd06cc31951af8a5dfee1fa90d93b8eb115b0c6b6488ee770861887371dbc6575085 -EBUILD percona-toolkit-3.5.7.ebuild 1317 BLAKE2B 1648ff945af0b7bfe3d38f6359391e7c97f0fbf862171c5c38eccdf82421f39a36ce9046ea5a1efc5609665785d1382fa1a70c2d3231e1b5efa01954a73eb1ad SHA512 6188277bfb2cad2c1bd48ede7f715c9b21e41871fd6a6443d9ad8d87751efd4a5c7058c3160aa3ac98a6a4f66a6701dd65930b5fb5d297f2c563a4f32ef4bcfd +EBUILD percona-toolkit-3.5.7.ebuild 1315 BLAKE2B c560894a7dae83b7ca3c45585858ce0040023cd8c4fc07f134f05c0912d834838b5be882ab7f2edbea9b2663e72342bd99241c40ebe8a7d1c69f410b76df8f56 SHA512 85fe8f09d29f7846d6afdf3464928be572f2c04128e79ee0c771c0cc397c6a1379cd6786e7e9df58b9d8e66401ab0d38bffe8ff6a5b6154fc09f0d92fa0d25dc MISC metadata.xml 648 BLAKE2B a1d5ee4c53fe96e65ebfc310e5e9e58c8e9d30dd5c160cc5e212f735a9f0d1e87dfd6c2020d785051c9349d9a8c2ea00ffce8d6bc95dfb279268aa9ab154ff64 SHA512 cd0d16d6d9a7e8585a1e11f9717b4b98bec459e72b127bd379d56cf0ef4b8347eb385d762ff4ebf36bebea27b9fc13195ecaab53b5453bfb02b01aa6d14111ec diff --git a/dev-db/percona-toolkit/percona-toolkit-3.5.7.ebuild b/dev-db/percona-toolkit/percona-toolkit-3.5.7.ebuild index 40dc0b2abad8..902171bcf790 100644 --- a/dev-db/percona-toolkit/percona-toolkit-3.5.7.ebuild +++ b/dev-db/percona-toolkit/percona-toolkit-3.5.7.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.percona.com/downloads/${PN}/${PV}/source/tarball/${P}.tar.g LICENSE="|| ( GPL-2 Artistic )" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" # Package warrants IUSE doc IUSE="" -- cgit v1.2.3