diff options
-rwxr-xr-x | make_ABB_tag.sh | 107 | ||||
-rw-r--r-- | mapping-bb-rs.xml | 282 | ||||
-rw-r--r-- | packaging/building-blocks.spec | 5 | ||||
-rw-r--r-- | packaging/platform-preset-iot.inc | 1 |
4 files changed, 254 insertions, 141 deletions
diff --git a/make_ABB_tag.sh b/make_ABB_tag.sh new file mode 100755 index 0000000..fc5b1fd --- /dev/null +++ b/make_ABB_tag.sh @@ -0,0 +1,107 @@ +#/bin/bash + +### ABB tag is the 256-bit number + +MAPPING_FILE=/opt/share/bb/mapping-bb-rs.xml + +function make_abb_tag () { + DIVISOR=64 + ABB_TAG_0="0" + ABB_TAG_1="0" + ABB_TAG_2="0" + ABB_TAG_3="0" + + for ABB_ID in $ABB_ID_LIST + do + RESULT=$(($ABB_ID / $DIVISOR)) + REMAINDER=$(($ABB_ID % $DIVISOR)) + case $RESULT in + 0) + ABB_TAG_0=$(($ABB_TAG_0 | (1 << $REMAINDER))) + ;; + 1) + ABB_TAG_1=$(($ABB_TAG_1 | (1 << $REMAINDER))) + ;; + 2) + ABB_TAG_2=$(($ABB_TAG_2 | (1 << $REMAINDER))) + ;; + 3) + ABB_TAG_3=$(($ABB_TAG_3 | (1 << $REMAINDER))) + ;; + esac + done + + ABB_TAG=`printf "%016X%016X%016X%016X" $ABB_TAG_3 $ABB_TAG_2 $ABB_TAG_1 $ABB_TAG_0` + retval=$ABB_TAG + +} + +function get_abb_id () { + BB=$1 + grep -q $BB $MAPPING_FILE + if [ $? == 0 ] + then + ABB_ID=`grep "\"$BB\"" $MAPPING_FILE | awk '{print $3}' | sed -e "s/abb_id=\"\(.\+\)\".\+/\1/"` + retval="$ABB_ID" + else + retval="X" + fi +} + +function usage () { + echo "Usage : make_ABB_tag.sh <mapping_file> [building block list file]" + echo " If you input building block list, this program uses it." + echo " Or this program uses the rpm db on the target" + exit 1 +} + +################## +## main ## +################## + +case $# in + 1) + MAPPING_FILE=$1 + if [ ! -e $MAPPING_FILE ] + then + echo "File not found : $MAPPING_FILE" + exit 2 + fi + ABB_LIST=`rpm -qa --queryformat="%{NAME}\n"| grep building-blocks- | grep domain_API` + ;; + 2) + MAPPING_FILE=$1 + if [ ! -e $MAPPING_FILE ] + then + echo "File not found : $MAPPING_FILE" + exit 2 + fi + if [ ! -e $2 ] + then + echo "File not found : $2" + exit 3 + fi + ABB_LIST=`cat $2` + ;; + *) + echo "##################" + echo "Please check input" + echo "##################" + usage +esac + +ABB_ID_LIST="" + +for API in $ABB_LIST +do +# echo $API + get_abb_id $API + if [ "$retval" != "X" ] + then + ABB_ID_LIST="$ABB_ID_LIST $retval" + fi +done + +make_abb_tag $ABB_ID_LIST + +echo $retval diff --git a/mapping-bb-rs.xml b/mapping-bb-rs.xml index aaac053..5d8a113 100644 --- a/mapping-bb-rs.xml +++ b/mapping-bb-rs.xml @@ -1,6 +1,6 @@ <?xml version="1.0"?> <MappingInfo> - <buildingblock name="building-blocks-root-Preset_iot_core"> + <buildingblock name="building-blocks-root-Preset_iot_core" abb_id="1"> <rs_info>kernel-headers-linux-rs.xml</rs_info> <rs_info>gcc-rs.xml</rs_info> <rs_info>bundle-rs.xml</rs_info> @@ -32,45 +32,45 @@ <rs_info>zlib-rs.xml</rs_info> <rs_info>iotjs-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Account-Account_Manager"> + <buildingblock name="building-blocks-sub2-domain_API-Account-Account_Manager" abb_id="2"> <rs_info>libaccount-service-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Account-FIDO_Client"> + <buildingblock name="building-blocks-sub2-domain_API-Account-FIDO_Client" abb_id="3"> <rs_info>fido-client-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Account-OAuth2"> + <buildingblock name="building-blocks-sub2-domain_API-Account-OAuth2" abb_id="4"> <rs_info>libcurl-rs.xml</rs_info> <rs_info>oauth2-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Account-Sync_Manager"> + <buildingblock name="building-blocks-sub2-domain_API-Account-Sync_Manager" abb_id="5"> <rs_info>libcore-sync-client-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Account-libOAuth"> + <buildingblock name="building-blocks-sub2-domain_API-Account-libOAuth" abb_id="6"> <rs_info>liboauth-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Alarm_API"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Alarm_API" abb_id="7"> <rs_info>capi-appfw-alarm-rs.xml</rs_info> <rs_info>notification-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Attach_Panel"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Attach_Panel" abb_id="8"> <rs_info>attach-panel-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Badge_API"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Badge_API" abb_id="9"> <rs_info>badge-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Data_Control_API"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Data_Control_API" abb_id="10"> <rs_info>capi-data-control-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Event_API"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Event_API" abb_id="11"> <rs_info>capi-appfw-event-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Media_Key_API"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Media_Key_API" abb_id="12"> <rs_info>capi-system-media-key-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Message_Port_API"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Message_Port_API" abb_id="13"> <rs_info>capi-message-port-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Native_EFL_UI_app_model"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Native_EFL_UI_app_model" abb_id="14"> <rs_info>capi-appfw-application-rs.xml</rs_info> <rs_info>ecore-rs.xml</rs_info> <rs_info>elementary-rs.xml</rs_info> @@ -81,7 +81,7 @@ <rs_info>efreet-rs.xml</rs_info> <rs_info>ethumb-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Native_EFL_Widget_App_Model"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Native_EFL_Widget_App_Model" abb_id="15"> <rs_info>appcore-widget-rs.xml</rs_info> <rs_info>widget-service-rs.xml</rs_info> <rs_info>widget-viewer-evas-rs.xml</rs_info> @@ -95,354 +95,354 @@ <rs_info>efreet-rs.xml</rs_info> <rs_info>ethumb-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Notification_API"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Notification_API" abb_id="16"> <rs_info>notification-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Shortcut_API"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Shortcut_API" abb_id="17"> <rs_info>libshortcut-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-TPK_Installation"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-TPK_Installation" abb_id="18"> <rs_info>capi-appfw-package-manager-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-RPC_Port_API"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-RPC_Port_API" abb_id="19"> <rs_info>rpc-port-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Job_Scheduler_API"> + <buildingblock name="building-blocks-sub2-domain_API-AppFramework-Job_Scheduler_API" abb_id="20"> <rs_info>capi-appfw-job-scheduler-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Base-Glib"> + <buildingblock name="building-blocks-sub2-domain_API-Base-Glib" abb_id="21"> <rs_info>glib2-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Base-Glibc"> + <buildingblock name="building-blocks-sub2-domain_API-Base-Glibc" abb_id="22"> <rs_info>glibc-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Base-LibXML"> + <buildingblock name="building-blocks-sub2-domain_API-Base-LibXML" abb_id="23"> <rs_info>libxml2-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Base-Minizip"> + <buildingblock name="building-blocks-sub2-domain_API-Base-Minizip" abb_id="24"> <rs_info>minizip-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Base-Sqlite"> + <buildingblock name="building-blocks-sub2-domain_API-Base-Sqlite" abb_id="25"> <rs_info>sqlite-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Base-Utils"> + <buildingblock name="building-blocks-sub2-domain_API-Base-Utils" abb_id="26"> <rs_info>capi-base-utils-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Base-zlib"> + <buildingblock name="building-blocks-sub2-domain_API-Base-zlib" abb_id="27"> <rs_info>zlib-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Content-Download"> + <buildingblock name="building-blocks-sub2-domain_API-Content-Download" abb_id="28"> <rs_info>capi-web-url-download-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Content-MIME_Type"> + <buildingblock name="building-blocks-sub2-domain_API-Content-MIME_Type" abb_id="29"> <rs_info>capi-content-mime-type-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Content-Media_Content"> + <buildingblock name="building-blocks-sub2-domain_API-Content-Media_Content" abb_id="30"> <rs_info>capi-content-media-content-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Context-Activity_Geusture_Recognition"> + <buildingblock name="building-blocks-sub2-domain_API-Context-Activity_Geusture_Recognition" abb_id="31"> <rs_info>capi-context-motion-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Context-Contextual_History"> + <buildingblock name="building-blocks-sub2-domain_API-Context-Contextual_History" abb_id="32"> <rs_info>capi-context-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Context-Contextual_Trigger"> + <buildingblock name="building-blocks-sub2-domain_API-Context-Contextual_Trigger" abb_id="33"> <rs_info>capi-context-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Location-Geofence_Manager"> + <buildingblock name="building-blocks-sub2-domain_API-Location-Geofence_Manager" abb_id="34"> <rs_info>capi-geofence-manager-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Location-Location_Manager"> + <buildingblock name="building-blocks-sub2-domain_API-Location-Location_Manager" abb_id="35"> <rs_info>capi-location-manager-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Maps-Here_Plugin"> + <buildingblock name="building-blocks-sub2-domain_API-Maps-Here_Plugin" abb_id="36"> <rs_info>capi-maps-service-rs.xml</rs_info> <rs_info>capi-maps-service-plugin-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Maps-Maps_Service"> + <buildingblock name="building-blocks-sub2-domain_API-Maps-Maps_Service" abb_id="37"> <rs_info>capi-maps-service-rs.xml</rs_info> <rs_info>capi-maps-service-plugin-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Messaging-Email"> + <buildingblock name="building-blocks-sub2-domain_API-Messaging-Email" abb_id="38"> <rs_info>capi-messaging-email-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Messaging-Messages"> + <buildingblock name="building-blocks-sub2-domain_API-Messaging-Messages" abb_id="39"> <rs_info>capi-messaging-messages-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Messaging-Push"> + <buildingblock name="building-blocks-sub2-domain_API-Messaging-Push" abb_id="40"> <rs_info>libpush-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Audio_IO"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Audio_IO" abb_id="41"> <rs_info>capi-media-audio-io-rs.xml</rs_info> <rs_info>capi-media-sound-manager-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Camera"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Camera" abb_id="42"> <rs_info>capi-media-camera-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Image_Util"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Image_Util" abb_id="43"> <rs_info>capi-media-image-util-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> <rs_info>libtbm-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Codec"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Codec" abb_id="44"> <rs_info>capi-media-codec-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Controller"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Controller" abb_id="45"> <rs_info>capi-media-controller-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Demuxer"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Demuxer" abb_id="46"> <rs_info>capi-mediademuxer-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> <rs_info>libtbm-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Muxer"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Muxer" abb_id="47"> <rs_info>capi-mediamuxer-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> <rs_info>libtbm-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Streamer"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Streamer" abb_id="48"> <rs_info>capi-media-streamer-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Tool"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Tool" abb_id="49"> <rs_info>capi-media-tool-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Vision_Barcode"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Vision_Barcode" abb_id="50"> <rs_info>capi-media-vision-barcode-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> <rs_info>libtbm-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Vision_Face"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Vision_Face" abb_id="51"> <rs_info>capi-media-vision-face-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> <rs_info>libtbm-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Vision_Image"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Vision_Image" abb_id="52"> <rs_info>capi-media-vision-image-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> <rs_info>libtbm-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Vision_Surveillance"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Media_Vision_Surveillance" abb_id="53"> <rs_info>capi-media-vision-surveillance-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> <rs_info>libtbm-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Metadata_Editor"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Metadata_Editor" abb_id="54"> <rs_info>capi-media-metadata-editor-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Metadata_Extractor"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Metadata_Extractor" abb_id="55"> <rs_info>capi-media-metadata-extractor-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-OpenAL"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-OpenAL" abb_id="56"> <rs_info>openal-soft-rs.xml</rs_info> <rs_info>capi-media-sound-manager-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Player"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Player" abb_id="57"> <rs_info>capi-media-player-rs.xml</rs_info> <rs_info>capi-media-sound-manager-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Radio"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Radio" abb_id="58"> <rs_info>capi-media-radio-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Recorder"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Recorder" abb_id="59"> <rs_info>capi-media-recorder-rs.xml</rs_info> <rs_info>capi-media-camera-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> <rs_info>capi-media-audio-io-rs.xml</rs_info> <rs_info>capi-media-sound-manager-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Screen_Mirroring"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Screen_Mirroring" abb_id="60"> <rs_info>capi-media-screen-mirroring-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Sound_Manager"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Sound_Manager" abb_id="61"> <rs_info>capi-media-sound-manager-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Sound_Pool"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Sound_Pool" abb_id="62"> <rs_info>capi-media-sound-pool-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Stream_Recorder"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Stream_Recorder" abb_id="63"> <rs_info>capi-media-streamrecorder-rs.xml</rs_info> <rs_info>capi-media-tool-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Thumbnail_Util"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Thumbnail_Util" abb_id="64"> <rs_info>capi-media-thumbnail-util-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Tone_Player"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-Tone_Player" abb_id="65"> <rs_info>capi-media-tone-player-rs.xml</rs_info> <rs_info>capi-media-sound-manager-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-WAV_Player"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-WAV_Player" abb_id="66"> <rs_info>capi-media-wav-player-rs.xml</rs_info> <rs_info>capi-media-sound-manager-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Multimedia-libEXIF"> + <buildingblock name="building-blocks-sub2-domain_API-Multimedia-libEXIF" abb_id="67"> <rs_info>libexif-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-ASP"> + <buildingblock name="building-blocks-sub2-domain_API-Network-ASP" abb_id="68"> <rs_info>capi-network-asp-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-Bluetooth_BREDR"> + <buildingblock name="building-blocks-sub2-domain_API-Network-Bluetooth_BREDR" abb_id="69"> <rs_info>capi-network-bluetooth-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-Bluetooth_Call_Audio"> + <buildingblock name="building-blocks-sub2-domain_API-Network-Bluetooth_Call_Audio" abb_id="70"> <rs_info>capi-network-bluetooth-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-Bluetooth_LE"> + <buildingblock name="building-blocks-sub2-domain_API-Network-Bluetooth_LE" abb_id="71"> <rs_info>capi-network-bluetooth-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-Bluetooth_Media_Audio"> + <buildingblock name="building-blocks-sub2-domain_API-Network-Bluetooth_Media_Audio" abb_id="72"> <rs_info>capi-network-bluetooth-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-Bluetooth_Transfer"> + <buildingblock name="building-blocks-sub2-domain_API-Network-Bluetooth_Transfer" abb_id="73"> <rs_info>capi-network-bluetooth-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-Connection"> + <buildingblock name="building-blocks-sub2-domain_API-Network-Connection" abb_id="74"> <rs_info>capi-network-connection-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-Curl"> + <buildingblock name="building-blocks-sub2-domain_API-Network-Curl" abb_id="75"> <rs_info>libcurl-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-DNSSD"> + <buildingblock name="building-blocks-sub2-domain_API-Network-DNSSD" abb_id="76"> <rs_info>capi-network-nsd-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-HTTP"> + <buildingblock name="building-blocks-sub2-domain_API-Network-HTTP" abb_id="77"> <rs_info>capi-network-http-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-IoTCon"> + <buildingblock name="building-blocks-sub2-domain_API-Network-IoTCon" abb_id="78"> <rs_info>iotcon-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-MTP"> + <buildingblock name="building-blocks-sub2-domain_API-Network-MTP" abb_id="79"> <rs_info>capi-network-mtp-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-NFC"> + <buildingblock name="building-blocks-sub2-domain_API-Network-NFC" abb_id="80"> <rs_info>capi-network-nfc-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-SoftAP"> + <buildingblock name="building-blocks-sub2-domain_API-Network-SoftAP" abb_id="81"> <rs_info>capi-network-softap-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-SSDP"> + <buildingblock name="building-blocks-sub2-domain_API-Network-SSDP" abb_id="82"> <rs_info>capi-network-nsd-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-STC"> + <buildingblock name="building-blocks-sub2-domain_API-Network-STC" abb_id="83"> <rs_info>capi-network-stc-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-Smartcard"> + <buildingblock name="building-blocks-sub2-domain_API-Network-Smartcard" abb_id="84"> <rs_info>capi-network-smartcard-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-VPN_Service"> + <buildingblock name="building-blocks-sub2-domain_API-Network-VPN_Service" abb_id="85"> <rs_info>capi-vpn-service-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-WiFi_Direct"> + <buildingblock name="building-blocks-sub2-domain_API-Network-WiFi_Direct" abb_id="86"> <rs_info>capi-network-wifi-direct-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-WiFi_Manager"> + <buildingblock name="building-blocks-sub2-domain_API-Network-WiFi_Manager" abb_id="87"> <rs_info>capi-network-wifi-manager-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-INM"> + <buildingblock name="building-blocks-sub2-domain_API-Network-INM" abb_id="88"> <rs_info>capi-network-inm-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Network-ZigBee"> + <buildingblock name="building-blocks-sub2-domain_API-Network-ZigBee" abb_id="89"> <rs_info>capi-network-zigbee-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Security-CSR"> + <buildingblock name="building-blocks-sub2-domain_API-Security-CSR" abb_id="90"> <rs_info>csr-framework-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Security-Device_Policy"> + <buildingblock name="building-blocks-sub2-domain_API-Security-Device_Policy" abb_id="91"> <rs_info>dpm-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Security-Key_Manager"> + <buildingblock name="building-blocks-sub2-domain_API-Security-Key_Manager" abb_id="92"> <rs_info>key-manager-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Security-OpenSSL"> + <buildingblock name="building-blocks-sub2-domain_API-Security-OpenSSL" abb_id="93"> <rs_info>openssl-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Security-Privacy_Privilege"> + <buildingblock name="building-blocks-sub2-domain_API-Security-Privacy_Privilege" abb_id="94"> <rs_info>capi-privacy-privilege-manager-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Security-Privilege_Info"> + <buildingblock name="building-blocks-sub2-domain_API-Security-Privilege_Info" abb_id="95"> <rs_info>privilege-info-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Security-YACA"> + <buildingblock name="building-blocks-sub2-domain_API-Security-YACA" abb_id="96"> <rs_info>yaca-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Social-Calendar"> + <buildingblock name="building-blocks-sub2-domain_API-Social-Calendar" abb_id="97"> <rs_info>calendar-service-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Social-Contacts"> + <buildingblock name="building-blocks-sub2-domain_API-Social-Contacts" abb_id="98"> <rs_info>contacts-service2-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Social-Phonenumber_utils"> + <buildingblock name="building-blocks-sub2-domain_API-Social-Phonenumber_utils" abb_id="99"> <rs_info>phonenumber-utils-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-Device"> + <buildingblock name="building-blocks-sub2-domain_API-System-Device" abb_id="100"> <rs_info>capi-system-device-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-Device_Haptic"> + <buildingblock name="building-blocks-sub2-domain_API-System-Device_Haptic" abb_id="101"> <rs_info>capi-system-device-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-Feedback"> + <buildingblock name="building-blocks-sub2-domain_API-System-Feedback" abb_id="102"> <rs_info>libfeedback-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-Runtime_Information"> + <buildingblock name="building-blocks-sub2-domain_API-System-Runtime_Information" abb_id="103"> <rs_info>capi-system-runtime-info-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-Sensor_Listener"> + <buildingblock name="building-blocks-sub2-domain_API-System-Sensor_Listener" abb_id="104"> <rs_info>capi-system-sensor-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-Sensor_Recorder"> + <buildingblock name="building-blocks-sub2-domain_API-System-Sensor_Recorder" abb_id="105"> <rs_info>capi-system-sensor-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-Storage"> + <buildingblock name="building-blocks-sub2-domain_API-System-Storage" abb_id="106"> <rs_info>libstorage-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-System_Information"> + <buildingblock name="building-blocks-sub2-domain_API-System-System_Information" abb_id="107"> <rs_info>capi-system-info-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-System_Settings"> + <buildingblock name="building-blocks-sub2-domain_API-System-System_Settings" abb_id="108"> <rs_info>capi-system-system-settings-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-T_Trace"> + <buildingblock name="building-blocks-sub2-domain_API-System-T_Trace" abb_id="109"> <rs_info>trace-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-USB_Host"> + <buildingblock name="building-blocks-sub2-domain_API-System-USB_Host" abb_id="110"> <rs_info>capi-system-usbhost-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-dlog"> + <buildingblock name="building-blocks-sub2-domain_API-System-dlog" abb_id="111"> <rs_info>libdlog-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-System-Update_Control"> + <buildingblock name="building-blocks-sub2-domain_API-System-Update_Control" abb_id="112"> <rs_info>update-control-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub1-domain_API-Telephony"> + <buildingblock name="building-blocks-sub1-domain_API-Telephony" abb_id="113"> <rs_info>capi-telephony-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-Cairo"> + <buildingblock name="building-blocks-sub2-domain_API-UI-Cairo" abb_id="114"> <rs_info>cairo-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-Clipboard_History_Manager"> + <buildingblock name="building-blocks-sub2-domain_API-UI-Clipboard_History_Manager" abb_id="115"> <rs_info>cbhm-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-DALi"> + <buildingblock name="building-blocks-sub2-domain_API-UI-DALi" abb_id="116"> <rs_info>dali-rs.xml</rs_info> <rs_info>dali-toolkit-rs.xml</rs_info> <rs_info>dali-adaptor-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-WidgetViewerDALi"> + <buildingblock name="building-blocks-sub2-domain_API-UI-WidgetViewerDALi" abb_id="117"> <rs_info>dali-rs.xml</rs_info> <rs_info>dali-toolkit-rs.xml</rs_info> <rs_info>dali-adaptor-rs.xml</rs_info> <rs_info>widget-viewer-dali-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-EFL_Extension"> + <buildingblock name="building-blocks-sub2-domain_API-UI-EFL_Extension" abb_id="118"> <rs_info>efl-extension-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-EFL_MainLoop"> + <buildingblock name="building-blocks-sub2-domain_API-UI-EFL_MainLoop" abb_id="119"> <rs_info>ecore-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-EFL_NativeUIToolkit"> + <buildingblock name="building-blocks-sub2-domain_API-UI-EFL_NativeUIToolkit" abb_id="120"> <rs_info>ecore-rs.xml</rs_info> <rs_info>elementary-rs.xml</rs_info> <rs_info>evas-rs.xml</rs_info> @@ -456,75 +456,75 @@ <rs_info>eio-rs.xml</rs_info> <rs_info>capi-ui-efl-util-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-External_Output_Manager"> + <buildingblock name="building-blocks-sub2-domain_API-UI-External_Output_Manager" abb_id="121"> <rs_info>libeom-rs.xml</rs_info> <rs_info>evas-rs.xml</rs_info> <rs_info>emile-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-FontConfig"> + <buildingblock name="building-blocks-sub2-domain_API-UI-FontConfig" abb_id="122"> <rs_info>fontconfig-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-Freetype"> + <buildingblock name="building-blocks-sub2-domain_API-UI-Freetype" abb_id="123"> <rs_info>freetype-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-HarfBuzz"> + <buildingblock name="building-blocks-sub2-domain_API-UI-HarfBuzz" abb_id="124"> <rs_info>harfbuzz-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-Minicontrol"> + <buildingblock name="building-blocks-sub2-domain_API-UI-Minicontrol" abb_id="125"> <rs_info>minicontrol-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-SDL_GL"> + <buildingblock name="building-blocks-sub2-domain_API-UI-SDL_GL" abb_id="126"> <rs_info>SDL2-rs.xml</rs_info> <rs_info>coregl-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-SDL_Vulkan"> + <buildingblock name="building-blocks-sub2-domain_API-UI-SDL_Vulkan" abb_id="127"> <rs_info>SDL2-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-TBM_Surface"> + <buildingblock name="building-blocks-sub2-domain_API-UI-TBM_Surface" abb_id="128"> <rs_info>libtbm-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-Tizen_WS_Shell"> + <buildingblock name="building-blocks-sub2-domain_API-UI-Tizen_WS_Shell" abb_id="129"> <rs_info>tzsh-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UI-Vulkan"> + <buildingblock name="building-blocks-sub2-domain_API-UI-Vulkan" abb_id="130"> <rs_info>vulkan-loader-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UIX-Input_Method"> + <buildingblock name="building-blocks-sub2-domain_API-UIX-Input_Method" abb_id="131"> <rs_info>capi-ui-inputmethod-rs.xml</rs_info> <rs_info>capi-ui-inputmethod-manager-rs.xml</rs_info> <rs_info>evas-rs.xml</rs_info> <rs_info>emile-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UIX-STT"> + <buildingblock name="building-blocks-sub2-domain_API-UIX-STT" abb_id="132"> <rs_info>stt-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UIX-TTS"> + <buildingblock name="building-blocks-sub2-domain_API-UIX-TTS" abb_id="133"> <rs_info>tts-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UIX-Voice_control"> + <buildingblock name="building-blocks-sub2-domain_API-UIX-Voice_control" abb_id="134"> <rs_info>voice-control-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UIX-Voice_control_elementary"> + <buildingblock name="building-blocks-sub2-domain_API-UIX-Voice_control_elementary" abb_id="135"> <rs_info>voice-control-elm-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UIX-Multi_assistant"> + <buildingblock name="building-blocks-sub2-domain_API-UIX-Multi_assistant" abb_id="136"> <rs_info>multi-assistant-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UIX-Sticker"> + <buildingblock name="building-blocks-sub2-domain_API-UIX-Sticker" abb_id="137"> <rs_info>capi-ui-sticker-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-UIX-Autofill"> + <buildingblock name="building-blocks-sub2-domain_API-UIX-Autofill" abb_id="138"> <rs_info>capi-ui-autofill-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Web-WebView"> + <buildingblock name="building-blocks-sub2-domain_API-Web-WebView" abb_id="139"> <rs_info>chromium-efl-rs.xml</rs_info> <rs_info>evas-rs.xml</rs_info> <rs_info>emile-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub2-domain_API-Web-json_Glib"> + <buildingblock name="building-blocks-sub2-domain_API-Web-json_Glib" abb_id="140"> <rs_info>json-glib-rs.xml</rs_info> </buildingblock> - <buildingblock name="building-blocks-sub1-domain_Feature-Smartthings_App"> + <buildingblock name="building-blocks-sub1-domain_Feature-Smartthings_App" abb_id="141"> <rs_info>smartthings-rs.xml</rs_info> </buildingblock> </MappingInfo> diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec index cb6a59d..7074731 100644 --- a/packaging/building-blocks.spec +++ b/packaging/building-blocks.spec @@ -320,6 +320,7 @@ ls -l %{_datadir}/image-configurations/* mkdir -p %{buildroot}/opt/share/bb cp -f mapping*.xml %{buildroot}/opt/share/bb cp -f make_tizenfx_from_bb.sh %{buildroot}/opt/share/bb +cp -f make_ABB_tag.sh %{buildroot}/opt/share/bb # rule_checker returns non-zero if there is an error in *.inc, breaking the build python ./rule_checker.py @@ -409,6 +410,9 @@ python ./rule_checker.py %package mapping-files Summary: Some mapping-files for building-blocks Requires: sed +Requires: rpm +Requires: grep +Requires: gawk %description mapping-files This package includes some mapping-files for building-blocks such as tct, rootstrap and tizenfx. %files mapping-files @@ -416,3 +420,4 @@ This package includes some mapping-files for building-blocks such as tct, rootst /opt/share/bb/mapping-bb-tizenfx.xml /opt/share/bb/mapping-bb-tct.xml /opt/share/bb/make_tizenfx_from_bb.sh +/opt/share/bb/make_ABB_tag.sh diff --git a/packaging/platform-preset-iot.inc b/packaging/platform-preset-iot.inc index 46df010..d22870e 100644 --- a/packaging/platform-preset-iot.inc +++ b/packaging/platform-preset-iot.inc @@ -64,6 +64,7 @@ Requires: dbus-tools #From TRE-2370 Requires: amd-mod-boost Requires: libopenssl +Requires: building-blocks-mapping-files %description root-Preset_iot_core The packages of Tizen IoT Core. |