diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-01 07:39:15 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-01 07:39:15 +0000 |
commit | 93107187dd0a332e86ab57e1d07bc58a2aab1aa4 (patch) | |
tree | 15f66ab45d7216670d37124f16a2b9e0ee39c932 /databases/mysql-administrator | |
parent | 4a35237ccc12a5e74ed7fa07a11ebab202e6fb0b (diff) | |
download | ports-93107187dd0a332e86ab57e1d07bc58a2aab1aa4.tar.gz ports-93107187dd0a332e86ab57e1d07bc58a2aab1aa4.zip |
Notes
Diffstat (limited to 'databases/mysql-administrator')
18 files changed, 68 insertions, 246 deletions
diff --git a/databases/mysql-administrator/Makefile b/databases/mysql-administrator/Makefile index 5e5c063b05e8..e837e6990a05 100644 --- a/databases/mysql-administrator/Makefile +++ b/databases/mysql-administrator/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mysql-administrator -PORTVERSION= 1.0.1a +PORTVERSION= 1.0.2b.a CATEGORIES= databases MASTER_SITES= ftp://planetmirror.com/pub/mysql/%SUBDIR%/ \ http://www.softagency.co.jp/MySQL/%SUBDIR%/ \ @@ -18,6 +18,7 @@ MASTER_SITES= ftp://planetmirror.com/pub/mysql/%SUBDIR%/ \ ftp://ftp.u-paris10.fr/mysql.com/%SUBDIR%/ \ http://mysql.oms-net.nl/%SUBDIR%/ MASTER_SITE_SUBDIR= Downloads/MySQLAdministrationSuite +DISTNAME= ${PORTNAME}-1.0.2b-alpha MAINTAINER= sem@ciam.ru COMMENT= Powerful visual administration console for MySQL environment @@ -27,28 +28,25 @@ USE_REINPLACE= yes USE_GMAKE= yes WANT_AUTOMAKE_VER= 14 WANT_AUTOCONF_VER= 257 -LIBTOOLFILES= CONFIGURE_ENV+= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \ CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" - +USE_ICONV= yes USE_GNOME= libglade2 USE_MYSQL= yes BROKEN_WITH_MYSQL= 323 -WRKSRC= ${WRKDIR}/${PORTNAME} LIB_DEPENDS+= gtkmm-2.0:${PORTSDIR}/x11-toolkits/gtk--2 \ pcre.0:${PORTSDIR}/devel/pcre -DIRS_ORDER= mysqlxlibrary mysqladministratorlibrary \ - mysqlcommonguiparts mysqladministrator +DIRS_ORDER= mysql-gui-common mysql-administrator .include <bsd.port.pre.mk> post-patch: @${REINPLACE_CMD} -e "s#%%PTHREAD_CFLAGS%%#${PTHREAD_CFLAGS}#" \ - ${WRKSRC}/mysqladministrator/source/linux/Makefile.am - @${CHMOD} a+x ${WRKSRC}/mysqlcommonguiparts/missing \ - ${WRKSRC}/mysqladministrator/missing + ${WRKSRC}/mysql-administrator/source/linux/Makefile.am + @${CHMOD} a+x ${WRKSRC}/mysql-gui-common/missing \ + ${WRKSRC}/mysql-administrator/missing do-configure: @${DO_NADA} @@ -65,7 +63,7 @@ do-build: ${CP} -f ${TEMPLATES}/config.guess ./config.guess; \ ${CHMOD} a+rx ./config.sub; \ ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; \ - ${GMAKE}; \ + ${GMAKE} DATADIRNAME=share; \ done do-install: diff --git a/databases/mysql-administrator/distinfo b/databases/mysql-administrator/distinfo index 5fa4cd7a88f7..c956ffdc64f6 100644 --- a/databases/mysql-administrator/distinfo +++ b/databases/mysql-administrator/distinfo @@ -1,2 +1,2 @@ -MD5 (mysql-administrator-1.0.1a.tar.gz) = 94790652f3900bd898cc6473edd0020e -SIZE (mysql-administrator-1.0.1a.tar.gz) = 14064351 +MD5 (mysql-administrator-1.0.2b-alpha.tar.gz) = b453a947c57d35d724617bea485a266e +SIZE (mysql-administrator-1.0.2b-alpha.tar.gz) = 7452449 diff --git a/databases/mysql-administrator/files/patch-4.x-fixes b/databases/mysql-administrator/files/patch-4.x-fixes deleted file mode 100644 index 6ee1025625cc..000000000000 --- a/databases/mysql-administrator/files/patch-4.x-fixes +++ /dev/null @@ -1,63 +0,0 @@ ---- mysqlcommonguiparts/source/linux/MGConnectDialog.h.orig Tue Feb 24 03:23:47 2004 -+++ mysqlcommonguiparts/source/linux/MGConnectDialog.h Tue Feb 24 03:28:35 2004 -@@ -24,10 +24,16 @@ - - #include "MGGladeXML.h" - -- - #include <myx_aux_functions.h> - #include <myx_public_interface.h> - //#include <wmyx_public_interface.h> -+ -+#if defined(__FreeBSD__) -+#include <sys/param.h> -+#if __FreeBSD_version < 500000 -+#include <pthread.h> -+#endif -+#endif - - - class MGPreferences; ---- mysqlcommonguiparts/source/linux/MGFileBrowserList.cc.orig Tue Feb 24 03:27:19 2004 -+++ mysqlcommonguiparts/source/linux/MGFileBrowserList.cc Tue Feb 24 03:27:39 2004 -@@ -20,6 +20,7 @@ - #include <unistd.h> - #include <sys/stat.h> - #include <errno.h> -+#include <stdio.h> - - #define _(s) s - ---- mysqlcommonguiparts/source/linux/MGMeterGraphPlotter.cc.orig Tue Feb 24 03:29:27 2004 -+++ mysqlcommonguiparts/source/linux/MGMeterGraphPlotter.cc Tue Feb 24 03:29:44 2004 -@@ -17,7 +17,7 @@ - - #include "MGMeterGraphPlotter.h" - -- -+#include <stdio.h> - - MGMeterGraphPlotter::MGMeterGraphPlotter(GtkDrawingArea *darea) - : MGGraphPlotter(darea, false), _value(0) ---- mysqlcommonguiparts/source/linux/MGHMeterGraphPlotter.cc.orig Tue Feb 24 03:31:12 2004 -+++ mysqlcommonguiparts/source/linux/MGHMeterGraphPlotter.cc Tue Feb 24 03:31:29 2004 -@@ -17,7 +17,7 @@ - - #include "MGHMeterGraphPlotter.h" - -- -+#include <stdio.h> - - MGHMeterGraphPlotter::MGHMeterGraphPlotter(GtkDrawingArea *darea) - : MGGraphPlotter(darea, false), _current_value(0), _total_value(0), _unit(0) ---- mysqlcommonguiparts/source/linux/MGPreferences.cc.orig Tue Feb 24 03:31:54 2004 -+++ mysqlcommonguiparts/source/linux/MGPreferences.cc Tue Feb 24 03:32:23 2004 -@@ -20,6 +20,8 @@ - #include <glibmm.h> - - #include <sys/stat.h> -+#include <stdio.h> -+#include <errno.h> - - #define _(s) s - diff --git a/databases/mysql-administrator/files/patch-mysql-gui-common::library::source::Makefile.am b/databases/mysql-administrator/files/patch-mysql-gui-common::library::source::Makefile.am new file mode 100644 index 000000000000..8313d30cb6e5 --- /dev/null +++ b/databases/mysql-administrator/files/patch-mysql-gui-common::library::source::Makefile.am @@ -0,0 +1,11 @@ +--- mysql-gui-common/library/source/Makefile.am.orig Thu Apr 1 00:34:03 2004 ++++ mysql-gui-common/library/source/Makefile.am Thu Apr 1 00:33:32 2004 +@@ -2,7 +2,7 @@ + noinst_LIBRARIES = libmysqlx.a + + INCLUDES= -I../include -I../public_interface/linux\ +- @MYSQL_INCLUDE@ @GLIB_CFLAGS@ ++ @MYSQL_INCLUDE@ @GLIB_CFLAGS@ -D__USE_POSIX + + + libmysqlx_a_SOURCES=\ diff --git a/databases/mysql-administrator/files/patch-mysql-gui-common::library::source::myx_library.c b/databases/mysql-administrator/files/patch-mysql-gui-common::library::source::myx_library.c new file mode 100644 index 000000000000..0395367d64b0 --- /dev/null +++ b/databases/mysql-administrator/files/patch-mysql-gui-common::library::source::myx_library.c @@ -0,0 +1,46 @@ +--- mysql-gui-common/library/source/myx_library.c.orig Sat Mar 20 21:58:39 2004 ++++ mysql-gui-common/library/source/myx_library.c Sat Mar 20 22:12:51 2004 +@@ -35,6 +35,7 @@ + #endif + typedef long long longlong; + typedef unsigned long long ulonglong; ++typedef int pchar; + #else + typedef unsigned int uint; + typedef unsigned char uint8; +@@ -306,7 +307,7 @@ + machine_info->IP= malloc(sizeof(char)*16); + machine_info->OS= malloc(sizeof(char)*16); + machine_info->hardware= malloc(sizeof(char)*200); +- ++/* + if(mysql->options.protocol==MYSQL_PROTOCOL_MEMORY) + { + add_host_info= strdup("via shared memory"); +@@ -320,14 +321,14 @@ + add_host_info= strdup("via named pipe"); + } + else if(mysql->options.protocol==MYSQL_PROTOCOL_TCP) +- { ++ {*/ + add_host_info= strdup("via TCP/IP"); +- } ++/* } + else + { + add_host_info= strdup(""); + } +- ++*/ + sprintf(machine_info->version, "MySQL %s %s", (unsigned char *)mysql_get_server_info(mysql), add_host_info); + + free(add_host_info); +@@ -482,7 +483,7 @@ + + const char * myx_get_server_charset_name(MYSQL *mysql) + { +- return mysql->charset->csname; ++ return mysql->charset->name; + } + + diff --git a/databases/mysql-administrator/files/patch-mysqladministrator::configure.in b/databases/mysql-administrator/files/patch-mysqladministrator::configure.in deleted file mode 100644 index ba08ac7b8dcb..000000000000 --- a/databases/mysql-administrator/files/patch-mysqladministrator::configure.in +++ /dev/null @@ -1,11 +0,0 @@ ---- mysqladministrator/configure.in.orig Tue Feb 24 01:13:46 2004 -+++ mysqladministrator/configure.in Tue Feb 24 01:14:00 2004 -@@ -16,7 +16,7 @@ - # internal libraries - # - AC_CHECK_FILE(../mysqlxlibrary/include, -- [MYSQLX_INCLUDE='-I$(top_srcdir)/../mysqlxlibrary/{include,public_interface/linux}'], -+ [MYSQLX_INCLUDE='-I$(top_srcdir)/../mysqlxlibrary/include'], - AC_MSG_ERROR([mysqlxlibrary source tree must be present in the same directory as this program])) - - AC_CHECK_FILE(../mysqlxlibrary/source/libMySQLX.a, diff --git a/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::MAServerLogsPanel.cc b/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::MAServerLogsPanel.cc deleted file mode 100644 index 23e3d21a4cbb..000000000000 --- a/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::MAServerLogsPanel.cc +++ /dev/null @@ -1,24 +0,0 @@ ---- mysqladministrator/source/linux/MAServerLogsPanel.cc.orig Wed Feb 11 22:38:41 2004 -+++ mysqladministrator/source/linux/MAServerLogsPanel.cc Tue Feb 24 03:56:22 2004 -@@ -21,7 +21,8 @@ - #include "MDataInterface.h" - - #include "myx_admin_public_interface.h" -- -+#include <errno.h> -+#include <math.h> - - #define PAGE_BLOCK_SIZE (1024*5) - -@@ -144,7 +145,11 @@ - - void MAServerLogsPanel::scroll_log(LogType type) - { -+#if defined(__FreeBSD__) -+ double val= floor(_sbar[type]->get_value()); -+#else - double val= round(_sbar[type]->get_value()); -+#endif - _sbar[type]->set_value(val); - - process_logs(type); diff --git a/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::MDynamicInterface.cc b/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::MDynamicInterface.cc deleted file mode 100644 index 48c438f62f89..000000000000 --- a/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::MDynamicInterface.cc +++ /dev/null @@ -1,26 +0,0 @@ ---- mysqladministrator/source/linux/MDynamicInterface.cc.orig Tue Feb 24 03:46:44 2004 -+++ mysqladministrator/source/linux/MDynamicInterface.cc Tue Feb 24 03:51:45 2004 -@@ -21,7 +21,10 @@ - #include <ctype.h> - - #include <list> -- -+#if defined (__FreeBSD__) -+#include <errno.h> -+#include <sys/param.h> -+#endif - - MDynamicInterface::MDynamicInterface(Gtk::Notebook *top_note, - const Glib::RefPtr<Gdk::Pixbuf> &icon, -@@ -721,7 +724,11 @@ - else if (widget->default_value) - value= (char*)widget->default_value; - else -+#if defined (__FreeBSD__) && __FreeBSD_version < 500000 -+ value=""; -+#else - value.clear(); -+#endif - set_option_value((char*)widget->id, value); - } - } diff --git a/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::MInstanceInfo.cc b/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::MInstanceInfo.cc deleted file mode 100644 index 06971244a106..000000000000 --- a/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::MInstanceInfo.cc +++ /dev/null @@ -1,18 +0,0 @@ ---- mysqladministrator/source/linux/MInstanceInfo.cc.orig Wed Feb 11 22:38:41 2004 -+++ mysqladministrator/source/linux/MInstanceInfo.cc Tue Feb 24 03:45:50 2004 -@@ -24,9 +24,15 @@ - #include "myx_aux_functions.h" - #include "myx_admin_public_interface.h" - -+#if defined(__FreeBSD__) -+#include <sys/param.h> -+#include <sys/mount.h> -+#else - #include <sys/statfs.h> - #include <sys/vfs.h> -+#endif - #include <stdio.h> -+#include <errno.h> - - struct FSType { - long id; diff --git a/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::Makefile.am b/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::Makefile.am deleted file mode 100644 index 534c9063fb7c..000000000000 --- a/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ ---- mysqladministrator/source/linux/Makefile.am.orig Wed Feb 11 22:38:41 2004 -+++ mysqladministrator/source/linux/Makefile.am Tue Feb 24 04:14:39 2004 -@@ -26,9 +26,9 @@ - MADummyPanel.cc - - --INCLUDES=@GNOME_CFLAGS@ @MYSQL_INCLUDE@ @AUX_CFLAGS@\ -+INCLUDES=@GNOME_CFLAGS@ @MYSQL_INCLUDE@ @AUX_CFLAGS@ %%PTHREAD_CFLAGS%% \ - -DDATADIR=\""$(mydatadir)"\"\ -- -DAPP_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" -+ -DAPP_LOCALE_DIR=\""$(prefix)/share/locale"\" - - - mysql_administrator_LDADD=@AUX_LIBS@ @MYSQL_LIBS@ @PCRE_LIBS@ @GNOME_LIBS@ diff --git a/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::util.cc b/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::util.cc deleted file mode 100644 index d6f02d5b0ebe..000000000000 --- a/databases/mysql-administrator/files/patch-mysqladministrator::source::linux::util.cc +++ /dev/null @@ -1,10 +0,0 @@ ---- mysqladministrator/source/linux/util.cc.orig Tue Feb 24 03:52:32 2004 -+++ mysqladministrator/source/linux/util.cc Tue Feb 24 03:53:35 2004 -@@ -4,6 +4,7 @@ - #include "util.h" - #include <glib.h> - #include <stdarg.h> -+#include <unistd.h> - - #include <myx_library.h> - diff --git a/databases/mysql-administrator/files/patch-mysqlcommonguiparts::configure.in b/databases/mysql-administrator/files/patch-mysqlcommonguiparts::configure.in deleted file mode 100644 index 330431aecac2..000000000000 --- a/databases/mysql-administrator/files/patch-mysqlcommonguiparts::configure.in +++ /dev/null @@ -1,11 +0,0 @@ ---- mysqlcommonguiparts/configure.in.orig Tue Feb 24 01:12:59 2004 -+++ mysqlcommonguiparts/configure.in Tue Feb 24 01:13:27 2004 -@@ -8,7 +8,7 @@ - - - AC_CHECK_FILE(../mysqlxlibrary/include, -- [MYSQLX_INCLUDE='-I$(top_srcdir)/../mysqlxlibrary/{include,public_interface/linux}'], -+ [MYSQLX_INCLUDE='-I$(top_srcdir)/../mysqlxlibrary/include'], - AC_MSG_ERROR([mysqlxlibrary source tree must be present in the same directory as this program])) - - AC_CHECK_FILE(../mysqlxlibrary/source/libMySQLX.a, diff --git a/databases/mysql-administrator/files/patch-mysqlcommonguiparts::source::linux::MGConnectDialog.cc b/databases/mysql-administrator/files/patch-mysqlcommonguiparts::source::linux::MGConnectDialog.cc deleted file mode 100644 index e3a15635e970..000000000000 --- a/databases/mysql-administrator/files/patch-mysqlcommonguiparts::source::linux::MGConnectDialog.cc +++ /dev/null @@ -1,10 +0,0 @@ ---- mysqlcommonguiparts/source/linux/MGConnectDialog.cc.orig Sat Feb 21 17:59:02 2004 -+++ mysqlcommonguiparts/source/linux/MGConnectDialog.cc Sat Feb 21 17:59:37 2004 -@@ -19,6 +19,7 @@ - #include "myg_gtk_utils.h" - #include "myg_utils.h" - #include <stdarg.h> -+#include <libintl.h> - - #include "MGPreferences.h" - diff --git a/databases/mysql-administrator/files/patch-mysqlcommonguiparts::source::linux::Makefile.am b/databases/mysql-administrator/files/patch-mysqlcommonguiparts::source::linux::Makefile.am deleted file mode 100644 index f02dab45b46c..000000000000 --- a/databases/mysql-administrator/files/patch-mysqlcommonguiparts::source::linux::Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ ---- mysqlcommonguiparts/source/linux/Makefile.am.orig Sun Feb 22 04:25:16 2004 -+++ mysqlcommonguiparts/source/linux/Makefile.am Sun Feb 22 04:25:29 2004 -@@ -24,5 +24,5 @@ - INCLUDES=@GNOME_CFLAGS@ @MYSQL_INCLUDE@\ - @AUX_INCLUDES@\ - -DAPP_DATADIR=\""$(mydatadir)"\"\ -- -DAPP_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" -+ -DAPP_LOCALE_DIR=\""$(prefix)/share/locale"\" - diff --git a/databases/mysql-administrator/files/patch-mysqlxlibrary::source::Makefile.am b/databases/mysql-administrator/files/patch-mysqlxlibrary::source::Makefile.am deleted file mode 100644 index 42e4dbabf00b..000000000000 --- a/databases/mysql-administrator/files/patch-mysqlxlibrary::source::Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ ---- mysqlxlibrary/source/Makefile.am.orig Sun Feb 22 03:35:24 2004 -+++ mysqlxlibrary/source/Makefile.am Sun Feb 22 03:35:37 2004 -@@ -2,7 +2,7 @@ - noinst_LIBRARIES = libMySQLX.a - - INCLUDES= -I../include -I../public_interface/linux\ -- @MYSQL_INCLUDE@ @XML_CFLAGS@ @GLIB_CFLAGS@ -+ @MYSQL_INCLUDE@ @XML_CFLAGS@ @GLIB_CFLAGS@ -D__USE_POSIX - - - libMySQLX_a_SOURCES=\ diff --git a/databases/mysql-administrator/files/patch-mysqlxlibrary::source::myx_library.c b/databases/mysql-administrator/files/patch-mysqlxlibrary::source::myx_library.c deleted file mode 100644 index 46b54b9a8f29..000000000000 --- a/databases/mysql-administrator/files/patch-mysqlxlibrary::source::myx_library.c +++ /dev/null @@ -1,14 +0,0 @@ ---- mysqlxlibrary/source/myx_library.c.orig Sun Feb 22 03:37:26 2004 -+++ mysqlxlibrary/source/myx_library.c Sun Feb 22 03:34:03 2004 -@@ -102,7 +102,10 @@ - - const char *myx_get_my_cnf_path() - { -- return myx_my_cnf_path; -+ if (myx_my_cnf_path == NULL) -+ return ""; -+ else -+ return myx_my_cnf_path; - } - - diff --git a/databases/mysql-administrator/files/patch-mysqlxlibrary::source::myx_network.c b/databases/mysql-administrator/files/patch-mysqlxlibrary::source::myx_network.c deleted file mode 100644 index c5d8d34b74bc..000000000000 --- a/databases/mysql-administrator/files/patch-mysqlxlibrary::source::myx_network.c +++ /dev/null @@ -1,13 +0,0 @@ ---- mysqlxlibrary/source/myx_network.c.orig Sat Feb 21 17:44:47 2004 -+++ mysqlxlibrary/source/myx_network.c Sat Feb 21 17:45:54 2004 -@@ -36,6 +36,10 @@ - #include <arpa/inet.h> - #include <netdb.h> - -+#if defined(__FreeBSD__) -+#include <sys/socket.h> -+#endif -+ - #endif - - /* diff --git a/databases/mysql-administrator/pkg-plist b/databases/mysql-administrator/pkg-plist index 0cc93ce327fc..1646092ffede 100644 --- a/databases/mysql-administrator/pkg-plist +++ b/databases/mysql-administrator/pkg-plist @@ -118,6 +118,7 @@ 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_editable.png +share/mysql-gui/administrator/variable_disabled.png share/mysql-gui/common/connect_dialog.glade share/mysql-gui/common/connect_to_instance.png share/mysql-gui/common/dockpnl_bg_logo.png |