Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42805 - fontconfig have a strange dependency on sys-apps/ed...
Summary: fontconfig have a strange dependency on sys-apps/ed...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-24 14:04 UTC by Sebastien
Modified: 2004-06-02 05:44 UTC (History)
1 user (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 Sebastien 2004-02-24 14:04:25 UTC
fontconfig (at least since ebuild 2.1-r1) have a strange dependency on ed (>=sys-apps/ed-0.2).

ldd /usr/bin/fc-list ; ldd /usr/bin/fc-cache
does not report such depency

This binaries still works fine after unmerging sys-apps/ed

Reproducible: Always
Steps to Reproduce:
1. emerge -p fontconfig (after a stage1)

or

1. qpkg -q ed -g sys-apps (on a working system, ed is the second package)






Expected Results:  
emerge fontconfig after a stage1 should not merge ed (I prefer vi, and won't 
use ed ;).  

The last line is the one that may be incorrect 
 
# Copyright 1999-2003 Gentoo Technologies, Inc. 
# Distributed under the terms of the GNU General Public License v2 
# 
$Header: /home/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.1-r1.ebuild,v 
1.18 2003/11/01 09:43:54 seemant Exp $ 
 
inherit debug eutils 
 
S="${WORKDIR}/fcpackage.${PV/\./_}/fontconfig" 
DESCRIPTION="A library for configuring and customizing font access." 
HOMEPAGE="http://freedesktop.org/" 
SRC_URI="http://pdx.freedesktop.org/software/fontconfig/releases/fcpackage.
${PV/\./_}.tar.gz" 
 
LICENSE="fontconfig" 
SLOT="1.0" 
KEYWORDS="x86 alpha ppc sparc mips hppa arm amd64" 
 
# Seems like patches in freetype-2.1.2-r2 fixes bug #10028 
DEPEND=">=media-libs/freetype-2.1.2-r2 
    >=dev-libs/expat-1.95.3 
    >=sys-apps/ed-0.2"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-02-24 14:39:41 UTC
DEPEND means it's a compile time dependency.
RDPEND means it's a run-time dependency.

So yes, you can remove ed after compiling fontconfig.
Comment 2 Spider (RETIRED) gentoo-dev 2004-02-24 14:49:57 UTC
well, Theres no RDEPEND listed in fontconfig, so DEPEND="RDEPEND" in this case.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2004-02-24 15:07:38 UTC
spider's right
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2004-02-24 15:08:17 UTC
and I guess the other point of unclarity, which both spyderous and the bug reporter raised, is: why is ed even a DEPEND for fontconfig?
Comment 5 Spider (RETIRED) gentoo-dev 2004-02-24 15:24:21 UTC
well, I'd guess that its a Makefile that uses it.  Consider also the sed dependencies (Version specific due to how sed is called) to be moved to DEPEND != RDEPEND here.
Comment 6 Sebastien 2004-02-25 11:37:28 UTC
unmerging ed, unmerging fontconfig, removing the ed dependency in fontconfig ebuild and re-emerging fontconfig just works fine...

Mozilla and XFree seems to run unaffected.
Comment 7 foser (RETIRED) gentoo-dev 2004-06-02 05:44:12 UTC
i think it was some relic from earlier ebuilds & removed it from 2.2.2