| 1 | # Copyright 2005-2006 Gentoo Foundation |
1 | # Copyright 2005-2006 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-projects/portage-utils/README,v 1.17 2006/02/26 02:14:05 solar Exp $ |
3 | # $Header: /var/cvsroot/gentoo-projects/portage-utils/README,v 1.18 2006/04/11 23:35:39 vapier Exp $ |
| 4 | |
4 | |
| 5 | Developers to contact: |
5 | Developers to contact: |
| 6 | solar@gentoo.org |
6 | solar@gentoo.org |
| 7 | vapier@gentoo.org |
7 | vapier@gentoo.org |
| 8 | |
8 | |
| 9 | |
|
|
| 10 | |
|
|
| 11 | Dev Notes: |
|
|
| 12 | |
9 | |
| 13 | - Speed is everything. |
10 | - Speed is everything. |
| 14 | Having your PORTDIR and VDB on the right file system helps dramatically |
11 | Having your PORTDIR and VDB on the right file system helps dramatically |
| 15 | |
12 | |
| 16 | IDE raid with PORTDIR on reiserfs: |
13 | IDE raid with PORTDIR on reiserfs: |
| … | |
… | |
| 27 | pretty recent copy using the following command. Note: that this is not |
24 | pretty recent copy using the following command. Note: that this is not |
| 28 | the official cvs server but rather a mirror so it lags about an hour or |
25 | the official cvs server but rather a mirror so it lags about an hour or |
| 29 | so behind the real tree which is hosted on cvs.gentoo.org |
26 | so behind the real tree which is hosted on cvs.gentoo.org |
| 30 | |
27 | |
| 31 | cvs -d:pserver:anonymous@zarquon.twobit.net:/var/cvsroot -q -z9 co -R gentoo-projects/portage-utils |
28 | cvs -d:pserver:anonymous@zarquon.twobit.net:/var/cvsroot -q -z9 co -R gentoo-projects/portage-utils |
| 32 | |
|
|
| 33 | |
|
|
| 34 | - Adding applets is easy using the q framework. |
|
|
| 35 | Note: Please try to keep applet names under 8 chars. |
|
|
| 36 | * cp template.c qmyapplet.c (all applets use the prefix of the letter 'q') |
|
|
| 37 | * applets.h: add your prototype (see DECLARE_APPLET macro) |
|
|
| 38 | * applets.h: add a new line to applets[] following the existing syntax |
|
|
| 39 | * run `make depend` to auto regenerate dependent files |
|
|
| 40 | |
|
|
| 41 | When and where you can please try to use an existing applet and extend |
|
|
| 42 | on its functionality by adding more options vs adding a bunch of new |
|
|
| 43 | little applets. |
|
|
| 44 | |
|
|
| 45 | # Examples: |
|
|
| 46 | qlist -ao | scanelf -BqgN libssl.so.0.9.6 -f - |
|
|