RE: [Cooker] compssList ?!

2000-02-09 Thread Banf, Oliver 3843 EXT EPE-8

> tell me if i'm still missing something!
> 

No ! And once again. Many thanks.

so long
oba



Re: [Cooker] compssList ?!

2000-02-09 Thread Pixel

"Banf, Oliver 3843 EXT EPE-8" <[EMAIL PROTECTED]> writes:

> " Pixel  writes:
> 
> > > I've already done that, but still have no clue about the numbers
> > > behind the packages and categories.
> > 
> > I've added this:
> > 
> > #- lower bound on the left ( aka 90 means [90-100[ )
> > my %compssList = (
> >   90 => __("must have"), #- every install have these packages 
> > (unless hand de-selected in expert, or not enough room)
> >   80 => __("important"), #- every custom install have these packages
> (unless not enough space)
> >  #- has minimum X install (XFree86 + >
> icewm)(normal)
> >   70 => __("very nice"), #- KDE(normal)
> >   60 => __("nice"),  #- gnome(normal)
> >   50 => __("interesting"),
> >   40 => __("interesting"),
> >   30 => __("maybe"),
> >   20 => __("maybe"),
> >   10 => __("useless"),
> >0 => __("garbage"),
> > );
> > 
> > it will be used in the individual package selection to 
> > display the Rating for each package
> 
> O.K. I'll try this. But what about the negative numbers?
> I saw something like -30 in the file.

ok, i add more :)


#- lower bound on the left ( aka 90 means [90-100[ )
my %compssList = (
  90 => __("must have"), #- every install have these packages (unless hand de-selected 
in expert, or not enough room)
  80 => __("important"), #- every beginner/custom install have these packages (unless 
not enough space)
 #- has minimum X install (XFree86 + icewm)(normal)
  70 => __("very nice"), #- KDE(normal)
  60 => __("nice"),  #- gnome(normal)
  50 => __("interesting"),
  40 => __("interesting"),
  30 => __("maybe"),
  20 => __("maybe"),
  10 => __("useless"),
   0 => __("garbage"),
#- if the package requires locales-LANG and LANG is chosen, rating += 90
 -10 => __("i18n (important)"), #- every install in the corresponding lang have these 
packages
 -20 => __("i18n (very nice)"), #- every beginner/custom install in the corresponding 
lang have theses packages
 -30 => __("i18n (nice)"),
);
#- HACK: rating += 10 if the group is selected and it is not a kde package (aka name 
!~ /^k/)


tell me if i'm still missing something!



RE: [Cooker] compssList ?!

2000-02-09 Thread Banf, Oliver 3843 EXT EPE-8

" Pixel  writes:

> > I've already done that, but still have no clue about the numbers
> > behind the packages and categories.
> 
> I've added this:
> 
> #- lower bound on the left ( aka 90 means [90-100[ )
> my %compssList = (
>   90 => __("must have"), #- every install have these packages 
> (unless hand de-selected in expert, or not enough room)
>   80 => __("important"), #- every custom install have these packages
(unless not enough space)
>  #- has minimum X install (XFree86 + >
icewm)(normal)
>   70 => __("very nice"), #- KDE(normal)
>   60 => __("nice"),  #- gnome(normal)
>   50 => __("interesting"),
>   40 => __("interesting"),
>   30 => __("maybe"),
>   20 => __("maybe"),
>   10 => __("useless"),
>0 => __("garbage"),
> );
> 
> it will be used in the individual package selection to 
> display the Rating for each package

O.K. I'll try this. But what about the negative numbers?
I saw something like -30 in the file.
 
> i you have better words, please do tell :)
Not yet. If i will find some I'll tell you first :-))

> Oliver, if it's still not enough, tell me.
Many thanks for the helping hand.

so long
oba



Re: [Cooker] compssList ?!

2000-02-09 Thread Pixel

"Banf, Oliver 3843 EXT EPE-8" <[EMAIL PROTECTED]> writes:

> " Pixel  writes:
> > can you look at mandrake.com/drakx/README first and then tell 
> > me if you're still
> > missing something?
> 
> I've already done that, but still have no clue about the numbers
> behind the packages and categories.

I've added this:

#- lower bound on the left ( aka 90 means [90-100[ )
my %compssList = (
  90 => __("must have"), #- every install have these packages (unless hand de-selected 
in expert, or not enough room)
  80 => __("important"), #- every custom install have these packages (unless not 
enough space)
 #- has minimum X install (XFree86 + icewm)(normal)
  70 => __("very nice"), #- KDE(normal)
  60 => __("nice"),  #- gnome(normal)
  50 => __("interesting"),
  40 => __("interesting"),
  30 => __("maybe"),
  20 => __("maybe"),
  10 => __("useless"),
   0 => __("garbage"),
);

