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

Contents of /portage-utils/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Aug 19 01:45:09 2005 UTC (9 years ago) by vapier
Branch: MAIN
Changes since 1.6: +2 -1 lines
add another note about making your own applet

1 Developers to contact:
2 solar@gentoo.org
3 vapier@gentoo.org
4
5 /* Add notes here */
6
7 - relative qfile doesnt quite work:
8 $ cd /bin
9 $ qfile bash
10 app-shells/bash (/bin/bash)
11 app-shells/bash (/etc/bash)
12
13 - multiline reads don't yet work for quse/qsearch
14
15 - quse needs a rewrite.
16
17 - Fetching via anoncvs.
18 The cvs module for gentoo-projects is mirrored. You may download a
19 pretty recent copy using the following command. Note: that this is not
20 the official cvs server but rather a mirror so it lags about an hour or
21 so behind the real tree which is hosted on cvs.gentoo.org
22
23 cvs -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.
26 cp template.c qmyapplet.c (all applets use the prefix of the letter 'q')
27 edit applets.h add your prototype, applet definition to the enum then
28 incr LAST_APPLET. Scroll down the typedef for applets[] and add your
29 applet name following the existing syntax. Please try to keep applet
30 names under 8 chars. Finally, edit main.c, scroll to the bottom, and
31 add your applet to the #include list.
32
33 When and where you can please try to use an existing applet and extend
34 on it's functionality by adding more options vs adding a bunch of new
35 little applets.

  ViewVC Help
Powered by ViewVC 1.1.20