# # 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-pics opie-sounds opie-qcop opie-quicklauncher opie-taskbar" # # High res displays need some additional larger fonts # OPIE_LIBS_RDEPENDS_append_c7x0 = " ${OPIE_FONTS_LARGE}" OPIE_LIBS_RDEPENDS_append_tosa = " ${OPIE_FONTS_LARGE}" # # Things for reasonable bootstrap image # OPIE_BASE_APPLETS = "opie-aboutapplet opie-clockapplet opie-logoutapplet \ opie-suspendapplet opie-batteryapplet opie-homeapplet \ opie-multikeyapplet opie-rotateapplet opie-vtapplet \ 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_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" OPIE_BASE_RDEPENDS = "timezones ntpdate opie-handwriting-classicset \ bluez-utils-nodbus openobex-apps libopieobex0" # # Clamshell models can benefit from the autorotate applet # OPIE_BASE_DEPENDS_append_c7x0 = " opie-autorotateapplet" # # 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 opie-today-addressbookplugin opie-today-datebookplugin opie-today-todolistplugin" 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_RDEPENDS_24 = "konqueror-embedded" # # # 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)}"