renamed to mysqlcc

This commit is contained in:
wilfried 2004-07-19 13:54:22 +00:00
parent fb6c94469f
commit 985d7431a4
10 changed files with 0 additions and 365 deletions

View File

@ -1,49 +0,0 @@
# $OpenBSD: Makefile,v 1.15 2004/01/30 18:05:35 sturm Exp $
COMMENT= "GUI client for MySQL"
VERSION= 0.9.4
DISTNAME= mysqlcc-${VERSION}-src
PKGNAME= mysqlcc-${VERSION}
CATEGORIES= databases
HOMEPAGE= http://mysql.com/products/mysqlcc/index.html
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= ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQLCC/ \
ftp://sunsite.dk/mirrors/mysql/Downloads/MySQLCC/ \
ftp://gd.tuwien.ac.at/db/mysql/Downloads/MySQLCC/ \
ftp://mysql.secsup.org/pub/software/mysql/Downloads/MySQLCC
MODQT_MT= Yes
MODULES= qt3
LIB_DEPENDS= lib/mysql/mysqlclient.10::databases/mysql
MAKE_ENV= LOCALBASE=${LOCALBASE} HACK_CFLAGS="${CFLAGS}"
MAKE_FLAGS= CC=${CC} CXX=${CXX} LINK=${CXX}
USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${MODQT_CONFIGURE_ARGS} \
--with-mysql-lib=${LOCALBASE}/lib/mysql \
--with-mysql-include=${LOCALBASE}/include/mysql
CONFIGURE_ENV= QTDIR=${LOCALBASE} \
FILESDIR=${FILESDIR} \
LOCALBASE=${LOCALBASE}
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/mysqlcc ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/mysqlcc/translations
${INSTALL_DATA} ${WRKSRC}/warning.wav ${WRKSRC}/error.wav ${WRKSRC}/syntax.txt ${PREFIX}/share/mysqlcc
${INSTALL_DATA} ${WRKSRC}/translations/* ${PREFIX}/share/mysqlcc/translations
.include <bsd.port.mk>

View File

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

View File

@ -1,84 +0,0 @@
#
# $Id: qmake.conf,v 1.3 2003/01/14 09:39:48 wilfried Exp $
#
# qmake configuration for openbsd-g++
#
MAKEFILE_GENERATOR = UNIX
TEMPLATE = app
CONFIG += qt warn_on release
QMAKE_OPENBSD_SHLIBS = 1
QMAKE_CC = dummy-cc
QMAKE_LEX = flex
QMAKE_LEXFLAGS =
QMAKE_YACC = yacc
QMAKE_YACCFLAGS = -d
QMAKE_CFLAGS = -DLOCALBASE=\"$(LOCALBASE)\" -DNDEBUG
QMAKE_CFLAGS_DEPS = -M
QMAKE_CFLAGS_WARN_ON = -Wall -W
QMAKE_CFLAGS_WARN_OFF = -w
QMAKE_CFLAGS_RELEASE = $(HACK_CFLAGS)
QMAKE_CFLAGS_DEBUG = -g
QMAKE_CFLAGS_SHLIB = -fPIC
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
QMAKE_CFLAGS_THREAD = -pthread
QMAKE_CXX = dummy-g++
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
QMAKE_INCDIR = $(LOCALBASE)/include
QMAKE_LIBDIR = $(LOCALBASE)/lib
QMAKE_INCDIR_X11 = /usr/X11R6/include
QMAKE_LIBDIR_X11 = /usr/X11R6/lib
QMAKE_INCDIR_QT = $(MODQT_INCDIR)
QMAKE_LIBDIR_QT = $(MODQT_LIBDIR)
QMAKE_INCDIR_OPENGL = /usr/X11R6/include
QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
QMAKE_LINK = dummy-g++
QMAKE_LINK_SHLIB = dummy-g++
QMAKE_LINK_SHLIB_CMD = $$QMAKE_LINK_SHLIB $(LFLAGS) \
$$QMAKE_CFLAGS_SHLIB $$QMAKE_LFLAGS \
-o $(TARGETD) $(OBJECTS) $(OBJMOC) $(LIBS)
QMAKE_LFLAGS =
QMAKE_LFLAGS_RELEASE =
QMAKE_LFLAGS_DEBUG =
QMAKE_LFLAGS_SHLIB = -shared
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
QMAKE_LFLAGS_SONAME = -Wl,-soname,
QMAKE_LFLAGS_THREAD = -pthread
QMAKE_LIBS =
QMAKE_LIBS_DYNLOAD =
QMAKE_LIBS_X11 = -lXext -lX11 -lm
QMAKE_LIBS_X11SM = -lSM -lICE
QMAKE_LIBS_QT = -lqt
QMAKE_LIBS_QT_THREAD = -lqt-mt
QMAKE_LIBS_OPENGL = -lGLU -lGL -lXmu
QMAKE_LIBS_OPENGL_QT = -lGL -lXmu
QMAKE_LIBS_THREAD =
QMAKE_MOC = $(MODQT_MOC)
QMAKE_UIC = $(MODQT_UIC)
QMAKE_AR = ar q
QMAKE_RANLIB = ranlib
QMAKE_TAR = tar -cf
QMAKE_GZIP = gzip -9f
QMAKE_COPY = cp -f
QMAKE_MOVE = mv -f
QMAKE_DEL_FILE = rm -f
QMAKE_DEL_DIR = rmdir
QMAKE_CHK_DIR_EXISTS = test -d
QMAKE_MKDIR = mkdir -p

View File

@ -1,98 +0,0 @@
$OpenBSD: patch-configure,v 1.5 2003/04/01 14:26:09 wilfried Exp $
--- configure.orig Fri Mar 28 23:06:00 2003
+++ configure Tue Apr 1 15:30:59 2003
@@ -2480,7 +2480,7 @@ fi
if test "x$mysql_found" = "xyes"
then
LIBS="-L$dir $SAVE_LIBS $LIBZ_LIB"
- MYSQL_LIB="$dir/libmysqlclient.a $LIBZ_LIB"
+ MYSQL_LIB="-lmysqlclient $LIBZ_LIB"
echo "$as_me:$LINENO: checking for mysql_real_connect in -lmysqlclient" >&5
echo $ECHO_N "checking for mysql_real_connect in -lmysqlclient... $ECHO_C" >&6
@@ -3086,51 +3086,7 @@ fi
if test "x$mysql_found" = "xyes"
then
- echo "$as_me:$LINENO: checking \"if MySQL Version $dir is >= 4.0.0\"" >&5
-echo $ECHO_N "checking \"if MySQL Version $dir is >= 4.0.0\"... $ECHO_C" >&6
- CPPFLAGS="$CPPFLAGS -I$dir"
- cat >conftest.$ac_ext <<_ACEOF
-#line $LINENO "configure"
-#include "confdefs.h"
-
- #include <mysql_version.h>
- #if MYSQL_VERSION_ID < 40000
- #error
- #endif
-
-_ACEOF
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
- ac_status=$?
- egrep -v '^ *\+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null; then
- if test -s conftest.err; then
- ac_cpp_err=$ac_c_preproc_warn_flag
- else
- ac_cpp_err=
- fi
-else
- ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
- mysql_version_ok=yes
-else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- mysql_version_ok=no
-fi
-rm -f conftest.err conftest.$ac_ext
-
- if test "x$mysql_version_ok" != "xno"
- then
- MYSQL_INCLUDE="$dir"
-
- fi
- echo "$as_me:$LINENO: result: $mysql_version_ok" >&5
-echo "${ECHO_T}$mysql_version_ok" >&6
+ MYSQL_INCLUDE="$dir"
fi
fi
done
@@ -3142,14 +3098,6 @@ echo "$as_me: error: Could not find mysq
{ (exit 1); exit 1; }; }
fi
- if test "x$mysql_version_ok" != "xyes"
- then
- echo "Please upgrade your MySQL installation to version 4.0.0 or higher"
- echo "If you do have the correct version of MySQL installed somewhere"
- echo "other than $dir, please specify it as --with-mysql-include= argument"
- exit 1
- fi
-
# Check whether --with-qt or --without-qt was given.
@@ -3179,7 +3127,7 @@ fi
echo "$as_me:$LINENO: checking \"if Qt Version in $QTDIR is >= 3.0.5\"" >&5
echo $ECHO_N "checking \"if Qt Version in $QTDIR is >= 3.0.5\"... $ECHO_C" >&6
-CPPFLAGS="$CPPFLAGS -I$QTDIR/include"
+CPPFLAGS="$CPPFLAGS -I$LOCALBASE/include/X11/qt3"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -4067,7 +4015,7 @@ fi
QMAKESPEC=$QTDIR/mkspecs/$host_os
echo "Creating Makefile with qmake"
-QMAKESPEC=$QMAKESPEC QTDIR=$QTDIR $QTDIR/bin/qmake mysqlcc.pro
+QMAKESPEC=$FILESDIR QTDIR=$QTDIR $QTDIR/bin/qmake-mt mysqlcc.pro
if test ! $? = 0 ; then
echo "qmake failed, aborting"
exit 1

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-mysqlcc_pro_in,v 1.5 2003/12/26 13:43:47 wilfried Exp $
--- mysqlcc.pro.in.orig 2003-12-14 00:10:43.000000000 +0100
+++ mysqlcc.pro.in 2003-12-26 14:10:30.000000000 +0100
@@ -1,5 +1,5 @@
TEMPLATE = app
-CONFIG += qt thread
+CONFIG += qt release thread
DEFINES += QT_DLL
DEFINES += HAVE_MYSQLCC_CONFIG
TARGET = mysqlcc
@@ -27,7 +27,7 @@ win32 {
}
unix {
- LIBS += @MYSQL_LIB@
+ LIBS += @MYSQL_LIB@ -lz
INCLUDEPATH += @MYSQL_INCLUDE@
CONFIG += x11
OBJECTS_DIR = tmp

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_CApplication_cpp,v 1.4 2003/12/26 13:43:47 wilfried Exp $
--- src/CApplication.cpp.orig 2003-12-14 00:10:43.000000000 +0100
+++ src/CApplication.cpp 2003-12-26 14:12:03.000000000 +0100
@@ -109,7 +109,7 @@ void CApplication::initGlobals(bool star
mydir += "/";
#else
//Directory where mysqlcc.exe (or mysqlcc) is.
- QString mydir = QDir::currentDirPath() + "/";
+ QString mydir = LOCALBASE "/share/mysqlcc/";
//QString mydir = "/usr/share/mysqlcc/"; This needs to be done with a PREFIX define ..
#endif

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-src_CHotKeyEditorDialog_cpp,v 1.1 2002/11/05 15:55:49 wilfried Exp $
--- src/CHotKeyEditorDialog.cpp.orig Sat Nov 2 14:47:25 2002
+++ src/CHotKeyEditorDialog.cpp Tue Nov 5 16:39:57 2002
@@ -91,6 +91,7 @@ This class takes care of displaying the
CHotKeyEditorMenu::CHotKeyEditorMenu(QWidget * parent, QMenuBar *menuBar, const char * name)
:QPopupMenu(parent, name)
{
+#if CRASH_HERE
#ifdef DEBUG
qDebug("CHotKeyEditorMenu::CHotKeyEditorMenu()");
#endif
@@ -100,6 +101,7 @@ CHotKeyEditorMenu::CHotKeyEditorMenu(QWi
connect(hotKeyEditorAction, SIGNAL(activated()), this, SLOT(openHotKeyEditor()));
hotKeyEditorAction->addTo(this);
menuBar->insertItem(tr("Hot&Keys"), this);
+#endif
}
/*

View File

@ -1,40 +0,0 @@
$OpenBSD: patch-src_main_cpp,v 1.3 2003/12/26 13:43:47 wilfried Exp $
--- src/main.cpp.orig 2003-12-14 00:10:44.000000000 +0100
+++ src/main.cpp 2003-12-26 14:10:30.000000000 +0100
@@ -22,7 +22,9 @@
#undef VERSION
#endif
#include <m_string.h>
+#if MYSQL_VERSION_ID >= 40000
#include <my_getopt.h>
+#endif
#ifndef NO_QT
#define NO_QT
#endif
@@ -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 uint opt_local_infile=0;
+#if MYSQL_VERSION_ID >= 40000
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},
@@ -185,6 +188,7 @@ static void usage()
my_print_variables(my_long_options);
exit(-1);
}
+#endif
int main(int argc, char *argv[])
@@ -196,8 +200,10 @@ int main(int argc, char *argv[])
load_defaults("my",load_default_groups,&argc,&argv);
save_argv = argv;
progname= argv[0];
+#if MYSQL_VERSION_ID >= 40000
if (handle_options(&argc, &argv, my_long_options, get_one_option))
exit(-1);
+#endif
if (!argv[0] || !argv[1] || (pid = atoi(argv[0])) <= 0 || (t= atoi(argv[1])) <= 0)
ret = mysqlcc_main(argc, argv);
free_defaults(save_argv);

View File

@ -1,17 +0,0 @@
This is a release of MySQL Control Center, a GPL (free) MySQL GUI
Client.
Some of the features in MySQL Control Center are:
- create/drop databases
- create/edit/drop tables
- Write and execute SQL-queries
- Fully configurable Syntax-Highlighting editor for SQL
- Support for several servers
- MDI / SDI Support
- List of server-variables and status
- view and kill other user-processes
- view advanced table-properties, such as Type, Comment, Key_Length and so on
- flush Host/Logs/Privileges/Tables
- do table-diagnostics (check, optimize, repair, analyze)
- and much more...

View File

@ -1,24 +0,0 @@
@comment $OpenBSD: PLIST,v 1.4 2003/12/26 13:43:47 wilfried Exp $
@pkgcfl MyCC-*
bin/mysqlcc
share/mysqlcc/error.wav
share/mysqlcc/syntax.txt
share/mysqlcc/translations/Deutsch.qm
share/mysqlcc/translations/Deutsch.ts
share/mysqlcc/translations/French.qm
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.ts
share/mysqlcc/translations/Simplified_Chinese.qm
share/mysqlcc/translations/Simplified_Chinese.ts
share/mysqlcc/translations/Spanish.qm
share/mysqlcc/translations/Spanish.ts
share/mysqlcc/translations/Traditional_Chinese.qm
share/mysqlcc/translations/Traditional_Chinese.ts
share/mysqlcc/warning.wav
@dirrm share/mysqlcc/translations
@dirrm share/mysqlcc