diff options
author | Caleb Tennis <caleb@gentoo.org> | 2003-09-24 19:06:08 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2003-09-24 19:06:08 +0000 |
commit | e56b9f3b608f89bdf761e5955b1e024e3c87b97a (patch) | |
tree | 5f2e6ef9a34f62008fe79dbe2c6862d94aeb0069 /dev-db | |
parent | new version (diff) | |
download | gentoo-2-e56b9f3b608f89bdf761e5955b1e024e3c87b97a.tar.gz gentoo-2-e56b9f3b608f89bdf761e5955b1e024e3c87b97a.tar.bz2 gentoo-2-e56b9f3b608f89bdf761e5955b1e024e3c87b97a.zip |
new version
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mysqlcc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/mysqlcc/Manifest | 6 | ||||
-rw-r--r-- | dev-db/mysqlcc/files/digest-mysqlcc-0.9.3 | 1 | ||||
-rw-r--r-- | dev-db/mysqlcc/files/mysqlcc-0.9.3-libmysqlclientac.patch | 46 | ||||
-rw-r--r-- | dev-db/mysqlcc/metadata.xml | 5 | ||||
-rw-r--r-- | dev-db/mysqlcc/mysqlcc-0.9.3.ebuild | 62 |
6 files changed, 124 insertions, 3 deletions
diff --git a/dev-db/mysqlcc/ChangeLog b/dev-db/mysqlcc/ChangeLog index d6a76ca213d0..27bc648e2a0d 100644 --- a/dev-db/mysqlcc/ChangeLog +++ b/dev-db/mysqlcc/ChangeLog @@ -1,6 +1,11 @@ # 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.11 2003/08/15 18:37:31 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqlcc/ChangeLog,v 1.12 2003/09/24 19:05:25 caleb Exp $ + +*mysqlcc-0.9.3 (24 Sep 2003) + + 24 Sep 2003; <caleb@gentoo.org> mysqlcc-0.9.3.ebuild: + New version 15 Aug 2003; <caleb@gentoo.org> mysqlcc-0.9.2.ebuild: Minor CFLAGS (see bug 26669). Changed qt dependecy to rely on need-qt from diff --git a/dev-db/mysqlcc/Manifest b/dev-db/mysqlcc/Manifest index 3f6a2b78a438..7b2c8f37515b 100644 --- a/dev-db/mysqlcc/Manifest +++ b/dev-db/mysqlcc/Manifest @@ -1,8 +1,10 @@ MD5 9f313aea593f1e6c58f116c2e86fb510 mysqlcc-0.8.7-r1.ebuild 1658 -MD5 d8717cdcfc4f917a46e3817e810168ee mysqlcc-0.9.3.ebuild 1757 -MD5 ab2cd4fb4f1669ffd4dc750e9c265a93 ChangeLog 3311 +MD5 1998c3101cd20e69f1e7ffceb6f9f67a mysqlcc-0.9.3.ebuild 1704 +MD5 c7b44dba3aed70144549254adbe5b0c9 ChangeLog 3414 +MD5 1b6808bbd78c9161f8b7efb090d966f8 metadata.xml 162 MD5 d8717cdcfc4f917a46e3817e810168ee mysqlcc-0.9.2.ebuild 1757 MD5 efaa2abbdf5d66f7120aabe7c54e8c8b files/digest-mysqlcc-0.8.7-r1 69 +MD5 397bed4d44baa6b402b5d58c33bde803 files/mysqlcc-0.9.3-libmysqlclientac.patch 1556 MD5 397bed4d44baa6b402b5d58c33bde803 files/mysqlcc-0.9.2-libmysqlclientac.patch 1556 MD5 3cc836a398f018fc7036b02ea4cd75bd files/digest-mysqlcc-0.9.2 69 MD5 5e526165be4127bf54ef503255d56f16 files/digest-mysqlcc-0.9.3 69 diff --git a/dev-db/mysqlcc/files/digest-mysqlcc-0.9.3 b/dev-db/mysqlcc/files/digest-mysqlcc-0.9.3 new file mode 100644 index 000000000000..61b867889804 --- /dev/null +++ b/dev-db/mysqlcc/files/digest-mysqlcc-0.9.3 @@ -0,0 +1 @@ +MD5 9d49fa0658cd8cf81ee5f64bc942b4e9 mysqlcc-0.9.3-src.tar.gz 746154 diff --git a/dev-db/mysqlcc/files/mysqlcc-0.9.3-libmysqlclientac.patch b/dev-db/mysqlcc/files/mysqlcc-0.9.3-libmysqlclientac.patch new file mode 100644 index 000000000000..f6db1a6a6bd1 --- /dev/null +++ b/dev-db/mysqlcc/files/mysqlcc-0.9.3-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/metadata.xml b/dev-db/mysqlcc/metadata.xml new file mode 100644 index 000000000000..b435a8440ccd --- /dev/null +++ b/dev-db/mysqlcc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kde-other</herd> +</pkgmetadata> diff --git a/dev-db/mysqlcc/mysqlcc-0.9.3.ebuild b/dev-db/mysqlcc/mysqlcc-0.9.3.ebuild new file mode 100644 index 000000000000..a9c0534d5be6 --- /dev/null +++ b/dev-db/mysqlcc/mysqlcc-0.9.3.ebuild @@ -0,0 +1,62 @@ +# 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.3.ebuild,v 1.1 2003/09/24 19:05:25 caleb Exp $ + +inherit eutils kde-functions +need-qt 3.0.5 + +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/MySQLCC/${P}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="ssl" + +DEPEND="virtual/glibc + >=dev-db/mysql-4.0.0" +RDEPEND="" + +src_unpack() { + unpack ${A} + 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 -O2:CFLAGS = ${CFLAGS}:" \ + -e "s:CXXFLAGS = -pipe -Wall -W -O2: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 +} |