* [gentoo-dev] sys-devel/gettext and implicit vcs packages (cvs/git)
@ 2010-08-04 19:14 Mike Frysinger
0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2010-08-04 19:14 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1343 bytes --]
the gettext package and its implicit vcs has been a problem for us for time
immemorial (one of the first documented instances is Bug 55607 dated Jun
2004). at the time, we really had no way of handling this cleanly. but with
USE deps now, i think we address this somewhat sanely.
background: the gettext package supports older versions of itself while
minimizing disk space by storing the deployable files in a vcs archive. this
is only used at runtime if you run `autopoint`, and that is only used during
development where the bundled gettext files in a package need to be recreated.
in the past, it only used cvs, but now it supports both cvs and git (which are
detected when gettext is emerged). in the past, we just forced the smallish
random packages that actually ran autotools to depend on cvs themselves.
what i'm proposing now is that we add a local USE flag (Nick proposed
"autopoint") to sys-devel/gettext. something like:
RDEPEND="autopoint? (
git? ( dev-vcs/git )
!git? ( cvs? ( dev-vcs/cvs ) )
!cvs? ( dev-vcs/git )
)"
idea is that we want to prefer git over cvs. now other packages can DEPEND on
sys-devel/gettext[autopoint]. perhaps even extend autotools.eclass with a
variable to indicate people are going to be using eautopoint ...
any counter proposals/etc... ?
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] sys-devel/gettext and implicit vcs packages (cvs/git)
[not found] <fdSrL-4Kk-9@gated-at.bofh.it>
@ 2010-08-05 7:17 ` Vaeth
2010-08-05 16:38 ` Mike Frysinger
0 siblings, 1 reply; 3+ messages in thread
From: Vaeth @ 2010-08-05 7:17 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: TEXT/PLAIN, Size: 756 bytes --]
> what i'm proposing now is that we add a local USE flag (Nick proposed
> "autopoint") to sys-devel/gettext. something like:
> RDEPEND="autopoint? (
> git? ( dev-vcs/git )
> !git? ( cvs? ( dev-vcs/cvs ) )
> !cvs? ( dev-vcs/git )
> )"
> idea is that we want to prefer git over cvs.
Two remarks:
1. There is also the possibility to install autopoint support
with neither git nor cvs: The 3MB archive can be installed
directly. So perhaps this should be better something like
IUSE="autopoint cvs +git"
RDEPEND="autopoint? (
git? ( dev-vcs/git )
!git? ( cvs? ( dev-vcs/cvs ) )
)"
2. Since >=gettext-0.18.1, cvs is no longer support
(but the options git or 3 MB archive still are).
Regards
Martin Väth
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] sys-devel/gettext and implicit vcs packages (cvs/git)
2010-08-05 7:17 ` [gentoo-dev] sys-devel/gettext and implicit vcs packages (cvs/git) Vaeth
@ 2010-08-05 16:38 ` Mike Frysinger
0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2010-08-05 16:38 UTC (permalink / raw
To: gentoo-dev; +Cc: Vaeth
[-- Attachment #1: Type: Text/Plain, Size: 670 bytes --]
On Thursday, August 05, 2010 03:17:18 Vaeth wrote:
> > what i'm proposing now is that we add a local USE flag (Nick proposed
> > "autopoint") to sys-devel/gettext. something like:
> > RDEPEND="autopoint? (
> >
> > git? ( dev-vcs/git )
> > !git? ( cvs? ( dev-vcs/cvs ) )
> > !cvs? ( dev-vcs/git )
> >
> > )"
> >
> > idea is that we want to prefer git over cvs.
>
> 1. There is also the possibility to install autopoint support
> with neither git nor cvs: The 3MB archive can be installed
> directly.
looks like this is a new feature too. i'll avoid the autopoint USE flag
altogether then and just respect cvs/git. thanks.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-05 16:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <fdSrL-4Kk-9@gated-at.bofh.it>
2010-08-05 7:17 ` [gentoo-dev] sys-devel/gettext and implicit vcs packages (cvs/git) Vaeth
2010-08-05 16:38 ` Mike Frysinger
2010-08-04 19:14 Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox