From b580307f98a50aba302ba7265c1cc5888a070764 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 27 Jun 2007 12:19:03 +0000 Subject: Rename task-oh -> task-poky git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2021 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/conf/distro/poky.conf | 4 +- meta/packages/images/poky-image.inc | 40 +++++----- meta/packages/tasks/task-base.bb | 10 +-- meta/packages/tasks/task-oh-sdk.bb | 73 ----------------- meta/packages/tasks/task-oh.bb | 147 ----------------------------------- meta/packages/tasks/task-poky-sdk.bb | 73 +++++++++++++++++ meta/packages/tasks/task-poky.bb | 146 ++++++++++++++++++++++++++++++++++ 7 files changed, 246 insertions(+), 247 deletions(-) delete mode 100644 meta/packages/tasks/task-oh-sdk.bb delete mode 100644 meta/packages/tasks/task-oh.bb create mode 100644 meta/packages/tasks/task-poky-sdk.bb create mode 100644 meta/packages/tasks/task-poky.bb (limited to 'meta') diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf index 028d2346a..0b3153a97 100644 --- a/meta/conf/distro/poky.conf +++ b/meta/conf/distro/poky.conf @@ -200,8 +200,8 @@ DISTRO_EXTRA_RDEPENDS += "${POKY_EXTRA_RDEPENDS}" IMAGE_FEATURES ?= "" DISTRO_TASKS = "\ - task-oh-boot \ - task-oh-boot-extras \ + task-poky-boot \ + task-poky-boot-extras \ " # diff --git a/meta/packages/images/poky-image.inc b/meta/packages/images/poky-image.inc index 6f1bed976..872f3c802 100644 --- a/meta/packages/images/poky-image.inc +++ b/meta/packages/images/poky-image.inc @@ -4,38 +4,38 @@ # IMAGE_FEATURES control content of images built with Poky. # -# By default we install task-oh-boot and task-oh-boot-extras packages - this +# By default we install task-poky-boot and task-poky-boot-extras packages - this # gives us working (console only) rootfs. # -# "apps-core", "apps-pda" and other tasks are defined in task-oh recipe and have +# "apps-core", "apps-pda" and other tasks are defined in task-poky recipe and have # to add needed packages for selected task. # DISTRO_TASKS += '\ - ${@base_contains("IMAGE_FEATURES", "dbg-pkgs", "task-oh-boot-dbg task-oh-boot-extras-dbg", "",d)} \ - ${@base_contains("IMAGE_FEATURES", "dev-pkgs", "task-oh-boot-dev task-oh-boot-extras-dev", "",d)} \ + ${@base_contains("IMAGE_FEATURES", "dbg-pkgs", "task-poky-boot-dbg task-poky-boot-extras-dbg", "",d)} \ + ${@base_contains("IMAGE_FEATURES", "dev-pkgs", "task-poky-boot-dev task-poky-boot-extras-dev", "",d)} \ \ - ${@base_contains("IMAGE_FEATURES", "apps-core", "task-oh-base", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["apps-core", "dbg-pkgs"], "task-oh-base-dbg", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["apps-core", "dev-pkgs"], "task-oh-base-dev", "",d)} \ + ${@base_contains("IMAGE_FEATURES", "apps-core", "task-poky-base", "",d)} \ + ${@base_contains("IMAGE_FEATURES", ["apps-core", "dbg-pkgs"], "task-poky-base-dbg", "",d)} \ + ${@base_contains("IMAGE_FEATURES", ["apps-core", "dev-pkgs"], "task-poky-base-dev", "",d)} \ \ - ${@base_contains("IMAGE_FEATURES", "apps-pda", "task-oh-standard", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["apps-pda", "dbg-pkgs"], "task-oh-standard-dbg", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["apps-pda", "dev-pkgs"], "task-oh-standard-dev", "",d)} \ + ${@base_contains("IMAGE_FEATURES", "apps-pda", "task-poky-standard", "",d)} \ + ${@base_contains("IMAGE_FEATURES", ["apps-pda", "dbg-pkgs"], "task-poky-standard-dbg", "",d)} \ + ${@base_contains("IMAGE_FEATURES", ["apps-pda", "dev-pkgs"], "task-poky-standard-dev", "",d)} \ \ - ${@base_contains("IMAGE_FEATURES", "dev-tools", "task-oh-sdk", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["dev-tools", "dbg-pkgs"], "task-oh-sdk-dbg", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["dev-tools", "dev-pkgs"], "task-oh-sdk-dev", "",d)} \ + ${@base_contains("IMAGE_FEATURES", "dev-tools", "task-poky-sdk", "",d)} \ + ${@base_contains("IMAGE_FEATURES", ["dev-tools", "dbg-pkgs"], "task-poky-sdk-dbg", "",d)} \ + ${@base_contains("IMAGE_FEATURES", ["dev-tools", "dev-pkgs"], "task-poky-sdk-dev", "",d)} \ \ - ${@base_contains("IMAGE_FEATURES", "dbg-tools", "task-oh-devtools", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["dbg-tools", "dbg-pkgs"], "task-oh-devtools-dbg", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["dbg-tools", "dev-pkgs"], "task-oh-devtools-dev", "",d)} \ + ${@base_contains("IMAGE_FEATURES", "dbg-tools", "task-poky-devtools", "",d)} \ + ${@base_contains("IMAGE_FEATURES", ["dbg-tools", "dbg-pkgs"], "task-poky-devtools-dbg", "",d)} \ + ${@base_contains("IMAGE_FEATURES", ["dbg-tools", "dev-pkgs"], "task-poky-devtools-dev", "",d)} \ \ - ${@base_contains("IMAGE_FEATURES", "test-tools", "task-oh-testapps", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["test-tools", "dbg-pkgs"], "task-oh-testapps-dbg", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["test-tools", "dev-pkgs"], "task-oh-testapps-dev", "",d)} \ + ${@base_contains("IMAGE_FEATURES", "test-tools", "task-poky-testapps", "",d)} \ + ${@base_contains("IMAGE_FEATURES", ["test-tools", "dbg-pkgs"], "task-poky-testapps-dbg", "",d)} \ + ${@base_contains("IMAGE_FEATURES", ["test-tools", "dev-pkgs"], "task-poky-testapps-dev", "",d)} \ \ - ${@base_contains("IMAGE_FEATURES", "nfs-server", "task-oh-nfs-server", "",d)} \ + ${@base_contains("IMAGE_FEATURES", "nfs-server", "task-poky-nfs-server", "",d)} \ ' IMAGE_INSTALL ?= "${DISTRO_TASKS}" diff --git a/meta/packages/tasks/task-base.bb b/meta/packages/tasks/task-base.bb index 87ab844c4..dfd9d50f6 100644 --- a/meta/packages/tasks/task-base.bb +++ b/meta/packages/tasks/task-base.bb @@ -3,10 +3,10 @@ # DESCRIPTION = "Merge machine and distro options to create a basic machine task/package" -PR = "r6" +PR = "r7" PACKAGES = "task-base \ - task-base-oh-minimal" + task-base-poky-minimal" ALLOW_EMPTY = "1" @@ -96,17 +96,17 @@ RRECOMMENDS_task-base = "\ # -# task-base-oh-minimal +# task-base-poky-minimal # An example of a small cut down machine configuration # -RDEPENDS_task-base-oh-minimal = "\ +RDEPENDS_task-base-poky-minimal = "\ kernel \ ${@base_contains("MACHINE_FEATURES", "kernel26", "${task-base-kernel26-rdepends}", "",d)} \ ${@base_contains("MACHINE_FEATURES", "apm", "${task-base-apm-rdepends}", "",d)} \ ${@base_contains("COMBINED_FEATURES", "pcmcia", "${PCMCIA_MANAGER}", "",d)} \ ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" -RRECOMMENDS_task-base-oh-minimal = "\ +RRECOMMENDS_task-base-poky-minimal = "\ ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" task-base-kernel26-rdepends = "\ diff --git a/meta/packages/tasks/task-oh-sdk.bb b/meta/packages/tasks/task-oh-sdk.bb deleted file mode 100644 index 42bf20a8f..000000000 --- a/meta/packages/tasks/task-oh-sdk.bb +++ /dev/null @@ -1,73 +0,0 @@ -# -# Copyright (C) 2007 OpenedHand Ltd. -# - -DESCRIPTON = "Software Development Tasks for OpenedHand Poky" -PR = "r14" -DEPENDS = "task-oh" -ALLOW_EMPTY = "1" -#PACKAGEFUNCS =+ 'generate_sdk_pkgs' - -PACKAGES = "\ - task-oh-sdk \ - task-oh-sdk-dbg \ - task-oh-sdk-dev" - -RDEPENDS_task-oh-sdk = "\ - autoconf \ - automake \ - binutils \ - binutils-symlinks \ - coreutils \ - diffutils \ - gcc \ - gcc-symlinks \ - g++ \ - g++-symlinks \ - make \ - intltool \ - perl-module-re \ - perl-module-text-wrap \ - pkgconfig \ - distcc" - -#python generate_sdk_pkgs () { -# ohpkgs = read_pkgdata('task-oh', d)['PACKAGES'] -# pkgs = bb.data.getVar('PACKAGES', d, 1).split() -# for pkg in ohpkgs.split(): -# newpkg = pkg.replace('task-oh', 'task-oh-sdk') -# -# # for each of the task packages, add a corresponding sdk task -# pkgs.append(newpkg) -# -# # for each sdk task, take the rdepends of the non-sdk task, and turn -# # that into rrecommends upon the -dev versions of those, not unlike -# # the package depchain code -# spkgdata = read_subpkgdata(pkg, d) -# -# rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '') -# rreclist = [] -# -# for depend in rdepends: -# split_depend = depend.split(' (') -# name = split_depend[0].strip() -# if packaged('%s-dev' % name, d): -# rreclist.append('%s-dev' % name) -# else: -# deppkgdata = read_subpkgdata(name, d) -# rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '') -# for depend in rdepends2: -# split_depend = depend.split(' (') -# name = split_depend[0].strip() -# if packaged('%s-dev' % name, d): -# rreclist.append('%s-dev' % name) -# -# oldrrec = bb.data.getVar('RRECOMMENDS_%s' % newpkg, d) or '' -# bb.data.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist), d) -# # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, bb.data.getVar('RRECOMMENDS_%s' % newpkg, d))) -# -# # bb.note('pkgs is %s' % pkgs) -# bb.data.setVar('PACKAGES', ' '.join(pkgs), d) -#} -# -#PACKAGES_DYNAMIC = "task-oh-sdk-*" diff --git a/meta/packages/tasks/task-oh.bb b/meta/packages/tasks/task-oh.bb deleted file mode 100644 index bd77cd8d3..000000000 --- a/meta/packages/tasks/task-oh.bb +++ /dev/null @@ -1,147 +0,0 @@ -# -# Copyright (C) 2007 OpenedHand Ltd. -# - -DESCRIPTION = "Tasks for OpenedHand Poky" -PR = "r66" - -PACKAGES = "\ - task-oh-base \ - task-oh-base-dbg \ - task-oh-base-dev \ - task-oh-boot \ - task-oh-boot-dbg \ - task-oh-boot-dev \ - task-oh-standard \ - task-oh-standard-dbg \ - task-oh-standard-dev \ - task-oh-boot-extras \ - task-oh-boot-extras-dbg \ - task-oh-boot-extras-dev \ - task-oh-boot-min-extras \ - task-oh-boot-min-extras-dbg \ - task-oh-boot-min-extras-dev \ - task-oh-devtools \ - task-oh-devtools-dbg \ - task-oh-devtools-dev \ - task-oh-testapps \ - task-oh-testapps-dbg \ - task-oh-testapps-dev \ - task-oh-nfs-server \ - task-oh-nfs-server-dbg \ - task-oh-nfs-server-dev \ - " - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -XSERVER ?= "xserver-kdrive-fbdev" - -ALLOW_EMPTY = "1" - -RDEPENDS_task-oh-boot = "\ - base-files \ - base-passwd \ - busybox \ - initscripts \ - modutils-initscripts \ - netbase \ - sysvinit \ - tinylogin \ - udev \ - update-alternatives" - -RDEPENDS_task-oh-boot-extras = "\ - task-base" - -RDEPENDS_task-oh-boot-min-extras = "\ - task-base-oh-minimal" - -RDEPENDS_task-oh-base = "\ - psplash \ - matchbox-common \ - matchbox-wm \ - matchbox-keyboard \ - matchbox-keyboard-applet \ - matchbox-keyboard-im \ - matchbox-panel-2 \ - matchbox-desktop \ - ${XSERVER} \ - xserver-kdrive-common \ - xserver-nodm-init \ - liberation-fonts \ - xauth \ - xhost \ - xset \ - xrandr \ - udev \ - sysfsutils \ - gdk-pixbuf-loader-png \ - gdk-pixbuf-loader-gif \ - gdk-pixbuf-loader-xpm \ - gdk-pixbuf-loader-jpeg \ - pango-module-basic-x \ - pango-module-basic-fc \ - gtk+ " - -RDEPENDS_task-oh-standard = "\ - leafpad \ - dropbear \ - portmap \ - matchbox-desktop \ - matchbox-sato \ - matchbox-keyboard \ - matchbox-stroke \ - matchbox-config-gtk \ - matchbox-themes-gtk \ - matchbox-applet-startup-monitor \ - xcursor-transparent-theme \ - sato-icon-theme \ - settings-daemon \ - gtk-sato-engine \ - eds-dbus \ - contacts \ - dates \ - tasks \ - web \ - pcmanfm \ - puzzles \ - rxvt-unicode \ - screenshot \ - avahi-daemon \ - gnome-vfs \ - gnome-vfs-plugin-file \ - gnome-vfs-plugin-http" -# matchbox-applet-inputmanager - -RDEPENDS_task-oh-devtools = "\ - oprofile \ - oprofileui-server \ - gdb \ - strace \ - less \ - lttng-viewer" -RRECOMMENDS_task-oh-devtools = "\ - kernel-module-oprofile" - -RDEPENDS_task-oh-testapps = "\ - tslib-calibrate \ - tslib-tests \ - lrzsz \ - alsa-utils-amixer \ - alsa-utils-aplay \ - owl-video-widget \ - gst-meta-video \ - gst-meta-audio" - -RDEPENDS_task-oh-nfs-server = "\ - nfs-utils" - -# rpcinfo can be useful -RRECOMMENDS_task-oh-nfs-server = "\ - glibc-utils" - -# minimo \ -# teleport \ -# xst \ -# libgtkstylus \ -# xrdb \ diff --git a/meta/packages/tasks/task-poky-sdk.bb b/meta/packages/tasks/task-poky-sdk.bb new file mode 100644 index 000000000..c3a33435d --- /dev/null +++ b/meta/packages/tasks/task-poky-sdk.bb @@ -0,0 +1,73 @@ +# +# Copyright (C) 2007 OpenedHand Ltd. +# + +DESCRIPTON = "Software Development Tasks for OpenedHand Poky" +DEPENDS = "task-poky" + +ALLOW_EMPTY = "1" +#PACKAGEFUNCS =+ 'generate_sdk_pkgs' + +PACKAGES = "\ + task-poky-sdk \ + task-poky-sdk-dbg \ + task-poky-sdk-dev" + +RDEPENDS_task-poky-sdk = "\ + autoconf \ + automake \ + binutils \ + binutils-symlinks \ + coreutils \ + diffutils \ + gcc \ + gcc-symlinks \ + g++ \ + g++-symlinks \ + make \ + intltool \ + perl-module-re \ + perl-module-text-wrap \ + pkgconfig \ + distcc" + +#python generate_sdk_pkgs () { +# poky_pkgs = read_pkgdata('task-poky', d)['PACKAGES'] +# pkgs = bb.data.getVar('PACKAGES', d, 1).split() +# for pkg in poky_pkgs.split(): +# newpkg = pkg.replace('task-poky', 'task-poky-sdk') +# +# # for each of the task packages, add a corresponding sdk task +# pkgs.append(newpkg) +# +# # for each sdk task, take the rdepends of the non-sdk task, and turn +# # that into rrecommends upon the -dev versions of those, not unlike +# # the package depchain code +# spkgdata = read_subpkgdata(pkg, d) +# +# rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '') +# rreclist = [] +# +# for depend in rdepends: +# split_depend = depend.split(' (') +# name = split_depend[0].strip() +# if packaged('%s-dev' % name, d): +# rreclist.append('%s-dev' % name) +# else: +# deppkgdata = read_subpkgdata(name, d) +# rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '') +# for depend in rdepends2: +# split_depend = depend.split(' (') +# name = split_depend[0].strip() +# if packaged('%s-dev' % name, d): +# rreclist.append('%s-dev' % name) +# +# oldrrec = bb.data.getVar('RRECOMMENDS_%s' % newpkg, d) or '' +# bb.data.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist), d) +# # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, bb.data.getVar('RRECOMMENDS_%s' % newpkg, d))) +# +# # bb.note('pkgs is %s' % pkgs) +# bb.data.setVar('PACKAGES', ' '.join(pkgs), d) +#} +# +#PACKAGES_DYNAMIC = "task-poky-sdk-*" diff --git a/meta/packages/tasks/task-poky.bb b/meta/packages/tasks/task-poky.bb new file mode 100644 index 000000000..3183530a8 --- /dev/null +++ b/meta/packages/tasks/task-poky.bb @@ -0,0 +1,146 @@ +# +# Copyright (C) 2007 OpenedHand Ltd. +# + +DESCRIPTION = "Tasks for OpenedHand Poky" + +PACKAGES = "\ + task-poky-base \ + task-poky-base-dbg \ + task-poky-base-dev \ + task-poky-boot \ + task-poky-boot-dbg \ + task-poky-boot-dev \ + task-poky-standard \ + task-poky-standard-dbg \ + task-poky-standard-dev \ + task-poky-boot-extras \ + task-poky-boot-extras-dbg \ + task-poky-boot-extras-dev \ + task-poky-boot-min-extras \ + task-poky-boot-min-extras-dbg \ + task-poky-boot-min-extras-dev \ + task-poky-devtools \ + task-poky-devtools-dbg \ + task-poky-devtools-dev \ + task-poky-testapps \ + task-poky-testapps-dbg \ + task-poky-testapps-dev \ + task-poky-nfs-server \ + task-poky-nfs-server-dbg \ + task-poky-nfs-server-dev \ + " + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +XSERVER ?= "xserver-kdrive-fbdev" + +ALLOW_EMPTY = "1" + +RDEPENDS_task-poky-boot = "\ + base-files \ + base-passwd \ + busybox \ + initscripts \ + modutils-initscripts \ + netbase \ + sysvinit \ + tinylogin \ + udev \ + update-alternatives" + +RDEPENDS_task-poky-boot-extras = "\ + task-base" + +RDEPENDS_task-poky-boot-min-extras = "\ + task-base-poky-minimal" + +RDEPENDS_task-poky-base = "\ + psplash \ + matchbox-common \ + matchbox-wm \ + matchbox-keyboard \ + matchbox-keyboard-applet \ + matchbox-keyboard-im \ + matchbox-panel-2 \ + matchbox-desktop \ + ${XSERVER} \ + xserver-kdrive-common \ + xserver-nodm-init \ + liberation-fonts \ + xauth \ + xhost \ + xset \ + xrandr \ + udev \ + sysfsutils \ + gdk-pixbuf-loader-png \ + gdk-pixbuf-loader-gif \ + gdk-pixbuf-loader-xpm \ + gdk-pixbuf-loader-jpeg \ + pango-module-basic-x \ + pango-module-basic-fc \ + gtk+ " + +RDEPENDS_task-poky-standard = "\ + leafpad \ + dropbear \ + portmap \ + matchbox-desktop \ + matchbox-sato \ + matchbox-keyboard \ + matchbox-stroke \ + matchbox-config-gtk \ + matchbox-themes-gtk \ + matchbox-applet-startup-monitor \ + xcursor-transparent-theme \ + sato-icon-theme \ + settings-daemon \ + gtk-sato-engine \ + eds-dbus \ + contacts \ + dates \ + tasks \ + web \ + pcmanfm \ + puzzles \ + rxvt-unicode \ + screenshot \ + avahi-daemon \ + gnome-vfs \ + gnome-vfs-plugin-file \ + gnome-vfs-plugin-http" +# matchbox-applet-inputmanager + +RDEPENDS_task-poky-devtools = "\ + oprofile \ + oprofileui-server \ + gdb \ + strace \ + less \ + lttng-viewer" +RRECOMMENDS_task-poky-devtools = "\ + kernel-module-oprofile" + +RDEPENDS_task-poky-testapps = "\ + tslib-calibrate \ + tslib-tests \ + lrzsz \ + alsa-utils-amixer \ + alsa-utils-aplay \ + owl-video-widget \ + gst-meta-video \ + gst-meta-audio" + +RDEPENDS_task-poky-nfs-server = "\ + nfs-utils" + +# rpcinfo can be useful +RRECOMMENDS_task-poky-nfs-server = "\ + glibc-utils" + +# minimo \ +# teleport \ +# xst \ +# libgtkstylus \ +# xrdb \ -- cgit v1.2.3