From 8a33f551f6e22939034eefb94be156a56592cca0 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 12 Dec 2007 09:17:55 +0000 Subject: task-openmoko: split in to seperate recipes to cut down buildtime for minimal-openmoko-image * ACK-ed by mickeyl --- packages/tasks/task-openmoko-base.bb | 29 +++++++ packages/tasks/task-openmoko-examples.bb | 6 ++ packages/tasks/task-openmoko-games.bb | 14 ++++ packages/tasks/task-openmoko-linux.bb | 24 ++++++ packages/tasks/task-openmoko-net.bb | 15 ++++ packages/tasks/task-openmoko-phone.bb | 19 +++++ packages/tasks/task-openmoko-pim.bb | 23 +++++ packages/tasks/task-openmoko-ui.bb | 56 +++++++++++++ packages/tasks/task-openmoko.bb | 140 +------------------------------ 9 files changed, 190 insertions(+), 136 deletions(-) create mode 100644 packages/tasks/task-openmoko-base.bb create mode 100644 packages/tasks/task-openmoko-examples.bb create mode 100644 packages/tasks/task-openmoko-games.bb create mode 100644 packages/tasks/task-openmoko-linux.bb create mode 100644 packages/tasks/task-openmoko-net.bb create mode 100644 packages/tasks/task-openmoko-phone.bb create mode 100644 packages/tasks/task-openmoko-pim.bb create mode 100644 packages/tasks/task-openmoko-ui.bb (limited to 'packages/tasks') diff --git a/packages/tasks/task-openmoko-base.bb b/packages/tasks/task-openmoko-base.bb new file mode 100644 index 0000000000..a5d13e7e08 --- /dev/null +++ b/packages/tasks/task-openmoko-base.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "OpenMoko: Base Task for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task + +# +# task-openmoko-base +# +DESCRIPTION_task-openmoko-base = "OpenMoko: Top Panel, Application Launcher, Application Manager" +RDEPENDS_task-openmoko-base = "\ + matchbox-panel-2 \ + matchbox-panel-2-applets \ + matchbox-keyboard-inputmethod \ + matchbox-keyboard-im \ + matchbox-keyboard-applet \ + matchbox-stroke \ + openmoko-terminal2 \ +# openmoko-keyboard \ + openmoko-panel-battery \ + openmoko-panel-bt \ + openmoko-panel-clock \ + openmoko-panel-usb \ + ${@base_contains('MACHINE_FEATURES', 'gps', 'openmoko-panel-gps', '',d)} \ + \ + openmoko-today2 \ +# openmoko-appmanager \ +" diff --git a/packages/tasks/task-openmoko-examples.bb b/packages/tasks/task-openmoko-examples.bb new file mode 100644 index 0000000000..c5dbfb6f04 --- /dev/null +++ b/packages/tasks/task-openmoko-examples.bb @@ -0,0 +1,6 @@ +DESCRIPTION = "OpenMoko: Examples for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task \ No newline at end of file diff --git a/packages/tasks/task-openmoko-games.bb b/packages/tasks/task-openmoko-games.bb new file mode 100644 index 0000000000..0fdf3cac33 --- /dev/null +++ b/packages/tasks/task-openmoko-games.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "OpenMoko: Games for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task + +# +# task-openmoko-games +# +DESCRIPTION_task-openmoko-games = "OpenMoko: Games" +RDEPENDS_task-openmoko-games = "\ + oh-puzzles \ +" diff --git a/packages/tasks/task-openmoko-linux.bb b/packages/tasks/task-openmoko-linux.bb new file mode 100644 index 0000000000..59e6f24094 --- /dev/null +++ b/packages/tasks/task-openmoko-linux.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "OpenMoko: Core system for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task + +# +# task-openmoko-core +# +DESCRIPTION_task-openmoko-linux = "OpenMoko: Linux Core Services" +RDEPENDS_task-openmoko-linux = "\ + task-base \ + netbase \ + sysfsutils \ + modutils-initscripts \ + module-init-tools-depmod \ + rsync \ + screen \ + psplash \ + fbset \ + fbset-modes \ +# update-alternatives \ +" diff --git a/packages/tasks/task-openmoko-net.bb b/packages/tasks/task-openmoko-net.bb new file mode 100644 index 0000000000..e75dc4b4ff --- /dev/null +++ b/packages/tasks/task-openmoko-net.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "OpenMoko: Networking for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task + +# +# task-openmoko-net +# +DESCRIPTION_task-openmoko-net = "OpenMoko: Linux Advanced Networking" +RDEPENDS_task-openmoko-net = "\ + bluez-utils \ + bridge-utils \ +" diff --git a/packages/tasks/task-openmoko-phone.bb b/packages/tasks/task-openmoko-phone.bb new file mode 100644 index 0000000000..e47a1e5465 --- /dev/null +++ b/packages/tasks/task-openmoko-phone.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "OpenMoko: Tasks for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PROVIDES = "task-openmoko-everything" +PR = "r71" + +inherit task + +# +# task-openmoko-phone +# +DESCRIPTION_task-openmoko-phone = "OpenMoko: GSM and GPRS Phone Services" +RDEPENDS_task-openmoko-phone = "\ + gsmd \ + libgsmd-tools \ + openmoko-dialer2 \ + openmoko-panel-gsm \ +# ppp \ +" diff --git a/packages/tasks/task-openmoko-pim.bb b/packages/tasks/task-openmoko-pim.bb new file mode 100644 index 0000000000..1eea1a14a1 --- /dev/null +++ b/packages/tasks/task-openmoko-pim.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "OpenMoko: PIM for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task + +# +# task-openmoko-pim +# +DESCRIPTION_task-openmoko-pim = "OpenMoko: Personal Information Management Suite" +RDEPENDS_task-openmoko-pim = "\ + eds-dbus \ + openmoko-calculator2 \ + openmoko-contacts2 \ + openmoko-dates2 \ + openmoko-feedreader2 \ + openmoko-browser2 \ + openmoko-appmanager2 \ + openmoko-tasks2 \ + openmoko-mediaplayer2 \ + openmoko-messages2 \ +" diff --git a/packages/tasks/task-openmoko-ui.bb b/packages/tasks/task-openmoko-ui.bb new file mode 100644 index 0000000000..e34bb42b2f --- /dev/null +++ b/packages/tasks/task-openmoko-ui.bb @@ -0,0 +1,56 @@ +DESCRIPTION = "OpenMoko: GUI for the OpenMoko Linux Distribution" +SECTION = "openmoko/base" +LICENSE = "MIT" +PR = "r71" + +inherit task + +XSERVER ?= "xserver-kdrive-fbdev" + +# +# task-openmoko-ui +# +DESCRIPTION_task-openmoko-ui = "OpenMoko: The X11/Gtk+2 based native User Interface" +PACKAGE_ARCH_task-openmoko-ui = "${MACHINE_ARCH}" +RDEPENDS_task-openmoko-ui = "\ + 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+ \ + matchbox-wm \ + ${XSERVER} \ + xserver-kdrive-common \ + xserver-nodm-init \ + xauth \ + xhost \ + xset \ + xrandr \ + \ + settings-daemon \ + notification-daemon \ + neod \ + libnotify \ + \ + openmoko-session2 \ + openmoko-sound-system2 \ + openmoko-sound-theme-standard2 \ + \ + gpe-scap \ +" + +# Handle theming. FIXME: properly use machine database in a smart way, +# taking into account not only size but also PPI! Ultimately this might +# need recomputing some theme files and images on-the-fly :/ SVG and logical +# theme description anyone? Or simply Edje to the rescue! :D +THEMES = "openmoko-icon-theme-standard2 openmoko-theme-standard2" +THEMES_a780 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" +THEMES_e680 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" +THEMES_a1200 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" +THEMES_rokre2 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" +THEMES_rokre6 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" +THEMES_magician = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" + +RDEPENDS_task-openmoko-ui += "${THEMES}" diff --git a/packages/tasks/task-openmoko.bb b/packages/tasks/task-openmoko.bb index 76e0b843f7..0d867e1b3b 100644 --- a/packages/tasks/task-openmoko.bb +++ b/packages/tasks/task-openmoko.bb @@ -6,158 +6,26 @@ PR = "r71" inherit task -XSERVER ?= "xserver-kdrive-fbdev" +PACKAGES += "\ + task-openmoko-everything +" -PACKAGES = "\ +RDEPENDS_task-openmoko-everything := "\ task-openmoko-linux \ task-openmoko-ui \ task-openmoko-base \ task-openmoko-phone \ task-openmoko-pim \ task-openmoko-net \ - \ task-openmoko-games \ task-openmoko-examples \ -" - -RDEPENDS_task-openmoko-everything := "\ - ${PACKAGES} \ task-openmoko-debug \ task-openmoko-native-sdk \ " -# -# task-openmoko-core -# -DESCRIPTION_task-openmoko-linux = "OpenMoko: Linux Core Services" -RDEPENDS_task-openmoko-linux = "\ - task-base \ - netbase \ - sysfsutils \ - modutils-initscripts \ - module-init-tools-depmod \ - rsync \ - screen \ - psplash \ - fbset \ - fbset-modes \ -# update-alternatives \ -" - -# -# task-openmoko-ui -# -DESCRIPTION_task-openmoko-ui = "OpenMoko: The X11/Gtk+2 based native User Interface" -PACKAGE_ARCH_task-openmoko-ui = "${MACHINE_ARCH}" -RDEPENDS_task-openmoko-ui = "\ - 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+ \ - matchbox-wm \ - ${XSERVER} \ - xserver-kdrive-common \ - xserver-nodm-init \ - xauth \ - xhost \ - xset \ - xrandr \ - \ - settings-daemon \ - notification-daemon \ - neod \ - libnotify \ - \ - openmoko-session2 \ - openmoko-sound-system2 \ - openmoko-sound-theme-standard2 \ - \ - gpe-scap \ -" -# Handle theming. FIXME: properly use machine database in a smart way, -# taking into account not only size but also PPI! Ultimately this might -# need recomputing some theme files and images on-the-fly :/ SVG and logical -# theme description anyone? Or simply Edje to the rescue! :D -THEMES = "openmoko-icon-theme-standard2 openmoko-theme-standard2" -THEMES_a780 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" -THEMES_e680 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" -THEMES_a1200 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" -THEMES_rokre2 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" -THEMES_rokre6 = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" -THEMES_magician = "openmoko-icon-theme-standard2-qvga openmoko-theme-standard2-qvga" -RDEPENDS_task-openmoko-ui += "${THEMES}" -PACKAGE_ARCH_task-openmoko-ui = "${MACHINE_ARCH}" -# -# task-openmoko-base -# -DESCRIPTION_task-openmoko-base = "OpenMoko: Top Panel, Application Launcher, Application Manager" -RDEPENDS_task-openmoko-base = "\ - matchbox-panel-2 \ - matchbox-panel-2-applets \ - matchbox-keyboard-inputmethod \ - matchbox-keyboard-im \ - matchbox-keyboard-applet \ - matchbox-stroke \ - openmoko-terminal2 \ -# openmoko-keyboard \ - openmoko-panel-battery \ - openmoko-panel-bt \ - openmoko-panel-clock \ - openmoko-panel-usb \ - ${@base_contains('MACHINE_FEATURES', 'gps', 'openmoko-panel-gps', '',d)} \ - \ - openmoko-today2 \ -# openmoko-appmanager \ -" -# -# task-openmoko-phone -# -DESCRIPTION_task-openmoko-phone = "OpenMoko: GSM and GPRS Phone Services" -RDEPENDS_task-openmoko-phone = "\ - gsmd \ - libgsmd-tools \ - openmoko-dialer2 \ - openmoko-panel-gsm \ -# ppp \ -" -# -# task-openmoko-pim -# -DESCRIPTION_task-openmoko-pim = "OpenMoko: Personal Information Management Suite" -RDEPENDS_task-openmoko-pim = "\ - eds-dbus \ - openmoko-calculator2 \ - openmoko-contacts2 \ - openmoko-dates2 \ - openmoko-feedreader2 \ - openmoko-browser2 \ - openmoko-appmanager2 \ - openmoko-tasks2 \ - openmoko-mediaplayer2 \ - openmoko-messages2 \ -" -# -# task-openmoko-net -# -DESCRIPTION_task-openmoko-net = "OpenMoko: Linux Advanced Networking" -RDEPENDS_task-openmoko-net = "\ - bluez-utils \ - bridge-utils \ -" - -# -# task-openmoko-games -# -DESCRIPTION_task-openmoko-games = "OpenMoko: Games" -RDEPENDS_task-openmoko-games = "\ - oh-puzzles \ -" -- cgit v1.2.3