# # A collection of dependencies for images including Opie or parts of it. # # # Fonts for 240x320 displays # OPIE_FONTS_SMALL = "qte-font-smoothsans-90 qte-font-smoothsans-100 qte-font-smoothsans-110 \ qte-font-smoothmono-90 qte-font-smoothmono-100 qte-font-smoothmono-110 \ qte-font-fixed-70 qte-font-fixed-120 qpf-font-common " # # Fonts for >= 640x480 displays # OPIE_FONTS_LARGE = "qte-font-smoothsans-120 qte-font-smoothsans-140 qte-font-smoothsans-180 \ qte-font-smoothmono-120 qte-font-smoothmono-140 qte-font-smoothmono-180 " # # Dependencies to get the launcher up and running # OPIE_LIBS_DEPENDS = "qte libopie2 qpf-qte qpf-font-common" OPIE_LIBS_RDEPENDS = "${OPIE_FONTS_SMALL}" OPIE_BASE = "opie-qcop opie-qss opie-quicklauncher opie-taskbar opie-pics opie-sounds" # # High res displays need some additional larger fonts # OPIE_LIBS_RDEPENDS_append_c7x0 = " ${OPIE_FONTS_LARGE}" OPIE_LIBS_RDEPENDS_append_tosa = " ${OPIE_FONTS_LARGE}" OPIE_LIBS_RDEPENDS_append_spitz = " ${OPIE_FONTS_LARGE}" OPIE_LIBS_RDEPENDS_append_akita = " ${OPIE_FONTS_LARGE}" # # Things for reasonable bootstrap image # OPIE_BASE_APPLETS = "opie-aboutapplet opie-clockapplet opie-suspendapplet opie-batteryapplet \ opie-homeapplet opie-multikeyapplet opie-rotateapplet opie-cardmon \ opie-irdaapplet opie-brightnessapplet" OPIE_BASE_INPUTMETHODS = "opie-multikey opie-handwriting opie-pickboard" OPIE_BASE_APPS = "opie-packagemanager opie-keytabs opie-console opie-clock \ opie-citytime opie-backup" OPIE_BASE_SETTINGS = "opie-light-and-power opie-appearance opie-systemtime \ opie-sysinfo opie-networksettings opie-button-settings \ opie-icon-reload" OPIE_BASE_DECOS = "opie-deco-flat opie-deco-liquid opie-deco-polished" OPIE_BASE_STYLES = "opie-style-flat opie-style-liquid opie-style-fresh \ opie-style-metal opie-style-web opie-style-phase" OPIE_BASE_DEPENDS = "ipkg timezones ntp bluez-utils-nodbus irda-utils \ openobex-apps libopieobex0 wireless-tools usbutils" OPIE_BASE_RDEPENDS = "timezones ntpdate opie-handwriting-classicset \ bluez-utils-nodbus openobex-apps libopieobex0 wireless-tools usbutils" # # Clamshell models can benefit from the autorotate applet # OPIE_BASE_DEPENDS_append_c7x0 = " opie-autorotateapplet" OPIE_BASE_DEPENDS_append_spitz = " opie-autorotateapplet" OPIE_BASE_DEPENDS_append_akita = " opie-autorotateapplet" # Zaurus models can benefit from the VT and logout applets OPIE_BASE_APPLETS_append_openzaurus = " opie-vtapplet opie-logoutapplet" OPIE_BASE_APPLETS_append_ramses = " opie-vtapplet opie-logoutapplet" # # Additional things for a standard 16MB distribution # OPIE_PIM_BASE = "opie-alarm opie-drawpad opie-textedit" OPIE_PIM_MAIL = "opie-mail" OPIE_PIM = "${OPIE_PIM_BASE} opie-addressbook opie-datebook opie-todo opie-today \ opie-today-addressbookplugin opie-today-datebookplugin opie-today-todolistplugin \ opie-datebook-nationalholidayplugin opie-datebook-birthdayplugin " KDE_PIM_DEPENDS = "${OPIE_PIM_BASE} kdepimpi" KDE_PIM_RDEPENDS = "kopi kapi kopi-applet" OPIE_EXTRA_APPLETS = "opie-clipboardapplet opie-volumeapplet opie-screenshotapplet" OPIE_EXTRA_APPS = "opie-advancedfm" OPIE_EXTRA_SETTINGS = "opie-language opie-launcher-settings opie-doctab opie-security \ opie-mediummount opie-networksettings-wlanplugin opie-networksettings-pppplugin" # # Additional things for a >= 24MB distribution # OPIE_DEPENDS_24 = "konqueror-embedded opie-calculator opie-checkbook opie-mail opie-eye opie-rdesktop opie-reader \ qpdf2 opie-wellenreiter opie-parashoot opie-mindbreaker opie-fifteen opie-tictac opie-tetrix \ opie-irc " OPIE_RDEPENDS_24 = "konqueror-embedded opie-calculator opie-checkbook opie-mail opie-eye opie-rdesktop opie-reader \ qpdf2 opie-wellenreiter opie-parashoot opie-mindbreaker opie-fifteen opie-tictac opie-tetrix \ opie-irc " # # # def opie_more_depends(d): import bb root_flash_size = int( bb.data.getVar( "ROOT_FLASH_SIZE", d, True ) or "16" ) if root_flash_size >= 24: return bb.data.getVar( "OPIE_DEPENDS_24", d, True ) else: return " " def opie_more_rdepends(d): import bb root_flash_size = int( bb.data.getVar( "ROOT_FLASH_SIZE", d, True ) or "16" ) if root_flash_size >= 24: return bb.data.getVar( "OPIE_RDEPENDS_24", d, True ) else: return " " OPIE_MORE_DEPENDS := "${@opie_more_depends(d)}" OPIE_MORE_RDEPENDS := "${@opie_more_rdepends(d)}"