Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 271629

Summary: media-gfx/digikam-0.9.5-r1: Fails to emerge with USE=doc
Product: Gentoo Linux Reporter: Matthias Schwarzott <zzam>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: move epatch to a safe place

Description Matthias Schwarzott gentoo-dev 2009-05-29 07:58:32 UTC
media-gfx/digikam-0.9.5-r1 fails to emerge with USE=doc.

>>> Unpacking digikam-0.9.5.tar.bz2 to /var/tmp/portage/media-gfx/digikam-0.9.5-r1/work
 * Preparing to build translations for: en de en_GB
 * Preparing to build digiKam documentation for: en de
 * Preparing to build ShowFoto documentation for: en de
 * Applying 0.9.5-cam_download.patch ...

 * Failed Patch: 0.9.5-cam_download.patch !
 *  ( /usr/portage/media-gfx/digikam/files/0.9.5-cam_download.patch )

This is due to the fact, that epatch is after the "if use doc" part, that changes current directory, so if doc is enabled, the current directory is no longer $S when the code reaches epatch.

A fix is attached. It moves the epatch before "if use doc".
Comment 1 Matthias Schwarzott gentoo-dev 2009-05-29 07:58:54 UTC
Created attachment 192808 [details, diff]
move epatch to a safe place
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-05-29 08:56:49 UTC
Hi,
thx for the patch. Applied in main tree.
Just for note, you can apply patches for kde3 yourself, specialy when you are fixing bugreport not doing feature request.
Only thing one has to do is folow the code:
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=blob;f=Documentation/CODE

Cheers
Tomas