diff options
author | Richard Purdie <richard@openedhand.com> | 2006-02-10 11:40:32 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-02-10 11:40:32 +0000 |
commit | b236090192c018bf8efe8c72019d3d1567b6d158 (patch) | |
tree | 5d76931d8d80fb6a9b77d6b040bf3140da57f7eb /openembedded/packages/apmd | |
parent | 6be98eee9dd8f8dfb6a90b3386defc54321497cc (diff) | |
download | poky-b236090192c018bf8efe8c72019d3d1567b6d158.tar.gz |
Convert packages CVSDATE -> SRCDATE and standardise some PV fields
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@268 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/apmd')
-rw-r--r-- | openembedded/packages/apmd/apmd-3.2.2/apmwrapper | 9 | ||||
-rw-r--r-- | openembedded/packages/apmd/apmd-3.2.2/devfs.patch | 11 | ||||
-rw-r--r-- | openembedded/packages/apmd/apmd-3.2.2/hwclock | 16 | ||||
-rw-r--r-- | openembedded/packages/apmd/apmd-3.2.2/logcheck.ignore.paranoid | 13 | ||||
-rw-r--r-- | openembedded/packages/apmd/apmd_3.2.2.bb | 25 |
5 files changed, 3 insertions, 71 deletions
diff --git a/openembedded/packages/apmd/apmd-3.2.2/apmwrapper b/openembedded/packages/apmd/apmd-3.2.2/apmwrapper deleted file mode 100644 index 3bc9bece3d..0000000000 --- a/openembedded/packages/apmd/apmd-3.2.2/apmwrapper +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if ( cat /proc/cpuinfo|grep -i hardware|grep -i SHARP ) && \ | ||
4 | [ ".$@" = ".-s" -o ".$@" = ".--suspend" ]; then | ||
5 | killall -USR1 apmd || /usr/bin/apm.orig -s | ||
6 | else | ||
7 | /usr/bin/apm.orig "$@" | ||
8 | fi | ||
9 | |||
diff --git a/openembedded/packages/apmd/apmd-3.2.2/devfs.patch b/openembedded/packages/apmd/apmd-3.2.2/devfs.patch deleted file mode 100644 index b11e01929b..0000000000 --- a/openembedded/packages/apmd/apmd-3.2.2/devfs.patch +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | --- apmd-3.2.0.orig/apm.h~devfs | ||
2 | +++ apmd-3.2.0.orig/apm.h | ||
3 | @@ -24,7 +24,7 @@ | ||
4 | #include <sys/types.h> | ||
5 | |||
6 | #define APM_PROC "/proc/apm" | ||
7 | -#define APM_DEVICE "/dev/apm_bios" | ||
8 | +#define APM_DEVICE "/dev/misc/apm_bios" | ||
9 | |||
10 | #define APM_DEV "/proc/devices" | ||
11 | #define APM_NAME "apm_bios" | ||
diff --git a/openembedded/packages/apmd/apmd-3.2.2/hwclock b/openembedded/packages/apmd/apmd-3.2.2/hwclock deleted file mode 100644 index a1c1c2294c..0000000000 --- a/openembedded/packages/apmd/apmd-3.2.2/hwclock +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | # Preserve the system clock around suspend/resume. | ||
3 | |||
4 | INIT="/etc/init.d/hwclock.sh" | ||
5 | [ -x "${INIT}" ] || exit 0 | ||
6 | |||
7 | case "${1},${2}" in | ||
8 | (suspend,*) | ||
9 | "${INIT}" stop | ||
10 | ;; | ||
11 | (resume,suspend) | ||
12 | "${INIT}" start | ||
13 | ;; | ||
14 | esac | ||
15 | |||
16 | exit 0 | ||
diff --git a/openembedded/packages/apmd/apmd-3.2.2/logcheck.ignore.paranoid b/openembedded/packages/apmd/apmd-3.2.2/logcheck.ignore.paranoid deleted file mode 100644 index de37f01a2d..0000000000 --- a/openembedded/packages/apmd/apmd-3.2.2/logcheck.ignore.paranoid +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | apmd\[[0-9]+\]: (Normal|Standby|Critical) Resume | ||
2 | apmd\[[0-9]+\]: (Now using|Using) (AC|battery|backup) power | ||
3 | apmd\[[0-9]+\]: (System|User) (Standby|Suspend) | ||
4 | apmd\[[0-9]+\]: (apmd_)?call_proxy: | ||
5 | apmd\[[0-9]+\]: Battery: [0-9]+%, | ||
6 | apmd\[[0-9]+\]: Battery: absent | ||
7 | apmd\[[0-9]+\]: Capability Change | ||
8 | apmd\[[0-9]+\]: Exiting | ||
9 | apmd\[[0-9]+\]: Performing APM status check | ||
10 | apmd\[[0-9]+\]: Suspending now | ||
11 | apmd\[[0-9]+\]: Update Time | ||
12 | apmd\[[0-9]+\]: Version: apmd [0-9.]+, (apm )?driver [0-9.]+, APM BIOS [0-9.]+ | ||
13 | apmd\[[0-9]+\]: apmd [0-9.]+ interfacing with apm driver [0-9.]+ and APM BIOS [0-9.]+ | ||
diff --git a/openembedded/packages/apmd/apmd_3.2.2.bb b/openembedded/packages/apmd/apmd_3.2.2.bb index 0e8b364458..4a23f39590 100644 --- a/openembedded/packages/apmd/apmd_3.2.2.bb +++ b/openembedded/packages/apmd/apmd_3.2.2.bb | |||
@@ -3,12 +3,12 @@ SECTION = "base" | |||
3 | PRIORITY = "required" | 3 | PRIORITY = "required" |
4 | DEPENDS = "libtool-cross" | 4 | DEPENDS = "libtool-cross" |
5 | LICENSE = "GPL" | 5 | LICENSE = "GPL" |
6 | PR = "r5" | 6 | PR = "r7" |
7 | 7 | ||
8 | SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz; \ | 8 | SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz; \ |
9 | file://debian.patch;patch=1 \ | 9 | file://debian.patch;patch=1 \ |
10 | file://workaround.patch;patch=1 \ | 10 | file://workaround.patch;patch=1 \ |
11 | file://apmwrapper \ | 11 | file://zaurus24.patch;patch=1 \ |
12 | file://init \ | 12 | file://init \ |
13 | file://default \ | 13 | file://default \ |
14 | file://apmd_proxy \ | 14 | file://apmd_proxy \ |
@@ -44,25 +44,8 @@ do_install() { | |||
44 | install -d ${D}${bindir} | 44 | install -d ${D}${bindir} |
45 | install -d ${D}${libdir} | 45 | install -d ${D}${libdir} |
46 | install -d ${D}${datadir}/apmd | 46 | install -d ${D}${datadir}/apmd |
47 | # | ||
48 | # only Zaurus 2.4-embedix kernels need a breadead apm hack | ||
49 | # | ||
50 | # | ||
51 | case ${MACHINE} in | ||
52 | collie | poodle | tosa | c7x0 | akita | spitz | borzoi) | ||
53 | if [ "${KERNEL_VERSION}" == "2.6" ] | ||
54 | then | ||
55 | install -m 4577 ${S}/.libs/apm ${D}${bindir}/apm | ||
56 | else | ||
57 | install -m 4755 ${S}/.libs/apm ${D}${bindir}/apm.orig | ||
58 | install -m 0755 ${WORKDIR}/apmwrapper ${D}${bindir}/apm | ||
59 | fi | ||
60 | ;; | ||
61 | *) | ||
62 | install -m 4577 ${S}/.libs/apm ${D}${bindir}/apm | ||
63 | ;; | ||
64 | esac | ||
65 | 47 | ||
48 | install -m 4755 ${S}/.libs/apm ${D}${bindir}/apm | ||
66 | install -m 0755 ${S}/.libs/apmd ${D}${sbindir}/apmd | 49 | install -m 0755 ${S}/.libs/apmd ${D}${sbindir}/apmd |
67 | install -m 0755 ${WORKDIR}/apmd_proxy ${D}${sysconfdir}/apm/ | 50 | install -m 0755 ${WORKDIR}/apmd_proxy ${D}${sysconfdir}/apm/ |
68 | install -m 0644 ${WORKDIR}/apmd_proxy.conf ${D}${datadir}/apmd/ | 51 | install -m 0644 ${WORKDIR}/apmd_proxy.conf ${D}${datadir}/apmd/ |
@@ -79,5 +62,3 @@ PACKAGES =+ "libapm libapm-dev apm" | |||
79 | FILES_libapm = "${libdir}/libapm.so.*" | 62 | FILES_libapm = "${libdir}/libapm.so.*" |
80 | FILES_libapm-dev = "${libdir}/libapm.* ${includedir}" | 63 | FILES_libapm-dev = "${libdir}/libapm.* ${includedir}" |
81 | FILES_apm = "${bindir}/apm*" | 64 | FILES_apm = "${bindir}/apm*" |
82 | |||
83 | |||