summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-02-01 16:24:48 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-02-01 16:24:48 +0000
commit736a4651bf64529e210d49b3de048e1a61a71f35 (patch)
tree678dc1b5a14706184b5f391a6f42f8806a3d07ae /media-gfx/f-spot
parentnew snapshot, bug #257217 (diff)
downloadgentoo-2-736a4651bf64529e210d49b3de048e1a61a71f35.tar.gz
gentoo-2-736a4651bf64529e210d49b3de048e1a61a71f35.tar.bz2
gentoo-2-736a4651bf64529e210d49b3de048e1a61a71f35.zip
Fix bugs 248630, 248633, 248634 and 252636. Respectively a QA warning, a crasher, a crasher and a sandbox violation with new sandbox. Thanks to Pacho Ramos <pacho@condmat1.ciencias.uniovi.es> for patches and QA report. Remove old versions. Also add dotnet as herd.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/f-spot')
-rw-r--r--media-gfx/f-spot/ChangeLog23
-rw-r--r--media-gfx/f-spot/f-spot-0.3.3.ebuild72
-rw-r--r--media-gfx/f-spot/f-spot-0.3.4.ebuild59
-rw-r--r--media-gfx/f-spot/f-spot-0.3.5-r1.ebuild59
-rw-r--r--media-gfx/f-spot/f-spot-0.3.5.ebuild59
-rw-r--r--media-gfx/f-spot/f-spot-0.4.0.ebuild59
-rw-r--r--media-gfx/f-spot/f-spot-0.4.1.ebuild39
-rw-r--r--media-gfx/f-spot/f-spot-0.4.2.ebuild57
-rw-r--r--media-gfx/f-spot/f-spot-0.5.0.3-r1.ebuild (renamed from media-gfx/f-spot/f-spot-0.5.0.3.ebuild)34
-rw-r--r--media-gfx/f-spot/files/f-spot-0.1.3-mono-1.1.10.patch68
-rw-r--r--media-gfx/f-spot/files/f-spot-0.3.3-dont_eat_cpu.patch35
-rw-r--r--media-gfx/f-spot/files/f-spot-0.3.5-picasa_fix.patch12
-rw-r--r--media-gfx/f-spot/files/f-spot-0.4.2-color-adjust.patch55
-rw-r--r--media-gfx/f-spot/files/f-spot-0.5.0.3-icon-size-crash-fix.patch48
-rw-r--r--media-gfx/f-spot/files/f-spot-0.5.0.3-no-image-in-collection-crash-fix.patch17
-rw-r--r--media-gfx/f-spot/metadata.xml2
16 files changed, 117 insertions, 581 deletions
diff --git a/media-gfx/f-spot/ChangeLog b/media-gfx/f-spot/ChangeLog
index 8868cc27e231..c30c8003a6b0 100644
--- a/media-gfx/f-spot/ChangeLog
+++ b/media-gfx/f-spot/ChangeLog
@@ -1,9 +1,24 @@
# ChangeLog for media-gfx/f-spot
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/ChangeLog,v 1.32 2009/01/05 17:21:58 loki_val Exp $
-
- 05 Jan 2009; Peter Alfredsen <loki_val@gentoo.org> f-spot-0.5.0.3.ebuild:
- Fix for new gtk-sharp-module eclass
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/ChangeLog,v 1.33 2009/02/01 16:24:47 loki_val Exp $
+
+*f-spot-0.5.0.3-r1 (01 Feb 2009)
+
+ 01 Feb 2009; Peter Alfredsen <loki_val@gentoo.org>
+ -files/f-spot-0.1.3-mono-1.1.10.patch,
+ -files/f-spot-0.3.3-dont_eat_cpu.patch,
+ -files/f-spot-0.3.5-picasa_fix.patch,
+ -files/f-spot-0.4.2-color-adjust.patch,
+ +files/f-spot-0.5.0.3-icon-size-crash-fix.patch,
+ +files/f-spot-0.5.0.3-no-image-in-collection-crash-fix.patch,
+ metadata.xml, -f-spot-0.3.3.ebuild, -f-spot-0.3.4.ebuild,
+ -f-spot-0.3.5.ebuild, -f-spot-0.3.5-r1.ebuild, -f-spot-0.4.0.ebuild,
+ -f-spot-0.4.1.ebuild, -f-spot-0.4.2.ebuild, -f-spot-0.5.0.3.ebuild,
+ +f-spot-0.5.0.3-r1.ebuild:
+ Fix bugs 248630, 248633, 248634 and 252636. Respectively a QA warning, a
+ crasher, a crasher and a sandbox violation with new sandbox. Thanks to
+ Pacho Ramos <pacho@condmat1.ciencias.uniovi.es> for patches and QA report.
+ Remove old versions. Also add dotnet as herd.
*f-spot-0.5.0.3 (23 Nov 2008)
diff --git a/media-gfx/f-spot/f-spot-0.3.3.ebuild b/media-gfx/f-spot/f-spot-0.3.3.ebuild
deleted file mode 100644
index 934808a0c58e..000000000000
--- a/media-gfx/f-spot/f-spot-0.3.3.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/f-spot-0.3.3.ebuild,v 1.3 2007/08/02 06:13:56 mr_bones_ Exp $
-
-inherit gnome2 mono eutils autotools
-
-DESCRIPTION="Personal photo management application for the gnome desktop"
-HOMEPAGE="http://f-spot.org"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/mono-1.1.10
- >=dev-libs/dbus-glib-0.71
- >=dev-libs/glib-2
- >=x11-libs/gtk+-2.6
- >=dev-dotnet/gtk-sharp-2.7
- >=dev-dotnet/gtkhtml-sharp-2.7
- >=dev-dotnet/gconf-sharp-2.7
- >=dev-dotnet/glade-sharp-2.7
- >=dev-dotnet/gnomevfs-sharp-2.7
- >=gnome-base/libgnome-2.2
- >=gnome-base/libgnomeui-2.2
- >=media-libs/libexif-0.6
- <media-libs/libexif-0.7.0
- >=media-libs/libgphoto2-2.1.4
- >=media-libs/lcms-1.14
- media-libs/jpeg
- >=dev-db/sqlite-3"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.29"
-
-USE_DESTDIR="1"
-DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
-
-#pkg_setup()
-#{
- #if ! built_with_use sys-apps/dbus mono ; then
- # echo
- # eerror "In order to compile f-spot, you need to have sys-apps/dbus emerged"
- # eerror "with 'mono' in your USE flags. Please add that flag, re-emerge"
- # eerror "dbus, and then emerge f-spot."
- # die "sys-apps/dbus is missing the .NET binding."
- #fi
-#}
-
-src_unpack()
-{
- unpack ${A}
- cd ${S}
-
- epatch ${FILESDIR}/${P}-dont_eat_cpu.patch
- # Gentoo used old so version until libexif-0.6.13-r2
- if has_version "<media-libs/libexif-0.6.13-r2";
- then
- sed -i -e 's/EXIF_SOVERSION=12/EXIF_SOVERSION=10/' configure.in
- fi
- # Multilib fix
- sed -i -e 's:prefix mono`/lib:libdir mono`:' \
- configure.in || die "sed failed"
-
- #older versions put headers in wrong spot, see #100269
- if has_version "<=media-libs/lcms-1.13-r1" || has_version "=media-libs/lcms-1.14"; then
- sed -i "s:lcms.h:lcms/lcms.h:" ${S}/configure.in || die "sed failed"
- sed -i "s:lcms.h:lcms/lcms.h:" ${S}/libeog/image-view.c || die "sed failed"
- fi
-
- eautoconf || die "autoconf failed"
-}
diff --git a/media-gfx/f-spot/f-spot-0.3.4.ebuild b/media-gfx/f-spot/f-spot-0.3.4.ebuild
deleted file mode 100644
index eaed02d19c29..000000000000
--- a/media-gfx/f-spot/f-spot-0.3.4.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/f-spot-0.3.4.ebuild,v 1.3 2007/08/02 06:13:56 mr_bones_ Exp $
-
-inherit gnome2 mono eutils autotools
-
-DESCRIPTION="Personal photo management application for the gnome desktop"
-HOMEPAGE="http://f-spot.org"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/mono-1.1.10
- >=dev-libs/dbus-glib-0.71
- >=dev-libs/glib-2
- >=x11-libs/gtk+-2.6
- >=dev-dotnet/gtk-sharp-2.7
- >=dev-dotnet/gtkhtml-sharp-2.7
- >=dev-dotnet/gconf-sharp-2.7
- >=dev-dotnet/glade-sharp-2.7
- >=dev-dotnet/gnomevfs-sharp-2.7
- >=gnome-base/libgnome-2.2
- >=gnome-base/libgnomeui-2.2
- >=media-libs/libexif-0.6
- <media-libs/libexif-0.7.0
- >=media-libs/libgphoto2-2.1.4
- >=media-libs/lcms-1.14
- media-libs/jpeg
- >=dev-db/sqlite-3"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.29"
-
-DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
-
-src_unpack()
-{
- unpack ${A}
- cd ${S}
-
- # Gentoo used old so version until libexif-0.6.13-r2
- if has_version "<media-libs/libexif-0.6.13-r2";
- then
- sed -i -e 's/EXIF_SOVERSION=12/EXIF_SOVERSION=10/' configure.in
- fi
- # Multilib fix
- sed -i -e 's:prefix mono`/lib:libdir mono`:' \
- configure.in || die "sed failed"
-
- #older versions put headers in wrong spot, see #100269
- if has_version "<=media-libs/lcms-1.13-r1" || has_version "=media-libs/lcms-1.14"; then
- sed -i "s:lcms.h:lcms/lcms.h:" ${S}/configure.in || die "sed failed"
- sed -i "s:lcms.h:lcms/lcms.h:" ${S}/libeog/image-view.c || die "sed failed"
- fi
-
- eautoconf || die "autoconf failed"
-}
diff --git a/media-gfx/f-spot/f-spot-0.3.5-r1.ebuild b/media-gfx/f-spot/f-spot-0.3.5-r1.ebuild
deleted file mode 100644
index 8ae33cbf64b6..000000000000
--- a/media-gfx/f-spot/f-spot-0.3.5-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/f-spot-0.3.5-r1.ebuild,v 1.3 2007/08/02 06:13:56 mr_bones_ Exp $
-
-inherit gnome2 mono eutils autotools
-
-DESCRIPTION="Personal photo management application for the gnome desktop"
-HOMEPAGE="http://f-spot.org"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/mono-1.1.10
- >=dev-libs/dbus-glib-0.71
- >=dev-libs/glib-2
- >=x11-libs/gtk+-2.6
- >=dev-dotnet/gtk-sharp-2.7
- >=dev-dotnet/gtkhtml-sharp-2.7
- >=dev-dotnet/gconf-sharp-2.7
- >=dev-dotnet/glade-sharp-2.7
- >=dev-dotnet/gnomevfs-sharp-2.7
- >=gnome-base/libgnome-2.2
- >=gnome-base/libgnomeui-2.2
- >=media-libs/libexif-0.6
- <media-libs/libexif-0.7.0
- >=media-libs/libgphoto2-2.1.4
- >=media-libs/lcms-1.14
- media-libs/jpeg
- >=dev-db/sqlite-3"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.29"
-
-DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
-
-src_unpack()
-{
- unpack ${A}
- cd ${S}
-
- # Gentoo used old so version until libexif-0.6.13-r2
- if has_version "<media-libs/libexif-0.6.13-r2";
- then
- sed -i -e 's/EXIF_SOVERSION=12/EXIF_SOVERSION=10/' configure.in
- fi
- # Multilib fix
- sed -i -e 's:prefix mono`/lib:libdir mono`:' \
- configure.in || die "sed failed"
-
- #older versions put headers in wrong spot, see #100269
- if has_version "<=media-libs/lcms-1.13-r1" || has_version "=media-libs/lcms-1.14"; then
- sed -i "s:lcms.h:lcms/lcms.h:" ${S}/configure.in || die "sed failed"
- sed -i "s:lcms.h:lcms/lcms.h:" ${S}/libeog/image-view.c || die "sed failed"
- fi
- epatch ${FILESDIR}/${P}-picasa_fix.patch
- eautoconf || die "autoconf failed"
-}
diff --git a/media-gfx/f-spot/f-spot-0.3.5.ebuild b/media-gfx/f-spot/f-spot-0.3.5.ebuild
deleted file mode 100644
index 49df86a8bd87..000000000000
--- a/media-gfx/f-spot/f-spot-0.3.5.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/f-spot-0.3.5.ebuild,v 1.3 2007/08/02 06:13:56 mr_bones_ Exp $
-
-inherit gnome2 mono eutils autotools
-
-DESCRIPTION="Personal photo management application for the gnome desktop"
-HOMEPAGE="http://f-spot.org"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/mono-1.1.10
- >=dev-libs/dbus-glib-0.71
- >=dev-libs/glib-2
- >=x11-libs/gtk+-2.6
- >=dev-dotnet/gtk-sharp-2.7
- >=dev-dotnet/gtkhtml-sharp-2.7
- >=dev-dotnet/gconf-sharp-2.7
- >=dev-dotnet/glade-sharp-2.7
- >=dev-dotnet/gnomevfs-sharp-2.7
- >=gnome-base/libgnome-2.2
- >=gnome-base/libgnomeui-2.2
- >=media-libs/libexif-0.6
- <media-libs/libexif-0.7.0
- >=media-libs/libgphoto2-2.1.4
- >=media-libs/lcms-1.14
- media-libs/jpeg
- >=dev-db/sqlite-3"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.29"
-
-DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
-
-src_unpack()
-{
- unpack ${A}
- cd ${S}
-
- # Gentoo used old so version until libexif-0.6.13-r2
- if has_version "<media-libs/libexif-0.6.13-r2";
- then
- sed -i -e 's/EXIF_SOVERSION=12/EXIF_SOVERSION=10/' configure.in
- fi
- # Multilib fix
- sed -i -e 's:prefix mono`/lib:libdir mono`:' \
- configure.in || die "sed failed"
-
- #older versions put headers in wrong spot, see #100269
- if has_version "<=media-libs/lcms-1.13-r1" || has_version "=media-libs/lcms-1.14"; then
- sed -i "s:lcms.h:lcms/lcms.h:" ${S}/configure.in || die "sed failed"
- sed -i "s:lcms.h:lcms/lcms.h:" ${S}/libeog/image-view.c || die "sed failed"
- fi
-
- eautoconf || die "autoconf failed"
-}
diff --git a/media-gfx/f-spot/f-spot-0.4.0.ebuild b/media-gfx/f-spot/f-spot-0.4.0.ebuild
deleted file mode 100644
index 1f54a3ce36c3..000000000000
--- a/media-gfx/f-spot/f-spot-0.4.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/f-spot-0.4.0.ebuild,v 1.1 2007/08/23 00:39:06 metalgod Exp $
-
-inherit gnome2 mono eutils autotools
-
-DESCRIPTION="Personal photo management application for the gnome desktop"
-HOMEPAGE="http://f-spot.org"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/mono-1.1.10
- >=dev-libs/dbus-glib-0.71
- >=dev-libs/glib-2
- >=x11-libs/gtk+-2.6
- >=dev-dotnet/gtk-sharp-2.7
- >=dev-dotnet/gtkhtml-sharp-2.7
- >=dev-dotnet/gconf-sharp-2.7
- >=dev-dotnet/glade-sharp-2.7
- >=dev-dotnet/gnomevfs-sharp-2.7
- >=gnome-base/libgnome-2.2
- >=gnome-base/libgnomeui-2.2
- >=media-libs/libexif-0.6
- <media-libs/libexif-0.7.0
- >=media-libs/libgphoto2-2.1.4
- >=media-libs/lcms-1.14
- media-libs/jpeg
- >=dev-db/sqlite-3"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.29"
-
-DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
-
-src_unpack()
-{
- unpack ${A}
- cd ${S}
-
- # Gentoo used old so version until libexif-0.6.13-r2
- if has_version "<media-libs/libexif-0.6.13-r2";
- then
- sed -i -e 's/EXIF_SOVERSION=12/EXIF_SOVERSION=10/' configure.in
- fi
- # Multilib fix
- sed -i -e 's:prefix mono`/lib:libdir mono`:' \
- configure.in || die "sed failed"
-
- #older versions put headers in wrong spot, see #100269
- if has_version "<=media-libs/lcms-1.13-r1" || has_version "=media-libs/lcms-1.14"; then
- sed -i "s:lcms.h:lcms/lcms.h:" ${S}/configure.in || die "sed failed"
- sed -i "s:lcms.h:lcms/lcms.h:" ${S}/libeog/image-view.c || die "sed failed"
- fi
-
- eautoconf || die "autoconf failed"
-}
diff --git a/media-gfx/f-spot/f-spot-0.4.1.ebuild b/media-gfx/f-spot/f-spot-0.4.1.ebuild
deleted file mode 100644
index fe629e658c9d..000000000000
--- a/media-gfx/f-spot/f-spot-0.4.1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/f-spot-0.4.1.ebuild,v 1.2 2008/01/04 14:47:42 calchan Exp $
-
-inherit gnome2 mono
-
-DESCRIPTION="Personal photo management application for the gnome desktop"
-HOMEPAGE="http://f-spot.org"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/mono-1.1.10
- >=dev-libs/dbus-glib-0.71
- >=dev-libs/glib-2
- >=x11-libs/gtk+-2.6
- >=dev-dotnet/gtk-sharp-2.7
- >=dev-dotnet/gtkhtml-sharp-2.7
- >=dev-dotnet/gconf-sharp-2.7
- >=dev-dotnet/glade-sharp-2.7
- >=dev-dotnet/gnomevfs-sharp-2.7
- >=gnome-base/libgnome-2.2
- >=gnome-base/libgnomeui-2.2
- >=media-libs/libexif-0.6.16
- <media-libs/libexif-0.7.0
- >=media-libs/libgphoto2-2.1.4
- >=media-libs/lcms-1.15
- media-libs/jpeg
- >=dev-db/sqlite-3"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.29"
-
-DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
-
-# See bug #203566
-RESTRICT="test"
diff --git a/media-gfx/f-spot/f-spot-0.4.2.ebuild b/media-gfx/f-spot/f-spot-0.4.2.ebuild
deleted file mode 100644
index 9e4d926405aa..000000000000
--- a/media-gfx/f-spot/f-spot-0.4.2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/f-spot-0.4.2.ebuild,v 1.3 2008/06/29 10:21:06 tove Exp $
-
-inherit gnome2 mono autotools
-
-DESCRIPTION="Personal photo management application for the gnome desktop"
-HOMEPAGE="http://f-spot.org"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/mono-1.1.10
- >=dev-libs/dbus-glib-0.71
- >=dev-libs/glib-2
- >=x11-libs/gtk+-2.6
- >=dev-dotnet/gtk-sharp-2.8
- >=dev-dotnet/dbus-sharp-0.4.2
- >=dev-dotnet/dbus-glib-sharp-0.3.0
- >=dev-dotnet/gtkhtml-sharp-2.7
- >=dev-dotnet/gconf-sharp-2.7
- >=dev-dotnet/glade-sharp-2.7
- >=dev-dotnet/gnomevfs-sharp-2.7
- >=gnome-base/libgnome-2.2
- >=gnome-base/libgnomeui-2.2
- >=media-libs/libexif-0.6.16
- <media-libs/libexif-0.7.0
- >=media-libs/libgphoto2-2.1.4
- >=media-libs/lcms-1.15
- media-libs/jpeg
- >=dev-db/sqlite-3"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.29"
-
-DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-# See bug #203566
-RESTRICT="test"
-
-src_unpack() {
- gnome2_src_unpack
- cd "${S}"
-
- # Fix http://bugzilla.gnome.org/show_bug.cgi?id=517193
- epatch "${FILESDIR}"/${P}-color-adjust.patch
-
- # Disable Beagle
- sed -i -e '/PKG_CHECK_MODULES.*BEAGLE/,/AC_SUBST.*LINK_BEAGLE/ d' configure.in || die "sed failed"
-
- eautoreconf
- intltoolize --force || die "intltoolize --force failed"
-}
diff --git a/media-gfx/f-spot/f-spot-0.5.0.3.ebuild b/media-gfx/f-spot/f-spot-0.5.0.3-r1.ebuild
index 9daf793f93fe..613bb5cd4ed3 100644
--- a/media-gfx/f-spot/f-spot-0.5.0.3.ebuild
+++ b/media-gfx/f-spot/f-spot-0.5.0.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/f-spot-0.5.0.3.ebuild,v 1.2 2009/01/05 17:21:58 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/f-spot-0.5.0.3-r1.ebuild,v 1.1 2009/02/01 16:24:47 loki_val Exp $
EAPI=2
@@ -44,6 +44,36 @@ MAKEOPTS="${MAKEOPTS} -j1"
# See bug #203566
RESTRICT="test"
+src_unpack() {
+ default
+}
+
+src_prepare() {
+ # Prevent scrollkeeper access violations
+ gnome2_omf_fix
+
+ # Run libtoolize
+ elibtoolize ${ELTCONF}
+
+
+ # http://bugs.gentoo.org/show_bug.cgi?id=252636
+ # http://bugzilla.gnome.org/565733
+ sed -i -e '/rm \-f $(pl/d' \
+ $(
+ grep -lr --include='Makefile.in' \
+ 'rm -f \$(pl' "${S}"/extensions/Exporters
+ ) || die "sed failed"
+}
+
src_configure() {
- :
+ gnome2_src_configure --disable-static
+}
+
+src_compile () {
+ default
+}
+
+src_install() {
+ gnome2_src_install
+ find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
}
diff --git a/media-gfx/f-spot/files/f-spot-0.1.3-mono-1.1.10.patch b/media-gfx/f-spot/files/f-spot-0.1.3-mono-1.1.10.patch
deleted file mode 100644
index 96b08bba89b2..000000000000
--- a/media-gfx/f-spot/files/f-spot-0.1.3-mono-1.1.10.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-===================================================================
-RCS file: /cvs/gnome/f-spot/src/BitConverter.cs,v
-retrieving revision 1.3
-retrieving revision 1.4
-diff -u -r1.3 -r1.4
---- src/BitConverter.cs 2005/10/13 19:57:22 1.3
-+++ src/BitConverter.cs 2005/10/25 17:54:27 1.4
-@@ -1,3 +1,6 @@
-+using System;
-+using System.Runtime.InteropServices;
-+
- namespace FSpot {
- public class BitConverter {
- public static uint Swap (uint val, bool little)
-@@ -66,6 +69,17 @@
- return Swap (val, little);
- }
-
-+ public static float ToSingle (byte [] data, int position, bool little)
-+ {
-+ float retval;
-+ unsafe {
-+ uint * ptr;
-+ ptr = (uint *)&retval;
-+ *ptr = ToUInt32 (data, position, little);
-+ }
-+ return retval;
-+ }
-+
- public static int ToInt32 (byte [] data, int position, bool little)
- {
- return unchecked ((int) ToUInt32 (data, position, little));
-===================================================================
-RCS file: /cvs/gnome/f-spot/src/Ciff.cs,v
-retrieving revision 1.8
-retrieving revision 1.9
-diff -u -r1.8 -r1.9
---- src/Ciff.cs 2005/09/25 08:37:34 1.8
-+++ src/Ciff.cs 2005/10/25 17:54:27 1.9
-@@ -1,3 +1,5 @@
-+using System;
-+
- namespace FSpot.Ciff {
- public enum Tag {
- // Byte valuesad
-@@ -83,6 +85,8 @@
- ExifInformation = 0x300b
- }
-
-+
-+
- public struct ImageSpec {
- public uint ImageWidth; // Number of horizontal pixels
- public uint ImageHeight; // Number of vertical pixels
-@@ -96,10 +100,8 @@
- {
- ImageWidth = BitConverter.ToUInt32 (data, 0, little);
- ImageHeight = BitConverter.ToUInt32 (data, 4, little);
-- unsafe {
-- float *p = &PixelAspectRatio;
-- *((uint *)p) = BitConverter.ToUInt32 (data, 8, little);
-- }
-+
-+ PixelAspectRatio = BitConverter.ToSingle (data, 8, little);
- RotationAngle = BitConverter.ToInt32 (data, 12, little);
- ComponentBitDepth = BitConverter.ToUInt32 (data, 16, little);
- ColorBitDepth = BitConverter.ToUInt32 (data, 20, little);
-
diff --git a/media-gfx/f-spot/files/f-spot-0.3.3-dont_eat_cpu.patch b/media-gfx/f-spot/files/f-spot-0.3.3-dont_eat_cpu.patch
deleted file mode 100644
index b2156b205580..000000000000
--- a/media-gfx/f-spot/files/f-spot-0.3.3-dont_eat_cpu.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- src/ThreadProgressDialog.cs 2007/02/01 19:28:01 2906
-+++ src/ThreadProgressDialog.cs 2007/02/11 19:23:05 2946
-@@ -132,9 +132,11 @@
- }
- }
-
-+ private bool retry_skip;
- private bool RetrySkipVisible {
- set {
-- retry_button.Visible = skip_button.Visible = value;
-+ retry_skip = value;
-+ delay.Start ();
- }
- }
-
-@@ -149,7 +151,7 @@
-
- RetrySkipVisible = false;
-
-- return error_response == Gtk.ResponseType.Yes ? true : false;
-+ return (error_response == Gtk.ResponseType.Yes);
- }
-
- private void HandleResponse (object obj, Gtk.ResponseArgs args) {
-@@ -162,8 +164,9 @@
- progress_bar.Text = progress_text;
- progress_bar.Fraction = System.Math.Min (1.0, System.Math.Max (0.0, fraction));
- button.Label = button_label;
-+ retry_button.Visible = skip_button.Visible = retry_skip;
-
-- return true;
-+ return false;
- }
-
- private void HandleDestroy (object sender, EventArgs args)
diff --git a/media-gfx/f-spot/files/f-spot-0.3.5-picasa_fix.patch b/media-gfx/f-spot/files/f-spot-0.3.5-picasa_fix.patch
deleted file mode 100644
index 1033c139b012..000000000000
--- a/media-gfx/f-spot/files/f-spot-0.3.5-picasa_fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- google-sharp/PicasaWeb.cs 2007-01-09 10:07:29.000000000 +0800
-+++ google-sharp/PicasaWeb.cs 2007-05-28 20:20:48.000000000 +0800
-@@ -260,7 +260,8 @@ namespace Mono.Google.Picasa {
- XmlNamespaceManager nsmgr = new XmlNamespaceManager (doc.NameTable);
- nsmgr.AddNamespace ("photo", "http://www.pheed.com/pheed/");
- nsmgr.AddNamespace ("media", "http://search.yahoo.com/mrss/");
-- nsmgr.AddNamespace ("gphoto", "http://picasaweb.google.com/lh/picasaweb");
-+ nsmgr.AddNamespace ("gphoto", "http://schemas.google.com/photos/2007");
-+ nsmgr.AddNamespace ("batch", "http://schemas.google.com/gdata/batch");
- node = channel.SelectSingleNode ("gphoto:user", nsmgr);
- user = node.InnerText;
- node = channel.SelectSingleNode ("gphoto:nickname", nsmgr);
diff --git a/media-gfx/f-spot/files/f-spot-0.4.2-color-adjust.patch b/media-gfx/f-spot/files/f-spot-0.4.2-color-adjust.patch
deleted file mode 100644
index d0550e874e0e..000000000000
--- a/media-gfx/f-spot/files/f-spot-0.4.2-color-adjust.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-Index: src/Makefile.am
-===================================================================
---- src/Makefile.am (revision 3689)
-+++ src/Makefile.am (working copy)
-@@ -385,7 +385,7 @@
- $(F_SPOT_DISTRESOURCES) \
- f-spot.exe.config.in \
- f-spot.in \
-- Cms.dll.config
-+ Cms.dll.config.in
-
- CLEANFILES = \
- f-spot.exe.config \
-@@ -399,7 +399,8 @@
- FSpot.Query.dll \
- FSpot.Query.dll.mdb \
- FSpot.Core.dll.mdb \
-- FSpot.Core.dll
-+ FSpot.Core.dll \
-+ Cms.dll.config
-
-
- DISTCLEANFILES = \
-Index: src/Cms.dll.config
-===================================================================
---- src/Cms.dll.config (revision 3689)
-+++ src/Cms.dll.config (working copy)
-@@ -1,4 +0,0 @@
--<configuration>
-- <dllmap dll="liblcms-1.0.0.dll" target="liblcms.so.1"/>
--</configuration>
--
-Index: src/Cms.dll.config.in
-===================================================================
---- src/Cms.dll.config.in (revision 0)
-+++ src/Cms.dll.config.in (revision 0)
-@@ -0,0 +1,5 @@
-+<configuration>
-+ <dllmap dll="liblcms-1.0.0.dll" target="liblcms.so.1"/>
-+ <dllmap dll="libfspot" target="@expanded_libdir@/f-spot/libfspot.so.0"/>
-+</configuration>
-+
-Index: configure.in
-===================================================================
---- configure.in (revision 3689)
-+++ configure.in (working copy)
-@@ -292,6 +292,7 @@
- src/Core/Defines.cs
- src/AssemblyInfo.cs
- src/f-spot.exe.config
-+src/Cms.dll.config
- src/Makefile
- glitz-sharp/Makefile
- glitz-sharp/src/Makefile
-
diff --git a/media-gfx/f-spot/files/f-spot-0.5.0.3-icon-size-crash-fix.patch b/media-gfx/f-spot/files/f-spot-0.5.0.3-icon-size-crash-fix.patch
new file mode 100644
index 000000000000..6bdf3610d7e8
--- /dev/null
+++ b/media-gfx/f-spot/files/f-spot-0.5.0.3-icon-size-crash-fix.patch
@@ -0,0 +1,48 @@
+http://bugs.gentoo.org/show_bug.cgi?id=248634
+http://bugzilla.gnome.org/show_bug.cgi?id=557793
+
+
+From efe65ac1c3ee8f3d01afaa57425926d9390b747a Mon Sep 17 00:00:00 2001
+From: sdelcroix <sdelcroix@772769d8-d925-0410-89eb-a6ffa0d40526>
+Date: Wed, 5 Nov 2008 07:59:27 +0000
+Subject: [PATCH] 2008-11-05 Stephane Delcroix <sdelcroix@novell.com>
+
+ * src/TagSelectionWidget.cs:
+ * src/Core/Tag.cs: fix for bgo 557793
+
+git-svn-id: svn+ssh://svn.gnome.org/svn/f-spot/branches/FSPOT_0_5_0_STABLE@4572 772769d8-d925-0410-89eb-a6ffa0d40526
+---
+ src/Core/Tag.cs | 3 +++
+ src/TagSelectionWidget.cs | 2 +-
+ 3 files changed, 9 insertions(+), 1 deletions(-)
+
+diff --git a/src/Core/Tag.cs b/src/Core/Tag.cs
+index 42b671a..75b2d3d 100644
+--- src/Core/Tag.cs
++++ src/Core/Tag.cs
+@@ -108,6 +108,9 @@ namespace FSpot
+ if (Math.Max (cached_icon.Width, cached_icon.Height) <= (int) tag_icon_size)
+ return cached_icon;
+ }
++ if (icon == null)
++ return null;
++
+ if (Math.Max (icon.Width, icon.Height) >= (int) tag_icon_size) { //Don't upscale
+ if (cached_icon != null)
+ cached_icon.Dispose ();
+diff --git a/src/TagSelectionWidget.cs b/src/TagSelectionWidget.cs
+index 515dc2a..3516c58 100644
+--- src/TagSelectionWidget.cs
++++ src/TagSelectionWidget.cs
+@@ -192,7 +192,7 @@ public class TagSelectionWidget : FSpot.Widgets.SaneTreeView {
+ SetBackground (renderer, tag);
+
+ // FIXME I can't set the Pixbuf to null, not sure if it's a GTK# bug...
+- if (tag.Icon != null) {
++ if (tag.SizedIcon != null) {
+ if (FSpot.ColorManagement.IsEnabled) {
+ //FIXME
+ Gdk.Pixbuf temp = tag.SizedIcon.Copy();
+--
+1.6.0.2
+
diff --git a/media-gfx/f-spot/files/f-spot-0.5.0.3-no-image-in-collection-crash-fix.patch b/media-gfx/f-spot/files/f-spot-0.5.0.3-no-image-in-collection-crash-fix.patch
new file mode 100644
index 000000000000..bd6cdb78ad04
--- /dev/null
+++ b/media-gfx/f-spot/files/f-spot-0.5.0.3-no-image-in-collection-crash-fix.patch
@@ -0,0 +1,17 @@
+http://bugs.gentoo.org/show_bug.cgi?id=248633
+http://bugzilla.gnome.org/show_bug.cgi?id=556395
+
+Index: src/Widgets/Filmstrip.cs
+===================================================================
+--- src/Widgets/Filmstrip.cs (revisione 4485)
++++ src/Widgets/Filmstrip.cs (copia locale)
+@@ -372,6 +372,9 @@
+ if (evnt.Window != GdkWindow)
+ return true;
+
++ if (selection.Collection.Count == 0)
++ return true;
++
+ if (extendable && Allocation.Width >= BackgroundPixbuf.Width + (2 * x_offset) + BackgroundTile.Width)
+ BackgroundPixbuf = null;
+
diff --git a/media-gfx/f-spot/metadata.xml b/media-gfx/f-spot/metadata.xml
index 95e95a4da7bf..410a76a7c043 100644
--- a/media-gfx/f-spot/metadata.xml
+++ b/media-gfx/f-spot/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>no-herd</herd>
+ <herd>dotnet</herd>
<maintainer>
<email>calchan@gentoo.org</email>
<name>Denis Dupeyron</name>