diff options
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/hal/hal-0.5.11+0.5.12rc1/fix-configure.diff | 22 | ||||
-rw-r--r-- | meta/packages/hal/hal.inc | 13 | ||||
-rw-r--r-- | meta/packages/hal/hal_0.5.13.bb | 21 | ||||
-rw-r--r-- | meta/packages/hal/hal_0.5.14.bb (renamed from meta/packages/hal/hal_0.5.11+0.5.12rc1.bb) | 9 | ||||
-rw-r--r-- | meta/packages/hal/hal_git.bb | 76 |
5 files changed, 10 insertions, 131 deletions
diff --git a/meta/packages/hal/hal-0.5.11+0.5.12rc1/fix-configure.diff b/meta/packages/hal/hal-0.5.11+0.5.12rc1/fix-configure.diff deleted file mode 100644 index 7d9d42d69f..0000000000 --- a/meta/packages/hal/hal-0.5.11+0.5.12rc1/fix-configure.diff +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | From: Rémi Cardona <remi@gentoo.org> | ||
2 | Date: Sat, 9 Aug 2008 15:04:07 +0000 (+0200) | ||
3 | Subject: add libtool-2.2 support | ||
4 | X-Git-Url: http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=c8a1aedf87bbb200fc5daa0ec8559a2d84fbb61d | ||
5 | |||
6 | add libtool-2.2 support | ||
7 | |||
8 | Fix for aclocal to work properly with libtool 2.2 which no longer | ||
9 | checks for C++ automatically (this patch is of course backwards | ||
10 | compatible with libtool 1.5.x) | ||
11 | --- | ||
12 | |||
13 | --- a/configure.in | ||
14 | +++ b/configure.in | ||
15 | @@ -29,6 +29,7 @@ AC_SUBST(LT_AGE) | ||
16 | |||
17 | AC_ISC_POSIX | ||
18 | AC_PROG_CC | ||
19 | +AC_PROG_CXX | ||
20 | AM_PROG_CC_C_O | ||
21 | AC_HEADER_STDC | ||
22 | AC_PROG_LIBTOOL | ||
diff --git a/meta/packages/hal/hal.inc b/meta/packages/hal/hal.inc index 2b70eb714d..cacc67bd16 100644 --- a/meta/packages/hal/hal.inc +++ b/meta/packages/hal/hal.inc | |||
@@ -4,17 +4,14 @@ BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=hal" | |||
4 | SECTION = "unknown" | 4 | SECTION = "unknown" |
5 | 5 | ||
6 | LICENSE = "GPLv2+ | AFL" | 6 | LICENSE = "GPLv2+ | AFL" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5b5ffd59fbb7c2fff6de76c94177af31" | ||
7 | 8 | ||
8 | DEPENDS = "virtual/kernel dbus-glib udev intltool intltool-native expat libusb gperf-native" | 9 | DEPENDS = "virtual/kernel dbus-glib udev util-linux intltool intltool-native expat libusb gperf-native" |
9 | RDEPENDS += "udev hal-info" | 10 | RDEPENDS += "udev hal-info" |
10 | RRECOMMENDS = "udev-utils" | ||
11 | 11 | ||
12 | SRC_URI = "http://hal.freedesktop.org/releases/hal-${PV}.tar.gz" | 12 | SRC_URI = "http://hal.freedesktop.org/releases/hal-${PV}.tar.gz \ |
13 | SRC_URI += "file://99_hal \ | 13 | file://99_hal \ |
14 | file://20hal \ | 14 | file://20hal" |
15 | " | ||
16 | |||
17 | S = "${WORKDIR}/hal-${PV}" | ||
18 | 15 | ||
19 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
20 | 17 | ||
diff --git a/meta/packages/hal/hal_0.5.13.bb b/meta/packages/hal/hal_0.5.13.bb deleted file mode 100644 index dde33fabbf..0000000000 --- a/meta/packages/hal/hal_0.5.13.bb +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | require hal.inc | ||
2 | |||
3 | PR = "r3" | ||
4 | |||
5 | SRC_URI = "http://hal.freedesktop.org/releases/hal-0.5.13.tar.gz \ | ||
6 | file://99_hal \ | ||
7 | file://20hal" | ||
8 | |||
9 | S = "${WORKDIR}/hal-0.5.13" | ||
10 | |||
11 | EXTRA_OECONF += "--with-linux-input-header=${STAGING_INCDIR}/linux/input.h" | ||
12 | |||
13 | PACKAGES =+ "libhal libhal-storage" | ||
14 | |||
15 | DEPENDS += "util-linux" | ||
16 | |||
17 | FILES_libhal = "${libdir}/libhal.so.*" | ||
18 | FILES_libhal-storage = "${libdir}/libhal-storage.so.*" | ||
19 | |||
20 | FILES_${PN} =+ "${bindir}/hal-disable-polling \ | ||
21 | ${bindir}/hal-setup-keymap" | ||
diff --git a/meta/packages/hal/hal_0.5.11+0.5.12rc1.bb b/meta/packages/hal/hal_0.5.14.bb index f9b4f2cb7d..4981c84c49 100644 --- a/meta/packages/hal/hal_0.5.11+0.5.12rc1.bb +++ b/meta/packages/hal/hal_0.5.14.bb | |||
@@ -1,14 +1,9 @@ | |||
1 | require hal.inc | 1 | require hal.inc |
2 | 2 | ||
3 | PR = "r2" | 3 | PR = "r0" |
4 | |||
5 | SRC_URI = "http://hal.freedesktop.org/releases/hal-0.5.12rc1.tar.gz \ | ||
6 | file://99_hal \ | ||
7 | file://20hal" | ||
8 | |||
9 | S = "${WORKDIR}/hal-0.5.12rc1" | ||
10 | 4 | ||
11 | EXTRA_OECONF += "--with-linux-input-header=${STAGING_INCDIR}/linux/input.h" | 5 | EXTRA_OECONF += "--with-linux-input-header=${STAGING_INCDIR}/linux/input.h" |
6 | EXTRA_OEMAKE += "-e 'udevrulesdir=$(sysconfdir)/udev/rules.d'" | ||
12 | 7 | ||
13 | PACKAGES =+ "libhal libhal-storage" | 8 | PACKAGES =+ "libhal libhal-storage" |
14 | 9 | ||
diff --git a/meta/packages/hal/hal_git.bb b/meta/packages/hal/hal_git.bb index 85bb777d5f..34ccfe9cf2 100644 --- a/meta/packages/hal/hal_git.bb +++ b/meta/packages/hal/hal_git.bb | |||
@@ -1,16 +1,7 @@ | |||
1 | DESCRIPTION = "Hardware Abstraction Layer" | 1 | require hal.inc |
2 | HOMEPAGE = "http://freedesktop.org/Software/hal" | ||
3 | BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=hal" | ||
4 | SECTION = "unknown" | ||
5 | |||
6 | LICENSE = "GPLv2+ | AFL" | ||
7 | |||
8 | DEPENDS = "virtual/kernel dbus-glib udev intltool-native expat libusb" | ||
9 | RDEPENDS_${PN} += "udev hal-info" | ||
10 | RRECOMMENDS_${PN} += "udev-utils" | ||
11 | 2 | ||
12 | PV = "0.5.9.1+git${SRCDATE}" | 3 | PV = "0.5.9.1+git${SRCDATE}" |
13 | PR = "r4" | 4 | PR = "r5" |
14 | 5 | ||
15 | SRC_URI = "git://anongit.freedesktop.org/hal/;protocol=git \ | 6 | SRC_URI = "git://anongit.freedesktop.org/hal/;protocol=git \ |
16 | file://20hal \ | 7 | file://20hal \ |
@@ -18,65 +9,4 @@ SRC_URI = "git://anongit.freedesktop.org/hal/;protocol=git \ | |||
18 | 9 | ||
19 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
20 | 11 | ||
21 | inherit autotools pkgconfig | 12 | DEFAULT_PREFERENCE = "-1" |
22 | |||
23 | EXTRA_OECONF = "--with-hwdata=${datadir}/hwdata \ | ||
24 | --with-expat=${STAGING_DIR_HOST}${prefix} \ | ||
25 | --with-dbus-sys=${sysconfdir}/dbus-1/system.d \ | ||
26 | --with-hotplug=${sysconfdir}/hotplug.d \ | ||
27 | --disable-docbook-docs \ | ||
28 | --disable-policy-kit \ | ||
29 | --disable-acpi --disable-acpi-acpid --disable-acpi-proc \ | ||
30 | --disable-sonypic \ | ||
31 | --disable-pmu --disable-pci \ | ||
32 | --disable-pci-ids --disable-pnp-ids \ | ||
33 | " | ||
34 | |||
35 | do_install_append() { | ||
36 | install -d ${D}/etc/default/volatiles | ||
37 | install -m 0644 ${WORKDIR}/99_hal ${D}/etc/default/volatiles | ||
38 | install -d ${D}/etc/dbus-1/event.d | ||
39 | install -m 0755 ${WORKDIR}/20hal ${D}/etc/dbus-1/event.d | ||
40 | } | ||
41 | |||
42 | # At the time the postinst runs, dbus might not be setup so only restart if running | ||
43 | pkg_postinst_hal () { | ||
44 | # can't do this offline | ||
45 | if [ "x$D" != "x" ]; then | ||
46 | exit 1 | ||
47 | fi | ||
48 | |||
49 | /etc/init.d/populate-volatile.sh update | ||
50 | |||
51 | grep haldaemon /etc/group || addgroup haldaemon | ||
52 | grep haldaemon /etc/passwd || adduser --disabled-password --system --home /var/run/hald --no-create-home haldaemon --ingroup haldaemon -g HAL | ||
53 | |||
54 | DBUSPID=`pidof dbus-daemon` | ||
55 | |||
56 | if [ "x$DBUSPID" != "x" ]; then | ||
57 | /etc/init.d/dbus-1 reload | ||
58 | fi | ||
59 | } | ||
60 | |||
61 | pkg_postrm_hal () { | ||
62 | deluser haldaemon || true | ||
63 | delgroup haldaemon || true | ||
64 | } | ||
65 | |||
66 | FILES_${PN} = "${sysconfdir} \ | ||
67 | ${bindir}/lshal \ | ||
68 | ${bindir}/hal-find-by-capability \ | ||
69 | ${bindir}/hal-find-by-property \ | ||
70 | ${bindir}/hal-device \ | ||
71 | ${bindir}/hal-get-property \ | ||
72 | ${bindir}/hal-set-property \ | ||
73 | ${bindir}/hal-lock \ | ||
74 | ${bindir}/hal-is-caller-locked-out \ | ||
75 | ${bindir}/hal-disable-polling \ | ||
76 | ${sbindir} \ | ||
77 | ${libdir}/libhal.so.* \ | ||
78 | ${libdir}/libhal-storage.so.* \ | ||
79 | ${libdir}/hal \ | ||
80 | ${libexecdir} \ | ||
81 | ${datadir}/hal/fdi \ | ||
82 | ${datadir}/hal/scripts" | ||