From: Kent Fredric <kentfredric@gmail.com>
To: gentoo-dev@lists.gentoo.org
Cc: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-dev] vim and gvim package split
Date: Fri, 1 Nov 2013 13:45:21 +1300 [thread overview]
Message-ID: <CAATnKFBP4eZ0aCzJWo3qrGRP7m9wY1aKKDw7_=RHrng7Hs+sJg@mail.gmail.com> (raw)
In-Reply-To: <20131031230212.1ea303a9@egeo.atlantide.net>
[-- Attachment #1: Type: text/plain, Size: 1716 bytes --]
On 1 November 2013 11:02, Alessandro DE LAURENZIS <just22.adl@gmail.com>wrote:
>
> In case of vim-core/vim/gvim (and vim-qt?), I cannot understand
> the reason... Are still there advantages in doing so?
Useflags have their perks for giving variations on behaviour, but having 3
effective packages in one, governed by useflags, means you'll have 3 much
more tightly coupled packages, and the code will be much messier with
useflag conditionals to pull dependencies.
If you imagine useflags like "if" statements, and ebuilds like independent
classes where "dependencies" are a kind of inheritance, you may find
theres' reasonable benefits for the maintenance side
e.g.: people checking reverse deps for QT don't have to worry about changes
in QT breaking vim and gvim because those packages are independent of QT
interaction
Fixes that need to go in to make building vs QT mean only the qvim ebuild
gets updated and the rest are fine as-is.
The only real downside is if you're building all 3 {q,g,}vim there's a
little compile time overhead as a result ( Though I'm not sure what the
difference is in real terms )
But by having them seperate, we enjoy a more robust installation,
especially for people who only want one of the 3, then they're not
needlessly burdened by logic to handle things they're not using, which
could break.
Not to mention you have to deal with overheads introduced by having to work
out the equivalent of all three of the above having vastly different
useflags and making useflags conditional upon each other as a result to
codify the same behaviour, again, further raising the odds that a
situtation will arise where things break and the dependencies/use flags
are a mess.
--
Kent
[-- Attachment #2: Type: text/html, Size: 2427 bytes --]
next prev parent reply other threads:[~2013-11-01 0:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-31 22:02 [gentoo-dev] vim and gvim package split Alessandro DE LAURENZIS
2013-11-01 0:45 ` Kent Fredric [this message]
2013-11-01 16:52 ` [gentoo-dev] " Alessandro DE LAURENZIS
2013-11-01 17:45 ` Steev Klimaszewski
2013-11-01 18:23 ` [gentoo-dev] " Ciaran McCreesh
2013-11-01 19:50 ` Alessandro DE LAURENZIS
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='CAATnKFBP4eZ0aCzJWo3qrGRP7m9wY1aKKDw7_=RHrng7Hs+sJg@mail.gmail.com' \
--to=kentfredric@gmail.com \
--cc=gentoo-dev@lists.gentoo.org \
--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