public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-workbench/
Date: Fri, 21 Apr 2023 08:45:47 +0000 (UTC)	[thread overview]
Message-ID: <1682066743.46f3bd39426c87164007c8b519a8f69437bf86e7.graaff@gentoo> (raw)

commit:     46f3bd39426c87164007c8b519a8f69437bf86e7
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 21 08:44:04 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Apr 21 08:45:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46f3bd39

dev-db/mysql-workbench: add 8.0.33

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-db/mysql-workbench/Manifest                    |   2 +
 .../mysql-workbench/mysql-workbench-8.0.33.ebuild  | 117 +++++++++++++++++++++
 2 files changed, 119 insertions(+)

diff --git a/dev-db/mysql-workbench/Manifest b/dev-db/mysql-workbench/Manifest
index 8778f13f73b3..48abf8566b4b 100644
--- a/dev-db/mysql-workbench/Manifest
+++ b/dev-db/mysql-workbench/Manifest
@@ -1,3 +1,5 @@
+DIST antlr-4.11.1-complete.jar 3547867 BLAKE2B 24e9799a402302fd13ebd91028a8e3b8141af50b446bc06bb4df3f7619cad956e9b681c0908b870a1f9d6701049e89099906cdc6038dc007984b19f7a8cc756b SHA512 a445bb71e4470ffa7bbb382a873fe5c5737b96b2c68b57593c1151ed9944ec701ce0c299ea5c3b593bd33916d384d598e2538a9b0b11b41c77a399beca4aab88
 DIST antlr-4.9.1-complete.jar 2100605 BLAKE2B 6fcdc184900cd30e42b3e1b6f56bcccbf1d3c975edc8475b92b9c0779568148f711e9bcbb77859d8fbff2d31f362a9b562847b9b9ece03c8c4b7792341fab57e SHA512 a01815324c15fbff9cb917fa2cdef85aabf34c77730913026257e92c195d11f059c73a1579ffa74616b76b5aba34fd6074b19e1de8f2f3bec1c55cd950f4947b
 DIST mysql-workbench-community-8.0.31-src.tar.gz 19350289 BLAKE2B eac2024763f1129020584f1f0d019567b88a5de6236607d9c5c140e3041c6570a50bed50d3783f5a51ac2d16331300d49095f16f786d5152bb378f0d8f5cb548 SHA512 7ff9b6636292d6fa1708903e5fd26fdcd07150e34217ddb6fe552dd46c026ed49cd5086e7f43daea09d90f390cd14b59ddd8371b308dc6c9b3f0fe3455e04b7a
 DIST mysql-workbench-community-8.0.32-src.tar.gz 19353724 BLAKE2B 0ae8b7cfa0c73b4637ea62bdb46ff4102a374a6dc0b84eed8df414c07277763c61312996a011da82af668c6600bb76f723be60995509b7108ec184fde514f7b0 SHA512 368f9874a996efa782b6e0e6cf8b8919aacd2d7d4ad273f8ab5ed1ac6c9490e2c37bc1413867c5ed85169f04773bafcea7d513c8fc12323ba225cdb411b9ff05
+DIST mysql-workbench-community-8.0.33-src.tar.gz 27900614 BLAKE2B fd1fd53eec882c1cdc42ac1f56bfec034e1e3266768f12d41306464e87e81008008b5a467bbad251f49d2c3c9e7737440c4c9d9a00020a7fa603c6f5c5fbe107 SHA512 cd251d7eb6aa0e1d8a1ee5c5cd7c7422979172b333420fbd30c626b1acc9563e34cf537374888365e3001277b4dcd7adffbb2f14f0dccc219ba1ef5f2d44b292

diff --git a/dev-db/mysql-workbench/mysql-workbench-8.0.33.ebuild b/dev-db/mysql-workbench/mysql-workbench-8.0.33.ebuild
new file mode 100644
index 000000000000..f22506106d34
--- /dev/null
+++ b/dev-db/mysql-workbench/mysql-workbench-8.0.33.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GCONF_DEBUG="no"
+
+PYTHON_COMPAT=( python3_{9,10,11} )
+PYTHON_REQ_USE="sqlite"
+
+ANTLR_VERSION=4.11.1
+
+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"
+
+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
+		dev-libs/atk
+		>=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
+		dev-db/vsqlite++
+		|| ( dev-db/libiodbc dev-db/unixODBC )
+		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
+		virtual/pkgconfig"
+
+S="${WORKDIR}"/"${MY_P}"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-6.2.5-wbcopytables.patch"
+	"${FILESDIR}/${PN}-8.0.19-mysql-connector-8.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
+	## Look for an existing header file
+	sed -i -e 's/unixodbc.h/unixodbc_conf.h/' build/cmake/Modules/FindUNIXODBC.cmake || die
+
+	## package is very fragile...
+	strip-flags
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	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
+}


             reply	other threads:[~2023-04-21  8:45 UTC|newest]

