/[gentoo]/xml/htdocs/proj/en/glep/glep-0016.html
Gentoo

Contents of /xml/htdocs/proj/en/glep/glep-0016.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download) (as text)
Sat Dec 13 23:12:24 2003 UTC (11 years ago) by g2boojum
Branch: MAIN
Changes since 1.2: +4 -4 lines
File MIME type: text/html
Update

1 liquidx 1.1 <?xml version="1.0" encoding="utf-8" ?>
2     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4     <!--
5     This HTML is auto-generated. DO NOT EDIT THIS FILE! If you are writing a new
6     PEP, see http://www.python.org/peps/pep-0001.html for instructions and links
7     to templates. DO NOT USE THIS HTML FILE AS YOUR TEMPLATE!
8     -->
9     <head>
10     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11     <meta name="generator" content="Docutils 0.3.0: http://docutils.sourceforge.net/" />
12     <title>GLEP 16 -- Gentoo Menu System</title>
13     <link rel="stylesheet" href="tools/glep.css" type="text/css" />
14     </head>
15     <body bgcolor="white">
16     <table class="navigation" cellpadding="0" cellspacing="0"
17     width="100%" border="0">
18     <tr><td class="navicon" width="150" height="35">
19     <a href="http://www.gentoo.org/" title="Gentoo Linux Home Page">
20     <img src="http://www.gentoo.org/images/gentoo-new.gif" alt="[Gentoo]"
21     border="0" width="150" height="35" /></a></td>
22     <td class="textlinks" align="left">
23     [<b><a href="http://www.gentoo.org/">Gentoo Linux Home</a></b>]
24     [<b><a href="http://www.gentoo.org/proj/en/glep">GLEP Index</a></b>]
25     [<b><a href="http://www.gentoo.org/proj/en/glep/glep-0016.txt">GLEP Source</a></b>]
26     </td></tr></table>
27     <div class="document">
28     <table class="rfc2822 field-list" frame="void" rules="none">
29     <col class="field-name" />
30     <col class="field-body" />
31     <tbody valign="top">
32     <tr class="field"><th class="field-name">GLEP:</th><td class="field-body">16</td>
33     </tr>
34     <tr class="field"><th class="field-name">Title:</th><td class="field-body">Gentoo Menu System</td>
35     </tr>
36 g2boojum 1.2 <tr class="field"><th class="field-name">Version:</th><td class="field-body">1.2</td>
37 liquidx 1.1 </tr>
38 g2boojum 1.2 <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/proj/en/glep/glep-0016.txt?cvsroot=gentoo">2003/12/11 21:19:31</a></td>
39 liquidx 1.1 </tr>
40     <tr class="field"><th class="field-name">Author:</th><td class="field-body">Heinrich Wendel &lt;lanius&#32;&#97;t&#32;gentoo.org&gt;,</td>
41     </tr>
42     <tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td>
43     </tr>
44     <tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards Track</td>
45     </tr>
46     <tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference" href="glep-0002.html">text/x-rst</a></td>
47     </tr>
48     <tr class="field"><th class="field-name">Created:</th><td class="field-body">09-Sep-2003</td>
49     </tr>
50 g2boojum 1.3 <tr class="field"><th class="field-name">Post-History:</th><td class="field-body">04-Oct-2003, 11-Dec-2003, 13-Dec-2003</td>
51 liquidx 1.1 </tr>
52     </tbody>
53     </table>
54     <hr />
55     <div class="contents topic" id="contents">
56     <p class="topic-title"><a name="contents">Contents</a></p>
57     <ul class="simple">
58 g2boojum 1.2 <li><a class="reference" href="#definitions" id="id28" name="id28">Definitions</a></li>
59     <li><a class="reference" href="#abstract" id="id29" name="id29">Abstract</a></li>
60     <li><a class="reference" href="#motivation" id="id30" name="id30">Motivation</a></li>
61     <li><a class="reference" href="#rationale" id="id31" name="id31">Rationale</a></li>
62     <li><a class="reference" href="#specification" id="id32" name="id32">Specification</a></li>
63     <li><a class="reference" href="#credits" id="id33" name="id33">Credits</a></li>
64     <li><a class="reference" href="#references" id="id34" name="id34">References</a></li>
65     <li><a class="reference" href="#copyright" id="id35" name="id35">Copyright</a></li>
66 liquidx 1.1 </ul>
67     </div>
68     <div class="section" id="definitions">
69 g2boojum 1.2 <h1><a class="toc-backref" href="#id28" name="definitions">Definitions</a></h1>
70 liquidx 1.1 <blockquote>
71     <dl>
72     <dt><em>APP</em></dt>
73     <dd>A graphical application that should be listed in the menus.</dd>
74     <dt><em>WM</em></dt>
75     <dd>A program containing a menu manager (i.e. a program that can display a menu, e.g. a windowmanager).</dd>
76     </dl>
77     </blockquote>
78     </div>
79     <div class="section" id="abstract">
80 g2boojum 1.2 <h1><a class="toc-backref" href="#id29" name="abstract">Abstract</a></h1>
81 liquidx 1.1 <p>This GLEP handles a proposal for the following two goals:</p>
82     <ul class="simple">
83     <li>Create a common menu layout, which would be independent of the WM.
84 g2boojum 1.2 This point is quite important for those people who use more than one WM.</li>
85 liquidx 1.1 <li>Provide a common way to add applications to the menus.</li>
86     </ul>
87     </div>
88     <div class="section" id="motivation">
89 g2boojum 1.2 <h1><a class="toc-backref" href="#id30" name="motivation">Motivation</a></h1>
90 liquidx 1.1 <p>GNOME, KDE, Fluxbox, to name only a few, have all their own ways of handling
91 g2boojum 1.2 menus. There have been several requests <a class="footnote-reference" href="#id15" id="id1" name="id1">[1]</a> <a class="footnote-reference" href="#id16" id="id2" name="id2">[2]</a> <a class="footnote-reference" href="#id17" id="id3" name="id3">[3]</a> <a class="footnote-reference" href="#id18" id="id4" name="id4">[4]</a> <a class="footnote-reference" href="#id19" id="id5" name="id5">[5]</a> <a class="footnote-reference" href="#id20" id="id6" name="id6">[6]</a> from
92 liquidx 1.1 users to streamline these menus. Furthermore there are several bug reports
93 g2boojum 1.2 about applications not having a menu entry <a class="footnote-reference" href="#id21" id="id7" name="id7">[7]</a>, but since there is not
94 liquidx 1.1 standard way to create such an entry, they are just sitting around in
95     bugzilla.</p>
96     </div>
97     <div class="section" id="rationale">
98 g2boojum 1.2 <h1><a class="toc-backref" href="#id31" name="rationale">Rationale</a></h1>
99 liquidx 1.1 <p>The idea of a common menu system is not new to the Linux world, every big
100     distribution (Debian, Mandrake, RedHat, Suse) has such a system. The big DE's,
101 g2boojum 1.2 KDE and GNOME, with the help of freedesktop.org <a class="footnote-reference" href="#id22" id="id8" name="id8">[8]</a>, are also trying to
102 liquidx 1.1 implement one standard. That will most likely happen in GNOME 2.6 and KDE 3.2
103     (Currently they are only implementing different versions of the
104     desktop-entry-spec, but interpreting it in an incompatible way). But there
105 g2boojum 1.2 are still many other WM's that currently don't support these specs. So we are
106     trying to base our work on the specifications GNOME and KDE are going to use.
107     (These are no official standards but evolving specifications). This has the
108     following advantages:</p>
109 liquidx 1.1 <ul class="simple">
110     <li>follow specified standards</li>
111     <li>i18n support</li>
112     <li>provide the necessary flexibility and modularity</li>
113     <li>integrate with small changes to our ebuildtree.</li>
114     <li>support for per system and per user menus</li>
115     </ul>
116     </div>
117     <div class="section" id="specification">
118 g2boojum 1.2 <h1><a class="toc-backref" href="#id32" name="specification">Specification</a></h1>
119     <p>We are trying to follow these specifications:</p>
120     <ul class="simple">
121     <li>Desktop Entry Specification <a class="footnote-reference" href="#id23" id="id9" name="id9">[9]</a></li>
122     <li>Menu Specification <a class="footnote-reference" href="#id24" id="id10" name="id10">[10]</a></li>
123     <li>Icon Theme Specification <a class="footnote-reference" href="#id25" id="id11" name="id11">[11]</a></li>
124     </ul>
125     <p>There are two libraries that offer an API to these specifications:</p>
126     <ul class="simple">
127     <li>PyXDG <a class="footnote-reference" href="#id26" id="id12" name="id12">[12]</a> (written in python)</li>
128     <li>Desktop File Utils <a class="footnote-reference" href="#id27" id="id13" name="id13">[13]</a> (written in C)</li>
129 liquidx 1.1 </ul>
130 g2boojum 1.2 <p>Our goal is to patch the WM's with the help of these libraries to support the
131     specifications. APP's then only have to install a .desktop entry <a class="footnote-reference" href="#id23" id="id14" name="id14">[9]</a> and
132 g2boojum 1.3 optionally an icon and will be listed in all menus. This installation could
133 g2boojum 1.2 easily be done by two portage commands (domenu, doicon). Additionaly we
134     should provide a reference menu layout and icon theme and add a function to
135     repoman to validate .desktop files.</p>
136 liquidx 1.1 </div>
137     <div class="section" id="credits">
138 g2boojum 1.2 <h1><a class="toc-backref" href="#id33" name="credits">Credits</a></h1>
139     <p>Based on suggestions from former discussions on the gentoo bugzilla,
140     mailinglists and forums.</p>
141 liquidx 1.1 </div>
142     <div class="section" id="references">
143 g2boojum 1.2 <h1><a class="toc-backref" href="#id34" name="references">References</a></h1>
144     <table class="footnote" frame="void" id="id15" rules="none">
145 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
146     <tbody valign="top">
147 g2boojum 1.2 <tr><td class="label"><a class="fn-backref" href="#id1" name="id15">[1]</a></td><td><a class="reference" href="http://bugs.gentoo.org/show_bug.cgi?id=5510">http://bugs.gentoo.org/show_bug.cgi?id=5510</a></td></tr>
148 liquidx 1.1 </tbody>
149     </table>
150 g2boojum 1.2 <table class="footnote" frame="void" id="id16" rules="none">
151 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
152     <tbody valign="top">
153 g2boojum 1.2 <tr><td class="label"><a class="fn-backref" href="#id2" name="id16">[2]</a></td><td><a class="reference" href="http://bugs.gentoo.org/show_bug.cgi?id=10429">http://bugs.gentoo.org/show_bug.cgi?id=10429</a></td></tr>
154 liquidx 1.1 </tbody>
155     </table>
156 g2boojum 1.2 <table class="footnote" frame="void" id="id17" rules="none">
157 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
158     <tbody valign="top">
159 g2boojum 1.2 <tr><td class="label"><a class="fn-backref" href="#id3" name="id17">[3]</a></td><td><a class="reference" href="http://bugs.gentoo.org/show_bug.cgi?id=4884">http://bugs.gentoo.org/show_bug.cgi?id=4884</a></td></tr>
160 liquidx 1.1 </tbody>
161     </table>
162 g2boojum 1.2 <table class="footnote" frame="void" id="id18" rules="none">
163 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
164     <tbody valign="top">
165 g2boojum 1.2 <tr><td class="label"><a class="fn-backref" href="#id4" name="id18">[4]</a></td><td><a class="reference" href="http://bugs.gentoo.org/show_bug.cgi?id=25797">http://bugs.gentoo.org/show_bug.cgi?id=25797</a></td></tr>
166 liquidx 1.1 </tbody>
167     </table>
168 g2boojum 1.2 <table class="footnote" frame="void" id="id19" rules="none">
169 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
170     <tbody valign="top">
171 g2boojum 1.2 <tr><td class="label"><a class="fn-backref" href="#id5" name="id19">[5]</a></td><td><a class="reference" href="http://forums.gentoo.org/viewtopic.php?t=66754">http://forums.gentoo.org/viewtopic.php?t=66754</a></td></tr>
172 liquidx 1.1 </tbody>
173     </table>
174 g2boojum 1.2 <table class="footnote" frame="void" id="id20" rules="none">
175 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
176     <tbody valign="top">
177 g2boojum 1.2 <tr><td class="label"><a class="fn-backref" href="#id6" name="id20">[6]</a></td><td><a class="reference" href="http://forums.gentoo.org/viewtopic.php?p=263106#263106">http://forums.gentoo.org/viewtopic.php?p=263106#263106</a></td></tr>
178 liquidx 1.1 </tbody>
179     </table>
180 g2boojum 1.2 <table class="footnote" frame="void" id="id21" rules="none">
181 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
182     <tbody valign="top">
183 g2boojum 1.2 <tr><td class="label"><a class="fn-backref" href="#id7" name="id21">[7]</a></td><td><a class="reference" href="http://bugs.gentoo.org/show_bug.cgi?id=25756">http://bugs.gentoo.org/show_bug.cgi?id=25756</a></td></tr>
184 liquidx 1.1 </tbody>
185     </table>
186 g2boojum 1.2 <table class="footnote" frame="void" id="id22" rules="none">
187 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
188     <tbody valign="top">
189 g2boojum 1.2 <tr><td class="label"><a class="fn-backref" href="#id8" name="id22">[8]</a></td><td><a class="reference" href="http://www.freedesktop.org">http://www.freedesktop.org</a></td></tr>
190 liquidx 1.1 </tbody>
191     </table>
192 g2boojum 1.2 <table class="footnote" frame="void" id="id23" rules="none">
193 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
194     <tbody valign="top">
195 g2boojum 1.2 <tr><td class="label"><a name="id23">[9]</a></td><td><em>(<a class="fn-backref" href="#id9">1</a>, <a class="fn-backref" href="#id14">2</a>)</em> Desktop Entry Specification
196 liquidx 1.1 [<a class="reference" href="http://www.freedesktop.org/standards/desktop-entry-spec/0.9.4/">http://www.freedesktop.org/standards/desktop-entry-spec/0.9.4/</a>]</td></tr>
197     </tbody>
198     </table>
199 g2boojum 1.2 <table class="footnote" frame="void" id="id24" rules="none">
200 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
201     <tbody valign="top">
202 g2boojum 1.2 <tr><td class="label"><a class="fn-backref" href="#id10" name="id24">[10]</a></td><td>Menu Specification
203     [<a class="reference" href="http://www.freedesktop.org/standards/menu-spec/0.8/">http://www.freedesktop.org/standards/menu-spec/0.8/</a>]</td></tr>
204 liquidx 1.1 </tbody>
205     </table>
206 g2boojum 1.2 <table class="footnote" frame="void" id="id25" rules="none">
207 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
208     <tbody valign="top">
209 g2boojum 1.2 <tr><td class="label"><a class="fn-backref" href="#id11" name="id25">[11]</a></td><td>Icon Theme Specification
210 liquidx 1.1 [<a class="reference" href="http://www.freedesktop.org/standards/icon-theme-spec/0.7/">http://www.freedesktop.org/standards/icon-theme-spec/0.7/</a>]</td></tr>
211     </tbody>
212     </table>
213 g2boojum 1.2 <table class="footnote" frame="void" id="id26" rules="none">
214 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
215     <tbody valign="top">
216 g2boojum 1.2 <tr><td class="label"><a class="fn-backref" href="#id12" name="id26">[12]</a></td><td>PyXDG
217 g2boojum 1.3 [<a class="reference" href="http://www.freedesktop.org/software/pyxdg">http://www.freedesktop.org/software/pyxdg</a>]</td></tr>
218 liquidx 1.1 </tbody>
219     </table>
220 g2boojum 1.2 <table class="footnote" frame="void" id="id27" rules="none">
221 liquidx 1.1 <colgroup><col class="label" /><col /></colgroup>
222     <tbody valign="top">
223 g2boojum 1.2 <tr><td class="label"><a class="fn-backref" href="#id13" name="id27">[13]</a></td><td>Desktop File Utils
224     [<a class="reference" href="http://www.freedesktop.org/software/desktop-file-utils">http://www.freedesktop.org/software/desktop-file-utils</a>]</td></tr>
225 liquidx 1.1 </tbody>
226     </table>
227     </div>
228     <div class="section" id="copyright">
229 g2boojum 1.2 <h1><a class="toc-backref" href="#id35" name="copyright">Copyright</a></h1>
230 liquidx 1.1 <p>This document has been placed in the public domain.</p>
231     </div>
232     </div>
233    
234     <hr class="footer"/>
235     <div class="footer">
236     <a class="reference" href="glep-0016.txt">View document source</a>.
237 g2boojum 1.3 Generated on: 2003-12-13 23:12 UTC.
238 liquidx 1.1 Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
239     </div>
240     </body>
241     </html>

  ViewVC Help
Powered by ViewVC 1.1.20