# ChangeLog for dev-db/mysql-workbench
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/ChangeLog,v 1.51 2012/01/04 18:13:56 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/ChangeLog,v 1.52 2012/01/05 16:09:46 graaff Exp $
+
+*mysql-workbench-5.2.37 (05 Jan 2012)
+
+ 05 Jan 2012; Hans de Graaff <graaff@gentoo.org>
+ +mysql-workbench-5.2.37.ebuild:
+ Version bump.
04 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
mysql-workbench-5.2.35.ebuild:
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX mysql-workbench-5.2.31-python-libs.patch 873 RMD160 f1af6477590b37ec78894dca991f8ede3fcf0bac SHA1 2bf2317c32fb365fc82e3346d3b4773426e0275d SHA256 7ddeb3cfd33c0a1460b3271f2fb3eb7b8cfa40496994b9288009bedb2cc3740a
AUX mysql-workbench-5.2.34-gcc46.patch 617 RMD160 8c71980999b7f5caa98c200411bfefc220fec245 SHA1 18948ed74b1e60614ed7aaa00850515919ec6637 SHA256 6d0d9302e0f3682a6b9cb91c42955eacf60389881f3b531f65526b2b099baebd
DIST mysql-workbench-gpl-5.2.34-src.tar.gz 18160097 RMD160 9607f1c7082700d1df5b7b1aa42e3c903c68d049 SHA1 e4f9a9ee43783361c05a98196eaf196c42d03a03 SHA256 868dd4d92f601f3789eaa50af9920b9907c5c38711357a898b670acf9892b1ac
DIST mysql-workbench-gpl-5.2.35-src.tar.gz 17874329 RMD160 6207d7350cf1ea7a426ece90dabb4b7caab072a2 SHA1 74c2dddba06e4b233f3b28acf8be45f0394310f2 SHA256 3681351af061637ce54dcc1b490325e9a4a0b42127e642e60220845fcfc2cbaa
DIST mysql-workbench-gpl-5.2.36-src.tar.gz 18571353 RMD160 2afa2de53cff8fa7e23be449691421db59ca5830 SHA1 039a797970bf237f17eb58c9c6758b52e1b60ea2 SHA256 eedcde69505a0f374613485cf0f1b4e61fc6a32db38a54bbe06b32eebdc175f7
+DIST mysql-workbench-gpl-5.2.37-src.tar.gz 18554877 RMD160 f08369149b5ba3c6890bfbbb29e9087b57ee709a SHA1 5031f0436b01b756bc272d154eb0f6c67b222098 SHA256 44a110ced2877ded14d57d6b217cf03a9a7e83f9f5376ead1872fd01c2685744
EBUILD mysql-workbench-5.2.34.ebuild 2171 RMD160 d16791cacb8fb4d75441d7c0334b82e077bf6c40 SHA1 dadf3caae51f149c3fce3bfac69ac2261d3e9512 SHA256 8c9ee7ddaa655c52c289839a02f682648c220a37009cdfc6f6d42389d687a33f
EBUILD mysql-workbench-5.2.35.ebuild 2134 RMD160 dc173cfab256b135076c82e4e14b513a8182818b SHA1 07d4078141f131367c2ce7b8a1a46474dcaf48bb SHA256 4cf5d4442be898da14113d3bb18f8b3c2bfe6b5cc4509eee9a178a2869f2cf0a
EBUILD mysql-workbench-5.2.36.ebuild 2346 RMD160 0b503bfcfd804e8fca4e2f67627c9474a7173381 SHA1 423b5ccdd058a9cb3cb3ff0675bbbf84cea66580 SHA256 ddadafa88dde473dd3dec0f4afef7454df2de8580594221c67e3e0381e74f81f
-MISC ChangeLog 9538 RMD160 7b859f90215911dc5b78518bac0d028ef8c8415b SHA1 6558e01ee87b717dff5945dd833769c27c51549c SHA256 f7e1e4c4d12260846e720b5ea107dbad850dd16e40bf014ef54932eb5e5b66b2
+EBUILD mysql-workbench-5.2.37.ebuild 2346 RMD160 6288bb37e01d2a80fec3e29f0c688ee02bc2d750 SHA1 9890e801dd7a397ef93b0c74a2f0ce65c46d61c0 SHA256 ff20405973453ba6624a2ab0134e583c1feeeccb8a2c2f2e6b53eee1842da9c5
+MISC ChangeLog 9674 RMD160 72d48b7b989b4c4d02ef7b9040a40bd52ccf20d2 SHA1 832aaa5ded1ceac4384ef8174cfb586cd05530fa SHA256 6c23bb5e2439b45e81732d4f7f64a8d9675eefdcaf230406d9dcfbc957825ef2
MISC metadata.xml 201 RMD160 bbf7920d9809941fb024d20016dbe2fb9f15ff97 SHA1 e629d21795e99a77bd0a6aded1a153fd12d5b2c5 SHA256 c90b12c6600840878686d4544dbc51d97b0715add76b40d9400415cdef6324ad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEAREKAAYFAk8EluoACgkQuUQtlDBCeQJ1bwCfbQMibMzLL7+XpVYOQkL/TnWq
-7W0An34jXtZt3/EVSSHIDaEZkOM5pwOb
-=9S0z
+iF4EAREIAAYFAk8Fy1cACgkQiIP6VqMIqNcx7wD/c0jU8o+D46pY+LpoKYbuabwb
+gPxjClHC1oFGbdaRjqwA/005s+Nedng9D7mhYe8i3lWJuqdZjoqN7ijDFu3SYLRj
+=SWl1
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.37.ebuild,v 1.1 2012/01/05 16:09:46 graaff Exp $
+
+EAPI="3"
+GCONF_DEBUG="no"
+PYTHON_DEPEND=2
+
+inherit gnome2 eutils flag-o-matic python
+
+MY_P="${PN}-gpl-${PV}-src"
+
+DESCRIPTION="MySQL Workbench"
+HOMEPAGE="http://dev.mysql.com/workbench/"
+SRC_URI="mirror://mysql/Downloads/MySQLGUITools/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug doc nls static-libs"
+
+CDEPEND="dev-db/sqlite:3
+ >=x11-libs/gtk+-2.6:2
+ dev-libs/glib:2
+ gnome-base/libglade:2.0
+ dev-libs/libsigc++:2
+ dev-libs/boost
+ >=dev-cpp/ctemplate-0.95
+ >=dev-libs/libxml2-2.6.2:2
+ >=dev-cpp/glibmm-2.14:2
+ >=dev-cpp/gtkmm-2.14:2.4
+ dev-libs/libzip
+ >=virtual/mysql-5.1
+ dev-libs/libpcre
+ virtual/opengl
+ >=dev-lang/lua-5.1[deprecated]
+ x11-libs/pango
+ || ( sys-libs/e2fsprogs-libs
+ dev-libs/ossp-uuid )
+ >=x11-libs/cairo-1.5.12[svg]
+ dev-python/pexpect
+ dev-python/paramiko
+ doc? ( dev-python/pysqlite:2 )
+ nls? ( sys-devel/gettext )"
+RDEPEND="${CDEPEND}
+ app-admin/sudo
+ sys-apps/net-tools"
+DEPEND="${CDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}"/"${MY_P}"
+
+pkg_setup() {
+ # Make sure we use Python 2 since the code is not compatible with 3.
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ # ifconfig isn't in the normal path
+ sed -i -e 's:ifconfig:/sbin/ifconfig:' plugins/wb.admin/backend/wb_server_control.py || die
+
+ # paramiko 1.7.7.1 is newer, update version range check:
+ # http://bugs.mysql.com/bug.php?id=63750
+ sed -i -e 's/4,5,6/4,5,6,7/' plugins/wb.admin/backend/wb_admin_ssh.py || die
+
+ # Remove hardcoded CXXFLAGS
+ sed -i -e 's/debug_flags="-ggdb3 /debug_flags="/' configure || die
+ sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/Makefile.in ext/scintilla/gtk/Makefile.am || die
+
+ # Remove bundled ctemplate version to make sure we use the system
+ # version, but leave a directory to avoid confusing configure, bug
+ # 357539.
+ rm -rf ext/ctemplate || die
+ mkdir -p ext/ctemplate/ctemplate-src || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls i18n) \
+ $(use_enable debug) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ find "${ED}" -name '*.la' -delete || die
+}