Bug 254434 - Application fail to build without handbook ("wrong doc dir specified" error)
Summary: Application fail to build without handbook ("wrong doc dir specified" error)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Documentation (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-17 08:22 UTC by jms
Modified: 2022-12-24 11:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.0.0


Attachments

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