Search:  
Gentoo Wiki

Lphoto

Contents

Introduction

Lphoto is a photo program created by Linspire which behaves and functions very similarily to Apple's iPhoto, and former iPhoto users may really like it. This HOWTO will show you how to install it on Gentoo Linux.

Dependencies

Some of the things Lphoto needs to work are not (yet) in Portage, so you'll need to install them into a Portage overlay. If you don't know how to do this, see HOWTO Installing 3rd Party Ebuilds. This HOWTO assumes you have an overlay setup at /usr/local/portage.

media-video/kslidesavergl

Lphoto uses kslidesavergl to display a slideshow as a screensaver using OpenGL features

$ su
Password: (type your root password)
# mkdir -p /usr/local/portage/media-video/kslidesavergl
# wget "http://bugs.gentoo.org/attachment.cgi?id=64318" -O /usr/local/portage/media-video/kslidesavergl/kslidesavergl-0.7_0.8.ebuild
(wget will download this file)
# ebuild kslidesavergl-0.7_0.8.ebuild fetch
(Portage will download kslidesavergl's source)
# ebuild kslidesaver-0.7_0.8.ebuild digest
(Portage will compute the file verification digests)
# echo "media-video/kslidesavergl ~x86" >> /etc/portage/package.keywords
(the previous command unmasks this package)
# emerge -pv kslidesavergl
(if you're happy with what's going to be installed and the flags, continue)
# emerge kslidesavergl

kslidesavergl should then emerge, and you can be on your merry way.

Installing Lphoto

Now you have all of the dependencies installed. You can install Lphoto now. If you have KDE 3.0 to KDE 3.3, please continue with these instructions. If you are on KDE 3.4+, see the specialized KDE 3.4+ instructions.

Anyway, here you go:

$ su
Password: (type your password)
# mkdir -p /usr/local/portage/media-gfx/lphoto
# wget "http://bugs.gentoo.org/attachment.cgi?id=81614" -O /usr/local/portage/media-gfx/lphoto/lphoto-1.0.68.ebuild
# cd /usr/local/portage/media-gfx/lphoto
# ebuild lsongs-1.0.68.ebuild fetch
# ebuild lsongs-1.0.68.ebuild digest
# echo "media-gfx/lphoto ~x86" >> /etc/portage/package.keywords
# emerge -pv lphoto
# emerge lphoto

Installing Lphoto on KDE 3.4+

Lphoto requires PyKDE. The latest release of PyKDE does not support KDE 3.4. However, the latest development snapshot DOES. Which is good news, because I've made an ebuild for it :). Here's how to install it:

$ su
Password: (type your password)
# mkdir -p /usr/local/portage/dev-python/pykde
# wget "http://bugs.gentoo.org/attachment.cgi?id=81616" -O /usr/local/portage/dev-python/pykde/pykde-3.20060122.ebuild
# cd /usr/local/portage/dev-python/pykde
# ebuild pykde-3.20060122.ebuild fetch
# ebuild pykde-3.20060122.ebuild digest
(NOTE: Do not add anything to /etc/portage/package.keywords involving this package! This is VERY important! Portage will not offer an upgrade to this package ever again if you do!)
# ACCEPT_KEYWORDS="~x86" emerge -pv pykde
# ACCEPT_KEYWORDS="~x86" emerge pykde

Then, perform the installation steps for Lphoto normally (see above).

Retrieved from "http://www.gentoo-wiki.info/Lphoto"

Last modified: Sun, 07 Sep 2008 04:08:00 +0000 Hits: 1,400