/[gentoo-projects]/portage-utils/README
Gentoo

Contents of /portage-utils/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (hide annotations) (download)
Mon Dec 12 04:24:59 2005 UTC (8 years, 8 months ago) by solar
Branch: MAIN
Changes since 1.13: +8 -5 lines
- update docs for new applet syntax

1 solar 1.14 # Copyright 2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5 vapier 1.5 Developers to contact:
6     solar@gentoo.org
7     vapier@gentoo.org
8    
9 solar 1.1 /* Add notes here */
10 solar 1.3
11 solar 1.13 disable color when tty = NULL; may break less?
12 vapier 1.6
13 solar 1.3 - multiline reads don't yet work for quse/qsearch
14    
15 solar 1.11 - Speed is everything.
16     Having your PORTDIR and VDB on the right file system helps dramatically
17    
18     IDE raid with PORTDIR on reiserfs:
19     q -r
20     q: Finished 20655 entries in 1.990951 seconds
21    
22     IDE raid with PORTDIR on ext3:
23     q -r
24     q: Finished 20655 entries in 203.664252 seconds
25    
26    
27 solar 1.3 - Fetching via anoncvs.
28     The cvs module for gentoo-projects is mirrored. You may download a
29     pretty recent copy using the following command. Note: that this is not
30     the official cvs server but rather a mirror so it lags about an hour or
31     so behind the real tree which is hosted on cvs.gentoo.org
32    
33     cvs -d:pserver:anonymous@zarquon.twobit.net:/var/cvsroot -q -z9 co -R gentoo-projects/portage-utils
34    
35     - Adding applets is easy using the q framework.
36     cp template.c qmyapplet.c (all applets use the prefix of the letter 'q')
37 solar 1.14 edit applets.h add your prototype, then scroll down the typedef for
38     applets[] and add your applet name following the existing syntax. Please
39     try to keep applet names under 8 chars. Finally, edit main.c, scroll to
40     the bottom, and add your applet to the #include list.
41 solar 1.3
42 solar 1.4 When and where you can please try to use an existing applet and extend
43     on it's functionality by adding more options vs adding a bunch of new
44     little applets.

  ViewVC Help
Powered by ViewVC 1.1.20