update mysqlcc to 0.9.4

This commit is contained in:
wilfried 2003-12-26 13:43:47 +00:00
parent a533afb053
commit 22bde39578
6 changed files with 30 additions and 26 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.12 2003/08/24 20:48:55 sturm Exp $ # $OpenBSD: Makefile,v 1.13 2003/12/26 13:43:47 wilfried Exp $
COMMENT= "GUI client for MySQL" COMMENT= "GUI client for MySQL"
VERSION= 0.9.2 VERSION= 0.9.4
DISTNAME= mysqlcc-${VERSION}-src DISTNAME= mysqlcc-${VERSION}-src
PKGNAME= mysqlcc-${VERSION} PKGNAME= mysqlcc-${VERSION}
CATEGORIES= databases CATEGORIES= databases

View File

@ -1,3 +1,3 @@
MD5 (mysqlcc-0.9.2-src.tar.gz) = 812c762b91011f0d1c2d834ce05fd5c3 MD5 (mysqlcc-0.9.4-src.tar.gz) = 26ee3528dce690b227d8bfb71b46ae66
RMD160 (mysqlcc-0.9.2-src.tar.gz) = 7f3624530e707914612bc1d379ba18f850a8dba3 RMD160 (mysqlcc-0.9.4-src.tar.gz) = e2632121dcd899f0f009e8f92746974a8009f6a6
SHA1 (mysqlcc-0.9.2-src.tar.gz) = 0f051a14bb94cdc23e0eeae43d4055420a43ad55 SHA1 (mysqlcc-0.9.4-src.tar.gz) = 690a9a8f4ad6bdf33673e92d1016b0e4b8cea030

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-mysqlcc_pro_in,v 1.4 2003/01/28 22:15:38 wilfried Exp $ $OpenBSD: patch-mysqlcc_pro_in,v 1.5 2003/12/26 13:43:47 wilfried Exp $
--- mysqlcc.pro.in.orig Tue Jan 21 12:58:57 2003 --- mysqlcc.pro.in.orig 2003-12-14 00:10:43.000000000 +0100
+++ mysqlcc.pro.in Tue Jan 28 19:55:25 2003 +++ mysqlcc.pro.in 2003-12-26 14:10:30.000000000 +0100
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
TEMPLATE = app TEMPLATE = app
-CONFIG += qt thread -CONFIG += qt thread
@ -8,7 +8,7 @@ $OpenBSD: patch-mysqlcc_pro_in,v 1.4 2003/01/28 22:15:38 wilfried Exp $
DEFINES += QT_DLL DEFINES += QT_DLL
DEFINES += HAVE_MYSQLCC_CONFIG DEFINES += HAVE_MYSQLCC_CONFIG
TARGET = mysqlcc TARGET = mysqlcc
@@ -25,7 +25,7 @@ win32 { @@ -27,7 +27,7 @@ win32 {
} }
unix { unix {

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-src_CApplication_cpp,v 1.3 2003/01/28 22:15:38 wilfried Exp $ $OpenBSD: patch-src_CApplication_cpp,v 1.4 2003/12/26 13:43:47 wilfried Exp $
--- src/CApplication.cpp.orig Tue Jan 21 12:58:57 2003 --- src/CApplication.cpp.orig 2003-12-14 00:10:43.000000000 +0100
+++ src/CApplication.cpp Tue Jan 28 22:58:39 2003 +++ src/CApplication.cpp 2003-12-26 14:12:03.000000000 +0100
@@ -85,7 +85,7 @@ void CApplication::initGlobals(bool star @@ -109,7 +109,7 @@ void CApplication::initGlobals(bool star
CConfig *cfg = new CConfig(); mydir += "/";
#else
//Directory where mysqlcc.exe (or mysqlcc) is. //Directory where mysqlcc.exe (or mysqlcc) is.
- QString mydir = QDir::currentDirPath() + "/"; - QString mydir = QDir::currentDirPath() + "/";
+ QString mydir = LOCALBASE "/share/mysqlcc/"; + QString mydir = LOCALBASE "/share/mysqlcc/";
//QString mydir = "/usr/share/mysqlcc/"; This needs to be done with a PREFIX define .. //QString mydir = "/usr/share/mysqlcc/"; This needs to be done with a PREFIX define ..
#endif
//Translations path

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-src_main_cpp,v 1.2 2003/04/01 14:26:09 wilfried Exp $ $OpenBSD: patch-src_main_cpp,v 1.3 2003/12/26 13:43:47 wilfried Exp $
--- src/main.cpp.orig Fri Mar 28 23:06:01 2003 --- src/main.cpp.orig 2003-12-14 00:10:44.000000000 +0100
+++ src/main.cpp Tue Apr 1 15:44:51 2003 +++ src/main.cpp 2003-12-26 14:10:30.000000000 +0100
@@ -22,7 +22,9 @@ @@ -22,7 +22,9 @@
#undef VERSION #undef VERSION
#endif #endif
@ -12,13 +12,13 @@ $OpenBSD: patch-src_main_cpp,v 1.2 2003/04/01 14:26:09 wilfried Exp $
#define NO_QT #define NO_QT
#endif #endif
@@ -44,6 +46,7 @@ static const char *load_default_groups[] @@ -44,6 +46,7 @@ static const char *load_default_groups[]
static ulong select_limit,my_net_buffer_length,max_join_size,my_max_allowed_packet,opt_connect_timeout=0; static ulong select_limit,my_net_buffer_length,max_join_size,my_max_allowed_packet,opt_connect_timeout=0;
static uint opt_local_infile=0; static uint opt_local_infile=0;
+#if MYSQL_VERSION_ID >= 40000 +#if MYSQL_VERSION_ID >= 40000
static struct my_option my_long_options[] = static struct my_option my_long_options[] =
{ {
{"compress", 'C', "Use compression in server/client protocol.", 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, {"compress", 'C', "Use compression in server/client protocol.", 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
@@ -185,6 +188,7 @@ static void usage() @@ -185,6 +188,7 @@ static void usage()
my_print_variables(my_long_options); my_print_variables(my_long_options);
exit(-1); exit(-1);

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2003/01/28 22:15:38 wilfried Exp $ @comment $OpenBSD: PLIST,v 1.4 2003/12/26 13:43:47 wilfried Exp $
@pkgcfl MyCC-* @pkgcfl MyCC-*
bin/mysqlcc bin/mysqlcc
share/mysqlcc/error.wav share/mysqlcc/error.wav
@ -7,6 +7,10 @@ share/mysqlcc/translations/Deutsch.qm
share/mysqlcc/translations/Deutsch.ts share/mysqlcc/translations/Deutsch.ts
share/mysqlcc/translations/French.qm share/mysqlcc/translations/French.qm
share/mysqlcc/translations/French.ts share/mysqlcc/translations/French.ts
share/mysqlcc/translations/Italian.qm
share/mysqlcc/translations/Italian.ts
share/mysqlcc/translations/Polish.qm
share/mysqlcc/translations/Polish.ts
share/mysqlcc/translations/Russian.qm share/mysqlcc/translations/Russian.qm
share/mysqlcc/translations/Russian.ts share/mysqlcc/translations/Russian.ts
share/mysqlcc/translations/Simplified_Chinese.qm share/mysqlcc/translations/Simplified_Chinese.qm