Thread overview: 99+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-21  8:45 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10  0:22 [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-workbench/ Sam James
2024-10-16  6:15 Hans de Graaff
2024-08-02  5:26 Hans de Graaff
2024-08-01  7:05 Eli Schwartz
2024-07-03  5:16 Hans de Graaff
2024-02-23 10:36 Hans de Graaff
2024-02-20 20:59 Ionen Wolkens
2024-01-17 13:16 Hans de Graaff
2023-11-27 15:43 Andreas Sturmlechner
2023-10-17 15:00 Hans de Graaff
2023-09-23  7:07 Hans de Graaff
2023-07-19  5:49 Hans de Graaff
2023-06-15 12:09 Hans de Graaff
2023-06-15 11:38 Hans de Graaff
2023-05-27 15:06 Pacho Ramos
2023-05-24 18:53 Arthur Zamarin
2023-04-21  8:45 Hans de Graaff
2023-04-02 19:30 Arthur Zamarin
2023-02-18 13:55 Andreas Sturmlechner
2023-02-10  8:14 Hans de Graaff
2023-01-20  8:31 Hans de Graaff
2023-01-08 10:38 Hans de Graaff
2023-01-08  8:33 Hans de Graaff
2022-12-02  8:30 Hans de Graaff
2022-12-02  8:02 Arthur Zamarin
2022-10-22  6:29 Hans de Graaff
2022-10-18 15:29 Hans de Graaff
2022-10-08 18:25 Sam James
2022-07-29  2:47 Sam James
2022-07-27  9:43 Hans de Graaff
2022-07-20  6:12 Hans de Graaff
2022-06-13  5:30 Hans de Graaff
2022-06-12  8:28 Agostino Sarubbo
2022-05-22  5:29 Hans de Graaff
2022-05-21  9:20 Hans de Graaff
2022-05-21  9:20 Hans de Graaff
2022-03-21  7:47 Agostino Sarubbo
2021-10-22  5:51 Hans de Graaff
2021-09-20 18:15 Andreas K. Hüttel
2021-09-13 20:30 David Seifert
2021-08-27  7:36 Hans de Graaff
2021-08-27  7:36 Hans de Graaff
2021-07-21  5:40 Hans de Graaff
2021-05-12  6:20 Hans de Graaff
2021-04-24  5:38 Hans de Graaff
2021-03-24 13:24 Hans de Graaff
2021-03-23 15:05 Matt Turner
2020-07-19  6:15 Hans de Graaff
2020-04-29 10:55 Hans de Graaff
2020-04-05  9:16 Hans de Graaff
2020-03-31  7:22 Agostino Sarubbo
2020-03-29  7:24 Mikle Kolyada
2020-02-19 18:59 Hans de Graaff
2020-02-19 18:59 Hans de Graaff
2020-01-26  9:27 Hans de Graaff
2020-01-17  8:44 Michał Górny
2019-10-15  6:04 Hans de Graaff
2019-08-03  5:47 Hans de Graaff
2019-08-03  5:47 Hans de Graaff
2019-07-24  8:19 Agostino Sarubbo
2019-07-23 10:15 Agostino Sarubbo
2019-07-23  8:47 Hans de Graaff
2019-07-23  6:56 Hans de Graaff
2019-07-23  6:56 Hans de Graaff
2019-06-05 17:56 Hans de Graaff
2019-06-05  7:46 Agostino Sarubbo
2019-05-26 11:50 Mikle Kolyada
2019-05-20 18:04 Hans de Graaff
2019-04-26  7:51 Hans de Graaff
2019-04-21  8:40 Hans de Graaff
2019-04-21  8:40 Hans de Graaff
2019-01-21 17:44 Hans de Graaff
2019-01-09  9:20 Hans de Graaff
2018-12-14  7:43 Hans de Graaff
2018-12-14  7:43 Hans de Graaff
2018-12-14  2:13 Thomas Deutschmann
2018-12-13 11:36 Hans de Graaff
2018-12-11 10:01 Hans de Graaff
2018-12-11  9:50 Hans de Graaff
2018-10-26 17:43 Hans de Graaff
2018-10-24  6:14 Hans de Graaff
2018-10-24  6:14 Hans de Graaff
2018-03-17  6:45 Matt Turner
2017-12-23  9:40 Hans de Graaff
2017-11-19 10:35 Hans de Graaff
2017-07-20 11:51 Hans de Graaff
2017-05-29  4:35 Hans de Graaff
2017-05-25  7:36 Hans de Graaff
2017-05-25  7:09 Hans de Graaff
2017-05-21  6:03 Hans de Graaff
2016-01-25 20:27 Hans de Graaff
2016-01-12 10:35 James Le Cuirot
2016-01-11 21:00 Hans de Graaff
2016-01-06 13:34 Agostino Sarubbo
2016-01-03 11:54 Agostino Sarubbo
2016-01-02 11:16 Hans de Graaff
2015-12-29 12:08 Pacho Ramos
2015-12-06  7:43 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1682066743.46f3bd39426c87164007c8b519a8f69437bf86e7.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox