Remove, it's been EOL'd and abondoned upstream. It also didn't built anymore
since a recent MySQL update. long maintainer time-out (wilfried@) ok sthen@
This commit is contained in:
parent
61aaa69278
commit
6225a2bbca
@ -1,50 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.28 2010/11/26 07:18:59 espie Exp $
|
||||
|
||||
COMMENT= visual administration console for MySQL
|
||||
|
||||
DISTNAME= mysql-gui-tools-5.0r12
|
||||
PKGNAME= mysql-administrator-1.2.12
|
||||
REVISION= 6
|
||||
|
||||
CATEGORIES= databases
|
||||
|
||||
HOMEPAGE= http://www.mysql.com/products/tools/administrator/
|
||||
|
||||
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_MYSQL:=Downloads/MySQLGUITools/}
|
||||
|
||||
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
||||
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo cairomm-1.0
|
||||
WANTLIB += crypto expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
|
||||
WANTLIB += giomm-2.4 glibmm-2.4 gtk-x11-2.0 m pango-1.0
|
||||
WANTLIB += pangocairo-1.0 pangoft2-1.0 pangomm-1.4 pixman-1 png
|
||||
WANTLIB += pthread pthread-stubs sigc-2.0 ssl stdc++ util xcb z
|
||||
WANTLIB += pcre mysqlclient_r gio-2.0 glib-2.0 gmodule-2.0
|
||||
WANTLIB += gobject-2.0 glade-2.0 atkmm-1.6 gdkmm-2.4 gtkmm-2.4 xml2>=6
|
||||
|
||||
MODULES= devel/gettext
|
||||
BUILD_DEPENDS= devel/mysql-gui-common>=5
|
||||
RUN_DEPENDS= devel/mysql-gui-common>=5 \
|
||||
devel/desktop-file-utils
|
||||
LIB_DEPENDS= devel/pcre \
|
||||
databases/mysql \
|
||||
devel/glib2>=2.6.2 \
|
||||
devel/libglade2 \
|
||||
x11/gtk2mm \
|
||||
textproc/libxml>=2.6.2
|
||||
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
|
||||
--disable-dependency-tracking
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME}/mysql-administrator
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (mysql-gui-tools-5.0r12.tar.gz) = dVpi6M0OoOE4vm7txDDXqQ==
|
||||
RMD160 (mysql-gui-tools-5.0r12.tar.gz) = 6pRUXA41HoYRKxOkNHmro2G8LO8=
|
||||
SHA1 (mysql-gui-tools-5.0r12.tar.gz) = P906gMY08KqfqPO8UFrdGPNg3Gw=
|
||||
SHA256 (mysql-gui-tools-5.0r12.tar.gz) = Tt4ugHOrP/qTccOtJY7sQz6L3qh2qj22uF4mBy6yz34=
|
||||
SIZE (mysql-gui-tools-5.0r12.tar.gz) = 25357550
|
@ -1,35 +0,0 @@
|
||||
$OpenBSD: patch-configure,v 1.2 2006/10/18 14:25:58 wilfried Exp $
|
||||
--- configure.orig Tue Sep 26 20:13:44 2006
|
||||
+++ configure Tue Oct 17 18:17:20 2006
|
||||
@@ -3542,30 +3542,7 @@ fi
|
||||
#
|
||||
# internal libraries
|
||||
#
|
||||
-echo "$as_me:$LINENO: checking for ../mysql-gui-common/library/base-library" >&5
|
||||
-echo $ECHO_N "checking for ../mysql-gui-common/library/base-library... $ECHO_C" >&6
|
||||
-if test "${ac_cv_file____mysql_gui_common_library_base_library+set}" = set; then
|
||||
- echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
-else
|
||||
- test "$cross_compiling" = yes &&
|
||||
- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
-if test -r "../mysql-gui-common/library/base-library"; then
|
||||
- ac_cv_file____mysql_gui_common_library_base_library=yes
|
||||
-else
|
||||
- ac_cv_file____mysql_gui_common_library_base_library=no
|
||||
-fi
|
||||
-fi
|
||||
-echo "$as_me:$LINENO: result: $ac_cv_file____mysql_gui_common_library_base_library" >&5
|
||||
-echo "${ECHO_T}$ac_cv_file____mysql_gui_common_library_base_library" >&6
|
||||
-if test $ac_cv_file____mysql_gui_common_library_base_library = yes; then
|
||||
- :
|
||||
-else
|
||||
- { { echo "$as_me:$LINENO: error: mysql-gui-common source tree must be present in the same directory as this program" >&5
|
||||
-echo "$as_me: error: mysql-gui-common source tree must be present in the same directory as this program" >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
-fi
|
||||
+ac_cv_file____mysql_gui_common_library_base_library=yes
|
||||
|
||||
|
||||
#AC_CHECK_FILE(../mysql-gui-common/source/linux/libmacommongui.a, [],
|
@ -1,18 +0,0 @@
|
||||
$OpenBSD: patch-library_source_Makefile_in,v 1.2 2006/10/18 14:25:58 wilfried Exp $
|
||||
--- library/source/Makefile.in.orig Tue Sep 26 20:13:43 2006
|
||||
+++ library/source/Makefile.in Tue Oct 17 18:17:41 2006
|
||||
@@ -189,10 +189,10 @@ target_alias = @target_alias@
|
||||
noinst_LIBRARIES = libadmin.a
|
||||
INCLUDES = -Wsign-compare -Wall \
|
||||
-I../include @MYSQL_CFLAGS@ \
|
||||
- -I$(top_srcdir)/../mysql-gui-common/source/linux\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/base-library/include\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/utilities/shared_include\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/utilities/include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/source/linux\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/base-library/include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/utilities/shared_include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/utilities/include\
|
||||
@PCRE_CFLAGS@\
|
||||
@GLIB_CFLAGS@
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MABackupPanel_cc,v 1.1 2009/09/24 11:52:21 ajacoutot Exp $
|
||||
--- source/linux/MABackupPanel.cc.orig Thu Sep 24 12:54:51 2009
|
||||
+++ source/linux/MABackupPanel.cc Thu Sep 24 12:55:05 2009
|
||||
@@ -1282,7 +1282,7 @@ void MABackupPanel::perform_backup()
|
||||
|
||||
if (_inst->check_connection())
|
||||
{
|
||||
- SigC::Connection con= Glib::signal_timeout().connect(sigc::bind<void*>
|
||||
+ sigc::connection con= Glib::signal_timeout().connect(sigc::bind<void*>
|
||||
(sigc::mem_fun(*this, &MABackupPanel::update_backup_progress),&arg.pdata),
|
||||
50);
|
||||
dlg->show();
|
@ -1,30 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MACatalogsPanel_cc,v 1.1 2009/09/24 11:52:21 ajacoutot Exp $
|
||||
--- source/linux/MACatalogsPanel.cc.orig Thu Sep 24 10:57:09 2009
|
||||
+++ source/linux/MACatalogsPanel.cc Thu Sep 24 12:55:05 2009
|
||||
@@ -1488,7 +1488,7 @@ void MACatalogsPanel::maint_next_page()
|
||||
|
||||
_maint_dlg_xml->get_button("next_button")->set_sensitive(false);
|
||||
_maint_dlg_xml->get_note("note")->set_current_page(4);
|
||||
- SigC::Connection conn = Glib::signal_timeout().connect(sigc::mem_fun(*this, &MACatalogsPanel::maint_pulse_progressbar), 200);
|
||||
+ sigc::connection conn = Glib::signal_timeout().connect(sigc::mem_fun(*this, &MACatalogsPanel::maint_pulse_progressbar), 200);
|
||||
|
||||
status= (MYX_TABLE_COMMAND_STATUSES*)
|
||||
_data->get_instance()->perform_data_fetch3((MInstanceInfo::DataFetcher3)myx_optimize_table,
|
||||
@@ -1528,7 +1528,7 @@ void MACatalogsPanel::maint_next_page()
|
||||
|
||||
_maint_dlg_xml->get_button("next_button")->set_sensitive(false);
|
||||
_maint_dlg_xml->get_note("note")->set_current_page(4);
|
||||
- SigC::Connection conn = Glib::signal_timeout().connect(sigc::mem_fun(*this, &MACatalogsPanel::maint_pulse_progressbar), 200);
|
||||
+ sigc::connection conn = Glib::signal_timeout().connect(sigc::mem_fun(*this, &MACatalogsPanel::maint_pulse_progressbar), 200);
|
||||
|
||||
status= (MYX_TABLE_COMMAND_STATUSES*)
|
||||
_data->get_instance()->perform_data_fetch3((MInstanceInfo::DataFetcher3)myx_check_table,
|
||||
@@ -1568,7 +1568,7 @@ void MACatalogsPanel::maint_next_page()
|
||||
|
||||
_maint_dlg_xml->get_button("next_button")->set_sensitive(false);
|
||||
_maint_dlg_xml->get_note("note")->set_current_page(4);
|
||||
- SigC::Connection conn = Glib::signal_timeout().connect(sigc::mem_fun(*this, &MACatalogsPanel::maint_pulse_progressbar), 200);
|
||||
+ sigc::connection conn = Glib::signal_timeout().connect(sigc::mem_fun(*this, &MACatalogsPanel::maint_pulse_progressbar), 200);
|
||||
|
||||
status= (MYX_TABLE_COMMAND_STATUSES*)
|
||||
_data->get_instance()->perform_data_fetch3((MInstanceInfo::DataFetcher3)myx_repair_table,
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MARestorePanel_cc,v 1.1 2009/09/24 11:52:21 ajacoutot Exp $
|
||||
--- source/linux/MARestorePanel.cc.orig Thu Sep 24 10:56:43 2009
|
||||
+++ source/linux/MARestorePanel.cc Thu Sep 24 12:55:05 2009
|
||||
@@ -728,7 +728,7 @@ MYX_BACKUP_CONTENT *MARestorePanel::perform_load(const
|
||||
op_aborted= false;
|
||||
|
||||
{
|
||||
- SigC::Connection con= Glib::signal_timeout().connect(sigc::bind<void*>
|
||||
+ sigc::connection con= Glib::signal_timeout().connect(sigc::bind<void*>
|
||||
(sigc::mem_fun(*this, &MARestorePanel::update_status),&arg.pdata),
|
||||
50);
|
||||
|
||||
@@ -854,7 +854,7 @@ void MARestorePanel::perform_restore()
|
||||
//{
|
||||
MYX_BACKUP_ERROR err;
|
||||
|
||||
- SigC::Connection con= Glib::signal_timeout().connect(sigc::bind<void*>
|
||||
+ sigc::connection con= Glib::signal_timeout().connect(sigc::bind<void*>
|
||||
(sigc::mem_fun(*this, &MARestorePanel::update_status),&arg.pdata),
|
||||
50);
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MAServerConnectionsPanel_h,v 1.1 2009/09/24 11:52:21 ajacoutot Exp $
|
||||
--- source/linux/MAServerConnectionsPanel.h.orig Thu Sep 24 10:56:26 2009
|
||||
+++ source/linux/MAServerConnectionsPanel.h Thu Sep 24 12:55:05 2009
|
||||
@@ -87,7 +87,7 @@ class MAServerConnectionsPanel : public MAPanel {
|
||||
|
||||
Glib::RefPtr<Gdk::Pixbuf> _thread_icon;
|
||||
|
||||
- SigC::Connection _timer;
|
||||
+ sigc::connection _timer;
|
||||
|
||||
int _current_page;
|
||||
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MAServerLogsPanel_cc,v 1.1.1.1 2005/11/04 14:00:11 wilfried Exp $
|
||||
--- source/linux/MAServerLogsPanel.cc.orig Fri Oct 7 16:53:54 2005
|
||||
+++ source/linux/MAServerLogsPanel.cc Thu Nov 3 00:33:57 2005
|
||||
@@ -14,7 +14,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
-#define _XOPEN_SOURCE /* glibc2 needs this */
|
||||
#include <time.h>
|
||||
|
||||
#include "myadmin.h"
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MAdministrator_h,v 1.1 2009/09/24 11:52:21 ajacoutot Exp $
|
||||
--- source/linux/MAdministrator.h.orig Thu Sep 24 10:56:08 2009
|
||||
+++ source/linux/MAdministrator.h Thu Sep 24 12:55:05 2009
|
||||
@@ -66,7 +66,7 @@ class MAdministrator : public Glib::ObjectBase {
|
||||
|
||||
sigc::signal0<void> _signal_prefs_changed;
|
||||
|
||||
- SigC::Connection _pulse_conn;
|
||||
+ sigc::connection _pulse_conn;
|
||||
bool pulse_progress();
|
||||
|
||||
void setup_sidebar();
|
@ -1,36 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MInstanceInfo_cc,v 1.3 2007/10/23 13:45:22 wilfried Exp $
|
||||
--- source/linux/MInstanceInfo.cc.orig Fri Apr 27 19:48:04 2007
|
||||
+++ source/linux/MInstanceInfo.cc Tue Oct 23 12:11:27 2007
|
||||
@@ -889,6 +889,8 @@ static bool do_get_info(MInstanceInfo::FilesystemInfo
|
||||
|
||||
#if defined(hpux) || defined(__hpux)
|
||||
# define FSTAB_FILE "/etc/mnttab"
|
||||
+#elif defined(__OpenBSD__)
|
||||
+# define FSTAB_FILE "/etc/fstab"
|
||||
#else
|
||||
# define FSTAB_FILE "/etc/mtab"
|
||||
#endif
|
||||
@@ -908,14 +910,6 @@ static bool do_get_info(MInstanceInfo::FilesystemInfo
|
||||
info.free= (long long)fs.f_bsize * fs.f_bavail;
|
||||
|
||||
info.type= "unknown";
|
||||
- for (unsigned int i= 0; i < sizeof(fstypes)/sizeof(FSType); i++)
|
||||
- {
|
||||
- if (fstypes[i].id == fs.f_type)
|
||||
- {
|
||||
- info.type= fstypes[i].name;
|
||||
- break;
|
||||
- }
|
||||
- }
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1124,7 +1118,7 @@ Glib::ustring MInstanceInfo::fetch_logs_from_mark()
|
||||
char *buffer= (char*)g_malloc(diff+1);
|
||||
int fd= open(path.c_str(), O_RDONLY);
|
||||
|
||||
- lseek64(fd, _log_file_pos, SEEK_SET);
|
||||
+ lseek(fd, _log_file_pos, SEEK_SET);
|
||||
if ((len= read(fd, buffer, diff)) < 0)
|
||||
{
|
||||
close(fd);
|
@ -1,48 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_Makefile_in,v 1.4 2007/10/23 13:45:22 wilfried Exp $
|
||||
--- source/linux/Makefile.in.orig Wed May 2 15:00:24 2007
|
||||
+++ source/linux/Makefile.in Tue Oct 23 12:11:27 2007
|
||||
@@ -68,10 +68,10 @@ mysql_administrator_bin_OBJECTS = \
|
||||
$(am_mysql_administrator_bin_OBJECTS)
|
||||
mysql_administrator_bin_DEPENDENCIES = \
|
||||
$(top_srcdir)/library/source/libadmin.a \
|
||||
- $(top_srcdir)/../mysql-gui-common/source/linux/libmacommongui.a \
|
||||
- $(top_srcdir)/../mysql-gui-common/library/base-library/source/.libs/libmysqlx.a \
|
||||
- $(top_srcdir)/../mysql-gui-common/library/sql-parser/source/.libs/libsqlparser.a \
|
||||
- $(top_srcdir)/../mysql-gui-common/library/utilities/source/.libs/libguiutil.a
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/source/linux/libmacommongui.a \
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/base-library/source/.libs/libmysqlx.a \
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/sql-parser/source/.libs/libsqlparser.a \
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/utilities/source/.libs/libguiutil.a
|
||||
binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
|
||||
SCRIPTS = $(bin_SCRIPTS)
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
|
||||
@@ -230,10 +230,10 @@ mysql_administrator_bin_SOURCES = \
|
||||
MADummyPanel.cc
|
||||
|
||||
INCLUDES = @GNOME_CFLAGS@ @MYSQL_CFLAGS@ @PCRE_CFLAGS@\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/source/linux\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/base-library/include\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/utilities/shared_include\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/utilities/include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/source/linux\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/base-library/include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/utilities/shared_include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/utilities/include\
|
||||
-I$(top_srcdir)/library/include\
|
||||
-DPREFIX=\""$(PREFIX)"\"\
|
||||
-DDATADIRNAME=\""$(DATADIRNAME)"\"\
|
||||
@@ -244,10 +244,10 @@ INCLUDES = @GNOME_CFLAGS@ @MYSQL_CFLAGS@ @PCRE_CFLAGS@
|
||||
# mysql_administrator_bin_LDFLAGS=-pthread
|
||||
mysql_administrator_bin_LDADD = \
|
||||
$(top_srcdir)/library/source/libadmin.a\
|
||||
- $(top_srcdir)/../mysql-gui-common/source/linux/libmacommongui.a\
|
||||
- $(top_srcdir)/../mysql-gui-common/library/base-library/source/.libs/libmysqlx.a\
|
||||
- $(top_srcdir)/../mysql-gui-common/library/sql-parser/source/.libs/libsqlparser.a\
|
||||
- $(top_srcdir)/../mysql-gui-common/library/utilities/source/.libs/libguiutil.a\
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/source/linux/libmacommongui.a\
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/base-library/source/.libs/libmysqlx.a\
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/sql-parser/source/.libs/libsqlparser.a\
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/utilities/source/.libs/libguiutil.a\
|
||||
@MYSQL_LIBS@ @GNOME_LIBS@ @UTIL_LIBS@ @PCRE_LIBS@
|
||||
|
||||
all: config.h
|
@ -1,42 +0,0 @@
|
||||
$OpenBSD: patch-source_util_Makefile_in,v 1.4 2007/10/23 13:45:22 wilfried Exp $
|
||||
--- source/util/Makefile.in.orig Wed May 2 15:00:24 2007
|
||||
+++ source/util/Makefile.in Tue Oct 23 12:11:27 2007
|
||||
@@ -52,9 +52,9 @@ PROGRAMS = $(bin_PROGRAMS)
|
||||
am_mabackup_OBJECTS = mabackup.$(OBJEXT)
|
||||
mabackup_OBJECTS = $(am_mabackup_OBJECTS)
|
||||
mabackup_DEPENDENCIES = $(top_srcdir)/library/source/libadmin.a \
|
||||
- $(top_srcdir)/../mysql-gui-common/library/base-library/source/.libs/libmysqlx.a \
|
||||
- $(top_srcdir)/../mysql-gui-common/library/utilities/source/.libs/libguiutil.a \
|
||||
- $(top_srcdir)/../mysql-gui-common/library/sql-parser/source/.libs/libsqlparser.a
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/base-library/source/.libs/libmysqlx.a \
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/utilities/source/.libs/libguiutil.a \
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/sql-parser/source/.libs/libsqlparser.a
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/source/linux
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
@@ -186,9 +186,9 @@ sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
mabackup_SOURCES = mabackup.cc
|
||||
INCLUDES = @GLIB_CFLAGS@ @MYSQL_CFLAGS@ @PCRE_CFLAGS@\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/base-library/include\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/utilities/shared_include\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/utilities/include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/base-library/include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/utilities/shared_include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/utilities/include\
|
||||
-I$(top_srcdir)/library/include\
|
||||
-DPREFIX=\""$(PREFIX)"\"\
|
||||
-DDATADIRNAME=\""$(DATADIRNAME)"\"\
|
||||
@@ -196,9 +196,9 @@ INCLUDES = @GLIB_CFLAGS@ @MYSQL_CFLAGS@ @PCRE_CFLAGS@\
|
||||
|
||||
mabackup_LDADD = \
|
||||
$(top_srcdir)/library/source/libadmin.a\
|
||||
- $(top_srcdir)/../mysql-gui-common/library/base-library/source/.libs/libmysqlx.a\
|
||||
- $(top_srcdir)/../mysql-gui-common/library/utilities/source/.libs/libguiutil.a\
|
||||
- $(top_srcdir)/../mysql-gui-common/library/sql-parser/source/.libs/libsqlparser.a\
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/base-library/source/.libs/libmysqlx.a\
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/utilities/source/.libs/libguiutil.a\
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/sql-parser/source/.libs/libsqlparser.a\
|
||||
@MYSQL_LIBS@ @PCRE_LIBS@ @GLIB_LIBS@
|
||||
|
||||
all: all-am
|
@ -1,6 +0,0 @@
|
||||
MySQL Administrator is a powerful visual administration tool that
|
||||
makes it easy to administer and monitor your MySQL environment and
|
||||
gain significantly better visibility into how your databases are
|
||||
operating. MySQL Administrator now integrates database management
|
||||
and maintenance into a single, seamless environment, with a clear
|
||||
and intuitive graphical user interface.
|
@ -1,135 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2009/12/21 21:16:33 ajacoutot Exp $
|
||||
@bin bin/mabackup
|
||||
bin/mysql-administrator
|
||||
@bin bin/mysql-administrator-bin
|
||||
share/applications/
|
||||
share/applications/MySQLAdministrator.desktop
|
||||
share/mysql-gui/MySQLIcon_Admin_16x16.png
|
||||
share/mysql-gui/MySQLIcon_Admin_32x32.png
|
||||
share/mysql-gui/MySQLIcon_Admin_48x48.png
|
||||
share/mysql-gui/administrator/
|
||||
share/mysql-gui/administrator/16x16_Backup.png
|
||||
share/mysql-gui/administrator/16x16_Catalog.png
|
||||
share/mysql-gui/administrator/16x16_CatalogOnTreeBG.png
|
||||
share/mysql-gui/administrator/16x16_CatalogTreeBG.png
|
||||
share/mysql-gui/administrator/16x16_DBConfig.png
|
||||
share/mysql-gui/administrator/16x16_DBModel.png
|
||||
share/mysql-gui/administrator/16x16_DBServer.png
|
||||
share/mysql-gui/administrator/16x16_Database.png
|
||||
share/mysql-gui/administrator/16x16_Field.png
|
||||
share/mysql-gui/administrator/16x16_Health.png
|
||||
share/mysql-gui/administrator/16x16_Index.png
|
||||
share/mysql-gui/administrator/16x16_KeyColumn.png
|
||||
share/mysql-gui/administrator/16x16_Logs.png
|
||||
share/mysql-gui/administrator/16x16_Replication.png
|
||||
share/mysql-gui/administrator/16x16_Right.png
|
||||
share/mysql-gui/administrator/16x16_ServerConfig.png
|
||||
share/mysql-gui/administrator/16x16_ServerParams.png
|
||||
share/mysql-gui/administrator/16x16_ServerStartupParams.png
|
||||
share/mysql-gui/administrator/16x16_ServerThreads.png
|
||||
share/mysql-gui/administrator/16x16_StartStopService.png
|
||||
share/mysql-gui/administrator/16x16_Statistics.png
|
||||
share/mysql-gui/administrator/16x16_StoredInDB.png
|
||||
share/mysql-gui/administrator/16x16_StoredProc.png
|
||||
share/mysql-gui/administrator/16x16_Table.png
|
||||
share/mysql-gui/administrator/16x16_Thread.png
|
||||
share/mysql-gui/administrator/16x16_User.png
|
||||
share/mysql-gui/administrator/16x16_UserAdmin.png
|
||||
share/mysql-gui/administrator/16x16_Users.png
|
||||
share/mysql-gui/administrator/16x16_View.png
|
||||
share/mysql-gui/administrator/16x16_error.png
|
||||
share/mysql-gui/administrator/16x16_start.png
|
||||
share/mysql-gui/administrator/16x16_warning.png
|
||||
share/mysql-gui/administrator/24x24_Backup.png
|
||||
share/mysql-gui/administrator/24x24_Catalog.png
|
||||
share/mysql-gui/administrator/24x24_DBConfig.png
|
||||
share/mysql-gui/administrator/24x24_DBModel.png
|
||||
share/mysql-gui/administrator/24x24_DBServer.png
|
||||
share/mysql-gui/administrator/24x24_Database.png
|
||||
share/mysql-gui/administrator/24x24_Field.png
|
||||
share/mysql-gui/administrator/24x24_Health.png
|
||||
share/mysql-gui/administrator/24x24_Index.png
|
||||
share/mysql-gui/administrator/24x24_Logs.png
|
||||
share/mysql-gui/administrator/24x24_Replication.png
|
||||
share/mysql-gui/administrator/24x24_Right.png
|
||||
share/mysql-gui/administrator/24x24_ServerConfig.png
|
||||
share/mysql-gui/administrator/24x24_ServerParams.png
|
||||
share/mysql-gui/administrator/24x24_ServerStartupParams.png
|
||||
share/mysql-gui/administrator/24x24_ServerThreads.png
|
||||
share/mysql-gui/administrator/24x24_StartStopService.png
|
||||
share/mysql-gui/administrator/24x24_Statistics.png
|
||||
share/mysql-gui/administrator/24x24_StoredInDB.png
|
||||
share/mysql-gui/administrator/24x24_StoredProc.png
|
||||
share/mysql-gui/administrator/24x24_Table.png
|
||||
share/mysql-gui/administrator/24x24_Thread.png
|
||||
share/mysql-gui/administrator/24x24_User.png
|
||||
share/mysql-gui/administrator/24x24_UserAdmin.png
|
||||
share/mysql-gui/administrator/24x24_Users.png
|
||||
share/mysql-gui/administrator/about.png
|
||||
share/mysql-gui/administrator/admin_preferences.glade
|
||||
share/mysql-gui/administrator/backup.glade
|
||||
share/mysql-gui/administrator/backup.png
|
||||
share/mysql-gui/administrator/backup_gray.png
|
||||
share/mysql-gui/administrator/catalogs.glade
|
||||
share/mysql-gui/administrator/catalogs.png
|
||||
share/mysql-gui/administrator/catalogs_gray.png
|
||||
share/mysql-gui/administrator/connect_header_admin.png
|
||||
share/mysql-gui/administrator/disk_level_bg.png
|
||||
share/mysql-gui/administrator/disk_level_fg.png
|
||||
share/mysql-gui/administrator/health.glade
|
||||
share/mysql-gui/administrator/health.png
|
||||
share/mysql-gui/administrator/health_gray.png
|
||||
share/mysql-gui/administrator/health_level_bg.png
|
||||
share/mysql-gui/administrator/health_level_fg.png
|
||||
share/mysql-gui/administrator/innodb_data_file.glade
|
||||
share/mysql-gui/administrator/main_window.glade
|
||||
share/mysql-gui/administrator/merlin_advisors_sticker.png
|
||||
share/mysql-gui/administrator/merlin_alerts.png
|
||||
share/mysql-gui/administrator/merlin_graphs_sticker.png
|
||||
share/mysql-gui/administrator/merlin_grid_graph.png
|
||||
share/mysql-gui/administrator/mysqladmin_health.xml
|
||||
share/mysql-gui/administrator/mysqladmin_startup_variables_description.dtd
|
||||
share/mysql-gui/administrator/mysqladmin_startup_variables_description.xml
|
||||
share/mysql-gui/administrator/mysqladmin_status_variables.xml
|
||||
share/mysql-gui/administrator/mysqladmin_system_variables.xml
|
||||
share/mysql-gui/administrator/mysqlx_translations_administrator.xml
|
||||
share/mysql-gui/administrator/mysqlx_translations_general.xml
|
||||
share/mysql-gui/administrator/option_checked.xpm
|
||||
share/mysql-gui/administrator/option_checked_light.xpm
|
||||
share/mysql-gui/administrator/option_crossed.xpm
|
||||
share/mysql-gui/administrator/option_unchecked.xpm
|
||||
share/mysql-gui/administrator/replication.png
|
||||
share/mysql-gui/administrator/replication_gray.png
|
||||
share/mysql-gui/administrator/replication_status.glade
|
||||
share/mysql-gui/administrator/restore.glade
|
||||
share/mysql-gui/administrator/restore.png
|
||||
share/mysql-gui/administrator/restore_gray.png
|
||||
share/mysql-gui/administrator/server_connections.glade
|
||||
share/mysql-gui/administrator/server_connections.png
|
||||
share/mysql-gui/administrator/server_connections_gray.png
|
||||
share/mysql-gui/administrator/server_info.png
|
||||
share/mysql-gui/administrator/server_info_gray.png
|
||||
share/mysql-gui/administrator/server_information.glade
|
||||
share/mysql-gui/administrator/server_logs.glade
|
||||
share/mysql-gui/administrator/server_logs.png
|
||||
share/mysql-gui/administrator/server_logs_gray.png
|
||||
share/mysql-gui/administrator/service_config.png
|
||||
share/mysql-gui/administrator/service_config_gray.png
|
||||
share/mysql-gui/administrator/service_control.glade
|
||||
share/mysql-gui/administrator/service_pause.png
|
||||
share/mysql-gui/administrator/service_start.png
|
||||
share/mysql-gui/administrator/service_status_paused.png
|
||||
share/mysql-gui/administrator/service_status_running.png
|
||||
share/mysql-gui/administrator/service_status_stopped.png
|
||||
share/mysql-gui/administrator/service_stop.png
|
||||
share/mysql-gui/administrator/startup_parameters.glade
|
||||
share/mysql-gui/administrator/startup_variables.png
|
||||
share/mysql-gui/administrator/startup_variables_gray.png
|
||||
share/mysql-gui/administrator/user_admin.png
|
||||
share/mysql-gui/administrator/user_admin_gray.png
|
||||
share/mysql-gui/administrator/user_administration.glade
|
||||
share/mysql-gui/administrator/variable.png
|
||||
share/mysql-gui/administrator/variable_disabled.png
|
||||
share/mysql-gui/administrator/variable_editable.png
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
@ -1,63 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.34 2010/11/26 07:18:59 espie Exp $
|
||||
|
||||
COMMENT= visual query tool for MySQL
|
||||
|
||||
DISTNAME= mysql-gui-tools-5.0r12
|
||||
PKGNAME= mysql-query-browser-1.2.12
|
||||
REVISION= 10
|
||||
|
||||
CATEGORIES= databases
|
||||
|
||||
HOMEPAGE= http://www.mysql.com/products/tools/query-browser/
|
||||
|
||||
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_MYSQL:=Downloads/MySQLGUITools/}
|
||||
|
||||
WANTLIB += ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
|
||||
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 bonobo-2
|
||||
WANTLIB += bonobo-activation c cairo cairomm-1.0 crypto dbus-1
|
||||
WANTLIB += expat fontconfig freetype gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0
|
||||
WANTLIB += gio-2.0 giomm-2.4 glib-2.0 glibmm-2.4 gmodule-2.0
|
||||
WANTLIB += gnomevfs-2 gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0
|
||||
WANTLIB += pangocairo-1.0 pangoft2-1.0 pangomm-1.4 pcre pixman-1
|
||||
WANTLIB += png popt pthread pthread-stubs sigc-2.0 ssl stdc++
|
||||
WANTLIB += xcb xml2 z gtkmm-2.4 atkmm-1.6 gdkmm-2.4 enchant>=5
|
||||
WANTLIB += mysqlclient_r gtkhtml-3.14 gnome-2>=2400 glade-2.0>=1
|
||||
|
||||
MODULES= devel/gettext \
|
||||
textproc/intltool
|
||||
BUILD_DEPENDS= devel/mysql-gui-common>=5 \
|
||||
x11/gnome/libgnomeprintui # ${WRKSRC}/source/linux/gtksourceview
|
||||
RUN_DEPENDS= devel/mysql-gui-common>=5 \
|
||||
devel/desktop-file-utils
|
||||
LIB_DEPENDS= x11/gtk2mm \
|
||||
textproc/enchant \
|
||||
databases/mysql \
|
||||
www/gtkhtml3>=3.14 \
|
||||
x11/gnome/libgnome \
|
||||
devel/libglade2
|
||||
|
||||
USE_GMAKE= Yes
|
||||
USE_LIBTOOL= Yes
|
||||
AUTOCONF_VERSION=2.59
|
||||
CONFIGURE_STYLE=autoconf
|
||||
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
|
||||
--disable-dependency-tracking \
|
||||
--with-gtkhtml=libgtkhtml-3.14
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include \
|
||||
`pkg-config --cflags libgnome-2.0`"
|
||||
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib \
|
||||
`pkg-config --libs libgnome-2.0`"
|
||||
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC} \
|
||||
${WRKSRC}/source/linux/gtksourceview
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME}/mysql-query-browser
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (mysql-gui-tools-5.0r12.tar.gz) = dVpi6M0OoOE4vm7txDDXqQ==
|
||||
RMD160 (mysql-gui-tools-5.0r12.tar.gz) = 6pRUXA41HoYRKxOkNHmro2G8LO8=
|
||||
SHA1 (mysql-gui-tools-5.0r12.tar.gz) = P906gMY08KqfqPO8UFrdGPNg3Gw=
|
||||
SHA256 (mysql-gui-tools-5.0r12.tar.gz) = Tt4ugHOrP/qTccOtJY7sQz6L3qh2qj22uF4mBy6yz34=
|
||||
SIZE (mysql-gui-tools-5.0r12.tar.gz) = 25357550
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1 2006/10/19 07:16:32 wilfried Exp $
|
||||
--- Makefile.in.orig Wed Oct 18 13:48:29 2006
|
||||
+++ Makefile.in Wed Oct 18 14:01:16 2006
|
||||
@@ -199,7 +199,7 @@ sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
-SUBDIRS = library source res images po
|
||||
+SUBDIRS = library source res images
|
||||
mysqlqb_in_files = MySQLQueryBrowser.desktop.in
|
||||
mysqlqbdatadir = $(datadir)/applications
|
||||
mysqlqbdata_DATA = MySQLQueryBrowser.desktop
|
@ -1,22 +0,0 @@
|
||||
$OpenBSD: patch-configure_in,v 1.1 2006/10/18 14:25:11 wilfried Exp $
|
||||
--- configure.in.orig Tue Sep 26 17:07:13 2006
|
||||
+++ configure.in Wed Oct 18 10:11:22 2006
|
||||
@@ -17,9 +17,6 @@ AC_CHECK_TOOL(PKG_CONFIG, pkg-config)
|
||||
#
|
||||
# internal libraries
|
||||
#
|
||||
-AC_CHECK_FILE(../mysql-gui-common/library/base-library/include,
|
||||
- [MYSQLA_INCLUDE='-I$(top_srcdir)/../mysql-gui-common/library/base-library/include -I$(top_srcdir)/../mysql-gui-common/source/linux'],
|
||||
- AC_MSG_ERROR([mysql-gui-common source tree must be present in the same directory as this program]))
|
||||
|
||||
#AC_CHECK_FILE(../mysql-gui-common/source/linux/libqbcommongui.a, [],
|
||||
# AC_MSG_ERROR([mysql-gui-common source tree must be compiled and present in the same directory as this program]))
|
||||
@@ -120,7 +117,7 @@ AC_SUBST(mydatadir)
|
||||
qbdatadir='$(datadir)/mysql-gui/query-browser'
|
||||
AC_SUBST(qbdatadir)
|
||||
|
||||
-
|
||||
+AC_CONFIG_SUBDIRS(source/linux/gtksourceview)
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
mysql-query-browser.spec
|
@ -1,18 +0,0 @@
|
||||
$OpenBSD: patch-library_source_Makefile_in,v 1.2 2006/10/18 14:25:11 wilfried Exp $
|
||||
--- library/source/Makefile.in.orig Tue Sep 26 20:13:57 2006
|
||||
+++ library/source/Makefile.in Tue Oct 17 19:09:02 2006
|
||||
@@ -193,10 +193,10 @@ sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
noinst_LIBRARIES = libqb.a
|
||||
INCLUDES = -I../include -I../public_interface/linux\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/source/linux\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/base-library/include\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/utilities/shared_include\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/utilities/include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/source/linux\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/base-library/include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/utilities/shared_include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/utilities/include\
|
||||
@MYSQL_CFLAGS@ @GLIB_CFLAGS@ @PCRE_CFLAGS@
|
||||
|
||||
libqb_a_SOURCES = \
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MQHistory_cc,v 1.1.1.1 2005/11/04 14:01:54 wilfried Exp $
|
||||
--- source/linux/MQHistory.cc.orig Sun Mar 13 15:42:26 2005
|
||||
+++ source/linux/MQHistory.cc Thu Nov 3 21:49:54 2005
|
||||
@@ -16,9 +16,6 @@
|
||||
|
||||
#include "myqb.h"
|
||||
|
||||
-#ifndef _XOPEN_SOURCE
|
||||
-#define _XOPEN_SOURCE /* glibc2 needs this */
|
||||
-#endif
|
||||
#include <time.h>
|
||||
|
||||
#include "myx_public_interface.h"
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MQResultTab_h,v 1.1 2009/09/24 18:23:44 ajacoutot Exp $
|
||||
--- source/linux/MQResultTab.h.orig Thu Sep 24 20:11:21 2009
|
||||
+++ source/linux/MQResultTab.h Thu Sep 24 20:12:29 2009
|
||||
@@ -45,7 +45,7 @@ class MQResultTab : public MQBaseTab {
|
||||
|
||||
Gtk::Paned *paned;
|
||||
|
||||
- SigC::Connection scroll_con;
|
||||
+ sigc::connection scroll_con;
|
||||
};
|
||||
|
||||
enum CompareAction {
|
||||
@@ -71,7 +71,7 @@ class MQResultTab : public MQBaseTab {
|
||||
|
||||
bool _vertical;
|
||||
|
||||
- SigC::Connection _sync_con1, _sync_con2;
|
||||
+ sigc::connection _sync_con1, _sync_con2;
|
||||
|
||||
void scrolled(MQResultSetView *sender);
|
||||
void activated(MQResultSetView *sender);
|
@ -1,64 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_Makefile_in,v 1.4 2007/10/23 13:44:39 wilfried Exp $
|
||||
--- source/linux/Makefile.in.orig Wed May 2 15:00:46 2007
|
||||
+++ source/linux/Makefile.in Tue Oct 23 15:36:22 2007
|
||||
@@ -68,10 +68,10 @@ mysql_query_browser_bin_OBJECTS = \
|
||||
$(am_mysql_query_browser_bin_OBJECTS)
|
||||
mysql_query_browser_bin_DEPENDENCIES = \
|
||||
$(top_builddir)/library/source/libqb.a \
|
||||
- $(top_builddir)/../mysql-gui-common/source/linux/libqbcommongui.a \
|
||||
- $(top_builddir)/../mysql-gui-common/library/base-library/source/.libs/libmysqlx.a \
|
||||
- $(top_builddir)/../mysql-gui-common/library/utilities/source/.libs/libguiutil.a \
|
||||
- $(top_builddir)/../mysql-gui-common/library/sql-parser/source/.libs/libsqlparser.a \
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/source/linux/libqbcommongui.a \
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/base-library/source/.libs/libmysqlx.a \
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/utilities/source/.libs/libguiutil.a \
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/sql-parser/source/.libs/libsqlparser.a \
|
||||
$(top_builddir)/source/linux/gtksourceview/gtksourceview/.libs/libgtksourceview-1.0.a
|
||||
binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
|
||||
SCRIPTS = $(bin_SCRIPTS)
|
||||
@@ -237,10 +237,10 @@ mysql_query_browser_bin_SOURCES = \
|
||||
MGCompletionList.cc
|
||||
|
||||
INCLUDES = @GNOME_CFLAGS@ @MYSQL_CFLAGS@ @PCRE_CFLAGS@\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/source/linux\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/base-library/include\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/utilities/shared_include\
|
||||
- -I$(top_srcdir)/../mysql-gui-common/library/utilities/include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/source/linux\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/base-library/include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/utilities/shared_include\
|
||||
+ -I$(LOCALBASE)/share/mysql-gui/common/library/utilities/include\
|
||||
-I$(top_srcdir)/library/include\
|
||||
-I$(top_srcdir)/source/linux/gtksourceview\
|
||||
-DPREFIX=\""$(PREFIX)"\"\
|
||||
@@ -249,10 +249,10 @@ INCLUDES = @GNOME_CFLAGS@ @MYSQL_CFLAGS@ @PCRE_CFLAGS@
|
||||
-DDOCDIR=\""$(DOCDIR)"\"
|
||||
|
||||
mysql_query_browser_bin_LDADD = $(top_builddir)/library/source/libqb.a\
|
||||
- $(top_builddir)/../mysql-gui-common/source/linux/libqbcommongui.a\
|
||||
- $(top_builddir)/../mysql-gui-common/library/base-library/source/.libs/libmysqlx.a\
|
||||
- $(top_builddir)/../mysql-gui-common/library/utilities/source/.libs/libguiutil.a\
|
||||
- $(top_builddir)/../mysql-gui-common/library/sql-parser/source/.libs/libsqlparser.a\
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/source/linux/libqbcommongui.a\
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/base-library/source/.libs/libmysqlx.a\
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/utilities/source/.libs/libguiutil.a\
|
||||
+ $(LOCALBASE)/share/mysql-gui/common/library/sql-parser/source/.libs/libsqlparser.a\
|
||||
$(top_builddir)/source/linux/gtksourceview/gtksourceview/.libs/libgtksourceview-1.0.a\
|
||||
@MYSQL_LIBS@ @GNOME_LIBS@ @PCRE_LIBS@
|
||||
|
||||
@@ -568,14 +568,8 @@ uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIP
|
||||
uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \
|
||||
uninstall-info-am
|
||||
|
||||
-
|
||||
-#
|
||||
-# Can't add this as a AC_CONFIG_SUBDIRS in configure.in because
|
||||
-# toplevel autogen.sh is breaking the configure scripts in gtksourceview
|
||||
-# If a solution is found, this could be removed.
|
||||
-#
|
||||
$(top_builddir)/source/linux/gtksourceview/gtksourceview/.libs/libgtksourceview-1.0.a:
|
||||
- (cd gtksourceview; ./configure --enable-static --disable-shared --disable-build-tests; make CFLAGS="$(CFLAGS) -fno-strict-aliasing")
|
||||
+ ${MAKE} -C gtksourceview CFLAGS="$(CFLAGS) -fno-strict-aliasing"
|
||||
|
||||
clean-generic:
|
||||
-make -C gtksourceview distclean
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_gtksourceview_gtksourceview_Makefile_in,v 1.1 2009/01/21 17:41:59 ajacoutot Exp $
|
||||
--- source/linux/gtksourceview/gtksourceview/Makefile.in.orig Wed Jan 21 17:18:57 2009
|
||||
+++ source/linux/gtksourceview/gtksourceview/Makefile.in Wed Jan 21 17:19:13 2009
|
||||
@@ -203,7 +203,6 @@ INCLUDES = \
|
||||
-DDATADIR=\""$(datadir)"\" \
|
||||
-DG_LOG_DOMAIN=\"GtkSourceView\"\
|
||||
-DG_DISABLE_DEPRECATED \
|
||||
- -DGTK_DISABLE_DEPRECATED \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGDK_PIXBUF_DISABLE_DEPRECATED \
|
||||
-I$(top_srcdir) -I$(srcdir) \
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_gtksourceview_gtksourceview_gnu-regex_regex_h,v 1.1.1.1 2005/11/04 14:01:54 wilfried Exp $
|
||||
--- source/linux/gtksourceview/gtksourceview/gnu-regex/regex.h.orig Sun Mar 13 15:42:26 2005
|
||||
+++ source/linux/gtksourceview/gtksourceview/gnu-regex/regex.h Fri Nov 4 09:45:56 2005
|
||||
@@ -22,6 +22,11 @@
|
||||
#ifndef _REGEX_H
|
||||
#define _REGEX_H 1
|
||||
|
||||
+#define regcomp gtksourceview_regcomp
|
||||
+#define regexec gtksourceview_regexec
|
||||
+#define regerror gtksourceview_regerror
|
||||
+#define regfree gtksourceview_regfree
|
||||
+
|
||||
/* Allow the use in C++ code. */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
@ -1,4 +0,0 @@
|
||||
MySQL Query Browser is the easiest visual tool for creating,
|
||||
executing, and optimizing SQL queries for your MySQL Database Server.
|
||||
The MySQL Query Browser gives you a complete set of drag-and-drop
|
||||
tools to visually build, analyze and manage your queries.
|
@ -1,167 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2009/12/21 21:16:33 ajacoutot Exp $
|
||||
bin/mysql-query-browser
|
||||
@bin bin/mysql-query-browser-bin
|
||||
share/applications/MySQLQueryBrowser.desktop
|
||||
share/mysql-gui/MySQLIcon_QueryBrowser_16x16.png
|
||||
share/mysql-gui/MySQLIcon_QueryBrowser_32x32.png
|
||||
share/mysql-gui/MySQLIcon_QueryBrowser_48x48.png
|
||||
share/mysql-gui/query-browser/
|
||||
share/mysql-gui/query-browser/16x16_KeyColumn.png
|
||||
share/mysql-gui/query-browser/TabSheetPopup_AddRS.png
|
||||
share/mysql-gui/query-browser/TabSheetPopup_AddScript.png
|
||||
share/mysql-gui/query-browser/TabSheetPopup_DelSplit.png
|
||||
share/mysql-gui/query-browser/TabSheetPopup_DelTab.png
|
||||
share/mysql-gui/query-browser/TabSheetPopup_SplitHorizont.png
|
||||
share/mysql-gui/query-browser/TabSheetPopup_SplitVertical.png
|
||||
share/mysql-gui/query-browser/about.png
|
||||
share/mysql-gui/query-browser/bookmark_14x14.png
|
||||
share/mysql-gui/query-browser/compare_toolbar.glade
|
||||
share/mysql-gui/query-browser/connect_header_qb.png
|
||||
share/mysql-gui/query-browser/dolphin_anim.gif
|
||||
share/mysql-gui/query-browser/folder_closed_14x14.png
|
||||
share/mysql-gui/query-browser/folder_open_14x14.png
|
||||
share/mysql-gui/query-browser/function_14x14.png
|
||||
share/mysql-gui/query-browser/gutter_breakpoint.png
|
||||
share/mysql-gui/query-browser/gutter_current_pos.png
|
||||
share/mysql-gui/query-browser/gutter_query_start.png
|
||||
share/mysql-gui/query-browser/history_interval_14x14.png
|
||||
share/mysql-gui/query-browser/label_extra.png
|
||||
share/mysql-gui/query-browser/label_extra_disabled.png
|
||||
share/mysql-gui/query-browser/main.css
|
||||
share/mysql-gui/query-browser/mysql.lang
|
||||
share/mysql-gui/query-browser/mysqlqb_bookmark_sample.xml
|
||||
share/mysql-gui/query-browser/mysqlqb_functions.html
|
||||
share/mysql-gui/query-browser/mysqlqb_functions.xml
|
||||
share/mysql-gui/query-browser/mysqlqb_history_sample.xml
|
||||
share/mysql-gui/query-browser/mysqlqb_quickstart.html
|
||||
share/mysql-gui/query-browser/mysqlqb_statements.html
|
||||
share/mysql-gui/query-browser/mysqlqb_statements.xml
|
||||
share/mysql-gui/query-browser/overlay_table_menu.png
|
||||
share/mysql-gui/query-browser/param_14x14.png
|
||||
share/mysql-gui/query-browser/perspective_browser.png
|
||||
share/mysql-gui/query-browser/perspective_browser_active.png
|
||||
share/mysql-gui/query-browser/perspective_browser_disabled.png
|
||||
share/mysql-gui/query-browser/perspective_cmd.png
|
||||
share/mysql-gui/query-browser/perspective_cmd_active.png
|
||||
share/mysql-gui/query-browser/perspective_cmd_disabled.png
|
||||
share/mysql-gui/query-browser/perspective_scripts.png
|
||||
share/mysql-gui/query-browser/perspective_scripts_active.png
|
||||
share/mysql-gui/query-browser/perspective_scripts_disabled.png
|
||||
share/mysql-gui/query-browser/perspective_storedproc.png
|
||||
share/mysql-gui/query-browser/perspective_storedproc_active.png
|
||||
share/mysql-gui/query-browser/perspective_storedproc_disabled.png
|
||||
share/mysql-gui/query-browser/qb_preferences.glade
|
||||
share/mysql-gui/query-browser/query-browser.rc
|
||||
share/mysql-gui/query-browser/query_14x14.png
|
||||
share/mysql-gui/query-browser/query_back.png
|
||||
share/mysql-gui/query-browser/query_back_down.png
|
||||
share/mysql-gui/query-browser/query_browser.glade
|
||||
share/mysql-gui/query-browser/query_execute.png
|
||||
share/mysql-gui/query-browser/query_execute_down.png
|
||||
share/mysql-gui/query-browser/query_next.png
|
||||
share/mysql-gui/query-browser/query_next_down.png
|
||||
share/mysql-gui/query-browser/query_refresh.png
|
||||
share/mysql-gui/query-browser/query_refresh_down.png
|
||||
share/mysql-gui/query-browser/query_stop.png
|
||||
share/mysql-gui/query-browser/query_stop_down.png
|
||||
share/mysql-gui/query-browser/rs_apply.png
|
||||
share/mysql-gui/query-browser/rs_apply_disabled.png
|
||||
share/mysql-gui/query-browser/rs_discard.png
|
||||
share/mysql-gui/query-browser/rs_discard_disabled.png
|
||||
share/mysql-gui/query-browser/rs_edit.png
|
||||
share/mysql-gui/query-browser/rs_edit_active.png
|
||||
share/mysql-gui/query-browser/rs_edit_disabled.png
|
||||
share/mysql-gui/query-browser/rs_error.png
|
||||
share/mysql-gui/query-browser/rs_first.png
|
||||
share/mysql-gui/query-browser/rs_first_disabled.png
|
||||
share/mysql-gui/query-browser/rs_last.png
|
||||
share/mysql-gui/query-browser/rs_last_disabled.png
|
||||
share/mysql-gui/query-browser/rs_notice.png
|
||||
share/mysql-gui/query-browser/rs_search.png
|
||||
share/mysql-gui/query-browser/rs_search_disabled.png
|
||||
share/mysql-gui/query-browser/rs_warning.png
|
||||
share/mysql-gui/query-browser/sakila.png
|
||||
share/mysql-gui/query-browser/script_continue.png
|
||||
share/mysql-gui/query-browser/script_continue_down.png
|
||||
share/mysql-gui/query-browser/script_execute.png
|
||||
share/mysql-gui/query-browser/script_execute_down.png
|
||||
share/mysql-gui/query-browser/script_load.png
|
||||
share/mysql-gui/query-browser/script_load_down.png
|
||||
share/mysql-gui/query-browser/script_redo.png
|
||||
share/mysql-gui/query-browser/script_redo_down.png
|
||||
share/mysql-gui/query-browser/script_restart.png
|
||||
share/mysql-gui/query-browser/script_restart_down.png
|
||||
share/mysql-gui/query-browser/script_save.png
|
||||
share/mysql-gui/query-browser/script_save_down.png
|
||||
share/mysql-gui/query-browser/script_search.png
|
||||
share/mysql-gui/query-browser/script_search_down.png
|
||||
share/mysql-gui/query-browser/script_step_into.png
|
||||
share/mysql-gui/query-browser/script_step_into_down.png
|
||||
share/mysql-gui/query-browser/script_step_over.png
|
||||
share/mysql-gui/query-browser/script_step_over_down.png
|
||||
share/mysql-gui/query-browser/script_step_return.png
|
||||
share/mysql-gui/query-browser/script_step_return_down.png
|
||||
share/mysql-gui/query-browser/script_stop.png
|
||||
share/mysql-gui/query-browser/script_stop_down.png
|
||||
share/mysql-gui/query-browser/script_undo.png
|
||||
share/mysql-gui/query-browser/script_undo_down.png
|
||||
share/mysql-gui/query-browser/small_query_back.png
|
||||
share/mysql-gui/query-browser/small_query_back_down.png
|
||||
share/mysql-gui/query-browser/small_query_commit.png
|
||||
share/mysql-gui/query-browser/small_query_commit_down.png
|
||||
share/mysql-gui/query-browser/small_query_compare.png
|
||||
share/mysql-gui/query-browser/small_query_compare_down.png
|
||||
share/mysql-gui/query-browser/small_query_execute.png
|
||||
share/mysql-gui/query-browser/small_query_execute_down.png
|
||||
share/mysql-gui/query-browser/small_query_explain.png
|
||||
share/mysql-gui/query-browser/small_query_explain_down.png
|
||||
share/mysql-gui/query-browser/small_query_next.png
|
||||
share/mysql-gui/query-browser/small_query_next_down.png
|
||||
share/mysql-gui/query-browser/small_query_refresh.png
|
||||
share/mysql-gui/query-browser/small_query_refresh_down.png
|
||||
share/mysql-gui/query-browser/small_query_rollback.png
|
||||
share/mysql-gui/query-browser/small_query_rollback_down.png
|
||||
share/mysql-gui/query-browser/small_query_start.png
|
||||
share/mysql-gui/query-browser/small_query_start_down.png
|
||||
share/mysql-gui/query-browser/small_query_stop.png
|
||||
share/mysql-gui/query-browser/small_query_stop_down.png
|
||||
share/mysql-gui/query-browser/small_script_continue.png
|
||||
share/mysql-gui/query-browser/small_script_continue_down.png
|
||||
share/mysql-gui/query-browser/small_script_execute.png
|
||||
share/mysql-gui/query-browser/small_script_execute_down.png
|
||||
share/mysql-gui/query-browser/small_script_load.png
|
||||
share/mysql-gui/query-browser/small_script_load_down.png
|
||||
share/mysql-gui/query-browser/small_script_redo.png
|
||||
share/mysql-gui/query-browser/small_script_redo_down.png
|
||||
share/mysql-gui/query-browser/small_script_restart.png
|
||||
share/mysql-gui/query-browser/small_script_restart_down.png
|
||||
share/mysql-gui/query-browser/small_script_save.png
|
||||
share/mysql-gui/query-browser/small_script_save_down.png
|
||||
share/mysql-gui/query-browser/small_script_search.png
|
||||
share/mysql-gui/query-browser/small_script_search_down.png
|
||||
share/mysql-gui/query-browser/small_script_step_into.png
|
||||
share/mysql-gui/query-browser/small_script_step_into_down.png
|
||||
share/mysql-gui/query-browser/small_script_step_over.png
|
||||
share/mysql-gui/query-browser/small_script_step_over_down.png
|
||||
share/mysql-gui/query-browser/small_script_step_return.png
|
||||
share/mysql-gui/query-browser/small_script_step_return_down.png
|
||||
share/mysql-gui/query-browser/small_script_stop.png
|
||||
share/mysql-gui/query-browser/small_script_stop_down.png
|
||||
share/mysql-gui/query-browser/small_script_undo.png
|
||||
share/mysql-gui/query-browser/small_script_undo_down.png
|
||||
share/mysql-gui/query-browser/sql_create_view.png
|
||||
share/mysql-gui/query-browser/syntax_14x14.png
|
||||
share/mysql-gui/query-browser/tabsheet_icon_close1.png
|
||||
share/mysql-gui/query-browser/tabsheet_icon_close2.png
|
||||
share/mysql-gui/query-browser/tabsheet_icon_close3.png
|
||||
share/mysql-gui/query-browser/tabsheet_icon_inlinehelp.png
|
||||
share/mysql-gui/query-browser/tabsheet_icon_resultset.png
|
||||
share/mysql-gui/query-browser/tabsheet_icon_script.png
|
||||
share/mysql-gui/query-browser/toolbar_bg1.png
|
||||
share/mysql-gui/query-browser/toolbar_bg2.png
|
||||
share/mysql-gui/query-browser/trans_commited.png
|
||||
share/mysql-gui/query-browser/trans_rolledback.png
|
||||
share/mysql-gui/query-browser/trans_started.png
|
||||
share/mysql-gui/query-browser/workarea.glade
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
@ -1,56 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2010/11/26 07:19:00 espie Exp $
|
||||
|
||||
COMMENT= common libraries and data for the MySQL GUI Suites
|
||||
|
||||
DISTNAME= mysql-gui-tools-5.0r12
|
||||
PKGNAME= mysql-gui-common-5.0.6.1r12
|
||||
REVISION = 3
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://www.mysql.com/products/tools/administrator/
|
||||
|
||||
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://mysql.serenitynet.com/Downloads/MySQLGUITools/
|
||||
|
||||
BUILD_DEPENDS= devel/gettext \
|
||||
textproc/libxml>=2.6.2 \
|
||||
devel/glib2>=2.6.2 \
|
||||
devel/libglade2 \
|
||||
x11/gtk2mm \
|
||||
databases/mysql \
|
||||
devel/pcre
|
||||
|
||||
USE_GMAKE= Yes
|
||||
USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
|
||||
--disable-dependency-tracking
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME}/mysql-gui-common
|
||||
|
||||
post-install:
|
||||
.for dir in source/linux \
|
||||
library/base-library/include \
|
||||
library/utilities/include \
|
||||
library/utilities/shared_include
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/mysql-gui/common/${dir}
|
||||
${INSTALL_DATA} ${WRKSRC}/${dir}/*.h ${PREFIX}/share/mysql-gui/common/${dir}/
|
||||
.endfor
|
||||
|
||||
.for dir in source/linux \
|
||||
library/base-library/source/.libs \
|
||||
library/mysql-resultset/source/.libs \
|
||||
library/sql-parser/source/.libs \
|
||||
library/utilities/source/.libs
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/mysql-gui/common/${dir}
|
||||
${INSTALL_DATA} ${WRKSRC}/${dir}/*.a ${PREFIX}/share/mysql-gui/common/${dir}/
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (mysql-gui-tools-5.0r12.tar.gz) = dVpi6M0OoOE4vm7txDDXqQ==
|
||||
RMD160 (mysql-gui-tools-5.0r12.tar.gz) = 6pRUXA41HoYRKxOkNHmro2G8LO8=
|
||||
SHA1 (mysql-gui-tools-5.0r12.tar.gz) = P906gMY08KqfqPO8UFrdGPNg3Gw=
|
||||
SHA256 (mysql-gui-tools-5.0r12.tar.gz) = Tt4ugHOrP/qTccOtJY7sQz6L3qh2qj22uF4mBy6yz34=
|
||||
SIZE (mysql-gui-tools-5.0r12.tar.gz) = 25357550
|
@ -1,20 +0,0 @@
|
||||
$OpenBSD: patch-library_base-library_source_myx_network_c,v 1.1 2008/04/08 13:37:19 jasper Exp $
|
||||
--- library/base-library/source/myx_network.c.orig Tue Apr 8 14:58:32 2008
|
||||
+++ library/base-library/source/myx_network.c Tue Apr 8 14:58:44 2008
|
||||
@@ -216,14 +216,14 @@ int myx_ping_host(unsigned long ip, int ping_timeout,
|
||||
|
||||
strcpy(buf, (char*)inet_ntoa(*(struct in_addr*)&ip));
|
||||
|
||||
- argv[0]= "/bin/ping";
|
||||
+ argv[0]= "/sbin/ping";
|
||||
argv[1]= buf;
|
||||
argv[2]= "-c";
|
||||
argv[3]= "1";
|
||||
argv[4]= NULL;
|
||||
|
||||
/*
|
||||
- * exec() external /bin/ping since doing it ourselves would require
|
||||
+ * exec() external /sbin/ping since doing it ourselves would require
|
||||
* the program being ran as root.
|
||||
*/
|
||||
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-library_utilities_include_myx_util_functions_h,v 1.1 2006/10/18 14:23:56 wilfried Exp $
|
||||
--- library/utilities/include/myx_util_functions.h.orig Wed Sep 20 17:26:07 2006
|
||||
+++ library/utilities/include/myx_util_functions.h Tue Oct 17 16:49:35 2006
|
||||
@@ -108,9 +108,6 @@ extern "C" {
|
||||
typedef short int16;
|
||||
typedef unsigned long uint32;
|
||||
typedef long int32;
|
||||
- #ifndef __GLIBC__
|
||||
- typedef unsigned long ulong;
|
||||
- #endif
|
||||
typedef long long longlong;
|
||||
typedef unsigned long long ulonglong;
|
||||
#endif
|
@ -1,92 +0,0 @@
|
||||
$OpenBSD: patch-library_utilities_source_myx_util_functions_c,v 1.4 2008/04/16 20:29:38 naddy Exp $
|
||||
--- library/utilities/source/myx_util_functions.c.orig Wed Feb 28 18:36:19 2007
|
||||
+++ library/utilities/source/myx_util_functions.c Tue Apr 15 16:30:18 2008
|
||||
@@ -52,6 +52,10 @@
|
||||
# include <sys/types.h>
|
||||
# include <sys/stat.h>
|
||||
# include <unistd.h>
|
||||
+# if defined (__OpenBSD__)
|
||||
+# include <sys/param.h>
|
||||
+# include <sys/sysctl.h>
|
||||
+# endif
|
||||
#endif
|
||||
|
||||
// MacOS X
|
||||
@@ -1315,7 +1319,57 @@ static int _get_hardware_info(char **cpu, char **clock
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
+#elif defined (__OpenBSD__)
|
||||
+static int _get_hardware_info(char **cpu, char **clock, int *cpu_count, unsigned long *mem_kb)
|
||||
+{
|
||||
+ int mib[2];
|
||||
+ size_t len;
|
||||
+ int val;
|
||||
+ int64_t val64;
|
||||
+ char *p;
|
||||
+
|
||||
+#if 0 // string too long
|
||||
+ mib[0] = CTL_HW;
|
||||
+ mib[1] = HW_MODEL;
|
||||
+ if (sysctl(mib, 2, NULL, &len, NULL, 0) != -1)
|
||||
+ if ((p = malloc(len)) != NULL)
|
||||
+ {
|
||||
+ if (sysctl(mib, 2, p, &len, NULL, 0) != -1)
|
||||
+ *cpu = g_strdup(p);
|
||||
+ free(p);
|
||||
+ }
|
||||
#else
|
||||
+ *cpu = g_strdup("");
|
||||
+#endif
|
||||
+
|
||||
+ mib[0] = CTL_HW;
|
||||
+ mib[1] = HW_CPUSPEED;
|
||||
+ len = sizeof(val);
|
||||
+ if (sysctl(mib, 2, &val, &len, NULL, 0) != -1)
|
||||
+ {
|
||||
+ if ((p = malloc(16)) != NULL)
|
||||
+ {
|
||||
+ snprintf(p, 16, "%d", val);
|
||||
+ *clock = g_strdup(p);
|
||||
+ free(p);
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ mib[0] = CTL_HW;
|
||||
+ mib[1] = HW_NCPU;
|
||||
+ len = sizeof(val);
|
||||
+ if (sysctl(mib, 2, &val, &len, NULL, 0) != -1)
|
||||
+ *cpu_count = val;
|
||||
+
|
||||
+ mib[0] = CTL_HW;
|
||||
+ mib[1] = HW_PHYSMEM64;
|
||||
+ len = sizeof(val64);
|
||||
+ if (sysctl(mib, 2, &val64, &len, NULL, 0) != -1)
|
||||
+ *mem_kb = val64/1024;
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+#else
|
||||
// Linux
|
||||
static int _get_hardware_info(char **cpu, char **clock, int *cpu_count, unsigned long *mem_kb)
|
||||
{
|
||||
@@ -1554,6 +1608,19 @@ bigint get_physical_memory_size()
|
||||
}
|
||||
|
||||
return mem64;
|
||||
+#elif defined (__OpenBSD__)
|
||||
+ bigint mem64 = 0;
|
||||
+ int mib[2];
|
||||
+ size_t len;
|
||||
+ int64_t val;
|
||||
+
|
||||
+ mib[0] = CTL_HW;
|
||||
+ mib[1] = HW_PHYSMEM64;
|
||||
+ len = sizeof(val);
|
||||
+ if (sysctl(mib, 2, &val, &len, NULL, 0) != -1)
|
||||
+ mem64 = val;
|
||||
+
|
||||
+ return mem64;
|
||||
#else
|
||||
FILE *proc;
|
||||
bigint mem64;
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MDispatcher_cc,v 1.1 2008/07/01 08:27:18 wilfried Exp $
|
||||
--- source/linux/MDispatcher.cc.orig Fri Oct 7 13:31:36 2005
|
||||
+++ source/linux/MDispatcher.cc Mon Jun 30 15:25:26 2008
|
||||
@@ -21,8 +21,8 @@
|
||||
#include <unistd.h>
|
||||
#include <mysql.h>
|
||||
|
||||
-#define MX_LOCK(mx) { if (0) g_message("[%i]:%s: LOCK %s", (int)pthread_self(), __FUNCTION__, #mx); pthread_mutex_lock(mx); }
|
||||
-#define MX_UNLOCK(mx) { if (0) g_message("[%i]:%s: UNLOCK %s", (int)pthread_self(), __FUNCTION__, #mx); pthread_mutex_unlock(mx); }
|
||||
+#define MX_LOCK(mx) { if (0) g_message("[%p]:%s: LOCK %s", pthread_self(), __FUNCTION__, #mx); pthread_mutex_lock(mx); }
|
||||
+#define MX_UNLOCK(mx) { if (0) g_message("[%p]:%s: UNLOCK %s", pthread_self(), __FUNCTION__, #mx); pthread_mutex_unlock(mx); }
|
||||
|
||||
|
||||
void *MDispatcher::thread_func(Fetcher *self)
|
@ -1,32 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MGConnectDialog_cc,v 1.2 2009/09/18 10:24:50 ajacoutot Exp $
|
||||
--- source/linux/MGConnectDialog.cc.orig Tue Dec 5 23:44:08 2006
|
||||
+++ source/linux/MGConnectDialog.cc Mon Sep 14 23:20:43 2009
|
||||
@@ -659,9 +659,9 @@ void MGConnectDialog::open_connection_editor()
|
||||
// select back the original item
|
||||
((Gtk::OptionMenu*)_xml->get_widget("connection_list"))->set_history(_current_selected_item);
|
||||
|
||||
- SigC::Connection c1= MGPreferencesEditor::instance()->signal_closed().connect(sigc::mem_fun(*this,
|
||||
+ sigc::connection c1= MGPreferencesEditor::instance()->signal_closed().connect(sigc::mem_fun(*this,
|
||||
&MGConnectDialog::preferences_closed));
|
||||
- SigC::Connection c2= MGPreferencesEditor::instance()->signal_changed().connect(sigc::mem_fun(*this,
|
||||
+ sigc::connection c2= MGPreferencesEditor::instance()->signal_changed().connect(sigc::mem_fun(*this,
|
||||
&MGConnectDialog::preferences_changed));
|
||||
MGPreferencesEditor::instance()->show(true);
|
||||
MGPreferencesEditor::instance()->set_modal(true);
|
||||
@@ -676,14 +676,14 @@ void MGConnectDialog::show_connection_failed()
|
||||
{
|
||||
Gtk::Button *btn;
|
||||
pid_t ping_pid= 0;
|
||||
- SigC::Connection input_handler;
|
||||
+ sigc::connection input_handler;
|
||||
int rc;
|
||||
bool pinging= false;
|
||||
int myerror= 0;
|
||||
Glib::ustring title= _app_title + " " + _("Error");
|
||||
char *ping_args[]=
|
||||
{
|
||||
- "/bin/ping",
|
||||
+ "/sbin/ping",
|
||||
NULL,
|
||||
NULL
|
||||
};
|
@ -1,23 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MGExecSU_cc,v 1.1 2006/10/18 14:23:56 wilfried Exp $
|
||||
--- source/linux/MGExecSU.cc.orig Tue Oct 17 16:59:35 2006
|
||||
+++ source/linux/MGExecSU.cc Tue Oct 17 17:01:32 2006
|
||||
@@ -4,11 +4,19 @@
|
||||
#include "myg_utils.h"
|
||||
#include "myg_gtkutils.h"
|
||||
#include "mygpriv.h"
|
||||
+#if defined(__OpenBSD__)
|
||||
+#include <signal.h>
|
||||
+#else
|
||||
#include <sys/signal.h>
|
||||
+#endif
|
||||
#include <sys/wait.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#if defined(__OpenBSD__)
|
||||
+#include <util.h>
|
||||
+#else
|
||||
#include <pty.h>
|
||||
+#endif
|
||||
#include <fcntl.h>
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_MGTreeTooltip_h,v 1.1 2009/09/18 10:24:50 ajacoutot Exp $
|
||||
--- source/linux/MGTreeTooltip.h.orig Mon Sep 14 23:17:05 2009
|
||||
+++ source/linux/MGTreeTooltip.h Mon Sep 14 23:17:23 2009
|
||||
@@ -39,7 +39,7 @@ class MGTreeTooltip : public Glib::Object {
|
||||
|
||||
WillShowSignal _show_signal;
|
||||
|
||||
- SigC::Connection _timeout;
|
||||
+ sigc::connection _timeout;
|
||||
|
||||
void expose_event(GdkEventExpose *event);
|
||||
void leave_event(GdkEventCrossing *event);
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-source_linux_myg_gtkutils_h,v 1.1 2007/10/23 13:44:02 wilfried Exp $
|
||||
--- source/linux/myg_gtkutils.h.orig Tue Dec 5 23:44:08 2006
|
||||
+++ source/linux/myg_gtkutils.h Tue Oct 23 12:57:45 2007
|
||||
@@ -38,8 +38,8 @@ class MGTextViewUndoManager {
|
||||
public:
|
||||
Command(const Glib::ustring &text, unsigned int offset, bool del);
|
||||
|
||||
- virtual void undo(Gtk::TextView *view);
|
||||
- virtual void redo(Gtk::TextView *view);
|
||||
+ void undo(Gtk::TextView *view);
|
||||
+ void redo(Gtk::TextView *view);
|
||||
};
|
||||
|
||||
Gtk::TextView *_textView;
|
@ -1,2 +0,0 @@
|
||||
This contains several common libraries and data shared among the
|
||||
MySQL GUI Tools.
|
@ -1,200 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2007/01/30 07:59:12 wilfried Exp $
|
||||
share/mysql-gui/
|
||||
share/mysql-gui/common/
|
||||
share/mysql-gui/common/16x16_Catalog.png
|
||||
share/mysql-gui/common/16x16_Database.png
|
||||
share/mysql-gui/common/16x16_Field.png
|
||||
share/mysql-gui/common/16x16_KeyColumn.png
|
||||
share/mysql-gui/common/16x16_Table.png
|
||||
share/mysql-gui/common/16x16_User.png
|
||||
share/mysql-gui/common/16x16_Users.png
|
||||
share/mysql-gui/common/asset_index.png
|
||||
share/mysql-gui/common/asset_index_16x16.png
|
||||
share/mysql-gui/common/asset_table.png
|
||||
share/mysql-gui/common/asset_table_16x16.png
|
||||
share/mysql-gui/common/auth_dialog.glade
|
||||
share/mysql-gui/common/blob_icon.png
|
||||
share/mysql-gui/common/busy.png
|
||||
share/mysql-gui/common/checkmark.png
|
||||
share/mysql-gui/common/column.png
|
||||
share/mysql-gui/common/column_11x11.png
|
||||
share/mysql-gui/common/column_fk.png
|
||||
share/mysql-gui/common/column_fk_11x11.png
|
||||
share/mysql-gui/common/column_pk.png
|
||||
share/mysql-gui/common/column_pk_11x11.png
|
||||
share/mysql-gui/common/connect_dialog.glade
|
||||
share/mysql-gui/common/connect_to_instance.png
|
||||
share/mysql-gui/common/datatype_blob.png
|
||||
share/mysql-gui/common/datatype_datetime.png
|
||||
share/mysql-gui/common/datatype_numeric.png
|
||||
share/mysql-gui/common/datatype_spatial.png
|
||||
share/mysql-gui/common/datatype_string.png
|
||||
share/mysql-gui/common/datatype_userdefined.png
|
||||
share/mysql-gui/common/dockpnl_bg.png
|
||||
share/mysql-gui/common/dockpnl_bg_logo.png
|
||||
share/mysql-gui/common/edit_disabled.png
|
||||
share/mysql-gui/common/edit_enabled.png
|
||||
share/mysql-gui/common/editor_table_auto_inc.png
|
||||
share/mysql-gui/common/editor_table_not_null.png
|
||||
share/mysql-gui/common/field_overlay_clear.png
|
||||
share/mysql-gui/common/field_overlay_edit.png
|
||||
share/mysql-gui/common/field_overlay_load.png
|
||||
share/mysql-gui/common/field_overlay_null.png
|
||||
share/mysql-gui/common/field_overlay_save.png
|
||||
share/mysql-gui/common/field_overlay_view.png
|
||||
share/mysql-gui/common/folder_16x16.png
|
||||
share/mysql-gui/common/grt_routines_editor.glade
|
||||
share/mysql-gui/common/grt_schema_editor.glade
|
||||
share/mysql-gui/common/grt_table_editor.glade
|
||||
share/mysql-gui/common/grt_view_editor.glade
|
||||
share/mysql-gui/common/how_to_translate.txt
|
||||
share/mysql-gui/common/library/
|
||||
share/mysql-gui/common/library/base-library/
|
||||
share/mysql-gui/common/library/base-library/include/
|
||||
share/mysql-gui/common/library/base-library/include/myx_const_string.h
|
||||
share/mysql-gui/common/library/base-library/include/myx_library.h
|
||||
share/mysql-gui/common/library/base-library/include/myx_network.h
|
||||
share/mysql-gui/common/library/base-library/include/myx_public_interface.h
|
||||
share/mysql-gui/common/library/base-library/include/myx_query.h
|
||||
share/mysql-gui/common/library/base-library/include/myx_query_reader.h
|
||||
share/mysql-gui/common/library/base-library/include/myx_recordset.h
|
||||
share/mysql-gui/common/library/base-library/include/myx_ser_aux_functions.h
|
||||
share/mysql-gui/common/library/base-library/include/myx_simple_sql_parsing.h
|
||||
share/mysql-gui/common/library/base-library/source/
|
||||
share/mysql-gui/common/library/base-library/source/.libs/
|
||||
share/mysql-gui/common/library/base-library/source/.libs/libmysqlx.a
|
||||
share/mysql-gui/common/library/mysql-resultset/
|
||||
share/mysql-gui/common/library/mysql-resultset/source/
|
||||
share/mysql-gui/common/library/mysql-resultset/source/.libs/
|
||||
share/mysql-gui/common/library/mysql-resultset/source/.libs/libgrtsqlrs.a
|
||||
share/mysql-gui/common/library/mysql-resultset/source/.libs/libsqlrs.a
|
||||
share/mysql-gui/common/library/sql-parser/
|
||||
share/mysql-gui/common/library/sql-parser/source/
|
||||
share/mysql-gui/common/library/sql-parser/source/.libs/
|
||||
share/mysql-gui/common/library/sql-parser/source/.libs/libsqlparser.a
|
||||
share/mysql-gui/common/library/utilities/
|
||||
share/mysql-gui/common/library/utilities/include/
|
||||
share/mysql-gui/common/library/utilities/include/entities.h
|
||||
share/mysql-gui/common/library/utilities/include/keywords.h
|
||||
share/mysql-gui/common/library/utilities/include/myx_international_file.h
|
||||
share/mysql-gui/common/library/utilities/include/myx_util.h
|
||||
share/mysql-gui/common/library/utilities/include/myx_util_functions.h
|
||||
share/mysql-gui/common/library/utilities/include/myx_util_public_interface.h
|
||||
share/mysql-gui/common/library/utilities/include/myx_xml_util_functions.h
|
||||
share/mysql-gui/common/library/utilities/shared_include/
|
||||
share/mysql-gui/common/library/utilities/shared_include/myx_shared_util_functions.h
|
||||
share/mysql-gui/common/library/utilities/source/
|
||||
share/mysql-gui/common/library/utilities/source/.libs/
|
||||
share/mysql-gui/common/library/utilities/source/.libs/libguiutil.a
|
||||
share/mysql-gui/common/magnify_glass.png
|
||||
share/mysql-gui/common/magnify_glass_with_popup.png
|
||||
share/mysql-gui/common/messagedlg_confirmation.png
|
||||
share/mysql-gui/common/messagedlg_edit.png
|
||||
share/mysql-gui/common/messagedlg_error.png
|
||||
share/mysql-gui/common/messagedlg_information.png
|
||||
share/mysql-gui/common/messagedlg_warning.png
|
||||
share/mysql-gui/common/mini_add.png
|
||||
share/mysql-gui/common/mini_add_12.png
|
||||
share/mysql-gui/common/mini_add_pressed.png
|
||||
share/mysql-gui/common/mini_add_pressed_12.png
|
||||
share/mysql-gui/common/mini_del.png
|
||||
share/mysql-gui/common/mini_del_12.png
|
||||
share/mysql-gui/common/mini_del_pressed.png
|
||||
share/mysql-gui/common/mini_del_pressed_12.png
|
||||
share/mysql-gui/common/mini_error.png
|
||||
share/mysql-gui/common/mini_notice.png
|
||||
share/mysql-gui/common/mini_warning.png
|
||||
share/mysql-gui/common/minus.png
|
||||
share/mysql-gui/common/mysql_logo.png
|
||||
share/mysql-gui/common/mysqlx_dbm_charsets.xml
|
||||
share/mysql-gui/common/mysqlx_dbm_datatypes.xml
|
||||
share/mysql-gui/common/myx_schema_16x16.png
|
||||
share/mysql-gui/common/myx_schema_sp_16x16.png
|
||||
share/mysql-gui/common/myx_schema_table_16x16.png
|
||||
share/mysql-gui/common/myx_schema_view_16x16.png
|
||||
share/mysql-gui/common/networkhost_16x16.png
|
||||
share/mysql-gui/common/options_admin.png
|
||||
share/mysql-gui/common/options_bg.png
|
||||
share/mysql-gui/common/options_checkbox.png
|
||||
share/mysql-gui/common/options_checkbox_checked.png
|
||||
share/mysql-gui/common/options_checkbox_xed.png
|
||||
share/mysql-gui/common/options_connections.png
|
||||
share/mysql-gui/common/options_editors.png
|
||||
share/mysql-gui/common/options_general.png
|
||||
share/mysql-gui/common/options_querybrowser.png
|
||||
share/mysql-gui/common/plus.png
|
||||
share/mysql-gui/common/preferences.glade
|
||||
share/mysql-gui/common/progress_indicator.gif
|
||||
share/mysql-gui/common/sakila.png
|
||||
share/mysql-gui/common/schema_32x32.png
|
||||
share/mysql-gui/common/sizer_h_left.png
|
||||
share/mysql-gui/common/sizer_h_right.png
|
||||
share/mysql-gui/common/source/
|
||||
share/mysql-gui/common/source/linux/
|
||||
share/mysql-gui/common/source/linux/MCrontab.h
|
||||
share/mysql-gui/common/source/linux/MDispatcher.h
|
||||
share/mysql-gui/common/source/linux/MGAboutPanel.h
|
||||
share/mysql-gui/common/source/linux/MGBlobEditor.h
|
||||
share/mysql-gui/common/source/linux/MGBrowserList.h
|
||||
share/mysql-gui/common/source/linux/MGCellRenderer.h
|
||||
share/mysql-gui/common/source/linux/MGCellRendererCombo.h
|
||||
share/mysql-gui/common/source/linux/MGCharsetPickDialog.h
|
||||
share/mysql-gui/common/source/linux/MGConnectDialog.h
|
||||
share/mysql-gui/common/source/linux/MGExecSU.h
|
||||
share/mysql-gui/common/source/linux/MGFileBrowserList.h
|
||||
share/mysql-gui/common/source/linux/MGFloatingWidget.h
|
||||
share/mysql-gui/common/source/linux/MGGladeXML.h
|
||||
share/mysql-gui/common/source/linux/MGGraphPlotter.h
|
||||
share/mysql-gui/common/source/linux/MGHMeterGraphPlotter.h
|
||||
share/mysql-gui/common/source/linux/MGIconPicker.h
|
||||
share/mysql-gui/common/source/linux/MGImage.h
|
||||
share/mysql-gui/common/source/linux/MGImageButton.h
|
||||
share/mysql-gui/common/source/linux/MGImageCheckButton.h
|
||||
share/mysql-gui/common/source/linux/MGMeterGraphPlotter.h
|
||||
share/mysql-gui/common/source/linux/MGMySQLConsole.h
|
||||
share/mysql-gui/common/source/linux/MGPreferences.h
|
||||
share/mysql-gui/common/source/linux/MGPreferencesEditor.h
|
||||
share/mysql-gui/common/source/linux/MGPtrWrap.h
|
||||
share/mysql-gui/common/source/linux/MGSQLTextBuffer.h
|
||||
share/mysql-gui/common/source/linux/MGSchemaBrowserHelper.h
|
||||
share/mysql-gui/common/source/linux/MGSchemaBrowserList.h
|
||||
share/mysql-gui/common/source/linux/MGShellView.h
|
||||
share/mysql-gui/common/source/linux/MGSimpleTreeStore.h
|
||||
share/mysql-gui/common/source/linux/MGTableBrowserList.h
|
||||
share/mysql-gui/common/source/linux/MGTableEditor.h
|
||||
share/mysql-gui/common/source/linux/MGTimeGraphPlotter.h
|
||||
share/mysql-gui/common/source/linux/MGTreeTooltip.h
|
||||
share/mysql-gui/common/source/linux/MYXInterface.h
|
||||
share/mysql-gui/common/source/linux/MYXResultSet.h
|
||||
share/mysql-gui/common/source/linux/libmacommongui.a
|
||||
share/mysql-gui/common/source/linux/libqbcommongui.a
|
||||
share/mysql-gui/common/source/linux/myg_gtk_utils.h
|
||||
share/mysql-gui/common/source/linux/myg_gtkutils.h
|
||||
share/mysql-gui/common/source/linux/myg_utils.h
|
||||
share/mysql-gui/common/source/linux/mygpriv.h
|
||||
share/mysql-gui/common/source_dbconn.png
|
||||
share/mysql-gui/common/spin1.png
|
||||
share/mysql-gui/common/spin2.png
|
||||
share/mysql-gui/common/spin3.png
|
||||
share/mysql-gui/common/spin4.png
|
||||
share/mysql-gui/common/statusbar_clear.png
|
||||
share/mysql-gui/common/tab_close.png
|
||||
share/mysql-gui/common/tab_close_normal.png
|
||||
share/mysql-gui/common/tab_close_over.png
|
||||
share/mysql-gui/common/tab_close_pressed.png
|
||||
share/mysql-gui/common/tab_list.png
|
||||
share/mysql-gui/common/tab_new.png
|
||||
share/mysql-gui/common/table_editor.glade
|
||||
share/mysql-gui/common/tabsheet_icon_close.png
|
||||
share/mysql-gui/common/tabsheet_icon_close2.png
|
||||
share/mysql-gui/common/target_dbconn.png
|
||||
share/mysql-gui/common/task_checked.png
|
||||
share/mysql-gui/common/task_disabled.png
|
||||
share/mysql-gui/common/task_error.png
|
||||
share/mysql-gui/common/task_unchecked.png
|
||||
share/mysql-gui/common/thread_stop.png
|
||||
share/mysql-gui/common/tree_button_box.png
|
||||
share/mysql-gui/common/tree_button_closed.png
|
||||
share/mysql-gui/common/tree_button_open.png
|
||||
share/mysql-gui/common/user_icon.png
|
||||
share/mysql-gui/common/xgrtsh_about.png
|
Loading…
Reference in New Issue
Block a user