From 29d6678fd546377459ef75cf54abeef5b969b5cf Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 27 Aug 2010 15:14:24 +0100 Subject: Major layout change to the packages directory Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie --- meta/packages/eee-acpi-scripts/files/policy-funcs | 8 --- .../packages/eee-acpi-scripts/files/powerbtn.patch | 20 -------- .../eee-acpi-scripts/files/remove-doc-check.patch | 60 ---------------------- 3 files changed, 88 deletions(-) delete mode 100644 meta/packages/eee-acpi-scripts/files/policy-funcs delete mode 100644 meta/packages/eee-acpi-scripts/files/powerbtn.patch delete mode 100644 meta/packages/eee-acpi-scripts/files/remove-doc-check.patch (limited to 'meta/packages/eee-acpi-scripts/files') diff --git a/meta/packages/eee-acpi-scripts/files/policy-funcs b/meta/packages/eee-acpi-scripts/files/policy-funcs deleted file mode 100644 index fd099df0d8..0000000000 --- a/meta/packages/eee-acpi-scripts/files/policy-funcs +++ /dev/null @@ -1,8 +0,0 @@ -CheckPolicy() { - if pidof gnome-power-manager kpowersave > /dev/null || - (pidof dcopserver > /dev/null && test -x /usr/bin/dcop && /usr/bin/dcop kded kded loadedModules | grep -q klaptopdaemon) ; then - echo 0; - else - echo 1; - fi -} diff --git a/meta/packages/eee-acpi-scripts/files/powerbtn.patch b/meta/packages/eee-acpi-scripts/files/powerbtn.patch deleted file mode 100644 index 3f79c3e610..0000000000 --- a/meta/packages/eee-acpi-scripts/files/powerbtn.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- - actions/power.sh | 3 +++ - events/powerbtn | 2 ++ - 2 files changed, 5 insertions(+) - -Index: git/events/powerbtn -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ git/events/powerbtn 2008-10-08 17:43:35.000000000 +0200 -@@ -0,0 +1,2 @@ -+event=button/power PWRF -+action=/etc/acpi/actions/power.sh -Index: git/actions/power.sh -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ git/actions/power.sh 2008-10-08 17:45:26.000000000 +0200 -@@ -0,0 +1,3 @@ -+#!/bin/sh -+ -+/sbin/shutdown -h now "Power button pressed" diff --git a/meta/packages/eee-acpi-scripts/files/remove-doc-check.patch b/meta/packages/eee-acpi-scripts/files/remove-doc-check.patch deleted file mode 100644 index 8f6c4fcaad..0000000000 --- a/meta/packages/eee-acpi-scripts/files/remove-doc-check.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- - actions/hotkey.sh | 3 --- - actions/suspend.sh | 3 --- - actions/vga-toggle.sh | 3 --- - actions/volume.sh | 3 --- - 4 files changed, 12 deletions(-) - -Index: git/actions/hotkey.sh -=================================================================== ---- git.orig/actions/hotkey.sh 2008-09-25 11:00:58.000000000 +0200 -+++ git/actions/hotkey.sh 2008-09-25 11:01:04.000000000 +0200 -@@ -1,8 +1,5 @@ - #!/bin/sh - --# do nothing if package is removed --[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0 -- - . /etc/default/eeepc-acpi-scripts - . /usr/share/eeepc-acpi-scripts/functions.sh - . /etc/acpi/lib/notify.sh -Index: git/actions/suspend.sh -=================================================================== ---- git.orig/actions/suspend.sh 2008-09-25 11:00:32.000000000 +0200 -+++ git/actions/suspend.sh 2008-09-25 11:00:37.000000000 +0200 -@@ -1,8 +1,5 @@ - #!/bin/sh - --# do nothing if package is removed --[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0 -- - if (runlevel | grep -q [06]) || (pidof '/sbin/shutdown' > /dev/null); then - exit 0 - fi -Index: git/actions/vga-toggle.sh -=================================================================== ---- git.orig/actions/vga-toggle.sh 2008-09-25 11:02:00.000000000 +0200 -+++ git/actions/vga-toggle.sh 2008-09-25 11:02:06.000000000 +0200 -@@ -1,8 +1,5 @@ - #!/bin/sh - --# do nothing if package is removed --[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0 -- - . /etc/default/eeepc-acpi-scripts - - # return: 0 on disconnect, 1 on connected vga, 2 else -Index: git/actions/volume.sh -=================================================================== ---- git.orig/actions/volume.sh 2008-09-25 11:02:13.000000000 +0200 -+++ git/actions/volume.sh 2008-09-25 11:02:19.000000000 +0200 -@@ -2,9 +2,6 @@ - - # Volume controls - --# do nothing if package is removed --[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0 -- - . /etc/default/eeepc-acpi-scripts - . /usr/share/eeepc-acpi-scripts/functions.sh - . /etc/acpi/lib/notify.sh -- cgit v1.2.3