public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] jpg support
Date: Sat, 8 Nov 2008 17:00:30 +0200	[thread overview]
Message-ID: <200811081700.30089.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <fb6605670811080608s1d95af6bwe775be7183afaaa7@mail.gmail.com>

On Saturday 08 November 2008 16:08:22 Michael P. Soulier wrote:
> On Sat, Nov 8, 2008 at 6:15 AM, Daniel Pielmeier
>
> <daniel.pielmeier@googlemail.com> wrote:
> > So there are two possibilities. First there is no need for a jpg useflag
> > as it will work out of the box. Second the jpg support or needed
> > libraries if they are indeed needed are detected automagically which is
> > bad and a bug should be filed. But from a quick glance into the relevant
> > files I did not recognize such things.
> >
> > So I guess rebuilding the affected packages and trying again is the best
> > option.
>
> I tried rebuilding gqview and feh with no success. feh complains about
> no imlib support for jpegs so I rebuild imlib, which didn't help.
> Before going to bed I started a full world rebuild. I'll reboot after
> that to ensure I pick up new shared libraries and we'll see what
> happens. This violates the principle of least surprise though.

You are going about this the wrong way. Gentoo can't really make a package 
more configurable than what it's author provides. feh has no option 
to ./configure to explicitly enable jpeg support, thus there cannot be a USE 
flag for it, as described earlier in the thread. If you need/want to know 
what's going in with such things, emerge the package and look for the full 
build log in /var/log/portage/. Examine it, it will tell you how the package 
builds.

imlib is the same, no explicit switch for jpeg, so you have to rely on the 
autodetect voodoo^Wmagic. it sucks, it shouldn't be that way but gentoo 
didn't make it that way.

Why did you decide to rebuild world? That's a bit like a sledge hammer to kill 
a flea....

You can't validly claim this violates least surprise. Even if your 
expectations were correct and gentoo does violate them, it's not something 
gentoo can fix, the problem is in the configure script.
>
> I am finding this about gentoo. On FreeBSD I could disable X11
> support, but it's on by default. I agree with that. On gentoo I have
> to explicitely enable jpg support?? Why the hell would I not want it?
> I find that needlessly difficult. The default should be the common
> case, not the uncommon one.

I'll bet your profile points to a server profile, not a desktop one. For the 
server profile, the default is no X server and thus no jpeg. A quick search 
shows me that all the desktop profiles enable jpeg by default - the expected 
state for most users. You profile is dictated by what the /etc/make.profile 
symlink points to.

I think you need to re-read the gentoo handbook, the full thing from beginning 
to end. As you have made several mistakes thus far that show me you don't 
know where or how to select the thing you want.


-- 
alan dot mckinnon at gmail dot com



  parent reply	other threads:[~2008-11-08 15:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-08  4:48 [gentoo-user] jpg support Michael P. Soulier
2008-11-08  5:30 ` Nicolas Sebrecht
2008-11-08 10:48 ` Dirk Heinrichs
2008-11-08 11:15   ` Daniel Pielmeier
2008-11-08 14:08     ` Michael P. Soulier
2008-11-08 14:31       ` Dale
2008-11-08 15:26         ` Michael P. Soulier
2008-11-08 16:59           ` Dale
2008-11-09  3:58             ` Michael P. Soulier
2008-11-09 10:30               ` Jorge Peixoto de Morais Neto
2008-11-09 11:22                 ` Michael P. Soulier
2008-11-08 15:00       ` Alan McKinnon [this message]
2008-11-08 15:55         ` Daniel Pielmeier
2008-11-08 17:13           ` [gentoo-user] desktop & sever profiles; was: " Stroller
2008-11-08 17:35             ` Daniel Pielmeier
2008-11-08 18:06               ` Stroller
2008-11-08 18:29                 ` Dale
2008-11-08 18:32                 ` Daniel Pielmeier
2008-11-08 18:13             ` Alan McKinnon

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=200811081700.30089.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.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