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

Diff of /portage-utils/README

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

Revision 1.13 Revision 1.14
1# Copyright 2005 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.14 2005/12/12 04:24:59 solar Exp $
4
1Developers to contact: 5Developers to contact:
2solar@gentoo.org 6solar@gentoo.org
3vapier@gentoo.org 7vapier@gentoo.org
4 8
5/* Add notes here */ 9/* Add notes here */
28 32
29cvs -d:pserver:anonymous@zarquon.twobit.net:/var/cvsroot -q -z9 co -R gentoo-projects/portage-utils 33cvs -d:pserver:anonymous@zarquon.twobit.net:/var/cvsroot -q -z9 co -R gentoo-projects/portage-utils
30 34
31- Adding applets is easy using the q framework. 35- Adding applets is easy using the q framework.
32cp template.c qmyapplet.c (all applets use the prefix of the letter 'q') 36cp template.c qmyapplet.c (all applets use the prefix of the letter 'q')
33edit applets.h add your prototype, applet definition to the enum then 37edit applets.h add your prototype, then scroll down the typedef for
34incr LAST_APPLET. Scroll down the typedef for applets[] and add your 38applets[] and add your applet name following the existing syntax. Please
35applet name following the existing syntax. Please try to keep applet
36names under 8 chars. Finally, edit main.c, scroll to the bottom, and 39try to keep applet names under 8 chars. Finally, edit main.c, scroll to
37add your applet to the #include list. 40the bottom, and add your applet to the #include list.
38 41
39When and where you can please try to use an existing applet and extend 42When and where you can please try to use an existing applet and extend
40on it's functionality by adding more options vs adding a bunch of new 43on it's functionality by adding more options vs adding a bunch of new
41little applets. 44little applets.

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20