FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 08-04-2010, 07:14 PM
Mike Frysinger
 
Default sys-devel/gettext and implicit vcs packages (cvs/git)

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
 
Old 08-05-2010, 07:17 AM
Vaeth
 
Default sys-devel/gettext and implicit vcs packages (cvs/git)

> 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
 
Old 08-05-2010, 04:38 PM
Mike Frysinger
 
Default sys-devel/gettext and implicit vcs packages (cvs/git)

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
 

Thread Tools




All times are GMT. The time now is 10:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org