diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2010-01-04 13:47:42 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2010-01-04 13:47:42 +0000 |
commit | d5195a96160d765326a877ded3db6c4aab54a6e6 (patch) | |
tree | 583d97b05cf0fc9012a2e10a7d7f4d03944c73d4 /app-office/gnotime | |
parent | stable x86, bug 299125 (diff) | |
download | gentoo-2-d5195a96160d765326a877ded3db6c4aab54a6e6.tar.gz gentoo-2-d5195a96160d765326a877ded3db6c4aab54a6e6.tar.bz2 gentoo-2-d5195a96160d765326a877ded3db6c4aab54a6e6.zip |
revision bump to make it 64bit safe. Patch by Thomas Cort <tom AT tomcort DOT com>, see bug 231986
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-office/gnotime')
-rw-r--r-- | app-office/gnotime/ChangeLog | 11 | ||||
-rw-r--r-- | app-office/gnotime/files/gnotime-2.3.0-missing-includes.patch | 22 | ||||
-rw-r--r-- | app-office/gnotime/gnotime-2.3.0-r3.ebuild | 59 |
3 files changed, 90 insertions, 2 deletions
diff --git a/app-office/gnotime/ChangeLog b/app-office/gnotime/ChangeLog index 7f39d599fdf4..5796917426dd 100644 --- a/app-office/gnotime/ChangeLog +++ b/app-office/gnotime/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-office/gnotime -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/gnotime/ChangeLog,v 1.45 2009/12/27 15:05:05 mrpouet Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/gnotime/ChangeLog,v 1.46 2010/01/04 13:47:41 fauli Exp $ + +*gnotime-2.3.0-r3 (04 Jan 2010) + + 04 Jan 2010; Christian Faulhammer <fauli@gentoo.org> + +gnotime-2.3.0-r3.ebuild, +files/gnotime-2.3.0-missing-includes.patch: + revision bump to make it 64bit safe. Patch by Thomas Cort <tom AT tomcort + DOT com>, see bug 231986 27 Dec 2009; Romain Perier <mrpouet@gentoo.org> gnotime-2.3.0-r2.ebuild, +files/gnotime-2.3.0-libgnomeui-typo.patch: diff --git a/app-office/gnotime/files/gnotime-2.3.0-missing-includes.patch b/app-office/gnotime/files/gnotime-2.3.0-missing-includes.patch new file mode 100644 index 000000000000..207c6cd1207d --- /dev/null +++ b/app-office/gnotime/files/gnotime-2.3.0-missing-includes.patch @@ -0,0 +1,22 @@ +diff -urN gnotime-2.3.0-r2.orig/src/ghtml.c gnotime-2.3.0-r2/src/ghtml.c +--- gnotime-2.3.0-r2.orig/src/ghtml.c 2009-06-01 20:50:50.206060968 -0400 ++++ gnotime-2.3.0-r2/src/ghtml.c 2009-06-01 20:51:59.306074517 -0400 +@@ -24,6 +24,7 @@ + #include <libguile.h> + #include <libguile/backtrace.h> + #include <limits.h> ++#include <math.h> + #include <stdio.h> + #include <string.h> + #include <libgnomevfs/gnome-vfs.h> +diff -urN gnotime-2.3.0-r2.orig/src/notes-area.c gnotime-2.3.0-r2/src/notes-area.c +--- gnotime-2.3.0-r2.orig/src/notes-area.c 2009-06-01 20:50:50.206060968 -0400 ++++ gnotime-2.3.0-r2/src/notes-area.c 2009-06-01 20:52:40.076074295 -0400 +@@ -22,6 +22,7 @@ + #include <gnome.h> + + #include "proj.h" ++#include "menus.h" + #include "notes-area.h" + #include "util.h" + diff --git a/app-office/gnotime/gnotime-2.3.0-r3.ebuild b/app-office/gnotime/gnotime-2.3.0-r3.ebuild new file mode 100644 index 000000000000..32c95ee652f8 --- /dev/null +++ b/app-office/gnotime/gnotime-2.3.0-r3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/gnotime/gnotime-2.3.0-r3.ebuild,v 1.1 2010/01/04 13:47:41 fauli Exp $ + +EAPI=2 + +inherit autotools eutils gnome2 + +DESCRIPTION="Utility to track time spent on activities" +HOMEPAGE="http://gttr.sourceforge.net/" +SRC_URI="mirror://sourceforge/gttr/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" + +RDEPEND=">=x11-libs/gtk+-2.10 + >=dev-libs/glib-2.14 + >=gnome-base/libgnome-2.0 + >=gnome-base/libgnomeui-2.0.3 + >=gnome-base/gnome-vfs-2 + >=gnome-base/libglade-2.0 + >=gnome-extra/gtkhtml-3.14.3:3.14 + >=gnome-base/gconf-2.0 + dev-libs/libxml2 + >=dev-libs/dbus-glib-0.74 + dev-scheme/guile + dev-libs/qof:0 + x11-libs/libXScrnSaver + x11-libs/pango" + +DEPEND="${RDEPEND} + x11-proto/scrnsaverproto + dev-util/pkgconfig + dev-util/intltool + >=app-text/scrollkeeper-0.3.11 + doc? ( ~app-text/docbook-xml-dtd-4.2 )" + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +pkg_setup() { + G2CONF="${G2CONF} --disable-schemas-install" +} + +src_prepare() { + # man generation needs docbook-xml-dtd + use doc || sed -i -e "s/SUBDIRS = man/SUBDIRS = /" doc/C/Makefile.{in,am} + + # Fix column descriptions, bug #222325 + epatch "${FILESDIR}/${P}-fix-columns.patch" + # Fix typo in PKG_CHECK_MODULES, bug #298193 + epatch "${FILESDIR}/${P}-libgnomeui-typo.patch" + # Make it 64bit safe, bug 231986 + epatch "${FILESDIR}"/${P}-missing-includes.patch + + intltoolize --automake --copy --force || die "intltoolize failed" + eautoreconf +} |