Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=79bcfc71b537c8988be943e9ed7343b9671fb491

commit 79bcfc71b537c8988be943e9ed7343b9671fb491
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Sat Oct 15 15:41:18 2011 +0200

mysql-workbench-oss-5.2.35-2-x86_64
*fix frugalware support

diff --git a/source/gnome-extra/mysql-workbench-oss/FrugalBuild 
b/source/gnome-extra/mysql-workbench-oss/FrugalBuild
index c292399..1f9cf40 100644
--- a/source/gnome-extra/mysql-workbench-oss/FrugalBuild
+++ b/source/gnome-extra/mysql-workbench-oss/FrugalBuild
@@ -4,7 +4,7 @@
pkgname=mysql-workbench-oss
_F_archive_name=mysql-workbench-gpl
pkgver=5.2.35
-pkgrel=1
+pkgrel=2
pkgdesc="MySQL Workbench is a cross-platform, visual database design tool 
developed by MySQL."
url="http://wb.mysql.com/";
depends=('libmysqlclient' 'libzip' 'libsigc++2' 'libglade' 'gtkmm2' 'libgnome' \
@@ -16,14 +16,18 @@ options=('scriptlet')
Fconfopts="${Fconfopts[@]} --enable-readline"
up2date="lynx -dump -source http://dev.mysql.com/downloads/workbench/5.1.html 
|Flasttar"
mirror="http://mysql.mirrors.crysys.hit.bme.hu/";
-source=($mirror/Downloads/MySQLGUITools/$_F_archive_name-$pkgver-src.tar.gz)
-sha1sums=('74c2dddba06e4b233f3b28acf8be45f0394310f2')
+source=($mirror/Downloads/MySQLGUITools/$_F_archive_name-$pkgver-src.tar.gz \
+       frugalware.xml frugalware.patch)
+sha1sums=('74c2dddba06e4b233f3b28acf8be45f0394310f2' \
+          '48e98ffa340dbc27eb96d26134fd6be4156e564e' \
+          '1f4e1ab0ad490cd9ad284aefffea33fb09156fac')

replaces=('mysql-administrator')
provides=('mysql-administrator')

build() {
Fcd $_F_archive_name-${pkgver/b/}-src
+       cp ..//frugalware.xml res/mysql.profiles || Fdie
sh ./autogen.sh || Fdie
Fbuild
}
diff --git a/source/gnome-extra/mysql-workbench-oss/frugalware.patch 
b/source/gnome-extra/mysql-workbench-oss/frugalware.patch
new file mode 100644
index 0000000..7d295b1
--- /dev/null
+++ b/source/gnome-extra/mysql-workbench-oss/frugalware.patch
@@ -0,0 +1,23 @@
+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=\
++frugalware.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 = \
++frugalware.xml\
+ Fedora_Linux_(MySQL_Package).xml\
+ Fedora_Linux_(Vendor_Package).xml\
+ FreeBSD_(MySQL_Package).xml\
+
diff --git a/source/gnome-extra/mysql-workbench-oss/frugalware.xml 
b/source/gnome-extra/mysql-workbench-oss/frugalware.xml
new file mode 100644
index 0000000..3480893
--- /dev/null
+++ b/source/gnome-extra/mysql-workbench-oss/frugalware.xml
@@ -0,0 +1,19 @@
+<?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>
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to