Bug 254434

Summary: Application fail to build without handbook ("wrong doc dir specified" error)
Product: [Applications] digikam Reporter: jms <jmsalvat>
Component: DocumentationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, jms.gentoo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 8.0.0

Description jms 2010-10-17 08:22:02 UTC
Version:           1.5.0 (using KDE 4.5.2) 
OS:                Linux

 * ERROR: media-plugins/kipi-plugins-1.5.0 failed:
 *   wrong doc dir specified
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 3869:  Called kde4-base_src_prepare
 *   environment, line 3004:  Called enable_selected_doc_linguas
 *   environment, line 1586:  Called die
 * The specific snippet of code:
 *           [[ -d "${handbookdir}" ]] || die 'wrong doc dir specified';
 * 



Reproducible: Didn't try

Steps to Reproduce:
compile kipiplugins-1.5.0 without handbook



Actual Results:  
can't compile and fail with wrong doc dir specified

Expected Results:  
compile

compiling kipiplugins-1.5.0 with "handbook" works fine
without  "handbook" won't compile.
I think this is not gentoo specifique but an error in
[[ -d "${handbookdir}" ]] || die 'wrong doc dir specified';

should  handbook be mandatory?

details(log ,environement) of this bug as well in http://bugs.gentoo.org/show_bug.cgi?id=341283
gentoo bug 341283
Comment 1 caulier.gilles 2010-10-17 14:55:32 UTC
Do you use offical tarball or a checkout from svn ?

Gilles
Comment 2 jms 2010-10-17 19:55:25 UTC
(In reply to comment #1)
> Do you use offical tarball or a checkout from svn ?
> 
> Gilles

from the official tarball
from the ebuild:
HOMEPAGE="http://www.kipi-plugins.org"
[[ ${PV} != *9999* ]] && SRC_URI="mirror://sourceforge/kipi/${P}.tar.bz2
	handbook? ( mirror://gentoo/${PN}-doc-${PV}.tar.bz2 )"

where
$PV = package version (here 1.5.0)
$P =package name and version (here Package kipi-plugins-1.5.0)

so we get official kipi-plugins-1.5.0.tar.bz2 from any sourceforge mirror

Jean-Michel
Comment 3 jms 2010-10-22 04:46:35 UTC
Please close this bug it was a gentoo bug  and I fact as been fixed the same day as it was released by the gentoo maintainer.

Jean-Michel
Comment 4 caulier.gilles 2022-12-24 11:25:28 UTC
The next generation of digiKam documentation based on Sphinx/RestructuredText
will be available online only.

An HTML version will be updated daily, including an EPUB version.

https://docs.digikam.org/en/index.html

Gilles Caulier