summaryrefslogtreecommitdiff
path: root/community/mysql-workbench
diff options
context:
space:
mode:
Diffstat (limited to 'community/mysql-workbench')
-rw-r--r--community/mysql-workbench/ArchLinux.xml18
-rw-r--r--community/mysql-workbench/PKGBUILD64
-rw-r--r--community/mysql-workbench/arch.patch22
-rw-r--r--community/mysql-workbench/gcc46.patch11
-rw-r--r--community/mysql-workbench/python27.patch19
5 files changed, 0 insertions, 134 deletions
diff --git a/community/mysql-workbench/ArchLinux.xml b/community/mysql-workbench/ArchLinux.xml
deleted file mode 100644
index 821490739..000000000
--- a/community/mysql-workbench/ArchLinux.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>
-
-<data>
- <value type="dict">
- <value type="string" key="sys.config.path">/etc/mysql/my.cnf</value>
- <value type="string" key="sys.config.section">mysqld</value>
-
- <value type="string" key="sys.mysqld.start">/etc/rc.d/mysqld start</value>
- <value type="string" key="sys.mysqld.stop">/etc/rc.d/mysqld stop</value>
- <value type="string" key="sys.mysqld.status">ps -C mysqld -o pid=</value>
- <value type="int" key="sys.usesudo">1</value>
- <value type="int" key="sys.usesudostatus">0</value>
- <value type="string" key="sys.sudo">/usr/bin/sudo -p EnterPasswordHere /bin/sh -c</value>
-
- <value type="string" key="sys.system">Linux</value>
- <value type="string" key="serverVersion">5.5</value>
- </value>
-</data>
diff --git a/community/mysql-workbench/PKGBUILD b/community/mysql-workbench/PKGBUILD
deleted file mode 100644
index 9de54538e..000000000
--- a/community/mysql-workbench/PKGBUILD
+++ /dev/null
@@ -1,64 +0,0 @@
-# $Id: PKGBUILD 60120 2011-12-05 17:20:12Z ibiru $
-# Maintainer:
-# Contributor : Ionut Biru <ibiru@archlinux.org>
-# Contributor: totoloco <totoloco at gmail _dot_com>
-
-pkgname=mysql-workbench
-epoch=1
-pkgver=5.2.36
-pkgrel=1
-pkgdesc="A cross-platform, visual database design tool developed by MySQL"
-arch=('i686' 'x86_64')
-url="http://wb.mysql.com/"
-license=('GPL2')
-depends=('libzip' 'libmysqlclient' 'lua' 'gtkmm' 'libgl'
- 'libsigc++' 'python-paramiko' 'python-pexpect' 'libgnome-keyring')
-makedepends=('boost' 'curl' 'mesa' 'python-sphinx')
-options=('!libtool')
-source=(ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQLGUITools/${pkgname}-gpl-${pkgver}-src.tar.gz
- ArchLinux.xml arch.patch python27.patch gcc46.patch)
-md5sums=('7408d80ddb647a7d5a8749b0ecad9620'
- 'c2f986cd5737413d020c55db32713c48'
- '23430d24400fd65c9fd872bd8e2411e5'
- 'a3efb373bd85d876530a29bf1780fb6b'
- '43917ebc79794ba15a64f7ba820fa20b')
-
-build() {
- cd "${srcdir}/${pkgname}-gpl-${pkgver}-src"
-
- cp "${srcdir}/ArchLinux.xml" res/mysql.profiles
- patch -Np1 -i ${srcdir}/arch.patch
-
- patch -Np1 -i ${srcdir}/python27.patch
- patch -Np1 -i ${srcdir}/gcc46.patch
-
- ./autogen.sh --prefix=/usr --with-bundled-ctemplate \
- --disable-debug --disable-static
- make
-
- pushd ext/mysql-utilities
- python2 setup.py build
- popd
-
- pushd ext/connector-python
- python2 setup.py build
- popd
-}
-
-package() {
- cd "${srcdir}/${pkgname}-gpl-${pkgver}-src"
-
- make DESTDIR="${pkgdir}" install
-
- pushd ext/mysql-utilities
- python2 setup.py install --skip-profile --root $pkgdir --prefix=/usr --optimize=1
- popd
-
- pushd ext/connector-python
- python2 setup.py install --root $pkgdir --prefix=/usr --optimize=1
-
- sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
- $(find ${pkgdir} -name '*.py')
-}
diff --git a/community/mysql-workbench/arch.patch b/community/mysql-workbench/arch.patch
deleted file mode 100644
index 9f244e5f0..000000000
--- a/community/mysql-workbench/arch.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Nur mysql-workbench-gpl-5.2.25/res/mysql.profiles/Makefile.am mysql-workbench-gpl-5.2.25a/res/mysql.profiles/Makefile.am
---- mysql-workbench-gpl-5.2.25/res/mysql.profiles/Makefile.am 2010-06-30 11:14:27.000000000 -0500
-+++ mysql-workbench-gpl-5.2.25a/res/mysql.profiles/Makefile.am 2010-07-04 21:36:34.425999721 -0500
-@@ -2,6 +2,7 @@
- workbenchdir=$(pkgdatadir)/mysql.profiles
-
- workbench_DATA=\
-+ArchLinux.xml\
- Fedora_Linux_(MySQL_Package).xml\
- Fedora_Linux_(Vendor_Package).xml\
- FreeBSD_(MySQL_Package).xml\
-diff -Nur mysql-workbench-gpl-5.2.25/res/mysql.profiles/Makefile.in mysql-workbench-gpl-5.2.25a/res/mysql.profiles/Makefile.in
---- mysql-workbench-gpl-5.2.25/res/mysql.profiles/Makefile.in 2010-06-30 11:14:38.000000000 -0500
-+++ mysql-workbench-gpl-5.2.25a/res/mysql.profiles/Makefile.in 2010-07-04 21:36:59.396862401 -0500
-@@ -213,6 +213,7 @@
- top_srcdir = @top_srcdir@
- workbenchdir = $(pkgdatadir)/mysql.profiles
- workbench_DATA = \
-+ArchLinux.xml\
- Fedora_Linux_(MySQL_Package).xml\
- Fedora_Linux_(Vendor_Package).xml\
- FreeBSD_(MySQL_Package).xml\
diff --git a/community/mysql-workbench/gcc46.patch b/community/mysql-workbench/gcc46.patch
deleted file mode 100644
index 6a0d2cd97..000000000
--- a/community/mysql-workbench/gcc46.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Nur mysql-workbench-gpl-5.2.34-src.orig/ext/ctemplate/ctemplate-src/src/ctemplate/template_dictionary.h.in mysql-workbench-gpl-5.2.34-src/ext/ctemplate/ctemplate-src/src/ctemplate/template_dictionary.h.in
---- mysql-workbench-gpl-5.2.34-src.orig/ext/ctemplate/ctemplate-src/src/ctemplate/template_dictionary.h.in 2011-05-26 09:33:54.128803186 +0000
-+++ mysql-workbench-gpl-5.2.34-src/ext/ctemplate/ctemplate-src/src/ctemplate/template_dictionary.h.in 2011-05-26 09:34:45.312611839 +0000
-@@ -54,6 +54,7 @@
- #include <map>
- #include <string>
- #include <vector>
-+#include <cstddef>
- #include <ctemplate/template_dictionary_interface.h>
- #include <ctemplate/template_string.h>
- #include <ctemplate/template_modifiers.h>
diff --git a/community/mysql-workbench/python27.patch b/community/mysql-workbench/python27.patch
deleted file mode 100644
index 4f70afe57..000000000
--- a/community/mysql-workbench/python27.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Nur mysql-workbench-gpl-5.2.36-src.old/configure.in mysql-workbench-gpl-5.2.36-src/configure.in
---- mysql-workbench-gpl-5.2.36-src.old/configure.in 2011-12-05 15:04:56.894410445 +0000
-+++ mysql-workbench-gpl-5.2.36-src/configure.in 2011-12-05 15:05:45.818268997 +0000
-@@ -245,13 +245,13 @@
- AC_CHECK_PROG(PYTHON27, python2.7, [yes])
- # Python headers
- AC_MSG_CHECKING(for Python libraries)
--PYTHON_LIBS=[$(python -c "from distutils import sysconfig
-+PYTHON_LIBS=[$(python2 -c "from distutils import sysconfig
- import os
- cfg=sysconfig.get_config_vars()
- lib = os.path.join(cfg['LIBDIR'], cfg['LDLIBRARY'])
- if os.path.exists(lib):
- print \"-L\" + cfg['LIBDIR'] + \" -l\" + cfg['LDLIBRARY'].lstrip(\"lib\").rstrip(\".so\")")]
--PYTHON_CFLAGS=[$(python -c "from distutils import sysconfig
-+PYTHON_CFLAGS=[$(python2 -c "from distutils import sysconfig
- print sysconfig.get_python_inc()")]
- PYTHON_CFLAGS="-I$PYTHON_CFLAGS"
- if test "$PYTHON_LIBS" = ""; then