From e4a60c78dbcb79bdabfd688720613d76dbe98e0f Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Fri, 13 Feb 2015 10:12:16 +0100 Subject: meta-tizen: Tizen recipes : Fix tizen common build and get little more closer to current Tizen common Q4 status Signed-off-by: Xavier Roche --- .../recipes-application-framework/ail/ail.inc | 34 +- .../recipes-application-framework/ail/ail_git.bb | 2 +- .../alarm-manager/alarm-manager.inc | 2 +- .../app-checker/app-checker.inc | 2 +- .../app-core/app-core.inc | 2 +- .../app-svc/app-svc.inc | 9 +- .../app-svc/app-svc_git.bb | 2 +- .../appcore-agent/appcore-agent.inc | 2 +- .../recipes-application-framework/aul/aul.inc | 2 +- .../recipes-application-framework/aul/aul_git.bb | 2 +- .../recipes-application-framework/badge/badge.inc | 2 +- .../capi-appfw-app-manager.inc | 2 +- .../capi-appfw-application.inc | 2 +- .../capi-appfw-package-manager.inc | 2 +- .../capi-appfw-package-manager_git.bb | 2 +- .../capi-base-common/capi-base-common.inc | 2 +- .../capi-content-media-content.inc | 2 +- .../capi-content-media-content_git.bb | 2 +- .../capi-location-manager.inc | 2 +- .../capi-media-image-util.inc | 3 +- .../capi-media-image-util_git.bb | 2 +- .../capi-media-sound-manager.inc | 24 +- .../capi-media-sound-manager_git.bb | 2 +- .../capi-media-wav-player.inc | 8 +- .../capi-media-wav-player_git.bb | 2 +- .../capi-network-bluetooth.inc | 2 +- .../capi-network-bluetooth_git.bb | 2 +- .../capi-network-connection.inc | 10 +- .../capi-network-connection_git.bb | 2 +- .../capi-network-nfc/capi-network-nfc.inc | 2 +- .../capi-network-tethering.inc | 7 +- .../capi-network-tethering_git.bb | 2 +- .../capi-network-wifi/capi-network-wifi.inc | 8 +- .../capi-network-wifi/capi-network-wifi_git.bb | 2 +- .../capi-system-device/capi-system-device.inc | 10 +- .../capi-system-device/capi-system-device_git.bb | 2 +- .../capi-system-info/capi-system-info.inc | 2 +- .../capi-system-power/capi-system-power.inc | 2 +- .../capi-system-power/capi-system-power_git.bb | 2 +- .../capi-system-runtime-info.inc | 11 +- .../capi-system-runtime-info_git.bb | 2 +- .../capi-system-sensor/capi-system-sensor.inc | 27 +- .../capi-system-system-settings.inc | 2 +- .../capi-web-favorites/capi-web-favorites.inc | 2 +- .../capi-web-url-download.inc | 2 +- .../heynoti/heynoti.inc | 2 +- .../libcom-core/libcom-core.inc | 2 +- .../librua/librua.inc | 2 +- .../message-port/message-port.inc | 2 +- .../pkgmgr-info/pkgmgr-info.inc | 2 +- .../pkgmgr-info/pkgmgr-info_git.bb | 2 +- .../pkgmgr/files/Add_extralib.diff | 60 +- .../pkgmgr/pkgmgr-extraconf.inc | 2 +- .../pkgmgr/pkgmgr.inc | 7 +- .../pkgmgr/pkgmgr_git.bb | 2 +- .../status/status.inc | 2 +- .../syspopup/syspopup.inc | 2 +- .../vconf-buxton/vconf-buxton-extraconf.inc | 1 + .../vconf-buxton/vconf-buxton.inc | 175 ++++ .../vconf-buxton/vconf-buxton_git.bb | 10 + .../vconf-internal-keys/vconf-internal-keys.inc | 2 +- .../libslp-db-util/libslp-db-util.inc | 2 +- .../libslp-location/libslp-location.inc | 15 - .../libslp-location/libslp-location_git.bb | 2 +- .../libslp-memo/libslp-memo.inc | 2 +- .../bluetooth-frwk/bluetooth-frwk.inc | 3 - .../bluetooth-frwk/bluetooth-frwk_git.bb | 2 +- .../bluetooth-tools/bluetooth-tools.inc | 2 +- .../recipes-connectivity/bundle/bundle.inc | 2 +- .../download-provider/download-provider.inc | 8 +- .../download-provider/download-provider_git.bb | 2 +- .../libnet-client/libnet-client.inc | 2 +- .../libwifi-direct/libwifi-direct.inc | 2 +- .../libwifi-direct/libwifi-direct_git.bb | 2 +- .../recipes-connectivity/net-config/net-config.inc | 2 +- .../opencore-amr/opencore-amr.inc | 2 +- .../recipes-core/bullet/bullet.inc | 2 +- .../recipes-core/dbus-python/dbus-python.inc | 2 +- .../desktop-file-utils/desktop-file-utils.inc | 2 +- .../recipes-core/dlog/dlog.inc | 2 +- .../recipes-core/dukgenerator/dukgenerator.inc | 2 +- .../recipes-core/iniparser/iniparser.inc | 2 +- .../recipes-core/libcryptsvc/libcryptsvc.inc | 2 +- .../recipes-core/libdevice-node/libdevice-node.inc | 2 +- .../libdevice-node/libdevice-node_git.bb | 2 +- .../recipes-core/libiri/libiri.inc | 2 +- .../recipes-core/libsf-common/libsf-common.inc | 2 +- .../recipes-core/libwbxml2/libwbxml2.inc | 2 +- .../recipes-core/libxml2/libxml2.inc | 2 +- .../recipes-core/libxml2/python-libxml2.inc | 2 +- .../recipes-core/oma-ds-agent/oma-ds-agent.inc | 2 +- .../recipes-core/sensor/sensor.inc | 2 +- .../recipes-core/sync-agent/sync-agent.inc | 2 +- .../recipes-core/systemd/systemd-extraconf.inc | 4 + .../recipes-core/systemd/systemd.inc | 2 +- .../recipes-core/systemd/systemd_git.bb | 2 +- .../tizen-platform-config.inc | 46 +- .../tizen-platform-config_git.bb | 2 +- .../tizen-platform-wrapper.inc | 2 +- .../recipes-core/xdgmime/xdgmime.inc | 2 +- .../gobject-introspection.inc | 3 +- .../recipes-devtools/lua/lua.inc | 3 +- .../recipes-devtools/lua/lua_git.bb | 2 +- .../meta-common/meta-common_git.bb | 2 +- .../meta-generic/meta-generic_git.bb | 2 +- .../recipes-devtools/rpm/rpm.inc | 2 +- .../recipes-devtools/tdb/tdb.inc | 11 +- .../recipes-devtools/tdb/tdb_git.bb | 2 +- .../vala/files/Fix-time-stamp.patch | 61 +- .../recipes-devtools/vala/vala-extraconf.inc | 2 +- .../recipes-devtools/vala/vala.inc | 58 +- .../recipes-devtools/vala/vala_git.bb | 2 +- .../recipes-extended/festival/festival.inc | 3 +- .../recipes-extended/pam/pam-extraconf.inc | 4 + .../recipes-extended/sphinxbase/sphinxbase.inc | 2 +- .../recipes-graphics/drm-client/drm-client.inc | 2 +- .../recipes-graphics/libdrm/libdrm.inc | 4 +- .../recipes-graphics/weekeyboard/weekeyboard.inc | 2 +- .../recipes-graphics/weston/weston.inc | 16 +- .../recipes-graphics/weston/weston_git.bb | 2 +- .../recipes-messaging/msg-service/msg-service.inc | 2 +- .../msg-service/msg-service_git.bb | 2 +- .../alsa-scenario/alsa-scenario.inc | 2 +- .../audio-session-manager.inc | 2 +- .../recipes-multimedia/avsystem/avsystem.inc | 2 +- .../recipes-multimedia/libav/libav.inc | 2 +- .../libmedia-service/libmedia-service.inc | 2 +- .../libmedia-thumbnail/libmedia-thumbnail.inc | 4 +- .../libmm-common/libmm-common.inc | 17 +- .../libmm-common/libmm-common_git.bb | 2 +- .../libmm-fileinfo/libmm-fileinfo.inc | 2 +- .../libmm-fileinfo/libmm-fileinfo_git.bb | 2 +- .../recipes-multimedia/libmm-log/libmm-log.inc | 2 +- .../libmm-session/libmm-session.inc | 2 +- .../recipes-multimedia/libmm-sound/libmm-sound.inc | 4 +- .../libmm-sound/libmm-sound_git.bb | 2 +- .../recipes-multimedia/libmm-ta/libmm-ta.inc | 2 +- .../libmm-utility/libmm-utility.inc | 2 +- .../media-server/media-server.inc | 4 +- .../media-server/media-server_git.bb | 2 +- .../recipes-multimedia/pulseaudio/pulseaudio.inc | 5 +- .../recipes-multimedia/tiff/tiff.inc | 5 +- .../recipes-multimedia/tiff/tiff_git.bb | 2 +- .../recipes-security/buxton/buxton-extraconf.inc | 0 .../recipes-security/buxton/buxton.inc | 188 ++++ .../recipes-security/buxton/buxton_git.bb | 10 + .../recipes-security/cynara/cynara-extraconf.inc | 0 .../recipes-security/cynara/cynara.inc | 489 ++++++++++ .../recipes-security/cynara/cynara_git.bb | 10 + .../recipes-security/gpg2/gpg2.inc | 2 +- .../gsignond-plugin-oauth.inc | 2 +- .../gsignond-plugin-sasl/gsignond-plugin-sasl.inc | 2 +- .../recipes-security/gsignond/gsignond.inc | 15 +- .../recipes-security/gsignond/gsignond_git.bb | 2 +- .../recipes-security/libgsasl/libgsasl.inc | 2 +- .../libgsignon-glib/libgsignon-glib.inc | 2 +- .../libprivilege-control/libprivilege-control.inc | 6 +- .../libprivilege-control_git.bb | 2 +- .../recipes-security/libsecret/libsecret.inc | 44 +- .../recipes-security/libsecret/libsecret_git.bb | 2 +- .../privacy-manager-server.inc | 2 +- .../secure-storage/secure-storage.inc | 2 +- .../security-manager-extraconf.inc | 0 .../security-manager/security-manager.inc | 230 +++++ .../security-manager/security-manager_git.bb | 10 + .../security-server/security-server.inc | 2 +- .../recipes-security/smack/smack.inc | 4 +- .../recipes-security/smack/smack_git.bb | 2 +- .../recipes-security/xmlsec1/xmlsec1.inc | 2 +- .../calendar-service/calendar-service.inc | 2 +- .../contacts-service/contacts-service.inc | 2 +- .../evolution-data-server.inc | 2 +- .../libaccounts-svc/libaccounts-svc.inc | 2 +- .../recipes-social/pims-ipc/pims-ipc.inc | 2 +- .../recipes-support/adns/adns.inc | 2 +- .../recipes-telephony/libtapi/libtapi.inc | 2 +- .../recipes-telephony/libtapi3/libtapi3.inc | 2 +- .../libwebsockets/libwebsockets.inc | 2 +- .../weston-common/weston-common.inc | 2 +- .../desktop-skin/desktop-skin.inc | 9 +- .../desktop-skin/desktop-skin_git.bb | 2 +- .../common-multimedia-suite.inc | 2 +- .../recipes-devtools/testkit-stub/testkit-stub.inc | 2 +- .../wayland-fits-master/wayland-fits-master.inc | 2 +- .../wayland-fits-master/wayland-fits-master_git.bb | 2 +- .../mobile-broadband-provider-info.inc | 2 +- .../recipes-connectivity/ofono/ofono.inc | 6 +- .../recipes-connectivity/ofono/ofono_git.bb | 2 +- .../recipes-core/murphy/murphy.inc | 2 +- .../crosswalk/crosswalk-thirdparty.inc | 29 +- .../crosswalk/crosswalk-thirdparty_git.bb | 2 +- .../recipes-crosswalk/crosswalk/crosswalk.inc | 70 +- .../recipes-crosswalk/crosswalk/crosswalk_git.bb | 2 +- .../tizen-extensions-crosswalk.inc | 4 +- .../tizen-extensions-crosswalk_git.bb | 2 +- .../recipes-devtools/libICE/libICE.inc | 2 +- .../recipes-devtools/libSM/libSM.inc | 2 +- .../recipes-devtools/xtrans/xtrans.inc | 2 +- .../recipes-efl/edbus/edbus.inc | 2 +- .../efl-theme-tizen-hd/efl-theme-tizen-hd.inc | 2 +- .../recipes-efl/efl/efl.inc | 2 +- .../recipes-efl/elementary/elementary.inc | 7 +- .../recipes-efl/lemolo/lemolo.inc | 2 +- .../recipes-efl/lemolo/lemolo_git.bb | 2 +- .../recipes-application-framework/ail/ail.inc | 209 ++++ .../recipes-application-framework/ail/ail_git.bb | 10 + .../alarm-manager/alarm-manager.inc | 206 ++++ .../alarm-manager/alarm-manager_git.bb | 10 + .../app-checker/app-checker.inc | 179 ++++ .../app-checker/app-checker_git.bb | 10 + .../app-core/app-core.inc | 209 ++++ .../app-core/app-core_git.bb | 10 + .../app-svc/app-svc.inc | 157 +++ .../app-svc/app-svc_git.bb | 10 + .../appcore-agent/appcore-agent.inc | 137 +++ .../appcore-agent/appcore-agent_git.bb | 10 + .../recipes-application-framework/aul/aul.inc | 222 +++++ .../recipes-application-framework/aul/aul_git.bb | 10 + .../recipes-application-framework/badge/badge.inc | 160 +++ .../badge/badge_git.bb | 10 + .../capi-appfw-app-manager.inc | 139 +++ .../capi-appfw-app-manager_git.bb | 10 + .../capi-appfw-application.inc | 146 +++ .../capi-appfw-application_git.bb | 10 + .../capi-appfw-package-manager.inc | 143 +++ .../capi-appfw-package-manager_git.bb | 10 + .../capi-base-common/capi-base-common.inc | 114 +++ .../capi-base-common/capi-base-common_git.bb | 10 + .../capi-content-media-content.inc | 136 +++ .../capi-content-media-content_git.bb | 10 + .../capi-location-manager.inc | 133 +++ .../capi-location-manager_git.bb | 10 + .../capi-media-image-util.inc | 141 +++ .../capi-media-image-util_git.bb | 10 + .../capi-media-sound-manager.inc | 150 +++ .../capi-media-sound-manager_git.bb | 10 + .../capi-media-wav-player.inc | 134 +++ .../capi-media-wav-player_git.bb | 10 + .../capi-network-bluetooth.inc | 138 +++ .../capi-network-bluetooth_git.bb | 10 + .../capi-network-connection.inc | 144 +++ .../capi-network-connection_git.bb | 10 + .../capi-network-nfc/capi-network-nfc.inc | 141 +++ .../capi-network-nfc/capi-network-nfc_git.bb | 10 + .../capi-network-tethering.inc | 138 +++ .../capi-network-tethering_git.bb | 10 + .../capi-network-wifi/capi-network-wifi.inc | 143 +++ .../capi-network-wifi/capi-network-wifi_git.bb | 10 + .../capi-system-device/capi-system-device.inc | 138 +++ .../capi-system-device/capi-system-device_git.bb | 10 + .../capi-system-info/capi-system-info.inc | 139 +++ .../capi-system-info/capi-system-info_git.bb | 10 + .../capi-system-power/capi-system-power.inc | 135 +++ .../capi-system-power/capi-system-power_git.bb | 10 + .../capi-system-runtime-info.inc | 138 +++ .../capi-system-runtime-info_git.bb | 10 + .../capi-system-sensor/capi-system-sensor.inc | 137 +++ .../capi-system-sensor/capi-system-sensor_git.bb | 10 + .../capi-system-system-settings.inc | 146 +++ .../capi-system-system-settings_git.bb | 10 + .../capi-web-favorites/capi-web-favorites.inc | 151 +++ .../capi-web-favorites/capi-web-favorites_git.bb | 10 + .../capi-web-url-download.inc | 137 +++ .../capi-web-url-download_git.bb | 10 + .../heynoti/heynoti.inc | 145 +++ .../heynoti/heynoti_git.bb | 10 + .../libcom-core/libcom-core.inc | 141 +++ .../libcom-core/libcom-core_git.bb | 10 + .../librua/librua.inc | 149 +++ .../librua/librua_git.bb | 10 + .../message-port/message-port.inc | 180 ++++ .../message-port/message-port_git.bb | 10 + .../pkgmgr-info/pkgmgr-info.inc | 203 ++++ .../pkgmgr-info/pkgmgr-info_git.bb | 10 + .../pkgmgr/pkgmgr.inc | 309 ++++++ .../pkgmgr/pkgmgr_git.bb | 10 + .../status/status.inc | 154 +++ .../status/status_git.bb | 10 + .../syspopup/syspopup.inc | 206 ++++ .../syspopup/syspopup_git.bb | 10 + .../update-desktop-files/update-desktop-files.inc | 96 ++ .../update-desktop-files_git.bb | 10 + .../vconf-buxton/vconf-buxton.inc | 175 ++++ .../vconf-buxton/vconf-buxton_git.bb | 10 + .../vconf-internal-keys/vconf-internal-keys.inc | 107 ++ .../vconf-internal-keys/vconf-internal-keys_git.bb | 10 + .../libslp-db-util/libslp-db-util.inc | 137 +++ .../libslp-db-util/libslp-db-util_git.bb | 10 + .../libslp-location/libslp-location.inc | 134 +++ .../libslp-location/libslp-location_git.bb | 10 + .../libslp-memo/libslp-memo.inc | 148 +++ .../libslp-memo/libslp-memo_git.bb | 10 + .../bluetooth-frwk/bluetooth-frwk.inc | 220 +++++ .../bluetooth-frwk/bluetooth-frwk_git.bb | 10 + .../bluetooth-tools/bluetooth-tools.inc | 146 +++ .../bluetooth-tools/bluetooth-tools_git.bb | 10 + .../recipes-connectivity/bundle/bundle.inc | 135 +++ .../recipes-connectivity/bundle/bundle_git.bb | 10 + .../download-provider/download-provider.inc | 214 ++++ .../download-provider/download-provider_git.bb | 10 + .../libnet-client/libnet-client.inc | 140 +++ .../libnet-client/libnet-client_git.bb | 10 + .../libwifi-direct/libwifi-direct.inc | 142 +++ .../libwifi-direct/libwifi-direct_git.bb | 10 + .../recipes-connectivity/neardal/neardal.inc | 141 +++ .../recipes-connectivity/neardal/neardal_git.bb | 10 + .../recipes-connectivity/net-config/net-config.inc | 187 ++++ .../net-config/net-config_git.bb | 10 + .../nfc-manager-neard/nfc-manager-neard.inc | 223 +++++ .../nfc-manager-neard/nfc-manager-neard_git.bb | 10 + .../opencore-amr/opencore-amr.inc | 115 +++ .../opencore-amr/opencore-amr_git.bb | 10 + .../recipes-core/bullet/bullet.inc | 135 +++ .../recipes-core/bullet/bullet_git.bb | 10 + .../recipes-core/dbus-python/dbus-python.inc | 130 +++ .../recipes-core/dbus-python/dbus-python_git.bb | 10 + .../desktop-file-utils/desktop-file-utils.inc | 133 +++ .../desktop-file-utils/desktop-file-utils_git.bb | 10 + .../recipes-core/dlog/dlog.inc | 144 +++ .../recipes-core/dlog/dlog_git.bb | 10 + .../recipes-core/dukgenerator/dukgenerator.inc | 114 +++ .../recipes-core/dukgenerator/dukgenerator_git.bb | 10 + .../recipes-core/hwdata/hwdata.inc | 115 +++ .../recipes-core/hwdata/hwdata_git.bb | 10 + .../recipes-core/iniparser/iniparser.inc | 124 +++ .../recipes-core/iniparser/iniparser_git.bb | 10 + .../recipes-core/libcryptsvc/libcryptsvc.inc | 132 +++ .../recipes-core/libcryptsvc/libcryptsvc_git.bb | 10 + .../recipes-core/libdevice-node/libdevice-node.inc | 129 +++ .../libdevice-node/libdevice-node_git.bb | 10 + .../recipes-core/libfeedback/libfeedback.inc | 207 ++++ .../recipes-core/libfeedback/libfeedback_git.bb | 10 + .../recipes-core/libiri/libiri.inc | 112 +++ .../recipes-core/libiri/libiri_git.bb | 10 + .../recipes-core/libsf-common/libsf-common.inc | 123 +++ .../recipes-core/libsf-common/libsf-common_git.bb | 10 + .../recipes-core/libwbxml2/libwbxml2.inc | 166 ++++ .../recipes-core/libwbxml2/libwbxml2_git.bb | 10 + .../recipes-core/libxml2/libxml2.inc | 157 +++ .../recipes-core/libxml2/libxml2_git.bb | 10 + .../recipes-core/libxml2/python-libxml2.inc | 104 ++ .../recipes-core/libxml2/python-libxml2_git.bb | 10 + .../recipes-core/oma-ds-agent/oma-ds-agent.inc | 175 ++++ .../recipes-core/oma-ds-agent/oma-ds-agent_git.bb | 10 + .../recipes-core/sensor/sensor.inc | 134 +++ .../recipes-core/sensor/sensor_git.bb | 10 + .../recipes-core/sync-agent/sync-agent.inc | 178 ++++ .../recipes-core/sync-agent/sync-agent_git.bb | 10 + .../recipes-core/system-server/system-server.inc | 526 ++++++++++ .../system-server/system-server_git.bb | 10 + .../recipes-core/systemd/systemd.inc | 608 ++++++++++++ .../recipes-core/systemd/systemd_git.bb | 10 + .../tizen-platform-config.inc | 197 ++++ .../tizen-platform-config_git.bb | 10 + .../tizen-platform-wrapper.inc | 94 ++ .../tizen-platform-wrapper_git.bb | 10 + .../recipes-core/udev-rules/udev-rules.inc | 83 ++ .../recipes-core/udev-rules/udev-rules_git.bb | 10 + .../recipes-core/uthash/uthash.inc | 86 ++ .../recipes-core/uthash/uthash_git.bb | 10 + .../recipes-core/xdgmime/xdgmime.inc | 128 +++ .../recipes-core/xdgmime/xdgmime_git.bb | 10 + .../recipes-devtools/fdupes/fdupes.inc | 84 ++ .../recipes-devtools/fdupes/fdupes_git.bb | 10 + .../gobject-introspection.inc | 204 ++++ .../gobject-introspection_git.bb | 10 + .../recipes-devtools/lua/lua.inc | 163 ++++ .../recipes-devtools/lua/lua_git.bb | 10 + .../recipes-devtools/meta-common/meta-common.inc | 92 ++ .../meta-common/meta-common_git.bb | 10 + .../recipes-devtools/meta-generic/meta-generic.inc | 97 ++ .../meta-generic/meta-generic_git.bb | 10 + .../python-setuptools/python-setuptools.inc | 107 ++ .../python-setuptools/python-setuptools_git.bb | 10 + .../recipes-devtools/rpm/rpm.inc | 372 +++++++ .../recipes-devtools/rpm/rpm_git.bb | 10 + .../recipes-devtools/tdb/tdb.inc | 159 +++ .../recipes-devtools/tdb/tdb_git.bb | 10 + .../recipes-devtools/vala/vala.inc | 183 ++++ .../recipes-devtools/vala/vala_git.bb | 10 + .../recipes-extended/festival/festival.inc | 280 ++++++ .../recipes-extended/festival/festival_git.bb | 10 + .../recipes-extended/pam/pam.inc | 254 +++++ .../recipes-extended/pam/pam_git.bb | 10 + .../recipes-extended/sphinxbase/sphinxbase.inc | 153 +++ .../recipes-extended/sphinxbase/sphinxbase_git.bb | 10 + .../recipes-graphics/drm-client/drm-client.inc | 134 +++ .../recipes-graphics/drm-client/drm-client_git.bb | 10 + .../recipes-graphics/libdrm/libdrm.inc | 210 ++++ .../recipes-graphics/libdrm/libdrm_git.bb | 10 + .../recipes-graphics/weekeyboard/weekeyboard.inc | 106 ++ .../weekeyboard/weekeyboard_git.bb | 10 + .../recipes-graphics/weston/weston.inc | 218 +++++ .../recipes-graphics/weston/weston_git.bb | 10 + .../recipes-messaging/msg-service/msg-service.inc | 294 ++++++ .../msg-service/msg-service_git.bb | 10 + .../alsa-scenario/alsa-scenario.inc | 127 +++ .../alsa-scenario/alsa-scenario_git.bb | 10 + .../audio-session-manager.inc | 148 +++ .../audio-session-manager_git.bb | 10 + .../recipes-multimedia/avsystem/avsystem.inc | 178 ++++ .../recipes-multimedia/avsystem/avsystem_git.bb | 10 + .../recipes-multimedia/libav/libav.inc | 355 +++++++ .../recipes-multimedia/libav/libav_git.bb | 10 + .../libmedia-service/libmedia-service.inc | 151 +++ .../libmedia-service/libmedia-service_git.bb | 10 + .../libmedia-thumbnail/libmedia-thumbnail.inc | 175 ++++ .../libmedia-thumbnail/libmedia-thumbnail_git.bb | 10 + .../libmm-common/libmm-common.inc | 134 +++ .../libmm-common/libmm-common_git.bb | 10 + .../libmm-fileinfo/libmm-fileinfo.inc | 134 +++ .../libmm-fileinfo/libmm-fileinfo_git.bb | 10 + .../recipes-multimedia/libmm-log/libmm-log.inc | 98 ++ .../recipes-multimedia/libmm-log/libmm-log_git.bb | 10 + .../libmm-player/libmm-player.inc | 133 +++ .../libmm-player/libmm-player_git.bb | 10 + .../libmm-session/libmm-session.inc | 121 +++ .../libmm-session/libmm-session_git.bb | 10 + .../recipes-multimedia/libmm-sound/libmm-sound.inc | 226 +++++ .../libmm-sound/libmm-sound_git.bb | 10 + .../recipes-multimedia/libmm-ta/libmm-ta.inc | 117 +++ .../recipes-multimedia/libmm-ta/libmm-ta_git.bb | 10 + .../libmm-utility/libmm-utility.inc | 145 +++ .../libmm-utility/libmm-utility_git.bb | 10 + .../media-server/media-server.inc | 199 ++++ .../media-server/media-server_git.bb | 10 + .../recipes-multimedia/pulseaudio/pulseaudio.inc | 535 ++++++++++ .../pulseaudio/pulseaudio_git.bb | 10 + .../recipes-multimedia/tiff/tiff.inc | 158 +++ .../recipes-multimedia/tiff/tiff_git.bb | 10 + .../recipes-security/buxton/buxton-extraconf.inc | 0 .../recipes-security/buxton/buxton.inc | 188 ++++ .../recipes-security/buxton/buxton_git.bb | 10 + .../recipes-security/cynara/cynara.inc | 489 ++++++++++ .../recipes-security/cynara/cynara_git.bb | 10 + .../default-ac-domains/default-ac-domains.inc | 74 ++ .../default-ac-domains/default-ac-domains_git.bb | 10 + .../recipes-security/gcr/gcr.inc | 240 +++++ .../recipes-security/gcr/gcr_git.bb | 10 + .../recipes-security/gpg2/gpg2.inc | 147 +++ .../recipes-security/gpg2/gpg2_git.bb | 10 + .../gsignond-plugin-oauth.inc | 126 +++ .../gsignond-plugin-oauth_git.bb | 10 + .../gsignond-plugin-sasl/gsignond-plugin-sasl.inc | 124 +++ .../gsignond-plugin-sasl_git.bb | 10 + .../recipes-security/gsignond/gsignond.inc | 162 ++++ .../recipes-security/gsignond/gsignond_git.bb | 10 + .../recipes-security/libgsasl/libgsasl.inc | 128 +++ .../recipes-security/libgsasl/libgsasl_git.bb | 10 + .../libgsignon-glib/libgsignon-glib.inc | 139 +++ .../libgsignon-glib/libgsignon-glib_git.bb | 10 + .../libprivilege-control/libprivilege-control.inc | 180 ++++ .../libprivilege-control_git.bb | 10 + .../recipes-security/libsecret/libsecret.inc | 168 ++++ .../recipes-security/libsecret/libsecret_git.bb | 10 + .../privacy-manager-server.inc | 264 +++++ .../privacy-manager-server_git.bb | 10 + .../secure-storage/secure-storage.inc | 206 ++++ .../secure-storage/secure-storage_git.bb | 10 + .../security-manager/security-manager.inc | 230 +++++ .../security-manager/security-manager_git.bb | 10 + .../security-server/security-server.inc | 262 +++++ .../security-server/security-server_git.bb | 10 + .../recipes-security/smack/smack.inc | 152 +++ .../recipes-security/smack/smack_git.bb | 10 + .../recipes-security/xmlsec1/xmlsec1.inc | 212 ++++ .../recipes-security/xmlsec1/xmlsec1_git.bb | 10 + .../calendar-service/calendar-service.inc | 170 ++++ .../calendar-service/calendar-service_git.bb | 10 + .../contacts-service/contacts-service.inc | 186 ++++ .../contacts-service/contacts-service_git.bb | 10 + .../evolution-data-server.inc | 364 +++++++ .../evolution-data-server_git.bb | 10 + .../libaccounts-svc/libaccounts-svc.inc | 160 +++ .../libaccounts-svc/libaccounts-svc_git.bb | 10 + .../recipes-social/pims-ipc/pims-ipc.inc | 136 +++ .../recipes-social/pims-ipc/pims-ipc_git.bb | 10 + .../recipes-support/adns/adns.inc | 130 +++ .../recipes-support/adns/adns_git.bb | 10 + .../ca-certificates-tizen.inc | 81 ++ .../ca-certificates-tizen_git.bb | 10 + .../recipes-telephony/libtapi/libtapi.inc | 142 +++ .../recipes-telephony/libtapi/libtapi_git.bb | 10 + .../recipes-telephony/libtapi3/libtapi3.inc | 138 +++ .../recipes-telephony/libtapi3/libtapi3_git.bb | 10 + .../libwebsockets/libwebsockets.inc | 141 +++ .../libwebsockets/libwebsockets_git.bb | 10 + .../weston-common/weston-common.inc | 241 +++++ .../weston-common/weston-common_git.bb | 10 + .../desktop-skin/desktop-skin.inc | 112 +++ .../desktop-skin/desktop-skin_git.bb | 10 + .../wrt-widgets/wrt-widgets.inc | 115 +++ .../wrt-widgets/wrt-widgets_git.bb | 10 + .../common-crosswalk-suite.inc | 87 ++ .../common-crosswalk-suite_git.bb | 10 + .../common-graphics-suite.inc | 88 ++ .../common-graphics-suite_git.bb | 10 + .../common-multimedia-suite.inc | 145 +++ .../common-multimedia-suite_git.bb | 10 + .../common-sanity-suite/common-sanity-suite.inc | 88 ++ .../common-sanity-suite/common-sanity-suite_git.bb | 10 + .../common-suite-launcher.inc | 85 ++ .../common-suite-launcher_git.bb | 10 + .../ivi-sanity-suite/ivi-sanity-suite.inc | 115 +++ .../ivi-sanity-suite/ivi-sanity-suite_git.bb | 10 + .../python-requests/python-requests.inc | 92 ++ .../python-requests/python-requests_git.bb | 10 + .../recipes-devtools/testkit-lite/testkit-lite.inc | 137 +++ .../testkit-lite/testkit-lite_git.bb | 10 + .../recipes-devtools/testkit-stub/testkit-stub.inc | 88 ++ .../testkit-stub/testkit-stub_git.bb | 10 + .../wayland-fits-master/wayland-fits-master.inc | 119 +++ .../wayland-fits-master/wayland-fits-master_git.bb | 10 + .../mobile-broadband-provider-info.inc | 97 ++ .../mobile-broadband-provider-info_git.bb | 10 + .../recipes-connectivity/ofono/ofono.inc | 165 ++++ .../recipes-connectivity/ofono/ofono_git.bb | 10 + .../recipes-core/murphy/murphy.inc | 576 +++++++++++ .../recipes-core/murphy/murphy_git.bb | 10 + .../crosswalk/crosswalk-thirdparty.inc | 209 ++++ .../crosswalk/crosswalk-thirdparty_git.bb | 10 + .../recipes-crosswalk/crosswalk/crosswalk.inc | 324 +++++++ .../recipes-crosswalk/crosswalk/crosswalk_git.bb | 10 + .../tizen-extensions-crosswalk.inc | 268 +++++ .../tizen-extensions-crosswalk_git.bb | 10 + .../recipes-devtools/libICE/libICE.inc | 122 +++ .../recipes-devtools/libICE/libICE_git.bb | 10 + .../recipes-devtools/libSM/libSM.inc | 124 +++ .../recipes-devtools/libSM/libSM_git.bb | 10 + .../recipes-devtools/xtrans/xtrans.inc | 103 ++ .../recipes-devtools/xtrans/xtrans_git.bb | 10 + .../recipes-efl/edbus/edbus.inc | 127 +++ .../recipes-efl/edbus/edbus_git.bb | 10 + .../efl-theme-tizen-hd/efl-theme-tizen-hd.inc | 109 +++ .../efl-theme-tizen-hd/efl-theme-tizen-hd_git.bb | 10 + .../recipes-efl/efl/efl.inc | 1022 ++++++++++++++++++++ .../recipes-efl/efl/efl_git.bb | 10 + .../recipes-efl/elementary/elementary.inc | 165 ++++ .../recipes-efl/elementary/elementary_git.bb | 10 + .../recipes-efl/lemolo/lemolo.inc | 127 +++ .../recipes-efl/lemolo/lemolo_git.bb | 10 + .../CommonAPI-DBus/CommonAPI-DBus.inc | 2 +- .../recipes-automotive/CommonAPI/CommonAPI.inc | 2 +- .../recipes-connectivity/gupnp-av/gupnp-av.inc | 2 +- .../recipes-connectivity/gupnp-dlna/gupnp-dlna.inc | 2 +- .../recipes-connectivity/gupnp/gupnp.inc | 2 +- .../recipes-devtools/libgee/libgee.inc | 2 +- .../automotive-message-broker.inc | 233 +++-- .../automotive-message-broker_git.bb | 2 +- .../meta-tizen-ivi/recipes-extended/dlt/dlt.inc | 2 +- .../notification/notification.inc | 176 ++++ .../notification/notification_git.bb | 10 + .../recipes-graphics/genivi-shell/genivi-shell.inc | 41 +- .../genivi-shell/genivi-shell_git.bb | 2 +- .../recipes-graphics/ibus-hangul/ibus-hangul.inc | 2 +- .../ibus-libpinyin/ibus-libpinyin.inc | 2 +- .../meta-tizen-ivi/recipes-graphics/ibus/ibus.inc | 207 ++++ .../recipes-graphics/ibus/ibus_git.bb | 10 + .../recipes-graphics/libhangul/libhangul.inc | 2 +- .../recipes-graphics/libpinyin/libpinyin.inc | 2 +- .../recipes-graphics/libtbm/libtbm.inc | 135 +++ .../recipes-graphics/libtbm/libtbm_git.bb | 10 + .../weston-ivi-shell/weston-ivi-shell.inc | 8 +- .../weston-ivi-shell/weston-ivi-shell_git.bb | 2 +- .../recipes-graphics/weston-ivi/weston-ivi.inc | 11 +- .../recipes-graphics/weston-ivi/weston-ivi_git.bb | 2 +- .../ico-uxf-device-input-controller.inc | 2 +- .../ico-uxf-homescreen-sample-apps.inc | 2 +- .../ico-uxf-homescreen/ico-uxf-homescreen.inc | 6 +- .../ico-uxf-homescreen/ico-uxf-homescreen_git.bb | 2 +- .../ico-uxf-utilities/ico-uxf-utilities.inc | 2 +- .../ico-uxf-weston-plugin.inc | 6 +- .../ico-uxf-weston-plugin_git.bb | 2 +- .../ico-vic-amb-plugin/ico-vic-amb-plugin.inc | 54 +- .../ico-vic-amb-plugin/ico-vic-amb-plugin_git.bb | 2 +- .../ico-vic-carsimulator/ico-vic-carsimulator.inc | 2 +- .../Modello-Common/Modello-Common_git.bb | 2 +- .../Modello-Dashboard/Modello-Dashboard_git.bb | 2 +- .../Modello-Homescreen/Modello-Homescreen_git.bb | 2 +- .../Modello-Hvac/Modello-Hvac_git.bb | 2 +- .../Modello-Installer/Modello-Installer.inc | 6 +- .../Modello-Installer/Modello-Installer_git.bb | 2 +- .../Modello-Multimediaplayer_git.bb | 2 +- .../recipes-modello/Modello-Nav/Modello-Nav_git.bb | 2 +- .../Modello-Phone/Modello-Phone_git.bb | 2 +- .../recipes-modello/phoned/phoned.inc | 2 +- .../genivi-audio-manager/genivi-audio-manager.inc | 2 +- .../pulseaudio-module-murphy-ivi.inc | 2 +- .../pulseaudio-module-murphy-ivi_git.bb | 2 +- .../recipes-multimedia/rygel/rygel_git.bb | 2 +- .../ecryptfs-utils/ecryptfs-utils.inc | 176 ++++ .../ecryptfs-utils/ecryptfs-utils_git.bb | 10 + .../recipes-support-ivi/keyutils/keyutils.inc | 126 +++ .../recipes-support-ivi/keyutils/keyutils_git.bb | 10 + 594 files changed, 33673 insertions(+), 577 deletions(-) create mode 100644 meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton-extraconf.inc create mode 100644 meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton.inc create mode 100644 meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton_git.bb create mode 100644 meta-tizen/meta-tizen-common-base/recipes-security/buxton/buxton-extraconf.inc create mode 100644 meta-tizen/meta-tizen-common-base/recipes-security/buxton/buxton.inc create mode 100644 meta-tizen/meta-tizen-common-base/recipes-security/buxton/buxton_git.bb create mode 100644 meta-tizen/meta-tizen-common-base/recipes-security/cynara/cynara-extraconf.inc create mode 100644 meta-tizen/meta-tizen-common-base/recipes-security/cynara/cynara.inc create mode 100644 meta-tizen/meta-tizen-common-base/recipes-security/cynara/cynara_git.bb create mode 100644 meta-tizen/meta-tizen-common-base/recipes-security/security-manager/security-manager-extraconf.inc create mode 100644 meta-tizen/meta-tizen-common-base/recipes-security/security-manager/security-manager.inc create mode 100644 meta-tizen/meta-tizen-common-base/recipes-security/security-manager/security-manager_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/ail/ail.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/ail/ail_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/alarm-manager/alarm-manager.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/alarm-manager/alarm-manager_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-checker/app-checker.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-checker/app-checker_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-core/app-core.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-core/app-core_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/appcore-agent/appcore-agent.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/appcore-agent/appcore-agent_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/aul/aul.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/aul/aul_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/badge/badge.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/badge/badge_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-app-manager/capi-appfw-app-manager.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-app-manager/capi-appfw-app-manager_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-application/capi-appfw-application.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-application/capi-appfw-application_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-base-common/capi-base-common.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-base-common/capi-base-common_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-location-manager/capi-location-manager.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-location-manager/capi-location-manager_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-nfc/capi-network-nfc.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-nfc/capi-network-nfc_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-info/capi-system-info.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-info/capi-system-info_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-sensor/capi-system-sensor.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-sensor/capi-system-sensor_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-system-settings/capi-system-system-settings.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-system-settings/capi-system-system-settings_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-favorites/capi-web-favorites.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-favorites/capi-web-favorites_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-url-download/capi-web-url-download.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-url-download/capi-web-url-download_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/heynoti/heynoti.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/heynoti/heynoti_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/libcom-core/libcom-core.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/libcom-core/libcom-core_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/librua/librua.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/librua/librua_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/message-port/message-port.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/message-port/message-port_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/status/status.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/status/status_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/syspopup/syspopup.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/syspopup/syspopup_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/update-desktop-files/update-desktop-files.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/update-desktop-files/update-desktop-files_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-internal-keys/vconf-internal-keys.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-internal-keys/vconf-internal-keys_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-db-util/libslp-db-util.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-db-util/libslp-db-util_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-memo/libslp-memo.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-memo/libslp-memo_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-tools/bluetooth-tools.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-tools/bluetooth-tools_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bundle/bundle.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bundle/bundle_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libnet-client/libnet-client.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libnet-client/libnet-client_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/neardal/neardal.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/neardal/neardal_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/net-config/net-config.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/net-config/net-config_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/nfc-manager-neard/nfc-manager-neard.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/nfc-manager-neard/nfc-manager-neard_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/opencore-amr/opencore-amr.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/opencore-amr/opencore-amr_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/bullet/bullet.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/bullet/bullet_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dbus-python/dbus-python.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dbus-python/dbus-python_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dlog/dlog.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dlog/dlog_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dukgenerator/dukgenerator.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dukgenerator/dukgenerator_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/hwdata/hwdata.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/hwdata/hwdata_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/iniparser/iniparser.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/iniparser/iniparser_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libcryptsvc/libcryptsvc.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libcryptsvc/libcryptsvc_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libdevice-node/libdevice-node.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libdevice-node/libdevice-node_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libfeedback/libfeedback.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libfeedback/libfeedback_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libiri/libiri.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libiri/libiri_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libsf-common/libsf-common.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libsf-common/libsf-common_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libwbxml2/libwbxml2.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libwbxml2/libwbxml2_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libxml2/libxml2.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libxml2/libxml2_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libxml2/python-libxml2.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/libxml2/python-libxml2_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/oma-ds-agent/oma-ds-agent.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/oma-ds-agent/oma-ds-agent_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sensor/sensor.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sensor/sensor_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sync-agent/sync-agent.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sync-agent/sync-agent_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/system-server/system-server.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/system-server/system-server_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/systemd/systemd.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/systemd/systemd_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-wrapper/tizen-platform-wrapper.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-wrapper/tizen-platform-wrapper_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/udev-rules/udev-rules.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/udev-rules/udev-rules_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/uthash/uthash.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/uthash/uthash_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/xdgmime/xdgmime.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/xdgmime/xdgmime_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/fdupes/fdupes.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/fdupes/fdupes_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/gobject-introspection/gobject-introspection.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/gobject-introspection/gobject-introspection_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/lua/lua.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/lua/lua_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-common/meta-common.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-common/meta-common_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-generic/meta-generic.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-generic/meta-generic_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/python-setuptools/python-setuptools.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/python-setuptools/python-setuptools_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/rpm/rpm.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/rpm/rpm_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/tdb/tdb.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/tdb/tdb_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/vala/vala.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/vala/vala_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/festival/festival.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/festival/festival_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/pam/pam.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/pam/pam_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/sphinxbase/sphinxbase.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/sphinxbase/sphinxbase_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/drm-client/drm-client.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/drm-client/drm-client_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/libdrm/libdrm.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/libdrm/libdrm_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weekeyboard/weekeyboard.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weekeyboard/weekeyboard_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weston/weston.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weston/weston_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-messaging/msg-service/msg-service.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-messaging/msg-service/msg-service_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/alsa-scenario/alsa-scenario.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/alsa-scenario/alsa-scenario_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/audio-session-manager/audio-session-manager.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/audio-session-manager/audio-session-manager_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/avsystem/avsystem.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/avsystem/avsystem_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libav/libav.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libav/libav_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-service/libmedia-service.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-service/libmedia-service_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-thumbnail/libmedia-thumbnail.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-thumbnail/libmedia-thumbnail_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-log/libmm-log.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-log/libmm-log_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-player/libmm-player.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-player/libmm-player_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-session/libmm-session.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-session/libmm-session_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-ta/libmm-ta.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-ta/libmm-ta_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-utility/libmm-utility.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-utility/libmm-utility_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/media-server/media-server.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/media-server/media-server_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/pulseaudio/pulseaudio.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/pulseaudio/pulseaudio_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/tiff/tiff.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/tiff/tiff_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/buxton/buxton-extraconf.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/buxton/buxton.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/buxton/buxton_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/cynara/cynara.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/cynara/cynara_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/default-ac-domains/default-ac-domains.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/default-ac-domains/default-ac-domains_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gcr/gcr.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gcr/gcr_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gpg2/gpg2.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gpg2/gpg2_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-oauth/gsignond-plugin-oauth.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-oauth/gsignond-plugin-oauth_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-sasl/gsignond-plugin-sasl.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-sasl/gsignond-plugin-sasl_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond/gsignond.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond/gsignond_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsasl/libgsasl.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsasl/libgsasl_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsignon-glib/libgsignon-glib.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsignon-glib/libgsignon-glib_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libsecret/libsecret.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libsecret/libsecret_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/secure-storage/secure-storage.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/secure-storage/secure-storage_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-manager/security-manager.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-manager/security-manager_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-server/security-server.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-server/security-server_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/smack/smack.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/smack/smack_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/xmlsec1/xmlsec1.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/xmlsec1/xmlsec1_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/calendar-service/calendar-service.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/calendar-service/calendar-service_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/contacts-service/contacts-service.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/contacts-service/contacts-service_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/evolution-data-server/evolution-data-server.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/evolution-data-server/evolution-data-server_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/libaccounts-svc/libaccounts-svc.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/libaccounts-svc/libaccounts-svc_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/pims-ipc/pims-ipc.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/pims-ipc/pims-ipc_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/adns/adns.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/adns/adns_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/ca-certificates-tizen/ca-certificates-tizen.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/ca-certificates-tizen/ca-certificates-tizen_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi/libtapi.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi/libtapi_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi3/libtapi3.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi3/libtapi3_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-webframework/libwebsockets/libwebsockets.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-webframework/libwebsockets/libwebsockets_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-graphics/weston-common/weston-common.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-graphics/weston-common/weston-common_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-webframework/wrt-widgets/wrt-widgets.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-webframework/wrt-widgets/wrt-widgets_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-crosswalk-suite/common-crosswalk-suite.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-crosswalk-suite/common-crosswalk-suite_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-graphics-suite/common-graphics-suite.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-graphics-suite/common-graphics-suite_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-multimedia-suite/common-multimedia-suite.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-multimedia-suite/common-multimedia-suite_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-sanity-suite/common-sanity-suite.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-sanity-suite/common-sanity-suite_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-suite-launcher/common-suite-launcher.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-suite-launcher/common-suite-launcher_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/ivi-sanity-suite/ivi-sanity-suite.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/ivi-sanity-suite/ivi-sanity-suite_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/python-requests/python-requests.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/python-requests/python-requests_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-lite/testkit-lite.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-lite/testkit-lite_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-stub/testkit-stub.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-stub/testkit-stub_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/ofono/ofono.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/ofono/ofono_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-core/murphy/murphy.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-core/murphy/murphy_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libICE/libICE.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libICE/libICE_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libSM/libSM.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libSM/libSM_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/xtrans/xtrans.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/xtrans/xtrans_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/edbus/edbus.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/edbus/edbus_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl-theme-tizen-hd/efl-theme-tizen-hd.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl-theme-tizen-hd/efl-theme-tizen-hd_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl/efl.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl/efl_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/elementary/elementary.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/elementary/elementary_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/lemolo/lemolo.inc create mode 100644 meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/lemolo/lemolo_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/recipes-framework/notification/notification.inc create mode 100644 meta-tizen/meta-tizen-ivi/recipes-framework/notification/notification_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/recipes-graphics/ibus/ibus.inc create mode 100644 meta-tizen/meta-tizen-ivi/recipes-graphics/ibus/ibus_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/recipes-graphics/libtbm/libtbm.inc create mode 100644 meta-tizen/meta-tizen-ivi/recipes-graphics/libtbm/libtbm_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils.inc create mode 100644 meta-tizen/meta-tizen-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_git.bb create mode 100644 meta-tizen/meta-tizen-ivi/recipes-support-ivi/keyutils/keyutils.inc create mode 100644 meta-tizen/meta-tizen-ivi/recipes-support-ivi/keyutils/keyutils_git.bb diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/ail/ail.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/ail/ail.inc index 986c833562..3b2fa2c0c1 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/ail/ail.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/ail/ail.inc @@ -23,12 +23,19 @@ RPROVIDES_ail += "libail" PROVIDES += "ail-dev" +#PROVIDES by ail-vconf-dev +PROVIDES += "ail-vconf-dev" + + RDEPENDS = "" #RDEPENDS of ail-dev (${PN}-dev) RDEPENDS_${PN}-dev += "tizen-platform-config" RDEPENDS_${PN}-dev += "libail" RDEPENDS_${PN}-dev += "smack" +#RDEPENDS of ail-vconf-dev (${PN}-vconf-dev) +RDEPENDS_${PN}-vconf-dev += "libail" + DEPENDS = "" #DEPENDS of ail @@ -82,7 +89,7 @@ do_compile() { ${EXTRA_OECMAKE} . -DTZ_SYS_RW_DESKTOP_APP=${prefix}/share/applications \ -DBUILD_PKGTYPE=rpm - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 @@ -119,15 +126,9 @@ pkg_postinst_${PN}() { #mkdir -p %TZ_SYS_RW_APP/.config/xwalk-service/applications #cd %TZ_SYS_RW_APP/ #ln -s .config/xwalk-service/applications/ - vconftool set -t string db/ail/ail_info "0" -f -s system::vconf_inhouse - vconftool set -t string db/menuscreen/desktop "0" -f -s system::vconf_inhouse - vconftool set -t string db/menu_widget/language "en_US.utf8" -f -s system::vconf_inhouse - chsmack -a User $D${prefix}/kdb/db/ail - chsmack -a User $D${prefix}/kdb/db/ail/ail_info - chsmack -a User $D${prefix}/kdb/db/menuscreen - chsmack -a User $D${prefix}/kdb/db/menuscreen/desktop - chsmack -a User $D${prefix}/kdb/db/menu_widget - chsmack -a User $D${prefix}/kdb/db/menu_widget/language + vconftool set -t string db/ail/ail_info "0" -f -s User + vconftool set -t string db/menuscreen/desktop "0" -f -s User + vconftool set -t string db/menu_widget/language "en_US.utf8" -f -s User mkdir -p $D${prefix}/share/applications mkdir -p $D${prefix}/share/applications mkdir -p $D${prefix}/apps @@ -148,7 +149,8 @@ pkg_postinst_${PN}() { chown tizenglobalapp:root $D${prefix}/dbspace chown tizenglobalapp:root $D${prefix}/dbspace chown tizenglobalapp:root -R $D${prefix}/share/icons - ail_initdb 2>/dev/null + ail_createdb 2>/dev/null + ail_syncdb 2>/dev/null chsmack -a '*' $D${prefix}/dbspace/.app_info.db* @@ -167,8 +169,13 @@ pkg_postrm_${PN}() { PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" PACKAGES += " ail " PACKAGES += " ail-dev " +PACKAGES += " ail-vconf-dev " ail_files = "" +ail_files += "${prefix}/bin/ail_createdb" +ail_files += "${prefix}/bin/ail_createdb_user" +ail_files += "${prefix}/bin/ail_syncdb" +ail_files += "${prefix}/bin/ail_syncdb_user" ail_files += "${prefix}/bin/ail_initdb" ail_files += "${prefix}/bin/ail_initdb_user" ail_files += "${prefix}/bin/ail_fota" @@ -187,11 +194,16 @@ ail-dev_files += "${prefix}/lib/libail.so" ail-dev_files += "${prefix}/lib/pkgconfig/ail.pc" MANIFESTFILES_${PN}-dev = "ail.manifest" +ail-vconf-dev_files = "" +ail-vconf-dev_files += "${prefix}/include/ail_vconf.h" + FILES_${PN} = "${ail_files}" FILES_${PN}-dev = "${ail-dev_files}" +FILES_${PN}-vconf-dev = "${ail-vconf-dev_files}" PKG_ail= "ail" PKG_ail-dev= "ail-dev" +PKG_ail-vconf-dev= "ail-vconf-dev" require ail-extraconf.inc diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/ail/ail_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/ail/ail_git.bb index 60dd19d821..51a5b43c34 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/ail/ail_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/ail/ail_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/appfw/ail;tag=4df6f91071ef4ddc2918cbe7679c787b835e8c7a;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/appfw/ail;tag=139abb1c6feadabb95cd3e4a752c7833d8a3d468;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/alarm-manager/alarm-manager.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/alarm-manager/alarm-manager.inc index b1e3866702..ea199e6090 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/alarm-manager/alarm-manager.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/alarm-manager/alarm-manager.inc @@ -85,7 +85,7 @@ do_compile() { dbus-binding-tool --mode=glib-client --prefix=alarm_client ./alarm-expire.xml > ./include/alarm-expire-stub.h autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-checker/app-checker.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-checker/app-checker.inc index e6b1982631..33e4af67e2 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-checker/app-checker.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-checker/app-checker.inc @@ -84,7 +84,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-core/app-core.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-core/app-core.inc index b8dbd41848..1a6dc18436 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-core/app-core.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-core/app-core.inc @@ -109,7 +109,7 @@ do_compile() { -Dwith_wayland=TRUE\ -DENABLE_GTK=OFF - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc.inc index 0056969749..0052cbf80a 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc.inc @@ -51,6 +51,7 @@ do_prep() { cd ${S} chmod -Rf a+rX,u+w,g-w,o-w ${S} #setup -q + sed -i ${S}/packaging/app-svc.manifest -e "s|TZ_SYS_DB|${prefix}/dbspace|g" cp ${S}/packaging/app-svc.manifest . @@ -84,7 +85,7 @@ do_compile() { ${EXTRA_OECMAKE} . \ -Dwith_wayland=TRUE - make ${PARALLEL_MAKE} + oe_runmake -j16 @@ -113,9 +114,6 @@ do_install() { mkdir -p ${D}${prefix}/dbspace sqlite3 ${D}${prefix}/dbspace/.appsvc.db < data/appsvc_db.sql - mkdir -p ${D}/usr/share/license - cp LICENSE ${D}/usr/share/license/app-svc - } @@ -138,10 +136,9 @@ PACKAGES += " app-svc-dev " app-svc_files = "" app-svc_files += "%verify(not md5 mtime size) %attr(664,root,users) ${prefix}/dbspace/.appsvc.db" app-svc_files += "%verify(not md5 mtime size) %attr(664,root,users) ${prefix}/dbspace/.appsvc.db-journal" -app-svc_files += "/usr/bin/appsvc_test" +app-svc_files += "${prefix}/bin/appsvc_test" app-svc_files += "${prefix}/lib/libappsvc.so.0" app-svc_files += "${prefix}/lib/libappsvc.so.0.1.0" -app-svc_files += "/usr/share/license/app-svc" MANIFESTFILES_${PN} = "app-svc.manifest" app-svc-dev_files = "" diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc_git.bb index 2cf1451d2e..66651b1502 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/appfw/app-svc;tag=20a5461703eabca371b655ec968ed0175e06ea25;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/appfw/app-svc;tag=859ec161b49125408a7c74cacc29e78ad27d9a3c;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/appcore-agent/appcore-agent.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/appcore-agent/appcore-agent.inc index cfb4fb12c3..c4e5036e77 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/appcore-agent/appcore-agent.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/appcore-agent/appcore-agent.inc @@ -71,7 +71,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/aul/aul.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/aul/aul.inc index 1b1ece7ba4..119a4a708c 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/aul/aul.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/aul/aul.inc @@ -93,7 +93,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/aul/aul_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/aul/aul_git.bb index 2e6567888a..ac674ad998 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/aul/aul_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/aul/aul_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/appfw/aul-1;tag=0d949a469c25c6ace4b406a619c48c9534141045;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/appfw/aul-1;tag=70f6b2c9e5bb1e3a4071c60597c8cff9fa1ce035;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/badge/badge.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/badge/badge.inc index f320bbbbac..c32f11c64e 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/badge/badge.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/badge/badge.inc @@ -80,7 +80,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-app-manager/capi-appfw-app-manager.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-app-manager/capi-appfw-app-manager.inc index f9087c8c97..76bcc17ea3 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-app-manager/capi-appfw-app-manager.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-app-manager/capi-appfw-app-manager.inc @@ -74,7 +74,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-application/capi-appfw-application.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-application/capi-appfw-application.inc index c22a4807ec..a4c40a4138 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-application/capi-appfw-application.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-application/capi-appfw-application.inc @@ -78,7 +78,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager.inc index 7495196c3d..d732a28da3 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager.inc @@ -76,7 +76,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DFULLVER=0.0.30 -DMAJORVER=${MAJORVER} - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager_git.bb index 2527ab9f10..217f3332d6 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/api/package-manager;tag=16c0f38bfe8b93b54dee0668a87d6164d7342782;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/api/package-manager;tag=bdf7aa8d670c54979f59f23e07ecd70458eaf27e;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-base-common/capi-base-common.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-base-common/capi-base-common.inc index 8671fffe77..479f11fd4f 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-base-common/capi-base-common.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-base-common/capi-base-common.inc @@ -64,7 +64,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content.inc index bc823685fa..69aeb209d1 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content.inc @@ -72,7 +72,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DFULLVER=0.2.59 -DMAJORVER=${MAJORVER} - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content_git.bb index ac972a6fe3..4d64b66ba2 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/api/media-content;tag=af69336d70625b89d376c9b1fa90225eb2deed95;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/api/media-content;tag=f8e097736df02e1686da42f2d56ea31ad4a7bac2;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-location-manager/capi-location-manager.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-location-manager/capi-location-manager.inc index f890532384..357b740ee3 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-location-manager/capi-location-manager.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-location-manager/capi-location-manager.inc @@ -69,7 +69,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.11 -DMAJORVER=${MAJORVER} - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util.inc index a3a939d7d1..5b24779a2f 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util.inc @@ -31,6 +31,7 @@ RDEPENDS_${PN}-dev += "capi-base-common" DEPENDS = "" #DEPENDS of capi-media-image-util +DEPENDS += "pkgconfig(capi-media-tool)" inherit tizen_cmake #Replace "DEPENDS" on gettext by "inherit gettext" inherit gettext @@ -76,7 +77,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util_git.bb index 2c09b58aaa..6069111922 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/api/image-util;tag=f02004b94ca2b2c0c21c67be0a0d1ce8edee0a75;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/api/image-util;tag=8d92beab51da8bbdca0099de4ed5dbc95f64555c;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager.inc index 63a25905cd..523e6b2f6e 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Sound Manager library" HOMEPAGE = "http://nohomepage.org" SECTION = "Multimedia/API" LICENSE = "Apache-2.0" -PV = "0.1.1" +PV = "0.2.27" SRC_URI = "" @@ -24,6 +24,10 @@ RDEPENDS = "" #RDEPENDS of capi-media-sound-manager-dev (${PN}-dev) RDEPENDS_${PN}-dev += "capi-media-sound-manager" +#RDEPENDS of capi-media-sound-manager (${PN}) +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "libprivilege-control" + DEPENDS = "" #DEPENDS of capi-media-sound-manager @@ -31,6 +35,7 @@ DEPENDS += "libmm-sound" inherit tizen_cmake inherit pkgconfig DEPENDS += "dlog" +DEPENDS += "vconf" DEPENDS += "capi-base-common" DEPENDS += "libmm-session" @@ -56,7 +61,7 @@ do_compile() { unset DISPLAY LD_AS_NEEDED=1; export LD_AS_NEEDED ; - MAJORVER=`echo 0.1.1 | awk 'BEGIN {FS="."}{print $1}'` + MAJORVER=`echo 0.2.27 | awk 'BEGIN {FS="."}{print $1}'` cmake \ -DCMAKE_VERBOSE_MAKEFILE=ON \ @@ -69,8 +74,8 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ - ${EXTRA_OECMAKE} . -DFULLVER=0.1.1 -DMAJORVER=${MAJORVER} - oe_runmake ${PARALLEL_MAKE} + ${EXTRA_OECMAKE} . -DFULLVER=0.2.27 -DMAJORVER=${MAJORVER} + oe_runmake -j16 @@ -85,6 +90,12 @@ do_install() { rm -rf ${D} mkdir -p ${D} + rm -rf ${D} + mkdir -p ${D}/usr/share/license + mkdir -p ${D}/opt/usr/devel + cp LICENSE ${D}/usr/share/license/capi-media-sound-manager + cp test/sound_manager_test ${D}/opt/usr/devel + oe_runmake \ DESTDIR=${D} \ @@ -102,6 +113,8 @@ pkg_postinst_${PN}() { #!/bin/sh -e [ "x$D" == "x" ] && ldconfig + /usr/bin/api_feature_loader --verbose --dir=/usr/share/privilege-control + } pkg_postrm_${PN}() { @@ -116,12 +129,15 @@ PACKAGES += " capi-media-sound-manager " capi-media-sound-manager-dev_files = "" capi-media-sound-manager-dev_files += "${prefix}/include/media/sound_manager.h" +capi-media-sound-manager-dev_files += "${prefix}/include/media/sound_manager_internal.h" capi-media-sound-manager-dev_files += "${prefix}/lib/pkgconfig/*.pc" capi-media-sound-manager-dev_files += "${prefix}/lib/libcapi-media-sound-manager.so" MANIFESTFILES_${PN}-dev = "capi-media-sound-manager.manifest" capi-media-sound-manager_files = "" capi-media-sound-manager_files += "${prefix}/lib/libcapi-media-sound-manager.so.*" +capi-media-sound-manager_files += "${prefix}/share/license/capi-media-sound-manager" +capi-media-sound-manager_files += "/opt/usr/devel/*" MANIFESTFILES_${PN} = "capi-media-sound-manager.manifest" FILES_${PN}-dev = "${capi-media-sound-manager-dev_files}" diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager_git.bb index e0a6f5cf2a..2f8a1677fb 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/api/sound-manager;tag=941540c35dff234708b34bc90384728f1aa6f614;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/api/sound-manager;tag=4232dc89238c674ae1fcc240cb19547e2a92bae0;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player.inc index 4a5d8892ae..509ff40de9 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player.inc @@ -2,7 +2,7 @@ DESCRIPTION = "A wav player library in Tizen C API" HOMEPAGE = "http://nohomepage.org" SECTION = "Multimedia/API" LICENSE = "Apache-2.0" -PV = "0.1.0" +PV = "0.1.1" SRC_URI = "" @@ -56,7 +56,7 @@ do_compile() { unset DISPLAY LD_AS_NEEDED=1; export LD_AS_NEEDED ; - MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $1}'` + MAJORVER=`echo 0.1.1 | awk 'BEGIN {FS="."}{print $1}'` cmake \ -DCMAKE_VERBOSE_MAKEFILE=ON \ @@ -69,8 +69,8 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ - ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} - oe_runmake ${PARALLEL_MAKE} + ${EXTRA_OECMAKE} . -DFULLVER=0.1.1 -DMAJORVER=${MAJORVER} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player_git.bb index 44c45d587b..463e8f81d2 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/api/wav-player;tag=1607cdbbb1fa3f0d1c1bc47b14a7d16d94ca815c;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/api/wav-player;tag=e12356a988051f36a2b69dfc6ce0a067117c72d8;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth.inc index 2ec80cdb81..365602096d 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth.inc @@ -73,7 +73,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.39 -DMAJORVER=${MAJORVER} - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth_git.bb index c36420567c..d95acfa0b0 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/api/bluetooth;tag=768f05234c91713dc75a70c75006d05fc5183daf;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/api/bluetooth;tag=0b035a3d6f8ce6d94742575578c9daee1bab6bb3;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection.inc index e35c392ae5..e928c02a37 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection.inc @@ -1,8 +1,8 @@ DESCRIPTION = "Network Connection library in TIZEN C API" HOMEPAGE = "http://nohomepage.org" SECTION = "System/Network" -LICENSE = "Apache License Version 2.0" -PV = "0.1.3_13" +LICENSE = "Apache-2.0" +PV = "0.1.3_19" SRC_URI = "" @@ -59,7 +59,7 @@ do_compile() { LD_AS_NEEDED=1; export LD_AS_NEEDED ; unset LD_AS_NEEDED - MAJORVER=`echo 0.1.3_13 | awk 'BEGIN {FS="."}{print $1}'` + MAJORVER=`echo 0.1.3_19 | awk 'BEGIN {FS="."}{print $1}'` cmake \ -DCMAKE_VERBOSE_MAKEFILE=ON \ @@ -72,9 +72,9 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ - ${EXTRA_OECMAKE} . -DFULLVER=0.1.3_13 -DMAJORVER=${MAJORVER} + ${EXTRA_OECMAKE} . -DFULLVER=0.1.3_19 -DMAJORVER=${MAJORVER} - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection_git.bb index 541ca51f45..458267a00b 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/api/connection;tag=5ec3b5009863330a604936cedcc75cd9fee3d89a;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/api/connection;tag=0a34c7d798343a87c4640936bcab3a55fc18da52;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-nfc/capi-network-nfc.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-nfc/capi-network-nfc.inc index bdb39952ee..aac8f8056e 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-nfc/capi-network-nfc.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-nfc/capi-network-nfc.inc @@ -77,7 +77,7 @@ do_compile() { ${EXTRA_OECMAKE} . -DFULLVER=0.1.5 -DMAJORVER=${MAJORVER} \ -DX11_SUPPORT=Off - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering.inc index da319fc6d4..1363cb7be9 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Tethering Framework" HOMEPAGE = "http://nohomepage.org" SECTION = "Connectivity/API" LICENSE = "Apache-2.0" -PV = "0.0.15" +PV = "0.0.16" SRC_URI = "" @@ -70,7 +70,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DARCH=i586 - make ${PARALLEL_MAKE} + make -j16 @@ -94,6 +94,8 @@ do_install() { rm -f ${D}${infodir}/dir find ${D} -regex ".*\.la$" | xargs rm -f -- find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + cp LICENSE.APLv2.0 ${D}/usr/share/license/capi-network-tethering } @@ -122,6 +124,7 @@ MANIFESTFILES_${PN}-dev = "capi-network-tethering.manifest" capi-network-tethering_files = "" capi-network-tethering_files += "${prefix}/lib/*.so.*" +capi-network-tethering_files += "/usr/share/license/capi-network-tethering" capi-network-tethering_files += "/etc/config/connectivity/sysinfo-tethering.xml" MANIFESTFILES_${PN} = "capi-network-tethering.manifest" diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering_git.bb index 3224c32b40..fd7b046fbe 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/api/tethering;tag=d9c4a9752d0c8be29faa847511f5aac088e13dc3;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/api/tethering;tag=64e19e65e8ea1085b281af93aa25e40aba9145df;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi.inc index 9d8f79612b..0bf1904f96 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Network Wi-Fi library in TIZEN C API" HOMEPAGE = "http://nohomepage.org" SECTION = "System/Network" LICENSE = "Apache-2.0" -PV = "0.1.2_18" +PV = "0.1.2_25" SRC_URI = "" @@ -58,7 +58,7 @@ do_compile() { unset DISPLAY LD_AS_NEEDED=1; export LD_AS_NEEDED ; - MAJORVER=`echo 0.1.2_18 | awk 'BEGIN {FS="."}{print $1}'` + MAJORVER=`echo 0.1.2_25 | awk 'BEGIN {FS="."}{print $1}'` cmake \ -DCMAKE_VERBOSE_MAKEFILE=ON \ @@ -71,9 +71,9 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ - ${EXTRA_OECMAKE} . -DFULLVER=0.1.2_18 -DMAJORVER=${MAJORVER} + ${EXTRA_OECMAKE} . -DFULLVER=0.1.2_25 -DMAJORVER=${MAJORVER} - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi_git.bb index 8a509aa6fa..374312453f 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/api/wifi;tag=391e3b9f55f1dc7339c6aba23738c6bdf116eb77;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/api/wifi;tag=e4f3757407a3f24d8b1d182c43b880e867788fd7;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device.inc index 787a8bae9a..aea7c36f2b 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device.inc @@ -28,11 +28,14 @@ RDEPENDS_${PN}-dev += "capi-system-device" DEPENDS = "" #DEPENDS of capi-system-device inherit tizen_cmake +DEPENDS += "capi-system-info" +DEPENDS += "dbus" inherit pkgconfig DEPENDS += "dlog" -DEPENDS += "system-server" +DEPENDS += "pkgconfig(deviced)" DEPENDS += "capi-base-common" DEPENDS += "vconf" +DEPENDS += "dbus-glib" do_prep() { cd ${S} @@ -70,7 +73,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 @@ -115,7 +118,8 @@ PACKAGES += " capi-system-device-dev " PACKAGES += " capi-system-device " capi-system-device-dev_files = "" -capi-system-device-dev_files += "${prefix}/include/system/device.h" +capi-system-device-dev_files += "${prefix}/include/device/*.h" +capi-system-device-dev_files += "${prefix}/include/system/*.h" capi-system-device-dev_files += "${prefix}/lib/pkgconfig/*.pc" capi-system-device-dev_files += "${prefix}/lib/libcapi-system-device.so" MANIFESTFILES_${PN}-dev = "capi-system-device.manifest" diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device_git.bb index e3bc02e9c9..48b078135e 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/api/device;tag=5269dd43219b58e326d5a12f89ec3b106d1deb4c;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/api/device;tag=b3d72a64ca39fef39127aeb040f370c9e2798c2e;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-info/capi-system-info.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-info/capi-system-info.inc index cafaca16d4..fe9ead48c3 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-info/capi-system-info.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-info/capi-system-info.inc @@ -72,7 +72,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DFULLVER=0.2.0 -DMAJORVER=${MAJORVER} -DENABLE_WAYLAND=TRUE - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power.inc index 0fb58415b7..6cc34e853c 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power.inc @@ -71,7 +71,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DFULLVER=0.1.1 -DMAJORVER=${MAJORVER} - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power_git.bb index 7cec390510..29ac820de1 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/api/power;tag=39f484023de4f5a4dbf25718c8d30c0821810c18;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/api/power;tag=197d785da82c234517e30af1a1bcc1e517028762;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info.inc index c6fd0e92f1..75674bbf5a 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info.inc @@ -1,4 +1,4 @@ -DESCRIPTION = "A Runtime Information library in Tizen Native API" +DESCRIPTION = "A Runtime Information library in Core API" HOMEPAGE = "http://nohomepage.org" SECTION = "System/API" LICENSE = "Apache-2.0" @@ -25,6 +25,9 @@ RDEPENDS = "" RDEPENDS_${PN}-dev += "capi-base-common" RDEPENDS_${PN}-dev += "capi-system-runtime-info" +#RDEPENDS of capi-system-runtime-info (${PN}) +RDEPENDS_${PN} += "glibc" + DEPENDS = "" #DEPENDS of capi-system-runtime-info @@ -38,8 +41,7 @@ do_prep() { cd ${S} chmod -Rf a+rX,u+w,g-w,o-w ${S} #setup -q - cp ${S}/packaging/capi-system-runtime-info.manifest ${S}/packaging/capi-system-runtime-info-devel.manifest . - + cp ${S}/packaging/capi-system-runtime-info.manifest . } @@ -73,7 +75,7 @@ do_compile() { ${EXTRA_OECMAKE} . -DFULLVER=0.0.3 -DMAJORVER=${MAJORVER} - make ${PARALLEL_MAKE} + make -j16 @@ -121,7 +123,6 @@ capi-system-runtime-info-dev_files = "" capi-system-runtime-info-dev_files += "${prefix}/include/system/*.h" capi-system-runtime-info-dev_files += "${prefix}/lib/pkgconfig/*.pc" capi-system-runtime-info-dev_files += "${prefix}/lib/lib*.so" -MANIFESTFILES_${PN}-dev = "capi-system-runtime-info-devel.manifest" capi-system-runtime-info_files = "" capi-system-runtime-info_files += "${prefix}/lib/lib*.so.*" diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info_git.bb index 28d5f200a5..21a122502d 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/api/runtime-info;tag=03db94f453f8a070164efd0369d192f739773a80;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/api/runtime-info;tag=c97213979296358d530042098c404c66e80ab395;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-sensor/capi-system-sensor.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-sensor/capi-system-sensor.inc index a1efc82258..8aaffcb881 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-sensor/capi-system-sensor.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-sensor/capi-system-sensor.inc @@ -1,8 +1,8 @@ DESCRIPTION = "A Sensor library in TIZEN C API" HOMEPAGE = "http://nohomepage.org" -SECTION = "framework/system" -LICENSE = "Apache-2.0" -PV = "0.1.17" +SECTION = "System/API" +LICENSE = "Apache 2.0" +PV = "0.1.0" SRC_URI = "" @@ -24,6 +24,9 @@ RDEPENDS = "" #RDEPENDS of capi-system-sensor-dev (${PN}-dev) RDEPENDS_${PN}-dev += "capi-system-sensor" +#RDEPENDS of capi-system-sensor (${PN}) +RDEPENDS_${PN} += "glibc" + DEPENDS = "" #DEPENDS of capi-system-sensor @@ -32,13 +35,12 @@ inherit tizen_cmake inherit pkgconfig DEPENDS += "dlog" DEPENDS += "capi-base-common" +DEPENDS += "libsf-common" do_prep() { cd ${S} chmod -Rf a+rX,u+w,g-w,o-w ${S} #setup -q - cp ${S}/packaging/capi-system-sensor.manifest . - } @@ -56,8 +58,8 @@ do_compile() { unset DISPLAY LD_AS_NEEDED=1; export LD_AS_NEEDED ; - MAJORVER=`echo 0.1.17 | awk 'BEGIN {FS="."}{print $1}'` - + cp ${S}/packaging/capi-system-sensor.manifest . + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $1}'` cmake \ -DCMAKE_VERBOSE_MAKEFILE=ON \ @@ -70,10 +72,8 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ - ${EXTRA_OECMAKE} . -DFULLVER=0.1.17 -DMAJORVER=${MAJORVER} -DVERSION="0.1.17" - - oe_runmake ${PARALLEL_MAKE} - + ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + oe_runmake -j1 @@ -88,6 +88,7 @@ do_install() { rm -rf ${D} mkdir -p ${D} + rm -rf ${D} oe_runmake \ DESTDIR=${D} \ @@ -118,9 +119,9 @@ PACKAGES += " capi-system-sensor-dev " PACKAGES += " capi-system-sensor " capi-system-sensor-dev_files = "" -capi-system-sensor-dev_files += "${prefix}/include/system/sensors.h" -capi-system-sensor-dev_files += "${prefix}/lib/pkgconfig/*.pc" capi-system-sensor-dev_files += "${prefix}/lib/libcapi-system-sensor.so" +capi-system-sensor-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-system-sensor-dev_files += "${prefix}/include/sensor/*.h" MANIFESTFILES_${PN}-dev = "capi-system-sensor.manifest" capi-system-sensor_files = "" diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-system-settings/capi-system-system-settings.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-system-settings/capi-system-system-settings.inc index 97b3afdc30..fa82bab751 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-system-settings/capi-system-system-settings.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-system-system-settings/capi-system-system-settings.inc @@ -81,7 +81,7 @@ do_compile() { -DX11_SUPPORT=Off \ -DWAYLAND_SUPPORT=On - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-web-favorites/capi-web-favorites.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-web-favorites/capi-web-favorites.inc index 29a3f8b4a0..6434a13417 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-web-favorites/capi-web-favorites.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-web-favorites/capi-web-favorites.inc @@ -74,7 +74,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DTZ_SYS_SHARE=${prefix}/share - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-web-url-download/capi-web-url-download.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-web-url-download/capi-web-url-download.inc index 90c2f20aad..38f95b2685 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-web-url-download/capi-web-url-download.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/capi-web-url-download/capi-web-url-download.inc @@ -69,7 +69,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/heynoti/heynoti.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/heynoti/heynoti.inc index 21b8471169..121c317f4e 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/heynoti/heynoti.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/heynoti/heynoti.inc @@ -72,7 +72,7 @@ do_compile() { ${EXTRA_OECMAKE} . -DCMAKE_BUILD_TYPE="Debug" - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/libcom-core/libcom-core.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/libcom-core/libcom-core.inc index cd1c3c7248..b4045bf08d 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/libcom-core/libcom-core.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/libcom-core/libcom-core.inc @@ -71,7 +71,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/librua/librua.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/librua/librua.inc index 2c2b3ed9ea..d60d767467 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/librua/librua.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/librua/librua.inc @@ -75,7 +75,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/message-port/message-port.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/message-port/message-port.inc index 4f953ff5fd..f43cbb69ac 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/message-port/message-port.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/message-port/message-port.inc @@ -76,7 +76,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info.inc index 11bd29313b..241d0b7d9a 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info.inc @@ -89,7 +89,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info_git.bb index e652781c7a..8c50da2caf 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/appfw/pkgmgr-info;tag=81ec3ec48b6a7f8823a861bd640a6e65b5f3bb90;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/appfw/pkgmgr-info;tag=b5c4655153dd8ba3619f1c15f85d2549812daf06;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/files/Add_extralib.diff b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/files/Add_extralib.diff index efd9553710..bb48ba77fd 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/files/Add_extralib.diff +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/files/Add_extralib.diff @@ -1,28 +1,36 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index e0a9211..96a28f1 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --# -+# - # Copyright (c) 2008 ~ 2010 Samsung Electronics Co., Ltd. - # All rights reserved - # -@@ -37,7 +37,7 @@ FOREACH(flag ${pkgs_CFLAGS}) - SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") - ENDFOREACH(flag) - --pkg_check_modules(libpkgs REQUIRED dbus-glib-1 dlog ail pkgmgr-parser pkgmgr-info iniparser libtzplatform-config notification) -+pkg_check_modules(libpkgs REQUIRED dbus-glib-1 dlog ail pkgmgr-parser pkgmgr-info iniparser libtzplatform-config notification xdgmime security-server) - - FOREACH(flag ${libpkgs_CFLAGS}) - SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") -@@ -76,7 +76,7 @@ ADD_LIBRARY(${PKGMGR_CLIENT} SHARED ${libpkgmgr-client_SOURCES}) - SET_TARGET_PROPERTIES(${PKGMGR_CLIENT} PROPERTIES SOVERSION ${VERSION_MAJOR}) +From f5f37e425ca8eb3b988c366ea49046219966da3b Mon Sep 17 00:00:00 2001 +From: Xavier Roche +Date: Thu, 12 Feb 2015 14:33:42 +0100 +Subject: [PATCH] Add extra lib + +Signed-off-by: Xavier Roche +--- + client/CMakeLists.txt | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt +index fe92867..e11c23f 100644 +--- a/client/CMakeLists.txt ++++ b/client/CMakeLists.txt +@@ -10,7 +10,8 @@ pkg_check_modules(CLIENT_DEPS REQUIRED + pkgmgr-info + iniparser + libtzplatform-config +- security-server) ++ security-server ++ xdgmime) + FOREACH(CLIENT_FLAGS ${CLIENT_DEPS_CFLAGS}) + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CLIENT_FLAGS}") + ENDFOREACH(CLIENT_FLAGS) +@@ -24,7 +25,7 @@ SET_TARGET_PROPERTIES(${PKGMGR_CLIENT} PROPERTIES SOVERSION ${VERSION_MAJOR}) SET_TARGET_PROPERTIES(${PKGMGR_CLIENT} PROPERTIES VERSION ${VERSION}) - SET_TARGET_PROPERTIES(${PKGMGR_CLIENT} PROPERTIES COMPILE_FLAGS "${libpkgmgr-client_CFLAGS}") --TARGET_LINK_LIBRARIES(${PKGMGR_CLIENT} pkgmgr_installer_client pkgmgr_installer_status_broadcast_server pkgmgr-info ${libpkgs_LDFLAGS}) -+TARGET_LINK_LIBRARIES(${PKGMGR_CLIENT} pkgmgr_installer_client pkgmgr_installer_status_broadcast_server pkgmgr-info ${libpkgs_LDFLAGS} -ldl) - ################################################################################################### + TARGET_LINK_LIBRARIES(${PKGMGR_CLIENT} + pkgmgr_installer_client +- pkgmgr_installer_status_broadcast_server pkgmgr-info ++ pkgmgr_installer_status_broadcast_server pkgmgr-info -ldl + ${CLIENT_DEPS_LDFLAGS}) - ################################################################################################### + CONFIGURE_FILE(pkgmgr.pc.in pkgmgr.pc @ONLY) +-- +1.9.1 + diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc index 914d02beac..3bbd50eda2 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc @@ -15,4 +15,4 @@ DEPENDS_remove_class-native = "dlog-native" RDEPENDS_${PN}-client += "pkgmgr-server" -EXTRA_OECMAKE+="-DCMAKE_AR:PATH=ar" \ No newline at end of file +EXTRA_OECMAKE+="-DCMAKE_AR:PATH=ar" diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr.inc index a7f848e4e6..0b4e6a02b1 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr.inc @@ -76,6 +76,7 @@ DEPENDS += "dlog" DEPENDS += "security-server" DEPENDS += "ail" DEPENDS += "smack" +DEPENDS += "libslp-db-util" DEPENDS += "bundle" DEPENDS += "ecore" DEPENDS += "app-core" @@ -118,10 +119,9 @@ do_compile() { -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ - ${EXTRA_OECMAKE} . \ - -DX11_SUPPORT=Off + ${EXTRA_OECMAKE} . - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 @@ -235,6 +235,7 @@ pkgmgr_files += "${prefix}/bin/pkg_syncdb_user" pkgmgr_files += "${prefix}/bin/pkg_initdb" pkgmgr_files += "${prefix}/bin/pkg_initdb_user" pkgmgr_files += "${prefix}/bin/pkg_getsize" +pkgmgr_files += "${prefix}/bin/pkg_clearcache" pkgmgr_files += "${prefix}/bin/pkginfo" pkgmgr_files += "${prefix}/bin/pkgmgr-install" pkgmgr_files += "%dir ${prefix}/share/packages" diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr_git.bb index cc72752f1d..5fe3882102 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/appfw/slp-pkgmgr;tag=8e066407e4c75d9c79a0c797b884f7fab22ec6c3;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/appfw/slp-pkgmgr;tag=5a9c95d025580510a18f80694f807dfdd569410f;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/status/status.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/status/status.inc index 9a136f9bf3..6156101c43 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/status/status.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/status/status.inc @@ -74,7 +74,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/syspopup/syspopup.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/syspopup/syspopup.inc index 3128cbd33d..c6cf556886 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/syspopup/syspopup.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/syspopup/syspopup.inc @@ -91,7 +91,7 @@ do_compile() { -Dwith_wayland=TRUE \ -DEXTRA_CFLAGS=-fPIC - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton-extraconf.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton-extraconf.inc new file mode 100644 index 0000000000..5261c782c4 --- /dev/null +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton-extraconf.inc @@ -0,0 +1 @@ +RDEPENDS_${PN}_remove_class-native = "glibc-native" diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton.inc new file mode 100644 index 0000000000..99031203b3 --- /dev/null +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton.inc @@ -0,0 +1,175 @@ +DESCRIPTION = "Configuration system library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.3" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by vconf-buxton-dev +PROVIDES += "vconf-buxton-dev" +# the PROVIDES rules is ignore "vconf-dev " +PROVIDES += "vconf-dev" +RPROVIDES_vconf-buxton-dev += "vconf-dev" + + +#PROVIDES by vconf-buxton-keys-dev +PROVIDES += "vconf-buxton-keys-dev" +# the PROVIDES rules is ignore "vconf-keys-dev " +PROVIDES += "vconf-keys-dev" +RPROVIDES_vconf-buxton-keys-dev += "vconf-keys-dev" + + +#PROVIDES by vconf-buxton +# the PROVIDES rules is ignore "vconf " +PROVIDES += "vconf" +RPROVIDES_vconf-buxton += "vconf" + + +RDEPENDS = "" +#RDEPENDS of vconf-buxton-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "vconf-buxton-keys-dev" +RDEPENDS_${PN}-dev += "vconf-buxton" + +#RDEPENDS of vconf-buxton-keys-dev (${PN}-keys-dev) +RDEPENDS_${PN}-keys-dev += "vconf-buxton" +RDEPENDS_${PN}-keys-dev += "vconf-internal-keys-dev" + +#RDEPENDS of vconf-buxton (${PN}) +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "util-linux" + + +DEPENDS = "" +#DEPENDS of vconf-buxton +DEPENDS += "vconf-internal-keys" +DEPENDS += "buxton" +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n vconf-buxton-0.3 + cp ${S}/packaging/vconf-buxton.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} -DLIBNAME:STRING=vconf -DTOOLNAME:STRING=vconftool . + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mv ${D}${systemd_unitdir}/system/vconf-buxton-setup.service ${D}${systemd_unitdir}/system/vconf-setup.service + mkdir -p ${D}${systemd_unitdir}/system/basic.target.wants + ln -sf ../vconf-setup.service ${D}${systemd_unitdir}/system/basic.target.wants/ + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + vconf-buxton-init-from-vconf.sh + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " vconf-buxton-dev " +PACKAGES += " vconf-buxton-keys-dev " +PACKAGES += " vconf-buxton " + +vconf-buxton-dev_files = "" +vconf-buxton-dev_files += "${prefix}/include/vconf/vconf.h" +vconf-buxton-dev_files += "${prefix}/include/vconf/vconf-buxton.h" +vconf-buxton-dev_files += "${prefix}/lib/pkgconfig/vconf.pc" +vconf-buxton-dev_files += "${prefix}/lib/libvconf.so" +MANIFESTFILES_${PN}-dev = "vconf-buxton.manifest" + +vconf-buxton-keys-dev_files = "" +vconf-buxton-keys-dev_files += "${prefix}/include/vconf/vconf-keys.h" +vconf-buxton-keys-dev_files += "${prefix}/include/vconf/vconf-buxton-keys.h" +MANIFESTFILES_${PN}-keys-dev = "vconf-buxton.manifest" + +vconf-buxton_files = "" +vconf-buxton_files += "${prefix}/bin/vconftool" +vconf-buxton_files += "${prefix}/bin/vconf-buxton-init-from-vconf.sh" +vconf-buxton_files += "${prefix}/bin/vconf-buxton-restore-mem-layer.sh" +vconf-buxton_files += "${prefix}/bin/vconf-buxton-backup-mem-layer.sh" +vconf-buxton_files += "${prefix}/lib/libvconf.so.*" +vconf-buxton_files += "${systemd_unitdir}/system/basic.target.wants/vconf-setup.service" +vconf-buxton_files += "${systemd_unitdir}/system/vconf-setup.service" +MANIFESTFILES_${PN} = "vconf-buxton.manifest" + +FILES_${PN}-dev = "${vconf-buxton-dev_files}" +FILES_${PN}-keys-dev = "${vconf-buxton-keys-dev_files}" +FILES_${PN} = "${vconf-buxton_files}" + +PKG_vconf-buxton-dev= "vconf-buxton-dev" +PKG_vconf-buxton-keys-dev= "vconf-buxton-keys-dev" +PKG_vconf-buxton= "vconf-buxton" + +require vconf-buxton-extraconf.inc + diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton_git.bb b/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton_git.bb new file mode 100644 index 0000000000..57a6c8c1f7 --- /dev/null +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton_git.bb @@ -0,0 +1,10 @@ +require vconf-buxton.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/vconf-buxton;tag=837474017fea13e4c2aa5126666947ff5caa578f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-internal-keys/vconf-internal-keys.inc b/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-internal-keys/vconf-internal-keys.inc index 5d49cd128c..a91196e31a 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-internal-keys/vconf-internal-keys.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-application-framework/vconf-internal-keys/vconf-internal-keys.inc @@ -62,7 +62,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-db-util/libslp-db-util.inc b/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-db-util/libslp-db-util.inc index 51841768e2..f2162c0cad 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-db-util/libslp-db-util.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-db-util/libslp-db-util.inc @@ -69,7 +69,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location.inc b/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location.inc index 14cf86b906..c2882be668 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location.inc @@ -55,22 +55,7 @@ do_configure() { } do_compile() { - cd ${S} - LANG=C - export LANG - unset DISPLAY - LD_AS_NEEDED=1; export LD_AS_NEEDED ; - - ./autogen.sh - - autotools_do_configure - oe_runmake ${PARALLEL_MAKE} - - - - } -EXTRA_OECONF += " --enable-dlog --enable-debug" do_install() { export RPM_BUILD_ROOT=${D} diff --git a/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location_git.bb b/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location_git.bb index f931f27fe0..7402acf344 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/location/libslp-location;tag=0d55b8e4b5b01019c6cfca14541563bd3c1b4f7f;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/location/libslp-location;tag=ae7068a66179d52f94d9f7a5964885a54f5057e9;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-memo/libslp-memo.inc b/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-memo/libslp-memo.inc index 699a11ae82..1e598616cf 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-memo/libslp-memo.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-applications/libslp-memo/libslp-memo.inc @@ -72,7 +72,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk.inc b/meta-tizen/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk.inc index 180e2481e5..94caef233d 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk.inc @@ -137,9 +137,7 @@ do_install() { find ${D} -regex ".*\.a$" | xargs rm -f -- mkdir -p ${D}${prefix}/lib/systemd/user - mkdir -p ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants install -m 0644 bt-service/bluetooth-frwk-service.service ${D}${prefix}/lib/systemd/user - ln -s ../bluetooth-frwk-service.service ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants/bluetooth-frwk-service.service mkdir -p ${D}${prefix}/share/icons/default install -m 0644 ${S}/packaging/bt-icon.png ${D}${prefix}/share/icons/default/bt-icon.png @@ -198,7 +196,6 @@ MANIFESTFILES_${PN}-core = "bluetooth-frwk.manifest" bluetooth-frwk-service_files = "" bluetooth-frwk-service_files += "${prefix}/share/dbus-1/system-services/org.projectx.bt.service" bluetooth-frwk-service_files += "${prefix}/bin/bt-service" -bluetooth-frwk-service_files += "${prefix}/lib/systemd/user/tizen-middleware.target.wants/bluetooth-frwk-service.service" bluetooth-frwk-service_files += "${prefix}/lib/systemd/user/bluetooth-frwk-service.service" bluetooth-frwk-service_files += "/opt/var/lib/bluetooth/auto-pair-blacklist" bluetooth-frwk-service_files += "${sysconfdir}/dbus-1/system.d/bluetooth-frwk-service.conf" diff --git a/meta-tizen/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk_git.bb b/meta-tizen/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk_git.bb index 3b8873b462..0a59d590b0 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/connectivity/bluetooth-frwk;tag=32aa49269ade5764942d23a12e5cc99e81738a7b;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/connectivity/bluetooth-frwk;tag=2fb774848a3e3dd4c11e260052786c2572e0bbe2;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-connectivity/bluetooth-tools/bluetooth-tools.inc b/meta-tizen/meta-tizen-common-base/recipes-connectivity/bluetooth-tools/bluetooth-tools.inc index 59e39ba595..8318f04e76 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-connectivity/bluetooth-tools/bluetooth-tools.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-connectivity/bluetooth-tools/bluetooth-tools.inc @@ -70,7 +70,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DCMAKE_INSTALL_PREFIX=${prefix} - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-connectivity/bundle/bundle.inc b/meta-tizen/meta-tizen-common-base/recipes-connectivity/bundle/bundle.inc index 971d70802a..c3d47d78ad 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-connectivity/bundle/bundle.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-connectivity/bundle/bundle.inc @@ -68,7 +68,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider.inc b/meta-tizen/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider.inc index 5da01f6906..5ac99ab69b 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider.inc @@ -110,7 +110,7 @@ do_compile() { -DSUPPORT_LOG_MESSAGE:BOOL=ON \ -DSUPPORT_CHECK_IPC:BOOL=ON - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 @@ -135,9 +135,9 @@ do_install() { find ${D} -regex ".*\.la$" | xargs rm -f -- find ${D} -regex ".*\.a$" | xargs rm -f -- mkdir -p ${D}${prefix}/share/download-provider - mkdir -p ${D}${systemd_unitdir}/system/graphical.target.wants + mkdir -p ${D}${systemd_unitdir}/system/default.target.wants mkdir -p ${D}${systemd_unitdir}/system/sockets.target.wants - ln -s ../download-provider.service ${D}${systemd_unitdir}/system/graphical.target.wants/ + ln -s ../download-provider.service ${D}${systemd_unitdir}/system/default.target.wants/ ln -s ../download-provider.socket ${D}${systemd_unitdir}/system/sockets.target.wants/ #find_lang download-provider @@ -189,7 +189,7 @@ download-provider_files += "${prefix}/share/download-provider/images/*.gif" download-provider_files += "${prefix}/lib/libdownloadagent2.so*" download-provider_files += "${prefix}/lib/libdownload-provider-interface.so*" download-provider_files += "${systemd_unitdir}/system/download-provider.service" -download-provider_files += "${systemd_unitdir}/system/graphical.target.wants/download-provider.service" +download-provider_files += "${systemd_unitdir}/system/default.target.wants/download-provider.service" download-provider_files += "${systemd_unitdir}/system/download-provider.socket" download-provider_files += "${systemd_unitdir}/system/sockets.target.wants/download-provider.socket" download-provider_files += "${prefix}/share/download-provider/sql/download-provider-schema.sql" diff --git a/meta-tizen/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider_git.bb b/meta-tizen/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider_git.bb index 1c0836a9e2..c81a93d17c 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/framework/web/download-provider;tag=1fb4a3614bd271355b6babf42076d3bda2da122c;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/framework/web/download-provider;tag=cfad1aa260356701996248ded3e9c90541ddcb11;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-connectivity/libnet-client/libnet-client.inc b/meta-tizen/meta-tizen-common-base/recipes-connectivity/libnet-client/libnet-client.inc index 321eb10b71..d05626aa50 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-connectivity/libnet-client/libnet-client.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-connectivity/libnet-client/libnet-client.inc @@ -62,7 +62,7 @@ do_compile() { mkdir -p m4 autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct.inc b/meta-tizen/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct.inc index ace77c8811..b6ef5af2b3 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Wifi Direct Library" HOMEPAGE = "http://nohomepage.org" SECTION = "Network & Connectivity/Wireless" LICENSE = "Apache-2.0" -PV = "1.0.0" +PV = "1.0.9" SRC_URI = "" diff --git a/meta-tizen/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct_git.bb b/meta-tizen/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct_git.bb index 59f530ab7e..8ed11ea6dc 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/connectivity/libwifi-direct;tag=0371caae5f0c66a74501c1fd44ad398cee16b31d;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/connectivity/libwifi-direct;tag=0ad8520db6635de545423d462744d14a1f11d329;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-connectivity/net-config/net-config.inc b/meta-tizen/meta-tizen-common-base/recipes-connectivity/net-config/net-config.inc index 5cd7170d05..884bb0733a 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-connectivity/net-config/net-config.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-connectivity/net-config/net-config.inc @@ -72,7 +72,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DCMAKE_INSTALL_PREFIX=${prefix} - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-connectivity/opencore-amr/opencore-amr.inc b/meta-tizen/meta-tizen-common-base/recipes-connectivity/opencore-amr/opencore-amr.inc index 0d37067ce2..eaf4e46dd7 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-connectivity/opencore-amr/opencore-amr.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-connectivity/opencore-amr/opencore-amr.inc @@ -52,7 +52,7 @@ do_compile() { ./autogen.sh autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/bullet/bullet.inc b/meta-tizen/meta-tizen-common-base/recipes-core/bullet/bullet.inc index d811219260..c55f22ce6a 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/bullet/bullet.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/bullet/bullet.inc @@ -70,7 +70,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON -DBUILD_EXTRAS=OFF -DBUILD_DEMOS=OFF -DBUILD_CPU_DEMOS=OFF -DUSE_GRAPHICAL_BENCHMARK=OFF -DCMAKE_INSTALL_PREFIX=/usr -DUSE_GLUT=OFF - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/dbus-python/dbus-python.inc b/meta-tizen/meta-tizen-common-base/recipes-core/dbus-python/dbus-python.inc index 71b3db1762..a82c8cf536 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/dbus-python/dbus-python.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/dbus-python/dbus-python.inc @@ -62,7 +62,7 @@ do_compile() { export CFLAGS="$CFLAGS -fstack-protector -fno-strict-aliasing -fPIC" autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils.inc b/meta-tizen/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils.inc index b6e2f59055..4812631194 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils.inc @@ -48,7 +48,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/dlog/dlog.inc b/meta-tizen/meta-tizen-common-base/recipes-core/dlog/dlog.inc index 737862d483..a392fd5b6c 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/dlog/dlog.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/dlog/dlog.inc @@ -66,7 +66,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/dukgenerator/dukgenerator.inc b/meta-tizen/meta-tizen-common-base/recipes-core/dukgenerator/dukgenerator.inc index 0627f40b3b..e5dd5711c7 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/dukgenerator/dukgenerator.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/dukgenerator/dukgenerator.inc @@ -68,7 +68,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DLIB_INSTALL_DIR:PATH=${prefix}/lib -DFULLVER=1.0.0 -DMAJORVER=${MAJORVER} -DDESCRIPTION="Device Unique Key Library" -DBUILD_SHARED_LIBS:BOOL=OFF - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/iniparser/iniparser.inc b/meta-tizen/meta-tizen-common-base/recipes-core/iniparser/iniparser.inc index d2ddaf3b64..8cd58d4b9c 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/iniparser/iniparser.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/iniparser/iniparser.inc @@ -49,7 +49,7 @@ do_compile() { unset DISPLAY LD_AS_NEEDED=1; export LD_AS_NEEDED ; - make prefix=${prefix} ${PARALLEL_MAKE} CFLAGS="$CFLAGS -fPIC" + make prefix=${prefix} -j16 CFLAGS="$CFLAGS -fPIC" diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/libcryptsvc/libcryptsvc.inc b/meta-tizen/meta-tizen-common-base/recipes-core/libcryptsvc/libcryptsvc.inc index c3ded7cd18..fab7ac0365 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/libcryptsvc/libcryptsvc.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/libcryptsvc/libcryptsvc.inc @@ -68,7 +68,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DARCH=x86 -DFULLVER=0.0.1 -DMAJORVER=${MAJORVER} -DDESCRIPTION="Crypto Service Library (Development)" - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/libdevice-node/libdevice-node.inc b/meta-tizen/meta-tizen-common-base/recipes-core/libdevice-node/libdevice-node.inc index e77c203ad0..57fc43b4ae 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/libdevice-node/libdevice-node.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/libdevice-node/libdevice-node.inc @@ -66,7 +66,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/libdevice-node/libdevice-node_git.bb b/meta-tizen/meta-tizen-common-base/recipes-core/libdevice-node/libdevice-node_git.bb index 73efa5ce3b..ce09a54a70 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/libdevice-node/libdevice-node_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-core/libdevice-node/libdevice-node_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/system/libdevice-node;tag=d65efaf311abaf22ffd0d9bc22c28182e003304a;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/system/libdevice-node;tag=04fd20f5a06355fc0afe110337ccb9dc7445ad1d;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/libiri/libiri.inc b/meta-tizen/meta-tizen-common-base/recipes-core/libiri/libiri.inc index 3bbf0507d1..ea66b2b7c0 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/libiri/libiri.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/libiri/libiri.inc @@ -58,7 +58,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/libsf-common/libsf-common.inc b/meta-tizen/meta-tizen-common-base/recipes-core/libsf-common/libsf-common.inc index 04896de962..1e76529856 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/libsf-common/libsf-common.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/libsf-common/libsf-common.inc @@ -68,7 +68,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/libwbxml2/libwbxml2.inc b/meta-tizen/meta-tizen-common-base/recipes-core/libwbxml2/libwbxml2.inc index 7d4036e7c9..04a8fb6ceb 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/libwbxml2/libwbxml2.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/libwbxml2/libwbxml2.inc @@ -88,7 +88,7 @@ do_compile() { -DCMAKE_BUILD_TYPE=None \ -DENABLE_INSTALL_DOC:BOOL=OFF \ ${WORKDIR}/libwbxml-0.11.2 - make ${PARALLEL_MAKE} VERBOSE=1 + make -j16 VERBOSE=1 cd ${CURDIR} diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/libxml2/libxml2.inc b/meta-tizen/meta-tizen-common-base/recipes-core/libxml2/libxml2.inc index 4bb4ff899b..380cb1d028 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/libxml2/libxml2.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/libxml2/libxml2.inc @@ -67,7 +67,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} BASE_DIR="${prefix}/share/doc/packages" DOC_MODULE="libxml2" + make -j16 BASE_DIR="${prefix}/share/doc/packages" DOC_MODULE="libxml2" exit 0 # qemu-arm can't keep up atm, disabling check for arm diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/libxml2/python-libxml2.inc b/meta-tizen/meta-tizen-common-base/recipes-core/libxml2/python-libxml2.inc index 8991a9c7b9..cdf8ae84d1 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/libxml2/python-libxml2.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/libxml2/python-libxml2.inc @@ -58,7 +58,7 @@ do_compile() { # use libxml2 as built by libxml2 source package mkdir .libs cp -v ${prefix}/lib/libxml2.la . - make -C python ${PARALLEL_MAKE} + make -C python -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/oma-ds-agent/oma-ds-agent.inc b/meta-tizen/meta-tizen-common-base/recipes-core/oma-ds-agent/oma-ds-agent.inc index 04af4c2b5c..1a44e9237b 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/oma-ds-agent/oma-ds-agent.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/oma-ds-agent/oma-ds-agent.inc @@ -78,7 +78,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DCMAKE_INSTALL_PREFIX=${prefix} -DTZ_SYS_DB=${prefix}/dbspace - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/sensor/sensor.inc b/meta-tizen/meta-tizen-common-base/recipes-core/sensor/sensor.inc index b06799c560..dcb3aaf6c3 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/sensor/sensor.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/sensor/sensor.inc @@ -70,7 +70,7 @@ do_compile() { ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/sync-agent/sync-agent.inc b/meta-tizen/meta-tizen-common-base/recipes-core/sync-agent/sync-agent.inc index 00a08f7fdc..e6ed14b65c 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/sync-agent/sync-agent.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/sync-agent/sync-agent.inc @@ -104,7 +104,7 @@ do_compile() { ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/systemd/systemd-extraconf.inc b/meta-tizen/meta-tizen-common-base/recipes-core/systemd/systemd-extraconf.inc index c4819f93d7..e7eab4fde7 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/systemd/systemd-extraconf.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/systemd/systemd-extraconf.inc @@ -2,6 +2,10 @@ SRC_URI += "file://systemd-user" inherit useradd +RDEPENDS_${PN}_remove_class-native = "gawk-native glibc-native" +DEPENDS_remove_class-native = "usbutils-native" +DEPENDS_remove_class-native = "pciutils-native" + USERADD_PACKAGES = "${PN}" GROUPADD_PARAM_${PN} += "--system -g 11 cdrom;" GROUPADD_PARAM_${PN} += "--system -g 33 tape;" diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/systemd/systemd.inc b/meta-tizen/meta-tizen-common-base/recipes-core/systemd/systemd.inc index 5ddd22d549..0ca340759d 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/systemd/systemd.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/systemd/systemd.inc @@ -137,7 +137,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/systemd/systemd_git.bb b/meta-tizen/meta-tizen-common-base/recipes-core/systemd/systemd_git.bb index 28694ee97e..3afba9cfe1 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/systemd/systemd_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-core/systemd/systemd_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/systemd;tag=539e73cf03d12b5d50f7fd3f2a70aea63d9e945f;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/systemd;tag=95e1a70c5104b47874519b24e12022e878f2572a;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config.inc b/meta-tizen/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config.inc index 79d4930220..f1ac0024d4 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config.inc @@ -32,6 +32,9 @@ RDEPENDS = "" #RDEPENDS of tizen-platform-config-tools (${PN}-tools) RDEPENDS_${PN}-tools += "libtzplatform-config" +#RDEPENDS of tizen-platform-config (${PN}) +RDEPENDS_${PN} += "smack" + #RDEPENDS of libtzplatform-config-dev (libtzplatform-config-dev) RDEPENDS_libtzplatform-config-dev += "libtzplatform-config" @@ -67,7 +70,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 exit 0 oe_runmake check @@ -105,6 +108,45 @@ pkg_postinst_libtzplatform-config() { [ "x$D" == "x" ] && ldconfig } +pkg_postinst_${PN}() { + #!/bin/sh -e + + ############################################## + # BEGIN - creation of the /etc/skel/content + ############################################## + saveHOME="$HOME" + HOME="$D${sysconfdir}/skel" + . "$D${sysconfdir}/tizen-platform.conf" + cat << ENDOFCAT | + $TZ_USER_HOME User::Home true + $TZ_USER_CONTENT User::Home true + $TZ_USER_CAMERA User::App::Shared true + $TZ_USER_DOCUMENTS User::App::Shared true + $TZ_USER_DOWNLOADS User::App::Shared true + $TZ_USER_GAMES User::App::Shared true + $TZ_USER_IMAGES User::App::Shared true + $TZ_USER_OTHERS User::App::Shared true + $TZ_USER_SOUNDS User::App::Shared true + $TZ_USER_VIDEOS User::App::Shared true + $TZ_USER_SHARE User::App::Shared true + $TZ_USER_APP User false + $TZ_USER_DB User false + $TZ_USER_DESKTOP User false + $TZ_USER_ICONS User::Home true + $TZ_USER_PACKAGES User false + ENDOFCAT + LANG= sort | while read skelname context transmute; do + mkdir -p "$skelname" + chsmack -a "$context" "$skelname" + [ "$transmute" = true ] && chsmack -t "$skelname" + done + HOME="$saveHOME" + ############################################## + # END - creation of the /etc/skel/content + ############################################## + +} + pkg_postrm_libtzplatform-config() { #!/bin/sh -e @@ -118,7 +160,6 @@ PACKAGES += " tizen-platform-config " PACKAGES += " libtzplatform-config " libtzplatform-config-dev_files = "" -libtzplatform-config-dev_files += "LGPL-2.0 LGPL_2.0" libtzplatform-config-dev_files += "${prefix}/lib/*.so" libtzplatform-config-dev_files += "${prefix}/lib/pkgconfig/*.pc" libtzplatform-config-dev_files += "${prefix}/include/*.h" @@ -133,7 +174,6 @@ tizen-platform-config-tools_files += "${prefix}/bin/*" MANIFESTFILES_${PN}-tools = "tizen-platform-config.manifest" tizen-platform-config_files = "" -tizen-platform-config_files += "LGPL-2.0 MIT" tizen-platform-config_files += "${sysconfdir}/tizen-platform.conf" CONFFILES_${PN} = "" CONFFILES_${PN} += "${sysconfdir}/tizen-platform.conf" diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config_git.bb b/meta-tizen/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config_git.bb index c21dee1a41..0580dd7711 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/appfw/tizen-platform-config;tag=4bf974331864fd6f5c29e2c2f4c813c4c1f0159a;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/appfw/tizen-platform-config;tag=5652a12582a0fa73e780f0635da6ebf8c516093f;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/tizen-platform-wrapper/tizen-platform-wrapper.inc b/meta-tizen/meta-tizen-common-base/recipes-core/tizen-platform-wrapper/tizen-platform-wrapper.inc index 7825119b77..92457f4ca9 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/tizen-platform-wrapper/tizen-platform-wrapper.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/tizen-platform-wrapper/tizen-platform-wrapper.inc @@ -48,7 +48,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-core/xdgmime/xdgmime.inc b/meta-tizen/meta-tizen-common-base/recipes-core/xdgmime/xdgmime.inc index 1d2b4f8983..595cd82333 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-core/xdgmime/xdgmime.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-core/xdgmime/xdgmime.inc @@ -64,7 +64,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-devtools/gobject-introspection/gobject-introspection.inc b/meta-tizen/meta-tizen-common-base/recipes-devtools/gobject-introspection/gobject-introspection.inc index 548861932b..02303eab94 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-devtools/gobject-introspection/gobject-introspection.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-devtools/gobject-introspection/gobject-introspection.inc @@ -89,7 +89,7 @@ do_compile() { #autoreconf -fi autotools_do_configure - oe_runmake ${PARALLEL_MAKE} V=1 + oe_runmake -j16 V=1 @@ -145,7 +145,6 @@ PACKAGES += " libgirepository " PACKAGES += " gobject-introspection-docs " gobject-introspection_files = "" -gobject-introspection_files += "LGPL-2.1+ COPYING COPYING.GPL" gobject-introspection_files += "${prefix}/bin/g-ir-annotation-tool" gobject-introspection_files += "${prefix}/bin/g-ir-compiler" gobject-introspection_files += "${prefix}/bin/g-ir-dep-tool" diff --git a/meta-tizen/meta-tizen-common-base/recipes-devtools/lua/lua.inc b/meta-tizen/meta-tizen-common-base/recipes-devtools/lua/lua.inc index 0191986d3c..c832bef1cf 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-devtools/lua/lua.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-devtools/lua/lua.inc @@ -61,8 +61,9 @@ do_compile() { unset DISPLAY LD_AS_NEEDED=1; export LD_AS_NEEDED ; + export LDFLAGS+=" -Wl,-E -ldl -lreadline -lhistory -lncurses" sed -i 's:LUA_ROOT2 "LIBDIR/lua/5.1/":LUA_ROOT2 \"lib/lua/5.1/":' src/luaconf.h - make ${PARALLEL_MAKE} -C src CC="${CC}" MYCFLAGS="$CFLAGS -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=5.1 all + make -j16 -C src CC="${CC}" MYCFLAGS="$CFLAGS -fPIC -DLUA_USE_LINUX" MYLIBS="$LDFLAGS" V=5.1 all diff --git a/meta-tizen/meta-tizen-common-base/recipes-devtools/lua/lua_git.bb b/meta-tizen/meta-tizen-common-base/recipes-devtools/lua/lua_git.bb index 6e4ed95488..417279ad50 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-devtools/lua/lua_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-devtools/lua/lua_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/lua;tag=ccbaf72a5d0d0f8ab6a1bf64e851a00026f28fd8;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/lua;tag=25c38c5d6cf919f6e0c37413955c20dbea24d37f;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-devtools/meta-common/meta-common_git.bb b/meta-tizen/meta-tizen-common-base/recipes-devtools/meta-common/meta-common_git.bb index e333e9dd2a..00bc0e5930 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-devtools/meta-common/meta-common_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-devtools/meta-common/meta-common_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/common/meta;tag=5725be631a0344f0d28ddc9c954c9ead948a1845;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/common/meta;tag=685707ac395459bc6504000bd6eb5c8f49efb83f;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-devtools/meta-generic/meta-generic_git.bb b/meta-tizen/meta-tizen-common-base/recipes-devtools/meta-generic/meta-generic_git.bb index 9f06fad139..5c621b3a35 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-devtools/meta-generic/meta-generic_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-devtools/meta-generic/meta-generic_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/meta-generic;tag=48ff4579ca01e9e70079edd7c531c85d67c0246c;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/meta-generic;tag=0b9bda35bba1bddb591f6acf1277997d2b917971;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-devtools/rpm/rpm.inc b/meta-tizen/meta-tizen-common-base/recipes-devtools/rpm/rpm.inc index 520df41cf8..25e4c8f0cd 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-devtools/rpm/rpm.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-devtools/rpm/rpm.inc @@ -149,7 +149,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-devtools/tdb/tdb.inc b/meta-tizen/meta-tizen-common-base/recipes-devtools/tdb/tdb.inc index fe5843a99f..21040f4ac2 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-devtools/tdb/tdb.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-devtools/tdb/tdb.inc @@ -1,8 +1,8 @@ DESCRIPTION = "Samba Trivial Database" HOMEPAGE = "http://tdb.samba.org/" SECTION = "System/Libraries" -LICENSE = "GPLv3.0+" -PV = "1.2.10" +LICENSE = "GPL-3.0+" +PV = "1.3.1" SRC_URI = "" @@ -52,7 +52,7 @@ inherit pkgconfig do_prep() { cd ${S} chmod -Rf a+rX,u+w,g-w,o-w ${S} - #setup -n tdb-1.2.10 -q + #setup -n tdb-1.3.1 -q cp ${S}/packaging/tdb.manifest . @@ -75,12 +75,13 @@ do_compile() { autotools_do_configure #--disable-python - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 + } -EXTRA_OECONF += " " +EXTRA_OECONF += "" do_install() { export RPM_BUILD_ROOT=${D} diff --git a/meta-tizen/meta-tizen-common-base/recipes-devtools/tdb/tdb_git.bb b/meta-tizen/meta-tizen-common-base/recipes-devtools/tdb/tdb_git.bb index e1c6cfac46..708a5a64b4 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-devtools/tdb/tdb_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-devtools/tdb/tdb_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/tdb;tag=b256247b2afa3bfe52664f58d95974eea9d236d7;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/tdb;tag=915e4e6232f6c4ba962656dc632615e2d4909480;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/files/Fix-time-stamp.patch b/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/files/Fix-time-stamp.patch index a354b7ccaa..a825346ce1 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/files/Fix-time-stamp.patch +++ b/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/files/Fix-time-stamp.patch @@ -1,34 +1,48 @@ +From ada9024b645d9ace606a43b11c28530bc8055806 Mon Sep 17 00:00:00 2001 +From: Xavier Roche +Date: Thu, 12 Feb 2015 09:47:53 +0100 +Subject: [PATCH] Fix time stamp + +Signed-off-by: Xavier Roche +--- + ccode/Makefile.am | 2 +- + codegen/Makefile.am | 2 +- + compiler/Makefile.am | 2 +- + gee/Makefile.am | 2 +- + vala/Makefile.am | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + diff --git a/ccode/Makefile.am b/ccode/Makefile.am -index eb25f9d..c687282 100644 +index fd3186a..f999b8c 100644 --- a/ccode/Makefile.am +++ b/ccode/Makefile.am -@@ -78,7 +78,7 @@ ccodeinclude_HEADERS = \ +@@ -80,7 +80,7 @@ ccodeinclude_HEADERS = \ valaccode.h \ $(NULL) -ccode.vapi ccode.vala.stamp: $(libvalaccode_la_VALASOURCES) +ccode.vapi : $(libvalaccode_la_VALASOURCES) - $(VALA_V)$(VALAC) $(COVERAGE_VALAFLAGS) $(VALAFLAGS) -C --vapidir $(srcdir)/../vapi --pkg gobject-2.0 --vapidir $(srcdir)/../gee --pkg gee --pkg config -H valaccode.h --library ccode $^ - touch $@ - + $(VALA_V)$(VALAC) \ + $(COVERAGE_VALAFLAGS) \ + $(VALAFLAGS) \ diff --git a/codegen/Makefile.am b/codegen/Makefile.am -index 33e0c1a..904408f 100644 +index a20e24f..2151c85 100644 --- a/codegen/Makefile.am +++ b/codegen/Makefile.am -@@ -56,7 +56,7 @@ codegeninclude_HEADERS = \ +@@ -58,7 +58,7 @@ codegeninclude_HEADERS = \ valacodegen.h \ $(NULL) -codegen.vapi codegen.vala.stamp: $(libvala_la_VALASOURCES) +codegen.vapi : $(libvala_la_VALASOURCES) - $(VALA_V)$(VALAC) $(COVERAGE_VALAFLAGS) $(VALAFLAGS) -C --vapidir $(srcdir)/../vapi --pkg gobject-2.0 --vapidir $(srcdir)/../gee --pkg gee --vapidir $(srcdir)/../ccode --pkg ccode --vapidir $(srcdir)/../vala --pkg vala -H valacodegen.h --library codegen $^ - @touch $@ - + $(VALA_V)$(VALAC) \ + $(COVERAGE_VALAFLAGS) \ + $(VALAFLAGS) \ diff --git a/compiler/Makefile.am b/compiler/Makefile.am -index d6e7f81..d826240 100644 +index 1a513fa..13b62ae 100644 --- a/compiler/Makefile.am +++ b/compiler/Makefile.am -@@ -10,7 +10,7 @@ AM_CPPFLAGS = \ +@@ -12,7 +12,7 @@ AM_CPPFLAGS = \ -DPACKAGE_DATADIR=\"$(pkgdatadir)\" \ $(NULL) @@ -38,28 +52,31 @@ index d6e7f81..d826240 100644 bin_PROGRAMS = \ valac \ diff --git a/gee/Makefile.am b/gee/Makefile.am -index f9ac2fc..b959d98 100644 +index db4e75b..a9858b8 100644 --- a/gee/Makefile.am +++ b/gee/Makefile.am -@@ -35,7 +35,7 @@ geeinclude_HEADERS = \ +@@ -37,7 +37,7 @@ geeinclude_HEADERS = \ valagee.h \ $(NULL) -gee.vapi gee.vala.stamp: $(libgee_la_VALASOURCES) +gee.vapi : $(libgee_la_VALASOURCES) - $(VALA_V)$(VALAC) $(COVERAGE_VALAFLAGS) $(VALAFLAGS) -C --vapidir $(srcdir)/../vapi --pkg gobject-2.0 -H valagee.h --library gee $^ - @touch $@ - + $(VALA_V)$(VALAC) \ + $(COVERAGE_VALAFLAGS) \ + $(VALAFLAGS) \ diff --git a/vala/Makefile.am b/vala/Makefile.am -index ee8d410..c1fb67f 100644 +index 54d01bd..bf97d80 100644 --- a/vala/Makefile.am +++ b/vala/Makefile.am -@@ -172,7 +172,7 @@ valainclude_HEADERS = \ +@@ -174,7 +174,7 @@ valainclude_HEADERS = \ vala.h \ $(NULL) -vala.vapi vala.vala.stamp: $(libvalacore_la_VALASOURCES) +vala.vapi : $(libvalacore_la_VALASOURCES) - $(VALA_V)$(VALAC) $(COVERAGE_VALAFLAGS) $(VALAFLAGS) -C --vapidir $(srcdir)/../vapi --pkg gobject-2.0 --vapidir $(srcdir)/../gee --pkg gee --pkg config -H vala.h --library vala $^ - @touch $@ - + $(VALA_V)$(VALAC) \ + $(COVERAGE_VALAFLAGS) \ + $(VALAFLAGS) \ +-- +1.9.1 + diff --git a/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/vala-extraconf.inc b/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/vala-extraconf.inc index 705c88f828..aa0ad3394e 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/vala-extraconf.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/vala-extraconf.inc @@ -22,5 +22,5 @@ vala_files += "${mandir}/man1/valac.1*" vala_files += "${mandir}/man1/vala-gen-introspect.1*" vala_files += "${mandir}/man1/vapigen.1*" -FILES_${PN}-dbg += "${prefix}/lib/vala-0.24/.debug" +FILES_${PN}-dbg += "${prefix}/lib/vala-0.26/.debug" vala_files += "${prefix}/share/pkgconfig/vapigen.pc" diff --git a/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/vala.inc b/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/vala.inc index 7a008a9892..6d06e1ddc1 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/vala.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/vala.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Programming language for GNOME" HOMEPAGE = "http://live.gnome.org/Vala" SECTION = "Platform Development/Utilities" LICENSE = "LGPL-2.0" -PV = "0.24.0" +PV = "0.26.1" SRC_URI = "" @@ -66,7 +66,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j1 @@ -106,16 +106,16 @@ pkg_postinst_${PN}() { #!/bin/sh -e update-alternatives \ - --install $D${prefix}/bin/vala vala $D${prefix}/bin/vala-0.24 \ - 24 \ - --slave $D${prefix}/bin/valac valac $D${prefix}/bin/valac-0.24 \ - --slave $D${prefix}/bin/vala-gen-introspect vala-gen-introspect $D${prefix}/bin/vala-gen-introspect-0.24 \ - --slave $D${prefix}/bin/vapicheck vapicheck $D${prefix}/bin/vapicheck-0.24 \ - --slave $D${prefix}/bin/vapigen vapigen $D${prefix}/bin/vapigen-0.24 \ - --slave ${mandir}/man1/valac.1.gz valac.1.gz ${mandir}/man1/valac-0.24.1.gz \ - --slave ${mandir}/man1/vala-gen-introspect.1.gz vala-gen-introspect.1.gz ${mandir}/man1/vala-gen-introspect-0.24.1.gz \ - --slave ${mandir}/man1/vapigen.1.gz vapigen.1.gz ${mandir}/man1/vapigen-0.24.1.gz \ - --slave $D${prefix}/share/pkgconfig/vapigen.pc vapigen.pc $D${prefix}/share/pkgconfig/vapigen-0.24.pc + --install $D${prefix}/bin/vala vala $D${prefix}/bin/vala-0.26 \ + 26 \ + --slave $D${prefix}/bin/valac valac $D${prefix}/bin/valac-0.26 \ + --slave $D${prefix}/bin/vala-gen-introspect vala-gen-introspect $D${prefix}/bin/vala-gen-introspect-0.26 \ + --slave $D${prefix}/bin/vapicheck vapicheck $D${prefix}/bin/vapicheck-0.26 \ + --slave $D${prefix}/bin/vapigen vapigen $D${prefix}/bin/vapigen-0.26 \ + --slave ${mandir}/man1/valac.1.gz valac.1.gz ${mandir}/man1/valac-0.26.1.gz \ + --slave ${mandir}/man1/vala-gen-introspect.1.gz vala-gen-introspect.1.gz ${mandir}/man1/vala-gen-introspect-0.26.1.gz \ + --slave ${mandir}/man1/vapigen.1.gz vapigen.1.gz ${mandir}/man1/vapigen-0.26.1.gz \ + --slave $D${prefix}/share/pkgconfig/vapigen.pc vapigen.pc $D${prefix}/share/pkgconfig/vapigen-0.26.pc } @@ -123,8 +123,8 @@ pkg_postrm_${PN}() { #!/bin/sh -e # Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed - if [ ! -f $D${prefix}/bin/vala-0.24 ]; then - update-alternatives --remove vala $D${prefix}/bin/vala-0.24 + if [ ! -f $D${prefix}/bin/vala-0.26 ]; then + update-alternatives --remove vala $D${prefix}/bin/vala-0.26 fi } @@ -141,34 +141,34 @@ PACKAGES += " vala " PACKAGES += " libvala-dev " libvala_files = "" -libvala_files += "${prefix}/lib/libvala-0.24.so.*" +libvala_files += "${prefix}/lib/libvala-0.26.so.*" MANIFESTFILES_lib${PN} = "vala.manifest" vala_files = "" -vala_files += "${prefix}/bin/vala-0.24" -vala_files += "${prefix}/bin/valac-0.24" -vala_files += "${prefix}/bin/vala-gen-introspect-0.24" -vala_files += "${prefix}/bin/vapicheck-0.24" -vala_files += "${prefix}/bin/vapigen-0.24" -vala_files += "${mandir}/man1/valac-0.24.1*" -vala_files += "${mandir}/man1/vala-gen-introspect-0.24.1*" -vala_files += "${mandir}/man1/vapigen-0.24.1*" +vala_files += "${prefix}/bin/vala-0.26" +vala_files += "${prefix}/bin/valac-0.26" +vala_files += "${prefix}/bin/vala-gen-introspect-0.26" +vala_files += "${prefix}/bin/vapicheck-0.26" +vala_files += "${prefix}/bin/vapigen-0.26" +vala_files += "${mandir}/man1/valac-0.26.1*" +vala_files += "${mandir}/man1/vala-gen-introspect-0.26.1*" +vala_files += "${mandir}/man1/vapigen-0.26.1*" vala_files += "${prefix}/share/aclocal/vala.m4" vala_files += "${prefix}/share/aclocal/vapigen.m4" -vala_files += "${prefix}/share/pkgconfig/vapigen-0.24.pc" +vala_files += "${prefix}/share/pkgconfig/vapigen-0.26.pc" vala_files += "${prefix}/share/vala" vala_files += "${prefix}/share/vala/Makefile.vapigen" -vala_files += "${prefix}/share/vala-0.24/" -vala_files += "${prefix}/lib/vala-0.24/" +vala_files += "${prefix}/share/vala-0.26/" +vala_files += "${prefix}/lib/vala-0.26/" MANIFESTFILES_${PN} = "vala.manifest" DIRFILES_${PN} = "" DIRFILES_${PN} += "${prefix}/share/vala" libvala-dev_files = "" libvala-dev_files += "AUTHORS ChangeLog NEWS README" -libvala-dev_files += "${prefix}/include/vala-0.24/" -libvala-dev_files += "${prefix}/lib/libvala-0.24.so" -libvala-dev_files += "${prefix}/lib/pkgconfig/libvala-0.24.pc" +libvala-dev_files += "${prefix}/include/vala-0.26/" +libvala-dev_files += "${prefix}/lib/libvala-0.26.so" +libvala-dev_files += "${prefix}/lib/pkgconfig/libvala-0.26.pc" MANIFESTFILES_lib${PN}-dev = "vala.manifest" FILES_lib${PN} = "${libvala_files}" diff --git a/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/vala_git.bb b/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/vala_git.bb index c55058731b..2c0ef96730 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/vala_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-devtools/vala/vala_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/vala;tag=840fd0f666c91fba0169b8176cb88a80b689ad8a;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/vala;tag=f075306bb9eccbb59c731f441b2b465d9476f80c;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-extended/festival/festival.inc b/meta-tizen/meta-tizen-common-base/recipes-extended/festival/festival.inc index a5e3af3431..1030b9ea15 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-extended/festival/festival.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-extended/festival/festival.inc @@ -186,7 +186,7 @@ do_install() { cp lib/*.ngrambin ${D}${prefix}/share/festival/ cp lib/*.gram ${D}${prefix}/share/festival/ cp lib/*.el ${D}${prefix}/share/festival/ - install -D lib/etc/*Linux/audsp ${D}${prefix}/lib/festival/audsp + install -D lib/etc/unknown_Linux/audsp ${D}${prefix}/lib/festival/audsp # install libs install -D src/lib/libFestival.so ${D}${prefix}/lib/libFestival.so # install includes @@ -252,7 +252,6 @@ PACKAGES += " festival " PACKAGES += " festival-dev " festival_files = "" -festival_files += "MIT COPYING" festival_files += "README INSTALL examples/*.text examples/ex1.* examples/*.scm examples/*.dtd" festival_files += "${sysconfdir}/festival.scm" festival_files += "${prefix}/bin/festival" diff --git a/meta-tizen/meta-tizen-common-base/recipes-extended/pam/pam-extraconf.inc b/meta-tizen/meta-tizen-common-base/recipes-extended/pam/pam-extraconf.inc index a069b210ae..471c3649d2 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-extended/pam/pam-extraconf.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-extended/pam/pam-extraconf.inc @@ -21,6 +21,10 @@ RPROVIDES_${PN}-modules-extra += "pam-plugin-rootok" RPROVIDES_${PN}-modules-extra += "pam-plugin-keyinit" RPROVIDES_${PN}-modules-extra += "pam-plugin-loginuid" +RDEPENDS_${PN}_remove_class-native = "glibc-native" +DEPENDS_remove_class-native = "net-tools-native" +DEPENDS_class-target += "glib-2.0" + inherit pkgconfig EXTRA_OECONF += " --libdir=${base_libdir} \ diff --git a/meta-tizen/meta-tizen-common-base/recipes-extended/sphinxbase/sphinxbase.inc b/meta-tizen/meta-tizen-common-base/recipes-extended/sphinxbase/sphinxbase.inc index ac7923467b..8daf8568fb 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-extended/sphinxbase/sphinxbase.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-extended/sphinxbase/sphinxbase.inc @@ -67,7 +67,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-graphics/drm-client/drm-client.inc b/meta-tizen/meta-tizen-common-base/recipes-graphics/drm-client/drm-client.inc index fc48e9e549..bbec07fed4 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-graphics/drm-client/drm-client.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-graphics/drm-client/drm-client.inc @@ -69,7 +69,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-graphics/libdrm/libdrm.inc b/meta-tizen/meta-tizen-common-base/recipes-graphics/libdrm/libdrm.inc index 4b4a0c171a..0b791baedb 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-graphics/libdrm/libdrm.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-graphics/libdrm/libdrm.inc @@ -73,8 +73,8 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} - oe_runmake ${PARALLEL_MAKE} -C tests dristat drmstat + oe_runmake -j16 + oe_runmake -j16 -C tests dristat drmstat diff --git a/meta-tizen/meta-tizen-common-base/recipes-graphics/weekeyboard/weekeyboard.inc b/meta-tizen/meta-tizen-common-base/recipes-graphics/weekeyboard/weekeyboard.inc index 11685200c2..8ad9195cb6 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-graphics/weekeyboard/weekeyboard.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-graphics/weekeyboard/weekeyboard.inc @@ -60,7 +60,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-graphics/weston/weston.inc b/meta-tizen/meta-tizen-common-base/recipes-graphics/weston/weston.inc index 9d1387eba4..4171d46ecf 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-graphics/weston/weston.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-graphics/weston/weston.inc @@ -30,8 +30,8 @@ PROVIDES += "weston-clients" RDEPENDS = "" #RDEPENDS of weston (${PN}) -RDEPENDS_${PN} += "weston-startup" RDEPENDS_${PN} += "shadow" +RDEPENDS_${PN} += "tlm" DEPENDS = "" @@ -91,7 +91,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 @@ -140,17 +140,6 @@ do_install() { install -m 755 weston-transformed ${D}${prefix}/bin install -m 755 weston-fullscreen ${D}${prefix}/bin - install -d ${D}${prefix}/lib/systemd/user - install -m 644 ${S}/packaging/weston.target ${D}${prefix}/lib/systemd/user/weston.target - # The weston.service unit file must be provided by the weston-startup - # virtual package, i.e. "Provide: weston-startup". The weston-startup - # virtual package requirement is intended to force Tizen profile - # maintainers to add the necessary start-up script or systemd unit - # file to start weston. Otherwise it becomes possible to install - # weston without an automated means to start weston at boot, which may - # lead to confusion. This approach allows startup related files to be - # maintained outside of this weston package. - } @@ -182,7 +171,6 @@ weston_files += "${prefix}/lib/weston/headless-backend.so" weston_files += "${prefix}/lib/weston/wayland-backend.so" weston_files += "${prefix}/lib/weston/gl-renderer.so" weston_files += "${prefix}/share/weston" -weston_files += "${prefix}/lib/systemd/user/weston.target" MANIFESTFILES_${PN} = "weston.manifest" weston-clients_files = "" diff --git a/meta-tizen/meta-tizen-common-base/recipes-graphics/weston/weston_git.bb b/meta-tizen/meta-tizen-common-base/recipes-graphics/weston/weston_git.bb index 7845c133e0..b44105ad4d 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-graphics/weston/weston_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-graphics/weston/weston_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/weston;tag=8e957a23d98c47ff032bf8440a4ca8ad67ccb227;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/weston;tag=3b2b540a6c211b599d7cf9ace0026572d9fc3ec9;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-messaging/msg-service/msg-service.inc b/meta-tizen/meta-tizen-common-base/recipes-messaging/msg-service/msg-service.inc index 4717f6ec28..f86709f76e 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-messaging/msg-service/msg-service.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-messaging/msg-service/msg-service.inc @@ -131,7 +131,7 @@ do_compile() { -DUNITDIR_USER=${prefix}/lib/systemd/user \ -DTZ_SYS_SMACK=${sysconfdir}/smack - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-messaging/msg-service/msg-service_git.bb b/meta-tizen/meta-tizen-common-base/recipes-messaging/msg-service/msg-service_git.bb index 4a318982fb..8e40ee742b 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-messaging/msg-service/msg-service_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-messaging/msg-service/msg-service_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/messaging/msg-service;tag=04fa826855dff1e9209d31301c7147e9e49c0956;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/messaging/msg-service;tag=76dc39ae7d9f91c3e489cff13bf701c79df87b27;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/alsa-scenario/alsa-scenario.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/alsa-scenario/alsa-scenario.inc index b940735b5a..568184e47b 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/alsa-scenario/alsa-scenario.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/alsa-scenario/alsa-scenario.inc @@ -60,7 +60,7 @@ do_compile() { cp -f ${prefix}/share/libtool/config/config.sub ${WORKDIR}/alsa-scenario-0.2.1/ autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/audio-session-manager/audio-session-manager.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/audio-session-manager/audio-session-manager.inc index a7694789da..6a01e45f90 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/audio-session-manager/audio-session-manager.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/audio-session-manager/audio-session-manager.inc @@ -71,7 +71,7 @@ do_compile() { CFLAGS="$CFLAGS -fvisibility=hidden -DMM_DEBUG_FLAG -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"" ; export CFLAGS autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/avsystem/avsystem.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/avsystem/avsystem.inc index 6a9020c0f2..fdf82b5249 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/avsystem/avsystem.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/avsystem/avsystem.inc @@ -70,7 +70,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libav/libav.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libav/libav.inc index c21cc68a49..d64fae4086 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libav/libav.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libav/libav.inc @@ -147,7 +147,7 @@ do_compile() { ./configure --prefix=${prefix} --shlibdir=${prefix}/lib --libdir=${prefix}/lib $CONFIGURE_OPTIONS - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmedia-service/libmedia-service.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmedia-service/libmedia-service.inc index 45c4782637..c38b606679 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmedia-service/libmedia-service.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmedia-service/libmedia-service.inc @@ -79,7 +79,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmedia-thumbnail/libmedia-thumbnail.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmedia-thumbnail/libmedia-thumbnail.inc index fa5f0d5cde..34b70ea297 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmedia-thumbnail/libmedia-thumbnail.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmedia-thumbnail/libmedia-thumbnail.inc @@ -54,9 +54,9 @@ DEPENDS += "aul" DEPENDS += "libexif" DEPENDS += "libmm-utility" DEPENDS += "media-server" -DEPENDS += "gdk-pixbuf" DEPENDS += "heynoti" DEPENDS += "vconf" +DEPENDS += "pkgconfig(gdk-pixbuf-2.0)" do_prep() { cd ${S} @@ -94,7 +94,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common.inc index d9d97b4a56..e4b16b7a96 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common.inc @@ -1,8 +1,8 @@ -DESCRIPTION = "Multimedia Framework Common Library" +DESCRIPTION = "Multimedia Framework Common Lib" HOMEPAGE = "http://nohomepage.org" SECTION = "Multimedia/Libraries" LICENSE = "Apache-2.0" -PV = "0.2.55" +PV = "0.2.85" SRC_URI = "" @@ -24,6 +24,9 @@ RDEPENDS = "" #RDEPENDS of libmm-common-dev (${PN}-dev) RDEPENDS_${PN}-dev += "libmm-common" +#RDEPENDS of libmm-common (${PN}) +RDEPENDS_${PN} += "glibc" + DEPENDS = "" #DEPENDS of libmm-common @@ -35,7 +38,7 @@ do_prep() { cd ${S} chmod -Rf a+rX,u+w,g-w,o-w ${S} #setup -q - cp ${S}/packaging/libmm-common.manifest . + } @@ -53,11 +56,12 @@ do_compile() { unset DISPLAY LD_AS_NEEDED=1; export LD_AS_NEEDED ; - CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " + export CFLAGS+=" -Wall -Wcast-align -Wcast-qual -Wextra -Wno-array-bounds -Wno-empty-body -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow -Wwrite-strings -Wswitch-default -Wno-unused-but-set-parameter -Wno-unused-but-set-variable" autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + make -j16 + @@ -73,6 +77,7 @@ do_install() { rm -rf ${D} mkdir -p ${D} + rm -rf ${D} oe_runmake \ DESTDIR=${D} \ @@ -84,6 +89,7 @@ do_install() { find ${D} -regex ".*\.a$" | xargs rm -f -- + } pkg_postinst_${PN}() { @@ -113,7 +119,6 @@ libmm-common-dev_files += "${prefix}/include/mmf/mm_debug.h" libmm-common-dev_files += "${prefix}/include/mmf/mm.h" libmm-common-dev_files += "${prefix}/lib/pkgconfig/mm-common.pc" libmm-common-dev_files += "${prefix}/lib/libmmfcommon.so" -MANIFESTFILES_${PN}-dev = "libmm-common.manifest" libmm-common_files = "" libmm-common_files += "${prefix}/lib/libmmfcommon.so.*" diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common_git.bb b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common_git.bb index 69b1aebb7f..307c74bde0 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-common;tag=c244cbbbb20aac7a2413d630b4c0e1b7a1a31f1f;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-common;tag=b278ce78e1bdad66d46a051ec0258c13fbf85032;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo.inc index 118f5f04d6..cdfb5c8a90 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Media Fileinfo" HOMEPAGE = "http://nohomepage.org" SECTION = "System/Libraries" LICENSE = "Apache-2.0" -PV = "0.6.0" +PV = "0.6.1" SRC_URI = "" diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo_git.bb b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo_git.bb index 17953ddaf9..ef5a93263b 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-fileinfo;tag=22b63cf9358324558602ba5ccb374201f785812c;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-fileinfo;tag=4ffa938eeab04aef98fa728683bd54687420baff;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-log/libmm-log.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-log/libmm-log.inc index 6d86dd03c3..8cbf6aba1e 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-log/libmm-log.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-log/libmm-log.inc @@ -53,7 +53,7 @@ do_compile() { ./autogen.sh autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-session/libmm-session.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-session/libmm-session.inc index c0b5a6abf0..b04f72295b 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-session/libmm-session.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-session/libmm-session.inc @@ -56,7 +56,7 @@ do_compile() { CFLAGS="$CFLAGS -Wp,-D_FORTIFY_SOURCE=0" autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound.inc index 5cdf72645a..68a727a52d 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound.inc @@ -2,7 +2,7 @@ DESCRIPTION = "MMSound Package contains client lib and sound_server binary" HOMEPAGE = "http://nohomepage.org" SECTION = "Multimedia/Media Playback" LICENSE = "Apache-2.0" -PV = "0.7.2g" +PV = "0.7.2h" SRC_URI = "" @@ -92,7 +92,7 @@ do_compile() { CFLAGS="$CFLAGS -DMURPHY"; export CFLAGS autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound_git.bb b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound_git.bb index 5168768dff..6e89fc62e4 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-sound;tag=1cd4ad61333ee2b961e0def7a57bfaa266d4bcbc;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-sound;tag=c7f783deb5d7b5629cec0f155e0954672c8f31ef;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-ta/libmm-ta.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-ta/libmm-ta.inc index fbc720e98c..bcdea53218 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-ta/libmm-ta.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-ta/libmm-ta.inc @@ -51,7 +51,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-utility/libmm-utility.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-utility/libmm-utility.inc index 467fddb8d0..e4e6403259 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-utility/libmm-utility.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/libmm-utility/libmm-utility.inc @@ -70,7 +70,7 @@ do_compile() { mkdir -p m4 CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" -D_MM_PROJECT_FLOATER" LDFLAGS="$LDFLAGS -Wl,--rpath=${prefix}/lib -Wl,--hash-style=both -Wl,--as-needed" autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 sed -i -e "s#@IMGP_REQPKG@#$IMGP_REQPKG#g" imgp/mmutil-imgp.pc sed -i -e "s#@JPEG_REQPKG@#$JPEG_REQPKG#g" jpeg/mmutil-jpeg.pc diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/media-server/media-server.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/media-server/media-server.inc index 142b16966a..6ae75ecd95 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/media-server/media-server.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/media-server/media-server.inc @@ -80,7 +80,7 @@ do_compile() { mkdir -p m4 autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 @@ -147,7 +147,7 @@ pkg_postinst_${PN}() { chgrp -R users $D${prefix}/data/data-media chgrp -R users $D${prefix}/data/file-manager-service # setup dbupdate in user session - mkdir -p $D${prefix}/lib/systemd/user/default.target.requires/ + mkdir -p $D${prefix}/lib/systemd/user/default.target.wants/ ln -sf ../media-server-user.service $D${prefix}/lib/systemd/user/default.target.wants/ } diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/media-server/media-server_git.bb b/meta-tizen/meta-tizen-common-base/recipes-multimedia/media-server/media-server_git.bb index 9e83ea1daf..30197b659d 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/media-server/media-server_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/media-server/media-server_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/multimedia/media-server;tag=b1cba9bae69f8a13e85edfb3cf6f5e30948e8852;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/multimedia/media-server;tag=ca93eb1f529cab34a461422d7e22b893d827f9e5;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/pulseaudio/pulseaudio.inc index 85669f073e..905f0c4b69 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/pulseaudio/pulseaudio.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/pulseaudio/pulseaudio.inc @@ -116,6 +116,7 @@ DEPENDS += "speex" DEPENDS += "libsndfile1" DEPENDS_append_class-native = " intltool-native" DEPENDS_append_class-target = " intltool-native" +DEPENDS += "sbc" DEPENDS += "openssl" DEPENDS += "alsa-lib" DEPENDS += "dbus" @@ -123,7 +124,6 @@ inherit pkgconfig DEPENDS += "udev" DEPENDS += "glib-2.0" DEPENDS += "bluez5" -DEPENDS += "sbc" DEPENDS += "systemd" DEPENDS_append_class-native = " libtool" DEPENDS_append_class-target = " libtool-cross" @@ -164,7 +164,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} V=0 + oe_runmake -j16 V=0 @@ -373,7 +373,6 @@ pulseaudio-module-augment-properties_files += "${prefix}/lib/pulse-5.0/modules/m MANIFESTFILES_${PN}-module-augment-properties = "pulseaudio.manifest" pulseaudio_files = "" -pulseaudio_files += "LGPL-2.0+ LICENSE GPL LGPL" pulseaudio_files += "${sysconfdir}/pulse/filter/*.dat" pulseaudio_files += "${prefix}/bin/esdcompat" pulseaudio_files += "${prefix}/bin/pulseaudio" diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/tiff/tiff.inc b/meta-tizen/meta-tizen-common-base/recipes-multimedia/tiff/tiff.inc index 5eb514053d..a8cdca84e4 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/tiff/tiff.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/tiff/tiff.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Tools for Converting from and to the Tiff Format" HOMEPAGE = "http://www.remotesensing.org/libtiff" SECTION = "Productivity/Graphics/Convertors" LICENSE = "HPND" -PV = "4.0.2" +PV = "4.0.3" SRC_URI = "" @@ -68,7 +68,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 @@ -135,7 +135,6 @@ MANIFESTFILES_${PN} = "tiff.manifest" tiff-docs_files = "" libtiff_files = "" -libtiff_files += "COPYRIGHT" libtiff_files += "${prefix}/lib/*.so.*" MANIFESTFILES_lib${PN} = "tiff.manifest" diff --git a/meta-tizen/meta-tizen-common-base/recipes-multimedia/tiff/tiff_git.bb b/meta-tizen/meta-tizen-common-base/recipes-multimedia/tiff/tiff_git.bb index f395b652ff..d58ad4ac7e 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-multimedia/tiff/tiff_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-multimedia/tiff/tiff_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/tiff;tag=2d1548a92a4768584c545d5c40fa203883612eb0;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/tiff;tag=a7123bacbef4cf6265a5bde3eb4e65af3962ce12;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/buxton/buxton-extraconf.inc b/meta-tizen/meta-tizen-common-base/recipes-security/buxton/buxton-extraconf.inc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/buxton/buxton.inc b/meta-tizen/meta-tizen-common-base/recipes-security/buxton/buxton.inc new file mode 100644 index 0000000000..fc9e498fef --- /dev/null +++ b/meta-tizen/meta-tizen-common-base/recipes-security/buxton/buxton.inc @@ -0,0 +1,188 @@ +DESCRIPTION = "A security-enabled configuration system" +HOMEPAGE = "https://github.com/sofar/buxton" +SECTION = "System/Configuration" +LICENSE = "LGPL-2.1+" +PV = "5" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by buxton-dev +PROVIDES += "buxton-dev" + + +#PROVIDES by buxtonsimple +PROVIDES += "buxtonsimple" + + +#PROVIDES by buxton-docs +PROVIDES += "buxton-docs " + + +#PROVIDES by buxtonsimple-dev +PROVIDES += "buxtonsimple-dev" + + +#PROVIDES by buxton + + +RDEPENDS = "" +#RDEPENDS of buxton-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "buxton" + +#RDEPENDS of buxtonsimple (${PN}simple) +RDEPENDS_${PN}simple += "buxton" + +#RDEPENDS of buxtonsimple-dev (${PN}simple-dev) +RDEPENDS_${PN}simple-dev += "buxton" + +#RDEPENDS of buxton (${PN}) +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "smack" +RDEPENDS_${PN} += "buxton" + + +DEPENDS = "" +#DEPENDS of buxton +inherit pkgconfig +DEPENDS += "libcheck" +DEPENDS += "systemd" +DEPENDS += "attr" +DEPENDS += "gdbm" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/buxton.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # TODO: need to define needed layers for Tizen in tizen.conf + install -m 0644 ${S}/packaging/tizen.conf ${D}${sysconfdir}/buxton.conf + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + #buxtond runs as user buxton, which much be created + useradd buxton + buxtonctl create-db base + buxtonctl create-db isp + if [ "$1" -eq 1 ] ; then + # The initial DBs will not have the correct labels and + # permissions when created in postinstall during image + # creation, so we set these file attributes here. + chsmack -a System ${localstatedir}/lib/buxton/*.db + chown buxton:buxton ${localstatedir}/lib/buxton/*.db + fi + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " buxton-dev " +PACKAGES += " buxtonsimple " +PACKAGES += " buxton-docs " +PACKAGES += " buxtonsimple-dev " +PACKAGES += " buxton " + +buxton-dev_files = "" +buxton-dev_files += "${prefix}/include/buxton.h" +buxton-dev_files += "${prefix}/lib/libbuxton.so" +buxton-dev_files += "${prefix}/lib/pkgconfig/buxton.pc" +MANIFESTFILES_${PN}-dev = "buxton.manifest" + +buxtonsimple_files = "" +buxtonsimple_files += "${prefix}/lib/libbuxtonsimple.so.*" +MANIFESTFILES_${PN}simple = "buxton.manifest" + +buxton-docs_files = "" + +buxtonsimple-dev_files = "" +buxtonsimple-dev_files += "${prefix}/include/buxtonsimple.h" +buxtonsimple-dev_files += "${prefix}/lib/libbuxtonsimple.so" +buxtonsimple-dev_files += "${prefix}/lib/pkgconfig/buxtonsimple.pc" +MANIFESTFILES_${PN}simple-dev = "buxton.manifest" + +buxton_files = "" +buxton_files += "${sysconfdir}/buxton.conf" +buxton_files += "${prefix}/bin/buxtonctl" +buxton_files += "${prefix}/lib/buxton/*.so" +buxton_files += "${prefix}/lib/libbuxton.so.*" +buxton_files += "${prefix}/lib/systemd/system/buxton.service" +buxton_files += "${prefix}/lib/systemd/system/buxton.socket" +buxton_files += "${prefix}/lib/systemd/system/sockets.target.wants/buxton.socket" +buxton_files += "${prefix}/sbin/buxtond" +buxton_files += "%dir ${localstatedir}/lib/buxton" +MANIFESTFILES_${PN} = "buxton.manifest" + +FILES_${PN}-dev = "${buxton-dev_files}" +FILES_${PN}simple = "${buxtonsimple_files}" +FILES_${PN}-docs = "${buxton-docs_files}" +FILES_${PN}simple-dev = "${buxtonsimple-dev_files}" +FILES_${PN} = "${buxton_files}" + +PKG_buxton-dev= "buxton-dev" +PKG_buxtonsimple= "buxtonsimple" +PKG_buxton-docs= "buxton-docs" +PKG_buxtonsimple-dev= "buxtonsimple-dev" +PKG_buxton= "buxton" + +require buxton-extraconf.inc + diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/buxton/buxton_git.bb b/meta-tizen/meta-tizen-common-base/recipes-security/buxton/buxton_git.bb new file mode 100644 index 0000000000..e56db7f8fb --- /dev/null +++ b/meta-tizen/meta-tizen-common-base/recipes-security/buxton/buxton_git.bb @@ -0,0 +1,10 @@ +require buxton.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/buxton;tag=30ff93b6f03098ab14626e2212776b05594cb212;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/cynara/cynara-extraconf.inc b/meta-tizen/meta-tizen-common-base/recipes-security/cynara/cynara-extraconf.inc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/cynara/cynara.inc b/meta-tizen/meta-tizen-common-base/recipes-security/cynara/cynara.inc new file mode 100644 index 0000000000..e286b72162 --- /dev/null +++ b/meta-tizen/meta-tizen-common-base/recipes-security/cynara/cynara.inc @@ -0,0 +1,489 @@ +DESCRIPTION = "Cynara service with client libraries" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Application Privilege" +LICENSE = "Apache-2.0" +PV = "0.5.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libcynara-creds-socket +PROVIDES += "libcynara-creds-socket" + + +#PROVIDES by cynara-tests +PROVIDES += "cynara-tests" + + +#PROVIDES by libcynara-client +PROVIDES += "libcynara-client" + + +#PROVIDES by libcynara-creds-dbus +PROVIDES += "libcynara-creds-dbus" + + +#PROVIDES by cynara + + +#PROVIDES by cynara-dev +PROVIDES += "cynara-dev" + + +#PROVIDES by cyad +PROVIDES += "cyad" + + +#PROVIDES by libcynara-commons +PROVIDES += "libcynara-commons" + + +#PROVIDES by libcynara-admin +PROVIDES += "libcynara-admin" + + +#PROVIDES by libcynara-creds-commons +PROVIDES += "libcynara-creds-commons" + + +#PROVIDES by cynara-db-migration +PROVIDES += "cynara-db-migration" + + +#PROVIDES by libcynara-agent +PROVIDES += "libcynara-agent" + + +#PROVIDES by libcynara-session +PROVIDES += "libcynara-session" + + +RDEPENDS = "" +#RDEPENDS of cynara (${PN}) +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "default-ac-domains" +RDEPENDS_${PN} += "cynara-db-migration" +RDEPENDS_${PN} += "smack" +RDEPENDS_${PN} += "shadow" + +#RDEPENDS of libcynara-client (lib${PN}-client) +RDEPENDS_lib${PN}-client += "cynara" + +#RDEPENDS of libcynara-creds-dbus (lib${PN}-creds-dbus) +RDEPENDS_lib${PN}-creds-dbus += "dbus" + +#RDEPENDS of cynara-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "systemd" +RDEPENDS_${PN}-dev += "libcynara-client" +RDEPENDS_${PN}-dev += "dbus" +RDEPENDS_${PN}-dev += "libcynara-creds-dbus" +RDEPENDS_${PN}-dev += "libcynara-creds-commons" +RDEPENDS_${PN}-dev += "libcynara-commons" +RDEPENDS_${PN}-dev += "libcynara-admin" +RDEPENDS_${PN}-dev += "libcynara-creds-socket" +RDEPENDS_${PN}-dev += "libcynara-agent" +RDEPENDS_${PN}-dev += "libcynara-session" + +#RDEPENDS of libcynara-admin (lib${PN}-admin) +RDEPENDS_lib${PN}-admin += "cynara" + +#RDEPENDS of libcynara-agent (lib${PN}-agent) +RDEPENDS_lib${PN}-agent += "cynara" + + +DEPENDS = "" +#DEPENDS of cynara-tests +#DEPENDS of cynara +#DEPENDS of libcynara-creds-dbus +DEPENDS += "systemd" +inherit tizen_cmake +DEPENDS += "zip" +DEPENDS += "dbus" +inherit pkgconfig +DEPENDS += "pkgconfig(gmock)" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp -a ${S}/packaging/cynara.manifest . + cp -a ${S}/packaging/libcynara-client.manifest . + cp -a ${S}/packaging/libcynara-admin.manifest . + cp -a ${S}/packaging/cynara-tests.manifest . + cp -a ${S}/packaging/libcynara-agent.manifest . + cp -a ${S}/packaging/libcynara-commons.manifest . + cp -a ${S}/packaging/libcynara-creds-commons.manifest . + cp -a ${S}/packaging/libcynara-creds-dbus.manifest . + cp -a ${S}/packaging/libcynara-creds-socket.manifest . + cp -a ${S}/packaging/libcynara-session.manifest . + cp -a ${S}/packaging/cynara-db-migration.manifest . + cp -a ${S}/packaging/cyad.manifest . + cp -a test/db/db* . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + export CXXFLAGS="$CXXFLAGS -DCYNARA_STATE_PATH=\\\"${localstatedir}/cynara/\\\" \ + -DCYNARA_LIB_PATH=\\\"${prefix}/lib/cynara/\\\" \ + -DCYNARA_TESTS_DIR=\\\"${prefix}/share/cynara/tests/\\\" \ + -DCYNARA_CONFIGURATION_DIR=\\\"${sysconfdir}/cynara/\\\"" + export LDFLAGS+="-Wl,--rpath=${prefix}/lib" + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . \ + -DBUILD_TESTS=ON \ + -DCMAKE_BUILD_TYPE=RELEASE \ + -DCMAKE_VERBOSE_MAKEFILE=ON + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/${sysconfdir}/cynara/ + cp ./conf/creds.conf ${D}/${sysconfdir}/cynara//creds.conf + + mkdir -p ${D}/usr/lib/systemd/system/sockets.target.wants + mkdir -p ${D}/${localstatedir}/cynara/ + mkdir -p ${D}${prefix}/share/cynara/tests//empty_db + mkdir -p ${D}${prefix}/lib/cynara//plugin/client + mkdir -p ${D}${prefix}/lib/cynara//plugin/service + + cp -a db* ${D}${prefix}/share/cynara/tests/ + ln -s ../cynara.socket ${D}/usr/lib/systemd/system/sockets.target.wants/cynara.socket + ln -s ../cynara-admin.socket ${D}/usr/lib/systemd/system/sockets.target.wants/cynara-admin.socket + ln -s ../cynara-agent.socket ${D}/usr/lib/systemd/system/sockets.target.wants/cynara-agent.socket + + +} + +pkg_preinst_${PN}() { + #!/bin/sh -e + + id -g cynara > /dev/null 2>&1 + if [ $? -eq 1 ]; then + groupadd cynara -r > /dev/null 2>&1 + fi + id -u cynara > /dev/null 2>&1 + if [ $? -eq 1 ]; then + useradd -d /var/lib/empty -s /sbin/nologin -r -g cynara cynara > /dev/null 2>&1 + fi + if [ $1 -gt 1 ] ; then + OLDVERSION="$(rpm -q --qf '%{version}' cynara)" + $D${prefix}/sbin/cynara/cynara-db-migration.sh upgrade -f ${OLDVERSION} -t 0.5.0 + else + $D${prefix}/sbin/cynara/cynara-db-migration.sh install -t 0.5.0 + fi + +} + +pkg_postinst_libcynara-agent() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ### Add file capabilities if needed + ### setcap/getcap binary are useful. To use them you must install libcap and libcap-tools packages + ### In such case uncomment Requires with those packages + systemctl daemon-reload + if [ $1 = 1 ]; then + systemctl enable cynara.service + fi + chsmack -a System ${localstatedir}/cynara/ + systemctl restart cynara.service + +} + +pkg_postinst_libcynara-creds-socket() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcynara-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcynara-creds-dbus() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcynara-session() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcynara-admin() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcynara-creds-commons() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcynara-commons() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ $1 = 0 ]; then + # unistall + systemctl stop cynara.service + fi + +} + +pkg_postrm_libcynara-creds-commons() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcynara-creds-socket() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcynara-agent() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcynara-admin() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + if [ $1 = 0 ]; then + $D${prefix}/sbin/cynara/cynara-db-migration.sh uninstall -f 0.5.0 + userdel -r cynara > /dev/null 2>&1 + groupdel cynara > /dev/null 2>&1 + systemctl daemon-reload + fi + +} + +pkg_postrm_libcynara-creds-dbus() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcynara-session() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcynara-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcynara-commons() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " cynara-tests " +PACKAGES += " libcynara-client " +PACKAGES += " libcynara-creds-dbus " +PACKAGES += " cynara-db-migration " +PACKAGES += " cynara-dev " +PACKAGES += " cyad " +PACKAGES += " cynara " +PACKAGES += " libcynara-commons " +PACKAGES += " libcynara-admin " +PACKAGES += " libcynara-creds-commons " +PACKAGES += " libcynara-creds-socket " +PACKAGES += " libcynara-agent " +PACKAGES += " libcynara-session " + +cynara-tests_files = "" +cynara-tests_files += "/usr/bin/cynara-tests" +cynara-tests_files += "${prefix}/share/cynara/tests/db*/*" +cynara-tests_files += "%attr(755,root,root) ${prefix}/share/cynara/tests/empty_db" +MANIFESTFILES_${PN}-tests = "cynara-tests.manifest" +DIRFILES_${PN}-tests = "" +DIRFILES_${PN}-tests += "%attr(755,root,root) ${prefix}/share/cynara/tests/empty_db" + +libcynara-client_files = "" +libcynara-client_files += "${prefix}/lib/libcynara-client.so.*" +libcynara-client_files += "${prefix}/lib/libcynara-client-async.so.*" +libcynara-client_files += "${prefix}/lib/libcynara-client-commons.so.*" +libcynara-client_files += "%attr(755,cynara,cynara) ${prefix}/lib/cynara/plugin/client" +MANIFESTFILES_lib${PN}-client = "libcynara-client.manifest" +DIRFILES_lib${PN}-client = "" +DIRFILES_lib${PN}-client += "%attr(755,cynara,cynara) ${prefix}/lib/cynara/plugin/client" + +libcynara-creds-dbus_files = "" +libcynara-creds-dbus_files += "${prefix}/lib/libcynara-creds-dbus.so.*" +MANIFESTFILES_lib${PN}-creds-dbus = "libcynara-creds-dbus.manifest" + +cynara-db-migration_files = "" +cynara-db-migration_files += "${prefix}/sbin/cynara/cynara-db-migration.sh" +MANIFESTFILES_${PN}-db-migration = "cynara-db-migration.manifest" + +cynara-dev_files = "" +cynara-dev_files += "${prefix}/include/cynara/*.h" +cynara-dev_files += "${prefix}/include/cynara/log/*.h" +cynara-dev_files += "${prefix}/include/cynara/plugin/*.h" +cynara-dev_files += "${prefix}/include/cynara/types/*.h" +cynara-dev_files += "${prefix}/lib/pkgconfig/*.pc" +cynara-dev_files += "${prefix}/lib/*.so" + +cyad_files = "" +cyad_files += "${prefix}/sbin/cyad" +MANIFESTFILES_cyad = "cyad.manifest" + +cynara_files = "" +cynara_files += "/usr/bin/cynara" +cynara_files += "/usr/lib/systemd/system/cynara.service" +cynara_files += "/usr/lib/systemd/system/cynara.target" +cynara_files += "/usr/lib/systemd/system/sockets.target.wants/cynara.socket" +cynara_files += "/usr/lib/systemd/system/cynara.socket" +cynara_files += "/usr/lib/systemd/system/sockets.target.wants/cynara-admin.socket" +cynara_files += "/usr/lib/systemd/system/cynara-admin.socket" +cynara_files += "/usr/lib/systemd/system/sockets.target.wants/cynara-agent.socket" +cynara_files += "/usr/lib/systemd/system/cynara-agent.socket" +cynara_files += "%attr(700,cynara,cynara) ${localstatedir}/cynara/" +cynara_files += "%attr(755,cynara,cynara) ${prefix}/lib/cynara/plugin/service" +MANIFESTFILES_${PN} = "cynara.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "%attr(700,cynara,cynara) ${localstatedir}/cynara/" +DIRFILES_${PN} += "%attr(755,cynara,cynara) ${prefix}/lib/cynara/plugin/service" + +libcynara-commons_files = "" +libcynara-commons_files += "${prefix}/lib/libcynara-commons.so.*" +libcynara-commons_files += "${prefix}/lib/libcynara-storage.so.*" +MANIFESTFILES_lib${PN}-commons = "libcynara-commons.manifest" + +libcynara-admin_files = "" +libcynara-admin_files += "${prefix}/lib/libcynara-admin.so.*" +MANIFESTFILES_lib${PN}-admin = "libcynara-admin.manifest" + +libcynara-creds-commons_files = "" +libcynara-creds-commons_files += "${prefix}/lib/libcynara-creds-commons.so.*" +libcynara-creds-commons_files += "${sysconfdir}/cynara/creds.conf" +MANIFESTFILES_lib${PN}-creds-commons = "libcynara-creds-commons.manifest" + +libcynara-creds-socket_files = "" +libcynara-creds-socket_files += "${prefix}/lib/libcynara-creds-socket.so.*" +MANIFESTFILES_lib${PN}-creds-socket = "libcynara-creds-socket.manifest" + +libcynara-agent_files = "" +libcynara-agent_files += "${prefix}/lib/libcynara-agent.so.*" +MANIFESTFILES_lib${PN}-agent = "libcynara-agent.manifest" + +libcynara-session_files = "" +libcynara-session_files += "${prefix}/lib/libcynara-session.so.*" +MANIFESTFILES_lib${PN}-session = "libcynara-session.manifest" + +FILES_${PN}-tests = "${cynara-tests_files}" +FILES_lib${PN}-client = "${libcynara-client_files}" +FILES_lib${PN}-creds-dbus = "${libcynara-creds-dbus_files}" +FILES_${PN}-db-migration = "${cynara-db-migration_files}" +FILES_${PN}-dev = "${cynara-dev_files}" +FILES_cyad = "${cyad_files}" +FILES_${PN} = "${cynara_files}" +FILES_lib${PN}-commons = "${libcynara-commons_files}" +FILES_lib${PN}-admin = "${libcynara-admin_files}" +FILES_lib${PN}-creds-commons = "${libcynara-creds-commons_files}" +FILES_lib${PN}-creds-socket = "${libcynara-creds-socket_files}" +FILES_lib${PN}-agent = "${libcynara-agent_files}" +FILES_lib${PN}-session = "${libcynara-session_files}" + +PKG_cynara-tests= "cynara-tests" +PKG_libcynara-client= "libcynara-client" +PKG_libcynara-creds-dbus= "libcynara-creds-dbus" +PKG_cynara-db-migration= "cynara-db-migration" +PKG_cynara-dev= "cynara-dev" +PKG_cyad= "cyad" +PKG_cynara= "cynara" +PKG_libcynara-commons= "libcynara-commons" +PKG_libcynara-admin= "libcynara-admin" +PKG_libcynara-creds-commons= "libcynara-creds-commons" +PKG_libcynara-creds-socket= "libcynara-creds-socket" +PKG_libcynara-agent= "libcynara-agent" +PKG_libcynara-session= "libcynara-session" + +require cynara-extraconf.inc + diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/cynara/cynara_git.bb b/meta-tizen/meta-tizen-common-base/recipes-security/cynara/cynara_git.bb new file mode 100644 index 0000000000..ca0e0e2227 --- /dev/null +++ b/meta-tizen/meta-tizen-common-base/recipes-security/cynara/cynara_git.bb @@ -0,0 +1,10 @@ +require cynara.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/cynara;tag=6c079ffeed2e4dc0c8cec00e5a7da67f3c5e2564;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/gpg2/gpg2.inc b/meta-tizen/meta-tizen-common-base/recipes-security/gpg2/gpg2.inc index 8b55c28003..ffbbf5e138 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/gpg2/gpg2.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/gpg2/gpg2.inc @@ -82,7 +82,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/gsignond-plugin-oauth/gsignond-plugin-oauth.inc b/meta-tizen/meta-tizen-common-base/recipes-security/gsignond-plugin-oauth/gsignond-plugin-oauth.inc index 51c918c55f..60c384b652 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/gsignond-plugin-oauth/gsignond-plugin-oauth.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/gsignond-plugin-oauth/gsignond-plugin-oauth.inc @@ -62,7 +62,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/gsignond-plugin-sasl/gsignond-plugin-sasl.inc b/meta-tizen/meta-tizen-common-base/recipes-security/gsignond-plugin-sasl/gsignond-plugin-sasl.inc index ce3c03acf1..da244c3df5 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/gsignond-plugin-sasl/gsignond-plugin-sasl.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/gsignond-plugin-sasl/gsignond-plugin-sasl.inc @@ -60,7 +60,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/gsignond/gsignond.inc b/meta-tizen/meta-tizen-common-base/recipes-security/gsignond/gsignond.inc index 66c6af4ca0..ea06544472 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/gsignond/gsignond.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/gsignond/gsignond.inc @@ -52,6 +52,7 @@ do_prep() { chmod -Rf a+rX,u+w,g-w,o-w ${S} #setup -q -n gsignond-1.0.3 cp ${S}/packaging/gsignond.manifest . + cp ${S}/packaging/gsignond-cleandb . } @@ -69,10 +70,11 @@ do_compile() { unset DISPLAY LD_AS_NEEDED=1; export LD_AS_NEEDED ; + autoreconf -ivf autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 @@ -100,8 +102,10 @@ do_install() { find ${D} -regex ".*\.a$" | xargs rm -f -- install -m 755 -d ${D}${prefix}/lib/systemd/user install -m 644 data/gsignond.service ${D}${prefix}/lib/systemd/user/ - install -m 755 -d ${D}${prefix}/lib/systemd/user/weston.target.wants - ln -s ../gsignond.service ${D}${prefix}/lib/systemd/user/weston.target.wants/gsignond.service + install -m 755 -d ${D}${prefix}/lib/systemd/user/default.target.wants + ln -sf ../gsignond.service ${D}${prefix}/lib/systemd/user/default.target.wants/gsignond.service + install -m 755 -d ${D}${sysconfdir}/gumd/userdel.d/ + install -m 755 gsignond-cleandb ${D}${sysconfdir}/gumd/userdel.d/ } @@ -129,15 +133,16 @@ gsignond-doc_files = "" gsignond-doc_files += "${prefix}/share/gtk-doc/html/gsignond/*" gsignond_files = "" -gsignond_files += "AUTHORS COPYING.LIB INSTALL NEWS README" +gsignond_files += "AUTHORS COPYING.LIB" gsignond_files += "${prefix}/bin/gsignond" gsignond_files += "${prefix}/lib/libgsignond-*.so.*" gsignond_files += "${prefix}/lib/gsignond/extensions/*.so*" gsignond_files += "${prefix}/lib/gsignond/gplugins/*.so*" gsignond_files += "${prefix}/lib/gsignond/pluginloaders/gsignond-plugind" gsignond_files += "${prefix}/lib/systemd/user/gsignond.service" -gsignond_files += "${prefix}/lib/systemd/user/weston.target.wants/gsignond.service" +gsignond_files += "${prefix}/lib/systemd/user/default.target.wants/gsignond.service" gsignond_files += "${sysconfdir}/gsignond.conf" +gsignond_files += "${sysconfdir}/gumd/userdel.d/" MANIFESTFILES_${PN} = "gsignond.manifest" gsignond-dev_files = "" diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/gsignond/gsignond_git.bb b/meta-tizen/meta-tizen-common-base/recipes-security/gsignond/gsignond_git.bb index bd86f365d5..631aeeac21 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/gsignond/gsignond_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-security/gsignond/gsignond_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/gsignond;tag=572cf9261e1233c5db1b74b74a70d97289d752a2;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/gsignond;tag=7205ca5442c3c3f48bbccf2b707df15a3e3da32a;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/libgsasl/libgsasl.inc b/meta-tizen/meta-tizen-common-base/recipes-security/libgsasl/libgsasl.inc index 719f29e955..68fe143fd6 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/libgsasl/libgsasl.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/libgsasl/libgsasl.inc @@ -57,7 +57,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/libgsignon-glib/libgsignon-glib.inc b/meta-tizen/meta-tizen-common-base/recipes-security/libgsignon-glib/libgsignon-glib.inc index 00fc9f61fc..35f871217a 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/libgsignon-glib/libgsignon-glib.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/libgsignon-glib/libgsignon-glib.inc @@ -66,7 +66,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control.inc b/meta-tizen/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control.inc index 88c5da353b..666ae82bb9 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control.inc @@ -25,6 +25,10 @@ PROVIDES += "libprivilege-control-dev" RDEPENDS = "" +#RDEPENDS of libprivilege-control (${PN}) +RDEPENDS_${PN} += "sqlite3" +RDEPENDS_${PN} += "glibc" + #RDEPENDS of libprivilege-control-conf (${PN}-conf) RDEPENDS_${PN}-conf += "libprivilege-control" @@ -86,7 +90,7 @@ do_compile() { -DTZ_SYS_ETC=${sysconfdir} \ -DSYSTEMD_UNIT_DIR=${systemd_unitdir}/system - VERBOSE=1 oe_runmake ${PARALLEL_MAKE} + VERBOSE=1 oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control_git.bb b/meta-tizen/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control_git.bb index 73a611c943..1721f3becc 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/security/libprivilege-control;tag=e613fc4d3632b7cc79187ade3186d1e07ec79170;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/security/libprivilege-control;tag=02e047c543cc35b40f0a59c81f65570cc557038e;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/libsecret/libsecret.inc b/meta-tizen/meta-tizen-common-base/recipes-security/libsecret/libsecret.inc index fb4e4152d2..442f966af7 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/libsecret/libsecret.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/libsecret/libsecret.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Library for accessing the Secret Service API" HOMEPAGE = "http://www.gnome.org/" SECTION = "System/Libraries" LICENSE = "LGPL-2.1+" -PV = "0.15" +PV = "0.18" SRC_URI = "" @@ -24,19 +24,18 @@ PROVIDES += "libsecret-dev" #PROVIDES by libsecret -#PROVIDES by libsecret-tools -PROVIDES += "libsecret-tools" +#PROVIDES by libsecret-docs +PROVIDES += "libsecret-docs " -#PROVIDES by typelib-SecretUnstable -PROVIDES += "typelib-SecretUnstable" +#PROVIDES by libsecret-tools +PROVIDES += "libsecret-tools" RDEPENDS = "" #RDEPENDS of libsecret-dev (${PN}-dev) RDEPENDS_${PN}-dev += "typelib-Secret" RDEPENDS_${PN}-dev += "libsecret" -RDEPENDS_${PN}-dev += "typelib-SecretUnstable" DEPENDS = "" @@ -55,8 +54,6 @@ DEPENDS_append_class-native = " fdupes-native" DEPENDS_append_class-target = " fdupes-native" DEPENDS += "libgcrypt" DEPENDS += "gtk-doc" -DEPENDS += "libxslt" - do_prep() { cd ${S} @@ -82,7 +79,8 @@ do_compile() { autotools_do_configure - make V=1 + + oe_runmake -j16 @@ -128,17 +126,14 @@ pkg_postrm_${PN}() { PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" PACKAGES += " libsecret-tools " -PACKAGES += " libsecret " PACKAGES += " libsecret-dev " PACKAGES += " typelib-Secret " -PACKAGES += " typelib-SecretUnstable " +PACKAGES += " libsecret-docs " +PACKAGES += " libsecret " libsecret-tools_files = "" libsecret-tools_files += "${prefix}/bin/secret-tool" -libsecret_files = "" -libsecret_files += "${prefix}/lib/libsecret-1.so.*" - libsecret-dev_files = "" libsecret-dev_files += "AUTHORS ChangeLog NEWS README" libsecret-dev_files += "${prefix}/lib/libsecret-1.so" @@ -146,33 +141,28 @@ libsecret-dev_files += "${prefix}/lib/pkgconfig/libsecret-1.pc" libsecret-dev_files += "${prefix}/lib/pkgconfig/libsecret-unstable.pc" libsecret-dev_files += "${prefix}/include/libsecret-1/" libsecret-dev_files += "${prefix}/share/gir-1.0/Secret-1.gir" -libsecret-dev_files += "${prefix}/share/gir-1.0/SecretUnstable-0.gir" -libsecret-dev_files += "${prefix}/share/vala/vapi" libsecret-dev_files += "${prefix}/share/vala/vapi/libsecret-1.deps" libsecret-dev_files += "${prefix}/share/vala/vapi/libsecret-1.vapi" -libsecret-dev_files += "${prefix}/share/vala/vapi/libsecret-unstable.deps" -libsecret-dev_files += "${prefix}/share/vala/vapi/libsecret-unstable.vapi" -libsecret-dev_files += "${prefix}/share/vala/vapi/mock-service-0.vapi" -DIRFILES_${PN}-dev = "" -DIRFILES_${PN}-dev += "${prefix}/share/vala/vapi" typelib-Secret_files = "" typelib-Secret_files += "${prefix}/lib/girepository-1.0/Secret-1.typelib" -typelib-SecretUnstable_files = "" -typelib-SecretUnstable_files += "${prefix}/lib/girepository-1.0/SecretUnstable-0.typelib" +libsecret-docs_files = "" + +libsecret_files = "" +libsecret_files += "${prefix}/lib/libsecret-1.so.*" FILES_${PN}-tools = "${libsecret-tools_files}" -FILES_${PN} = "${libsecret_files}" FILES_${PN}-dev = "${libsecret-dev_files}" FILES_typelib-Secret = "${typelib-Secret_files}" -FILES_typelib-SecretUnstable = "${typelib-SecretUnstable_files}" +FILES_${PN}-docs = "${libsecret-docs_files}" +FILES_${PN} = "${libsecret_files}" PKG_libsecret-tools= "libsecret-tools" -PKG_libsecret= "libsecret" PKG_libsecret-dev= "libsecret-dev" PKG_typelib-Secret= "typelib-Secret" -PKG_typelib-SecretUnstable= "typelib-SecretUnstable" +PKG_libsecret-docs= "libsecret-docs" +PKG_libsecret= "libsecret" require libsecret-extraconf.inc diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/libsecret/libsecret_git.bb b/meta-tizen/meta-tizen-common-base/recipes-security/libsecret/libsecret_git.bb index fdea5b38bf..e1600ea30e 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/libsecret/libsecret_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-security/libsecret/libsecret_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/libsecret;tag=115bcbe47059371f172286c68d730d7c59f9e8fc;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/libsecret;tag=51c1459c069ef6a311d30c7cd8d9304feb4a1b24;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc b/meta-tizen/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc index 632b16b0ff..d72ad6ce1c 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc @@ -122,7 +122,7 @@ do_compile() { -DVERSION=0.0.4 \ -DFILTER_LISTED_PKG=ON \ -DPRIVACY_POPUP=OFF - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/secure-storage/secure-storage.inc b/meta-tizen/meta-tizen-common-base/recipes-security/secure-storage/secure-storage.inc index 786d3c23be..bb49608a0a 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/secure-storage/secure-storage.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/secure-storage/secure-storage.inc @@ -91,7 +91,7 @@ do_compile() { ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/security-manager/security-manager-extraconf.inc b/meta-tizen/meta-tizen-common-base/recipes-security/security-manager/security-manager-extraconf.inc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/security-manager/security-manager.inc b/meta-tizen/meta-tizen-common-base/recipes-security/security-manager/security-manager.inc new file mode 100644 index 0000000000..ee9811d9d6 --- /dev/null +++ b/meta-tizen/meta-tizen-common-base/recipes-security/security-manager/security-manager.inc @@ -0,0 +1,230 @@ +DESCRIPTION = "Security manager and utilities" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Service" +LICENSE = "Apache-2.0" +PV = "0.2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by security-manager + + +#PROVIDES by libsecurity-manager-client +PROVIDES += "libsecurity-manager-client" + + +#PROVIDES by libsecurity-manager-client-dev +PROVIDES += "libsecurity-manager-client-dev" + + +RDEPENDS = "" +#RDEPENDS of security-manager (${PN}) +RDEPENDS_${PN} += "smack" +RDEPENDS_${PN} += "systemd" + +#RDEPENDS of libsecurity-manager-client (lib${PN}-client) +RDEPENDS_lib${PN}-client += "security-manager" +RDEPENDS_lib${PN}-client += "glibc" + +#RDEPENDS of libsecurity-manager-client-dev (lib${PN}-client-dev) +RDEPENDS_lib${PN}-client-dev += "libsecurity-manager-client" + + +DEPENDS = "" +#DEPENDS of security-manager +DEPENDS += "systemd" +inherit tizen_cmake +DEPENDS += "attr" +DEPENDS += "zip" +DEPENDS += "boost" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "smack" +DEPENDS += "pkgconfig(cynara-client)" +DEPENDS += "sqlite3" +DEPENDS += "libcap" +DEPENDS += "pkgconfig(cynara-admin)" +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/security-manager.manifest . + cp ${S}/packaging/libsecurity-manager-client.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + export LDFLAGS+="-Wl,--rpath=${prefix}/lib" + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DVERSION=0.2.0 \ + -DBIN_INSTALL_DIR=${prefix}/bin \ + -DDB_INSTALL_DIR=${prefix}/dbspace \ + -DSYSTEMD_INSTALL_DIR=${systemd_unitdir}/system \ + -DCMAKE_BUILD_TYPE=RELEASE \ + -DCMAKE_VERBOSE_MAKEFILE=ON + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/security-manager + cp LICENSE ${D}/usr/share/license/libsecurity-manager-client + mkdir -p ${D}/${sysconfdir}/smack + cp app-rules-template.smack ${D}/${sysconfdir}/smack + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/${systemd_unitdir}/system/multi-user.target.wants + mkdir -p ${D}/${systemd_unitdir}/system/sockets.target.wants + ln -s ../security-manager.service ${D}/${systemd_unitdir}/system/multi-user.target.wants/security-manager.service + ln -s ../security-manager.socket ${D}/${systemd_unitdir}/system/sockets.target.wants/security-manager.socket + + +} + +pkg_postinst_libsecurity-manager-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + systemctl daemon-reload + if [ $1 = 1 ]; then + # installation + systemctl start security-manager.service + fi + if [ $1 = 2 ]; then + # update + systemctl restart security-manager.service + fi + chsmack -a System $D${prefix}/dbspace/.security-manager.db + chsmack -a System $D${prefix}/dbspace/.security-manager.db-journal + +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ $1 = 0 ]; then + # unistall + systemctl stop security-manager.service + fi + +} + +pkg_postrm_libsecurity-manager-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + if [ $1 = 0 ]; then + # unistall + systemctl daemon-reload + fi + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " security-manager " +PACKAGES += " libsecurity-manager-client " +PACKAGES += " libsecurity-manager-client-dev " + +security-manager_files = "" +security-manager_files += "${prefix}/bin/security-manager" +security-manager_files += "${prefix}/lib/libsecurity-manager-commons.so.*" +security-manager_files += "${systemd_unitdir}/system/multi-user.target.wants/security-manager.service" +security-manager_files += "${systemd_unitdir}/system/security-manager.service" +security-manager_files += "${systemd_unitdir}/system/security-manager.target" +security-manager_files += "${systemd_unitdir}/system/sockets.target.wants/security-manager.socket" +security-manager_files += "${systemd_unitdir}/system/security-manager.socket" +security-manager_files += "${sysconfdir}/smack/app-rules-template.smack" +security-manager_files += "%attr(0600,root,root) ${prefix}/dbspace/.security-manager.db" +security-manager_files += "%attr(0600,root,root) ${prefix}/dbspace/.security-manager.db-journal" +security-manager_files += "${prefix}/share/license/security-manager" +MANIFESTFILES_${PN} = "security-manager.manifest" + +libsecurity-manager-client_files = "" +libsecurity-manager-client_files += "${prefix}/lib/libsecurity-manager-client.so.*" +libsecurity-manager-client_files += "${prefix}/share/license/libsecurity-manager-client" +MANIFESTFILES_lib${PN}-client = "libsecurity-manager-client.manifest" + +libsecurity-manager-client-dev_files = "" +libsecurity-manager-client-dev_files += "${prefix}/lib/libsecurity-manager-client.so" +libsecurity-manager-client-dev_files += "${prefix}/lib/libsecurity-manager-commons.so" +libsecurity-manager-client-dev_files += "${prefix}/include/security-manager/security-manager.h" +libsecurity-manager-client-dev_files += "${prefix}/lib/pkgconfig/security-manager.pc" +MANIFESTFILES_lib${PN}-client-dev = "security-manager.manifest" + +FILES_${PN} = "${security-manager_files}" +FILES_lib${PN}-client = "${libsecurity-manager-client_files}" +FILES_lib${PN}-client-dev = "${libsecurity-manager-client-dev_files}" + +PKG_security-manager= "security-manager" +PKG_libsecurity-manager-client= "libsecurity-manager-client" +PKG_libsecurity-manager-client-dev= "libsecurity-manager-client-dev" + +require security-manager-extraconf.inc + diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/security-manager/security-manager_git.bb b/meta-tizen/meta-tizen-common-base/recipes-security/security-manager/security-manager_git.bb new file mode 100644 index 0000000000..a927a8c503 --- /dev/null +++ b/meta-tizen/meta-tizen-common-base/recipes-security/security-manager/security-manager_git.bb @@ -0,0 +1,10 @@ +require security-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/security-manager;tag=3dec492df1a5a937ceed39c4985d9659860e5783;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/security-server/security-server.inc b/meta-tizen/meta-tizen-common-base/recipes-security/security-server/security-server.inc index 00059c4693..bf02afed7b 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/security-server/security-server.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/security-server/security-server.inc @@ -107,7 +107,7 @@ do_compile() { -DCMAKE_VERBOSE_MAKEFILE=ON \ -DSYSTEMD_DIR=${systemd_unitdir}/system - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/smack/smack.inc b/meta-tizen/meta-tizen-common-base/recipes-security/smack/smack.inc index 737304eeb4..fcf10c725b 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/smack/smack.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/smack/smack.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Selection of tools for developers working with Smack" HOMEPAGE = "http://nohomepage.org" SECTION = "Security/Access Control" LICENSE = "LGPL-2.1" -PV = "1.0.4" +PV = "1.0.5" SRC_URI = "" @@ -68,7 +68,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/smack/smack_git.bb b/meta-tizen/meta-tizen-common-base/recipes-security/smack/smack_git.bb index 7671784643..f200db7719 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/smack/smack_git.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-security/smack/smack_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/smack;tag=aab09845e6c314b621a9f3756dd2504c2498d569;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/smack;tag=66a110344be79ff2968ff6817ec72f569d852c17;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-base/recipes-security/xmlsec1/xmlsec1.inc b/meta-tizen/meta-tizen-common-base/recipes-security/xmlsec1/xmlsec1.inc index eab2641c45..6486825221 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-security/xmlsec1/xmlsec1.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-security/xmlsec1/xmlsec1.inc @@ -82,7 +82,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-social/calendar-service/calendar-service.inc b/meta-tizen/meta-tizen-common-base/recipes-social/calendar-service/calendar-service.inc index f6a7ae72ca..c701cf03e1 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-social/calendar-service/calendar-service.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-social/calendar-service/calendar-service.inc @@ -87,7 +87,7 @@ do_compile() { ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-social/contacts-service/contacts-service.inc b/meta-tizen/meta-tizen-common-base/recipes-social/contacts-service/contacts-service.inc index 5e47470bf3..1a62553399 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-social/contacts-service/contacts-service.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-social/contacts-service/contacts-service.inc @@ -95,7 +95,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DTZ_SYS_ETC=${sysconfdir} - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-social/evolution-data-server/evolution-data-server.inc b/meta-tizen/meta-tizen-common-base/recipes-social/evolution-data-server/evolution-data-server.inc index b23345c95b..16b0e500b3 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-social/evolution-data-server/evolution-data-server.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-social/evolution-data-server/evolution-data-server.inc @@ -129,7 +129,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} V=1 + oe_runmake -j16 V=1 diff --git a/meta-tizen/meta-tizen-common-base/recipes-social/libaccounts-svc/libaccounts-svc.inc b/meta-tizen/meta-tizen-common-base/recipes-social/libaccounts-svc/libaccounts-svc.inc index 9522088a5b..4c821da883 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-social/libaccounts-svc/libaccounts-svc.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-social/libaccounts-svc/libaccounts-svc.inc @@ -82,7 +82,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-social/pims-ipc/pims-ipc.inc b/meta-tizen/meta-tizen-common-base/recipes-social/pims-ipc/pims-ipc.inc index 75452a14bf..fac8124034 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-social/pims-ipc/pims-ipc.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-social/pims-ipc/pims-ipc.inc @@ -70,7 +70,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-support/adns/adns.inc b/meta-tizen/meta-tizen-common-base/recipes-support/adns/adns.inc index 80a0fb62f2..6878c33ac4 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-support/adns/adns.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-support/adns/adns.inc @@ -59,7 +59,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} all + oe_runmake -j16 all diff --git a/meta-tizen/meta-tizen-common-base/recipes-telephony/libtapi/libtapi.inc b/meta-tizen/meta-tizen-common-base/recipes-telephony/libtapi/libtapi.inc index e9ea4b108d..42dbc75acb 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-telephony/libtapi/libtapi.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-telephony/libtapi/libtapi.inc @@ -74,7 +74,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-telephony/libtapi3/libtapi3.inc b/meta-tizen/meta-tizen-common-base/recipes-telephony/libtapi3/libtapi3.inc index 347eea4521..746ff77ce6 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-telephony/libtapi3/libtapi3.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-telephony/libtapi3/libtapi3.inc @@ -71,7 +71,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . -DTAPI_VERSION=3.0.1 - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-base/recipes-webframework/libwebsockets/libwebsockets.inc b/meta-tizen/meta-tizen-common-base/recipes-webframework/libwebsockets/libwebsockets.inc index 5c20030191..0eec520e9f 100644 --- a/meta-tizen/meta-tizen-common-base/recipes-webframework/libwebsockets/libwebsockets.inc +++ b/meta-tizen/meta-tizen-common-base/recipes-webframework/libwebsockets/libwebsockets.inc @@ -74,7 +74,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} -DWITH_SSL=On -DWITH_SD_DAEMON=ON - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-demo/recipes-graphics/weston-common/weston-common.inc b/meta-tizen/meta-tizen-common-demo/recipes-graphics/weston-common/weston-common.inc index 235d58cdfc..ec871bf15c 100644 --- a/meta-tizen/meta-tizen-common-demo/recipes-graphics/weston-common/weston-common.inc +++ b/meta-tizen/meta-tizen-common-demo/recipes-graphics/weston-common/weston-common.inc @@ -84,7 +84,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin.inc b/meta-tizen/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin.inc index 9e22cda63a..92425ced72 100644 --- a/meta-tizen/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin.inc +++ b/meta-tizen/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin.inc @@ -62,11 +62,13 @@ do_install() { mkdir -p ${D}${prefix}/bin install -m 755 Script/launch_cam.sh ${D}${prefix}/bin install -m 755 Script/launch_video.sh ${D}${prefix}/bin + install -m 755 Script/launch_video2.sh ${D}${prefix}/bin install -m 755 Script/mark_image.py ${D}${prefix}/bin install -m 755 Script/wifi ${D}${prefix}/bin mkdir -p ${D}${prefix}/share/media/videos install -m 644 Video/AmazingNature_480p.mp4 ${D}${prefix}/share/media/videos + install -m 644 Video/Caminandes_1080p.mp4 ${D}${prefix}/share/media/videos mkdir -p ${D}${prefix}/share/media/photos install -m 644 Photos/* ${D}${prefix}/share/media/photos @@ -78,8 +80,7 @@ do_install() { install -m 644 applications/tizen/* ${D}${prefix}/share/applications/tizen mkdir -p ${D}${prefix}/share/backgrounds/tizen - install -m 644 backgrounds/tizen/golfe-morbihan.jpg ${D}${prefix}/share/backgrounds/tizen/golfe-morbihan.jpg - install -m 644 backgrounds/tizen/tizen_common.png ${D}${prefix}/share/backgrounds/tizen/tizen_common.png + install -m 644 backgrounds/tizen/tizen_common_3.0.png ${D}${prefix}/share/backgrounds/tizen/tizen_common_3.0.png } @@ -87,7 +88,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ln -sf tizen_common.png $D${prefix}/share/backgrounds/tizen/current + ln -sf tizen_common_3.0.png $D${prefix}/share/backgrounds/tizen/current } @@ -96,7 +97,7 @@ PACKAGES += " desktop-skin " desktop-skin_files = "" desktop-skin_files += "${prefix}/bin/*" -desktop-skin_files += "${prefix}/share/media/videos/AmazingNature_480p.mp4" +desktop-skin_files += "${prefix}/share/media/videos/*" desktop-skin_files += "${prefix}/share/media/photos/*" desktop-skin_files += "${prefix}/share/icons/tizen/32x32/*" desktop-skin_files += "${prefix}/share/applications/tizen/*" diff --git a/meta-tizen/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin_git.bb b/meta-tizen/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin_git.bb index 3bde50f43c..972e6b2a06 100644 --- a/meta-tizen/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin_git.bb +++ b/meta-tizen/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/common/desktop-skin;tag=ac4f1b6b5e6021c5ef6e9e3033e06215d4ba1274;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/common/desktop-skin;tag=2f3deede9240f192b540266a923b98425d072f92;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-devtools/recipes-devtools/common-multimedia-suite/common-multimedia-suite.inc b/meta-tizen/meta-tizen-common-devtools/recipes-devtools/common-multimedia-suite/common-multimedia-suite.inc index c91879f9bd..da643da1cf 100644 --- a/meta-tizen/meta-tizen-common-devtools/recipes-devtools/common-multimedia-suite/common-multimedia-suite.inc +++ b/meta-tizen/meta-tizen-common-devtools/recipes-devtools/common-multimedia-suite/common-multimedia-suite.inc @@ -69,7 +69,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-devtools/recipes-devtools/testkit-stub/testkit-stub.inc b/meta-tizen/meta-tizen-common-devtools/recipes-devtools/testkit-stub/testkit-stub.inc index 1ae938db6d..cbb4410dbf 100644 --- a/meta-tizen/meta-tizen-common-devtools/recipes-devtools/testkit-stub/testkit-stub.inc +++ b/meta-tizen/meta-tizen-common-devtools/recipes-devtools/testkit-stub/testkit-stub.inc @@ -42,7 +42,7 @@ do_compile() { unset DISPLAY LD_AS_NEEDED=1; export LD_AS_NEEDED ; - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master.inc b/meta-tizen/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master.inc index 4add46bdf9..97e8f73a45 100644 --- a/meta-tizen/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master.inc +++ b/meta-tizen/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master.inc @@ -58,7 +58,7 @@ do_compile() { ./autogen.sh autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master_git.bb b/meta-tizen/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master_git.bb index 4ea4939580..a2b0ca0bc2 100644 --- a/meta-tizen/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master_git.bb +++ b/meta-tizen/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/test/generic/wayland-fits;tag=4daee8f77b2589fc14f98cbf4c4a6b1967c5d06e;nobranch=1" +SRC_URI += "git://review.tizen.org/test/generic/wayland-fits;tag=c299b70e1df4b8e28beeac3bc80134b7baf2abe6;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info.inc b/meta-tizen/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info.inc index e723ffc0a6..a4dc736022 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info.inc @@ -46,7 +46,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-share/recipes-connectivity/ofono/ofono.inc b/meta-tizen/meta-tizen-common-share/recipes-connectivity/ofono/ofono.inc index 4313e23116..01638a5e9c 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-connectivity/ofono/ofono.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-connectivity/ofono/ofono.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Open Source Telephony" HOMEPAGE = "http://ofono.org" SECTION = "Telephony/Cellular" LICENSE = "GPL-2.0" -PV = "1.14" +PV = "1.15" SRC_URI = "" @@ -47,12 +47,12 @@ DEPENDS = "" #DEPENDS of ofono DEPENDS += "mobile-broadband-provider-info" DEPENDS += "dbus" +DEPENDS += "glib-2.0" inherit pkgconfig DEPENDS += "udev" DEPENDS_append_class-native = " automake-native" DEPENDS_append_class-target = " automake-native" DEPENDS += "bluez5" -DEPENDS += "glib-2.0" DEPENDS_append_class-native = " libtool" DEPENDS_append_class-target = " libtool-cross" DEPENDS_append_class-native = " autoconf-native" @@ -86,7 +86,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-share/recipes-connectivity/ofono/ofono_git.bb b/meta-tizen/meta-tizen-common-share/recipes-connectivity/ofono/ofono_git.bb index 50d2ecedc4..9d2a1ddee2 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-connectivity/ofono/ofono_git.bb +++ b/meta-tizen/meta-tizen-common-share/recipes-connectivity/ofono/ofono_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/upstream/ofono;tag=f611670427a989b25a60dcfe0940efa424849931;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/upstream/ofono;tag=02f89fd9a48fccc1702de9cc8f5c76cb72f54bc2;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-share/recipes-core/murphy/murphy.inc b/meta-tizen/meta-tizen-common-share/recipes-core/murphy/murphy.inc index dbcecaf351..ca55441fac 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-core/murphy/murphy.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-core/murphy/murphy.inc @@ -210,7 +210,7 @@ do_compile() { autotools_do_configure oe_runmake clean - oe_runmake ${PARALLEL_MAKE} $V + oe_runmake -j16 $V diff --git a/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc b/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc index 96c4174842..e358cba103 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Chromium-based app runtime" HOMEPAGE = "https://github.com/otcshare/crosswalk" SECTION = "Web Framework/Web Run Time" LICENSE = "(BSD-3-Clause and LGPL-2.1+)" -PV = "11.39.256.0" +PV = "11.40.277.0" SRC_URI = "" @@ -25,6 +25,7 @@ RDEPENDS_${PN} += "ss-server" DEPENDS = "" #DEPENDS of crosswalk-thirdparty +DEPENDS += "pkgconfig(protobuf)" DEPENDS += "cairo" DEPENDS += "expat" DEPENDS += "udev" @@ -70,7 +71,6 @@ do_prep() { # The profiles using Wayland (and thus Ozone) do not need this patch. - } do_patch_append() { bb.build.exec_func('do_prep', d) @@ -87,18 +87,23 @@ do_compile() { LD_AS_NEEDED=1; export LD_AS_NEEDED ; - # Stop unconditionally passing -Wall to the compiler. Chromium has its own # mechanisms for deciding which parts of the code need -Wall and which need it # to be left out (since several pieces are built with -Werror). At least in # M39, this is preventing the "rtc_base" target from being built because it # does not expect -Wall to be passed to the compiler (see webrtc issue 3307). - export CXXFLAGS="`echo $CXXFLAGS | sed s,-Wall,,g`" + export CXXFLAGS=`echo $CXXFLAGS | sed s,-Wall,,g` + + # Do not use -finline-functions: it breaks the build because it causes -Wall to + # warn about some conditions that cannot really be reached (ie. variables that + # may be used uninitialized while in fact thay cannot be uninitialized). See + # TC-2299. + export CXXFLAGS=`echo $CXXFLAGS | sed s,-finline-functions,,g` # For ffmpeg on ia32. The original CFLAGS set by the gyp and config files in # src/third_party/ffmpeg already pass -O2 -fomit-frame-pointer, but Tizen's # CFLAGS end up appending -fno-omit-frame-pointer. See http://crbug.com/37246 - export CFLAGS="`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g`" + export CFLAGS=`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g` # Building the RPM in the GBS chroot fails with errors such as @@ -122,8 +127,8 @@ do_compile() { GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_ozone=1" - # disable nacl if necessary - GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_nacl=1" + # Force gold binary from chroot ld.gold provided by binutils-gold + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_nacl=1 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 " # Linking fails when fatal ld warnings are enabled. See XWALK-1379. GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_fatal_linker_warnings=1" @@ -138,7 +143,6 @@ do_compile() { - # --no-parallel is added because chroot does not mount a /dev/shm, this will # cause python multiprocessing.SemLock error. export GYP_GENERATORS='ninja' @@ -149,6 +153,7 @@ do_compile() { -Dclang=0 \ -Dlinux_use_bundled_binutils=0 \ -Dlinux_use_bundled_gold=0 \ + -Dlinux_use_gold_flags=1 \ -Dtizen=1 \ -Dpython_ver=2.7 \ -Duse_aura=1 \ @@ -159,11 +164,13 @@ do_compile() { -Duse_system_bzip2=1 \ -Duse_system_libexif=1 \ -Duse_system_libxml=1 \ + -Duse_system_protobuf=1 \ -Duse_system_yasm=1 \ - -Dshared_process_mode=1 \ - -Denable_hidpi=1 + -Denable_hidpi=1 \ + -Dwerror= \ + -Dskia_warnings_as_errors=0 - ninja ${PARALLEL_MAKE} -C src/out/Release xwalk-thirdparty + ninja -j16 -C src/out/Release xwalk-thirdparty diff --git a/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty_git.bb b/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty_git.bb index 3dd38da4dd..ba05b196bb 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty_git.bb +++ b/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk;tag=9d718a45fac51495fb01bf6fd13510a9be4c7272;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk;tag=e02d90f63d504e1126cdb98e24cd0bd168b0d4d9;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc b/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc index 81fa41b1a6..51881dd80b 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Chromium-based app runtime" HOMEPAGE = "https://github.com/otcshare/crosswalk" SECTION = "Web Framework/Web Run Time" LICENSE = "(BSD-3-Clause and LGPL-2.1+)" -PV = "11.39.256.0" +PV = "11.40.277.0" SRC_URI = "" @@ -16,14 +16,30 @@ PROVIDES = "" #PROVIDES by crosswalk +#PROVIDES by widget-manifest-parser +PROVIDES += "widget-manifest-parser" + + +#PROVIDES by widget-manifest-parser-dev +PROVIDES += "widget-manifest-parser-dev" + + RDEPENDS = "" #RDEPENDS of crosswalk (${PN}) RDEPENDS_${PN} += "ca-certificates-tizen" RDEPENDS_${PN} += "ss-server" +#RDEPENDS of widget-manifest-parser (widget-manifest-parser) +RDEPENDS_widget-manifest-parser += "crosswalk" + +#RDEPENDS of widget-manifest-parser-dev (widget-manifest-parser-dev) +RDEPENDS_widget-manifest-parser-dev += "crosswalk" +RDEPENDS_widget-manifest-parser-dev += "widget-manifest-parser" + DEPENDS = "" #DEPENDS of crosswalk +DEPENDS += "pkgconfig(protobuf)" DEPENDS += "cairo" DEPENDS += "pkgmgr" DEPENDS += "expat" @@ -42,7 +58,6 @@ DEPENDS += "yasm" DEPENDS += "fontconfig" DEPENDS += "system-server" DEPENDS += "wayland" -DEPENDS += "tizen-platform-wrapper" DEPENDS += "which" DEPENDS += "libxml2" DEPENDS_append_class-native = " bison-native" @@ -64,9 +79,8 @@ DEPENDS_append_class-target = " ninja-native" DEPENDS += "pango" DEPENDS += "vconf" DEPENDS += "virtual/egl" -DEPENDS += "nspr" -DEPENDS += "dbus" DEPENDS += "libxkbcommon" +DEPENDS += "dbus" DEPENDS += "pulseaudio" DEPENDS += "libexif" DEPENDS += "ail" @@ -85,15 +99,18 @@ do_prep() { cp ${S}/packaging/crosswalk.xml.in . cp ${S}/packaging/crosswalk.png . cp ${S}/packaging/changedate.py . - sed "s/@VERSION@/11.39.256.0/g" crosswalk.xml.in > crosswalk.xml + sed "s/@VERSION@/11.40.277.0/g" crosswalk.xml.in > crosswalk.xml sed "s|@LIB_INSTALL_DIR@|${prefix}/lib|g" xwalk.in > xwalk sed "s|@LIB_INSTALL_DIR@|${prefix}/lib|g" xwalk.service.in > xwalk.service + # Widget manifest parser devel + cp src/xwalk/tizen/widget-manifest-parser/widget-manifest-parser.pc.in . + sed "s|@VERSION@|11.40.277.0|g" widget-manifest-parser.pc.in > widget-manifest-parser.pc + cp -a src/AUTHORS AUTHORS.chromium cp -a src/LICENSE LICENSE.chromium cp -a src/xwalk/LICENSE LICENSE.xwalk - # The profiles using Wayland (and thus Ozone) do not need this patch. @@ -114,9 +131,7 @@ do_compile() { mkdir -p src/out - if [ -f ${prefix}/share/crosswalk-thirdparty/out.tgz ]; then tar -zxvf ${prefix}/share/crosswalk-thirdparty/out.tgz - fi python ./changedate.py # Stop unconditionally passing -Wall to the compiler. Chromium has its own @@ -124,12 +139,12 @@ do_compile() { # to be left out (since several pieces are built with -Werror). At least in # M39, this is preventing the "rtc_base" target from being built because it # does not expect -Wall to be passed to the compiler (see webrtc issue 3307). - export CXXFLAGS="`echo $CXXFLAGS | sed s,-Wall,,g`" + export CXXFLAGS=`echo $CXXFLAGS | sed s,-Wall,,g` # For ffmpeg on ia32. The original CFLAGS set by the gyp and config files in # src/third_party/ffmpeg already pass -O2 -fomit-frame-pointer, but Tizen's # CFLAGS end up appending -fno-omit-frame-pointer. See http://crbug.com/37246 - export CFLAGS="`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g`" + export CFLAGS=`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g` # Building the RPM in the GBS chroot fails with errors such as @@ -153,8 +168,8 @@ do_compile() { GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_ozone=1" - # disable nacl if necessary - GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_nacl=1" + # Force gold binary from chroot ld.gold provided by binutils-gold + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_nacl=1 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 " # Linking fails when fatal ld warnings are enabled. See XWALK-1379. GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_fatal_linker_warnings=1" @@ -179,6 +194,7 @@ do_compile() { -Dclang=0 \ -Dlinux_use_bundled_binutils=0 \ -Dlinux_use_bundled_gold=0 \ + -Dlinux_use_gold_flags=1 \ -Dtizen=1 \ -Dpython_ver=2.7 \ -Duse_aura=1 \ @@ -192,9 +208,11 @@ do_compile() { -Duse_system_nspr=1 \ -Duse_system_yasm=1 \ -Dshared_process_mode=1 \ - -Denable_hidpi=1 + -Denable_hidpi=1 \ + -Dwerror= \ + -Dskia_warnings_as_errors=0 - ninja ${PARALLEL_MAKE} -C src/out/Release xwalk xwalk_launcher xwalk_application_tools + ninja -j16 -C src/out/Release xwalk xwalk_launcher xwalk_application_tools widget-manifest-parser @@ -228,8 +246,15 @@ do_install() { # PNaCl # Register xwalk to the package manager. - install -p -D crosswalk.xml ${D}${prefix}/share/packages/crosswalk.xml - install -p -D crosswalk.png ${D}${prefix}/share/icons/default/small/crosswalk.png + install -m 0644 -p -D crosswalk.xml ${D}${prefix}/share/packages/crosswalk.xml + install -m 0644 -p -D crosswalk.png ${D}${prefix}/share/icons/default/small/crosswalk.png + + # Widget manifest parser devel + install -m 0664 -p -D src/xwalk/tizen/widget-manifest-parser/widget-manifest-parser.h ${D}${prefix}/include/widget-manifest-parser/widget-manifest-parser.h + install -m 0664 -p -D widget-manifest-parser.pc ${D}${prefix}/lib/pkgconfig/widget-manifest-parser.pc + + # Widget manifest parser + install -m 0755 -p -D src/out/Release/lib/libwidget-manifest-parser.so ${D}${prefix}/lib/libwidget-manifest-parser.so } @@ -261,6 +286,8 @@ pkg_prerm_${PN}() { PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" PACKAGES += " crosswalk " +PACKAGES += " widget-manifest-parser " +PACKAGES += " widget-manifest-parser-dev " crosswalk_files = "" crosswalk_files += "${prefix}/bin/xwalkctl" @@ -278,9 +305,20 @@ crosswalk_files += "/usr/lib/systemd/user/xwalk.service" crosswalk_files += "${prefix}/share/xwalk/*" MANIFESTFILES_${PN} = "crosswalk.manifest" +widget-manifest-parser_files = "" +widget-manifest-parser_files += "${prefix}/lib/libwidget-manifest-parser.so" + +widget-manifest-parser-dev_files = "" +widget-manifest-parser-dev_files += "${prefix}/include/widget-manifest-parser/widget-manifest-parser.h" +widget-manifest-parser-dev_files += "${prefix}/lib/pkgconfig/widget-manifest-parser.pc" + FILES_${PN} = "${crosswalk_files}" +FILES_widget-manifest-parser = "${widget-manifest-parser_files}" +FILES_widget-manifest-parser-dev = "${widget-manifest-parser-dev_files}" PKG_crosswalk= "crosswalk" +PKG_widget-manifest-parser= "widget-manifest-parser" +PKG_widget-manifest-parser-dev= "widget-manifest-parser-dev" require crosswalk-extraconf.inc diff --git a/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk_git.bb b/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk_git.bb index 719f547093..3ca9b1b908 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk_git.bb +++ b/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk;tag=9d718a45fac51495fb01bf6fd13510a9be4c7272;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk;tag=e02d90f63d504e1126cdb98e24cd0bd168b0d4d9;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc b/meta-tizen/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc index f00b1739c9..a2d1908e1b 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Tizen Web APIs implemented using Crosswalk" HOMEPAGE = "http://nohomepage.org" SECTION = "Development/Libraries" LICENSE = "BSD-3-Clause and Apache-2.0" -PV = "0.120" +PV = "0.143" SRC_URI = "" @@ -124,7 +124,7 @@ do_compile() { ./tools/gyp/gyp $GYP_OPTIONS tizen-wrt.gyp - ninja -C out/Default ${PARALLEL_MAKE} + ninja -C out/Default -j16 diff --git a/meta-tizen/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk_git.bb b/meta-tizen/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk_git.bb index 44883d31cd..776f9262ba 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk_git.bb +++ b/meta-tizen/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/framework/web/tizen-extensions-crosswalk;tag=de1e9773449e3499dfbe11b7bddeacf2abee4755;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/framework/web/tizen-extensions-crosswalk;tag=68cfc61d4b96a335e5ba58c3997a4fbb629759fb;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-common-share/recipes-devtools/libICE/libICE.inc b/meta-tizen/meta-tizen-common-share/recipes-devtools/libICE/libICE.inc index 4516b695c5..31591eca0d 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-devtools/libICE/libICE.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-devtools/libICE/libICE.inc @@ -56,7 +56,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-share/recipes-devtools/libSM/libSM.inc b/meta-tizen/meta-tizen-common-share/recipes-devtools/libSM/libSM.inc index 103dd9fb37..3cfdac22e2 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-devtools/libSM/libSM.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-devtools/libSM/libSM.inc @@ -58,7 +58,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-share/recipes-devtools/xtrans/xtrans.inc b/meta-tizen/meta-tizen-common-share/recipes-devtools/xtrans/xtrans.inc index 5778d8f1db..39fde8fc15 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-devtools/xtrans/xtrans.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-devtools/xtrans/xtrans.inc @@ -48,7 +48,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-common-share/recipes-efl/edbus/edbus.inc b/meta-tizen/meta-tizen-common-share/recipes-efl/edbus/edbus.inc index 8a7282b335..ed1a29a137 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-efl/edbus/edbus.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-efl/edbus/edbus.inc @@ -57,7 +57,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-share/recipes-efl/efl-theme-tizen-hd/efl-theme-tizen-hd.inc b/meta-tizen/meta-tizen-common-share/recipes-efl/efl-theme-tizen-hd/efl-theme-tizen-hd.inc index 68305a64a2..b5894d364b 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-efl/efl-theme-tizen-hd/efl-theme-tizen-hd.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-efl/efl-theme-tizen-hd/efl-theme-tizen-hd.inc @@ -52,7 +52,7 @@ do_compile() { export CFLAGS="${CFLAGS} --fPIC" export LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=${prefix}/lib" - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-share/recipes-efl/efl/efl.inc b/meta-tizen/meta-tizen-common-share/recipes-efl/efl/efl.inc index 2abc774475..4fe0c22ae5 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-efl/efl/efl.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-efl/efl/efl.inc @@ -384,7 +384,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-share/recipes-efl/elementary/elementary.inc b/meta-tizen/meta-tizen-common-share/recipes-efl/elementary/elementary.inc index a6c814925f..1915b2e48a 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-efl/elementary/elementary.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-efl/elementary/elementary.inc @@ -2,7 +2,7 @@ DESCRIPTION = "EFL toolkit for small touchscreens" HOMEPAGE = "http://trac.enlightenment.org/e/wiki/Elementary" SECTION = "Graphics & UI Framework/Development" LICENSE = "LGPL-2.1+" -PV = "1.9.3" +PV = "1.12.2" SRC_URI = "" @@ -77,7 +77,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 @@ -144,7 +144,8 @@ elementary_files += "${prefix}/share/icons/elementary.png" MANIFESTFILES_${PN} = "elementary.manifest" elementary-dev_files = "" -elementary-dev_files += "${prefix}/include/elementary-1/*.h" +elementary-dev_files += "${prefix}/include/elementary-1/*.h*" +elementary-dev_files += "${prefix}/share/eolian/include/elementary-1/*.eo" elementary-dev_files += "${prefix}/lib/*.so" elementary-dev_files += "${prefix}/lib/pkgconfig/*.pc" elementary-dev_files += "${prefix}/lib/cmake/Elementary/ElementaryConfig.cmake" diff --git a/meta-tizen/meta-tizen-common-share/recipes-efl/lemolo/lemolo.inc b/meta-tizen/meta-tizen-common-share/recipes-efl/lemolo/lemolo.inc index 3e88c157dd..1d1b3b4747 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-efl/lemolo/lemolo.inc +++ b/meta-tizen/meta-tizen-common-share/recipes-efl/lemolo/lemolo.inc @@ -68,7 +68,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-common-share/recipes-efl/lemolo/lemolo_git.bb b/meta-tizen/meta-tizen-common-share/recipes-efl/lemolo/lemolo_git.bb index 932936b3c6..efb8eb5b3f 100644 --- a/meta-tizen/meta-tizen-common-share/recipes-efl/lemolo/lemolo_git.bb +++ b/meta-tizen/meta-tizen-common-share/recipes-efl/lemolo/lemolo_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/lemolo;tag=011e1d7ab747693bfddf72e566ef71d483e71492;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/lemolo;tag=24fe80b297c7498c9c4f72ed67a1e2fedaabcfd7;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/ail/ail.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/ail/ail.inc new file mode 100644 index 0000000000..3b2fa2c0c1 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/ail/ail.inc @@ -0,0 +1,209 @@ +DESCRIPTION = "Application Information Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Apache-2.0" +PV = "0.2.80" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ail +# the PROVIDES rules is ignore "libail = 0.2.80-0" +PROVIDES += "libail" +RPROVIDES_ail += "libail" + + +#PROVIDES by ail-dev +PROVIDES += "ail-dev" + + +#PROVIDES by ail-vconf-dev +PROVIDES += "ail-vconf-dev" + + +RDEPENDS = "" +#RDEPENDS of ail-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "tizen-platform-config" +RDEPENDS_${PN}-dev += "libail" +RDEPENDS_${PN}-dev += "smack" + +#RDEPENDS of ail-vconf-dev (${PN}-vconf-dev) +RDEPENDS_${PN}-vconf-dev += "libail" + + +DEPENDS = "" +#DEPENDS of ail +inherit tizen_cmake +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "smack" +DEPENDS += "sqlite3" +DEPENDS += "xdgmime" +DEPENDS += "vconf" +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ail.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + CFLAGS="$CFLAGS -fpic" + + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DTZ_SYS_RW_DESKTOP_APP=${prefix}/share/applications \ + -DBUILD_PKGTYPE=rpm + + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + # Create tizenglobalapp user needed for global installation + useradd -d $D${prefix}/apps -m tizenglobalapp -r -c "system user for common applications" -g root + #mkdir -p %TZ_SYS_RW_APP/.config/xwalk-service/applications + #cd %TZ_SYS_RW_APP/ + #ln -s .config/xwalk-service/applications/ + vconftool set -t string db/ail/ail_info "0" -f -s User + vconftool set -t string db/menuscreen/desktop "0" -f -s User + vconftool set -t string db/menu_widget/language "en_US.utf8" -f -s User + mkdir -p $D${prefix}/share/applications + mkdir -p $D${prefix}/share/applications + mkdir -p $D${prefix}/apps + mkdir -p $D${prefix}/dbspace + mkdir -p $D${prefix}/share/icons/default/small + chsmack -a '*' $D${prefix}/dbspace + chsmack -a '*' $D${prefix}/apps + chsmack -a '*' $D${prefix}/share/applications + chsmack -a '*' $D${prefix}/share/applications + chsmack -a '*' $D${prefix}/share/icons + chsmack -a '*' $D${prefix}/share/icons/default + chsmack -a '*' $D${prefix}/share/icons/default/small/ + chmod g+w $D${prefix}/share/applications + chmod g+w $D${prefix}/share/applications + chown tizenglobalapp:root $D${prefix}/share/applications + chown tizenglobalapp:root $D${prefix}/share/applications + chown tizenglobalapp:root $D${prefix}/apps + chown tizenglobalapp:root $D${prefix}/dbspace + chown tizenglobalapp:root $D${prefix}/dbspace + chown tizenglobalapp:root -R $D${prefix}/share/icons + ail_createdb 2>/dev/null + ail_syncdb 2>/dev/null + chsmack -a '*' $D${prefix}/dbspace/.app_info.db* + + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + if [ $1 == 0 ]; then + rm -f $D${prefix}/dbspace/.app_info.db* + fi + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " ail " +PACKAGES += " ail-dev " +PACKAGES += " ail-vconf-dev " + +ail_files = "" +ail_files += "${prefix}/bin/ail_createdb" +ail_files += "${prefix}/bin/ail_createdb_user" +ail_files += "${prefix}/bin/ail_syncdb" +ail_files += "${prefix}/bin/ail_syncdb_user" +ail_files += "${prefix}/bin/ail_initdb" +ail_files += "${prefix}/bin/ail_initdb_user" +ail_files += "${prefix}/bin/ail_fota" +ail_files += "${prefix}/bin/ail_desktop" +ail_files += "${prefix}/bin/ail_filter" +ail_files += "${prefix}/bin/ail_list" +ail_files += "${prefix}/bin/ail_package" +ail_files += "${prefix}/share/install-info/*" +ail_files += "${prefix}/lib/libail.so.0" +ail_files += "${prefix}/lib/libail.so.0.1.0" +MANIFESTFILES_${PN} = "ail.manifest" + +ail-dev_files = "" +ail-dev_files += "${prefix}/include/ail.h" +ail-dev_files += "${prefix}/lib/libail.so" +ail-dev_files += "${prefix}/lib/pkgconfig/ail.pc" +MANIFESTFILES_${PN}-dev = "ail.manifest" + +ail-vconf-dev_files = "" +ail-vconf-dev_files += "${prefix}/include/ail_vconf.h" + +FILES_${PN} = "${ail_files}" +FILES_${PN}-dev = "${ail-dev_files}" +FILES_${PN}-vconf-dev = "${ail-vconf-dev_files}" + +PKG_ail= "ail" +PKG_ail-dev= "ail-dev" +PKG_ail-vconf-dev= "ail-vconf-dev" + +require ail-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/ail/ail_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/ail/ail_git.bb new file mode 100644 index 0000000000..51a5b43c34 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/ail/ail_git.bb @@ -0,0 +1,10 @@ +require ail.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/ail;tag=139abb1c6feadabb95cd3e4a752c7833d8a3d468;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/alarm-manager/alarm-manager.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/alarm-manager/alarm-manager.inc new file mode 100644 index 0000000000..ea199e6090 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/alarm-manager/alarm-manager.inc @@ -0,0 +1,206 @@ +DESCRIPTION = "Alarm library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Apache-2.0" +PV = "0.4.86" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by alarm-manager + + +#PROVIDES by libalarm +PROVIDES += "libalarm" + + +#PROVIDES by alarm-server +PROVIDES += "alarm-server" + + +#PROVIDES by libalarm-dev +PROVIDES += "libalarm-dev" + + +RDEPENDS = "" +#RDEPENDS of libalarm (libalarm) +RDEPENDS_libalarm += "alarm-server" + +#RDEPENDS of alarm-server (alarm-server) +RDEPENDS_alarm-server += "systemd" + +#RDEPENDS of libalarm-dev (libalarm-dev) +RDEPENDS_libalarm-dev += "libalarm" + + +DEPENDS = "" +#DEPENDS of alarm-manager +DEPENDS += "dlog" +DEPENDS += "dbus" +DEPENDS += "app-svc" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "bundle" +DEPENDS += "aul" +DEPENDS += "system-server" +DEPENDS += "dbus-glib" +DEPENDS += "security-server" +DEPENDS += "heynoti" +DEPENDS += "glib-2.0" +DEPENDS += "libtapi" +DEPENDS += "vconf" +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/alarm-manager.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + dbus-binding-tool --mode=glib-server --prefix=alarm_manager ./alarm_mgr.xml > ./include/alarm-skeleton.h + dbus-binding-tool --mode=glib-client --prefix=alarm_manager ./alarm_mgr.xml > ./include/alarm-stub.h + dbus-binding-tool --mode=glib-server --prefix=alarm_client ./alarm-expire.xml > ./include/alarm-expire-skeleton.h + dbus-binding-tool --mode=glib-client --prefix=alarm_client ./alarm-expire.xml > ./include/alarm-expire-stub.h + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --disable-static" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + install -d ${D}${systemd_unitdir}/system/multi-user.target.wants + install -m0644 ${S}/packaging/alarm-server.service ${D}${systemd_unitdir}/system + ln -sf ../alarm-server.service ${D}${systemd_unitdir}/system/multi-user.target.wants/alarm-server.service + + mkdir -p ${D}/${sysconfdir}/udev/rules.d + install -m0644 ${S}/packaging/60-alarm-manager-rtc.rules ${D}${sysconfdir}/udev/rules.d/ + + mkdir -p ${D}/${sysconfdir}/dbus-1/system.d + install -m0644 ${S}/packaging/alarm-service.conf ${D}${sysconfdir}/dbus-1/system.d/ + + +} + +pkg_postinst_alarm-server() { + #!/bin/sh -e + + vconftool set -t int db/system/timechange 0 + vconftool set -t double db/system/timechange_external 0 + vconftool set -t int memory/system/timechanged 0 -i -g 5000 + systemctl daemon-reload + if [ $1 == 1 ]; then + systemctl restart alarm-server.service + fi + +} + +pkg_postinst_libalarm() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_prerm_alarm-server() { + #!/bin/sh -e + + if [ $1 == 0 ]; then + systemctl stop alarm-server.service + fi + +} + +pkg_postrm_libalarm() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_alarm-server() { + #!/bin/sh -e + + systemctl daemon-reload + if [ "$1" == 1 ]; then + systemctl restart net-config.service + fi + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libalarm " +PACKAGES += " alarm-server " +PACKAGES += " libalarm-dev " + +libalarm_files = "" +libalarm_files += "${prefix}/lib/libalarm.so.0.0.0" +libalarm_files += "${prefix}/lib/libalarm.so.0" +MANIFESTFILES_libalarm = "alarm-manager.manifest" + +alarm-server_files = "" +alarm-server_files += "${prefix}/bin/alarm-server" +alarm-server_files += "${systemd_unitdir}/system/multi-user.target.wants/alarm-server.service" +alarm-server_files += "${systemd_unitdir}/system/alarm-server.service" +alarm-server_files += "${sysconfdir}/dbus-1/system.d/alarm-service.conf" +alarm-server_files += "%config ${sysconfdir}/udev/rules.d/60-alarm-manager-rtc.rules" +CONFFILES_alarm-server = "" +CONFFILES_alarm-server += "${sysconfdir}/dbus-1/system.d/alarm-service.conf" +MANIFESTFILES_alarm-server = "alarm-manager.manifest" + +libalarm-dev_files = "" +libalarm-dev_files += "${prefix}/include/*.h" +libalarm-dev_files += "${prefix}/lib/pkgconfig/*.pc" +libalarm-dev_files += "${prefix}/lib/libalarm.so" +MANIFESTFILES_libalarm-dev = "alarm-manager.manifest" + +FILES_libalarm = "${libalarm_files}" +FILES_alarm-server = "${alarm-server_files}" +FILES_libalarm-dev = "${libalarm-dev_files}" + +PKG_libalarm= "libalarm" +PKG_alarm-server= "alarm-server" +PKG_libalarm-dev= "libalarm-dev" + +require alarm-manager-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/alarm-manager/alarm-manager_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/alarm-manager/alarm-manager_git.bb new file mode 100644 index 0000000000..211bb091df --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/alarm-manager/alarm-manager_git.bb @@ -0,0 +1,10 @@ +require alarm-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/alarm-manager;tag=19baeb3cdc026c400eef251ab4df53d2c3c05cf9;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-checker/app-checker.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-checker/app-checker.inc new file mode 100644 index 0000000000..33e4af67e2 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-checker/app-checker.inc @@ -0,0 +1,179 @@ +DESCRIPTION = "App Checker" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.0.16" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by app-checker-server-dev +PROVIDES += "app-checker-server-dev" + + +#PROVIDES by app-checker-dev +PROVIDES += "app-checker-dev" + + +#PROVIDES by app-checker + + +#PROVIDES by app-checker-server +PROVIDES += "app-checker-server" + + +RDEPENDS = "" +#RDEPENDS of app-checker-server-dev (${PN}-server-dev) +RDEPENDS_${PN}-server-dev += "app-checker-server" + +#RDEPENDS of app-checker-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "app-checker" + +#RDEPENDS of app-checker-server (${PN}-server) +RDEPENDS_${PN}-server += "app-checker" + + +DEPENDS = "" +#DEPENDS of app-checker +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/app-checker.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${prefix}/lib/ac-plugins + + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/app-checker + cp LICENSE ${D}/usr/share/license/app-checker-devel + cp LICENSE ${D}/usr/share/license/app-checker-server + cp LICENSE ${D}/usr/share/license/app-checker-server-devel + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " app-checker-server-dev " +PACKAGES += " app-checker-server " +PACKAGES += " app-checker " +PACKAGES += " app-checker-dev " + +app-checker-server-dev_files = "" +app-checker-server-dev_files += "${prefix}/lib/libapp-checker-server.so" +app-checker-server-dev_files += "${prefix}/lib/pkgconfig/app-checker-server.pc" +app-checker-server-dev_files += "${prefix}/include/app-checker/app-checker-server.h" +app-checker-server-dev_files += "/usr/share/license/app-checker-server-devel" +MANIFESTFILES_${PN}-server-dev = "app-checker.manifest" + +app-checker-server_files = "" +app-checker-server_files += "${prefix}/lib/libapp-checker-server.so.0" +app-checker-server_files += "${prefix}/lib/libapp-checker-server.so.0.1.0" +app-checker-server_files += "/usr/share/license/app-checker-server" +MANIFESTFILES_${PN}-server = "app-checker.manifest" + +app-checker_files = "" +app-checker_files += "${prefix}/lib/libapp-checker.so.0" +app-checker_files += "${prefix}/lib/libapp-checker.so.0.1.0" +app-checker_files += "${prefix}/lib/ac-plugins" +app-checker_files += "/usr/share/license/app-checker" +MANIFESTFILES_${PN} = "app-checker.manifest" + +app-checker-dev_files = "" +app-checker-dev_files += "${prefix}/lib/libapp-checker.so" +app-checker-dev_files += "${prefix}/lib/pkgconfig/app-checker.pc" +app-checker-dev_files += "${prefix}/include/app-checker/app-checker.h" +app-checker-dev_files += "/usr/share/license/app-checker-devel" +MANIFESTFILES_${PN}-dev = "app-checker.manifest" + +FILES_${PN}-server-dev = "${app-checker-server-dev_files}" +FILES_${PN}-server = "${app-checker-server_files}" +FILES_${PN} = "${app-checker_files}" +FILES_${PN}-dev = "${app-checker-dev_files}" + +PKG_app-checker-server-dev= "app-checker-server-dev" +PKG_app-checker-server= "app-checker-server" +PKG_app-checker= "app-checker" +PKG_app-checker-dev= "app-checker-dev" + +require app-checker-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-checker/app-checker_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-checker/app-checker_git.bb new file mode 100644 index 0000000000..22b47903aa --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-checker/app-checker_git.bb @@ -0,0 +1,10 @@ +require app-checker.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/app-checker;tag=70200243a1e419ff81a30fa8a436571422a33a3d;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-core/app-core.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-core/app-core.inc new file mode 100644 index 0000000000..1a6dc18436 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-core/app-core.inc @@ -0,0 +1,209 @@ +DESCRIPTION = "Application basic" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Apache-2.0" +PV = "1.2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by app-core-efl +PROVIDES += "app-core-efl" + + +#PROVIDES by app-core-template +PROVIDES += "app-core-template" + + +#PROVIDES by app-core + + +#PROVIDES by app-core-common-dev +PROVIDES += "app-core-common-dev" + + +#PROVIDES by app-core-common +PROVIDES += "app-core-common" + + +#PROVIDES by app-core-efl-dev +PROVIDES += "app-core-efl-dev" + + +RDEPENDS = "" +#RDEPENDS of app-core-efl (${PN}-efl) +RDEPENDS_${PN}-efl += "glibc" + +#RDEPENDS of app-core-common-dev (${PN}-common-dev) +RDEPENDS_${PN}-common-dev += "elementary" +RDEPENDS_${PN}-common-dev += "sensor" +RDEPENDS_${PN}-common-dev += "app-core-common" +RDEPENDS_${PN}-common-dev += "vconf" +RDEPENDS_${PN}-common-dev += "aul" + +#RDEPENDS of app-core-common (${PN}-common) +RDEPENDS_${PN}-common += "glibc" + +#RDEPENDS of app-core-efl-dev (${PN}-efl-dev) +RDEPENDS_${PN}-efl-dev += "app-core-efl" +RDEPENDS_${PN}-efl-dev += "app-core-common-dev" + + +DEPENDS = "" +#DEPENDS of app-core +DEPENDS += "librua" +inherit tizen_cmake +DEPENDS += "tizen-platform-config" +DEPENDS += "aul" +DEPENDS += "dlog" +inherit pkgconfig +DEPENDS += "elementary" +DEPENDS += "ecore" +DEPENDS += "glib-2.0" +DEPENDS += "sensor" +DEPENDS += "vconf" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/app-core.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . \ + -Dwith_wayland=TRUE\ + -DENABLE_GTK=OFF + + make -j16 + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -d ${D}${prefix}/lib/systemd/user/core-efl.target.wants + install -m0644 ${S}/packaging/core-efl-wayland.target ${D}${prefix}/lib/systemd/user/core-efl.target + + + +} + +pkg_postinst_app-core-common() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_app-core-efl() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_app-core-efl() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_app-core-common() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " app-core-efl-dev " +PACKAGES += " app-core-efl " +PACKAGES += " app-core-common " +PACKAGES += " app-core-common-dev " + +app-core-efl-dev_files = "" +app-core-efl-dev_files += "${prefix}/include/appcore/appcore-efl.h" +app-core-efl-dev_files += "${prefix}/lib/libappcore-efl.so" +app-core-efl-dev_files += "${prefix}/lib/pkgconfig/appcore-efl.pc" +MANIFESTFILES_${PN}-efl-dev = "app-core.manifest" + +app-core-efl_files = "" +app-core-efl_files += "${prefix}/lib/libappcore-efl.so.*" +MANIFESTFILES_${PN}-efl = "app-core.manifest" + +app-core-common_files = "" +app-core-common_files += "${prefix}/lib/libappcore-common.so.*" +app-core-common_files += "${prefix}/lib/systemd/user/core-efl.target" +app-core-common_files += "${prefix}/lib/systemd/user/core-efl.target.wants/" +MANIFESTFILES_${PN}-common = "app-core.manifest" + +app-core-common-dev_files = "" +app-core-common-dev_files += "${prefix}/lib/libappcore-common.so" +app-core-common-dev_files += "${prefix}/lib/pkgconfig/appcore-common.pc" +app-core-common-dev_files += "${prefix}/include/appcore/appcore-common.h" +app-core-common-dev_files += "${prefix}/include/SLP_Appcore_PG.h" +MANIFESTFILES_${PN}-common-dev = "app-core.manifest" + +FILES_${PN}-efl-dev = "${app-core-efl-dev_files}" +FILES_${PN}-efl = "${app-core-efl_files}" +FILES_${PN}-common = "${app-core-common_files}" +FILES_${PN}-common-dev = "${app-core-common-dev_files}" + +PKG_app-core-efl-dev= "app-core-efl-dev" +PKG_app-core-efl= "app-core-efl" +PKG_app-core-common= "app-core-common" +PKG_app-core-common-dev= "app-core-common-dev" + +require app-core-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-core/app-core_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-core/app-core_git.bb new file mode 100644 index 0000000000..ba7ec7f434 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-core/app-core_git.bb @@ -0,0 +1,10 @@ +require app-core.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/app-core;tag=d86d0066b93cf402badc408de591e54d6db6c164;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc.inc new file mode 100644 index 0000000000..0052cbf80a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc.inc @@ -0,0 +1,157 @@ +DESCRIPTION = "Application Service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Service" +LICENSE = "Apache-2.0" +PV = "0.1.53" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by app-svc + + +#PROVIDES by app-svc-dev +PROVIDES += "app-svc-dev" + + +RDEPENDS = "" +#RDEPENDS of app-svc (${PN}) +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of app-svc-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "app-svc" + + +DEPENDS = "" +#DEPENDS of app-svc +DEPENDS += "pkgmgr-info" +DEPENDS += "libsoup-2.4" +inherit tizen_cmake +DEPENDS += "iniparser" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "aul" +DEPENDS += "xdgmime" +DEPENDS += "ail" +DEPENDS += "bundle" +DEPENDS += "sqlite3" +DEPENDS += "ecore" +DEPENDS += "libprivilege-control" +DEPENDS += "glib-2.0" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + sed -i ${S}/packaging/app-svc.manifest -e "s|TZ_SYS_DB|${prefix}/dbspace|g" + cp ${S}/packaging/app-svc.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . \ + -Dwith_wayland=TRUE + + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # Create database + mkdir -p ${D}${prefix}/dbspace + sqlite3 ${D}${prefix}/dbspace/.appsvc.db < data/appsvc_db.sql + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " app-svc " +PACKAGES += " app-svc-dev " + +app-svc_files = "" +app-svc_files += "%verify(not md5 mtime size) %attr(664,root,users) ${prefix}/dbspace/.appsvc.db" +app-svc_files += "%verify(not md5 mtime size) %attr(664,root,users) ${prefix}/dbspace/.appsvc.db-journal" +app-svc_files += "${prefix}/bin/appsvc_test" +app-svc_files += "${prefix}/lib/libappsvc.so.0" +app-svc_files += "${prefix}/lib/libappsvc.so.0.1.0" +MANIFESTFILES_${PN} = "app-svc.manifest" + +app-svc-dev_files = "" +app-svc-dev_files += "${prefix}/lib/pkgconfig/appsvc.pc" +app-svc-dev_files += "${prefix}/lib/libappsvc.so" +app-svc-dev_files += "${prefix}/include/appsvc/appsvc.h" +MANIFESTFILES_${PN}-dev = "app-svc.manifest" + +FILES_${PN} = "${app-svc_files}" +FILES_${PN}-dev = "${app-svc-dev_files}" + +PKG_app-svc= "app-svc" +PKG_app-svc-dev= "app-svc-dev" + +require app-svc-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc_git.bb new file mode 100644 index 0000000000..66651b1502 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/app-svc/app-svc_git.bb @@ -0,0 +1,10 @@ +require app-svc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/app-svc;tag=859ec161b49125408a7c74cacc29e78ad27d9a3c;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/appcore-agent/appcore-agent.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/appcore-agent/appcore-agent.inc new file mode 100644 index 0000000000..c4e5036e77 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/appcore-agent/appcore-agent.inc @@ -0,0 +1,137 @@ +DESCRIPTION = "Agent Application basic" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Service" +LICENSE = "Apache-2.0" +PV = "1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by appcore-agent + + +#PROVIDES by appcore-agent-dev +PROVIDES += "appcore-agent-dev" + + +RDEPENDS = "" +#RDEPENDS of appcore-agent-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "appcore-agent" + + +DEPENDS = "" +#DEPENDS of appcore-agent +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "capi-appfw-application" +DEPENDS += "system-server" +DEPENDS += "aul" +DEPENDS += "glib-2.0" +DEPENDS += "vconf" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/appcore-agent.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " appcore-agent " +PACKAGES += " appcore-agent-dev " + +appcore-agent_files = "" +appcore-agent_files += "${prefix}/lib/libappcore-agent.so.1" +appcore-agent_files += "${prefix}/lib/libappcore-agent.so.1.1" +MANIFESTFILES_${PN} = "appcore-agent.manifest" + +appcore-agent-dev_files = "" +appcore-agent-dev_files += "${prefix}/lib/pkgconfig/appcore-agent.pc" +appcore-agent-dev_files += "${prefix}/lib/libappcore-agent.so" +appcore-agent-dev_files += "${prefix}/include/appcore-agent/appcore-agent.h" +appcore-agent-dev_files += "${prefix}/include/appcore-agent/service_app.h" +MANIFESTFILES_${PN}-dev = "appcore-agent.manifest" + +FILES_${PN} = "${appcore-agent_files}" +FILES_${PN}-dev = "${appcore-agent-dev_files}" + +PKG_appcore-agent= "appcore-agent" +PKG_appcore-agent-dev= "appcore-agent-dev" + +require appcore-agent-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/appcore-agent/appcore-agent_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/appcore-agent/appcore-agent_git.bb new file mode 100644 index 0000000000..6ec2b874ac --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/appcore-agent/appcore-agent_git.bb @@ -0,0 +1,10 @@ +require appcore-agent.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/appcore-agent;tag=e30036bce3773d3f647a35bc924d01e17da42962;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/aul/aul.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/aul/aul.inc new file mode 100644 index 0000000000..119a4a708c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/aul/aul.inc @@ -0,0 +1,222 @@ +DESCRIPTION = "App utility library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.0.300" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by aul + + +#PROVIDES by aul-dev +PROVIDES += "aul-dev" + + +#PROVIDES by aul-test +PROVIDES += "aul-test" + + +RDEPENDS = "" +#RDEPENDS of aul (${PN}) +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "systemd" + +#RDEPENDS of aul-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "aul" + +#RDEPENDS of aul-test (${PN}-test) +RDEPENDS_${PN}-test += "aul" + + +DEPENDS = "" +#DEPENDS of aul +DEPENDS += "pkgmgr-info" +DEPENDS += "librua" +inherit tizen_cmake +DEPENDS += "attr" +DEPENDS += "tizen-platform-config" +DEPENDS += "privacy-manager-server" +inherit pkgconfig +DEPENDS += "bundle" +DEPENDS += "ail" +DEPENDS += "smack" +DEPENDS += "dlog" +DEPENDS += "sqlite3" +DEPENDS += "xdgmime" +DEPENDS += "libprivilege-control" +DEPENDS += "app-checker" +DEPENDS += "vconf" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + sed -i 's|TZ_SYS_DB|${prefix}/dbspace|g' ${S}/packaging/aul.manifest + cp ${S}/packaging/aul.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}${sysconfdir}/init.d + install -m 755 launchpad_run ${D}${sysconfdir}/init.d + + mkdir -p ${D}${sysconfdir}/rc.d/rc3.d + mkdir -p ${D}${sysconfdir}/rc.d/rc4.d + ln -sf ../../init.d/launchpad_run ${D}/${sysconfdir}/rc.d/rc3.d/S34launchpad_run + ln -sf ../../init.d/launchpad_run ${D}/${sysconfdir}/rc.d/rc4.d/S80launchpad_run + + mkdir -p ${D}${prefix}/dbspace + sqlite3 ${D}${prefix}/dbspace/.mida.db < ${D}${prefix}/share/aul/mida_db.sql + rm -rf ${D}${prefix}/share/aul/mida_db.sql + + mkdir -p ${D}${systemd_unitdir}/system + mkdir -p ${D}${prefix}/lib/systemd/user + install -m 0644 ${S}/packaging/ac.service ${D}${systemd_unitdir}/system/ac.service + install -m 0644 ${S}/packaging/amd_session_agent.service ${D}${prefix}/lib/systemd/user/amd_session_agent.service + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + systemctl enable ac + systemctl --global enable amd_session_agent + systemctl daemon-reload + if [ $1 == 1 ]; then + systemctl restart ac.service + fi + +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ $1 == 0 ]; then + systemctl stop ac.service + systemctl disable ac + systemctl --global disable amd_session_agent + fi + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + systemctl daemon-reload + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " aul " +PACKAGES += " aul-dev " +PACKAGES += " aul-test " + +aul_files = "" +aul_files += "${prefix}/lib/libaul.so.0" +aul_files += "${prefix}/lib/libaul.so.0.1.0" +aul_files += "${sysconfdir}/init.d/launchpad_run" +aul_files += "${sysconfdir}/rc.d/rc3.d/S34launchpad_run" +aul_files += "${sysconfdir}/rc.d/rc4.d/S80launchpad_run" +aul_files += "%attr(0644,root,users) ${prefix}/dbspace/.mida.db" +aul_files += "%attr(0644,root,users) ${prefix}/dbspace/.mida.db-journal" +aul_files += "${prefix}/bin/aul_mime.sh" +aul_files += "${prefix}/bin/aul_test" +aul_files += "${prefix}/bin/app_launcher" +aul_files += "${prefix}/bin/amd_session_agent" +aul_files += "${prefix}/share/aul/miregex/*" +aul_files += "${prefix}/share/aul/service/*" +aul_files += "${prefix}/share/aul/preload_list.txt" +aul_files += "${prefix}/share/aul/preexec_list.txt" +aul_files += "${systemd_unitdir}/system/ac.service" +aul_files += "${prefix}/lib/systemd/user/amd_session_agent.service" +aul_files += "${prefix}/bin/amd" +aul_files += "${prefix}/bin/daemon-manager-release-agent" +aul_files += "${prefix}/bin/daemon-manager-launch-agent" +MANIFESTFILES_${PN} = "aul.manifest" + +aul-dev_files = "" +aul-dev_files += "${prefix}/include/aul/*.h" +aul-dev_files += "${prefix}/lib/*.so" +aul-dev_files += "${prefix}/lib/pkgconfig/*.pc" + +aul-test_files = "" +aul-test_files += "${prefix}/bin/launch_app" +aul-test_files += "${prefix}/bin/open_app" +aul-test_files += "${prefix}/bin/aul_service.sh" +aul-test_files += "${prefix}/bin/aul_service_test.sh" + +FILES_${PN} = "${aul_files}" +FILES_${PN}-dev = "${aul-dev_files}" +FILES_${PN}-test = "${aul-test_files}" + +PKG_aul= "aul" +PKG_aul-dev= "aul-dev" +PKG_aul-test= "aul-test" + +require aul-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/aul/aul_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/aul/aul_git.bb new file mode 100644 index 0000000000..ac674ad998 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/aul/aul_git.bb @@ -0,0 +1,10 @@ +require aul.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/aul-1;tag=70f6b2c9e5bb1e3a4071c60597c8cff9fa1ce035;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/badge/badge.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/badge/badge.inc new file mode 100644 index 0000000000..c32f11c64e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/badge/badge.inc @@ -0,0 +1,160 @@ +DESCRIPTION = "Badge library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Apache-2.0" +PV = "0.0.5" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by badge-dev +PROVIDES += "badge-dev" + + +#PROVIDES by badge + + +#PROVIDES by badge-service-dev +PROVIDES += "badge-service-dev" + + +RDEPENDS = "" +#RDEPENDS of badge-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "badge" + +#RDEPENDS of badge-service-dev (${PN}-service-dev) +RDEPENDS_${PN}-service-dev += "badge" + + +DEPENDS = "" +#DEPENDS of badge +inherit tizen_cmake +DEPENDS += "dbus" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "aul" +DEPENDS += "sqlite3" +DEPENDS += "libcom-core" +DEPENDS += "vconf" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/badge.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -D -m 0640 badge.sql ${D}${prefix}/share/badge/ressources/badge.sql + install -D -m 0750 ${S}/packaging/init_db.sh ${D}${prefix}/share/badge/ressources/init_db.sh + + +} + +pkg_postinst_badge() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_badge() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " badge-dev " +PACKAGES += " badge " +PACKAGES += " badge-service-dev " + +badge-dev_files = "" +badge-dev_files += "${prefix}/include/badge/badge.h" +badge-dev_files += "${prefix}/include/badge/badge_error.h" +badge-dev_files += "${prefix}/include/badge/badge_setting.h" +badge-dev_files += "${prefix}/lib/libbadge.so" +badge-dev_files += "${prefix}/lib/pkgconfig/badge.pc" +MANIFESTFILES_${PN}-dev = "badge.manifest" + +badge_files = "" +badge_files += "${prefix}/lib/libbadge.so.*" +badge_files += "${prefix}/share/badge" +badge_files += "${prefix}/share/badge/ressources/badge.sql" +badge_files += "${prefix}/share/badge/ressources/init_db.sh" +MANIFESTFILES_${PN} = "badge.manifest" + +badge-service-dev_files = "" +badge-service-dev_files += "${prefix}/include/badge/service/badge_db.h" +badge-service-dev_files += "${prefix}/include/badge/service/badge_setting_service.h" +badge-service-dev_files += "${prefix}/lib/pkgconfig/badge-service.pc" +MANIFESTFILES_${PN}-service-dev = "badge.manifest" + +FILES_${PN}-dev = "${badge-dev_files}" +FILES_${PN} = "${badge_files}" +FILES_${PN}-service-dev = "${badge-service-dev_files}" + +PKG_badge-dev= "badge-dev" +PKG_badge= "badge" +PKG_badge-service-dev= "badge-service-dev" + +require badge-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/badge/badge_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/badge/badge_git.bb new file mode 100644 index 0000000000..cc919379eb --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/badge/badge_git.bb @@ -0,0 +1,10 @@ +require badge.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/badge;tag=beb1dd6f05cbb53204aa044c169e75d1af9d19e7;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-app-manager/capi-appfw-app-manager.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-app-manager/capi-appfw-app-manager.inc new file mode 100644 index 0000000000..76bcc17ea3 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-app-manager/capi-appfw-app-manager.inc @@ -0,0 +1,139 @@ +DESCRIPTION = "Application Manager API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/API" +LICENSE = "Apache-2.0" +PV = "0.1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-appfw-app-manager + + +#PROVIDES by capi-appfw-app-manager-dev +PROVIDES += "capi-appfw-app-manager-dev" + + +RDEPENDS = "" +#RDEPENDS of capi-appfw-app-manager-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-appfw-app-manager" + + +DEPENDS = "" +#DEPENDS of capi-appfw-app-manager +inherit tizen_cmake +DEPENDS += "pkgmgr" +DEPENDS += "aul" +DEPENDS += "dlog" +inherit pkgconfig +DEPENDS += "ail" +DEPENDS += "pkgmgr-info" +DEPENDS += "glib-2.0" +DEPENDS += "vconf" +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-appfw-app-manager.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-appfw-app-manager " +PACKAGES += " capi-appfw-app-manager-dev " + +capi-appfw-app-manager_files = "" +capi-appfw-app-manager_files += "${prefix}/lib/libcapi-appfw-app-manager.so.*" +MANIFESTFILES_${PN} = "capi-appfw-app-manager.manifest" + +capi-appfw-app-manager-dev_files = "" +capi-appfw-app-manager-dev_files += "${prefix}/include/appfw/*.h" +capi-appfw-app-manager-dev_files += "${prefix}/lib/libcapi-appfw-app-manager.so" +capi-appfw-app-manager-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "capi-appfw-app-manager.manifest" + +FILES_${PN} = "${capi-appfw-app-manager_files}" +FILES_${PN}-dev = "${capi-appfw-app-manager-dev_files}" + +PKG_capi-appfw-app-manager= "capi-appfw-app-manager" +PKG_capi-appfw-app-manager-dev= "capi-appfw-app-manager-dev" + +require capi-appfw-app-manager-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-app-manager/capi-appfw-app-manager_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-app-manager/capi-appfw-app-manager_git.bb new file mode 100644 index 0000000000..4aa9d10d6a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-app-manager/capi-appfw-app-manager_git.bb @@ -0,0 +1,10 @@ +require capi-appfw-app-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/app-manager;tag=a75ddb92d8ea619e4d8ebb953fe14ded11ba8214;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-application/capi-appfw-application.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-application/capi-appfw-application.inc new file mode 100644 index 0000000000..a4c40a4138 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-application/capi-appfw-application.inc @@ -0,0 +1,146 @@ +DESCRIPTION = "An Application library in SLP C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" +PV = "0.1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-appfw-application-dev +PROVIDES += "capi-appfw-application-dev" + + +#PROVIDES by capi-appfw-application + + +RDEPENDS = "" +#RDEPENDS of capi-appfw-application-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-appfw-application" + + +DEPENDS = "" +#DEPENDS of capi-appfw-application +DEPENDS += "sqlite3" +inherit tizen_cmake +DEPENDS += "notification" +DEPENDS += "tizen-platform-config" +DEPENDS += "app-svc" +DEPENDS += "aul" +DEPENDS += "bundle" +inherit pkgconfig +DEPENDS += "ail" +DEPENDS += "alarm-manager" +DEPENDS += "dlog" +DEPENDS += "elementary" +DEPENDS += "app-core" +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-appfw-application.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${prefix}/share/license + cp LICENSE ${D}${prefix}/share/license/capi-appfw-application + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-appfw-application-dev " +PACKAGES += " capi-appfw-application " + +capi-appfw-application-dev_files = "" +capi-appfw-application-dev_files += "${prefix}/include/appfw/*.h" +capi-appfw-application-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-appfw-application-dev_files += "${prefix}/lib/libcapi-appfw-application.so" +MANIFESTFILES_${PN}-dev = "capi-appfw-application.manifest" + +capi-appfw-application_files = "" +capi-appfw-application_files += "${prefix}/lib/libcapi-appfw-application.so.*" +capi-appfw-application_files += "${prefix}/share/license/capi-appfw-application" +MANIFESTFILES_${PN} = "capi-appfw-application.manifest" + +FILES_${PN}-dev = "${capi-appfw-application-dev_files}" +FILES_${PN} = "${capi-appfw-application_files}" + +PKG_capi-appfw-application-dev= "capi-appfw-application-dev" +PKG_capi-appfw-application= "capi-appfw-application" + +require capi-appfw-application-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-application/capi-appfw-application_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-application/capi-appfw-application_git.bb new file mode 100644 index 0000000000..bcb62f592e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-application/capi-appfw-application_git.bb @@ -0,0 +1,10 @@ +require capi-appfw-application.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/application;tag=4383609dbe3f4b43240030d392bb1b81aef22b0f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager.inc new file mode 100644 index 0000000000..d732a28da3 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager.inc @@ -0,0 +1,143 @@ +DESCRIPTION = "Package Manager API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" +PV = "0.0.30" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-appfw-package-manager-dev +PROVIDES += "capi-appfw-package-manager-dev" + + +#PROVIDES by capi-appfw-package-manager + + +RDEPENDS = "" +#RDEPENDS of capi-appfw-package-manager-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-appfw-package-manager" + + +DEPENDS = "" +#DEPENDS of capi-appfw-package-manager +inherit tizen_cmake +DEPENDS += "pkgmgr" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "pkgmgr-info" +DEPENDS += "aul" +DEPENDS += "ail" +DEPENDS += "dlog" +DEPENDS += "vconf" +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-appfw-package-manager.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.0.30 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.0.30 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-appfw-package-manager-dev " +PACKAGES += " capi-appfw-package-manager " + +capi-appfw-package-manager-dev_files = "" +capi-appfw-package-manager-dev_files += "${prefix}/include/appfw/package_manager.h" +capi-appfw-package-manager-dev_files += "${prefix}/include/appfw/package_info.h" +capi-appfw-package-manager-dev_files += "${prefix}/lib/libcapi-appfw-package-manager.so" +capi-appfw-package-manager-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "capi-appfw-package-manager.manifest" + +capi-appfw-package-manager_files = "" +capi-appfw-package-manager_files += "${prefix}/lib/libcapi-appfw-package-manager.so.*" +capi-appfw-package-manager_files += "${prefix}/bin/pkgmgr_tool" +MANIFESTFILES_${PN} = "capi-appfw-package-manager.manifest" + +FILES_${PN}-dev = "${capi-appfw-package-manager-dev_files}" +FILES_${PN} = "${capi-appfw-package-manager_files}" + +PKG_capi-appfw-package-manager-dev= "capi-appfw-package-manager-dev" +PKG_capi-appfw-package-manager= "capi-appfw-package-manager" + +require capi-appfw-package-manager-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager_git.bb new file mode 100644 index 0000000000..217f3332d6 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-appfw-package-manager/capi-appfw-package-manager_git.bb @@ -0,0 +1,10 @@ +require capi-appfw-package-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/package-manager;tag=bdf7aa8d670c54979f59f23e07ecd70458eaf27e;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-base-common/capi-base-common.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-base-common/capi-base-common.inc new file mode 100644 index 0000000000..479f11fd4f --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-base-common/capi-base-common.inc @@ -0,0 +1,114 @@ +DESCRIPTION = "Common header files of Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "API/C API" +LICENSE = "Apache-2.0" +PV = "0.1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-base-common-dev +PROVIDES += "capi-base-common-dev" + + +#PROVIDES by capi-base-common + + +RDEPENDS = "" +#RDEPENDS of capi-base-common-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-base-common" + + +DEPENDS = "" +#DEPENDS of capi-base-common +inherit tizen_cmake + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-base-common.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-base-common-dev " +PACKAGES += " capi-base-common " + +capi-base-common-dev_files = "" +capi-base-common-dev_files += "${prefix}/include/*.h" +capi-base-common-dev_files += "${prefix}/lib/pkgconfig/capi-base-common.pc" +MANIFESTFILES_${PN}-dev = "capi-base-common.manifest" + +capi-base-common_files = "" +MANIFESTFILES_${PN} = "capi-base-common.manifest" + +FILES_${PN}-dev = "${capi-base-common-dev_files}" +FILES_${PN} = "${capi-base-common_files}" + +PKG_capi-base-common-dev= "capi-base-common-dev" +PKG_capi-base-common= "capi-base-common" + +require capi-base-common-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-base-common/capi-base-common_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-base-common/capi-base-common_git.bb new file mode 100644 index 0000000000..9eaf63557f --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-base-common/capi-base-common_git.bb @@ -0,0 +1,10 @@ +require capi-base-common.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/common;tag=09b56a10f65dd1869c2d1ea987190fa9d9cafd69;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content.inc new file mode 100644 index 0000000000..69aeb209d1 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content.inc @@ -0,0 +1,136 @@ +DESCRIPTION = "A Media content library in SLP C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" +PV = "0.2.59" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-content-media-content + + +#PROVIDES by capi-content-media-content-dev +PROVIDES += "capi-content-media-content-dev" + + +RDEPENDS = "" +#RDEPENDS of capi-content-media-content-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-content-media-content" + + +DEPENDS = "" +#DEPENDS of capi-content-media-content +DEPENDS += "libmedia-thumbnail" +inherit tizen_cmake +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "media-server" +DEPENDS += "capi-base-common" +DEPENDS += "libmedia-service" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-content-media-content.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.2.59 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.2.59 -DMAJORVER=${MAJORVER} + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-content-media-content " +PACKAGES += " capi-content-media-content-dev " + +capi-content-media-content_files = "" +capi-content-media-content_files += "${prefix}/lib/libcapi-content-media-content.so.*" +MANIFESTFILES_${PN} = "capi-content-media-content.manifest" + +capi-content-media-content-dev_files = "" +capi-content-media-content-dev_files += "${prefix}/include/media-content/*.h" +capi-content-media-content-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-content-media-content-dev_files += "${prefix}/lib/libcapi-content-media-content.so" +MANIFESTFILES_${PN}-dev = "capi-content-media-content.manifest" + +FILES_${PN} = "${capi-content-media-content_files}" +FILES_${PN}-dev = "${capi-content-media-content-dev_files}" + +PKG_capi-content-media-content= "capi-content-media-content" +PKG_capi-content-media-content-dev= "capi-content-media-content-dev" + +require capi-content-media-content-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content_git.bb new file mode 100644 index 0000000000..4d64b66ba2 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-content-media-content/capi-content-media-content_git.bb @@ -0,0 +1,10 @@ +require capi-content-media-content.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/media-content;tag=f8e097736df02e1686da42f2d56ea31ad4a7bac2;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-location-manager/capi-location-manager.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-location-manager/capi-location-manager.inc new file mode 100644 index 0000000000..357b740ee3 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-location-manager/capi-location-manager.inc @@ -0,0 +1,133 @@ +DESCRIPTION = "A Location Manager library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Location/API" +LICENSE = "Apache-2.0" +PV = "0.1.11" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-location-manager-dev +PROVIDES += "capi-location-manager-dev" + + +#PROVIDES by capi-location-manager + + +RDEPENDS = "" +#RDEPENDS of capi-location-manager-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-location-manager" + + +DEPENDS = "" +#DEPENDS of capi-location-manager +DEPENDS += "capi-base-common" +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "libslp-location" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-location-manager.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.1.11 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.11 -DMAJORVER=${MAJORVER} + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-location-manager-dev " +PACKAGES += " capi-location-manager " + +capi-location-manager-dev_files = "" +capi-location-manager-dev_files += "${prefix}/include/location/*.h" +capi-location-manager-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-location-manager-dev_files += "${prefix}/lib/libcapi-location-manager.so" +MANIFESTFILES_${PN}-dev = "capi-location-manager.manifest" + +capi-location-manager_files = "" +capi-location-manager_files += "${prefix}/lib/libcapi-location-manager.so.*" +MANIFESTFILES_${PN} = "capi-location-manager.manifest" + +FILES_${PN}-dev = "${capi-location-manager-dev_files}" +FILES_${PN} = "${capi-location-manager_files}" + +PKG_capi-location-manager-dev= "capi-location-manager-dev" +PKG_capi-location-manager= "capi-location-manager" + +require capi-location-manager-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-location-manager/capi-location-manager_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-location-manager/capi-location-manager_git.bb new file mode 100644 index 0000000000..c881013878 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-location-manager/capi-location-manager_git.bb @@ -0,0 +1,10 @@ +require capi-location-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/location-manager;tag=43decd22f1ae4fe02710e029e3f73b97b4b1778f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util.inc new file mode 100644 index 0000000000..5b24779a2f --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util.inc @@ -0,0 +1,141 @@ +DESCRIPTION = "A Image Utility library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" +PV = "0.1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-media-image-util-dev +PROVIDES += "capi-media-image-util-dev" + + +#PROVIDES by capi-media-image-util + + +RDEPENDS = "" +#RDEPENDS of capi-media-image-util-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libmm-utility" +RDEPENDS_${PN}-dev += "libmm-common" +RDEPENDS_${PN}-dev += "dlog" +RDEPENDS_${PN}-dev += "capi-media-image-util" +RDEPENDS_${PN}-dev += "capi-base-common" + + +DEPENDS = "" +#DEPENDS of capi-media-image-util +DEPENDS += "pkgconfig(capi-media-tool)" +inherit tizen_cmake +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "libmm-common" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "libmm-utility" +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-media-image-util.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-media-image-util-dev " +PACKAGES += " capi-media-image-util " + +capi-media-image-util-dev_files = "" +capi-media-image-util-dev_files += "${prefix}/lib/lib*.so" +capi-media-image-util-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-media-image-util-dev_files += "${prefix}/include/media/*.h" +MANIFESTFILES_${PN}-dev = "capi-media-image-util.manifest" + +capi-media-image-util_files = "" +capi-media-image-util_files += "${prefix}/lib/lib*.so.*" +MANIFESTFILES_${PN} = "capi-media-image-util.manifest" + +FILES_${PN}-dev = "${capi-media-image-util-dev_files}" +FILES_${PN} = "${capi-media-image-util_files}" + +PKG_capi-media-image-util-dev= "capi-media-image-util-dev" +PKG_capi-media-image-util= "capi-media-image-util" + +require capi-media-image-util-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util_git.bb new file mode 100644 index 0000000000..6069111922 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-image-util/capi-media-image-util_git.bb @@ -0,0 +1,10 @@ +require capi-media-image-util.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/image-util;tag=8d92beab51da8bbdca0099de4ed5dbc95f64555c;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager.inc new file mode 100644 index 0000000000..523e6b2f6e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager.inc @@ -0,0 +1,150 @@ +DESCRIPTION = "Sound Manager library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" +PV = "0.2.27" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-media-sound-manager-dev +PROVIDES += "capi-media-sound-manager-dev" + + +#PROVIDES by capi-media-sound-manager + + +RDEPENDS = "" +#RDEPENDS of capi-media-sound-manager-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-media-sound-manager" + +#RDEPENDS of capi-media-sound-manager (${PN}) +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "libprivilege-control" + + +DEPENDS = "" +#DEPENDS of capi-media-sound-manager +DEPENDS += "libmm-sound" +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "vconf" +DEPENDS += "capi-base-common" +DEPENDS += "libmm-session" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-media-sound-manager.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.2.27 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.2.27 -DMAJORVER=${MAJORVER} + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + mkdir -p ${D}/opt/usr/devel + cp LICENSE ${D}/usr/share/license/capi-media-sound-manager + cp test/sound_manager_test ${D}/opt/usr/devel + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + /usr/bin/api_feature_loader --verbose --dir=/usr/share/privilege-control + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-media-sound-manager-dev " +PACKAGES += " capi-media-sound-manager " + +capi-media-sound-manager-dev_files = "" +capi-media-sound-manager-dev_files += "${prefix}/include/media/sound_manager.h" +capi-media-sound-manager-dev_files += "${prefix}/include/media/sound_manager_internal.h" +capi-media-sound-manager-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-media-sound-manager-dev_files += "${prefix}/lib/libcapi-media-sound-manager.so" +MANIFESTFILES_${PN}-dev = "capi-media-sound-manager.manifest" + +capi-media-sound-manager_files = "" +capi-media-sound-manager_files += "${prefix}/lib/libcapi-media-sound-manager.so.*" +capi-media-sound-manager_files += "${prefix}/share/license/capi-media-sound-manager" +capi-media-sound-manager_files += "/opt/usr/devel/*" +MANIFESTFILES_${PN} = "capi-media-sound-manager.manifest" + +FILES_${PN}-dev = "${capi-media-sound-manager-dev_files}" +FILES_${PN} = "${capi-media-sound-manager_files}" + +PKG_capi-media-sound-manager-dev= "capi-media-sound-manager-dev" +PKG_capi-media-sound-manager= "capi-media-sound-manager" + +require capi-media-sound-manager-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager_git.bb new file mode 100644 index 0000000000..2f8a1677fb --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-sound-manager/capi-media-sound-manager_git.bb @@ -0,0 +1,10 @@ +require capi-media-sound-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/sound-manager;tag=4232dc89238c674ae1fcc240cb19547e2a92bae0;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player.inc new file mode 100644 index 0000000000..509ff40de9 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "A wav player library in Tizen C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/API" +LICENSE = "Apache-2.0" +PV = "0.1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-media-wav-player-dev +PROVIDES += "capi-media-wav-player-dev" + + +#PROVIDES by capi-media-wav-player + + +RDEPENDS = "" +#RDEPENDS of capi-media-wav-player-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-media-wav-player" + + +DEPENDS = "" +#DEPENDS of capi-media-wav-player +DEPENDS += "libmm-sound" +inherit tizen_cmake +DEPENDS += "capi-media-sound-manager" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-media-wav-player.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.1.1 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.1 -DMAJORVER=${MAJORVER} + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-media-wav-player-dev " +PACKAGES += " capi-media-wav-player " + +capi-media-wav-player-dev_files = "" +capi-media-wav-player-dev_files += "${prefix}/include/media/*.h" +capi-media-wav-player-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-media-wav-player-dev_files += "${prefix}/lib/libcapi-media-wav-player.so" +MANIFESTFILES_${PN}-dev = "capi-media-wav-player.manifest" + +capi-media-wav-player_files = "" +capi-media-wav-player_files += "${prefix}/lib/libcapi-media-wav-player.so.*" +MANIFESTFILES_${PN} = "capi-media-wav-player.manifest" + +FILES_${PN}-dev = "${capi-media-wav-player-dev_files}" +FILES_${PN} = "${capi-media-wav-player_files}" + +PKG_capi-media-wav-player-dev= "capi-media-wav-player-dev" +PKG_capi-media-wav-player= "capi-media-wav-player" + +require capi-media-wav-player-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player_git.bb new file mode 100644 index 0000000000..463e8f81d2 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-media-wav-player/capi-media-wav-player_git.bb @@ -0,0 +1,10 @@ +require capi-media-wav-player.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/wav-player;tag=e12356a988051f36a2b69dfc6ce0a067117c72d8;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth.inc new file mode 100644 index 0000000000..365602096d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "Network Bluetooth Framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Connectivity/API" +LICENSE = "Apache-2.0" +PV = "0.1.39" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-network-bluetooth-dev +PROVIDES += "capi-network-bluetooth-dev" + + +#PROVIDES by capi-network-bluetooth + + +RDEPENDS = "" +#RDEPENDS of capi-network-bluetooth-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-network-bluetooth" + + +DEPENDS = "" +#DEPENDS of capi-network-bluetooth +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "capi-base-common" +DEPENDS += "vconf" +DEPENDS += "dbus-glib" +DEPENDS += "bluetooth-frwk" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-bluetooth.manifest ${S}/packaging/capi-network-bluetooth-devel.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.1.39 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.39 -DMAJORVER=${MAJORVER} + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-network-bluetooth-dev " +PACKAGES += " capi-network-bluetooth " + +capi-network-bluetooth-dev_files = "" +capi-network-bluetooth-dev_files += "${prefix}/include/network/bluetooth.h" +capi-network-bluetooth-dev_files += "${prefix}/lib/pkgconfig/capi-network-bluetooth.pc" +capi-network-bluetooth-dev_files += "${prefix}/lib/libcapi-network-bluetooth.so" +MANIFESTFILES_${PN}-dev = "capi-network-bluetooth-devel.manifest" + +capi-network-bluetooth_files = "" +capi-network-bluetooth_files += "${prefix}/lib/libcapi-network-bluetooth.so.*" +MANIFESTFILES_${PN} = "capi-network-bluetooth.manifest" + +FILES_${PN}-dev = "${capi-network-bluetooth-dev_files}" +FILES_${PN} = "${capi-network-bluetooth_files}" + +PKG_capi-network-bluetooth-dev= "capi-network-bluetooth-dev" +PKG_capi-network-bluetooth= "capi-network-bluetooth" + +require capi-network-bluetooth-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth_git.bb new file mode 100644 index 0000000000..d95acfa0b0 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-bluetooth/capi-network-bluetooth_git.bb @@ -0,0 +1,10 @@ +require capi-network-bluetooth.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/bluetooth;tag=0b035a3d6f8ce6d94742575578c9daee1bab6bb3;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection.inc new file mode 100644 index 0000000000..e928c02a37 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection.inc @@ -0,0 +1,144 @@ +DESCRIPTION = "Network Connection library in TIZEN C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Network" +LICENSE = "Apache-2.0" +PV = "0.1.3_19" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-network-connection-dev +PROVIDES += "capi-network-connection-dev" + + +#PROVIDES by capi-network-connection + + +RDEPENDS = "" +#RDEPENDS of capi-network-connection-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-network-connection" + + +DEPENDS = "" +#DEPENDS of capi-network-connection +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "capi-base-common" +DEPENDS += "vconf" +DEPENDS += "libnet-client" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-connection.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + unset LD_AS_NEEDED + MAJORVER=`echo 0.1.3_19 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.3_19 -DMAJORVER=${MAJORVER} + + make -j16 + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #License + mkdir -p ${D}${prefix}/share/license + cp LICENSE.APLv2 ${D}${prefix}/share/license/capi-network-connection + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-network-connection-dev " +PACKAGES += " capi-network-connection " + +capi-network-connection-dev_files = "" +capi-network-connection-dev_files += "${prefix}/include/network/*.h" +capi-network-connection-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-network-connection-dev_files += "${prefix}/lib/libcapi-network-connection.so" +MANIFESTFILES_${PN}-dev = "capi-network-connection.manifest" + +capi-network-connection_files = "" +capi-network-connection_files += "${prefix}/lib/libcapi-network-connection.so.*" +capi-network-connection_files += "${prefix}/share/license/capi-network-connection" +MANIFESTFILES_${PN} = "capi-network-connection.manifest" + +FILES_${PN}-dev = "${capi-network-connection-dev_files}" +FILES_${PN} = "${capi-network-connection_files}" + +PKG_capi-network-connection-dev= "capi-network-connection-dev" +PKG_capi-network-connection= "capi-network-connection" + +require capi-network-connection-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection_git.bb new file mode 100644 index 0000000000..263960ce21 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-connection/capi-network-connection_git.bb @@ -0,0 +1,10 @@ +require capi-network-connection.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/connection;tag=141a0c47e0e014b2fe78fb2f5f8f61429a2ba86c;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-nfc/capi-network-nfc.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-nfc/capi-network-nfc.inc new file mode 100644 index 0000000000..aac8f8056e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-nfc/capi-network-nfc.inc @@ -0,0 +1,141 @@ +DESCRIPTION = "NFC Core API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/NFC" +LICENSE = "Apache-2.0" +PV = "0.1.5" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-network-nfc + + +#PROVIDES by capi-network-nfc-dev +PROVIDES += "capi-network-nfc-dev" + + +RDEPENDS = "" +#RDEPENDS of capi-network-nfc (${PN}) +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of capi-network-nfc-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-network-nfc" + + +DEPENDS = "" +#DEPENDS of capi-network-nfc +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "vconf" +DEPENDS += "capi-base-common" +DEPENDS += "nfc-manager-neard" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-nfc.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.1.5 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.5 -DMAJORVER=${MAJORVER} \ + -DX11_SUPPORT=Off + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-network-nfc " +PACKAGES += " capi-network-nfc-dev " + +capi-network-nfc_files = "" +capi-network-nfc_files += "${prefix}/lib/libcapi-network-nfc.so.*" +MANIFESTFILES_${PN} = "capi-network-nfc.manifest" + +capi-network-nfc-dev_files = "" +capi-network-nfc-dev_files += "${prefix}/include/network/*.h" +capi-network-nfc-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-network-nfc-dev_files += "${prefix}/lib/libcapi-network-nfc.so" +MANIFESTFILES_${PN}-dev = "capi-network-nfc.manifest" + +FILES_${PN} = "${capi-network-nfc_files}" +FILES_${PN}-dev = "${capi-network-nfc-dev_files}" + +PKG_capi-network-nfc= "capi-network-nfc" +PKG_capi-network-nfc-dev= "capi-network-nfc-dev" + +require capi-network-nfc-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-nfc/capi-network-nfc_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-nfc/capi-network-nfc_git.bb new file mode 100644 index 0000000000..ab584287cc --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-nfc/capi-network-nfc_git.bb @@ -0,0 +1,10 @@ +require capi-network-nfc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/nfc;tag=97257ca5d438a8cc92aab39e70041920fd3e4d2f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering.inc new file mode 100644 index 0000000000..1363cb7be9 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "Tethering Framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Connectivity/API" +LICENSE = "Apache-2.0" +PV = "0.0.16" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-network-tethering-dev +PROVIDES += "capi-network-tethering-dev" + + +#PROVIDES by capi-network-tethering + + +RDEPENDS = "" +#RDEPENDS of capi-network-tethering-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-network-tethering" + + +DEPENDS = "" +#DEPENDS of capi-network-tethering +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "capi-base-common" +DEPENDS += "vconf" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-tethering.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DARCH=i586 + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + cp LICENSE.APLv2.0 ${D}/usr/share/license/capi-network-tethering + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-network-tethering-dev " +PACKAGES += " capi-network-tethering " + +capi-network-tethering-dev_files = "" +capi-network-tethering-dev_files += "${prefix}/include/network/*.h" +capi-network-tethering-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-network-tethering-dev_files += "${prefix}/lib/*.so" +MANIFESTFILES_${PN}-dev = "capi-network-tethering.manifest" + +capi-network-tethering_files = "" +capi-network-tethering_files += "${prefix}/lib/*.so.*" +capi-network-tethering_files += "/usr/share/license/capi-network-tethering" +capi-network-tethering_files += "/etc/config/connectivity/sysinfo-tethering.xml" +MANIFESTFILES_${PN} = "capi-network-tethering.manifest" + +FILES_${PN}-dev = "${capi-network-tethering-dev_files}" +FILES_${PN} = "${capi-network-tethering_files}" + +PKG_capi-network-tethering-dev= "capi-network-tethering-dev" +PKG_capi-network-tethering= "capi-network-tethering" + +require capi-network-tethering-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering_git.bb new file mode 100644 index 0000000000..fd7b046fbe --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-tethering/capi-network-tethering_git.bb @@ -0,0 +1,10 @@ +require capi-network-tethering.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/tethering;tag=64e19e65e8ea1085b281af93aa25e40aba9145df;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi.inc new file mode 100644 index 0000000000..0bf1904f96 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi.inc @@ -0,0 +1,143 @@ +DESCRIPTION = "Network Wi-Fi library in TIZEN C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Network" +LICENSE = "Apache-2.0" +PV = "0.1.2_25" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-network-wifi-dev +PROVIDES += "capi-network-wifi-dev" + + +#PROVIDES by capi-network-wifi + + +RDEPENDS = "" +#RDEPENDS of capi-network-wifi-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-network-wifi" + + +DEPENDS = "" +#DEPENDS of capi-network-wifi +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "capi-base-common" +DEPENDS += "vconf" +DEPENDS += "libnet-client" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-network-wifi.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.1.2_25 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.2_25 -DMAJORVER=${MAJORVER} + + make -j16 + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #License + mkdir -p ${D}${prefix}/share/license + cp LICENSE.APLv2 ${D}${prefix}/share/license/capi-network-wifi + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-network-wifi-dev " +PACKAGES += " capi-network-wifi " + +capi-network-wifi-dev_files = "" +capi-network-wifi-dev_files += "${prefix}/include/network/*.h" +capi-network-wifi-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-network-wifi-dev_files += "${prefix}/lib/libcapi-network-wifi.so" +MANIFESTFILES_${PN}-dev = "capi-network-wifi.manifest" + +capi-network-wifi_files = "" +capi-network-wifi_files += "${prefix}/lib/libcapi-network-wifi.so.*" +capi-network-wifi_files += "${prefix}/share/license/capi-network-wifi" +MANIFESTFILES_${PN} = "capi-network-wifi.manifest" + +FILES_${PN}-dev = "${capi-network-wifi-dev_files}" +FILES_${PN} = "${capi-network-wifi_files}" + +PKG_capi-network-wifi-dev= "capi-network-wifi-dev" +PKG_capi-network-wifi= "capi-network-wifi" + +require capi-network-wifi-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi_git.bb new file mode 100644 index 0000000000..374312453f --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-network-wifi/capi-network-wifi_git.bb @@ -0,0 +1,10 @@ +require capi-network-wifi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/wifi;tag=e4f3757407a3f24d8b1d182c43b880e867788fd7;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device.inc new file mode 100644 index 0000000000..aea7c36f2b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "A Device library in TIZEN C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" +PV = "0.1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-system-device-dev +PROVIDES += "capi-system-device-dev" + + +#PROVIDES by capi-system-device + + +RDEPENDS = "" +#RDEPENDS of capi-system-device-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-system-device" + + +DEPENDS = "" +#DEPENDS of capi-system-device +inherit tizen_cmake +DEPENDS += "capi-system-info" +DEPENDS += "dbus" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "pkgconfig(deviced)" +DEPENDS += "capi-base-common" +DEPENDS += "vconf" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + cp ${S}/packaging/capi-system-device.manifest . + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-system-device-dev " +PACKAGES += " capi-system-device " + +capi-system-device-dev_files = "" +capi-system-device-dev_files += "${prefix}/include/device/*.h" +capi-system-device-dev_files += "${prefix}/include/system/*.h" +capi-system-device-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-system-device-dev_files += "${prefix}/lib/libcapi-system-device.so" +MANIFESTFILES_${PN}-dev = "capi-system-device.manifest" + +capi-system-device_files = "" +capi-system-device_files += "${prefix}/lib/libcapi-system-device.so.*" +MANIFESTFILES_${PN} = "capi-system-device.manifest" + +FILES_${PN}-dev = "${capi-system-device-dev_files}" +FILES_${PN} = "${capi-system-device_files}" + +PKG_capi-system-device-dev= "capi-system-device-dev" +PKG_capi-system-device= "capi-system-device" + +require capi-system-device-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device_git.bb new file mode 100644 index 0000000000..48b078135e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-device/capi-system-device_git.bb @@ -0,0 +1,10 @@ +require capi-system-device.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/device;tag=b3d72a64ca39fef39127aeb040f370c9e2798c2e;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-info/capi-system-info.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-info/capi-system-info.inc new file mode 100644 index 0000000000..fe9ead48c3 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-info/capi-system-info.inc @@ -0,0 +1,139 @@ +DESCRIPTION = "A System Information library in SLP C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" +PV = "0.2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-system-info-dev +PROVIDES += "capi-system-info-dev" + + +#PROVIDES by capi-system-info + + +RDEPENDS = "" +#RDEPENDS of capi-system-info-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-system-info" + + +DEPENDS = "" +#DEPENDS of capi-system-info +inherit tizen_cmake +DEPENDS += "libxml2" +inherit pkgconfig +DEPENDS += "iniparser" +DEPENDS += "dlog" +DEPENDS += "ecore" +DEPENDS += "vconf" +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-system-info.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.2.0 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.2.0 -DMAJORVER=${MAJORVER} -DENABLE_WAYLAND=TRUE + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${sysconfdir} + cp -f script/make_info_file.sh ${D}${sysconfdir}/make_info_file.sh + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-system-info-dev " +PACKAGES += " capi-system-info " + +capi-system-info-dev_files = "" +capi-system-info-dev_files += "${prefix}/include/system/system_info.h" +capi-system-info-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-system-info-dev_files += "${prefix}/lib/libcapi-system-info.so" +MANIFESTFILES_${PN}-dev = "capi-system-info.manifest" + +capi-system-info_files = "" +capi-system-info_files += "${prefix}/lib/libcapi-system-info.so.*" +capi-system-info_files += "${sysconfdir}/make_info_file.sh" +MANIFESTFILES_${PN} = "capi-system-info.manifest" + +FILES_${PN}-dev = "${capi-system-info-dev_files}" +FILES_${PN} = "${capi-system-info_files}" + +PKG_capi-system-info-dev= "capi-system-info-dev" +PKG_capi-system-info= "capi-system-info" + +require capi-system-info-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-info/capi-system-info_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-info/capi-system-info_git.bb new file mode 100644 index 0000000000..bf404a43fa --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-info/capi-system-info_git.bb @@ -0,0 +1,10 @@ +require capi-system-info.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/system-info;tag=5697b6bdb6f3cccc3637a0ce50e461dbc7eb9ff3;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power.inc new file mode 100644 index 0000000000..6cc34e853c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power.inc @@ -0,0 +1,135 @@ +DESCRIPTION = "A power library in SLP C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" +PV = "0.1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-system-power + + +#PROVIDES by capi-system-power-dev +PROVIDES += "capi-system-power-dev" + + +RDEPENDS = "" +#RDEPENDS of capi-system-power-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-system-power" + + +DEPENDS = "" +#DEPENDS of capi-system-power +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "system-server" +DEPENDS += "capi-base-common" +DEPENDS += "vconf" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + cp ${S}/packaging/capi-system-power.manifest . + MAJORVER=`echo 0.1.1 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.1 -DMAJORVER=${MAJORVER} + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-system-power " +PACKAGES += " capi-system-power-dev " + +capi-system-power_files = "" +capi-system-power_files += "${prefix}/lib/libcapi-system-power.so.*" +MANIFESTFILES_${PN} = "capi-system-power.manifest" + +capi-system-power-dev_files = "" +capi-system-power-dev_files += "${prefix}/include/system/power.h" +capi-system-power-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-system-power-dev_files += "${prefix}/lib/libcapi-system-power.so" +MANIFESTFILES_${PN}-dev = "capi-system-power.manifest" + +FILES_${PN} = "${capi-system-power_files}" +FILES_${PN}-dev = "${capi-system-power-dev_files}" + +PKG_capi-system-power= "capi-system-power" +PKG_capi-system-power-dev= "capi-system-power-dev" + +require capi-system-power-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power_git.bb new file mode 100644 index 0000000000..29ac820de1 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-power/capi-system-power_git.bb @@ -0,0 +1,10 @@ +require capi-system-power.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/power;tag=197d785da82c234517e30af1a1bcc1e517028762;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info.inc new file mode 100644 index 0000000000..75674bbf5a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "A Runtime Information library in Core API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" +PV = "0.0.3" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-system-runtime-info-dev +PROVIDES += "capi-system-runtime-info-dev" + + +#PROVIDES by capi-system-runtime-info + + +RDEPENDS = "" +#RDEPENDS of capi-system-runtime-info-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-base-common" +RDEPENDS_${PN}-dev += "capi-system-runtime-info" + +#RDEPENDS of capi-system-runtime-info (${PN}) +RDEPENDS_${PN} += "glibc" + + +DEPENDS = "" +#DEPENDS of capi-system-runtime-info +DEPENDS += "capi-base-common" +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "vconf" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-system-runtime-info.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.0.3 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.0.3 -DMAJORVER=${MAJORVER} + + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-system-runtime-info-dev " +PACKAGES += " capi-system-runtime-info " + +capi-system-runtime-info-dev_files = "" +capi-system-runtime-info-dev_files += "${prefix}/include/system/*.h" +capi-system-runtime-info-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-system-runtime-info-dev_files += "${prefix}/lib/lib*.so" + +capi-system-runtime-info_files = "" +capi-system-runtime-info_files += "${prefix}/lib/lib*.so.*" +MANIFESTFILES_${PN} = "capi-system-runtime-info.manifest" + +FILES_${PN}-dev = "${capi-system-runtime-info-dev_files}" +FILES_${PN} = "${capi-system-runtime-info_files}" + +PKG_capi-system-runtime-info-dev= "capi-system-runtime-info-dev" +PKG_capi-system-runtime-info= "capi-system-runtime-info" + +require capi-system-runtime-info-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info_git.bb new file mode 100644 index 0000000000..21a122502d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-runtime-info/capi-system-runtime-info_git.bb @@ -0,0 +1,10 @@ +require capi-system-runtime-info.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/runtime-info;tag=c97213979296358d530042098c404c66e80ab395;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-sensor/capi-system-sensor.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-sensor/capi-system-sensor.inc new file mode 100644 index 0000000000..d10a8220e5 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-sensor/capi-system-sensor.inc @@ -0,0 +1,137 @@ +DESCRIPTION = "A Sensor library in TIZEN C API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache 2.0" +PV = "0.1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-system-sensor-dev +PROVIDES += "capi-system-sensor-dev" + + +#PROVIDES by capi-system-sensor + + +RDEPENDS = "" +#RDEPENDS of capi-system-sensor-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-system-sensor" + +#RDEPENDS of capi-system-sensor (${PN}) +RDEPENDS_${PN} += "glibc" + + +DEPENDS = "" +#DEPENDS of capi-system-sensor +DEPENDS += "sensor" +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + cp ${S}/packaging/capi-system-sensor.manifest . + MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER} + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-system-sensor-dev " +PACKAGES += " capi-system-sensor " + +capi-system-sensor-dev_files = "" +capi-system-sensor-dev_files += "${prefix}/lib/libcapi-system-sensor.so" +capi-system-sensor-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-system-sensor-dev_files += "${prefix}/include/sensor/*.h" +MANIFESTFILES_${PN}-dev = "capi-system-sensor.manifest" + +capi-system-sensor_files = "" +capi-system-sensor_files += "${prefix}/lib/libcapi-system-sensor.so.*" +MANIFESTFILES_${PN} = "capi-system-sensor.manifest" + +FILES_${PN}-dev = "${capi-system-sensor-dev_files}" +FILES_${PN} = "${capi-system-sensor_files}" + +PKG_capi-system-sensor-dev= "capi-system-sensor-dev" +PKG_capi-system-sensor= "capi-system-sensor" + +require capi-system-sensor-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-sensor/capi-system-sensor_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-sensor/capi-system-sensor_git.bb new file mode 100644 index 0000000000..45ae625abc --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-sensor/capi-system-sensor_git.bb @@ -0,0 +1,10 @@ +require capi-system-sensor.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/sensor;tag=792636269f94a15b9765e0f1c387289f573eacbd;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-system-settings/capi-system-system-settings.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-system-settings/capi-system-system-settings.inc new file mode 100644 index 0000000000..fa82bab751 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-system-settings/capi-system-system-settings.inc @@ -0,0 +1,146 @@ +DESCRIPTION = "A System Settings library in Tizen Native API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" +PV = "0.0.2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-system-system-settings-dev +PROVIDES += "capi-system-system-settings-dev" + + +#PROVIDES by capi-system-system-settings + + +RDEPENDS = "" +#RDEPENDS of capi-system-system-settings-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-base-common" +RDEPENDS_${PN}-dev += "capi-system-system-settings" + + +DEPENDS = "" +#DEPENDS of capi-system-system-settings +inherit tizen_cmake +DEPENDS += "fontconfig" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "app-core" +DEPENDS += "capi-base-common" +DEPENDS += "libxml2" +DEPENDS += "elementary" +DEPENDS += "ecore" +DEPENDS += "glib-2.0" +DEPENDS += "vconf" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-system-system-settings.manifest ${S}/packaging/capi-system-system-settings-devel.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.0.2 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DFULLVER=0.0.2 -DMAJORVER=${MAJORVER} \ + -DX11_SUPPORT=Off \ + -DWAYLAND_SUPPORT=On + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-system-system-settings-dev " +PACKAGES += " capi-system-system-settings " + +capi-system-system-settings-dev_files = "" +capi-system-system-settings-dev_files += "${prefix}/include/system/*.h" +capi-system-system-settings-dev_files += "${prefix}/lib/pkgconfig/*.pc" +capi-system-system-settings-dev_files += "${prefix}/lib/lib*.so" +MANIFESTFILES_${PN}-dev = "capi-system-system-settings-devel.manifest" + +capi-system-system-settings_files = "" +capi-system-system-settings_files += "${prefix}/lib/lib*.so.*" +capi-system-system-settings_files += "/usr/bin/test_system_settings_gui" +MANIFESTFILES_${PN} = "capi-system-system-settings.manifest" + +FILES_${PN}-dev = "${capi-system-system-settings-dev_files}" +FILES_${PN} = "${capi-system-system-settings_files}" + +PKG_capi-system-system-settings-dev= "capi-system-system-settings-dev" +PKG_capi-system-system-settings= "capi-system-system-settings" + +require capi-system-system-settings-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-system-settings/capi-system-system-settings_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-system-settings/capi-system-system-settings_git.bb new file mode 100644 index 0000000000..0c81dd6078 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-system-system-settings/capi-system-system-settings_git.bb @@ -0,0 +1,10 @@ +require capi-system-system-settings.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/system-settings;tag=8789adea7dae840914101a770a25ed5ef04e3f73;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-favorites/capi-web-favorites.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-favorites/capi-web-favorites.inc new file mode 100644 index 0000000000..6434a13417 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-favorites/capi-web-favorites.inc @@ -0,0 +1,151 @@ +DESCRIPTION = "Internet bookmark and history API" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Web Framework/API" +LICENSE = "Apache-2.0" +PV = "0.0.15" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-web-favorites + + +#PROVIDES by capi-web-favorites-dev +PROVIDES += "capi-web-favorites-dev" + + +RDEPENDS = "" +#RDEPENDS of capi-web-favorites (${PN}) +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of capi-web-favorites-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-web-favorites" + + +DEPENDS = "" +#DEPENDS of capi-web-favorites +inherit tizen_cmake +DEPENDS += "evas" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "capi-base-common" +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/capi-web-favorites.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DTZ_SYS_SHARE=${prefix}/share + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + source /etc/tizen-platform.conf + users_gid=$(getent group $TZ_SYS_USER_GROUP | cut -f3 -d':') + chsmack -a 'User' /opt/usr/dbspace/.browser-history.db* + chsmack -a 'User' /opt/usr/dbspace/.internet_bookmark.db* + # set default vconf values + ################################################## + #internal keys + vconftool set -t string db/browser/browser_user_agent "System user agent" -g $users_gid -f + vconftool set -t string db/browser/custom_user_agent "" -g $users_gid -f + #public keys + vconftool set -t string db/browser/user_agent "Mozilla/5.0 (Linux; Tizen 2.1; sdk) AppleWebKit/537.3 (KHTML, like Gecko) Version/2.1 Mobile Safari/537.3" -g $users_gid -f + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-web-favorites " +PACKAGES += " capi-web-favorites-dev " + +capi-web-favorites_files = "" +capi-web-favorites_files += "${prefix}/lib/libcapi-web-favorites.so" +capi-web-favorites_files += "${prefix}/share/capi-web-favorites/internet_bookmark_DB_init.sh" +capi-web-favorites_files += "${prefix}/share/capi-web-favorites/browser_history_DB_init.sh" +MANIFESTFILES_${PN} = "capi-web-favorites.manifest" + +capi-web-favorites-dev_files = "" +capi-web-favorites-dev_files += "${prefix}/include/web/*.h" +capi-web-favorites-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "capi-web-favorites.manifest" + +FILES_${PN} = "${capi-web-favorites_files}" +FILES_${PN}-dev = "${capi-web-favorites-dev_files}" + +PKG_capi-web-favorites= "capi-web-favorites" +PKG_capi-web-favorites-dev= "capi-web-favorites-dev" + +require capi-web-favorites-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-favorites/capi-web-favorites_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-favorites/capi-web-favorites_git.bb new file mode 100644 index 0000000000..f2fe656294 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-favorites/capi-web-favorites_git.bb @@ -0,0 +1,10 @@ +require capi-web-favorites.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/favorites;tag=65cfd6936edd8d6996b1c2e067997d77decb3309;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-url-download/capi-web-url-download.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-url-download/capi-web-url-download.inc new file mode 100644 index 0000000000..38f95b2685 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-url-download/capi-web-url-download.inc @@ -0,0 +1,137 @@ +DESCRIPTION = "CAPI for content download with web url" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Libraries" +LICENSE = "Apache-2.0" +PV = "1.1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by capi-web-url-download + + +#PROVIDES by capi-web-url-download-dev +PROVIDES += "capi-web-url-download-dev" + + +RDEPENDS = "" +#RDEPENDS of capi-web-url-download-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "capi-web-url-download" + + +DEPENDS = "" +#DEPENDS of capi-web-url-download +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "bundle" +DEPENDS += "download-provider" +DEPENDS += "dlog" +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " capi-web-url-download " +PACKAGES += " capi-web-url-download-dev " + +capi-web-url-download_files = "" +capi-web-url-download_files += "${prefix}/lib/libcapi-web-url-download.so.*" +capi-web-url-download_files += "/usr/share/license/capi-web-url-download" +MANIFESTFILES_${PN} = "capi-web-url-download.manifest" + +capi-web-url-download-dev_files = "" +capi-web-url-download-dev_files += "${prefix}/lib/libcapi-web-url-download.so" +capi-web-url-download-dev_files += "${prefix}/lib/pkgconfig/capi-web-url-download.pc" +capi-web-url-download-dev_files += "${prefix}/include/web/download.h" +capi-web-url-download-dev_files += "${prefix}/include/web/download_doc.h" +MANIFESTFILES_${PN}-dev = "capi-web-url-download.manifest" + +FILES_${PN} = "${capi-web-url-download_files}" +FILES_${PN}-dev = "${capi-web-url-download-dev_files}" + +PKG_capi-web-url-download= "capi-web-url-download" +PKG_capi-web-url-download-dev= "capi-web-url-download-dev" + +require capi-web-url-download-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-url-download/capi-web-url-download_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-url-download/capi-web-url-download_git.bb new file mode 100644 index 0000000000..f7038ebc0f --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/capi-web-url-download/capi-web-url-download_git.bb @@ -0,0 +1,10 @@ +require capi-web-url-download.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/url-download;tag=284d7254c1c229ef4dd219db9978c0164bb49c69;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/heynoti/heynoti.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/heynoti/heynoti.inc new file mode 100644 index 0000000000..121c317f4e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/heynoti/heynoti.inc @@ -0,0 +1,145 @@ +DESCRIPTION = "HEY (ligHt Easy speedy) notification library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.0.2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by heynoti + + +#PROVIDES by heynoti-dev +PROVIDES += "heynoti-dev" + + +RDEPENDS = "" +#RDEPENDS of heynoti-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "heynoti" + + +DEPENDS = "" +#DEPENDS of heynoti +inherit tizen_cmake +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "ecore" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/heynoti.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DCMAKE_BUILD_TYPE="Debug" + + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}${prefix}/share/noti + mkdir -p ${D}/usr/share/license + install LICENSE ${D}/usr/share/license/heynoti + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " heynoti " +PACKAGES += " heynoti-dev " + +heynoti_files = "" +heynoti_files += "${prefix}/lib/libheynoti.so.0" +heynoti_files += "${prefix}/lib/libheynoti.so.0.0.2" +heynoti_files += "${prefix}/bin/heynotitool" +heynoti_files += "${prefix}/share/noti" +heynoti_files += "/usr/share/license/heynoti" +MANIFESTFILES_${PN} = "heynoti.manifest" + +heynoti-dev_files = "" +heynoti-dev_files += "${prefix}/include/heynoti/SLP_Heynoti_PG.h" +heynoti-dev_files += "${prefix}/include/heynoti/heynoti.h" +heynoti-dev_files += "${prefix}/lib/pkgconfig/heynoti.pc" +heynoti-dev_files += "${prefix}/lib/libheynoti.so" +MANIFESTFILES_${PN}-dev = "heynoti.manifest" + +FILES_${PN} = "${heynoti_files}" +FILES_${PN}-dev = "${heynoti-dev_files}" + +PKG_heynoti= "heynoti" +PKG_heynoti-dev= "heynoti-dev" + +require heynoti-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/heynoti/heynoti_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/heynoti/heynoti_git.bb new file mode 100644 index 0000000000..d1b16a68ff --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/heynoti/heynoti_git.bb @@ -0,0 +1,10 @@ +require heynoti.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/heynoti;tag=3f82d6115368fb5a2d799436aecc7b339e6ae373;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/libcom-core/libcom-core.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/libcom-core/libcom-core.inc new file mode 100644 index 0000000000..b4045bf08d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/libcom-core/libcom-core.inc @@ -0,0 +1,141 @@ +DESCRIPTION = "Library for the light-weight IPC" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/IPC" +LICENSE = "Apache-2.0" +PV = "0.5.9" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libcom-core + + +#PROVIDES by libcom-core-dev +PROVIDES += "libcom-core-dev" + + +RDEPENDS = "" +#RDEPENDS of libcom-core-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libcom-core" + + +DEPENDS = "" +#DEPENDS of libcom-core +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +inherit tizen_cmake +DEPENDS += "systemd" +DEPENDS += "dlog" +inherit pkgconfig +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libcom-core.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${prefix}/share/license + + +} + +pkg_postinst_libcom-core() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcom-core() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libcom-core " +PACKAGES += " libcom-core-dev " + +libcom-core_files = "" +libcom-core_files += "${prefix}/lib/*.so*" +libcom-core_files += "${prefix}/share/license/*" +MANIFESTFILES_${PN} = "libcom-core.manifest" + +libcom-core-dev_files = "" +libcom-core-dev_files += "${prefix}/include/com-core/com-core.h" +libcom-core-dev_files += "${prefix}/include/com-core/packet.h" +libcom-core-dev_files += "${prefix}/include/com-core/com-core_packet.h" +libcom-core-dev_files += "${prefix}/include/com-core/com-core_thread.h" +libcom-core-dev_files += "${prefix}/include/com-core/secure_socket.h" +libcom-core-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "libcom-core.manifest" + +FILES_${PN} = "${libcom-core_files}" +FILES_${PN}-dev = "${libcom-core-dev_files}" + +PKG_libcom-core= "libcom-core" +PKG_libcom-core-dev= "libcom-core-dev" + +require libcom-core-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/libcom-core/libcom-core_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/libcom-core/libcom-core_git.bb new file mode 100644 index 0000000000..f21c2de349 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/libcom-core/libcom-core_git.bb @@ -0,0 +1,10 @@ +require libcom-core.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/com-core;tag=dbfd87c27e0f73b95b2ae16d0b76e059484d5375;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/librua/librua.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/librua/librua.inc new file mode 100644 index 0000000000..d60d767467 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/librua/librua.inc @@ -0,0 +1,149 @@ +DESCRIPTION = "Recently used application" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Apache-2.0" +PV = "0.1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by librua + + +#PROVIDES by librua-dev +PROVIDES += "librua-dev" + + +#PROVIDES by librua-test +PROVIDES += "librua-test" + + +RDEPENDS = "" +#RDEPENDS of librua-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "librua" + +#RDEPENDS of librua-test (${PN}-test) +RDEPENDS_${PN}-test += "librua" + + +DEPENDS = "" +#DEPENDS of librua +DEPENDS += "sqlite3" +DEPENDS += "tizen-platform-config" +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/librua.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " librua " +PACKAGES += " librua-dev " +PACKAGES += " librua-test " + +librua_files = "" +librua_files += "${prefix}/lib/librua.so.*" +MANIFESTFILES_${PN} = "librua.manifest" + +librua-dev_files = "" +librua-dev_files += "${prefix}/include/rua" +librua-dev_files += "${prefix}/include/rua/*.h" +librua-dev_files += "${prefix}/lib/librua.so" +librua-dev_files += "${prefix}/lib/pkgconfig/rua.pc" +MANIFESTFILES_${PN}-dev = "librua.manifest" +DIRFILES_${PN}-dev = "" +DIRFILES_${PN}-dev += "${prefix}/include/rua" + +librua-test_files = "" +librua-test_files += "${prefix}/bin/rua-test" +MANIFESTFILES_${PN}-test = "librua.manifest" + +FILES_${PN} = "${librua_files}" +FILES_${PN}-dev = "${librua-dev_files}" +FILES_${PN}-test = "${librua-test_files}" + +PKG_librua= "librua" +PKG_librua-dev= "librua-dev" +PKG_librua-test= "librua-test" + +require librua-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/librua/librua_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/librua/librua_git.bb new file mode 100644 index 0000000000..6095e25bec --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/librua/librua_git.bb @@ -0,0 +1,10 @@ +require librua.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/librua;tag=b3f0019b1e8c118e7f96248d143f43a02c05a4e7;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/message-port/message-port.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/message-port/message-port.inc new file mode 100644 index 0000000000..f43cbb69ac --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/message-port/message-port.inc @@ -0,0 +1,180 @@ +DESCRIPTION = "Message port daemon" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Service" +LICENSE = "LGPL-2.1+" +PV = "1.0.3" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libmessage-port +PROVIDES += "libmessage-port" + + +#PROVIDES by libmessage-port-dev +PROVIDES += "libmessage-port-dev" + + +#PROVIDES by message-port-tests +PROVIDES += "message-port-tests" + + +#PROVIDES by message-port + + +RDEPENDS = "" +#RDEPENDS of libmessage-port (lib${PN}) +RDEPENDS_lib${PN} += "glibc" +RDEPENDS_lib${PN} += "message-port" + +#RDEPENDS of libmessage-port-dev (lib${PN}-dev) +RDEPENDS_lib${PN}-dev += "libmessage-port" + +#RDEPENDS of message-port-tests (${PN}-tests) +RDEPENDS_${PN}-tests += "libmessage-port" + + +DEPENDS = "" +#DEPENDS of libmessage-port +#DEPENDS of message-port +DEPENDS += "pkgmgr-info" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "aul" +DEPENDS += "bundle" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n message-port-1.0.3 + cp -a ${S}/packaging/message-port.manifest . + mkdir -p m4 > /dev/null + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + + +} +EXTRA_OECONF += " --enable-tests " + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}${systemd_unitdir}/system + cp messageportd.service ${D}${systemd_unitdir}/system + + + +} + +pkg_postinst_libmessage-port() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + getent group messageport >/dev/null || groupadd -r -o messageport + getent passwd messageport >/dev/null || useradd -r -g messageport -s /bin/false -d /run/messageport -c "Message Port daemon" messageport + systemctl enable messageportd.service + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + systemctl disable messageportd.service + +} + +pkg_postrm_libmessage-port() { + #!/bin/sh -e + + ldconfig + # daemon: message-port + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libmessage-port " +PACKAGES += " libmessage-port-dev " +PACKAGES += " message-port-tests " +PACKAGES += " message-port " + +libmessage-port_files = "" +libmessage-port_files += "AUTHORS COPYING.LIB" +libmessage-port_files += "${prefix}/lib/libmessage-port.so*" +MANIFESTFILES_lib${PN} = "message-port.manifest" + +libmessage-port-dev_files = "" +libmessage-port-dev_files += "${prefix}/lib/pkgconfig/message-port.pc" +libmessage-port-dev_files += "${prefix}/include/*.h" +MANIFESTFILES_lib${PN}-dev = "message-port.manifest" + +message-port-tests_files = "" +message-port-tests_files += "${prefix}/bin/msgport-test-app" +message-port-tests_files += "${prefix}/bin/msgport-test-app-cpp" +MANIFESTFILES_${PN}-tests = "message-port.manifest" + +message-port_files = "" +message-port_files += "${prefix}/bin/messageportd" +message-port_files += "${systemd_unitdir}/system/messageportd.service" + +FILES_lib${PN} = "${libmessage-port_files}" +FILES_lib${PN}-dev = "${libmessage-port-dev_files}" +FILES_${PN}-tests = "${message-port-tests_files}" +FILES_${PN} = "${message-port_files}" + +PKG_libmessage-port= "libmessage-port" +PKG_libmessage-port-dev= "libmessage-port-dev" +PKG_message-port-tests= "message-port-tests" +PKG_message-port= "message-port" + +require message-port-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/message-port/message-port_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/message-port/message-port_git.bb new file mode 100644 index 0000000000..7dd2a1d3d9 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/message-port/message-port_git.bb @@ -0,0 +1,10 @@ +require message-port.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/message-port-dbus;tag=b95c605d610b89486ce93e74461df0ac09e3e837;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info.inc new file mode 100644 index 0000000000..241d0b7d9a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info.inc @@ -0,0 +1,203 @@ +DESCRIPTION = "Packager Manager infomation api for package" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Package Management" +LICENSE = "Apache-2.0" +PV = "0.0.134" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by pkgmgr-info-parser +PROVIDES += "pkgmgr-info-parser" + + +#PROVIDES by pkgmgr-info-parser-dev +PROVIDES += "pkgmgr-info-parser-dev" + + +#PROVIDES by pkgmgr-info + + +#PROVIDES by pkgmgr-info-dev +PROVIDES += "pkgmgr-info-dev" + + +RDEPENDS = "" +#RDEPENDS of pkgmgr-info-parser (${PN}-parser) +RDEPENDS_${PN}-parser += "pkgmgr-info" + +#RDEPENDS of pkgmgr-info-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "pkgmgr-info" + +#RDEPENDS of pkgmgr-info-parser-dev (${PN}-parser-dev) +RDEPENDS_${PN}-parser-dev += "tizen-platform-config" +RDEPENDS_${PN}-parser-dev += "pkgmgr-info" + + +DEPENDS = "" +#DEPENDS of pkgmgr-info +inherit tizen_cmake +DEPENDS += "libxml2" +DEPENDS += "dbus" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "smack" +DEPENDS += "dbus-glib" +DEPENDS += "sqlite3" +DEPENDS += "vconf" +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pkgmgr-info.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # create the directory for hosting Read-Write application manifest files + mkdir -p ${D}${prefix}/share/packages + + +} + +pkg_postinst_pkgmgr-info-parser() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + chsmack -a '*' $D${prefix}/share/packages + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_pkgmgr-info-parser() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " pkgmgr-info-parser " +PACKAGES += " pkgmgr-info " +PACKAGES += " pkgmgr-info-parser-dev " +PACKAGES += " pkgmgr-info-dev " + +pkgmgr-info-parser_files = "" +pkgmgr-info-parser_files += "${prefix}/lib/libpkgmgr_parser.so.*" +pkgmgr-info-parser_files += "${sysconfdir}/package-manager/preload/preload_list.txt" +pkgmgr-info-parser_files += "${sysconfdir}/package-manager/preload/manifest.xsd" +pkgmgr-info-parser_files += "${sysconfdir}/package-manager/preload/xml.xsd" +pkgmgr-info-parser_files += "${sysconfdir}/package-manager/parser_path.conf" +pkgmgr-info-parser_files += "${sysconfdir}/package-manager/parserlib/metadata/mdparser_list.txt" +pkgmgr-info-parser_files += "${sysconfdir}/package-manager/parserlib/category/category_parser_list.txt" +pkgmgr-info-parser_files += "${sysconfdir}/package-manager/parserlib/tag_parser_list.txt" +CONFFILES_${PN}-parser = "" +CONFFILES_${PN}-parser += "${sysconfdir}/package-manager/preload/preload_list.txt" +CONFFILES_${PN}-parser += "${sysconfdir}/package-manager/preload/manifest.xsd" +CONFFILES_${PN}-parser += "${sysconfdir}/package-manager/preload/xml.xsd" +CONFFILES_${PN}-parser += "${sysconfdir}/package-manager/parser_path.conf" +CONFFILES_${PN}-parser += "${sysconfdir}/package-manager/parserlib/metadata/mdparser_list.txt" +CONFFILES_${PN}-parser += "${sysconfdir}/package-manager/parserlib/category/category_parser_list.txt" +CONFFILES_${PN}-parser += "${sysconfdir}/package-manager/parserlib/tag_parser_list.txt" +MANIFESTFILES_${PN}-parser = "pkgmgr-info.manifest" + +pkgmgr-info_files = "" +pkgmgr-info_files += "${prefix}/lib/libpkgmgr-info.so.*" +pkgmgr-info_files += "%dir ${prefix}/share/packages" +MANIFESTFILES_${PN} = "pkgmgr-info.manifest" + +pkgmgr-info-parser-dev_files = "" +pkgmgr-info-parser-dev_files += "${prefix}/include/pkgmgr/pkgmgr_parser.h" +pkgmgr-info-parser-dev_files += "${prefix}/include/pkgmgr/pkgmgr_parser_db.h" +pkgmgr-info-parser-dev_files += "${prefix}/lib/pkgconfig/pkgmgr-parser.pc" +pkgmgr-info-parser-dev_files += "${prefix}/lib/libpkgmgr_parser.so" +MANIFESTFILES_${PN}-parser-dev = "pkgmgr-info.manifest" + +pkgmgr-info-dev_files = "" +pkgmgr-info-dev_files += "${prefix}/include/pkgmgr-info.h" +pkgmgr-info-dev_files += "${prefix}/lib/pkgconfig/pkgmgr-info.pc" +pkgmgr-info-dev_files += "${prefix}/lib/libpkgmgr-info.so" +MANIFESTFILES_${PN}-dev = "pkgmgr-info.manifest" + +FILES_${PN}-parser = "${pkgmgr-info-parser_files}" +FILES_${PN} = "${pkgmgr-info_files}" +FILES_${PN}-parser-dev = "${pkgmgr-info-parser-dev_files}" +FILES_${PN}-dev = "${pkgmgr-info-dev_files}" + +PKG_pkgmgr-info-parser= "pkgmgr-info-parser" +PKG_pkgmgr-info= "pkgmgr-info" +PKG_pkgmgr-info-parser-dev= "pkgmgr-info-parser-dev" +PKG_pkgmgr-info-dev= "pkgmgr-info-dev" + +require pkgmgr-info-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info_git.bb new file mode 100644 index 0000000000..8c50da2caf --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr-info/pkgmgr-info_git.bb @@ -0,0 +1,10 @@ +require pkgmgr-info.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/pkgmgr-info;tag=b5c4655153dd8ba3619f1c15f85d2549812daf06;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr.inc new file mode 100644 index 0000000000..0b4e6a02b1 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr.inc @@ -0,0 +1,309 @@ +DESCRIPTION = "Packager Manager client library package" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Package Management" +LICENSE = "Apache-2.0" +PV = "0.2.89" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by pkgmgr-client +PROVIDES += "pkgmgr-client" + + +#PROVIDES by pkgmgr + + +#PROVIDES by pkgmgr-server +PROVIDES += "pkgmgr-server" + + +#PROVIDES by pkgmgr-types-dev +PROVIDES += "pkgmgr-types-dev" + + +#PROVIDES by pkgmgr-client-dev +PROVIDES += "pkgmgr-client-dev" + + +#PROVIDES by pkgmgr-installer-dev +PROVIDES += "pkgmgr-installer-dev" + + +#PROVIDES by pkgmgr-installer +PROVIDES += "pkgmgr-installer" + + +RDEPENDS = "" +#RDEPENDS of pkgmgr-client (${PN}-client) +RDEPENDS_${PN}-client += "shared-mime-info" +RDEPENDS_${PN}-client += "pkgmgr" + +#RDEPENDS of pkgmgr-server (${PN}-server) +RDEPENDS_${PN}-server += "pkgmgr" + +#RDEPENDS of pkgmgr-types-dev (${PN}-types-dev) +RDEPENDS_${PN}-types-dev += "pkgmgr" + +#RDEPENDS of pkgmgr-client-dev (${PN}-client-dev) +RDEPENDS_${PN}-client-dev += "pkgmgr" + +#RDEPENDS of pkgmgr-installer-dev (${PN}-installer-dev) +RDEPENDS_${PN}-installer-dev += "pkgmgr" + +#RDEPENDS of pkgmgr-installer (${PN}-installer) +RDEPENDS_${PN}-installer += "pkgmgr" + + +DEPENDS = "" +#DEPENDS of pkgmgr +DEPENDS += "pkgmgr-info" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "unzip" +inherit tizen_cmake +DEPENDS += "iniparser" +DEPENDS += "notification" +DEPENDS += "dbus" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "security-server" +DEPENDS += "ail" +DEPENDS += "smack" +DEPENDS += "libslp-db-util" +DEPENDS += "bundle" +DEPENDS += "ecore" +DEPENDS += "app-core" +DEPENDS += "tizen-platform-config" +DEPENDS += "dbus-glib" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pkgmgr.manifest ${S}/packaging/pkgmgr-client.manifest ${S}/packaging/pkgmgr-client-devel.manifest ${S}/packaging/pkgmgr-server.manifest ${S}/packaging/pkgmgr-installer.manifest ${S}/packaging/pkgmgr-installer-devel.manifest ${S}/packaging/pkgmgr-types-devel.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -f ${D}${prefix}/bin/pkgmgr_backend_sample + rm -f ${D}${prefix}/lib/libpkgmgr_backend_lib_sample.so + rm -f ${D}${prefix}/lib/libpkgmgr_parser_lib_sample.so + + mkdir -p ${D}${sysconfdir}/package-manager/backend + mkdir -p ${D}${sysconfdir}/package-manager/backendlib + mkdir -p ${D}${sysconfdir}/opt/upgrade + + mkdir -p ${D}${sysconfdir}/package-manager/server + + #find_lang package-manager + + #fdupes ${D} + + +} + +pkg_postinst_pkgmgr-installer() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_pkgmgr-server() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + # For pkgmgr-install: + # Update mime database to support package mime types + update-mime-database $D${prefix}/share/mime + chsmack -a '*' $D${prefix}/share/packages + +} + +pkg_postinst_pkgmgr-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_pkgmgr-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_pkgmgr-installer() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " pkgmgr-client " +PACKAGES += " pkgmgr " +PACKAGES += " pkgmgr-server " +PACKAGES += " pkgmgr-types-dev " +PACKAGES += " pkgmgr-client-dev " +PACKAGES += " pkgmgr-installer-dev " +PACKAGES += " pkgmgr-installer " + +pkgmgr-client_files = "" +pkgmgr-client_files += "${sysconfdir}/package-manager" +pkgmgr-client_files += "${sysconfdir}/package-manager/pkg_path.conf" +pkgmgr-client_files += "${prefix}/lib/libpkgmgr-client.so.*" +CONFFILES_${PN}-client = "" +CONFFILES_${PN}-client += "${sysconfdir}/package-manager/pkg_path.conf" +MANIFESTFILES_${PN}-client = "pkgmgr-client.manifest" +DIRFILES_${PN}-client = "" +DIRFILES_${PN}-client += "${sysconfdir}/package-manager" + +pkgmgr_files = "" +pkgmgr_files += "${sysconfdir}/package-manager/backend" +pkgmgr_files += "${sysconfdir}/package-manager/backendlib" +pkgmgr_files += "${sysconfdir}/opt/upgrade" +pkgmgr_files += "${sysconfdir}/opt/upgrade/pkgmgr.patch.sh" +pkgmgr_files += "${prefix}/bin/pkgcmd" +pkgmgr_files += "${prefix}/bin/pkg_createdb" +pkgmgr_files += "${prefix}/bin/pkg_createdb_user" +pkgmgr_files += "${prefix}/bin/pkg_syncdb" +pkgmgr_files += "${prefix}/bin/pkg_syncdb_user" +pkgmgr_files += "${prefix}/bin/pkg_initdb" +pkgmgr_files += "${prefix}/bin/pkg_initdb_user" +pkgmgr_files += "${prefix}/bin/pkg_getsize" +pkgmgr_files += "${prefix}/bin/pkg_clearcache" +pkgmgr_files += "${prefix}/bin/pkginfo" +pkgmgr_files += "${prefix}/bin/pkgmgr-install" +pkgmgr_files += "%dir ${prefix}/share/packages" +pkgmgr_files += "${prefix}/share/packages/org.tizen.pkgmgr-install.xml" +pkgmgr_files += "${prefix}/share/mime/packages/mime.wac.xml" +pkgmgr_files += "${prefix}/share/mime/packages/mime.tpk.xml" +MANIFESTFILES_${PN} = "pkgmgr.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${sysconfdir}/package-manager/backend" +DIRFILES_${PN} += "${sysconfdir}/package-manager/backendlib" +DIRFILES_${PN} += "${sysconfdir}/opt/upgrade" + +pkgmgr-server_files = "" +pkgmgr-server_files += "${prefix}/share/dbus-1/system-services/org.tizen.slp.pkgmgr.service" +pkgmgr-server_files += "${sysconfdir}/dbus-1/system.d/org.tizen.slp.pkgmgr.conf" +pkgmgr-server_files += "${prefix}/bin/pkgmgr-server" +pkgmgr-server_files += "${sysconfdir}/package-manager/server" +CONFFILES_${PN}-server = "" +CONFFILES_${PN}-server += "${sysconfdir}/dbus-1/system.d/org.tizen.slp.pkgmgr.conf" +MANIFESTFILES_${PN}-server = "pkgmgr-server.manifest" + +pkgmgr-types-dev_files = "" +pkgmgr-types-dev_files += "${prefix}/include/package-manager-types.h" +pkgmgr-types-dev_files += "${prefix}/include/package-manager-plugin.h" +pkgmgr-types-dev_files += "${prefix}/lib/pkgconfig/pkgmgr-types.pc" +MANIFESTFILES_${PN}-types-dev = "pkgmgr-types-devel.manifest" + +pkgmgr-client-dev_files = "" +pkgmgr-client-dev_files += "${prefix}/include/package-manager.h" +pkgmgr-client-dev_files += "${prefix}/include/pkgmgr-dbinfo.h" +pkgmgr-client-dev_files += "${prefix}/lib/pkgconfig/pkgmgr.pc" +pkgmgr-client-dev_files += "${prefix}/lib/libpkgmgr-client.so" +MANIFESTFILES_${PN}-client-dev = "pkgmgr-client-devel.manifest" + +pkgmgr-installer-dev_files = "" +pkgmgr-installer-dev_files += "${prefix}/include/pkgmgr" +pkgmgr-installer-dev_files += "${prefix}/include/pkgmgr/pkgmgr_installer.h" +pkgmgr-installer-dev_files += "${prefix}/lib/pkgconfig/pkgmgr-installer-status-broadcast-server.pc" +pkgmgr-installer-dev_files += "${prefix}/lib/pkgconfig/pkgmgr-installer.pc" +pkgmgr-installer-dev_files += "${prefix}/lib/pkgconfig/pkgmgr-installer-client.pc" +pkgmgr-installer-dev_files += "${prefix}/lib/libpkgmgr_installer.so" +pkgmgr-installer-dev_files += "${prefix}/lib/libpkgmgr_installer_client.so" +pkgmgr-installer-dev_files += "${prefix}/lib/libpkgmgr_installer_status_broadcast_server.so" +MANIFESTFILES_${PN}-installer-dev = "pkgmgr-installer-devel.manifest" +DIRFILES_${PN}-installer-dev = "" +DIRFILES_${PN}-installer-dev += "${prefix}/include/pkgmgr" + +pkgmgr-installer_files = "" +pkgmgr-installer_files += "${prefix}/lib/libpkgmgr_installer.so.*" +pkgmgr-installer_files += "${prefix}/lib/libpkgmgr_installer_status_broadcast_server.so.*" +pkgmgr-installer_files += "${prefix}/lib/libpkgmgr_installer_client.so.*" +MANIFESTFILES_${PN}-installer = "pkgmgr-installer.manifest" + +FILES_${PN}-client = "${pkgmgr-client_files}" +FILES_${PN} = "${pkgmgr_files}" +FILES_${PN}-server = "${pkgmgr-server_files}" +FILES_${PN}-types-dev = "${pkgmgr-types-dev_files}" +FILES_${PN}-client-dev = "${pkgmgr-client-dev_files}" +FILES_${PN}-installer-dev = "${pkgmgr-installer-dev_files}" +FILES_${PN}-installer = "${pkgmgr-installer_files}" + +PKG_pkgmgr-client= "pkgmgr-client" +PKG_pkgmgr= "pkgmgr" +PKG_pkgmgr-server= "pkgmgr-server" +PKG_pkgmgr-types-dev= "pkgmgr-types-dev" +PKG_pkgmgr-client-dev= "pkgmgr-client-dev" +PKG_pkgmgr-installer-dev= "pkgmgr-installer-dev" +PKG_pkgmgr-installer= "pkgmgr-installer" + +require pkgmgr-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr_git.bb new file mode 100644 index 0000000000..5fe3882102 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/pkgmgr/pkgmgr_git.bb @@ -0,0 +1,10 @@ +require pkgmgr.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/slp-pkgmgr;tag=5a9c95d025580510a18f80694f807dfdd569410f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/status/status.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/status/status.inc new file mode 100644 index 0000000000..6156101c43 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/status/status.inc @@ -0,0 +1,154 @@ +DESCRIPTION = "Status library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Core Applications" +LICENSE = "Apache-2.0" +PV = "0.0.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by status + + +#PROVIDES by status-dev +PROVIDES += "status-dev" + + +RDEPENDS = "" +#RDEPENDS of status (${PN}) +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of status-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "status" + + +DEPENDS = "" +#DEPENDS of status +inherit tizen_cmake +DEPENDS += "dbus" +DEPENDS += "tizen-platform-config" +DEPENDS += "aul" +DEPENDS += "dlog" +inherit pkgconfig +DEPENDS += "vconf" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/status.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + export LDFLAGS="${LDFLAGS} -Wl,--rpath=${prefix}/lib -Wl,--as-needed" + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${prefix}/share/license + cp -f LICENSE ${D}${prefix}/share/license/status + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + users_gid=$(getent group users | cut -f3 -d':') + init_vconf() + { + vconftool set -t int memory/private/libstatus/music/state 0 -i -g $users_gid + vconftool set -t int memory/private/libstatus/radio/state 0 -i -g $users_gid + vconftool set -t int memory/private/libstatus/vr/state 0 -i -g $users_gid + vconftool set -t int memory/private/libstatus/music/pid -1 -i -g $users_gid + vconftool set -t int memory/private/libstatus/radio/pid -1 -i -g $users_gid + vconftool set -t int memory/private/libstatus/vr/pid -1 -i -g $users_gid + vconftool set -t string memory/private/libstatus/message "" -i -g $users_gid + } + [ "x$D" == "x" ] && ldconfig + init_vconf + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " status " +PACKAGES += " status-dev " + +status_files = "" +status_files += "${prefix}/lib/*.so*" +status_files += "${prefix}/share/license/status" +MANIFESTFILES_${PN} = "status.manifest" + +status-dev_files = "" +status-dev_files += "${prefix}/include/status/*.h" +status-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "status.manifest" + +FILES_${PN} = "${status_files}" +FILES_${PN}-dev = "${status-dev_files}" + +PKG_status= "status" +PKG_status-dev= "status-dev" + +require status-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/status/status_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/status/status_git.bb new file mode 100644 index 0000000000..53b5ee3ce1 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/status/status_git.bb @@ -0,0 +1,10 @@ +require status.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/status;tag=bebaf1fd70a6b15dbb428f223e75811a83ece711;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/syspopup/syspopup.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/syspopup/syspopup.inc new file mode 100644 index 0000000000..c6cf556886 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/syspopup/syspopup.inc @@ -0,0 +1,206 @@ +DESCRIPTION = "Syspopup package" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.0.100" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by syspopup-dev +PROVIDES += "syspopup-dev" + + +#PROVIDES by syspopup + + +#PROVIDES by syspopup-caller-dev +PROVIDES += "syspopup-caller-dev" + + +#PROVIDES by syspopup-caller +PROVIDES += "syspopup-caller" + + +RDEPENDS = "" +#RDEPENDS of syspopup-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "syspopup" + +#RDEPENDS of syspopup-caller-dev (${PN}-caller-dev) +RDEPENDS_${PN}-caller-dev += "syspopup" + +#RDEPENDS of syspopup-caller (${PN}-caller) +RDEPENDS_${PN}-caller += "glibc" +RDEPENDS_${PN}-caller += "syspopup" + + +DEPENDS = "" +#DEPENDS of syspopup +inherit tizen_cmake +DEPENDS += "evas" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "bundle" +DEPENDS += "aul" +DEPENDS += "dlog" +DEPENDS += "sqlite3" +DEPENDS += "app-core" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/syspopup.manifest ${S}/packaging/syspopup-devel.manifest ${S}/packaging/syspopup-caller.manifest ${S}/packaging/syspopup-caller-devel.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . \ + -Dwith_wayland=TRUE \ + -DEXTRA_CFLAGS=-fPIC + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}/usr/share/license + install LICENSE ${D}/usr/share/license/syspopup + install LICENSE ${D}/usr/share/license/syspopup-devel + install LICENSE ${D}/usr/share/license/syspopup-caller + install LICENSE ${D}/usr/share/license/syspopup-caller-devel + + mkdir -p ${D}${prefix}/dbspace + sqlite3 ${D}${prefix}/dbspace/.syspopup.db < ${D}/usr/share/syspopup/syspopup_db.sql + rm -rf ${D}/usr/share/syspopup/syspopup_db.sql + + touch ${D}${prefix}/share/popup_noti_term + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " syspopup-dev " +PACKAGES += " syspopup " +PACKAGES += " syspopup-caller-dev " +PACKAGES += " syspopup-caller " + +syspopup-dev_files = "" +syspopup-dev_files += "${prefix}/include/SLP_SYSPOPUP_PG.h" +syspopup-dev_files += "${prefix}/include/syspopup.h" +syspopup-dev_files += "${prefix}/lib/libsyspopup.so" +syspopup-dev_files += "${prefix}/lib/pkgconfig/syspopup.pc" +syspopup-dev_files += "/usr/share/license/syspopup-devel" +MANIFESTFILES_${PN}-dev = "syspopup-devel.manifest" + +syspopup_files = "" +syspopup_files += "${prefix}/share/icons/default/small/org.tizen.syspopup-app.png" +syspopup_files += "${prefix}/bin/sp_test" +syspopup_files += "${prefix}/bin/syspopup-app" +syspopup_files += "${prefix}/lib/libsyspopup.so.0.1.0" +syspopup_files += "${prefix}/share/packages/org.tizen.syspopup-app.xml" +syspopup_files += "${prefix}/share/popup_noti_term" +syspopup_files += "${prefix}/dbspace/.syspopup.db" +syspopup_files += "${prefix}/dbspace/.syspopup.db-journal" +syspopup_files += "/usr/share/license/syspopup" +MANIFESTFILES_${PN} = "syspopup.manifest" + +syspopup-caller-dev_files = "" +syspopup-caller-dev_files += "${prefix}/lib/libsyspopup_caller.so" +syspopup-caller-dev_files += "${prefix}/include/syspopup_caller.h" +syspopup-caller-dev_files += "${prefix}/lib/pkgconfig/syspopup-caller.pc" +syspopup-caller-dev_files += "/usr/share/license/syspopup-caller-devel" +MANIFESTFILES_${PN}-caller-dev = "syspopup-caller-devel.manifest" + +syspopup-caller_files = "" +syspopup-caller_files += "${prefix}/lib/libsyspopup_caller.so.0.1.0" +syspopup-caller_files += "/usr/share/license/syspopup-caller" +MANIFESTFILES_${PN}-caller = "syspopup-caller.manifest" + +FILES_${PN}-dev = "${syspopup-dev_files}" +FILES_${PN} = "${syspopup_files}" +FILES_${PN}-caller-dev = "${syspopup-caller-dev_files}" +FILES_${PN}-caller = "${syspopup-caller_files}" + +PKG_syspopup-dev= "syspopup-dev" +PKG_syspopup= "syspopup" +PKG_syspopup-caller-dev= "syspopup-caller-dev" +PKG_syspopup-caller= "syspopup-caller" + +require syspopup-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/syspopup/syspopup_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/syspopup/syspopup_git.bb new file mode 100644 index 0000000000..9c6cfa98cb --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/syspopup/syspopup_git.bb @@ -0,0 +1,10 @@ +require syspopup.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/base/syspopup;tag=613e33a194a4c5f8eeb1022073e73248afcf6c77;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/update-desktop-files/update-desktop-files.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/update-desktop-files/update-desktop-files.inc new file mode 100644 index 0000000000..898dfc4e36 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/update-desktop-files/update-desktop-files.inc @@ -0,0 +1,96 @@ +DESCRIPTION = "A Build Tool to Update Desktop Files" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Tools" +LICENSE = "GPL-2.0+" +PV = "12.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by update-desktop-files + + +#PROVIDES by brp-trim-desktopfiles +PROVIDES += "brp-trim-desktopfiles" + + +RDEPENDS = "" +#RDEPENDS of update-desktop-files (${PN}) +RDEPENDS_${PN} += "desktop-file-utils" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n . -D -T 0 + cp ${S}/packaging/update-desktop-files.manifest . + mkdir update-desktop-files + cd update-desktop-files + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/usr/share/spec2yocto/macro + install -m0755 ${S}/packaging/tizen_update_desktop_file.sh ${S}/packaging/map-desktop-category.sh ${D}/usr/share/spec2yocto/macro + install -m0644 -D ${S}/packaging/macro ${D}${sysconfdir}/rpm/macros.update-desktop-files + install -m0755 -D ${S}/packaging/brp-trim-desktop.sh ${D}/usr/share/spec2yocto/macro/brp-tizen.d/brp-70-trim-desktopfiles + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " brp-trim-desktopfiles " +PACKAGES += " update-desktop-files " + +brp-trim-desktopfiles_files = "" +brp-trim-desktopfiles_files += "/usr/share/spec2yocto/macro/brp-tizen.d" +MANIFESTFILES_brp-trim-desktopfiles = "update-desktop-files.manifest" + +update-desktop-files_files = "" +update-desktop-files_files += "/usr/share/spec2yocto/macro/*" +update-desktop-files_files += "${sysconfdir}/rpm/*" +MANIFESTFILES_${PN} = "update-desktop-files.manifest" + +FILES_brp-trim-desktopfiles = "${brp-trim-desktopfiles_files}" +FILES_${PN} = "${update-desktop-files_files}" + +PKG_brp-trim-desktopfiles= "brp-trim-desktopfiles" +PKG_update-desktop-files= "update-desktop-files" + +require update-desktop-files-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/update-desktop-files/update-desktop-files_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/update-desktop-files/update-desktop-files_git.bb new file mode 100644 index 0000000000..7684128e35 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/update-desktop-files/update-desktop-files_git.bb @@ -0,0 +1,10 @@ +require update-desktop-files.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/update-desktop-files;tag=41a39c9fe36dbbbc769ca391c32d5f8a3c0c0291;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton.inc new file mode 100644 index 0000000000..99031203b3 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton.inc @@ -0,0 +1,175 @@ +DESCRIPTION = "Configuration system library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.3" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by vconf-buxton-dev +PROVIDES += "vconf-buxton-dev" +# the PROVIDES rules is ignore "vconf-dev " +PROVIDES += "vconf-dev" +RPROVIDES_vconf-buxton-dev += "vconf-dev" + + +#PROVIDES by vconf-buxton-keys-dev +PROVIDES += "vconf-buxton-keys-dev" +# the PROVIDES rules is ignore "vconf-keys-dev " +PROVIDES += "vconf-keys-dev" +RPROVIDES_vconf-buxton-keys-dev += "vconf-keys-dev" + + +#PROVIDES by vconf-buxton +# the PROVIDES rules is ignore "vconf " +PROVIDES += "vconf" +RPROVIDES_vconf-buxton += "vconf" + + +RDEPENDS = "" +#RDEPENDS of vconf-buxton-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "vconf-buxton-keys-dev" +RDEPENDS_${PN}-dev += "vconf-buxton" + +#RDEPENDS of vconf-buxton-keys-dev (${PN}-keys-dev) +RDEPENDS_${PN}-keys-dev += "vconf-buxton" +RDEPENDS_${PN}-keys-dev += "vconf-internal-keys-dev" + +#RDEPENDS of vconf-buxton (${PN}) +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "util-linux" + + +DEPENDS = "" +#DEPENDS of vconf-buxton +DEPENDS += "vconf-internal-keys" +DEPENDS += "buxton" +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n vconf-buxton-0.3 + cp ${S}/packaging/vconf-buxton.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} -DLIBNAME:STRING=vconf -DTOOLNAME:STRING=vconftool . + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mv ${D}${systemd_unitdir}/system/vconf-buxton-setup.service ${D}${systemd_unitdir}/system/vconf-setup.service + mkdir -p ${D}${systemd_unitdir}/system/basic.target.wants + ln -sf ../vconf-setup.service ${D}${systemd_unitdir}/system/basic.target.wants/ + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + vconf-buxton-init-from-vconf.sh + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " vconf-buxton-dev " +PACKAGES += " vconf-buxton-keys-dev " +PACKAGES += " vconf-buxton " + +vconf-buxton-dev_files = "" +vconf-buxton-dev_files += "${prefix}/include/vconf/vconf.h" +vconf-buxton-dev_files += "${prefix}/include/vconf/vconf-buxton.h" +vconf-buxton-dev_files += "${prefix}/lib/pkgconfig/vconf.pc" +vconf-buxton-dev_files += "${prefix}/lib/libvconf.so" +MANIFESTFILES_${PN}-dev = "vconf-buxton.manifest" + +vconf-buxton-keys-dev_files = "" +vconf-buxton-keys-dev_files += "${prefix}/include/vconf/vconf-keys.h" +vconf-buxton-keys-dev_files += "${prefix}/include/vconf/vconf-buxton-keys.h" +MANIFESTFILES_${PN}-keys-dev = "vconf-buxton.manifest" + +vconf-buxton_files = "" +vconf-buxton_files += "${prefix}/bin/vconftool" +vconf-buxton_files += "${prefix}/bin/vconf-buxton-init-from-vconf.sh" +vconf-buxton_files += "${prefix}/bin/vconf-buxton-restore-mem-layer.sh" +vconf-buxton_files += "${prefix}/bin/vconf-buxton-backup-mem-layer.sh" +vconf-buxton_files += "${prefix}/lib/libvconf.so.*" +vconf-buxton_files += "${systemd_unitdir}/system/basic.target.wants/vconf-setup.service" +vconf-buxton_files += "${systemd_unitdir}/system/vconf-setup.service" +MANIFESTFILES_${PN} = "vconf-buxton.manifest" + +FILES_${PN}-dev = "${vconf-buxton-dev_files}" +FILES_${PN}-keys-dev = "${vconf-buxton-keys-dev_files}" +FILES_${PN} = "${vconf-buxton_files}" + +PKG_vconf-buxton-dev= "vconf-buxton-dev" +PKG_vconf-buxton-keys-dev= "vconf-buxton-keys-dev" +PKG_vconf-buxton= "vconf-buxton" + +require vconf-buxton-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton_git.bb new file mode 100644 index 0000000000..57a6c8c1f7 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-buxton/vconf-buxton_git.bb @@ -0,0 +1,10 @@ +require vconf-buxton.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/vconf-buxton;tag=837474017fea13e4c2aa5126666947ff5caa578f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-internal-keys/vconf-internal-keys.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-internal-keys/vconf-internal-keys.inc new file mode 100644 index 0000000000..a91196e31a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-internal-keys/vconf-internal-keys.inc @@ -0,0 +1,107 @@ +DESCRIPTION = "Internal shared keys for vconf" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Development" +LICENSE = "Apache-2.0" +PV = "0.0.82" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by vconf-internal-keys + + +#PROVIDES by vconf-internal-keys-dev +PROVIDES += "vconf-internal-keys-dev" + + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of vconf-internal-keys +inherit tizen_cmake + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/vconf-internal-keys.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " vconf-internal-keys-dev " + +vconf-internal-keys-dev_files = "" +vconf-internal-keys-dev_files += "${prefix}/include/vconf/*" +vconf-internal-keys-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "vconf-internal-keys.manifest" + +FILES_${PN}-dev = "${vconf-internal-keys-dev_files}" + +PKG_vconf-internal-keys-dev= "vconf-internal-keys-dev" + +require vconf-internal-keys-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-internal-keys/vconf-internal-keys_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-internal-keys/vconf-internal-keys_git.bb new file mode 100644 index 0000000000..0aff6faa78 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-application-framework/vconf-internal-keys/vconf-internal-keys_git.bb @@ -0,0 +1,10 @@ +require vconf-internal-keys.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/vconf-internal-keys;tag=9d1f756ba5062a60eeea11cf0b2b7fd60461bcf5;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-db-util/libslp-db-util.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-db-util/libslp-db-util.inc new file mode 100644 index 0000000000..f2162c0cad --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-db-util/libslp-db-util.inc @@ -0,0 +1,137 @@ +DESCRIPTION = "DB Utility" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Database" +LICENSE = "Apache-2.0" +PV = "0.1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libslp-db-util-dev +PROVIDES += "libslp-db-util-dev" + + +#PROVIDES by libslp-db-util + + +RDEPENDS = "" +#RDEPENDS of libslp-db-util-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libslp-db-util" + + +DEPENDS = "" +#DEPENDS of libslp-db-util +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "sqlite3" +DEPENDS += "icu" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libslp-db-util.manifest ${S}/packaging/libslp-db-util-devel.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libslp-db-util-dev " +PACKAGES += " libslp-db-util " + +libslp-db-util-dev_files = "" +libslp-db-util-dev_files += "${prefix}/include/db-util" +libslp-db-util-dev_files += "${prefix}/include/db-util/*.h" +libslp-db-util-dev_files += "${prefix}/lib/pkgconfig/db-util.pc" +libslp-db-util-dev_files += "${prefix}/lib/libSLP-db-util.so" +MANIFESTFILES_${PN}-dev = "libslp-db-util-devel.manifest" +DIRFILES_${PN}-dev = "" +DIRFILES_${PN}-dev += "${prefix}/include/db-util" + +libslp-db-util_files = "" +libslp-db-util_files += "${prefix}/lib/libSLP-db-util.so.0" +libslp-db-util_files += "${prefix}/lib/libSLP-db-util.so.0.1.0" +MANIFESTFILES_${PN} = "libslp-db-util.manifest" + +FILES_${PN}-dev = "${libslp-db-util-dev_files}" +FILES_${PN} = "${libslp-db-util_files}" + +PKG_libslp-db-util-dev= "libslp-db-util-dev" +PKG_libslp-db-util= "libslp-db-util" + +require libslp-db-util-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-db-util/libslp-db-util_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-db-util/libslp-db-util_git.bb new file mode 100644 index 0000000000..f27650d8e1 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-db-util/libslp-db-util_git.bb @@ -0,0 +1,10 @@ +require libslp-db-util.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/libslp-db-util;tag=4ef37c0712f5f5043768c66ffef2a7f5b76ba940;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location.inc new file mode 100644 index 0000000000..c2882be668 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "Location Based Service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Location/Libraries" +LICENSE = "Apache-2.0" +PV = "0.5.3" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libslp-location-dev +PROVIDES += "libslp-location-dev" + + +#PROVIDES by libslp-location + + +RDEPENDS = "" +#RDEPENDS of libslp-location-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libslp-location" + +#RDEPENDS of libslp-location (${PN}) +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "vconf" + + +DEPENDS = "" +#DEPENDS of libslp-location +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "json-glib" +DEPENDS += "vconf" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libslp-location-0.5.3 + cp ${S}/packaging/libslp-location.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + vconftool set -t int db/location/last/gps/Timestamp "0" -f + vconftool set -t double db/location/last/gps/Latitude "0.0" -f + vconftool set -t double db/location/last/gps/Longitude "0.0" -f + vconftool set -t double db/location/last/gps/Altitude "0.0" -f + vconftool set -t double db/location/last/gps/HorAccuracy "0.0" -f + vconftool set -t double db/location/last/gps/VerAccuracy "0.0" -f + vconftool set -t double db/location/last/gps/Speed "0.0" -f + vconftool set -t double db/location/last/gps/Direction "0.0" -f + vconftool set -t int db/location/last/wps/Timestamp "0" -f + vconftool set -t double db/location/last/wps/Latitude "0.0" -f + vconftool set -t double db/location/last/wps/Longitude "0.0" -f + vconftool set -t double db/location/last/wps/Altitude "0.0" -f + vconftool set -t double db/location/last/wps/HorAccuracy "0.0" -f + vconftool set -t double db/location/last/wps/Speed "0.0" -f + vconftool set -t double db/location/last/wps/Direction "0.0" -f + vconftool set -t int db/location/setting/GpsEnabled "0" -g 6514 -f + vconftool set -t int db/location/setting/AgpsEnabled "0" -g 6514 -f + vconftool set -t int db/location/setting/NetworkEnabled "0" -g 6514 -f + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libslp-location-dev " +PACKAGES += " libslp-location " + +libslp-location-dev_files = "" +libslp-location-dev_files += "${prefix}/include/location/*.h" +libslp-location-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "libslp-location.manifest" + +libslp-location_files = "" +libslp-location_files += "${prefix}/lib/lib*.so*" +MANIFESTFILES_${PN} = "libslp-location.manifest" + +FILES_${PN}-dev = "${libslp-location-dev_files}" +FILES_${PN} = "${libslp-location_files}" + +PKG_libslp-location-dev= "libslp-location-dev" +PKG_libslp-location= "libslp-location" + +require libslp-location-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location_git.bb new file mode 100644 index 0000000000..7402acf344 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-location/libslp-location_git.bb @@ -0,0 +1,10 @@ +require libslp-location.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/location/libslp-location;tag=ae7068a66179d52f94d9f7a5964885a54f5057e9;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-memo/libslp-memo.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-memo/libslp-memo.inc new file mode 100644 index 0000000000..1e598616cf --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-memo/libslp-memo.inc @@ -0,0 +1,148 @@ +DESCRIPTION = "Memo DB interface library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Application Framework/Libraries" +LICENSE = "Flora" +PV = "0.1.5" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libslp-memo + + +#PROVIDES by libslp-memo-dev +PROVIDES += "libslp-memo-dev" + + +RDEPENDS = "" +#RDEPENDS of libslp-memo-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libslp-memo" + + +DEPENDS = "" +#DEPENDS of libslp-memo +inherit tizen_cmake +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "sqlite3" +DEPENDS += "heynoti" +DEPENDS += "vconf" +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libslp-memo.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + export LDFLAGS="${LDFLAGS} -Wl,--rpath=${prefix}/lib -Wl,--as-needed -Wl,--hash-style=both" + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + mkdir -p $D${prefix}/dbspace + sqlite3 $D${prefix}/dbspace/.memo.db 'PRAGMA journal_mode = PERSIST; + CREATE TABLE if not exists memo ( id INTEGER PRIMARY KEY autoincrement, content TEXT, written_time TEXT, create_time INTEGER, modi_time INTEGER, delete_time INTEGER, doodle INTEGER, color INTEGER, comment TEXT, favorite INTEGER,font_respect INTEGER, font_size INTEGER, font_color INTEGER, doodle_path TEXT ); + ' + [ "x$D" == "x" ] && ldconfig + # Change file owner + chown :users $D${prefix}/dbspace/.memo.db + chown :users $D${prefix}/dbspace/.memo.db-journal + # Change file permissions + chmod 660 $D${prefix}/dbspace/.memo.db + chmod 660 $D${prefix}/dbspace/.memo.db-journal + chsmack -a 'User' $D${prefix}/dbspace/.memo.db* + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libslp-memo " +PACKAGES += " libslp-memo-dev " + +libslp-memo_files = "" +libslp-memo_files += "${prefix}/lib/*.so.*" +MANIFESTFILES_${PN} = "libslp-memo.manifest" + +libslp-memo-dev_files = "" +libslp-memo-dev_files += "${prefix}/lib/*.so" +libslp-memo-dev_files += "${prefix}/lib/pkgconfig/memo.pc" +libslp-memo-dev_files += "${prefix}/include/*.h" +MANIFESTFILES_${PN}-dev = "libslp-memo.manifest" + +FILES_${PN} = "${libslp-memo_files}" +FILES_${PN}-dev = "${libslp-memo-dev_files}" + +PKG_libslp-memo= "libslp-memo" +PKG_libslp-memo-dev= "libslp-memo-dev" + +require libslp-memo-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-memo/libslp-memo_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-memo/libslp-memo_git.bb new file mode 100644 index 0000000000..ae584902ba --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-applications/libslp-memo/libslp-memo_git.bb @@ -0,0 +1,10 @@ +require libslp-memo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/apps/core/preloaded/libslp-memo;tag=2d7a05e35636d8a379f4f2eaac3b180c51e18592;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk.inc new file mode 100644 index 0000000000..94caef233d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk.inc @@ -0,0 +1,220 @@ +DESCRIPTION = "Bluetooth framework for BlueZ and Obexd" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/Bluetooth" +LICENSE = "Apache-2.0" +PV = "0.2.55" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by bluetooth-frwk-core +PROVIDES += "bluetooth-frwk-core" + + +#PROVIDES by bluetooth-frwk-dev +PROVIDES += "bluetooth-frwk-dev" + + +#PROVIDES by bluetooth-frwk-service +PROVIDES += "bluetooth-frwk-service" + + +#PROVIDES by bluetooth-frwk + + +RDEPENDS = "" +#RDEPENDS of bluetooth-frwk-core (${PN}-core) +RDEPENDS_${PN}-core += "connman" +RDEPENDS_${PN}-core += "bluetooth-frwk" + +#RDEPENDS of bluetooth-frwk-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "bluetooth-frwk" + +#RDEPENDS of bluetooth-frwk-service (${PN}-service) +RDEPENDS_${PN}-service += "bluetooth-frwk" + +#RDEPENDS of bluetooth-frwk (${PN}) +RDEPENDS_${PN} += "dbus" +RDEPENDS_${PN} += "bluetooth-tools" +RDEPENDS_${PN} += "vconf" +RDEPENDS_${PN} += "glibc" + + +DEPENDS = "" +#DEPENDS of bluetooth-frwk +DEPENDS += "status" +inherit tizen_cmake +DEPENDS += "libxml2" +DEPENDS += "dbus" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "capi-network-tethering" +DEPENDS += "aul" +DEPENDS += "security-server" +DEPENDS += "notification" +DEPENDS += "alarm-manager" +DEPENDS += "libprivilege-control" +DEPENDS += "vconf" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bluetooth-frwk.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + export CFLAGS="${CFLAGS} -Wall -g -fvisibility=hidden -fPIC" + export LDFLAGS="${LDFLAGS} -Wl,--rpath=${prefix}/lib -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs" + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . \ + -DTZ_SYS_USER_GROUP=users \ + -DTZ_SYS_DEFAULT_USER=app \ + -DLIBNOTIFY_SUPPORT=Off \ + -DLIBNOTIFICATION_SUPPORT=On + + oe_runmake + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}${prefix}/lib/systemd/user + install -m 0644 bt-service/bluetooth-frwk-service.service ${D}${prefix}/lib/systemd/user + + mkdir -p ${D}${prefix}/share/icons/default + install -m 0644 ${S}/packaging/bt-icon.png ${D}${prefix}/share/icons/default/bt-icon.png + + # On IVI bt-service needs to be run as 'app' even if there is a 'guest' user. + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + vconftool set -f -t int db/bluetooth/status "0" -g 6520 + vconftool set -f -t int file/private/bt-service/flight_mode_deactivated "0" -g 6520 -i + vconftool set -f -t string memory/bluetooth/sco_headset_name "" -g 6520 -i + vconftool set -f -t int memory/bluetooth/device "0" -g 6520 -i + vconftool set -f -t int memory/bluetooth/btsco "0" -g 6520 -i + # set 'User' smack label to vconf keys in order to allow bt-service to access them. + chsmack -a 'User' $D${prefix}/kdb/db/bluetooth/status + chsmack -a 'User' $D${prefix}/kdb/file/private/bt-service/flight_mode_deactivated + chsmack -a 'User' $D${prefix}/kdb/memory_init/memory/bluetooth/sco_headset_name + chsmack -a 'User' $D${prefix}/kdb/memory_init/memory/bluetooth/device + chsmack -a 'User' $D${prefix}/kdb/memory_init/memory/bluetooth/btsco + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " bluetooth-frwk-dev " +PACKAGES += " bluetooth-frwk-core " +PACKAGES += " bluetooth-frwk-service " +PACKAGES += " bluetooth-frwk " + +bluetooth-frwk-dev_files = "" +bluetooth-frwk-dev_files += "${prefix}/include/bt-service/bluetooth-api.h" +bluetooth-frwk-dev_files += "${prefix}/include/bt-service/bluetooth-hid-api.h" +bluetooth-frwk-dev_files += "${prefix}/include/bt-service/bluetooth-audio-api.h" +bluetooth-frwk-dev_files += "${prefix}/include/bt-service/bluetooth-telephony-api.h" +bluetooth-frwk-dev_files += "${prefix}/include/bt-service/bluetooth-media-control.h" +bluetooth-frwk-dev_files += "${prefix}/lib/pkgconfig/bluetooth-api.pc" +bluetooth-frwk-dev_files += "${prefix}/lib/libbluetooth-api.so" +MANIFESTFILES_${PN}-dev = "bluetooth-frwk.manifest" + +bluetooth-frwk-core_files = "" +bluetooth-frwk-core_files += "${prefix}/share/dbus-1/system-services/org.projectx.bt_core.service" +bluetooth-frwk-core_files += "${prefix}/bin/bt-core" +bluetooth-frwk-core_files += "${sysconfdir}/dbus-1/system.d/bluetooth-frwk-core.conf" +MANIFESTFILES_${PN}-core = "bluetooth-frwk.manifest" + +bluetooth-frwk-service_files = "" +bluetooth-frwk-service_files += "${prefix}/share/dbus-1/system-services/org.projectx.bt.service" +bluetooth-frwk-service_files += "${prefix}/bin/bt-service" +bluetooth-frwk-service_files += "${prefix}/lib/systemd/user/bluetooth-frwk-service.service" +bluetooth-frwk-service_files += "/opt/var/lib/bluetooth/auto-pair-blacklist" +bluetooth-frwk-service_files += "${sysconfdir}/dbus-1/system.d/bluetooth-frwk-service.conf" +bluetooth-frwk-service_files += "${prefix}/share/icons/default/bt-icon.png" +MANIFESTFILES_${PN}-service = "bluetooth-frwk.manifest" + +bluetooth-frwk_files = "" +bluetooth-frwk_files += "${prefix}/lib/libbluetooth-api.so.*" +MANIFESTFILES_${PN} = "bluetooth-frwk.manifest" + +FILES_${PN}-dev = "${bluetooth-frwk-dev_files}" +FILES_${PN}-core = "${bluetooth-frwk-core_files}" +FILES_${PN}-service = "${bluetooth-frwk-service_files}" +FILES_${PN} = "${bluetooth-frwk_files}" + +PKG_bluetooth-frwk-dev= "bluetooth-frwk-dev" +PKG_bluetooth-frwk-core= "bluetooth-frwk-core" +PKG_bluetooth-frwk-service= "bluetooth-frwk-service" +PKG_bluetooth-frwk= "bluetooth-frwk" + +require bluetooth-frwk-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk_git.bb new file mode 100644 index 0000000000..0a59d590b0 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-frwk/bluetooth-frwk_git.bb @@ -0,0 +1,10 @@ +require bluetooth-frwk.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/bluetooth-frwk;tag=2fb774848a3e3dd4c11e260052786c2572e0bbe2;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-tools/bluetooth-tools.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-tools/bluetooth-tools.inc new file mode 100644 index 0000000000..8318f04e76 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-tools/bluetooth-tools.inc @@ -0,0 +1,146 @@ +DESCRIPTION = "Bluetooth-tools" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/Bluetooth" +LICENSE = "Apache-2.0" +PV = "0.2.35" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by bluetooth-tools-no-firmware +PROVIDES += "bluetooth-tools-no-firmware" + + +#PROVIDES by bluetooth-tools + + +RDEPENDS = "" +#RDEPENDS of bluetooth-tools-no-firmware (${PN}-no-firmware) +RDEPENDS_${PN}-no-firmware += "bluetooth-tools" +RDEPENDS_${PN}-no-firmware += "rfkill" + +#RDEPENDS of bluetooth-tools (${PN}) +RDEPENDS_${PN} += "tizen-platform-config-tools" + + +DEPENDS = "" +#DEPENDS of bluetooth-tools +inherit tizen_cmake + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + export CFLAGS="${CFLAGS} -fpie -fvisibility=hidden" + export LDFLAGS="${LDFLAGS} -Wl,--rpath=/usr/lib -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie" + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DCMAKE_INSTALL_PREFIX=${prefix} + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}${sysconfdir}/rc.d/rc3.d + mkdir -p ${D}${sysconfdir}/rc.d/rc5.d + ln -s ${sysconfdir}/rc.d/init.d/bluetooth-address ${D}${sysconfdir}/rc.d/rc3.d/S60bluetooth-address + ln -s ${sysconfdir}/rc.d/init.d/bluetooth-address ${D}${sysconfdir}/rc.d/rc5.d/S60bluetooth-address + + mkdir -p ${D}${systemd_unitdir}/system/multi-user.target.wants + install -m 0644 ${S}/packaging/bluetooth-address.service ${D}${systemd_unitdir}/system + ln -s ../bluetooth-address.service ${D}${systemd_unitdir}/system/multi-user.target.wants/bluetooth-address.service + + mkdir -p ${D}${prefix}/etc/bluetooth/ + install -m 0755 scripts/bt-dev-start.sh ${D}${prefix}/etc/bluetooth/bt-dev-start.sh + install -m 0755 scripts/bt-dev-end.sh ${D}${prefix}/etc/bluetooth/bt-dev-end.sh + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " bluetooth-tools-no-firmware " +PACKAGES += " bluetooth-tools " + +bluetooth-tools-no-firmware_files = "" +bluetooth-tools-no-firmware_files += "${prefix}/etc/bluetooth/bt-dev-end.sh" +bluetooth-tools-no-firmware_files += "${prefix}/etc/bluetooth/bt-dev-start.sh" +MANIFESTFILES_${PN}-no-firmware = "bluetooth-tools.manifest" + +bluetooth-tools_files = "" +bluetooth-tools_files += "${sysconfdir}/rc.d/init.d/bluetooth-address" +bluetooth-tools_files += "${sysconfdir}/rc.d/rc3.d/S60bluetooth-address" +bluetooth-tools_files += "${sysconfdir}/rc.d/rc5.d/S60bluetooth-address" +bluetooth-tools_files += "${prefix}/etc/bluetooth/bt-stack-up.sh" +bluetooth-tools_files += "${prefix}/etc/bluetooth/bt-stack-down.sh" +bluetooth-tools_files += "${prefix}/etc/bluetooth/bt-reset-env.sh" +bluetooth-tools_files += "${prefix}/etc/bluetooth/bt-edutm-on.sh" +bluetooth-tools_files += "${prefix}/etc/bluetooth/bt-edutm-dev-up.sh" +bluetooth-tools_files += "${prefix}/etc/bluetooth/bt-edutm-mode-on.sh" +bluetooth-tools_files += "${prefix}/etc/bluetooth/bt-edutm-off.sh" +bluetooth-tools_files += "${systemd_unitdir}/system/multi-user.target.wants/bluetooth-address.service" +bluetooth-tools_files += "${systemd_unitdir}/system/bluetooth-address.service" +MANIFESTFILES_${PN} = "bluetooth-tools.manifest" + +FILES_${PN}-no-firmware = "${bluetooth-tools-no-firmware_files}" +FILES_${PN} = "${bluetooth-tools_files}" + +PKG_bluetooth-tools-no-firmware= "bluetooth-tools-no-firmware" +PKG_bluetooth-tools= "bluetooth-tools" + +require bluetooth-tools-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-tools/bluetooth-tools_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-tools/bluetooth-tools_git.bb new file mode 100644 index 0000000000..eb063ca89a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bluetooth-tools/bluetooth-tools_git.bb @@ -0,0 +1,10 @@ +require bluetooth-tools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/bluetooth-tools;tag=ecb6831625572976a78a5ebdbe32fa0c0dfdb45e;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bundle/bundle.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bundle/bundle.inc new file mode 100644 index 0000000000..c3d47d78ad --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bundle/bundle.inc @@ -0,0 +1,135 @@ +DESCRIPTION = "String key-val dictionary ADT" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.1.31" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by bundle-dev +PROVIDES += "bundle-dev" + + +#PROVIDES by bundle + + +RDEPENDS = "" +#RDEPENDS of bundle-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "bundle" + + +DEPENDS = "" +#DEPENDS of bundle +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n bundle-0.1.31 + cp ${S}/packaging/bundle.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " bundle-dev " +PACKAGES += " bundle " + +bundle-dev_files = "" +bundle-dev_files += "${prefix}/include/bundle.h" +bundle-dev_files += "${prefix}/include/SLP_bundle_PG.h" +bundle-dev_files += "${prefix}/lib/pkgconfig/bundle.pc" +bundle-dev_files += "${prefix}/lib/libbundle.so" +MANIFESTFILES_${PN}-dev = "bundle.manifest" + +bundle_files = "" +bundle_files += "${prefix}/lib/libbundle.so.*" +MANIFESTFILES_${PN} = "bundle.manifest" + +FILES_${PN}-dev = "${bundle-dev_files}" +FILES_${PN} = "${bundle_files}" + +PKG_bundle-dev= "bundle-dev" +PKG_bundle= "bundle" + +require bundle-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bundle/bundle_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bundle/bundle_git.bb new file mode 100644 index 0000000000..173475d6b3 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/bundle/bundle_git.bb @@ -0,0 +1,10 @@ +require bundle.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/base/bundle;tag=71b36b170c377bfd15cb5601c49340ba95a1a30d;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider.inc new file mode 100644 index 0000000000..5ac99ab69b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider.inc @@ -0,0 +1,214 @@ +DESCRIPTION = "Download the contents in background" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "1.1.6" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by download-provider + + +#PROVIDES by download-provider-dev +PROVIDES += "download-provider-dev" + + +RDEPENDS = "" +#RDEPENDS of download-provider (${PN}) +RDEPENDS_${PN} += "sqlite3" +RDEPENDS_${PN} += "connman" +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "vconf" +RDEPENDS_${PN} += "net-config" + +#RDEPENDS of download-provider-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "download-provider" + + +DEPENDS = "" +#DEPENDS of download-provider +DEPENDS += "dlog" +DEPENDS += "xdgmime" +DEPENDS += "systemd" +inherit tizen_cmake +DEPENDS += "notification" +DEPENDS += "app-svc" +inherit pkgconfig +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "glib-2.0" +DEPENDS += "libsoup-2.4" +DEPENDS += "sqlite3" +DEPENDS += "libprivilege-control" +DEPENDS += "capi-appfw-app-manager" +DEPENDS += "tizen-platform-config" +DEPENDS += "bundle" +DEPENDS += "smack" +DEPENDS += "vconf" +DEPENDS += "libwifi-direct" +DEPENDS += "capi-network-connection" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + CFLAGS="${CFLAGS:-$CFLAGS} -fPIC -D_REENTRANT -fvisibility=hidden"; export CFLAGS + FFLAGS="${FFLAGS:-$CFLAGS} -fPIC -fvisibility=hidden"; export FFLAGS + LDFLAGS="${LDFLAGS} -Wl,--as-needed -Wl,--hash-style=both"; export LDFLAGS + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . \ + -DBIN_INSTALL_DIR:PATH=${prefix}/bin \ + -DPKG_NAME=download-provider \ + -DPKG_VERSION=1.1.6 \ + -DPKG_RELEASE=0 \ + -DIMAGE_DIR:PATH=${prefix}/share/download-provider/images \ + -DLOCALE_DIR:PATH=${prefix}/share/locale \ + -DSYSTEMD_DIR:PATH=${systemd_unitdir}/system \ + -DDATABASE_SCHEMA_DIR=${prefix}/share/download-provider/sql \ + -DDATABASE_SCHEMA_FILE=${prefix}/share/download-provider/sql/download-provider-schema.sql \ + -DSUPPORT_WIFI_DIRECT:BOOL=OFF \ + -DSUPPORT_LOG_MESSAGE:BOOL=ON \ + -DSUPPORT_CHECK_IPC:BOOL=ON + + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${prefix}/share/download-provider + mkdir -p ${D}${systemd_unitdir}/system/default.target.wants + mkdir -p ${D}${systemd_unitdir}/system/sockets.target.wants + ln -s ../download-provider.service ${D}${systemd_unitdir}/system/default.target.wants/ + ln -s ../download-provider.socket ${D}${systemd_unitdir}/system/sockets.target.wants/ + + #find_lang download-provider + + #fdupes ${D}${prefix}/share/locale + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + if [ $1 -eq 1 ] ; then + # Initial installation + /usr/bin/systemctl preset download-provider.service >/dev/null 2>&1 || : + fi + vconftool set -t int db/setting/default_memory/wap 0 + +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ $1 -eq 0 ] ; then + # Package removal, not upgrade + /usr/bin/systemctl --no-reload disable download-provider.service > /dev/null 2>&1 || : + /usr/bin/systemctl stop download-provider.service > /dev/null 2>&1 || : + fi + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " download-provider " +PACKAGES += " download-provider-dev " + +download-provider_files = "" +download-provider_files += "${prefix}/bin/download-provider" +download-provider_files += "${prefix}/share/download-provider/images/*.png" +download-provider_files += "${prefix}/share/download-provider/images/*.gif" +download-provider_files += "${prefix}/lib/libdownloadagent2.so*" +download-provider_files += "${prefix}/lib/libdownload-provider-interface.so*" +download-provider_files += "${systemd_unitdir}/system/download-provider.service" +download-provider_files += "${systemd_unitdir}/system/default.target.wants/download-provider.service" +download-provider_files += "${systemd_unitdir}/system/download-provider.socket" +download-provider_files += "${systemd_unitdir}/system/sockets.target.wants/download-provider.socket" +download-provider_files += "${prefix}/share/download-provider/sql/download-provider-schema.sql" +MANIFESTFILES_${PN} = "download-provider.manifest" + +download-provider-dev_files = "" +download-provider-dev_files += "${prefix}/lib/libdownloadagent2.so" +download-provider-dev_files += "${prefix}/lib/libdownload-provider-interface.so" +download-provider-dev_files += "${prefix}/include/download-provider/download-provider-defs.h" +download-provider-dev_files += "${prefix}/include/download-provider/download-provider-interface.h" +download-provider-dev_files += "${prefix}/lib/pkgconfig/download-provider.pc" +download-provider-dev_files += "${prefix}/lib/pkgconfig/download-provider-interface.pc" +MANIFESTFILES_${PN}-dev = "download-provider.manifest" + +FILES_${PN} = "${download-provider_files}" +FILES_${PN}-dev = "${download-provider-dev_files}" + +PKG_download-provider= "download-provider" +PKG_download-provider-dev= "download-provider-dev" + +require download-provider-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider_git.bb new file mode 100644 index 0000000000..c81a93d17c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/download-provider/download-provider_git.bb @@ -0,0 +1,10 @@ +require download-provider.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/download-provider;tag=cfad1aa260356701996248ded3e9c90541ddcb11;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libnet-client/libnet-client.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libnet-client/libnet-client.inc new file mode 100644 index 0000000000..d05626aa50 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libnet-client/libnet-client.inc @@ -0,0 +1,140 @@ +DESCRIPTION = "Network Client library (Shared library)" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Network" +LICENSE = "Flora License" +PV = "0.1.77_55" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libnet-client-dev +PROVIDES += "libnet-client-dev" + + +#PROVIDES by libnet-client + + +RDEPENDS = "" +#RDEPENDS of libnet-client-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libnet-client" + +#RDEPENDS of libnet-client (${PN}) +RDEPENDS_${PN} += "glibc" + + +DEPENDS = "" +#DEPENDS of libnet-client +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "vconf" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libnet-client.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + mkdir -p m4 + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #License + mkdir -p ${D}${prefix}/share/license + cp LICENSE.Flora ${D}${prefix}/share/license/libnet-client + + #Make test app + cd test + mkdir ./lib + cp -rf ${D}${prefix}/lib/* ./lib/ + ./build.sh + cd .. + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libnet-client-dev " +PACKAGES += " libnet-client " + +libnet-client-dev_files = "" +libnet-client-dev_files += "${prefix}/include/network/*.h" +libnet-client-dev_files += "${prefix}/lib/pkgconfig/network.pc" +MANIFESTFILES_${PN}-dev = "libnet-client.manifest" + +libnet-client_files = "" +libnet-client_files += "${prefix}/lib/libnetwork.so" +libnet-client_files += "${prefix}/lib/libnetwork.so.0" +libnet-client_files += "${prefix}/lib/libnetwork.so.0.0.0" +libnet-client_files += "${prefix}/share/license/libnet-client" +MANIFESTFILES_${PN} = "libnet-client.manifest" + +FILES_${PN}-dev = "${libnet-client-dev_files}" +FILES_${PN} = "${libnet-client_files}" + +PKG_libnet-client-dev= "libnet-client-dev" +PKG_libnet-client= "libnet-client" + +require libnet-client-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libnet-client/libnet-client_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libnet-client/libnet-client_git.bb new file mode 100644 index 0000000000..918aa330dc --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libnet-client/libnet-client_git.bb @@ -0,0 +1,10 @@ +require libnet-client.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/libnet-client;tag=792489ba4fb299c6f4bf7b54dae415afe3cdf8ae;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct.inc new file mode 100644 index 0000000000..b6ef5af2b3 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "Wifi Direct Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/Wireless" +LICENSE = "Apache-2.0" +PV = "1.0.9" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libwifi-direct + + +#PROVIDES by libwifi-direct-dev +PROVIDES += "libwifi-direct-dev" + + +RDEPENDS = "" +#RDEPENDS of libwifi-direct-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libwifi-direct" + + +DEPENDS = "" +#DEPENDS of libwifi-direct +inherit tizen_cmake +inherit pkgconfig +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "dlog" +DEPENDS += "vconf" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libwifi-direct.manifest . + + export ARCH=i586 + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + cp ${WORKDIR}/git/LICENSE.APLv2 ${D}/usr/share/license/libwifi-direct + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libwifi-direct " +PACKAGES += " libwifi-direct-dev " + +libwifi-direct_files = "" +libwifi-direct_files += "${prefix}/lib/libwifi-direct.so" +libwifi-direct_files += "${prefix}/lib/libwifi-direct.so.0" +libwifi-direct_files += "${prefix}/lib/libwifi-direct.so.0.0" +libwifi-direct_files += "/usr/share/license/libwifi-direct" +MANIFESTFILES_${PN} = "libwifi-direct.manifest" + +libwifi-direct-dev_files = "" +libwifi-direct-dev_files += "${prefix}/lib/pkgconfig/wifi-direct.pc" +libwifi-direct-dev_files += "${prefix}/include/wifi-direct/wifi-direct.h" +libwifi-direct-dev_files += "${prefix}/include/wifi-direct/wifi-direct-internal.h" +MANIFESTFILES_${PN}-dev = "libwifi-direct.manifest" + +FILES_${PN} = "${libwifi-direct_files}" +FILES_${PN}-dev = "${libwifi-direct-dev_files}" + +PKG_libwifi-direct= "libwifi-direct" +PKG_libwifi-direct-dev= "libwifi-direct-dev" + +require libwifi-direct-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct_git.bb new file mode 100644 index 0000000000..8ed11ea6dc --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/libwifi-direct/libwifi-direct_git.bb @@ -0,0 +1,10 @@ +require libwifi-direct.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/libwifi-direct;tag=0ad8520db6635de545423d462744d14a1f11d329;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/neardal/neardal.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/neardal/neardal.inc new file mode 100644 index 0000000000..c6a8cbbf5a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/neardal/neardal.inc @@ -0,0 +1,141 @@ +DESCRIPTION = "Neard Abstraction Library (for Neard v0.7)" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/NFC" +LICENSE = "LGPL-2.0" +PV = "0.14" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by neardal-dev +PROVIDES += "neardal-dev" + + +#PROVIDES by neardal + + +RDEPENDS = "" +#RDEPENDS of neardal-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "neardal" + +#RDEPENDS of neardal (${PN}) +RDEPENDS_${PN} += "glibc" + + +DEPENDS = "" +#DEPENDS of neardal +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +inherit pythonnative +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS_append_class-native = " automake-native" +DEPENDS_append_class-target = " automake-native" +DEPENDS += "glib-2.0" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "python-xml" +DEPENDS_append_class-native = " readline-native" +DEPENDS_append_class-target = " readline-native" +DEPENDS_append_class-native = " autoconf-native" +DEPENDS_append_class-target = " autoconf-native" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n neardal-0.14 + cp ${S}/packaging/neardal.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake + + +} +EXTRA_OECONF += " --disable-traces --prefix=/usr" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " neardal-dev " +PACKAGES += " neardal " + +neardal-dev_files = "" +neardal-dev_files += "${prefix}/include/neardal/*.h" +neardal-dev_files += "${prefix}/lib/pkgconfig/neardal.pc" +neardal-dev_files += "${prefix}/lib/libneardal.so" +MANIFESTFILES_${PN}-dev = "neardal.manifest" + +neardal_files = "" +neardal_files += "README AUTHORS" +neardal_files += "${prefix}/lib/libneardal.so.0" +neardal_files += "${prefix}/lib/libneardal.so.0.0.*" +neardal_files += "${sysconfdir}/dbus-1/system.d/org.neardal.conf" +MANIFESTFILES_${PN} = "neardal.manifest" + +FILES_${PN}-dev = "${neardal-dev_files}" +FILES_${PN} = "${neardal_files}" + +PKG_neardal-dev= "neardal-dev" +PKG_neardal= "neardal" + +require neardal-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/neardal/neardal_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/neardal/neardal_git.bb new file mode 100644 index 0000000000..2a7dd1085a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/neardal/neardal_git.bb @@ -0,0 +1,10 @@ +require neardal.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/neardal;tag=c8241fc5a9e27aa1c53ea6980618c00e4c74a2c4;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/net-config/net-config.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/net-config/net-config.inc new file mode 100644 index 0000000000..884bb0733a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/net-config/net-config.inc @@ -0,0 +1,187 @@ +DESCRIPTION = "TIZEN Network Configuration Module" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Network" +LICENSE = "Apache-2.0" +PV = "0.1.90_29" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by net-config + + +RDEPENDS = "" +#RDEPENDS of net-config (${PN}) +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "vconf" + + +DEPENDS = "" +#DEPENDS of net-config +DEPENDS += "libwifi-direct" +inherit tizen_cmake +DEPENDS += "syspopup" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "systemd" +DEPENDS += "libtapi" +DEPENDS += "vconf" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/net-config.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DCMAKE_INSTALL_PREFIX=${prefix} + + make -j16 + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}${prefix}/share/dbus-1/system-services + cp resources/usr/share/dbus-1/services/net.netconfig.service ${D}${prefix}/share/dbus-1/system-services/net.netconfig.service + mkdir -p ${D}${sysconfdir}/dbus-1/system.d + cp resources/etc/dbus-1/system.d/net-config.conf ${D}${sysconfdir}/dbus-1/system.d/net-config.conf + + # Systemd service file + mkdir -p ${D}${systemd_unitdir}/system + cp resources/usr/lib/systemd/system/net-config.service ${D}${systemd_unitdir}/system/net-config.service + mkdir -p ${D}${systemd_unitdir}/system/multi-user.target.wants/ + ln -s ../net-config.service ${D}${systemd_unitdir}/system/multi-user.target.wants/net-config.service + + #License + mkdir -p ${D}${prefix}/share/license + cp LICENSE.APLv2 ${D}${prefix}/share/license/net-config + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + vconftool set -t int memory/dnet/state 0 -i + vconftool set -t int memory/wifi/state 0 -i + vconftool set -t int memory/wifi/transfer_state 0 -i + vconftool set -t int memory/wifi/strength 0 -i + vconftool set -t int memory/wifi/bgscan_mode 0 -i + vconftool set -t int memory/dnet/wifi 0 -i + vconftool set -t int memory/dnet/network_config 0 -i + vconftool set -t int memory/dnet/status 0 -i + vconftool set -t string memory/dnet/ip "" -i + vconftool set -t string memory/dnet/proxy "" -i + vconftool set -t string memory/wifi/connected_ap_name "" -i + vconftool set -t string db/wifi/bssid_address "" + #Default Call Statistics + vconftool set -t int db/dnet/statistics/cellular/totalsnt "0" + vconftool set -t int db/dnet/statistics/cellular/totalrcv "0" + vconftool set -t int db/dnet/statistics/cellular/lastsnt "0" + vconftool set -t int db/dnet/statistics/cellular/lastrcv "0" + vconftool set -t int db/dnet/statistics/wifi/totalsnt "0" + vconftool set -t int db/dnet/statistics/wifi/totalrcv "0" + vconftool set -t int db/dnet/statistics/wifi/lastsnt "0" + vconftool set -t int db/dnet/statistics/wifi/lastrcv "0" + vconftool set -t int file/private/wifi/last_power_state "0" + systemctl daemon-reload + if [ "$1" == "1" ]; then + systemctl restart net-config.service + fi + +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ "$1" == "0" ]; then + systemctl stop net-config.service + fi + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + systemctl daemon-reload + if [ "$1" == "1" ]; then + systemctl restart net-config.service + fi + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " net-config " + +net-config_files = "" +net-config_files += "${prefix}/sbin/*" +net-config_files += "${prefix}/share/dbus-1/system-services/*" +net-config_files += "${sysconfdir}/dbus-1/system.d/*" +net-config_files += "${systemd_unitdir}/system/net-config.service" +net-config_files += "${systemd_unitdir}/system/multi-user.target.wants/net-config.service" +net-config_files += "${prefix}/share/license/net-config" +MANIFESTFILES_${PN} = "net-config.manifest" + +FILES_${PN} = "${net-config_files}" + +PKG_net-config= "net-config" + +require net-config-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/net-config/net-config_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/net-config/net-config_git.bb new file mode 100644 index 0000000000..0acbb4ab3c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/net-config/net-config_git.bb @@ -0,0 +1,10 @@ +require net-config.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/net-config;tag=cec997fc07d2c83bb6b50478c0fc69a881999e08;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/nfc-manager-neard/nfc-manager-neard.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/nfc-manager-neard/nfc-manager-neard.inc new file mode 100644 index 0000000000..8b79f3a767 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/nfc-manager-neard/nfc-manager-neard.inc @@ -0,0 +1,223 @@ +DESCRIPTION = "NFC framework manager" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Network & Connectivity/NFC" +LICENSE = "Apache-2.0" +PV = "0.1.6" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by nfc-common-neard-dev +PROVIDES += "nfc-common-neard-dev" + + +#PROVIDES by nfc-client-lib-neard +PROVIDES += "nfc-client-lib-neard" + + +#PROVIDES by nfc-manager-neard + + +#PROVIDES by nfc-client-lib-neard-dev +PROVIDES += "nfc-client-lib-neard-dev" + + +RDEPENDS = "" +#RDEPENDS of nfc-client-lib-neard-dev (nfc-client-lib-neard-dev) +RDEPENDS_nfc-client-lib-neard-dev += "nfc-client-lib-neard" + +#RDEPENDS of nfc-manager-neard (${PN}) +RDEPENDS_${PN} += "neardal" +RDEPENDS_${PN} += "neard" +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "nfc-client-lib-neard" +RDEPENDS_${PN} += "vconf" + + +DEPENDS = "" +#DEPENDS of nfc-manager-neard +DEPENDS += "pkgmgr" +DEPENDS += "security-server" +DEPENDS += "aul" +DEPENDS += "capi-network-bluetooth" +DEPENDS += "dlog" +DEPENDS += "curl" +inherit tizen_cmake +DEPENDS += "capi-network-wifi" +DEPENDS += "app-svc" +inherit pkgconfig +DEPENDS += "capi-media-wav-player" +DEPENDS += "glib-2.0" +DEPENDS += "system-server" +inherit pythonnative +DEPENDS += "libsvi" +DEPENDS += "tizen-platform-config" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgmgr-info" +DEPENDS += "libtapi" +DEPENDS += "python-xml" +DEPENDS += "ecore" +DEPENDS += "vconf" +DEPENDS += "libmm-sound" +DEPENDS += "openssl" +DEPENDS += "neardal" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/nfc-manager-neard.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 0.1.6 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DMAJORVER=${MAJORVER} -DFULLVER=0.1.6 \ + -DWAYLAND_SUPPORT=On \ + -DX11_SUPPORT=Off + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + install -d ${D}${systemd_unitdir}/system + install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/ + install -m 644 ${S}/packaging/nfc-manager-neard.service ${D}${systemd_unitdir}/system/nfc-manager-neard.service + ln -s ../nfc-manager-neard.service ${D}${systemd_unitdir}/system/multi-user.target.wants/nfc-manager-neard.service + + +} + +pkg_postinst_nfc-client-lib-neard() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + USER_GROUP_ID=$(getent group users | cut -d: -f3) + vconftool set -t bool db/nfc/feature 0 -g $USER_GROUP_ID -f + vconftool set -t bool db/nfc/predefined_item_state 0 -g $USER_GROUP_ID -f + vconftool set -t string db/nfc/predefined_item "None" -g $USER_GROUP_ID -f + vconftool set -t bool db/nfc/enable 0 -g $USER_GROUP_ID -f + vconftool set -t int db/nfc/se_type 0 -g $USER_GROUP_ID -f + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + systemctl daemon-reload + if [ $1 == 1 ]; then + systemctl restart nfc-manager-neard.service + fi + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + if [ $1 == 0 ]; then + systemctl stop nfc-manager-neard.service + fi + systemctl daemon-reload + +} + +pkg_postrm_nfc-client-lib-neard() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " nfc-client-lib-neard " +PACKAGES += " nfc-client-lib-neard-dev " +PACKAGES += " nfc-manager-neard " +PACKAGES += " nfc-common-neard-dev " + +nfc-client-lib-neard_files = "" +nfc-client-lib-neard_files += "${prefix}/lib/libnfc.so.*" +MANIFESTFILES_nfc-client-lib-neard = "nfc-manager-neard.manifest" + +nfc-client-lib-neard-dev_files = "" +nfc-client-lib-neard-dev_files += "${prefix}/lib/libnfc.so" +nfc-client-lib-neard-dev_files += "${prefix}/lib/pkgconfig/nfc.pc" +nfc-client-lib-neard-dev_files += "${prefix}/include/nfc/*.h" + +nfc-manager-neard_files = "" +nfc-manager-neard_files += "${prefix}/bin/nfc-manager-daemon" +nfc-manager-neard_files += "${systemd_unitdir}/system/nfc-manager-neard.service" +nfc-manager-neard_files += "${systemd_unitdir}/system/multi-user.target.wants/nfc-manager-neard.service" +nfc-manager-neard_files += "${prefix}/share/dbus-1/system-services/org.tizen.NetNfcService.service" +nfc-manager-neard_files += "${prefix}/share/packages/nfc-manager.xml" +nfc-manager-neard_files += "${prefix}/share/nfc-manager-daemon/sounds/*" +MANIFESTFILES_${PN} = "nfc-manager-neard.manifest" + +nfc-common-neard-dev_files = "" +nfc-common-neard-dev_files += "${prefix}/lib/pkgconfig/nfc-common.pc" +nfc-common-neard-dev_files += "${prefix}/include/nfc-common/*.h" + +FILES_nfc-client-lib-neard = "${nfc-client-lib-neard_files}" +FILES_nfc-client-lib-neard-dev = "${nfc-client-lib-neard-dev_files}" +FILES_${PN} = "${nfc-manager-neard_files}" +FILES_nfc-common-neard-dev = "${nfc-common-neard-dev_files}" + +PKG_nfc-client-lib-neard= "nfc-client-lib-neard" +PKG_nfc-client-lib-neard-dev= "nfc-client-lib-neard-dev" +PKG_nfc-manager-neard= "nfc-manager-neard" +PKG_nfc-common-neard-dev= "nfc-common-neard-dev" + +require nfc-manager-neard-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/nfc-manager-neard/nfc-manager-neard_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/nfc-manager-neard/nfc-manager-neard_git.bb new file mode 100644 index 0000000000..4e8c07a4fc --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/nfc-manager-neard/nfc-manager-neard_git.bb @@ -0,0 +1,10 @@ +require nfc-manager-neard.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/connectivity/nfc-manager-neard;tag=45f2831a6d738c5df32b065c6853636fea85f42a;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/opencore-amr/opencore-amr.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/opencore-amr/opencore-amr.inc new file mode 100644 index 0000000000..eaf4e46dd7 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/opencore-amr/opencore-amr.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "opencore AMRNB dev package" +HOMEPAGE = "http://nohomepage.org" +SECTION = "libdevel" +LICENSE = "Apache-2.0" +PV = "0.1.2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by opencore-amr-dev +PROVIDES += "opencore-amr-dev" + + +#PROVIDES by opencore-amr + + +RDEPENDS = "" +#RDEPENDS of opencore-amr-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "opencore-amr" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/opencore-amr.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + ./autogen.sh + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/opencore-amr + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " opencore-amr-dev " +PACKAGES += " opencore-amr " + +opencore-amr-dev_files = "" +opencore-amr-dev_files += "${prefix}/include/opencore-amrnb/*.h" +opencore-amr-dev_files += "${prefix}/include/opencore-amrwb/*.h" +opencore-amr-dev_files += "${prefix}/lib/libopencore-amrnb.so" +opencore-amr-dev_files += "${prefix}/lib/libopencore-amrwb.so" +opencore-amr-dev_files += "${prefix}/lib/pkgconfig/opencore-amrnb.pc" +opencore-amr-dev_files += "${prefix}/lib/pkgconfig/opencore-amrwb.pc" +MANIFESTFILES_${PN}-dev = "opencore-amr.manifest" + +opencore-amr_files = "" +opencore-amr_files += "${prefix}/lib/libopencore-amrnb.so.0" +opencore-amr_files += "${prefix}/lib/libopencore-amrnb.so.0.0.2" +opencore-amr_files += "${prefix}/lib/libopencore-amrwb.so.0" +opencore-amr_files += "${prefix}/lib/libopencore-amrwb.so.0.0.2" +opencore-amr_files += "${prefix}/share/license/opencore-amr" +MANIFESTFILES_${PN} = "opencore-amr.manifest" + +FILES_${PN}-dev = "${opencore-amr-dev_files}" +FILES_${PN} = "${opencore-amr_files}" + +PKG_opencore-amr-dev= "opencore-amr-dev" +PKG_opencore-amr= "opencore-amr" + +require opencore-amr-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/opencore-amr/opencore-amr_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/opencore-amr/opencore-amr_git.bb new file mode 100644 index 0000000000..6f1778a9db --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-connectivity/opencore-amr/opencore-amr_git.bb @@ -0,0 +1,10 @@ +require opencore-amr.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/opencore-amr;tag=72a792824e352ad4084c3729154a444f57b7b8bb;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/bullet/bullet.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/bullet/bullet.inc new file mode 100644 index 0000000000..c55f22ce6a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/bullet/bullet.inc @@ -0,0 +1,135 @@ +DESCRIPTION = "Bullet Continuous Collision Detection and Physics Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Zlib" +PV = "2.81" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by bullet-dev +PROVIDES += "bullet-dev" + + +#PROVIDES by libbullet +PROVIDES += "libbullet" + + +#PROVIDES by bullet + + +RDEPENDS = "" +#RDEPENDS of bullet-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libbullet" + + +DEPENDS = "" +#DEPENDS of bullet +inherit tizen_cmake + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bullet.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON -DBUILD_EXTRAS=OFF -DBUILD_DEMOS=OFF -DBUILD_CPU_DEMOS=OFF -DUSE_GRAPHICAL_BENCHMARK=OFF -DCMAKE_INSTALL_PREFIX=/usr -DUSE_GLUT=OFF + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_libbullet() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libbullet() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " bullet-dev " +PACKAGES += " libbullet " + +bullet-dev_files = "" +bullet-dev_files += "${prefix}/include/*" +bullet-dev_files += "${prefix}/lib/*.so" +bullet-dev_files += "${prefix}/lib/pkgconfig/*" +MANIFESTFILES_${PN}-dev = "bullet.manifest" + +libbullet_files = "" +libbullet_files += "${prefix}/lib/*.so.2.81" +libbullet_files += "" +MANIFESTFILES_lib${PN} = "bullet.manifest" + +FILES_${PN}-dev = "${bullet-dev_files}" +FILES_lib${PN} = "${libbullet_files}" + +PKG_bullet-dev= "bullet-dev" +PKG_libbullet= "libbullet" + +require bullet-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/bullet/bullet_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/bullet/bullet_git.bb new file mode 100644 index 0000000000..1989d19c3d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/bullet/bullet_git.bb @@ -0,0 +1,10 @@ +require bullet.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libbullet;tag=03875b02d03ae029f38cb35dc90ee3ff6d5fe696;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dbus-python/dbus-python.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dbus-python/dbus-python.inc new file mode 100644 index 0000000000..a82c8cf536 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dbus-python/dbus-python.inc @@ -0,0 +1,130 @@ +DESCRIPTION = "Python bindings for D-Bus" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/DBusBindings/" +SECTION = "System/Libraries" +LICENSE = "MIT" +PV = "1.2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by dbus-python-dev +PROVIDES += "dbus-python-dev" + + +#PROVIDES by dbus-python + + +RDEPENDS = "" +#RDEPENDS of dbus-python-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "dbus-python" + +#RDEPENDS of dbus-python (${PN}) +RDEPENDS_${PN} += "python-xml" + + +DEPENDS = "" +#DEPENDS of dbus-python +inherit pythonnative +DEPENDS += "dbus" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +inherit pkgconfig +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dbus-python.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + export CFLAGS="$CFLAGS -fstack-protector -fno-strict-aliasing -fPIC" + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --docdir=${prefix}/share/doc/packages/dbus-python" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + rm -rf ${D}${infodir} + rm -rf ${D}${prefix}/share/doc/packages + rm -rf ${D}${prefix}/share/doc/dbus-python + rm -rf ${D}${prefix}/share/doc/dbus-python-1.2.0 + rm -rf ${D}${prefix}/share/gtk-doc + rm -rf ${D}${prefix}/share/doc + rm -rf ${D}${prefix}/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + #fdupes -s ${D} + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " dbus-python-dev " +PACKAGES += " dbus-python " + +dbus-python-dev_files = "" +dbus-python-dev_files += "${prefix}/include/dbus-1.0/dbus/dbus-python.h" +dbus-python-dev_files += "${prefix}/lib/pkgconfig/dbus-python.pc" +MANIFESTFILES_${PN}-dev = "dbus-python.manifest" + +dbus-python_files = "" +dbus-python_files += "${prefix}/lib/python2.7/site-packages/*" +dbus-python_files += "${prefix}/lib/python2.7/site-packages/*" +MANIFESTFILES_${PN} = "dbus-python.manifest" + +FILES_${PN}-dev = "${dbus-python-dev_files}" +FILES_${PN} = "${dbus-python_files}" + +PKG_dbus-python-dev= "dbus-python-dev" +PKG_dbus-python= "dbus-python" + +require dbus-python-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dbus-python/dbus-python_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dbus-python/dbus-python_git.bb new file mode 100644 index 0000000000..f76a8e994d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dbus-python/dbus-python_git.bb @@ -0,0 +1,10 @@ +require dbus-python.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dbus-python;tag=d3f0ade3c2e6d096fc84bd676cd87f2726a3108e;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils.inc new file mode 100644 index 0000000000..4812631194 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils.inc @@ -0,0 +1,133 @@ +DESCRIPTION = "Utilities for Manipulating Desktop Files" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/desktop-file-utils" +SECTION = "Development/Tools/Other" +LICENSE = "GPL-2.0+" +PV = "0.20" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by desktop-file-utils + + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of desktop-file-utils +DEPENDS += "xz" +inherit pkgconfig +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/desktop-file-utils.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --with-lispdir=${prefix}/share/emacs/site-lisp" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + BINDIR=${prefix}/bin \ + prefix=${prefix} \ + exec_prefix=${prefix} \ + bindir=${prefix}/bin \ + sbindir=${prefix}/sbin \ + sysconfdir=${sysconfdir} \ + datadir=${prefix}/share \ + includedir=${prefix}/include \ + libdir=${prefix}/lib \ + libexecdir=${prefix}/libexec \ + localstatedir=}${localstatedir} \ + sharedstatedir=${prefix}/com \ + mandir=${mandir} \ + infodir=${infodir} \ + install + # we don't want to buildrequire emacs, but recent automake make it + # impossible to install a lisp file without emacs installed. So we + # manually do it. + test ! -f ${D}${prefix}/share/emacs/site-lisp/desktop-entry-mode.el + install -D -m644 misc/desktop-entry-mode.el ${D}${prefix}/share/emacs/site-lisp/desktop-entry-mode.el + # Install rpm macros + install -D -m644 ${S}/packaging/macros.desktop-file-utils ${D}${sysconfdir}/rpm/macros.desktop-file-utils + # Create ghosts based on default $XDG_DATA_DIRS: + mkdir -p ${D}${prefix}/share/applications + touch ${D}${prefix}/share/applications/mimeinfo.cache + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + $D${prefix}/bin/update-desktop-database --quiet $D${prefix}/share/applications || true + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " desktop-file-utils " + +desktop-file-utils_files = "" +desktop-file-utils_files += "AUTHORS ChangeLog NEWS README" +desktop-file-utils_files += "${prefix}/bin/desktop-file-edit" +desktop-file-utils_files += "${prefix}/bin/desktop-file-install" +desktop-file-utils_files += "${prefix}/bin/desktop-file-validate" +desktop-file-utils_files += "${prefix}/bin/update-desktop-database" +desktop-file-utils_files += "${mandir}/man1/desktop-file-edit.1*" +desktop-file-utils_files += "${mandir}/man1/desktop-file-install.1*" +desktop-file-utils_files += "${mandir}/man1/desktop-file-validate.1*" +desktop-file-utils_files += "${mandir}/man1/update-desktop-database.1*" +desktop-file-utils_files += "${prefix}/share/emacs" +desktop-file-utils_files += "${prefix}/share/emacs/site-lisp" +desktop-file-utils_files += "${prefix}/share/emacs/site-lisp/*.el*" +desktop-file-utils_files += "${sysconfdir}/rpm/macros.desktop-file-utils" +MANIFESTFILES_${PN} = "desktop-file-utils.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${prefix}/share/emacs" +DIRFILES_${PN} += "${prefix}/share/emacs/site-lisp" + +FILES_${PN} = "${desktop-file-utils_files}" + +PKG_desktop-file-utils= "desktop-file-utils" + +require desktop-file-utils-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils_git.bb new file mode 100644 index 0000000000..2512c161b2 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/desktop-file-utils/desktop-file-utils_git.bb @@ -0,0 +1,10 @@ +require desktop-file-utils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/desktop-file-utils;tag=bfa7b3071761f5bc410d7530b2d18f7883b06490;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dlog/dlog.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dlog/dlog.inc new file mode 100644 index 0000000000..a392fd5b6c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dlog/dlog.inc @@ -0,0 +1,144 @@ +DESCRIPTION = "Logging service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.4.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libdlog +PROVIDES += "libdlog" + + +#PROVIDES by dlogutil +PROVIDES += "dlogutil" + + +#PROVIDES by dlog + + +#PROVIDES by libdlog-dev +PROVIDES += "libdlog-dev" + + +RDEPENDS = "" +#RDEPENDS of dlogutil (${PN}util) +RDEPENDS_${PN}util += "libdlog" + +#RDEPENDS of libdlog-dev (lib${PN}-dev) +RDEPENDS_lib${PN}-dev += "libdlog" + + +DEPENDS = "" +#DEPENDS of dlog +DEPENDS += "systemd" +DEPENDS += "tizen-platform-config" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dlog.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --disable-static" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${sysconfdir}/dlog + cp platformlog.conf ${D}${sysconfdir}/dlog/platformlog.conf + cp dlogctrl ${D}${prefix}/bin/dlogctrl + + +} + +pkg_postinst_libdlog() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libdlog() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libdlog " +PACKAGES += " dlogutil " +PACKAGES += " libdlog-dev " + +libdlog_files = "" +libdlog_files += "${sysconfdir}/dlog/platformlog.conf" +libdlog_files += "${prefix}/lib/libdlog.so.*" +CONFFILES_lib${PN} = "" +CONFFILES_lib${PN} += "${sysconfdir}/dlog/platformlog.conf" +MANIFESTFILES_lib${PN} = "dlog.manifest" + +dlogutil_files = "" +dlogutil_files += "${prefix}/bin/dlogctrl" +MANIFESTFILES_${PN}util = "dlog.manifest" + +libdlog-dev_files = "" +libdlog-dev_files += "${prefix}/include/dlog/dlog.h" +libdlog-dev_files += "${prefix}/lib/pkgconfig/dlog.pc" +libdlog-dev_files += "${prefix}/lib/libdlog.so" +MANIFESTFILES_lib${PN}-dev = "dlog.manifest" + +FILES_lib${PN} = "${libdlog_files}" +FILES_${PN}util = "${dlogutil_files}" +FILES_lib${PN}-dev = "${libdlog-dev_files}" + +PKG_libdlog= "libdlog" +PKG_dlogutil= "dlogutil" +PKG_libdlog-dev= "libdlog-dev" + +require dlog-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dlog/dlog_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dlog/dlog_git.bb new file mode 100644 index 0000000000..c24ced482c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dlog/dlog_git.bb @@ -0,0 +1,10 @@ +require dlog.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/dlog;tag=c43bce370f4aaa09f48df4e2c1d2b99f133526d0;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dukgenerator/dukgenerator.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dukgenerator/dukgenerator.inc new file mode 100644 index 0000000000..e5dd5711c7 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dukgenerator/dukgenerator.inc @@ -0,0 +1,114 @@ +DESCRIPTION = "Device Unique Key Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Libraries" +LICENSE = "Apache-2.0" +PV = "1.0.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by dukgenerator-dev +PROVIDES += "dukgenerator-dev" + + +#PROVIDES by dukgenerator + + +RDEPENDS = "" +#RDEPENDS of dukgenerator-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "dukgenerator" + + +DEPENDS = "" +#DEPENDS of dukgenerator +DEPENDS += "libcryptsvc" +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "openssl" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dukgenerator.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + MAJORVER=`echo 1.0.0 | awk 'BEGIN {FS="."}{print $1}'` + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DLIB_INSTALL_DIR:PATH=${prefix}/lib -DFULLVER=1.0.0 -DMAJORVER=${MAJORVER} -DDESCRIPTION="Device Unique Key Library" -DBUILD_SHARED_LIBS:BOOL=OFF + make -j16 + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make DESTDIR=${D} INSTALL_ROOT=${D} install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\\.la$" | xargs rm -f -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " dukgenerator-dev " +PACKAGES += " dukgenerator " + +dukgenerator-dev_files = "" +dukgenerator-dev_files += "${prefix}/include/*" +dukgenerator-dev_files += "${prefix}/lib/pkgconfig/dukgenerator.pc" +MANIFESTFILES_${PN}-dev = "dukgenerator.manifest" + +dukgenerator_files = "" +dukgenerator_files += "${prefix}/lib/*.a" +MANIFESTFILES_${PN} = "dukgenerator.manifest" + +FILES_${PN}-dev = "${dukgenerator-dev_files}" +FILES_${PN} = "${dukgenerator_files}" + +PKG_dukgenerator-dev= "dukgenerator-dev" +PKG_dukgenerator= "dukgenerator" + +require dukgenerator-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dukgenerator/dukgenerator_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dukgenerator/dukgenerator_git.bb new file mode 100644 index 0000000000..4ae0c39e63 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/dukgenerator/dukgenerator_git.bb @@ -0,0 +1,10 @@ +require dukgenerator.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/dukgenerator;tag=dba9f75b65f93b0139eb79e634252ce7a7c8d06d;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/hwdata/hwdata.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/hwdata/hwdata.inc new file mode 100644 index 0000000000..901d6c9149 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/hwdata/hwdata.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "Hardware identification and configuration data" +HOMEPAGE = "http://git.fedorahosted.org/git/hwdata.git" +SECTION = "System/Base" +LICENSE = "GPL-2.0+" +PV = "0.260" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by hwdata +# the PROVIDES rules is ignore "pciutils-ids " +PROVIDES += "pciutils-ids" +RPROVIDES_hwdata += "pciutils-ids" + + +#PROVIDES by hwdata-ivi +PROVIDES += "hwdata-ivi" + + +RDEPENDS = "" +#RDEPENDS of hwdata-ivi (${PN}-ivi) +RDEPENDS_${PN}-ivi += "hwdata" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n hwdata-0.260-1 + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + cp ${S}/packaging/hwdata.manifest . + + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${sysconfdir}/modprobe.d + mv ${D}${prefix}/lib/modprobe.d/dist-blacklist.conf \ + ${D}${sysconfdir}/modprobe.d/blacklist.conf + rm -rf ${D}${prefix}/lib + install -m644 blacklist.conf ${D}/${sysconfdir}/modprobe.d + install -m644 video.conf ${D}/${sysconfdir}/modprobe.d + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " hwdata " +PACKAGES += " hwdata-ivi " + +hwdata_files = "" +hwdata_files += "${sysconfdir}/modprobe.d/blacklist.conf" +hwdata_files += "${prefix}/share/hwdata" +hwdata_files += "${prefix}/share/hwdata/*" +MANIFESTFILES_${PN} = "hwdata.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${prefix}/share/hwdata" + +hwdata-ivi_files = "" +hwdata-ivi_files += "${sysconfdir}/modprobe.d/video.conf" + +FILES_${PN} = "${hwdata_files}" +FILES_${PN}-ivi = "${hwdata-ivi_files}" + +PKG_hwdata= "hwdata" +PKG_hwdata-ivi= "hwdata-ivi" + +require hwdata-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/hwdata/hwdata_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/hwdata/hwdata_git.bb new file mode 100644 index 0000000000..ffdddf64c0 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/hwdata/hwdata_git.bb @@ -0,0 +1,10 @@ +require hwdata.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/hwdata;tag=2805db5ffcb5d4022d6bd797e58b97400ecad2d7;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/iniparser/iniparser.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/iniparser/iniparser.inc new file mode 100644 index 0000000000..8cd58d4b9c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/iniparser/iniparser.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "Stand-alone ini file parsing library" +HOMEPAGE = "http://ndevilla.free.fr/iniparser/" +SECTION = "System/Libraries" +LICENSE = "MIT" +PV = "2.17" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by iniparser-dev +PROVIDES += "iniparser-dev" + + +#PROVIDES by iniparser + + +RDEPENDS = "" +#RDEPENDS of iniparser-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "iniparser" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/iniparser.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + make prefix=${prefix} -j16 CFLAGS="$CFLAGS -fPIC" + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + mkdir -p ${D}${prefix}/lib + install -m 755 libiniparser.so.0 ${D}${prefix}/lib + ln -s libiniparser.so.0 ${D}${prefix}/lib/libiniparser.so + mkdir -p ${D}${prefix}/include + install -m 644 src/*.h ${D}${prefix}/include + install -m 644 src/*.h ${D}${prefix}/include + mkdir -p ${D}${prefix}/lib/pkgconfig + cat > ${D}${prefix}/lib/pkgconfig/iniparser.pc < /dev/null + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + if [ ! -d $D${prefix}/dbspace ] + then + mkdir $D${prefix}/dbspace + fi + if [ ! -d $D${sysconfdir}/rc.d/rc3.d ] + then + mkdir $D${sysconfdir}/rc.d/rc3.d + fi + if [ ! -d $D${sysconfdir}/rc.d/rc5.d ] + then + mkdir $D${sysconfdir}/rc.d/rc5.d + fi + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + rm -f /tmp/agent_fw_event_omads* + rm -f /tmp/agent_fw_noti_reply_omads* + rm -f $D${sysconfdir}/rc.d/rc3.d/S91oma-ds-agent + rm -f $D${sysconfdir}/rc.d/rc5.d/S91oma-ds-agent + rm -f $D${prefix}/dbspace/.omasyncagent.db $D${prefix}/dbspace/.omasyncagent.db-journal + rm -rf /usr/share/oma-ds-cfg + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " oma-ds-agent " +PACKAGES += " ds-public-plugins " + +oma-ds-agent_files = "" +oma-ds-agent_files += "${prefix}/dbspace/.omasyncagent.db" +oma-ds-agent_files += "${prefix}/dbspace/.omasyncagent.db-journal" +oma-ds-agent_files += "/usr/share/dbus-1/system-services/com.samsung.omadsagent.service" +oma-ds-agent_files += "${prefix}/bin/oma-ds-agent" +oma-ds-agent_files += "/usr/share/oma-ds-cfg/*" +oma-ds-agent_files += "/usr/lib/systemd/system/oma-ds-agent.service" +oma-ds-agent_files += "/usr/lib/systemd/system/graphical.target.wants/oma-ds-agent.service" +oma-ds-agent_files += "${sysconfdir}/dbus-1/system.d/com.samsung.omadsagent.conf" +MANIFESTFILES_${PN} = "oma-ds-agent.manifest" + +ds-public-plugins_files = "" +ds-public-plugins_files += "/usr/lib/sync-agent/ds-public/*" +MANIFESTFILES_ds-public-plugins = "ds-public-plugins.manifest" + +FILES_${PN} = "${oma-ds-agent_files}" +FILES_ds-public-plugins = "${ds-public-plugins_files}" + +PKG_oma-ds-agent= "oma-ds-agent" +PKG_ds-public-plugins= "ds-public-plugins" + +require oma-ds-agent-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/oma-ds-agent/oma-ds-agent_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/oma-ds-agent/oma-ds-agent_git.bb new file mode 100644 index 0000000000..fc304816d5 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/oma-ds-agent/oma-ds-agent_git.bb @@ -0,0 +1,10 @@ +require oma-ds-agent.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/oma-ds-agent;tag=16dd30cb7b9c86bc5744ff170f45683d5c76ac0c;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sensor/sensor.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sensor/sensor.inc new file mode 100644 index 0000000000..dcb3aaf6c3 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sensor/sensor.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "Sensor framework client library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Sensor Framework" +LICENSE = "Apache-2.0" +PV = "0.5.27" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by sensor + + +#PROVIDES by sensor-dev +PROVIDES += "sensor-dev" + + +RDEPENDS = "" +#RDEPENDS of sensor-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "sensor" + + +DEPENDS = "" +#DEPENDS of sensor +DEPENDS += "libsf-common" +DEPENDS += "glib-2.0" +inherit tizen_cmake +DEPENDS += "vconf" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n sensor-0.5.27 + cp ${S}/packaging/sensor.manifest ${S}/packaging/sensor-devel.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " sensor " +PACKAGES += " sensor-dev " + +sensor_files = "" +sensor_files += "${prefix}/lib/libsensor.so.*" +MANIFESTFILES_${PN} = "sensor.manifest" + +sensor-dev_files = "" +sensor-dev_files += "${prefix}/include/sensor/*.h" +sensor-dev_files += "${prefix}/lib/libsensor.so" +sensor-dev_files += "${prefix}/lib/pkgconfig/sensor.pc" +MANIFESTFILES_${PN}-dev = "sensor-devel.manifest" + +FILES_${PN} = "${sensor_files}" +FILES_${PN}-dev = "${sensor-dev_files}" + +PKG_sensor= "sensor" +PKG_sensor-dev= "sensor-dev" + +require sensor-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sensor/sensor_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sensor/sensor_git.bb new file mode 100644 index 0000000000..3b5b05a979 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sensor/sensor_git.bb @@ -0,0 +1,10 @@ +require sensor.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/libslp-sensor;tag=0b466302afcb0ce0e23f0d8f1e1e9820e42326dc;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sync-agent/sync-agent.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sync-agent/sync-agent.inc new file mode 100644 index 0000000000..e6ed14b65c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sync-agent/sync-agent.inc @@ -0,0 +1,178 @@ +DESCRIPTION = "Sync agent FW Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Service" +LICENSE = "Apache-2.0" +PV = "0.1.91" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by sync-agent-dev +PROVIDES += "sync-agent-dev" + + +#PROVIDES by common-public-plugins +PROVIDES += "common-public-plugins" + + +#PROVIDES by sync-agent + + +RDEPENDS = "" +#RDEPENDS of sync-agent-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "sync-agent" + +#RDEPENDS of sync-agent (${PN}) +RDEPENDS_${PN} += "glibc" + + +DEPENDS = "" +#DEPENDS of sync-agent +DEPENDS += "libslp-location" +DEPENDS += "libxml2" +DEPENDS += "aul" +DEPENDS += "contacts-service" +DEPENDS += "libgcrypt" +DEPENDS += "capi-base-common" +DEPENDS += "curl" +DEPENDS += "dbus-glib" +DEPENDS += "libsoup-2.4" +inherit tizen_cmake +DEPENDS += "app-svc" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "system-server" +DEPENDS += "msg-service" +DEPENDS += "alarm-manager" +DEPENDS += "libaccounts-svc" +DEPENDS += "libwbxml2" +DEPENDS += "tizen-platform-config" +DEPENDS += "bundle" +DEPENDS += "sqlite3" +DEPENDS += "libtapi" +DEPENDS += "util-linux" +DEPENDS += "vconf" +DEPENDS += "libslp-db-util" +DEPENDS += "capi-system-info" +DEPENDS += "libslp-memo" +DEPENDS += "syspopup" +DEPENDS += "calendar-service" +DEPENDS += "capi-network-connection" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/sync-agent.manifest ${S}/packaging/sync-agent-devel.manifest ${S}/packaging/common-public-plugins.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " sync-agent-dev " +PACKAGES += " common-public-plugins " +PACKAGES += " sync-agent " + +sync-agent-dev_files = "" +sync-agent-dev_files += "${prefix}/include/sync_agent.h" +sync-agent-dev_files += "${prefix}/include/sync-agent/*" +sync-agent-dev_files += "${prefix}/lib/pkgconfig/sync-agent.pc" +MANIFESTFILES_${PN}-dev = "sync-agent-devel.manifest" + +common-public-plugins_files = "" +common-public-plugins_files += "${prefix}/lib/sync-agent/common-public/*" +MANIFESTFILES_common-public-plugins = "common-public-plugins.manifest" + +sync-agent_files = "" +sync-agent_files += "${prefix}/lib/*.so" +sync-agent_files += "${prefix}/lib/*.so.*" +MANIFESTFILES_${PN} = "sync-agent.manifest" + +FILES_${PN}-dev = "${sync-agent-dev_files}" +FILES_common-public-plugins = "${common-public-plugins_files}" +FILES_${PN} = "${sync-agent_files}" + +PKG_sync-agent-dev= "sync-agent-dev" +PKG_common-public-plugins= "common-public-plugins" +PKG_sync-agent= "sync-agent" + +require sync-agent-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sync-agent/sync-agent_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sync-agent/sync-agent_git.bb new file mode 100644 index 0000000000..f20649802e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/sync-agent/sync-agent_git.bb @@ -0,0 +1,10 @@ +require sync-agent.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/sync-agent;tag=65d4fdceb1d079d92b794bcf47684ddc8e8b7307;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/system-server/system-server.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/system-server/system-server.inc new file mode 100644 index 0000000000..d05397ada2 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/system-server/system-server.inc @@ -0,0 +1,526 @@ +DESCRIPTION = "System server" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Service" +LICENSE = "Apache-2.0" +PV = "2.0.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libdevman-dev +PROVIDES += "libdevman-dev" + + +#PROVIDES by libdeviced-dev +PROVIDES += "libdeviced-dev" + + +#PROVIDES by libdeviced +PROVIDES += "libdeviced" + + +#PROVIDES by sysman-dev +PROVIDES += "sysman-dev" + + +#PROVIDES by libhaptic +PROVIDES += "libhaptic" + + +#PROVIDES by libslp-pm-dev +PROVIDES += "libslp-pm-dev" + + +#PROVIDES by libslp-pm +PROVIDES += "libslp-pm" + + +#PROVIDES by system-server + + +#PROVIDES by sysman-internal-dev +PROVIDES += "sysman-internal-dev" + + +#PROVIDES by libhaptic-dev +PROVIDES += "libhaptic-dev" + + +#PROVIDES by libhaptic-plugin-dev +PROVIDES += "libhaptic-plugin-dev" + + +#PROVIDES by libdevman-haptic-dev +PROVIDES += "libdevman-haptic-dev" + + +#PROVIDES by sysman +PROVIDES += "sysman" + + +#PROVIDES by libdevman +PROVIDES += "libdevman" + + +RDEPENDS = "" +#RDEPENDS of libdevman-dev (libdevman-dev) +RDEPENDS_libdevman-dev += "libdevman" + +#RDEPENDS of libhaptic (libhaptic) +RDEPENDS_libhaptic += "system-server" + +#RDEPENDS of system-server (${PN}) +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "vconf" + +#RDEPENDS of libdeviced (libdeviced) +RDEPENDS_libdeviced += "system-server" + +#RDEPENDS of sysman-dev (sysman-dev) +RDEPENDS_sysman-dev += "sysman" + +#RDEPENDS of libslp-pm-dev (libslp-pm-dev) +RDEPENDS_libslp-pm-dev += "libslp-pm" + +#RDEPENDS of libslp-pm (libslp-pm) +RDEPENDS_libslp-pm += "system-server" + +#RDEPENDS of libdeviced-dev (libdeviced-dev) +RDEPENDS_libdeviced-dev += "libdeviced" + +#RDEPENDS of sysman-internal-dev (sysman-internal-dev) +RDEPENDS_sysman-internal-dev += "sysman" + +#RDEPENDS of libhaptic-dev (libhaptic-dev) +RDEPENDS_libhaptic-dev += "libhaptic" + +#RDEPENDS of libhaptic-plugin-dev (libhaptic-plugin-dev) +RDEPENDS_libhaptic-plugin-dev += "libhaptic" + +#RDEPENDS of libdevman-haptic-dev (libdevman-haptic-dev) +RDEPENDS_libdevman-haptic-dev += "libdevman-dev" + +#RDEPENDS of sysman (sysman) +RDEPENDS_sysman += "system-server" + +#RDEPENDS of libdevman (libdevman) +RDEPENDS_libdevman += "system-server" + + +DEPENDS = "" +#DEPENDS of system-server +DEPENDS += "smack" +DEPENDS += "edbus" +inherit tizen_cmake +DEPENDS += "attr" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "notification" +DEPENDS += "tizen-platform-config" +DEPENDS += "syspopup" +inherit pkgconfig +DEPENDS += "libtapi" +DEPENDS += "usbutils" +DEPENDS += "libdevice-node" +DEPENDS += "systemd" +DEPENDS += "dlog" +DEPENDS += "heynoti" +DEPENDS += "ecore" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "sensor" +DEPENDS += "vconf" +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/system-server.manifest . + cp ${S}/packaging/deviced.manifest . + cp ${S}/packaging/sysman.manifest . + cp ${S}/packaging/libslp-pm.manifest . + cp ${S}/packaging/haptic.manifest . + cp ${S}/packaging/devman.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . \ + -DTZ_SYS_ETC=${sysconfdir} \ + -DSYSTEMD_DIR=${systemd_unitdir}/system + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + mkdir -p ${D}/${systemd_unitdir}/system/multi-user.target.wants + ln -s ../system-server.service ${D}/${systemd_unitdir}/system/multi-user.target.wants/system-server.service + + mkdir -p ${D}/${systemd_unitdir}/system/sockets.target.wants + ln -s ../system-server.socket ${D}/${systemd_unitdir}/system/sockets.target.wants/system-server.socket + + + mkdir -p ${D}/${systemd_unitdir}/system/graphical.target.wants + ln -s ../regpmon.service ${D}/${systemd_unitdir}/system/graphical.target.wants/regpmon.service + install -m 0644 ${S}/packaging/regpmon.service ${D}${systemd_unitdir}/system/regpmon.service + + + mkdir -p ${D}/${systemd_unitdir}/system/graphical.target.wants + ln -s ../zbooting-done.service ${D}/${systemd_unitdir}/system/graphical.target.wants/zbooting-done.service + install -m 0644 ${S}/packaging/zbooting-done.service ${D}${systemd_unitdir}/system/zbooting-done.service + + + #fdupes ${D} + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + #memory type vconf key init + users_gid=$(getent group $TZ_SYS_USER_GROUP | cut -f3 -d':') + vconftool set -t int memory/sysman/usbhost_status -1 -i + vconftool set -t int memory/sysman/mmc 0 -i + vconftool set -t int memory/sysman/earjack_key 0 -i + vconftool set -t int memory/sysman/added_usb_storage 0 -i + vconftool set -t int memory/sysman/removed_usb_storage 0 -i + vconftool set -t int memory/sysman/charger_status -1 -i + vconftool set -t int memory/sysman/charge_now -1 -i + vconftool set -t int memory/sysman/battery_status_low -1 -i + vconftool set -t int memory/sysman/battery_capacity -1 -i + vconftool set -t int memory/sysman/usb_status -1 -i + vconftool set -t int memory/sysman/earjack -1 -i + vconftool set -t int memory/sysman/low_memory 1 -i + vconftool set -t int memory/sysman/sliding_keyboard -1 -i + vconftool set -t int memory/sysman/mmc_mount -1 -i + vconftool set -t int memory/sysman/mmc_unmount -1 -i + vconftool set -t int memory/sysman/mmc_format -1 -i + vconftool set -t int memory/sysman/mmc_format_progress 0 -i + vconftool set -t int memory/sysman/mmc_err_status 0 -i + vconftool set -t int memory/sysman/power_off 0 -g $users_gid -i -f + vconftool set -t int memory/sysman/battery_level_status -1 -i + vconftool set -t string memory/private/sysman/added_storage_uevent "" -i + vconftool set -t string memory/private/sysman/removed_storage_uevent "" -g $users_gid -i + vconftool set -t int memory/sysman/hdmi 0 -i + vconftool set -t int memory/sysman/stime_changed 0 -i + #db type vconf key init + vconftool set -t int db/sysman/mmc_dev_changed 0 -i + vconftool set -t int memory/pm/state 0 -i -g $users_gid + vconftool set -t int memory/pm/battery_timetofull -1 -i + vconftool set -t int memory/pm/battery_timetoempty -1 -i + vconftool set -t int memory/pm/sip_status 0 -i -g $users_gid + vconftool set -t int memory/pm/custom_brightness_status 0 -i -g $users_gid + vconftool set -t bool memory/pm/brt_changed_lpm 0 -i + vconftool set -t int memory/pm/current_brt 60 -i -g $users_gid + heynotitool set system_wakeup + heynotitool set pm_event + heynotitool set power_off_start + heynotitool set mmcblk_add + heynotitool set mmcblk_remove + heynotitool set device_charge_chgdet + heynotitool set device_usb_host_add + heynotitool set device_usb_host_remove + heynotitool set device_pci_keyboard_add + heynotitool set device_pci_keyboard_remove + heynotitool set device_usb_chgdet + heynotitool set device_ta_chgdet + heynotitool set device_earjack_chgdet + heynotitool set device_earkey_chgdet + heynotitool set device_tvout_chgdet + heynotitool set device_hdmi_chgdet + heynotitool set device_keyboard_chgdet + systemctl daemon-reload + if [ "$1" = "1" ]; then + systemctl restart system-server.service + systemctl restart regpmon.service + systemctl restart zbooting-done.service + fi + [ "x$D" == "x" ] && ldconfig + +} + +pkg_postinst_libslp-pm() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libhaptic() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_sysman() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libdevman() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libdeviced() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ "$1" = "0" ]; then + systemctl stop system-server.service + systemctl stop regpmon.service + systemctl stop zbooting-done.service + fi + +} + +pkg_postrm_libhaptic() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + systemctl daemon-reload + [ "x$D" == "x" ] && ldconfig + +} + +pkg_postrm_libslp-pm() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libdeviced() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libdevman() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_sysman() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libdevman-dev " +PACKAGES += " libhaptic " +PACKAGES += " sysman-dev " +PACKAGES += " libdeviced-dev " +PACKAGES += " libslp-pm-dev " +PACKAGES += " libdevman " +PACKAGES += " libslp-pm " +PACKAGES += " system-server " +PACKAGES += " sysman-internal-dev " +PACKAGES += " libhaptic-dev " +PACKAGES += " libhaptic-plugin-dev " +PACKAGES += " libdevman-haptic-dev " +PACKAGES += " libdeviced " +PACKAGES += " sysman " + +libdevman-dev_files = "" +libdevman-dev_files += "${prefix}/include/devman/devman.h" +libdevman-dev_files += "${prefix}/include/devman/devman_image.h" +libdevman-dev_files += "${prefix}/include/devman/devman_managed.h" +libdevman-dev_files += "${prefix}/include/devman/devman_haptic.h" +libdevman-dev_files += "${prefix}/include/devman/devman_PG.h" +libdevman-dev_files += "${prefix}/lib/pkgconfig/devman.pc" +libdevman-dev_files += "${prefix}/lib/libdevman.so" + +libhaptic_files = "" +libhaptic_files += "${prefix}/lib/libhaptic.so.*" +MANIFESTFILES_libhaptic = "haptic.manifest" + +sysman-dev_files = "" +sysman-dev_files += "${prefix}/include/sysman/sysman.h" +sysman-dev_files += "${prefix}/include/sysman/sysman_managed.h" +sysman-dev_files += "${prefix}/include/sysman/sysman_PG.h" +sysman-dev_files += "${prefix}/lib/pkgconfig/sysman.pc" +sysman-dev_files += "${prefix}/lib/libsysman.so" + +libdeviced-dev_files = "" +libdeviced-dev_files += "${prefix}/include/deviced/dd-battery.h" +libdeviced-dev_files += "${prefix}/include/deviced/dd-control.h" +libdeviced-dev_files += "${prefix}/include/deviced/dd-deviced.h" +libdeviced-dev_files += "${prefix}/include/deviced/dd-deviced-managed.h" +libdeviced-dev_files += "${prefix}/include/deviced/dd-display.h" +libdeviced-dev_files += "${prefix}/include/deviced/dd-haptic.h" +libdeviced-dev_files += "${prefix}/include/deviced/dd-led.h" +libdeviced-dev_files += "${prefix}/include/deviced/haptic-module.h" +libdeviced-dev_files += "${prefix}/include/deviced/haptic-plugin-intf.h" +libdeviced-dev_files += "${prefix}/lib/libdeviced.so" +libdeviced-dev_files += "${prefix}/lib/pkgconfig/deviced.pc" + +libslp-pm-dev_files = "" +libslp-pm-dev_files += "${prefix}/include/pmapi/pmapi.h" +libslp-pm-dev_files += "${prefix}/include/pmapi/pmapi_managed.h" +libslp-pm-dev_files += "${prefix}/include/pmapi/pm_PG.h" +libslp-pm-dev_files += "${prefix}/lib/pkgconfig/pmapi.pc" +libslp-pm-dev_files += "${prefix}/lib/libpmapi.so" + +libdevman_files = "" +libdevman_files += "${prefix}/bin/display_wd" +libdevman_files += "${prefix}/lib/libdevman.so.*" +MANIFESTFILES_libdevman = "devman.manifest" + +libslp-pm_files = "" +libslp-pm_files += "${prefix}/lib/libpmapi.so.*" +MANIFESTFILES_libslp-pm = "libslp-pm.manifest" + +system-server_files = "" +system-server_files += "${sysconfdir}/dbus-1/system.d/deviced.conf" +system-server_files += "${prefix}/bin/system_server" +system-server_files += "${prefix}/lib/system-server/shutdown.sh" +system-server_files += "${prefix}/bin/restart" +system-server_files += "${prefix}/bin/movi_format.sh" +system-server_files += "${prefix}/bin/sys_event" +system-server_files += "${prefix}/bin/pm_event" +system-server_files += "${prefix}/bin/regpmon" +system-server_files += "${prefix}/bin/set_pmon" +system-server_files += "${prefix}/bin/sys_pci_noti" +system-server_files += "${prefix}/bin/mmc-smack-label" +system-server_files += "${prefix}/bin/device-daemon" +system-server_files += "${prefix}/bin/fsck_msdosfs" +system-server_files += "${systemd_unitdir}/system/multi-user.target.wants/system-server.service" +system-server_files += "${systemd_unitdir}/system/graphical.target.wants/regpmon.service" +system-server_files += "${systemd_unitdir}/system/sockets.target.wants/system-server.socket" +system-server_files += "${systemd_unitdir}/system/system-server.service" +system-server_files += "${systemd_unitdir}/system/system-server.socket" +system-server_files += "${systemd_unitdir}/system/regpmon.service" +system-server_files += "${systemd_unitdir}/system/graphical.target.wants/zbooting-done.service" +system-server_files += "${systemd_unitdir}/system/zbooting-done.service" +system-server_files += "${prefix}/share/system-server/sys_pci_noti/res/locale/*/LC_MESSAGES/*.mo" +system-server_files += "${prefix}/share/license/fsck_msdosfs" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/dbus-1/system.d/deviced.conf" +MANIFESTFILES_${PN} = "system-server.manifest" + +sysman-internal-dev_files = "" +sysman-internal-dev_files += "${prefix}/include/sysman/sysman-internal.h" + +libhaptic-dev_files = "" +libhaptic-dev_files += "${prefix}/include/haptic/haptic.h" +libhaptic-dev_files += "${prefix}/lib/libhaptic.so" +libhaptic-dev_files += "${prefix}/lib/pkgconfig/haptic.pc" + +libhaptic-plugin-dev_files = "" +libhaptic-plugin-dev_files += "${prefix}/include/haptic/haptic_module.h" +libhaptic-plugin-dev_files += "${prefix}/include/haptic/haptic_plugin_intf.h" +libhaptic-plugin-dev_files += "${prefix}/include/haptic/haptic_PG.h" +libhaptic-plugin-dev_files += "${prefix}/lib/pkgconfig/haptic-plugin.pc" + +libdevman-haptic-dev_files = "" +libdevman-haptic-dev_files += "${prefix}/include/devman/devman_haptic_ext.h" +libdevman-haptic-dev_files += "${prefix}/include/devman/devman_haptic_ext_core.h" +libdevman-haptic-dev_files += "${prefix}/lib/pkgconfig/devman_haptic.pc" + +libdeviced_files = "" +libdeviced_files += "${prefix}/lib/libdeviced.so.*" +MANIFESTFILES_libdeviced = "deviced.manifest" + +sysman_files = "" +sysman_files += "${prefix}/lib/libsysman.so.*" +MANIFESTFILES_sysman = "sysman.manifest" + +FILES_libdevman-dev = "${libdevman-dev_files}" +FILES_libhaptic = "${libhaptic_files}" +FILES_sysman-dev = "${sysman-dev_files}" +FILES_libdeviced-dev = "${libdeviced-dev_files}" +FILES_libslp-pm-dev = "${libslp-pm-dev_files}" +FILES_libdevman = "${libdevman_files}" +FILES_libslp-pm = "${libslp-pm_files}" +FILES_${PN} = "${system-server_files}" +FILES_sysman-internal-dev = "${sysman-internal-dev_files}" +FILES_libhaptic-dev = "${libhaptic-dev_files}" +FILES_libhaptic-plugin-dev = "${libhaptic-plugin-dev_files}" +FILES_libdevman-haptic-dev = "${libdevman-haptic-dev_files}" +FILES_libdeviced = "${libdeviced_files}" +FILES_sysman = "${sysman_files}" + +PKG_libdevman-dev= "libdevman-dev" +PKG_libhaptic= "libhaptic" +PKG_sysman-dev= "sysman-dev" +PKG_libdeviced-dev= "libdeviced-dev" +PKG_libslp-pm-dev= "libslp-pm-dev" +PKG_libdevman= "libdevman" +PKG_libslp-pm= "libslp-pm" +PKG_system-server= "system-server" +PKG_sysman-internal-dev= "sysman-internal-dev" +PKG_libhaptic-dev= "libhaptic-dev" +PKG_libhaptic-plugin-dev= "libhaptic-plugin-dev" +PKG_libdevman-haptic-dev= "libdevman-haptic-dev" +PKG_libdeviced= "libdeviced" +PKG_sysman= "sysman" + +require system-server-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/system-server/system-server_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/system-server/system-server_git.bb new file mode 100644 index 0000000000..fc3c3e7da9 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/system-server/system-server_git.bb @@ -0,0 +1,10 @@ +require system-server.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/system/system-server;tag=9c78025072cb67f27da99d22bac34afb01ea0a23;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/systemd/systemd.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/systemd/systemd.inc new file mode 100644 index 0000000000..0ca340759d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/systemd/systemd.inc @@ -0,0 +1,608 @@ +DESCRIPTION = "A System and Service Manager" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd" +SECTION = "Base/Startup" +LICENSE = "LGPL-2.0+ and MIT and GPL-2.0+" +PV = "216" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libsystemd +PROVIDES += "libsystemd" + + +#PROVIDES by systemd +# the PROVIDES rules is ignore "SysVinit = 2.86-24" +PROVIDES += "SysVinit" +RPROVIDES_systemd += "SysVinit" +# the PROVIDES rules is ignore "sysvinit = 2.86-24" +PROVIDES += "sysvinit" +RPROVIDES_systemd += "sysvinit" +# the PROVIDES rules is ignore "/bin/systemctl " +PROVIDES += "/bin/systemctl" +RPROVIDES_systemd += "/bin/systemctl" +# the PROVIDES rules is ignore "/sbin/shutdown " +PROVIDES += "/sbin/shutdown" +RPROVIDES_systemd += "/sbin/shutdown" +# the PROVIDES rules is ignore "udev = 216" +PROVIDES += "udev" +RPROVIDES_systemd += "udev" + + +#PROVIDES by libgudev-dev +PROVIDES += "libgudev-dev" + + +#PROVIDES by systemd-dev +PROVIDES += "systemd-dev" +# the PROVIDES rules is ignore "libudev-dev = 216" +PROVIDES += "libudev-dev" +RPROVIDES_systemd-dev += "libudev-dev" + + +#PROVIDES by libgudev +PROVIDES += "libgudev" + + +#PROVIDES by systemd-docs +PROVIDES += "systemd-docs " + + +#PROVIDES by systemd-analyze +PROVIDES += "systemd-analyze" + + +RDEPENDS = "" +#RDEPENDS of systemd (${PN}) +RDEPENDS_${PN} += "hwdata" +RDEPENDS_${PN} += "dbus" +RDEPENDS_${PN} += "gawk" +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "shadow" +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of libgudev-dev (libgudev-dev) +RDEPENDS_libgudev-dev += "libgudev" + +#RDEPENDS of systemd-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libsystemd" +RDEPENDS_${PN}-dev += "systemd" + +#RDEPENDS of libgudev (libgudev) +RDEPENDS_libgudev += "systemd" + +#RDEPENDS of systemd-analyze (${PN}-analyze) +RDEPENDS_${PN}-analyze += "systemd" + + +DEPENDS = "" +#DEPENDS of systemd +DEPENDS += "kmod" +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +DEPENDS += "gperf" +DEPENDS += "hwdata" +DEPENDS += "dbus" +DEPENDS += "usbutils" +inherit pkgconfig +DEPENDS += "acl" +DEPENDS += "docbook-xsl-stylesheets" +DEPENDS += "glib-2.0" +DEPENDS += "libxslt" +DEPENDS += "pciutils" +DEPENDS += "libcap" +DEPENDS += "util-linux" +DEPENDS += "libgcrypt" +DEPENDS += "xz" +DEPENDS += "libpam" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/systemd.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + if which gtkdocize >/dev/null 2>/dev/null; then + gtkdocize --docdir docs/ --flavour no-tmpl + gtkdocargs=--enable-gtk-doc + else + echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation." + rm -f docs/gtk-doc.make + echo 'EXTRA_DIST =' > docs/gtk-doc.make + fi + + intltoolize --force --automake + + autotools_do_configure + + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --disable-kdbus --enable-compat-libs --enable-bootchart --disable-sysusers --disable-firstboot --disable-timesyncd --disable-resolved --disable-networkd --libexecdir=${prefix}/lib --docdir=${prefix}/share/doc/packages/systemd --disable-static --disable-libcurl --with-sysvinit-path= --with-sysvrcnd-path= --with-smack-run-label=System --with-rootprefix=/ --with-rootlibdir=/lib cc_cv_CFLAGS__flto=no" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #find_lang systemd + cat <> systemd.lang + %lang(fr) ${prefix}/lib/systemd/catalog/systemd.fr.catalog + %lang(it) ${prefix}/lib/systemd/catalog/systemd.it.catalog + %lang(ru) ${prefix}/lib/systemd/catalog/systemd.ru.catalog +EOF + + # udev links + mkdir -p ${D}${prefix}/sbin + ln -sf ../bin/udevadm ${D}${prefix}/sbin/udevadm + mkdir -p ${D}${prefix}/lib/firmware/updates + + # Create SysV compatibility symlinks. systemctl/systemd are smart + # enough to detect in which way they are called. + ln -sf /lib/systemd/systemd ${D}${prefix}/sbin/init + ln -sf /lib/systemd/systemd ${D}${prefix}/bin/systemd + ln -sf ../bin/systemctl ${D}${prefix}/sbin/reboot + ln -sf ../bin/systemctl ${D}${prefix}/sbin/halt + ln -sf ../bin/systemctl ${D}${prefix}/sbin/poweroff + ln -sf ../bin/systemctl ${D}${prefix}/sbin/shutdown + ln -sf ../bin/systemctl ${D}${prefix}/sbin/telinit + ln -sf ../bin/systemctl ${D}${prefix}/sbin/runlevel + + # legacy links + ln -sf loginctl ${D}${prefix}/bin/systemd-loginctl + + # We create all wants links manually at installation time to make sure + # they are not owned and hence overriden by rpm after the used deleted + # them. + rm -rf ${D}${sysconfdir}/systemd/system/*.target.wants + + # Make sure the ghost-ing below works + touch ${D}${sysconfdir}/systemd/system/runlevel2.target + touch ${D}${sysconfdir}/systemd/system/runlevel3.target + touch ${D}${sysconfdir}/systemd/system/runlevel4.target + touch ${D}${sysconfdir}/systemd/system/runlevel5.target + + # Make sure these directories are properly owned + mkdir -p ${D}${systemd_unitdir}/system/basic.target.wants + mkdir -p ${D}${systemd_unitdir}/system/default.target.wants + mkdir -p ${D}${systemd_unitdir}/system/dbus.target.wants + mkdir -p ${D}${systemd_unitdir}/system/syslog.target.wants + + # Make sure the user generators dir exists too + mkdir -p ${D}/lib/systemd/system-generators + mkdir -p ${D}${prefix}/lib/systemd/user-generators + + # Create new-style configuration files so that we can ghost-own them + touch ${D}${sysconfdir}/hostname + touch ${D}${sysconfdir}/vconsole.conf + touch ${D}${sysconfdir}/locale.conf + touch ${D}${sysconfdir}/machine-id + touch ${D}${sysconfdir}/machine-info + touch ${D}${sysconfdir}/timezone + + mkdir -p ${D}/lib/systemd/system-preset/ + mkdir -p ${D}/lib/systemd/user-preset/ + + # Make sure the shutdown/sleep drop-in dirs exist + mkdir -p ${D}/lib/systemd/system-shutdown/ + mkdir -p ${D}/lib/systemd/system-sleep/ + + # Make sure the NTP units dir exists + mkdir -p ${D}${prefix}/lib/systemd/ntp-units.d/ + + # Install modprobe fragment + mkdir -p ${D}${sysconfdir}/modprobe.d/ + + # Fix the dangling /var/lock -> /run/lock symlink + install -Dm644 tmpfiles.d/legacy.conf ${D}${prefix}/lib/tmpfiles.d/legacy.conf + + install -m644 ${S}/packaging/pamconsole-tmp.conf ${D}${prefix}/lib/tmpfiles.d/ + + rm -rf ${D}${systemd_unitdir}/system/default.target + install -m 755 -d ${D}${systemd_unitdir}/system + install -m 644 ${S}/packaging/default.target ${D}${systemd_unitdir}/system/ + + rm -rf ${D}${prefix}/share/doc/packages/systemd + + # Disable some useless services in Tizen + rm -rf ${D}${prefix}/lib/systemd/user/sysinit.target.wants/dev-hugepages.mount + rm -rf ${D}${prefix}/lib/systemd/user/sysinit.target.wants/sys-fs-fuse-connections.mount + rm -rf ${D}${prefix}/lib/systemd/user/sysinit.target.wants/systemd-binfmt.service + rm -rf ${D}${prefix}/lib/systemd/user/sysinit.target.wants/systemd-modules-load.service + rm -rf ${D}${prefix}/lib/systemd/user/sysinit.target.wants/systemd-ask-password-console.path + rm -rf ${D}${prefix}/lib/systemd/user/multi-user.target.wants/systemd-ask-password-wall.path + + # Move macros to the proper location for Tizen + mkdir -p ${D}${sysconfdir}/rpm + install -m644 src/core/macros.systemd ${D}${sysconfdir}/rpm/macros.systemd + + rm -fr ${D}${prefix}/lib/rpm + rm -fr ${D}${sysconfdir}/kernel + rm -fr ${D}${sysconfdir}/modprobe.d + rm -fr ${D}${localstatedir} + + # Exclude ELF binaries + rm -f ${D}/lib/systemd/system-generators/systemd-debug-generator + rm -f ${D}${prefix}/lib/systemd/system-generators/systemd-hibernate-resume-generator + + # end of install + + +} + +pkg_preinst_${PN}() { + #!/bin/sh -e + + getent group cdrom >/dev/null 2>&1 || groupadd -r -g 11 cdrom >/dev/null 2>&1 || : + getent group tape >/dev/null 2>&1 || groupadd -r -g 33 tape >/dev/null 2>&1 || : + getent group dialout >/dev/null 2>&1 || groupadd -r -g 18 dialout >/dev/null 2>&1 || : + getent group floppy >/dev/null 2>&1 || groupadd -r -g 19 floppy >/dev/null 2>&1 || : + systemctl stop systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udevd.service >/dev/null 2>&1 || : + # Rename configuration files that changed their names + mv -n $D${sysconfdir}/systemd/systemd-logind.conf $D${sysconfdir}/systemd/logind.conf >/dev/null 2>&1 || : + mv -n $D${sysconfdir}/systemd/systemd-journald.conf $D${sysconfdir}/systemd/journald.conf >/dev/null 2>&1 || : + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + systemd-machine-id-setup > /dev/null 2>&1 || : + systemd-random-seed save > /dev/null 2>&1 || : + systemctl daemon-reexec > /dev/null 2>&1 || : + systemctl start systemd-udevd.service >/dev/null 2>&1 || : + +} + +pkg_postinst_libgudev() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libsystemd() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ $1 -eq 0 ] ; then + systemctl disable \ + getty@.service \ + remote-fs.target \ + systemd-readahead-replay.service \ + systemd-readahead-collect.service >/dev/null 2>&1 || : + fi + +} + +pkg_postrm_libgudev() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libsystemd() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + if [ $1 -ge 1 ] ; then + systemctl daemon-reload > /dev/null 2>&1 || : + systemctl try-restart systemd-logind.service >/dev/null 2>&1 || : + fi + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libsystemd " +PACKAGES += " systemd " +PACKAGES += " libgudev-dev " +PACKAGES += " systemd-dev " +PACKAGES += " systemd-docs " +PACKAGES += " libgudev " +PACKAGES += " systemd-analyze " + +libsystemd_files = "" +libsystemd_files += "/lib/security/pam_systemd.so" +libsystemd_files += "/lib/libsystemd.so.*" +libsystemd_files += "/lib/libudev.so.*" +libsystemd_files += "/lib/libsystemd-daemon.so.*" +libsystemd_files += "/lib/libsystemd-id128.so.*" +libsystemd_files += "/lib/libsystemd-journal.so.*" +libsystemd_files += "/lib/libsystemd-login.so.*" +libsystemd_files += "${prefix}/lib/libnss_myhostname.so.2" +libsystemd_files += "${prefix}/lib/libnss_mymachines.so.2" +MANIFESTFILES_lib${PN} = "systemd.manifest" + +systemd_files = "" +systemd_files += "${sysconfdir}/pam.d/systemd-user" +systemd_files += "${prefix}/bin/bootctl" +systemd_files += "${prefix}/bin/busctl" +systemd_files += "${prefix}/bin/kernel-install" +systemd_files += "/bin/machinectl" +systemd_files += "${prefix}/bin/systemd-run" +systemd_files += "${prefix}/lib/kernel" +systemd_files += "${prefix}/lib/kernel/install.d" +systemd_files += "${prefix}/lib/kernel/install.d/50-depmod.install" +systemd_files += "${prefix}/lib/kernel/install.d/90-loaderentry.install" +systemd_files += "${prefix}/bin/hostnamectl" +systemd_files += "${prefix}/bin/localectl" +systemd_files += "${prefix}/bin/coredumpctl" +systemd_files += "${prefix}/bin/timedatectl" +systemd_files += "${sysconfdir}/systemd" +systemd_files += "${sysconfdir}/systemd/system" +systemd_files += "${sysconfdir}/systemd/user" +systemd_files += "${sysconfdir}/tmpfiles.d" +systemd_files += "${sysconfdir}/sysctl.d" +systemd_files += "${sysconfdir}/modules-load.d" +systemd_files += "${sysconfdir}/binfmt.d" +systemd_files += "${prefix}/share/bash-completion/*" +systemd_files += "${prefix}/share/zsh/site-functions" +systemd_files += "${prefix}/share/zsh/site-functions/*" +systemd_files += "${sysconfdir}/udev" +systemd_files += "${sysconfdir}/udev/rules.d" +systemd_files += "/lib/systemd" +systemd_files += "${systemd_unitdir}/system" +systemd_files += "/lib/systemd/system-generators" +systemd_files += "${prefix}/lib/systemd/user-generators" +systemd_files += "/lib/systemd/system-preset" +systemd_files += "/lib/systemd/user-preset" +systemd_files += "/lib/systemd/system-shutdown" +systemd_files += "/lib/systemd/system-sleep" +systemd_files += "${prefix}/lib/tmpfiles.d" +systemd_files += "${prefix}/lib/sysctl.d" +systemd_files += "${prefix}/lib/modules-load.d" +systemd_files += "${prefix}/lib/binfmt.d" +systemd_files += "${prefix}/lib/firmware" +systemd_files += "${prefix}/lib/firmware/updates" +systemd_files += "${prefix}/share/systemd" +systemd_files += "${prefix}/lib/systemd/ntp-units.d" +systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf" +systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.hostname1.conf" +systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.login1.conf" +systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.locale1.conf" +systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.timedate1.conf" +systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.machine1.conf" +systemd_files += "${sysconfdir}/systemd/bootchart.conf" +systemd_files += "${sysconfdir}/systemd/coredump.conf" +systemd_files += "${sysconfdir}/systemd/system.conf" +systemd_files += "${sysconfdir}/systemd/user.conf" +systemd_files += "${sysconfdir}/systemd/logind.conf" +systemd_files += "${sysconfdir}/systemd/journald.conf" +systemd_files += "${sysconfdir}/udev/udev.conf" +systemd_files += "${sysconfdir}/xdg/systemd" +systemd_files += "${prefix}/bin/systemd" +systemd_files += "/bin/systemctl" +systemd_files += "/bin/systemd-notify" +systemd_files += "/bin/systemd-ask-password" +systemd_files += "/bin/systemd-tty-ask-password-agent" +systemd_files += "/bin/systemd-machine-id-setup" +systemd_files += "/bin/loginctl" +systemd_files += "${prefix}/bin/systemd-loginctl" +systemd_files += "/bin/journalctl" +systemd_files += "/bin/systemd-tmpfiles" +systemd_files += "${prefix}/bin/systemd-nspawn" +systemd_files += "${prefix}/bin/systemd-stdio-bridge" +systemd_files += "${prefix}/bin/systemd-cat" +systemd_files += "${prefix}/bin/systemd-cgls" +systemd_files += "${prefix}/bin/systemd-cgtop" +systemd_files += "${prefix}/bin/systemd-delta" +systemd_files += "${prefix}/bin/systemd-detect-virt" +systemd_files += "/bin/systemd-inhibit" +systemd_files += "/bin/udevadm" +systemd_files += "/bin/systemd-escape" +systemd_files += "${prefix}/bin/systemd-path" +systemd_files += "${prefix}/lib/sysctl.d/*.conf" +systemd_files += "/lib/systemd/systemd" +systemd_files += "${systemd_unitdir}/system" +systemd_files += "${systemd_unitdir}/system/basic.target.wants" +systemd_files += "${prefix}/lib/systemd/user" +systemd_files += "/lib/systemd/network" +systemd_files += "${prefix}/lib/systemd/user/basic.target" +systemd_files += "${prefix}/lib/systemd/user/bluetooth.target" +systemd_files += "${prefix}/lib/systemd/user/exit.target" +systemd_files += "${prefix}/lib/systemd/user/printer.target" +systemd_files += "${prefix}/lib/systemd/user/shutdown.target" +systemd_files += "${prefix}/lib/systemd/user/sockets.target" +systemd_files += "${prefix}/lib/systemd/user/sound.target" +systemd_files += "${prefix}/lib/systemd/user/systemd-exit.service" +systemd_files += "${prefix}/lib/systemd/user/paths.target" +systemd_files += "${prefix}/lib/systemd/user/smartcard.target" +systemd_files += "${prefix}/lib/systemd/user/timers.target" +systemd_files += "${prefix}/lib/systemd/user/busnames.target" +systemd_files += "${prefix}/lib/systemd/user/default.target" +systemd_files += "/lib/systemd/network/99-default.link" +systemd_files += "/lib/systemd/systemd-*" +systemd_files += "${prefix}/lib/systemd/catalog" +systemd_files += "${prefix}/lib/systemd/catalog/systemd.catalog" +systemd_files += "/lib/udev" +systemd_files += "/lib/systemd/system-generators/systemd-efi-boot-generator" +systemd_files += "/lib/systemd/system-generators/systemd-getty-generator" +systemd_files += "/lib/systemd/system-generators/systemd-fstab-generator" +systemd_files += "/lib/systemd/system-generators/systemd-system-update-generator" +systemd_files += "/lib/systemd/system-generators/systemd-gpt-auto-generator" +systemd_files += "${prefix}/lib/tmpfiles.d/systemd.conf" +systemd_files += "${prefix}/lib/tmpfiles.d/x11.conf" +systemd_files += "${prefix}/lib/tmpfiles.d/tmp.conf" +systemd_files += "${prefix}/lib/tmpfiles.d/legacy.conf" +systemd_files += "${prefix}/lib/tmpfiles.d/pamconsole-tmp.conf" +systemd_files += "${prefix}/lib/tmpfiles.d/systemd-nologin.conf" +systemd_files += "${prefix}/lib/tmpfiles.d/etc.conf" +systemd_files += "${prefix}/lib/tmpfiles.d/var.conf" +systemd_files += "${prefix}/sbin/init" +systemd_files += "${prefix}/sbin/reboot" +systemd_files += "${prefix}/sbin/halt" +systemd_files += "${prefix}/sbin/poweroff" +systemd_files += "${prefix}/sbin/shutdown" +systemd_files += "${prefix}/sbin/telinit" +systemd_files += "${prefix}/sbin/runlevel" +systemd_files += "${prefix}/sbin/udevadm" +systemd_files += "${prefix}/share/systemd/kbd-model-map" +systemd_files += "${prefix}/share/dbus-1/services/org.freedesktop.systemd1.service" +systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.systemd1.service" +systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.hostname1.service" +systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.login1.service" +systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.locale1.service" +systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.timedate1.service" +systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.machine1.service" +systemd_files += "${prefix}/share/polkit-1" +systemd_files += "${prefix}/share/polkit-1/actions" +systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.systemd1.policy" +systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.hostname1.policy" +systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.login1.policy" +systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.locale1.policy" +systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.timedate1.policy" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/pam.d/systemd-user" +MANIFESTFILES_${PN} = "systemd.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${prefix}/lib/kernel" +DIRFILES_${PN} += "${prefix}/lib/kernel/install.d" +DIRFILES_${PN} += "${sysconfdir}/systemd" +DIRFILES_${PN} += "${sysconfdir}/systemd/system" +DIRFILES_${PN} += "${sysconfdir}/systemd/user" +DIRFILES_${PN} += "${sysconfdir}/tmpfiles.d" +DIRFILES_${PN} += "${sysconfdir}/sysctl.d" +DIRFILES_${PN} += "${sysconfdir}/modules-load.d" +DIRFILES_${PN} += "${sysconfdir}/binfmt.d" +DIRFILES_${PN} += "${prefix}/share/zsh/site-functions" +DIRFILES_${PN} += "${sysconfdir}/udev" +DIRFILES_${PN} += "${sysconfdir}/udev/rules.d" +DIRFILES_${PN} += "/lib/systemd" +DIRFILES_${PN} += "${systemd_unitdir}/system" +DIRFILES_${PN} += "/lib/systemd/system-generators" +DIRFILES_${PN} += "${prefix}/lib/systemd/user-generators" +DIRFILES_${PN} += "/lib/systemd/system-preset" +DIRFILES_${PN} += "/lib/systemd/user-preset" +DIRFILES_${PN} += "/lib/systemd/system-shutdown" +DIRFILES_${PN} += "/lib/systemd/system-sleep" +DIRFILES_${PN} += "${prefix}/lib/tmpfiles.d" +DIRFILES_${PN} += "${prefix}/lib/sysctl.d" +DIRFILES_${PN} += "${prefix}/lib/modules-load.d" +DIRFILES_${PN} += "${prefix}/lib/binfmt.d" +DIRFILES_${PN} += "${prefix}/lib/firmware" +DIRFILES_${PN} += "${prefix}/lib/firmware/updates" +DIRFILES_${PN} += "${prefix}/share/systemd" +DIRFILES_${PN} += "${prefix}/lib/systemd/ntp-units.d" +DIRFILES_${PN} += "${systemd_unitdir}/system/basic.target.wants" +DIRFILES_${PN} += "${prefix}/lib/systemd/user" +DIRFILES_${PN} += "/lib/systemd/network" +DIRFILES_${PN} += "${prefix}/lib/systemd/catalog" +DIRFILES_${PN} += "${prefix}/share/polkit-1" +DIRFILES_${PN} += "${prefix}/share/polkit-1/actions" + +libgudev-dev_files = "" +libgudev-dev_files += "${prefix}/lib/libgudev-1.0.so" +libgudev-dev_files += "${prefix}/include/gudev-1.0" +libgudev-dev_files += "${prefix}/include/gudev-1.0/gudev" +libgudev-dev_files += "${prefix}/include/gudev-1.0/gudev/*.h" +libgudev-dev_files += "${prefix}/lib/pkgconfig/gudev-1.0*" +MANIFESTFILES_libgudev-dev = "systemd.manifest" +DIRFILES_libgudev-dev = "" +DIRFILES_libgudev-dev += "${prefix}/include/gudev-1.0" +DIRFILES_libgudev-dev += "${prefix}/include/gudev-1.0/gudev" + +systemd-dev_files = "" +systemd-dev_files += "${prefix}/lib/libudev.so" +systemd-dev_files += "${prefix}/lib/libsystemd.so" +systemd-dev_files += "${prefix}/lib/libsystemd-daemon.so" +systemd-dev_files += "${prefix}/lib/libsystemd-id128.so" +systemd-dev_files += "${prefix}/lib/libsystemd-journal.so" +systemd-dev_files += "${prefix}/lib/libsystemd-login.so" +systemd-dev_files += "${prefix}/include/systemd" +systemd-dev_files += "${prefix}/include/systemd/_sd-common.h" +systemd-dev_files += "${prefix}/include/systemd/sd-daemon.h" +systemd-dev_files += "${prefix}/include/systemd/sd-id128.h" +systemd-dev_files += "${prefix}/include/systemd/sd-journal.h" +systemd-dev_files += "${prefix}/include/systemd/sd-login.h" +systemd-dev_files += "${prefix}/include/systemd/sd-messages.h" +systemd-dev_files += "${prefix}/include/libudev.h" +systemd-dev_files += "${prefix}/lib/pkgconfig/libudev.pc" +systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd.pc" +systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd-daemon.pc" +systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd-id128.pc" +systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd-journal.pc" +systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd-login.pc" +systemd-dev_files += "${prefix}/share/pkgconfig/systemd.pc" +systemd-dev_files += "${prefix}/share/pkgconfig/udev.pc" +systemd-dev_files += "${sysconfdir}/rpm/macros.systemd" +CONFFILES_${PN}-dev = "" +CONFFILES_${PN}-dev += "${sysconfdir}/rpm/macros.systemd" +MANIFESTFILES_${PN}-dev = "systemd.manifest" +DIRFILES_${PN}-dev = "" +DIRFILES_${PN}-dev += "${prefix}/include/systemd" + +systemd-docs_files = "" + +libgudev_files = "" +libgudev_files += "${prefix}/lib/libgudev-1.0.so.*" +MANIFESTFILES_libgudev = "systemd.manifest" + +systemd-analyze_files = "" +systemd-analyze_files += "${prefix}/bin/systemd-analyze" +MANIFESTFILES_${PN}-analyze = "systemd.manifest" + +FILES_lib${PN} = "${libsystemd_files}" +FILES_${PN} = "${systemd_files}" +FILES_libgudev-dev = "${libgudev-dev_files}" +FILES_${PN}-dev = "${systemd-dev_files}" +FILES_${PN}-docs = "${systemd-docs_files}" +FILES_libgudev = "${libgudev_files}" +FILES_${PN}-analyze = "${systemd-analyze_files}" + +PKG_libsystemd= "libsystemd" +PKG_systemd= "systemd" +PKG_libgudev-dev= "libgudev-dev" +PKG_systemd-dev= "systemd-dev" +PKG_systemd-docs= "systemd-docs" +PKG_libgudev= "libgudev" +PKG_systemd-analyze= "systemd-analyze" + +require systemd-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/systemd/systemd_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/systemd/systemd_git.bb new file mode 100644 index 0000000000..3afba9cfe1 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/systemd/systemd_git.bb @@ -0,0 +1,10 @@ +require systemd.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/systemd;tag=95e1a70c5104b47874519b24e12022e878f2572a;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config.inc new file mode 100644 index 0000000000..f1ac0024d4 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config.inc @@ -0,0 +1,197 @@ +DESCRIPTION = "Tizen Platform Configuration" +HOMEPAGE = "http://www.tizen.org" +SECTION = "System/Configuration" +LICENSE = "MIT" +PV = "2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by tizen-platform-config + + +#PROVIDES by libtzplatform-config-dev +PROVIDES += "libtzplatform-config-dev" + + +#PROVIDES by tizen-platform-config-tools +PROVIDES += "tizen-platform-config-tools" + + +#PROVIDES by libtzplatform-config +PROVIDES += "libtzplatform-config" + + +RDEPENDS = "" +#RDEPENDS of tizen-platform-config-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "libtzplatform-config" + +#RDEPENDS of tizen-platform-config (${PN}) +RDEPENDS_${PN} += "smack" + +#RDEPENDS of libtzplatform-config-dev (libtzplatform-config-dev) +RDEPENDS_libtzplatform-config-dev += "libtzplatform-config" + +#RDEPENDS of libtzplatform-config (libtzplatform-config) +RDEPENDS_libtzplatform-config += "tizen-platform-config" + + +DEPENDS = "" +#DEPENDS of tizen-platform-config +DEPENDS += "tizen-platform-wrapper" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tizen-platform-config.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + exit 0 + oe_runmake check + + + +} +EXTRA_OECONF += " --enable-static" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + + +} + +pkg_postinst_libtzplatform-config() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ############################################## + # BEGIN - creation of the /etc/skel/content + ############################################## + saveHOME="$HOME" + HOME="$D${sysconfdir}/skel" + . "$D${sysconfdir}/tizen-platform.conf" + cat << ENDOFCAT | + $TZ_USER_HOME User::Home true + $TZ_USER_CONTENT User::Home true + $TZ_USER_CAMERA User::App::Shared true + $TZ_USER_DOCUMENTS User::App::Shared true + $TZ_USER_DOWNLOADS User::App::Shared true + $TZ_USER_GAMES User::App::Shared true + $TZ_USER_IMAGES User::App::Shared true + $TZ_USER_OTHERS User::App::Shared true + $TZ_USER_SOUNDS User::App::Shared true + $TZ_USER_VIDEOS User::App::Shared true + $TZ_USER_SHARE User::App::Shared true + $TZ_USER_APP User false + $TZ_USER_DB User false + $TZ_USER_DESKTOP User false + $TZ_USER_ICONS User::Home true + $TZ_USER_PACKAGES User false + ENDOFCAT + LANG= sort | while read skelname context transmute; do + mkdir -p "$skelname" + chsmack -a "$context" "$skelname" + [ "$transmute" = true ] && chsmack -t "$skelname" + done + HOME="$saveHOME" + ############################################## + # END - creation of the /etc/skel/content + ############################################## + +} + +pkg_postrm_libtzplatform-config() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libtzplatform-config-dev " +PACKAGES += " tizen-platform-config-tools " +PACKAGES += " tizen-platform-config " +PACKAGES += " libtzplatform-config " + +libtzplatform-config-dev_files = "" +libtzplatform-config-dev_files += "${prefix}/lib/*.so" +libtzplatform-config-dev_files += "${prefix}/lib/pkgconfig/*.pc" +libtzplatform-config-dev_files += "${prefix}/include/*.h" +libtzplatform-config-dev_files += "${sysconfdir}/rpm/macros.tizen-platform" +libtzplatform-config-dev_files += "${prefix}/lib/*.a" +CONFFILES_libtzplatform-config-dev = "" +CONFFILES_libtzplatform-config-dev += "${sysconfdir}/rpm/macros.tizen-platform" +MANIFESTFILES_libtzplatform-config-dev = "tizen-platform-config.manifest" + +tizen-platform-config-tools_files = "" +tizen-platform-config-tools_files += "${prefix}/bin/*" +MANIFESTFILES_${PN}-tools = "tizen-platform-config.manifest" + +tizen-platform-config_files = "" +tizen-platform-config_files += "${sysconfdir}/tizen-platform.conf" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/tizen-platform.conf" +MANIFESTFILES_${PN} = "tizen-platform-config.manifest" + +libtzplatform-config_files = "" +libtzplatform-config_files += "${prefix}/lib/*.so.*" +MANIFESTFILES_libtzplatform-config = "tizen-platform-config.manifest" + +FILES_libtzplatform-config-dev = "${libtzplatform-config-dev_files}" +FILES_${PN}-tools = "${tizen-platform-config-tools_files}" +FILES_${PN} = "${tizen-platform-config_files}" +FILES_libtzplatform-config = "${libtzplatform-config_files}" + +PKG_libtzplatform-config-dev= "libtzplatform-config-dev" +PKG_tizen-platform-config-tools= "tizen-platform-config-tools" +PKG_tizen-platform-config= "tizen-platform-config" +PKG_libtzplatform-config= "libtzplatform-config" + +require tizen-platform-config-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config_git.bb new file mode 100644 index 0000000000..0580dd7711 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-config/tizen-platform-config_git.bb @@ -0,0 +1,10 @@ +require tizen-platform-config.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/tizen-platform-config;tag=5652a12582a0fa73e780f0635da6ebf8c516093f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-wrapper/tizen-platform-wrapper.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-wrapper/tizen-platform-wrapper.inc new file mode 100644 index 0000000000..92457f4ca9 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-wrapper/tizen-platform-wrapper.inc @@ -0,0 +1,94 @@ +DESCRIPTION = "A toolkit to generate the libtizen-platform-config library" +HOMEPAGE = "http://www.tizen.org" +SECTION = "Development/Tools" +LICENSE = "LGPL-2.0" +PV = "2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by tizen-platform-wrapper + + +RDEPENDS = "" +#RDEPENDS of tizen-platform-wrapper (${PN}) +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "gperf" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tizen-platform-wrapper.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " tizen-platform-wrapper " + +tizen-platform-wrapper_files = "" +tizen-platform-wrapper_files += "${prefix}/bin/*" +tizen-platform-wrapper_files += "${prefix}/share/tizen-platform-wrapper/*" +tizen-platform-wrapper_files += "${prefix}/lib/pkgconfig/tizen-platform-wrapper.pc" +MANIFESTFILES_${PN} = "tizen-platform-wrapper.manifest" + +FILES_${PN} = "${tizen-platform-wrapper_files}" + +PKG_tizen-platform-wrapper= "tizen-platform-wrapper" + +require tizen-platform-wrapper-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-wrapper/tizen-platform-wrapper_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-wrapper/tizen-platform-wrapper_git.bb new file mode 100644 index 0000000000..19e16c2923 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/tizen-platform-wrapper/tizen-platform-wrapper_git.bb @@ -0,0 +1,10 @@ +require tizen-platform-wrapper.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/tizen-platform-wrapper;tag=8b5967cd28a02dd169920f84722d5946d76b1690;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/udev-rules/udev-rules.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/udev-rules/udev-rules.inc new file mode 100644 index 0000000000..9300bfe675 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/udev-rules/udev-rules.inc @@ -0,0 +1,83 @@ +DESCRIPTION = "Tizen IVI udev Rules" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Automotive/Hardware Adaptation" +LICENSE = "GPL-2.0" +PV = "0.13" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by udev-rules + + +#PROVIDES by udev-rules-ivi +PROVIDES += "udev-rules-ivi" + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n udev-rules-0.13 + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + make -C ivi install DESTDIR=${D} + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " udev-rules-ivi " + +udev-rules-ivi_files = "" +udev-rules-ivi_files += "/usr/lib/udev/rules.d/99-atkbd.rules" +udev-rules-ivi_files += "/usr/lib/udev/rules.d/99-dri.rules" +udev-rules-ivi_files += "/usr/lib/udev/rules.d/99-neard.rules" +udev-rules-ivi_files += "/usr/lib/udev/rules.d/99-tty.rules" +udev-rules-ivi_files += "/usr/lib/udev/rules.d/70-tun.rules" + +FILES_${PN}-ivi = "${udev-rules-ivi_files}" + +PKG_udev-rules-ivi= "udev-rules-ivi" + +require udev-rules-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/udev-rules/udev-rules_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/udev-rules/udev-rules_git.bb new file mode 100644 index 0000000000..ce3aaca9ff --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/udev-rules/udev-rules_git.bb @@ -0,0 +1,10 @@ +require udev-rules.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/udev-rules;tag=b4fa71b1f6422ebf2618d2b73a5c6eb288a09397;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/uthash/uthash.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/uthash/uthash.inc new file mode 100644 index 0000000000..8b45ceced7 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/uthash/uthash.inc @@ -0,0 +1,86 @@ +DESCRIPTION = "A hash table for C structures" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Kernel" +LICENSE = "BSD-style single-clause" +PV = "1.9.7" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by uthash + + +#PROVIDES by uthash-dev +PROVIDES += "uthash-dev" + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/uthash.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + #empty + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}${prefix}/include + cd src + cp utarray.h uthash.h utlist.h utstring.h ${D}${prefix}/include + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " uthash-dev " + +uthash-dev_files = "" +uthash-dev_files += "${prefix}/include/utarray.h" +uthash-dev_files += "${prefix}/include/uthash.h" +uthash-dev_files += "${prefix}/include/utlist.h" +uthash-dev_files += "${prefix}/include/utstring.h" +MANIFESTFILES_${PN}-dev = "uthash.manifest" + +FILES_${PN}-dev = "${uthash-dev_files}" + +PKG_uthash-dev= "uthash-dev" + +require uthash-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/uthash/uthash_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/uthash/uthash_git.bb new file mode 100644 index 0000000000..76482f7779 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/uthash/uthash_git.bb @@ -0,0 +1,10 @@ +require uthash.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/uthash;tag=1436c7858fa133d830a18d27c879af301000a70f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/xdgmime/xdgmime.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/xdgmime/xdgmime.inc new file mode 100644 index 0000000000..595cd82333 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/xdgmime/xdgmime.inc @@ -0,0 +1,128 @@ +DESCRIPTION = "Querying information about file type" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Other" +LICENSE = "LGPL-2.0 and AFL-2.0" +PV = "0.0.12" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by xdgmime-dev +PROVIDES += "xdgmime-dev" + + +#PROVIDES by xdgmime + + +RDEPENDS = "" +#RDEPENDS of xdgmime-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "xdgmime" + + +DEPENDS = "" +#DEPENDS of xdgmime +inherit tizen_cmake + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xdgmime.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " xdgmime-dev " +PACKAGES += " xdgmime " + +xdgmime-dev_files = "" +xdgmime-dev_files += "${prefix}/include/xdgmime.h" +xdgmime-dev_files += "${prefix}/lib/libxdgmime.so" +xdgmime-dev_files += "${prefix}/lib/pkgconfig/xdgmime.pc" +MANIFESTFILES_${PN}-dev = "xdgmime.manifest" + +xdgmime_files = "" +xdgmime_files += "${prefix}/lib/libxdgmime.so.*" +MANIFESTFILES_${PN} = "xdgmime.manifest" + +FILES_${PN}-dev = "${xdgmime-dev_files}" +FILES_${PN} = "${xdgmime_files}" + +PKG_xdgmime-dev= "xdgmime-dev" +PKG_xdgmime= "xdgmime" + +require xdgmime-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/xdgmime/xdgmime_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/xdgmime/xdgmime_git.bb new file mode 100644 index 0000000000..8f7c2149cb --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-core/xdgmime/xdgmime_git.bb @@ -0,0 +1,10 @@ +require xdgmime.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/appfw/xdgmime;tag=5e5be094af84c8443a42e1981c649dece1693ae3;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/fdupes/fdupes.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/fdupes/fdupes.inc new file mode 100644 index 0000000000..40ab15c368 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/fdupes/fdupes.inc @@ -0,0 +1,84 @@ +DESCRIPTION = "Identifying or deleting duplicate files" +HOMEPAGE = "http://premium.caribe.net/~adrian2/fdupes.html" +SECTION = "Base/Compression" +LICENSE = "MIT" +PV = "1.40" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by fdupes + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/fdupes.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + make + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -D -m755 fdupes ${D}${prefix}/bin/fdupes + install -D -m644 fdupes.1 ${D}${mandir}/man1/fdupes.1 + install -D -m644 ${S}/packaging/macros.fdupes ${D}${sysconfdir}/rpm/macros.fdupes + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " fdupes " + +fdupes_files = "" +fdupes_files += "CHANGES" +fdupes_files += "${prefix}/bin/fdupes" +fdupes_files += "${mandir}/*/*" +fdupes_files += "${sysconfdir}/rpm" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/rpm" +MANIFESTFILES_${PN} = "fdupes.manifest" + +FILES_${PN} = "${fdupes_files}" + +PKG_fdupes= "fdupes" + +require fdupes-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/fdupes/fdupes_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/fdupes/fdupes_git.bb new file mode 100644 index 0000000000..800f686555 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/fdupes/fdupes_git.bb @@ -0,0 +1,10 @@ +require fdupes.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fdupes;tag=796ff677d7ed1bdd2fb8d3b48572dba6a8e111f6;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/gobject-introspection/gobject-introspection.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/gobject-introspection/gobject-introspection.inc new file mode 100644 index 0000000000..02303eab94 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/gobject-introspection/gobject-introspection.inc @@ -0,0 +1,204 @@ +DESCRIPTION = "GObject Introspection Tools" +HOMEPAGE = "http://live.gnome.org/GObjectIntrospection" +SECTION = "Development/Libraries" +LICENSE = "LGPL-2.1+ and GPL-2.0+" +PV = "1.36.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by gobject-introspection + + +#PROVIDES by gobject-introspection-dev +PROVIDES += "gobject-introspection-dev" + + +#PROVIDES by girepository +PROVIDES += "girepository" + + +#PROVIDES by libgirepository +PROVIDES += "libgirepository" + + +#PROVIDES by gobject-introspection-docs +PROVIDES += "gobject-introspection-docs " + + +RDEPENDS = "" +#RDEPENDS of gobject-introspection (${PN}) +RDEPENDS_${PN} += "python-xml" +RDEPENDS_${PN} += "libgirepository" + +#RDEPENDS of gobject-introspection-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libffi" +RDEPENDS_${PN}-dev += "gobject-introspection" + +#RDEPENDS of girepository (girepository) +RDEPENDS_girepository += "libgirepository" + +#RDEPENDS of libgirepository (libgirepository) +RDEPENDS_libgirepository += "girepository" + + +DEPENDS = "" +#DEPENDS of gobject-introspection +DEPENDS += "flex" +inherit pythonnative +DEPENDS += "cairo" +inherit pkgconfig +DEPENDS += "python-xml" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "libffi" +DEPENDS_append_class-native = " bison-native" +DEPENDS_append_class-target = " bison-native" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gobject-introspection.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + [ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh + #autoreconf -fi + + autotools_do_configure + oe_runmake -j16 V=1 + + + +} +EXTRA_OECONF += " --disable-gtk-doc " + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -D ${S}/packaging/gi-find-deps.sh ${D}/usr/share/spec2yocto/macro/gi-find-deps.sh + install -D ${S}/packaging/gobjectintrospection.attr -m 0644 ${D}/usr/share/spec2yocto/macro/fileattrs/gobjectintrospection.attr + # comparing, if we provide all the symbols expected. + ls ${D}${prefix}/lib/girepository-1.0/*.typelib | sh ${S}/packaging/gi-find-deps.sh -P > gobject-introspection-typelib.installed + diff -s ${S}/packaging/gobject-introspection-typelib.template gobject-introspection-typelib.installed + #fdupes ${D} + + + +} + +pkg_postinst_libgirepository() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libgirepository() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " gobject-introspection " +PACKAGES += " gobject-introspection-dev " +PACKAGES += " girepository " +PACKAGES += " libgirepository " +PACKAGES += " gobject-introspection-docs " + +gobject-introspection_files = "" +gobject-introspection_files += "${prefix}/bin/g-ir-annotation-tool" +gobject-introspection_files += "${prefix}/bin/g-ir-compiler" +gobject-introspection_files += "${prefix}/bin/g-ir-dep-tool" +gobject-introspection_files += "${prefix}/bin/g-ir-generate" +gobject-introspection_files += "${prefix}/bin/g-ir-scanner" +gobject-introspection_files += "${prefix}/share/aclocal/introspection.m4" +gobject-introspection_files += "${prefix}/share/gir-1.0/*.gir" +gobject-introspection_files += "${prefix}/lib/gobject-introspection" +gobject-introspection_files += "${prefix}/lib/gobject-introspection/giscanner/" +gobject-introspection_files += "${prefix}/share/gobject-introspection-1.0" +gobject-introspection_files += "${prefix}/share/gobject-introspection-1.0/Makefile.introspection" +gobject-introspection_files += "${prefix}/share/gobject-introspection-1.0/tests/" +gobject-introspection_files += "${prefix}/share/gobject-introspection-1.0/gdump.c" +gobject-introspection_files += "/usr/share/spec2yocto/macro/gi-find-deps.sh" +gobject-introspection_files += "/usr/share/spec2yocto/macro/fileattrs/gobjectintrospection.attr" +MANIFESTFILES_${PN} = "gobject-introspection.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${prefix}/lib/gobject-introspection" +DIRFILES_${PN} += "${prefix}/share/gobject-introspection-1.0" + +gobject-introspection-dev_files = "" +gobject-introspection-dev_files += "${prefix}/include/gobject-introspection-1.0/" +gobject-introspection-dev_files += "${prefix}/lib/libgirepository-1.0.so" +gobject-introspection-dev_files += "${prefix}/lib/pkgconfig/gobject-introspection-1.0.pc" +gobject-introspection-dev_files += "${prefix}/lib/pkgconfig/gobject-introspection-no-export-1.0.pc" +MANIFESTFILES_${PN}-dev = "gobject-introspection.manifest" + +girepository_files = "" +girepository_files += "${prefix}/lib/girepository-1.0/*.typelib" +MANIFESTFILES_girepository = "gobject-introspection.manifest" + +libgirepository_files = "" +libgirepository_files += "COPYING.LGPL" +libgirepository_files += "${prefix}/share/gir-1.0" +libgirepository_files += "${prefix}/lib/libgirepository-1.0.so.*" +libgirepository_files += "${prefix}/lib/girepository-1.0" +MANIFESTFILES_libgirepository = "gobject-introspection.manifest" +DIRFILES_libgirepository = "" +DIRFILES_libgirepository += "${prefix}/share/gir-1.0" +DIRFILES_libgirepository += "${prefix}/lib/girepository-1.0" + +gobject-introspection-docs_files = "" + +FILES_${PN} = "${gobject-introspection_files}" +FILES_${PN}-dev = "${gobject-introspection-dev_files}" +FILES_girepository = "${girepository_files}" +FILES_libgirepository = "${libgirepository_files}" +FILES_${PN}-docs = "${gobject-introspection-docs_files}" + +PKG_gobject-introspection= "gobject-introspection" +PKG_gobject-introspection-dev= "gobject-introspection-dev" +PKG_girepository= "girepository" +PKG_libgirepository= "libgirepository" +PKG_gobject-introspection-docs= "gobject-introspection-docs" + +require gobject-introspection-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/gobject-introspection/gobject-introspection_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/gobject-introspection/gobject-introspection_git.bb new file mode 100644 index 0000000000..ed2183ec38 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/gobject-introspection/gobject-introspection_git.bb @@ -0,0 +1,10 @@ +require gobject-introspection.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gobject-introspection;tag=6c15fe2f7415421fd1d38d03d8865c0e3e4c9967;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/lua/lua.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/lua/lua.inc new file mode 100644 index 0000000000..c832bef1cf --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/lua/lua.inc @@ -0,0 +1,163 @@ +DESCRIPTION = "Small Embeddable Language with Simple Procedural Syntax" +HOMEPAGE = "http://www.lua.org" +SECTION = "Base/Libraries" +LICENSE = "MIT" +PV = "5.1.4" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by lua + + +#PROVIDES by lua-dev +PROVIDES += "lua-dev" + + +#PROVIDES by liblua +PROVIDES += "liblua" + + +#PROVIDES by lua-doc +PROVIDES += "lua-doc" + + +RDEPENDS = "" +#RDEPENDS of lua-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "lua" + + +DEPENDS = "" +#DEPENDS of lua +DEPENDS_append_class-native = " readline-native" +DEPENDS_append_class-target = " readline-native" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n lua-5.1.4 + cp ${S}/packaging/lua.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + export LDFLAGS+=" -Wl,-E -ldl -lreadline -lhistory -lncurses" + sed -i 's:LUA_ROOT2 "LIBDIR/lua/5.1/":LUA_ROOT2 \"lib/lua/5.1/":' src/luaconf.h + make -j16 -C src CC="${CC}" MYCFLAGS="$CFLAGS -fPIC -DLUA_USE_LINUX" MYLIBS="$LDFLAGS" V=5.1 all + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + make install INSTALL_TOP="${D}${prefix}" INSTALL_LIB="${D}${prefix}/lib" INSTALL_CMOD=${D}${prefix}/lib/lua/5.1 INSTALL_MAN="${D}${mandir}/man1" + install -D -m644 etc/lua.pc ${D}${prefix}/lib/pkgconfig/lua.pc + for file in lua luac ; do + mv "${D}${prefix}/bin/${file}" "${D}${prefix}/bin/${file}5.1" + mv "${D}${mandir}/man1/${file}.1" "${D}${mandir}/man1/${file}5.1.1" + done + install -d -m 0755 ${D}${prefix}/lib/lua/5.1 + install -d -m 0755 ${D}${prefix}/share/lua/5.1 + install -D -m644 ${S}/packaging/macros.lua ${D}${sysconfdir}/rpm/macros.lua + + chmod +x ${D}${prefix}/lib/liblua.so.5.1 + + ln -s lua5.1 ${D}${prefix}/bin/lua + + +} + +pkg_postinst_liblua() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_liblua() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " lua " +PACKAGES += " lua-dev " +PACKAGES += " liblua " + +lua_files = "" +lua_files += "${mandir}/man1/lua5.1.1*" +lua_files += "${mandir}/man1/luac5.1.1*" +lua_files += "${prefix}/bin/lua" +lua_files += "${prefix}/bin/lua5.1" +lua_files += "${prefix}/bin/luac5.1" +lua_files += "${prefix}/lib/lua" +lua_files += "${prefix}/lib/lua/5.1" +lua_files += "${prefix}/share/lua" +lua_files += "${prefix}/share/lua/5.1" +lua_files += "${sysconfdir}/rpm/macros.lua" +MANIFESTFILES_${PN} = "lua.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${prefix}/lib/lua" +DIRFILES_${PN} += "${prefix}/lib/lua/5.1" +DIRFILES_${PN} += "${prefix}/share/lua" +DIRFILES_${PN} += "${prefix}/share/lua/5.1" + +lua-dev_files = "" +lua-dev_files += "${prefix}/include/lauxlib.h" +lua-dev_files += "${prefix}/include/lua.h" +lua-dev_files += "${prefix}/include/lua.hpp" +lua-dev_files += "${prefix}/include/luaconf.h" +lua-dev_files += "${prefix}/include/lualib.h" +lua-dev_files += "${prefix}/lib/pkgconfig/lua.pc" +lua-dev_files += "${prefix}/lib/liblua.a" +lua-dev_files += "${prefix}/lib/liblua.so" +MANIFESTFILES_${PN}-dev = "lua.manifest" + +liblua_files = "" +liblua_files += "${prefix}/lib/liblua.so.5.1" +MANIFESTFILES_lib${PN} = "lua.manifest" + +lua-doc_files = "" +lua-doc_files += "doc/*" +MANIFESTFILES_${PN}-doc = "lua.manifest" + +FILES_${PN} = "${lua_files}" +FILES_${PN}-dev = "${lua-dev_files}" +FILES_lib${PN} = "${liblua_files}" +FILES_${PN}-doc = "${lua-doc_files}" + +PKG_lua= "lua" +PKG_lua-dev= "lua-dev" +PKG_liblua= "liblua" +PKG_lua-doc= "lua-doc" + +require lua-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/lua/lua_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/lua/lua_git.bb new file mode 100644 index 0000000000..417279ad50 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/lua/lua_git.bb @@ -0,0 +1,10 @@ +require lua.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/lua;tag=25c38c5d6cf919f6e0c37413955c20dbea24d37f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-common/meta-common.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-common/meta-common.inc new file mode 100644 index 0000000000..8b451dbd72 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-common/meta-common.inc @@ -0,0 +1,92 @@ +DESCRIPTION = "Common Meta Data" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Configuration" +LICENSE = "GPL-2.0" +PV = "001" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by meta-common + + +RDEPENDS = "" +#RDEPENDS of meta-common (${PN}) +RDEPENDS_${PN} += "meta-generic" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/meta-common.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + oe_runmake + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " meta-common " + +meta-common_files = "" +meta-common_files += "${prefix}/share/package-groups/common/*.yaml" +meta-common_files += "${prefix}/share/image-configurations/common/*.yaml" +meta-common_files += "${prefix}/share/image-configurations/common/configs/*.yaml" +meta-common_files += "${prefix}/share/image-configurations/common/partitions" +meta-common_files += "${prefix}/share/image-configurations/common/scripts" +MANIFESTFILES_${PN} = "meta-common.manifest" + +FILES_${PN} = "${meta-common_files}" + +PKG_meta-common= "meta-common" + +require meta-common-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-common/meta-common_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-common/meta-common_git.bb new file mode 100644 index 0000000000..00bc0e5930 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-common/meta-common_git.bb @@ -0,0 +1,10 @@ +require meta-common.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/common/meta;tag=685707ac395459bc6504000bd6eb5c8f49efb83f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-generic/meta-generic.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-generic/meta-generic.inc new file mode 100644 index 0000000000..431aee3f47 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-generic/meta-generic.inc @@ -0,0 +1,97 @@ +DESCRIPTION = "Tizen Package Groups and Images Configurations" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Configuration" +LICENSE = "GPL-2.0" +PV = "0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by meta-generic-adaptation +PROVIDES += "meta-generic-adaptation" + + +#PROVIDES by meta-generic + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/meta-generic.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + make + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " meta-generic-adaptation " +PACKAGES += " meta-generic " + +meta-generic-adaptation_files = "" +meta-generic-adaptation_files += "${sysconfdir}/profile.d/generic-adaptation.sh" + +meta-generic_files = "" +meta-generic_files += "${prefix}/share/package-groups/generic/*.yaml" +meta-generic_files += "${prefix}/share/image-configurations/generic/scripts" +MANIFESTFILES_${PN} = "meta-generic.manifest" + +FILES_${PN}-adaptation = "${meta-generic-adaptation_files}" +FILES_${PN} = "${meta-generic_files}" + +PKG_meta-generic-adaptation= "meta-generic-adaptation" +PKG_meta-generic= "meta-generic" + +require meta-generic-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-generic/meta-generic_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-generic/meta-generic_git.bb new file mode 100644 index 0000000000..5c621b3a35 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/meta-generic/meta-generic_git.bb @@ -0,0 +1,10 @@ +require meta-generic.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/meta-generic;tag=0b9bda35bba1bddb591f6acf1277997d2b917971;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/python-setuptools/python-setuptools.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/python-setuptools/python-setuptools.inc new file mode 100644 index 0000000000..4e5cc75472 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/python-setuptools/python-setuptools.inc @@ -0,0 +1,107 @@ +DESCRIPTION = "Easily build and distribute Python packages" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Python or ZPLv2.0" +PV = "0.6c11" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by python-setuptools-dev +PROVIDES += "python-setuptools-dev" + + +#PROVIDES by python-setuptools + + +RDEPENDS = "" +#RDEPENDS of python-setuptools-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "python" +RDEPENDS_${PN}-dev += "python-setuptools" + + +DEPENDS = "" +#DEPENDS of python-setuptools +inherit pythonnative + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n setuptools-0.6c11 + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + cp ${S}/packaging/python-setuptools.manifest . + find -name '*.txt' | xargs chmod -x + find -name '*.py' | xargs sed -i '1s|^#!python|#!python|' + CFLAGS="$RPM_OPT_FLAGS" python setup.py build + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install -O1 --skip-build \ + --root $RPM_BUILD_ROOT \ + --prefix ${prefix} \ + --single-version-externally-managed + + rm -rf $RPM_BUILD_ROOT${prefix}/lib/python2.7/site-packages/setuptools/tests + + install -p -m 0644 ${S}/packaging/psfl.txt ${S}/packaging/zpl.txt . + find $RPM_BUILD_ROOT${prefix}/lib/python2.7/site-packages -name '*.exe' | xargs rm -f + chmod +x $RPM_BUILD_ROOT${prefix}/lib/python2.7/site-packages/setuptools/command/easy_install.py + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " python-setuptools-dev " +PACKAGES += " python-setuptools " + +python-setuptools-dev_files = "" +python-setuptools-dev_files += "${prefix}/lib/python2.7/site-packages/easy_install*" +python-setuptools-dev_files += "${prefix}/bin/*" +MANIFESTFILES_${PN}-dev = "python-setuptools.manifest" + +python-setuptools_files = "" +python-setuptools_files += "${prefix}/lib/python2.7/site-packages/*" +MANIFESTFILES_${PN} = "python-setuptools.manifest" + +FILES_${PN}-dev = "${python-setuptools-dev_files}" +FILES_${PN} = "${python-setuptools_files}" + +PKG_python-setuptools-dev= "python-setuptools-dev" +PKG_python-setuptools= "python-setuptools" + +require python-setuptools-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/python-setuptools/python-setuptools_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/python-setuptools/python-setuptools_git.bb new file mode 100644 index 0000000000..f78e60c8f7 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/python-setuptools/python-setuptools_git.bb @@ -0,0 +1,10 @@ +require python-setuptools.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-setuptools;tag=556fe37505b60a30d7e053d95d8a9aeb789a7b30;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/rpm/rpm.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/rpm/rpm.inc new file mode 100644 index 0000000000..25e4c8f0cd --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/rpm/rpm.inc @@ -0,0 +1,372 @@ +DESCRIPTION = "The Package Manager" +HOMEPAGE = "http://www.rpm.org" +SECTION = "Base/Package Management" +LICENSE = "GPL-2.0+" +PV = "4.11.0.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by rpm-security-plugin +PROVIDES += "rpm-security-plugin" + + +#PROVIDES by python-rpm +PROVIDES += "python-rpm" + + +#PROVIDES by rpm-build +PROVIDES += "rpm-build" +# the PROVIDES rules is ignore "rpmbuild " +PROVIDES += "rpmbuild" +RPROVIDES_rpm-build += "rpmbuild" +# the PROVIDES rules is ignore "rpm:${prefix}/bin/rpmbuild " +PROVIDES += "rpm:${prefix}/bin/rpmbuild" +RPROVIDES_rpm-build += "rpm:${prefix}/bin/rpmbuild" + + +#PROVIDES by rpm-dev +PROVIDES += "rpm-dev" + + +#PROVIDES by rpm +# the PROVIDES rules is ignore "rpminst " +PROVIDES += "rpminst" +RPROVIDES_rpm += "rpminst" +# the PROVIDES rules is ignore "rpm-libs " +PROVIDES += "rpm-libs" +RPROVIDES_rpm += "rpm-libs" + + +#PROVIDES by rpm-docs +PROVIDES += "rpm-docs " + + +RDEPENDS = "" +#RDEPENDS of rpm-security-plugin (${PN}-security-plugin) +RDEPENDS_${PN}-security-plugin += "smack" +RDEPENDS_${PN}-security-plugin += "nss" +RDEPENDS_${PN}-security-plugin += "rpm" + +#RDEPENDS of python-rpm (python-${PN}) +RDEPENDS_python-${PN} += "rpm" + +#RDEPENDS of rpm-build (${PN}-build) +RDEPENDS_${PN}-build += "bzip2" +RDEPENDS_${PN}-build += "make" +RDEPENDS_${PN}-build += "gcc" +RDEPENDS_${PN}-build += "patch" +RDEPENDS_${PN}-build += "xz" +RDEPENDS_${PN}-build += "findutils" +RDEPENDS_${PN}-build += "gzip" +RDEPENDS_${PN}-build += "rpm" +RDEPENDS_${PN}-build += "glibc" +RDEPENDS_${PN}-build += "binutils" + +#RDEPENDS of rpm-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "rpm" +RDEPENDS_${PN}-dev += "popt" + + +DEPENDS = "" +#DEPENDS of python-rpm +#DEPENDS of rpm +DEPENDS += "libxml2" +DEPENDS += "xz" +DEPENDS += "findutils" +DEPENDS += "file" +DEPENDS += "popt" +DEPENDS += "uthash" +DEPENDS += "nss" +DEPENDS += "make" +DEPENDS += "bzip2" +DEPENDS += "lua" +DEPENDS += "patch" +inherit pkgconfig +inherit pythonnative +DEPENDS += "libcap" +DEPENDS += "ncurses" +DEPENDS += "smack" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "attr" +DEPENDS += "zlib" +DEPENDS += "acl" +DEPENDS += "gzip" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "elfutils" +DEPENDS += "binutils" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n rpm-4.11.0.1 + cp ${S}/packaging/rpm.manifest . + rm -rf sqlite + tar xjf ${S}/packaging/db-4.8.30.tar.bz2 + ln -sfn db-4.8.30 db + chmod -R u+w db/* + # will get linked from db3 + rm -f rpmdb/db.h + patch -p0 < ${S}/packaging/db-4.8.30-integration.dif + if [ -s ${sysconfdir}/rpm/tizen_macros ]; then + cp -a ${sysconfdir}/rpm/tizen_macros ${S}/packaging/rpm-tizen_macros + fi + cp -a ${S}/packaging/rpm-tizen_macros tizen_macros + rm -f m4/libtool.m4 + rm -f m4/lt*.m4 + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`" + export CPPFLAGS + export CFLAGS="$CFLAGS -ffunction-sections" + export LDFLAGS="${LDFLAGS} -Wl,-Bsymbolic-functions -ffunction-sections" + + + autotools_do_configure + + make -j16 + + + +} +EXTRA_OECONF += " --disable-dependency-tracking --with-lua --with-acl --with-cap --enable-shared --enable-python --with-vendor=tizen --with-msm " + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}${prefix}/lib + mkdir -p ${D}${prefix}/share/locale + ln -s ../share/locale ${D}${prefix}/lib/locale + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -m 644 db3/db.h ${D}${prefix}/include/rpm + mkdir -p ${D}${sysconfdir}/rpm + cp -a tizen_macros ${D}${prefix}/lib/rpm + mkdir -p ${D}${prefix}/lib/rpm/tizen + install -m 755 ${S}/packaging/find-docs.sh ${D}${prefix}/lib/rpm/tizen + install -m 755 ${S}/packaging/find-provides.ksyms ${D}${prefix}/lib/rpm + install -m 644 ${S}/packaging/device-sec-policy ${D}${sysconfdir}/device-sec-policy + install -m 644 ${S}/packaging/device-sec-policy ${D}${prefix}/lib/rpm-plugins/msm-device-sec-policy + ln -s ../tizen_macros ${D}${prefix}/lib/rpm/tizen/macros + for d in BUILD RPMS SOURCES SPECS SRPMS BUILDROOT ; do + mkdir -p ${D}${prefix}/src/packages/$d + chmod 755 ${D}${prefix}/src/packages/$d + done + for d in ${D}${prefix}/lib/rpm/platform/*-linux/macros ; do + dd=${d%-linux/macros} + dd=${dd##*/} + mkdir -p ${D}${prefix}/src/packages/RPMS/$dd + chmod 755 ${D}${prefix}/src/packages/RPMS/$dd + done + mkdir -p ${D}${localstatedir}/lib/rpm + gzip -9 ${D}${mandir}/man[18]/*.[18] + export RPM_BUILD_ROOT + chmod 755 doc/manual + rm -rf doc/manual/Makefile* + rm -f ${D}${prefix}/lib/rpmpopt + rm -rf ${D}${mandir}/{fr,ja,ko,pl,ru,sk} + rm -f ${D}${prefix}/share/locale/de/LC_MESSAGES/rpm.mo + rm -f ${D}${prefix}/lib/rpm/cpanflute ${D}${prefix}/lib/rpm/cpanflute2 + install -m 755 scripts/find-supplements ${D}${prefix}/lib/rpm + install -m 755 scripts/find-supplements.ksyms ${D}${prefix}/lib/rpm + install -m 755 scripts/firmware.prov ${D}${prefix}/lib/rpm + install -m 755 scripts/debuginfo.prov ${D}${prefix}/lib/rpm + rm -f ${D}${prefix}/lib/locale ${D}${prefix}/lib/rpmrc + mkdir -p ${D}${sysconfdir}/rpm + chmod 755 ${D}${sysconfdir}/rpm + mkdir -p ${D}${prefix}/lib/rpm/macros.d + # remove some nonsense or non-working scripts + for f in rpm2cpio.sh rpm.daily rpmdiff* rpm.log rpm.xinetd freshen.sh u_pkg.sh \ + magic magic.mgc magic.mime* rpmfile *.pl javadeps brp-redhat \ + brp-strip-static-archive vpkg-provides*.sh http.req sql.req tcl.req \ + rpmdb_* brp-sparc64-linux brp-strip-comment-note brp-java-gcjcompile + do + rm -f ${D}${prefix}/lib/rpm/$f + done + for i in ${prefix}/share/automake-*/*; do + if test -f "$i" && test -f ${D}${prefix}/lib/rpm/"${i##*/}"; then + rm -f ${D}${prefix}/lib/rpm/"${i##*/}" + fi + done + rm -f ${D}${prefix}/lib/*.la + rm -f ${D}${prefix}/lib/rpm-plugins/*.la + + #fdupes ${D}${prefix}/lib/rpm/platform + + sh ${D}${prefix}/lib/rpm/find-lang.sh ${D} rpm + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + test -f ${localstatedir}/lib/rpm/Packages || rpm --initdb + rm -f ${localstatedir}/lib/rpm/Filemd5s \ + ${localstatedir}/lib/rpm/Filedigests \ + ${localstatedir}/lib/rpm/Requireversion \ + ${localstatedir}/lib/rpm/Provideversion + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " rpm-security-plugin " +PACKAGES += " python-rpm " +PACKAGES += " rpm-build " +PACKAGES += " rpm-dev " +PACKAGES += " rpm-docs " +PACKAGES += " rpm " + +rpm-security-plugin_files = "" +rpm-security-plugin_files += "${prefix}/lib/rpm-plugins/msm.so" +rpm-security-plugin_files += "${prefix}/lib/rpm-plugins/msm-device-sec-policy" +rpm-security-plugin_files += "${sysconfdir}/device-sec-policy" +MANIFESTFILES_${PN}-security-plugin = "rpm.manifest" + +python-rpm_files = "" +python-rpm_files += "${prefix}/lib/python2.7/site-packages/rpm" +python-rpm_files += "${prefix}/lib/python2.7/site-packages/rpm/transaction.py" + +rpm-build_files = "" +rpm-build_files += "${prefix}/bin/rpmbuild" +rpm-build_files += "${prefix}/bin/gendiff" +rpm-build_files += "${prefix}/bin/rpmspec" +rpm-build_files += "${prefix}/bin/rpmsign" +rpm-build_files += "${prefix}/lib/rpm/tizen/find-*" +rpm-build_files += "${prefix}/lib/rpm/brp-*" +rpm-build_files += "${prefix}/lib/rpm/find-supplements*" +rpm-build_files += "${prefix}/lib/rpm/check-*" +rpm-build_files += "${prefix}/lib/rpm/debugedit" +rpm-build_files += "${prefix}/lib/rpm/find-debuginfo.sh" +rpm-build_files += "${prefix}/lib/rpm/find-lang.sh" +rpm-build_files += "${prefix}/lib/rpm/find-provides.ksyms" +rpm-build_files += "${prefix}/lib/rpm/*provides*" +rpm-build_files += "${prefix}/lib/rpm/*requires*" +rpm-build_files += "${prefix}/lib/rpm/*deps*" +rpm-build_files += "${prefix}/lib/rpm/*.prov" +rpm-build_files += "${prefix}/lib/rpm/*.req" +rpm-build_files += "${prefix}/lib/rpm/macros.*" +rpm-build_files += "${prefix}/lib/rpm/fileattrs" +MANIFESTFILES_${PN}-build = "rpm.manifest" + +rpm-dev_files = "" +rpm-dev_files += "${prefix}/bin/rpmgraph" +rpm-dev_files += "${prefix}/include/rpm" +rpm-dev_files += "${prefix}/lib/librpm.so" +rpm-dev_files += "${prefix}/lib/librpmbuild.so" +rpm-dev_files += "${prefix}/lib/librpmio.so" +rpm-dev_files += "${prefix}/lib/librpmsign.so" +rpm-dev_files += "${prefix}/lib/pkgconfig/rpm.pc" +MANIFESTFILES_${PN}-dev = "rpm.manifest" + +rpm-docs_files = "" +rpm-docs_files += "GROUPS" + +rpm_files = "" +rpm_files += "${sysconfdir}/rpm" +rpm_files += "/bin/rpm" +rpm_files += "${prefix}/bin/rpm2cpio" +rpm_files += "${prefix}/bin/rpmdb" +rpm_files += "${prefix}/bin/rpmkeys" +rpm_files += "${prefix}/bin/rpmquery" +rpm_files += "${prefix}/bin/rpmverify" +rpm_files += "${prefix}/bin/rpmqpack" +rpm_files += "%dir ${prefix}/lib/rpm" +rpm_files += "${prefix}/lib/rpm/macros" +rpm_files += "${prefix}/lib/rpm/macros.d" +rpm_files += "${prefix}/lib/rpm/rpmpopt*" +rpm_files += "${prefix}/lib/rpm/rpmrc" +rpm_files += "${prefix}/lib/rpm/tizen/macros" +rpm_files += "${prefix}/lib/rpm/tizen_macros" +rpm_files += "${prefix}/lib/rpm/rpm.supp" +rpm_files += "${prefix}/lib/rpm/tgpg" +rpm_files += "${prefix}/lib/rpm/platform" +rpm_files += "${prefix}/lib/rpm-plugins" +rpm_files += "${prefix}/lib/rpm-plugins/exec.so" +rpm_files += "${prefix}/lib/librpm.so.*" +rpm_files += "${prefix}/lib/librpmio.so.*" +rpm_files += "${prefix}/lib/librpmbuild.so.*" +rpm_files += "${prefix}/lib/librpmsign.so.*" +rpm_files += "${localstatedir}/lib/rpm" +rpm_files += "%attr(755,root,root) ${prefix}/src/packages/BUILD" +rpm_files += "%attr(755,root,root) ${prefix}/src/packages/SPECS" +rpm_files += "%attr(755,root,root) ${prefix}/src/packages/SOURCES" +rpm_files += "%attr(755,root,root) ${prefix}/src/packages/SRPMS" +rpm_files += "%attr(755,root,root) ${prefix}/src/packages/RPMS" +rpm_files += "%attr(755,root,root) ${prefix}/src/packages/BUILDROOT" +rpm_files += "%attr(755,root,root) ${prefix}/src/packages/RPMS/*" +MANIFESTFILES_${PN} = "rpm.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += " ${prefix}/lib/rpm-plugins" +DIRFILES_${PN} += " ${localstatedir}/lib/rpm" +DIRFILES_${PN} += " %attr(755,root,root) ${prefix}/src/packages/BUILD" +DIRFILES_${PN} += " %attr(755,root,root) ${prefix}/src/packages/SPECS" +DIRFILES_${PN} += " %attr(755,root,root) ${prefix}/src/packages/SOURCES" +DIRFILES_${PN} += " %attr(755,root,root) ${prefix}/src/packages/SRPMS" +DIRFILES_${PN} += " %attr(755,root,root) ${prefix}/src/packages/RPMS" +DIRFILES_${PN} += " %attr(755,root,root) ${prefix}/src/packages/BUILDROOT" +DIRFILES_${PN} += " %attr(755,root,root) ${prefix}/src/packages/RPMS/*" + +FILES_${PN}-security-plugin = "${rpm-security-plugin_files}" +FILES_python-${PN} = "${python-rpm_files}" +FILES_${PN}-build = "${rpm-build_files}" +FILES_${PN}-dev = "${rpm-dev_files}" +FILES_${PN}-docs = "${rpm-docs_files}" +FILES_${PN} = "${rpm_files}" + +PKG_rpm-security-plugin= "rpm-security-plugin" +PKG_python-rpm= "python-rpm" +PKG_rpm-build= "rpm-build" +PKG_rpm-dev= "rpm-dev" +PKG_rpm-docs= "rpm-docs" +PKG_rpm= "rpm" + +require rpm-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/rpm/rpm_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/rpm/rpm_git.bb new file mode 100644 index 0000000000..04b59fb2eb --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/rpm/rpm_git.bb @@ -0,0 +1,10 @@ +require rpm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/rpm;tag=34297356fec103c001cacc7c40efef374fff211a;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/tdb/tdb.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/tdb/tdb.inc new file mode 100644 index 0000000000..21040f4ac2 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/tdb/tdb.inc @@ -0,0 +1,159 @@ +DESCRIPTION = "Samba Trivial Database" +HOMEPAGE = "http://tdb.samba.org/" +SECTION = "System/Libraries" +LICENSE = "GPL-3.0+" +PV = "1.3.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libtdb-dev +PROVIDES += "libtdb-dev" + + +#PROVIDES by tdb + + +#PROVIDES by libtdb +PROVIDES += "libtdb" + + +#PROVIDES by python-tdb +PROVIDES += "python-tdb" + + +#PROVIDES by tdb-tools +PROVIDES += "tdb-tools" + + +RDEPENDS = "" +#RDEPENDS of libtdb-dev (lib${PN}-dev) +RDEPENDS_lib${PN}-dev += "libtdb" +RDEPENDS_lib${PN}-dev += "pkgconfig" + +#RDEPENDS of libtdb (lib${PN}) +RDEPENDS_lib${PN} += "glibc" +RDEPENDS_lib${PN} += "pkgconfig" + + +DEPENDS = "" +#DEPENDS of tdb +inherit pythonnative +DEPENDS_append_class-native = " autoconf-native" +DEPENDS_append_class-target = " autoconf-native" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -n tdb-1.3.1 -q + cp ${S}/packaging/tdb.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + #--disable-python + + oe_runmake -j16 + + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +pkg_postinst_libtdb() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libtdb() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libtdb-dev " +PACKAGES += " tdb-tools " +PACKAGES += " libtdb " +PACKAGES += " python-tdb " + +libtdb-dev_files = "" +libtdb-dev_files += "${prefix}/include/tdb.h" +libtdb-dev_files += "${prefix}/lib/libtdb.so" +libtdb-dev_files += "${prefix}/lib/pkgconfig/tdb.pc" +MANIFESTFILES_lib${PN}-dev = "tdb.manifest" + +tdb-tools_files = "" +tdb-tools_files += "${prefix}/bin/tdbbackup" +tdb-tools_files += "${prefix}/bin/tdbdump" +tdb-tools_files += "${prefix}/bin/tdbrestore" +tdb-tools_files += "${prefix}/bin/tdbtool" +MANIFESTFILES_${PN}-tools = "tdb.manifest" + +libtdb_files = "" +libtdb_files += "${prefix}/lib/libtdb.so.*" +MANIFESTFILES_lib${PN} = "tdb.manifest" + +python-tdb_files = "" +python-tdb_files += "${prefix}/lib/python2.7/site-packages/tdb.so" +MANIFESTFILES_python-${PN} = "tdb.manifest" + +FILES_lib${PN}-dev = "${libtdb-dev_files}" +FILES_${PN}-tools = "${tdb-tools_files}" +FILES_lib${PN} = "${libtdb_files}" +FILES_python-${PN} = "${python-tdb_files}" + +PKG_libtdb-dev= "libtdb-dev" +PKG_tdb-tools= "tdb-tools" +PKG_libtdb= "libtdb" +PKG_python-tdb= "python-tdb" + +require tdb-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/tdb/tdb_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/tdb/tdb_git.bb new file mode 100644 index 0000000000..708a5a64b4 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/tdb/tdb_git.bb @@ -0,0 +1,10 @@ +require tdb.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tdb;tag=915e4e6232f6c4ba962656dc632615e2d4909480;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/vala/vala.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/vala/vala.inc new file mode 100644 index 0000000000..484c3841bf --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/vala/vala.inc @@ -0,0 +1,183 @@ +DESCRIPTION = "Programming language for GNOME" +HOMEPAGE = "http://live.gnome.org/Vala" +SECTION = "Platform Development/Utilities" +LICENSE = "LGPL-2.0" +PV = "0.26.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libvala +PROVIDES += "libvala" + + +#PROVIDES by vala + + +#PROVIDES by libvala-dev +PROVIDES += "libvala-dev" + + +RDEPENDS = "" +#RDEPENDS of vala (${PN}) +RDEPENDS_${PN} += "update-alternatives" + +#RDEPENDS of libvala-dev (lib${PN}-dev) +RDEPENDS_lib${PN}-dev += "libvala" + + +DEPENDS = "" +#DEPENDS of vala +DEPENDS += "xz" +DEPENDS += "flex" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS_append_class-native = " bison-native" +DEPENDS_append_class-target = " bison-native" +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/vala.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --with-pic --enable-vapigen" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + #fdupes ${D}${prefix}/share + + +} + +pkg_postinst_libvala() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + update-alternatives \ + --install $D${prefix}/bin/vala vala $D${prefix}/bin/vala-0.26 \ + 26 \ + --slave $D${prefix}/bin/valac valac $D${prefix}/bin/valac-0.26 \ + --slave $D${prefix}/bin/vala-gen-introspect vala-gen-introspect $D${prefix}/bin/vala-gen-introspect-0.26 \ + --slave $D${prefix}/bin/vapicheck vapicheck $D${prefix}/bin/vapicheck-0.26 \ + --slave $D${prefix}/bin/vapigen vapigen $D${prefix}/bin/vapigen-0.26 \ + --slave ${mandir}/man1/valac.1.gz valac.1.gz ${mandir}/man1/valac-0.26.1.gz \ + --slave ${mandir}/man1/vala-gen-introspect.1.gz vala-gen-introspect.1.gz ${mandir}/man1/vala-gen-introspect-0.26.1.gz \ + --slave ${mandir}/man1/vapigen.1.gz vapigen.1.gz ${mandir}/man1/vapigen-0.26.1.gz \ + --slave $D${prefix}/share/pkgconfig/vapigen.pc vapigen.pc $D${prefix}/share/pkgconfig/vapigen-0.26.pc + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + # Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed + if [ ! -f $D${prefix}/bin/vala-0.26 ]; then + update-alternatives --remove vala $D${prefix}/bin/vala-0.26 + fi + +} + +pkg_postrm_libvala() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libvala " +PACKAGES += " vala " +PACKAGES += " libvala-dev " + +libvala_files = "" +libvala_files += "${prefix}/lib/libvala-0.26.so.*" +MANIFESTFILES_lib${PN} = "vala.manifest" + +vala_files = "" +vala_files += "${prefix}/bin/vala-0.26" +vala_files += "${prefix}/bin/valac-0.26" +vala_files += "${prefix}/bin/vala-gen-introspect-0.26" +vala_files += "${prefix}/bin/vapicheck-0.26" +vala_files += "${prefix}/bin/vapigen-0.26" +vala_files += "${mandir}/man1/valac-0.26.1*" +vala_files += "${mandir}/man1/vala-gen-introspect-0.26.1*" +vala_files += "${mandir}/man1/vapigen-0.26.1*" +vala_files += "${prefix}/share/aclocal/vala.m4" +vala_files += "${prefix}/share/aclocal/vapigen.m4" +vala_files += "${prefix}/share/pkgconfig/vapigen-0.26.pc" +vala_files += "${prefix}/share/vala" +vala_files += "${prefix}/share/vala/Makefile.vapigen" +vala_files += "${prefix}/share/vala-0.26/" +vala_files += "${prefix}/lib/vala-0.26/" +MANIFESTFILES_${PN} = "vala.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${prefix}/share/vala" + +libvala-dev_files = "" +libvala-dev_files += "AUTHORS ChangeLog NEWS README" +libvala-dev_files += "${prefix}/include/vala-0.26/" +libvala-dev_files += "${prefix}/lib/libvala-0.26.so" +libvala-dev_files += "${prefix}/lib/pkgconfig/libvala-0.26.pc" +MANIFESTFILES_lib${PN}-dev = "vala.manifest" + +FILES_lib${PN} = "${libvala_files}" +FILES_${PN} = "${vala_files}" +FILES_lib${PN}-dev = "${libvala-dev_files}" + +PKG_libvala= "libvala" +PKG_vala= "vala" +PKG_libvala-dev= "libvala-dev" + +require vala-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/vala/vala_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/vala/vala_git.bb new file mode 100644 index 0000000000..2c0ef96730 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-devtools/vala/vala_git.bb @@ -0,0 +1,10 @@ +require vala.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/vala;tag=f075306bb9eccbb59c731f441b2b465d9476f80c;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/festival/festival.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/festival/festival.inc new file mode 100644 index 0000000000..1030b9ea15 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/festival/festival.inc @@ -0,0 +1,280 @@ +DESCRIPTION = "A free speech synthesis and text-to-speech system" +HOMEPAGE = "http://www.cstr.ed.ac.uk/projects/festival/" +SECTION = "System/Libraries" +LICENSE = "MIT and GPL-2.0+ and TCL" +PV = "2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by festival + + +#PROVIDES by festival-dev +PROVIDES += "festival-dev" + + +RDEPENDS = "" +#RDEPENDS of festival-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "festival" + + +DEPENDS = "" +#DEPENDS of festival +DEPENDS += "ncurses" +inherit pkgconfig + +do_prep() { + cd ${S} + #extracte source 1 + CURDIR=$(pwd) + cd ${S}/../ + tar -zxf ${S}/packaging/speech_tools-2.1-release.tar.gz + cd ${CURDIR} + #extracte source 2 + CURDIR=$(pwd) + cd ${S}/../ + tar -zxf ${S}/packaging/festlex_CMU.tar.gz + cd ${CURDIR} + #extracte source 3 + CURDIR=$(pwd) + cd ${S}/../ + tar -zxf ${S}/packaging/festvox_kallpc16k.tar.gz + cd ${CURDIR} + #extracte source 4 + CURDIR=$(pwd) + cd ${S}/../ + tar -zxf ${S}/packaging/festlex_POSLEX.tar.gz + cd ${CURDIR} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -b 1 -b 2 -b 3 -b 4 + mv ../festival/lib/* lib/ + cat ${S}/packaging/festival-1.95-examples.patch | patch -s -p1 --fuzz=2 + #patch0 -p1 + cat ${S}/packaging/festival-text2wave-manpage.patch | patch -s -p1 --fuzz=2 + #patch1 -p1 + cat ${S}/packaging/festival-1.95-libdir.patch | patch -s -p0 --fuzz=2 + #patch2 + cat ${S}/packaging/festival-1.95-audsp.patch | patch -s -p0 --fuzz=2 + #patch3 + cat ${S}/packaging/festival-1.96-chroot.patch | patch -s -p0 --fuzz=2 + #patch4 + cat ${S}/packaging/festival-no-LD_LIBRARY_PATH-extension.patch | patch -s -p1 --fuzz=2 + #patch5 -p1 + cat ${S}/packaging/festival-safe-temp-file.patch | patch -s -p1 --fuzz=2 + #patch6 -p1 + cat ${S}/packaging/festival-use-pacat.patch | patch -s -p1 -b --suffix .use-pacat --fuzz=2 + #patch7 -p1 -b .use-pacat + cd ../speech_tools + cat ${S}/packaging/speech_tools-undefined-operation.patch | patch -s -p1 --fuzz=2 + #patch101 -p1 + cat ${S}/packaging/speech_tools-1.2.95-config.patch | patch -s -p0 --fuzz=2 + #patch102 + cat ${S}/packaging/speech_tools-no-LD_LIBRARY_PATH-extension.patch | patch -s -p1 --fuzz=2 + #patch103 -p1 + cat ${S}/packaging/speech_tools-gcc47.patch | patch -s -p1 --fuzz=2 + #patch104 -p1 + cat ${S}/packaging/festival-1.96-speechtools-shared-build.patch | patch -s -p2 -b --suffix .shared-build --fuzz=2 + #patch200 -p2 -b .shared-build + cat ${S}/packaging/festival-1.96-bettersonamehack.patch | patch -s -p2 -b --suffix .bettersoname --fuzz=2 + #patch201 -p2 -b .bettersoname + cat ${S}/packaging/festival-1.96-main-speech_tools-shared-build.patch | patch -s -p2 -b --suffix .shared --fuzz=2 + #patch205 -p2 -b .shared + cd ../festival-2.1 + cat ${S}/packaging/festival-1.96-main-festival-shared-build.patch | patch -s -p1 -b --suffix .shared --fuzz=2 + #patch206 -p1 -b .shared + cd ../speech_tools + cat ${S}/packaging/no-shared-data.patch | patch -s -p1 -b --suffix .no-shared-data --fuzz=2 + #patch210 -p1 -b .no-shared-data + cat ${S}/packaging/festival-1.96-speechtools-linklibswithotherlibs.patch | patch -s -p1 -b --suffix .linklibswithotherlibs --fuzz=2 + #patch211 -p1 -b .linklibswithotherlibs + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + # festival + + autotools_do_configure + + cd .. + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/speech_tools/lib + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/festival-2.1/src/lib + # speech tools + cd speech_tools + ./configure --host=${HOST_SYS} --prefix=${prefix} --libdir=${prefix}/lib --datadir=${prefix}/share/festival --sysconfdir=${sysconfdir} + + oe_runmake CC="${CC} -fPIC $RPM_OPT_FLAGS" CXX="${CXX} $RPM_OPT_FLAGS -fPIC -Wno-non-template-friend -ffriend-injection -fno-strict-aliasing" + cd ../festival-2.1 + oe_runmake CC="${CC} -fPIC $RPM_OPT_FLAGS" CXX="${CXX} $RPM_OPT_FLAGS -fPIC -Wno-non-template-friend -ffriend-injection -fno-strict-aliasing" + oe_runmake doc + + + + +} +EXTRA_OECONF += " --prefix=${prefix} --libdir=${prefix}/lib --datadir=${prefix}/share/festival --sysconfdir=${sysconfdir}" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd .. + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/speech_tools/lib + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/festival-2.1/src/lib + cd - + #%make_install + #make INSTALLED_BIN=%{buildroot}%{_bindir} make_installed_bin_shared + cd ../speech_tools + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + cd ../festival-2.1 + # install binarys + install -D bin/text2wave ${D}${prefix}/bin/text2wave + install -m 755 src/main/festival ${D}${prefix}/bin/ + install -m 755 src/main/festival_client ${D}${prefix}/bin/ + install -m 755 bin/festival_server* ${D}${prefix}/bin/ + install -m 755 examples/saytime ${D}${prefix}/bin/ + # install manpages + install -D -m 644 doc/festival.1 ${D}${mandir}/man1/festival.1 + install -m 644 doc/festival_client.1 ${D}${mandir}/man1/ + install -m 644 doc/text2wave.1 ${D}${mandir}/man1/ + # install configs + install -D lib/festival.scm ${D}${sysconfdir}/festival.scm + # install dictionarys + install -D lib/dicts/cmu/cmudict-0.4.out ${D}${prefix}/share/festival/dicts/cmu/cmudict-0.4.out + install -m 644 lib/dicts/cmu/*.scm ${D}${prefix}/share/festival/dicts/cmu/ + install -m 644 lib/dicts/wsj.wp39.poslexR ${D}${prefix}/share/festival/dicts/ + install -m 644 lib/dicts/wsj.wp39.tri.ngrambin ${D}${prefix}/share/festival/dicts/ + # install voices + mkdir -p ${D}${prefix}/share/festival/voices/english/kal_diphone/festvox + mkdir -p ${D}${prefix}/share/festival/voices/english/kal_diphone/group + cp lib/voices/english/kal_diphone/group/* ${D}${prefix}/share/festival/voices/english/kal_diphone/group/ + cp lib/voices/english/kal_diphone/festvox/*.scm ${D}${prefix}/share/festival/voices/english/kal_diphone/festvox + # install data + cp lib/*.scm ${D}${prefix}/share/festival/ + cp lib/*.ngrambin ${D}${prefix}/share/festival/ + cp lib/*.gram ${D}${prefix}/share/festival/ + cp lib/*.el ${D}${prefix}/share/festival/ + install -D lib/etc/unknown_Linux/audsp ${D}${prefix}/lib/festival/audsp + # install libs + install -D src/lib/libFestival.so ${D}${prefix}/lib/libFestival.so + # install includes + mkdir -p ${D}${prefix}/include/ + install -m 644 src/include/*.h ${D}${prefix}/include/ + cd ../speech_tools + # install includes + mkdir -p ${D}${prefix}/include/instantiate + mkdir -p ${D}${prefix}/include/ling_class + mkdir -p ${D}${prefix}/include/rxp + mkdir -p ${D}${prefix}/include/sigpr + mkdir -p ${D}${prefix}/include/unix + install -m 644 include/*h ${D}${prefix}/include + install -m 644 include/instantiate/*h ${D}${prefix}/include/instantiate + install -m 644 include/ling_class/*h ${D}${prefix}/include/ling_class + install -m 644 include/rxp/*h ${D}${prefix}/include/rxp + install -m 644 include/sigpr/*h ${D}${prefix}/include/sigpr + install -m 644 include/unix/*h ${D}${prefix}/include/unix + # make sure we have no static libs, install shared ones + install -m 644 lib/lib*.so* ${D}${prefix}/lib + rm -f ${D}${prefix}/lib/*.a + + # install init script + # install -m 755 -D %{S:6} %{buildroot}/etc/init.d/%name + # install -d %{buildroot}%_sbindir + # ln -sf ../../etc/init.d/%name %{buildroot}/usr/sbin/rc%name + # installl sysconfig file + #install -m 644 -D %{S:5} %{buildroot}/var/adm/fillup-templates/sysconfig.%name + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " festival " +PACKAGES += " festival-dev " + +festival_files = "" +festival_files += "README INSTALL examples/*.text examples/ex1.* examples/*.scm examples/*.dtd" +festival_files += "${sysconfdir}/festival.scm" +festival_files += "${prefix}/bin/festival" +festival_files += "${prefix}/bin/festival_client" +festival_files += "${prefix}/bin/festival_server" +festival_files += "${prefix}/bin/festival_server_control" +festival_files += "${prefix}/bin/text2wave" +festival_files += "${prefix}/bin/saytime" +festival_files += "${prefix}/lib/libe*.so.*" +festival_files += "${prefix}/lib/libFestival.so" +festival_files += "${prefix}/lib/festival" +festival_files += "${prefix}/share/festival" +festival_files += "${mandir}/man1/*" + +festival-dev_files = "" +festival-dev_files += "${prefix}/include/*" +festival-dev_files += "${prefix}/lib/libe*.so" + +FILES_${PN} = "${festival_files}" +FILES_${PN}-dev = "${festival-dev_files}" + +PKG_festival= "festival" +PKG_festival-dev= "festival-dev" + +require festival-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/festival/festival_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/festival/festival_git.bb new file mode 100644 index 0000000000..73119bc742 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/festival/festival_git.bb @@ -0,0 +1,10 @@ +require festival.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/festival;tag=c9840b58b4d651d6c040f783a9d1bb555e6819a8;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/pam/pam.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/pam/pam.inc new file mode 100644 index 0000000000..a6fea89eb6 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/pam/pam.inc @@ -0,0 +1,254 @@ +DESCRIPTION = "A Security Tool that Provides Authentication for Applications" +HOMEPAGE = "http://www.linux-pam.org/" +SECTION = "Security/Access Control" +LICENSE = "GPL-2.0+ or BSD-3-Clause" +PV = "1.1.6" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by pam-modules-extra +PROVIDES += "pam-modules-extra" + + +#PROVIDES by pam-docs +PROVIDES += "pam-docs " + + +#PROVIDES by pam + + +#PROVIDES by pam-dev +PROVIDES += "pam-dev" + + +RDEPENDS = "" +#RDEPENDS of pam-modules-extra (${PN}-modules-extra) +RDEPENDS_${PN}-modules-extra += "pam" + +#RDEPENDS of pam (${PN}) +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of pam-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "pam" + + +DEPENDS = "" +#DEPENDS of pam +DEPENDS += "flex" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "zlib" +DEPENDS += "db" +DEPENDS_append_class-native = " automake-native" +DEPENDS_append_class-target = " automake-native" +DEPENDS += "smack" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "net-tools" +DEPENDS_append_class-native = " bison-native" +DEPENDS_append_class-target = " bison-native" +DEPENDS_append_class-native = " autoconf-native" +DEPENDS_append_class-target = " autoconf-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Linux-PAM-1.1.6 + cp ${S}/packaging/pam.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + CFLAGS="-fPIC $CFLAGS " ; export CFLAGS + + autotools_do_configure + oe_runmake CFLAGS="$CFLAGS -lfl -lcrypt" + + + +} +EXTRA_OECONF += " --libdir=${base_libdir} --includedir=${prefix}/include/security --enable-isadir=../..${base_libdir}/security --disable-audit --with-db-uniquename=_pam --with-libiconv-prefix=${prefix} --enable-read-both-confs " + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # RPM uses docs from source tree + rm -rf ${D}${prefix}/share/doc/Linux-PAM + # Included in setup package + rm -f ${D}${sysconfdir}/environment + + for phase in auth acct passwd session ; do + ln -sf pam_unix.so ${D}${base_libdir}/security/pam_unix_${phase}.so + done + + # Install default pam configuration files + install -d -m 0755 ${D}${sysconfdir}/pam.d + install -m 0644 ${S}/packaging/system-auth ${D}${sysconfdir}/pam.d/ + install -m 0644 ${S}/packaging/other ${D}${sysconfdir}/pam.d/ + + #find_lang Linux-PAM + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + if [ ! -a ${localstatedir}/log/faillog ] ; then + install -m 600 /dev/null ${localstatedir}/log/faillog + fi + if [ ! -a ${localstatedir}/log/tallylog ] ; then + install -m 600 /dev/null ${localstatedir}/log/tallylog + fi + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " pam-modules-extra " +PACKAGES += " pam-dev " +PACKAGES += " pam " +PACKAGES += " pam-docs " + +pam-modules-extra_files = "" +pam-modules-extra_files += "${base_libdir}/security/pam_access.so" +pam-modules-extra_files += "${base_libdir}/security/pam_debug.so" +pam-modules-extra_files += "${base_libdir}/security/pam_echo.so" +pam-modules-extra_files += "${base_libdir}/security/pam_exec.so" +pam-modules-extra_files += "${base_libdir}/security/pam_faildelay.so" +pam-modules-extra_files += "${base_libdir}/security/pam_filter.so" +pam-modules-extra_files += "${base_libdir}/security/pam_ftp.so" +pam-modules-extra_files += "${base_libdir}/security/pam_group.so" +pam-modules-extra_files += "${base_libdir}/security/pam_issue.so" +pam-modules-extra_files += "${base_libdir}/security/pam_listfile.so" +pam-modules-extra_files += "${base_libdir}/security/pam_localuser.so" +pam-modules-extra_files += "${base_libdir}/security/pam_mail.so" +pam-modules-extra_files += "${base_libdir}/security/pam_motd.so" +pam-modules-extra_files += "${base_libdir}/security/pam_pwhistory.so" +pam-modules-extra_files += "${base_libdir}/security/pam_rhosts.so" +pam-modules-extra_files += "${base_libdir}/security/pam_shells.so" +pam-modules-extra_files += "${base_libdir}/security/pam_stress.so" +pam-modules-extra_files += "${base_libdir}/security/pam_tally.so" +pam-modules-extra_files += "${base_libdir}/security/pam_time.so" +pam-modules-extra_files += "${base_libdir}/security/pam_timestamp.so" +pam-modules-extra_files += "${base_libdir}/security/pam_umask.so" +pam-modules-extra_files += "${base_libdir}/security/pam_unix_acct.so" +pam-modules-extra_files += "${base_libdir}/security/pam_unix_auth.so" +pam-modules-extra_files += "${base_libdir}/security/pam_unix_passwd.so" +pam-modules-extra_files += "${base_libdir}/security/pam_unix_session.so" +pam-modules-extra_files += "${base_libdir}/security/pam_warn.so" +pam-modules-extra_files += "${base_libdir}/security/pam_smack.so" +MANIFESTFILES_${PN}-modules-extra = "pam.manifest" + +pam-dev_files = "" +pam-dev_files += "${prefix}/include/security/*" +pam-dev_files += "${base_libdir}/libpam.so" +pam-dev_files += "${base_libdir}/libpam_misc.so" +pam-dev_files += "${base_libdir}/libpamc.so" +pam-dev_files += "${base_libdir}/security/pam_tally2.so" +MANIFESTFILES_${PN}-dev = "pam.manifest" + +pam_files = "" +pam_files += "/sbin/pam_tally" +pam_files += "/sbin/pam_tally2" +pam_files += "/sbin/pam_timestamp_check" +pam_files += "/sbin/unix_chkpwd" +pam_files += "/sbin/unix_update" +pam_files += "/sbin/mkhomedir_helper" +pam_files += "${sysconfdir}/security/limits.conf" +pam_files += "${base_libdir}/libpam.so.*" +pam_files += "${base_libdir}/libpam_misc.so.*" +pam_files += "${base_libdir}/libpamc.so.*" +pam_files += "${base_libdir}/security/pam_deny.so" +pam_files += "${base_libdir}/security/pam_env.so" +pam_files += "${base_libdir}/security/pam_keyinit.so" +pam_files += "${base_libdir}/security/pam_limits.so" +pam_files += "${base_libdir}/security/pam_loginuid.so" +pam_files += "${base_libdir}/security/pam_namespace.so" +pam_files += "${base_libdir}/security/pam_nologin.so" +pam_files += "${base_libdir}/security/pam_permit.so" +pam_files += "${base_libdir}/security/pam_lastlog.so" +pam_files += "${base_libdir}/security/pam_rootok.so" +pam_files += "${base_libdir}/security/pam_securetty.so" +pam_files += "${base_libdir}/security/pam_succeed_if.so" +pam_files += "${base_libdir}/security/pam_unix.so" +pam_files += "${base_libdir}/security/pam_wheel.so" +pam_files += "${base_libdir}/security/pam_xauth.so" +pam_files += "${base_libdir}/security/pam_filter" +pam_files += "${base_libdir}/security/pam_mkhomedir.so" +pam_files += "${sysconfdir}/security" +pam_files += "${sysconfdir}/security/access.conf" +pam_files += "${sysconfdir}/security/group.conf" +pam_files += "${sysconfdir}/security/namespace.conf" +pam_files += "${sysconfdir}/security/namespace.init" +pam_files += "${sysconfdir}/security/pam_env.conf" +pam_files += "${sysconfdir}/security/time.conf" +pam_files += "${sysconfdir}/pam.d" +pam_files += "${sysconfdir}/pam.d/system-auth" +pam_files += "${sysconfdir}/pam.d/other" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/security/limits.conf" +CONFFILES_${PN} += "${sysconfdir}/pam.d/system-auth" +CONFFILES_${PN} += "${sysconfdir}/pam.d/other" +MANIFESTFILES_${PN} = "pam.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${sysconfdir}/security" +DIRFILES_${PN} += "${sysconfdir}/pam.d" + +pam-docs_files = "" + +FILES_${PN}-modules-extra = "${pam-modules-extra_files}" +FILES_${PN}-dev = "${pam-dev_files}" +FILES_${PN} = "${pam_files}" +FILES_${PN}-docs = "${pam-docs_files}" + +PKG_pam-modules-extra= "pam-modules-extra" +PKG_pam-dev= "pam-dev" +PKG_pam= "pam" +PKG_pam-docs= "pam-docs" + +require pam-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/pam/pam_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/pam/pam_git.bb new file mode 100644 index 0000000000..3b97e8f3da --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/pam/pam_git.bb @@ -0,0 +1,10 @@ +require pam.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pam;tag=523d88f2bf88a131d6b4a334e85d2666d505dc48;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/sphinxbase/sphinxbase.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/sphinxbase/sphinxbase.inc new file mode 100644 index 0000000000..8daf8568fb --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/sphinxbase/sphinxbase.inc @@ -0,0 +1,153 @@ +DESCRIPTION = "Speech Recognition Engine" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "BSD-2-Clause" +PV = "0.7" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by sphinxbase-dev +PROVIDES += "sphinxbase-dev" + + +#PROVIDES by sphinxbase + + +#PROVIDES by sphinxbase-python +PROVIDES += "sphinxbase-python" + + +#PROVIDES by sphinxbase-libs +PROVIDES += "sphinxbase-libs" + + +RDEPENDS = "" +#RDEPENDS of sphinxbase-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "sphinxbase-libs" + +#RDEPENDS of sphinxbase-python (${PN}-python) +RDEPENDS_${PN}-python += "sphinxbase-libs" + + +DEPENDS = "" +#DEPENDS of sphinxbase +inherit pythonnative +DEPENDS += "python-setuptools" +DEPENDS_append_class-native = " bison-native" +DEPENDS_append_class-target = " bison-native" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --disable-static --disable-rpath" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}${prefix}/lib/python2.7/site-packages + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -f ${D}${prefix}/lib/*.la + + # Install the man pages + mkdir -p ${D}${mandir}/man1 + cp -p doc/*.1 ${D}${mandir}/man1 + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " sphinxbase-dev " +PACKAGES += " sphinxbase " +PACKAGES += " sphinxbase-libs " +PACKAGES += " sphinxbase-python " + +sphinxbase-dev_files = "" +sphinxbase-dev_files += "${prefix}/include/sphinxbase" +sphinxbase-dev_files += "${prefix}/lib/libsphinxad.so" +sphinxbase-dev_files += "${prefix}/lib/libsphinxbase.so" +sphinxbase-dev_files += "${prefix}/lib/pkgconfig/sphinxbase.pc" + +sphinxbase_files = "" +sphinxbase_files += "${prefix}/bin/*" +sphinxbase_files += "${mandir}/man1/*" + +sphinxbase-libs_files = "" +sphinxbase-libs_files += "AUTHORS ChangeLog NEWS README" +sphinxbase-libs_files += "${prefix}/lib/libsphinxad.so.*" +sphinxbase-libs_files += "${prefix}/lib/libsphinxbase.so.*" + +sphinxbase-python_files = "" +sphinxbase-python_files += "${prefix}/lib/python2.7/site-packages/*" + +FILES_${PN}-dev = "${sphinxbase-dev_files}" +FILES_${PN} = "${sphinxbase_files}" +FILES_${PN}-libs = "${sphinxbase-libs_files}" +FILES_${PN}-python = "${sphinxbase-python_files}" + +PKG_sphinxbase-dev= "sphinxbase-dev" +PKG_sphinxbase= "sphinxbase" +PKG_sphinxbase-libs= "sphinxbase-libs" +PKG_sphinxbase-python= "sphinxbase-python" + +require sphinxbase-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/sphinxbase/sphinxbase_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/sphinxbase/sphinxbase_git.bb new file mode 100644 index 0000000000..25bf449048 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-extended/sphinxbase/sphinxbase_git.bb @@ -0,0 +1,10 @@ +require sphinxbase.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/sphinxbase;tag=098e67f24f18c6374152ca863d354d00bdec3fe0;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/drm-client/drm-client.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/drm-client/drm-client.inc new file mode 100644 index 0000000000..bbec07fed4 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/drm-client/drm-client.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "DRM client Package" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Libraries" +LICENSE = "Apache-2.0" +PV = "0.0.30" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by drm-client-dev +PROVIDES += "drm-client-dev" + + +#PROVIDES by drm-client + + +RDEPENDS = "" +#RDEPENDS of drm-client-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "drm-client" + + +DEPENDS = "" +#DEPENDS of drm-client +DEPENDS += "glib-2.0" +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/drm-client.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " drm-client-dev " +PACKAGES += " drm-client " + +drm-client-dev_files = "" +drm-client-dev_files += "${prefix}/include/drm-client/*" +drm-client-dev_files += "${prefix}/lib/*.so" +drm-client-dev_files += "${prefix}/lib/pkgconfig/drm-client.pc" +MANIFESTFILES_${PN}-dev = "drm-client.manifest" + +drm-client_files = "" +drm-client_files += "${prefix}/lib/*.so.*" +MANIFESTFILES_${PN} = "drm-client.manifest" + +FILES_${PN}-dev = "${drm-client-dev_files}" +FILES_${PN} = "${drm-client_files}" + +PKG_drm-client-dev= "drm-client-dev" +PKG_drm-client= "drm-client" + +require drm-client-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/drm-client/drm-client_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/drm-client/drm-client_git.bb new file mode 100644 index 0000000000..c90e3d970b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/drm-client/drm-client_git.bb @@ -0,0 +1,10 @@ +require drm-client.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/drm-client;tag=fe8dfafce86716d18f727492175896a50969923b;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/libdrm/libdrm.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/libdrm/libdrm.inc new file mode 100644 index 0000000000..0b791baedb --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/libdrm/libdrm.inc @@ -0,0 +1,210 @@ +DESCRIPTION = "Userspace interface to kernel DRM services" +HOMEPAGE = "http://cgit.freedesktop.org/mesa/drm" +SECTION = "Graphics & UI Framework/Libraries" +LICENSE = "MIT" +PV = "2.4.52" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libdrm + + +#PROVIDES by libdrm-intel +PROVIDES += "libdrm-intel" + + +#PROVIDES by libdrm-dev +PROVIDES += "libdrm-dev" + + +#PROVIDES by libkms +PROVIDES += "libkms" + + +#PROVIDES by libdrm-tools +PROVIDES += "libdrm-tools" +# the PROVIDES rules is ignore "libdrm = 2.4.52-0" +PROVIDES += "libdrm" +RPROVIDES_libdrm-tools += "libdrm" + + +RDEPENDS = "" +#RDEPENDS of libdrm-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libdrm" +RDEPENDS_${PN}-dev += "libdrm-intel" +RDEPENDS_${PN}-dev += "libkms" + + +DEPENDS = "" +#DEPENDS of libdrm +DEPENDS += "libpciaccess" +DEPENDS += "libpthread-stubs" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libdrm.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + + oe_runmake -j16 + oe_runmake -j16 -C tests dristat drmstat + + + +} +EXTRA_OECONF += " --enable-static=yes --enable-udev --enable-libkms --disable-nouveau-experimental-api --disable-radeon --disable-nouveau --enable-exynos-experimental-api --enable-install-test-programs --disable-cairo-tests" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${prefix}/bin + install \ + tests/.libs/dristat \ + tests/.libs/drmstat \ + ${D}${prefix}/bin + + rm -f ${D}${prefix}/bin/kmstest + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libkms() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libkms() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libdrm-tools " +PACKAGES += " libdrm-intel " +PACKAGES += " libdrm " +PACKAGES += " libkms " +PACKAGES += " libdrm-dev " + +libdrm-tools_files = "" +libdrm-tools_files += "${prefix}/bin/dristat" +libdrm-tools_files += "${prefix}/bin/drmstat" +libdrm-tools_files += "${prefix}/bin/modeprint" +libdrm-tools_files += "${prefix}/bin/modetest" +MANIFESTFILES_${PN}-tools = "libdrm.manifest" + +libdrm-intel_files = "" +libdrm-intel_files += "${prefix}/lib/libdrm_intel.so.*" +MANIFESTFILES_${PN}-intel = "libdrm.manifest" + +libdrm_files = "" +libdrm_files += "${prefix}/lib/libdrm.so.*" +libdrm_files += "${prefix}/lib/libdrm_exynos.so.*" +libdrm_files += "${prefix}/lib/libdrm_vigs.so.*" +MANIFESTFILES_${PN} = "libdrm.manifest" + +libkms_files = "" +libkms_files += "${prefix}/lib/libkms.so.*" +MANIFESTFILES_libkms = "libdrm.manifest" + +libdrm-dev_files = "" +libdrm-dev_files += "${prefix}/include/libdrm" +libdrm-dev_files += "${prefix}/include/libdrm/*.h" +libdrm-dev_files += "${prefix}/include/libkms" +libdrm-dev_files += "${prefix}/include/libkms/*.h" +libdrm-dev_files += "${prefix}/include/exynos" +libdrm-dev_files += "${prefix}/include/exynos/*.h" +libdrm-dev_files += "${prefix}/include/*.h" +libdrm-dev_files += "${prefix}/lib/libdrm.so" +libdrm-dev_files += "${prefix}/lib/libdrm_intel.so" +libdrm-dev_files += "${prefix}/lib/libkms.so" +libdrm-dev_files += "${prefix}/lib/libdrm_exynos.so" +libdrm-dev_files += "${prefix}/lib/libdrm_vigs.so" +libdrm-dev_files += "${prefix}/lib/pkgconfig/*" +MANIFESTFILES_${PN}-dev = "libdrm.manifest" +DIRFILES_${PN}-dev = "" +DIRFILES_${PN}-dev += "${prefix}/include/libdrm" +DIRFILES_${PN}-dev += "${prefix}/include/libkms" +DIRFILES_${PN}-dev += "${prefix}/include/exynos" + +FILES_${PN}-tools = "${libdrm-tools_files}" +FILES_${PN}-intel = "${libdrm-intel_files}" +FILES_${PN} = "${libdrm_files}" +FILES_libkms = "${libkms_files}" +FILES_${PN}-dev = "${libdrm-dev_files}" + +PKG_libdrm-tools= "libdrm-tools" +PKG_libdrm-intel= "libdrm-intel" +PKG_libdrm= "libdrm" +PKG_libkms= "libkms" +PKG_libdrm-dev= "libdrm-dev" + +require libdrm-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/libdrm/libdrm_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/libdrm/libdrm_git.bb new file mode 100644 index 0000000000..ddc8f01611 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/libdrm/libdrm_git.bb @@ -0,0 +1,10 @@ +require libdrm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libdrm;tag=2a8aaf2b9f403cde35b88653394906af578845ab;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weekeyboard/weekeyboard.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weekeyboard/weekeyboard.inc new file mode 100644 index 0000000000..8ad9195cb6 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weekeyboard/weekeyboard.inc @@ -0,0 +1,106 @@ +DESCRIPTION = "Virtual Keyboard Application" +HOMEPAGE = "http://github.com/etrunko/weekeyboard" +SECTION = "Graphics & UI Framework/Libraries" +LICENSE = "Apache-2.0" +PV = "0.0.3" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by weekeyboard + + +RDEPENDS = "" +#RDEPENDS of weekeyboard (${PN}) +RDEPENDS_${PN} += "ibus-hangul" +RDEPENDS_${PN} += "ibus" +RDEPENDS_${PN} += "ibus-libpinyin" + + +DEPENDS = "" +#DEPENDS of weekeyboard +DEPENDS += "edje" +DEPENDS += "ibus" +DEPENDS += "evas" +inherit pkgconfig +DEPENDS += "efreet" +DEPENDS += "eina" +DEPENDS += "eet" +DEPENDS += "ecore" +DEPENDS += "eldbus" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/weekeyboard.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " weekeyboard " + +weekeyboard_files = "" +weekeyboard_files += "${prefix}/bin/weekeyboard" +weekeyboard_files += "${prefix}/share/weekeyboard/*.edj" +weekeyboard_files += "${prefix}/share/X11/xkb/symbols/wkb" +MANIFESTFILES_${PN} = "weekeyboard.manifest" + +FILES_${PN} = "${weekeyboard_files}" + +PKG_weekeyboard= "weekeyboard" + +require weekeyboard-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weekeyboard/weekeyboard_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weekeyboard/weekeyboard_git.bb new file mode 100644 index 0000000000..10cfedf575 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weekeyboard/weekeyboard_git.bb @@ -0,0 +1,10 @@ +require weekeyboard.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/weekeyboard;tag=e20ec5e5322d61fba137a082fe26f5d32e160995;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weston/weston.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weston/weston.inc new file mode 100644 index 0000000000..4171d46ecf --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weston/weston.inc @@ -0,0 +1,218 @@ +DESCRIPTION = "Wayland Compositor Infrastructure" +HOMEPAGE = "http://weston.freedesktop.org/" +SECTION = "Graphics & UI Framework/Wayland Window System" +LICENSE = "MIT" +PV = "1.6.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by weston + + +#PROVIDES by weston-dev +PROVIDES += "weston-dev" + + +#PROVIDES by weston-docs +PROVIDES += "weston-docs " + + +#PROVIDES by weston-clients +PROVIDES += "weston-clients" + + +RDEPENDS = "" +#RDEPENDS of weston (${PN}) +RDEPENDS_${PN} += "shadow" +RDEPENDS_${PN} += "tlm" + + +DEPENDS = "" +#DEPENDS of weston +DEPENDS += "mtdev" +DEPENDS += "cairo" +DEPENDS += "expat" +DEPENDS += "udev" +DEPENDS += "libvpx" +DEPENDS += "xz" +DEPENDS += "libinput" +DEPENDS_append_class-native = " automake-native" +DEPENDS_append_class-target = " automake-native" +DEPENDS += "mesa" +DEPENDS += "systemd" +inherit pkgconfig +DEPENDS += "glib-2.0" +DEPENDS += "wayland" +DEPENDS += "pixman" +DEPENDS += "libdrm" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "libffi" +DEPENDS += "pango" +DEPENDS += "poppler" +DEPENDS += "virtual/libgles2" +DEPENDS += "libpam" +DEPENDS += "virtual/egl" +DEPENDS += "libxkbcommon" +DEPENDS += "libjpeg-turbo" +DEPENDS_append_class-native = " autoconf-native" +DEPENDS_append_class-target = " autoconf-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/weston.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + autotools_do_configure + + make -j16 + + + +} +EXTRA_OECONF += " --disable-static --disable-setuid-install --enable-simple-clients --enable-clients --disable-libunwind --disable-xwayland --disable-xwayland-test --disable-x11-compositor --disable-rpi-compositor --with-cairo=glesv2 " + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # install example clients + install -m 755 weston-calibrator ${D}${prefix}/bin + install -m 755 weston-simple-touch ${D}${prefix}/bin + install -m 755 weston-simple-shm ${D}${prefix}/bin + install -m 755 weston-simple-egl ${D}${prefix}/bin + install -m 755 weston-simple-damage ${D}${prefix}/bin + install -m 755 weston-nested-client ${D}${prefix}/bin + install -m 755 weston-nested ${D}${prefix}/bin + install -m 755 weston-flower ${D}${prefix}/bin + install -m 755 weston-image ${D}${prefix}/bin + install -m 755 weston-cliptest ${D}${prefix}/bin + install -m 755 weston-dnd ${D}${prefix}/bin + install -m 755 weston-editor ${D}${prefix}/bin + install -m 755 weston-stacking ${D}${prefix}/bin + install -m 755 weston-smoke ${D}${prefix}/bin + install -m 755 weston-scaler ${D}${prefix}/bin + install -m 755 weston-resizor ${D}${prefix}/bin + install -m 755 weston-eventdemo ${D}${prefix}/bin + install -m 755 weston-clickdot ${D}${prefix}/bin + install -m 755 weston-subsurfaces ${D}${prefix}/bin + install -m 755 weston-transformed ${D}${prefix}/bin + install -m 755 weston-fullscreen ${D}${prefix}/bin + + +} + +pkg_preinst_${PN}() { + #!/bin/sh -e + + getent group weston-launch >/dev/null || $D${prefix}/sbin/groupadd -o -r weston-launch + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " weston " +PACKAGES += " weston-clients " +PACKAGES += " weston-docs " +PACKAGES += " weston-dev " + +weston_files = "" +weston_files += "${prefix}/bin/wcap-*" +weston_files += "${prefix}/bin/weston" +weston_files += "${prefix}/bin/weston-info" +weston_files += "${prefix}/bin/weston-launch" +weston_files += "${prefix}/bin/weston-terminal" +weston_files += "${prefix}/libexec/weston-*" +weston_files += "${prefix}/lib/weston/desktop-shell.so" +weston_files += "${prefix}/lib/weston/drm-backend.so" +weston_files += "${prefix}/lib/weston/fbdev-backend.so" +weston_files += "${prefix}/lib/weston/fullscreen-shell.so" +weston_files += "${prefix}/lib/weston/headless-backend.so" +weston_files += "${prefix}/lib/weston/wayland-backend.so" +weston_files += "${prefix}/lib/weston/gl-renderer.so" +weston_files += "${prefix}/share/weston" +MANIFESTFILES_${PN} = "weston.manifest" + +weston-clients_files = "" +weston-clients_files += "${prefix}/bin/weston-simple-touch" +weston-clients_files += "${prefix}/bin/weston-simple-shm" +weston-clients_files += "${prefix}/bin/weston-simple-egl" +weston-clients_files += "${prefix}/bin/weston-simple-damage" +weston-clients_files += "${prefix}/bin/weston-nested-client" +weston-clients_files += "${prefix}/bin/weston-nested" +weston-clients_files += "${prefix}/bin/weston-flower" +weston-clients_files += "${prefix}/bin/weston-image" +weston-clients_files += "${prefix}/bin/weston-cliptest" +weston-clients_files += "${prefix}/bin/weston-dnd" +weston-clients_files += "${prefix}/bin/weston-editor" +weston-clients_files += "${prefix}/bin/weston-stacking" +weston-clients_files += "${prefix}/bin/weston-smoke" +weston-clients_files += "${prefix}/bin/weston-scaler" +weston-clients_files += "${prefix}/bin/weston-resizor" +weston-clients_files += "${prefix}/bin/weston-eventdemo" +weston-clients_files += "${prefix}/bin/weston-clickdot" +weston-clients_files += "${prefix}/bin/weston-subsurfaces" +weston-clients_files += "${prefix}/bin/weston-transformed" +weston-clients_files += "${prefix}/bin/weston-fullscreen" +weston-clients_files += "${prefix}/bin/weston-calibrator" +MANIFESTFILES_${PN}-clients = "weston.manifest" + +weston-docs_files = "" + +weston-dev_files = "" +weston-dev_files += "${prefix}/include/weston/*.h" +weston-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "weston.manifest" + +FILES_${PN} = "${weston_files}" +FILES_${PN}-clients = "${weston-clients_files}" +FILES_${PN}-docs = "${weston-docs_files}" +FILES_${PN}-dev = "${weston-dev_files}" + +PKG_weston= "weston" +PKG_weston-clients= "weston-clients" +PKG_weston-docs= "weston-docs" +PKG_weston-dev= "weston-dev" + +require weston-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weston/weston_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weston/weston_git.bb new file mode 100644 index 0000000000..b44105ad4d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-graphics/weston/weston_git.bb @@ -0,0 +1,10 @@ +require weston.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/weston;tag=3b2b540a6c211b599d7cf9ace0026572d9fc3ec9;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-messaging/msg-service/msg-service.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-messaging/msg-service/msg-service.inc new file mode 100644 index 0000000000..f86709f76e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-messaging/msg-service/msg-service.inc @@ -0,0 +1,294 @@ +DESCRIPTION = "Messaging Framework Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.9.4" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by mms-plugin +PROVIDES += "mms-plugin" + + +#PROVIDES by msg-service-tools +PROVIDES += "msg-service-tools" + + +#PROVIDES by sms-plugin +PROVIDES += "sms-plugin" + + +#PROVIDES by msg-service-dev +PROVIDES += "msg-service-dev" + + +#PROVIDES by msg-service + + +RDEPENDS = "" +#RDEPENDS of mms-plugin (mms-plugin) +RDEPENDS_mms-plugin += "glibc" +RDEPENDS_mms-plugin += "msg-service" + +#RDEPENDS of msg-service-tools (${PN}-tools) +RDEPENDS_${PN}-tools += "sqlite3" +RDEPENDS_${PN}-tools += "glibc" +RDEPENDS_${PN}-tools += "vconf" +RDEPENDS_${PN}-tools += "msg-service" + +#RDEPENDS of sms-plugin (sms-plugin) +RDEPENDS_sms-plugin += "glibc" +RDEPENDS_sms-plugin += "msg-service" + +#RDEPENDS of msg-service-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "msg-service" + +#RDEPENDS of msg-service (${PN}) +RDEPENDS_${PN} += "sqlite3" +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "vconf" + + +DEPENDS = "" +#DEPENDS of msg-service +DEPENDS += "libxml2" +DEPENDS += "capi-appfw-application" +DEPENDS += "aul" +DEPENDS += "contacts-service" +DEPENDS += "curl" +DEPENDS += "libmm-session" +DEPENDS += "system-server" +DEPENDS += "systemd" +inherit tizen_cmake +DEPENDS += "drm-client" +DEPENDS += "notification" +DEPENDS += "app-svc" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "libmm-fileinfo" +DEPENDS += "alarm-manager" +DEPENDS += "sensor" +DEPENDS += "libwbxml2" +DEPENDS += "libsvi" +DEPENDS += "tizen-platform-config" +DEPENDS += "libmedia-thumbnail" +DEPENDS += "libtapi" +DEPENDS += "security-server" +DEPENDS += "vconf" +DEPENDS += "libslp-db-util" +DEPENDS += "libnet-client" +DEPENDS += "libmm-sound" +DEPENDS += "libmm-utility" +DEPENDS += "libmm-player" +DEPENDS += "capi-network-connection" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/msg-service.manifest ${S}/packaging/msg-service-devel.manifest ${S}/packaging/msg-service-tools.manifest ${S}/packaging/sms-plugin.manifest ${S}/packaging/mms-plugin.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . \ + -DTZ_SYS_SHARE=${prefix}/share \ + -DUNITDIR_USER=${prefix}/lib/systemd/user \ + -DTZ_SYS_SMACK=${sysconfdir}/smack + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/etc/config + + mkdir -p ${D}/var/log/msgfw + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants + #install -m 0644 ${S}/packaging/msg-service.service ${D}${prefix}/lib/systemd/user/ + ln -s ../msg-service.service ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants/msg-service.service + ln -s ../msg-service-log.service ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants/msg-service-log.service + + mkdir -p ${D}${sysconfdir}/rc.d/rc3.d + ln -s ${sysconfdir}/rc.d/init.d/msg-server ${D}${sysconfdir}/rc.d/rc3.d/S70msg-server + mkdir -p ${D}${sysconfdir}/rc.d/rc5.d + ln -s ${sysconfdir}/rc.d/init.d/msg-server ${D}${sysconfdir}/rc.d/rc5.d/S70msg-server + + rm ${D}/etc/config/sysinfo-message.emul.xml + + + +} + +pkg_postinst_mms-plugin() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + /bin/systemctl daemon-reload + if [ "$1" = "1" ]; then + systemctl stop msg-service.service + fi + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_sms-plugin() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_mms-plugin() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_sms-plugin() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " mms-plugin " +PACKAGES += " msg-service-tools " +PACKAGES += " sms-plugin " +PACKAGES += " msg-service-dev " +PACKAGES += " msg-service " + +mms-plugin_files = "" +mms-plugin_files += "${prefix}/lib/libmsg_mms_plugin.so" +MANIFESTFILES_mms-plugin = "mms-plugin.manifest" + +msg-service-tools_files = "" +msg-service-tools_files += "${prefix}/bin/msg-helper" +msg-service-tools_files += "${prefix}/bin/msg-server" +msg-service-tools_files += "${prefix}/share/media/Sherbet.wav" +msg-service-tools_files += "${prefix}/share/msg-service/plugin.cfg" +msg-service-tools_files += "${sysconfdir}/rc.d/init.d/msg-server" +msg-service-tools_files += "${sysconfdir}/rc.d/rc3.d/S70msg-server" +msg-service-tools_files += "${sysconfdir}/rc.d/rc5.d/S70msg-server" +msg-service-tools_files += "${prefix}/lib/systemd/user/msg-service.service" +msg-service-tools_files += "${prefix}/lib/systemd/user/msg-service-log.service" +msg-service-tools_files += "${prefix}/lib/systemd/user/tizen-middleware.target.wants/msg-service.service" +msg-service-tools_files += "${prefix}/lib/systemd/user/tizen-middleware.target.wants/msg-service-log.service" +msg-service-tools_files += "${sysconfdir}/config/sysinfo-message.xml" +msg-service-tools_files += "/var/log/msgfw" +MANIFESTFILES_${PN}-tools = "msg-service-tools.manifest" + +sms-plugin_files = "" +sms-plugin_files += "${prefix}/lib/libmsg_sms_plugin.so" +MANIFESTFILES_sms-plugin = "sms-plugin.manifest" + +msg-service-dev_files = "" +msg-service-dev_files += "${prefix}/lib/libmsg_mapi.so" +msg-service-dev_files += "${prefix}/lib/pkgconfig/msg-service.pc" +msg-service-dev_files += "${prefix}/include/msg-service/*" +MANIFESTFILES_${PN}-dev = "msg-service-devel.manifest" + +msg-service_files = "" +msg-service_files += "${prefix}/lib/libmsg_plugin_manager.so" +msg-service_files += "${prefix}/lib/libmsg_mapi.so.*" +msg-service_files += "${prefix}/lib/libmsg_framework_handler.so" +msg-service_files += "${prefix}/lib/libmsg_transaction_manager.so" +msg-service_files += "${prefix}/lib/libmsg_utils.so" +msg-service_files += "${prefix}/lib/libmsg_transaction_proxy.so" +msg-service_files += "${prefix}/lib/libmsg_vobject.so" +msg-service_files += "${prefix}/share/msg-service/msg_service-init-DB.sh" +MANIFESTFILES_${PN} = "msg-service.manifest" + +FILES_mms-plugin = "${mms-plugin_files}" +FILES_${PN}-tools = "${msg-service-tools_files}" +FILES_sms-plugin = "${sms-plugin_files}" +FILES_${PN}-dev = "${msg-service-dev_files}" +FILES_${PN} = "${msg-service_files}" + +PKG_mms-plugin= "mms-plugin" +PKG_msg-service-tools= "msg-service-tools" +PKG_sms-plugin= "sms-plugin" +PKG_msg-service-dev= "msg-service-dev" +PKG_msg-service= "msg-service" + +require msg-service-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-messaging/msg-service/msg-service_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-messaging/msg-service/msg-service_git.bb new file mode 100644 index 0000000000..8e40ee742b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-messaging/msg-service/msg-service_git.bb @@ -0,0 +1,10 @@ +require msg-service.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/messaging/msg-service;tag=76dc39ae7d9f91c3e489cff13bf701c79df87b27;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/alsa-scenario/alsa-scenario.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/alsa-scenario/alsa-scenario.inc new file mode 100644 index 0000000000..568184e47b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/alsa-scenario/alsa-scenario.inc @@ -0,0 +1,127 @@ +DESCRIPTION = "ALSA Scenario pkg" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Audio FW" +LICENSE = "LGPL-2.0+" +PV = "0.2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by alsa-scenario-dev +PROVIDES += "alsa-scenario-dev" + + +#PROVIDES by alsa-scenario + + +RDEPENDS = "" +#RDEPENDS of alsa-scenario-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "alsa-scenario" + +#RDEPENDS of alsa-scenario (${PN}) +RDEPENDS_${PN} += "glibc" + + +DEPENDS = "" +#DEPENDS of alsa-scenario +DEPENDS += "alsa-lib" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/alsa-scenario.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + cp -f ${prefix}/share/libtool/config/config.guess ${WORKDIR}/alsa-scenario-0.2.1/ + cp -f ${prefix}/share/libtool/config/config.sub ${WORKDIR}/alsa-scenario-0.2.1/ + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --disable-static" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " alsa-scenario-dev " +PACKAGES += " alsa-scenario " + +alsa-scenario-dev_files = "" +alsa-scenario-dev_files += "${prefix}/include/alsa/*.h" +alsa-scenario-dev_files += "${prefix}/lib/libascenario.so" +alsa-scenario-dev_files += "${prefix}/lib/pkgconfig/libascenario.pc" +MANIFESTFILES_${PN}-dev = "alsa-scenario.manifest" + +alsa-scenario_files = "" +alsa-scenario_files += "${prefix}/lib/libascenario-0.2.so.*" +MANIFESTFILES_${PN} = "alsa-scenario.manifest" + +FILES_${PN}-dev = "${alsa-scenario-dev_files}" +FILES_${PN} = "${alsa-scenario_files}" + +PKG_alsa-scenario-dev= "alsa-scenario-dev" +PKG_alsa-scenario= "alsa-scenario" + +require alsa-scenario-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/alsa-scenario/alsa-scenario_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/alsa-scenario/alsa-scenario_git.bb new file mode 100644 index 0000000000..6f7ed0eb0e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/alsa-scenario/alsa-scenario_git.bb @@ -0,0 +1,10 @@ +require alsa-scenario.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/framework/multimedia/alsa-scenario-0.2;tag=915491684441521d60e55c6a5cbb65d482e5e5ab;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/audio-session-manager/audio-session-manager.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/audio-session-manager/audio-session-manager.inc new file mode 100644 index 0000000000..6a01e45f90 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/audio-session-manager/audio-session-manager.inc @@ -0,0 +1,148 @@ +DESCRIPTION = "Audio Session Manager" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Service" +LICENSE = "Apache-2.0" +PV = "0.2.6" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by audio-session-manager-dev +PROVIDES += "audio-session-manager-dev" + + +#PROVIDES by audio-session-manager + + +#PROVIDES by audio-session-manager-sdk-dev +PROVIDES += "audio-session-manager-sdk-dev" + + +RDEPENDS = "" +#RDEPENDS of audio-session-manager-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "audio-session-manager" + +#RDEPENDS of audio-session-manager (${PN}) +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "vconf" + +#RDEPENDS of audio-session-manager-sdk-dev (${PN}-sdk-dev) +RDEPENDS_${PN}-sdk-dev += "audio-session-manager-dev" + + +DEPENDS = "" +#DEPENDS of audio-session-manager +DEPENDS += "avsystem" +DEPENDS += "libmm-common" +inherit pkgconfig +DEPENDS += "glib-2.0" +DEPENDS += "system-server" +DEPENDS += "security-server" +DEPENDS += "vconf" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/audio-session-manager.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + CFLAGS="$CFLAGS -fvisibility=hidden -DMM_DEBUG_FLAG -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"" ; export CFLAGS + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --disable-static --enable-security " + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + vconftool set -t int memory/Sound/SoundStatus "0" -g 29 -f -i + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " audio-session-manager-dev " +PACKAGES += " audio-session-manager " +PACKAGES += " audio-session-manager-sdk-dev " + +audio-session-manager-dev_files = "" +audio-session-manager-dev_files += "${prefix}/include/mmf/audio-session-manager-types.h" +audio-session-manager-dev_files += "${prefix}/include/mmf/audio-session-manager.h" +MANIFESTFILES_${PN}-dev = "audio-session-manager.manifest" + +audio-session-manager_files = "" +audio-session-manager_files += "${prefix}/lib/libaudio-session-mgr.so.*" +audio-session-manager_files += "${prefix}/bin/asm_testsuite" +MANIFESTFILES_${PN} = "audio-session-manager.manifest" + +audio-session-manager-sdk-dev_files = "" +audio-session-manager-sdk-dev_files += "${prefix}/include/mmf/audio-session-manager-types.h" +audio-session-manager-sdk-dev_files += "${prefix}/include/mmf/audio-session-manager.h" +audio-session-manager-sdk-dev_files += "${prefix}/lib/libaudio-session-mgr.so" +audio-session-manager-sdk-dev_files += "${prefix}/lib/pkgconfig/audio-session-mgr.pc" +MANIFESTFILES_${PN}-sdk-dev = "audio-session-manager.manifest" + +FILES_${PN}-dev = "${audio-session-manager-dev_files}" +FILES_${PN} = "${audio-session-manager_files}" +FILES_${PN}-sdk-dev = "${audio-session-manager-sdk-dev_files}" + +PKG_audio-session-manager-dev= "audio-session-manager-dev" +PKG_audio-session-manager= "audio-session-manager" +PKG_audio-session-manager-sdk-dev= "audio-session-manager-sdk-dev" + +require audio-session-manager-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/audio-session-manager/audio-session-manager_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/audio-session-manager/audio-session-manager_git.bb new file mode 100644 index 0000000000..74c00eed2d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/audio-session-manager/audio-session-manager_git.bb @@ -0,0 +1,10 @@ +require audio-session-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/audio-session-manager;tag=ee4096c72a636cd1112a62903fefb0432e720bea;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/avsystem/avsystem.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/avsystem/avsystem.inc new file mode 100644 index 0000000000..fdf82b5249 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/avsystem/avsystem.inc @@ -0,0 +1,178 @@ +DESCRIPTION = "Audio Video System" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.5.5" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by avsystem + + +#PROVIDES by avsystem-dev +PROVIDES += "avsystem-dev" + + +#PROVIDES by libavsysaudio +PROVIDES += "libavsysaudio" + + +RDEPENDS = "" +#RDEPENDS of avsystem (${PN}) +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "systemd" + +#RDEPENDS of avsystem-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "avsystem" + + +DEPENDS = "" +#DEPENDS of avsystem +DEPENDS += "alsa-lib" +DEPENDS += "libmm-log" +inherit pkgconfig +DEPENDS += "iniparser" +DEPENDS += "pulseaudio" +DEPENDS += "libexif" +DEPENDS += "libmm-ta" +DEPENDS += "alsa-scenario" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n avsystem-0.5.5 + cp ${S}/packaging/avsystem.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + + oe_runmake -j16 + + + + +} +EXTRA_OECONF += " --enable-audiotest" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -m 755 -p ${D}${systemd_unitdir}/system/multi-user.target.wants + install -m 0644 ${S}/packaging/avsystem.service ${D}${systemd_unitdir}/system/avsystem.service + ln -sf ../avsystem.service ${D}${systemd_unitdir}/system/multi-user.target.wants/avsystem.service + + + +} + +pkg_postinst_libavsysaudio() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + systemctl daemon-reload + if [ $1 == 1 ]; then + systemctl restart avsystem.service + fi + +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ $1 == 0 ]; then + systemctl stop avsystem.service + fi + +} + +pkg_postrm_libavsysaudio() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + systemctl daemon-reload + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " avsystem " +PACKAGES += " avsystem-dev " +PACKAGES += " libavsysaudio " + +avsystem_files = "" +avsystem_files += "${prefix}/bin/*" +avsystem_files += "${systemd_unitdir}/system/avsystem.service" +avsystem_files += "${systemd_unitdir}/system/multi-user.target.wants/avsystem.service" +MANIFESTFILES_${PN} = "avsystem.manifest" + +avsystem-dev_files = "" +avsystem-dev_files += "${prefix}/lib/pkgconfig/*.pc" +avsystem-dev_files += "${prefix}/lib/*.so" +avsystem-dev_files += "${prefix}/include/avsystem/*.h" +MANIFESTFILES_${PN}-dev = "avsystem.manifest" + +libavsysaudio_files = "" +libavsysaudio_files += "${prefix}/lib/lib*.so.*" +MANIFESTFILES_libavsysaudio = "avsystem.manifest" + +FILES_${PN} = "${avsystem_files}" +FILES_${PN}-dev = "${avsystem-dev_files}" +FILES_libavsysaudio = "${libavsysaudio_files}" + +PKG_avsystem= "avsystem" +PKG_avsystem-dev= "avsystem-dev" +PKG_libavsysaudio= "libavsysaudio" + +require avsystem-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/avsystem/avsystem_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/avsystem/avsystem_git.bb new file mode 100644 index 0000000000..339db3b61c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/avsystem/avsystem_git.bb @@ -0,0 +1,10 @@ +require avsystem.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/avsystem;tag=e2bc7b88d123b0ff997061e9a4998106f7f5c3f3;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libav/libav.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libav/libav.inc new file mode 100644 index 0000000000..d64fae4086 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libav/libav.inc @@ -0,0 +1,355 @@ +DESCRIPTION = "AV codec lib" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Codec" +LICENSE = "LGPL-2.1+" +PV = "9.8" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libavutil +PROVIDES += "libavutil" + + +#PROVIDES by libavfilter-dev +PROVIDES += "libavfilter-dev" + + +#PROVIDES by libavformat +PROVIDES += "libavformat" + + +#PROVIDES by libavtools +PROVIDES += "libavtools" + + +#PROVIDES by libavcodec +PROVIDES += "libavcodec" + + +#PROVIDES by libavfilter +PROVIDES += "libavfilter" + + +#PROVIDES by libswscale-dev +PROVIDES += "libswscale-dev" + + +#PROVIDES by libavcodec-dev +PROVIDES += "libavcodec-dev" + + +#PROVIDES by libavutil-dev +PROVIDES += "libavutil-dev" + + +#PROVIDES by libswscale +PROVIDES += "libswscale" + + +#PROVIDES by libav + + +#PROVIDES by libavformat-dev +PROVIDES += "libavformat-dev" + + +RDEPENDS = "" +#RDEPENDS of libavfilter-dev (${PN}filter-dev) +RDEPENDS_${PN}filter-dev += "libavfilter" + +#RDEPENDS of libswscale-dev (libswscale-dev) +RDEPENDS_libswscale-dev += "libswscale" + +#RDEPENDS of libavcodec-dev (${PN}codec-dev) +RDEPENDS_${PN}codec-dev += "libavcodec" + +#RDEPENDS of libavutil-dev (${PN}util-dev) +RDEPENDS_${PN}util-dev += "libavutil" + +#RDEPENDS of libavformat-dev (${PN}format-dev) +RDEPENDS_${PN}format-dev += "libavformat" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libav.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + export CONFIGURE_OPTIONS="--enable-shared --disable-static \ + --disable-version3 --disable-devices --disable-nonfree --disable-gpl --disable-doc \ + --disable-zlib --disable-network \ + --disable-avdevice \ + --disable-bsfs --disable-filters \ + --enable-filter=buffer --enable-filter=buffersink --enable-filter=crop \ + --enable-filter=hflip --enable-filter=lut --enable-filter=lutyuv \ + --enable-filter=lutrgb --enable-filter=overlay --enable-filter=scale \ + --enable-filter=transpose --enable-filter=unsharp --enable-filter=vflip \ + --disable-protocols \ + --disable-avresample \ + --enable-protocol=file \ + --disable-encoders \ + --disable-muxers \ + --disable-parsers \ + --enable-parser=aac --enable-parser=h264 --enable-parser=mpegaudio \ + --enable-parser=h263 --enable-parser=mpeg4video --enable-parser=mpegvideo \ + --disable-demuxers \ + --enable-demuxer=aac --enable-demuxer=h264 --enable-demuxer=mpegts \ + --enable-demuxer=amr --enable-demuxer=m4v --enable-demuxer=mpegtsraw \ + --enable-demuxer=asf --enable-demuxer=mmf --enable-demuxer=mpegvideo \ + --enable-demuxer=avi --enable-demuxer=mov --enable-demuxer=ogg \ + --enable-demuxer=flac --enable-demuxer=mp3 --enable-demuxer=wav \ + --enable-demuxer=h263 --enable-demuxer=mpegps --enable-demuxer=matroska \ + --enable-demuxer=dv --enable-demuxer=flv \ + --disable-decoders \ + --enable-decoder=alac --enable-decoder=h264 --enable-decoder=wmv1 \ + --enable-decoder=flac --enable-decoder=mpeg4 --enable-decoder=wmv2 \ + --enable-decoder=h263 --enable-decoder=mpegvideo --enable-decoder=wmv3 \ + --enable-decoder=vc1 --enable-decoder=flv \ + --enable-decoder=h263i --enable-decoder=theora \ + --enable-decoder=pcm_alaw --enable-decoder=pcm_mulaw \ + --enable-encoder=h263 --enable-encoder=h263p --enable-encoder=mpeg4 \ + --enable-decoder=bmp --enable-encoder=bmp \ + --enable-decoder=tiff \ + --enable-decoder=mp3 --enable-decoder=amrnb \ + --enable-encoder=aac --enable-decoder=aac \ + --enable-swscale --disable-yasm \ + --enable-fft --enable-rdft --enable-mdct --enable-neon \ + " + + + CFLAGS="$CFLAGS -fPIC -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "; export CFLAGS + + ./configure --prefix=${prefix} --shlibdir=${prefix}/lib --libdir=${prefix}/lib $CONFIGURE_OPTIONS + + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${prefix}/share/license + cp -rf ${WORKDIR}/libav-9.8/COPYING.LGPLv2.1 ${D}${prefix}/share/license/libavcodec + cp -rf ${WORKDIR}/libav-9.8/COPYING.LGPLv2.1 ${D}${prefix}/share/license/libavformat + cp -rf ${WORKDIR}/libav-9.8/COPYING.LGPLv2.1 ${D}${prefix}/share/license/libavutil + cp -rf ${WORKDIR}/libav-9.8/COPYING.LGPLv2.1 ${D}${prefix}/share/license/libavfilter + cp -rf ${WORKDIR}/libav-9.8/COPYING.LGPLv2.1 ${D}${prefix}/share/license/libswscale + + +} + +pkg_postinst_libavfilter() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libavutil() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libavcodec() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libswscale() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libavformat() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libavfilter() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libavcodec() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libswscale() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libavformat() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libavutil() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libavutil " +PACKAGES += " libavfilter-dev " +PACKAGES += " libavformat " +PACKAGES += " libavtools " +PACKAGES += " libavcodec " +PACKAGES += " libavfilter " +PACKAGES += " libswscale-dev " +PACKAGES += " libavcodec-dev " +PACKAGES += " libavutil-dev " +PACKAGES += " libswscale " +PACKAGES += " libavformat-dev " + +libavutil_files = "" +libavutil_files += "${prefix}/lib/libavutil.so.*" +libavutil_files += "${prefix}/share/license/libavutil" +MANIFESTFILES_${PN}util = "libav.manifest" + +libavfilter-dev_files = "" +libavfilter-dev_files += "${prefix}/include/libavfilter/*" +libavfilter-dev_files += "${prefix}/lib/libavfilter.so" +libavfilter-dev_files += "${prefix}/lib/pkgconfig/libavfilter.pc" +MANIFESTFILES_${PN}filter-dev = "libav.manifest" + +libavformat_files = "" +libavformat_files += "${prefix}/lib/libavformat.so.*" +libavformat_files += "${prefix}/share/license/libavformat" +MANIFESTFILES_${PN}format = "libav.manifest" + +libavtools_files = "" +libavtools_files += "${prefix}/bin/av*" +libavtools_files += "${prefix}/share/avconv/*.avpreset" +MANIFESTFILES_${PN}tools = "libav.manifest" + +libavcodec_files = "" +libavcodec_files += "${prefix}/lib/libavcodec.so.*" +libavcodec_files += "${prefix}/share/license/libavcodec" +MANIFESTFILES_${PN}codec = "libav.manifest" + +libavfilter_files = "" +libavfilter_files += "${prefix}/lib/libavfilter.so.*" +libavfilter_files += "${prefix}/share/license/libavfilter" +MANIFESTFILES_${PN}filter = "libav.manifest" + +libswscale-dev_files = "" +libswscale-dev_files += "${prefix}/include/libswscale/*" +libswscale-dev_files += "${prefix}/lib/libswscale.so" +libswscale-dev_files += "${prefix}/lib/pkgconfig/libswscale.pc" +MANIFESTFILES_libswscale-dev = "libav.manifest" + +libavcodec-dev_files = "" +libavcodec-dev_files += "${prefix}/include/libavcodec/*" +libavcodec-dev_files += "${prefix}/lib/libavcodec.so" +libavcodec-dev_files += "${prefix}/lib/pkgconfig/libavcodec.pc" +MANIFESTFILES_${PN}codec-dev = "libav.manifest" + +libavutil-dev_files = "" +libavutil-dev_files += "${prefix}/include/libavutil/*" +libavutil-dev_files += "${prefix}/lib/libavutil.so" +libavutil-dev_files += "${prefix}/lib/pkgconfig/libavutil.pc" +MANIFESTFILES_${PN}util-dev = "libav.manifest" + +libswscale_files = "" +libswscale_files += "${prefix}/lib/libswscale.so.*" +libswscale_files += "${prefix}/share/license/libswscale" +MANIFESTFILES_libswscale = "libav.manifest" + +libavformat-dev_files = "" +libavformat-dev_files += "${prefix}/include/libavformat/*" +libavformat-dev_files += "${prefix}/lib/libavformat.so" +libavformat-dev_files += "${prefix}/lib/pkgconfig/libavformat.pc" +MANIFESTFILES_${PN}format-dev = "libav.manifest" + +FILES_${PN}util = "${libavutil_files}" +FILES_${PN}filter-dev = "${libavfilter-dev_files}" +FILES_${PN}format = "${libavformat_files}" +FILES_${PN}tools = "${libavtools_files}" +FILES_${PN}codec = "${libavcodec_files}" +FILES_${PN}filter = "${libavfilter_files}" +FILES_libswscale-dev = "${libswscale-dev_files}" +FILES_${PN}codec-dev = "${libavcodec-dev_files}" +FILES_${PN}util-dev = "${libavutil-dev_files}" +FILES_libswscale = "${libswscale_files}" +FILES_${PN}format-dev = "${libavformat-dev_files}" + +PKG_libavutil= "libavutil" +PKG_libavfilter-dev= "libavfilter-dev" +PKG_libavformat= "libavformat" +PKG_libavtools= "libavtools" +PKG_libavcodec= "libavcodec" +PKG_libavfilter= "libavfilter" +PKG_libswscale-dev= "libswscale-dev" +PKG_libavcodec-dev= "libavcodec-dev" +PKG_libavutil-dev= "libavutil-dev" +PKG_libswscale= "libswscale" +PKG_libavformat-dev= "libavformat-dev" + +require libav-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libav/libav_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libav/libav_git.bb new file mode 100644 index 0000000000..9a8996a051 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libav/libav_git.bb @@ -0,0 +1,10 @@ +require libav.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libav;tag=0fd9bbab02cc36060782e7a1f68417b5810300bf;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-service/libmedia-service.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-service/libmedia-service.inc new file mode 100644 index 0000000000..c38b606679 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-service/libmedia-service.inc @@ -0,0 +1,151 @@ +DESCRIPTION = "Media information service library for multimedia applications" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.2.44" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libmedia-service-dev +PROVIDES += "libmedia-service-dev" + + +#PROVIDES by libmedia-service + + +RDEPENDS = "" +#RDEPENDS of libmedia-service-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libmedia-service" + +#RDEPENDS of libmedia-service (${PN}) +RDEPENDS_${PN} += "glibc" + + +DEPENDS = "" +#DEPENDS of libmedia-service +DEPENDS += "libmm-fileinfo" +DEPENDS += "libmedia-thumbnail" +inherit tizen_cmake +DEPENDS += "drm-client" +DEPENDS += "libmm-common" +DEPENDS += "aul" +DEPENDS += "dlog" +inherit pkgconfig +DEPENDS += "libexif" +DEPENDS += "media-server" +DEPENDS += "sqlite3" +DEPENDS += "glib-2.0" +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmedia-service.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libmedia-service-dev " +PACKAGES += " libmedia-service " + +libmedia-service-dev_files = "" +libmedia-service-dev_files += "${prefix}/lib/pkgconfig/libmedia-service.pc" +libmedia-service-dev_files += "${prefix}/include/media-service/*.h" +MANIFESTFILES_${PN}-dev = "libmedia-service.manifest" + +libmedia-service_files = "" +libmedia-service_files += "${prefix}/lib/libmedia-service.so" +libmedia-service_files += "${prefix}/lib/libmedia-service.so.1" +libmedia-service_files += "${prefix}/lib/libmedia-service.so.1.0.0" +libmedia-service_files += "${prefix}/lib/libmedia-svc-hash.so" +libmedia-service_files += "${prefix}/lib/libmedia-svc-hash.so.1" +libmedia-service_files += "${prefix}/lib/libmedia-svc-hash.so.1.0.0" +libmedia-service_files += "${prefix}/lib/libmedia-content-plugin.so" +libmedia-service_files += "${prefix}/lib/libmedia-content-plugin.so.1" +libmedia-service_files += "${prefix}/lib/libmedia-content-plugin.so.1.0.0" +MANIFESTFILES_${PN} = "libmedia-service.manifest" + +FILES_${PN}-dev = "${libmedia-service-dev_files}" +FILES_${PN} = "${libmedia-service_files}" + +PKG_libmedia-service-dev= "libmedia-service-dev" +PKG_libmedia-service= "libmedia-service" + +require libmedia-service-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-service/libmedia-service_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-service/libmedia-service_git.bb new file mode 100644 index 0000000000..22d8e62126 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-service/libmedia-service_git.bb @@ -0,0 +1,10 @@ +require libmedia-service.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmedia-service;tag=b7f1f1ec421c16a4e6fea164495c281887a5d3b8;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-thumbnail/libmedia-thumbnail.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-thumbnail/libmedia-thumbnail.inc new file mode 100644 index 0000000000..34b70ea297 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-thumbnail/libmedia-thumbnail.inc @@ -0,0 +1,175 @@ +DESCRIPTION = "Media thumbnail service Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Libraries" +LICENSE = "Apache-2.0" +PV = "0.1.78" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libmedia-thumbnail + + +#PROVIDES by media-thumbnail-server +PROVIDES += "media-thumbnail-server" + + +#PROVIDES by libmedia-thumbnail-dev +PROVIDES += "libmedia-thumbnail-dev" + + +#PROVIDES by libmedia-thumbnail-test +PROVIDES += "libmedia-thumbnail-test" + + +RDEPENDS = "" +#RDEPENDS of libmedia-thumbnail (${PN}) +RDEPENDS_${PN} += "media-server" + +#RDEPENDS of media-thumbnail-server (media-thumbnail-server) +RDEPENDS_media-thumbnail-server += "libmedia-thumbnail" + +#RDEPENDS of libmedia-thumbnail-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libmedia-thumbnail" + +#RDEPENDS of libmedia-thumbnail-test (${PN}-test) +RDEPENDS_${PN}-test += "libmedia-thumbnail" + + +DEPENDS = "" +#DEPENDS of libmedia-thumbnail +DEPENDS += "libmm-fileinfo" +inherit tizen_cmake +DEPENDS += "drm-client" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "aul" +DEPENDS += "libexif" +DEPENDS += "libmm-utility" +DEPENDS += "media-server" +DEPENDS += "heynoti" +DEPENDS += "vconf" +DEPENDS += "pkgconfig(gdk-pixbuf-2.0)" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmedia-thumbnail.manifest ${S}/packaging/libmedia-thumbnail-devel.manifest ${S}/packaging/media-thumbnail-server.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libmedia-thumbnail " +PACKAGES += " media-thumbnail-server " +PACKAGES += " libmedia-thumbnail-dev " +PACKAGES += " libmedia-thumbnail-test " + +libmedia-thumbnail_files = "" +libmedia-thumbnail_files += "${prefix}/lib/libmedia-thumbnail.so" +libmedia-thumbnail_files += "${prefix}/lib/libmedia-thumbnail.so.*" +libmedia-thumbnail_files += "${prefix}/lib/libmedia-hash.so" +libmedia-thumbnail_files += "${prefix}/lib/libmedia-hash.so.1" +libmedia-thumbnail_files += "${prefix}/lib/libmedia-hash.so.1.0.0" +MANIFESTFILES_${PN} = "libmedia-thumbnail.manifest" + +media-thumbnail-server_files = "" +media-thumbnail-server_files += "${prefix}/bin/media-thumbnail-server" +MANIFESTFILES_media-thumbnail-server = "media-thumbnail-server.manifest" + +libmedia-thumbnail-dev_files = "" +libmedia-thumbnail-dev_files += "${prefix}/lib/pkgconfig/media-thumbnail.pc" +libmedia-thumbnail-dev_files += "${prefix}/include/media-thumbnail/*.h" +MANIFESTFILES_${PN}-dev = "libmedia-thumbnail-devel.manifest" + +libmedia-thumbnail-test_files = "" +libmedia-thumbnail-test_files += "${prefix}/bin/test-thumb" + +FILES_${PN} = "${libmedia-thumbnail_files}" +FILES_media-thumbnail-server = "${media-thumbnail-server_files}" +FILES_${PN}-dev = "${libmedia-thumbnail-dev_files}" +FILES_${PN}-test = "${libmedia-thumbnail-test_files}" + +PKG_libmedia-thumbnail= "libmedia-thumbnail" +PKG_media-thumbnail-server= "media-thumbnail-server" +PKG_libmedia-thumbnail-dev= "libmedia-thumbnail-dev" +PKG_libmedia-thumbnail-test= "libmedia-thumbnail-test" + +require libmedia-thumbnail-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-thumbnail/libmedia-thumbnail_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-thumbnail/libmedia-thumbnail_git.bb new file mode 100644 index 0000000000..c10183b02f --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmedia-thumbnail/libmedia-thumbnail_git.bb @@ -0,0 +1,10 @@ +require libmedia-thumbnail.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmedia-thumbnail;tag=b97d0b8ec596a5e17dbec92fd4e487ec9a91f8ef;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common.inc new file mode 100644 index 0000000000..e4b16b7a96 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "Multimedia Framework Common Lib" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Libraries" +LICENSE = "Apache-2.0" +PV = "0.2.85" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libmm-common-dev +PROVIDES += "libmm-common-dev" + + +#PROVIDES by libmm-common + + +RDEPENDS = "" +#RDEPENDS of libmm-common-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libmm-common" + +#RDEPENDS of libmm-common (${PN}) +RDEPENDS_${PN} += "glibc" + + +DEPENDS = "" +#DEPENDS of libmm-common +DEPENDS += "libmm-log" +inherit pkgconfig +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " + export CFLAGS+=" -Wall -Wcast-align -Wcast-qual -Wextra -Wno-array-bounds -Wno-empty-body -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow -Wwrite-strings -Wswitch-default -Wno-unused-but-set-parameter -Wno-unused-but-set-variable" + + autotools_do_configure + make -j16 + + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libmm-common-dev " +PACKAGES += " libmm-common " + +libmm-common-dev_files = "" +libmm-common-dev_files += "${prefix}/include/mmf/SLP_MultimediaFW_PG.h" +libmm-common-dev_files += "${prefix}/include/mmf/mm_types.h" +libmm-common-dev_files += "${prefix}/include/mmf/mm_error.h" +libmm-common-dev_files += "${prefix}/include/mmf/mm_message.h" +libmm-common-dev_files += "${prefix}/include/mmf/mm_attrs.h" +libmm-common-dev_files += "${prefix}/include/mmf/mm_attrs_private.h" +libmm-common-dev_files += "${prefix}/include/mmf/mm_debug.h" +libmm-common-dev_files += "${prefix}/include/mmf/mm.h" +libmm-common-dev_files += "${prefix}/lib/pkgconfig/mm-common.pc" +libmm-common-dev_files += "${prefix}/lib/libmmfcommon.so" + +libmm-common_files = "" +libmm-common_files += "${prefix}/lib/libmmfcommon.so.*" +MANIFESTFILES_${PN} = "libmm-common.manifest" + +FILES_${PN}-dev = "${libmm-common-dev_files}" +FILES_${PN} = "${libmm-common_files}" + +PKG_libmm-common-dev= "libmm-common-dev" +PKG_libmm-common= "libmm-common" + +require libmm-common-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common_git.bb new file mode 100644 index 0000000000..307c74bde0 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-common/libmm-common_git.bb @@ -0,0 +1,10 @@ +require libmm-common.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-common;tag=b278ce78e1bdad66d46a051ec0258c13fbf85032;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo.inc new file mode 100644 index 0000000000..cdfb5c8a90 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo.inc @@ -0,0 +1,134 @@ +DESCRIPTION = "Media Fileinfo" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.6.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libmm-fileinfo + + +#PROVIDES by libmm-fileinfo-dev +PROVIDES += "libmm-fileinfo-dev" + + +RDEPENDS = "" +#RDEPENDS of libmm-fileinfo-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libmm-fileinfo" + + +DEPENDS = "" +#DEPENDS of libmm-fileinfo +DEPENDS += "libmm-log" +DEPENDS += "libav" +DEPENDS += "libmm-common" +inherit pkgconfig +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-fileinfo.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + CFLAGS="${CFLAGS} -D_MM_PROJECT_FLOATER -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " + export CFLAGS + + + autotools_do_configure + + oe_runmake + + + +} +EXTRA_OECONF += " --disable-testmode --disable-dump --enable-dyn --disable-iommap --disable-gtk --disable-drm" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libmm-fileinfo " +PACKAGES += " libmm-fileinfo-dev " + +libmm-fileinfo_files = "" +libmm-fileinfo_files += "${prefix}/bin/memtrace_reader" +libmm-fileinfo_files += "${prefix}/bin/mm_file_test" +libmm-fileinfo_files += "${prefix}/lib/libmmffile.so.*" +libmm-fileinfo_files += "${prefix}/lib/libmmfile_codecs.so.*" +libmm-fileinfo_files += "${prefix}/lib/libmmfile_formats.so.*" +libmm-fileinfo_files += "${prefix}/lib/libmmfile_utils.so.*" +libmm-fileinfo_files += "${prefix}/lib/libmmffile.so" +libmm-fileinfo_files += "${prefix}/lib/libmmfile_codecs.so" +libmm-fileinfo_files += "${prefix}/lib/libmmfile_formats.so" +libmm-fileinfo_files += "${prefix}/lib/libmmfile_utils.so" +MANIFESTFILES_${PN} = "libmm-fileinfo.manifest" + +libmm-fileinfo-dev_files = "" +libmm-fileinfo-dev_files += "${prefix}/include/mmf/mm_file.h" +libmm-fileinfo-dev_files += "${prefix}/lib/pkgconfig/mm-fileinfo.pc" +MANIFESTFILES_${PN}-dev = "libmm-fileinfo.manifest" + +FILES_${PN} = "${libmm-fileinfo_files}" +FILES_${PN}-dev = "${libmm-fileinfo-dev_files}" + +PKG_libmm-fileinfo= "libmm-fileinfo" +PKG_libmm-fileinfo-dev= "libmm-fileinfo-dev" + +require libmm-fileinfo-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo_git.bb new file mode 100644 index 0000000000..ef5a93263b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-fileinfo/libmm-fileinfo_git.bb @@ -0,0 +1,10 @@ +require libmm-fileinfo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-fileinfo;tag=4ffa938eeab04aef98fa728683bd54687420baff;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-log/libmm-log.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-log/libmm-log.inc new file mode 100644 index 0000000000..8cbf6aba1e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-log/libmm-log.inc @@ -0,0 +1,98 @@ +DESCRIPTION = "Multimedia Framework LOG Lib" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Multimedia Framework" +LICENSE = "Apache-2.0" +PV = "0.1.5" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libmm-log + + +#PROVIDES by libmm-log-dev +PROVIDES += "libmm-log-dev" + + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of libmm-log +inherit pkgconfig +DEPENDS += "dlog" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libmm-log-0.1.5 + cp ${S}/packaging/libmm-log.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + CFLAGS="$CFLAGS -DUSE_DLOG"; export CFLAGS + ./autogen.sh + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --disable-static --enable-dlog" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libmm-log-dev " + +libmm-log-dev_files = "" +libmm-log-dev_files += "${prefix}/include/mm_log/mm_log.h" +libmm-log-dev_files += "${prefix}/lib/pkgconfig/mm-log.pc" +MANIFESTFILES_${PN}-dev = "libmm-log.manifest" + +FILES_${PN}-dev = "${libmm-log-dev_files}" + +PKG_libmm-log-dev= "libmm-log-dev" + +require libmm-log-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-log/libmm-log_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-log/libmm-log_git.bb new file mode 100644 index 0000000000..467d79ea43 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-log/libmm-log_git.bb @@ -0,0 +1,10 @@ +require libmm-log.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-log;tag=9e5e5b23416d9a169c587a25a7653fa884444f74;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-player/libmm-player.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-player/libmm-player.inc new file mode 100644 index 0000000000..4390fe4b19 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-player/libmm-player.inc @@ -0,0 +1,133 @@ +DESCRIPTION = "Multimedia Framework Player Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.2.27" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libmm-player-dev +PROVIDES += "libmm-player-dev" + + +#PROVIDES by libmm-player + + +RDEPENDS = "" +#RDEPENDS of libmm-player-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libmm-player" + + +DEPENDS = "" +#DEPENDS of libmm-player +DEPENDS += "libmm-sound" +DEPENDS += "gstreamer1.0-plugins-base" +DEPENDS += "audio-session-manager" +DEPENDS += "libmm-common" +inherit pkgconfig +DEPENDS += "iniparser" +DEPENDS += "libmm-session" +DEPENDS += "libmm-utility" +DEPENDS += "vconf" +DEPENDS += "libmm-ta" +DEPENDS += "gstreamer1.0" +DEPENDS += "icu" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-player.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + CFLAGS="${CFLAGS} -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" $GSTREAMER_API" ; export CFLAGS + LDFLAGS="${LDFLAGS=} -Wl,--rpath=${prefix}/lib -lgstvideo-1.0 -Wl,--hash-style=both -Wl,--as-needed"; export LDFLAGS + + ./autogen.sh + + autotools_do_configure + oe_runmake -j1 + + + +} +EXTRA_OECONF += " --disable-static" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libmm-player-dev " +PACKAGES += " libmm-player " + +libmm-player-dev_files = "" +libmm-player-dev_files += "${prefix}/lib/*.so" +libmm-player-dev_files += "${prefix}/include/mmf/*.h" +libmm-player-dev_files += "${prefix}/lib/pkgconfig/*" +MANIFESTFILES_${PN}-dev = "libmm-player.manifest" + +libmm-player_files = "" +libmm-player_files += "${prefix}/lib/*.so.*" +MANIFESTFILES_${PN} = "libmm-player.manifest" + +FILES_${PN}-dev = "${libmm-player-dev_files}" +FILES_${PN} = "${libmm-player_files}" + +PKG_libmm-player-dev= "libmm-player-dev" +PKG_libmm-player= "libmm-player" + +require libmm-player-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-player/libmm-player_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-player/libmm-player_git.bb new file mode 100644 index 0000000000..cc6ebb6d0e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-player/libmm-player_git.bb @@ -0,0 +1,10 @@ +require libmm-player.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-player;tag=d396a30a561a0db96094560b21e24e99029481c0;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-session/libmm-session.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-session/libmm-session.inc new file mode 100644 index 0000000000..b04f72295b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-session/libmm-session.inc @@ -0,0 +1,121 @@ +DESCRIPTION = "Multimedia Session Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Libraries" +LICENSE = "Apache-2.0" +PV = "0.2.6" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libmm-session + + +#PROVIDES by libmm-session-dev +PROVIDES += "libmm-session-dev" + + +RDEPENDS = "" +#RDEPENDS of libmm-session-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libmm-session" + + +DEPENDS = "" +#DEPENDS of libmm-session +DEPENDS += "audio-session-manager" +DEPENDS += "libmm-common" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-session.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + CFLAGS="$CFLAGS -Wp,-D_FORTIFY_SOURCE=0" + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libmm-session " +PACKAGES += " libmm-session-dev " + +libmm-session_files = "" +libmm-session_files += "${prefix}/lib/libmmfsession.so.*" +MANIFESTFILES_${PN} = "libmm-session.manifest" + +libmm-session-dev_files = "" +libmm-session-dev_files += "${prefix}/include/mmf/*.h" +libmm-session-dev_files += "${prefix}/lib/libmmfsession.so" +libmm-session-dev_files += "${prefix}/lib/pkgconfig/mm-session.pc" +MANIFESTFILES_${PN}-dev = "libmm-session.manifest" + +FILES_${PN} = "${libmm-session_files}" +FILES_${PN}-dev = "${libmm-session-dev_files}" + +PKG_libmm-session= "libmm-session" +PKG_libmm-session-dev= "libmm-session-dev" + +require libmm-session-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-session/libmm-session_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-session/libmm-session_git.bb new file mode 100644 index 0000000000..1ab5332cc8 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-session/libmm-session_git.bb @@ -0,0 +1,10 @@ +require libmm-session.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-session;tag=7976f6b9ab618982fe475f5ed0d96a9f5ade20d9;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound.inc new file mode 100644 index 0000000000..68a727a52d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound.inc @@ -0,0 +1,226 @@ +DESCRIPTION = "MMSound Package contains client lib and sound_server binary" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Media Playback" +LICENSE = "Apache-2.0" +PV = "0.7.2h" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libmm-sound-dev +PROVIDES += "libmm-sound-dev" + + +#PROVIDES by libmm-sound + + +#PROVIDES by libmm-sound-tool +PROVIDES += "libmm-sound-tool" + + +#PROVIDES by libmm-sound-sdk-dev +PROVIDES += "libmm-sound-sdk-dev" + + +#PROVIDES by sound-server +PROVIDES += "sound-server" + + +RDEPENDS = "" +#RDEPENDS of libmm-sound-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libmm-sound" + +#RDEPENDS of libmm-sound-sdk-dev (${PN}-sdk-dev) +RDEPENDS_${PN}-sdk-dev += "libmm-sound-dev" + +#RDEPENDS of libmm-sound-tool (${PN}-tool) +RDEPENDS_${PN}-tool += "libmm-sound" + +#RDEPENDS of libmm-sound (${PN}) +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "vconf" + +#RDEPENDS of sound-server (sound-server) +RDEPENDS_sound-server += "libmm-sound" + + +DEPENDS = "" +#DEPENDS of libmm-sound +DEPENDS += "avsystem" +DEPENDS += "libmm-common" +DEPENDS += "audio-session-manager" +DEPENDS += "libmm-log" +inherit pkgconfig +DEPENDS += "glib-2.0" +DEPENDS += "system-server" +DEPENDS += "vconf" +DEPENDS += "security-server" +DEPENDS += "heynoti" +DEPENDS += "libmm-session" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-sound.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + ./autogen.sh + CFLAGS="$CFLAGS -fvisibility=hidden -DMM_DEBUG_FLAG -DSEPARATE_SPEAKER_AND_WIRED_ACCESSORY -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\""; export CFLAGS + CFLAGS="$CFLAGS -DMURPHY"; export CFLAGS + + autotools_do_configure + oe_runmake -j16 + + + + +} +EXTRA_OECONF += " --prefix=/usr --enable-pulse --enable-security --enable-policy" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -d ${D}${systemd_unitdir}/system/multi-user.target.wants + install -m0644 ${S}/packaging/sound-server.service ${D}${systemd_unitdir}/system/ + install -m0644 ${S}/packaging/sound-server.path ${D}${systemd_unitdir}/system/ + + + mkdir -p ${D}/${systemd_unitdir}/system/multi-user.target.wants + ln -s ../sound-server.path ${D}/${systemd_unitdir}/system/multi-user.target.wants/sound-server.path + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + /usr/bin/vconftool set -t int memory/Sound/ASMReady 0 -g 29 -f -i + /usr/bin/vconftool set -t int file/private/sound/volume/system 5 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/notification 7 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/alarm 7 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/ringtone 13 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/media 7 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/call 7 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/voip 7 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/fixed 0 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/java 11 -g 29 -f + +} + +pkg_postinst_sound-server() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_sound-server() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libmm-sound-dev " +PACKAGES += " libmm-sound-sdk-dev " +PACKAGES += " libmm-sound-tool " +PACKAGES += " libmm-sound " +PACKAGES += " sound-server " + +libmm-sound-dev_files = "" +libmm-sound-dev_files += "${prefix}/lib/libmmfkeysound.so" +libmm-sound-dev_files += "${prefix}/lib/libmmfsound.so" +libmm-sound-dev_files += "${prefix}/lib/libmmfsoundcommon.so" +libmm-sound-dev_files += "${prefix}/include/mmf/mm_sound_private.h" +libmm-sound-dev_files += "${prefix}/include/mmf/mm_sound_plugin.h" +libmm-sound-dev_files += "${prefix}/include/mmf/mm_sound_plugin_hal.h" +MANIFESTFILES_${PN}-dev = "libmm-sound.manifest" + +libmm-sound-sdk-dev_files = "" +libmm-sound-sdk-dev_files += "${prefix}/include/mmf/mm_sound.h" +libmm-sound-sdk-dev_files += "${prefix}/lib/pkgconfig/mm-keysound.pc" +libmm-sound-sdk-dev_files += "${prefix}/lib/pkgconfig/mm-sound.pc" +MANIFESTFILES_${PN}-sdk-dev = "libmm-sound.manifest" + +libmm-sound-tool_files = "" +libmm-sound-tool_files += "${prefix}/bin/mm_sound_testsuite" +MANIFESTFILES_${PN}-tool = "libmm-sound.manifest" + +libmm-sound_files = "" +libmm-sound_files += "${prefix}/lib/libmmfsound.so.*" +libmm-sound_files += "${prefix}/lib/libmmfsoundcommon.so.*" +libmm-sound_files += "${prefix}/lib/libmmfkeysound.so.*" +MANIFESTFILES_${PN} = "libmm-sound.manifest" + +sound-server_files = "" +sound-server_files += "${prefix}/bin/sound_server" +sound-server_files += "${prefix}/lib/libsoundplugintone.so*" +sound-server_files += "${prefix}/lib/libsoundpluginwave.so*" +sound-server_files += "${prefix}/lib/libsoundpluginkeytone.so*" +sound-server_files += "${prefix}/lib/soundplugins/libsoundplugintone.so" +sound-server_files += "${prefix}/lib/soundplugins/libsoundpluginwave.so" +sound-server_files += "${prefix}/lib/soundplugins/libsoundpluginkeytone.so" +sound-server_files += "${prefix}/share/sounds/sound-server/*" +sound-server_files += "${systemd_unitdir}/system/multi-user.target.wants/sound-server.path" +sound-server_files += "${systemd_unitdir}/system/sound-server.service" +sound-server_files += "${systemd_unitdir}/system/sound-server.path" +MANIFESTFILES_sound-server = "libmm-sound.manifest" + +FILES_${PN}-dev = "${libmm-sound-dev_files}" +FILES_${PN}-sdk-dev = "${libmm-sound-sdk-dev_files}" +FILES_${PN}-tool = "${libmm-sound-tool_files}" +FILES_${PN} = "${libmm-sound_files}" +FILES_sound-server = "${sound-server_files}" + +PKG_libmm-sound-dev= "libmm-sound-dev" +PKG_libmm-sound-sdk-dev= "libmm-sound-sdk-dev" +PKG_libmm-sound-tool= "libmm-sound-tool" +PKG_libmm-sound= "libmm-sound" +PKG_sound-server= "sound-server" + +require libmm-sound-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound_git.bb new file mode 100644 index 0000000000..6e89fc62e4 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-sound/libmm-sound_git.bb @@ -0,0 +1,10 @@ +require libmm-sound.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-sound;tag=c7f783deb5d7b5629cec0f155e0954672c8f31ef;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-ta/libmm-ta.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-ta/libmm-ta.inc new file mode 100644 index 0000000000..bcdea53218 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-ta/libmm-ta.inc @@ -0,0 +1,117 @@ +DESCRIPTION = "Multimedia Framework Time Analysis Lib" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.1.4" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libmm-ta + + +#PROVIDES by libmm-ta-dev +PROVIDES += "libmm-ta-dev" + + +RDEPENDS = "" +#RDEPENDS of libmm-ta-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libmm-ta" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-ta.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --disable-static" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libmm-ta " +PACKAGES += " libmm-ta-dev " + +libmm-ta_files = "" +libmm-ta_files += "${prefix}/lib/libmm_ta.so.*" +MANIFESTFILES_${PN} = "libmm-ta.manifest" + +libmm-ta-dev_files = "" +libmm-ta-dev_files += "${prefix}/include/mm_ta/*.h" +libmm-ta-dev_files += "${prefix}/lib/*.so" +libmm-ta-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "libmm-ta.manifest" + +FILES_${PN} = "${libmm-ta_files}" +FILES_${PN}-dev = "${libmm-ta-dev_files}" + +PKG_libmm-ta= "libmm-ta" +PKG_libmm-ta-dev= "libmm-ta-dev" + +require libmm-ta-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-ta/libmm-ta_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-ta/libmm-ta_git.bb new file mode 100644 index 0000000000..c44d72a281 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-ta/libmm-ta_git.bb @@ -0,0 +1,10 @@ +require libmm-ta.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-ta;tag=d4cf22487676cd686fc7344972b52a8e045525f9;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-utility/libmm-utility.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-utility/libmm-utility.inc new file mode 100644 index 0000000000..e4e6403259 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-utility/libmm-utility.inc @@ -0,0 +1,145 @@ +DESCRIPTION = "Multimedia Framework Utility Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.7" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libmm-utility + + +#PROVIDES by libmm-utility-dev +PROVIDES += "libmm-utility-dev" + + +#PROVIDES by libmm-utility-tool +PROVIDES += "libmm-utility-tool" + + +RDEPENDS = "" +#RDEPENDS of libmm-utility (${PN}) +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of libmm-utility-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libmm-utility" + +#RDEPENDS of libmm-utility-tool (${PN}-tool) +RDEPENDS_${PN}-tool += "libmm-utility" + + +DEPENDS = "" +#DEPENDS of libmm-utility +DEPENDS += "libmm-common" +DEPENDS += "libjpeg-turbo" +DEPENDS += "libmm-log" +inherit pkgconfig +DEPENDS += "glib-2.0" +DEPENDS += "libmm-ta" +DEPENDS += "tizen-platform-config" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libmm-utility.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + mkdir -p m4 + CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" -D_MM_PROJECT_FLOATER" LDFLAGS="$LDFLAGS -Wl,--rpath=${prefix}/lib -Wl,--hash-style=both -Wl,--as-needed" + autotools_do_configure + oe_runmake -j16 + + sed -i -e "s#@IMGP_REQPKG@#$IMGP_REQPKG#g" imgp/mmutil-imgp.pc + sed -i -e "s#@JPEG_REQPKG@#$JPEG_REQPKG#g" jpeg/mmutil-jpeg.pc + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libmm-utility " +PACKAGES += " libmm-utility-dev " +PACKAGES += " libmm-utility-tool " + +libmm-utility_files = "" +libmm-utility_files += "${prefix}/lib/*.so*" +MANIFESTFILES_${PN} = "libmm-utility.manifest" + +libmm-utility-dev_files = "" +libmm-utility-dev_files += "${prefix}/include/*" +libmm-utility-dev_files += "${prefix}/lib/pkgconfig/*" +MANIFESTFILES_${PN}-dev = "libmm-utility.manifest" + +libmm-utility-tool_files = "" +libmm-utility-tool_files += "${prefix}/bin/*_testsuite" +MANIFESTFILES_${PN}-tool = "libmm-utility.manifest" + +FILES_${PN} = "${libmm-utility_files}" +FILES_${PN}-dev = "${libmm-utility-dev_files}" +FILES_${PN}-tool = "${libmm-utility-tool_files}" + +PKG_libmm-utility= "libmm-utility" +PKG_libmm-utility-dev= "libmm-utility-dev" +PKG_libmm-utility-tool= "libmm-utility-tool" + +require libmm-utility-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-utility/libmm-utility_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-utility/libmm-utility_git.bb new file mode 100644 index 0000000000..a41c6abd3a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/libmm-utility/libmm-utility_git.bb @@ -0,0 +1,10 @@ +require libmm-utility.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-utility;tag=4295b93e417e4734c90639d20ff6c60b110172d7;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/media-server/media-server.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/media-server/media-server.inc new file mode 100644 index 0000000000..6ae75ecd95 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/media-server/media-server.inc @@ -0,0 +1,199 @@ +DESCRIPTION = "File manager service server." +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Service" +LICENSE = "Apache-2.0" +PV = "0.2.47" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libmedia-utils-dev +PROVIDES += "libmedia-utils-dev" + + +#PROVIDES by media-server + + +#PROVIDES by libmedia-utils +PROVIDES += "libmedia-utils" + + +RDEPENDS = "" +#RDEPENDS of libmedia-utils-dev (libmedia-utils-dev) +RDEPENDS_libmedia-utils-dev += "tizen-platform-config" +RDEPENDS_libmedia-utils-dev += "libmedia-utils" + +#RDEPENDS of media-server (${PN}) +RDEPENDS_${PN} += "vconf" + +#RDEPENDS of libmedia-utils (libmedia-utils) +RDEPENDS_libmedia-utils += "media-server" + + +DEPENDS = "" +#DEPENDS of media-server +DEPENDS += "drm-client" +DEPENDS += "notification" +DEPENDS += "tizen-platform-config" +DEPENDS += "aul" +DEPENDS += "dlog" +inherit pkgconfig +DEPENDS += "system-server" +DEPENDS += "smack" +DEPENDS += "libslp-db-util" +DEPENDS += "sqlite3" +DEPENDS += "heynoti" +DEPENDS += "glib-2.0" +DEPENDS += "vconf" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/media-server.manifest ${S}/packaging/libmedia-utils.manifest ${S}/packaging/libmedia-utils-devel.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + rm -rf autom4te.cache + rm -f aclocal.m4 ltmain.sh + mkdir -p m4 + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --prefix=${prefix} --disable-static" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}${systemd_unitdir}/system/multi-user.target.wants + install -m 644 ${S}/packaging/media-server.service ${D}${systemd_unitdir}/system/media-server.service + mkdir -p ${D}${prefix}/lib/systemd/user + install -m 644 ${S}/packaging/media-server-user.service ${D}${prefix}/lib/systemd/user/media-server-user.service + ln -s ../media-server.service ${D}${systemd_unitdir}/system/multi-user.target.wants/media-server.service + mkdir -p ${D}${prefix}/data/data-media/Camera + mkdir -p ${D}${prefix}/data/data-media/Downloads + mkdir -p ${D}${prefix}/data/data-media/Images + mkdir -p ${D}${prefix}/data/data-media/Sounds/Voice\ recorder + mkdir -p ${D}${prefix}/data/data-media/Videos + mkdir -p ${D}${prefix}/data/file-manager-service/.thumb/mmc + mkdir -p ${D}${prefix}/data/file-manager-service/.thumb/phone + install -m 0775 ./data-media/Images/* ${D}${prefix}/data/data-media/Images/ + install -m 0775 ./data-media/dbspace/file-manager-service/.thumb/thumb_default.png ${D}${prefix}/data/file-manager-service/.thumb/ + install -D -m 0775 ./data-media/dbspace/file-manager-service/.thumb/mmc/* ${D}${prefix}/data/file-manager-service/.thumb/mmc/ + install -m 0775 ./data-media/dbspace/file-manager-service/.thumb/phone/PHONE_THUMB_HERE ${D}${prefix}/data/file-manager-service/.thumb/phone/ + install -m 0775 ./data-media/dbspace/file-manager-service/.thumb/phone/.jpg* ${D}${prefix}/data/file-manager-service/.thumb/phone/ + install -D -m 0775 ./data-media/dbspace/file-manager-service/* ${D}${prefix}/data/file-manager-service/ + install -m 0775 ${S}/packaging/media-data-sdk_create_db.sh ${D}${prefix}/bin/media-data-sdk_create_db.sh + + +} + +pkg_postinst_libmedia-utils() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + vconftool set -t int db/filemanager/dbupdate "1" -f + vconftool set -t int memory/filemanager/Mmc "0" -i -f + vconftool set -t string db/private/mediaserver/mmc_info "" -f + vconftool set -t int file/private/mediaserver/scan_internal "1" -f + vconftool set -t int file/private/mediaserver/scan_directory "1" -f + chgrp users $D${prefix}/bin/media-data-sdk_create_db.sh + chgrp -R users $D${prefix}/data/data-media + chgrp -R users $D${prefix}/data/file-manager-service + # setup dbupdate in user session + mkdir -p $D${prefix}/lib/systemd/user/default.target.wants/ + ln -sf ../media-server-user.service $D${prefix}/lib/systemd/user/default.target.wants/ + +} + +pkg_postrm_libmedia-utils() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libmedia-utils-dev " +PACKAGES += " media-server " +PACKAGES += " libmedia-utils " + +libmedia-utils-dev_files = "" +libmedia-utils-dev_files += "${prefix}/lib/libmedia-utils.so" +libmedia-utils-dev_files += "${prefix}/lib/pkgconfig/libmedia-utils.pc" +libmedia-utils-dev_files += "${prefix}/include/media-utils/*.h" +MANIFESTFILES_libmedia-utils-dev = "libmedia-utils-devel.manifest" + +media-server_files = "" +media-server_files += "${prefix}/bin/media-server" +media-server_files += "${prefix}/bin/media-scanner" +media-server_files += "${prefix}/bin/mediadb-update" +media-server_files += "${systemd_unitdir}/system/media-server.service" +media-server_files += "${systemd_unitdir}/system/multi-user.target.wants/media-server.service" +media-server_files += "${prefix}/lib/systemd/user/media-server-user.service" +media-server_files += "${prefix}/bin/media-data-sdk_create_db.sh" +media-server_files += "${prefix}/data/data-media/*" +media-server_files += "${prefix}/data/file-manager-service/.thumb/*" +media-server_files += "${prefix}/data/file-manager-service/plugin-config" +MANIFESTFILES_${PN} = "media-server.manifest" + +libmedia-utils_files = "" +libmedia-utils_files += "${prefix}/lib/libmedia-utils.so.0" +libmedia-utils_files += "${prefix}/lib/libmedia-utils.so.0.0.0" +MANIFESTFILES_libmedia-utils = "libmedia-utils.manifest" + +FILES_libmedia-utils-dev = "${libmedia-utils-dev_files}" +FILES_${PN} = "${media-server_files}" +FILES_libmedia-utils = "${libmedia-utils_files}" + +PKG_libmedia-utils-dev= "libmedia-utils-dev" +PKG_media-server= "media-server" +PKG_libmedia-utils= "libmedia-utils" + +require media-server-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/media-server/media-server_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/media-server/media-server_git.bb new file mode 100644 index 0000000000..30197b659d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/media-server/media-server_git.bb @@ -0,0 +1,10 @@ +require media-server.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/multimedia/media-server;tag=ca93eb1f529cab34a461422d7e22b893d827f9e5;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/pulseaudio/pulseaudio.inc new file mode 100644 index 0000000000..905f0c4b69 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/pulseaudio/pulseaudio.inc @@ -0,0 +1,535 @@ +DESCRIPTION = "Improved Linux sound server" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Multimedia/Audio" +LICENSE = "GPL-2.0+ and LGPL-2.1+" +PV = "5.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libpulse +PROVIDES += "libpulse" + + +#PROVIDES by pulseaudio-vala-bindings +PROVIDES += "pulseaudio-vala-bindings" + + +#PROVIDES by pulseaudio-module-dbus-protocol +PROVIDES += "pulseaudio-module-dbus-protocol" + + +#PROVIDES by pulseaudio-realtime-scheduling +PROVIDES += "pulseaudio-realtime-scheduling" + + +#PROVIDES by pulseaudio-module-null-source +PROVIDES += "pulseaudio-module-null-source" + + +#PROVIDES by pulseaudio-module-combine-sink +PROVIDES += "pulseaudio-module-combine-sink" + + +#PROVIDES by libpulse-mainloop-glib +PROVIDES += "libpulse-mainloop-glib" + + +#PROVIDES by pulseaudio-module-raop +PROVIDES += "pulseaudio-module-raop" + + +#PROVIDES by pulseaudio-config +PROVIDES += "pulseaudio-config" + + +#PROVIDES by pulseaudio-utils +PROVIDES += "pulseaudio-utils" + + +#PROVIDES by pulseaudio-module-augment-properties +PROVIDES += "pulseaudio-module-augment-properties" + + +#PROVIDES by pulseaudio + + +#PROVIDES by pulseaudio-docs +PROVIDES += "pulseaudio-docs " + + +#PROVIDES by libpulse-dev +PROVIDES += "libpulse-dev" + + +#PROVIDES by pulseaudio-module-filter +PROVIDES += "pulseaudio-module-filter" + + +#PROVIDES by pulseaudio-module-bluetooth +PROVIDES += "pulseaudio-module-bluetooth" + + +#PROVIDES by pulseaudio-module-switch-on-connect +PROVIDES += "pulseaudio-module-switch-on-connect" + + +#PROVIDES by pulseaudio-module-dev +PROVIDES += "pulseaudio-module-dev" + + +RDEPENDS = "" +#RDEPENDS of pulseaudio-vala-bindings (${PN}-vala-bindings) +RDEPENDS_${PN}-vala-bindings += "pulseaudio" + +#RDEPENDS of pulseaudio (${PN}) +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "udev" + +#RDEPENDS of pulseaudio-realtime-scheduling (${PN}-realtime-scheduling) +RDEPENDS_${PN}-realtime-scheduling += "libcap" +RDEPENDS_${PN}-realtime-scheduling += "pulseaudio" + +#RDEPENDS of pulseaudio-utils (${PN}-utils) +RDEPENDS_${PN}-utils += "pulseaudio" + +#RDEPENDS of pulseaudio-module-dev (${PN}-module-dev) +RDEPENDS_${PN}-module-dev += "pulseaudio" + +#RDEPENDS of libpulse-dev (libpulse-dev) +RDEPENDS_libpulse-dev += "libpulse" +RDEPENDS_libpulse-dev += "libpulse-mainloop-glib" + +#RDEPENDS of pulseaudio-module-bluetooth (${PN}-module-bluetooth) +RDEPENDS_${PN}-module-bluetooth += "pulseaudio" + + +DEPENDS = "" +#DEPENDS of pulseaudio +DEPENDS += "speex" +DEPENDS += "libsndfile1" +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +DEPENDS += "sbc" +DEPENDS += "openssl" +DEPENDS += "alsa-lib" +DEPENDS += "dbus" +inherit pkgconfig +DEPENDS += "udev" +DEPENDS += "glib-2.0" +DEPENDS += "bluez5" +DEPENDS += "systemd" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "tdb" +DEPENDS += "gconf" +DEPENDS += "libcap" +DEPENDS += "json-c" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "vconf" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -T -b0 + echo "5.0" > .tarball-version + cp ${S}/packaging/pulseaudio.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + export CFLAGS="$CFLAGS -fno-strict-aliasing" + export LD_AS_NEEDED=0 + NOCONFIGURE=yes ./bootstrap.sh + + autotools_do_configure + + oe_runmake -j16 V=0 + + + +} +EXTRA_OECONF += " --prefix=${prefix} --disable-static --enable-alsa --disable-ipv6 --disable-oss-output --disable-oss-wrapper --disable-x11 --disable-hal-compat --disable-lirc --disable-avahi --disable-jack --disable-xen --without-fftw --enable-bluez5 --disable-bluez4 --with-bluetooth-headset-backend=ofono --enable-systemd --with-database=tdb --enable-samsung-policy --with-udev-rules-dir=${prefix}/lib/udev/rules.d --with-system-user=pulse --with-system-group=pulse --with-access-group=pulse-access" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + #find_lang pulseaudio + + CURDIR=$(pwd) + cd ${D}${sysconfdir}/pulse/filter + ln -sf filter_8000_44100.dat filter_11025_44100.dat + ln -sf filter_8000_44100.dat filter_12000_44100.dat + ln -sf filter_8000_44100.dat filter_16000_44100.dat + ln -sf filter_8000_44100.dat filter_22050_44100.dat + ln -sf filter_8000_44100.dat filter_24000_44100.dat + ln -sf filter_8000_44100.dat filter_32000_44100.dat + cd ${CURDIR} + + rm -rf ${D}${sysconfdir}/xdg/autostart/pulseaudio-kde.desktop + rm -rf ${D}${prefix}/bin/start-pulseaudio-kde + rm -rf ${D}${prefix}/bin/start-pulseaudio-x11 + rm -rf ${D}${prefix}/lib/pulse-5.0/modules/module-device-manager.so + + mkdir -p ${D}${prefix}/include/pulsemodule/pulse + mkdir -p ${D}${prefix}/include/pulsemodule/pulsecore + + cp ${D}${prefix}/include/pulse/*.h ${D}${prefix}/include/pulsemodule/pulse + + fdupes ${D}${prefix}/share + fdupes ${D}${prefix}/include + + # get rid of *.la files + rm -f ${D}${prefix}/lib/*.la + rm -f ${D}${prefix}/lib/pulseaudio/*.la + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + if [ $1 -eq 1 ] ; then + # Initial installation + systemctl --user --global preset pulseaudio.socket >/dev/null 2>&1 || : + fi + +} + +pkg_postinst_libpulse-mainloop-glib() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libpulse() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + setcap cap_sys_nice+ep /usr/bin/pulseaudio + +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ $1 -eq 0 ] ; then + # Package removal, not upgrade + systemctl --no-reload --user --global disable pulseaudio.socket > /dev/null 2>&1 || : + fi + +} + +pkg_postrm_libpulse() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libpulse-mainloop-glib() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + setcap -r /usr/bin/pulseaudio + #lang_package + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " pulseaudio-module-filter " +PACKAGES += " libpulse " +PACKAGES += " pulseaudio-module-dbus-protocol " +PACKAGES += " pulseaudio-realtime-scheduling " +PACKAGES += " pulseaudio-module-combine-sink " +PACKAGES += " pulseaudio-module-bluetooth " +PACKAGES += " pulseaudio-utils " +PACKAGES += " pulseaudio-module-raop " +PACKAGES += " pulseaudio-config " +PACKAGES += " libpulse-mainloop-glib " +PACKAGES += " pulseaudio-module-augment-properties " +PACKAGES += " pulseaudio " +PACKAGES += " pulseaudio-module-dev " +PACKAGES += " libpulse-dev " +PACKAGES += " pulseaudio-vala-bindings " +PACKAGES += " pulseaudio-module-switch-on-connect " +PACKAGES += " pulseaudio-docs " +PACKAGES += " pulseaudio-module-null-source " + +pulseaudio-module-filter_files = "" +pulseaudio-module-filter_files += "${prefix}/lib/pulse-5.0/modules/module-filter-*.so" +MANIFESTFILES_${PN}-module-filter = "pulseaudio.manifest" + +libpulse_files = "" +libpulse_files += "${prefix}/lib/libpulse.so.*" +libpulse_files += "${prefix}/lib/libpulse-simple.so.*" +libpulse_files += "${prefix}/lib/pulseaudio/libpulsecommon-*.so" +MANIFESTFILES_libpulse = "pulseaudio.manifest" + +pulseaudio-module-dbus-protocol_files = "" +pulseaudio-module-dbus-protocol_files += "${prefix}/lib/pulse-5.0/modules/module-dbus-protocol.so" +MANIFESTFILES_${PN}-module-dbus-protocol = "pulseaudio.manifest" + +pulseaudio-realtime-scheduling_files = "" + +pulseaudio-module-combine-sink_files = "" +pulseaudio-module-combine-sink_files += "${prefix}/lib/pulse-5.0/modules/module-combine-sink.so" +MANIFESTFILES_${PN}-module-combine-sink = "pulseaudio.manifest" + +pulseaudio-module-bluetooth_files = "" +pulseaudio-module-bluetooth_files += "${prefix}/lib/pulse-5.0/modules/module-bluetooth-discover.so" +pulseaudio-module-bluetooth_files += "${prefix}/lib/pulse-5.0/modules/module-bluetooth-policy.so" +pulseaudio-module-bluetooth_files += "${prefix}/lib/pulse-5.0/modules/module-bluez5-discover.so" +pulseaudio-module-bluetooth_files += "${prefix}/lib/pulse-5.0/modules/module-bluez5-device.so" +pulseaudio-module-bluetooth_files += "${prefix}/lib/pulse-5.0/modules/libbluez5-util.so" +MANIFESTFILES_${PN}-module-bluetooth = "pulseaudio.manifest" + +pulseaudio-utils_files = "" +pulseaudio-utils_files += "${mandir}/man1/*" +pulseaudio-utils_files += "${mandir}/man5/*" +pulseaudio-utils_files += "${prefix}/bin/pacat" +pulseaudio-utils_files += "${prefix}/bin/pacmd" +pulseaudio-utils_files += "${prefix}/bin/pactl" +pulseaudio-utils_files += "${prefix}/bin/paplay" +pulseaudio-utils_files += "${prefix}/bin/parec" +pulseaudio-utils_files += "${prefix}/bin/pamon" +pulseaudio-utils_files += "${prefix}/bin/parecord" +pulseaudio-utils_files += "${prefix}/bin/pasuspender" +MANIFESTFILES_${PN}-utils = "pulseaudio.manifest" + +pulseaudio-module-raop_files = "" +pulseaudio-module-raop_files += "${prefix}/lib/pulse-5.0/modules/libraop.so" +pulseaudio-module-raop_files += "${prefix}/lib/pulse-5.0/modules/module-raop*.so" +MANIFESTFILES_${PN}-module-raop = "pulseaudio.manifest" + +pulseaudio-config_files = "" +pulseaudio-config_files += "${sysconfdir}/pulse/daemon.conf" +pulseaudio-config_files += "${sysconfdir}/pulse/default.pa" +pulseaudio-config_files += "${sysconfdir}/pulse/client.conf" +pulseaudio-config_files += "${sysconfdir}/pulse/system.pa" +pulseaudio-config_files += "${sysconfdir}/pulse/audio-groups.conf" +pulseaudio-config_files += "${sysconfdir}/pulse/main-volume-policy.conf" +pulseaudio-config_files += "${prefix}/share/pulseaudio/alsa-mixer/paths/*" +pulseaudio-config_files += "${prefix}/share/pulseaudio/alsa-mixer/profile-sets/*" +MANIFESTFILES_${PN}-config = "pulseaudio.manifest" + +libpulse-mainloop-glib_files = "" +libpulse-mainloop-glib_files += "${prefix}/lib/libpulse-mainloop-glib.so.*" +MANIFESTFILES_libpulse-mainloop-glib = "pulseaudio.manifest" + +pulseaudio-module-augment-properties_files = "" +pulseaudio-module-augment-properties_files += "${prefix}/lib/pulse-5.0/modules/module-augment-properties.so" +MANIFESTFILES_${PN}-module-augment-properties = "pulseaudio.manifest" + +pulseaudio_files = "" +pulseaudio_files += "${sysconfdir}/pulse/filter/*.dat" +pulseaudio_files += "${prefix}/bin/esdcompat" +pulseaudio_files += "${prefix}/bin/pulseaudio" +pulseaudio_files += "${prefix}/libexec/pulse/*" +pulseaudio_files += "${prefix}/lib/libpulsecore-5.0.so" +pulseaudio_files += "${prefix}/lib/udev/rules.d/90-pulseaudio.rules" +pulseaudio_files += "/etc/dbus-1/system.d/pulseaudio-system.conf" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/libalsa-util.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/libcli.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/libprotocol-cli.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/libprotocol-http.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/libprotocol-native.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/libprotocol-simple.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/librtp.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-alsa-sink.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-alsa-source.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-always-sink.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-console-kit.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-device-restore.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-stream-restore.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-cli-protocol-tcp.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-cli-protocol-unix.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-cli.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-combine.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-default-device-restore.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-detect.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-esound-sink.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-http-protocol-tcp.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-http-protocol-unix.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-intended-roles.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-ladspa-sink.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-match.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-mmkbd-evdev.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-native-protocol-fd.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-native-protocol-tcp.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-native-protocol-unix.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-null-sink.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-pipe-sink.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-pipe-source.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-position-event-sounds.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-remap-sink.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-remap-source.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-rescue-streams.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-rtp-recv.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-rtp-send.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-simple-protocol-tcp.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-simple-protocol-unix.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-sine.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-tunnel-sink.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-tunnel-sink-new.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-tunnel-source.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-tunnel-source-new.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-suspend-on-idle.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-volume-restore.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-alsa-card.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-card-restore.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-sine-source.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-loopback.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-rygel-media-server.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-echo-cancel.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-virtual-sink.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-virtual-source.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/libprotocol-esound.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-esound-compat-spawnfd.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-esound-compat-spawnpid.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-esound-protocol-tcp.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-esound-protocol-unix.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-gconf.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-udev-detect.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-role-cork.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-switch-on-port-available.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-virtual-surround-sink.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-role-ducking.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-systemd-login.so" +pulseaudio_files += "${prefix}/lib/systemd/user/pulseaudio.service" +pulseaudio_files += "${prefix}/lib/systemd/user/pulseaudio.socket" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-policy.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/libvolume-api.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/libmain-volume-policy.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-volume-api.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-main-volume-policy.so" +pulseaudio_files += "${prefix}/lib/pulse-5.0/modules/module-audio-groups.so" +pulseaudio_files += "/etc/bash_completion.d/pulseaudio-bash-completion.sh" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/pulse/filter/*.dat" +MANIFESTFILES_${PN} = "pulseaudio.manifest" + +pulseaudio-module-dev_files = "" +pulseaudio-module-dev_files += "${prefix}/include/pulsemodule/pulsecore/*.h" +pulseaudio-module-dev_files += "${prefix}/include/pulsemodule/pulse/*.h" +pulseaudio-module-dev_files += "${prefix}/include/pulsemodule/modules/main-volume-policy/*.h" +pulseaudio-module-dev_files += "${prefix}/include/pulsemodule/modules/volume-api/*.h" +pulseaudio-module-dev_files += "${prefix}/lib/pkgconfig/pulseaudio-module-devel.pc" +MANIFESTFILES_${PN}-module-dev = "pulseaudio.manifest" + +libpulse-dev_files = "" +libpulse-dev_files += "${prefix}/include/pulse/*" +libpulse-dev_files += "${prefix}/lib/libpulse.so" +libpulse-dev_files += "${prefix}/lib/libpulse-simple.so" +libpulse-dev_files += "${prefix}/lib/libpulse-mainloop-glib.so" +libpulse-dev_files += "${prefix}/lib/pkgconfig/libpulse*.pc" +libpulse-dev_files += "${prefix}/share/vala/vapi/libpulse.vapi" +libpulse-dev_files += "${prefix}/lib/cmake/PulseAudio/PulseAudioConfig.cmake" +libpulse-dev_files += "${prefix}/lib/cmake/PulseAudio/PulseAudioConfigVersion.cmake" +MANIFESTFILES_libpulse-dev = "pulseaudio.manifest" + +pulseaudio-vala-bindings_files = "" +pulseaudio-vala-bindings_files += "${prefix}/share/vala/vapi/*" +MANIFESTFILES_${PN}-vala-bindings = "pulseaudio.manifest" + +pulseaudio-module-switch-on-connect_files = "" +pulseaudio-module-switch-on-connect_files += "${prefix}/lib/pulse-5.0/modules/module-switch-on-connect.so" +MANIFESTFILES_${PN}-module-switch-on-connect = "pulseaudio.manifest" + +pulseaudio-docs_files = "" + +pulseaudio-module-null-source_files = "" +pulseaudio-module-null-source_files += "${prefix}/lib/pulse-5.0/modules/module-null-source.so" +MANIFESTFILES_${PN}-module-null-source = "pulseaudio.manifest" + +FILES_${PN}-module-filter = "${pulseaudio-module-filter_files}" +FILES_libpulse = "${libpulse_files}" +FILES_${PN}-module-dbus-protocol = "${pulseaudio-module-dbus-protocol_files}" +FILES_${PN}-realtime-scheduling = "${pulseaudio-realtime-scheduling_files}" +FILES_${PN}-module-combine-sink = "${pulseaudio-module-combine-sink_files}" +FILES_${PN}-module-bluetooth = "${pulseaudio-module-bluetooth_files}" +FILES_${PN}-utils = "${pulseaudio-utils_files}" +FILES_${PN}-module-raop = "${pulseaudio-module-raop_files}" +FILES_${PN}-config = "${pulseaudio-config_files}" +FILES_libpulse-mainloop-glib = "${libpulse-mainloop-glib_files}" +FILES_${PN}-module-augment-properties = "${pulseaudio-module-augment-properties_files}" +FILES_${PN} = "${pulseaudio_files}" +FILES_${PN}-module-dev = "${pulseaudio-module-dev_files}" +FILES_libpulse-dev = "${libpulse-dev_files}" +FILES_${PN}-vala-bindings = "${pulseaudio-vala-bindings_files}" +FILES_${PN}-module-switch-on-connect = "${pulseaudio-module-switch-on-connect_files}" +FILES_${PN}-docs = "${pulseaudio-docs_files}" +FILES_${PN}-module-null-source = "${pulseaudio-module-null-source_files}" + +PKG_pulseaudio-module-filter= "pulseaudio-module-filter" +PKG_libpulse= "libpulse" +PKG_pulseaudio-module-dbus-protocol= "pulseaudio-module-dbus-protocol" +PKG_pulseaudio-realtime-scheduling= "pulseaudio-realtime-scheduling" +PKG_pulseaudio-module-combine-sink= "pulseaudio-module-combine-sink" +PKG_pulseaudio-module-bluetooth= "pulseaudio-module-bluetooth" +PKG_pulseaudio-utils= "pulseaudio-utils" +PKG_pulseaudio-module-raop= "pulseaudio-module-raop" +PKG_pulseaudio-config= "pulseaudio-config" +PKG_libpulse-mainloop-glib= "libpulse-mainloop-glib" +PKG_pulseaudio-module-augment-properties= "pulseaudio-module-augment-properties" +PKG_pulseaudio= "pulseaudio" +PKG_pulseaudio-module-dev= "pulseaudio-module-dev" +PKG_libpulse-dev= "libpulse-dev" +PKG_pulseaudio-vala-bindings= "pulseaudio-vala-bindings" +PKG_pulseaudio-module-switch-on-connect= "pulseaudio-module-switch-on-connect" +PKG_pulseaudio-docs= "pulseaudio-docs" +PKG_pulseaudio-module-null-source= "pulseaudio-module-null-source" + +require pulseaudio-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/pulseaudio/pulseaudio_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/pulseaudio/pulseaudio_git.bb new file mode 100644 index 0000000000..e9452d2af7 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/pulseaudio/pulseaudio_git.bb @@ -0,0 +1,10 @@ +require pulseaudio.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/pulseaudio;tag=9f3f3d9dfe4449a019945f65002f714aa49dcc2d;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/tiff/tiff.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/tiff/tiff.inc new file mode 100644 index 0000000000..a8cdca84e4 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/tiff/tiff.inc @@ -0,0 +1,158 @@ +DESCRIPTION = "Tools for Converting from and to the Tiff Format" +HOMEPAGE = "http://www.remotesensing.org/libtiff" +SECTION = "Productivity/Graphics/Convertors" +LICENSE = "HPND" +PV = "4.0.3" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libtiff +PROVIDES += "libtiff" + + +#PROVIDES by tiff + + +#PROVIDES by tiff-docs +PROVIDES += "tiff-docs " + + +#PROVIDES by libtiff-dev +PROVIDES += "libtiff-dev" + + +RDEPENDS = "" +#RDEPENDS of libtiff-dev (lib${PN}-dev) +RDEPENDS_lib${PN}-dev += "glibc" +RDEPENDS_lib${PN}-dev += "libtiff" +RDEPENDS_lib${PN}-dev += "libstdc++-dev" + + +DEPENDS = "" +#DEPENDS of tiff +DEPENDS += "libjpeg-turbo" +DEPENDS += "zlib" +inherit pkgconfig +DEPENDS += "xz" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/tiff.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += " --disable-static --with-pic" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}/{${mandir}/{man1,man3},usr/{bin,lib,include}} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + for f in `find ${D}/${mandir} -type f -print ` ; do + if [ `wc -l <$f` -eq 1 ] && grep -q "^\.so " $f ; then + linkto=`sed -e "s|^\.so ||" $f` + [ -f "`dirname $f`/$linkto" ] && ln -sf "$linkto" $f + fi + done + + rm -rf ${D}${prefix}/share/doc/tiff* + rm -f ${D}${prefix}/lib/*.la + find html -name "Makefile*" | xargs rm + + + + +} + +pkg_postinst_libtiff() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libtiff() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " tiff " +PACKAGES += " tiff-docs " +PACKAGES += " libtiff " +PACKAGES += " libtiff-dev " + +tiff_files = "" +tiff_files += "${prefix}/bin/*" +MANIFESTFILES_${PN} = "tiff.manifest" + +tiff-docs_files = "" + +libtiff_files = "" +libtiff_files += "${prefix}/lib/*.so.*" +MANIFESTFILES_lib${PN} = "tiff.manifest" + +libtiff-dev_files = "" +libtiff-dev_files += "${prefix}/include/*" +libtiff-dev_files += "${prefix}/lib/*.so" +libtiff-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_lib${PN}-dev = "tiff.manifest" + +FILES_${PN} = "${tiff_files}" +FILES_${PN}-docs = "${tiff-docs_files}" +FILES_lib${PN} = "${libtiff_files}" +FILES_lib${PN}-dev = "${libtiff-dev_files}" + +PKG_tiff= "tiff" +PKG_tiff-docs= "tiff-docs" +PKG_libtiff= "libtiff" +PKG_libtiff-dev= "libtiff-dev" + +require tiff-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/tiff/tiff_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/tiff/tiff_git.bb new file mode 100644 index 0000000000..d58ad4ac7e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-multimedia/tiff/tiff_git.bb @@ -0,0 +1,10 @@ +require tiff.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/tiff;tag=a7123bacbef4cf6265a5bde3eb4e65af3962ce12;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/buxton/buxton-extraconf.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/buxton/buxton-extraconf.inc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/buxton/buxton.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/buxton/buxton.inc new file mode 100644 index 0000000000..134eadaaf6 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/buxton/buxton.inc @@ -0,0 +1,188 @@ +DESCRIPTION = "A security-enabled configuration system" +HOMEPAGE = "https://github.com/sofar/buxton" +SECTION = "System/Configuration" +LICENSE = "LGPL-2.1+" +PV = "5" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by buxton-dev +PROVIDES += "buxton-dev" + + +#PROVIDES by buxtonsimple +PROVIDES += "buxtonsimple" + + +#PROVIDES by buxton-docs +PROVIDES += "buxton-docs " + + +#PROVIDES by buxtonsimple-dev +PROVIDES += "buxtonsimple-dev" + + +#PROVIDES by buxton + + +RDEPENDS = "" +#RDEPENDS of buxton-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "buxton" + +#RDEPENDS of buxtonsimple (${PN}simple) +RDEPENDS_${PN}simple += "buxton" + +#RDEPENDS of buxtonsimple-dev (${PN}simple-dev) +RDEPENDS_${PN}simple-dev += "buxton" + +#RDEPENDS of buxton (${PN}) +RDEPENDS_${PN} += "/usr/bin/chown" +RDEPENDS_${PN} += "smack" +RDEPENDS_${PN} += "buxton" + + +DEPENDS = "" +#DEPENDS of buxton +inherit pkgconfig +DEPENDS += "libcheck" +DEPENDS += "systemd" +DEPENDS += "attr" +DEPENDS += "gdbm-dev" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/buxton.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + # TODO: need to define needed layers for Tizen in tizen.conf + install -m 0644 ${S}/packaging/tizen.conf ${D}${sysconfdir}/buxton.conf + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + #buxtond runs as user buxton, which much be created + useradd buxton + buxtonctl create-db base + buxtonctl create-db isp + if [ "$1" -eq 1 ] ; then + # The initial DBs will not have the correct labels and + # permissions when created in postinstall during image + # creation, so we set these file attributes here. + chsmack -a System ${localstatedir}/lib/buxton/*.db + chown buxton:buxton ${localstatedir}/lib/buxton/*.db + fi + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " buxton-dev " +PACKAGES += " buxtonsimple " +PACKAGES += " buxton-docs " +PACKAGES += " buxtonsimple-dev " +PACKAGES += " buxton " + +buxton-dev_files = "" +buxton-dev_files += "${prefix}/include/buxton.h" +buxton-dev_files += "${prefix}/lib/libbuxton.so" +buxton-dev_files += "${prefix}/lib/pkgconfig/buxton.pc" +MANIFESTFILES_${PN}-dev = "buxton.manifest" + +buxtonsimple_files = "" +buxtonsimple_files += "${prefix}/lib/libbuxtonsimple.so.*" +MANIFESTFILES_${PN}simple = "buxton.manifest" + +buxton-docs_files = "" + +buxtonsimple-dev_files = "" +buxtonsimple-dev_files += "${prefix}/include/buxtonsimple.h" +buxtonsimple-dev_files += "${prefix}/lib/libbuxtonsimple.so" +buxtonsimple-dev_files += "${prefix}/lib/pkgconfig/buxtonsimple.pc" +MANIFESTFILES_${PN}simple-dev = "buxton.manifest" + +buxton_files = "" +buxton_files += "${sysconfdir}/buxton.conf" +buxton_files += "${prefix}/bin/buxtonctl" +buxton_files += "${prefix}/lib/buxton/*.so" +buxton_files += "${prefix}/lib/libbuxton.so.*" +buxton_files += "${prefix}/lib/systemd/system/buxton.service" +buxton_files += "${prefix}/lib/systemd/system/buxton.socket" +buxton_files += "${prefix}/lib/systemd/system/sockets.target.wants/buxton.socket" +buxton_files += "${prefix}/sbin/buxtond" +buxton_files += "%dir ${localstatedir}/lib/buxton" +MANIFESTFILES_${PN} = "buxton.manifest" + +FILES_${PN}-dev = "${buxton-dev_files}" +FILES_${PN}simple = "${buxtonsimple_files}" +FILES_${PN}-docs = "${buxton-docs_files}" +FILES_${PN}simple-dev = "${buxtonsimple-dev_files}" +FILES_${PN} = "${buxton_files}" + +PKG_buxton-dev= "buxton-dev" +PKG_buxtonsimple= "buxtonsimple" +PKG_buxton-docs= "buxton-docs" +PKG_buxtonsimple-dev= "buxtonsimple-dev" +PKG_buxton= "buxton" + +require buxton-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/buxton/buxton_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/buxton/buxton_git.bb new file mode 100644 index 0000000000..e56db7f8fb --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/buxton/buxton_git.bb @@ -0,0 +1,10 @@ +require buxton.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/buxton;tag=30ff93b6f03098ab14626e2212776b05594cb212;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/cynara/cynara.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/cynara/cynara.inc new file mode 100644 index 0000000000..e286b72162 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/cynara/cynara.inc @@ -0,0 +1,489 @@ +DESCRIPTION = "Cynara service with client libraries" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Application Privilege" +LICENSE = "Apache-2.0" +PV = "0.5.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libcynara-creds-socket +PROVIDES += "libcynara-creds-socket" + + +#PROVIDES by cynara-tests +PROVIDES += "cynara-tests" + + +#PROVIDES by libcynara-client +PROVIDES += "libcynara-client" + + +#PROVIDES by libcynara-creds-dbus +PROVIDES += "libcynara-creds-dbus" + + +#PROVIDES by cynara + + +#PROVIDES by cynara-dev +PROVIDES += "cynara-dev" + + +#PROVIDES by cyad +PROVIDES += "cyad" + + +#PROVIDES by libcynara-commons +PROVIDES += "libcynara-commons" + + +#PROVIDES by libcynara-admin +PROVIDES += "libcynara-admin" + + +#PROVIDES by libcynara-creds-commons +PROVIDES += "libcynara-creds-commons" + + +#PROVIDES by cynara-db-migration +PROVIDES += "cynara-db-migration" + + +#PROVIDES by libcynara-agent +PROVIDES += "libcynara-agent" + + +#PROVIDES by libcynara-session +PROVIDES += "libcynara-session" + + +RDEPENDS = "" +#RDEPENDS of cynara (${PN}) +RDEPENDS_${PN} += "systemd" +RDEPENDS_${PN} += "default-ac-domains" +RDEPENDS_${PN} += "cynara-db-migration" +RDEPENDS_${PN} += "smack" +RDEPENDS_${PN} += "shadow" + +#RDEPENDS of libcynara-client (lib${PN}-client) +RDEPENDS_lib${PN}-client += "cynara" + +#RDEPENDS of libcynara-creds-dbus (lib${PN}-creds-dbus) +RDEPENDS_lib${PN}-creds-dbus += "dbus" + +#RDEPENDS of cynara-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "systemd" +RDEPENDS_${PN}-dev += "libcynara-client" +RDEPENDS_${PN}-dev += "dbus" +RDEPENDS_${PN}-dev += "libcynara-creds-dbus" +RDEPENDS_${PN}-dev += "libcynara-creds-commons" +RDEPENDS_${PN}-dev += "libcynara-commons" +RDEPENDS_${PN}-dev += "libcynara-admin" +RDEPENDS_${PN}-dev += "libcynara-creds-socket" +RDEPENDS_${PN}-dev += "libcynara-agent" +RDEPENDS_${PN}-dev += "libcynara-session" + +#RDEPENDS of libcynara-admin (lib${PN}-admin) +RDEPENDS_lib${PN}-admin += "cynara" + +#RDEPENDS of libcynara-agent (lib${PN}-agent) +RDEPENDS_lib${PN}-agent += "cynara" + + +DEPENDS = "" +#DEPENDS of cynara-tests +#DEPENDS of cynara +#DEPENDS of libcynara-creds-dbus +DEPENDS += "systemd" +inherit tizen_cmake +DEPENDS += "zip" +DEPENDS += "dbus" +inherit pkgconfig +DEPENDS += "pkgconfig(gmock)" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp -a ${S}/packaging/cynara.manifest . + cp -a ${S}/packaging/libcynara-client.manifest . + cp -a ${S}/packaging/libcynara-admin.manifest . + cp -a ${S}/packaging/cynara-tests.manifest . + cp -a ${S}/packaging/libcynara-agent.manifest . + cp -a ${S}/packaging/libcynara-commons.manifest . + cp -a ${S}/packaging/libcynara-creds-commons.manifest . + cp -a ${S}/packaging/libcynara-creds-dbus.manifest . + cp -a ${S}/packaging/libcynara-creds-socket.manifest . + cp -a ${S}/packaging/libcynara-session.manifest . + cp -a ${S}/packaging/cynara-db-migration.manifest . + cp -a ${S}/packaging/cyad.manifest . + cp -a test/db/db* . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + export CXXFLAGS="$CXXFLAGS -DCYNARA_STATE_PATH=\\\"${localstatedir}/cynara/\\\" \ + -DCYNARA_LIB_PATH=\\\"${prefix}/lib/cynara/\\\" \ + -DCYNARA_TESTS_DIR=\\\"${prefix}/share/cynara/tests/\\\" \ + -DCYNARA_CONFIGURATION_DIR=\\\"${sysconfdir}/cynara/\\\"" + export LDFLAGS+="-Wl,--rpath=${prefix}/lib" + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . \ + -DBUILD_TESTS=ON \ + -DCMAKE_BUILD_TYPE=RELEASE \ + -DCMAKE_VERBOSE_MAKEFILE=ON + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/${sysconfdir}/cynara/ + cp ./conf/creds.conf ${D}/${sysconfdir}/cynara//creds.conf + + mkdir -p ${D}/usr/lib/systemd/system/sockets.target.wants + mkdir -p ${D}/${localstatedir}/cynara/ + mkdir -p ${D}${prefix}/share/cynara/tests//empty_db + mkdir -p ${D}${prefix}/lib/cynara//plugin/client + mkdir -p ${D}${prefix}/lib/cynara//plugin/service + + cp -a db* ${D}${prefix}/share/cynara/tests/ + ln -s ../cynara.socket ${D}/usr/lib/systemd/system/sockets.target.wants/cynara.socket + ln -s ../cynara-admin.socket ${D}/usr/lib/systemd/system/sockets.target.wants/cynara-admin.socket + ln -s ../cynara-agent.socket ${D}/usr/lib/systemd/system/sockets.target.wants/cynara-agent.socket + + +} + +pkg_preinst_${PN}() { + #!/bin/sh -e + + id -g cynara > /dev/null 2>&1 + if [ $? -eq 1 ]; then + groupadd cynara -r > /dev/null 2>&1 + fi + id -u cynara > /dev/null 2>&1 + if [ $? -eq 1 ]; then + useradd -d /var/lib/empty -s /sbin/nologin -r -g cynara cynara > /dev/null 2>&1 + fi + if [ $1 -gt 1 ] ; then + OLDVERSION="$(rpm -q --qf '%{version}' cynara)" + $D${prefix}/sbin/cynara/cynara-db-migration.sh upgrade -f ${OLDVERSION} -t 0.5.0 + else + $D${prefix}/sbin/cynara/cynara-db-migration.sh install -t 0.5.0 + fi + +} + +pkg_postinst_libcynara-agent() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ### Add file capabilities if needed + ### setcap/getcap binary are useful. To use them you must install libcap and libcap-tools packages + ### In such case uncomment Requires with those packages + systemctl daemon-reload + if [ $1 = 1 ]; then + systemctl enable cynara.service + fi + chsmack -a System ${localstatedir}/cynara/ + systemctl restart cynara.service + +} + +pkg_postinst_libcynara-creds-socket() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcynara-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcynara-creds-dbus() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcynara-session() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcynara-admin() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcynara-creds-commons() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcynara-commons() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ $1 = 0 ]; then + # unistall + systemctl stop cynara.service + fi + +} + +pkg_postrm_libcynara-creds-commons() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcynara-creds-socket() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcynara-agent() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcynara-admin() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + if [ $1 = 0 ]; then + $D${prefix}/sbin/cynara/cynara-db-migration.sh uninstall -f 0.5.0 + userdel -r cynara > /dev/null 2>&1 + groupdel cynara > /dev/null 2>&1 + systemctl daemon-reload + fi + +} + +pkg_postrm_libcynara-creds-dbus() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcynara-session() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcynara-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcynara-commons() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " cynara-tests " +PACKAGES += " libcynara-client " +PACKAGES += " libcynara-creds-dbus " +PACKAGES += " cynara-db-migration " +PACKAGES += " cynara-dev " +PACKAGES += " cyad " +PACKAGES += " cynara " +PACKAGES += " libcynara-commons " +PACKAGES += " libcynara-admin " +PACKAGES += " libcynara-creds-commons " +PACKAGES += " libcynara-creds-socket " +PACKAGES += " libcynara-agent " +PACKAGES += " libcynara-session " + +cynara-tests_files = "" +cynara-tests_files += "/usr/bin/cynara-tests" +cynara-tests_files += "${prefix}/share/cynara/tests/db*/*" +cynara-tests_files += "%attr(755,root,root) ${prefix}/share/cynara/tests/empty_db" +MANIFESTFILES_${PN}-tests = "cynara-tests.manifest" +DIRFILES_${PN}-tests = "" +DIRFILES_${PN}-tests += "%attr(755,root,root) ${prefix}/share/cynara/tests/empty_db" + +libcynara-client_files = "" +libcynara-client_files += "${prefix}/lib/libcynara-client.so.*" +libcynara-client_files += "${prefix}/lib/libcynara-client-async.so.*" +libcynara-client_files += "${prefix}/lib/libcynara-client-commons.so.*" +libcynara-client_files += "%attr(755,cynara,cynara) ${prefix}/lib/cynara/plugin/client" +MANIFESTFILES_lib${PN}-client = "libcynara-client.manifest" +DIRFILES_lib${PN}-client = "" +DIRFILES_lib${PN}-client += "%attr(755,cynara,cynara) ${prefix}/lib/cynara/plugin/client" + +libcynara-creds-dbus_files = "" +libcynara-creds-dbus_files += "${prefix}/lib/libcynara-creds-dbus.so.*" +MANIFESTFILES_lib${PN}-creds-dbus = "libcynara-creds-dbus.manifest" + +cynara-db-migration_files = "" +cynara-db-migration_files += "${prefix}/sbin/cynara/cynara-db-migration.sh" +MANIFESTFILES_${PN}-db-migration = "cynara-db-migration.manifest" + +cynara-dev_files = "" +cynara-dev_files += "${prefix}/include/cynara/*.h" +cynara-dev_files += "${prefix}/include/cynara/log/*.h" +cynara-dev_files += "${prefix}/include/cynara/plugin/*.h" +cynara-dev_files += "${prefix}/include/cynara/types/*.h" +cynara-dev_files += "${prefix}/lib/pkgconfig/*.pc" +cynara-dev_files += "${prefix}/lib/*.so" + +cyad_files = "" +cyad_files += "${prefix}/sbin/cyad" +MANIFESTFILES_cyad = "cyad.manifest" + +cynara_files = "" +cynara_files += "/usr/bin/cynara" +cynara_files += "/usr/lib/systemd/system/cynara.service" +cynara_files += "/usr/lib/systemd/system/cynara.target" +cynara_files += "/usr/lib/systemd/system/sockets.target.wants/cynara.socket" +cynara_files += "/usr/lib/systemd/system/cynara.socket" +cynara_files += "/usr/lib/systemd/system/sockets.target.wants/cynara-admin.socket" +cynara_files += "/usr/lib/systemd/system/cynara-admin.socket" +cynara_files += "/usr/lib/systemd/system/sockets.target.wants/cynara-agent.socket" +cynara_files += "/usr/lib/systemd/system/cynara-agent.socket" +cynara_files += "%attr(700,cynara,cynara) ${localstatedir}/cynara/" +cynara_files += "%attr(755,cynara,cynara) ${prefix}/lib/cynara/plugin/service" +MANIFESTFILES_${PN} = "cynara.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "%attr(700,cynara,cynara) ${localstatedir}/cynara/" +DIRFILES_${PN} += "%attr(755,cynara,cynara) ${prefix}/lib/cynara/plugin/service" + +libcynara-commons_files = "" +libcynara-commons_files += "${prefix}/lib/libcynara-commons.so.*" +libcynara-commons_files += "${prefix}/lib/libcynara-storage.so.*" +MANIFESTFILES_lib${PN}-commons = "libcynara-commons.manifest" + +libcynara-admin_files = "" +libcynara-admin_files += "${prefix}/lib/libcynara-admin.so.*" +MANIFESTFILES_lib${PN}-admin = "libcynara-admin.manifest" + +libcynara-creds-commons_files = "" +libcynara-creds-commons_files += "${prefix}/lib/libcynara-creds-commons.so.*" +libcynara-creds-commons_files += "${sysconfdir}/cynara/creds.conf" +MANIFESTFILES_lib${PN}-creds-commons = "libcynara-creds-commons.manifest" + +libcynara-creds-socket_files = "" +libcynara-creds-socket_files += "${prefix}/lib/libcynara-creds-socket.so.*" +MANIFESTFILES_lib${PN}-creds-socket = "libcynara-creds-socket.manifest" + +libcynara-agent_files = "" +libcynara-agent_files += "${prefix}/lib/libcynara-agent.so.*" +MANIFESTFILES_lib${PN}-agent = "libcynara-agent.manifest" + +libcynara-session_files = "" +libcynara-session_files += "${prefix}/lib/libcynara-session.so.*" +MANIFESTFILES_lib${PN}-session = "libcynara-session.manifest" + +FILES_${PN}-tests = "${cynara-tests_files}" +FILES_lib${PN}-client = "${libcynara-client_files}" +FILES_lib${PN}-creds-dbus = "${libcynara-creds-dbus_files}" +FILES_${PN}-db-migration = "${cynara-db-migration_files}" +FILES_${PN}-dev = "${cynara-dev_files}" +FILES_cyad = "${cyad_files}" +FILES_${PN} = "${cynara_files}" +FILES_lib${PN}-commons = "${libcynara-commons_files}" +FILES_lib${PN}-admin = "${libcynara-admin_files}" +FILES_lib${PN}-creds-commons = "${libcynara-creds-commons_files}" +FILES_lib${PN}-creds-socket = "${libcynara-creds-socket_files}" +FILES_lib${PN}-agent = "${libcynara-agent_files}" +FILES_lib${PN}-session = "${libcynara-session_files}" + +PKG_cynara-tests= "cynara-tests" +PKG_libcynara-client= "libcynara-client" +PKG_libcynara-creds-dbus= "libcynara-creds-dbus" +PKG_cynara-db-migration= "cynara-db-migration" +PKG_cynara-dev= "cynara-dev" +PKG_cyad= "cyad" +PKG_cynara= "cynara" +PKG_libcynara-commons= "libcynara-commons" +PKG_libcynara-admin= "libcynara-admin" +PKG_libcynara-creds-commons= "libcynara-creds-commons" +PKG_libcynara-creds-socket= "libcynara-creds-socket" +PKG_libcynara-agent= "libcynara-agent" +PKG_libcynara-session= "libcynara-session" + +require cynara-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/cynara/cynara_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/cynara/cynara_git.bb new file mode 100644 index 0000000000..ca0e0e2227 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/cynara/cynara_git.bb @@ -0,0 +1,10 @@ +require cynara.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/cynara;tag=6c079ffeed2e4dc0c8cec00e5a7da67f3c5e2564;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/default-ac-domains/default-ac-domains.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/default-ac-domains/default-ac-domains.inc new file mode 100644 index 0000000000..e361f332ca --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/default-ac-domains/default-ac-domains.inc @@ -0,0 +1,74 @@ +DESCRIPTION = "The definition of default ac domains" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Access Control" +LICENSE = "GPL-2.0" +PV = "0.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by default-ac-domains + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + cp ${S}/packaging/default-ac-domains.manifest . + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " default-ac-domains " + +default-ac-domains_files = "" +MANIFESTFILES_${PN} = "default-ac-domains.manifest" + +FILES_${PN} = "${default-ac-domains_files}" + +PKG_default-ac-domains= "default-ac-domains" + +require default-ac-domains-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/default-ac-domains/default-ac-domains_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/default-ac-domains/default-ac-domains_git.bb new file mode 100644 index 0000000000..921a2da09c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/default-ac-domains/default-ac-domains_git.bb @@ -0,0 +1,10 @@ +require default-ac-domains.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/default-ac-domains;tag=e0e07131d5999d39f5ab3ea5f54bf83e81abafc3;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gcr/gcr.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gcr/gcr.inc new file mode 100644 index 0000000000..ef52271022 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gcr/gcr.inc @@ -0,0 +1,240 @@ +DESCRIPTION = "Library for Crypto UI related task" +HOMEPAGE = "http://www.gnome.org" +SECTION = "Security/Crypto Libraries" +LICENSE = "LGPL-2.1+" +PV = "3.8.2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by typelib-Gcr +PROVIDES += "typelib-Gcr" + + +#PROVIDES by libgcr +PROVIDES += "libgcr" + + +#PROVIDES by libgcr-dev +PROVIDES += "libgcr-dev" + + +#PROVIDES by gcr + + +#PROVIDES by typelib-Gck +PROVIDES += "typelib-Gck" + + +#PROVIDES by libgck +PROVIDES += "libgck" +# the PROVIDES rules is ignore "gck = 3.8.2" +PROVIDES += "gck" +RPROVIDES_libgck += "gck" + + +#PROVIDES by gcr-data +PROVIDES += "gcr-data" + + +#PROVIDES by libgck-dev +PROVIDES += "libgck-dev" + + +RDEPENDS = "" +#RDEPENDS of libgcr (lib${PN}) +RDEPENDS_lib${PN} += "gcr-data" + +#RDEPENDS of libgcr-dev (lib${PN}-dev) +RDEPENDS_lib${PN}-dev += "typelib-Gcr" +RDEPENDS_lib${PN}-dev += "libgcr" + +#RDEPENDS of gcr-data (${PN}-data) +RDEPENDS_${PN}-data += "glib-2.0" + +#RDEPENDS of libgck-dev (libgck-dev) +RDEPENDS_libgck-dev += "typelib-Gck" +RDEPENDS_libgck-dev += "libgck" + + +DEPENDS = "" +#DEPENDS of gcr +DEPENDS += "shared-mime-info" +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +DEPENDS += "p11-kit" +DEPENDS += "gnome-common" +DEPENDS += "dbus" +DEPENDS += "libtasn1" +inherit pkgconfig +DEPENDS += "gpg2" +DEPENDS += "glib-2.0" +DEPENDS += "update-desktop-files" +DEPENDS += "gtk-doc-stub" +DEPENDS += "libgcrypt" +DEPENDS += "gtk-doc" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + + autotools_do_configure + + make + + + +} +EXTRA_OECONF += " --with-gtk=no --disable-gtk-doc-html" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + #find_lang gcr + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + %glib2_gsettings_schema_post + %icon_theme_cache_post + +} + +pkg_postinst_libgcr() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libgck() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libgcr() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libgck() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + %glib2_gsettings_schema_postun + %icon_theme_cache_postun + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " typelib-Gcr " +PACKAGES += " libgcr " +PACKAGES += " libgcr-dev " +PACKAGES += " typelib-Gck " +PACKAGES += " libgck " +PACKAGES += " gcr-data " +PACKAGES += " libgck-dev " + +typelib-Gcr_files = "" +typelib-Gcr_files += "${prefix}/lib/girepository-1.0/Gcr-3.typelib" + +libgcr_files = "" +libgcr_files += "${prefix}/lib/libgcr-base-3.so.*" + +libgcr-dev_files = "" +libgcr-dev_files += "${prefix}/lib/libgcr-base-3.so" +libgcr-dev_files += "${prefix}/lib/pkgconfig/gcr-base-3.pc" +libgcr-dev_files += "${prefix}/include/gcr-3/" + +typelib-Gck_files = "" +typelib-Gck_files += "${prefix}/lib/girepository-1.0/Gck-1.typelib" + +libgck_files = "" +libgck_files += "${prefix}/lib/libgck-1.so.*" + +gcr-data_files = "" +gcr-data_files += "${prefix}/share/GConf" +gcr-data_files += "${prefix}/share/GConf/gsettings" +gcr-data_files += "${prefix}/share/GConf/gsettings/org.gnome.crypto.pgp.convert" +gcr-data_files += "${prefix}/share/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert" +gcr-data_files += "${prefix}/share/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml" +DIRFILES_${PN}-data = "" +DIRFILES_${PN}-data += "${prefix}/share/GConf" +DIRFILES_${PN}-data += "${prefix}/share/GConf/gsettings" + +libgck-dev_files = "" +libgck-dev_files += "${prefix}/lib/libgck-1.so" +libgck-dev_files += "${prefix}/lib/pkgconfig/gck-1.pc" +libgck-dev_files += "${prefix}/include/gck-1/" +libgck-dev_files += "${prefix}/share/gir-1.0/Gck-1.gir" +libgck-dev_files += "${prefix}/share/gir-1.0/Gcr-3.gir" + +FILES_typelib-Gcr = "${typelib-Gcr_files}" +FILES_lib${PN} = "${libgcr_files}" +FILES_lib${PN}-dev = "${libgcr-dev_files}" +FILES_typelib-Gck = "${typelib-Gck_files}" +FILES_libgck = "${libgck_files}" +FILES_${PN}-data = "${gcr-data_files}" +FILES_libgck-dev = "${libgck-dev_files}" + +PKG_typelib-Gcr= "typelib-Gcr" +PKG_libgcr= "libgcr" +PKG_libgcr-dev= "libgcr-dev" +PKG_typelib-Gck= "typelib-Gck" +PKG_libgck= "libgck" +PKG_gcr-data= "gcr-data" +PKG_libgck-dev= "libgck-dev" + +require gcr-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gcr/gcr_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gcr/gcr_git.bb new file mode 100644 index 0000000000..1eb1634cfd --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gcr/gcr_git.bb @@ -0,0 +1,10 @@ +require gcr.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gcr;tag=3d139a70d06ebf222b786a00cd6d3af2f473f4d7;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gpg2/gpg2.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gpg2/gpg2.inc new file mode 100644 index 0000000000..ffbbf5e138 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gpg2/gpg2.inc @@ -0,0 +1,147 @@ +DESCRIPTION = "GnuPG 2" +HOMEPAGE = "http://www.gnupg.org/aegypten2/" +SECTION = "Security/Certificate Management" +LICENSE = "GPL-3.0+" +PV = "2.0.19" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by gpg2 +# the PROVIDES rules is ignore "gnupg = 2.0.19" +PROVIDES += "gnupg" +RPROVIDES_gpg2 += "gnupg" +# the PROVIDES rules is ignore "gpg = 1.4.9" +PROVIDES += "gpg" +RPROVIDES_gpg2 += "gpg" +# the PROVIDES rules is ignore "newpg " +PROVIDES += "newpg" +RPROVIDES_gpg2 += "newpg" +# the PROVIDES rules is ignore "gpg2_signd_support " +PROVIDES += "gpg2_signd_support" +RPROVIDES_gpg2 += "gpg2_signd_support" + + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of gpg2 +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "libksba" +DEPENDS += "libassuan" +DEPENDS += "adns" +DEPENDS += "pth" +DEPENDS += "zlib" +inherit pkgconfig +DEPENDS += "libgpg-error" +DEPENDS_append_class-native = " automake-native" +DEPENDS_append_class-target = " automake-native" +DEPENDS_append_class-native = " readline-native" +DEPENDS_append_class-target = " readline-native" +DEPENDS += "libusb" +DEPENDS += "expect" +DEPENDS += "curl" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "libgcrypt" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gnupg-2.0.19 + cp ${S}/packaging/gpg2.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + # build PIEs (position independent executables) for address space randomisation: + PIE="-fpie" + export CFLAGS="$CFLAGS ${PIE}" + export LDFLAGS=-pie + + + autotools_do_configure + + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --libexecdir=${prefix}/lib --docdir=${prefix}/share/doc/packages/gpg2 --with-agent-pgm=${prefix}/bin/gpg-agent --with-scdaemon-pgm=${prefix}/bin/scdaemon --enable-gpgsm=yes --enable-gpg --with-gnu-ld --disable-doc" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${sysconfdir}/gnupg/ + + install -m 644 doc/examples/gpgconf.conf ${D}${sysconfdir}/gnupg + + rm -rf ${D}${prefix}/share/doc/packages/gpg2/examples/gpgconf.conf + + ln -sf gpg2 ${D}${prefix}/bin/gpg + ln -sf gpgv2 ${D}${prefix}/bin/gpgv + + rm -rf ${D}${prefix}/share/locale/en@{bold,}quot + rm -rf ${D}${prefix}/share/locale/en@{bold,}quot + rm -fr ${D}${prefix}/share/doc + + #find_lang gnupg2 + + #fdupes ${D} + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " gpg2 " + +gpg2_files = "" +gpg2_files += "${prefix}/bin/*" +gpg2_files += "${prefix}/lib/[^d]*" +gpg2_files += "${prefix}/sbin/addgnupghome" +gpg2_files += "${prefix}/sbin/applygnupgdefaults" +gpg2_files += "${prefix}/share/gnupg" +gpg2_files += "${sysconfdir}/gnupg/gpgconf.conf" +MANIFESTFILES_${PN} = "gpg2.manifest" + +FILES_${PN} = "${gpg2_files}" + +PKG_gpg2= "gpg2" + +require gpg2-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gpg2/gpg2_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gpg2/gpg2_git.bb new file mode 100644 index 0000000000..205e13d49e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gpg2/gpg2_git.bb @@ -0,0 +1,10 @@ +require gpg2.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gpg2;tag=fd45bba47cfbab680118e8154c47993549dfbad6;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-oauth/gsignond-plugin-oauth.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-oauth/gsignond-plugin-oauth.inc new file mode 100644 index 0000000000..60c384b652 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-oauth/gsignond-plugin-oauth.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "OAuth plugin for GLib" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Accounts" +LICENSE = "LGPL-2.1+" +PV = "1.0.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by gsignond-plugin-oauth + + +#PROVIDES by gsignond-plugin-oauth-doc +PROVIDES += "gsignond-plugin-oauth-doc" + + +RDEPENDS = "" +#RDEPENDS of gsignond-plugin-oauth (${PN}) +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of gsignond-plugin-oauth-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "gsignond-plugin-oauth" + + +DEPENDS = "" +#DEPENDS of gsignond-plugin-oauth +DEPENDS += "gsignond" +inherit pkgconfig +DEPENDS += "glib-2.0" +DEPENDS += "libsoup-2.4" +DEPENDS += "json-glib" +DEPENDS += "gnutls" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gsignond-plugin-oauth-1.0.0 + cp ${S}/packaging/gsignond-plugin-oauth.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " gsignond-plugin-oauth " + +gsignond-plugin-oauth_files = "" +gsignond-plugin-oauth_files += "${prefix}/lib/gsignond/gplugins/liboauth*.so" +MANIFESTFILES_${PN} = "gsignond-plugin-oauth.manifest" + +gsignond-plugin-oauth-doc_files = "" +gsignond-plugin-oauth-doc_files += "${prefix}/share/gtk-doc/html/gsignond-plugin-oauth/*" + +FILES_${PN} = "${gsignond-plugin-oauth_files}" +FILES_${PN}-doc = "${gsignond-plugin-oauth-doc_files}" + +PKG_gsignond-plugin-oauth= "gsignond-plugin-oauth" +PKG_gsignond-plugin-oauth-doc= "gsignond-plugin-oauth-doc" + +require gsignond-plugin-oauth-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-oauth/gsignond-plugin-oauth_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-oauth/gsignond-plugin-oauth_git.bb new file mode 100644 index 0000000000..b06fe2f791 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-oauth/gsignond-plugin-oauth_git.bb @@ -0,0 +1,10 @@ +require gsignond-plugin-oauth.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gsignond-plugin-oauth;tag=8dddc2078d70cc193189e02d07f66f75fc828843;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-sasl/gsignond-plugin-sasl.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-sasl/gsignond-plugin-sasl.inc new file mode 100644 index 0000000000..da244c3df5 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-sasl/gsignond-plugin-sasl.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "SASL plugin for GLib" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Accounts" +LICENSE = "LGPL-2.1+" +PV = "1.0.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by gsignond-plugin-sasl-doc +PROVIDES += "gsignond-plugin-sasl-doc" + + +#PROVIDES by gsignond-plugin-sasl + + +RDEPENDS = "" +#RDEPENDS of gsignond-plugin-sasl-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "gsignond-plugin-sasl" + +#RDEPENDS of gsignond-plugin-sasl (${PN}) +RDEPENDS_${PN} += "glibc" + + +DEPENDS = "" +#DEPENDS of gsignond-plugin-sasl +DEPENDS += "gsignond" +DEPENDS += "libgsasl" +inherit pkgconfig +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gsignond-plugin-sasl-1.0.0 + cp ${S}/packaging/gsignond-plugin-sasl.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " gsignond-plugin-sasl " + +gsignond-plugin-sasl-doc_files = "" +gsignond-plugin-sasl-doc_files += "${prefix}/share/gtk-doc/html/gsignond-plugin-sasl/*" + +gsignond-plugin-sasl_files = "" +gsignond-plugin-sasl_files += "${prefix}/lib/gsignond/gplugins/libsasl*.so" +MANIFESTFILES_${PN} = "gsignond-plugin-sasl.manifest" + +FILES_${PN}-doc = "${gsignond-plugin-sasl-doc_files}" +FILES_${PN} = "${gsignond-plugin-sasl_files}" + +PKG_gsignond-plugin-sasl-doc= "gsignond-plugin-sasl-doc" +PKG_gsignond-plugin-sasl= "gsignond-plugin-sasl" + +require gsignond-plugin-sasl-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-sasl/gsignond-plugin-sasl_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-sasl/gsignond-plugin-sasl_git.bb new file mode 100644 index 0000000000..0fe5a7acc0 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond-plugin-sasl/gsignond-plugin-sasl_git.bb @@ -0,0 +1,10 @@ +require gsignond-plugin-sasl.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gsignond-plugin-sasl;tag=74233b7793f7f012aaeb3118694f7dfbe35f0d38;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond/gsignond.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond/gsignond.inc new file mode 100644 index 0000000000..ea06544472 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond/gsignond.inc @@ -0,0 +1,162 @@ +DESCRIPTION = "GLib based Single Sign-On daemon" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Accounts" +LICENSE = "LGPL-2.1+ and GPL-2.0+" +PV = "1.0.3" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by gsignond-doc +PROVIDES += "gsignond-doc" + + +#PROVIDES by gsignond +# the PROVIDES rules is ignore "gsignon " +PROVIDES += "gsignon" +RPROVIDES_gsignond += "gsignon" + + +#PROVIDES by gsignond-dev +PROVIDES += "gsignond-dev" + + +RDEPENDS = "" +#RDEPENDS of gsignond-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "gsignond" + +#RDEPENDS of gsignond (${PN}) +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of gsignond-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "gsignond" + + +DEPENDS = "" +#DEPENDS of gsignond +inherit pkgconfig +DEPENDS += "glib-2.0" +DEPENDS += "ecryptfs-utils" +DEPENDS += "smack" +DEPENDS += "sqlite3" +DEPENDS += "dbus" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n gsignond-1.0.3 + cp ${S}/packaging/gsignond.manifest . + cp ${S}/packaging/gsignond-cleandb . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + autoreconf -ivf + + autotools_do_configure + + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --enable-dbus-type=p2p" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -m 755 -d ${D}${prefix}/lib/systemd/user + install -m 644 data/gsignond.service ${D}${prefix}/lib/systemd/user/ + install -m 755 -d ${D}${prefix}/lib/systemd/user/default.target.wants + ln -sf ../gsignond.service ${D}${prefix}/lib/systemd/user/default.target.wants/gsignond.service + install -m 755 -d ${D}${sysconfdir}/gumd/userdel.d/ + install -m 755 gsignond-cleandb ${D}${sysconfdir}/gumd/userdel.d/ + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + chmod u+s $D${prefix}/bin/gsignond + getent group gsignond > /dev/null || /usr/sbin/groupadd -r gsignond + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " gsignond " +PACKAGES += " gsignond-dev " + +gsignond-doc_files = "" +gsignond-doc_files += "${prefix}/share/gtk-doc/html/gsignond/*" + +gsignond_files = "" +gsignond_files += "AUTHORS COPYING.LIB" +gsignond_files += "${prefix}/bin/gsignond" +gsignond_files += "${prefix}/lib/libgsignond-*.so.*" +gsignond_files += "${prefix}/lib/gsignond/extensions/*.so*" +gsignond_files += "${prefix}/lib/gsignond/gplugins/*.so*" +gsignond_files += "${prefix}/lib/gsignond/pluginloaders/gsignond-plugind" +gsignond_files += "${prefix}/lib/systemd/user/gsignond.service" +gsignond_files += "${prefix}/lib/systemd/user/default.target.wants/gsignond.service" +gsignond_files += "${sysconfdir}/gsignond.conf" +gsignond_files += "${sysconfdir}/gumd/userdel.d/" +MANIFESTFILES_${PN} = "gsignond.manifest" + +gsignond-dev_files = "" +gsignond-dev_files += "${prefix}/include/gsignond/*.h" +gsignond-dev_files += "${prefix}/lib/libgsignond-*.so" +gsignond-dev_files += "${prefix}/lib/pkgconfig/gsignond.pc" + +FILES_${PN}-doc = "${gsignond-doc_files}" +FILES_${PN} = "${gsignond_files}" +FILES_${PN}-dev = "${gsignond-dev_files}" + +PKG_gsignond-doc= "gsignond-doc" +PKG_gsignond= "gsignond" +PKG_gsignond-dev= "gsignond-dev" + +require gsignond-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond/gsignond_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond/gsignond_git.bb new file mode 100644 index 0000000000..631aeeac21 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/gsignond/gsignond_git.bb @@ -0,0 +1,10 @@ +require gsignond.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gsignond;tag=7205ca5442c3c3f48bbccf2b707df15a3e3da32a;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsasl/libgsasl.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsasl/libgsasl.inc new file mode 100644 index 0000000000..68fe143fd6 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsasl/libgsasl.inc @@ -0,0 +1,128 @@ +DESCRIPTION = "Library for perfoming SASL authentication" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Accounts" +LICENSE = "LGPL-2.1+" +PV = "1.8.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libgsasl-dev +PROVIDES += "libgsasl-dev" + + +#PROVIDES by libgsasl + + +RDEPENDS = "" +#RDEPENDS of libgsasl-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libgsasl" + +#RDEPENDS of libgsasl (${PN}) +RDEPENDS_${PN} += "glibc" + + +DEPENDS = "" +#DEPENDS of libgsasl +DEPENDS += "libgcrypt" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libgsasl-1.8.0 + cp ${S}/packaging/libgsasl.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + + +} +EXTRA_OECONF += " --with-libgcrypt" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #find_lang libgsasl + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libgsasl-dev " +PACKAGES += " libgsasl " + +libgsasl-dev_files = "" +libgsasl-dev_files += "${prefix}/include/gsasl*.h" +libgsasl-dev_files += "${prefix}/lib/libgsasl.so" +libgsasl-dev_files += "${prefix}/lib/pkgconfig/libgsasl.pc" +MANIFESTFILES_${PN}-dev = "libgsasl.manifest" + +libgsasl_files = "" +libgsasl_files += "AUTHORS NEWS README THANKS" +libgsasl_files += "${prefix}/lib/libgsasl.so.*" +MANIFESTFILES_${PN} = "libgsasl.manifest" + +FILES_${PN}-dev = "${libgsasl-dev_files}" +FILES_${PN} = "${libgsasl_files}" + +PKG_libgsasl-dev= "libgsasl-dev" +PKG_libgsasl= "libgsasl" + +require libgsasl-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsasl/libgsasl_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsasl/libgsasl_git.bb new file mode 100644 index 0000000000..a886f01edd --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsasl/libgsasl_git.bb @@ -0,0 +1,10 @@ +require libgsasl.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libgsasl;tag=edbe0cde3ef2bf4bc1248f053ddcf210fb27f2b3;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsignon-glib/libgsignon-glib.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsignon-glib/libgsignon-glib.inc new file mode 100644 index 0000000000..35f871217a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsignon-glib/libgsignon-glib.inc @@ -0,0 +1,139 @@ +DESCRIPTION = "GLib API for the SSO framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Accounts" +LICENSE = "LGPL-2.1" +PV = "2.3.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libgsignon-glib-dev +PROVIDES += "libgsignon-glib-dev" + + +#PROVIDES by libgsignon-glib + + +#PROVIDES by libgsignon-glib-doc +PROVIDES += "libgsignon-glib-doc" + + +RDEPENDS = "" +#RDEPENDS of libgsignon-glib-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libgsignon-glib" + +#RDEPENDS of libgsignon-glib (${PN}) +RDEPENDS_${PN} += "gsignon" +RDEPENDS_${PN} += "gsignond-plugin-oauth" +RDEPENDS_${PN} += "dbus" +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "gsignond-plugin-sasl" + + +DEPENDS = "" +#DEPENDS of libgsignon-glib +DEPENDS += "libcheck" +inherit pkgconfig +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libgsignon-glib-2.3.0 + cp ${S}/packaging/libgsignon-glib.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --enable-dbus-type=p2p" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libgsignon-glib-dev " +PACKAGES += " libgsignon-glib " + +libgsignon-glib-dev_files = "" +libgsignon-glib-dev_files += "${prefix}/include/libgsignon-glib/*.h" +libgsignon-glib-dev_files += "${prefix}/lib/libgsignon-glib.so" +libgsignon-glib-dev_files += "${prefix}/lib/pkgconfig/libgsignon-glib.pc" +libgsignon-glib-dev_files += "${prefix}/bin/gsso-example" +MANIFESTFILES_${PN}-dev = "libgsignon-glib.manifest" + +libgsignon-glib_files = "" +libgsignon-glib_files += "AUTHORS ChangeLog NEWS README" +libgsignon-glib_files += "${prefix}/lib/libgsignon-glib.so.*" +MANIFESTFILES_${PN} = "libgsignon-glib.manifest" + +libgsignon-glib-doc_files = "" +libgsignon-glib-doc_files += "${prefix}/share/gtk-doc/html/libgsignon-glib/*" + +FILES_${PN}-dev = "${libgsignon-glib-dev_files}" +FILES_${PN} = "${libgsignon-glib_files}" +FILES_${PN}-doc = "${libgsignon-glib-doc_files}" + +PKG_libgsignon-glib-dev= "libgsignon-glib-dev" +PKG_libgsignon-glib= "libgsignon-glib" +PKG_libgsignon-glib-doc= "libgsignon-glib-doc" + +require libgsignon-glib-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsignon-glib/libgsignon-glib_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsignon-glib/libgsignon-glib_git.bb new file mode 100644 index 0000000000..48db1a6306 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libgsignon-glib/libgsignon-glib_git.bb @@ -0,0 +1,10 @@ +require libgsignon-glib.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libgsignon-glib;tag=09502b1c5ce5f901be78bbae6eea19606252abc0;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control.inc new file mode 100644 index 0000000000..666ae82bb9 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control.inc @@ -0,0 +1,180 @@ +DESCRIPTION = "Library to control privilege of application" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Access Control" +LICENSE = "Apache-2.0" +PV = "0.0.43.TIZEN" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libprivilege-control + + +#PROVIDES by libprivilege-control-conf +PROVIDES += "libprivilege-control-conf" + + +#PROVIDES by libprivilege-control-dev +PROVIDES += "libprivilege-control-dev" + + +RDEPENDS = "" +#RDEPENDS of libprivilege-control (${PN}) +RDEPENDS_${PN} += "sqlite3" +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of libprivilege-control-conf (${PN}-conf) +RDEPENDS_${PN}-conf += "libprivilege-control" + +#RDEPENDS of libprivilege-control-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libprivilege-control" + + +DEPENDS = "" +#DEPENDS of libprivilege-control +inherit tizen_cmake +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "libiri" +DEPENDS += "smack" +DEPENDS += "sqlite3" +DEPENDS += "libcap" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libprivilege-control.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + export CFLAGS="${CFLAGS} -Wno-implicit-function-declaration" + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DCMAKE_BUILD_TYPE=RELEASE \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DTZ_SYS_DB=${prefix}/dbspace \ + -DTZ_SYS_HOME=/home \ + -DTZ_SYS_ETC=${sysconfdir} \ + -DSYSTEMD_UNIT_DIR=${systemd_unitdir}/system + + VERBOSE=1 oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${prefix}/share/privilege-control/ + mkdir -p ${D}${systemd_unitdir}/system/multi-user.target.wants + ln -sf ${systemd_unitdir}/system/smack-rules.service ${D}${systemd_unitdir}/system/multi-user.target.wants/smack-rules.service + mkdir -p ${D}${prefix}/dbspace + sed -i 's|TZ_SYS_DB|${prefix}/dbspace|g' ${S}/packaging/libprivilege-control.manifest + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + $D${prefix}/share/privilege-control/db/updater.sh + chsmack -a 'System' $D${prefix}/dbspace/.rules-db.db3* + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libprivilege-control " +PACKAGES += " libprivilege-control-conf " +PACKAGES += " libprivilege-control-dev " + +libprivilege-control_files = "" +libprivilege-control_files += "${prefix}/lib/*.so.*" +libprivilege-control_files += "${prefix}/lib/librules-db-sql-udf.so" +libprivilege-control_files += "${systemd_unitdir}/system/smack-rules.service" +libprivilege-control_files += "${prefix}/bin/api_feature_loader" +libprivilege-control_files += "${systemd_unitdir}/system/multi-user.target.wants/smack-rules.service" +libprivilege-control_files += "${prefix}/share/privilege-control/db/rules-db.sql" +libprivilege-control_files += "${prefix}/share/privilege-control/db/rules-db-data.sql" +libprivilege-control_files += "${prefix}/share/privilege-control/db/updater.sh" +libprivilege-control_files += "${prefix}/share/privilege-control/db/updates/*" +libprivilege-control_files += "${prefix}/share/privilege-control/db/load-rules-db.sql" +libprivilege-control_files += "${sysconfdir}/opt/upgrade/220.libprivilege-updater.patch.sh" +libprivilege-control_files += "%dir ${prefix}/dbspace" +MANIFESTFILES_${PN} = "libprivilege-control.manifest" + +libprivilege-control-conf_files = "" +libprivilege-control-conf_files += "${prefix}/dbspace/.privilege_control*.db" +MANIFESTFILES_${PN}-conf = "libprivilege-control.manifest" + +libprivilege-control-dev_files = "" +libprivilege-control-dev_files += "${prefix}/include/*.h" +libprivilege-control-dev_files += "${prefix}/lib/*.so" +libprivilege-control-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "libprivilege-control.manifest" + +FILES_${PN} = "${libprivilege-control_files}" +FILES_${PN}-conf = "${libprivilege-control-conf_files}" +FILES_${PN}-dev = "${libprivilege-control-dev_files}" + +PKG_libprivilege-control= "libprivilege-control" +PKG_libprivilege-control-conf= "libprivilege-control-conf" +PKG_libprivilege-control-dev= "libprivilege-control-dev" + +require libprivilege-control-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control_git.bb new file mode 100644 index 0000000000..1721f3becc --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libprivilege-control/libprivilege-control_git.bb @@ -0,0 +1,10 @@ +require libprivilege-control.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/libprivilege-control;tag=02e047c543cc35b40f0a59c81f65570cc557038e;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libsecret/libsecret.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libsecret/libsecret.inc new file mode 100644 index 0000000000..442f966af7 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libsecret/libsecret.inc @@ -0,0 +1,168 @@ +DESCRIPTION = "Library for accessing the Secret Service API" +HOMEPAGE = "http://www.gnome.org/" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1+" +PV = "0.18" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by typelib-Secret +PROVIDES += "typelib-Secret" + + +#PROVIDES by libsecret-dev +PROVIDES += "libsecret-dev" + + +#PROVIDES by libsecret + + +#PROVIDES by libsecret-docs +PROVIDES += "libsecret-docs " + + +#PROVIDES by libsecret-tools +PROVIDES += "libsecret-tools" + + +RDEPENDS = "" +#RDEPENDS of libsecret-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "typelib-Secret" +RDEPENDS_${PN}-dev += "libsecret" + + +DEPENDS = "" +#DEPENDS of libsecret +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +DEPENDS += "vala" +inherit pkgconfig +DEPENDS += "glib-2.0" +DEPENDS += "docbook-xsl-stylesheets" +DEPENDS += "gtk-doc-stub" +DEPENDS += "libxslt" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "libgcrypt" +DEPENDS += "gtk-doc" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + autotools_do_configure + + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --disable-static" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + #find_lang libsecret + rm -rf ${D}${prefix}/share/locales/* + #fdupes ${D} + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libsecret-tools " +PACKAGES += " libsecret-dev " +PACKAGES += " typelib-Secret " +PACKAGES += " libsecret-docs " +PACKAGES += " libsecret " + +libsecret-tools_files = "" +libsecret-tools_files += "${prefix}/bin/secret-tool" + +libsecret-dev_files = "" +libsecret-dev_files += "AUTHORS ChangeLog NEWS README" +libsecret-dev_files += "${prefix}/lib/libsecret-1.so" +libsecret-dev_files += "${prefix}/lib/pkgconfig/libsecret-1.pc" +libsecret-dev_files += "${prefix}/lib/pkgconfig/libsecret-unstable.pc" +libsecret-dev_files += "${prefix}/include/libsecret-1/" +libsecret-dev_files += "${prefix}/share/gir-1.0/Secret-1.gir" +libsecret-dev_files += "${prefix}/share/vala/vapi/libsecret-1.deps" +libsecret-dev_files += "${prefix}/share/vala/vapi/libsecret-1.vapi" + +typelib-Secret_files = "" +typelib-Secret_files += "${prefix}/lib/girepository-1.0/Secret-1.typelib" + +libsecret-docs_files = "" + +libsecret_files = "" +libsecret_files += "${prefix}/lib/libsecret-1.so.*" + +FILES_${PN}-tools = "${libsecret-tools_files}" +FILES_${PN}-dev = "${libsecret-dev_files}" +FILES_typelib-Secret = "${typelib-Secret_files}" +FILES_${PN}-docs = "${libsecret-docs_files}" +FILES_${PN} = "${libsecret_files}" + +PKG_libsecret-tools= "libsecret-tools" +PKG_libsecret-dev= "libsecret-dev" +PKG_typelib-Secret= "typelib-Secret" +PKG_libsecret-docs= "libsecret-docs" +PKG_libsecret= "libsecret" + +require libsecret-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libsecret/libsecret_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libsecret/libsecret_git.bb new file mode 100644 index 0000000000..e1600ea30e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/libsecret/libsecret_git.bb @@ -0,0 +1,10 @@ +require libsecret.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libsecret;tag=51c1459c069ef6a311d30c7cd8d9304feb4a1b24;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc new file mode 100644 index 0000000000..d72ad6ce1c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc @@ -0,0 +1,264 @@ +DESCRIPTION = "Privacy Management" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Libraries" +LICENSE = "Apache-2.0" +PV = "0.0.4" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by privacy-manager-client +PROVIDES += "privacy-manager-client" + + +#PROVIDES by privacy-manager-server + + +#PROVIDES by privacy-manager-server-dev +PROVIDES += "privacy-manager-server-dev" + + +#PROVIDES by capi-security-privacy-manager +PROVIDES += "capi-security-privacy-manager" + + +#PROVIDES by privacy-manager-client-dev +PROVIDES += "privacy-manager-client-dev" + + +#PROVIDES by capi-security-privacy-manager-dev +PROVIDES += "capi-security-privacy-manager-dev" + + +RDEPENDS = "" +#RDEPENDS of privacy-manager-client (privacy-manager-client) +RDEPENDS_privacy-manager-client += "privacy-manager-server" + +#RDEPENDS of privacy-manager-server (${PN}) +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of privacy-manager-server-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "privacy-manager-server" + +#RDEPENDS of capi-security-privacy-manager (capi-security-privacy-manager) +RDEPENDS_capi-security-privacy-manager += "privacy-manager-client" + +#RDEPENDS of privacy-manager-client-dev (privacy-manager-client-dev) +RDEPENDS_privacy-manager-client-dev += "privacy-manager-client" + +#RDEPENDS of capi-security-privacy-manager-dev (capi-security-privacy-manager-dev) +RDEPENDS_capi-security-privacy-manager-dev += "capi-security-privacy-manager" + + +DEPENDS = "" +#DEPENDS of privacy-manager-server +DEPENDS += "pkgmgr-info" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +inherit tizen_cmake +DEPENDS += "capi-system-info" +DEPENDS += "dbus-glib" +DEPENDS += "libxml2" +DEPENDS += "dbus" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "capi-base-common" +DEPENDS += "sqlite3" +DEPENDS += "tizen-platform-config" +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/privacy-manager-server.manifest . + cp ${S}/packaging/privacy-manager-server-devel.manifest . + cp ${S}/packaging/privacy-manager-client.manifest . + cp ${S}/packaging/privacy-manager-client-devel.manifest . + cp ${S}/packaging/capi-security-privacy-manager.manifest . + cp ${S}/packaging/capi-security-privacy-manager-devel.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DPREFIX=${prefix} \ + -DEXEC_PREFIX=${prefix} \ + -DLIBDIR=${prefix}/lib \ + -DINCLUDEDIR=${prefix}/include \ + -DCMAKE_BUILD_TYPE="Release" \ + -DVERSION=0.0.4 \ + -DFILTER_LISTED_PKG=ON \ + -DPRIVACY_POPUP=OFF + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}${prefix}/bin + cp res/usr/bin/* ${D}${prefix}/bin/ + mkdir -p ${D}${prefix}/dbspace + cp res/opt/dbspace/.privacylist.db /${D}${prefix}/dbspace + mkdir -p ${D}${prefix}/share/privacy-manager/ + cp res/usr/share/privacy-manager/privacy-filter-list.ini ${D}${prefix}/share/privacy-manager/ + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants + #install -m 0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/system/privacy-manager-server.service + #ln -sf /usr/lib/systemd/system/privacy-manager-server.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/privacy-manager-server.service + + + +} + +pkg_postinst_privacy-manager-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_privacy-manager-server() { + #!/bin/sh -e + + ldconfig + echo "Check privacy DB" + if [ ! -f $D${prefix}/dbspace/.privacy.db ] + then + echo "Create privacy DB" + privacy_manager_create_clean_db.sh + fi + chsmack -a 'User' $D${prefix}/dbspace/.privacy.db* + chsmack -a 'User' $D${prefix}/dbspace/.privacylist.db* + +} + +pkg_postinst_capi-security-privacy-manager() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_capi-security-privacy-manager() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_privacy-manager-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " privacy-manager-client " +PACKAGES += " privacy-manager-server " +PACKAGES += " privacy-manager-server-dev " +PACKAGES += " capi-security-privacy-manager " +PACKAGES += " privacy-manager-client-dev " +PACKAGES += " capi-security-privacy-manager-dev " + +privacy-manager-client_files = "" +privacy-manager-client_files += "${prefix}/lib/libprivacy-manager-client.so*" +privacy-manager-client_files += "${prefix}/share/privacy-manager/privacy-filter-list.ini" +privacy-manager-client_files += "${sysconfdir}/package-manager/parserlib/libprivileges.so" +MANIFESTFILES_privacy-manager-client = "privacy-manager-client.manifest" + +privacy-manager-server_files = "" +privacy-manager-server_files += "${prefix}/lib/libprivacy-manager-server.so*" +privacy-manager-server_files += "${prefix}/dbspace/.privacylist.db" +privacy-manager-server_files += "${prefix}/bin/*" +MANIFESTFILES_${PN} = "privacy-manager-server.manifest" + +privacy-manager-server-dev_files = "" +privacy-manager-server-dev_files += "${prefix}/include/privacy_manager/server/privacy_manager_daemon.h" +privacy-manager-server-dev_files += "${prefix}/lib/pkgconfig/privacy-manager-server.pc" + +capi-security-privacy-manager_files = "" +capi-security-privacy-manager_files += "${prefix}/lib/libcapi-security-privacy-manager.so.*" +MANIFESTFILES_capi-security-privacy-manager = "capi-security-privacy-manager.manifest" + +privacy-manager-client-dev_files = "" +privacy-manager-client-dev_files += "${prefix}/include/*" +privacy-manager-client-dev_files += "${prefix}/lib/pkgconfig/privacy-manager-client.pc" +MANIFESTFILES_privacy-manager-client-dev = "privacy-manager-client-devel.manifest" + +capi-security-privacy-manager-dev_files = "" +capi-security-privacy-manager-dev_files += "${prefix}/include/privacymgr/*.h" +capi-security-privacy-manager-dev_files += "${prefix}/lib/libcapi-security-privacy-manager.so" +capi-security-privacy-manager-dev_files += "${prefix}/lib/pkgconfig/capi-security-privacy-manager.pc" +MANIFESTFILES_capi-security-privacy-manager-dev = "capi-security-privacy-manager-devel.manifest" + +FILES_privacy-manager-client = "${privacy-manager-client_files}" +FILES_${PN} = "${privacy-manager-server_files}" +FILES_${PN}-dev = "${privacy-manager-server-dev_files}" +FILES_capi-security-privacy-manager = "${capi-security-privacy-manager_files}" +FILES_privacy-manager-client-dev = "${privacy-manager-client-dev_files}" +FILES_capi-security-privacy-manager-dev = "${capi-security-privacy-manager-dev_files}" + +PKG_privacy-manager-client= "privacy-manager-client" +PKG_privacy-manager-server= "privacy-manager-server" +PKG_privacy-manager-server-dev= "privacy-manager-server-dev" +PKG_capi-security-privacy-manager= "capi-security-privacy-manager" +PKG_privacy-manager-client-dev= "privacy-manager-client-dev" +PKG_capi-security-privacy-manager-dev= "capi-security-privacy-manager-dev" + +require privacy-manager-server-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server_git.bb new file mode 100644 index 0000000000..c975ba9154 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server_git.bb @@ -0,0 +1,10 @@ +require privacy-manager-server.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/privacy-manager;tag=866b0492038f7515b22f415f40c6edfa02e8cb84;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/secure-storage/secure-storage.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/secure-storage/secure-storage.inc new file mode 100644 index 0000000000..bb49608a0a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/secure-storage/secure-storage.inc @@ -0,0 +1,206 @@ +DESCRIPTION = "Secure storage" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Security" +LICENSE = "Apache 2.0" +PV = "0.12.9" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by secure-storage + + +#PROVIDES by ss-server +PROVIDES += "ss-server" + + +#PROVIDES by libss-client-dev +PROVIDES += "libss-client-dev" + + +#PROVIDES by libss-client +PROVIDES += "libss-client" +# the PROVIDES rules is ignore "libss-client.so " +PROVIDES += "libss-client.so" +RPROVIDES_libss-client += "libss-client.so" + + +RDEPENDS = "" +#RDEPENDS of libss-client (libss-client) +RDEPENDS_libss-client += "dukgenerator" + +#RDEPENDS of ss-server (ss-server) +RDEPENDS_ss-server += "libss-client" +RDEPENDS_ss-server += "systemd" + +#RDEPENDS of libss-client-dev (libss-client-dev) +RDEPENDS_libss-client-dev += "libss-client" + + +DEPENDS = "" +#DEPENDS of secure-storage +DEPENDS += "systemd" +DEPENDS += "openssl" +inherit tizen_cmake +DEPENDS += "security-server" +DEPENDS += "dlog" +inherit pkgconfig +DEPENDS += "dukgenerator" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libss-client.manifest ${S}/packaging/libss-client-devel.manifest ${S}/packaging/ss-server.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}${prefix}/lib/systemd/system/multi-user.target.wants + mkdir -p ${D}${prefix}/lib/systemd/system/sockets.target.wants + ln -s ../secure-storage.service ${D}${prefix}/lib/systemd/system/multi-user.target.wants/secure-storage.service + ln -s ../secure-storage.socket ${D}${prefix}/lib/systemd/system/sockets.target.wants/secure-storage.socket + + mkdir -p ${D}/usr/share/license + cp LICENSE.APLv2 ${D}/usr/share/license/ss-server + cp LICENSE.APLv2 ${D}/usr/share/license/libss-client + + +} + +pkg_postinst_libss-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_ss-server() { + #!/bin/sh -e + + systemctl daemon-reload + if [ $1 == 1 ]; then + systemctl enable secure-storage.service -q + systemctl restart secure-storage.service + fi + +} + +pkg_prerm_ss-server() { + #!/bin/sh -e + + if [ $1 == 0 ]; then + systemctl stop secure-storage.service + systemctl disable secure-storage.service -q + fi + +} + +pkg_postrm_libss-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_ss-server() { + #!/bin/sh -e + + systemctl daemon-reload + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libss-client " +PACKAGES += " ss-server " +PACKAGES += " libss-client-dev " + +libss-client_files = "" +libss-client_files += "${prefix}/lib/libss-client.so.*" +libss-client_files += "/usr/share/license/libss-client" +MANIFESTFILES_libss-client = "libss-client.manifest" + +ss-server_files = "" +ss-server_files += "${prefix}/bin/ss-server" +ss-server_files += "${prefix}/lib/systemd/system/secure-storage.service" +ss-server_files += "${prefix}/lib/systemd/system/multi-user.target.wants/secure-storage.service" +ss-server_files += "${prefix}/lib/systemd/system/secure-storage.socket" +ss-server_files += "${prefix}/lib/systemd/system/sockets.target.wants/secure-storage.socket" +ss-server_files += "${prefix}/share/secure-storage/config" +ss-server_files += "/usr/share/license/ss-server" +MANIFESTFILES_ss-server = "ss-server.manifest" + +libss-client-dev_files = "" +libss-client-dev_files += "${prefix}/include/ss_manager.h" +libss-client-dev_files += "${prefix}/lib/pkgconfig/secure-storage.pc" +libss-client-dev_files += "${prefix}/lib/libss-client.so" +MANIFESTFILES_libss-client-dev = "libss-client-devel.manifest" + +FILES_libss-client = "${libss-client_files}" +FILES_ss-server = "${ss-server_files}" +FILES_libss-client-dev = "${libss-client-dev_files}" + +PKG_libss-client= "libss-client" +PKG_ss-server= "ss-server" +PKG_libss-client-dev= "libss-client-dev" + +require secure-storage-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/secure-storage/secure-storage_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/secure-storage/secure-storage_git.bb new file mode 100644 index 0000000000..cfd3a44235 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/secure-storage/secure-storage_git.bb @@ -0,0 +1,10 @@ +require secure-storage.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/secure-storage;tag=8e5c4dc0f1b514a945d0972d701a618e462f7adf;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-manager/security-manager.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-manager/security-manager.inc new file mode 100644 index 0000000000..ee9811d9d6 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-manager/security-manager.inc @@ -0,0 +1,230 @@ +DESCRIPTION = "Security manager and utilities" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Service" +LICENSE = "Apache-2.0" +PV = "0.2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by security-manager + + +#PROVIDES by libsecurity-manager-client +PROVIDES += "libsecurity-manager-client" + + +#PROVIDES by libsecurity-manager-client-dev +PROVIDES += "libsecurity-manager-client-dev" + + +RDEPENDS = "" +#RDEPENDS of security-manager (${PN}) +RDEPENDS_${PN} += "smack" +RDEPENDS_${PN} += "systemd" + +#RDEPENDS of libsecurity-manager-client (lib${PN}-client) +RDEPENDS_lib${PN}-client += "security-manager" +RDEPENDS_lib${PN}-client += "glibc" + +#RDEPENDS of libsecurity-manager-client-dev (lib${PN}-client-dev) +RDEPENDS_lib${PN}-client-dev += "libsecurity-manager-client" + + +DEPENDS = "" +#DEPENDS of security-manager +DEPENDS += "systemd" +inherit tizen_cmake +DEPENDS += "attr" +DEPENDS += "zip" +DEPENDS += "boost" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "smack" +DEPENDS += "pkgconfig(cynara-client)" +DEPENDS += "sqlite3" +DEPENDS += "libcap" +DEPENDS += "pkgconfig(cynara-admin)" +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/security-manager.manifest . + cp ${S}/packaging/libsecurity-manager-client.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + export LDFLAGS+="-Wl,--rpath=${prefix}/lib" + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DVERSION=0.2.0 \ + -DBIN_INSTALL_DIR=${prefix}/bin \ + -DDB_INSTALL_DIR=${prefix}/dbspace \ + -DSYSTEMD_INSTALL_DIR=${systemd_unitdir}/system \ + -DCMAKE_BUILD_TYPE=RELEASE \ + -DCMAKE_VERBOSE_MAKEFILE=ON + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + cp LICENSE ${D}/usr/share/license/security-manager + cp LICENSE ${D}/usr/share/license/libsecurity-manager-client + mkdir -p ${D}/${sysconfdir}/smack + cp app-rules-template.smack ${D}/${sysconfdir}/smack + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/${systemd_unitdir}/system/multi-user.target.wants + mkdir -p ${D}/${systemd_unitdir}/system/sockets.target.wants + ln -s ../security-manager.service ${D}/${systemd_unitdir}/system/multi-user.target.wants/security-manager.service + ln -s ../security-manager.socket ${D}/${systemd_unitdir}/system/sockets.target.wants/security-manager.socket + + +} + +pkg_postinst_libsecurity-manager-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + systemctl daemon-reload + if [ $1 = 1 ]; then + # installation + systemctl start security-manager.service + fi + if [ $1 = 2 ]; then + # update + systemctl restart security-manager.service + fi + chsmack -a System $D${prefix}/dbspace/.security-manager.db + chsmack -a System $D${prefix}/dbspace/.security-manager.db-journal + +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ $1 = 0 ]; then + # unistall + systemctl stop security-manager.service + fi + +} + +pkg_postrm_libsecurity-manager-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + if [ $1 = 0 ]; then + # unistall + systemctl daemon-reload + fi + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " security-manager " +PACKAGES += " libsecurity-manager-client " +PACKAGES += " libsecurity-manager-client-dev " + +security-manager_files = "" +security-manager_files += "${prefix}/bin/security-manager" +security-manager_files += "${prefix}/lib/libsecurity-manager-commons.so.*" +security-manager_files += "${systemd_unitdir}/system/multi-user.target.wants/security-manager.service" +security-manager_files += "${systemd_unitdir}/system/security-manager.service" +security-manager_files += "${systemd_unitdir}/system/security-manager.target" +security-manager_files += "${systemd_unitdir}/system/sockets.target.wants/security-manager.socket" +security-manager_files += "${systemd_unitdir}/system/security-manager.socket" +security-manager_files += "${sysconfdir}/smack/app-rules-template.smack" +security-manager_files += "%attr(0600,root,root) ${prefix}/dbspace/.security-manager.db" +security-manager_files += "%attr(0600,root,root) ${prefix}/dbspace/.security-manager.db-journal" +security-manager_files += "${prefix}/share/license/security-manager" +MANIFESTFILES_${PN} = "security-manager.manifest" + +libsecurity-manager-client_files = "" +libsecurity-manager-client_files += "${prefix}/lib/libsecurity-manager-client.so.*" +libsecurity-manager-client_files += "${prefix}/share/license/libsecurity-manager-client" +MANIFESTFILES_lib${PN}-client = "libsecurity-manager-client.manifest" + +libsecurity-manager-client-dev_files = "" +libsecurity-manager-client-dev_files += "${prefix}/lib/libsecurity-manager-client.so" +libsecurity-manager-client-dev_files += "${prefix}/lib/libsecurity-manager-commons.so" +libsecurity-manager-client-dev_files += "${prefix}/include/security-manager/security-manager.h" +libsecurity-manager-client-dev_files += "${prefix}/lib/pkgconfig/security-manager.pc" +MANIFESTFILES_lib${PN}-client-dev = "security-manager.manifest" + +FILES_${PN} = "${security-manager_files}" +FILES_lib${PN}-client = "${libsecurity-manager-client_files}" +FILES_lib${PN}-client-dev = "${libsecurity-manager-client-dev_files}" + +PKG_security-manager= "security-manager" +PKG_libsecurity-manager-client= "libsecurity-manager-client" +PKG_libsecurity-manager-client-dev= "libsecurity-manager-client-dev" + +require security-manager-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-manager/security-manager_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-manager/security-manager_git.bb new file mode 100644 index 0000000000..a927a8c503 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-manager/security-manager_git.bb @@ -0,0 +1,10 @@ +require security-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/security-manager;tag=3dec492df1a5a937ceed39c4985d9659860e5783;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-server/security-server.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-server/security-server.inc new file mode 100644 index 0000000000..bf02afed7b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-server/security-server.inc @@ -0,0 +1,262 @@ +DESCRIPTION = "Security server and utilities" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Service" +LICENSE = "Apache-2.0" +PV = "0.1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by security-server-certs +PROVIDES += "security-server-certs" + + +#PROVIDES by libsecurity-server-client +PROVIDES += "libsecurity-server-client" + + +#PROVIDES by security-server + + +#PROVIDES by security-server-dev +PROVIDES += "security-server-dev" + + +#PROVIDES by libsecurity-server-client-dev +PROVIDES += "libsecurity-server-client-dev" + + +RDEPENDS = "" +#RDEPENDS of security-server-certs (${PN}-certs) +RDEPENDS_${PN}-certs += "security-server" + +#RDEPENDS of libsecurity-server-client (lib${PN}-client) +RDEPENDS_lib${PN}-client += "glibc" +RDEPENDS_lib${PN}-client += "security-server" + +#RDEPENDS of libsecurity-server-client-dev (lib${PN}-client-dev) +RDEPENDS_lib${PN}-client-dev += "libprivilege-control-dev" +RDEPENDS_lib${PN}-client-dev += "libsecurity-server-client" + +#RDEPENDS of security-server-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "security-server" + +#RDEPENDS of security-server (${PN}) +RDEPENDS_${PN} += "systemd" + + +DEPENDS = "" +#DEPENDS of security-server +DEPENDS += "systemd" +inherit tizen_cmake +DEPENDS += "attr" +DEPENDS += "zip" +DEPENDS += "openssl" +DEPENDS += "dlog" +inherit pkgconfig +DEPENDS += "smack" +DEPENDS += "libcap" +DEPENDS += "libprivilege-control" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/security-server.manifest . + cp ${S}/packaging/libsecurity-server-client.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + export LDFLAGS="${LDFLAGS} -Wl,--rpath=${prefix}/lib" + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DVERSION=0.1.1 \ + -DCMAKE_BUILD_TYPE=RELEASE \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DSYSTEMD_DIR=${systemd_unitdir}/system + + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}${prefix}/share/license + cp LICENSE ${D}${prefix}/share/license/security-server + cp LICENSE ${D}${prefix}/share/license/libsecurity-server-client + mkdir -p ${D}${sysconfdir}/security/ + cp security-server-audit.conf ${D}${sysconfdir}/security/ + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}${systemd_unitdir}/system/multi-user.target.wants + mkdir -p ${D}${systemd_unitdir}/system/sockets.target.wants + ln -s ../security-server.service ${D}${systemd_unitdir}/system/multi-user.target.wants/security-server.service + ln -s ../security-server-data-share.socket ${D}${systemd_unitdir}/system/sockets.target.wants/security-server-data-share.socket + ln -s ../security-server-get-gid.socket ${D}${systemd_unitdir}/system/sockets.target.wants/security-server-get-gid.socket + ln -s ../security-server-privilege-by-pid.socket ${D}${systemd_unitdir}/system/sockets.target.wants/security-server-privilege-by-pid.socket + ln -s ../security-server-cookie-get.socket ${D}${systemd_unitdir}/system/sockets.target.wants/security-server-cookie-get.socket + ln -s ../security-server-cookie-check.socket ${D}${systemd_unitdir}/system/sockets.target.wants/security-server-cookie-check.socket + ln -s ../security-server-app-privilege-by-name.socket ${D}${systemd_unitdir}/system/sockets.target.wants/security-server-app-privilege-by-name.socket + ln -s ../security-server-password-check.socket ${D}${systemd_unitdir}/system/sockets.target.wants/security-server-password-check.socket + ln -s ../security-server-password-set.socket ${D}${systemd_unitdir}/system/sockets.target.wants/security-server-password-set.socket + ln -s ../security-server-password-reset.socket ${D}${systemd_unitdir}/system/sockets.target.wants/security-server-password-reset.socket + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + systemctl daemon-reload + if [ $1 = 1 ]; then + # installation + systemctl start security-server.service + fi + if [ $1 = 2 ]; then + # update + systemctl restart security-server.service + fi + +} + +pkg_postinst_libsecurity-server-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ $1 = 0 ]; then + # unistall + systemctl stop security-server.service + fi + +} + +pkg_postrm_libsecurity-server-client() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + if [ $1 = 0 ]; then + # unistall + systemctl daemon-reload + fi + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " security-server " +PACKAGES += " libsecurity-server-client " +PACKAGES += " libsecurity-server-client-dev " + +security-server_files = "" +security-server_files += "${prefix}/bin/security-server" +security-server_files += "${prefix}/lib/libsecurity-server-commons.so.*" +security-server_files += "${systemd_unitdir}/system/multi-user.target.wants/security-server.service" +security-server_files += "${systemd_unitdir}/system/security-server.service" +security-server_files += "${systemd_unitdir}/system/security-server.target" +security-server_files += "${systemd_unitdir}/system/sockets.target.wants/security-server-data-share.socket" +security-server_files += "${systemd_unitdir}/system/security-server-data-share.socket" +security-server_files += "${systemd_unitdir}/system/sockets.target.wants/security-server-get-gid.socket" +security-server_files += "${systemd_unitdir}/system/security-server-get-gid.socket" +security-server_files += "${systemd_unitdir}/system/sockets.target.wants/security-server-privilege-by-pid.socket" +security-server_files += "${systemd_unitdir}/system/security-server-privilege-by-pid.socket" +security-server_files += "${systemd_unitdir}/system/sockets.target.wants/security-server-cookie-get.socket" +security-server_files += "${systemd_unitdir}/system/security-server-cookie-get.socket" +security-server_files += "${systemd_unitdir}/system/sockets.target.wants/security-server-cookie-check.socket" +security-server_files += "${systemd_unitdir}/system/security-server-cookie-check.socket" +security-server_files += "${systemd_unitdir}/system/sockets.target.wants/security-server-app-privilege-by-name.socket" +security-server_files += "${systemd_unitdir}/system/security-server-app-privilege-by-name.socket" +security-server_files += "%attr(-,root,root) ${sysconfdir}/security/security-server-audit.conf" +security-server_files += "${systemd_unitdir}/system/sockets.target.wants/security-server-password-check.socket" +security-server_files += "${systemd_unitdir}/system/security-server-password-check.socket" +security-server_files += "${systemd_unitdir}/system/sockets.target.wants/security-server-password-set.socket" +security-server_files += "${systemd_unitdir}/system/security-server-password-set.socket" +security-server_files += "${systemd_unitdir}/system/sockets.target.wants/security-server-password-reset.socket" +security-server_files += "${systemd_unitdir}/system/security-server-password-reset.socket" +security-server_files += "${prefix}/share/license/security-server" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "%attr(-,root,root) ${sysconfdir}/security/security-server-audit.conf" +MANIFESTFILES_${PN} = "security-server.manifest" + +libsecurity-server-client_files = "" +libsecurity-server-client_files += "${prefix}/lib/libsecurity-server-client.so.*" +libsecurity-server-client_files += "${prefix}/share/license/libsecurity-server-client" +MANIFESTFILES_lib${PN}-client = "libsecurity-server-client.manifest" + +libsecurity-server-client-dev_files = "" +libsecurity-server-client-dev_files += "${prefix}/lib/libsecurity-server-client.so" +libsecurity-server-client-dev_files += "${prefix}/lib/libsecurity-server-commons.so" +libsecurity-server-client-dev_files += "${prefix}/include/security-server/security-server.h" +libsecurity-server-client-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_lib${PN}-client-dev = "security-server.manifest" + +FILES_${PN} = "${security-server_files}" +FILES_lib${PN}-client = "${libsecurity-server-client_files}" +FILES_lib${PN}-client-dev = "${libsecurity-server-client-dev_files}" + +PKG_security-server= "security-server" +PKG_libsecurity-server-client= "libsecurity-server-client" +PKG_libsecurity-server-client-dev= "libsecurity-server-client-dev" + +require security-server-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-server/security-server_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-server/security-server_git.bb new file mode 100644 index 0000000000..1ac572beea --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/security-server/security-server_git.bb @@ -0,0 +1,10 @@ +require security-server.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/security-server;tag=ae009054afbe5b8885da76af1a8127daa63742f6;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/smack/smack.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/smack/smack.inc new file mode 100644 index 0000000000..fcf10c725b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/smack/smack.inc @@ -0,0 +1,152 @@ +DESCRIPTION = "Selection of tools for developers working with Smack" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Access Control" +LICENSE = "LGPL-2.1" +PV = "1.0.5" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by smack-dev +PROVIDES += "smack-dev" + + +#PROVIDES by smack + + +#PROVIDES by libsmack +PROVIDES += "libsmack" + + +#PROVIDES by smack-docs +PROVIDES += "smack-docs " + + +RDEPENDS = "" +#RDEPENDS of smack-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "smack" + + +DEPENDS = "" +#DEPENDS of smack +DEPENDS_append_class-native = " autoconf-native" +DEPENDS_append_class-target = " autoconf-native" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +inherit pkgconfig +DEPENDS_append_class-native = " automake-native" +DEPENDS_append_class-target = " automake-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/smack.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + + make -j16 + + + +} +EXTRA_OECONF += " --with-systemdsystemunitdir=${systemd_unitdir}/system" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -d ${D}${sysconfdir}/smack/accesses.d + install -d ${D}${sysconfdir}/smack/cipso.d + install -d ${D}${sysconfdir}/smack/netlabel.d + + +} + +pkg_postinst_libsmack() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libsmack() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " smack-dev " +PACKAGES += " smack " +PACKAGES += " libsmack " +PACKAGES += " smack-docs " + +smack-dev_files = "" +smack-dev_files += "${prefix}/include/sys/smack.h" +smack-dev_files += "${prefix}/lib/libsmack.so" +smack-dev_files += "${prefix}/lib/pkgconfig/libsmack.pc" +MANIFESTFILES_${PN}-dev = "smack.manifest" + +smack_files = "" +smack_files += "${sysconfdir}/smack" +smack_files += "${sysconfdir}/smack/accesses.d" +smack_files += "${sysconfdir}/smack/cipso.d" +smack_files += "${sysconfdir}/smack/netlabel.d" +smack_files += "${prefix}/bin/*" +MANIFESTFILES_${PN} = "smack.manifest" + +libsmack_files = "" +libsmack_files += "${prefix}/lib/libsmack.so.*" +MANIFESTFILES_lib${PN} = "smack.manifest" + +smack-docs_files = "" + +FILES_${PN}-dev = "${smack-dev_files}" +FILES_${PN} = "${smack_files}" +FILES_lib${PN} = "${libsmack_files}" +FILES_${PN}-docs = "${smack-docs_files}" + +PKG_smack-dev= "smack-dev" +PKG_smack= "smack" +PKG_libsmack= "libsmack" +PKG_smack-docs= "smack-docs" + +require smack-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/smack/smack_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/smack/smack_git.bb new file mode 100644 index 0000000000..f200db7719 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/smack/smack_git.bb @@ -0,0 +1,10 @@ +require smack.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/smack;tag=66a110344be79ff2968ff6817ec72f569d852c17;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/xmlsec1/xmlsec1.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/xmlsec1/xmlsec1.inc new file mode 100644 index 0000000000..6486825221 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/xmlsec1/xmlsec1.inc @@ -0,0 +1,212 @@ +DESCRIPTION = "Library providing support for "XML Signature" and "XML Encryption" standards" +HOMEPAGE = "http://www.aleksey.com/xmlsec/index.html" +SECTION = "System/Libraries" +LICENSE = "MIT" +PV = "1.2.19" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by xmlsec1 + + +#PROVIDES by xmlsec1-dev-static +PROVIDES += "xmlsec1-dev-static" + + +#PROVIDES by xmlsec1-gcrypt +PROVIDES += "xmlsec1-gcrypt" + + +#PROVIDES by xmlsec1-openssl +PROVIDES += "xmlsec1-openssl" + + +#PROVIDES by xmlsec1-dev +PROVIDES += "xmlsec1-dev" + + +RDEPENDS = "" +#RDEPENDS of xmlsec1-dev-static (${PN}-dev-static) +RDEPENDS_${PN}-dev-static += "xmlsec1-dev" + +#RDEPENDS of xmlsec1-gcrypt (${PN}-gcrypt) +RDEPENDS_${PN}-gcrypt += "xmlsec1" + +#RDEPENDS of xmlsec1-openssl (${PN}-openssl) +RDEPENDS_${PN}-openssl += "xmlsec1" + +#RDEPENDS of xmlsec1-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "xmlsec1" + + +DEPENDS = "" +#DEPENDS of xmlsec1 +DEPENDS += "openssl" +DEPENDS += "libxml2" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +inherit pkgconfig +DEPENDS += "libxslt" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xmlsec1.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + autotools_do_configure + + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --enable-static --enable-dynamic --disable-crypto-dl --disable-apps-crypto-dl --without-gnutls" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + + + + rm -rf ${D}${infodir} + rm -rf ${D}${prefix}/share/doc/packages + rm -rf ${D}${prefix}/share/doc/xmlsec1 + rm -rf ${D}${prefix}/share/doc/xmlsec1-1.2.19 + rm -rf ${D}${prefix}/share/gtk-doc + rm -rf ${D}${prefix}/share/doc + rm -rf ${D}${prefix}/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + #fdupes ${D} + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " xmlsec1 " +PACKAGES += " xmlsec1-dev-static " +PACKAGES += " xmlsec1-gcrypt " +PACKAGES += " xmlsec1-openssl " +PACKAGES += " xmlsec1-dev " + +xmlsec1_files = "" +xmlsec1_files += "Copyright" +xmlsec1_files += "${prefix}/lib/libxmlsec1.so.*" +xmlsec1_files += "${prefix}/bin/xmlsec1" +MANIFESTFILES_${PN} = "xmlsec1.manifest" + +xmlsec1-dev-static_files = "" +xmlsec1-dev-static_files += "${prefix}/lib/*.a" +MANIFESTFILES_${PN}-dev-static = "xmlsec1.manifest" + +xmlsec1-gcrypt_files = "" +xmlsec1-gcrypt_files += "${prefix}/lib/libxmlsec1-gcrypt.so.*" +MANIFESTFILES_${PN}-gcrypt = "xmlsec1.manifest" + +xmlsec1-openssl_files = "" +xmlsec1-openssl_files += "${prefix}/lib/libxmlsec1-openssl.so.*" +MANIFESTFILES_${PN}-openssl = "xmlsec1.manifest" + +xmlsec1-dev_files = "" +xmlsec1-dev_files += "Copyright" +xmlsec1-dev_files += "${prefix}/include/xmlsec1" +xmlsec1-dev_files += "${prefix}/bin/xmlsec1-config" +xmlsec1-dev_files += "${prefix}/lib/lib*.so" +xmlsec1-dev_files += "${prefix}/lib/pkgconfig/*" +xmlsec1-dev_files += "${prefix}/lib/xmlsec1Conf.sh" +xmlsec1-dev_files += "${prefix}/share/aclocal/xmlsec1.m4" +MANIFESTFILES_${PN}-dev = "xmlsec1.manifest" + +FILES_${PN} = "${xmlsec1_files}" +FILES_${PN}-dev-static = "${xmlsec1-dev-static_files}" +FILES_${PN}-gcrypt = "${xmlsec1-gcrypt_files}" +FILES_${PN}-openssl = "${xmlsec1-openssl_files}" +FILES_${PN}-dev = "${xmlsec1-dev_files}" + +PKG_xmlsec1= "xmlsec1" +PKG_xmlsec1-dev-static= "xmlsec1-dev-static" +PKG_xmlsec1-gcrypt= "xmlsec1-gcrypt" +PKG_xmlsec1-openssl= "xmlsec1-openssl" +PKG_xmlsec1-dev= "xmlsec1-dev" + +require xmlsec1-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/xmlsec1/xmlsec1_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/xmlsec1/xmlsec1_git.bb new file mode 100644 index 0000000000..6ee3296c03 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-security/xmlsec1/xmlsec1_git.bb @@ -0,0 +1,10 @@ +require xmlsec1.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xmlsec1;tag=fe8ea3dba5971ab3f47090ba52d7f824c3d23545;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/calendar-service/calendar-service.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/calendar-service/calendar-service.inc new file mode 100644 index 0000000000..c701cf03e1 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/calendar-service/calendar-service.inc @@ -0,0 +1,170 @@ +DESCRIPTION = "DB library for calendar" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Social & Content/Calendar" +LICENSE = "Apache 2.0" +PV = "0.1.15" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by calendar-service + + +#PROVIDES by calendar-service-dev +PROVIDES += "calendar-service-dev" + + +RDEPENDS = "" +#RDEPENDS of calendar-service (${PN}) +RDEPENDS_${PN} += "sqlite3" +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of calendar-service-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "calendar-service" +RDEPENDS_${PN}-dev += "alarm-manager" + + +DEPENDS = "" +#DEPENDS of calendar-service +DEPENDS += "pims-ipc" +inherit tizen_cmake +DEPENDS += "contacts-service" +DEPENDS += "bundle" +DEPENDS += "tizen-platform-config" +DEPENDS += "app-svc" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "alarm-manager" +DEPENDS += "icu" +DEPENDS += "sqlite3" +DEPENDS += "vconf" +DEPENDS += "libslp-db-util" +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/calendar-service.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/etc/rc.d/rc3.d/ + mkdir -p ${D}/etc/rc.d/rc5.d/ + ln -s ../init.d/calendar-serviced.sh ${D}/etc/rc.d/rc3.d/S85calendar-serviced + ln -s ../init.d/calendar-serviced.sh ${D}/etc/rc.d/rc5.d/S85calendar-serviced + + mkdir -p ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants + install ${S}/packaging/calendar.service ${D}${prefix}/lib/systemd/user/ + ln -s ../calendar.service ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants/ + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " calendar-service " +PACKAGES += " calendar-service-dev " + +calendar-service_files = "" +calendar-service_files += "${prefix}/bin/calendar-serviced*" +calendar-service_files += "${prefix}/lib/libcalendar-service2.so.*" +calendar-service_files += "/etc/rc.d/init.d/calendar-serviced.sh" +calendar-service_files += "/etc/rc.d/rc3.d/S85calendar-serviced" +calendar-service_files += "/etc/rc.d/rc5.d/S85calendar-serviced" +calendar-service_files += "/usr/share/calendar-svc/dft-calendar" +calendar-service_files += "${prefix}/lib/systemd/user/calendar.service" +calendar-service_files += "${prefix}/lib/systemd/user/tizen-middleware.target.wants/calendar.service" +MANIFESTFILES_${PN} = "calendar-service.manifest" + +calendar-service-dev_files = "" +calendar-service-dev_files += "${prefix}/include/calendar-service/*.h" +calendar-service-dev_files += "${prefix}/include/calendar-service2/*.h" +calendar-service-dev_files += "${prefix}/lib/*.so" +calendar-service-dev_files += "${prefix}/lib/pkgconfig/calendar.pc" +calendar-service-dev_files += "${prefix}/lib/pkgconfig/calendar-service2.pc" +MANIFESTFILES_${PN}-dev = "calendar-service.manifest" + +FILES_${PN} = "${calendar-service_files}" +FILES_${PN}-dev = "${calendar-service-dev_files}" + +PKG_calendar-service= "calendar-service" +PKG_calendar-service-dev= "calendar-service-dev" + +require calendar-service-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/calendar-service/calendar-service_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/calendar-service/calendar-service_git.bb new file mode 100644 index 0000000000..b774a2e9d2 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/calendar-service/calendar-service_git.bb @@ -0,0 +1,10 @@ +require calendar-service.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/calendar-service;tag=8329a2a463edae1e65d5020eab197a7fa2ad6e98;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/contacts-service/contacts-service.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/contacts-service/contacts-service.inc new file mode 100644 index 0000000000..1a62553399 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/contacts-service/contacts-service.inc @@ -0,0 +1,186 @@ +DESCRIPTION = "Contacts Service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Social & Contents/Pim" +LICENSE = "Apache-2.0" +PV = "0.10.3" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by contacts-service2 +PROVIDES += "contacts-service2" + + +#PROVIDES by contacts-service + + +#PROVIDES by contacts-service2-dev +PROVIDES += "contacts-service2-dev" + + +RDEPENDS = "" +#RDEPENDS of contacts-service2 (${PN}2) +RDEPENDS_${PN}2 += "libprivilege-control" + +#RDEPENDS of contacts-service (${PN}) +RDEPENDS_${PN} += "sqlite3" +RDEPENDS_${PN} += "coreutils" +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "vconf" + +#RDEPENDS of contacts-service2-dev (${PN}2-dev) +RDEPENDS_${PN}2-dev += "contacts-service2" + + +DEPENDS = "" +#DEPENDS of contacts-service +DEPENDS += "pims-ipc" +DEPENDS += "libaccounts-svc" +inherit tizen_cmake +DEPENDS += "capi-media-image-util" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "libexif" +DEPENDS += "smack" +DEPENDS += "libtapi" +DEPENDS += "security-server" +DEPENDS += "sqlite3" +DEPENDS += "capi-base-common" +DEPENDS += "badge" +DEPENDS += "vconf" +DEPENDS += "libslp-db-util" +DEPENDS += "icu" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/contacts-service2.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DTZ_SYS_ETC=${sysconfdir} + oe_runmake -j16 + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants + install -m 0644 ${S}/packaging/contacts-service.service ${D}${prefix}/lib/systemd/user/contacts-service.service + ln -s ../contacts-service.service ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants/contacts-service.service + + mkdir -p ${D}${prefix}/lib/systemd/user/sockets.target.wants + install -m 0644 ${S}/packaging/contacts-service.socket ${D}${prefix}/lib/systemd/user/contacts-service.socket + ln -s ../contacts-service.socket ${D}${prefix}/lib/systemd/user/sockets.target.wants/contacts-service.socket + + + +} + +pkg_postinst_contacts-service2() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + vconftool set -t int file/private/contacts-service/default_lang 0 -g 6005 -s contacts-service::vconf-private + vconftool set -t int db/contacts-svc/name_sorting_order 0 -g 6005 -s contacts-service::vconf + vconftool set -t int db/contacts-svc/name_display_order 0 -g 6005 -s contacts-service::vconf + vconftool set -t int db/contacts-svc/phonenumber_min_match_digit 8 -g 6005 -s contacts-service::vconf + +} + +pkg_postrm_contacts-service2() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " contacts-service2 " +PACKAGES += " contacts-service2-dev " + +contacts-service2_files = "" +contacts-service2_files += "${prefix}/lib/libcontacts-service2.so.*" +contacts-service2_files += "${prefix}/bin/contacts-service-ipcd*" +contacts-service2_files += "${prefix}/lib/systemd/user/contacts-service.service" +contacts-service2_files += "${prefix}/lib/systemd/user/tizen-middleware.target.wants/contacts-service.service" +contacts-service2_files += "${prefix}/lib/systemd/user/sockets.target.wants/contacts-service.socket" +contacts-service2_files += "${prefix}/lib/systemd/user/contacts-service.socket" +MANIFESTFILES_${PN}2 = "contacts-service2.manifest" + +contacts-service2-dev_files = "" +contacts-service2-dev_files += "${prefix}/lib/libcontacts-service2.so" +contacts-service2-dev_files += "${prefix}/lib/pkgconfig/contacts-service2.pc" +contacts-service2-dev_files += "${prefix}/include/contacts-svc/contacts.h" +contacts-service2-dev_files += "${prefix}/include/contacts-svc/contacts_*.h" + +FILES_${PN}2 = "${contacts-service2_files}" +FILES_${PN}2-dev = "${contacts-service2-dev_files}" + +PKG_contacts-service2= "contacts-service2" +PKG_contacts-service2-dev= "contacts-service2-dev" + +require contacts-service-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/contacts-service/contacts-service_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/contacts-service/contacts-service_git.bb new file mode 100644 index 0000000000..9850082c4b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/contacts-service/contacts-service_git.bb @@ -0,0 +1,10 @@ +require contacts-service.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/contacts-service;tag=65311cfbd4a5530192daba9099ff9454318b907e;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/evolution-data-server/evolution-data-server.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/evolution-data-server/evolution-data-server.inc new file mode 100644 index 0000000000..16b0e500b3 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/evolution-data-server/evolution-data-server.inc @@ -0,0 +1,364 @@ +DESCRIPTION = "Evolution Data Server" +HOMEPAGE = "http://www.gnome.org" +SECTION = "Development/Libraries" +LICENSE = "LGPL-2.0+" +PV = "3.11.93" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by evolution-data-server + + +#PROVIDES by libedataserver +PROVIDES += "libedataserver" + + +#PROVIDES by libecal +PROVIDES += "libecal" + + +#PROVIDES by libcamel +PROVIDES += "libcamel" + + +#PROVIDES by libedata-cal +PROVIDES += "libedata-cal" + + +#PROVIDES by libebook-contacts +PROVIDES += "libebook-contacts" + + +#PROVIDES by libedata-book +PROVIDES += "libedata-book" + + +#PROVIDES by evolution-data-server-doc +PROVIDES += "evolution-data-server-doc" + + +#PROVIDES by libebook +PROVIDES += "libebook" + + +#PROVIDES by libebackend +PROVIDES += "libebackend" + + +#PROVIDES by evolution-data-server-dev +PROVIDES += "evolution-data-server-dev" + + +RDEPENDS = "" +#RDEPENDS of evolution-data-server (${PN}) +RDEPENDS_${PN} += "glib-2.0" + +#RDEPENDS of evolution-data-server-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "evolution-data-server" + +#RDEPENDS of evolution-data-server-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "evolution-data-server" +RDEPENDS_${PN}-dev += "libedataserver" +RDEPENDS_${PN}-dev += "libecal" +RDEPENDS_${PN}-dev += "glibc" +RDEPENDS_${PN}-dev += "libcamel" +RDEPENDS_${PN}-dev += "libedata-cal" +RDEPENDS_${PN}-dev += "libedata-book" +RDEPENDS_${PN}-dev += "libebook" +RDEPENDS_${PN}-dev += "libebackend" + + +DEPENDS = "" +#DEPENDS of evolution-data-server +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +DEPENDS += "glibc-locale" +DEPENDS += "gnome-common" +DEPENDS += "gperf" +DEPENDS += "nss" +DEPENDS += "vala" +DEPENDS += "db" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +inherit pkgconfig +DEPENDS += "libsoup-2.4" +inherit pythonnative +DEPENDS += "gcr" +DEPENDS += "libsecret" +DEPENDS += "icu" +DEPENDS += "sqlite3" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "libical" +DEPENDS += "gtk-doc" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/evolution-data-server.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + # "maintainer mode" depends on GTK and is not needed + # for packaging, so disable it. + + + + autotools_do_configure + + oe_runmake -j16 V=1 + + + +} +EXTRA_OECONF += " --libexecdir=${prefix}/libexec/evolution-data-server --disable-maintainer-mode --enable-ipv6= --enable-smime= --enable-nntp= --disable-static --disable-uoa --enable-goa=no --enable-weather=no --enable-gtk=no --enable-google=no --disable-vala-bindings --disable-introspection --disable-examples" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${prefix}/share/help + find ${D} -name evolution-data-server-3.11.mo -execdir mv {} evolution-data-server.mo \; + #find_lang evolution-data-server + #fdupes ${D} + + #lang_package + + +} + +pkg_postinst_libebook() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libecal() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libedata-cal() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + %glib2_gsettings_schema_post + +} + +pkg_postinst_libebackend() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libebook-contacts() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libedataserver() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libedata-book() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_libcamel() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libedata-cal() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libcamel() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libedata-book() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libebackend() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + %glib2_gsettings_schema_postun + +} + +pkg_postrm_libedataserver() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libecal() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libebook() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libebook-contacts() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " evolution-data-server " +PACKAGES += " libedataserver " +PACKAGES += " libecal " +PACKAGES += " libcamel " +PACKAGES += " libedata-cal " +PACKAGES += " libebook-contacts " +PACKAGES += " libebook " +PACKAGES += " libedata-book " +PACKAGES += " libebackend " +PACKAGES += " evolution-data-server-dev " + +evolution-data-server_files = "" +evolution-data-server_files += "${prefix}/share/GConf/gsettings/evolution-data-server.convert" +evolution-data-server_files += "${prefix}/share/GConf/gsettings/libedataserver.convert" +evolution-data-server_files += "${prefix}/share/glib-2.0/schemas/org.gnome.Evolution.DefaultSources.gschema.xml" +evolution-data-server_files += "${prefix}/share/glib-2.0/schemas/org.gnome.evolution.eds-shell.gschema.xml" +evolution-data-server_files += "${prefix}/share/glib-2.0/schemas/org.gnome.evolution.shell.network-config.gschema.xml" +evolution-data-server_files += "${prefix}/share/glib-2.0/schemas/org.gnome.evolution-data-server.addressbook.gschema.xml" +evolution-data-server_files += "${prefix}/share/glib-2.0/schemas/org.gnome.evolution-data-server.calendar.gschema.xml" +evolution-data-server_files += "${prefix}/share/pixmaps/evolution-data-server/" +evolution-data-server_files += "${prefix}/share/dbus-1/services/org.gnome.evolution.dataserver.*.service" +evolution-data-server_files += "${prefix}/lib/evolution-data-server/" +evolution-data-server_files += "${prefix}/libexec/evolution-data-server/" +MANIFESTFILES_${PN} = "evolution-data-server.manifest" + +libedataserver_files = "" +libedataserver_files += "${prefix}/lib/libedataserver-1.2.so.17*" +MANIFESTFILES_libedataserver = "evolution-data-server.manifest" + +libecal_files = "" +libecal_files += "${prefix}/lib/libecal-1.2.so.15*" +MANIFESTFILES_libecal = "evolution-data-server.manifest" + +libcamel_files = "" +libcamel_files += "${prefix}/lib/libcamel-1.2.so.43*" +MANIFESTFILES_libcamel = "evolution-data-server.manifest" + +libedata-cal_files = "" +libedata-cal_files += "${prefix}/lib/libedata-cal-1.2.so.20*" +MANIFESTFILES_libedata-cal = "evolution-data-server.manifest" + +libebook-contacts_files = "" +libebook-contacts_files += "${prefix}/lib/libebook-contacts-1.2.so.0*" +MANIFESTFILES_libebook-contacts = "evolution-data-server.manifest" + +libebook_files = "" +libebook_files += "${prefix}/lib/libebook-1.2.so.14*" +MANIFESTFILES_libebook = "evolution-data-server.manifest" + +libedata-book_files = "" +libedata-book_files += "${prefix}/lib/libedata-book-1.2.so.17*" +MANIFESTFILES_libedata-book = "evolution-data-server.manifest" + +libebackend_files = "" +libebackend_files += "${prefix}/lib/libebackend-1.2.so.6*" +MANIFESTFILES_libebackend = "evolution-data-server.manifest" + +evolution-data-server-dev_files = "" +evolution-data-server-dev_files += "${prefix}/include/evolution-data-server/" +evolution-data-server-dev_files += "${prefix}/lib/*.so" +evolution-data-server-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "evolution-data-server.manifest" + +FILES_${PN} = "${evolution-data-server_files}" +FILES_libedataserver = "${libedataserver_files}" +FILES_libecal = "${libecal_files}" +FILES_libcamel = "${libcamel_files}" +FILES_libedata-cal = "${libedata-cal_files}" +FILES_libebook-contacts = "${libebook-contacts_files}" +FILES_libebook = "${libebook_files}" +FILES_libedata-book = "${libedata-book_files}" +FILES_libebackend = "${libebackend_files}" +FILES_${PN}-dev = "${evolution-data-server-dev_files}" + +PKG_evolution-data-server= "evolution-data-server" +PKG_libedataserver= "libedataserver" +PKG_libecal= "libecal" +PKG_libcamel= "libcamel" +PKG_libedata-cal= "libedata-cal" +PKG_libebook-contacts= "libebook-contacts" +PKG_libebook= "libebook" +PKG_libedata-book= "libedata-book" +PKG_libebackend= "libebackend" +PKG_evolution-data-server-dev= "evolution-data-server-dev" + +require evolution-data-server-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/evolution-data-server/evolution-data-server_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/evolution-data-server/evolution-data-server_git.bb new file mode 100644 index 0000000000..e6f808b220 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/evolution-data-server/evolution-data-server_git.bb @@ -0,0 +1,10 @@ +require evolution-data-server.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/evolution-data-server;tag=653b6ed2103475434475d89019dac05efd62d37a;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/libaccounts-svc/libaccounts-svc.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/libaccounts-svc/libaccounts-svc.inc new file mode 100644 index 0000000000..4c821da883 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/libaccounts-svc/libaccounts-svc.inc @@ -0,0 +1,160 @@ +DESCRIPTION = "Account DB library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Social & Content/Utilities" +LICENSE = "Apache-2.0" +PV = "0.2.52" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libaccounts-svc + + +#PROVIDES by libaccounts-svc-dev +PROVIDES += "libaccounts-svc-dev" + + +RDEPENDS = "" +#RDEPENDS of libaccounts-svc (${PN}) +RDEPENDS_${PN} += "sqlite3" +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "libtzplatform-config" + +#RDEPENDS of libaccounts-svc-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libaccounts-svc" + + +DEPENDS = "" +#DEPENDS of libaccounts-svc +DEPENDS += "pkgmgr-info" +inherit tizen_cmake +DEPENDS += "libxml2" +DEPENDS += "tizen-platform-config" +DEPENDS += "capi-appfw-application" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "aul" +DEPENDS += "capi-base-common" +DEPENDS += "vconf" +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libaccounts-svc.manifest ${S}/packaging/accounts_DB.sh . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + export CFLAGS="${CFLAGS} -fPIC -fvisibility=hidden" + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + install -D -m 0750 ${S}/packaging/accounts_DB.sh ${D}${prefix}/share/libaccounts-svc/accounts_DB.sh + + rm -rf ${D}${prefix}/lib/accounts-svc + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + $D${prefix}/share/libaccounts-svc/accounts_DB.sh + #set message key value to NULL + vconftool set -t string db/account/msg '' -g 6514 + #smack labeling + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libaccounts-svc " +PACKAGES += " libaccounts-svc-dev " + +libaccounts-svc_files = "" +libaccounts-svc_files += "${prefix}/lib/*.so.*" +libaccounts-svc_files += "${prefix}/bin/account-xml-verify" +libaccounts-svc_files += "${prefix}/share/libaccounts-svc/accounts_DB.sh" +MANIFESTFILES_${PN} = "libaccounts-svc.manifest" + +libaccounts-svc-dev_files = "" +libaccounts-svc-dev_files += "${prefix}/lib/*.so" +libaccounts-svc-dev_files += "${prefix}/lib/pkgconfig/accounts-svc.pc" +libaccounts-svc-dev_files += "${prefix}/include/*.h" +libaccounts-svc-dev_files += "${prefix}/share/libaccounts-svc/accounts_DB.sh" +libaccounts-svc-dev_files += "${prefix}/bin/account-xml-verify" +MANIFESTFILES_${PN}-dev = "libaccounts-svc.manifest" + +FILES_${PN} = "${libaccounts-svc_files}" +FILES_${PN}-dev = "${libaccounts-svc-dev_files}" + +PKG_libaccounts-svc= "libaccounts-svc" +PKG_libaccounts-svc-dev= "libaccounts-svc-dev" + +require libaccounts-svc-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/libaccounts-svc/libaccounts-svc_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/libaccounts-svc/libaccounts-svc_git.bb new file mode 100644 index 0000000000..215db9a7c2 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/libaccounts-svc/libaccounts-svc_git.bb @@ -0,0 +1,10 @@ +require libaccounts-svc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/libaccounts-svc;tag=07c30a90874972c242f9291a7bfe211d50bb2227;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/pims-ipc/pims-ipc.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/pims-ipc/pims-ipc.inc new file mode 100644 index 0000000000..fac8124034 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/pims-ipc/pims-ipc.inc @@ -0,0 +1,136 @@ +DESCRIPTION = "library for PIMs IPC" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "0.0.28" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by pims-ipc + + +#PROVIDES by pims-ipc-dev +PROVIDES += "pims-ipc-dev" + + +RDEPENDS = "" +#RDEPENDS of pims-ipc-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "pims-ipc" + + +DEPENDS = "" +#DEPENDS of pims-ipc +DEPENDS += "systemd" +inherit tizen_cmake +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "zeromq" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/pims-ipc.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " pims-ipc " +PACKAGES += " pims-ipc-dev " + +pims-ipc_files = "" +pims-ipc_files += "${prefix}/lib/libpims-ipc.so.*" +MANIFESTFILES_${PN} = "pims-ipc.manifest" + +pims-ipc-dev_files = "" +pims-ipc-dev_files += "${prefix}/include/pims-ipc/*.h" +pims-ipc-dev_files += "${prefix}/lib/*.so" +pims-ipc-dev_files += "${prefix}/lib/pims_ipc_test" +pims-ipc-dev_files += "${prefix}/lib/pkgconfig/pims-ipc.pc" +MANIFESTFILES_${PN}-dev = "pims-ipc.manifest" + +FILES_${PN} = "${pims-ipc_files}" +FILES_${PN}-dev = "${pims-ipc-dev_files}" + +PKG_pims-ipc= "pims-ipc" +PKG_pims-ipc-dev= "pims-ipc-dev" + +require pims-ipc-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/pims-ipc/pims-ipc_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/pims-ipc/pims-ipc_git.bb new file mode 100644 index 0000000000..6872f77d76 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-social/pims-ipc/pims-ipc_git.bb @@ -0,0 +1,10 @@ +require pims-ipc.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/pims-ipc;tag=9300ed95d75b0d3c6dc0805d60f08eff7fc907a2;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/adns/adns.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/adns/adns.inc new file mode 100644 index 0000000000..6878c33ac4 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/adns/adns.inc @@ -0,0 +1,130 @@ +DESCRIPTION = "Advanced Easy-to-Use Asynchronous-Capable DNS Utilities" +HOMEPAGE = "http://www.chiark.greenend.org.uk/~ian/adns/" +SECTION = "System/Utilities" +LICENSE = "GPL-2.0+" +PV = "1.4" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libadns +PROVIDES += "libadns" + + +#PROVIDES by adns + + +#PROVIDES by libadns-dev +PROVIDES += "libadns-dev" + + +RDEPENDS = "" +#RDEPENDS of libadns-dev (lib${PN}-dev) +RDEPENDS_lib${PN}-dev += "libadns" +RDEPENDS_lib${PN}-dev += "glibc" + + +DEPENDS = "" +#DEPENDS of adns +DEPENDS_append_class-native = " autoconf-native" +DEPENDS_append_class-target = " autoconf-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/adns.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 all + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_libadns() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libadns() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libadns " +PACKAGES += " adns " +PACKAGES += " libadns-dev " + +libadns_files = "" +libadns_files += "${prefix}/lib/libadns.so.1*" +MANIFESTFILES_lib${PN} = "adns.manifest" + +adns_files = "" +adns_files += "${prefix}/bin/adns*" +MANIFESTFILES_${PN} = "adns.manifest" + +libadns-dev_files = "" +libadns-dev_files += "${prefix}/include/adns.h" +libadns-dev_files += "${prefix}/lib/libadns.so" +MANIFESTFILES_lib${PN}-dev = "adns.manifest" + +FILES_lib${PN} = "${libadns_files}" +FILES_${PN} = "${adns_files}" +FILES_lib${PN}-dev = "${libadns-dev_files}" + +PKG_libadns= "libadns" +PKG_adns= "adns" +PKG_libadns-dev= "libadns-dev" + +require adns-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/adns/adns_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/adns/adns_git.bb new file mode 100644 index 0000000000..808c63edc6 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/adns/adns_git.bb @@ -0,0 +1,10 @@ +require adns.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/adns;tag=20e474eda39bdaa3ab7a80345e77d93967d55f88;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/ca-certificates-tizen/ca-certificates-tizen.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/ca-certificates-tizen/ca-certificates-tizen.inc new file mode 100644 index 0000000000..933e99236d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/ca-certificates-tizen/ca-certificates-tizen.inc @@ -0,0 +1,81 @@ +DESCRIPTION = "Tizen-specific CA certificate installation" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Security/Certificate Management" +LICENSE = "Apache-2.0" +PV = "0.1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ca-certificates-tizen + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ca-certificates-tizen.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -fr ${D} + mkdir -p ${D}/usr/share/ca-certificates/tizen + mkdir -p ${D}/usr/share/ca-certificates/wac + cp -arf certificates/tizen*.pem ${D}/usr/share/ca-certificates/tizen/ + cp -arf certificates/wac*.pem ${D}/usr/share/ca-certificates/wac/ + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " ca-certificates-tizen " + +ca-certificates-tizen_files = "" +ca-certificates-tizen_files += "/usr/share/ca-certificates/tizen/*" +ca-certificates-tizen_files += "/usr/share/ca-certificates/wac/*" +MANIFESTFILES_${PN} = "ca-certificates-tizen.manifest" + +FILES_${PN} = "${ca-certificates-tizen_files}" + +PKG_ca-certificates-tizen= "ca-certificates-tizen" + +require ca-certificates-tizen-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/ca-certificates-tizen/ca-certificates-tizen_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/ca-certificates-tizen/ca-certificates-tizen_git.bb new file mode 100644 index 0000000000..02cda5984e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-support/ca-certificates-tizen/ca-certificates-tizen_git.bb @@ -0,0 +1,10 @@ +require ca-certificates-tizen.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/security/ca-certificates-tizen;tag=7bb7ed313e91c42a57f2abf3560ce4db5baa9a4b;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi/libtapi.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi/libtapi.inc new file mode 100644 index 0000000000..42dbc75acb --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi/libtapi.inc @@ -0,0 +1,142 @@ +DESCRIPTION = "Telephony dbus client library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Telephony/Libraries" +LICENSE = "Apache-2.0" +PV = "0.6.71" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libtapi-dev +PROVIDES += "libtapi-dev" + + +#PROVIDES by libtapi +# the PROVIDES rules is ignore "libslp-tapi " +PROVIDES += "libslp-tapi" +RPROVIDES_libtapi += "libslp-tapi" + + +RDEPENDS = "" +#RDEPENDS of libtapi-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libtapi" + + +DEPENDS = "" +#DEPENDS of libtapi +DEPENDS += "libtapi3" +inherit tizen_cmake +DEPENDS += "security-server" +DEPENDS += "dlog" +inherit pkgconfig +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libtapi.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -rf ${D}/usr/include/telephony/tapi/.gitignore + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libtapi-dev " +PACKAGES += " libtapi " + +libtapi-dev_files = "" +libtapi-dev_files += "${prefix}/include/telephony-client/*.h" +libtapi-dev_files += "${prefix}/lib/pkgconfig/*.pc" +libtapi-dev_files += "${prefix}/lib/*.so" +MANIFESTFILES_${PN}-dev = "libtapi.manifest" + +libtapi_files = "" +libtapi_files += "${prefix}/lib/*.so.*" +libtapi_files += "${prefix}/bin/tapitest-legacy" +MANIFESTFILES_${PN} = "libtapi.manifest" + +FILES_${PN}-dev = "${libtapi-dev_files}" +FILES_${PN} = "${libtapi_files}" + +PKG_libtapi-dev= "libtapi-dev" +PKG_libtapi= "libtapi" + +require libtapi-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi/libtapi_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi/libtapi_git.bb new file mode 100644 index 0000000000..d53a3c7dde --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi/libtapi_git.bb @@ -0,0 +1,10 @@ +require libtapi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/libtapi-legacy;tag=8b002849deb1ec476e2bb6ab3cafd9a328253dce;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi3/libtapi3.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi3/libtapi3.inc new file mode 100644 index 0000000000..746ff77ce6 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi3/libtapi3.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "Telephony client API library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Telephony/Libraries" +LICENSE = "Apache-2.0" +PV = "3.0.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libtapi3 + + +#PROVIDES by libtapi3-dev +PROVIDES += "libtapi3-dev" + + +RDEPENDS = "" +#RDEPENDS of libtapi3-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libtapi3" + + +DEPENDS = "" +#DEPENDS of libtapi3 +inherit tizen_cmake +inherit pythonnative +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "security-server" +DEPENDS += "python-xml" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libtapi.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . -DTAPI_VERSION=3.0.1 + + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libtapi3 " +PACKAGES += " libtapi3-dev " + +libtapi3_files = "" +libtapi3_files += "${prefix}/lib/*.so*" +libtapi3_files += "${prefix}/bin/tapitest" +MANIFESTFILES_${PN} = "libtapi.manifest" + +libtapi3-dev_files = "" +libtapi3-dev_files += "${prefix}/include/tapi-3.0/*.h" +libtapi3-dev_files += "${prefix}/include/tapi-3.0/common/*.h" +libtapi3-dev_files += "${prefix}/include/tapi-3.0/private/*.h" +libtapi3-dev_files += "${prefix}/lib/pkgconfig/*.pc" +libtapi3-dev_files += "${prefix}/lib/*.so" +MANIFESTFILES_${PN}-dev = "libtapi.manifest" + +FILES_${PN} = "${libtapi3_files}" +FILES_${PN}-dev = "${libtapi3-dev_files}" + +PKG_libtapi3= "libtapi3" +PKG_libtapi3-dev= "libtapi3-dev" + +require libtapi3-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi3/libtapi3_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi3/libtapi3_git.bb new file mode 100644 index 0000000000..b7e3942e10 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-telephony/libtapi3/libtapi3_git.bb @@ -0,0 +1,10 @@ +require libtapi3.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/telephony/libtapi;tag=16c6314e7e71542ee8bb3f51cc22259e57d27837;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-webframework/libwebsockets/libwebsockets.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-webframework/libwebsockets/libwebsockets.inc new file mode 100644 index 0000000000..0eec520e9f --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-webframework/libwebsockets/libwebsockets.inc @@ -0,0 +1,141 @@ +DESCRIPTION = "WebSocket Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.1" +PV = "1.2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libwebsockets + + +#PROVIDES by libwebsockets-dev +PROVIDES += "libwebsockets-dev" + + +RDEPENDS = "" +#RDEPENDS of libwebsockets (${PN}) +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of libwebsockets-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libwebsockets" + + +DEPENDS = "" +#DEPENDS of libwebsockets +DEPENDS += "systemd" +DEPENDS += "zlib" +inherit tizen_cmake +DEPENDS += "openssl" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libwebsockets-1.2 + cp ${S}/packaging/libwebsockets.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} -DWITH_SSL=On -DWITH_SD_DAEMON=ON + + oe_runmake -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libwebsockets " +PACKAGES += " libwebsockets-dev " + +libwebsockets_files = "" +libwebsockets_files += "${prefix}/bin/libwebsockets*" +libwebsockets_files += "${prefix}/lib/libwebsockets*.so.*" +libwebsockets_files += "${prefix}/share/libwebsockets-test-server/*" +MANIFESTFILES_${PN} = "libwebsockets.manifest" + +libwebsockets-dev_files = "" +libwebsockets-dev_files += "${prefix}/include/libwebsockets.h" +libwebsockets-dev_files += "${prefix}/lib/libwebsockets.so" +libwebsockets-dev_files += "${prefix}/lib/pkgconfig/*" +MANIFESTFILES_${PN}-dev = "libwebsockets.manifest" + +FILES_${PN} = "${libwebsockets_files}" +FILES_${PN}-dev = "${libwebsockets-dev_files}" + +PKG_libwebsockets= "libwebsockets" +PKG_libwebsockets-dev= "libwebsockets-dev" + +require libwebsockets-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-webframework/libwebsockets/libwebsockets_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-webframework/libwebsockets/libwebsockets_git.bb new file mode 100644 index 0000000000..3e65864dc3 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-base/recipes-webframework/libwebsockets/libwebsockets_git.bb @@ -0,0 +1,10 @@ +require libwebsockets.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/libwebsockets;tag=5c054a5a61ec540e5bd5e2aa55742a3ed070b540;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-graphics/weston-common/weston-common.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-graphics/weston-common/weston-common.inc new file mode 100644 index 0000000000..ec871bf15c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-graphics/weston-common/weston-common.inc @@ -0,0 +1,241 @@ +DESCRIPTION = "Tizen Common Weston configuration and set-up" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Configuration" +LICENSE = "MIT" +PV = "1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by weston-common +# the PROVIDES rules is ignore "weston-startup " +PROVIDES += "weston-startup" +RPROVIDES_weston-common += "weston-startup" + + +#PROVIDES by weston-common-config +PROVIDES += "weston-common-config" + + +#PROVIDES by weston-common-qa-plugin +PROVIDES += "weston-common-qa-plugin" + + +#PROVIDES by weston-common-tz-launcher +PROVIDES += "weston-common-tz-launcher" + + +RDEPENDS = "" +#RDEPENDS of weston-common (${PN}) +RDEPENDS_${PN} += "weston" +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "shadow" + + +DEPENDS = "" +#DEPENDS of weston-common +DEPENDS += "weston" +DEPENDS += "virtual/egl" +DEPENDS += "libxkbcommon" +DEPENDS += "libjpeg-turbo" +DEPENDS += "glib-2.0" +inherit pkgconfig +DEPENDS_append_class-native = " automake-native" +DEPENDS_append_class-target = " automake-native" +DEPENDS += "xz" +DEPENDS += "wayland" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "cairo" +DEPENDS += "libpng" +DEPENDS_append_class-native = " autoconf-native" +DEPENDS_append_class-target = " autoconf-native" +DEPENDS += "vconf" +DEPENDS += "virtual/libgles2" +DEPENDS += "pixman" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/weston-common.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + #install tz-launcher + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # install weston service as 'display-manager.service' as it's the one wanted by graphical.target + mkdir -p ${D}${systemd_unitdir}/system + install -m 644 display-manager-run.service ${D}${systemd_unitdir}/system/display-manager-run.service + install -m 644 display-manager.service ${D}${systemd_unitdir}/system/display-manager.service + install -m 644 display-manager.path ${D}${systemd_unitdir}/system/display-manager.path + + # install Environment file for weston service and weston-user.service + mkdir -p ${D}${sysconfdir}/sysconfig + install -m 0644 weston.sysconfig ${D}${sysconfdir}/sysconfig/weston + install -m 0644 weston-user.sysconfig ${D}${sysconfdir}/sysconfig/weston-user + + # install tmpfiles.d(5) conf + mkdir -p ${D}${prefix}/lib/tmpfiles.d + install -m 0644 weston_tmpfiles.conf ${D}${prefix}/lib/tmpfiles.d/weston.conf + + # install weston-user service in user session + mkdir -p ${D}${prefix}/lib/systemd/user + install -m 644 weston-user.service ${D}${prefix}/lib/systemd/user/ + + # install weston.sh + mkdir -p ${D}${sysconfdir}/profile.d/ + install -m 0644 weston.sh ${D}${sysconfdir}/profile.d/ + + # install weston.ini + mkdir -p ${D}${sysconfdir}/xdg/weston + install -m 0644 weston.ini ${D}${sysconfdir}/xdg/weston + + # Add a rule to ensure the 'display' user has permissions to + # open the graphics device + mkdir -p ${D}${sysconfdir}/udev/rules.d + cat >${D}${sysconfdir}/udev/rules.d/99-dri.rules <<'EOF' + SUBSYSTEM=="drm", MODE="0660", GROUP="display", SECLABEL{smack}="*" +EOF + + # user 'display' must own /dev/tty7 for weston to start correctly + cat >${D}${sysconfdir}/udev/rules.d/99-tty.rules <<'EOF' + SUBSYSTEM=="tty", KERNEL=="tty7", OWNER="display", SECLABEL{smack}="^" +EOF + + # user 'display' must also be able to access /dev/input/* + cat >${D}${sysconfdir}/udev/rules.d/99-input.rules <<'EOF' + SUBSYSTEM=="input", MODE="0660", GROUP="input", SECLABEL{smack}="^" +EOF + + # install desktop file + mkdir -p ${D}${prefix}/share/applications + install -m 0644 weston-terminal.desktop ${D}${prefix}/share/applications + + +} + +pkg_preinst_${PN}() { + #!/bin/sh -e + + # create groups 'display' and 'weston-launch' + getent group display >/dev/null || $D${prefix}/sbin/groupadd -r -o display + getent group input >/dev/null || $D${prefix}/sbin/groupadd -r -o input + getent group weston-launch >/dev/null || $D${prefix}/sbin/groupadd -r -o weston-launch + # create user 'display' + getent passwd display >/dev/null || $D${prefix}/sbin/useradd -r -g display -d /run/display -s /bin/false -c "Display daemon" display + # add user 'display' to groups 'weston-launch', 'input' and 'video' + groupmod -A display weston-launch + groupmod -A display input + groupmod -A display video + # setup display manager service + mkdir -p $D${systemd_unitdir}/system/graphical.target.wants/ + ln -sf ../display-manager.path $D${systemd_unitdir}/system/graphical.target.wants/ + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + rm -f $D${systemd_unitdir}/system/graphical.target.wants/display-manager.path + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " weston-common-tz-launcher " +PACKAGES += " weston-common-config " +PACKAGES += " weston-common-qa-plugin " +PACKAGES += " weston-common " + +weston-common-tz-launcher_files = "" +weston-common-tz-launcher_files += "${prefix}/bin/tz-launcher" +weston-common-tz-launcher_files += "${prefix}/bin/wl-pre" +MANIFESTFILES_${PN}-tz-launcher = "weston-common.manifest" + +weston-common-config_files = "" +weston-common-config_files += "${sysconfdir}/xdg/weston/weston.ini" +CONFFILES_${PN}-config = "" +CONFFILES_${PN}-config += "${sysconfdir}/xdg/weston/weston.ini" +MANIFESTFILES_${PN}-config = "weston-common.manifest" + +weston-common-qa-plugin_files = "" +weston-common-qa-plugin_files += "${prefix}/bin/weston-qa-client" +weston-common-qa-plugin_files += "${prefix}/lib/weston/qa-plugin.so" +MANIFESTFILES_${PN}-qa-plugin = "weston-common.manifest" + +weston-common_files = "" +weston-common_files += "${systemd_unitdir}/system/display-manager-run.service" +weston-common_files += "${systemd_unitdir}/system/display-manager.service" +weston-common_files += "${systemd_unitdir}/system/display-manager.path" +weston-common_files += "${sysconfdir}/sysconfig/*" +weston-common_files += "${prefix}/lib/tmpfiles.d/weston.conf" +weston-common_files += "${prefix}/lib/systemd/user/weston-user.service" +weston-common_files += "${sysconfdir}/profile.d/*" +weston-common_files += "${sysconfdir}/udev/rules.d/*" +weston-common_files += "${prefix}/share/applications/*.desktop" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/sysconfig/*" +CONFFILES_${PN} += "${sysconfdir}/profile.d/*" +CONFFILES_${PN} += "${sysconfdir}/udev/rules.d/*" +MANIFESTFILES_${PN} = "weston-common.manifest" + +FILES_${PN}-tz-launcher = "${weston-common-tz-launcher_files}" +FILES_${PN}-config = "${weston-common-config_files}" +FILES_${PN}-qa-plugin = "${weston-common-qa-plugin_files}" +FILES_${PN} = "${weston-common_files}" + +PKG_weston-common-tz-launcher= "weston-common-tz-launcher" +PKG_weston-common-config= "weston-common-config" +PKG_weston-common-qa-plugin= "weston-common-qa-plugin" +PKG_weston-common= "weston-common" + +require weston-common-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-graphics/weston-common/weston-common_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-graphics/weston-common/weston-common_git.bb new file mode 100644 index 0000000000..1be20743f7 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-graphics/weston-common/weston-common_git.bb @@ -0,0 +1,10 @@ +require weston-common.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/common/weston-common;tag=bba9e6c2ec15757449e129454efb97b4a16925aa;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin.inc new file mode 100644 index 0000000000..92425ced72 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin.inc @@ -0,0 +1,112 @@ +DESCRIPTION = "Desktop skin for Tizen:Common" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Multimedia" +LICENSE = "GPL-2.0+" +PV = "2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by desktop-skin + + +RDEPENDS = "" +#RDEPENDS of desktop-skin (${PN}) +RDEPENDS_${PN} += "python-pycairo" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/desktop-skin.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + mkdir -p ${D}${prefix}/bin + install -m 755 Script/launch_cam.sh ${D}${prefix}/bin + install -m 755 Script/launch_video.sh ${D}${prefix}/bin + install -m 755 Script/launch_video2.sh ${D}${prefix}/bin + install -m 755 Script/mark_image.py ${D}${prefix}/bin + install -m 755 Script/wifi ${D}${prefix}/bin + + mkdir -p ${D}${prefix}/share/media/videos + install -m 644 Video/AmazingNature_480p.mp4 ${D}${prefix}/share/media/videos + install -m 644 Video/Caminandes_1080p.mp4 ${D}${prefix}/share/media/videos + + mkdir -p ${D}${prefix}/share/media/photos + install -m 644 Photos/* ${D}${prefix}/share/media/photos + + mkdir -p ${D}${prefix}/share/icons/tizen/32x32 + install -m 644 icons/tizen/32x32/* ${D}${prefix}/share/icons/tizen/32x32 + + mkdir -p ${D}${prefix}/share/applications/tizen + install -m 644 applications/tizen/* ${D}${prefix}/share/applications/tizen + + mkdir -p ${D}${prefix}/share/backgrounds/tizen + install -m 644 backgrounds/tizen/tizen_common_3.0.png ${D}${prefix}/share/backgrounds/tizen/tizen_common_3.0.png + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ln -sf tizen_common_3.0.png $D${prefix}/share/backgrounds/tizen/current + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " desktop-skin " + +desktop-skin_files = "" +desktop-skin_files += "${prefix}/bin/*" +desktop-skin_files += "${prefix}/share/media/videos/*" +desktop-skin_files += "${prefix}/share/media/photos/*" +desktop-skin_files += "${prefix}/share/icons/tizen/32x32/*" +desktop-skin_files += "${prefix}/share/applications/tizen/*" +desktop-skin_files += "${prefix}/share/backgrounds/tizen/*" +MANIFESTFILES_${PN} = "desktop-skin.manifest" + +FILES_${PN} = "${desktop-skin_files}" + +PKG_desktop-skin= "desktop-skin" + +require desktop-skin-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin_git.bb new file mode 100644 index 0000000000..972e6b2a06 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-multimedia/desktop-skin/desktop-skin_git.bb @@ -0,0 +1,10 @@ +require desktop-skin.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/common/desktop-skin;tag=2f3deede9240f192b540266a923b98425d072f92;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-webframework/wrt-widgets/wrt-widgets.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-webframework/wrt-widgets/wrt-widgets.inc new file mode 100644 index 0000000000..dd13e5934e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-webframework/wrt-widgets/wrt-widgets.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "Wrt-widgets Installer" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Web Framework/Web Run Time" +LICENSE = "Apache-2.0" +PV = "0.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by wrt-widgets + + +RDEPENDS = "" +#RDEPENDS of wrt-widgets (${PN}) +RDEPENDS_${PN} += "libtzplatform-config" +RDEPENDS_${PN} += "desktop-skin" + + +DEPENDS = "" +#DEPENDS of wrt-widgets +DEPENDS += "tizen-platform-config" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/wrt-widgets.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + mkdir -p ${D}${prefix}/bin + cp install_widgets.sh ${D}${prefix}/bin + cp prepare_widgets.sh ${D}${prefix}/bin + + mkdir -p ${D}${prefix}/share/widget_demo + cp -r apps/*.wgt ${D}${prefix}/share/widget_demo/ + #cp -r apps/*.png ${D}${prefix}/share/widget_demo/ + #cp -r apps/*.desktop ${D}${prefix}/share/widget_demo/ + cp install.conf ${D}${prefix}/share/widget_demo/ + + # install xwalk preinstall service in user session + mkdir -p ${D}${prefix}/lib/systemd/user + install -m 644 xwalk_widgets_preinstall.service ${D}${prefix}/lib/systemd/user/ + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + # setup xwalk preinstall service (inside user session) + mkdir -p $D${prefix}/lib/systemd/user/default.target.wants/ + ln -sf ../xwalk_widgets_preinstall.service $D${prefix}/lib/systemd/user/default.target.wants/ + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + rm -f $D${prefix}/lib/systemd/user/default.target.wants/xwalk_widgets_preinstall.service + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " wrt-widgets " + +wrt-widgets_files = "" +wrt-widgets_files += "${prefix}/share/widget_demo/*" +wrt-widgets_files += "${prefix}/bin/install_widgets.sh" +wrt-widgets_files += "${prefix}/bin/prepare_widgets.sh" +wrt-widgets_files += "${prefix}/lib/systemd/user/xwalk_widgets_preinstall.service" +MANIFESTFILES_${PN} = "wrt-widgets.manifest" + +FILES_${PN} = "${wrt-widgets_files}" + +PKG_wrt-widgets= "wrt-widgets" + +require wrt-widgets-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-webframework/wrt-widgets/wrt-widgets_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-webframework/wrt-widgets/wrt-widgets_git.bb new file mode 100644 index 0000000000..7c929d8a88 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-demo/recipes-webframework/wrt-widgets/wrt-widgets_git.bb @@ -0,0 +1,10 @@ +require wrt-widgets.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/common/wrt-widgets;tag=72afa2665266e7d34d0c0177a3ddde4d2e8a3b67;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-crosswalk-suite/common-crosswalk-suite.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-crosswalk-suite/common-crosswalk-suite.inc new file mode 100644 index 0000000000..cf6de4856e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-crosswalk-suite/common-crosswalk-suite.inc @@ -0,0 +1,87 @@ +DESCRIPTION = "Crosswalk suite for Tizen Common" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Testing" +LICENSE = "GPL-2.0" +PV = "1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by common-crosswalk-suite + + +RDEPENDS = "" +#RDEPENDS of common-crosswalk-suite (${PN}) +RDEPENDS_${PN} += "common-suite-launcher" +RDEPENDS_${PN} += "testkit-stub" +RDEPENDS_${PN} += "testkit-lite" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/common-crosswalk-suite.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d ${D}${prefix}/share/tests/common/common-crosswalk-suite + install -m 0755 runtest ${D}${prefix}/share/tests/common/common-crosswalk-suite + install -m 0644 *.xml ${D}${prefix}/share/tests/common/common-crosswalk-suite + cp -r TESTDIR ${D}${prefix}/share/tests/common/common-crosswalk-suite + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " common-crosswalk-suite " + +common-crosswalk-suite_files = "" +common-crosswalk-suite_files += "${prefix}/share/tests/common/common-crosswalk-suite" +MANIFESTFILES_${PN} = "common-crosswalk-suite.manifest" + +FILES_${PN} = "${common-crosswalk-suite_files}" + +PKG_common-crosswalk-suite= "common-crosswalk-suite" + +require common-crosswalk-suite-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-crosswalk-suite/common-crosswalk-suite_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-crosswalk-suite/common-crosswalk-suite_git.bb new file mode 100644 index 0000000000..384efb1b8e --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-crosswalk-suite/common-crosswalk-suite_git.bb @@ -0,0 +1,10 @@ +require common-crosswalk-suite.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/common/common-crosswalk-suite;tag=61b29331a9e9dd4798611d401f2517b9f5c93292;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-graphics-suite/common-graphics-suite.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-graphics-suite/common-graphics-suite.inc new file mode 100644 index 0000000000..b2d05d4d87 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-graphics-suite/common-graphics-suite.inc @@ -0,0 +1,88 @@ +DESCRIPTION = "Graphics suite for Tizen Common" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Testing" +LICENSE = "GPL-2.0" +PV = "1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by common-graphics-suite + + +RDEPENDS = "" +#RDEPENDS of common-graphics-suite (${PN}) +RDEPENDS_${PN} += "common-suite-launcher" +RDEPENDS_${PN} += "wayland-fits-master" +RDEPENDS_${PN} += "testkit-lite" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/common-graphics-suite.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d ${D}${prefix}/share/tests/common/common-graphics-suite + install -m 0755 runtest ${D}${prefix}/share/tests/common/common-graphics-suite + install -m 0644 *.xml ${D}${prefix}/share/tests/common/common-graphics-suite + install -m 0644 LICENSE ${D}${prefix}/share/tests/common/common-graphics-suite + cp -r TESTDIR ${D}${prefix}/share/tests/common/common-graphics-suite + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " common-graphics-suite " + +common-graphics-suite_files = "" +common-graphics-suite_files += "${prefix}/share/tests/common/common-graphics-suite" +MANIFESTFILES_${PN} = "common-graphics-suite.manifest" + +FILES_${PN} = "${common-graphics-suite_files}" + +PKG_common-graphics-suite= "common-graphics-suite" + +require common-graphics-suite-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-graphics-suite/common-graphics-suite_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-graphics-suite/common-graphics-suite_git.bb new file mode 100644 index 0000000000..372d69d551 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-graphics-suite/common-graphics-suite_git.bb @@ -0,0 +1,10 @@ +require common-graphics-suite.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/common/common-graphics-suite;tag=2ed6a477adc8d08c3efabaf8034bd16d4eabe779;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-multimedia-suite/common-multimedia-suite.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-multimedia-suite/common-multimedia-suite.inc new file mode 100644 index 0000000000..da643da1cf --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-multimedia-suite/common-multimedia-suite.inc @@ -0,0 +1,145 @@ +DESCRIPTION = "Multimedia suite for Tizen Common" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Testing" +LICENSE = "GPL-2.0" +PV = "1.0.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by common-multimedia-suite + + +#PROVIDES by ivi-multimedia-tests +PROVIDES += "ivi-multimedia-tests" + + +#PROVIDES by gst-auto-launch +PROVIDES += "gst-auto-launch" + + +RDEPENDS = "" +#RDEPENDS of gst-auto-launch (gst-auto-launch) +RDEPENDS_gst-auto-launch += "gstreamer-utils" + +#RDEPENDS of ivi-multimedia-tests (ivi-multimedia-tests) +RDEPENDS_ivi-multimedia-tests += "gstreamer-utils" +RDEPENDS_ivi-multimedia-tests += "testkit-lite" +RDEPENDS_ivi-multimedia-tests += "pulseaudio-utils" + +#RDEPENDS of common-multimedia-suite (${PN}) +RDEPENDS_${PN} += "common-suite-launcher" +RDEPENDS_${PN} += "testkit-lite" + + +DEPENDS = "" +#DEPENDS of common-multimedia-suite +DEPENDS += "glib-2.0" +inherit pkgconfig +DEPENDS += "gstreamer1.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/common-multimedia-suite.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + + +} +EXTRA_OECONF += " --prefix=${prefix}" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # common-multimedia-suite package + install -d ${D}${prefix}/share/tests/common-multimedia-suite + install -m 0755 common/runtest.sh ${D}${prefix}/share/tests/common-multimedia-suite + install -m 0644 common/*.xml ${D}${prefix}/share/tests/common-multimedia-suite + install -m 0644 LICENSE ${D}${prefix}/share/tests/common-multimedia-suite + cp -r common/TESTDIR ${D}${prefix}/share/tests/common-multimedia-suite + + # ivi-multimedia-tests package + install -d ${D}${prefix}/share/tests/ivi-multimedia-tests/tts-gstreamer-tests + install -d ${D}${prefix}/share/tests/ivi-multimedia-tests/tts-pulseaudio-tests + install -m 0755 ivi/tts-gstreamer-tests/src/* ${D}${prefix}/share/tests/ivi-multimedia-tests/tts-gstreamer-tests + install -m 0644 ivi/tts-gstreamer-tests/tests.xml ${D}${prefix}/share/tests/ivi-multimedia-tests/tts-gstreamer-tests + install -m 0644 ivi/tts-gstreamer-tests/README ${D}${prefix}/share/tests/ivi-multimedia-tests/tts-gstreamer-tests + install -m 0755 ivi/tts-pulseaudio-tests/src/*.sh ${D}${prefix}/share/tests/ivi-multimedia-tests/tts-pulseaudio-tests + install -m 0644 ivi/tts-pulseaudio-tests/tests.xml ${D}${prefix}/share/tests/ivi-multimedia-tests/tts-pulseaudio-tests + install -m 0644 ivi/tts-pulseaudio-tests/README ${D}${prefix}/share/tests/ivi-multimedia-tests/tts-pulseaudio-tests + install -m 0644 LICENSE ${D}${prefix}/share/tests/ivi-multimedia-tests + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " gst-auto-launch " +PACKAGES += " ivi-multimedia-tests " +PACKAGES += " common-multimedia-suite " + +gst-auto-launch_files = "" +gst-auto-launch_files += "${prefix}/bin/gst-auto-launch" +gst-auto-launch_files += "${prefix}/share/gst-auto-launch" + +ivi-multimedia-tests_files = "" +ivi-multimedia-tests_files += "${prefix}/share/tests/ivi-multimedia-tests" + +common-multimedia-suite_files = "" +common-multimedia-suite_files += "${prefix}/share/tests/common-multimedia-suite" +MANIFESTFILES_${PN} = "common-multimedia-suite.manifest" + +FILES_gst-auto-launch = "${gst-auto-launch_files}" +FILES_ivi-multimedia-tests = "${ivi-multimedia-tests_files}" +FILES_${PN} = "${common-multimedia-suite_files}" + +PKG_gst-auto-launch= "gst-auto-launch" +PKG_ivi-multimedia-tests= "ivi-multimedia-tests" +PKG_common-multimedia-suite= "common-multimedia-suite" + +require common-multimedia-suite-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-multimedia-suite/common-multimedia-suite_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-multimedia-suite/common-multimedia-suite_git.bb new file mode 100644 index 0000000000..ba0a068c48 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-multimedia-suite/common-multimedia-suite_git.bb @@ -0,0 +1,10 @@ +require common-multimedia-suite.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/common/common-multimedia-suite;tag=0a75992bd0357284a47973ebba5264bc2f18e8b6;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-sanity-suite/common-sanity-suite.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-sanity-suite/common-sanity-suite.inc new file mode 100644 index 0000000000..4819b130b3 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-sanity-suite/common-sanity-suite.inc @@ -0,0 +1,88 @@ +DESCRIPTION = "Sanity suite for Tizen Common" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Testing" +LICENSE = "GPL-2.0" +PV = "1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by common-sanity-suite + + +RDEPENDS = "" +#RDEPENDS of common-sanity-suite (${PN}) +RDEPENDS_${PN} += "common-suite-launcher" +RDEPENDS_${PN} += "testkit-lite" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/common-sanity-suite.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + ## common-sanity-suite + install -d ${D}${prefix}/share/tests/common/common-sanity-suite + install -m 0755 runtest ${D}${prefix}/share/tests/common/common-sanity-suite + install -m 644 *.xml ${D}${prefix}/share/tests/common/common-sanity-suite + install -m 0644 LICENSE ${D}${prefix}/share/tests/common/common-sanity-suite + cp -r TESTDIR ${D}${prefix}/share/tests/common/common-sanity-suite + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " common-sanity-suite " + +common-sanity-suite_files = "" +common-sanity-suite_files += "${prefix}/share/tests/common/common-sanity-suite" +MANIFESTFILES_${PN} = "common-sanity-suite.manifest" + +FILES_${PN} = "${common-sanity-suite_files}" + +PKG_common-sanity-suite= "common-sanity-suite" + +require common-sanity-suite-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-sanity-suite/common-sanity-suite_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-sanity-suite/common-sanity-suite_git.bb new file mode 100644 index 0000000000..f5ccae3af7 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-sanity-suite/common-sanity-suite_git.bb @@ -0,0 +1,10 @@ +require common-sanity-suite.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/common/common-sanity-suite;tag=6f3bf9868483eeab094d4230be0dd1aa2c9f90f4;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-suite-launcher/common-suite-launcher.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-suite-launcher/common-suite-launcher.inc new file mode 100644 index 0000000000..3e358ec469 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-suite-launcher/common-suite-launcher.inc @@ -0,0 +1,85 @@ +DESCRIPTION = "Launcher of Tizen Common test suites" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Testing" +LICENSE = "GPL-2.0" +PV = "2.1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by common-suite-launcher + + +RDEPENDS = "" +#RDEPENDS of common-suite-launcher (${PN}) +RDEPENDS_${PN} += "xmlstarlet" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/common-suite-launcher.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d ${D}${prefix}/bin + install -m 0755 src/common-suite-launcher ${D}${prefix}/bin + install -m 0755 src/result-format ${D}${prefix}/bin + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " common-suite-launcher " + +common-suite-launcher_files = "" +common-suite-launcher_files += "${prefix}/bin/common-suite-launcher" +common-suite-launcher_files += "${prefix}/bin/result-format" +MANIFESTFILES_${PN} = "common-suite-launcher.manifest" + +FILES_${PN} = "${common-suite-launcher_files}" + +PKG_common-suite-launcher= "common-suite-launcher" + +require common-suite-launcher-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-suite-launcher/common-suite-launcher_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-suite-launcher/common-suite-launcher_git.bb new file mode 100644 index 0000000000..4c4c6276a8 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/common-suite-launcher/common-suite-launcher_git.bb @@ -0,0 +1,10 @@ +require common-suite-launcher.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/tools/common-suite-launcher;tag=ccb687b94fcde71c55838b5ec37441fadca46103;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/ivi-sanity-suite/ivi-sanity-suite.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/ivi-sanity-suite/ivi-sanity-suite.inc new file mode 100644 index 0000000000..f1c73305b1 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/ivi-sanity-suite/ivi-sanity-suite.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "Sanity suite for Tizen IVI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Testing" +LICENSE = "GPL-2.0" +PV = "1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ivi-sanity-suite-GUI +PROVIDES += "ivi-sanity-suite-GUI" + + +#PROVIDES by ivi-sanity-suite + + +RDEPENDS = "" +#RDEPENDS of ivi-sanity-suite-GUI (${PN}-GUI) +RDEPENDS_${PN}-GUI += "testkit-lite" +RDEPENDS_${PN}-GUI += "fMBT" + +#RDEPENDS of ivi-sanity-suite (${PN}) +RDEPENDS_${PN} += "common-suite-launcher" +RDEPENDS_${PN} += "testkit-lite" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ivi-sanity-suite.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -d ${D}${prefix}/share/tests/pc/ivi-sanity-suite + install -m 0755 runtest ${D}${prefix}/share/tests/pc/ivi-sanity-suite + install -m 0755 process_check/prs_checker ${D}${prefix}/share/tests/pc/ivi-sanity-suite + install -m 0644 process_check/testkit.xml ${D}${prefix}/share/tests/pc/ivi-sanity-suite + install -m 0644 LICENSE ${D}${prefix}/share/tests/pc/ivi-sanity-suite + install -m 0644 process_check/README ${D}${prefix}/share/tests/pc/ivi-sanity-suite + + install -d ${D}${prefix}/share/tests/ivi/ivi-sanity-suite/GUI + install -m 0755 GUI/runtest.sh ${D}${prefix}/share/tests/ivi/ivi-sanity-suite/GUI + install -m 0755 GUI/ivi_apps.py ${D}${prefix}/share/tests/ivi/ivi-sanity-suite/GUI + install -m 0755 GUI/ivi_tests.py ${D}${prefix}/share/tests/ivi/ivi-sanity-suite/GUI + install -m 0644 GUI/testkit.xml ${D}${prefix}/share/tests/ivi/ivi-sanity-suite/GUI + install -m 0644 GUI/README ${D}${prefix}/share/tests/ivi/ivi-sanity-suite/GUI + install -m 0644 LICENSE ${D}${prefix}/share/tests/ivi/ivi-sanity-suite/GUI + cp -r GUI/ivi-tests_pics ${D}${prefix}/share/tests/ivi/ivi-sanity-suite/GUI + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " ivi-sanity-suite-GUI " +PACKAGES += " ivi-sanity-suite " + +ivi-sanity-suite-GUI_files = "" +ivi-sanity-suite-GUI_files += "${prefix}/share/tests/ivi/ivi-sanity-suite/GUI" + +ivi-sanity-suite_files = "" +ivi-sanity-suite_files += "${prefix}/share/tests/ivi/ivi-sanity-suite/runtest" +ivi-sanity-suite_files += "${prefix}/share/tests/ivi/ivi-sanity-suite/prs_checker" +ivi-sanity-suite_files += "${prefix}/share/tests/ivi/ivi-sanity-suite/testkit.xml" +ivi-sanity-suite_files += "${prefix}/share/tests/ivi/ivi-sanity-suite/LICENSE" +ivi-sanity-suite_files += "${prefix}/share/tests/ivi/ivi-sanity-suite/README" +MANIFESTFILES_${PN} = "ivi-sanity-suite.manifest" + +FILES_${PN}-GUI = "${ivi-sanity-suite-GUI_files}" +FILES_${PN} = "${ivi-sanity-suite_files}" + +PKG_ivi-sanity-suite-GUI= "ivi-sanity-suite-GUI" +PKG_ivi-sanity-suite= "ivi-sanity-suite" + +require ivi-sanity-suite-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/ivi-sanity-suite/ivi-sanity-suite_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/ivi-sanity-suite/ivi-sanity-suite_git.bb new file mode 100644 index 0000000000..34f7bd989f --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/ivi-sanity-suite/ivi-sanity-suite_git.bb @@ -0,0 +1,10 @@ +require ivi-sanity-suite.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/ivi/ivi-sanity-suite;tag=ef7ddc2e489672dc5567e511da57283fe22859fb;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/python-requests/python-requests.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/python-requests/python-requests.inc new file mode 100644 index 0000000000..d6793d4086 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/python-requests/python-requests.inc @@ -0,0 +1,92 @@ +DESCRIPTION = "Awesome Python HTTP Library That's Actually Usable" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Base" +LICENSE = "Apache-2.0" +PV = "2.2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by python-requests + + +RDEPENDS = "" +#RDEPENDS of python-requests (${PN}) +RDEPENDS_${PN} += "python" + + +DEPENDS = "" +#DEPENDS of python-requests +inherit pythonnative +DEPENDS += "python-setuptools" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n requests-2.2.1 + cp ${S}/packaging/python-requests.manifest . + # for rpmlint warning: remove shebang from python library + sed -i '/^#!/d' ./requests/certs.py + sed -i '/^#!/d' ./requests/packages/chardet/chardetect.py + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + python setup.py build + + exit 0 + python setup.py test + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --skip-build --prefix=${prefix} --root=${D} + #fdupes $RPM_BUILD_ROOT + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " python-requests " + +python-requests_files = "" +python-requests_files += "${prefix}/lib/python2.7/site-packages/*" +MANIFESTFILES_${PN} = "python-requests.manifest" + +FILES_${PN} = "${python-requests_files}" + +PKG_python-requests= "python-requests" + +require python-requests-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/python-requests/python-requests_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/python-requests/python-requests_git.bb new file mode 100644 index 0000000000..e729a83f34 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/python-requests/python-requests_git.bb @@ -0,0 +1,10 @@ +require python-requests.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/python-requests;tag=10e958cb8d3786946e30d4114f8afe27b9daccaf;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-lite/testkit-lite.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-lite/testkit-lite.inc new file mode 100644 index 0000000000..77f192b3b5 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-lite/testkit-lite.inc @@ -0,0 +1,137 @@ +DESCRIPTION = "Test runner with a command-line interface" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Testing" +LICENSE = "GPL-2.0" +PV = "3.1.7" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by testkit-lite + + +RDEPENDS = "" +#RDEPENDS of testkit-lite (${PN}) +RDEPENDS_${PN} += "python" +RDEPENDS_${PN} += "testkit-stub" +RDEPENDS_${PN} += "python-lxml" +RDEPENDS_${PN} += "python-requests" +RDEPENDS_${PN} += "dbus-python" + + +DEPENDS = "" +#DEPENDS of testkit-lite +inherit pythonnative +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "python-requests" +DEPENDS += "python-distribute" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/testkit-lite.manifest . + # for rpmlint warning: remove shebang from python library + sed -i '/^#!/d' ./testkitlite/commodule/androidmobile.py + sed -i '/^#!/d' ./testkitlite/commodule/localhost.py + sed -i '/^#!/d' ./testkitlite/commodule/tizenivi.py + sed -i '/^#!/d' ./testkitlite/commodule/tizenlocal.py + sed -i '/^#!/d' ./testkitlite/commodule/tizenmobile.py + sed -i '/^#!/d' ./testkitlite/engines/androidunit.py + sed -i '/^#!/d' ./testkitlite/engines/default.py + sed -i '/^#!/d' ./testkitlite/engines/pyunit.py + sed -i '/^#!/d' ./testkitlite/util/autoexec.py + sed -i '/^#!/d' ./testkitlite/util/config.py + sed -i '/^#!/d' ./testkitlite/util/connector.py + sed -i '/^#!/d' ./testkitlite/util/errors.py + sed -i '/^#!/d' ./testkitlite/util/httprequest.py + sed -i '/^#!/d' ./testkitlite/util/killall.py + sed -i '/^#!/d' ./testkitlite/util/log.py + sed -i '/^#!/d' ./testkitlite/util/process.py + sed -i '/^#!/d' ./testkitlite/util/result.py + sed -i '/^#!/d' ./testkitlite/util/session.py + sed -i '/^#!/d' ./testkitlite/util/str2.py + sed -i '/^#!/d' ./testkitmerge/merger.py + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + #empty + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + python setup.py install --prefix=${prefix} --root=${D} + install -d ${D}${prefix}/share/testkit-lite + cp -r xsd ${D}${prefix}/share/testkit-lite + #fdupes ${D} + CURDIR=$(pwd) + cd ${D}${prefix}/lib/python2.7/site-packages + + find . -name '*.pyc' -exec rm -f {} \; + python -c "import sys, os, compileall; br='${D}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" . + cd ${CURDIR} + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " testkit-lite " + +testkit-lite_files = "" +testkit-lite_files += "${sysconfdir}/dbus-1/system.d/com.intel.testkit.conf" +testkit-lite_files += "${prefix}/bin/testkit-lite" +testkit-lite_files += "${prefix}/bin/testkit-lite-dbus" +testkit-lite_files += "${prefix}/bin/testkit-merge" +testkit-lite_files += "/opt/testkit/lite/mh.html" +testkit-lite_files += "/opt/testkit/lite/testkit-lite_user_guide.pdf" +testkit-lite_files += "/opt/testkit/lite/testkit-lite_tutorial.pdf" +testkit-lite_files += "/opt/testkit/lite/test_definition_schema.pdf" +testkit-lite_files += "${prefix}/lib/python2.7/site-packages/testkitlite/*" +testkit-lite_files += "${prefix}/lib/python2.7/site-packages/testkitmerge/*" +testkit-lite_files += "${prefix}/lib/python2.7/site-packages/testkit_lite-3.1.7-py2.7.egg-info/*" +testkit-lite_files += "${prefix}/share/testkit-lite" +testkit-lite_files += "/opt/testkit/lite/VERSION" +testkit-lite_files += "/opt/testkit/lite/commodule/CONFIG" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/dbus-1/system.d/com.intel.testkit.conf" +MANIFESTFILES_${PN} = "testkit-lite.manifest" + +FILES_${PN} = "${testkit-lite_files}" + +PKG_testkit-lite= "testkit-lite" + +require testkit-lite-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-lite/testkit-lite_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-lite/testkit-lite_git.bb new file mode 100644 index 0000000000..3aa60204e5 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-lite/testkit-lite_git.bb @@ -0,0 +1,10 @@ +require testkit-lite.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/tools/testkit-lite;tag=da799487c06614bf07afd6006f2a57520f3f036c;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-stub/testkit-stub.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-stub/testkit-stub.inc new file mode 100644 index 0000000000..cbb4410dbf --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-stub/testkit-stub.inc @@ -0,0 +1,88 @@ +DESCRIPTION = "Test stub of testkit-lite" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Testing" +LICENSE = "GPL-2.0" +PV = "1.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by testkit-stub + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n testkit-stub-1.0 + cp ${S}/packaging/testkit-stub.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + make -j16 + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " testkit-stub " + +testkit-stub_files = "" +testkit-stub_files += "${prefix}/bin/testkit-stub" +MANIFESTFILES_${PN} = "testkit-stub.manifest" + +FILES_${PN} = "${testkit-stub_files}" + +PKG_testkit-stub= "testkit-stub" + +require testkit-stub-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-stub/testkit-stub_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-stub/testkit-stub_git.bb new file mode 100644 index 0000000000..bed2e88aba --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/testkit-stub/testkit-stub_git.bb @@ -0,0 +1,10 @@ +require testkit-stub.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/tools/testkit-stub;tag=47df47cf49ed04b7c37c011a0aa582e3d147563b;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master.inc new file mode 100644 index 0000000000..97e8f73a45 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master.inc @@ -0,0 +1,119 @@ +DESCRIPTION = "Wayland Test Suite" +HOMEPAGE = "https://github.com/01org/wayland-fits" +SECTION = "Applications/Core Applications" +LICENSE = "GPL-2.0+" +PV = "0.2.2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by wayland-fits-master + + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of wayland-fits-master +DEPENDS += "libcheck" +DEPENDS += "libxkbcommon" +DEPENDS += "evas" +inherit pkgconfig +DEPENDS += "weston" +DEPENDS += "wayland" +DEPENDS += "unzip" +DEPENDS += "efl" +DEPENDS += "elementary" +DEPENDS += "ecore" +DEPENDS += "boost" +DEPENDS += "pixman" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + export CXXFLAGS="-DMEDIA_PATH='\"${prefix}/share/media\"'" + ./autogen.sh + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += "" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p -m 755 ${D}${prefix}/share/media + install -m 755 ${S}/packaging/ADN_animation.gif ${D}${prefix}/share/media + install -m 755 ${S}/packaging/bridge_of_the_gods.png ${D}${prefix}/share/media + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " wayland-fits-master " + +wayland-fits-master_files = "" +wayland-fits-master_files += "${prefix}/bin/wfits" +wayland-fits-master_files += "${prefix}/lib/weston/weston-wfits.so" +wayland-fits-master_files += "${prefix}/share/media/*" +wayland-fits-master_files += "README" + +FILES_${PN} = "${wayland-fits-master_files}" + +PKG_wayland-fits-master= "wayland-fits-master" + +require wayland-fits-master-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master_git.bb new file mode 100644 index 0000000000..a2b0ca0bc2 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-devtools/recipes-devtools/wayland-fits-master/wayland-fits-master_git.bb @@ -0,0 +1,10 @@ +require wayland-fits-master.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/test/generic/wayland-fits;tag=c299b70e1df4b8e28beeac3bc80134b7baf2abe6;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info.inc new file mode 100644 index 0000000000..a4dc736022 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info.inc @@ -0,0 +1,97 @@ +DESCRIPTION = "Moblie Broadband Dataprovider Database" +HOMEPAGE = "http://www.gnome.org" +SECTION = "Applications/Internet" +LICENSE = "Creative Commons Public Domain" +PV = "20120614" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by mobile-broadband-provider-info + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/mobile-broadband-provider-info.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += " --disable-static" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + + + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " mobile-broadband-provider-info " + +mobile-broadband-provider-info_files = "" +mobile-broadband-provider-info_files += "${prefix}/share/pkgconfig/mobile-broadband-provider-info.pc" +mobile-broadband-provider-info_files += "${prefix}/share/mobile-broadband-provider-info/*" +MANIFESTFILES_${PN} = "mobile-broadband-provider-info.manifest" + +FILES_${PN} = "${mobile-broadband-provider-info_files}" + +PKG_mobile-broadband-provider-info= "mobile-broadband-provider-info" + +require mobile-broadband-provider-info-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb new file mode 100644 index 0000000000..12eb3000ba --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb @@ -0,0 +1,10 @@ +require mobile-broadband-provider-info.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/mobile-broadband-provider-info;tag=8a9d3c13cfccb63b48f9818aca07036e32c90396;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/ofono/ofono.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/ofono/ofono.inc new file mode 100644 index 0000000000..01638a5e9c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/ofono/ofono.inc @@ -0,0 +1,165 @@ +DESCRIPTION = "Open Source Telephony" +HOMEPAGE = "http://ofono.org" +SECTION = "Telephony/Cellular" +LICENSE = "GPL-2.0" +PV = "1.15" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ofono-docs +PROVIDES += "ofono-docs " + + +#PROVIDES by ofono-test +PROVIDES += "ofono-test" + + +#PROVIDES by ofono-dev +PROVIDES += "ofono-dev" + + +#PROVIDES by ofono + + +RDEPENDS = "" +#RDEPENDS of ofono-test (${PN}-test) +RDEPENDS_${PN}-test += "python-xml" +RDEPENDS_${PN}-test += "python-pygobject" +RDEPENDS_${PN}-test += "dbus-python" +RDEPENDS_${PN}-test += "ofono" + +#RDEPENDS of ofono-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "ofono" + +#RDEPENDS of ofono (${PN}) +RDEPENDS_${PN} += "dbus" +RDEPENDS_${PN} += "systemd" + + +DEPENDS = "" +#DEPENDS of ofono +DEPENDS += "mobile-broadband-provider-info" +DEPENDS += "dbus" +DEPENDS += "glib-2.0" +inherit pkgconfig +DEPENDS += "udev" +DEPENDS_append_class-native = " automake-native" +DEPENDS_append_class-target = " automake-native" +DEPENDS += "bluez5" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS_append_class-native = " autoconf-native" +DEPENDS_append_class-target = " autoconf-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + cp ${S}/packaging/ofono.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + autoreconf --force --install + + + autotools_do_configure + + make -j16 + + + +} +EXTRA_OECONF += " --disable-static --enable-test --disable-bluez4 --with-systemdunitdir=${systemd_unitdir}/system" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}${prefix}/lib/systemd/system/network.target.wants + ln -s ../ofono.service ${D}${prefix}/lib/systemd/system/network.target.wants/ofono.service + + + mkdir -p ${D}/${systemd_unitdir}/system/multi-user.target.wants + ln -s ../ofono.service ${D}/${systemd_unitdir}/system/multi-user.target.wants/ofono.service + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " ofono-test " +PACKAGES += " ofono-docs " +PACKAGES += " ofono-dev " +PACKAGES += " ofono " + +ofono-test_files = "" +ofono-test_files += "${prefix}/lib/ofono/test/*" +MANIFESTFILES_${PN}-test = "ofono.manifest" + +ofono-docs_files = "" + +ofono-dev_files = "" +ofono-dev_files += "${prefix}/include/ofono/*.h" +ofono-dev_files += "${prefix}/lib/pkgconfig/ofono.pc" +MANIFESTFILES_${PN}-dev = "ofono.manifest" + +ofono_files = "" +ofono_files += "${sysconfdir}/dbus-1/system.d/*.conf" +ofono_files += "${prefix}/sbin/*" +ofono_files += "${systemd_unitdir}/system/network.target.wants/ofono.service" +ofono_files += "${systemd_unitdir}/system/ofono.service" +ofono_files += "${systemd_unitdir}/system/multi-user.target.wants/ofono.service" +ofono_files += "${sysconfdir}/ofono/phonesim.conf" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/dbus-1/system.d/*.conf" +CONFFILES_${PN} += "${sysconfdir}/ofono/phonesim.conf" + +FILES_${PN}-test = "${ofono-test_files}" +FILES_${PN}-docs = "${ofono-docs_files}" +FILES_${PN}-dev = "${ofono-dev_files}" +FILES_${PN} = "${ofono_files}" + +PKG_ofono-test= "ofono-test" +PKG_ofono-docs= "ofono-docs" +PKG_ofono-dev= "ofono-dev" +PKG_ofono= "ofono" + +require ofono-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/ofono/ofono_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/ofono/ofono_git.bb new file mode 100644 index 0000000000..9d2a1ddee2 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-connectivity/ofono/ofono_git.bb @@ -0,0 +1,10 @@ +require ofono.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ofono;tag=02f89fd9a48fccc1702de9cc8f5c76cb72f54bc2;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-core/murphy/murphy.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-core/murphy/murphy.inc new file mode 100644 index 0000000000..ca55441fac --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-core/murphy/murphy.inc @@ -0,0 +1,576 @@ +DESCRIPTION = "Resource policy framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Service" +LICENSE = "BSD-3-Clause" +PV = "0.0.67" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by murphy-dev +PROVIDES += "murphy-dev" + + +#PROVIDES by murphy-core +PROVIDES += "murphy-core" + + +#PROVIDES by murphy-ecore +PROVIDES += "murphy-ecore" + + +#PROVIDES by murphy-pulse +PROVIDES += "murphy-pulse" + + +#PROVIDES by murphy-doc +PROVIDES += "murphy-doc" + + +#PROVIDES by murphy + + +#PROVIDES by murphy-ivi-resource-manager +PROVIDES += "murphy-ivi-resource-manager" + + +#PROVIDES by murphy-glib-dev +PROVIDES += "murphy-glib-dev" + + +#PROVIDES by murphy-pulse-dev +PROVIDES += "murphy-pulse-dev" + + +#PROVIDES by murphy-tests +PROVIDES += "murphy-tests" + + +#PROVIDES by murphy-gam +PROVIDES += "murphy-gam" + + +#PROVIDES by murphy-system-controller +PROVIDES += "murphy-system-controller" +# the PROVIDES rules is ignore "system-controller " +PROVIDES += "system-controller" +RPROVIDES_murphy-system-controller += "system-controller" + + +#PROVIDES by murphy-plugins-base +PROVIDES += "murphy-plugins-base" + + +#PROVIDES by murphy-glib +PROVIDES += "murphy-glib" + + +#PROVIDES by murphy-gam-dev +PROVIDES += "murphy-gam-dev" + + +#PROVIDES by murphy-ecore-dev +PROVIDES += "murphy-ecore-dev" + + +RDEPENDS = "" +#RDEPENDS of murphy-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "murphy-core" +RDEPENDS_${PN}-dev += "json-c" + +#RDEPENDS of murphy-ecore (${PN}-ecore) +RDEPENDS_${PN}-ecore += "murphy-core" + +#RDEPENDS of murphy-pulse (${PN}-pulse) +RDEPENDS_${PN}-pulse += "murphy-core" + +#RDEPENDS of murphy (${PN}) +RDEPENDS_${PN} += "murphy-core" +RDEPENDS_${PN} += "libcap" +RDEPENDS_${PN} += "/bin/systemctl" + +#RDEPENDS of murphy-gam-dev (${PN}-gam-dev) +RDEPENDS_${PN}-gam-dev += "murphy-gam" + +#RDEPENDS of murphy-pulse-dev (${PN}-pulse-dev) +RDEPENDS_${PN}-pulse-dev += "murphy-core" +RDEPENDS_${PN}-pulse-dev += "murphy-pulse" + +#RDEPENDS of murphy-tests (${PN}-tests) +RDEPENDS_${PN}-tests += "murphy-core" +RDEPENDS_${PN}-tests += "murphy" + +#RDEPENDS of murphy-gam (${PN}-gam) +RDEPENDS_${PN}-gam += "murphy" + +#RDEPENDS of murphy-system-controller (${PN}-system-controller) +RDEPENDS_${PN}-system-controller += "ico-uxf-homescreen" + +#RDEPENDS of murphy-plugins-base (${PN}-plugins-base) +RDEPENDS_${PN}-plugins-base += "murphy-core" +RDEPENDS_${PN}-plugins-base += "murphy" + +#RDEPENDS of murphy-glib (${PN}-glib) +RDEPENDS_${PN}-glib += "murphy-core" + +#RDEPENDS of murphy-glib-dev (${PN}-glib-dev) +RDEPENDS_${PN}-glib-dev += "murphy-core" +RDEPENDS_${PN}-glib-dev += "murphy-glib" + +#RDEPENDS of murphy-ecore-dev (${PN}-ecore-dev) +RDEPENDS_${PN}-ecore-dev += "murphy-core" +RDEPENDS_${PN}-ecore-dev += "murphy-ecore" + + +DEPENDS = "" +#DEPENDS of murphy +DEPENDS += "genivi-shell" +DEPENDS += "ofono" +DEPENDS += "json-c" +DEPENDS += "libxml2" +DEPENDS += "audio-session-manager" +DEPENDS += "aul" +DEPENDS += "systemd" +inherit pkgconfig +DEPENDS += "glib-2.0" +DEPENDS += "lua" +DEPENDS += "libcap" +DEPENDS += "ico-uxf-weston-plugin" +DEPENDS += "flex" +DEPENDS += "tizen-platform-config" +DEPENDS += "weston-ivi-shell" +DEPENDS += "smack" +DEPENDS += "libwebsockets" +DEPENDS += "ecore" +DEPENDS += "virtual/libgles2" +DEPENDS += "virtual/egl" +DEPENDS += "dbus" +DEPENDS += "pulseaudio" +DEPENDS += "ail" +DEPENDS_append_class-native = " bison-native" +DEPENDS_append_class-target = " bison-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/murphy.manifest . + echo "Build with icosyscon" + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + CONFIG_OPTIONS="" + DYNAMIC_PLUGINS="domain-control,system-controller,ivi-resource-manager" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-pulse" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-ecore" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-glib" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-qt" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-libdbus" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-telephony" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-resource-asm" + DYNAMIC_PLUGINS="$DYNAMIC_PLUGINS,resource-asm" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-websockets" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-smack" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-system-controller" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-system-monitor" + + ./bootstrap + + autotools_do_configure + oe_runmake clean + oe_runmake -j16 $V + + + +} +EXTRA_OECONF += " $CONFIG_OPTIONS --with-dynamic-plugins=$DYNAMIC_PLUGINS" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + # Make sure we have a plugin dir even if all the basic plugins + # are configured to be built in. + mkdir -p ${D}${prefix}/lib/murphy/plugins + + # Get rid of any *.la files installed by libtool. + rm -f ${D}${prefix}/lib/*.la + + # Clean up also the murphy DB installation. + rm -f ${D}${prefix}/lib/murphy/*.la + + # Generate list of linkedin plugins (depends on the configuration). + outdir="`pwd`" + cd ${D} + find ./${prefix}/lib -name libmurphy-plugin-*.so* | \ + sed 's#^./*#/#g' > $outdir/filelist.plugins-base + cd $(outdir) + echo "Found the following linked-in plugin files:" + cat $outdir/filelist.plugins-base | sed 's/^/ /g' + + # Generate list of header files, filtering ones that go to subpackages. + outdir="`pwd`" + cd ${D} + find ./${prefix}/include/murphy | \ + grep -E -v '((pulse)|(ecore)|(glib)|(qt))-glue' | \ + sed 's#^./*#/#g' > $outdir/filelist.devel-includes + cd $(outdir) + + # Replace the default sample/test config files with the packaging ones. + rm -f ${D}${sysconfdir}/murphy/* + cp packaging.in/murphy-lua.conf ${D}${sysconfdir}/murphy/murphy.conf + cp packaging.in/murphy.lua ${D}${sysconfdir}/murphy/murphy.lua + + # Copy plugin configuration files in place. + mkdir -p ${D}${sysconfdir}/murphy/plugins/amb + cp packaging.in/amb-config.lua \ + ${D}${sysconfdir}/murphy/plugins/amb/config.lua + + # Copy tmpfiles.d config file in place + mkdir -p ${D}/usr/lib/tmpfiles.d + cp packaging.in/murphyd.conf ${D}/usr/lib/tmpfiles.d + + # Copy the systemd files in place. + #mkdir -p %{buildroot}%{_unitdir} + mkdir -p ${D}${prefix}/lib/systemd/user + cp packaging.in/murphyd.service ${D}${prefix}/lib/systemd/user + + mkdir -p ${D}${sysconfdir}/dbus-1/system.d + sed "s/@TZ_SYS_USER_GROUP@/users/g" \ + packaging.in/org.Murphy.conf.in > packaging.in/org.Murphy.conf + cp packaging.in/org.Murphy.conf \ + ${D}${sysconfdir}/dbus-1/system.d/org.Murphy.conf + + # copy (experimental) GAM resource backend configuration files + mkdir -p ${D}${sysconfdir}/murphy/gam + cp packaging.in/gam-*.names packaging.in/gam-*.tree \ + ${D}${sysconfdir}/murphy/gam + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + /bin/systemctl --user enable --global murphyd.service + setcap 'cap_net_admin=+ep' $D${prefix}/bin/murphyd + ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + if [ "$1" = "0" ]; then + systemctl --user disable --global murphyd.service + fi + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " murphy-core " +PACKAGES += " murphy-dev " +PACKAGES += " murphy-ecore " +PACKAGES += " murphy-gam-dev " +PACKAGES += " murphy-pulse " +PACKAGES += " murphy " +PACKAGES += " murphy-ivi-resource-manager " +PACKAGES += " murphy-ecore-dev " +PACKAGES += " murphy-pulse-dev " +PACKAGES += " murphy-tests " +PACKAGES += " murphy-gam " +PACKAGES += " murphy-system-controller " +PACKAGES += " murphy-glib " +PACKAGES += " murphy-glib-dev " +PACKAGES += " murphy-plugins-base " + +murphy-core_files = "" +murphy-core_files += "${prefix}/lib/libmurphy-common.so.*" +murphy-core_files += "${prefix}/lib/libmurphy-core.so.*" +murphy-core_files += "${prefix}/lib/libmurphy-resolver.so.*" +murphy-core_files += "${prefix}/lib/libmurphy-resource.so.*" +murphy-core_files += "${prefix}/lib/libmurphy-resource-backend.so.*" +murphy-core_files += "${prefix}/lib/libmurphy-lua-utils.so.*" +murphy-core_files += "${prefix}/lib/libmurphy-lua-decision.so.*" +murphy-core_files += "${prefix}/lib/libmurphy-domain-controller.so.*" +murphy-core_files += "${prefix}/lib/murphy/*.so.*" +murphy-core_files += "${prefix}/lib/libbreedline*.so.*" +murphy-core_files += "${prefix}/lib/libmurphy-libdbus.so.*" +murphy-core_files += "${prefix}/lib/libmurphy-dbus-libdbus.so.*" + +murphy-dev_files = "" +murphy-dev_files += "${prefix}/include/murphy-db" +murphy-dev_files += "${prefix}/lib/libmurphy-common.so" +murphy-dev_files += "${prefix}/lib/libmurphy-core.so" +murphy-dev_files += "${prefix}/lib/libmurphy-resolver.so" +murphy-dev_files += "${prefix}/lib/libmurphy-resource.so" +murphy-dev_files += "${prefix}/lib/libmurphy-resource-backend.so" +murphy-dev_files += "${prefix}/lib/libmurphy-lua-utils.so" +murphy-dev_files += "${prefix}/lib/libmurphy-lua-decision.so" +murphy-dev_files += "${prefix}/lib/libmurphy-domain-controller.so" +murphy-dev_files += "${prefix}/lib/murphy/*.so" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-common.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-core.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-resolver.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-lua-utils.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-lua-decision.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-domain-controller.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-db.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-resource.pc" +murphy-dev_files += "${prefix}/include/breedline" +murphy-dev_files += "${prefix}/lib/libbreedline*.so" +murphy-dev_files += "${prefix}/lib/pkgconfig/breedline*.pc" +murphy-dev_files += "${prefix}/lib/libmurphy-libdbus.so" +murphy-dev_files += "${prefix}/lib/libmurphy-dbus-libdbus.so" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-libdbus.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-dbus-libdbus.pc" + +murphy-ecore_files = "" +murphy-ecore_files += "${prefix}/lib/libmurphy-ecore.so.*" +MANIFESTFILES_${PN}-ecore = "murphy.manifest" + +murphy-gam-dev_files = "" +murphy-gam-dev_files += "${prefix}/bin/decision-test" +murphy-gam-dev_files += "${prefix}/bin/pattern-generator" +murphy-gam-dev_files += "${prefix}/lib/libmurphy-decision-tree.so" + +murphy-pulse_files = "" +murphy-pulse_files += "${prefix}/lib/libmurphy-pulse.so.*" +MANIFESTFILES_${PN}-pulse = "murphy.manifest" + +murphy-doc_files = "" +murphy-doc_files += "${prefix}/share/doc/murphy/AUTHORS" +murphy-doc_files += "${prefix}/share/doc/murphy/CODING-STYLE" +murphy-doc_files += "${prefix}/share/doc/murphy/ChangeLog" +murphy-doc_files += "${prefix}/share/doc/murphy/NEWS" +murphy-doc_files += "${prefix}/share/doc/murphy/README" + +murphy_files = "" +murphy_files += "${prefix}/bin/murphyd" +murphy_files += "${sysconfdir}/murphy" +murphy_files += "${prefix}/lib/systemd/user/murphyd.service" +murphy_files += "/usr/lib/tmpfiles.d/murphyd.conf" +murphy_files += "${prefix}/sbin/asm-bridge" +murphy_files += "${sysconfdir}/dbus-1/system.d" +murphy_files += "${sysconfdir}/dbus-1/system.d/org.Murphy.conf" +murphy_files += "${prefix}/share/murphy" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/murphy" +CONFFILES_${PN} += "${sysconfdir}/dbus-1/system.d/org.Murphy.conf" +MANIFESTFILES_${PN} = "murphy.manifest" + +murphy-ivi-resource-manager_files = "" +murphy-ivi-resource-manager_files += "${prefix}/lib/murphy/plugins/plugin-ivi-resource-manager.so" +MANIFESTFILES_${PN}-ivi-resource-manager = "murphy.manifest" + +murphy-ecore-dev_files = "" +murphy-ecore-dev_files += "${prefix}/include/murphy/common/ecore-glue.h" +murphy-ecore-dev_files += "${prefix}/lib/libmurphy-ecore.so" +murphy-ecore-dev_files += "${prefix}/lib/pkgconfig/murphy-ecore.pc" + +murphy-pulse-dev_files = "" +murphy-pulse-dev_files += "${prefix}/include/murphy/common/pulse-glue.h" +murphy-pulse-dev_files += "${prefix}/lib/libmurphy-pulse.so" +murphy-pulse-dev_files += "${prefix}/lib/pkgconfig/murphy-pulse.pc" + +murphy-tests_files = "" +murphy-tests_files += "${prefix}/bin/resource-client" +murphy-tests_files += "${prefix}/bin/resource-api-test" +murphy-tests_files += "${prefix}/bin/resource-api-fuzz" +murphy-tests_files += "${prefix}/bin/resource-context-create" +murphy-tests_files += "${prefix}/bin/test-domain-controller" +murphy-tests_files += "${prefix}/bin/murphy-console" +MANIFESTFILES_${PN}-tests = "murphy.manifest" + +murphy-gam_files = "" +murphy-gam_files += "${prefix}/lib/libmurphy-decision-tree.so.*" +murphy-gam_files += "${prefix}/lib/libmurphy-decision-tree.so.0.0.0" +murphy-gam_files += "${prefix}/lib/murphy/plugins/plugin-gam-resource-manager.so" + +murphy-system-controller_files = "" +murphy-system-controller_files += "${prefix}/lib/murphy/plugins/plugin-system-controller.so" +MANIFESTFILES_${PN}-system-controller = "murphy.manifest" + +murphy-glib_files = "" +murphy-glib_files += "${prefix}/lib/libmurphy-glib.so.*" +MANIFESTFILES_${PN}-glib = "murphy.manifest" + +murphy-glib-dev_files = "" +murphy-glib-dev_files += "${prefix}/include/murphy/common/glib-glue.h" +murphy-glib-dev_files += "${prefix}/lib/libmurphy-glib.so" +murphy-glib-dev_files += "${prefix}/lib/pkgconfig/murphy-glib.pc" + +murphy-plugins-base_files = "" +murphy-plugins-base_files += "${prefix}/lib/murphy/plugins/plugin-domain-control.so" +murphy-plugins-base_files += "${prefix}/lib/murphy/plugins/plugin-resource-asm.so" +murphy-plugins-base_files += "${prefix}/lib/murphy/plugins/plugin-resource-native.so" + +FILES_${PN}-core = "${murphy-core_files}" +FILES_${PN}-dev = "${murphy-dev_files}" +FILES_${PN}-ecore = "${murphy-ecore_files}" +FILES_${PN}-gam-dev = "${murphy-gam-dev_files}" +FILES_${PN}-pulse = "${murphy-pulse_files}" +FILES_${PN}-doc = "${murphy-doc_files}" +FILES_${PN} = "${murphy_files}" +FILES_${PN}-ivi-resource-manager = "${murphy-ivi-resource-manager_files}" +FILES_${PN}-ecore-dev = "${murphy-ecore-dev_files}" +FILES_${PN}-pulse-dev = "${murphy-pulse-dev_files}" +FILES_${PN}-tests = "${murphy-tests_files}" +FILES_${PN}-gam = "${murphy-gam_files}" +FILES_${PN}-system-controller = "${murphy-system-controller_files}" +FILES_${PN}-glib = "${murphy-glib_files}" +FILES_${PN}-glib-dev = "${murphy-glib-dev_files}" +FILES_${PN}-plugins-base = "${murphy-plugins-base_files}" + +PKG_murphy-core= "murphy-core" +PKG_murphy-dev= "murphy-dev" +PKG_murphy-ecore= "murphy-ecore" +PKG_murphy-gam-dev= "murphy-gam-dev" +PKG_murphy-pulse= "murphy-pulse" +PKG_murphy-doc= "murphy-doc" +PKG_murphy= "murphy" +PKG_murphy-ivi-resource-manager= "murphy-ivi-resource-manager" +PKG_murphy-ecore-dev= "murphy-ecore-dev" +PKG_murphy-pulse-dev= "murphy-pulse-dev" +PKG_murphy-tests= "murphy-tests" +PKG_murphy-gam= "murphy-gam" +PKG_murphy-system-controller= "murphy-system-controller" +PKG_murphy-glib= "murphy-glib" +PKG_murphy-glib-dev= "murphy-glib-dev" +PKG_murphy-plugins-base= "murphy-plugins-base" + +require murphy-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-core/murphy/murphy_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-core/murphy/murphy_git.bb new file mode 100644 index 0000000000..b769e659bd --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-core/murphy/murphy_git.bb @@ -0,0 +1,10 @@ +require murphy.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/murphy;tag=b9d006e4db4bc964e5acad83feab71e00d34968d;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc new file mode 100644 index 0000000000..e358cba103 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc @@ -0,0 +1,209 @@ +DESCRIPTION = "Chromium-based app runtime" +HOMEPAGE = "https://github.com/otcshare/crosswalk" +SECTION = "Web Framework/Web Run Time" +LICENSE = "(BSD-3-Clause and LGPL-2.1+)" +PV = "11.40.277.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by crosswalk-thirdparty +# the PROVIDES rules is ignore "crosswalk-thirdparty " + + +RDEPENDS = "" +#RDEPENDS of crosswalk-thirdparty (${PN}) +RDEPENDS_${PN} += "ca-certificates-tizen" +RDEPENDS_${PN} += "ss-server" + + +DEPENDS = "" +#DEPENDS of crosswalk-thirdparty +DEPENDS += "pkgconfig(protobuf)" +DEPENDS += "cairo" +DEPENDS += "expat" +DEPENDS += "udev" +DEPENDS += "libxslt" +DEPENDS += "glib-2.0" +DEPENDS += "bzip2" +DEPENDS += "nss" +DEPENDS += "alsa-lib" +DEPENDS += "elfutils" +inherit pkgconfig +DEPENDS += "yasm" +inherit perlnative +DEPENDS += "wayland" +DEPENDS += "which" +DEPENDS += "libxml2" +DEPENDS += "libcap" +DEPENDS += "flex" +DEPENDS += "gperf" +inherit pythonnative +DEPENDS += "python-xml" +DEPENDS_append_class-native = " ninja-native" +DEPENDS_append_class-target = " ninja-native" +DEPENDS += "pango" +DEPENDS += "vconf" +DEPENDS += "fontconfig" +DEPENDS += "libxkbcommon" +DEPENDS += "dbus" +DEPENDS += "pulseaudio" +DEPENDS_append_class-native = " bison-native" +DEPENDS_append_class-target = " bison-native" +DEPENDS += "pciutils" +DEPENDS += "binutils" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n crosswalk + + cp ${S}/packaging/crosswalk-thirdparty.manifest . + cp ${S}/packaging/xwalk-thirdparty.gyp src/xwalk/ + + + # The profiles using Wayland (and thus Ozone) do not need this patch. + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + # Stop unconditionally passing -Wall to the compiler. Chromium has its own + # mechanisms for deciding which parts of the code need -Wall and which need it + # to be left out (since several pieces are built with -Werror). At least in + # M39, this is preventing the "rtc_base" target from being built because it + # does not expect -Wall to be passed to the compiler (see webrtc issue 3307). + export CXXFLAGS=`echo $CXXFLAGS | sed s,-Wall,,g` + + # Do not use -finline-functions: it breaks the build because it causes -Wall to + # warn about some conditions that cannot really be reached (ie. variables that + # may be used uninitialized while in fact thay cannot be uninitialized). See + # TC-2299. + export CXXFLAGS=`echo $CXXFLAGS | sed s,-finline-functions,,g` + + # For ffmpeg on ia32. The original CFLAGS set by the gyp and config files in + # src/third_party/ffmpeg already pass -O2 -fomit-frame-pointer, but Tizen's + # CFLAGS end up appending -fno-omit-frame-pointer. See http://crbug.com/37246 + export CFLAGS=`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g` + + + # Building the RPM in the GBS chroot fails with errors such as + # /usr/lib/gcc/i586-tizen-linux/4.7/../../../../i586-tizen-linux/bin/ld: + # failed to set dynamic section sizes: Memory exhausted + # For now, work around it by passing a GNU ld-specific flag that optimizes the + # linker for memory usage. + export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory" + + # Support building in a non-standard directory, possibly outside ${WORKDIR}. + # Since the build root is erased every time a new build is performed, one way + # to avoid losing the build directory is to specify a location outside the + # build root to the BUILDDIR_NAME definition, such as "/var/tmp/xwalk-build" + # (remember all paths are still inside the chroot): + # gbs build --define 'BUILDDIR_NAME /some/path' + BUILDDIR_NAME="" + if [ -n "${BUILDDIR_NAME}" ]; then + mkdir -p "${BUILDDIR_NAME}" + ln -s "${BUILDDIR_NAME}" src/out + fi + + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_ozone=1" + + # Force gold binary from chroot ld.gold provided by binutils-gold + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_nacl=1 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 " + + # Linking fails when fatal ld warnings are enabled. See XWALK-1379. + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_fatal_linker_warnings=1" + + # For building for arm in OBS, we need : + # -> to unset sysroot value. + # sysroot variable is automatically set for cross compilation to use arm-sysroot provided by Chromium project + # sysroot usage is not needed, we need to use arm libraries from the virtualized environment. + # + # Crosswalk build fails if the fpu selected in the gcc option is different from neon in case of arm7 compilation + # So force it. + + + + # --no-parallel is added because chroot does not mount a /dev/shm, this will + # cause python multiprocessing.SemLock error. + export GYP_GENERATORS='ninja' + ./src/xwalk/gyp_xwalk src/xwalk/xwalk-thirdparty.gyp \ + --no-parallel \ + ${GYP_EXTRA_FLAGS} \ + -Dchromeos=0 \ + -Dclang=0 \ + -Dlinux_use_bundled_binutils=0 \ + -Dlinux_use_bundled_gold=0 \ + -Dlinux_use_gold_flags=1 \ + -Dtizen=1 \ + -Dpython_ver=2.7 \ + -Duse_aura=1 \ + -Duse_cups=0 \ + -Duse_gconf=0 \ + -Duse_gnome_keyring=0 \ + -Duse_kerberos=0 \ + -Duse_system_bzip2=1 \ + -Duse_system_libexif=1 \ + -Duse_system_libxml=1 \ + -Duse_system_protobuf=1 \ + -Duse_system_yasm=1 \ + -Denable_hidpi=1 \ + -Dwerror= \ + -Dskia_warnings_as_errors=0 + + ninja -j16 -C src/out/Release xwalk-thirdparty + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + + mkdir -p ${D}${prefix}/share/crosswalk-thirdparty/ + tar -zcvf out.tgz src/out + cp -ar out.tgz ${D}${prefix}/share/crosswalk-thirdparty/ + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " crosswalk-thirdparty " + +crosswalk-thirdparty_files = "" +crosswalk-thirdparty_files += "${prefix}/share/crosswalk-thirdparty/*" +MANIFESTFILES_${PN} = "crosswalk-thirdparty.manifest" + +FILES_${PN} = "${crosswalk-thirdparty_files}" + +PKG_crosswalk-thirdparty= "crosswalk-thirdparty" + +require crosswalk-thirdparty-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty_git.bb new file mode 100644 index 0000000000..ba05b196bb --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty_git.bb @@ -0,0 +1,10 @@ +require crosswalk-thirdparty.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk;tag=e02d90f63d504e1126cdb98e24cd0bd168b0d4d9;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc new file mode 100644 index 0000000000..51881dd80b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc @@ -0,0 +1,324 @@ +DESCRIPTION = "Chromium-based app runtime" +HOMEPAGE = "https://github.com/otcshare/crosswalk" +SECTION = "Web Framework/Web Run Time" +LICENSE = "(BSD-3-Clause and LGPL-2.1+)" +PV = "11.40.277.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by crosswalk + + +#PROVIDES by widget-manifest-parser +PROVIDES += "widget-manifest-parser" + + +#PROVIDES by widget-manifest-parser-dev +PROVIDES += "widget-manifest-parser-dev" + + +RDEPENDS = "" +#RDEPENDS of crosswalk (${PN}) +RDEPENDS_${PN} += "ca-certificates-tizen" +RDEPENDS_${PN} += "ss-server" + +#RDEPENDS of widget-manifest-parser (widget-manifest-parser) +RDEPENDS_widget-manifest-parser += "crosswalk" + +#RDEPENDS of widget-manifest-parser-dev (widget-manifest-parser-dev) +RDEPENDS_widget-manifest-parser-dev += "crosswalk" +RDEPENDS_widget-manifest-parser-dev += "widget-manifest-parser" + + +DEPENDS = "" +#DEPENDS of crosswalk +DEPENDS += "pkgconfig(protobuf)" +DEPENDS += "cairo" +DEPENDS += "pkgmgr" +DEPENDS += "expat" +DEPENDS += "udev" +DEPENDS += "app-core" +DEPENDS += "xmlsec1" +DEPENDS += "libxslt" +inherit perlnative +DEPENDS += "secure-storage" +DEPENDS += "bzip2" +DEPENDS += "nss" +DEPENDS += "alsa-lib" +DEPENDS += "elfutils" +inherit pkgconfig +DEPENDS += "yasm" +DEPENDS += "fontconfig" +DEPENDS += "system-server" +DEPENDS += "wayland" +DEPENDS += "which" +DEPENDS += "libxml2" +DEPENDS_append_class-native = " bison-native" +DEPENDS_append_class-target = " bison-native" +DEPENDS += "sensor" +DEPENDS += "icu" +DEPENDS += "flex" +DEPENDS += "freetype" +DEPENDS += "gperf" +inherit pythonnative +DEPENDS += "tizen-platform-config" +DEPENDS += "pkgmgr-info" +DEPENDS += "glib-2.0" +DEPENDS += "libdrm" +DEPENDS += "libcap" +DEPENDS += "python-xml" +DEPENDS_append_class-native = " ninja-native" +DEPENDS_append_class-target = " ninja-native" +DEPENDS += "pango" +DEPENDS += "vconf" +DEPENDS += "virtual/egl" +DEPENDS += "libxkbcommon" +DEPENDS += "dbus" +DEPENDS += "pulseaudio" +DEPENDS += "libexif" +DEPENDS += "ail" +DEPENDS += "capi-location-manager" +DEPENDS += "pciutils" +DEPENDS += "binutils" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n crosswalk + + cp ${S}/packaging/xwalk.in . + cp ${S}/packaging/xwalk.service.in . + cp ${S}/packaging/crosswalk.manifest . + cp ${S}/packaging/crosswalk.xml.in . + cp ${S}/packaging/crosswalk.png . + cp ${S}/packaging/changedate.py . + sed "s/@VERSION@/11.40.277.0/g" crosswalk.xml.in > crosswalk.xml + sed "s|@LIB_INSTALL_DIR@|${prefix}/lib|g" xwalk.in > xwalk + sed "s|@LIB_INSTALL_DIR@|${prefix}/lib|g" xwalk.service.in > xwalk.service + + # Widget manifest parser devel + cp src/xwalk/tizen/widget-manifest-parser/widget-manifest-parser.pc.in . + sed "s|@VERSION@|11.40.277.0|g" widget-manifest-parser.pc.in > widget-manifest-parser.pc + + cp -a src/AUTHORS AUTHORS.chromium + cp -a src/LICENSE LICENSE.chromium + cp -a src/xwalk/LICENSE LICENSE.xwalk + + # The profiles using Wayland (and thus Ozone) do not need this patch. + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + mkdir -p src/out + tar -zxvf ${prefix}/share/crosswalk-thirdparty/out.tgz + python ./changedate.py + + # Stop unconditionally passing -Wall to the compiler. Chromium has its own + # mechanisms for deciding which parts of the code need -Wall and which need it + # to be left out (since several pieces are built with -Werror). At least in + # M39, this is preventing the "rtc_base" target from being built because it + # does not expect -Wall to be passed to the compiler (see webrtc issue 3307). + export CXXFLAGS=`echo $CXXFLAGS | sed s,-Wall,,g` + + # For ffmpeg on ia32. The original CFLAGS set by the gyp and config files in + # src/third_party/ffmpeg already pass -O2 -fomit-frame-pointer, but Tizen's + # CFLAGS end up appending -fno-omit-frame-pointer. See http://crbug.com/37246 + export CFLAGS=`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g` + + + # Building the RPM in the GBS chroot fails with errors such as + # /usr/lib/gcc/i586-tizen-linux/4.7/../../../../i586-tizen-linux/bin/ld: + # failed to set dynamic section sizes: Memory exhausted + # For now, work around it by passing a GNU ld-specific flag that optimizes the + # linker for memory usage. + export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory" + + # Support building in a non-standard directory, possibly outside ${WORKDIR}. + # Since the build root is erased every time a new build is performed, one way + # to avoid losing the build directory is to specify a location outside the + # build root to the BUILDDIR_NAME definition, such as "/var/tmp/xwalk-build" + # (remember all paths are still inside the chroot): + # gbs build --define 'BUILDDIR_NAME /some/path' + BUILDDIR_NAME="" + if [ -n "${BUILDDIR_NAME}" ]; then + mkdir -p "${BUILDDIR_NAME}" + ln -s "${BUILDDIR_NAME}" src/out + fi + + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Duse_ozone=1" + + # Force gold binary from chroot ld.gold provided by binutils-gold + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_nacl=1 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 " + + # Linking fails when fatal ld warnings are enabled. See XWALK-1379. + GYP_EXTRA_FLAGS="${GYP_EXTRA_FLAGS} -Ddisable_fatal_linker_warnings=1" + + # For building for arm in OBS, we need : + # -> to unset sysroot value. + # sysroot variable is automatically set for cross compilation to use arm-sysroot provided by Chromium project + # sysroot usage is not needed, we need to use arm libraries from the virtualized environment. + # + # Crosswalk build fails if the fpu selected in the gcc option is different from neon in case of arm7 compilation + # So force it. + + + + # --no-parallel is added because chroot does not mount a /dev/shm, this will + # cause python multiprocessing.SemLock error. + export GYP_GENERATORS='ninja' + ./src/xwalk/gyp_xwalk src/xwalk/xwalk.gyp \ + --no-parallel \ + ${GYP_EXTRA_FLAGS} \ + -Dchromeos=0 \ + -Dclang=0 \ + -Dlinux_use_bundled_binutils=0 \ + -Dlinux_use_bundled_gold=0 \ + -Dlinux_use_gold_flags=1 \ + -Dtizen=1 \ + -Dpython_ver=2.7 \ + -Duse_aura=1 \ + -Duse_cups=0 \ + -Duse_gconf=0 \ + -Duse_gnome_keyring=0 \ + -Duse_kerberos=0 \ + -Duse_system_bzip2=1 \ + -Duse_system_libexif=1 \ + -Duse_system_libxml=1 \ + -Duse_system_nspr=1 \ + -Duse_system_yasm=1 \ + -Dshared_process_mode=1 \ + -Denable_hidpi=1 \ + -Dwerror= \ + -Dskia_warnings_as_errors=0 + + ninja -j16 -C src/out/Release xwalk xwalk_launcher xwalk_application_tools widget-manifest-parser + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + # Binaries. + install -p -D ${S}/packaging/org.crosswalkproject.Runtime1.service ${D}/usr/share/dbus-1/services/org.crosswalkproject.Runtime1.service + install -p -D xwalk.service ${D}/usr/lib/systemd/user/xwalk.service + install -p -D src/out/Release/xwalk ${D}${prefix}/lib/xwalk/xwalk + install -p -D src/out/Release/xwalkctl ${D}${prefix}/bin/xwalkctl + install -p -D src/out/Release/xwalk-launcher ${D}${prefix}/bin/xwalk-launcher + install -p -D src/out/Release/xwalk_backend ${D}${prefix}/lib/xwalk/xwalk_backend + install -p -D src/out/Release/lib/libxwalk_backend_lib.so ${D}${prefix}/lib/xwalk/libxwalk_backend_lib.so + + # Supporting libraries and resources. + install -p -D src/out/Release/icudtl.dat ${D}${prefix}/lib/xwalk/icudtl.dat + install -p -D src/out/Release/libffmpegsumo.so ${D}${prefix}/lib/xwalk/libffmpegsumo.so + install -p -D src/out/Release/xwalk.pak ${D}${prefix}/lib/xwalk/xwalk.pak + mkdir -p ${D}${prefix}/share/xwalk + install -p -D src/xwalk/application/common/tizen/configuration/*.xsd ${D}${prefix}/share/xwalk/ + + # PNaCl + + # Register xwalk to the package manager. + install -m 0644 -p -D crosswalk.xml ${D}${prefix}/share/packages/crosswalk.xml + install -m 0644 -p -D crosswalk.png ${D}${prefix}/share/icons/default/small/crosswalk.png + + # Widget manifest parser devel + install -m 0664 -p -D src/xwalk/tizen/widget-manifest-parser/widget-manifest-parser.h ${D}${prefix}/include/widget-manifest-parser/widget-manifest-parser.h + install -m 0664 -p -D widget-manifest-parser.pc ${D}${prefix}/lib/pkgconfig/widget-manifest-parser.pc + + # Widget manifest parser + install -m 0755 -p -D src/out/Release/lib/libwidget-manifest-parser.so ${D}${prefix}/lib/libwidget-manifest-parser.so + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + mkdir -p $D${prefix}/share/icons/default/small + mkdir -p $D${prefix}/share/packages + ln -sf $D${prefix}/lib/xwalk/libxwalk_backend_lib.so /etc/package-manager/backendlib/libxpk.so + ln -sf $D${prefix}/lib/xwalk/libxwalk_backend_lib.so /etc/package-manager/backendlib/libwgt.so + ln -sf $D${prefix}/lib/xwalk/xwalk_backend /etc/package-manager/backend/xpk + ln -sf $D${prefix}/lib/xwalk/xwalk_backend /etc/package-manager/backend/wgt + +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + if [ $1 -eq 0 ] ; then + # don't remove if we are upgrade the rpm package + [ -L /etc/package-manager/backendlib/libxpk.so ] && rm /etc/package-manager/backendlib/libxpk.so + [ -L /etc/package-manager/backendlib/libwgt.so ] && rm /etc/package-manager/backendlib/libwgt.so + [ -L /etc/package-manager/backend/xpk ] && rm /etc/package-manager/backend/xpk + [ -L /etc/package-manager/backend/wgt ] && rm /etc/package-manager/backend/wgt + fi + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " crosswalk " +PACKAGES += " widget-manifest-parser " +PACKAGES += " widget-manifest-parser-dev " + +crosswalk_files = "" +crosswalk_files += "${prefix}/bin/xwalkctl" +crosswalk_files += "${prefix}/bin/xwalk-launcher" +crosswalk_files += "${prefix}/lib/xwalk/icudtl.dat" +crosswalk_files += "${prefix}/lib/xwalk/libffmpegsumo.so" +crosswalk_files += "${prefix}/lib/xwalk/xwalk" +crosswalk_files += "${prefix}/lib/xwalk/xwalk.pak" +crosswalk_files += "${prefix}/lib/xwalk/libxwalk_backend_lib.so" +crosswalk_files += "${prefix}/lib/xwalk/xwalk_backend" +crosswalk_files += "${prefix}/share/packages/crosswalk.xml" +crosswalk_files += "${prefix}/share/icons/default/small/crosswalk.png" +crosswalk_files += "/usr/share/dbus-1/services/org.crosswalkproject.Runtime1.service" +crosswalk_files += "/usr/lib/systemd/user/xwalk.service" +crosswalk_files += "${prefix}/share/xwalk/*" +MANIFESTFILES_${PN} = "crosswalk.manifest" + +widget-manifest-parser_files = "" +widget-manifest-parser_files += "${prefix}/lib/libwidget-manifest-parser.so" + +widget-manifest-parser-dev_files = "" +widget-manifest-parser-dev_files += "${prefix}/include/widget-manifest-parser/widget-manifest-parser.h" +widget-manifest-parser-dev_files += "${prefix}/lib/pkgconfig/widget-manifest-parser.pc" + +FILES_${PN} = "${crosswalk_files}" +FILES_widget-manifest-parser = "${widget-manifest-parser_files}" +FILES_widget-manifest-parser-dev = "${widget-manifest-parser-dev_files}" + +PKG_crosswalk= "crosswalk" +PKG_widget-manifest-parser= "widget-manifest-parser" +PKG_widget-manifest-parser-dev= "widget-manifest-parser-dev" + +require crosswalk-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk_git.bb new file mode 100644 index 0000000000..3ca9b1b908 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk_git.bb @@ -0,0 +1,10 @@ +require crosswalk.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk;tag=e02d90f63d504e1126cdb98e24cd0bd168b0d4d9;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc new file mode 100644 index 0000000000..a2d1908e1b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk.inc @@ -0,0 +1,268 @@ +DESCRIPTION = "Tizen Web APIs implemented using Crosswalk" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Development/Libraries" +LICENSE = "BSD-3-Clause and Apache-2.0" +PV = "0.143" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by tizen-extensions-crosswalk-bluetooth-demo +PROVIDES += "tizen-extensions-crosswalk-bluetooth-demo" + + +#PROVIDES by tizen-extensions-crosswalk-audiosystem-demo +PROVIDES += "tizen-extensions-crosswalk-audiosystem-demo" + + +#PROVIDES by tizen-extensions-crosswalk + + +#PROVIDES by tizen-extensions-crosswalk-examples +PROVIDES += "tizen-extensions-crosswalk-examples" + + +#PROVIDES by tizen-extensions-crosswalk-system-info-demo +PROVIDES += "tizen-extensions-crosswalk-system-info-demo" + + +RDEPENDS = "" +#RDEPENDS of tizen-extensions-crosswalk-bluetooth-demo (${PN}-bluetooth-demo) +RDEPENDS_${PN}-bluetooth-demo += "tizen-extensions-crosswalk" + +#RDEPENDS of tizen-extensions-crosswalk-audiosystem-demo (${PN}-audiosystem-demo) +RDEPENDS_${PN}-audiosystem-demo += "tizen-extensions-crosswalk" + +#RDEPENDS of tizen-extensions-crosswalk (${PN}) +RDEPENDS_${PN} += "crosswalk" +RDEPENDS_${PN} += "media-thumbnail-server" + +#RDEPENDS of tizen-extensions-crosswalk-examples (${PN}-examples) +RDEPENDS_${PN}-examples += "tizen-extensions-crosswalk" + +#RDEPENDS of tizen-extensions-crosswalk-system-info-demo (${PN}-system-info-demo) +RDEPENDS_${PN}-system-info-demo += "tizen-extensions-crosswalk" + + +DEPENDS = "" +#DEPENDS of tizen-extensions-crosswalk +DEPENDS += "capi-web-url-download" +DEPENDS += "capi-system-power" +DEPENDS += "pkgmgr" +DEPENDS += "capi-appfw-application" +DEPENDS += "libgsignon-glib" +DEPENDS += "app-core" +DEPENDS += "capi-network-bluetooth" +DEPENDS += "dbus-glib" +DEPENDS += "pkgmgr-info" +DEPENDS += "notification" +inherit pkgconfig +DEPENDS += "glib-2.0" +DEPENDS += "system-server" +DEPENDS += "wayland" +DEPENDS += "capi-system-runtime-info" +DEPENDS += "libtapi" +DEPENDS += "capi-web-favorites" +DEPENDS += "capi-appfw-app-manager" +inherit pythonnative +DEPENDS += "evas" +DEPENDS += "tizen-platform-config" +DEPENDS += "capi-network-nfc" +DEPENDS += "capi-system-system-settings" +DEPENDS += "udev" +DEPENDS += "capi-system-sensor" +DEPENDS_append_class-native = " ninja-native" +DEPENDS_append_class-target = " ninja-native" +DEPENDS += "vconf" +DEPENDS += "capi-appfw-package-manager" +DEPENDS += "capi-system-info" +DEPENDS += "capi-content-media-content" +DEPENDS += "pulseaudio" +DEPENDS += "bluez5" +DEPENDS += "capi-system-device" +DEPENDS += "capi-network-connection" +DEPENDS += "message-port" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + cp ${S}/packaging/tizen-extensions-crosswalk.manifest . + cp ${S}/packaging/tizen-extensions-crosswalk.png . + cp ${S}/packaging/tizen-extensions-crosswalk-bluetooth-demo . + cp ${S}/packaging/tizen-extensions-crosswalk-examples . + cp ${S}/packaging/tizen-extensions-crosswalk-system-info-demo . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + export GYP_GENERATORS='ninja' + GYP_OPTIONS="--depth=. -Dtizen=1 -Dextension_build_type=Debug -Dextension_host_os=pc" + + GYP_OPTIONS="$GYP_OPTIONS -Ddisplay_type=wayland" + + ./tools/gyp/gyp $GYP_OPTIONS tizen-wrt.gyp + + ninja -C out/Default -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + # Binary wrapper. + install -m 755 -D ${S}/packaging/tizen-extensions-crosswalk-bluetooth-demo ${D}${prefix}/bin/tizen-extensions-crosswalk-bluetooth-demo + install -m 755 -D ${S}/packaging/tizen-extensions-crosswalk-examples ${D}${prefix}/bin/tizen-extensions-crosswalk-examples + install -m 755 -D ${S}/packaging/tizen-extensions-crosswalk-system-info-demo ${D}${prefix}/bin/tizen-extensions-crosswalk-system-info-demo + install -m 755 -D ${S}/packaging/tizen-extensions-crosswalk-audiosystem-demo ${D}${prefix}/bin/tizen-extensions-crosswalk-audiosystem-demo + + # Extensions. + mkdir -p ${D}${prefix}/lib/tizen-extensions-crosswalk + install -p -m 644 out/Default/libtizen*.so ${D}${prefix}/lib/tizen-extensions-crosswalk + + # Examples. + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/examples + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/examples/js + install -p -m 644 examples/*.html ${D}${prefix}/share/tizen-extensions-crosswalk/examples + install -p -m 644 examples/js/*.js ${D}${prefix}/share/tizen-extensions-crosswalk/examples/js + + # Demos + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/tizen + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/tizen/css + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/tizen/js + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/tizen/images + + install -p -m 644 demos/tizen/*.html ${D}${prefix}/share/tizen-extensions-crosswalk/demos/tizen + install -p -m 644 demos/tizen/css/*.css ${D}${prefix}/share/tizen-extensions-crosswalk/demos/tizen/css + install -p -m 644 demos/tizen/js/*.js ${D}${prefix}/share/tizen-extensions-crosswalk/demos/tizen/js + install -p -m 644 demos/tizen/images/*.png ${D}${prefix}/share/tizen-extensions-crosswalk/demos/tizen/images + + # Demos - System Info + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/system_info + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/system_info/css + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/system_info/js + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/system_info/images + + install -p -m 644 demos/system_info/*.html ${D}${prefix}/share/tizen-extensions-crosswalk/demos/system_info + install -p -m 644 demos/system_info/css/*.css ${D}${prefix}/share/tizen-extensions-crosswalk/demos/system_info/css + install -p -m 644 demos/system_info/js/*.js ${D}${prefix}/share/tizen-extensions-crosswalk/demos/system_info/js + install -p -m 644 demos/system_info/images/*.png ${D}${prefix}/share/tizen-extensions-crosswalk/demos/system_info/images + + # Demos - audiosystem api + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/css + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/css/ui-lightness + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/css/ui-lightness/images + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/js + mkdir -p ${D}${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/images + + install -p -m 644 demos/audiosystem/*.html ${D}${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem + install -p -m 644 demos/audiosystem/css/*.css ${D}${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/css + install -p -m 644 demos/audiosystem/css/ui-lightness/*.css ${D}${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/css/ui-lightness + install -p -m 644 demos/audiosystem/css/ui-lightness/images/* ${D}${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/css/ui-lightness/images + install -p -m 644 demos/audiosystem/js/*.js ${D}${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/js + install -p -m 644 demos/audiosystem/images/*.png ${D}${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/images + + # register to the package manager + install -m 644 -D tizen-extensions-crosswalk-examples.xml ${D}${prefix}/share/packages/tizen-extensions-crosswalk-examples.xml + install -m 644 -D tizen-extensions-crosswalk-bluetooth-demo.xml ${D}${prefix}/share/packages/tizen-extensions-crosswalk-bluetooth-demo.xml + install -m 644 -D tizen-extensions-crosswalk-system-info-demo.xml ${D}${prefix}/share/packages/tizen-extensions-crosswalk-system-info-demo.xml + install -m 644 -D tizen-extensions-crosswalk-audiosystem-demo.xml ${D}${prefix}/share/packages/tizen-extensions-crosswalk-audiosystem-demo.xml + install -p -D tizen-extensions-crosswalk.png ${D}${prefix}/share/icons/default/small/tizen-extensions-crosswalk-examples.png + install -p -D tizen-extensions-crosswalk.png ${D}${prefix}/share/icons/default/small/tizen-extensions-crosswalk-bluetooth-demo.png + install -p -D tizen-extensions-crosswalk.png ${D}${prefix}/share/icons/default/small/tizen-extensions-crosswalk-system-info-demo.png + install -p -D tizen-extensions-crosswalk.png ${D}${prefix}/share/icons/default/small/tizen-extensions-crosswalk-audiosystem-demo.png + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " tizen-extensions-crosswalk-bluetooth-demo " +PACKAGES += " tizen-extensions-crosswalk-audiosystem-demo " +PACKAGES += " tizen-extensions-crosswalk " +PACKAGES += " tizen-extensions-crosswalk-examples " +PACKAGES += " tizen-extensions-crosswalk-system-info-demo " + +tizen-extensions-crosswalk-bluetooth-demo_files = "" +tizen-extensions-crosswalk-bluetooth-demo_files += "${prefix}/bin/tizen-extensions-crosswalk-bluetooth-demo" +tizen-extensions-crosswalk-bluetooth-demo_files += "${prefix}/share/packages/tizen-extensions-crosswalk-bluetooth-demo.xml" +tizen-extensions-crosswalk-bluetooth-demo_files += "${prefix}/share/icons/default/small/tizen-extensions-crosswalk-bluetooth-demo.png" +tizen-extensions-crosswalk-bluetooth-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/tizen/*.html" +tizen-extensions-crosswalk-bluetooth-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/tizen/css/*.css" +tizen-extensions-crosswalk-bluetooth-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/tizen/js/*.js" +tizen-extensions-crosswalk-bluetooth-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/tizen/images/*.png" + +tizen-extensions-crosswalk-audiosystem-demo_files = "" +tizen-extensions-crosswalk-audiosystem-demo_files += "${prefix}/bin/tizen-extensions-crosswalk-audiosystem-demo" +tizen-extensions-crosswalk-audiosystem-demo_files += "${prefix}/share/packages/tizen-extensions-crosswalk-audiosystem-demo.xml" +tizen-extensions-crosswalk-audiosystem-demo_files += "${prefix}/share/icons/default/small/tizen-extensions-crosswalk-audiosystem-demo.png" +tizen-extensions-crosswalk-audiosystem-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/index.html" +tizen-extensions-crosswalk-audiosystem-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/css/*.css" +tizen-extensions-crosswalk-audiosystem-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/css/ui-lightness/*.css" +tizen-extensions-crosswalk-audiosystem-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/css/ui-lightness/images/*" +tizen-extensions-crosswalk-audiosystem-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/js/*.js" +tizen-extensions-crosswalk-audiosystem-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/audiosystem/images/*" + +tizen-extensions-crosswalk_files = "" +tizen-extensions-crosswalk_files += "${prefix}/lib/tizen-extensions-crosswalk/libtizen*.so" + +tizen-extensions-crosswalk-examples_files = "" +tizen-extensions-crosswalk-examples_files += "${prefix}/bin/tizen-extensions-crosswalk-examples" +tizen-extensions-crosswalk-examples_files += "${prefix}/share/packages/tizen-extensions-crosswalk-examples.xml" +tizen-extensions-crosswalk-examples_files += "${prefix}/share/icons/default/small/tizen-extensions-crosswalk-examples.png" +tizen-extensions-crosswalk-examples_files += "${prefix}/share/tizen-extensions-crosswalk/examples/*.html" +tizen-extensions-crosswalk-examples_files += "${prefix}/share/tizen-extensions-crosswalk/examples/js/*.js" + +tizen-extensions-crosswalk-system-info-demo_files = "" +tizen-extensions-crosswalk-system-info-demo_files += "${prefix}/bin/tizen-extensions-crosswalk-system-info-demo" +tizen-extensions-crosswalk-system-info-demo_files += "${prefix}/share/packages/tizen-extensions-crosswalk-system-info-demo.xml" +tizen-extensions-crosswalk-system-info-demo_files += "${prefix}/share/icons/default/small/tizen-extensions-crosswalk-system-info-demo.png" +tizen-extensions-crosswalk-system-info-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/system_info/*.html" +tizen-extensions-crosswalk-system-info-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/system_info/css/*.css" +tizen-extensions-crosswalk-system-info-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/system_info/js/*.js" +tizen-extensions-crosswalk-system-info-demo_files += "${prefix}/share/tizen-extensions-crosswalk/demos/system_info/images/*.png" + +FILES_${PN}-bluetooth-demo = "${tizen-extensions-crosswalk-bluetooth-demo_files}" +FILES_${PN}-audiosystem-demo = "${tizen-extensions-crosswalk-audiosystem-demo_files}" +FILES_${PN} = "${tizen-extensions-crosswalk_files}" +FILES_${PN}-examples = "${tizen-extensions-crosswalk-examples_files}" +FILES_${PN}-system-info-demo = "${tizen-extensions-crosswalk-system-info-demo_files}" + +PKG_tizen-extensions-crosswalk-bluetooth-demo= "tizen-extensions-crosswalk-bluetooth-demo" +PKG_tizen-extensions-crosswalk-audiosystem-demo= "tizen-extensions-crosswalk-audiosystem-demo" +PKG_tizen-extensions-crosswalk= "tizen-extensions-crosswalk" +PKG_tizen-extensions-crosswalk-examples= "tizen-extensions-crosswalk-examples" +PKG_tizen-extensions-crosswalk-system-info-demo= "tizen-extensions-crosswalk-system-info-demo" + +require tizen-extensions-crosswalk-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk_git.bb new file mode 100644 index 0000000000..776f9262ba --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-crosswalk/tizen-extensions-crosswalk/tizen-extensions-crosswalk_git.bb @@ -0,0 +1,10 @@ +require tizen-extensions-crosswalk.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/framework/web/tizen-extensions-crosswalk;tag=68cfc61d4b96a335e5ba58c3997a4fbb629759fb;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libICE/libICE.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libICE/libICE.inc new file mode 100644 index 0000000000..31591eca0d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libICE/libICE.inc @@ -0,0 +1,122 @@ +DESCRIPTION = "X11 Inter-Client Exchange Library" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" +PV = "1.0.8" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libICE + + +#PROVIDES by libICE-dev +PROVIDES += "libICE-dev" + + +RDEPENDS = "" +#RDEPENDS of libICE-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libICE" + + +DEPENDS = "" +#DEPENDS of libICE +DEPENDS += "xtrans" +DEPENDS += "util-macros" +DEPENDS += "xproto" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libICE.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += " --docdir=${prefix}/share/doc/packages/libICE --disable-static" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libICE " +PACKAGES += " libICE-dev " + +libICE_files = "" +libICE_files += "${prefix}/lib/libICE.so.6*" +MANIFESTFILES_${PN} = "libICE.manifest" + +libICE-dev_files = "" +libICE-dev_files += "${prefix}/include/X11/*" +libICE-dev_files += "${prefix}/lib/libICE.so" +libICE-dev_files += "${prefix}/lib/pkgconfig/ice.pc" +libICE-dev_files += "${prefix}/share/doc/packages/libICE" +MANIFESTFILES_${PN}-dev = "libICE.manifest" + +FILES_${PN} = "${libICE_files}" +FILES_${PN}-dev = "${libICE-dev_files}" + +PKG_libICE= "libICE" +PKG_libICE-dev= "libICE-dev" + +require libICE-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libICE/libICE_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libICE/libICE_git.bb new file mode 100644 index 0000000000..afcf21a91a --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libICE/libICE_git.bb @@ -0,0 +1,10 @@ +require libICE.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libICE;tag=754a5288034a779667c0f8216a3b1402a20bff54;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libSM/libSM.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libSM/libSM.inc new file mode 100644 index 0000000000..3cfdac22e2 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libSM/libSM.inc @@ -0,0 +1,124 @@ +DESCRIPTION = "X Session Management library" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Graphics/X Window System" +LICENSE = "MIT" +PV = "1.2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libSM-dev +PROVIDES += "libSM-dev" + + +#PROVIDES by libSM + + +RDEPENDS = "" +#RDEPENDS of libSM-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libSM" + + +DEPENDS = "" +#DEPENDS of libSM +DEPENDS += "xtrans" +DEPENDS += "xproto" +inherit pkgconfig +DEPENDS += "libICE" +DEPENDS += "util-macros" +DEPENDS += "util-linux" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libSM.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += " --with-libuuid --docdir=${prefix}/share/doc/packages/libSM --disable-static" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libSM-dev " +PACKAGES += " libSM " + +libSM-dev_files = "" +libSM-dev_files += "${prefix}/include/X11/*" +libSM-dev_files += "${prefix}/lib/libSM.so" +libSM-dev_files += "${prefix}/lib/pkgconfig/sm.pc" +libSM-dev_files += "${prefix}/share/doc/packages/libSM" +MANIFESTFILES_${PN}-dev = "libSM.manifest" + +libSM_files = "" +libSM_files += "${prefix}/lib/libSM.so.6*" +MANIFESTFILES_${PN} = "libSM.manifest" + +FILES_${PN}-dev = "${libSM-dev_files}" +FILES_${PN} = "${libSM_files}" + +PKG_libSM-dev= "libSM-dev" +PKG_libSM= "libSM" + +require libSM-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libSM/libSM_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libSM/libSM_git.bb new file mode 100644 index 0000000000..2321d69312 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/libSM/libSM_git.bb @@ -0,0 +1,10 @@ +require libSM.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libSM;tag=b5df5f309d12616c47edc40c2c6e852ec20f88fb;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/xtrans/xtrans.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/xtrans/xtrans.inc new file mode 100644 index 0000000000..39fde8fc15 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/xtrans/xtrans.inc @@ -0,0 +1,103 @@ +DESCRIPTION = "Library to handle network protocol transport in X" +HOMEPAGE = "http://xorg.freedesktop.org/" +SECTION = "Development/Libraries/X11" +LICENSE = "MIT" +PV = "1.3.4" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by xtrans + + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of xtrans +DEPENDS += "util-macros" +inherit pkgconfig + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/xtrans.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + autotools_do_configure + make -j16 + + + +} +EXTRA_OECONF += " --docdir=${prefix}/share/doc/packages/xtrans" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_preinst_${PN}() { + #!/bin/sh -e + + test -L usr/include/X11 && rm usr/include/X11 + exit 0 + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " xtrans " + +xtrans_files = "" +xtrans_files += "${prefix}/share/doc/packages/xtrans/xtrans.xml" +xtrans_files += "${prefix}/include/X11/Xtrans/" +xtrans_files += "${prefix}/share/aclocal/xtrans.m4" +xtrans_files += "${prefix}/share/pkgconfig/xtrans.pc" +MANIFESTFILES_${PN} = "xtrans.manifest" + +FILES_${PN} = "${xtrans_files}" + +PKG_xtrans= "xtrans" + +require xtrans-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/xtrans/xtrans_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/xtrans/xtrans_git.bb new file mode 100644 index 0000000000..3441247820 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-devtools/xtrans/xtrans_git.bb @@ -0,0 +1,10 @@ +require xtrans.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/xtrans;tag=b550c438464ec47ab8013f766f460737a2375676;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/edbus/edbus.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/edbus/edbus.inc new file mode 100644 index 0000000000..ed1a29a137 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/edbus/edbus.inc @@ -0,0 +1,127 @@ +DESCRIPTION = "EFL Wrapper for DBus" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics & UI Framework/EFL" +LICENSE = "BSD-2-Clause" +PV = "1.7.8" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by edbus-dev +PROVIDES += "edbus-dev" + + +#PROVIDES by edbus + + +RDEPENDS = "" +#RDEPENDS of edbus-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "edbus" + + +DEPENDS = "" +#DEPENDS of edbus +DEPENDS += "evas" +DEPENDS += "ecore" +DEPENDS += "dbus" +inherit pkgconfig +DEPENDS += "eina" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n e_dbus-1.7.8 + cp ${S}/packaging/edbus.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --disable-static" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " edbus-dev " +PACKAGES += " edbus " + +edbus-dev_files = "" +edbus-dev_files += "${prefix}/include/e_dbus-1/*.h" +edbus-dev_files += "${prefix}/lib/*.so" +edbus-dev_files += "${prefix}/lib/pkgconfig/*.pc" +edbus-dev_files += "${prefix}/include/e_dbus-1/connman0_7x/E_Connman.h" +edbus-dev_files += "${prefix}/bin/e-notify-send" +MANIFESTFILES_${PN}-dev = "edbus.manifest" + +edbus_files = "" +edbus_files += "${prefix}/bin/e_dbus_*" +edbus_files += "${prefix}/bin/e-notify-send" +edbus_files += "${prefix}/lib/libe*.so.*" +edbus_files += "${prefix}/share/e_dbus/logo.png" +MANIFESTFILES_${PN} = "edbus.manifest" + +FILES_${PN}-dev = "${edbus-dev_files}" +FILES_${PN} = "${edbus_files}" + +PKG_edbus-dev= "edbus-dev" +PKG_edbus= "edbus" + +require edbus-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/edbus/edbus_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/edbus/edbus_git.bb new file mode 100644 index 0000000000..f122a60280 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/edbus/edbus_git.bb @@ -0,0 +1,10 @@ +require edbus.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/edbus;tag=26ff9807ff9364ed035c38fc909d3e7a3c85320b;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl-theme-tizen-hd/efl-theme-tizen-hd.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl-theme-tizen-hd/efl-theme-tizen-hd.inc new file mode 100644 index 0000000000..b5894d364b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl-theme-tizen-hd/efl-theme-tizen-hd.inc @@ -0,0 +1,109 @@ +DESCRIPTION = "Tizen theme files" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" +PV = "1.0.204r07" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by efl-theme-tizen-dev +PROVIDES += "efl-theme-tizen-dev" + + +#PROVIDES by efl-theme-tizen-hd + + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of efl-theme-tizen-hd +DEPENDS += "efl" +inherit perlnative + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + export CFLAGS="${CFLAGS} --fPIC" + export LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=${prefix}/lib" + + oe_runmake -j16 + + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + mkdir -p ${D}${prefix}/share/license + cp ${WORKDIR}/git/LICENSE ${D}${prefix}/share/license/efl-theme-tizen-hd + cp ${D}${prefix}/share/elementary/themes/tizen-HD-dark.edj ${D}${prefix}/share/elementary/themes/tizen-hd.edj + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " efl-theme-tizen-dev " +PACKAGES += " efl-theme-tizen-hd " + +efl-theme-tizen-dev_files = "" +efl-theme-tizen-dev_files += "/opt/var/efl-theme-tizen-edc/*" + +efl-theme-tizen-hd_files = "" +efl-theme-tizen-hd_files += "${prefix}/share/elementary/themes/tizen-HD-dark.edj" +efl-theme-tizen-hd_files += "${prefix}/share/elementary/themes/tizen-HD-light.edj" +efl-theme-tizen-hd_files += "${prefix}/share/elementary/themes/tizen-hd.edj" +efl-theme-tizen-hd_files += "${prefix}/share/license/efl-theme-tizen-hd" +MANIFESTFILES_${PN} = "efl-theme-tizen-hd.manifest" + +FILES_efl-theme-tizen-dev = "${efl-theme-tizen-dev_files}" +FILES_${PN} = "${efl-theme-tizen-hd_files}" + +PKG_efl-theme-tizen-dev= "efl-theme-tizen-dev" +PKG_efl-theme-tizen-hd= "efl-theme-tizen-hd" + +require efl-theme-tizen-hd-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl-theme-tizen-hd/efl-theme-tizen-hd_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl-theme-tizen-hd/efl-theme-tizen-hd_git.bb new file mode 100644 index 0000000000..30e7ac9cb6 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl-theme-tizen-hd/efl-theme-tizen-hd_git.bb @@ -0,0 +1,10 @@ +require efl-theme-tizen-hd.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/efl-theme-tizen;tag=49873649c3970d5c3cbbd45ef1d141eda696f50d;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl/efl.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl/efl.inc new file mode 100644 index 0000000000..4fe0c22ae5 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl/efl.inc @@ -0,0 +1,1022 @@ +DESCRIPTION = "Enlightenment Foundation Libraries - set of libraries used (not only) by E17" +HOMEPAGE = "http://enlightenment.org/" +SECTION = "Graphics & UI Framework/API" +LICENSE = "LGPL-2.1" +PV = "1.9.3" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by edje +PROVIDES += "edje" + + +#PROVIDES by ephysics-examples +PROVIDES += "ephysics-examples" + + +#PROVIDES by eo +PROVIDES += "eo" + + +#PROVIDES by ephysics-dev +PROVIDES += "ephysics-dev" + + +#PROVIDES by emotion-dev +PROVIDES += "emotion-dev" + + +#PROVIDES by eina +PROVIDES += "eina" + + +#PROVIDES by eina-examples +PROVIDES += "eina-examples" + + +#PROVIDES by eo-examples +PROVIDES += "eo-examples" + + +#PROVIDES by eet-dev +PROVIDES += "eet-dev" + + +#PROVIDES by ephysics +PROVIDES += "ephysics" + + +#PROVIDES by eeze-dev +PROVIDES += "eeze-dev" + + +#PROVIDES by efl + + +#PROVIDES by efreet-dev +PROVIDES += "efreet-dev" + + +#PROVIDES by ecore-dev +PROVIDES += "ecore-dev" + + +#PROVIDES by ethumb-examples +PROVIDES += "ethumb-examples" + + +#PROVIDES by ethumb +PROVIDES += "ethumb" + + +#PROVIDES by evas-dev +PROVIDES += "evas-dev" + + +#PROVIDES by efl-data +PROVIDES += "efl-data" + + +#PROVIDES by evas +PROVIDES += "evas" + + +#PROVIDES by eeze +PROVIDES += "eeze" + + +#PROVIDES by ethumb-dev +PROVIDES += "ethumb-dev" + + +#PROVIDES by efreet +PROVIDES += "efreet" + + +#PROVIDES by eldbus-dev +PROVIDES += "eldbus-dev" + + +#PROVIDES by eet-examples +PROVIDES += "eet-examples" + + +#PROVIDES by embryo-dev +PROVIDES += "embryo-dev" + + +#PROVIDES by eio-dev +PROVIDES += "eio-dev" + + +#PROVIDES by ecore-examples +PROVIDES += "ecore-examples" + + +#PROVIDES by emotion +PROVIDES += "emotion" + + +#PROVIDES by eldbus-examples +PROVIDES += "eldbus-examples" + + +#PROVIDES by eo-dev +PROVIDES += "eo-dev" + + +#PROVIDES by embryo +PROVIDES += "embryo" +# the PROVIDES rules is ignore "embryo-bin " +PROVIDES += "embryo-bin" +RPROVIDES_embryo += "embryo-bin" + + +#PROVIDES by eio-examples +PROVIDES += "eio-examples" + + +#PROVIDES by eet-tools +PROVIDES += "eet-tools" +# the PROVIDES rules is ignore "eet-bin " +PROVIDES += "eet-bin" +RPROVIDES_eet-tools += "eet-bin" + + +#PROVIDES by edje-dev +PROVIDES += "edje-dev" + + +#PROVIDES by edje-tools +PROVIDES += "edje-tools" +# the PROVIDES rules is ignore "edje-bin " +PROVIDES += "edje-bin" +RPROVIDES_edje-tools += "edje-bin" + + +#PROVIDES by eet +PROVIDES += "eet" + + +#PROVIDES by eina-dev +PROVIDES += "eina-dev" + + +#PROVIDES by evas-examples +PROVIDES += "evas-examples" + + +#PROVIDES by emotion-examples +PROVIDES += "emotion-examples" + + +#PROVIDES by ecore +PROVIDES += "ecore" + + +#PROVIDES by eldbus +PROVIDES += "eldbus" + + +#PROVIDES by edje-examples +PROVIDES += "edje-examples" + + +#PROVIDES by eio +PROVIDES += "eio" + + +RDEPENDS = "" +#RDEPENDS of edje (edje) +RDEPENDS_edje += "efl-data" + +#RDEPENDS of ephysics-examples (ephysics-examples) +RDEPENDS_ephysics-examples += "ephysics" + +#RDEPENDS of eo (eo) +RDEPENDS_eo += "efl-data" + +#RDEPENDS of ephysics-dev (ephysics-dev) +RDEPENDS_ephysics-dev += "ephysics" + +#RDEPENDS of emotion-dev (emotion-dev) +RDEPENDS_emotion-dev += "emotion" + +#RDEPENDS of eina (eina) +RDEPENDS_eina += "efl-data" + +#RDEPENDS of eina-examples (eina-examples) +RDEPENDS_eina-examples += "eina" + +#RDEPENDS of eo-examples (eo-examples) +RDEPENDS_eo-examples += "eo" + +#RDEPENDS of eet-dev (eet-dev) +RDEPENDS_eet-dev += "eet" + +#RDEPENDS of eeze-dev (eeze-dev) +RDEPENDS_eeze-dev += "eeze" + +#RDEPENDS of efreet-dev (efreet-dev) +RDEPENDS_efreet-dev += "efreet" + +#RDEPENDS of ecore-dev (ecore-dev) +RDEPENDS_ecore-dev += "ecore" + +#RDEPENDS of ethumb-examples (ethumb-examples) +RDEPENDS_ethumb-examples += "ethumb" + +#RDEPENDS of ethumb (ethumb) +RDEPENDS_ethumb += "efl-data" + +#RDEPENDS of evas-dev (evas-dev) +RDEPENDS_evas-dev += "evas" + +#RDEPENDS of evas (evas) +RDEPENDS_evas += "efl-data" + +#RDEPENDS of eeze (eeze) +RDEPENDS_eeze += "efl-data" + +#RDEPENDS of ethumb-dev (ethumb-dev) +RDEPENDS_ethumb-dev += "ethumb" + +#RDEPENDS of efreet (efreet) +RDEPENDS_efreet += "efl-data" + +#RDEPENDS of eldbus-dev (eldbus-dev) +RDEPENDS_eldbus-dev += "eldbus" + +#RDEPENDS of eet-examples (eet-examples) +RDEPENDS_eet-examples += "eet" + +#RDEPENDS of embryo-dev (embryo-dev) +RDEPENDS_embryo-dev += "embryo" + +#RDEPENDS of eio-dev (eio-dev) +RDEPENDS_eio-dev += "eio" + +#RDEPENDS of ecore-examples (ecore-examples) +RDEPENDS_ecore-examples += "ecore" + +#RDEPENDS of emotion (emotion) +RDEPENDS_emotion += "efl-data" + +#RDEPENDS of eldbus-examples (eldbus-examples) +RDEPENDS_eldbus-examples += "eldbus" + +#RDEPENDS of eo-dev (eo-dev) +RDEPENDS_eo-dev += "eo" + +#RDEPENDS of embryo (embryo) +RDEPENDS_embryo += "efl-data" + +#RDEPENDS of eio-examples (eio-examples) +RDEPENDS_eio-examples += "eio" + +#RDEPENDS of eet-tools (eet-tools) +RDEPENDS_eet-tools += "eet" + +#RDEPENDS of edje-dev (edje-dev) +RDEPENDS_edje-dev += "edje-tools" + +#RDEPENDS of edje-tools (edje-tools) +RDEPENDS_edje-tools += "edje" + +#RDEPENDS of eet (eet) +RDEPENDS_eet += "efl-data" + +#RDEPENDS of eina-dev (eina-dev) +RDEPENDS_eina-dev += "eina" + +#RDEPENDS of evas-examples (evas-examples) +RDEPENDS_evas-examples += "evas" + +#RDEPENDS of emotion-examples (emotion-examples) +RDEPENDS_emotion-examples += "emotion" + +#RDEPENDS of ecore (ecore) +RDEPENDS_ecore += "efl-data" + +#RDEPENDS of eldbus (eldbus) +RDEPENDS_eldbus += "efl-data" + +#RDEPENDS of edje-examples (edje-examples) +RDEPENDS_edje-examples += "edje" + +#RDEPENDS of eio (eio) +RDEPENDS_eio += "efl-data" + + +DEPENDS = "" +#DEPENDS of efl +DEPENDS += "tiff" +DEPENDS += "ibus" +DEPENDS += "harfbuzz" +DEPENDS += "openssl" +DEPENDS += "curl" +DEPENDS += "fontconfig" +DEPENDS += "systemd" +DEPENDS += "freetype" +DEPENDS += "wayland" +DEPENDS += "gstreamer1.0-plugins-base" +inherit pkgconfig +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "lua" +DEPENDS += "libtbm" +DEPENDS += "libbullet" +DEPENDS += "libpng" +DEPENDS += "pixman" +DEPENDS += "libsndfile1" +DEPENDS += "libcheck" +DEPENDS += "giflib" +DEPENDS += "udev" +DEPENDS += "capi-system-sensor" +DEPENDS += "gnutls" +DEPENDS += "util-linux" +DEPENDS += "vconf" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "virtual/egl" +DEPENDS += "libxkbcommon" +DEPENDS += "fribidi" +DEPENDS += "libjpeg-turbo" +DEPENDS += "dbus" +DEPENDS += "zlib" +DEPENDS += "pulseaudio" +DEPENDS += "libexif" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "gstreamer1.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/efl.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + CFLAGS="${CFLAGS} -DMESA_EGL_NO_X11_HEADERS " + + + autotools_do_configure + + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --enable-tizen --enable-g-main-loop --disable-xim --disable-scim --disable-gesture --with-tests=regular --enable-wayland --enable-egl --with-opengl=es --enable-tile-rotate --disable-rpath --with-x11=none --enable-tile-rotate --disable-rpath --enable-always-build-examples --enable-systemd --enable-lua-old --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-aaa" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + oe_runmake datadir=${D}${prefix}/share install-examples + rm -rf ${D}${prefix}/lib/ecore/system/upower + + #find_lang efl + #fdupes ${D} + + + +} + +pkg_postinst_eo() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_eldbus() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_efreet() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_embryo() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_evas() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_eet() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_ephysics() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_emotion() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_eio() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_ecore() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + f="/etc/profile.d/ecore.sh" + grep --silent EFL_WAYLAND_USE_XDG_SHELL "$f" \ + || printf "\nEFL_WAYLAND_USE_XDG_SHELL='defined'\nexport EFL_WAYLAND_USE_XDG_SHELL\n" >> "$f" + grep --silent ECORE_EVAS_ENGINE "$f" \ + || printf "\nECORE_EVAS_ENGINE=wayland_shm\n[ ! -d /dev/dri ] || ECORE_EVAS_ENGINE=wayland_egl\nexport ECORE_EVAS_ENGINE" >> "$f" + grep --silent ECORE_IMF_MODULE "$f" \ + || printf "\nECORE_IMF_MODULE=wayland\nexport ECORE_IMF_MODULE\n" >> "$f" + +} + +pkg_postinst_edje() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_eina() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_ethumb() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_eeze() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_efreet() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_eo() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_eina() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_eet() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_eio() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_evas() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_embryo() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_emotion() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_ephysics() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_ethumb() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_eeze() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_eldbus() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_ecore() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_edje() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " emotion " +PACKAGES += " ephysics-examples " +PACKAGES += " eo " +PACKAGES += " ephysics-dev " +PACKAGES += " edje " +PACKAGES += " emotion-dev " +PACKAGES += " eina " +PACKAGES += " eina-examples " +PACKAGES += " eo-examples " +PACKAGES += " eet-dev " +PACKAGES += " ephysics " +PACKAGES += " eeze-dev " +PACKAGES += " efreet-dev " +PACKAGES += " ecore-dev " +PACKAGES += " eina-dev " +PACKAGES += " ethumb " +PACKAGES += " evas-dev " +PACKAGES += " efl-data " +PACKAGES += " evas " +PACKAGES += " eeze " +PACKAGES += " ethumb-dev " +PACKAGES += " efreet " +PACKAGES += " eldbus-dev " +PACKAGES += " eet-examples " +PACKAGES += " embryo-dev " +PACKAGES += " ethumb-examples " +PACKAGES += " eio-dev " +PACKAGES += " ecore-examples " +PACKAGES += " ecore " +PACKAGES += " eldbus-examples " +PACKAGES += " eo-dev " +PACKAGES += " embryo " +PACKAGES += " eio-examples " +PACKAGES += " eet-tools " +PACKAGES += " edje-dev " +PACKAGES += " edje-tools " +PACKAGES += " eet " +PACKAGES += " evas-examples " +PACKAGES += " emotion-examples " +PACKAGES += " eldbus " +PACKAGES += " edje-examples " +PACKAGES += " eio " + +emotion_files = "" +emotion_files += "${prefix}/lib/libemotion.so.*" +emotion_files += "${prefix}/lib/edje/modules/emotion/*/module.so" +emotion_files += "${prefix}/lib/emotion/modules/*/*/module.so" +emotion_files += "${prefix}/share/emotion/*" +emotion_files += "${prefix}/bin/emotion_test" +MANIFESTFILES_emotion = "efl.manifest" + +ephysics-examples_files = "" +ephysics-examples_files += "${prefix}/share/ephysics/examples/*" + +eo_files = "" +eo_files += "${prefix}/lib/libeo.so.*" +MANIFESTFILES_eo = "efl.manifest" + +ephysics-dev_files = "" +ephysics-dev_files += "${prefix}/lib/libephysics.so" +ephysics-dev_files += "${prefix}/lib/pkgconfig/ephysics.pc" +ephysics-dev_files += "${prefix}/include/ephysics-1/EPhysics.h" + +edje_files = "" +edje_files += "${prefix}/lib/libedje.so.*" +edje_files += "${prefix}/lib/edje/utils/*/*" +edje_files += "${prefix}/share/edje/include/edje.inc" +edje_files += "${prefix}/share/mime/packages/edje.xml" +MANIFESTFILES_edje = "efl.manifest" + +emotion-dev_files = "" +emotion-dev_files += "${prefix}/include/emotion-1/*" +emotion-dev_files += "${prefix}/lib/libemotion.so" +emotion-dev_files += "${prefix}/lib/pkgconfig/emotion*.pc" +emotion-dev_files += "${prefix}/lib/cmake/Emotion/*.cmake" +MANIFESTFILES_emotion-dev = "efl.manifest" + +eina_files = "" +eina_files += "${prefix}/lib/libeina.so.*" +eina_files += "${prefix}/bin/eina-bench-cmp" +MANIFESTFILES_eina = "efl.manifest" + +eina-examples_files = "" +eina-examples_files += "${prefix}/share/eina/examples/*" +eina-examples_files += "${prefix}/lib/eina/examples/*" +MANIFESTFILES_eina-examples = "efl.manifest" + +eo-examples_files = "" +eo-examples_files += "${prefix}/share/eo/examples/*" +eo-examples_files += "${prefix}/lib/eo/examples/*" +MANIFESTFILES_eo-examples = "efl.manifest" + +eet-dev_files = "" +eet-dev_files += "${prefix}/include/eet-1/*.h" +eet-dev_files += "${prefix}/lib/libeet.so" +eet-dev_files += "${prefix}/lib/pkgconfig/eet*.pc" +eet-dev_files += "${prefix}/lib/cmake/Eet/*.cmake" +MANIFESTFILES_eet-dev = "efl.manifest" + +ephysics_files = "" +ephysics_files += "${prefix}/lib/libephysics.so.*" + +eeze-dev_files = "" +eeze-dev_files += "${prefix}/include/eeze-1/*.h" +eeze-dev_files += "${prefix}/lib/libeeze.so" +eeze-dev_files += "${prefix}/lib/pkgconfig/eeze*.pc" +eeze-dev_files += "${prefix}/lib/cmake/Eeze/*.cmake" +MANIFESTFILES_eeze-dev = "efl.manifest" + +efreet-dev_files = "" +efreet-dev_files += "${prefix}/include/efreet-1/*.h" +efreet-dev_files += "${prefix}/lib/libefreet.so" +efreet-dev_files += "${prefix}/lib/libefreet_mime.so" +efreet-dev_files += "${prefix}/lib/libefreet_trash.so" +efreet-dev_files += "${prefix}/lib/pkgconfig/efreet*.pc" +efreet-dev_files += "${prefix}/lib/cmake/Efreet/*.cmake" +MANIFESTFILES_efreet-dev = "efl.manifest" + +ecore-dev_files = "" +ecore-dev_files += "${prefix}/include/ecore*/*.h" +ecore-dev_files += "${prefix}/lib/libecore.so" +ecore-dev_files += "${prefix}/lib/libecore_audio.so" +ecore-dev_files += "${prefix}/lib/libecore_avahi.so" +ecore-dev_files += "${prefix}/lib/libecore_con.so" +ecore-dev_files += "${prefix}/lib/libecore_evas.so" +ecore-dev_files += "${prefix}/lib/libecore_file.so" +ecore-dev_files += "${prefix}/lib/libecore_imf.so" +ecore-dev_files += "${prefix}/lib/libecore_imf_evas.so" +ecore-dev_files += "${prefix}/lib/libecore_input.so" +ecore-dev_files += "${prefix}/lib/libecore_input_evas.so" +ecore-dev_files += "${prefix}/lib/libecore_ipc.so" +ecore-dev_files += "${prefix}/lib/libecore_wayland.so" +ecore-dev_files += "${prefix}/lib/pkgconfig/ecore*.pc" +ecore-dev_files += "${prefix}/lib/cmake/Ecore/*.cmake" +MANIFESTFILES_ecore-dev = "efl.manifest" + +eina-dev_files = "" +eina-dev_files += "${prefix}/include/eina-1/*.h" +eina-dev_files += "${prefix}/include/eina-1/eina/*" +eina-dev_files += "${prefix}/lib/libeina.so" +eina-dev_files += "${prefix}/lib/pkgconfig/eina*.pc" +eina-dev_files += "${prefix}/lib/cmake/Eina/*.cmake" +MANIFESTFILES_eina-dev = "efl.manifest" + +ethumb_files = "" +ethumb_files += "${prefix}/lib/libethumb.so.*" +ethumb_files += "${prefix}/lib/libethumb_client.so.*" +ethumb_files += "${prefix}/share/dbus-1/services/org.enlightenment.Ethumb.service" +ethumb_files += "${prefix}/share/ethumb/*" +ethumb_files += "${prefix}/share/ethumb_client/*" +ethumb_files += "${prefix}/lib/ethumb/modules/*/*/module.so" +ethumb_files += "${prefix}/lib/ethumb/modules/*/*/template.edj" +ethumb_files += "${prefix}/lib/ethumb_client/utils/*/ethumbd_slave" +ethumb_files += "${prefix}/bin/ethumb" +ethumb_files += "${prefix}/bin/ethumbd" +ethumb_files += "${prefix}/bin/ethumbd_client" +MANIFESTFILES_ethumb = "efl.manifest" + +evas-dev_files = "" +evas-dev_files += "${prefix}/include/evas-1/*.h" +evas-dev_files += "${prefix}/lib/libevas.so" +evas-dev_files += "${prefix}/lib/pkgconfig/evas*.pc" +evas-dev_files += "${prefix}/lib/cmake/Evas/*.cmake" +MANIFESTFILES_evas-dev = "efl.manifest" + +efl-data_files = "" +efl-data_files += "${prefix}/include/efl-1/Efl_Config.h" +MANIFESTFILES_${PN}-data = "efl.manifest" + +evas_files = "" +evas_files += "${prefix}/bin/evas_cserve2_client" +evas_files += "${prefix}/bin/evas_cserve2_debug" +evas_files += "${prefix}/bin/evas_cserve2_shm_debug" +evas_files += "${prefix}/bin/evas_cserve2_usage" +evas_files += "${prefix}/lib/evas/modules/*/*/*/module.so" +evas_files += "${prefix}/lib/libevas.so.*" +evas_files += "${prefix}/lib/evas/cserve2" +evas_files += "${prefix}/share/evas/checkme" +MANIFESTFILES_evas = "efl.manifest" + +eeze_files = "" +eeze_files += "${prefix}/lib/libeeze.so.*" +eeze_files += "${prefix}/bin/eeze_disk_ls" +eeze_files += "${prefix}/bin/eeze_mount" +eeze_files += "${prefix}/bin/eeze_scanner" +eeze_files += "${prefix}/bin/eeze_umount" +eeze_files += "${prefix}/lib/eeze/modules/sensor/*/*/module.so" +eeze_files += "${prefix}/share/eeze/checkme" +MANIFESTFILES_eeze = "efl.manifest" + +ethumb-dev_files = "" +ethumb-dev_files += "${prefix}/include/ethumb-1/*.h" +ethumb-dev_files += "${prefix}/include/ethumb-client-1/*.h" +ethumb-dev_files += "${prefix}/lib/libethumb.so" +ethumb-dev_files += "${prefix}/lib/libethumb_client.so" +ethumb-dev_files += "${prefix}/lib/pkgconfig/ethumb*.pc" +ethumb-dev_files += "${prefix}/lib/cmake/Ethumb/*.cmake" +ethumb-dev_files += "${prefix}/lib/cmake/EthumbClient/*.cmake" +MANIFESTFILES_ethumb-dev = "efl.manifest" + +efreet_files = "" +efreet_files += "${prefix}/share/dbus-1/services/org.enlightenment.Efreet.service" +efreet_files += "${prefix}/bin/efreetd" +efreet_files += "${prefix}/lib/efreet/*/efreet_desktop_cache_create" +efreet_files += "${prefix}/lib/efreet/*/efreet_icon_cache_create" +efreet_files += "${prefix}/lib/libefreet.so.*" +efreet_files += "${prefix}/lib/libefreet_mime.so.*" +efreet_files += "${prefix}/lib/libefreet_trash.so.*" +efreet_files += "${prefix}/share/efreet/*" +MANIFESTFILES_efreet = "efl.manifest" + +eldbus-dev_files = "" +eldbus-dev_files += "${prefix}/lib/libeldbus.so" +eldbus-dev_files += "${prefix}/lib/pkgconfig/eldbus*.pc" +eldbus-dev_files += "${prefix}/include/eldbus*/*" +eldbus-dev_files += "${prefix}/lib/cmake/Eldbus/*.cmake" +MANIFESTFILES_eldbus-dev = "efl.manifest" + +eet-examples_files = "" +eet-examples_files += "${prefix}/share/eet/examples/*" +eet-examples_files += "${prefix}/lib/eet/examples/*" +MANIFESTFILES_eet-examples = "efl.manifest" + +embryo-dev_files = "" +embryo-dev_files += "${prefix}/include/embryo-1/*.h" +embryo-dev_files += "${prefix}/lib/libembryo.so" +embryo-dev_files += "${prefix}/lib/pkgconfig/embryo*.pc" +MANIFESTFILES_embryo-dev = "efl.manifest" + +ethumb-examples_files = "" +ethumb-examples_files += "${prefix}/share/ethumb_client/examples/*" +ethumb-examples_files += "${prefix}/lib/ethumb_client/examples/*" +MANIFESTFILES_ethumb-examples = "efl.manifest" + +eio-dev_files = "" +eio-dev_files += "${prefix}/include/eio-1/*" +eio-dev_files += "${prefix}/lib/libeio.so" +eio-dev_files += "${prefix}/lib/pkgconfig/eio*.pc" +MANIFESTFILES_eio-dev = "efl.manifest" + +ecore-examples_files = "" +ecore-examples_files += "${prefix}/share/ecore*/examples/*" +ecore-examples_files += "${prefix}/lib/ecore*/examples/*" +MANIFESTFILES_ecore-examples = "efl.manifest" + +ecore_files = "" +ecore_files += "${prefix}/lib/libecore.so.*" +ecore_files += "${prefix}/lib/libecore_avahi.so.*" +ecore_files += "${prefix}/lib/libecore_audio.so.*" +ecore_files += "${prefix}/lib/libecore_avahi.so.*" +ecore_files += "${prefix}/lib/libecore_con.so.*" +ecore_files += "${prefix}/lib/libecore_evas.so.*" +ecore_files += "${prefix}/lib/libecore_file.so.*" +ecore_files += "${prefix}/lib/libecore_imf.so.*" +ecore_files += "${prefix}/lib/libecore_imf_evas.so.*" +ecore_files += "${prefix}/lib/libecore_input.so.*" +ecore_files += "${prefix}/lib/libecore_input_evas.so.*" +ecore_files += "${prefix}/lib/libecore_ipc.so.*" +ecore_files += "${prefix}/lib/libecore_wayland.so.*" +ecore_files += "${prefix}/lib/ecore_evas/engines/*/*/module.so" +ecore_files += "${prefix}/lib/ecore_imf/modules/*/*/module.so" +ecore_files += "${prefix}/lib/ecore/system/tizen/*/module.so" +ecore_files += "${prefix}/lib/ecore/system/systemd/v-*/module.so" +ecore_files += "${prefix}/share/ecore/checkme" +ecore_files += "${prefix}/share/ecore_imf/checkme" +MANIFESTFILES_ecore = "efl.manifest" + +eldbus-examples_files = "" +eldbus-examples_files += "${prefix}/share/eldbus/examples/*" +eldbus-examples_files += "${prefix}/lib/eldbus/examples/*" +MANIFESTFILES_eldbus-examples = "efl.manifest" + +eo-dev_files = "" +eo-dev_files += "${prefix}/include/eo-1/*.h" +eo-dev_files += "${prefix}/lib/libeo.so" +eo-dev_files += "${prefix}/lib/pkgconfig/eo*.pc" +eo-dev_files += "${prefix}/share/eo/gdb/eo_gdb.py" +eo-dev_files += "${prefix}/share/gdb/auto-load/usr/lib*/*" +eo-dev_files += "${prefix}/lib/cmake/Eo/*.cmake" +MANIFESTFILES_eo-dev = "efl.manifest" + +embryo_files = "" +embryo_files += "${prefix}/bin/embryo_cc" +embryo_files += "${prefix}/lib/libembryo.so.*" +embryo_files += "${prefix}/share/embryo/include/default.inc" +MANIFESTFILES_embryo = "efl.manifest" + +eio-examples_files = "" +eio-examples_files += "${prefix}/share/eio/examples/*" +eio-examples_files += "${prefix}/lib/eio/examples/*" +MANIFESTFILES_eio-examples = "efl.manifest" + +eet-tools_files = "" +eet-tools_files += "${prefix}/bin/eet" +MANIFESTFILES_eet-tools = "efl.manifest" + +edje-dev_files = "" +edje-dev_files += "${prefix}/include/edje-1/*.h" +edje-dev_files += "${prefix}/lib/libedje.so" +edje-dev_files += "${prefix}/lib/pkgconfig/edje*.pc" +edje-dev_files += "${prefix}/lib/cmake/Edje/*.cmake" +MANIFESTFILES_edje-dev = "efl.manifest" + +edje-tools_files = "" +edje-tools_files += "${prefix}/bin/edje*" +edje-tools_files += "${prefix}/share/edje/data/*" +MANIFESTFILES_edje-tools = "efl.manifest" + +eet_files = "" +eet_files += "${prefix}/lib/libeet*.so.*" +MANIFESTFILES_eet = "efl.manifest" + +evas-examples_files = "" +evas-examples_files += "${prefix}/share/evas/examples/*" +evas-examples_files += "${prefix}/lib/evas/examples/*" +MANIFESTFILES_evas-examples = "efl.manifest" + +emotion-examples_files = "" +emotion-examples_files += "${prefix}/share/emotion/examples/*" +emotion-examples_files += "${prefix}/lib/emotion/examples/*" +MANIFESTFILES_emotion-examples = "efl.manifest" + +eldbus_files = "" +eldbus_files += "${prefix}/lib/libeldbus.so.*" +eldbus_files += "${prefix}/bin/eldbus*" +MANIFESTFILES_eldbus = "efl.manifest" + +edje-examples_files = "" +edje-examples_files += "${prefix}/share/edje/examples/*" +edje-examples_files += "${prefix}/lib/edje/examples/*" +MANIFESTFILES_edje-examples = "efl.manifest" + +eio_files = "" +eio_files += "${prefix}/lib/libeio.so.*" +MANIFESTFILES_eio = "efl.manifest" + +FILES_emotion = "${emotion_files}" +FILES_ephysics-examples = "${ephysics-examples_files}" +FILES_eo = "${eo_files}" +FILES_ephysics-dev = "${ephysics-dev_files}" +FILES_edje = "${edje_files}" +FILES_emotion-dev = "${emotion-dev_files}" +FILES_eina = "${eina_files}" +FILES_eina-examples = "${eina-examples_files}" +FILES_eo-examples = "${eo-examples_files}" +FILES_eet-dev = "${eet-dev_files}" +FILES_ephysics = "${ephysics_files}" +FILES_eeze-dev = "${eeze-dev_files}" +FILES_efreet-dev = "${efreet-dev_files}" +FILES_ecore-dev = "${ecore-dev_files}" +FILES_eina-dev = "${eina-dev_files}" +FILES_ethumb = "${ethumb_files}" +FILES_evas-dev = "${evas-dev_files}" +FILES_${PN}-data = "${efl-data_files}" +FILES_evas = "${evas_files}" +FILES_eeze = "${eeze_files}" +FILES_ethumb-dev = "${ethumb-dev_files}" +FILES_efreet = "${efreet_files}" +FILES_eldbus-dev = "${eldbus-dev_files}" +FILES_eet-examples = "${eet-examples_files}" +FILES_embryo-dev = "${embryo-dev_files}" +FILES_ethumb-examples = "${ethumb-examples_files}" +FILES_eio-dev = "${eio-dev_files}" +FILES_ecore-examples = "${ecore-examples_files}" +FILES_ecore = "${ecore_files}" +FILES_eldbus-examples = "${eldbus-examples_files}" +FILES_eo-dev = "${eo-dev_files}" +FILES_embryo = "${embryo_files}" +FILES_eio-examples = "${eio-examples_files}" +FILES_eet-tools = "${eet-tools_files}" +FILES_edje-dev = "${edje-dev_files}" +FILES_edje-tools = "${edje-tools_files}" +FILES_eet = "${eet_files}" +FILES_evas-examples = "${evas-examples_files}" +FILES_emotion-examples = "${emotion-examples_files}" +FILES_eldbus = "${eldbus_files}" +FILES_edje-examples = "${edje-examples_files}" +FILES_eio = "${eio_files}" + +PKG_emotion= "emotion" +PKG_ephysics-examples= "ephysics-examples" +PKG_eo= "eo" +PKG_ephysics-dev= "ephysics-dev" +PKG_edje= "edje" +PKG_emotion-dev= "emotion-dev" +PKG_eina= "eina" +PKG_eina-examples= "eina-examples" +PKG_eo-examples= "eo-examples" +PKG_eet-dev= "eet-dev" +PKG_ephysics= "ephysics" +PKG_eeze-dev= "eeze-dev" +PKG_efreet-dev= "efreet-dev" +PKG_ecore-dev= "ecore-dev" +PKG_eina-dev= "eina-dev" +PKG_ethumb= "ethumb" +PKG_evas-dev= "evas-dev" +PKG_efl-data= "efl-data" +PKG_evas= "evas" +PKG_eeze= "eeze" +PKG_ethumb-dev= "ethumb-dev" +PKG_efreet= "efreet" +PKG_eldbus-dev= "eldbus-dev" +PKG_eet-examples= "eet-examples" +PKG_embryo-dev= "embryo-dev" +PKG_ethumb-examples= "ethumb-examples" +PKG_eio-dev= "eio-dev" +PKG_ecore-examples= "ecore-examples" +PKG_ecore= "ecore" +PKG_eldbus-examples= "eldbus-examples" +PKG_eo-dev= "eo-dev" +PKG_embryo= "embryo" +PKG_eio-examples= "eio-examples" +PKG_eet-tools= "eet-tools" +PKG_edje-dev= "edje-dev" +PKG_edje-tools= "edje-tools" +PKG_eet= "eet" +PKG_evas-examples= "evas-examples" +PKG_emotion-examples= "emotion-examples" +PKG_eldbus= "eldbus" +PKG_edje-examples= "edje-examples" +PKG_eio= "eio" + +require efl-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl/efl_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl/efl_git.bb new file mode 100644 index 0000000000..177d9296a8 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/efl/efl_git.bb @@ -0,0 +1,10 @@ +require efl.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/efl;tag=f7a97238b515310da98621328aadb9275bc92012;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/elementary/elementary.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/elementary/elementary.inc new file mode 100644 index 0000000000..722415ad25 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/elementary/elementary.inc @@ -0,0 +1,165 @@ +DESCRIPTION = "EFL toolkit for small touchscreens" +HOMEPAGE = "http://trac.enlightenment.org/e/wiki/Elementary" +SECTION = "Graphics & UI Framework/Development" +LICENSE = "LGPL-2.1+" +PV = "1.12.2" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by elementary + + +#PROVIDES by elementary-tools +PROVIDES += "elementary-tools" + + +#PROVIDES by elementary-dev +PROVIDES += "elementary-dev" + + +#PROVIDES by elementary-examples +PROVIDES += "elementary-examples" + + +RDEPENDS = "" +#RDEPENDS of elementary-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "elementary" + + +DEPENDS = "" +#DEPENDS of elementary +DEPENDS += "edje" +DEPENDS += "ethumb" +DEPENDS += "edbus" +inherit pythonnative +DEPENDS += "eet" +inherit pkgconfig +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "efreet" +DEPENDS += "eina" +DEPENDS += "eolian-dev" +DEPENDS += "efl" +DEPENDS += "evas" +DEPENDS += "ecore" +DEPENDS += "emotion" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/elementary.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + + autotools_do_configure + + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --disable-static --enable-ecore-wayland --disable-ecore-x --disable-build-examples" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #find_lang elementary + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " elementary-tools " +PACKAGES += " elementary " +PACKAGES += " elementary-dev " + +elementary-tools_files = "" +elementary-tools_files += "${prefix}/share/applications/*" +elementary-tools_files += "${prefix}/bin/elementary_config" +elementary-tools_files += "${prefix}/bin/elementary_test*" +elementary-tools_files += "${prefix}/bin/elementary_codegen" +elementary-tools_files += "${prefix}/bin/elm_prefs_cc" +MANIFESTFILES_${PN}-tools = "elementary.manifest" + +elementary_files = "" +elementary_files += "${prefix}/bin/elementary_quicklaunch" +elementary_files += "${prefix}/bin/elementary_run" +elementary_files += "${prefix}/lib/edje/*" +elementary_files += "${prefix}/lib/elementary/modules/*" +elementary_files += "${prefix}/lib/*.so.*" +elementary_files += "${prefix}/share/elementary/*" +elementary_files += "${prefix}/share/icons/elementary.png" +MANIFESTFILES_${PN} = "elementary.manifest" + +elementary-dev_files = "" +elementary-dev_files += "${prefix}/include/elementary-1/*.h*" +elementary-dev_files += "${prefix}/share/eolian/include/elementary-1/*.eo" +elementary-dev_files += "${prefix}/lib/*.so" +elementary-dev_files += "${prefix}/lib/pkgconfig/*.pc" +elementary-dev_files += "${prefix}/lib/cmake/Elementary/ElementaryConfig.cmake" +elementary-dev_files += "${prefix}/lib/cmake/Elementary/ElementaryConfigVersion.cmake" +MANIFESTFILES_${PN}-dev = "elementary.manifest" + +FILES_${PN}-tools = "${elementary-tools_files}" +FILES_${PN} = "${elementary_files}" +FILES_${PN}-dev = "${elementary-dev_files}" + +PKG_elementary-tools= "elementary-tools" +PKG_elementary= "elementary" +PKG_elementary-dev= "elementary-dev" + +require elementary-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/elementary/elementary_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/elementary/elementary_git.bb new file mode 100644 index 0000000000..0c9bbca83b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/elementary/elementary_git.bb @@ -0,0 +1,10 @@ +require elementary.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/elementary;tag=0d21f750a7b9bd09e896ada235518bfea9735b7b;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/lemolo/lemolo.inc b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/lemolo/lemolo.inc new file mode 100644 index 0000000000..1d1b3b4747 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/lemolo/lemolo.inc @@ -0,0 +1,127 @@ +DESCRIPTION = "Ofono EFL Dialer" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Telephony" +LICENSE = "Apache-2.0" +PV = "0.1.7" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by lemolo + + +RDEPENDS = "" +#RDEPENDS of lemolo (${PN}) +RDEPENDS_${PN} += "automotive-message-broker" +RDEPENDS_${PN} += "ofono" + + +DEPENDS = "" +#DEPENDS of lemolo +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pulseaudio" +DEPENDS += "ofono" +DEPENDS += "capi-system-power" +DEPENDS += "evas" +DEPENDS += "app-svc" +inherit pkgconfig +DEPENDS += "app-core" +DEPENDS += "contacts-service" +DEPENDS += "aul" +DEPENDS += "efl" +DEPENDS += "notification" +DEPENDS += "elementary" +DEPENDS += "ecore" +DEPENDS += "eldbus" +DEPENDS += "vconf" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n lemolo-0.1.7 + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + + autotools_do_configure + + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --enable-notification --enable-tizen" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + #find_lang lemolo + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " lemolo " + +lemolo_files = "" +lemolo_files += "${prefix}/bin/answer_daemon" +lemolo_files += "${prefix}/bin/dialer" +lemolo_files += "${prefix}/bin/messages" +lemolo_files += "${prefix}/bin/dialer_daemon" +lemolo_files += "${prefix}/bin/dialer_open" +lemolo_files += "${prefix}/bin/message_daemon" +lemolo_files += "${prefix}/share/lemolo/examples/contacts.csv" +lemolo_files += "${prefix}/share/lemolo/ringtones/default.wav" +lemolo_files += "${prefix}/share/lemolo/scripts/ofono-efl-contacts-db-create.py" +lemolo_files += "${prefix}/share/lemolo/themes/default.edj" +lemolo_files += "${prefix}/share/lemolo/themes/night.edj" +lemolo_files += "${prefix}/share/lemolo/tizen-examples/order" +lemolo_files += "${prefix}/share/packages/org.tizen.dialer.xml" +lemolo_files += "${prefix}/share/icons/default/small/org.tizen.dialer.png" +lemolo_files += "${prefix}/share/dbus-1/services/org.tizen.dialer.service" + +FILES_${PN} = "${lemolo_files}" + +PKG_lemolo= "lemolo" + +require lemolo-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/lemolo/lemolo_git.bb b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/lemolo/lemolo_git.bb new file mode 100644 index 0000000000..efb8eb5b3f --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/meta-tizen-common-share/recipes-efl/lemolo/lemolo_git.bb @@ -0,0 +1,10 @@ +require lemolo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/lemolo;tag=24fe80b297c7498c9c4f72ed67a1e2fedaabcfd7;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/recipes-automotive/CommonAPI-DBus/CommonAPI-DBus.inc b/meta-tizen/meta-tizen-ivi/recipes-automotive/CommonAPI-DBus/CommonAPI-DBus.inc index 807431efd7..090f012a75 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-automotive/CommonAPI-DBus/CommonAPI-DBus.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-automotive/CommonAPI-DBus/CommonAPI-DBus.inc @@ -63,7 +63,7 @@ do_compile() { autoreconf -i autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-automotive/CommonAPI/CommonAPI.inc b/meta-tizen/meta-tizen-ivi/recipes-automotive/CommonAPI/CommonAPI.inc index 05494484a7..eab724dd80 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-automotive/CommonAPI/CommonAPI.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-automotive/CommonAPI/CommonAPI.inc @@ -59,7 +59,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-connectivity/gupnp-av/gupnp-av.inc b/meta-tizen/meta-tizen-ivi/recipes-connectivity/gupnp-av/gupnp-av.inc index 61c5c8af35..16602e77b2 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-connectivity/gupnp-av/gupnp-av.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-connectivity/gupnp-av/gupnp-av.inc @@ -60,7 +60,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-connectivity/gupnp-dlna/gupnp-dlna.inc b/meta-tizen/meta-tizen-ivi/recipes-connectivity/gupnp-dlna/gupnp-dlna.inc index b5d28b4acc..1a558ac07b 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-connectivity/gupnp-dlna/gupnp-dlna.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-connectivity/gupnp-dlna/gupnp-dlna.inc @@ -61,7 +61,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-connectivity/gupnp/gupnp.inc b/meta-tizen/meta-tizen-ivi/recipes-connectivity/gupnp/gupnp.inc index a1f9f82961..420b4c3703 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-connectivity/gupnp/gupnp.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-connectivity/gupnp/gupnp.inc @@ -62,7 +62,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-devtools/libgee/libgee.inc b/meta-tizen/meta-tizen-ivi/recipes-devtools/libgee/libgee.inc index 4c58c57a10..575f4fccf6 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-devtools/libgee/libgee.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-devtools/libgee/libgee.inc @@ -69,7 +69,7 @@ do_compile() { autotools_do_configure - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-extended/automotive-message-broker/automotive-message-broker.inc b/meta-tizen/meta-tizen-ivi/recipes-extended/automotive-message-broker/automotive-message-broker.inc index 77517db850..876e43d313 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-extended/automotive-message-broker/automotive-message-broker.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-extended/automotive-message-broker/automotive-message-broker.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Automotive Message Broker is a vehicle network abstraction system HOMEPAGE = "http://nohomepage.org" SECTION = "Automotive/Service" LICENSE = "LGPL-2.1" -PV = "0.12.803" +PV = "0.13" SRC_URI = "" @@ -13,16 +13,20 @@ inherit manifest autotools-brokensep BBCLASSEXTEND = "" PROVIDES = "" -#PROVIDES by automotive-message-broker-doc -PROVIDES += "automotive-message-broker-doc" +#PROVIDES by automotive-message-broker-plugins-bluetooth +PROVIDES += "automotive-message-broker-plugins-bluetooth" #PROVIDES by automotive-message-broker-plugins PROVIDES += "automotive-message-broker-plugins" -#PROVIDES by automotive-message-broker-plugins-common -PROVIDES += "automotive-message-broker-plugins-common" +#PROVIDES by automotive-message-broker-plugins-bluemonkey +PROVIDES += "automotive-message-broker-plugins-bluemonkey" + + +#PROVIDES by automotive-message-broker-plugins-qtmainloop +PROVIDES += "automotive-message-broker-plugins-qtmainloop" #PROVIDES by automotive-message-broker-plugins-murphy @@ -33,10 +37,18 @@ PROVIDES += "automotive-message-broker-plugins-murphy" PROVIDES += "automotive-message-broker-plugins-cangen" +#PROVIDES by automotive-message-broker-plugins-opencvlux +PROVIDES += "automotive-message-broker-plugins-opencvlux" + + #PROVIDES by automotive-message-broker-plugins-test PROVIDES += "automotive-message-broker-plugins-test" +#PROVIDES by automotive-message-broker-doc +PROVIDES += "automotive-message-broker-doc" + + #PROVIDES by automotive-message-broker-plugins-wheel PROVIDES += "automotive-message-broker-plugins-wheel" @@ -45,8 +57,8 @@ PROVIDES += "automotive-message-broker-plugins-wheel" PROVIDES += "automotive-message-broker-plugins-cansim" -#PROVIDES by automotive-message-broker-xwalk-vehicle-extension -PROVIDES += "automotive-message-broker-xwalk-vehicle-extension" +#PROVIDES by automotive-message-broker-plugins-common +PROVIDES += "automotive-message-broker-plugins-common" #PROVIDES by automotive-message-broker-dev @@ -60,43 +72,67 @@ PROVIDES += "automotive-message-broker-dev" PROVIDES += "automotive-message-broker-plugins-database" +#PROVIDES by automotive-message-broker-plugins-websocket +PROVIDES += "automotive-message-broker-plugins-websocket" + + #PROVIDES by automotive-message-broker-plugins-obd2 PROVIDES += "automotive-message-broker-plugins-obd2" +#PROVIDES by automotive-message-broker-xwalk-vehicle-extension +PROVIDES += "automotive-message-broker-xwalk-vehicle-extension" + + #PROVIDES by automotive-message-broker-plugins-gpsnmea PROVIDES += "automotive-message-broker-plugins-gpsnmea" +#PROVIDES by bluemonkey-modules-db +PROVIDES += "bluemonkey-modules-db" + + RDEPENDS = "" -#RDEPENDS of automotive-message-broker-doc (${PN}-doc) -RDEPENDS_${PN}-doc += "automotive-message-broker" +#RDEPENDS of automotive-message-broker-plugins-bluetooth (${PN}-plugins-bluetooth) +RDEPENDS_${PN}-plugins-bluetooth += "automotive-message-broker" -#RDEPENDS of automotive-message-broker-plugins-cangen (${PN}-plugins-cangen) -RDEPENDS_${PN}-plugins-cangen += "automotive-message-broker" +#RDEPENDS of automotive-message-broker-plugins (${PN}-plugins) +RDEPENDS_${PN}-plugins += "automotive-message-broker" -#RDEPENDS of automotive-message-broker-plugins-common (${PN}-plugins-common) -RDEPENDS_${PN}-plugins-common += "automotive-message-broker" +#RDEPENDS of automotive-message-broker-plugins-bluemonkey (${PN}-plugins-bluemonkey) +RDEPENDS_${PN}-plugins-bluemonkey += "automotive-message-broker-plugins-qtmainloop" +RDEPENDS_${PN}-plugins-bluemonkey += "automotive-message-broker" +RDEPENDS_${PN}-plugins-bluemonkey += "qt5-qtdeclarative" + +#RDEPENDS of automotive-message-broker-plugins-qtmainloop (${PN}-plugins-qtmainloop) +RDEPENDS_${PN}-plugins-qtmainloop += "automotive-message-broker" +RDEPENDS_${PN}-plugins-qtmainloop += "qt5-qtcore" #RDEPENDS of automotive-message-broker-plugins-murphy (${PN}-plugins-murphy) RDEPENDS_${PN}-plugins-murphy += "murphy" RDEPENDS_${PN}-plugins-murphy += "automotive-message-broker" -#RDEPENDS of automotive-message-broker-plugins (${PN}-plugins) -RDEPENDS_${PN}-plugins += "automotive-message-broker" +#RDEPENDS of automotive-message-broker-plugins-cangen (${PN}-plugins-cangen) +RDEPENDS_${PN}-plugins-cangen += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-plugins-opencvlux (${PN}-plugins-opencvlux) +RDEPENDS_${PN}-plugins-opencvlux += "opencv" +RDEPENDS_${PN}-plugins-opencvlux += "automotive-message-broker" #RDEPENDS of automotive-message-broker-plugins-test (${PN}-plugins-test) RDEPENDS_${PN}-plugins-test += "automotive-message-broker" +#RDEPENDS of automotive-message-broker-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "automotive-message-broker" + #RDEPENDS of automotive-message-broker-plugins-wheel (${PN}-plugins-wheel) RDEPENDS_${PN}-plugins-wheel += "automotive-message-broker" #RDEPENDS of automotive-message-broker-plugins-cansim (${PN}-plugins-cansim) RDEPENDS_${PN}-plugins-cansim += "automotive-message-broker" -#RDEPENDS of automotive-message-broker-xwalk-vehicle-extension (${PN}-xwalk-vehicle-extension) -RDEPENDS_${PN}-xwalk-vehicle-extension += "crosswalk" -RDEPENDS_${PN}-xwalk-vehicle-extension += "automotive-message-broker" +#RDEPENDS of automotive-message-broker-plugins-common (${PN}-plugins-common) +RDEPENDS_${PN}-plugins-common += "automotive-message-broker" #RDEPENDS of automotive-message-broker-dev (${PN}-dev) RDEPENDS_${PN}-dev += "boost" @@ -104,27 +140,46 @@ RDEPENDS_${PN}-dev += "util-linux" RDEPENDS_${PN}-dev += "automotive-message-broker" #RDEPENDS of automotive-message-broker (${PN}) -RDEPENDS_${PN} += "automotive-message-broker-plugins-murphy" RDEPENDS_${PN} += "automotive-message-broker-plugins" +RDEPENDS_${PN} += "python-pygobject" +RDEPENDS_${PN} += "default-ac-domains" +RDEPENDS_${PN} += "automotive-message-broker-plugins-murphy" +RDEPENDS_${PN} += "python-curses" RDEPENDS_${PN} += "dbus-python" RDEPENDS_${PN} += "glibc" -RDEPENDS_${PN} += "default-ac-domains" #RDEPENDS of automotive-message-broker-plugins-database (${PN}-plugins-database) RDEPENDS_${PN}-plugins-database += "sqlite3" RDEPENDS_${PN}-plugins-database += "automotive-message-broker" +#RDEPENDS of automotive-message-broker-plugins-websocket (${PN}-plugins-websocket) +RDEPENDS_${PN}-plugins-websocket += "libwebsockets" +RDEPENDS_${PN}-plugins-websocket += "automotive-message-broker" +RDEPENDS_${PN}-plugins-websocket += "qt5-qtcore" + #RDEPENDS of automotive-message-broker-plugins-obd2 (${PN}-plugins-obd2) RDEPENDS_${PN}-plugins-obd2 += "automotive-message-broker-plugins-common" RDEPENDS_${PN}-plugins-obd2 += "automotive-message-broker" +#RDEPENDS of automotive-message-broker-xwalk-vehicle-extension (${PN}-xwalk-vehicle-extension) +RDEPENDS_${PN}-xwalk-vehicle-extension += "crosswalk" +RDEPENDS_${PN}-xwalk-vehicle-extension += "automotive-message-broker" + #RDEPENDS of automotive-message-broker-plugins-gpsnmea (${PN}-plugins-gpsnmea) RDEPENDS_${PN}-plugins-gpsnmea += "automotive-message-broker" +#RDEPENDS of bluemonkey-modules-db (bluemonkey-modules-db) +RDEPENDS_bluemonkey-modules-db += "qt5-plugin-sqldriver-sqlite" +RDEPENDS_bluemonkey-modules-db += "automotive-message-broker" + DEPENDS = "" #DEPENDS of automotive-message-broker +DEPENDS += "qt5-plugin-bearer-nm" +DEPENDS += "qt5-plugin-bearer-connman" inherit tizen_cmake +DEPENDS += "qt5-qtnetwork-dev" +DEPENDS += "qt5-qtdbus-dev" DEPENDS += "opencv" DEPENDS += "json-c" DEPENDS += "dbus" @@ -132,16 +187,21 @@ DEPENDS += "murphy" inherit pkgconfig DEPENDS += "glib-2.0" DEPENDS += "sqlite3" +DEPENDS += "qt5-qtcore-dev" DEPENDS_append_class-native = " libtool" DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "qt5-plugin-bearer-generic" DEPENDS += "libwebsockets" +DEPENDS += "qt5-plugin-sqldriver-sqlite" +DEPENDS += "qt5-qtdeclarative-dev" DEPENDS += "util-linux" DEPENDS += "boost" +DEPENDS += "qt5-qtconcurrent-dev" do_prep() { cd ${S} chmod -Rf a+rX,u+w,g-w,o-w ${S} - #setup -q -n automotive-message-broker-0.12.803 + #setup -q -n automotive-message-broker-0.13 } @@ -172,20 +232,25 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} \ - -Dxwalk_vehicle_extension=ON \ - -DXWALK_EXTENSION_PATH=/tizen-extensions-crosswalk \ - -Ddatabase_plugin=ON \ - -Dmurphy_plugin=ON \ - -Dobd2_plugin=ON \ - -Dtest_plugin=ON \ - -Dgpsnmea_plugin=ON \ - -Dcangen_plugin=ON \ - -Dcansim_plugin=ON \ - -Dusebluez5=ON \ - -Denable_docs=ON + -Dxwalk_vehicle_extension=ON \ + -DXWALK_EXTENSION_PATH=/tizen-extensions-crosswalk \ + -Dqtmainloop=ON \ + -Dopencvlux_plugin=ON \ + -Dwebsocket_plugin=ON \ + -Dbluetooth_plugin=ON \ + -Dbluemonkey_plugin=ON \ + -Ddatabase_plugin=ON \ + -Dmurphy_plugin=ON \ + -Dobd2_plugin=ON \ + -Dtest_plugin=ON \ + -Dgpsnmea_plugin=ON \ + -Dcangen_plugin=ON \ + -Dcansim_plugin=ON \ + -Dusebluez5=ON \ + -Denable_docs=ON - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 @@ -218,7 +283,7 @@ do_install() { mkdir -p ${D}/${systemd_unitdir}/system/multi-user.target.wants ln -s ../ambd.service ${D}/${systemd_unitdir}/system/multi-user.target.wants/ambd.service - cp packaging.in/config.tizen ${D}${sysconfdir}/ambd/ + cp packaging/config.tizen ${D}${sysconfdir}/ambd/ } @@ -248,19 +313,32 @@ pkg_postrm_${PN}() { } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " automotive-message-broker-plugins-bluetooth " PACKAGES += " automotive-message-broker-plugins-cangen " PACKAGES += " automotive-message-broker-plugins-common " -PACKAGES += " automotive-message-broker-dev " +PACKAGES += " automotive-message-broker-plugins-qtmainloop " PACKAGES += " automotive-message-broker-plugins-murphy " PACKAGES += " automotive-message-broker-plugins " +PACKAGES += " automotive-message-broker-plugins-opencvlux " PACKAGES += " automotive-message-broker-plugins-test " -PACKAGES += " automotive-message-broker-plugins-gpsnmea " +PACKAGES += " automotive-message-broker-plugins-wheel " PACKAGES += " automotive-message-broker-plugins-cansim " +PACKAGES += " automotive-message-broker-plugins-bluemonkey " PACKAGES += " automotive-message-broker-xwalk-vehicle-extension " PACKAGES += " automotive-message-broker " PACKAGES += " automotive-message-broker-plugins-database " +PACKAGES += " automotive-message-broker-plugins-websocket " PACKAGES += " automotive-message-broker-plugins-obd2 " -PACKAGES += " automotive-message-broker-plugins-wheel " +PACKAGES += " automotive-message-broker-dev " +PACKAGES += " automotive-message-broker-plugins-gpsnmea " +PACKAGES += " bluemonkey-modules-db " + +automotive-message-broker-plugins-bluetooth_files = "" +automotive-message-broker-plugins-bluetooth_files += "${prefix}/lib/automotive-message-broker/bluetoothplugin.so" +automotive-message-broker-plugins-bluetooth_files += "${sysconfdir}/dbus-1/system.d/ambbt.conf" +CONFFILES_${PN}-plugins-bluetooth = "" +CONFFILES_${PN}-plugins-bluetooth += "${sysconfdir}/dbus-1/system.d/ambbt.conf" +MANIFESTFILES_${PN}-plugins-bluetooth = "packaging.in/amb.manifest.plugins" automotive-message-broker-plugins-cangen_files = "" automotive-message-broker-plugins-cangen_files += "${prefix}/lib/automotive-message-broker/cangenplugin.so" @@ -271,11 +349,9 @@ automotive-message-broker-plugins-common_files = "" automotive-message-broker-plugins-common_files += "${prefix}/lib/libamb-plugins-common.so" MANIFESTFILES_${PN}-plugins-common = "packaging.in/amb.manifest.plugins" -automotive-message-broker-dev_files = "" -automotive-message-broker-dev_files += "${prefix}/include/amb/*.h" -automotive-message-broker-dev_files += "${prefix}/include/amb/*.hpp" -automotive-message-broker-dev_files += "${prefix}/lib/pkgconfig/*.pc" -MANIFESTFILES_${PN}-dev = "packaging.in/amb.manifest.plugins" +automotive-message-broker-plugins-qtmainloop_files = "" +automotive-message-broker-plugins-qtmainloop_files += "${prefix}/lib/automotive-message-broker/qtmainloopplugin.so" +MANIFESTFILES_${PN}-plugins-qtmainloop = "packaging.in/amb.manifest.plugins" automotive-message-broker-plugins-murphy_files = "" automotive-message-broker-plugins-murphy_files += "${prefix}/lib/automotive-message-broker/murphysourceplugin.so" @@ -291,18 +367,33 @@ CONFFILES_${PN}-plugins = "" CONFFILES_${PN}-plugins += "${sysconfdir}/dbus-1/system.d/amb.conf" MANIFESTFILES_${PN}-plugins = "packaging.in/amb.manifest.plugins" +automotive-message-broker-plugins-opencvlux_files = "" +automotive-message-broker-plugins-opencvlux_files += "${prefix}/lib/automotive-message-broker/opencvluxplugin.so" +MANIFESTFILES_${PN}-plugins-opencvlux = "packaging.in/amb.manifest.plugins" + automotive-message-broker-plugins-test_files = "" automotive-message-broker-plugins-test_files += "${prefix}/lib/automotive-message-broker/testplugin.so" MANIFESTFILES_${PN}-plugins-test = "packaging.in/amb.manifest.plugins" -automotive-message-broker-plugins-gpsnmea_files = "" -automotive-message-broker-plugins-gpsnmea_files += "${prefix}/lib/automotive-message-broker/gpsnmea.so" -MANIFESTFILES_${PN}-plugins-gpsnmea = "packaging.in/amb.manifest.plugins" +automotive-message-broker-doc_files = "" +automotive-message-broker-doc_files += "${prefix}/share/doc/packages/automotive-message-broker/*" +MANIFESTFILES_${PN}-doc = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins-wheel_files = "" +automotive-message-broker-plugins-wheel_files += "${prefix}/lib/automotive-message-broker/wheelsourceplugin.so" +MANIFESTFILES_${PN}-plugins-wheel = "packaging.in/amb.manifest.plugins" automotive-message-broker-plugins-cansim_files = "" automotive-message-broker-plugins-cansim_files += "${prefix}/lib/automotive-message-broker/cansimplugin.so" MANIFESTFILES_${PN}-plugins-cansim = "packaging.in/amb.manifest.plugins" +automotive-message-broker-plugins-bluemonkey_files = "" +automotive-message-broker-plugins-bluemonkey_files += "${prefix}/lib/automotive-message-broker/bluemonkeyplugin.so" +automotive-message-broker-plugins-bluemonkey_files += "${sysconfdir}/ambd/bluemonkey" +CONFFILES_${PN}-plugins-bluemonkey = "" +CONFFILES_${PN}-plugins-bluemonkey += "${sysconfdir}/ambd/bluemonkey" +MANIFESTFILES_${PN}-plugins-bluemonkey = "packaging.in/amb.manifest.plugins" + automotive-message-broker-xwalk-vehicle-extension_files = "" automotive-message-broker-xwalk-vehicle-extension_files += "${prefix}/lib/tizen-extensions-crosswalk/*" automotive-message-broker-xwalk-vehicle-extension_files += "${prefix}/share/automotive-message-broker/xwalk/examples/*" @@ -321,6 +412,7 @@ automotive-message-broker_files += "${prefix}/bin/amb-get" automotive-message-broker_files += "${prefix}/bin/amb-get-history" automotive-message-broker_files += "${prefix}/bin/amb-set" automotive-message-broker_files += "${prefix}/bin/amb-listen" +automotive-message-broker_files += "${prefix}/bin/ambctl" CONFFILES_${PN} = "" CONFFILES_${PN} += "${sysconfdir}/ambd/config" CONFFILES_${PN} += "${sysconfdir}/ambd/config.tizen" @@ -331,47 +423,70 @@ automotive-message-broker-plugins-database_files = "" automotive-message-broker-plugins-database_files += "${prefix}/lib/automotive-message-broker/databasesinkplugin.so" MANIFESTFILES_${PN}-plugins-database = "packaging.in/amb.manifest.plugins" +automotive-message-broker-plugins-websocket_files = "" +automotive-message-broker-plugins-websocket_files += "${prefix}/lib/automotive-message-broker/websocketsource.so" +automotive-message-broker-plugins-websocket_files += "${prefix}/lib/automotive-message-broker/websocketsink.so" +MANIFESTFILES_${PN}-plugins-websocket = "packaging.in/amb.manifest.plugins" + automotive-message-broker-plugins-obd2_files = "" automotive-message-broker-plugins-obd2_files += "${prefix}/lib/automotive-message-broker/obd2sourceplugin.so" MANIFESTFILES_${PN}-plugins-obd2 = "packaging.in/amb.manifest.plugins" -automotive-message-broker-plugins-wheel_files = "" -automotive-message-broker-plugins-wheel_files += "${prefix}/lib/automotive-message-broker/wheelsourceplugin.so" -MANIFESTFILES_${PN}-plugins-wheel = "packaging.in/amb.manifest.plugins" +automotive-message-broker-dev_files = "" +automotive-message-broker-dev_files += "${prefix}/include/amb/*.h" +automotive-message-broker-dev_files += "${prefix}/include/amb/*.hpp" +automotive-message-broker-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "packaging.in/amb.manifest.plugins" -automotive-message-broker-doc_files = "" -automotive-message-broker-doc_files += "${prefix}/share/doc/packages/automotive-message-broker/*" -MANIFESTFILES_${PN}-doc = "packaging.in/amb.manifest.plugins" +automotive-message-broker-plugins-gpsnmea_files = "" +automotive-message-broker-plugins-gpsnmea_files += "${prefix}/lib/automotive-message-broker/gpsnmea.so" +MANIFESTFILES_${PN}-plugins-gpsnmea = "packaging.in/amb.manifest.plugins" +bluemonkey-modules-db_files = "" +bluemonkey-modules-db_files += "${prefix}/lib/automotive-message-broker/bluemonkeyDbModule.so" +MANIFESTFILES_bluemonkey-modules-db = "packaging.in/amb.manifest.plugins" + +FILES_${PN}-plugins-bluetooth = "${automotive-message-broker-plugins-bluetooth_files}" FILES_${PN}-plugins-cangen = "${automotive-message-broker-plugins-cangen_files}" FILES_${PN}-plugins-common = "${automotive-message-broker-plugins-common_files}" -FILES_${PN}-dev = "${automotive-message-broker-dev_files}" +FILES_${PN}-plugins-qtmainloop = "${automotive-message-broker-plugins-qtmainloop_files}" FILES_${PN}-plugins-murphy = "${automotive-message-broker-plugins-murphy_files}" FILES_${PN}-plugins = "${automotive-message-broker-plugins_files}" +FILES_${PN}-plugins-opencvlux = "${automotive-message-broker-plugins-opencvlux_files}" FILES_${PN}-plugins-test = "${automotive-message-broker-plugins-test_files}" -FILES_${PN}-plugins-gpsnmea = "${automotive-message-broker-plugins-gpsnmea_files}" +FILES_${PN}-doc = "${automotive-message-broker-doc_files}" +FILES_${PN}-plugins-wheel = "${automotive-message-broker-plugins-wheel_files}" FILES_${PN}-plugins-cansim = "${automotive-message-broker-plugins-cansim_files}" +FILES_${PN}-plugins-bluemonkey = "${automotive-message-broker-plugins-bluemonkey_files}" FILES_${PN}-xwalk-vehicle-extension = "${automotive-message-broker-xwalk-vehicle-extension_files}" FILES_${PN} = "${automotive-message-broker_files}" FILES_${PN}-plugins-database = "${automotive-message-broker-plugins-database_files}" +FILES_${PN}-plugins-websocket = "${automotive-message-broker-plugins-websocket_files}" FILES_${PN}-plugins-obd2 = "${automotive-message-broker-plugins-obd2_files}" -FILES_${PN}-plugins-wheel = "${automotive-message-broker-plugins-wheel_files}" -FILES_${PN}-doc = "${automotive-message-broker-doc_files}" +FILES_${PN}-dev = "${automotive-message-broker-dev_files}" +FILES_${PN}-plugins-gpsnmea = "${automotive-message-broker-plugins-gpsnmea_files}" +FILES_bluemonkey-modules-db = "${bluemonkey-modules-db_files}" +PKG_automotive-message-broker-plugins-bluetooth= "automotive-message-broker-plugins-bluetooth" PKG_automotive-message-broker-plugins-cangen= "automotive-message-broker-plugins-cangen" PKG_automotive-message-broker-plugins-common= "automotive-message-broker-plugins-common" -PKG_automotive-message-broker-dev= "automotive-message-broker-dev" +PKG_automotive-message-broker-plugins-qtmainloop= "automotive-message-broker-plugins-qtmainloop" PKG_automotive-message-broker-plugins-murphy= "automotive-message-broker-plugins-murphy" PKG_automotive-message-broker-plugins= "automotive-message-broker-plugins" +PKG_automotive-message-broker-plugins-opencvlux= "automotive-message-broker-plugins-opencvlux" PKG_automotive-message-broker-plugins-test= "automotive-message-broker-plugins-test" -PKG_automotive-message-broker-plugins-gpsnmea= "automotive-message-broker-plugins-gpsnmea" +PKG_automotive-message-broker-doc= "automotive-message-broker-doc" +PKG_automotive-message-broker-plugins-wheel= "automotive-message-broker-plugins-wheel" PKG_automotive-message-broker-plugins-cansim= "automotive-message-broker-plugins-cansim" +PKG_automotive-message-broker-plugins-bluemonkey= "automotive-message-broker-plugins-bluemonkey" PKG_automotive-message-broker-xwalk-vehicle-extension= "automotive-message-broker-xwalk-vehicle-extension" PKG_automotive-message-broker= "automotive-message-broker" PKG_automotive-message-broker-plugins-database= "automotive-message-broker-plugins-database" +PKG_automotive-message-broker-plugins-websocket= "automotive-message-broker-plugins-websocket" PKG_automotive-message-broker-plugins-obd2= "automotive-message-broker-plugins-obd2" -PKG_automotive-message-broker-plugins-wheel= "automotive-message-broker-plugins-wheel" -PKG_automotive-message-broker-doc= "automotive-message-broker-doc" +PKG_automotive-message-broker-dev= "automotive-message-broker-dev" +PKG_automotive-message-broker-plugins-gpsnmea= "automotive-message-broker-plugins-gpsnmea" +PKG_bluemonkey-modules-db= "bluemonkey-modules-db" require automotive-message-broker-extraconf.inc diff --git a/meta-tizen/meta-tizen-ivi/recipes-extended/automotive-message-broker/automotive-message-broker_git.bb b/meta-tizen/meta-tizen-ivi/recipes-extended/automotive-message-broker/automotive-message-broker_git.bb index 839ad3b921..e7a0578cb2 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-extended/automotive-message-broker/automotive-message-broker_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-extended/automotive-message-broker/automotive-message-broker_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/automotive-message-broker;tag=26256f536d32a6a722e0b70e349e273ce1fbfb29;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/automotive-message-broker;tag=21d9604f5e11ea7fb63828b30f23af0a07ed08a7;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-extended/dlt/dlt.inc b/meta-tizen/meta-tizen-ivi/recipes-extended/dlt/dlt.inc index 190b27bff3..716ff08504 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-extended/dlt/dlt.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-extended/dlt/dlt.inc @@ -90,7 +90,7 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} -DWITH_SYSTEMD=ON -DWITH_SYSTEMD_JOURNAL=ON \ -DWITH_MAN=OFF -DWITH_DLT_EXAMPLES=OFF .. - make ${PARALLEL_MAKE} + make -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-framework/notification/notification.inc b/meta-tizen/meta-tizen-ivi/recipes-framework/notification/notification.inc new file mode 100644 index 0000000000..d0a332c50d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/recipes-framework/notification/notification.inc @@ -0,0 +1,176 @@ +DESCRIPTION = "Notification Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/API" +LICENSE = "Apache-2.0" +PV = "0.2.3" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by notification-service-dev +PROVIDES += "notification-service-dev" + + +#PROVIDES by notification + + +#PROVIDES by notification-dev +PROVIDES += "notification-dev" + + +RDEPENDS = "" +#RDEPENDS of notification-service-dev (${PN}-service-dev) +RDEPENDS_${PN}-service-dev += "notification" + +#RDEPENDS of notification (${PN}) +RDEPENDS_${PN} += "sqlite3" +RDEPENDS_${PN} += "glibc" +RDEPENDS_${PN} += "libtzplatform-config" + +#RDEPENDS of notification-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "notification" + + +DEPENDS = "" +#DEPENDS of notification +inherit tizen_cmake +DEPENDS += "dbus-glib" +DEPENDS += "eina" +DEPENDS += "dbus" +DEPENDS += "app-svc" +DEPENDS += "tizen-platform-config" +inherit pkgconfig +DEPENDS += "bundle" +DEPENDS += "aul" +DEPENDS += "ail" +DEPENDS += "dlog" +DEPENDS += "ecore" +DEPENDS += "sqlite3" +DEPENDS += "heynoti" +DEPENDS += "libcom-core" +DEPENDS += "vconf" +DEPENDS += "libslp-db-util" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/notification.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ + ${EXTRA_OECMAKE} . + make -j16 + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + mkdir -p ${D}/usr/share/license + cp -f LICENSE.APLv2.0 ${D}/usr/share/license/notification + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + $D${prefix}/share/notification/notification_DB_init.sh + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " notification-service-dev " +PACKAGES += " notification " +PACKAGES += " notification-dev " + +notification-service-dev_files = "" +notification-service-dev_files += "${prefix}/include/notification/service/notification_ipc.h" +notification-service-dev_files += "${prefix}/include/notification/service/notification_noti.h" +notification-service-dev_files += "${prefix}/include/notification/service/notification_setting_service.h" +notification-service-dev_files += "${prefix}/lib/pkgconfig/notification-service.pc" + +notification_files = "" +notification_files += "${prefix}/lib/libnotification.so*" +notification_files += "${prefix}/share/notification/notification_DB_init.sh" +notification_files += "/usr/share/license/notification" +MANIFESTFILES_${PN} = "notification.manifest" + +notification-dev_files = "" +notification-dev_files += "${prefix}/include/notification/notification.h" +notification-dev_files += "${prefix}/include/notification/notification_error.h" +notification-dev_files += "${prefix}/include/notification/notification_type.h" +notification-dev_files += "${prefix}/include/notification/notification_list.h" +notification-dev_files += "${prefix}/include/notification/notification_status.h" +notification-dev_files += "${prefix}/include/notification/notification_setting.h" +notification-dev_files += "${prefix}/lib/pkgconfig/notification.pc" + +FILES_${PN}-service-dev = "${notification-service-dev_files}" +FILES_${PN} = "${notification_files}" +FILES_${PN}-dev = "${notification-dev_files}" + +PKG_notification-service-dev= "notification-service-dev" +PKG_notification= "notification" +PKG_notification-dev= "notification-dev" + +require notification-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/recipes-framework/notification/notification_git.bb b/meta-tizen/meta-tizen-ivi/recipes-framework/notification/notification_git.bb new file mode 100644 index 0000000000..af5adcfb7d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/recipes-framework/notification/notification_git.bb @@ -0,0 +1,10 @@ +require notification.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/api/notification;tag=6d3c4efa9d5285bb6fb9eef61a32ee5ce2c3b632;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell.inc b/meta-tizen/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell.inc index 8b11a13dad..0aa1c6e9e8 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell.inc @@ -2,7 +2,7 @@ DESCRIPTION = "GENIVI Shell Plugin-in" HOMEPAGE = "http://git.projects.genivi.org/wayland-ivi-extension.git" SECTION = "Graphics & UI Framework/Wayland Window System" LICENSE = "Apache-2.0" -PV = "0.2.3" +PV = "0.2.5" SRC_URI = "" @@ -46,28 +46,11 @@ do_prep() { /usr/bin/wayland-scanner code < protocol/ivi-controller.xml \ > protocol/ivi-controller-protocol.c - -} -do_patch_append() { - bb.build.exec_func('do_prep', d) -} - -do_configure() { -} - -do_compile() { - cd ${S} - LANG=C - export LANG - unset DISPLAY - LD_AS_NEEDED=1; export LD_AS_NEEDED ; - - cat ivi-extension-protocol.pc.in \ | sed s\#@libdir@\#${prefix}/lib\#g \ | sed s\#@includedir@\#${prefix}/include/genivi-shell\#g \ | sed s\#@name@\#genivi-shell\#g \ - | sed s\#@package_version@\#0.2.3\#g \ + | sed s\#@package_version@\#0.2.5\#g \ > ivi-extension-protocol.pc @@ -84,7 +67,24 @@ do_compile() { -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} . - oe_runmake ${PARALLEL_MAKE} V=1 + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + make -j16 V=1 @@ -167,6 +167,7 @@ genivi-shell_files += "${prefix}/lib/libilmClient.so.*" genivi-shell_files += "${prefix}/lib/libilmCommon.so.*" genivi-shell_files += "${prefix}/lib/libilmControl.so.*" genivi-shell_files += "${prefix}/lib/weston/ivi-controller.so" +genivi-shell_files += "${prefix}/bin/EGLWLInputEventExample" MANIFESTFILES_${PN} = "genivi-shell.manifest" genivi-shell-dev_files = "" diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell_git.bb b/meta-tizen/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell_git.bb index a0c94b29c4..6439b3b598 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/wayland-ivi-extension;tag=fd633eb0761da7a0be4bc1f920f62b5bb6dfe639;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/wayland-ivi-extension;tag=06b52cbfdfa6da7cfd0103918da801199fd4bc4b;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus-hangul/ibus-hangul.inc b/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus-hangul/ibus-hangul.inc index 7187bf1434..543c8a1468 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus-hangul/ibus-hangul.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus-hangul/ibus-hangul.inc @@ -58,7 +58,7 @@ do_compile() { autotools_do_configure # make -C po update-gmo - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus-libpinyin/ibus-libpinyin.inc b/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus-libpinyin/ibus-libpinyin.inc index d2bf38029c..518934c6dd 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus-libpinyin/ibus-libpinyin.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus-libpinyin/ibus-libpinyin.inc @@ -63,7 +63,7 @@ do_compile() { autotools_do_configure # make -C po update-gmo - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus/ibus.inc b/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus/ibus.inc new file mode 100644 index 0000000000..3d46492c1d --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus/ibus.inc @@ -0,0 +1,207 @@ +DESCRIPTION = "Intelligent Input Bus for Linux OS" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.0+" +PV = "1.5.4" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ibus-dev +PROVIDES += "ibus-dev" + + +#PROVIDES by ibus-libs +PROVIDES += "ibus-libs" + + +#PROVIDES by ibus + + +RDEPENDS = "" +#RDEPENDS of ibus-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "dbus" +RDEPENDS_${PN}-dev += "ibus-libs" +RDEPENDS_${PN}-dev += "ibus" +RDEPENDS_${PN}-dev += "glib-2.0" + +#RDEPENDS of ibus-libs (${PN}-libs) +RDEPENDS_${PN}-libs += "dbus" + +#RDEPENDS of ibus (${PN}) +RDEPENDS_${PN} += "ibus-libs" +RDEPENDS_${PN} += "python-pygobject" +RDEPENDS_${PN} += "dbus-python" +RDEPENDS_${PN} += "iso-codes" + + +DEPENDS = "" +#DEPENDS of ibus +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +DEPENDS += "python-pygobject" +DEPENDS += "iso-codes" +inherit pythonnative +DEPENDS += "vala" +DEPENDS += "libxkbcommon" +inherit pkgconfig +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "wayland" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "gtk-doc-stub" +DEPENDS += "dbus-python" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ibus.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + + oe_runmake -j16 + + + +} +EXTRA_OECONF += " --disable-static --disable-tests --disable-gtk2 --disable-gtk3 --disable-xim --enable-wayland --disable-vala --disable-gtk-doc --disable-gconf --disable-setup --disable-dconf --enable-python-library --disable-ui --disable-libnotify --enable-introspection" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + make DESTDIR=${D} install + rm -f ${D}${prefix}/lib/libibus-1.0.la + + rm -fr ${D}${prefix}/share/gtk-doc + + #find_lang ibus10 + + #fdupes ${D} + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + # create registry cache + [ -x $D${prefix}/bin/ibus ] && \ + $D${prefix}/bin/ibus write-cache --system &>/dev/null || : + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + # recreate icon cache + touch --no-create $D${prefix}/share/icons/hicolor || : + [ -x $D${prefix}/bin/gtk-update-icon-cache ] && \ + $D${prefix}/bin/gtk-update-icon-cache --quiet $D${prefix}/share/icons/hicolor || : + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + # recreate icon cache + touch --no-create $D${prefix}/share/icons/hicolor || : + [ -x $D${prefix}/bin/gtk-update-icon-cache ] && \ + $D${prefix}/bin/gtk-update-icon-cache --quiet $D${prefix}/share/icons/hicolor || : + # 'ibus write-cache --system' updates the system cache. + [ -f /var/cache/ibus/bus/registry ] && \ + rm /var/cache/ibus/bus/registry || : + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " ibus-dev " +PACKAGES += " ibus-libs " +PACKAGES += " ibus " + +ibus-dev_files = "" +ibus-dev_files += "${prefix}/lib/lib*.so" +ibus-dev_files += "${prefix}/lib/pkgconfig/*" +ibus-dev_files += "${prefix}/include/*" +ibus-dev_files += "${prefix}/share/gir-1.0/IBus-1.0.gir" +MANIFESTFILES_${PN}-dev = "ibus.manifest" + +ibus-libs_files = "" +ibus-libs_files += "${prefix}/lib/libibus-1.0.so.*" +ibus-libs_files += "${prefix}/lib/girepository-1.0/IBus-1.0.typelib" +MANIFESTFILES_${PN}-libs = "ibus.manifest" + +ibus_files = "" +ibus_files += "AUTHORS README" +ibus_files += "${prefix}/lib/python2.7/site-packages/ibus" +ibus_files += "${prefix}/lib/python2.7/site-packages/ibus/*" +ibus_files += "${prefix}/share/ibus/" +ibus_files += "${prefix}/bin/ibus" +ibus_files += "${prefix}/bin/ibus-daemon" +ibus_files += "${prefix}/share/ibus/keymaps/*" +ibus_files += "${prefix}/share/icons/hicolor/*/apps/*" +ibus_files += "${prefix}/libexec/*" +ibus_files += "${prefix}/share/ibus/component/simple.xml" +ibus_files += "${prefix}/share/bash-completion/completions/ibus.bash" +ibus_files += "${prefix}/share/man/man1/*" +MANIFESTFILES_${PN} = "ibus.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${prefix}/lib/python2.7/site-packages/ibus" +DIRFILES_${PN} += "${prefix}/share/ibus/" + +FILES_${PN}-dev = "${ibus-dev_files}" +FILES_${PN}-libs = "${ibus-libs_files}" +FILES_${PN} = "${ibus_files}" + +PKG_ibus-dev= "ibus-dev" +PKG_ibus-libs= "ibus-libs" +PKG_ibus= "ibus" + +require ibus-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus/ibus_git.bb b/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus/ibus_git.bb new file mode 100644 index 0000000000..3090b8443f --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/ibus/ibus_git.bb @@ -0,0 +1,10 @@ +require ibus.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ibus;tag=d474a5c218f8630192ee2bea8d321c245e2c2b89;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/libhangul/libhangul.inc b/meta-tizen/meta-tizen-ivi/recipes-graphics/libhangul/libhangul.inc index 15455c1a32..7a946b7c71 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-graphics/libhangul/libhangul.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/libhangul/libhangul.inc @@ -57,7 +57,7 @@ do_compile() { touch ChangeLog autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/libpinyin/libpinyin.inc b/meta-tizen/meta-tizen-ivi/recipes-graphics/libpinyin/libpinyin.inc index 4d8c1d6c0b..b8db443799 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-graphics/libpinyin/libpinyin.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/libpinyin/libpinyin.inc @@ -62,7 +62,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/libtbm/libtbm.inc b/meta-tizen/meta-tizen-ivi/recipes-graphics/libtbm/libtbm.inc new file mode 100644 index 0000000000..25aa5f841b --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/libtbm/libtbm.inc @@ -0,0 +1,135 @@ +DESCRIPTION = "The library for Tizen Buffer Manager" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "MIT" +PV = "1.1.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libtbm + + +#PROVIDES by libtbm-dev +PROVIDES += "libtbm-dev" + + +RDEPENDS = "" +#RDEPENDS of libtbm-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libtbm" +RDEPENDS_${PN}-dev += "capi-base-common" + + +DEPENDS = "" +#DEPENDS of libtbm +DEPENDS += "wayland" +DEPENDS += "libdrm" +DEPENDS += "libpthread-stubs" +inherit pkgconfig +DEPENDS += "capi-base-common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + autotools_do_configure + + make -j16 + + + +} +EXTRA_OECONF += " --prefix=${prefix} --with-tbm-platform=WAYLAND CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + cp -af COPYING ${D}/usr/share/license/libtbm + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libtbm " +PACKAGES += " libtbm-dev " + +libtbm_files = "" +libtbm_files += "/usr/share/license/libtbm" +libtbm_files += "${prefix}/lib/libtbm.so.*" +MANIFESTFILES_${PN} = "libtbm.manifest" + +libtbm-dev_files = "" +libtbm-dev_files += "${prefix}/include" +libtbm-dev_files += "${prefix}/include/tbm_bufmgr.h" +libtbm-dev_files += "${prefix}/include/tbm_surface.h" +libtbm-dev_files += "${prefix}/include/tbm_surface_internal.h" +libtbm-dev_files += "${prefix}/include/tbm_bufmgr_backend.h" +libtbm-dev_files += "${prefix}/include/tbm_type.h" +libtbm-dev_files += "${prefix}/lib/libtbm.so" +libtbm-dev_files += "${prefix}/lib/pkgconfig/libtbm.pc" +DIRFILES_${PN}-dev = "" +DIRFILES_${PN}-dev += "${prefix}/include" + +FILES_${PN} = "${libtbm_files}" +FILES_${PN}-dev = "${libtbm-dev_files}" + +PKG_libtbm= "libtbm" +PKG_libtbm-dev= "libtbm-dev" + +require libtbm-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/libtbm/libtbm_git.bb b/meta-tizen/meta-tizen-ivi/recipes-graphics/libtbm/libtbm_git.bb new file mode 100644 index 0000000000..69771c4c47 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/libtbm/libtbm_git.bb @@ -0,0 +1,10 @@ +require libtbm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/libtbm;tag=e42201c562d54dd9b285ff6be950b8d4a5a7ffb4;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi-shell/weston-ivi-shell.inc b/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi-shell/weston-ivi-shell.inc index a77957ac35..b32b7bb641 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi-shell/weston-ivi-shell.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi-shell/weston-ivi-shell.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Weston IVI Shell" HOMEPAGE = "https://github.com/ntanibata/weston-ivi-shell/" SECTION = "Graphics & UI Framework/Wayland Window System" LICENSE = "MIT" -PV = "0.1.7" +PV = "0.1.9" SRC_URI = "" @@ -88,7 +88,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 @@ -149,7 +149,6 @@ do_install() { mkdir -p ${D}${sysconfdir}/xdg/weston install -m 0644 ${S}/packaging/weston.ini ${D}${sysconfdir}/xdg/weston install -d ${D}${prefix}/share/weston/ - cp -rfva data/* ${D}${prefix}/share/weston/ @@ -164,10 +163,9 @@ PACKAGES += " weston-ivi-shell " weston-ivi-shell-dev_files = "" weston-ivi-shell-dev_files += "${prefix}/include/weston/ivi-layout-export.h" -weston-ivi-shell-dev_files += "${prefix}/include/weston/ivi-layout.h" +weston-ivi-shell-dev_files += "${prefix}/include/weston/ivi-layout-private.h" weston-ivi-shell-dev_files += "${prefix}/include/weston/ivi-shell.h" weston-ivi-shell-dev_files += "${prefix}/include/weston/ivi-shell-ext.h" -weston-ivi-shell-dev_files += "${prefix}/include/weston/ivi-layout-transition.h" weston-ivi-shell-dev_files += "${prefix}/share/weston-ivi-shell/protocol/*" MANIFESTFILES_${PN}-dev = "weston-ivi-shell.manifest" diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi-shell/weston-ivi-shell_git.bb b/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi-shell/weston-ivi-shell_git.bb index ece3b11f4d..9e66115b99 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi-shell/weston-ivi-shell_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi-shell/weston-ivi-shell_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/weston-ivi-shell;tag=03ba0c96cfb2e7a32d92a1c5a833d05922dfee34;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/weston-ivi-shell;tag=f06dbe919fe5574ab132ba0bbd3c2f2300815b26;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi/weston-ivi.inc b/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi/weston-ivi.inc index f08c37d090..a2f9982773 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi/weston-ivi.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi/weston-ivi.inc @@ -29,6 +29,7 @@ RPROVIDES_weston-ivi += "weston-startup" RDEPENDS = "" #RDEPENDS of weston-ivi-config-modello (${PN}-config-modello) +RDEPENDS_${PN}-config-modello += "tlm-config-ivi-singleseat" RDEPENDS_${PN}-config-modello += "weekeyboard" RDEPENDS_${PN}-config-modello += "sed" @@ -84,7 +85,6 @@ do_install() { mkdir -p ${D}${sysconfdir}/xdg/weston install -m 0644 weston.ini ${D}${sysconfdir}/xdg/weston - install -m 0644 weston-modello.ini ${D}${sysconfdir}/xdg/weston/weston-modello.ini } @@ -92,16 +92,14 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ln -s $D${sysconfdir}/xdg/weston/weston-modello.ini $D${sysconfdir}/xdg/weston/weston.ini - sed -i 's/ --current-mode//' $D${prefix}/lib/systemd/user/weston.service + sed -i 's/^\(SESSION_CMD\=.*user-session\)/\1-modello/' /etc/tlm-singleseat.conf } pkg_postrm_${PN}() { #!/bin/sh -e - rm $D${sysconfdir}/xdg/weston/weston.ini - sed -i 's/\(^ExecStart.*\)/\1 --current-mode/' $D${prefix}/lib/systemd/user/weston.service + sed -i 's/-modello//' /etc/tlm-singleseat.conf } @@ -111,9 +109,6 @@ PACKAGES += " weston-ivi-config " PACKAGES += " weston-ivi " weston-ivi-config-modello_files = "" -weston-ivi-config-modello_files += "${sysconfdir}/xdg/weston/weston-modello.ini" -CONFFILES_${PN}-config-modello = "" -CONFFILES_${PN}-config-modello += "${sysconfdir}/xdg/weston/weston-modello.ini" MANIFESTFILES_${PN}-config-modello = "weston-ivi.manifest" weston-ivi-config_files = "" diff --git a/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi/weston-ivi_git.bb b/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi/weston-ivi_git.bb index 721af415bb..13f9a61ac9 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi/weston-ivi_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-graphics/weston-ivi/weston-ivi_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/weston-ivi;tag=e1c5b89c0a00d8910549a1d4cc371ec1ce6d0284;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/weston-ivi;tag=c9c00219d70e399d471fe61c658afa77cf48e84c;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc index 64a9d0e899..e852913b34 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc @@ -57,7 +57,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc index 24984ae0a2..89b751898b 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc @@ -77,7 +77,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen/ico-uxf-homescreen.inc b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen/ico-uxf-homescreen.inc index 64d26d4a5d..f626c775c7 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen/ico-uxf-homescreen.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen/ico-uxf-homescreen.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Sample homescreen and system controller" HOMEPAGE = "http://nohomepage.org" SECTION = "Automotive/ICO Homescreen" LICENSE = "Apache-2.0" -PV = "0.9.22" +PV = "0.9.23" SRC_URI = "" @@ -76,7 +76,7 @@ DEPENDS_append_class-target = " fdupes-native" do_prep() { cd ${S} chmod -Rf a+rX,u+w,g-w,o-w ${S} - #setup -q -n ico-uxf-homescreen-0.9.22 + #setup -q -n ico-uxf-homescreen-0.9.23 cp ${S}/packaging/ico-uxf-homescreen.manifest . mkdir -p weston @@ -111,7 +111,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen/ico-uxf-homescreen_git.bb b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen/ico-uxf-homescreen_git.bb index 4166ed92c6..389bc37490 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen/ico-uxf-homescreen_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-homescreen/ico-uxf-homescreen_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/ico-uxf-homescreen;tag=f9c2b84da9b97d6d1f49e2e11ed41c8d96354ce4;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/ico-uxf-homescreen;tag=b92437525a1091331c8243cd8ad62d834edcb59a;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-utilities/ico-uxf-utilities.inc b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-utilities/ico-uxf-utilities.inc index 54d5c84e59..3157bd7f31 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-utilities/ico-uxf-utilities.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-utilities/ico-uxf-utilities.inc @@ -61,7 +61,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc index 19284aaf25..e9ba224238 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Weston Plugins for IVI" HOMEPAGE = "http://nohomepage.org" SECTION = "Automotive/ICO Homescreen" LICENSE = "MIT" -PV = "0.9.22" +PV = "0.9.23" SRC_URI = "" @@ -47,7 +47,7 @@ DEPENDS += "pixman" do_prep() { cd ${S} chmod -Rf a+rX,u+w,g-w,o-w ${S} - #setup -q -n ico-uxf-weston-plugin-0.9.22 + #setup -q -n ico-uxf-weston-plugin-0.9.23 } @@ -67,7 +67,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-weston-plugin/ico-uxf-weston-plugin_git.bb b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-weston-plugin/ico-uxf-weston-plugin_git.bb index db7cdcf8a0..cb4ec3b041 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-weston-plugin/ico-uxf-weston-plugin_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-uxf-weston-plugin/ico-uxf-weston-plugin_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/ico-uxf-weston-plugin;tag=8ccf810f079b757e6be43f4c0ec2107351776b13;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/ico-uxf-weston-plugin;tag=6ecf3762b6feb381279551ff72202816596046b6;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-vic-amb-plugin/ico-vic-amb-plugin.inc b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-vic-amb-plugin/ico-vic-amb-plugin.inc index a7ad7cb0a0..5ca605a0fb 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-vic-amb-plugin/ico-vic-amb-plugin.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-vic-amb-plugin/ico-vic-amb-plugin.inc @@ -1,7 +1,7 @@ -DESCRIPTION = "Automotive Message Broker is a vehicle network abstraction system." +DESCRIPTION = "Automotive Message Broker is a vehicle network abstraction system" HOMEPAGE = "http://nohomepage.org" -SECTION = "System Environment/Daemons" -LICENSE = "LGPL v2.1" +SECTION = "Automotive/ICO Homescreen" +LICENSE = "LGPL-2.1" PV = "0.9.5" SRC_URI = "" @@ -18,7 +18,6 @@ PROVIDES = "" RDEPENDS = "" #RDEPENDS of ico-vic-amb-plugin (${PN}) -RDEPENDS_${PN} += "libjson" RDEPENDS_${PN} += "ico-uxf-utilities" RDEPENDS_${PN} += "glibc" @@ -30,6 +29,7 @@ inherit tizen_cmake DEPENDS += "json-c" inherit pkgconfig DEPENDS += "app-core" +DEPENDS += "sed" DEPENDS += "automotive-message-broker" DEPENDS += "elementary" DEPENDS += "boost" @@ -38,6 +38,8 @@ do_prep() { cd ${S} chmod -Rf a+rX,u+w,g-w,o-w ${S} #setup -q -n ico-vic-amb-plugin-0.9.5 + cp ${S}/packaging/ico-vic-amb-plugin.manifest . + sed -i 's#LIBDIR#${prefix}/lib/#' packaging.in/config.tizen-ico } @@ -68,8 +70,7 @@ do_compile() { -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ ${EXTRA_OECMAKE} - - make ${PARALLEL_MAKE} + oe_runmake -j16 @@ -94,10 +95,11 @@ do_install() { rm -f ${D}${infodir}/dir find ${D} -regex ".*\.la$" | xargs rm -f -- find ${D} -regex ".*\.a$" | xargs rm -f -- - mkdir -p ${D}/${sysconfdir}/ambd - mkdir -p ${D}/usr/bin + mkdir -p ${D}${sysconfdir}/ambd/examples/ cp src/AMBformat.conf ${D}/${sysconfdir}/ambd/ - cp tool/ico_set_vehicleinfo ${D}/usr/bin/ico_set_vehicleinfo + cp packaging.in/config.tizen-ico ${D}${sysconfdir}/ambd/examples/config.tizen-ico + mkdir -p ${D}${prefix}/bin + cp tool/ico_set_vehicleinfo ${D}${prefix}/bin/ico_set_vehicleinfo } @@ -106,12 +108,38 @@ pkg_postinst_${PN}() { #!/bin/sh -e [ "x$D" == "x" ] && ldconfig + # When installing ($1 == 1) + if [ $1 -eq 1 ] ; then + # Back up the original configuration and create a symlink + # to ours if the configuration file exists. + if [ -f "$D${sysconfdir}/ambd/config.tizen" ]; then + echo "moving original AMB config.tizen -> config.tizen.orig" + mv "$D${sysconfdir}/ambd/config.tizen" "$D${sysconfdir}/ambd/config.tizen.orig" + echo "creating symlink AMB config.tizen -> examples/config.tizen-ico" + ln -sf "$D${sysconfdir}/ambd/examples/config.tizen-ico" "$D${sysconfdir}/ambd/config.tizen" + fi + fi + /bin/systemctl restart ambd + } pkg_postrm_${PN}() { #!/bin/sh -e [ "x$D" == "x" ] && ldconfig + # When uninstalling ($1 == 0) + if [ $1 -eq 0 ] ; then + # Return the original file if a symlink exists and + # we have the backup around + if [ -L "$D${sysconfdir}/ambd/config.tizen" ]; then + if [ -f "$D${sysconfdir}/ambd/config.tizen.orig" ]; then + echo "restoring AMB config file config.tizen.orig as config.tizen" + mv "$D${sysconfdir}/ambd/config.tizen.orig" "$D${sysconfdir}/ambd/config.tizen" + fi + fi + fi + /bin/systemctl restart ambd + } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" @@ -120,8 +148,12 @@ PACKAGES += " ico-vic-amb-plugin " ico-vic-amb-plugin_files = "" ico-vic-amb-plugin_files += "${prefix}/lib/automotive-message-broker/*.so" ico-vic-amb-plugin_files += "${sysconfdir}/ambd/AMBformat.conf" -ico-vic-amb-plugin_files += "/usr/share/doc/automotive-message-broker/ico-vic-amb-plugin/README" -ico-vic-amb-plugin_files += "/usr/bin/ico_set_vehicleinfo" +ico-vic-amb-plugin_files += "${sysconfdir}/ambd/examples/config.tizen-ico" +ico-vic-amb-plugin_files += "${prefix}/share/doc/automotive-message-broker/ico-vic-amb-plugin/README" +ico-vic-amb-plugin_files += "${prefix}/bin/ico_set_vehicleinfo" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/ambd/AMBformat.conf" +CONFFILES_${PN} += "${sysconfdir}/ambd/examples/config.tizen-ico" MANIFESTFILES_${PN} = "ico-vic-amb-plugin.manifest" FILES_${PN} = "${ico-vic-amb-plugin_files}" diff --git a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-vic-amb-plugin/ico-vic-amb-plugin_git.bb b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-vic-amb-plugin/ico-vic-amb-plugin_git.bb index f1b72f40ed..bcf8a38648 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-vic-amb-plugin/ico-vic-amb-plugin_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-vic-amb-plugin/ico-vic-amb-plugin_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/ico-vic-amb-plugin;tag=743db049cbd153971aff0bcf1f002683cc7aebd3;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/ico-vic-amb-plugin;tag=2add0179587f8c9bf8e6e5ac976a52ab70aa9374;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-vic-carsimulator/ico-vic-carsimulator.inc b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-vic-carsimulator/ico-vic-carsimulator.inc index ecb82080b5..c4542c4dfe 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-ico/ico-vic-carsimulator/ico-vic-carsimulator.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-ico/ico-vic-carsimulator/ico-vic-carsimulator.inc @@ -56,7 +56,7 @@ do_compile() { autotools_do_configure - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Common/Modello-Common_git.bb b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Common/Modello-Common_git.bb index 6921e5b1d6..3d682e170f 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Common/Modello-Common_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Common/Modello-Common_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Common;tag=edf93cb2d0ece3403e01537aef064f5172025dc4;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Common;tag=a8ad462a53912916a388f2915bc1f270dffe3426;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Dashboard/Modello-Dashboard_git.bb b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Dashboard/Modello-Dashboard_git.bb index f7d46e1c0d..edc95157ce 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Dashboard/Modello-Dashboard_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Dashboard/Modello-Dashboard_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Dashboard;tag=bd92737dd272e5dc55fdca2fa9ab47f1c03ac0fa;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Dashboard;tag=164d84b5f21047ba0fcacf2a954d25d30ab6f5fd;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Homescreen/Modello-Homescreen_git.bb b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Homescreen/Modello-Homescreen_git.bb index cc818a3f9e..36e30bd04e 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Homescreen/Modello-Homescreen_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Homescreen/Modello-Homescreen_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Homescreen;tag=8d99fbba313a1f625280cdf440f63a505790f886;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Homescreen;tag=821526ef7aa76fc789e03fc8b94fa867a090f58a;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Hvac/Modello-Hvac_git.bb b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Hvac/Modello-Hvac_git.bb index 0e93304768..0709868be9 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Hvac/Modello-Hvac_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Hvac/Modello-Hvac_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Hvac;tag=f8a0549c2c4efd2c108f0e3941b7edef88714e2b;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Hvac;tag=0b4d10a69cd68e4457bf6f19feeaa4004f528a7d;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Installer/Modello-Installer.inc b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Installer/Modello-Installer.inc index d3a5eab62a..1fb6ce5682 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Installer/Modello-Installer.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Installer/Modello-Installer.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Installer for Modello" HOMEPAGE = "http://nohomepage.org" SECTION = "Automotive/Modello" LICENSE = "Apache-2.0" -PV = "0.0.2" +PV = "0.0.3" SRC_URI = "" @@ -48,7 +48,7 @@ DEPENDS = "" do_prep() { cd ${S} chmod -Rf a+rX,u+w,g-w,o-w ${S} - #setup -q -n Modello-Installer-0.0.2 + #setup -q -n Modello-Installer-0.0.3 cp ${S}/packaging/Modello-Installer.manifest . @@ -125,7 +125,7 @@ pkg_postinst_${PN}() { echo "Installing $list" su app -c "pkgcmd -q -i -t wgt -p $list" done - for list2 in $(ls -d $TZ_SYS_HOME/app/.config/xwalk-service/applications/*/) + for list2 in $(ls -d $TZ_SYS_HOME/app/apps_rw/xwalk-service/applications/*/) do su app -c "mkdir -p '$list2/css'" su app -c "mkdir -p '$list2/js'" diff --git a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Installer/Modello-Installer_git.bb b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Installer/Modello-Installer_git.bb index d4c3558d2c..9238c9bcde 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Installer/Modello-Installer_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Installer/Modello-Installer_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Installer;tag=968a4e677273dec4b01b096c3902774d7a2c1de5;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Installer;tag=467ba2a8730e3a116ca7c726df88a8759f6238be;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Multimediaplayer/Modello-Multimediaplayer_git.bb b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Multimediaplayer/Modello-Multimediaplayer_git.bb index 909602b77a..10b0c83f5d 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Multimediaplayer/Modello-Multimediaplayer_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Multimediaplayer/Modello-Multimediaplayer_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Multimediaplayer;tag=edd92531a5975aa471d1c1e91a6d108bf732a558;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Multimediaplayer;tag=5ecfa7b305bf2cc842aa8cc242dc153bc5ddc96f;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Nav/Modello-Nav_git.bb b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Nav/Modello-Nav_git.bb index 81ccf4ef3b..9e05d238a7 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Nav/Modello-Nav_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Nav/Modello-Nav_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Nav;tag=6b922b34d1b3b8b8f240b0231473f8ae6fb826d7;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Nav;tag=807037c188b9bcfeb37badb63bb45ef95fb8f52d;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Phone/Modello-Phone_git.bb b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Phone/Modello-Phone_git.bb index e155b96feb..696193caf0 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Phone/Modello-Phone_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-modello/Modello-Phone/Modello-Phone_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Phone;tag=6c3f53db4d0f26795d5f80ea7405a5f2caef3754;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Phone;tag=3bc3b528714442e2d5e77e054f019c028caad4e0;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-modello/phoned/phoned.inc b/meta-tizen/meta-tizen-ivi/recipes-modello/phoned/phoned.inc index ce53b6c1f0..4389e21c31 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-modello/phoned/phoned.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-modello/phoned/phoned.inc @@ -70,7 +70,7 @@ do_compile() { -DENABLE_TIME_TRACER="OFF" \ -DSYSTEMD_SERVICE_PREFIX="${prefix}/lib/systemd/user" - oe_runmake ${PARALLEL_MAKE} VERBOSE=1 + oe_runmake -j16 VERBOSE=1 diff --git a/meta-tizen/meta-tizen-ivi/recipes-multimedia/genivi-audio-manager/genivi-audio-manager.inc b/meta-tizen/meta-tizen-ivi/recipes-multimedia/genivi-audio-manager/genivi-audio-manager.inc index 623ce565f7..54ede7b1aa 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-multimedia/genivi-audio-manager/genivi-audio-manager.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-multimedia/genivi-audio-manager/genivi-audio-manager.inc @@ -91,7 +91,7 @@ do_compile() { -DCMAKE_INSTALL_PREFIX=${prefix} \ .. #make VERBOSE=1 - oe_runmake ${PARALLEL_MAKE} + oe_runmake -j16 diff --git a/meta-tizen/meta-tizen-ivi/recipes-multimedia/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi.inc b/meta-tizen/meta-tizen-ivi/recipes-multimedia/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi.inc index 6171b849b1..473b96107a 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-multimedia/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi.inc +++ b/meta-tizen/meta-tizen-ivi/recipes-multimedia/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Pulseaudio module for enforcing policy decisions in the audio dom HOMEPAGE = "http://nohomepage.org" SECTION = "Automotive/Resource Policy" LICENSE = "LGPL-2.1" -PV = "0.9.32" +PV = "0.9.37" SRC_URI = "" diff --git a/meta-tizen/meta-tizen-ivi/recipes-multimedia/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi_git.bb b/meta-tizen/meta-tizen-ivi/recipes-multimedia/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi_git.bb index f0e39f71ff..4c441b9835 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-multimedia/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-multimedia/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/pulseaudio-module-murphy-ivi;tag=36574d1f9d167695b634178b0618aad803ce47a0;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/pulseaudio-module-murphy-ivi;tag=b644e1e4cb1837476792446d0af0727f23b723c3;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-multimedia/rygel/rygel_git.bb b/meta-tizen/meta-tizen-ivi/recipes-multimedia/rygel/rygel_git.bb index fc23e795f0..c82de26356 100644 --- a/meta-tizen/meta-tizen-ivi/recipes-multimedia/rygel/rygel_git.bb +++ b/meta-tizen/meta-tizen-ivi/recipes-multimedia/rygel/rygel_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/profile/ivi/rygel;tag=691ca909d4afd0f79145d760583dfe4756de1411;nobranch=1" +SRC_URI += "git://review.tizen.org/profile/ivi/rygel;tag=2ab7eb5e64fa7494fb07bbc9bef62e11724a1f20;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/meta-tizen-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils.inc b/meta-tizen/meta-tizen-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils.inc new file mode 100644 index 0000000000..23f95e01a1 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils.inc @@ -0,0 +1,176 @@ +DESCRIPTION = "Userspace Utilities for ecryptfs" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "GPL-2.0+" +PV = "104" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ecryptfs-utils + + +#PROVIDES by libecryptfs-python +PROVIDES += "libecryptfs-python" + + +#PROVIDES by libecryptfs +PROVIDES += "libecryptfs" + + +#PROVIDES by libecryptfs-dev +PROVIDES += "libecryptfs-dev" + + +RDEPENDS = "" +#RDEPENDS of libecryptfs-python (libecryptfs-python) +RDEPENDS_libecryptfs-python += "libecryptfs" + +#RDEPENDS of ecryptfs-utils (${PN}) +RDEPENDS_${PN} += "keyutils" +RDEPENDS_${PN} += "libecryptfs" +RDEPENDS_${PN} += "glibc" + +#RDEPENDS of libecryptfs-dev (libecryptfs-dev) +RDEPENDS_libecryptfs-dev += "libecryptfs" +RDEPENDS_libecryptfs-dev += "keyutils" + + +DEPENDS = "" +#DEPENDS of ecryptfs-utils +DEPENDS += "keyutils" +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +inherit pythonnative +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +inherit pkgconfig +DEPENDS += "glib-2.0" +DEPENDS += "nss" +DEPENDS += "libpam" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n ecryptfs-utils-104 + cp ${S}/packaging/ecryptfs-utils.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + oe_runmake -j16 + + + + +} +EXTRA_OECONF += " --disable-openssl" + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #find_lang ecryptfs-utils + + #fdupes ${D} + + + +} + +pkg_postinst_libecryptfs() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libecryptfs() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libecryptfs " +PACKAGES += " ecryptfs-utils " +PACKAGES += " libecryptfs-python " +PACKAGES += " libecryptfs-dev " + +libecryptfs_files = "" +libecryptfs_files += "${prefix}/lib/libecryptfs.so.*" +libecryptfs_files += "${prefix}/lib/ecryptfs/*" +MANIFESTFILES_libecryptfs = "ecryptfs-utils.manifest" + +ecryptfs-utils_files = "" +ecryptfs-utils_files += "AUTHORS NEWS" +ecryptfs-utils_files += "${prefix}/bin/ecryptfs*" +ecryptfs-utils_files += "/sbin/mount.ecryptfs*" +ecryptfs-utils_files += "/sbin/umount.ecryptfs*" +ecryptfs-utils_files += "/lib/security/pam_ecryptfs.so" +ecryptfs-utils_files += "${mandir}/man1/*ecryptfs*" +ecryptfs-utils_files += "${mandir}/man7/*ecryptfs*" +ecryptfs-utils_files += "${mandir}/man8/*ecryptfs*" +ecryptfs-utils_files += "${prefix}/share/doc/ecryptfs-utils/*" +ecryptfs-utils_files += "${prefix}/share/ecryptfs-utils/*" +MANIFESTFILES_${PN} = "ecryptfs-utils.manifest" + +libecryptfs-python_files = "" +libecryptfs-python_files += "/usr/lib/python2.7/site-packages/ecryptfs-utils/*" +MANIFESTFILES_libecryptfs-python = "ecryptfs-utils.manifest" + +libecryptfs-dev_files = "" +libecryptfs-dev_files += "${prefix}/include/ecryptfs.h" +libecryptfs-dev_files += "${prefix}/lib/libecryptfs.so" +libecryptfs-dev_files += "${prefix}/lib/pkgconfig/libecryptfs.pc" +MANIFESTFILES_libecryptfs-dev = "ecryptfs-utils.manifest" + +FILES_libecryptfs = "${libecryptfs_files}" +FILES_${PN} = "${ecryptfs-utils_files}" +FILES_libecryptfs-python = "${libecryptfs-python_files}" +FILES_libecryptfs-dev = "${libecryptfs-dev_files}" + +PKG_libecryptfs= "libecryptfs" +PKG_ecryptfs-utils= "ecryptfs-utils" +PKG_libecryptfs-python= "libecryptfs-python" +PKG_libecryptfs-dev= "libecryptfs-dev" + +require ecryptfs-utils-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_git.bb b/meta-tizen/meta-tizen-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_git.bb new file mode 100644 index 0000000000..0b566264dd --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_git.bb @@ -0,0 +1,10 @@ +require ecryptfs-utils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ecryptfs-utils;tag=f496d10d2711cbb2b9d3f7600756487df383e737;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/meta-tizen-ivi/recipes-support-ivi/keyutils/keyutils.inc b/meta-tizen/meta-tizen-ivi/recipes-support-ivi/keyutils/keyutils.inc new file mode 100644 index 0000000000..9e9e0c093c --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/recipes-support-ivi/keyutils/keyutils.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "Linux Key Management Utilities" +HOMEPAGE = "http://people.redhat.com/~dhowells/keyutils/" +SECTION = "System/Kernel" +LICENSE = "GPL-2.0+ and LGPL-2.1+" +PV = "1.5.3" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit manifest autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by keyutils + + +#PROVIDES by libkeyutils +PROVIDES += "libkeyutils" + + +#PROVIDES by keyutils-dev +PROVIDES += "keyutils-dev" + + +RDEPENDS = "" +#RDEPENDS of keyutils-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libkeyutils" +RDEPENDS_${PN}-dev += "glibc" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/keyutils.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + oe_runmake -j16 NO_ARLIB=1 CFLAGS="$RPM_OPT_FLAGS" CC="${CC}" + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + oe_runmake install \ + NO_ARLIB=1 \ + DESTDIR=${D} \ + LIBDIR=${prefix}/lib \ + USRLIBDIR=${prefix}/lib \ + BINDIR=${prefix}/bin \ + SBINDIR=${prefix}/sbin + + +} + +pkg_postinst_libkeyutils() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +pkg_postrm_libkeyutils() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " keyutils " +PACKAGES += " libkeyutils " +PACKAGES += " keyutils-dev " + +keyutils_files = "" +keyutils_files += "${prefix}/sbin/*" +keyutils_files += "${prefix}/bin/*" +keyutils_files += "${prefix}/share/keyutils" +keyutils_files += "${mandir}/*/*" +keyutils_files += "/etc/*" +MANIFESTFILES_${PN} = "keyutils.manifest" + +libkeyutils_files = "" +libkeyutils_files += "${prefix}/lib/libkeyutils.so.*" +MANIFESTFILES_lib${PN} = "keyutils.manifest" + +keyutils-dev_files = "" +keyutils-dev_files += "${prefix}/lib/libkeyutils.so" +keyutils-dev_files += "${prefix}/include/*" +MANIFESTFILES_${PN}-dev = "keyutils.manifest" + +FILES_${PN} = "${keyutils_files}" +FILES_lib${PN} = "${libkeyutils_files}" +FILES_${PN}-dev = "${keyutils-dev_files}" + +PKG_keyutils= "keyutils" +PKG_libkeyutils= "libkeyutils" +PKG_keyutils-dev= "keyutils-dev" + +require keyutils-extraconf.inc + diff --git a/meta-tizen/meta-tizen-ivi/recipes-support-ivi/keyutils/keyutils_git.bb b/meta-tizen/meta-tizen-ivi/recipes-support-ivi/keyutils/keyutils_git.bb new file mode 100644 index 0000000000..0878981583 --- /dev/null +++ b/meta-tizen/meta-tizen-ivi/recipes-support-ivi/keyutils/keyutils_git.bb @@ -0,0 +1,10 @@ +require keyutils.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/keyutils;tag=5ecf742b33f27aee297ab68f74704b2ee52bceb6;nobranch=1" + +BBCLASSEXTEND += " native " + -- cgit v1.2.3