Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129781 - kpdf-3.5.2 and kdeprint dependence.
Summary: kpdf-3.5.2 and kdeprint dependence.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-13 02:56 UTC by Sebastian Zebrowski
Modified: 2009-08-11 17:00 UTC (History)
3 users (show)

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 Sebastian Zebrowski 2006-04-13 02:56:50 UTC
Hi,
I don't have cups in useflags and I didn't compiled kdelibs with cups but kpdf wants to emerge kdeprint for me due the dependencies.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-13 03:01:24 UTC
So what? It depends on it, no cups flag needed.
Comment 2 Sebastian Zebrowski 2006-04-13 03:07:43 UTC
So I don't want kdeprint because I don't have any printers connected to my getnoo box.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-13 03:54:10 UTC
Well, so use xpdf or acroread instead.
Comment 4 Sebastian Zebrowski 2006-04-13 04:34:11 UTC
Huh? Are you serious? I don't want other viwers, I only want kpdf without printer support. Early version of this ebuild didn't required kdeprint and I build kpdf without it and it works well. But today when I sync'ed portage emerge wants kdeprint and it's funny because I don't have any printer flags, and also kpdf don't have any printer support flags.
Comment 5 Harald van Dijk (RETIRED) gentoo-dev 2006-04-13 07:38:24 UTC
Bug #115615: kpdf doesn't work completely if kghostview is not installed. So instead of adding a dep on kghostview to kpdf, a dep on kghostview is added to kdeprint (which doesn't seem to need kghostview), and kdeprint is then added as a dep to kpdf (which apparently doesn't need kdeprint)? This sure looks wrong to me. If there's some reason kpdf does need kdeprint, there is no mention of it in the bug report, in the changelog, or in the ebuild. Additionally, the provided solution was clearly intended to not add additional deps for users with USE="-kde". There is an additional dep now.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-04-13 08:05:34 UTC
(In reply to comment #5)
> If there's some reason kpdf does need kdeprint, there is no mention of
> it in the bug report, in the changelog, or in the ebuild. Additionally, the
> provided solution was clearly intended to not add additional deps for users
> with USE="-kde". There is an additional dep now.

kghostview-3.5.2.ebuild

<snip>
# /Should/ also rdepend on kdeprint. Since kdeprint rdepends on kghostview for previews, we'd had a conflict, so we can't.
RDEPEND="virtual/ghostscript"
KMEXTRA="kfile-plugins/ps"
</snip>

So, with the change you are suggesting, you'll get exactly the same result with the kdeprint dependency moved to kghostview instead... How's that a solution to anything?

> Additionally, the provided solution was clearly intended to not add >additional deps for users with USE="-kde". There is an additional dep now.

Well really, as said above - if don't want KDE stuff, then don't emerge kpdf but use one of the non-KDE alternatives... kinda obvious.
Comment 7 Harald van Dijk (RETIRED) gentoo-dev 2006-04-13 08:28:04 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > If there's some reason kpdf does need kdeprint, there is no mention of
> > it in the bug report, in the changelog, or in the ebuild. Additionally, the
> > provided solution was clearly intended to not add additional deps for users
> > with USE="-kde". There is an additional dep now.
> 
> kghostview-3.5.2.ebuild
> 
> <snip>
> # /Should/ also rdepend on kdeprint. Since kdeprint rdepends on kghostview for
> previews, we'd had a conflict, so we can't.
> RDEPEND="virtual/ghostscript"
> KMEXTRA="kfile-plugins/ps"
> </snip>
> 
> So, with the change you are suggesting, you'll get exactly the same result with
> the kdeprint dependency moved to kghostview instead... How's that a solution to
> anything?

That comment was added at the same time as the dep on kdeprint. Before, kghostview didn't dep on kdeprint (nor does it now), and I don't think it should (at least, not forced) in the future.

> > Additionally, the provided solution was clearly intended to not add >additional deps for users with USE="-kde". There is an additional dep now.
> 
> Well really, as said above - if don't want KDE stuff, then don't emerge kpdf
> but use one of the non-KDE alternatives... kinda obvious.

I am commenting as a user who doesn't mind KDE stuff, but doesn't want more stuff than necessary (and that's not specific to KDE). That was one of the intended benefits of the split ebuilds, see <http://www.gentoo.org/doc/en/kde-split-ebuilds.xml>.
Comment 8 Harald van Dijk (RETIRED) gentoo-dev 2006-04-13 08:32:52 UTC
(In reply to comment #7)
Forgot to add, that the dep could probably at least be changed to kde? ( kdeprint ) even if everything else stays.
Comment 9 sd44 2006-11-27 08:30:19 UTC
(In reply to comment #0)
> Hi,
> I don't have cups in useflags and I didn't compiled kdelibs with cups but kpdf
> wants to emerge kdeprint for me due the dependencies.
> 

i have circular dependency :

kde-base/kdebase need kdeprint
kde-base/kdeprint need kdebase

i want kpdf but i am blocked with this new ebuild of kpdf -> kghostview -> kdeprint

have you any solution for this problem ?

thx
Comment 10 Wulf Krueger (RETIRED) gentoo-dev 2007-06-03 11:27:16 UTC
I've done extensive testing with kdeprint, kghostview and kpdf. I came to the conclusion that the deps should stay as they are for KDE 3.5.

We'll re-visit this for KDE4, though.
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-11 17:00:21 UTC
bugzie
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-11 17:00:55 UTC
kde4 okular:

DEPEND="
        media-libs/freetype
        sys-libs/zlib
        chm? ( dev-libs/chmlib )
        crypt? ( app-crypt/qca:2 )
        djvu? ( app-text/djview4 )
        ebook? ( app-text/ebook-tools )
        jpeg? ( media-libs/jpeg )
        pdf? ( >=virtual/poppler-qt4-0.8.5 )
        ps? ( app-text/libspectre )
        tiff? ( media-libs/tiff )
"
RDEPEND="${DEPEND}"

as one can see no printing deps. So fixed in 4.X :]