rs_resource: Integrate common and headed directories 90/320190/1 accepted/tizen/9.0/unified/20250314.155126
authorSangYoun Kwak <sy.kwak@samsung.com>
Mon, 24 Feb 2025 06:58:07 +0000 (15:58 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Tue, 25 Feb 2025 06:45:47 +0000 (15:45 +0900)
commitbbecc35b17c9ba1e7274afe7aed61955132609e8
treef2643203e9f7bffc50572520f3331362269c8550
parent2f94d77c81b4af1ddbfdacdc99da7cbc6d92db71
rs_resource: Integrate common and headed directories

Resource xml files in rs_resource were separated into two directories
(common, headed) to exclude unnecessary headed libraries to be included
when the image is headless.

But there was already a mechanism to exclude unnecessary libraries which
can be used with an option '--as-needed' and it is used when the hal
backends are built. This option is properly applied if any hal backend
is built with cmake but not applied when built with libtool.

This phenomenon has been revealed to be due to a bug in libtool. Please
refer this for more information:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347650

This bug was fixed with patch below:
  afe15dc(Change order of deplibs and compiler_flags)

This bug was fixed so there is no reason to keep the separated two
packages, so common and headed directoreis are integrated.

Change-Id: Ieb0734d1a439554b4cae00f35ca9b66b70dd3e27
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
89 files changed:
packaging/hal-rootstrap-data-common.spec
rs_resource/HAL/hal-api-audio-rs.xml [new file with mode: 0644]
rs_resource/HAL/hal-api-bluetooth-rs.xml [new file with mode: 0644]
rs_resource/HAL/hal-api-camera-rs.xml [new file with mode: 0644]
rs_resource/HAL/hal-api-common-rs.xml [new file with mode: 0644]
rs_resource/HAL/hal-api-device-rs.xml [new file with mode: 0644]
rs_resource/HAL/hal-api-location-rs.xml [new file with mode: 0644]
rs_resource/HAL/hal-api-nfc-rs.xml [new file with mode: 0644]
rs_resource/HAL/hal-api-power-rs.xml [new file with mode: 0644]
rs_resource/HAL/hal-api-radio-rs.xml [new file with mode: 0644]
rs_resource/HAL/hal-api-sensor-rs.xml [new file with mode: 0644]
rs_resource/HAL/hal-api-tbm-rs.xml [new file with mode: 0644]
rs_resource/HAL/hal-api-tdm-rs.xml [new file with mode: 0644]
rs_resource/HAL/hal-api-wifi-rs.xml [new file with mode: 0644]
rs_resource/NativeAPI/capi-base-common-rs.xml [new file with mode: 0644]
rs_resource/NativeAPI/capi-system-info-rs.xml [new file with mode: 0644]
rs_resource/NativeAPI/capi-system-peripheral-io-rs.xml [new file with mode: 0644]
rs_resource/NativeAPI/capi-system-runtime-info-rs.xml [new file with mode: 0644]
rs_resource/NativeAPI/libdlog-rs.xml [new file with mode: 0644]
rs_resource/NativeAPI/libtbm-rs.xml [new file with mode: 0644]
rs_resource/NativeAPI/libtpl-egl-rs.xml [new file with mode: 0644]
rs_resource/NativeAPI/libtzplatform-config-rs.xml [new file with mode: 0644]
rs_resource/NativeAPI/ttrace-rs.xml [new file with mode: 0644]
rs_resource/OSS/SDL2-rs.xml [new file with mode: 0644]
rs_resource/OSS/alsa-rs.xml [new file with mode: 0644]
rs_resource/OSS/baserpm/glibc-rs.xml [new file with mode: 0644]
rs_resource/OSS/baserpm/libcurl-rs.xml [new file with mode: 0644]
rs_resource/OSS/baserpm/libicu-rs.xml [new file with mode: 0644]
rs_resource/OSS/baserpm/libxml2-rs.xml [new file with mode: 0644]
rs_resource/OSS/baserpm/minizip-rs.xml [new file with mode: 0644]
rs_resource/OSS/baserpm/openssl-rs.xml [new file with mode: 0644]
rs_resource/OSS/baserpm/sqlite-rs.xml [new file with mode: 0644]
rs_resource/OSS/baserpm/zlib-rs.xml [new file with mode: 0644]
rs_resource/OSS/coregl-rs.xml [new file with mode: 0644]
rs_resource/OSS/fontconfig-rs.xml [new file with mode: 0644]
rs_resource/OSS/freetype-rs.xml [new file with mode: 0644]
rs_resource/OSS/glib2-rs.xml [new file with mode: 0644]
rs_resource/OSS/harfbuzz-rs.xml [new file with mode: 0644]
rs_resource/OSS/json-glib-rs.xml [new file with mode: 0644]
rs_resource/OSS/libdrm-rs.xml [new file with mode: 0644]
rs_resource/OSS/liboauth-rs.xml [new file with mode: 0644]
rs_resource/OSS/libudev-rs.xml [new file with mode: 0644]
rs_resource/OSS/libusb-1.0-rs.xml [new file with mode: 0644]
rs_resource/OSS/openal-soft-rs.xml [new file with mode: 0644]
rs_resource/OSS/vulkan-loader-rs.xml [new file with mode: 0644]
rs_resource/common/HAL/hal-api-audio-rs.xml [deleted file]
rs_resource/common/HAL/hal-api-bluetooth-rs.xml [deleted file]
rs_resource/common/HAL/hal-api-camera-rs.xml [deleted file]
rs_resource/common/HAL/hal-api-common-rs.xml [deleted file]
rs_resource/common/HAL/hal-api-device-rs.xml [deleted file]
rs_resource/common/HAL/hal-api-location-rs.xml [deleted file]
rs_resource/common/HAL/hal-api-nfc-rs.xml [deleted file]
rs_resource/common/HAL/hal-api-power-rs.xml [deleted file]
rs_resource/common/HAL/hal-api-radio-rs.xml [deleted file]
rs_resource/common/HAL/hal-api-sensor-rs.xml [deleted file]
rs_resource/common/HAL/hal-api-tbm-rs.xml [deleted file]
rs_resource/common/HAL/hal-api-tdm-rs.xml [deleted file]
rs_resource/common/HAL/hal-api-wifi-rs.xml [deleted file]
rs_resource/common/NativeAPI/capi-base-common-rs.xml [deleted file]
rs_resource/common/NativeAPI/capi-system-info-rs.xml [deleted file]
rs_resource/common/NativeAPI/capi-system-peripheral-io-rs.xml [deleted file]
rs_resource/common/NativeAPI/capi-system-runtime-info-rs.xml [deleted file]
rs_resource/common/NativeAPI/libdlog-rs.xml [deleted file]
rs_resource/common/NativeAPI/libtbm-rs.xml [deleted file]
rs_resource/common/NativeAPI/libtzplatform-config-rs.xml [deleted file]
rs_resource/common/NativeAPI/ttrace-rs.xml [deleted file]
rs_resource/common/OSS/alsa-rs.xml [deleted file]
rs_resource/common/OSS/baserpm/glibc-rs.xml [deleted file]
rs_resource/common/OSS/baserpm/libcurl-rs.xml [deleted file]
rs_resource/common/OSS/baserpm/libicu-rs.xml [deleted file]
rs_resource/common/OSS/baserpm/libxml2-rs.xml [deleted file]
rs_resource/common/OSS/baserpm/minizip-rs.xml [deleted file]
rs_resource/common/OSS/baserpm/openssl-rs.xml [deleted file]
rs_resource/common/OSS/baserpm/sqlite-rs.xml [deleted file]
rs_resource/common/OSS/baserpm/zlib-rs.xml [deleted file]
rs_resource/common/OSS/glib2-rs.xml [deleted file]
rs_resource/common/OSS/json-glib-rs.xml [deleted file]
rs_resource/common/OSS/libdrm-rs.xml [deleted file]
rs_resource/common/OSS/libudev-rs.xml [deleted file]
rs_resource/common/OSS/libusb-1.0-rs.xml [deleted file]
rs_resource/common/OSS/openal-soft-rs.xml [deleted file]
rs_resource/headed/NativeAPI/libtpl-egl-rs.xml [deleted file]
rs_resource/headed/OSS/SDL2-rs.xml [deleted file]
rs_resource/headed/OSS/coregl-rs.xml [deleted file]
rs_resource/headed/OSS/fontconfig-rs.xml [deleted file]
rs_resource/headed/OSS/freetype-rs.xml [deleted file]
rs_resource/headed/OSS/harfbuzz-rs.xml [deleted file]
rs_resource/headed/OSS/liboauth-rs.xml [deleted file]
rs_resource/headed/OSS/vulkan-loader-rs.xml [deleted file]