it will be used in the individual package selection to display the Rating for
each package

i you have better words, please do tell :)


Oliver, if it's still not enough, tell me.



RE: [Cooker] compssList ?!

2000-02-09 Thread Banf, Oliver 3843 EXT EPE-8

" Pixel  writes:
> can you look at mandrake.com/drakx/README first and then tell 
> me if you're still
> missing something?

I've already done that, but still have no clue about the numbers
behind the packages and categories.

Might be that I'm to stupid :-)

TNX
oba

---
Oliver Banf
EPE-8 (EXT awato IT-Services)
F&E Information Technologie & Support

Telefon: +49-6221-92-3843
Fax: +49-6221-92-3849
email  : [EMAIL PROTECTED]
---



Re: [Cooker] compssList ?!

2000-02-09 Thread Pixel

"Banf, Oliver 3843 EXT EPE-8" <[EMAIL PROTECTED]> writes:

> Now to my real problem. What I *must* do is to insert a new installation
> bullet into the 'graphical' and 'newt' installation. I also have to
> add some packages and do a costumized package pre-selection.
> 
> After inspected 'compss', 'compssUsers' and 'compssList' I really have
> problems to understand the structure of 'compssList'.
> 
> I've allready added the menubullets in second-stage install and I can
> see them.
> 
> How do J add another dgGroup in 'compssList' and what are the numbers
> behind the packages and categories for? 
> 
> Can you please explain that miracle to me :-) ?

can you look at mandrake.com/drakx/README first and then tell me if you're still
missing something?



Re: [Cooker] compssList

1999-11-21 Thread Pixel

Chris Blazek <[EMAIL PROTECTED]> writes:

> 
> pid1 = fork();  /1st child
> pid2 = fork();  /2nd child
> pid3 = fork();  /3rd child

uh!!!

at the end you have 2^3 processes :-(



Re: [Cooker] compssList

1999-11-21 Thread Chris Blazek

I just had a basic question about forks. I'm writing an app that needs to fork
off three children and I need to distinguish between the children with wait().
Can anyone help?

ex of what I tried to get to work...

pid1 = fork();  /1st child
pid2 = fork();  /2nd child
pid3 = fork();  /3rd child


if (pid1 != 0 )
{  /*  Paren't block of code  */}

else if (pid1 = 0)
{  /* 1st child's block of code  */}

else if (pid2 = 0)
{  /*  2nd child's block of code  */}

else
{  /*  3rd child's block of code  */}


just to keep it short... results are the parent block of code is run and then
the else statement is run... It doesn't like it when i try to determine the
child in an else if statement or an if statement like i have... Any ideas?

Thanks in advance,
Chris Blazek



Re: [Cooker] compssList

1999-01-16 Thread Pixel

Axalon Bloodstone <[EMAIL PROTECTED]> writes:
> 
> Does it go thru the whole list and deselect pkgs that require whatever you
> just unselected? 

well, it tries to deselect the autoselected packages, not the hand-selected
ones. The problem comes from , for eg, if you deselect libgimp, it will deselect
gimp also, even if you had hand-selected it.



Re: [Cooker] compssList

1999-01-16 Thread Axalon Bloodstone



On 18 Nov 1999, Pixel wrote:

> "Lord And Master;)" <[EMAIL PROTECTED]> writes:
> 
> > 
> > I have gone back and checked after I got to the bottom of the list and made sure
> > they were unselected. but maybe it dosn't show up that it is selected if it is a
> > dependecy select? not sure on how that works?
> 
> it should be shown as selected, even it was selected as a dependency.

Does it go thru the whole list and deselect pkgs that require whatever you
just unselected? 



Re: [Cooker] compssList (Dependancy installs)

1999-01-16 Thread Axalon Bloodstone

On Thu, 18 Nov 1999, Lord And Master;) wrote:
[snip]
> 
> I have gone back and checked after I got to the bottom of the list and made sure
> they were unselected. but maybe it dosn't show up that it is selected if it is a
> dependecy select? not sure on how that works?
 
Sounds right to me, I've yet to see it tell me that it's adding foo.rpm
because frub.rpm needs it. 

I smell new expert feature :-) 

Ok we'll use this as an example,

MySQL-shared-libs-3.22.25-6mdk 91710 bash-2.03-17mdk glibc-2.1.2-8mdk

I select MySQL-shared-libs (from where ever its hideing in pkg selection)
dialog box pops up (same as the one thats onscreen, to make it easy)
except instead of Administration:whatever it has just MySQL-shared-libs as
the primary branch and it's dependancy bash and glibc. From here we can
select/deselect dependancy.

