diff options
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mysqlcc/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/mysqlcc/Manifest | 4 | ||||
-rw-r--r-- | dev-db/mysqlcc/files/digest-mysqlcc-0.9.2 | 1 | ||||
-rw-r--r-- | dev-db/mysqlcc/files/mysqlcc-0.9.2-libmysqlclientac.patch | 46 | ||||
-rw-r--r-- | dev-db/mysqlcc/files/mysqlcc-0.9.2-qmakespec.patch | 17 | ||||
-rw-r--r-- | dev-db/mysqlcc/mysqlcc-0.9.2.ebuild | 63 |
6 files changed, 137 insertions, 3 deletions
diff --git a/dev-db/mysqlcc/ChangeLog b/dev-db/mysqlcc/ChangeLog index 2564e4c76fb0..7ad3af1df93e 100644 --- a/dev-db/mysqlcc/ChangeLog +++ b/dev-db/mysqlcc/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-db/mysqlcc # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqlcc/ChangeLog,v 1.7 2003/03/09 22:42:42 rac Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqlcc/ChangeLog,v 1.8 2003/05/05 14:20:41 caleb Exp $ + +*mysqlcc-0.9.2 (05 May 2003) + + 05 May 2003; <caleb@gentoo.org> mysqlcc-0.9.2.ebuild, + files/mysqlcc-0.9.2-configperms.patch, files/mysqlcc-0.8.7-qmakespec.patch: + Version bump, keeping same patches as version noted below. Keeping ~86 + until mysql-4 becomes unmasked in portage. *mysqlcc-0.8.7-r1 (09 Mar 2003) diff --git a/dev-db/mysqlcc/Manifest b/dev-db/mysqlcc/Manifest index d50d2153fff1..4c71faa7f453 100644 --- a/dev-db/mysqlcc/Manifest +++ b/dev-db/mysqlcc/Manifest @@ -2,9 +2,9 @@ MD5 b2a944bf1716c0e0403ce0b1c1137ce4 mysqlcc-0.8.6a.ebuild 1005 MD5 81dbcd430ddf48548b7949f907d635c2 mysqlcc-0.8.7-r1.ebuild 1558 MD5 ab5d0f5b6a4df6a2a657897c6015177f mysqlcc-0.8.10-r1.ebuild 1811 MD5 9a48f62e7e90babb32a96905dfad8375 mysqlcc-0.8.7.ebuild 1067 -MD5 03fa719183ced7fbe3c8c982244d4705 ChangeLog 2944 +MD5 fc9376d3c92489059a173d9241bf11a9 ChangeLog 2946 MD5 a6b69cc4b65e6326ad4ef62793b2ef2a mysqlcc-0.8.10.ebuild 1015 -MD5 8a4509d623afc029623ec4a5171e363a mysqlcc-0.9.2.ebuild 1648 +MD5 a415ba4dffc3612d7d9a470b3ba678bc mysqlcc-0.9.2.ebuild 1747 MD5 efaa2abbdf5d66f7120aabe7c54e8c8b files/digest-mysqlcc-0.8.7-r1 69 MD5 6b8bd124f35aadf774d8c9b7224cbac9 files/digest-mysqlcc-0.8.10-r1 70 MD5 397bed4d44baa6b402b5d58c33bde803 files/mysqlcc-0.9.2-libmysqlclientac.patch 1556 diff --git a/dev-db/mysqlcc/files/digest-mysqlcc-0.9.2 b/dev-db/mysqlcc/files/digest-mysqlcc-0.9.2 new file mode 100644 index 000000000000..e5191d9eb84a --- /dev/null +++ b/dev-db/mysqlcc/files/digest-mysqlcc-0.9.2 @@ -0,0 +1 @@ +MD5 812c762b91011f0d1c2d834ce05fd5c3 mysqlcc-0.9.2-src.tar.gz 650736 diff --git a/dev-db/mysqlcc/files/mysqlcc-0.9.2-libmysqlclientac.patch b/dev-db/mysqlcc/files/mysqlcc-0.9.2-libmysqlclientac.patch new file mode 100644 index 000000000000..f6db1a6a6bd1 --- /dev/null +++ b/dev-db/mysqlcc/files/mysqlcc-0.9.2-libmysqlclientac.patch @@ -0,0 +1,46 @@ +--- acinclude.m4.orig 2003-03-04 01:07:26.000000000 -0800 ++++ acinclude.m4 2003-03-04 12:46:35.000000000 -0800 +@@ -6,34 +6,15 @@ + AC_MSG_CHECKING([for libmysqlclient]) + AC_MSG_RESULT() + +- mysql_ok=no +- +- SAVE_LIBS=$LIBS +- +- mysql_lib="$mysql_lib /usr/lib /usr/lib/mysql \ +- /usr/local/lib /usr/local/lib/mysql \ +- /usr/local/mysql/lib" +- +- for dir in $mysql_lib; do +- if test "x$mysql_found" != "xyes" +- then +- AC_CHECK_FILE("$dir/libmysqlclient.a", +- mysql_found=yes, mysql_found=no) +- if test "x$mysql_found" = "xyes" +- then +- LIBS="-L$dir $SAVE_LIBS $LIBZ_LIB" +- MYSQL_LIB="$dir/libmysqlclient.a $LIBZ_LIB" +- AC_SUBST(MYSQL_LIB) +- AC_CHECK_LIB(mysqlclient, mysql_real_connect, +- mysql_ok=yes, mysql_ok=no) +- fi +- fi +- done +- +- if test "x$mysql_ok" != "xyes" +- then +- AC_MSG_ERROR([Could not find libmysqlclient in '$mysql_lib']) +- fi ++ # dependencies are guaranteed to ensure we have mysql_config ++ # available, and it is a much cleaner way of discovering what ++ # must be linked against libmysqlclient, that transparently ++ # covers USE="ssl" and other issues. ++ # Robert Coie <rac@gentoo.org> 2003.03.04 ++ ++ mysql_ok=yes ++ MYSQL_LIB=`mysql_config --libs` ++ LIBS="${LIBS} ${MYSQL_LIB}" + ]) + + diff --git a/dev-db/mysqlcc/files/mysqlcc-0.9.2-qmakespec.patch b/dev-db/mysqlcc/files/mysqlcc-0.9.2-qmakespec.patch new file mode 100644 index 000000000000..0a80f4c62ea6 --- /dev/null +++ b/dev-db/mysqlcc/files/mysqlcc-0.9.2-qmakespec.patch @@ -0,0 +1,17 @@ +--- configure.in.orig 2003-03-04 13:13:05.000000000 -0800 ++++ configure.in 2003-03-04 13:13:53.000000000 -0800 +@@ -24,7 +24,13 @@ + AC_SUBST(MYSQLCC_HEADERS) + AC_SUBST(MYSQLCC_SOURCES) + AC_OUTPUT(mysqlcc.pro) +-QMAKESPEC=$QTDIR/mkspecs/$host_os ++ ++# the following line is disabled so that we can specify QMAKESPEC from ++# the ebuild - otherwise on some systems it looks for 'linux-gcc', ++# rather than the correct 'linux-g++' ++# Robert Coie <rac@gentoo.org> 2003.03.04 ++#QMAKESPEC=$QTDIR/mkspecs/$host_os ++ + echo "Creating Makefile with qmake" + QMAKESPEC=$QMAKESPEC QTDIR=$QTDIR $QTDIR/bin/qmake mysqlcc.pro + if test ! $? = 0 ; then diff --git a/dev-db/mysqlcc/mysqlcc-0.9.2.ebuild b/dev-db/mysqlcc/mysqlcc-0.9.2.ebuild new file mode 100644 index 000000000000..145236b8d35d --- /dev/null +++ b/dev-db/mysqlcc/mysqlcc-0.9.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqlcc/mysqlcc-0.9.2.ebuild,v 1.1 2003/05/05 14:20:41 caleb Exp $ + +inherit eutils + +S=${WORKDIR}/${P}-src +DESCRIPTION="a MySQL GUI Client" +HOMEPAGE="http://www.mysql.com/" +SRC_URI="ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MyCC/${P}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="X qt" + +DEPEND="virtual/glibc + >=x11-libs/qt-3.0.5 + >=dev-db/mysql-4.0.0" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd ${S}; epatch ${FILESDIR}/${P}-qmakespec.patch + cd ${S}; epatch ${FILESDIR}/${P}-libmysqlclientac.patch +} + +src_compile() { + # The config.sub in this distribution appears to be very stale + # so we replace it with one from a known better source. I am + # not attached to using 1.4, but it seemed like it had the best + # chance of compatibility. + # Robert Coie <rac@gentoo.org> 2003.03.03 + if [ -e /usr/share/automake-1.4/config.sub ]; then + cp /usr/share/automake-1.4/config.sub ${S} + fi + cd ${S}; autoreconf -f; + + if [ "`use ssl`" ]; then + SUBLIBS="${SUBLIBS} -lssl" + echo "libs now ${SUBLIBS}" + fi + + QMAKESPEC="linux-g++" LIBS=${LIBS} econf --with-qt=${QTDIR} || die + + cp Makefile Makefile.orig + sed -e "s:CFLAGS = -pipe -Wall -W -g:CFLAGS = ${CFLAGS}:" \ + -e "s:CXXFLAGS = -pipe -Wall -W -g:CXXFLAGS = ${CXXFLAGS}:" \ + Makefile.orig > Makefile + + QTDIR=$QTDIR + emake || die +} + +src_install() { + dobin mysqlcc + dodir /usr/share/mysqlcc + insinto /usr/share/mysqlcc + doins warning.wav information.wav error.wav syntax.txt + dodir /usr/share/mysqlcc/translations + insinto /usr/share/mysqlcc/translations + doins translations/*.qm translations/*.ts +} |