summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2008-01-30 11:51:07 +0000
committerChristian Faulhammer <opfer@gentoo.org>2008-01-30 11:51:07 +0000
commitdaae81189f5712a930df8ca547c5f520a4b5598f (patch)
tree43cb76edc5778b9106939c29755c65e2ef7a7175 /dev-libs/qof
parentstable x86, bug 207634 (diff)
downloadgentoo-2-daae81189f5712a930df8ca547c5f520a4b5598f.tar.gz
gentoo-2-daae81189f5712a930df8ca547c5f520a4b5598f.tar.bz2
gentoo-2-daae81189f5712a930df8ca547c5f520a4b5598f.zip
version bump, add dependency on SQLite 2 versions
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-libs/qof')
-rw-r--r--dev-libs/qof/ChangeLog8
-rw-r--r--dev-libs/qof/files/digest-qof-0.7.43
-rw-r--r--dev-libs/qof/files/qof-0.7.4-remove_spurious_CFLAGS.patch49
-rw-r--r--dev-libs/qof/qof-0.7.4.ebuild35
4 files changed, 94 insertions, 1 deletions
diff --git a/dev-libs/qof/ChangeLog b/dev-libs/qof/ChangeLog
index 0ac21f76c0e6..73a0c9c21cec 100644
--- a/dev-libs/qof/ChangeLog
+++ b/dev-libs/qof/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/qof
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/qof/ChangeLog,v 1.11 2008/01/10 21:38:07 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/qof/ChangeLog,v 1.12 2008/01/30 11:51:06 opfer Exp $
+
+*qof-0.7.4 (30 Jan 2008)
+
+ 30 Jan 2008; Christian Faulhammer <opfer@gentoo.org>
+ +files/qof-0.7.4-remove_spurious_CFLAGS.patch, +qof-0.7.4.ebuild:
+ version bump, add dependency on SQLite 2 versions
10 Jan 2008; Ferris McCormick <fmccor@gentoo.org> qof-0.7.2.ebuild:
Sparc stable, part of Bug #205242, all tests pass.
diff --git a/dev-libs/qof/files/digest-qof-0.7.4 b/dev-libs/qof/files/digest-qof-0.7.4
new file mode 100644
index 000000000000..b69f6c7fbd15
--- /dev/null
+++ b/dev-libs/qof/files/digest-qof-0.7.4
@@ -0,0 +1,3 @@
+MD5 eff4d936542ae59ed213fd52b7548fae qof-0.7.4.tar.gz 905986
+RMD160 6258fafeb35c260aff4f576f3a2eac4903c073c0 qof-0.7.4.tar.gz 905986
+SHA256 87b33cd2823cc5d7bf659eadbe9b9c83be0d4257c4827284093704e33ac8abb8 qof-0.7.4.tar.gz 905986
diff --git a/dev-libs/qof/files/qof-0.7.4-remove_spurious_CFLAGS.patch b/dev-libs/qof/files/qof-0.7.4-remove_spurious_CFLAGS.patch
new file mode 100644
index 000000000000..263cf3ca61dc
--- /dev/null
+++ b/dev-libs/qof/files/qof-0.7.4-remove_spurious_CFLAGS.patch
@@ -0,0 +1,49 @@
+--- configure.orig 2008-01-30 12:40:59.000000000 +0100
++++ configure 2008-01-30 12:43:25.000000000 +0100
+@@ -26894,11 +26894,11 @@
+ echo $ECHO_N "checking what extra warning flags to pass to the C compiler... $ECHO_C" >&6; }
+ if test ${GCC}x = yesx; then
+ warnFLAGS=
+- CFLAGS="${CFLAGS} -g2 -Wall"
++ CFLAGS="${CFLAGS}"
+ # Check whether --enable-error-on-warning was given.
+ if test "${enable_error_on_warning+set}" = set; then
+ enableval=$enable_error_on_warning; case "${enableval}" in
+- yes) warnFLAGS="${warnFLAGS} -Werror" ;;
++ yes) warnFLAGS="${warnFLAGS}" ;;
+ no) ;;
+ *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-error-on-warning" >&5
+ echo "$as_me: error: bad value ${enableval} for --enable-error-on-warning" >&2;}
+@@ -26913,10 +26913,10 @@
+ # This is gcc >= 3.x.x
+ if test `echo ${GCC_VERSION} | cut -d. -f2` -ge 4; then
+ # This is gcc >= 3.4.x
+- warnFLAGS="${warnFLAGS} -Wdeclaration-after-statement"
++ warnFLAGS="${warnFLAGS}"
+ else if test `echo ${GCC_VERSION} | cut -d. -f1` -ge 4; then
+ # This is gcc == 4.x.x
+- warnFLAGS="${warnFLAGS} -Wdeclaration-after-statement -Wno-pointer-sign"
++ warnFLAGS="${warnFLAGS}"
+ fi
+ fi
+ fi
+@@ -26934,19 +26934,6 @@
+ enableval=$enable_compile_warnings; set_compile_warnings=yes
+ fi
+
+-
+-if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+- warnFLAGS="$warnFLAGS -Wcast-align -Wsign-compare \
+- -Wmissing-prototypes -Wmissing-declarations -Werror -Wmissing-include-dirs \
+- -Wstrict-prototypes -Winline -Wnested-externs -Wpointer-arith \
+- -Wmissing-field-initializers"
+-# LDFLAGS="$LDFLAGS -Wl,-z,defs"
+-fi
+-
+-
+-
+-
+-
+ DATADIR=`eval echo $datadir`
+ QSF_SCHEMA_DIR=`eval echo $DATADIR`"/xml/qof/qsf"
+
diff --git a/dev-libs/qof/qof-0.7.4.ebuild b/dev-libs/qof/qof-0.7.4.ebuild
new file mode 100644
index 000000000000..2b3d7727fea0
--- /dev/null
+++ b/dev-libs/qof/qof-0.7.4.ebuild
@@ -0,0 +1,35 @@
+ # Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/qof/qof-0.7.4.ebuild,v 1.1 2008/01/30 11:51:06 opfer Exp $
+
+inherit eutils
+
+DESCRIPTION="A Query Object Framework"
+HOMEPAGE="http://qof.sourceforge.net/"
+SRC_URI="mirror://sourceforge/qof/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+
+KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
+
+IUSE=""
+
+DEPEND="gnome-extra/libgda
+ =dev-db/sqlite-2*"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-remove_spurious_CFLAGS.patch"
+}
+
+src_compile() {
+ econf || die
+ emake -j1 || die
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die
+}