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

Diff of /portage-utils/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.15 Revision 1.16
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/Attic/README,v 1.15 2006/01/05 03:35:43 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-projects/portage-utils/Attic/README,v 1.16 2006/01/24 23:35:08 vapier Exp $
4 4
5Developers to contact: 5Developers to contact:
6solar@gentoo.org 6 solar@gentoo.org
7vapier@gentoo.org 7 vapier@gentoo.org
8 8
9/* Add notes here */
10 9
11disable color when tty = NULL; may break less?
12 10
13- multiline reads don't yet work for quse/qsearch 11Dev Notes:
14 12
15- Speed is everything. 13- Speed is everything.
16 Having your PORTDIR and VDB on the right file system helps dramatically 14 Having your PORTDIR and VDB on the right file system helps dramatically
17 15
18 IDE raid with PORTDIR on reiserfs: 16 IDE raid with PORTDIR on reiserfs:
30the official cvs server but rather a mirror so it lags about an hour or 28the official cvs server but rather a mirror so it lags about an hour or
31so behind the real tree which is hosted on cvs.gentoo.org 29so behind the real tree which is hosted on cvs.gentoo.org
32 30
33cvs -d:pserver:anonymous@zarquon.twobit.net:/var/cvsroot -q -z9 co -R gentoo-projects/portage-utils 31cvs -d:pserver:anonymous@zarquon.twobit.net:/var/cvsroot -q -z9 co -R gentoo-projects/portage-utils
34 32
33
35- Adding applets is easy using the q framework. 34- Adding applets is easy using the q framework.
35 Note: Please try to keep applet names under 8 chars.
36cp template.c qmyapplet.c (all applets use the prefix of the letter 'q') 36 * cp template.c qmyapplet.c (all applets use the prefix of the letter 'q')
37edit applets.h add your prototype, then scroll down the typedef for 37 * applets.h: add your prototype (see DECLARE_APPLET macro)
38applets[] and add your applet name following the existing syntax. Please 38 * applets.h: add a new line to applets[] following the existing syntax
39try to keep applet names under 8 chars. Finally, edit main.c, scroll to 39 * run `make depend` to auto regenerate dependent files
40the bottom, and add your applet to the #include list.
41 40
42When and where you can please try to use an existing applet and extend 41When and where you can please try to use an existing applet and extend
43on it's functionality by adding more options vs adding a bunch of new 42on its functionality by adding more options vs adding a bunch of new
44little applets. 43little applets.

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20