[gentoo-dev] Ebuild- and CPAN-versions compatibility
CPAN and ebuild versions are ordered in different ways. The idea here is to change the ebuild versions to be predictable and CPAN compatible. CPAN versions exist as decimal and dotted-integer versions. | # Decimal versions # | \d+(\.d+)? | | Any version which looks like a number[...]. This | also includes versions with a single decimal point[...] 1.19 1.191 1.2 | # Dotted-Integer Versions # | v\d+(\.\d{1,3}){2,} | | These contain more than one decimal point[...] | This is what is commonly used in most open source software as the | external version[...] A leading 'v' character is now required v1.9.0 v1.10.0 v1.10.0.1 These version objects can be compared by grouping three digits of the decimal number to one integer part of the dotted-integer version... 1.19 = 1.190 = 1.19 ~ v1.190.0 1.191 = 1.191 = 1.191000 ~ v1.191.0 1.2 = 1.20 ~ v1.200.0 1.009 = 1.009000 ~ v1.9.0 1.01 = 1.01 ~ v1.10.0 1.01001 ~ v1.10.0.1 perl -wE'use version;@v=map{version-parse($_)}...@argv;print map{$_-numify, ,$_-normal,\n}...@v' \ 1.19 1.191 1.2 1.9.0 1.10.0 1.10.0.1 Many CPAN distributions are released in decimal version format. Most of the time it's no problem to use the same version as PV. Sometimes it is...[2] I solved it by adding additional dots. 1.191 becomes 1.19.1, 5.251 becomes 5.2.5.1, depending on former releases. By removing the additional dots from PV it's easy to get the upstream decimal version. But it differs from perlish versions meaning. The current list of outdated cpan packages[1] contains at least four packages that need attention: | App-CLI 0.080.313 | IO-AIO 3.653.7 | MARC-Charset1.3 1.31 | Sphinx-Search 0.220.2401 Vincent Pit currently maintains a number of special version mappings[6] for CPANPLUS-Dist-Gentoo[4][5] (creates ebuilds from the CPAN like g-cpan does) and suggested to move to a predictable and CPAN-compatible versioning scheme: | if the version starts by 'v' or has at least two dots, then it's used | as-is (thus 'v1.2' becames '1.2' and '1.2.3' stays the same) ; otherwise | the version number is a float 1.xxxyyyzzz... which is mapped to | 1.xxx.yyy.zzz with padding zeros if needed ('1.1' would become '1.100', | and '1.0701' would be '1.070.100') (whether 1.0701 becomes 1.070.100 or 1.70.100 has to be decided but doesn't really matter.) I like this but it also means: - set the CPAN version inside the ebuilds - touch a lot of ebuilds - have some downgrades[3] - some upstreams force 0.21 0.21.1 (which isn't true for cpan versioning!). hopefully these are only historical issues. - versions look different but mean the same - fix tools like up2date-ng, g-cpan,... Maybe we should start by fixing only the packages where the CPAN versions weren't compatible with PMS? Instead of having mappings for many cases we only need a list of packages with transformed versions? Comments? [0] https://github.com/gentoo-perl/wiki/wiki/version [1] http://www.gentoo.org/proj/en/perl/outdated-cpan-packages.xml [2] grep ^inherit.*versionator dev-perl/**/*.ebuild | wc -l # 86 [3] find dev-perl -name *.ebuild | egrep \.[0-9]{4,} | wc -l # ~68 downgrades [4] http://search.cpan.org/dist/CPANPLUS-Dist-Gentoo/ [5] https://github.com/gentoo-perl/perl-experimental/tree/master/dev-perl/CPANPLUS-Dist-Gentoo [6] http://cpansearch.perl.org/src/VPIT/CPANPLUS-Dist-Gentoo-0.11/lib/CPANPLUS/Dist/Gentoo/Maps.pm
[gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in gnome-extra/polkit-gnome: polkit-gnome-0.99.ebuild ChangeLog
Le mardi 28 décembre 2010 à 18:38 +, Samuli Suominen (ssuominen) a écrit : ssuominen10/12/28 18:38:42 Modified: polkit-gnome-0.99.ebuild ChangeLog Log: Remove unused app-text/scrollkeeper and gnome-base/gconf dependencies wrt #349954 by Andrew Brouwers. ebuild cleanup (Portage version: 2.2.0_alpha10/cvs/Linux x86_64) Revision ChangesPath 1.2 gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild?rev=1.2view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild?rev=1.2content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild?r1=1.1r2=1.2 Index: polkit-gnome-0.99.ebuild === RCS file: /var/cvsroot/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- polkit-gnome-0.99.ebuild 25 Sep 2010 02:13:40 - 1.1 +++ polkit-gnome-0.99.ebuild 28 Dec 2010 18:38:42 - 1.2 @@ -1,53 +1,62 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild,v 1.1 2010/09/25 02:13:40 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/polkit-gnome/polkit-gnome-0.99.ebuild,v 1.2 2010/12/28 18:38:42 ssuominen Exp $ -EAPI=2 +EAPI=2 +inherit autotools eutils -inherit autotools eutils gnome2 - -DESCRIPTION=PolicyKit policies and configurations for the GNOME desktop -HOMEPAGE=http://hal.freedesktop.org/docs/PolicyKit; +DESCRIPTION=A dbus session bus service that is used to bring up authentication dialogs +HOMEPAGE=http://hal.freedesktop.org/docs/PolicyKit/; SRC_URI=http://hal.freedesktop.org/releases/${P}.tar.bz2; -LICENSE=LGPL-2 GPL-2 +LICENSE=GPL-2 LGPL-2 SLOT=0 KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd IUSE=doc examples +introspection RDEPEND==x11-libs/gtk+-2.17.1 - =gnome-base/gconf-2.8 =sys-auth/polkit-0.97 - introspection? ( =dev-libs/gobject-introspection-0.6.2 ) + introspection? ( =dev-libs/gobject-introspection-0.6.2 ) + !lxde-base/lxpolkit DEPEND=${RDEPEND} - sys-devel/gettext - =dev-util/pkgconfig-0.19 + dev-util/gtk-doc-am =dev-util/intltool-0.35.0 - =app-text/scrollkeeper-0.3.14 + dev-util/pkgconfig gnome-base/gnome-common - dev-util/gtk-doc-am + sys-devel/gettext doc? ( =dev-util/gtk-doc-1.3 ) -# gtk-doc-am is required for eautoreconf -DOCS=AUTHORS HACKING NEWS TODO src_prepare() { - G2CONF=${G2CONF} - $(use_enable examples) - $(use_enable introspection) - # polkit-gnome is useful also for LXDE, XFCE, and others sed -i \ -e 's:OnlyShowIn=GNOME:NotShowIn=KDE:' \ src/polkit-gnome-authentication-agent-1.desktop.in.in || die # Fix make check, bug 298345 - epatch ${FILESDIR}/${PN}-0.95-fix-make-check.patch + epatch ${FILESDIR}/${PN}-0.95-fix-make-check.patch if use doc; then # Fix parallel build failure, bug 293247 - epatch ${FILESDIR}/${PN}-0.95-parallel-build-failure.patch + epatch ${FILESDIR}/${PN}-0.95-parallel-build-failure.patch - gtkdocize || die gtkdocize failed + gtkdocize || die eautoreconf fi } + +src_configure() { + # Do we need USE static-libs ? By user request. + econf \ + --disable-dependency-tracking \ + --disable-static \ + $(use_enable doc gtk-doc) \ + $(use_enable examples) \ + $(use_enable introspection) +} + +src_install() { + emake DESTDIR=${D} install || die + dodoc AUTHORS HACKING NEWS + + find ${D} -name '*.la' -exec rm -f '{}' + +} 1.23 gnome-extra/polkit-gnome/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/polkit-gnome/ChangeLog?rev=1.23view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/polkit-gnome/ChangeLog?rev=1.23content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/polkit-gnome/ChangeLog?r1=1.22r2=1.23 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/gnome-extra/polkit-gnome/ChangeLog,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- ChangeLog 12 Dec 2010 17:44:03 - 1.22 +++ ChangeLog 28 Dec 2010 18:38:42 - 1.23 @@ -1,6 +1,10 @@ # ChangeLog for gnome-extra/polkit-gnome #
Re: [gentoo-dev] IPv6 herd
Hi! В Втр, 21/12/2010 в 18:45 +, Markos Chandras пишет: As someone may notices on this bug[1], the package is maintained by the ipv6 herd. However, there is no such herd listed on herd webpage[2]. Furthermore, there is just one developer in this herd(?). Maybe we should merge this ghost herd to netmon or something and reassign all the packages as well? Actually it looks like net-misc/ipv6calc is the only package, thus I've reassigned it on myself and I'm going to request ipv6 alias removal. CC'ing them. Guys if you alive, please, respond to gentoo-dev. [1]:http://bugs.gentoo.org/show_bug.cgi?id=349264 [2]:http://www.gentoo.org/proj/en/metastructure/herds/herds.xml -- Peter.
Re: [gentoo-dev] [warning] the bug queue has 118 bugs
On Tue, Dec 28, 2010 at 11:53 PM, Mike Frysinger vap...@gentoo.org wrote: please refrain from posting html to mailing lists Apologies - just migrated to Gmail and didn't notice the obnoxious default behavior... Rich
[gentoo-dev] tools-portage herd status
On Mon, 2009-04-27 at 09:08 -0500, Paul Varner wrote: All: The tool-portage herd is currently understaffed and as such is not making updates in a timely fashion. Currently the herd consists of zmedico and myself. While Zac has done a good job where he can, he has a full time job with maintaining and updating portage. In my case, my real life job has me working 60 - 80 hour work weeks which severely limits the time I have to work on Gentoo. We are in the process of recruiting another member of the herd, however, he has a full time job as well which also limits the amount of time he has available for Gentoo. Because of this, I am publicly announcing that any Gentoo developer who wants to touch stuff belonging to the tools-portage herd is welcome to do so. The only requirement is if you accidentally break it, please fix it as well. Back in April of last year I wrote the above message. Since then the tools-portage team has added idl0r as well as several community developers. However, we are now in the process of losing truedfx who was the main maintainer of ufed. If a current Gentoo developer wants to join the herd to become the ufed maintainer, please let us know. Additionally, since I don't like touching and breaking glsa-check, it would be appreciated if someone would be willing to act as the primary maintainer for that piece of gentoolkit as well. Finally, we have migrated the gentoolkit source code from subversion to git. Gentoo developers can access the repository at: git+ssh://g...@git.overlays.gentoo.org/proj/gentoolkit.git Gentoo Developers have full priviledges to the repository. As before, any Gentoo developer can do work on the gentoolkit source. We only have several requirements. If you want to do a major change (i.e rewrite/refactor something), please talk to us before pushing any commits. If you break something, please fix it. Finally, if you want a new release of gentoolkit or gentoolkit-dev, please coordinate it with either myself or idl0r. Any non Gentoo developers who wish to assist, the best way to get started is by pulling a copy of the repository and submitting patches to bugzilla. Additionally, we can be found in the #gentoo-portage IRC channel. On behalf of the tools-portage team. Paul signature.asc Description: This is a digitally signed message part