Re: [gentoo-dev] About udev-145: new features / extras and kernel requirements

2009-08-30 Thread Lars Wendler
> In summation, I say hard-enable these: > > acl > Please don't do this. It would force installation of sys-apps/acl to any user which I think is not desired by everybody. I'd rather like to see this being enabled by either the acl or the consolekit USE flag. Lars Wendler (Polynomial-C) Gentoo

Re: [gentoo-dev] linux-info.eclass: lacking sources, config checks and module building

2009-08-30 Thread Mike Auty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin H. Johnson wrote: > If you feel like reviewing ~140 packages and filing bugs for them, I > won't stop you. But I'm just going to go and fix the ones that seem > simple enough to me, and only file bugs for the complex ones. Ok, I'll do what I can

Re: [gentoo-dev] linux-info.eclass: lacking sources, config checks and module building

2009-08-30 Thread Robin H. Johnson
On Mon, Aug 31, 2009 at 01:00:41AM +0100, Mike Auty wrote: > > I missed a bit for the config option. > > If there is NO source of the config data, what do we do? > > Error out or more warnings? > Well, if we can't determine whether a config option's set or not, if > it's not critical (ie, it's ~CHE

[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2009-08-30 23h59 UTC

2009-08-30 Thread Robin H. Johnson
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2009-08-30 23h59 UTC. Removals: xfce-extra/thunar-archive 2009-08-24 09:19:17 ssuominen xfce-extra/xfce4-cpu-freq 2009-08-24 09:33:22 ssuominen xfce-extra/x

Re: [gentoo-dev] linux-info.eclass: lacking sources, config checks and module building

2009-08-30 Thread Mike Auty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin H. Johnson wrote: > Yes, a warning with using /proc/config.gz. > > I missed a bit for the config option. > If there is NO source of the config data, what do we do? > Error out or more warnings? Well, if we can't determine whether a config optio

[gentoo-dev] New global USE flag: modules

2009-08-30 Thread Robin H. Johnson
Per my thread on building modules and linux-info, USE=modules will be moving from being a local USE flag to being a global, AND it will be enabled by default in the base profile. Proposed description: - Enable building of kernel modules Existing tree usage: ---

Re: [gentoo-dev] linux-info.eclass: lacking sources, config checks and module building

2009-08-30 Thread Robin H. Johnson
On Mon, Aug 31, 2009 at 12:30:02AM +0100, Mike Auty wrote: > > Checking a configuration option, for non-module use: > > > > 0. (optional) give an env var to make all checks non-fatal. > > 1. Use existing logic of .config from /usr/src/linux, KERN

Re: [gentoo-dev] linux-info.eclass: lacking sources, config checks and module building

2009-08-30 Thread Mike Auty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin H. Johnson wrote: > The existing state is: > - Force the user to install sources > > Our choices are: > - `uname -r` output. > - Create an override environment variable for all the checks. > > /proc/config.gz comes back here again, in that, we

Re: [gentoo-dev] linux-info.eclass: lacking sources, config checks and module building

2009-08-30 Thread Robin H. Johnson
On Sun, Aug 30, 2009 at 10:58:33PM +0100, Mike Auty wrote: > Robin H. Johnson wrote: > > FYI: > > get_running_version is used in one single ebuild, in the entire tree: > > sys-fs/evms/evms-2.5.5-r10.ebuild > > And there it's only for a warning. > Ok, I was just suggesting that if there was an inten

Re: [gentoo-dev] linux-info.eclass: lacking sources, config checks and module building

2009-08-30 Thread Mike Auty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin H. Johnson wrote: > FYI: > get_running_version is used in one single ebuild, in the entire tree: > sys-fs/evms/evms-2.5.5-r10.ebuild > And there it's only for a warning. Ok, I was just suggesting that if there was an intention to implement confi

Re: [gentoo-dev] linux-info.eclass: lacking sources, config checks and module building

2009-08-30 Thread Robin H. Johnson
On Sun, Aug 30, 2009 at 09:21:24PM +0100, Mike Auty wrote: > [ "${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}${KV_EXTRA}" == "$(uname -r)" ] && \ > OUTPUT_DIR="${OUTPUT_DIR:-/lib/modules/${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}${KV_EXTRA}/build}" This check is inside the get_version call, and is ultimately used t

Re: [gentoo-dev] Road towards EAPI 3 main tree approval

2009-08-30 Thread Ciaran McCreesh
On Sun, 30 Aug 2009 23:03:42 +0300 Petteri Räty wrote: > As far as I understand paludis already has the features implemented so > maybe we could give EAPI 3 some field testing in some overlays to see > how it works in practice from ebuild writer point of view. The main issue with that is eclasses

Re: [gentoo-dev] [RFC] USE flags requirements (EAPI-4 ?)

2009-08-30 Thread Ciaran McCreesh
On Sun, 30 Aug 2009 19:06:02 +0200 Mounir Lamouri wrote: > So I think we should add a new feature in PMS already used in Exherbo > EAPI, USE flags requirements [1]. That means an ebuild should be able > to say a USE flag is available only if some other ones are in a > specific state. Let's take th

Re: [gentoo-dev] linux-info.eclass: lacking sources, config checks and module building

2009-08-30 Thread Mike Auty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin H. Johnson wrote: > It does NOT check /proc/config.gz presently. The original logic against > not checking /proc was that we were targeting the kernel being built, > but that's moot given the use of `uname -r` in OUTPUT_DIR. I might be reading t

[gentoo-dev] Road towards EAPI 3 main tree approval

2009-08-30 Thread Petteri Räty
As many of you know EAPI 3 has been waiting for Portage to implement it for many months now and I asked zmedico for his estimate on whether it will be done this year: 19:50 < Betelgeuse> zmedico: Let's put it this way. How likely in percentages is EAPI 2 this year? 19:50 < Betelgeuse> s/2/3/ 19:51

[gentoo-dev] linux-info.eclass: lacking sources, config checks and module building

2009-08-30 Thread Robin H. Johnson
Seeing the debate raised in the udev thread about checking for the kernel, I'd like to propose that we revise the linux-info.eclass. linux-info already checks a number of locations: - KBUILD_OUTPUT, - KERNEL_DIR, which defaults to /usr/src/linux/ - OUTPUT_DIR, which defaults to /lib/modules/`uname

Re: [gentoo-dev] [RFC] USE flags requirements (EAPI-4 ?)

2009-08-30 Thread Nirbheek Chauhan
On Sun, Aug 30, 2009 at 10:36 PM, Mounir Lamouri wrote: > I think this new feature should help everyones life. We can also imagine > great features like a minimal USE-flag that will be something like: > USE_REQUIREMENTS="minimal? ( foo bar )" to set a list of USE flags to > disable if minimal USE f

Re: [gentoo-dev] About udev-145: new features / extras and kernel requirements

2009-08-30 Thread Robin H. Johnson
On Sun, Aug 30, 2009 at 05:05:05PM +0200, Bruno wrote: > Is this bound to consolekit or does it rather fall under 'acl' use-flag? > I guess this includes a kernel requirement (ACL support for tmpfs) Yes, this would imply CONFIG_TMPFS_POSIX_ACL to actually be used. > > * usb-db: Provide udev-rules

Re: [gentoo-dev] [RFC] USE flags requirements (EAPI-4 ?)

2009-08-30 Thread Thomas Anderson
On Sun, Aug 30, 2009 at 07:06:02PM +0200, Mounir Lamouri wrote: > Hi, > However, dying is probably not the best solution too. > So I think we should add a new feature in PMS already used in Exherbo > EAPI, USE flags requirements [1]. That means an ebuild should be able to > say a USE flag is avail

[gentoo-dev] Re: [gentoo-dev-announce] Deprecation of Python 2.4

2009-08-30 Thread Arfrever Frehtes Taifersar Arahesis
2009-08-30 11:14:53 Petteri Räty napisał(a): > Arfrever Frehtes Taifersar Arahesis wrote: > > Python 2.4 is deprecated. There are plans to mask for removal it when > > remaining packages incompatible with Python 2.5 are fixed. > > (We will announce masking of Python 2.4 at least 1 month before mask

[gentoo-dev] [RFC] USE flags requirements (EAPI-4 ?)

2009-08-30 Thread Mounir Lamouri
Hi, While writing and using some ebuilds, I had to deal with (pseudo) USE flags requirements. For example, if you install mplayer with USE="encode" the result will depend on other USE flags: if you have USE="encode mp3", it will install lame for example. I know a few ebuilds behave like that in th

[gentoo-dev] Re: [gentoo-dev-announce] Deprecation of Python 2.4

2009-08-30 Thread Ryan Hill
On Sun, 30 Aug 2009 12:14:53 +0300 Petteri Räty wrote: > Arfrever Frehtes Taifersar Arahesis wrote: > > Python 2.4 is deprecated. There are plans to mask for removal it when > > remaining packages incompatible with Python 2.5 are fixed. > > (We will announce masking of Python 2.4 at least 1 month

Re: [gentoo-dev] About udev-145: new features / extras and kernel requirements

2009-08-30 Thread Mike Auty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William Hubbs wrote: > I agree here. The eclass should check /proc/config.gz. > Also, another reason to use the eclass is it respects KBUILD_OUTPUT if > it is set. - From the indenting I can't tell if you wrote this or not, however, we need to dif

Re: [gentoo-dev] About udev-145: new features / extras and kernel requirements

2009-08-30 Thread William Hubbs
On Sun, Aug 30, 2009 at 08:16:47PM +0530, Nirbheek Chauhan wrote: > On Sun, Aug 30, 2009 at 7:41 PM, Matthias Schwarzott wrote: > > Hi there! > > > > The new udev-145 and newer have some new kernel requirements. How should the > > ebuild verify they are met? > > Some possible ways: > > 1. Check con

[gentoo-dev] Re: About udev-145: new features / extras and kernel requirements

2009-08-30 Thread Duncan
Arun Raghavan posted on Sun, 30 Aug 2009 19:54:47 +0530 as excerpted: > 2009/8/30 Matthias Schwarzott : >> Hi there! >> >> The new udev-145 and newer have some new kernel requirements. How >> should the ebuild verify they are met? >> Some possible ways: >> 1. Check config under /usr/src/linux >> 2

Re: [gentoo-dev] About udev-145: new features / extras and kernel requirements

2009-08-30 Thread Bruno
On Sun, 30 August 2009 Matthias Schwarzott wrote: > The new udev-145 and newer have some new kernel requirements. How > should the ebuild verify they are met? > Some possible ways: > 1. Check config under /usr/src/linux /usr/src/linux is not the best place to look at... Checks should rather be d

Re: [gentoo-dev] About udev-145: new features / extras and kernel requirements

2009-08-30 Thread Nirbheek Chauhan
On Sun, Aug 30, 2009 at 7:41 PM, Matthias Schwarzott wrote: > Hi there! > > The new udev-145 and newer have some new kernel requirements. How should the > ebuild verify they are met? > Some possible ways: > 1. Check config under /usr/src/linux > 2. Check /proc/config.gz > 3. Print message for user

Re: [gentoo-dev] About udev-145: new features / extras and kernel requirements

2009-08-30 Thread Arun Raghavan
2009/8/30 Matthias Schwarzott : > Hi there! > > The new udev-145 and newer have some new kernel requirements. How should the > ebuild verify they are met? > Some possible ways: > 1. Check config under /usr/src/linux > 2. Check /proc/config.gz > 3. Print message for user in pkg_postinst All of the

[gentoo-dev] About udev-145: new features / extras and kernel requirements

2009-08-30 Thread Matthias Schwarzott
Hi there! The new udev-145 and newer have some new kernel requirements. How should the ebuild verify they are met? Some possible ways: 1. Check config under /usr/src/linux 2. Check /proc/config.gz 3. Print message for user in pkg_postinst Second point: udev-145 bundles a lot of new extras, but

[gentoo-dev] QA last rites for

2009-08-30 Thread Diego E . Pettenò
# Diego E. Pettenò (30 Aug 2009) # on behalf of QA team # # Old version of synce framework; 0.13 and 0.14 are in the # tree and don't need these packages. synce-rra was just # fixed after almost an year (at least) of build failure. # # Removal on 2009-10-29

[gentoo-dev] QA last rites for dev-cpp/libmxmlplus

2009-08-30 Thread Diego E . Pettenò
# Diego E. Pettenò (30 Aug 2009) # on behalf of QA team # # Unmaintained upstream, unneeded in tree, collides with # dev-libs/mini-xml (bug #247405) which is actually used. # # Removal on 2009-10-29 dev-cpp/libmxmlplus

[gentoo-dev] Re: [gentoo-dev-announce] Deprecation of Python 2.4

2009-08-30 Thread Petteri Räty
Arfrever Frehtes Taifersar Arahesis wrote: > Python 2.4 is deprecated. There are plans to mask for removal it when > remaining packages incompatible with Python 2.5 are fixed. > (We will announce masking of Python 2.4 at least 1 month before masking it.) > > Please don't add new packages to the tr