6.0.0-alt5
- arm buildabulity - gnome menus customization
This commit is contained in:
parent
daa763a05b
commit
b746c301e8
@ -7,7 +7,7 @@
|
||||
|
||||
Name: branding-%brand-%theme
|
||||
Version: 6.0.0
|
||||
Release: alt4
|
||||
Release: alt5
|
||||
|
||||
BuildRequires: cpio fonts-ttf-dejavu fonts-ttf-droid
|
||||
BuildRequires: design-bootloader-source >= 5.0-alt2
|
||||
@ -260,10 +260,6 @@ popd
|
||||
pushd kde4-settings
|
||||
mkdir -p %buildroot%_sysconfdir/skel/.kde4
|
||||
cp -a kde4/* %buildroot%_sysconfdir/skel/.kde4/
|
||||
mkdir -p %buildroot%_sysconfdir/kde4/xdg/menus/applications-merged/
|
||||
install -m 644 menu/*menu %buildroot%_sysconfdir/kde4/xdg/menus/applications-merged/
|
||||
mkdir -p %buildroot/usr/share/desktop-directories/
|
||||
install -m 644 menu/*directory %buildroot/usr/share/desktop-directories/
|
||||
popd
|
||||
|
||||
#kde3-settings
|
||||
@ -298,10 +294,8 @@ install -m 644 gtkrc '%buildroot/%_datadir/themes/%XdgThemeName/gtk-2.0'
|
||||
mkdir -p '%buildroot/%_datadir/themes/%XdgThemeName/metacity-1'
|
||||
install -m 644 metacity-theme-1.xml '%buildroot/%_datadir/themes/%XdgThemeName/metacity-1/'
|
||||
install -m 644 index.theme '%buildroot/%_datadir/themes/%XdgThemeName/'
|
||||
mkdir -p '%buildroot/etc/gnome/xdg/menus/applications-merged/'
|
||||
install -m 644 applications.menu '%buildroot/etc/gnome/xdg/menus/applications-merged/'
|
||||
mkdir -p '%buildroot/etc/xdg/menus/'
|
||||
install -m 644 settings.menu '%buildroot/etc/xdg/menus/'
|
||||
install -m 644 applications-menueditor.menu '%buildroot/etc/xdg/menus/'
|
||||
cp -a skel/.gconf '%buildroot/etc/skel/'
|
||||
popd
|
||||
|
||||
@ -375,8 +369,6 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf
|
||||
|
||||
%files kde4-settings
|
||||
%_sysconfdir/skel/.kde4
|
||||
%_sysconfdir/kde4/xdg/menus/applications-merged/*
|
||||
/usr/share/desktop-directories/*
|
||||
|
||||
%files kde3-settings
|
||||
%_sysconfdir/skel/.kde
|
||||
@ -387,8 +379,7 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf
|
||||
|
||||
%files gnome-settings
|
||||
%_datadir/themes/*
|
||||
#/etc/gnome/xdg/menus/applications-merged/
|
||||
#/etc/xdg/menus/*
|
||||
/etc/xdg/menus/*
|
||||
/etc/skel/.gconf
|
||||
|
||||
%files slideshow
|
||||
@ -404,6 +395,10 @@ subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf
|
||||
%_desktopdir/indexhtml.desktop
|
||||
|
||||
%changelog
|
||||
* Tue Apr 26 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt5
|
||||
- arm buildabulity
|
||||
- gnome menus customization
|
||||
|
||||
* Mon Feb 21 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.0.0-alt4
|
||||
- indexhtml colors changed (mex3)
|
||||
|
||||
|
24
gnome-settings/applications-menueditor.menu
Normal file
24
gnome-settings/applications-menueditor.menu
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
|
||||
|
||||
<Menu>
|
||||
<Name>Applications</Name>
|
||||
<Menu>
|
||||
<Name>Multimedia</Name>
|
||||
<Exclude>
|
||||
<Filename>adobe_flash_player_eula.desktop</Filename>
|
||||
</Exclude>
|
||||
</Menu>
|
||||
<Menu>
|
||||
<Name>Internet</Name>
|
||||
<Exclude>
|
||||
<Filename>lftp.desktop</Filename>
|
||||
</Exclude>
|
||||
</Menu>
|
||||
<Menu>
|
||||
<Name>Development</Name>
|
||||
<Exclude>
|
||||
<Filename>gdb.desktop</Filename>
|
||||
</Exclude>
|
||||
</Menu>
|
||||
</Menu>
|
@ -1,154 +0,0 @@
|
||||
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
|
||||
|
||||
<Menu>
|
||||
|
||||
<Name>Applications</Name>
|
||||
<Directory>X-GNOME-Menu-Applications.directory</Directory>
|
||||
|
||||
<!-- Scan legacy dirs first, as later items take priority -->
|
||||
<!-- <KDELegacyDirs/> -->
|
||||
<LegacyDir>/etc/X11/applnk</LegacyDir>
|
||||
<LegacyDir>/usr/share/gnome/apps</LegacyDir>
|
||||
|
||||
<!-- Read standard .directory and .desktop file locations -->
|
||||
<!-- <DefaultAppDirs/> -->
|
||||
<!-- <DefaultDirectoryDirs/> -->
|
||||
|
||||
<!-- Read in overrides and child menus from applications-merged/ -->
|
||||
<!-- <DefaultMergeDirs/> -->
|
||||
|
||||
<!-- Accessories submenu -->
|
||||
<Menu>
|
||||
<Name>Accessories</Name>
|
||||
<Directory>Utility.directory</Directory>
|
||||
<Include>
|
||||
<And>
|
||||
<Category>Utility</Category>
|
||||
<!-- Accessibility spec must have either the Utility or Settings
|
||||
category, and we display an accessibility submenu already for
|
||||
the ones that do not have Settings, so don't display accessibility
|
||||
applications here -->
|
||||
<Not><Category>Accessibility</Category></Not>
|
||||
<Not><Category>System</Category></Not>
|
||||
</And>
|
||||
</Include>
|
||||
</Menu> <!-- End Accessories -->
|
||||
|
||||
<!-- Accessibility submenu -->
|
||||
<Menu>
|
||||
<Name>Universal Access</Name>
|
||||
<Directory>Utility-Accessibility.directory</Directory>
|
||||
<Include>
|
||||
<And>
|
||||
<Category>Accessibility</Category>
|
||||
<Not><Category>Settings</Category></Not>
|
||||
</And>
|
||||
</Include>
|
||||
</Menu> <!-- End Accessibility -->
|
||||
|
||||
<!-- Development Tools -->
|
||||
<Menu>
|
||||
<Name>Development</Name>
|
||||
<Directory>Development.directory</Directory>
|
||||
<Include>
|
||||
<And>
|
||||
<Category>Development</Category>
|
||||
</And>
|
||||
<Filename>emacs.desktop</Filename>
|
||||
</Include>
|
||||
</Menu> <!-- End Development Tools -->
|
||||
|
||||
<!-- Education -->
|
||||
<Menu>
|
||||
<Name>Education</Name>
|
||||
<Directory>Education.directory</Directory>
|
||||
<Include>
|
||||
<And>
|
||||
<Category>Education</Category>
|
||||
</And>
|
||||
</Include>
|
||||
</Menu> <!-- End Education -->
|
||||
|
||||
<!-- Games -->
|
||||
<Menu>
|
||||
<Name>Games</Name>
|
||||
<Directory>Game.directory</Directory>
|
||||
<Include>
|
||||
<And>
|
||||
<Category>Game</Category>
|
||||
</And>
|
||||
</Include>
|
||||
</Menu> <!-- End Games -->
|
||||
|
||||
<!-- Graphics -->
|
||||
<Menu>
|
||||
<Name>Graphics</Name>
|
||||
<Directory>Graphics.directory</Directory>
|
||||
<Include>
|
||||
<And>
|
||||
<Category>Graphics</Category>
|
||||
</And>
|
||||
</Include>
|
||||
</Menu> <!-- End Graphics -->
|
||||
|
||||
<!-- Internet -->
|
||||
<Menu>
|
||||
<Name>Internet</Name>
|
||||
<Directory>Network.directory</Directory>
|
||||
<Include>
|
||||
<And>
|
||||
<Category>Network</Category>
|
||||
</And>
|
||||
</Include>
|
||||
</Menu> <!-- End Internet -->
|
||||
|
||||
<!-- Multimedia -->
|
||||
<Menu>
|
||||
<Name>Multimedia</Name>
|
||||
<Directory>AudioVideo.directory</Directory>
|
||||
<Include>
|
||||
<And>
|
||||
<Category>AudioVideo</Category>
|
||||
</And>
|
||||
</Include>
|
||||
</Menu> <!-- End Multimedia -->
|
||||
|
||||
<!-- Office -->
|
||||
<Menu>
|
||||
<Name>Office</Name>
|
||||
<Directory>Office.directory</Directory>
|
||||
<Include>
|
||||
<And>
|
||||
<Category>Office</Category>
|
||||
</And>
|
||||
</Include>
|
||||
</Menu> <!-- End Office -->
|
||||
|
||||
<!-- System Tools-->
|
||||
<Menu>
|
||||
<Name>System</Name>
|
||||
<Directory>System-Tools.directory</Directory>
|
||||
<Include>
|
||||
<And>
|
||||
<Category>System</Category>
|
||||
<Not><Category>Settings</Category></Not>
|
||||
</And>
|
||||
</Include>
|
||||
</Menu> <!-- End System Tools -->
|
||||
|
||||
<!-- Other -->
|
||||
<Menu>
|
||||
<Name>Other</Name>
|
||||
<Directory>X-GNOME-Other.directory</Directory>
|
||||
<OnlyUnallocated/>
|
||||
<Include>
|
||||
<And>
|
||||
<Not><Category>Core</Category></Not>
|
||||
<Not><Category>Settings</Category></Not>
|
||||
<Not><Category>Screensaver</Category></Not>
|
||||
</And>
|
||||
</Include>
|
||||
</Menu> <!-- End Other -->
|
||||
|
||||
</Menu> <!-- End Applications -->
|
@ -1,57 +0,0 @@
|
||||
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
|
||||
|
||||
<Menu>
|
||||
|
||||
<Name>Desktop</Name>
|
||||
<Directory>X-GNOME-Menu-System.directory</Directory>
|
||||
|
||||
<!-- Read standard .directory and .desktop file locations -->
|
||||
<DefaultAppDirs/>
|
||||
<DefaultDirectoryDirs/>
|
||||
|
||||
<!-- Read in overrides and child menus from applications-merged/ -->
|
||||
<DefaultMergeDirs/>
|
||||
|
||||
<!-- Add a link to the control center -->
|
||||
<Include>
|
||||
<Filename>gnomecc.desktop</Filename>
|
||||
</Include>
|
||||
|
||||
<!-- Merge in these other files as submenus -->
|
||||
<Menu>
|
||||
<Name>Preferences</Name>
|
||||
<Directory>Settings.directory</Directory>
|
||||
<Include>
|
||||
<And>
|
||||
<Category>Settings</Category>
|
||||
<Not>
|
||||
<Or>
|
||||
<Category>System</Category>
|
||||
<Filename>gnomecc.desktop</Filename>
|
||||
</Or>
|
||||
</Not>
|
||||
</And>
|
||||
</Include>
|
||||
</Menu>
|
||||
|
||||
<!-- System Settings -->
|
||||
<Menu>
|
||||
<Name>Administration</Name>
|
||||
<Directory>Settings-System.directory</Directory>
|
||||
<Include>
|
||||
<And>
|
||||
<Category>Settings</Category>
|
||||
<Category>System</Category>
|
||||
</And>
|
||||
</Include>
|
||||
</Menu> <!-- End System Settings -->
|
||||
|
||||
<Layout>
|
||||
<Menuname>Preferences</Menuname>
|
||||
<Menuname>Administration</Menuname>
|
||||
<Merge type="menus"/>
|
||||
<Merge type="files"/>
|
||||
</Layout>
|
||||
|
||||
</Menu> <!-- End Settings -->
|
Loading…
Reference in New Issue
Block a user