Installing instructions for f-spot in FC4

From FedoraNEWS.ORG

Written by Anze Vidmar on 2005-10-25

Table of contents

What is f-spot

F-Spot (http://www.gnome.org/projects/f-spot/) is an application designed to provide personal photo management to the GNOME desktop. Features include import, export, printing and advanced sorting of digital images.

Image of f-spot in action

Image:F-spot3.jpg


Why this article

Because I see a lot of users having problem with dependencies, missing libraries, strange errors, etc...


Installation

We will use yum tool for installing f-spot. The most f-spot packages are in nrpms (http://www.nrpms.net/) repository. The other three packages are in fedora-extras repository.

First, enable fedora-extras.repo and install all the packages that are not available in the nrpms repository. fedora-extras.repo config file is in FC4 by default, so only thing to do is to enable it (look into the file /etc/yum.repos.d/fedora-extras.repo) and make sure you have the following line:

enabled=1

Next, install the following packages from fedora-extras repository:

[root@station5 ~]# yum install sqlite2 sqlite2-devel lcms

This are the three packages that are not in nrpms repository. After the three packages are installed, disable fedora-extras.repo, this is done by changing the line "enable=1" to "enable=0".

Ok, next, make sure you have /etc/yum.repos.d/nrpms-mono.repo repository file configured as follows

[nr-production]
name=Fedora Core $releasever - $basearch - nrpms.net/production
baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/production/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/production/mirrors-nrpms
enabled=1
gpgcheck=0

[nr-mono]
name=Fedora Core $releasever - $basearch - nrpms.net/mono
baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/mono/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/mono/mirrors-nrpms
enabled=1
gpgcheck=0

Make sure you have an extra empty line at the bottom of the file.

Next, it's time to actually install f-spot. This is done with the following command:

[root@station5 ~]# yum install f-spot gtk-sharp2

The list should be long, and should look like this (if you don't have mono (http://www.mono-project.com/Main_Page) packages installed yet):

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 f-spot                  i386       0.1.3-1.1.fc4.nr  nr-mono           640 k
Installing for dependencies:
 bytefx-data-mysql       i386       1.1.9.2-1.1.fc4.nr  nr-mono           151 k
 cairo                   i386       1.0.2-1.1.fc4.nr  nr-production     270 k
 glitz                   i386       0.4.3-1.1.fc4.nr  nr-production      80 k
 gtk-sharp               i386       1.0.10-2.1.fc4.nr  nr-mono           637 k
 gtkhtml3                i386       3.8.1-1.1.fc4.nr  nr-production     870 k
 ibm-data-db2            i386       1.1.9.2-1.1.fc4.nr  nr-mono            54 k
 libgc                   i386       1:6.4-1.1.fc4.nr  nr-mono            61 k
 libpixman               i386       0.1.5-1.1.fc4.nr  nr-production      49 k
 mono-basic              i386       1.1.9.2-1.1.fc4.nr  nr-mono           516 k
 mono-complete           i386       1.1.9.2-1.1.fc4.nr  nr-mono           2.9 k
 mono-core               i386       1.1.9.2-1.1.fc4.nr  nr-mono           9.8 M
 mono-data               i386       1.1.9.2-1.1.fc4.nr  nr-mono           1.7 M
 mono-data-firebird      i386       1.1.9.2-1.1.fc4.nr  nr-mono           548 k
 mono-data-oracle        i386       1.1.9.2-1.1.fc4.nr  nr-mono           189 k
 mono-data-postgresql    i386       1.1.9.2-1.1.fc4.nr  nr-mono           208 k
 mono-data-sqlite        i386       1.1.9.2-1.1.fc4.nr  nr-mono            51 k
 mono-data-sybase        i386       1.1.9.2-1.1.fc4.nr  nr-mono           177 k
 mono-extras             i386       1.1.9.2-1.1.fc4.nr  nr-mono           265 k
 mono-ikvm               i386       1.1.9.2-1.1.fc4.nr  nr-mono            13 k
 mono-locale-extras      i386       1.1.9.2-1.1.fc4.nr  nr-mono           941 k
 mono-web                i386       1.1.9.2-1.1.fc4.nr  nr-mono           2.2 M
 mono-winforms           i386       1.1.9.2-1.1.fc4.nr  nr-mono           2.6 M
Updating for dependencies:
 pango                   i386       1.10.1-1.1.fc4.nr  nr-production     288 k
 pango-devel             i386       1.10.1-1.1.fc4.nr  nr-production     217 k

Transaction Summary
=============================================================================
Install     23 Package(s)
Update       2 Package(s)
Remove       0 Package(s)
Total download size: 22 M
Is this ok [y/N]:

After saying "yes", f-spot should be installed on your system and is ready to run.

You can start the program by typing "f-spot" in the console, or you can find the Application shortcut under "Graphics --> Photo Viewer" as shown below

Image:f-spot2.JPG


Troubleshooting

The most common error is shown bellow

Image:f-spota.JPG

It means that gtk-sharp2 is missing. That's why you have to installed it separately (It's interesting that this package doesn't come as dependency to f-spot package)


Enjoy! :-)

Personal tools