summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-09-06 19:20:08 +0000
committerSven Wegener <swegener@gentoo.org>2005-09-06 19:20:08 +0000
commit1bdd61e5a395a44d5722f496d6f90eca29c83be9 (patch)
tree09a20dc99a95a7a4feb8fd2b03fbaf665e9889a8 /dev-db/mysql-administrator
parentMake --enable-xcsecurity always on, remove nvidia USE. (diff)
downloadgentoo-2-1bdd61e5a395a44d5722f496d6f90eca29c83be9.tar.gz
gentoo-2-1bdd61e5a395a44d5722f496d6f90eca29c83be9.tar.bz2
gentoo-2-1bdd61e5a395a44d5722f496d6f90eca29c83be9.zip
Version bump.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-db/mysql-administrator')
-rw-r--r--dev-db/mysql-administrator/ChangeLog9
-rw-r--r--dev-db/mysql-administrator/files/1.1.2-optional-4.1-support.patch16
-rw-r--r--dev-db/mysql-administrator/files/digest-mysql-administrator-1.1.21
-rw-r--r--dev-db/mysql-administrator/mysql-administrator-1.1.2.ebuild51
4 files changed, 76 insertions, 1 deletions
diff --git a/dev-db/mysql-administrator/ChangeLog b/dev-db/mysql-administrator/ChangeLog
index 5d4f6dbe09bd..f2110f65e1d3 100644
--- a/dev-db/mysql-administrator/ChangeLog
+++ b/dev-db/mysql-administrator/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-db/mysql-administrator
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-administrator/ChangeLog,v 1.22 2005/08/12 02:57:42 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-administrator/ChangeLog,v 1.23 2005/09/06 19:20:08 swegener Exp $
+
+*mysql-administrator-1.1.2 (06 Sep 2005)
+
+ 06 Sep 2005; Sven Wegener <swegener@gentoo.org>
+ +files/1.1.2-optional-4.1-support.patch,
+ +mysql-administrator-1.1.2.ebuild:
+ Version bump.
12 Aug 2005; Sven Wegener <swegener@gentoo.org>
-mysql-administrator-1.0.20.ebuild:
diff --git a/dev-db/mysql-administrator/files/1.1.2-optional-4.1-support.patch b/dev-db/mysql-administrator/files/1.1.2-optional-4.1-support.patch
new file mode 100644
index 000000000000..148e0fc88ba6
--- /dev/null
+++ b/dev-db/mysql-administrator/files/1.1.2-optional-4.1-support.patch
@@ -0,0 +1,16 @@
+diff -Nur mysql-administrator-1.0.22a.orig/mysql-gui-common/library/source/myx_library.c mysql-administrator-1.0.22a/mysql-gui-common/library/source/myx_library.c
+--- mysql-administrator-1.0.22a.orig/mysql-gui-common/library/source/myx_library.c 2005-06-06 16:12:15.000000000 +0200
++++ mysql-administrator-1.0.22a/mysql-gui-common/library/source/myx_library.c 2005-06-17 16:02:40.579309365 +0200
+@@ -581,10 +581,12 @@
+ //of mysql_real_connect are in utf8
+ //mysql_options(mysql, MYSQL_SET_CHARSET_NAME, "utf8");
+
++#if MYSQL_VERSION_ID >= 40100
+ if (myx_mysql_get_private(mysql)->embedded)
+ mysql_options(mysql, MYSQL_OPT_USE_EMBEDDED_CONNECTION, (char *)1);
+ else
+ mysql_options(mysql, MYSQL_OPT_USE_REMOTE_CONNECTION, (char *)1);
++#endif
+
+ if (!mysql_real_connect(mysql, user_conn->hostname, user_conn->username,
+ user_conn->password, user_conn->schema,
diff --git a/dev-db/mysql-administrator/files/digest-mysql-administrator-1.1.2 b/dev-db/mysql-administrator/files/digest-mysql-administrator-1.1.2
new file mode 100644
index 000000000000..4a1036f5c3c5
--- /dev/null
+++ b/dev-db/mysql-administrator/files/digest-mysql-administrator-1.1.2
@@ -0,0 +1 @@
+MD5 3d8bfbadbe160d9cd73ce3cce1eb088a mysql-administrator-1.1.2.tar.gz 11313947
diff --git a/dev-db/mysql-administrator/mysql-administrator-1.1.2.ebuild b/dev-db/mysql-administrator/mysql-administrator-1.1.2.ebuild
new file mode 100644
index 000000000000..1db9dc286c19
--- /dev/null
+++ b/dev-db/mysql-administrator/mysql-administrator-1.1.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-administrator/mysql-administrator-1.1.2.ebuild,v 1.1 2005/09/06 19:20:08 swegener Exp $
+
+inherit gnome2 eutils
+
+DESCRIPTION="MySQL Administrator"
+HOMEPAGE="http://www.mysql.com/products/administrator/"
+SRC_URI="mirror://mysql/Downloads/MySQLAdministrationSuite/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+RDEPEND="dev-db/mysql
+ >=dev-libs/libpcre-4.4
+ >=dev-libs/libxml2-2.6.2
+ >=gnome-base/libglade-2
+ >=dev-libs/glib-2
+ =dev-cpp/gtkmm-2.2*"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.12.0
+ >=app-text/scrollkeeper-0.3.11"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PV}-optional-4.1-support.patch
+}
+
+src_compile() {
+ cd "${S}"/mysql-gui-common
+ econf --with-commondirname=common/administrator || die "econf failed"
+ emake -j1 || die "emake failed"
+
+ cd "${S}"/mysql-administrator
+ econf --with-commondirname=common/administrator || die "econf failed"
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ USE_DESTDIR=1
+
+ cd "${S}"/mysql-gui-common
+ gnome2_src_install || die "gnome2_src_install failed"
+
+ cd "${S}"/mysql-administrator
+ gnome2_src_install || die "gnome2_src_install failed"
+}