Bug 42805 - fontconfig have a strange dependency on sys-apps/ed...
Bug#: 42805 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: fonts@gentoo.org Reported By: thoriin@yahoo.fr
Component: Ebuilds
URL: 
Summary: fontconfig have a strange dependency on sys-apps/ed...
Keywords:  
Status Whiteboard: 
Opened: 2004-02-24 14:04 0000
Description:   Opened: 2004-02-24 14:04 0000
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 From Seemant Kulleen (RETIRED) 2004-02-24 14:39:41 0000 -------
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 From Spider (RETIRED) 2004-02-24 14:49:57 0000 -------
well, Theres no RDEPEND listed in fontconfig, so DEPEND="RDEPEND" in this case.

------- Comment #3 From Seemant Kulleen (RETIRED) 2004-02-24 15:07:38 0000 -------
spider's right

------- Comment #4 From Seemant Kulleen (RETIRED) 2004-02-24 15:08:17 0000 -------
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 From Spider (RETIRED) 2004-02-24 15:24:21 0000 -------
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 From Sebastien 2004-02-25 11:37:28 0000 -------
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 From foser (RETIRED) 2004-06-02 05:44:12 0000 -------
i think it was some relic from earlier ebuilds & removed it from 2.2.2