summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-12-16 17:56:17 +0000
committerSven Wegener <swegener@gentoo.org>2006-12-16 17:56:17 +0000
commite36627ba5b739479bda83f79e4557331eef93fba (patch)
treefb1eb8cfbba95f0dbfad66639eb50f1ddcb0157f /dev-db/mysql-gui-tools
parentStable on Alpha and MIPS. (diff)
downloadgentoo-2-e36627ba5b739479bda83f79e4557331eef93fba.tar.gz
gentoo-2-e36627ba5b739479bda83f79e4557331eef93fba.tar.bz2
gentoo-2-e36627ba5b739479bda83f79e4557331eef93fba.zip
Version bump.
(Portage version: 2.1.2_rc3-r5)
Diffstat (limited to 'dev-db/mysql-gui-tools')
-rw-r--r--dev-db/mysql-gui-tools/ChangeLog10
-rw-r--r--dev-db/mysql-gui-tools/files/digest-mysql-gui-tools-5.0_p83
-rw-r--r--dev-db/mysql-gui-tools/files/mysql-gui-tools-5.0_p8-i18n-fix.patch13
-rw-r--r--dev-db/mysql-gui-tools/files/mysql-gui-tools-5.0_p8-lua-modules.patch20
-rw-r--r--dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p8.ebuild76
5 files changed, 121 insertions, 1 deletions
diff --git a/dev-db/mysql-gui-tools/ChangeLog b/dev-db/mysql-gui-tools/ChangeLog
index f897c5a95053..2993ad0f9404 100644
--- a/dev-db/mysql-gui-tools/ChangeLog
+++ b/dev-db/mysql-gui-tools/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-db/mysql-gui-tools
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-gui-tools/ChangeLog,v 1.6 2006/12/13 22:59:45 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-gui-tools/ChangeLog,v 1.7 2006/12/16 17:56:17 swegener Exp $
+
+*mysql-gui-tools-5.0_p8 (16 Dec 2006)
+
+ 16 Dec 2006; Sven Wegener <swegener@gentoo.org>
+ +files/mysql-gui-tools-5.0_p8-i18n-fix.patch,
+ +files/mysql-gui-tools-5.0_p8-lua-modules.patch,
+ +mysql-gui-tools-5.0_p8.ebuild:
+ Version bump.
13 Dec 2006; Sven Wegener <swegener@gentoo.org>
+files/mysql-gui-tools-5.0_p6-i18n-fix.patch,
diff --git a/dev-db/mysql-gui-tools/files/digest-mysql-gui-tools-5.0_p8 b/dev-db/mysql-gui-tools/files/digest-mysql-gui-tools-5.0_p8
new file mode 100644
index 000000000000..9d1a193dd63b
--- /dev/null
+++ b/dev-db/mysql-gui-tools/files/digest-mysql-gui-tools-5.0_p8
@@ -0,0 +1,3 @@
+MD5 6b30b4174655427ede256a51e0b77de1 mysql-gui-tools-5.0r8.tar.gz 22898529
+RMD160 bef06aa437345708cefe56b07adb027e16ff3c31 mysql-gui-tools-5.0r8.tar.gz 22898529
+SHA256 aa3d46fe6e892673a63834ecb30c359167f2c1ad3ba14c3e58cf2a0865388901 mysql-gui-tools-5.0r8.tar.gz 22898529
diff --git a/dev-db/mysql-gui-tools/files/mysql-gui-tools-5.0_p8-i18n-fix.patch b/dev-db/mysql-gui-tools/files/mysql-gui-tools-5.0_p8-i18n-fix.patch
new file mode 100644
index 000000000000..6f2a0afebfa5
--- /dev/null
+++ b/dev-db/mysql-gui-tools/files/mysql-gui-tools-5.0_p8-i18n-fix.patch
@@ -0,0 +1,13 @@
+Index: mysql-administrator/po/de.po
+===================================================================
+--- mysql-administrator/po/de.po (revision 610)
++++ mysql-administrator/po/de.po (working copy)
+@@ -11476,7 +11476,7 @@
+
+ #: po/glade_files.c:300
+ msgid "_Help"
+-msgstr "_Hilfe\""
++msgstr "_Hilfe"
+
+ #: po/glade_files.c:284
+ msgid "_New Connection"
diff --git a/dev-db/mysql-gui-tools/files/mysql-gui-tools-5.0_p8-lua-modules.patch b/dev-db/mysql-gui-tools/files/mysql-gui-tools-5.0_p8-lua-modules.patch
new file mode 100644
index 000000000000..fcfd5f4bdcdb
--- /dev/null
+++ b/dev-db/mysql-gui-tools/files/mysql-gui-tools-5.0_p8-lua-modules.patch
@@ -0,0 +1,20 @@
+Index: mysql-gui-common/source/linux/MySQLGRT/MGRT.cc
+===================================================================
+--- mysql-gui-common/source/linux/MySQLGRT/MGRT.cc (revision 1861)
++++ mysql-gui-common/source/linux/MySQLGRT/MGRT.cc (working copy)
+@@ -284,6 +284,7 @@
+ flush_messages();
+ #endif
+
++#ifdef ENABLE_LUA_MODULES
+ // lua modules
+ out_text("Loading Lua modules...");
+ loader= myx_lua_init_loader(_grt, &error, std::string(resourcePath+"/lua").c_str());
+@@ -303,6 +304,7 @@
+ else
+ out_text(ufmt("Error initializing Lua module loader (%i)\n",error));
+ flush_messages();
++#endif
+
+ // builtin c++
+ out_text("Initializing C++ loader...");
diff --git a/dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p8.ebuild b/dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p8.ebuild
new file mode 100644
index 000000000000..f9e07cdcc4df
--- /dev/null
+++ b/dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p8.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p8.ebuild,v 1.1 2006/12/16 17:56:17 swegener Exp $
+
+GCONF_DEBUG="no"
+
+inherit gnome2 eutils flag-o-matic
+
+MY_P="${P/_p/r}"
+
+DESCRIPTION="MySQL GUI Tools"
+HOMEPAGE="http://www.mysql.com/products/tools/"
+SRC_URI="mirror://mysql/Downloads/MySQLGUITools/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="nls"
+
+RDEPEND=">=x11-libs/gtk+-2.6
+ >=dev-libs/glib-2.6
+ >=gnome-base/libglade-2.5
+ >=dev-libs/libsigc++-2.0
+ >=dev-libs/libpcre-4.4
+ >=dev-libs/libxml2-2.6.2
+ =dev-cpp/glibmm-2.12*
+ =dev-cpp/gtkmm-2.10*
+ =gnome-extra/gtkhtml-3.12*
+ >=virtual/mysql-5.0"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.15
+ >=app-text/scrollkeeper-0.3.11"
+RDEPEND="${RDEPEND}
+ !dev-db/mysql-administrator
+ !dev-db/mysql-query-browser"
+
+S="${WORKDIR}"/${MY_P}
+
+src_unpack() {
+ gnome2_src_unpack
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-i18n-fix.patch
+ epatch "${FILESDIR}"/${P}-lua-modules.patch
+}
+
+src_compile() {
+ # mysql has -fno-exceptions, but we need exceptions
+ append-flags -fexceptions
+
+ cd "${S}"/mysql-gui-common
+ gnome2_src_compile $(use_enable nls i18n)
+
+ cd "${S}"/mysql-administrator
+ gnome2_src_compile $(use_enable nls i18n)
+
+ cd "${S}"/mysql-query-browser
+ gnome2_src_compile --with-gtkhtml=libgtkhtml-3.8
+
+# cd "${S}"/mysql-workbench
+# gnome2_src_compile
+}
+
+src_install() {
+ cd "${S}"/mysql-gui-common
+ gnome2_src_install
+
+ cd "${S}"/mysql-administrator
+ gnome2_src_install
+
+ cd "${S}"/mysql-query-browser
+ gnome2_src_install
+
+# cd "${S}"/mysql-workbench
+# gnome2_src_install
+}