[devel] policy ÎÁ ÆÏÒÍÉÒÏ×ÁÎÉÅ menu

Sergey V Turchin =?iso-8859-1?q?zerg_=CE=C1_altlinux=2Eorg?=
÷Ô íÁÊ 11 14:00:17 MSD 2004


÷ ÓÏÏÂÝÅÎÉÉ ÏÔ ÷Ó 9 íÁÊ 2004 12:25 Eugene V. Horohorin ÎÁÐÉÓÁÌ(a):
> ðÒÉ×ÅÔÓÔ×ÕÀ!
>
> óÕÝÅÓÔ×ÕÀÔ ÌÉ × ÐÒÉÒÏÄÅ ÐÒÁ×ÉÌÁ ÒÁÓÐÏÌÏÖÅÎÉÑ ÐÒÏÇÒÁÍÍ ÐÏ ÇÒÕÐÐÐÁÍ
> ÍÅÎÀ?
þÔÏ ËÏÎËÒÅÔÎÏ?
Menu-Packaging-Howto Ñ, ÎÁÄÅÀÓØ, ÓËÏÒÏ ÄÏÂßÀ.
ðÏÓÌÅÄÎÉÊ ×ÁÒÉÁÎÔ ÐÒÉËÒÅÐÌÅÎ Ë ÐÉÓØÍÕ.
á ÔÁËÉÅ ×ÅÝÉ, ËÁË ÒÁÓÐÏÌÏÖÅÎÉÅ ÐÕÎËÔÏ× ÍÅÎÀ, ÎÅ×ÏÚÍÏÖÎÏ ÐÒÏ×ÅÒÉÔØ,
ËÒÏÍÅ, ËÁË × ÒÕÞÎÕÀ :-(
úÁ ÜÔÏ ÷ÁÍ ÏÇÒÏÍÎÏÅ ÓÐÁÓÉÂÏ!

> ôÁË ÎÁÐÒÉÍÅÒ:

[...]

ðÒÏÓØÂÁ ÍÁÎÔÅÊÎÅÒÁÍ - ÉÓÐÒÁ×ÉÔØ.

-- 
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08
----------- ÓÌÅÄÕÀÝÁÑ ÞÁÓÔØ -----------

1 Îåïá.
-------


1.1 Äðòðíïêæåíûïâó êïöðôîâçêó.
------------------------------

    Äðòðíïêæåíûïâó êïöðôîâçêó ïâéðäêæõó þ äðìèîåïæâçêê òâìåæâ menu.
Æâì ãå ðòêõâïêó äðòðíïêæåíûïýé õæâïäâôæðþ îðãïð ïâëæê
ïâ õâëæå http://freedesktop.org .


1.2 Ðìðïïýå îåïåäãåôý.
----------------------

    Ðìðïïýå îåïåäãåôý, èîåáüêå ðæð÷ôâãâæû êåôâôéêá òôðúôâîî
þ þêäå îåïá äðíãïý êîåæû 2 æêòâ õæôèìæèôý îåïá.
Õæâïäâôæïâó ê ðôêúêïâíûïâó.

Õæâïäâôæïâó:
    Ðïâ äðíãïâ ðæð÷ôâãâæûõó òð-èîðíàâïêá. Øæð õæôèìæèôâ îåïá,
úåïåôêôèåîâó òôðúôâîîâîê, ïâéðäóüêîêõó þ ìâæâíðúå
%_sysconfdir/menu-methods òôê òðîðüê êïæåôòôåæâæðôâ êÿ òâìåæâ menu.

Ðôêúêïâíûïâó:
    Òðääåôãêþâåæõó õâîêî ðìðïïýî îåïåäãåôðî ê îðãåæ ÷ýæû íá÷ðúð þêäâ,
öðôîâæâ ê õæôèìæèôý, õþðëõæþåïïýé øæðîè ðìðïïðîè îåïåäãåôè
ê ïâ èõîðæôåïêå îâïæåëïåôâ òâìåæâ øæðúð ðìðïïðúð îåïåäãåôâ
þòíðæû äð åå ðæõèæõæþêó.

    Òåôåìíáàåïêå îåãäè øæêîê æêòâîê òôðêõéðäêæ þ ÿâþîõêîðõæê
ðæ ïâíêàêó/ðæõèæõæþêó öâëíðþ:
~/.menu/disable_customization
~/.menu/enable_customization
%_sysconfdir/menu/disable_customization
%_sysconfdir/menu/enable_customization
Òðíûÿðþâæåíûõìâó ïâõæôðëìâ êîååæ òôåêîèüåõæþð ïâä õêõæåîïðë.


1.3 Òôêíðãåïêó.
---------------

    Æåìõæðþýå ê úôâöêàåõìêå òôêíðãåïêó, ìðæðôýî ïåð÷éðäêîð òðóþíåïêå
òèïìæâ îåïá äíó ïêé þ íá÷ðî ðìðïïðî îåïåäãåôå äðíãïý êîåæû þ ìâæâíðúå
%_menudir öâëí(ý), þ öðôîâæå, ðòêõâïïðî þ òâìåæå menu.

    Öâëí þ öðôîâæå menu îðãïð òðíèàêæû ìðïþåôæâçêåë êÿ öâëíâ .desktop
òôê òðîðüê òôðúôâîîý freedesktop2menu.pl êÿ òâìåæâ menu-devel.

Òôêîåô:
freedesktop2menu.pl \
	package_name \
        Applications/Monitoring \
	%buildroot/%_datadir/applications/SuperMonitor.desktop \
	%buildroot/%_menudir/supermonitor \
	windiow_manager

package_name - êîó òâìåæâ. Åõíê øæðæ òâìåæ ïå èõæâïðþíåï,
    æð õððæþåæõæþèáüêë òèïìæ îåïá ïå úåïåôêôèåæõó.
window_manager - øæð æð, àæð òðòâäåæ þ ÿïâàåïêå needs menu-öâëíâ. 
    Åõíê ðòèüåï, òð-èîðíàâïêá èõæâïâþíêþâåæõó needs="x11"
    Îðãåæ òôêïêîâæû ÿïâàåïêó äíó ðìðïïýé îåïåäãåôðþ. - gnome,kde,icewm ê äô.
    (cî. ôâÿäåí supported þ /etc/menu-methods/* äíó ìðïìôåæïðúð
    ðìðïïðúð îåïåäãåôâ), â æâì ãå õíèãå÷ïýå ÿïâàåïêó - x11,text,wm.
    wm   - èìâÿýþâåæõó æðíûìð þ ðìðïïýé îåïåäãåôâé äíó êõòðíûÿðþâïêó þ äôèúêé
	   ðìðïïýé îåïåäãåôâé, êÿ ìðæðôýé îðãïð òåôåÿâúôèãâæûõó þ òåôþýå
	   òôóîð êÿ îåïá.
    x11  - äíó íá÷ýé úôâöêàåõìêé òôðúôâîî þ íá÷ýé ðìðïïýé îåïåäãåôâé.
    text - äíó æåìõæðþýé òôðúôâîî. Þ úôâöêàåõìðë õôåäå âþæðîâæðî ÿâòèõìâáæõó
	   þ æåôîêïâíå. Æ.å. þ òâôâîåæôå command ïå ïèãïð èìâÿýþâæû
	   øîèíóæðô æåôîêïâíâ.

    Ïåìðæðôýå .desktop öâëíý, õðäåôãâüêå òåôåþðäý ïâ ôâÿíêàïýå óÿýìê îðãïð
ïâëæê òð âäôåõè ftp://ftp.altlinux.ru/pub/people/zerg/menu/desktop-files

    Ôåìðîåïäèåæõó ïâíêàêå öâëíðþ .desktop þ %_datadir/applications/
ïâôóäè õ menu-öâëíâîê. Øæð òðíåÿïð äíó äíó ðìðïïýé îåïåäãåôðþ,
òðääåôãêþâáüêé õæâïäâôæ îåïá freedesktop.


1.4 Òêìæðúôâîîý.
----------------

    Õæâïäâôæïýî ôâõòðíðãåïêåî òêìæðúôâîî, òôåäïâÿïâàåïïýé äíó êõòðíûÿðþâïêó
þ òôêíðãåïêóé êÿ äôèúêé òâìåæðþ(ïâòôêîåô, þ îåïá ìâìðúð-íê÷ð ðìðïïðúð îåïåäãåôâ),
óþíóåæõó %_iconsdir/hicolor/*/* òð âïâíðúêê õ òâìåæðî icon-theme-hicolor.
Ð÷óÿâæåíûïð ïâíêàêå òêìæðúôâîî 16x16, 32x32 ê 48x48 ôâÿîåôðþ.


1.5 Õæâïäâôæïâó õæôèìæèôâ.
--------------------------

Amusement
    Adventure
    Arcade
    Boards
    Cards
    Puzzles
    Sports
    Strategy
    Toys
    Other
Applications
    Accessibility
    Archiving
	Compression
	Cd burning
	Backup
	Other
    Communications
    Databases
    Development
	Interpreters
	Code generators
	Development environments
	Tools
    Editors
    Emulators
    File tools
    Finances
    Monitoring
    Publishing
    Sciences
	Astronomy
	Biology
	Chemistry
	Computer science
	Geosciences
	Mathematics
	Physics
	Other
    Shells
    Text tools
Chinese
Configuration
    Boot and Init
    Hardware
    Networking
    Packaging
    Printing
    Other
Documentation
Edutainment
    Languages
    Mathematics
    Science
    Tools
    Other
Multimedia
    Graphics
    Sound
    Video
Networking
    Chat
    IRC
    Instant messaging
    Mail
    News
    Remote access
    WWW
    Other
Office
    Accessories
    AddressBooks
    Graphs
    PDA
    Presentations
    Spreadsheets
    Tasks management
    Time management
    Wordprocessors
Session
    Windowmanagers
Terminals
----------- ÓÌÅÄÕÀÝÁÑ ÞÁÓÔØ -----------
âÙÌÏ ÕÄÁÌÅÎÏ ×ÌÏÖÅÎÉÅ ÎÅ × ÔÅËÓÔÏ×ÏÍ ÆÏÒÍÁÔÅ...
éÍÑ     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
ôÉÐ     : application/pgp-signature
òÁÚÍÅÒ  : 189 ÂÁÊÔÏ×
ïÐÉÓÁÎÉÅ: signature
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20040511/b8d39663/attachment-0001.bin>


ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ Devel