public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: stormbyte@gmail.com
Subject: Re: [gentoo-dev] Better handling of USE flags to enable/disable system libraries
Date: Tue, 28 May 2013 19:53:54 +0200	[thread overview]
Message-ID: <20130528195354.11512dfc@gentoo.org> (raw)
In-Reply-To: <1473793.jjmSZnls7x@darkness>

[-- Attachment #1: Type: text/plain, Size: 1537 bytes --]

On Tue, 28 May 2013 16:43:10 +0200
David Carlos Manuelda <stormbyte@gmail.com> wrote:

> I posted a bug about that along with a suggestion, despite sometimes I do not 
> explain myself correctly (I am very sorry): bug #471590
> 
> Many packages are bundling its own libraries rather than link against system 
> ones, and there is a bug tracker for that (bug #251464)
> [...]
> What I propose for example, is a very good and simple approach: to have an 
> option in portage's make.conf, something like that (the name may change):
> 
> 1.- USE_SYSTEM_LIBRARIES="cairo sqlite XXX"
> 2.- USE_SYSTEM_LIBRARIES="* -cairo"
> 3.- USE_SYSTEM_LIBRARIES="*"

I don't think we should do it like this.

Bundling libraries is a pathological case. In general, we should work
on fixing this and getting rid of bundled libraries. In that general
case, the flags are not required.

The remaining cases usually involve libraries that are somehow forked
or otherwise deviated from upstream. For example, the sqlite within
Mozilla products has a few braindead features enabled that are not
really suitable for system-wide use.

In those cases, every library needs to be considered separately
and the concept of local flag matches that. Making it anyhow a global
matter would suggest that each bundled sqlite is equal and each reason
for bundling is exact the same.

That said, I don't see why a user would want to choose to have some
libraries bundled, and others not in a global manner.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]

  reply	other threads:[~2013-05-28 17:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-28 14:43 [gentoo-dev] Better handling of USE flags to enable/disable system libraries David Carlos Manuelda
2013-05-28 17:53 ` Michał Górny [this message]
2013-05-28 18:03   ` Mike Frysinger
2013-05-28 23:01     ` David Carlos Manuelda
2013-05-28 23:55       ` Rich Freeman
2013-05-29  6:28       ` Sergey Popov

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=20130528195354.11512dfc@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=stormbyte@gmail.com \
    /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