summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mysql-query-browser/ChangeLog6
-rw-r--r--dev-db/mysql-query-browser/files/1.1.11-no-unkown-widgets.patch13
-rw-r--r--dev-db/mysql-query-browser/mysql-query-browser-1.1.11.ebuild11
3 files changed, 27 insertions, 3 deletions
diff --git a/dev-db/mysql-query-browser/ChangeLog b/dev-db/mysql-query-browser/ChangeLog
index 8187a3e5bc89..e92ed31bd2ef 100644
--- a/dev-db/mysql-query-browser/ChangeLog
+++ b/dev-db/mysql-query-browser/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-db/mysql-query-browser
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-query-browser/ChangeLog,v 1.17 2005/06/16 16:16:18 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-query-browser/ChangeLog,v 1.18 2005/06/16 16:34:14 swegener Exp $
+
+ 16 Jun 2005; Sven Wegener <swegener@gentoo.org>
+ +files/1.1.11-no-unkown-widgets.patch, mysql-query-browser-1.1.11.ebuild:
+ Added a patch that removes references to unknown widgets.
*mysql-query-browser-1.1.11 (16 Jun 2005)
diff --git a/dev-db/mysql-query-browser/files/1.1.11-no-unkown-widgets.patch b/dev-db/mysql-query-browser/files/1.1.11-no-unkown-widgets.patch
new file mode 100644
index 000000000000..18d18baae5a6
--- /dev/null
+++ b/dev-db/mysql-query-browser/files/1.1.11-no-unkown-widgets.patch
@@ -0,0 +1,13 @@
+diff -Nur mysql-query-browser-1.1.11.orig/mysql-query-browser/source/linux/MQWorkArea.cc mysql-query-browser-1.1.11/mysql-query-browser/source/linux/MQWorkArea.cc
+--- mysql-query-browser-1.1.11.orig/mysql-query-browser/source/linux/MQWorkArea.cc 2005-06-02 03:19:03.000000000 +0000
++++ mysql-query-browser-1.1.11/mysql-query-browser/source/linux/MQWorkArea.cc 2005-06-16 16:26:15.800899738 +0000
+@@ -275,9 +275,6 @@
+ _mainw->set_status(ufmt(_("Default schema not set. You must select one in the File menu before executing any query.")));
+
+ update_toolbar_sensitivity();
+-
+- if (!_dispatcher->check_version(5,0,1))
+- _xml->get_widget("make_view_btn")->set_sensitive(false);
+ }
+
+
diff --git a/dev-db/mysql-query-browser/mysql-query-browser-1.1.11.ebuild b/dev-db/mysql-query-browser/mysql-query-browser-1.1.11.ebuild
index 832d139834a6..9a0fb5faaf3a 100644
--- a/dev-db/mysql-query-browser/mysql-query-browser-1.1.11.ebuild
+++ b/dev-db/mysql-query-browser/mysql-query-browser-1.1.11.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-query-browser/mysql-query-browser-1.1.11.ebuild,v 1.1 2005/06/16 16:16:18 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-query-browser/mysql-query-browser-1.1.11.ebuild,v 1.2 2005/06/16 16:34:14 swegener Exp $
-inherit gnome2
+inherit gnome2 eutils
DESCRIPTION="MySQL Query Browser"
HOMEPAGE="http://www.mysql.com/products/query-browser/"
@@ -24,6 +24,13 @@ DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.12.0
>=app-text/scrollkeeper-0.3.11"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PV}-no-unkown-widgets.patch
+}
+
src_compile() {
cd "${S}"/mysql-gui-common
econf --with-commondirname=common/query-browser || die "econf failed"