]> git.pld-linux.org Git - packages/mysql-workbench.git/commitdiff
up to 6.2.5
authorElan Ruusamäe <glen@delfi.ee>
Tue, 12 May 2015 08:17:20 +0000 (11:17 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 12 May 2015 08:48:55 +0000 (11:48 +0300)
bashism.patch
mysql-workbench-bug-74147.patch [deleted file]
mysql-workbench.spec

index 48f9560a1e71dd5610f5659578a71f478a27ac79..770e7417e200a4871d5d7625e769833b83f94b18 100644 (file)
@@ -6,10 +6,14 @@
  
  # Uncomment the following line if you're having trouble with gnome-keyring lockups.
  # This will cause passwords to be stored only temporarily for the session.
---- mysql-workbench-community-6.1.4-nodocs-src/./plugins/wb.admin/backend/wb_server_management.py~     2014-05-04 00:23:57.000000000 +0300
-+++ mysql-workbench-community-6.1.4-nodocs-src/./plugins/wb.admin/backend/wb_server_management.py      2014-05-04 00:28:47.674146927 +0300
-@@ -82,7 +82,7 @@
-         if '/bin/sh' in sudo_prefix or '/bin/bash' in sudo_prefix:
+--- mysql-workbench-community-6.2.5-src/plugins/wb.admin/backend/wb_server_management.py       2015-05-12 11:40:29.032525721 +0300
++++ mysql-workbench-community-6.2.5-src/plugins/wb.admin/backend/wb_server_management.py       2015-05-12 11:42:48.473107723 +0300
+@@ -88,10 +88,10 @@
+         if as_user != Users.ADMIN:
+             sudo_user = "sudo -u %s" % as_user
+             sudo_prefix = sudo_prefix.replace('sudo', sudo_user)
+-        if '/bin/sh' in sudo_prefix or '/bin/bash' in sudo_prefix:
++        if '/bin/sh' in sudo_prefix or '/bin/sh' in sudo_prefix:
              command = sudo_prefix + " \"" + command.replace('\\', '\\\\').replace('"', r'\"').replace('$','\\$') + "\""
          else:
 -            command = sudo_prefix + " /bin/bash -c \"" + command.replace('\\', '\\\\').replace('"', r'\"').replace('$','\\$') + "\""
  
      return command
  
-@@ -206,7 +206,7 @@
-         return data
-     # script should already have sudo
--    child = subprocess.Popen(["/bin/bash", "-c", script], bufsize=0,
-+    child = subprocess.Popen(["/bin/sh", "-c", script], bufsize=0,
-                              stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
-                              close_fds=True)
---- mysql-workbench-community-6.1.4-nodocs-src/./backend/wbprivate/workbench/wb_module.cpp~    2014-03-26 17:47:23.000000000 +0200
-+++ mysql-workbench-community-6.1.4-nodocs-src/./backend/wbprivate/workbench/wb_module.cpp     2014-05-04 00:30:43.365950180 +0300
-@@ -1807,7 +1807,7 @@
-     char *ster = NULL;
-     int rc=0;
-     GError *err = NULL;
--    if (g_spawn_command_line_sync("/bin/bash -c \"ps -ec | grep \\\"mysqld\\b\\\" | awk '{ print $1 }' | xargs ps -fp | awk 'NR > 1 {for(i=1;i<=7;i++)$i=\\\"\\\"; print $0}'\"", &stdo, &ster, &rc, &err) && stdo)
-+    if (g_spawn_command_line_sync("/bin/sh -c \"ps -ec | grep \\\"mysqld\\b\\\" | awk '{ print $1 }' | xargs ps -fp | awk 'NR > 1 {for(i=1;i<=7;i++)$i=\\\"\\\"; print $0}'\"", &stdo, &ster, &rc, &err) && stdo)
-     {
-       std::string processes(stdo);
-       
---- mysql-workbench-community-6.1.4-nodocs-src/./modules/wb.utils/wb_utils_grt.py~     2014-03-26 17:47:23.000000000 +0200
-+++ mysql-workbench-community-6.1.4-nodocs-src/./modules/wb.utils/wb_utils_grt.py      2014-05-04 00:31:19.540890016 +0300
-@@ -433,7 +433,7 @@
-         if not bundled_client_path:
-             bundled_client_path = "mysql"
-         command = """\\"%s\\" \\"-u%s\\" \\"-h%s\\" -P%i %s -p %s""" % (bundled_client_path, user, host, port, socket, schema)
--        subprocess.call(["/bin/bash", "-c", "%s -e \"%s\" &" % (get_linux_terminal_program(), command)])
-+        subprocess.call(["/bin/sh", "-c", "%s -e \"%s\" &" % (get_linux_terminal_program(), command)])
- if sys.platform == "linux2":
-@@ -524,9 +524,9 @@
-                 os.chmod(setup_script, 0700)
-                 if 'konsole' in term:
--                    subprocess.call([term, "-e", "/bin/bash", setup_script])
-+                    subprocess.call([term, "-e", "/bin/sh", setup_script])
-                 else:
--                    subprocess.call(["/bin/bash", "-c", "%s -e %s &" % (term, setup_script)])
-+                    subprocess.call(["/bin/sh", "-c", "%s -e %s &" % (term, setup_script)])
-             else:
-                 raise RuntimeError("Terminal program could not be found")
+--- mysql-workbench-community-6.2.5-src/./plugins/migration/wbcopytables.in~   2015-02-25 10:08:47.000000000 +0200
++++ mysql-workbench-community-6.2.5-src/./plugins/migration/wbcopytables.in    2015-05-12 11:45:07.170317749 +0300
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
  
+ # Set the destdir=<some_dir> when ever you install using DESTDIR=<some_dir>. 
+ destdir="$WB_DEST_DIR"
diff --git a/mysql-workbench-bug-74147.patch b/mysql-workbench-bug-74147.patch
deleted file mode 100644 (file)
index d150d93..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-=== modified file frontend/linux/linux_utilities/listmodel_wrapper.cpp
---- frontend/linux/linux_utilities/listmodel_wrapper.cpp       2014-03-17 16:42:25 +0000
-+++ frontend/linux/linux_utilities/listmodel_wrapper.cpp       2014-10-16 10:33:12 +0000
-@@ -528,7 +528,6 @@
- ListModelWrapper::ListModelWrapper(bec::ListModel* tm, Gtk::TreeView *treeview, const std::string& name)
-                     : Glib::ObjectBase(typeid(ListModelWrapper))
-                     , Glib::Object()
--                    , Gtk::TreeModel()
-                     , _treeview(treeview)
-                     , _iconview(0)
-                     , _context_menu(0)
-
-=== modified file frontend/linux/linux_utilities/listmodel_wrapper.h
---- frontend/linux/linux_utilities/listmodel_wrapper.h 2013-12-05 13:10:03 +0000
-+++ frontend/linux/linux_utilities/listmodel_wrapper.h 2014-10-16 10:33:12 +0000
-@@ -232,9 +232,16 @@
- //==============================================================================
--class ListModelWrapper : public Glib::Object, public Gtk::TreeModel, 
--                         public Gtk::TreeDragDest, public Gtk::TreeDragSource,
--                         public base::trackable
-+#if GLIB_CHECK_VERSION(2, 42, 0)
-+class ListModelWrapper : public Gtk::TreeModel, public Glib::Object,
-+                         public Gtk::TreeDragDest, public Gtk::TreeDragSource,
-+                         public base::trackable
-+#else
-+class ListModelWrapper : public Glib::Object, public Gtk::TreeModel,
-+                         public Gtk::TreeDragDest, public Gtk::TreeDragSource,
-+                         public base::trackable
-+
-+#endif
- {
-      friend class ColumnsModel;
-   protected:
-
-
index 9acb5a47cd841ebb8f22b62f29899d1b351fc59f..3f58eb39786cb553634f127619bc32565e7defa3 100644 (file)
 Summary:       Extensible modeling tool for MySQL
 Summary(pl.UTF-8):     Narzędzie do modelowania baz danych dla MySQL-a
 Name:          mysql-workbench
-Version:       6.2.3
-Release:       2
+Version:       6.2.5
+Release:       1
 License:       GPL v2
 Group:         Applications/Databases
+# Source0Download: http://dev.mysql.com/downloads/workbench/
 Source0:       http://cdn.mysql.com/Downloads/MySQLGUITools/%{name}-community-%{version}-src.tar.gz
-# Source0-md5: d58ac1beeb3bdaaba65b48e2a24df79b
+# Source0-md5: 31f8bd081993854f76d0bc73df08c3ad
 Source1:       PLD_Linux_(MySQL_Package).xml
-Patch1:                mysql-workbench-bug-74147.patch
 Patch5:                pld-profile.patch
 Patch7:                log_slow_queries.patch
 Patch8:                bashism.patch
@@ -93,7 +93,6 @@ skomplikowanych migracji do MySQL-a.
 
 %prep
 %setup -q -n %{name}-community-%{version}-src
-%patch1 -p0
 %patch5 -p1
 %patch7 -p1
 %patch8 -p1
This page took 0.061109 seconds and 4 git commands to generate.