public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nicholas Brown <nicbrown@cisco.com>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Imagemagick forces freetype to be installed
Date: 10 May 2003 15:31:07 +0100	[thread overview]
Message-ID: <1052577066.2581.9.camel@localhost.localdomain> (raw)

If I do;
USE="-X -cups -truetype -mpeg" emerge -p imagemagick

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] media-libs/jpeg-6b-r3
[ebuild  N   ] dev-libs/libxml2-2.5.6
[ebuild  N   ] media-libs/jbigkit-1.4
[ebuild  N   ] media-libs/libpng-1.2.5-r4
[ebuild  N   ] media-libs/freetype-2.1.4
[ebuild  N   ] media-gfx/imagemagick-5.5.6

it still insists on installing freetype!

The below is from the imagemagick .ebuild.
The depend section has 2 lines that specify freetype.
The first unconditionally, and the second conditional on the truetype
USE flag. As can be seen in the compile section if you don't specify
truetype, it turns off support for it.

How do I install imagemagick without installing freetype?
or is the .ebuild broken?

thanks,
Nick


DEPEND="media-libs/jbigkit
        >=sys-apps/bzip2-1
        sys-libs/zlib
        >=media-libs/freetype-2.0
        X? ( virtual/x11
                >=app-text/dgs-0.5.9.1 )
        cups?   ( >=app-text/ghostscript-6.50 )
        jpeg? ( >=media-libs/jpeg-6b )
        lcms? ( >=media-libs/lcms-1.06 )
        mpeg? ( media-video/mpeg2vidcodec )
        png? ( media-libs/libpng )
        tiff? ( >=media-libs/tiff-3.5.5 )
        xml2? ( >=dev-libs/libxml2-2.4.10 )
        truetype? ( =media-libs/freetype-2* )"

src_compile() {
        elibtoolize

        local myconf=""
        use X    || myconf="${myconf} --with-x=no"
        use cups || myconf="${myconf} --without-gslib"
        use jpeg || myconf="${myconf} --without-jpeg --without-jp2"
        use lcms || myconf="${myconf} --without-lcms"
        use mpeg || myconf="${myconf} --without-mpeg2"
        use tiff || myconf="${myconf} --without-tiff"
        use xml2 || myconf="${myconf} --without-xml"
        use truetype || myconf="${myconf} --without-ttf"




--
gentoo-dev@gentoo.org mailing list


             reply	other threads:[~2003-05-10 19:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-10 14:31 Nicholas Brown [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-10 12:19 [gentoo-dev] imagemagick forces freetype to be installed Nick Brown
2003-05-10 22:29 ` foser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1052577066.2581.9.camel@localhost.localdomain \
    --to=nicbrown@cisco.com \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox