<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>42805</bug_id>
          
          <creation_ts>2004-02-24 14:04 0000</creation_ts>
          <short_desc>fontconfig have a strange dependency on sys-apps/ed...</short_desc>
          <delta_ts>2004-06-02 05:44:12 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>thoriin@yahoo.fr</reporter>
          <assigned_to>fonts@gentoo.org</assigned_to>
          <cc>spider@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>thoriin@yahoo.fr</who>
            <bug_when>2004-02-24 14:04:25 0000</bug_when>
            <thetext>fontconfig (at least since ebuild 2.1-r1) have a strange dependency on ed (&gt;=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&apos;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=&quot;${WORKDIR}/fcpackage.${PV/\./_}/fontconfig&quot; 
DESCRIPTION=&quot;A library for configuring and customizing font access.&quot; 
HOMEPAGE=&quot;http://freedesktop.org/&quot; 
SRC_URI=&quot;http://pdx.freedesktop.org/software/fontconfig/releases/fcpackage.
${PV/\./_}.tar.gz&quot; 
 
LICENSE=&quot;fontconfig&quot; 
SLOT=&quot;1.0&quot; 
KEYWORDS=&quot;x86 alpha ppc sparc mips hppa arm amd64&quot; 
 
# Seems like patches in freetype-2.1.2-r2 fixes bug #10028 
DEPEND=&quot;&gt;=media-libs/freetype-2.1.2-r2 
    &gt;=dev-libs/expat-1.95.3 
    &gt;=sys-apps/ed-0.2&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2004-02-24 14:39:41 0000</bug_when>
            <thetext>DEPEND means it&apos;s a compile time dependency.
RDPEND means it&apos;s a run-time dependency.

So yes, you can remove ed after compiling fontconfig.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spider@gentoo.org</who>
            <bug_when>2004-02-24 14:49:57 0000</bug_when>
            <thetext>well, Theres no RDEPEND listed in fontconfig, so DEPEND=&quot;RDEPEND&quot; in this case.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2004-02-24 15:07:38 0000</bug_when>
            <thetext>spider&apos;s right</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2004-02-24 15:08:17 0000</bug_when>
            <thetext>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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spider@gentoo.org</who>
            <bug_when>2004-02-24 15:24:21 0000</bug_when>
            <thetext>well, I&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thoriin@yahoo.fr</who>
            <bug_when>2004-02-25 11:37:28 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-06-02 05:44:12 0000</bug_when>
            <thetext>i think it was some relic from earlier ebuilds &amp; removed it from 2.2.2 </thetext>
          </long_desc>
      
    </bug>

</bugzilla>