Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-03-10 Thread Tomáš Chvátal
Dne 03/10/2010 08:40 PM, Dawid Węgliński napsal(a): > On Wednesday 10 March 2010 15:13:40 Tomáš Chvátal wrote: >> As last step i fixed issue with circular dependencies. >> So please speak-up now because if no complains are sent, i will add this >> eclass in 5 hours into main tree. >> >> For the ecl

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-03-10 Thread Dawid Węgliński
On Wednesday 10 March 2010 15:13:40 Tomáš Chvátal wrote: > As last step i fixed issue with circular dependencies. > So please speak-up now because if no complains are sent, i will add this > eclass in 5 hours into main tree. > > For the eclass see attachment. > > Tomas 5 hours? :o -- Cheers Da

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-03-10 Thread Tomáš Chvátal
As last step i fixed issue with circular dependencies. So please speak-up now because if no complains are sent, i will add this eclass in 5 hours into main tree. For the eclass see attachment. Tomas # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public Li

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-03-07 Thread Rémi Cardona
Le 01/03/2010 11:38, Samuli Suominen a écrit : > I'd prefer EAUTORECONF (as it's already used in xfconf.eclass for the > same purpose, and has no reason to differ) or even SNAPSHOT, but XORG_ > prefix seems redudant We decided to put the prefix to make things clearer for ebuild writers and to make

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-03-01 Thread Samuli Suominen
On 03/01/2010 10:58 AM, Michael Haubenwallner wrote: > > > Tomáš Chvátal wrote: >> and renamed snapshot variable into saner XORG_EAUTORECONF. > >> Does it fit your needs? > > Sane enough for me ;), thank you! > > /haubi/ I'd prefer EAUTORECONF (as it's already used in xfconf.eclass for the sa

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-03-01 Thread Michael Haubenwallner
Tomáš Chvátal wrote: > and renamed snapshot variable into saner XORG_EAUTORECONF. > Does it fit your needs? Sane enough for me ;), thank you! /haubi/ -- Michael Haubenwallner Gentoo on a different level

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-02-27 Thread Tomáš Chvátal
Ok, as per discussion with remi i slightly updated the eclassdoc and renamed snapshot variable into saner XORG_EAUTORECONF. Everything is eclassdoced so it will show up on man xorg-2.eclass when in main tree. Does it fit your needs? Tom # Copyright 1999-2010 Gentoo Foundation # Distributed under

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-02-22 Thread Tomáš Chvátal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dne 22.2.2010 16:50, Michael Haubenwallner napsal(a): > > > Tomáš Chvátal wrote: >> Dne 22.2.2010 11:50, Michael Haubenwallner napsal(a): >>> PS: Just a suggestion what an ebuild could do in this case: >>> src_prepare() { >>> xorg-2_src_prepare

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-02-22 Thread Michael Haubenwallner
Tomáš Chvátal wrote: > Dne 22.2.2010 11:50, Michael Haubenwallner napsal(a): >> PS: Just a suggestion what an ebuild could do in this case: >> src_prepare() { >> xorg-2_src_prepare --force-eautoreconf >> } > SNAPSHOT="yes" xorg-2_src_prepare > > ^ this does not fit your needs? It does exa

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-02-22 Thread Tomáš Chvátal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dne 22.2.2010 11:50, Michael Haubenwallner napsal(a): > > PS: Just a suggestion what an ebuild could do in this case: > src_prepare() { > xorg-2_src_prepare --force-eautoreconf > } SNAPSHOT="yes" xorg-2_src_prepare ^ this does not fit your nee

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-02-22 Thread Michael Haubenwallner
Tomáš Chvátal wrote: > Hi, > we prepared new eclass for x11 packages that should be used as > replacement for x-modular.eclass. > Prefix support done. There's one thing I don't find addressed yet: When some patch[1] necessary for some (prefix-) platform has to touch configure.ac or Makefile.am

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-02-18 Thread David Leverton
On Thursday 18 February 2010 23:16:54 Tomáš Chvátal wrote: > That || die is not for eautoreconf > > [[ -e "something" ]] && somethingexists || somethingisnotexisting > > For your behaviour it would have to look like this > > [[ -e "something" ]] && { somethingexists || die if the commands failed ;

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-02-18 Thread Tomáš Chvátal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> [[ -e "./configure.ac" ]] && eautoreconf || ewarn >> "Unable to autoreconf >> the configure script. Things may fail." > >> That'll ewarn if configure.ac doesn't exist at all. Doesn't eautoreconf die >> anyway if it fails, a

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-02-18 Thread Tomáš Chvátal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dne 19.2.2010 00:11, David Leverton napsal(a): > On Thursday 18 February 2010 22:33:42 Tomáš Chvátal wrote: >> [[ ${PN} == util-macros ]] || DEPEND+=" >=x11-misc/util-macros-1.3.0" >> [[ ${PN} == font-util ]] || DEPEND+=" >=media-fonts/font-u

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-02-18 Thread David Leverton
On Thursday 18 February 2010 22:33:42 Tomáš Chvátal wrote: > [[ ${PN} == util-macros ]] || DEPEND+=" >=x11-misc/util-macros-1.3.0" > [[ ${PN} == font-util ]] || DEPEND+=" >=media-fonts/font-util-1.1.1-r1" Do non-fonts really need font-util there? Looks like that sets up a nice circul

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-02-18 Thread Tomáš Chvátal
As I got few pointers from Samuli i fixed few slight issues he found out. For the history of changes of course git log works quite well :] See attached diff and new full eclass. Tomas # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Hea

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-02-18 Thread Tomáš Chvátal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dne 18.2.2010 23:39, Jeremy Olexa napsal(a): > > On Thu, 18 Feb 2010 23:33:42 +0100, Tomáš Chvátal > wrote: >> Requires eapi3 or any later when added, so wont work with eapi 012. > > Hey, can you explain why you choose to do this and what benefit th

Re: [gentoo-dev] [RFC] New eclass for x11 packages

2010-02-18 Thread Jeremy Olexa
On Thu, 18 Feb 2010 23:33:42 +0100, Tomáš Chvátal wrote: > Requires eapi3 or any later when added, so wont work with eapi 012. Hey, can you explain why you choose to do this and what benefit there is to doing so? Thanks. -Jeremy