summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe McCann <joem@gentoo.org>2005-11-27 00:42:31 +0000
committerJoe McCann <joem@gentoo.org>2005-11-27 00:42:31 +0000
commit6c57a159fa6eed0cdc0c5b880ffd28cc3b872f57 (patch)
tree36a1d4204465bef61a6b301ecf505261609dc316 /media-gfx/f-spot
parentUpdated script's patch to use java-config to get the right values for (diff)
downloadgentoo-2-6c57a159fa6eed0cdc0c5b880ffd28cc3b872f57.tar.gz
gentoo-2-6c57a159fa6eed0cdc0c5b880ffd28cc3b872f57.tar.bz2
gentoo-2-6c57a159fa6eed0cdc0c5b880ffd28cc3b872f57.zip
First commit of this personal photo manager written using mono for the gnome desktop
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-gfx/f-spot')
-rw-r--r--media-gfx/f-spot/ChangeLog12
-rw-r--r--media-gfx/f-spot/Manifest3
-rw-r--r--media-gfx/f-spot/f-spot-0.1.3.ebuild69
-rw-r--r--media-gfx/f-spot/files/digest-f-spot-0.1.31
-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/metadata.xml12
6 files changed, 165 insertions, 0 deletions
diff --git a/media-gfx/f-spot/ChangeLog b/media-gfx/f-spot/ChangeLog
new file mode 100644
index 000000000000..a283795a2cde
--- /dev/null
+++ b/media-gfx/f-spot/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-gfx/f-spot
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/f-spot/ChangeLog,v 1.1 2005/11/27 00:42:30 joem Exp $
+
+*f-spot-0.1.3 (27 Nov 2005)
+
+ 27 Nov 2005; Joe McCann <joem@gentoo.org>
+ +files/f-spot-0.1.3-mono-1.1.10.patch, +metadata.xml,
+ +f-spot-0.1.3.ebuild:
+ First commit of this personal photo manager written using mono for the gnome
+ desktop
+
diff --git a/media-gfx/f-spot/Manifest b/media-gfx/f-spot/Manifest
new file mode 100644
index 000000000000..f1453b33d519
--- /dev/null
+++ b/media-gfx/f-spot/Manifest
@@ -0,0 +1,3 @@
+MD5 31eea8e8b34f94520d340bef4dae2a22 f-spot-0.1.3.ebuild 1772
+MD5 c3b0376f4a53f207fb7db5273217a7ab files/digest-f-spot-0.1.3 65
+MD5 bfd52f4c8afee309b5daac526ebd0d1f files/f-spot-0.1.3-mono-1.1.10.patch 1955
diff --git a/media-gfx/f-spot/f-spot-0.1.3.ebuild b/media-gfx/f-spot/f-spot-0.1.3.ebuild
new file mode 100644
index 000000000000..50c2307cabb9
--- /dev/null
+++ b/media-gfx/f-spot/f-spot-0.1.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2005 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.1.3.ebuild,v 1.1 2005/11/27 00:42:30 joem Exp $
+
+inherit gnome2 mono eutils
+
+DESCRIPTION="Personal photo management application for the gnome desktop"
+HOMEPAGE="http://f-spot.org"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/mono-1.1.7
+ >=sys-apps/dbus-0.30
+ >=dev-libs/glib-2
+ >=x11-libs/gtk+-2.4
+ >=dev-dotnet/gtk-sharp-2.3
+ >=dev-dotnet/gtkhtml-sharp-2.3
+ >=dev-dotnet/gconf-sharp-2.3
+ >=dev-dotnet/glade-sharp-2.3
+ >=dev-dotnet/gnomevfs-sharp-2.3
+ >=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-2.8*"
+
+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}
+
+ # Gentoo uses older EXIF so name for now
+ sed -i -e 's/EXIF_SOVERSION=12/EXIF_SOVERSION=10/' configure.in
+
+ #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
+
+ #Fix for people using >=mono-1.1.10
+ epatch ${FILESDIR}/${P}-mono-1.1.10.patch
+
+ autoconf || die "autoconf failed"
+}
+
diff --git a/media-gfx/f-spot/files/digest-f-spot-0.1.3 b/media-gfx/f-spot/files/digest-f-spot-0.1.3
new file mode 100644
index 000000000000..a2bf11f6befc
--- /dev/null
+++ b/media-gfx/f-spot/files/digest-f-spot-0.1.3
@@ -0,0 +1 @@
+MD5 3c08f01ca24ae2847f11bf47db878c29 f-spot-0.1.3.tar.bz2 736561
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
new file mode 100644
index 000000000000..96b08bba89b2
--- /dev/null
+++ b/media-gfx/f-spot/files/f-spot-0.1.3-mono-1.1.10.patch
@@ -0,0 +1,68 @@
+===================================================================
+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/metadata.xml b/media-gfx/f-spot/metadata.xml
new file mode 100644
index 000000000000..34f8ffa3b90b
--- /dev/null
+++ b/media-gfx/f-spot/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>joem@gentoo.org</email>
+ <name>Joe McCann</name>
+ </maintainer>
+ <longdescription lang="en">
+ Personal photo manager for gnome 2 desktop that uses mono
+ </longdescription>
+</pkgmetadata>
+