diff options
| author | Saul Wold <Saul.Wold@intel.com> | 2010-11-22 13:57:13 +0000 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-22 13:57:13 +0000 |
| commit | cfe12efb5ec9586dab6961f141d52b103bd8b1d1 (patch) | |
| tree | 7108e22aa7ddf6cfc2f1b6c6b73a811187706ecb /meta/recipes-extended | |
| parent | 762fd6b7b3b22d7a8cb80ef9e9ba62e7ef21af3e (diff) | |
| download | poky-cfe12efb5ec9586dab6961f141d52b103bd8b1d1.tar.gz | |
Meta: Recipe Reogranization
This is the next stage of recipe reorganization, in this stage
many recipes where moved to a new meta-demoapps layer since this
is more appropriate for demo usage then the core. Additional some
recipes were moved to meta-extras to indicate they may be depercated
at a future time.
A number of recipes were modified since dependencies need to be
corrected.
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Diffstat (limited to 'meta/recipes-extended')
| -rw-r--r-- | meta/recipes-extended/devicekit/devicekit-power_014.bb | 21 | ||||
| -rw-r--r-- | meta/recipes-extended/devicekit/devicekit/volatile | 1 | ||||
| -rw-r--r-- | meta/recipes-extended/devicekit/devicekit_003.bb | 16 | ||||
| -rw-r--r-- | meta/recipes-extended/devicekit/devicekit_git.bb | 34 | ||||
| -rw-r--r-- | meta/recipes-extended/tasks/task-poky-basic.bb | 1 | ||||
| -rw-r--r-- | meta/recipes-extended/tasks/task-poky-lsb.bb | 9 | ||||
| -rw-r--r-- | meta/recipes-extended/zile/files/for_build.patch | 64 | ||||
| -rw-r--r-- | meta/recipes-extended/zile/zile_1.7+2.0beta6.bb | 19 |
8 files changed, 8 insertions, 157 deletions
diff --git a/meta/recipes-extended/devicekit/devicekit-power_014.bb b/meta/recipes-extended/devicekit/devicekit-power_014.bb deleted file mode 100644 index f69a060ef2..0000000000 --- a/meta/recipes-extended/devicekit/devicekit-power_014.bb +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | DESCRIPTION = "Devicekit power" | ||
| 2 | LICENSE = "GPLv2" | ||
| 3 | DEPENDS = "devicekit glib-2.0 dbus-glib polkit" | ||
| 4 | |||
| 5 | SRC_URI = "http://hal.freedesktop.org/releases/DeviceKit-power-${PV}.tar.gz" | ||
| 6 | S = "${WORKDIR}/DeviceKit-power-${PV}" | ||
| 7 | |||
| 8 | inherit autotools pkgconfig | ||
| 9 | |||
| 10 | do_configure_prepend() { | ||
| 11 | sed -i -e s:-nonet:\:g ${S}/doc/man/Makefile.am | ||
| 12 | } | ||
| 13 | |||
| 14 | EXTRA_OECONF = "--with-backend=linux" | ||
| 15 | |||
| 16 | FILES_${PN} += "${datadir}/dbus-1/ \ | ||
| 17 | ${datadir}/PolicyKit \ | ||
| 18 | ${base_libdir}/udev/* \ | ||
| 19 | " | ||
| 20 | |||
| 21 | FILES_${PN}-dbg += "${base_libdir}/udev/.debug" | ||
diff --git a/meta/recipes-extended/devicekit/devicekit/volatile b/meta/recipes-extended/devicekit/devicekit/volatile deleted file mode 100644 index 1e399642e0..0000000000 --- a/meta/recipes-extended/devicekit/devicekit/volatile +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | d root root 0700 /var/run/devkit none | ||
diff --git a/meta/recipes-extended/devicekit/devicekit_003.bb b/meta/recipes-extended/devicekit/devicekit_003.bb deleted file mode 100644 index af812935cd..0000000000 --- a/meta/recipes-extended/devicekit/devicekit_003.bb +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | DESCRIPTION = "DeviceKit is a simple system service that a) can enumerate devices; b) emits signals when devices are added removed; c) provides a way to merge device information / quirks onto devices." | ||
| 2 | LICENSE = "GPLv2" | ||
| 3 | DEPENDS = "udev dbus-glib glib-2.0" | ||
| 4 | |||
| 5 | PR = "r1" | ||
| 6 | |||
| 7 | SRC_URI = "http://hal.freedesktop.org/releases/DeviceKit-${PV}.tar.gz" | ||
| 8 | S = "${WORKDIR}/DeviceKit-${PV}" | ||
| 9 | |||
| 10 | do_configure_prepend() { | ||
| 11 | sed -i -e s:-nonet:\:g ${S}/doc/man/Makefile.am | ||
| 12 | } | ||
| 13 | |||
| 14 | inherit autotools | ||
| 15 | |||
| 16 | FILES_${PN} += "${datadir}/dbus-1/" | ||
diff --git a/meta/recipes-extended/devicekit/devicekit_git.bb b/meta/recipes-extended/devicekit/devicekit_git.bb deleted file mode 100644 index 9845a34d56..0000000000 --- a/meta/recipes-extended/devicekit/devicekit_git.bb +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | LICENSE = "GPL" | ||
| 2 | DEPENDS = "dbus-glib" | ||
| 3 | |||
| 4 | SRC_URI = "git://anongit.freedesktop.org/DeviceKit/DeviceKit;protocol=git \ | ||
| 5 | file://volatile" | ||
| 6 | |||
| 7 | PV = "002+git${SRCREV}" | ||
| 8 | PR = "r2" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | EXTRA_OECONF = "--disable-man-pages" | ||
| 13 | |||
| 14 | inherit autotools pkgconfig | ||
| 15 | |||
| 16 | do_install_append() { | ||
| 17 | install -d ${D}/etc/default/volatiles | ||
| 18 | install -m 0644 ${WORKDIR}/volatile ${D}/etc/default/volatiles/devicekit | ||
| 19 | } | ||
| 20 | |||
| 21 | pkg_postinst_devicekit () { | ||
| 22 | # can't do this offline | ||
| 23 | if [ "x$D" != "x" ]; then | ||
| 24 | exit 1 | ||
| 25 | fi | ||
| 26 | |||
| 27 | DBUSPID=`pidof dbus-daemon` | ||
| 28 | |||
| 29 | if [ "x$DBUSPID" != "x" ]; then | ||
| 30 | /etc/init.d/dbus-1 reload | ||
| 31 | fi | ||
| 32 | } | ||
| 33 | |||
| 34 | FILES_${PN} += "${datadir}/dbus-1/" | ||
diff --git a/meta/recipes-extended/tasks/task-poky-basic.bb b/meta/recipes-extended/tasks/task-poky-basic.bb index 5e2a35e787..08eddb6bb2 100644 --- a/meta/recipes-extended/tasks/task-poky-basic.bb +++ b/meta/recipes-extended/tasks/task-poky-basic.bb | |||
| @@ -75,6 +75,7 @@ RDEPENDS_task-poky-basic-utils = "\ | |||
| 75 | gmp \ | 75 | gmp \ |
| 76 | grep \ | 76 | grep \ |
| 77 | makedevs \ | 77 | makedevs \ |
| 78 | mc \ | ||
| 78 | mktemp \ | 79 | mktemp \ |
| 79 | ncurses \ | 80 | ncurses \ |
| 80 | net-tools \ | 81 | net-tools \ |
diff --git a/meta/recipes-extended/tasks/task-poky-lsb.bb b/meta/recipes-extended/tasks/task-poky-lsb.bb index 3004ec2dae..82933e89f6 100644 --- a/meta/recipes-extended/tasks/task-poky-lsb.bb +++ b/meta/recipes-extended/tasks/task-poky-lsb.bb | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | # | 3 | # |
| 4 | 4 | ||
| 5 | DESCRIPTION = "Create Small Image Tasks" | 5 | DESCRIPTION = "Create Small Image Tasks" |
| 6 | PR = "r1" | 6 | PR = "r2" |
| 7 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
| 8 | 8 | ||
| 9 | PACKAGES = "\ | 9 | PACKAGES = "\ |
| @@ -43,6 +43,7 @@ RDEPENDS_task-poky-lsb = "\ | |||
| 43 | # GPLv2 Should List | 43 | # GPLv2 Should List |
| 44 | RDEPENDS_task-poky-sys-extended = "\ | 44 | RDEPENDS_task-poky-sys-extended = "\ |
| 45 | curl \ | 45 | curl \ |
| 46 | dhcp-client \ | ||
| 46 | diffutils \ | 47 | diffutils \ |
| 47 | gamin \ | 48 | gamin \ |
| 48 | hdparm \ | 49 | hdparm \ |
| @@ -50,6 +51,7 @@ RDEPENDS_task-poky-sys-extended = "\ | |||
| 50 | libxml2 \ | 51 | libxml2 \ |
| 51 | lrzsz \ | 52 | lrzsz \ |
| 52 | lzo \ | 53 | lzo \ |
| 54 | mc \ | ||
| 53 | mdadm \ | 55 | mdadm \ |
| 54 | minicom \ | 56 | minicom \ |
| 55 | neon \ | 57 | neon \ |
| @@ -62,6 +64,7 @@ RDEPENDS_task-poky-sys-extended = "\ | |||
| 62 | unzip \ | 64 | unzip \ |
| 63 | watchdog \ | 65 | watchdog \ |
| 64 | which \ | 66 | which \ |
| 67 | xinetd \ | ||
| 65 | zip \ | 68 | zip \ |
| 66 | " | 69 | " |
| 67 | 70 | ||
| @@ -95,9 +98,11 @@ RDEPENDS_task-poky-tcl = "\ | |||
| 95 | RDEPENDS_task-poky-misc = "\ | 98 | RDEPENDS_task-poky-misc = "\ |
| 96 | elfutils \ | 99 | elfutils \ |
| 97 | gettext \ | 100 | gettext \ |
| 101 | groff \ | ||
| 98 | lsb \ | 102 | lsb \ |
| 99 | lsof \ | 103 | lsof \ |
| 100 | # man-pages \ | 104 | man \ |
| 105 | man-pages \ | ||
| 101 | ncurses \ | 106 | ncurses \ |
| 102 | strace \ | 107 | strace \ |
| 103 | libusb1 \ | 108 | libusb1 \ |
diff --git a/meta/recipes-extended/zile/files/for_build.patch b/meta/recipes-extended/zile/files/for_build.patch deleted file mode 100644 index 96380fa220..0000000000 --- a/meta/recipes-extended/zile/files/for_build.patch +++ /dev/null | |||
| @@ -1,64 +0,0 @@ | |||
| 1 | Index: zile-2.0beta6/acinclude.m4 | ||
| 2 | =================================================================== | ||
| 3 | --- zile-2.0beta6.orig/acinclude.m4 2004-12-20 19:13:07.000000000 -0500 | ||
| 4 | +++ zile-2.0beta6/acinclude.m4 2005-01-21 20:38:28.982166344 -0500 | ||
| 5 | @@ -35,3 +35,29 @@ | ||
| 6 | t} | ||
| 7 | fi | ||
| 8 | AC_SUBST(EXEEXT_FOR_BUILD)])dnl | ||
| 9 | + | ||
| 10 | +dnl Get a default for CFLAGS_FOR_BUILD to put into Makefile. | ||
| 11 | +AC_DEFUN([BFD_CFLAGS_FOR_BUILD], | ||
| 12 | +[ac_test_CFLAGS=${CFLAGS+set} | ||
| 13 | +# Put a plausible default for CFLAGS_FOR_BUILD in Makefile. | ||
| 14 | +if test -z "$CFLAGS_FOR_BUILD"; then | ||
| 15 | + if test "x$cross_compiling" = "xyes"; then | ||
| 16 | + CFLAGS_FOR_BUILD="-O2" | ||
| 17 | + else | ||
| 18 | + CFLAGS_FOR_BUILD='$(CFLAGS)' | ||
| 19 | + fi | ||
| 20 | +fi | ||
| 21 | +AC_SUBST(CFLAGS_FOR_BUILD)])dnl | ||
| 22 | + | ||
| 23 | +dnl Get a default for LDFLAGS_FOR_BUILD to put into Makefile. | ||
| 24 | +AC_DEFUN([BFD_LDFLAGS_FOR_BUILD], | ||
| 25 | +[ac_test_LDFLAGS=${LDFLAGS+set} | ||
| 26 | +# Put a plausible default for LDFLAGS_FOR_BUILD in Makefile. | ||
| 27 | +if test -z "$LDFLAGS_FOR_BUILD"; then | ||
| 28 | + if test "x$cross_compiling" = "xyes"; then | ||
| 29 | + LDFLAGS_FOR_BUILD="" | ||
| 30 | + else | ||
| 31 | + LDFLAGS_FOR_BUILD='$(LDFLAGS)' | ||
| 32 | + fi | ||
| 33 | +fi | ||
| 34 | +AC_SUBST(LDFLAGS_FOR_BUILD)])dnl | ||
| 35 | Index: zile-2.0beta6/configure.ac | ||
| 36 | =================================================================== | ||
| 37 | --- zile-2.0beta6.orig/configure.ac 2005-01-12 07:56:19.000000000 -0500 | ||
| 38 | +++ zile-2.0beta6/configure.ac 2005-01-21 20:26:58.178184512 -0500 | ||
| 39 | @@ -19,6 +19,8 @@ | ||
| 40 | |||
| 41 | AC_PROG_CC | ||
| 42 | BFD_CC_FOR_BUILD | ||
| 43 | +BFD_CFLAGS_FOR_BUILD | ||
| 44 | +BFD_LDFLAGS_FOR_BUILD | ||
| 45 | AC_C_INLINE | ||
| 46 | AC_PROG_INSTALL | ||
| 47 | AC_PROG_RANLIB | ||
| 48 | Index: zile-2.0beta6/doc/Makefile.am | ||
| 49 | =================================================================== | ||
| 50 | --- zile-2.0beta6.orig/doc/Makefile.am 2005-01-03 06:11:32.000000000 -0500 | ||
| 51 | +++ zile-2.0beta6/doc/Makefile.am 2005-01-21 20:27:17.271281920 -0500 | ||
| 52 | @@ -27,10 +27,10 @@ | ||
| 53 | AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/src | ||
| 54 | |||
| 55 | mkdoc$(EXEEXT_FOR_BUILD): mkdoc.o config.h | ||
| 56 | - $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ mkdoc.o | ||
| 57 | + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ mkdoc.o | ||
| 58 | |||
| 59 | mkdoc.o: mkdoc.c | ||
| 60 | - $(CC_FOR_BUILD) -c -I$(top_srcdir)/doc -I$(top_srcdir) -I$(top_srcdir)/src $(CFLAGS) $(srcdir)/mkdoc.c | ||
| 61 | + $(CC_FOR_BUILD) -c -I$(top_srcdir)/doc -I$(top_srcdir) -I$(top_srcdir)/src $(CFLAGS_FOR_BUILD) $(srcdir)/mkdoc.c | ||
| 62 | |||
| 63 | AUTODOC: $(AUTODOCSRCS) mkdoc | ||
| 64 | ./mkdoc $(AUTODOCSRCS) >AUTODOC | ||
diff --git a/meta/recipes-extended/zile/zile_1.7+2.0beta6.bb b/meta/recipes-extended/zile/zile_1.7+2.0beta6.bb deleted file mode 100644 index 74d832eef3..0000000000 --- a/meta/recipes-extended/zile/zile_1.7+2.0beta6.bb +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | DESCRIPTION = "Zile is a very small emacs-like editor." | ||
| 2 | HOMEPAGE = "http://zile.sourceforge.net/" | ||
| 3 | LICENSE = "GPL" | ||
| 4 | DEPENDS = "ncurses" | ||
| 5 | PRIORITY = "optional" | ||
| 6 | SECTION = "console/editors" | ||
| 7 | PR = "r1" | ||
| 8 | |||
| 9 | UV = "${@bb.data.getVar('PV', d, 1).split('+')[1]}" | ||
| 10 | |||
| 11 | SRC_URI = "${SOURCEFORGE_MIRROR}/zile/zile-${UV}.tar.gz \ | ||
| 12 | file://for_build.patch;patch=1" | ||
| 13 | S = "${WORKDIR}/zile-${UV}" | ||
| 14 | |||
| 15 | inherit autotools | ||
| 16 | |||
| 17 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
| 18 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -DHAVE_VASPRINTF" | ||
| 19 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" | ||
