public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] emerge improvment
@ 2003-09-13 22:12 Philippe Lafoucrière
  2003-09-13 22:41 ` Luke-Jr
  2003-09-14 15:35 ` Chris Gianelloni
  0 siblings, 2 replies; 4+ messages in thread
From: Philippe Lafoucrière @ 2003-09-13 22:12 UTC (permalink / raw
  To: Gentoo-dev

hi all.

I just discovered the etcat utility which is really great. In fact, I
had a problem with quake3-nsco, and someone told me that there was a
"dedicated" USE flag for this package. I had no idea that it was
possible to get available flags for a package, and I think a lot of
gentoo users don't do an etcat before emerging something.

That's why I propore a new tool in portage. This would be a frontend to
emerge. I  already proposed it a couple of months ago. I won't be able
to develop it, but I know some devs here with great skills in python.
(BTW, I couldn't find the portage API doc, just :
http://dev.gentoo.org/~g2boojum/portage.html#importing-portage
).

The tool would be developed in python + dialog
(http://pythondialog.sourceforge.net/), since we could use the portage
api directly.

First Menu :

- Portage update (-> emerge rsync)
- Portage upgrade (-> emerge -UDp world, then UD world)
- Emerge a package (-> see bellow)
- Quit 

-> Emerge a package will display a menu with all categories from 
/usr/portage/profiles/categories.
When a category is selected, the tool would display all packages in this
category :

----------------------------------------------------------------

[ X ] package      packages Desc (This package is installed)
[   ] package2     other package Desc (package not installed).


----------------------------------------------------------------

--> When selecting a new package :
(for exemple : games-fps/quake3-nsco-1.45)

----------------------------------------------------------------

[ X ] opengl    : Adds support for OpenGL
[ X ] X         : Adds support for XFree86
[   ] dedicated : Adds support for dedicated game servers


	[ OK ] [UNMERGE] [CANCEL]

----------------------------------------------------------------

-> The user can see all available USE flags for this package. If he
changes a flag, the package will be emerged again with the new option.
He also have the possibility of unmerge it.

Someone interrested ? please let me know.


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] emerge improvment
  2003-09-13 22:12 [gentoo-dev] emerge improvment Philippe Lafoucrière
@ 2003-09-13 22:41 ` Luke-Jr
  2003-09-14  1:49   ` Brian Harring
  2003-09-14 15:35 ` Chris Gianelloni
  1 sibling, 1 reply; 4+ messages in thread
From: Luke-Jr @ 2003-09-13 22:41 UTC (permalink / raw
  To: lafou, Gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I always run a 'emerge -vp' on the package before I install it to see what it 
depends on and what USE flags take effect on it... Works well for me.
If you want a GUI, try KPortage. I believe it has an interface for USE 
flags...

On Saturday 13 September 2003 10:12 pm, Philippe Lafoucrière wrote:
> hi all.
>
> I just discovered the etcat utility which is really great. In fact, I
> had a problem with quake3-nsco, and someone told me that there was a
> "dedicated" USE flag for this package. I had no idea that it was
> possible to get available flags for a package, and I think a lot of
> gentoo users don't do an etcat before emerging something.
>
> That's why I propore a new tool in portage. This would be a frontend to
> emerge. I  already proposed it a couple of months ago. I won't be able
> to develop it, but I know some devs here with great skills in python.
> (BTW, I couldn't find the portage API doc, just :
> http://dev.gentoo.org/‾g2boojum/portage.html#importing-portage
> ).
>
> The tool would be developed in python + dialog
> (http://pythondialog.sourceforge.net/), since we could use the portage
> api directly.
>
> First Menu :
>
> - Portage update (-> emerge rsync)
> - Portage upgrade (-> emerge -UDp world, then UD world)
> - Emerge a package (-> see bellow)
> - Quit
>
> -> Emerge a package will display a menu with all categories from
> /usr/portage/profiles/categories.
> When a category is selected, the tool would display all packages in this
> category :
>
> ----------------------------------------------------------------
>
> [ X ] package      packages Desc (This package is installed)
> [   ] package2     other package Desc (package not installed).
>
>
> ----------------------------------------------------------------
>
> --> When selecting a new package :
> (for exemple : games-fps/quake3-nsco-1.45)
>
> ----------------------------------------------------------------
>
> [ X ] opengl    : Adds support for OpenGL
> [ X ] X         : Adds support for XFree86
> [   ] dedicated : Adds support for dedicated game servers
>
>
> 	[ OK ] [UNMERGE] [CANCEL]
>
> ----------------------------------------------------------------
>
> -> The user can see all available USE flags for this package. If he
> changes a flag, the package will be emerged again with the new option.
> He also have the possibility of unmerge it.
>
> Someone interrested ? please let me know.
>
>
> --
> gentoo-dev@gentoo.org mailing list

- -- 
Luke-Jr
Developer, Gentoo Linux
http://www.gentoo.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/Y50KZl/BHdU+lYMRAvQ4AJ44oAKGLFDMyV35jru8dGydbh3kngCfdFBV
dLxVUKLYW9h7BMIgdco+LQI=
=CRVU
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] emerge improvment
  2003-09-13 22:41 ` Luke-Jr
@ 2003-09-14  1:49   ` Brian Harring
  0 siblings, 0 replies; 4+ messages in thread
From: Brian Harring @ 2003-09-14  1:49 UTC (permalink / raw
  To: Luke-Jr; +Cc: gentoo-dev


On Saturday, September 13, 2003, at 05:41 PM, Luke-Jr wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I always run a 'emerge -vp' on the package before I install it to see 
> what it
> depends on and what USE flags take effect on it... Works well for me.
> If you want a GUI, try KPortage. I believe it has an interface for USE
> flags...
I may be wrong, but I'm thinking he's basically after a textual (eg 
ncurses) interface akin to kportage.  I haven't looked at the kportage 
code, but I'm guessing trying to abstract out the gui (so that you 
could use say a ncurses interface) probably wouldn't be fun...
Any one know of an existing project/codebase that is structured this 
way?  Eg, somewhat interface agnostic?  Anygui would be perfect for 
this, exempting last I checked it was in the middle of rather large 
changes...
~bdh

>
> On Saturday 13 September 2003 10:12 pm, Philippe Lafoucrière wrote:
>> hi all.
>>
>> I just discovered the etcat utility which is really great. In fact, I
>> had a problem with quake3-nsco, and someone told me that there was a
>> "dedicated" USE flag for this package. I had no idea that it was
>> possible to get available flags for a package, and I think a lot of
>> gentoo users don't do an etcat before emerging something.
>>
>> That's why I propore a new tool in portage. This would be a frontend 
>> to
>> emerge. I  already proposed it a couple of months ago. I won't be able
>> to develop it, but I know some devs here with great skills in python.
>> (BTW, I couldn't find the portage API doc, just :
>> http://dev.gentoo.org/‾g2boojum/portage.html#importing-portage
>> ).
>>
>> The tool would be developed in python + dialog
>> (http://pythondialog.sourceforge.net/), since we could use the portage
>> api directly.
>>
>> First Menu :
>>
>> - Portage update (-> emerge rsync)
>> - Portage upgrade (-> emerge -UDp world, then UD world)
>> - Emerge a package (-> see bellow)
>> - Quit
>>
>> -> Emerge a package will display a menu with all categories from
>> /usr/portage/profiles/categories.
>> When a category is selected, the tool would display all packages in 
>> this
>> category :
>>
>> ----------------------------------------------------------------
>>
>> [ X ] package      packages Desc (This package is installed)
>> [   ] package2     other package Desc (package not installed).
>>
>>
>> ----------------------------------------------------------------
>>
>> --> When selecting a new package :
>> (for exemple : games-fps/quake3-nsco-1.45)
>>
>> ----------------------------------------------------------------
>>
>> [ X ] opengl    : Adds support for OpenGL
>> [ X ] X         : Adds support for XFree86
>> [   ] dedicated : Adds support for dedicated game servers
>>
>>
>> 	[ OK ] [UNMERGE] [CANCEL]
>>
>> ----------------------------------------------------------------
>>
>> -> The user can see all available USE flags for this package. If he
>> changes a flag, the package will be emerged again with the new option.
>> He also have the possibility of unmerge it.
>>
>> Someone interrested ? please let me know.
>>
>>
>> --
>> gentoo-dev@gentoo.org mailing list
>
> - --
> Luke-Jr
> Developer, Gentoo Linux
> http://www.gentoo.org/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQE/Y50KZl/BHdU+lYMRAvQ4AJ44oAKGLFDMyV35jru8dGydbh3kngCfdFBV
> dLxVUKLYW9h7BMIgdco+LQI=
> =CRVU
> -----END PGP SIGNATURE-----
>
>
> --
> gentoo-dev@gentoo.org mailing list
>


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] emerge improvment
  2003-09-13 22:12 [gentoo-dev] emerge improvment Philippe Lafoucrière
  2003-09-13 22:41 ` Luke-Jr
@ 2003-09-14 15:35 ` Chris Gianelloni
  1 sibling, 0 replies; 4+ messages in thread
From: Chris Gianelloni @ 2003-09-14 15:35 UTC (permalink / raw
  To: lafou; +Cc: Gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2408 bytes --]

On Sat, 2003-09-13 at 18:12, Philippe Lafoucrière wrote:
> hi all.
> 
> I just discovered the etcat utility which is really great. In fact, I
> had a problem with quake3-nsco, and someone told me that there was a
> "dedicated" USE flag for this package. I had no idea that it was
> possible to get available flags for a package, and I think a lot of
> gentoo users don't do an etcat before emerging something.

emerge -vp quake3-nsco

> That's why I propore a new tool in portage. This would be a frontend to
> emerge. I  already proposed it a couple of months ago. I won't be able
> to develop it, but I know some devs here with great skills in python.
> (BTW, I couldn't find the portage API doc, just :
> http://dev.gentoo.org/~g2boojum/portage.html#importing-portage
> ).
> 
> The tool would be developed in python + dialog
> (http://pythondialog.sourceforge.net/), since we could use the portage
> api directly.
> 
> First Menu :
> 
> - Portage update (-> emerge rsync)
> - Portage upgrade (-> emerge -UDp world, then UD world)
> - Emerge a package (-> see bellow)
> - Quit 
> 
> -> Emerge a package will display a menu with all categories from 
> /usr/portage/profiles/categories.
> When a category is selected, the tool would display all packages in this
> category :
> 
> ----------------------------------------------------------------
> 
> [ X ] package      packages Desc (This package is installed)
> [   ] package2     other package Desc (package not installed).
> 
> 
> ----------------------------------------------------------------
> 
> --> When selecting a new package :
> (for exemple : games-fps/quake3-nsco-1.45)
> 
> ----------------------------------------------------------------
> 
> [ X ] opengl    : Adds support for OpenGL
> [ X ] X         : Adds support for XFree86
> [   ] dedicated : Adds support for dedicated game servers
> 
> 
> 	[ OK ] [UNMERGE] [CANCEL]
> 
> ----------------------------------------------------------------
> 
> -> The user can see all available USE flags for this package. If he
> changes a flag, the package will be emerged again with the new option.
> He also have the possibility of unmerge it.
> 
> Someone interrested ? please let me know.
> 
> 
> --
> gentoo-dev@gentoo.org mailing list
-- 
Chris Gianelloni
Developer, Gentoo Linux
Games Team

Is your power animal a penguin?

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-14 15:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-13 22:12 [gentoo-dev] emerge improvment Philippe Lafoucrière
2003-09-13 22:41 ` Luke-Jr
2003-09-14  1:49   ` Brian Harring
2003-09-14 15:35 ` Chris Gianelloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox