Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271629 - media-gfx/digikam-0.9.5-r1: Fails to emerge with USE=doc
Summary: media-gfx/digikam-0.9.5-r1: Fails to emerge with USE=doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-05-29 07:58 UTC by Matthias Schwarzott
Modified: 2009-05-29 08:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
move epatch to a safe place (digikam-0.9.5-r1-fix-ebuild.diff,984 bytes, patch)
2009-05-29 07:58 UTC, Matthias Schwarzott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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