At the very least it should do the newt thing.. ala. "hey dummy you forgot
libfoo, so snazzy_prog isn't gonna work"



Re: [Cooker] compssList

1999-01-16 Thread Pixel

"Lord And Master;)" <[EMAIL PROTECTED]> writes:

> 
> I have gone back and checked after I got to the bottom of the list and made sure
> they were unselected. but maybe it dosn't show up that it is selected if it is a
> dependecy select? not sure on how that works?

it should be shown as selected, even it was selected as a dependency.



Re: [Cooker] compssList

1999-01-16 Thread Lord And Master;)

Axalon Bloodstone wrote:

> On Thu, 18 Nov 1999, Lord And Master;) wrote:
>
> > Pixel wrote:
> >
> > > Axalon Bloodstone <[EMAIL PROTECTED]> writes:
> > >
> > > > >
> > > > > so If I were to remove something from compssList it would no longer be
> > > > > auto-installed?
> > > > >
> > > >
> > > > Thats my understanding, yes
> > >
> > > that's mine too :)
> >
> > yahooo no more postgress no more tetex!
> > lol
>
> If you've unselected them the only reason they would get installed is if
> something else required them
>
> You get postgres if you install midgard-php-pgsql or mod_php3
> You get tetex if you install jadetex or klyx
>
> > thanks for all the help I hope I did it right I just finished making the new
> > depslist and edied the compss and compssList
> >
> > btw the comandline in the README file for the makedeps program dose not work
> >
> > as far as I can tell its gendepslist Mandrake/base/depslist Mandrake/RPMS/*
> > that generates the files correctly
> >
> > -DarkWlf
> >
> >
> >

I have gone back and checked after I got to the bottom of the list and made sure
they were unselected. but maybe it dosn't show up that it is selected if it is a
dependecy select? not sure on how that works?




Re: [Cooker] compssList

1999-01-16 Thread Axalon Bloodstone



On Thu, 18 Nov 1999, Lord And Master;) wrote:

> Pixel wrote:
> 
> > Axalon Bloodstone <[EMAIL PROTECTED]> writes:
> >
> > > >
> > > > so If I were to remove something from compssList it would no longer be
> > > > auto-installed?
> > > >
> > >
> > > Thats my understanding, yes
> >
> > that's mine too :)
> 
> yahooo no more postgress no more tetex!
> lol

If you've unselected them the only reason they would get installed is if
something else required them

You get postgres if you install midgard-php-pgsql or mod_php3
You get tetex if you install jadetex or klyx

> thanks for all the help I hope I did it right I just finished making the new
> depslist and edied the compss and compssList
> 
> btw the comandline in the README file for the makedeps program dose not work
> 
> as far as I can tell its gendepslist Mandrake/base/depslist Mandrake/RPMS/*
> that generates the files correctly
> 
> -DarkWlf
> 
> 
> 



Re: [Cooker] compssList

1999-01-16 Thread Pixel

"Lord And Master;)" <[EMAIL PROTECTED]> writes:

> 
> is the files that the old one creates still compat or do I need to update it?

same generated file, no problemo :)



Re: [Cooker] compssList

1999-01-16 Thread Lord And Master;)

Pixel wrote:

> "Lord And Master;)" <[EMAIL PROTECTED]> writes:
>
> >
> > btw the comandline in the README file for the makedeps program dose not work
> >
> > as far as I can tell its gendepslist Mandrake/base/depslist Mandrake/RPMS/*
> > that generates the files correctly
> >
>
> gendepslist has changed a bit (to be able to use hdlist for speed)
>
> where did you find yours?

in the misc dir of my mirror of the ftp site
might not be updated lemme go check

is the files that the old one creates still compat or do I need to update it?




Re: [Cooker] compssList

1999-01-16 Thread Pixel

"Lord And Master;)" <[EMAIL PROTECTED]> writes:

> 
> btw the comandline in the README file for the makedeps program dose not work
> 
> as far as I can tell its gendepslist Mandrake/base/depslist Mandrake/RPMS/*
> that generates the files correctly
> 

gendepslist has changed a bit (to be able to use hdlist for speed)

where did you find yours?



Re: [Cooker] compssList

1999-01-16 Thread Lord And Master;)

Pixel wrote:

> Axalon Bloodstone <[EMAIL PROTECTED]> writes:
>
> > >
> > > so If I were to remove something from compssList it would no longer be
> > > auto-installed?
> > >
> >
> > Thats my understanding, yes
>
> that's mine too :)

yahooo no more postgress no more tetex!
lol
thanks for all the help I hope I did it right I just finished making the new
depslist and edied the compss and compssList

btw the comandline in the README file for the makedeps program dose not work

as far as I can tell its gendepslist Mandrake/base/depslist Mandrake/RPMS/*
that generates the files correctly

-DarkWlf





Re: [Cooker] compssList

1999-01-16 Thread Pixel

Axalon Bloodstone <[EMAIL PROTECTED]> writes:

> > 
> > so If I were to remove something from compssList it would no longer be
> > auto-installed?
> > 
> 
> Thats my understanding, yes 

that's mine too :)



Re: [Cooker] compssList

1999-01-16 Thread Axalon Bloodstone



On Thu, 18 Nov 1999, Lord And Master;) wrote:

> Axalon Bloodstone wrote:
> 
> > On Thu, 18 Nov 1999, Lord And Master;) wrote:
> >
> > > Pixel wrote:
> > >
> > > > "Lord And Master;)" <[EMAIL PROTECTED]> writes:
> > > >
> > > > > Ok first question compssList is the only file that I need to update
> > > > > right?
> > > >
> > > > if you want your rpm to be visible, put it in compss
> > > >
> > > > >
> > > > > Secound question what do the numbers mean?
> > > >
> > > > some kind of mark between 0 and 99
> > > >
> > > > used to select X Megabytes
> > > > eg: for 250Mb in normal, it selects the higher marked packages plus their
> > > > dependencies until 250Mb is reached.
> > >
> > > So I do not have to put the package in compssList only compss?
> >
> > Add it to compss for it to be visable/selectable
> > Add it to compssList for it tobe Auto installed
> >
> >
> 
> so If I were to remove something from compssList it would no longer be
> auto-installed?
> 

Thats my understanding, yes 



Re: [Cooker] compssList

1999-01-16 Thread Lord And Master;)

Axalon Bloodstone wrote:

> On Thu, 18 Nov 1999, Lord And Master;) wrote:
>
> > Pixel wrote:
> >
> > > "Lord And Master;)" <[EMAIL PROTECTED]> writes:
> > >
> > > > Ok first question compssList is the only file that I need to update
> > > > right?
> > >
> > > if you want your rpm to be visible, put it in compss
> > >
> > > >
> > > > Secound question what do the numbers mean?
> > >
> > > some kind of mark between 0 and 99
> > >
> > > used to select X Megabytes
> > > eg: for 250Mb in normal, it selects the higher marked packages plus their
> > > dependencies until 250Mb is reached.
> >
> > So I do not have to put the package in compssList only compss?
>
> Add it to compss for it to be visable/selectable
> Add it to compssList for it tobe Auto installed
>
>

so If I were to remove something from compssList it would no longer be
auto-installed?




Re: [Cooker] compssList

1999-01-16 Thread Axalon Bloodstone



On Thu, 18 Nov 1999, Lord And Master;) wrote:

> Pixel wrote:
> 
> > "Lord And Master;)" <[EMAIL PROTECTED]> writes:
> >
> > > Ok first question compssList is the only file that I need to update
> > > right?
> >
> > if you want your rpm to be visible, put it in compss
> >
> > >
> > > Secound question what do the numbers mean?
> >
> > some kind of mark between 0 and 99
> >
> > used to select X Megabytes
> > eg: for 250Mb in normal, it selects the higher marked packages plus their
> > dependencies until 250Mb is reached.
> 
> So I do not have to put the package in compssList only compss?


Add it to compss for it to be visable/selectable
Add it to compssList for it tobe Auto installed
  
 



Re: [Cooker] compssList

1999-01-16 Thread Lord And Master;)

Pixel wrote:

> "Lord And Master;)" <[EMAIL PROTECTED]> writes:
>
> > Ok first question compssList is the only file that I need to update
> > right?
>
> if you want your rpm to be visible, put it in compss
>
> >
> > Secound question what do the numbers mean?
>
> some kind of mark between 0 and 99
>
> used to select X Megabytes
> eg: for 250Mb in normal, it selects the higher marked packages plus their
> dependencies until 250Mb is reached.

So I do not have to put the package in compssList only compss?




Re: [Cooker] compssList

1999-01-16 Thread Pixel

"Lord And Master;)" <[EMAIL PROTECTED]> writes:

> Ok first question compssList is the only file that I need to update
> right?

if you want your rpm to be visible, put it in compss

> 
> Secound question what do the numbers mean?

some kind of mark between 0 and 99

used to select X Megabytes 
eg: for 250Mb in normal, it selects the higher marked packages plus their
dependencies until 250Mb is reached.