adding a set of configuraton files based on freedesktop.org specifications and add...
authorMirko Vogt <mirko@openwrt.org>
Thu, 29 Jan 2009 13:05:40 +0000 (13:05 +0000)
committerMirko Vogt <mirko@openwrt.org>
Thu, 29 Jan 2009 13:05:40 +0000 (13:05 +0000)
SVN-Revision: 14260

desktop/meta/freedesktop-compliant/Makefile [new file with mode: 0644]
desktop/meta/freedesktop-compliant/files/etc/xdg/menus/applications.menu [new file with mode: 0644]
desktop/wm/karmen/Makefile
desktop/wm/openbox/Makefile
efl/enlightenment/Makefile
xfce/wm/xfwm4/Makefile

diff --git a/desktop/meta/freedesktop-compliant/Makefile b/desktop/meta/freedesktop-compliant/Makefile
new file mode 100644 (file)
index 0000000..383e37e
--- /dev/null
@@ -0,0 +1,41 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+# $Id: Makefile 14099 2009-01-18 23:10:59Z lars $
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=freedesktop-compliant
+PKG_VERSION:=1.0
+PKG_RELEASE:=1
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/freedesktop-compliant
+  SECTION:=xorg-meta
+  CATEGORY:=Xorg
+  SUBMENU:=meta
+  TITLE:=freedesktop-compliant
+endef
+
+define Package/freedesktop-compliant/description
+       This package contains a set of configuraton files based on freedesktop.org specifications which should by freedesktop.org compliant software
+endef
+
+define Build/Configure
+endef
+
+define Build/Compile
+endef
+
+define Package/freedesktop-compliant/install
+       $(INSTALL_DIR) $(1)/etc
+       $(CP) \
+               ./files/etc/* \
+               $(1)/etc/
+endef
+
+$(eval $(call BuildPackage,freedesktop-compliant))
diff --git a/desktop/meta/freedesktop-compliant/files/etc/xdg/menus/applications.menu b/desktop/meta/freedesktop-compliant/files/etc/xdg/menus/applications.menu
new file mode 100644 (file)
index 0000000..01a7ad4
--- /dev/null
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://standards.freedesktop.org/menu-spec/menu-1.0.dtd">
+<Menu>
+  <Name>Applications</Name>
+  <DefaultAppDirs/>
+  <DefaultDirectoryDirs/>
+  <Menu>
+    <Name>Office</Name>
+    <Directory>Office.directory</Directory>
+    <Include>
+      <And>
+        <Category>Office</Category>
+      </And>
+    </Include>
+  </Menu>
+  <Menu>
+    <Name>Multimedia</Name>
+    <Directory>Multimedia.directory</Directory>
+    <Include>
+      <And>
+        <Category>AudioVideo</Category>
+      </And>
+    </Include>
+  </Menu>
+  <Menu>
+    <Name>Graphics</Name>
+    <Directory>Graphics.directory</Directory>
+    <Include>
+      <And>
+        <Category>Graphics</Category>
+      </And>
+    </Include>
+  </Menu>
+  <Menu>
+    <Name>Games</Name>
+    <Directory>Games.directory</Directory>
+    <Include>
+      <And>
+        <Category>Games</Category>
+      </And>
+    </Include>
+  </Menu>
+  <Menu>
+    <Name>Internet</Name>
+    <Directory>Internet.directory</Directory>
+    <Include>
+      <And>
+        <Category>Network</Category>
+      </And>
+    </Include>
+  </Menu>
+  <Menu>
+    <Name>Telephony</Name>
+    <Directory>Telephony.directory</Directory>
+    <Include>
+      <And>
+           <Or>
+          <Category>Telephony</Category>
+          <Category>TelephonyTools</Category>
+               </Or>
+      </And>
+    </Include>
+  </Menu>
+  <Menu>
+    <Name>Settings</Name>
+    <Directory>Settings.directory</Directory>
+    <Include>
+      <And>
+        <Or>
+          <Category>SystemSettings</Category>
+          <Category>Settings</Category>
+        </Or>
+        <Not>
+          <Category>System</Category>
+        </Not>
+      </And>
+    </Include>
+  </Menu>
+  <Menu>
+    <Name>Accessories</Name>
+    <Directory>Accessories.directory</Directory>
+    <Include>
+      <And>
+        <Or>
+          <Category>Applications</Category>
+          <Category>Utility</Category>
+        </Or>
+        <Not>
+          <Category>System</Category>
+          <Category>Office</Category>
+          <Category>Internet</Category>
+          <Category>AudioVideo</Category>
+          <Category>Graphics</Category>
+          <Category>Games</Category>
+        </Not>
+      </And>
+    </Include>
+  </Menu>
+  <Menu>
+    <Name>Other</Name>
+    <Directory>Other.directory</Directory>
+    <OnlyUnallocated/>
+    <Include>
+      <And>
+        <Not>
+          <Category>Office</Category>
+          <Category>AudioVideo</Category>
+          <Category>Graphics</Category>
+          <Category>Games</Category>
+          <Category>Network</Category>
+          <Category>Applications</Category>
+          <Category>SystemSettings</Category>
+          <Category>Settings</Category>
+          <Category>System</Category>
+          <Category>Telephony</Category>
+          <Category>TelephonyTools</Category>
+        </Not>
+      </And>
+    </Include>
+  </Menu>
+</Menu>
index 1e206f446112ec4aaf475b2cb3b2e795d410feff..313d187fb3615d999df61a11711183c70a87202d 100644 (file)
@@ -25,7 +25,7 @@ define Package/karmen
   SECTION:=xorg-wm
   CATEGORY:=Xorg
   SUBMENU:=window manager
-  DEPENDS:=+libX11
+  DEPENDS:=+libX11 +freedesktop-compliant
   URL:=http://karmen.sourceforge.net/
 endef
 
index 5b8f3fbb8b3042f8ae2d65386b52ae5c83f5da91..72ece94d82855b0aea7cbe75eb0084132313ed3c 100644 (file)
@@ -29,7 +29,8 @@ define Package/openbox
   CATEGORY:=Xorg
   SUBMENU:=window manager
   DEPENDS:=+glib2 +libxml2 +fontconfig +libXft +libXrandr +libXt \
-+libXcursor +pango +xextproto +xf86vidmodeproto +dejavu-fonts-ttf
++libXcursor +pango +xextproto +xf86vidmodeproto +dejavu-fonts-ttf \
++freedesktop-compliant
   URL:=http://icculus.org/openbox/
 endef
 
index 90afef1a6def4fb977cc07c0d7098db458aa8355..3284a508cbed68bf1eb85bbdd4f5d9ac89b7a425 100644 (file)
@@ -30,7 +30,7 @@ define Package/enlightenment
   SUBMENU:=window manager
   TITLE:=Enlightenment e17 window manager
   URL:=http://enlightenment.org
-  DEPENDS:=+libintl +libpthread +eet +evas +ecore +edje +efreet +edbus +dbus-utils +dejavu-fonts-ttf
+  DEPENDS:=+libintl +libpthread +eet +evas +ecore +edje +efreet +edbus +dbus-utils +dejavu-fonts-ttf +freedesktop-compliant
 endef
 
 define Package/enlightenment/config
index c794e35d813e50ff5240b45d3d256c5965a0e5fe..2a3cad558737512411c4fb1adc02c7f9f9efb1db 100644 (file)
@@ -32,7 +32,7 @@ define Package/xfwm4
   CATEGORY:=Xorg
   SUBMENU:=app
   TITLE:=xfwm4
-  DEPENDS:=+libxfce4util +libxfcegui4 +libxfconf +libdbus-glib +libwnck
+  DEPENDS:=+libxfce4util +libxfcegui4 +libxfconf +libdbus-glib +libwnck +freedesktop-compliant
 endef
 
 define Package/xfwm4/install