summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-05-15 21:33:20 +0000
committerSven Wegener <swegener@gentoo.org>2007-05-15 21:33:20 +0000
commit45f8ed3277906dbe24ec33d99b8e4df5cf95919e (patch)
treeadc479fe92b9e7225d09f2b61eb27cc3c5e08958 /dev-db
parent Kamera: Don't cut data at 16MB. (diff)
downloadgentoo-2-45f8ed3277906dbe24ec33d99b8e4df5cf95919e.tar.gz
gentoo-2-45f8ed3277906dbe24ec33d99b8e4df5cf95919e.tar.bz2
gentoo-2-45f8ed3277906dbe24ec33d99b8e4df5cf95919e.zip
Version bump.
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mysql-gui-tools/ChangeLog8
-rw-r--r--dev-db/mysql-gui-tools/files/digest-mysql-gui-tools-5.0_p123
-rw-r--r--dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p12.ebuild121
3 files changed, 131 insertions, 1 deletions
diff --git a/dev-db/mysql-gui-tools/ChangeLog b/dev-db/mysql-gui-tools/ChangeLog
index 35b59d25c2b7..409dd29c69e9 100644
--- a/dev-db/mysql-gui-tools/ChangeLog
+++ b/dev-db/mysql-gui-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/mysql-gui-tools
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-gui-tools/ChangeLog,v 1.13 2007/05/03 16:59:12 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-gui-tools/ChangeLog,v 1.14 2007/05/15 21:33:20 swegener Exp $
+
+*mysql-gui-tools-5.0_p12 (15 May 2007)
+
+ 15 May 2007; Sven Wegener <swegener@gentoo.org>
+ +mysql-gui-tools-5.0_p12.ebuild:
+ Version bump.
03 May 2007; 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_p12 b/dev-db/mysql-gui-tools/files/digest-mysql-gui-tools-5.0_p12
new file mode 100644
index 000000000000..36209eaa1205
--- /dev/null
+++ b/dev-db/mysql-gui-tools/files/digest-mysql-gui-tools-5.0_p12
@@ -0,0 +1,3 @@
+MD5 755a62e8cd0ea0e138be6eedc430d7a9 mysql-gui-tools-5.0r12.tar.gz 25357550
+RMD160 ea94545c0e351e86112b13a43479aba361bc2cef mysql-gui-tools-5.0r12.tar.gz 25357550
+SHA256 4ede2e8073ab3ffa9371c3ad258eec433e8bdea876aa3db6b85e26072eb2cf7e mysql-gui-tools-5.0r12.tar.gz 25357550
diff --git a/dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p12.ebuild b/dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p12.ebuild
new file mode 100644
index 000000000000..dd1618f4bf9d
--- /dev/null
+++ b/dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p12.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2007 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_p12.ebuild,v 1.1 2007/05/15 21:33:20 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 ~amd64"
+IUSE="nls administrator query-browser workbench"
+
+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
+ workbench? (
+ =dev-lang/lua-5.0*
+ virtual/opengl
+ )"
+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}
+
+pkg_setup() {
+ if ! use administrator && ! use query-browser && ! use workbench
+ then
+ elog "Please activate at least one of the following USE flags:"
+ elog "- administrator for MySQL Administrator"
+ elog "- query-browser for MySQL Query Browser"
+ elog "- workbench for MySQL Workbench"
+ die "Please activate at least one of the following USE flags: administrator, query-browser, workbench"
+ fi
+}
+
+src_unpack() {
+ gnome2_src_unpack
+ cd "${S}"
+
+ epatch "${FILESDIR}"/mysql-gui-tools-5.0_p8-i18n-fix.patch
+ epatch "${FILESDIR}"/mysql-gui-tools-5.0_p8-lua-modules.patch
+
+ sed -i \
+ -e "s/\\(^\\|[[:space:]]\\)-ltermcap\\($\\|[[:space:]]\\)/ /g" \
+ mysql-gui-common/tools/grtsh/Makefile.{am,in}
+}
+
+src_compile() {
+ # mysql has -fno-exceptions, but we need exceptions
+ append-flags -fexceptions
+
+ cd "${S}"/mysql-gui-common
+ use nls || sed -i -e "/^SUBDIRS = / s/\\bpo\\b//" Makefile.{am,in}
+ gnome2_src_compile \
+ --disable-java-modules \
+ $(use_enable workbench grt) \
+ $(use_enable workbench canvas) \
+ $(use_enable nls i18n)
+
+ if use administrator
+ then
+ cd "${S}"/mysql-administrator
+ use nls || sed -i -e "/^SUBDIRS = / s/\\bpo\\b//" Makefile.{am,in}
+ gnome2_src_compile $(use_enable nls i18n)
+ fi
+
+ if use query-browser
+ then
+ cd "${S}"/mysql-query-browser
+ use nls || sed -i -e "/^SUBDIRS=/ s/\\bpo\\b//" Makefile.{am,in}
+ gnome2_src_compile --with-gtkhtml=libgtkhtml-3.8
+ fi
+
+ if use workbench
+ then
+ cd "${S}"/mysql-workbench
+ use nls || sed -i -e "/^SUBDIRS=/ s/\\bpo\\b//" Makefile.{am,in}
+ gnome2_src_compile
+ fi
+}
+
+src_install() {
+ cd "${S}"/mysql-gui-common
+ gnome2_src_install
+
+ if use administrator
+ then
+ cd "${S}"/mysql-administrator
+ gnome2_src_install
+ fi
+
+ if use query-browser
+ then
+ cd "${S}"/mysql-query-browser
+ gnome2_src_install
+ fi
+
+ if use workbench
+ then
+ cd "${S}"/mysql-workbench
+ gnome2_src_install
+ fi
+}