Bring 1.0.3 back to satisfy dep on amd64
authorLeonardo Boshell <leonardop@gentoo.org>
Sun, 30 Oct 2005 15:04:12 +0000 (15:04 +0000)
committerLeonardo Boshell <leonardop@gentoo.org>
Sun, 30 Oct 2005 15:04:12 +0000 (15:04 +0000)
Package-Manager: portage-2.0.53_rc6

gnome-extra/libgda/Manifest
gnome-extra/libgda/files/digest-libgda-1.0.3 [new file with mode: 0644]
gnome-extra/libgda/libgda-1.0.3.ebuild [new file with mode: 0644]

index b8a0b6a3062a63e5fed561941388dacc233db243..f2ea8a14fa00e27dda8c5e98bcb894d54bacd544 100644 (file)
@@ -1,6 +1,7 @@
 MD5 112a1a7966b5ca0d707c24f6a6747646 ChangeLog 12533
 MD5 e92331f7677fcfc3e82541f08676bb32 files/digest-libgda-0.2.96-r2 66
 MD5 46b8c0b40219635d47ca4583d42dc814 files/digest-libgda-1.0.2 66
+MD5 907142ea1e11bcf5b01f25dfa2fd2b54 files/digest-libgda-1.0.3 66
 MD5 c15d8674b02051d6c9af76a12258ab8b files/digest-libgda-1.0.4 66
 MD5 ef67c275e1a496a0f75f76369994c248 files/digest-libgda-1.2.2-r1 66
 MD5 552028d2c6006f11a013b81e4e3fc56c files/libgda-0.2.96-gcc3.4.patch 607
@@ -18,6 +19,7 @@ MD5 b4dee0ec0bc3b4333c572810d035c68f files/libgda-1.2.1-mdb_fix.patch 617
 MD5 c95ffd3e34df767ced0741bb1ba184e2 files/libgda-1.2.2-freetds_fixes.patch 1771
 MD5 efe942efcc3bbe2a6ae347a7e6808a57 libgda-0.2.96-r2.ebuild 3487
 MD5 016ec893635c15e43c7159e1f1d92b33 libgda-1.0.2.ebuild 2893
+MD5 3d8fafea6831dfad58db40dbdef7e9a4 libgda-1.0.3.ebuild 2755
 MD5 eceac9d80b6e54f4091a9a3026c32fec libgda-1.0.4.ebuild 2939
 MD5 2ae6880dad03e541519a4a291ec8b07f libgda-1.2.2-r1.ebuild 2368
 MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
diff --git a/gnome-extra/libgda/files/digest-libgda-1.0.3 b/gnome-extra/libgda/files/digest-libgda-1.0.3
new file mode 100644 (file)
index 0000000..560d33c
--- /dev/null
@@ -0,0 +1 @@
+MD5 eb571389cd7624f362315d5180298263 libgda-1.0.3.tar.bz2 1087558
diff --git a/gnome-extra/libgda/libgda-1.0.3.ebuild b/gnome-extra/libgda/libgda-1.0.3.ebuild
new file mode 100644 (file)
index 0000000..c230be0
--- /dev/null
@@ -0,0 +1,107 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-1.0.3.ebuild,v 1.13 2005/10/30 15:04:12 leonardop Exp $
+
+inherit gnome2 eutils
+
+DESCRIPTION="Gnome Database Access Library"
+HOMEPAGE="http://www.gnome-db.org/"
+LICENSE="GPL-2 LGPL-2"
+
+IUSE="odbc postgres mysql ldap firebird freetds sqlite mdb oci8 doc"
+SLOT="1"
+KEYWORDS="~x86 ppc ~sparc ~alpha ~ia64 amd64"
+
+RDEPEND=">=dev-libs/glib-2.0
+       >=dev-libs/libxml2-2.0
+       >=dev-libs/libxslt-1.0.9
+       >=gnome-base/gnome-vfs-2.0
+       dev-libs/popt
+       sys-libs/ncurses
+       mysql? ( >=dev-db/mysql-3.23.51 )
+       postgres? ( >=dev-db/postgresql-7.2.1 )
+       odbc? ( >=dev-db/unixODBC-2.0.6 )
+       ldap? ( >=net-nds/openldap-2.0.25 )
+       x86? ( firebird? ( dev-db/firebird ) )
+       freetds? ( >=dev-db/freetds-0.5 )
+       sqlite? ( =dev-db/sqlite-2* )
+       !ia64? ( mdb? ( >=app-office/mdbtools-0.5 ) )"
+
+DEPEND=">=dev-util/pkgconfig-0.8
+       >=dev-util/intltool-0.22
+       >=sys-devel/gettext-0.11
+       app-text/scrollkeeper
+       doc? ( dev-util/gtk-doc )
+       ${RDEPEND}"
+
+DOCS="AUTHORS COPYING* ChangeLog INSTALL NEWS README"
+
+# problems with parallel builds
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_unpack() {
+       unpack ${A}
+       gnome2_omf_fix ${S}/doc/Makefile.in
+       cd ${S}
+       # Fix libgda's manual source. See bug #46337.
+       epatch ${FILESDIR}/${P}-gtkdoc_fixes.patch
+
+       # Fix gcc 3.4 compilation.  See bug #49234
+       epatch ${FILESDIR}/${P}-gcc3.4.patch
+}
+
+src_compile() {
+
+       local myconf
+
+       use mysql \
+               && myconf="${myconf} --with-mysql=/usr" \
+               || myconf="${myconf} --without-mysql"
+
+       use postgres \
+               && myconf="${myconf} --with-postgres=/usr" \
+               || myconf="${myconf} --without-postgres"
+
+       use odbc \
+               && myconf="${myconf} --with-odbc=/usr" \
+               || myconf="${myconf} --without-odbc"
+
+       use ldap \
+               && myconf="${myconf} --with-ldap=/usr" \
+               || myconf="${myconf} --without-ldap"
+
+       use sqlite \
+               && myconf="$myconf --with-sqlite=/usr" \
+               || myconf="$myconf --without-sqlite"
+
+       use freetds \
+               && myconf="$myconf --with-tds=/usr" \
+               || myconf="$myconf --without-tds"
+
+       use firebird \
+               && myconf="${myconf} --with-firebird=/usr" \
+               || myconf="${myconf} --without-firebird"
+
+       use mdb \
+               && myconf="${myconf} --with-mdb=/usr" \
+               || myconf="${myconf} --without-mdb"
+
+       # not in portage (http://linux.techass.com/projects/xdb/)
+       myconf="${myconf} --without-xbase"
+       myconf="${myconf} --without-msql"
+
+       # closed source dbs
+       myconf="${myconf} --without-ibmdb2"
+       myconf="${myconf} --without-sybase"
+       use oci8 || myconf="${myconf} --without-oracle"
+
+       # workaround for readline-4.1 profile - disables building of gda-config-tool
+       if has_version "=sys-libs/readline-4.1*"; then
+               export CONFIG_TOOL_HEADERS="wrong"
+       fi
+
+       gnome2_src_compile ${myconf}
+
+       unset CONFIG_TOOL_HEADERS
+
+}