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

Diff of /portage-utils/README

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

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

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.20