Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98470 - kompare and tidy, required for full functionality of quanta not built when emerging quanta
Summary: kompare and tidy, required for full functionality of quanta not built when em...
Status: RESOLVED INVALID
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:
Depends on:
Blocks:
 
Reported: 2005-07-09 08:16 UTC by Pat Callahan
Modified: 2005-07-09 15:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pat Callahan 2005-07-09 08:16:23 UTC
The ebuild for quanta has the following dependencies:


Reproducible: Always
Steps to Reproduce:
1. emerge startkde
2. emerge quanta
3. start quanta

Actual Results:  
A dialog box appears:

Some applications required for full functionality are missing:

- Tidy [http://tidy.sourceforge.net] - HTML syntax checking will not be available.

- Kompare [http://bruggie.dnsalias.org/kompare] - comparing of files by content
will not be available.

You may download the applications from the specified locations.on management
error: Authentication Rejected, reason : None of the authentication protocols
specified are supported and host-based authentication failed



Expected Results:  
ebuild should have htmltidy and kompare as pre-requisites

Note that "tidy" is listed in IUSE
and again as tidy? ( app-text/htmltidy)"  in the dependencies section of the ebuild.

workaround:  Emerge the following packages in any order:

emerge htmltidy
emerge kompare
emerge quanta

$cat quanta-3.4.1.ebuild
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/quanta/quanta-3.4.1.ebuild,v 1.9 200
5/07/08 04:58:25 weeve Exp $
KMNAME=kdewebdev
MAXKDEVER=$PV
KM_DEPRANGE="$PV $MAXKDEVER"
inherit kde-meta eutils

DESCRIPTION="KDE: Quanta Plus Web Development Environment"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE="doc tidy"
DEPEND="doc? ( app-doc/quanta-docs )
        dev-libs/libxml2"
RDEPEND="$DEPEND
$(deprange $PV $MAXKDEVER kde-base/kfilereplace)
$(deprange $PV $MAXKDEVER kde-base/kimagemapeditor)
$(deprange $PV $MAXKDEVER kde-base/klinkstatus)
$(deprange $PV $MAXKDEVER kde-base/kommander)
$(deprange $PV $MAXKDEVER kde-base/kxsldbg)
tidy? ( app-text/htmltidy )"

KMCOMPILEONLY=lib

# TODO: check why this wasn't needed back in the monolithic ebuild
src_compile () {
        myconf="--with-extra-includes=$(xml2-config --cflags | sed -e 's:^-I::')
"

        export LIBXML_LIBS="`xml2-config --libs`"
        export LIBXSLT_LIBS="`xslt-config --libs`"
        kde-meta_src_compile
}
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-09 09:08:13 UTC
USE="tidy" emerge quanta
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-07-09 15:22:09 UTC
In fact tidy and kompare are not strict requirements, but recommended 
additions, that the user is free to install after seeing the message.  
 
So I think it is best to not add them as dependencies.