platform/hal/backend/rootstrap-data-common.git
10 days ago[HALACR-50] rs_resource: common: HAL: Add new hal-api-hdcp 27/325127/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20250610.081805 accepted/tizen/unified/x/20250610.082532
Haesu Gwon [Wed, 4 Jun 2025 01:33:08 +0000 (10:33 +0900)]
[HALACR-50] rs_resource: common: HAL: Add new hal-api-hdcp

[Role of HAL_MODULE_HDCP]
HDCP(High-bandwidth Digital Content Protection) requires hardware support to achieve high security level and it's implemented by vendor or product team. HDCP HAL APIs provide an common interface to access such security hardware and its related software assets.

[Newly added rootstrap information]
<?xml version="1.0"?>
<rootstrap name="hal-api-hdcp">
  <email></email>
  <emulator>
    <rpm accept="hal-api-hdcp" arch="i686"/>
    <rpm accept="hal-api-hdcp-devel" arch="i686"/>
  </emulator>
  <target>
    <rpm accept="hal-api-hdcp" arch="armv7l"/>
    <rpm accept="hal-api-hdcp-devel" arch="armv7l"/>
  </target>
  <necessary>
      <file>/usr/lib/hal/libhal-api-hdcp.so*</file>
      <file>/usr/include/hal/hal-hdcp-interface*.h</file>
  </necessary>
  <include_path>/usr/include/</include_path>
  <library_path>/usr/lib</library_path>
</rootstrap>

Change-Id: I325538703805d08f7e904575877e0b188b841826

2 weeks ago[HALACR-46] rs_resource: OSS: HAL: Remove openssl3 46/324846/1
Dongsun Lee [Wed, 28 May 2025 00:28:42 +0000 (09:28 +0900)]
[HALACR-46] rs_resource: OSS: HAL: Remove openssl3

Change-Id: I1adc532cf69cc5b906634f47df46adbfba0259b8

7 weeks ago[HALACR-39] rs_resource: common: OSS: Align rootstrap with openssl 3.5 headers 73/323073/4 accepted/tizen/unified/20250509.015122 accepted/tizen/unified/x/20250509.034518
Dariusz Michaluk [Tue, 22 Apr 2025 12:28:34 +0000 (14:28 +0200)]
[HALACR-39] rs_resource: common: OSS: Align rootstrap with openssl 3.5 headers

Change-Id: I7b01496a3bcd361d2fd2aefae76a845e81cda182

2 months ago[HALACR-19] rs_resource: common: HAL: Add new hal-api-drm 65/320965/3 accepted/tizen/unified/20250322.012726 accepted/tizen/unified/x/20250323.134029
Haesu Gwon [Wed, 12 Mar 2025 06:02:12 +0000 (15:02 +0900)]
[HALACR-19] rs_resource: common: HAL: Add new hal-api-drm

[Role of HAL_MODULE_DRM]
DRM(Digital Rights Management) requires hardware support to achieve high security level and it's implemented by vendor or product team.
DRM HAL APIs provide an common interface to access such security hardware and its related software assets.

[Newly added rootstrap information]
<?xml version="1.0"?>
<rootstrap name="hal-api-drm">
  <email></email>
  <emulator>
    <rpm accept="hal-api-drm" arch="i686"/>
    <rpm accept="hal-api-drm-devel" arch="i686"/>
  </emulator>
  <target>
    <rpm accept="hal-api-drm" arch="armv7l"/>
    <rpm accept="hal-api-drm-devel" arch="armv7l"/>
  </target>
  <necessary>
      <file>/usr/lib/hal/libhal-api-drm.so*</file>
      <file>/usr/include/hal/hal-drm-interface*.h</file>
  </necessary>
  <include_path>/usr/include/</include_path>
  <library_path>/usr/lib</library_path>
</rootstrap>

Change-Id: Ib759d062089b50c8e62a4e74bfe1322eba81bab3

2 months ago[HALACR-27] rs_resource: common: HAL: Add a new keys hal interface to hal-api-security 22/319622/4
Dariusz Michaluk [Thu, 13 Feb 2025 14:39:57 +0000 (15:39 +0100)]
[HALACR-27] rs_resource: common: HAL: Add a new keys hal interface to hal-api-security

[Role of HAL_MODULE_SECURITY_KEYS]
Security Keys module provides secure cryptographic operations
and secure repository for keys, certificates, and sensitive data.

[Newly added rootstrap information]
<file>/usr/include/hal/hal-security-keys-interface*.h</file>
<file>/usr/include/hal/hal-security-keys-types.h</file>

Change-Id: Ie7f0869a18bacee28a16c4127952e60a553a52f2
Signed-off-by: Dariusz Michaluk <d.michaluk@samsung.com>
3 months ago[HALACR-21] rs_resource: common: HAL: Add a new auth hal interface to hal-api-security 13/320213/4 accepted/tizen/unified/20250319.072533 accepted/tizen/unified/x/20250319.090556
Dongik Lee [Tue, 25 Feb 2025 08:24:20 +0000 (17:24 +0900)]
[HALACR-21] rs_resource: common: HAL: Add a new auth hal interface to hal-api-security

[Role of HAL_MODULE_SECURITY_AUTH]
Auth framework requires password manager to access secure element modules such as TMP, HSM, etc.
accordingly, auth hal interface provides a common interface to access its related software assets

[Newly added rootstrap information]
      <file>/usr/include/hal/hal-security-auth-interface*.h</file>
      <file>/usr/include/hal/hal-security-auth-types.h</file>

Change-Id: Ic25aa0267cb6f4cdfc677cd0d7ad1663fac9bd05

3 months ago[HALACR-20] rs_resource: Add new packages for hal-api-ml 91/318391/8 accepted/tizen/unified/20250311.134549 accepted/tizen/unified/x/20250312.054005
Yongjoo Ahn [Mon, 13 Jan 2025 07:01:36 +0000 (16:01 +0900)]
[HALACR-20] rs_resource: Add new packages for hal-api-ml

- Role of HAL_MODULE_ML:
Tizen ML API may require a hardware device to accelerate its job. This
HAL ML provides an interface for Tizen ML API (NNStreamer's
tensor_filter subplugin) to use such hardware acceleration devices (NPU,
...) if available.

- Newly added rootstrap information:
```xml
<?xml version="1.0"?>
<rootstrap name="hal-api-ml">
  <email></email>
  <emulator>
    <rpm accept="hal-api-ml" arch="i686"/>
    <rpm accept="hal-api-ml-devel" arch="i686"/>
  </emulator>
  <target>
    <rpm accept="hal-api-ml" arch="armv7l"/>
    <rpm accept="hal-api-ml-devel" arch="armv7l"/>
  </target>
  <necessary>
      <file>/usr/lib/hal/libhal-api-ml.so*</file>
      <file>/usr/include/hal/hal-ml-interface*.h</file>
      <file>/usr/include/hal/hal-ml-types.h</file>
  </necessary>
  <include_path>/usr/include/</include_path>
  <library_path>/usr/lib</library_path>
</rootstrap>
```

Change-Id: Ic3539c862e13d38e3bd0c198143cd0fabc3f02c5
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
3 months agors_resource: Integrate common and headed directories 02/320102/1 accepted/tizen/unified/20250227.010146 accepted/tizen/unified/x/20250227.021915
SangYoun Kwak [Mon, 24 Feb 2025 06:58:07 +0000 (15:58 +0900)]
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>
3 months ago[HALACR-18] rs_resource: common: HAL: Add new hal-api-security 07/318907/6 accepted/tizen/unified/20250224.161830 accepted/tizen/unified/x/20250226.020350
Jan Wojtkowski [Fri, 31 Jan 2025 09:46:46 +0000 (10:46 +0100)]
[HALACR-18] rs_resource: common: HAL: Add new hal-api-security

[Role of HAL_MODULE_SECURITY]
Security HAL interfaces provide cryptography services (digital certificates and keys)
for authentication and secure communication with another system.

[Newly added rootstrap information]
<?xml version="1.0"?>
<rootstrap name="hal-api-security">
  <email></email>
  <emulator>
    <rpm accept="hal-api-security" arch="i686"/>
    <rpm accept="hal-api-security-devel" arch="i686"/>
  </emulator>
  <target>
    <rpm accept="hal-api-security" arch="armv7l"/>
    <rpm accept="hal-api-security-devel" arch="armv7l"/>
  </target>
  <necessary>
      <file>/usr/lib/hal/libhal-api-security.so*</file>
      <file>/usr/include/hal/hal-security-certs-interface*.h</file>
      <file>/usr/include/hal/hal-security-certs-types.h</file>
  </necessary>
  <include_path>/usr/include/</include_path>
  <library_path>/usr/lib</library_path>
</rootstrap>

Signed-off-by: Jan Wojtkowski <j.wojtkowski@samsung.com>
Change-Id: If0b7556bc6f374bb3027b676578e520e371a1cf4

4 months agors_resource: common: OSS: remove unused files from libdrm 10/319210/1
Seung-Woo Kim [Wed, 5 Feb 2025 08:44:55 +0000 (17:44 +0900)]
rs_resource: common: OSS: remove unused files from libdrm

From libdrm, no need to add unused files for exynos and freedreno.
Remove those unused files and unused dependency to remove
unnecessary linking from hal-backend.

Change-Id: If4f0450d9f026f8f0697ddf8c627f8004e04daa6
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
4 months ago[HALACR-16] rs_resource: common: HAL: Add new hal-api-codec 90/318490/5
Chanwoo Choi [Fri, 17 Jan 2025 08:31:09 +0000 (17:31 +0900)]
[HALACR-16] rs_resource: common: HAL: Add new hal-api-codec

[Role of HAL_MODULE_CODEC]
Previously, the GStreamer element was used for codec HAL.
But, the element has a dependency of GStreamer which is included in Platform image.
and it should be rebuilt if the GStreamer is upgraded by Platform update.
We can avoid this situation by adding Tizen codec HAL interfaces.
The reference GStreamer element which uses Tizen codec HAL interfaces
will be included in Platform image and no need to rebuild codec HAL backend
in HAL image although the Platform is updated.

[Newly added rootstrap information]
<?xml version="1.0"?>
<rootstrap name="hal-api-codec">
  <email></email>
  <emulator>
    <rpm accept="hal-api-codec" arch="i686"/>
    <rpm accept="hal-api-codec-devel" arch="i686"/>
  </emulator>
  <target>
    <rpm accept="hal-api-codec" arch="armv7l"/>
    <rpm accept="hal-api-codec-devel" arch="armv7l"/>
  </target>
  <necessary>
      <file>/usr/lib/hal/libhal-api-codec.so*</file>
      <file>/usr/include/hal/hal-codec-interface*.h</file>
  </necessary>
  <include_path>/usr/include/</include_path>
  <library_path>/usr/lib</library_path>
</rootstrap>

Change-Id: I6988ce5714398c5a1ed764271d39a68de2a90620
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 months agors_resource: common: OSS: Modify to use * to so file version of libdrm 44/318644/2 accepted/tizen_unified_x_asan accepted/tizen/unified/20250123.005009 accepted/tizen/unified/x/20250123.015638 accepted/tizen/unified/x/asan/20250211.003200
SangYoun Kwak [Tue, 21 Jan 2025 11:47:48 +0000 (20:47 +0900)]
rs_resource: common: OSS: Modify to use * to so file version of libdrm

Instead of specifying a version, an asterisk(*) is used in the path to
include any version of the shared object file of libdrm. With this
change, there is no need to modify file path every time the version
changes.

Change-Id: I59c758a51b46cc0204742066fd0917753fdc8fab
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
5 months agors_resource: HAL: Remove unused hal-api-uwb/zigbee 14/316614/1 accepted/tizen/unified/20241217.010336 accepted/tizen/unified/x/20241218.032444 accepted/tizen/unified/x/asan/20241224.004204
Chanwoo Choi [Mon, 16 Dec 2024 03:03:51 +0000 (12:03 +0900)]
rs_resource: HAL: Remove unused hal-api-uwb/zigbee

Before posting HAL ACR, remove unused hal-api-uwb/zigbee because it will
not be maintained to keep ABI compatibility.

Change-Id: Id749e3e9c51bf27771bdcd7480ecc2b3c46f243d
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 months agors_resource: common: OSS: Move json_glib package from headed to common 30/315930/1 accepted/tizen/unified/20241210.105111
Chanwoo Choi [Fri, 6 Dec 2024 08:46:02 +0000 (17:46 +0900)]
rs_resource: common: OSS: Move json_glib package from headed to common

json_glib package has not yet any dependency on headed profile
and there are requirement to use json_glib on headelss profile.
So that move json_glib package from headed to common

Change-Id: Ia92a88a758029860e42e5f87832388714d17e15b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 months agoUpdate version from 0.1.0 to 0.1.1 80/315480/2 accepted/tizen/unified/20241204.183305
SangYoun Kwak [Mon, 2 Dec 2024 08:19:07 +0000 (17:19 +0900)]
Update version from 0.1.0 to 0.1.1

Updateed item:
1. Specify .pc file name explicitly for libxml2.
ae407a47a1d158223d476cb339c22958d16e5806

Change-Id: I2f0ebb61c45de2f7d78e14524c27e3e37a31db67
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
6 months agoAdd pkgconfig file of libxml2 to the xml explicitely 26/315426/1 accepted/tizen/unified/20241202.132944
SangYoun Kwak [Mon, 2 Dec 2024 03:15:38 +0000 (12:15 +0900)]
Add pkgconfig file of libxml2 to the xml explicitely

Since the name of .pc file for libxml2 is not libxml2.pc(default pc file
name which is considered by hal-rootstrap) but libxml-2.0.pc, so it
should be specified explicitely.

Change-Id: I17d24f5eb4f5d97f0ee64f3e2551392f56981ec9
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
6 months agoModify build profile checking conditions 18/320518/2 accepted/tizen/unified/20241118.155151
SangYoun Kwak [Fri, 15 Nov 2024 11:02:03 +0000 (20:02 +0900)]
Modify build profile checking conditions

To increase readability and maintainability, variable is defined with a
name that clearly shows their role.
Variables are:
 * WITH_VD: 1 if the build profile is vd, else 0
 * WITH_VD_MV: 1 if the build profile is mv, else 0

Change-Id: I016a224bcc4309df4a39db3219a5618c9cfd1a5a
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
6 months agoFix path of xml files to be removed 17/320517/2
SangYoun Kwak [Mon, 18 Nov 2024 02:56:02 +0000 (11:56 +0900)]
Fix path of xml files to be removed

The path of xml files to be removed when the profile is TV are
miswritten, so they should be fixed.

Change-Id: I5d054a8094c74b9acb70fe9e532bdb1922c92304
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
6 months agoModify to exclude libdrms when profile is DA 31/320531/1
SangYoun Kwak [Mon, 18 Nov 2024 06:03:26 +0000 (15:03 +0900)]
Modify to exclude libdrms when profile is DA

Since the following libdrm packages are not required by the DA profile,
they should be excluded when the build profile is DA.
 * libdrm_exynos
 * libdrm_vigs
 * libdrm_vc4

Change-Id: I968be21c645c5cc5d4e87cb83c02d49aecf588bc
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
7 months agolibdlog: Add dlog-internal.h for the tv profile 49/320249/1 accepted/tizen/unified/20241113.151937
SangYoun Kwak [Mon, 11 Nov 2024 11:03:48 +0000 (20:03 +0900)]
libdlog: Add dlog-internal.h for the tv profile

Since it is required to keep 'dlog-internal.h' when the build profile is
'tv', the file dlog-internal.h should be included in the libdlog-rs.xml.

Change-Id: Ia7171c81f74222ca8cdaaab4595c2c02311af165
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
7 months agoModify to exclude glibc when profile is TV 29/320029/4
SangYoun Kwak [Thu, 7 Nov 2024 02:10:21 +0000 (11:10 +0900)]
Modify to exclude glibc when profile is TV

Since the glibc should not be included in the hal-rootstrap when the
profile is TV, due to the collision between header files of root(/) and
hal-rootstrap.
To accomplish this, spec file is modified to exclude glibc-related
requires(BuildRequires and Requires). Also, *-rs.xml files should be
excluded, they are removed after copied.

Change-Id: I70ac08fd4f689b0ca1e526eaad2e64e9c4330fe3
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
8 months agopackaging: Exclude packages for movable profile 29/318629/2 accepted/tizen_unified_toolchain accepted/tizen/9.0/unified/20241030.234604 accepted/tizen/unified/20241006.053331 accepted/tizen/unified/toolchain/20241022.122258 accepted/tizen/unified/toolchain/20241022.122753 accepted/tizen/unified/x/20241007.013530 accepted/tizen/unified/x/asan/20241013.235437 tizen_9.0_m2_release
SangYoun Kwak [Fri, 4 Oct 2024 02:05:59 +0000 (11:05 +0900)]
packaging: Exclude packages for movable profile

Packages below are excluded for the movable profile:
 * capi-system-peripheral-io
 * hal-api-bluetooth
 * hal-api-location
 * hal-api-power
 * hal-api-radio
 * hal-api-uwb
 * hal-api-wifi
 * hal-api-zigbee

Change-Id: Ia7645ff407092897f7b6e410fdb705c56b144362
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
9 months agoRevert "Remove libusb package from hal-rootstrap temporaily" 36/316736/1 accepted/tizen_unified_dev accepted/tizen/unified/20240828.164029 accepted/tizen/unified/dev/20240829.043814 accepted/tizen/unified/toolchain/20241004.101205 accepted/tizen/unified/x/20240829.020335
Chanwoo Choi [Tue, 27 Aug 2024 10:52:57 +0000 (19:52 +0900)]
Revert "Remove libusb package from hal-rootstrap temporaily"

This reverts commit 023e200ab79b590c8b20614e986337410bac4126.

Change-Id: I7a86aabc648d49bc376cccbc1d4d750a2d2e2e00
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 months agocommon: OSS: alsa-lib: Add new files of v1.1.12 35/316735/1 accepted/tizen/unified/20240828.021315 accepted/tizen/unified/x/20240828.041653
Chanwoo Choi [Tue, 27 Aug 2024 10:16:58 +0000 (19:16 +0900)]
common: OSS: alsa-lib: Add new files of v1.1.12

Add new files accroding to alsa-lib upgrade from 1.0.29 to 1.1.12.

[List of newly added files]
- /usr/include/alsa/control_plugin.h
- /usr/include/alsa/sound/asoc.h
- /usr/include/alsa/sound/tlv.h
- /usr/include/alsa/sound/uapi/asoc.h
- /usr/include/alsa/sound/uapi/asound_fm.h
- /usr/include/alsa/sound/uapi/emu10k1.h
- /usr/include/alsa/sound/uapi/hdsp.h
- /usr/include/alsa/sound/uapi/hdspm.h
- /usr/include/alsa/sound/uapi/sb16_csp.h
- /usr/include/alsa/sound/uapi/sscape_ioctl.h
- /usr/include/alsa/sound/uapi/tlv.h
- /usr/include/alsa/ump.h
- /usr/include/alsa/ump_msg.h
- /usr/include/asoundlib.h

Change-Id: I022b303d401f07c41aaf9de9d701b81448255470
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 months agoRemove libusb package from hal-rootstrap temporaily 05/316305/1 accepted/tizen/unified/20240819.150152
Chanwoo Choi [Mon, 19 Aug 2024 06:31:28 +0000 (15:31 +0900)]
Remove libusb package from hal-rootstrap temporaily

headless image doesn't have the libusb package. It causes the linking
issue of hal-backend package. Temporarily, remove libusb package from
hal-rootstrap. After fixing it, this patch will be reverted.

Change-Id: Ie1cfa155da79a931fb756412010b9bad98340d8a
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
10 months agoAdd BuildRequires to Requires packages 87/316087/1
SangYoun Kwak [Tue, 13 Aug 2024 11:14:07 +0000 (20:14 +0900)]
Add BuildRequires to Requires packages

To make hal-rootstrap-data-common be build when a 'Requires' package
built, BuildRequires is added.

Change-Id: I3ee1fc5bdd0bfa044dba926a1d756261973f6e91
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
10 months agoRename spec file to hal-rootstrap-data-common.spec 62/316062/1
SangYoun Kwak [Tue, 13 Aug 2024 04:51:04 +0000 (13:51 +0900)]
Rename spec file to hal-rootstrap-data-common.spec

Since the package name is changed, spec file name is renamed too.

Change-Id: I3c923bab086173945157ea48de69ce77e8472f47
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
10 months agoRemove libasan package from rootstrap 51/316051/1
SangYoun Kwak [Tue, 13 Aug 2024 02:24:57 +0000 (11:24 +0900)]
Remove libasan package from rootstrap

Since the libasan package does not have to be included in the rootstrap,
so it is removed.

Change-Id: I219f52515fa375a32b61e0c9ef6ccf041925172b
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
10 months agoRename the package to hal-rootstrap-data-common 83/315983/2
SangYoun Kwak [Mon, 12 Aug 2024 06:50:07 +0000 (15:50 +0900)]
Rename the package to hal-rootstrap-data-common

To distinguish package name from packages of hal-rootstrap, 'data' is
added to the package name.

Change-Id: I00b9bf509387cd0b4785f8ed7410e445e7e3b87d
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
10 months agoSeparate directories for common and headed packages 75/315975/4
SangYoun Kwak [Mon, 12 Aug 2024 05:46:11 +0000 (14:46 +0900)]
Separate directories for common and headed packages

There are some packages that not included in the headless image(that is
only included in the headed image) so these packages should be separated
into another directories.

Directory names are:
 * Packages that included both headed and headless image: common
 * Packages that included only headed image: headed

Change-Id: I8490b0d4691301a6e10e4beae31683067b17265b
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
10 months agoNativeAPI: libtbm-rs: Add tbm header file 29/315829/2 accepted/tizen/unified/20240809.202851 accepted/tizen/unified/dev/20240812.223201 accepted/tizen/unified/toolchain/20240813.045341 accepted/tizen/unified/x/20240812.042106 accepted/tizen/unified/x/asan/20240814.054957
Changyeon Lee [Thu, 8 Aug 2024 05:29:04 +0000 (14:29 +0900)]
NativeAPI: libtbm-rs: Add tbm header file

tbm_surface_queue.h
tbm_type_common.h
tbm_error.h
tbm_bo.h
tbm_bufmgr.h

Change-Id: I97454fae4d849c0933b9d0af9e28a20961c43cb1

10 months agoFix to check arch for libdrm_vc4 package 50/315750/2 accepted/tizen/unified/20240807.201032 accepted/tizen/unified/dev/20240808.094918 accepted/tizen/unified/toolchain/20240812.130221 accepted/tizen/unified/x/20240808.012319 accepted/tizen/unified/x/asan/20240813.224546
SangYoun Kwak [Wed, 7 Aug 2024 06:57:12 +0000 (15:57 +0900)]
Fix to check arch for libdrm_vc4 package

Since libdrm_vc4 package is provided for arm and aarch64 architecutres,
it should be excluded for other architectures.

Change-Id: I7fda4506cf08fb8e2814673e7c39b12371b30ae7
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
10 months agoAdd new packages libdrm_<soc> 23/315723/2
SangYoun Kwak [Wed, 7 Aug 2024 04:11:56 +0000 (13:11 +0900)]
Add new packages libdrm_<soc>

There are libdrm packages for specific socs and they are required.
 * libdrm_exynos
 * libdrm_freedreno
 * libdrm_vigs

Change-Id: Id1cfe48687981bfcdd0fdb3bd8e7a91224c64df2
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
10 months agors_resource: Fix invalid tag 22/315722/1
SangYoun Kwak [Tue, 6 Aug 2024 10:55:19 +0000 (19:55 +0900)]
rs_resource: Fix invalid tag

The necessary file tag for 32-bit arm is 'file_arm', but there was a
invalid tag 'file_armv7l'. Files with this tag will not be included, so
it should be fixed.

Change-Id: I7470bb1fb253e12f19f5ea9bdc1dea9aaf359541
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
10 months agoRemove kernel-headers package to avoid conflict 90/315690/2
SangYoun Kwak [Tue, 6 Aug 2024 07:30:23 +0000 (16:30 +0900)]
Remove kernel-headers package to avoid conflict

The package 'kernel-headers' can be conflicted with other packages which
are not included in the hal rootstrap but required by the invidivual hal
backends.
To resolve this conflict, 'kernel-headers' is removed.

Change-Id: I94a576c048d703a09d9c1b55957f06b89ee46944
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
10 months agoModify to exclude packages if profile is "tv" 03/315603/1 accepted/tizen/unified/20240807.010743 accepted/tizen/unified/dev/20240807.093108 accepted/tizen/unified/x/20240807.014316
SangYoun Kwak [Mon, 5 Aug 2024 06:28:42 +0000 (15:28 +0900)]
Modify to exclude packages if profile is "tv"

Packages below are excluded if the profile is "tv" since the VD
environment does not have these packages:
 * capi-system-peripheral-io
 * hal-api-bluetooth
 * hal-api-location
 * hal-api-power
 * hal-api-radio
 * hal-api-uwb
 * hal-api-wifi
 * hal-api-zigbee

Change-Id: I11c34492bc8913e1c918a0aef14b29cb2a2bdf8b
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
10 months agoNativeAPI: libtbm-rs: Add tbm_surface_internal.h header file 80/315580/1 accepted/tizen/unified/20240805.114540 accepted/tizen/unified/x/20240806.012815
Chanwoo Choi [Mon, 5 Aug 2024 02:30:59 +0000 (11:30 +0900)]
NativeAPI: libtbm-rs: Add tbm_surface_internal.h header file

Change-Id: I28bb1bdab4cba11ec7389a7365e0d45c2092c307
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
11 months agopackaging: Replace BuildRequires to Requires accepted/tizen/unified/20240719.080553 accepted/tizen/unified/dev/20240722.073425 accepted/tizen/unified/x/20240719.092005 accepted/tizen/unified/x/20240719.131358
Chanwoo Choi [Thu, 4 Jul 2024 08:51:52 +0000 (17:51 +0900)]
packaging: Replace BuildRequires to Requires

Change-Id: Iefb97997a1dc944041bf931de6d1389298ceb4ef
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
11 months agoRename to hal-rootstrap-base and remove unneeded scripts
Chanwoo Choi [Wed, 3 Jul 2024 11:46:06 +0000 (20:46 +0900)]
Rename to hal-rootstrap-base and remove unneeded scripts

Change-Id: I51f4cb8181b1dbe4411cc5aee98d6c1a1d1bc3c2
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
11 months agoHAL: Add necessary header files of hal-api-device module
Yunhee Seo [Fri, 28 Jun 2024 06:52:01 +0000 (15:52 +0900)]
HAL: Add necessary header files of hal-api-device module

Before this patch, there were omitted several types header files.
It caused build fails, thus hal-api-device module types header is added.

Change-Id: Id6384a9d0a8e29c0124c1a049d4f5517e623f28e
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
11 months agoAdd support for riscv64 architecture
SangYoun Kwak [Mon, 24 Jun 2024 06:15:17 +0000 (15:15 +0900)]
Add support for riscv64 architecture

<file_riscv64> tag is added to the xml files and the files are modified
if there is riscv64-specific files.

Change-Id: I0611d0acee3b79068a7ccc7d5a135fd16a167d6f
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoModify '*' to actual file path
SangYoun Kwak [Tue, 25 Jun 2024 07:28:41 +0000 (16:28 +0900)]
Modify '*' to actual file path

Since the files are downloaded in one location, files are mixed together
and unable to know which file is belongs to a package.
To distinguish files for each package, the actual file paths are
specified.

Change-Id: I66c1ab5db2cf55cbf3c88c9cd4a30b33f9b2a89f
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoRemove unused xml file
SangYoun Kwak [Tue, 25 Jun 2024 09:29:08 +0000 (18:29 +0900)]
Remove unused xml file

Change-Id: I80cd1083012b23d4e4234f8e80b4299c6f120933
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoAdd new package libtpl-egl
SangYoun Kwak [Mon, 24 Jun 2024 04:49:54 +0000 (13:49 +0900)]
Add new package libtpl-egl

A new package is added: platform/core/uifw/libtpl-egl

Change-Id: Ib97780d6a6cba1aa735f9156191e3be821165733
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoRemove useless scripts/files
SangYoun Kwak [Tue, 18 Jun 2024 07:09:05 +0000 (16:09 +0900)]
Remove useless scripts/files

There are some scripts/files that useless/meaningless to use in hal
rootstrap.
These scripts are removed.

Change-Id: Iad384436fe0b00bf4a9f71384a992e0e59ad09d3
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agomodify_pc: Modify to remove regex syntax warning
SangYoun Kwak [Fri, 21 Jun 2024 08:17:05 +0000 (17:17 +0900)]
modify_pc: Modify to remove regex syntax warning

The '\s' in the regex for python means whitespace. Also, '\' is used for
escape sequence, so '\s' is ambiguous.
In python, to remove this ambiguity, '\\s' is used for whitespace.

In modify_pc.py script, '\s' is used so python raises warning. To remove
this warning, '\s' is replaced with '\\s'.

Change-Id: Ic879fa46d5919082a4b6ab8a3294dff19e61a0dc
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoModify to copy necessary files per architecture
SangYoun Kwak [Wed, 19 Jun 2024 01:35:53 +0000 (10:35 +0900)]
Modify to copy necessary files per architecture

In the .xml files, necessary files are specified and they are copied to
the final .rpm product. These files are depends on the architecture
being built.

Previously, necessary files are separated with only 32-bit and 64-bit,
but there are differences of necessary files between other
architectures, like x86_64 and i686.

Thus, tags below are added to distinguish them:
 * <file_arm> for armv7l and armv7hl
 * <file_aarch64> for aarch64
 * <file_i686> for i686
 * <file_x86_64> for x86_64

Change-Id: I9f7537b396e48036f4f73a366c15e4c3ccb5bd59
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoFix rootstrap_get script to do postlinker
SangYoun Kwak [Tue, 18 Jun 2024 09:20:43 +0000 (18:20 +0900)]
Fix rootstrap_get script to do postlinker

Finding the parameters for the postlinker was not working since the
finding location was ${DEST}, which is useless variable.
It is fixed with ${GBS_BUILDROOT}.

Change-Id: I393227cfc605335ee4a7bc015be6fcc21151724a
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoAdd new package libtzplatform-config
SangYoun Kwak [Wed, 19 Jun 2024 03:38:22 +0000 (12:38 +0900)]
Add new package libtzplatform-config

A new package is added: platform/core/system/tizen-platform-config

Change-Id: I799de105bbbb4bfcdd0152974914791783f34e02
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoHAL: hal-api-device: Fix the wrong header file name
Chanwoo Choi [Tue, 18 Jun 2024 07:13:05 +0000 (16:13 +0900)]
HAL: hal-api-device: Fix the wrong header file name

Change-Id: I7a049c0544cff2544b5fdf11de2a95a848cec901
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
11 months agoHAL: Modify regular expression to contain hal-[module]-interface-[version].h header
Chanwoo Choi [Tue, 18 Jun 2024 07:10:27 +0000 (16:10 +0900)]
HAL: Modify regular expression to contain hal-[module]-interface-[version].h header

Change-Id: I74874e0406a09bffebc468e67236946374466360
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
11 months agoAdd new package libdrm
SangYoun Kwak [Tue, 18 Jun 2024 04:29:25 +0000 (13:29 +0900)]
Add new package libdrm

A new package is added: platform/upstream/libdrm

Change-Id: Icd942fb9da352190594409f9df3310e6d0bda295
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoAdd new package capi-system-peripheral-io
SangYoun Kwak [Tue, 18 Jun 2024 02:52:58 +0000 (11:52 +0900)]
Add new package capi-system-peripheral-io

A new package is added: platform/core/api/peripheral-io

Change-Id: I901b93abfa00d34133c02cb8a61e55e13c0fb372
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agopackaging: Remove unneeded BuildRequires
Chanwoo Choi [Tue, 18 Jun 2024 03:05:51 +0000 (12:05 +0900)]
packaging: Remove unneeded BuildRequires

Change-Id: Ifcd4fc8c04c5078fd6d45348c834493d6c4d84a3
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
11 months agoModify ttrace xml to make files included properly
SangYoun Kwak [Tue, 18 Jun 2024 01:42:47 +0000 (10:42 +0900)]
Modify ttrace xml to make files included properly

The name of xml was 'trace' and it is renamed as 'ttrace'.
Also, the name of .pc file(ttrace.pc) is written explicitly.

Change-Id: I687c67a4bc5fa7f76862ece64872582910002733
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoAdd new package libudev
SangYoun Kwak [Mon, 17 Jun 2024 09:20:27 +0000 (18:20 +0900)]
Add new package libudev

A new package is added: platform/upstream/systemd (libudev only)
Among the files in the systemd, only libudev package will be included.

Change-Id: I4eb54b78d131d99927b88834db42f3138fe770dd
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoModify json-glib xml to make files included properly
SangYoun Kwak [Mon, 17 Jun 2024 08:34:53 +0000 (17:34 +0900)]
Modify json-glib xml to make files included properly

Previously, the <necessary> section of json-glib-rs.xml was just an
asterisk("*"), which cannot be used in hal rootstrap.
To make hal rootstrap include the files of json-glib, necessary files
are added to the <necessary> list.
Also, the BuildRequire for json-glib is changed to use 'pkgconfig'.

Change-Id: Ia1672b140f966a3ee9c51d0bb8e9c1bcd652e403
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoAdd new package libusb
SangYoun Kwak [Mon, 17 Jun 2024 07:49:47 +0000 (16:49 +0900)]
Add new package libusb

A new package is added: platform/upstream/libusb

Change-Id: I96ec2de0b124d773479cff68311e55facbcfceeb
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoAdd new package alsa-lib
SangYoun Kwak [Mon, 17 Jun 2024 07:00:15 +0000 (16:00 +0900)]
Add new package alsa-lib

A new package is added: platform/upstream/alsa-lib

Change-Id: I7f72a62941c909debe1d030e98418a8ee863baca
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
11 months agoRemove unused files
SangYoun Kwak [Mon, 17 Jun 2024 05:57:11 +0000 (14:57 +0900)]
Remove unused files

Change-Id: I046f9806e0caaef0bd847482d065929743f5aec0
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agors_resource: Remove not-used libhalcc shared library
Chanwoo Choi [Mon, 10 Jun 2024 07:11:44 +0000 (16:11 +0900)]
rs_resource: Remove not-used libhalcc shared library

hal-api-common has created the libhalcc.so. But, it is not used anymore
and then is removed from hal-api-common.

Change-Id: I87049c0aad8e2f502e26c879402bdc3cb46c6d3b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
12 months agoRemove not-allowed packages on rs_resource_invisible
Chanwoo Choi [Tue, 11 Jun 2024 10:49:22 +0000 (19:49 +0900)]
Remove not-allowed packages on rs_resource_invisible

Change-Id: I509c779ac924cb125f04c257f965208f35cd8234
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
12 months agoRemove not-allowed packages on rs_resource_tizeniot and testproject
Chanwoo Choi [Mon, 10 Jun 2024 07:11:12 +0000 (16:11 +0900)]
Remove not-allowed packages on rs_resource_tizeniot and testproject

Change-Id: Ie83c2fe3078dcd716330a584fd607792930fc0b3
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
12 months agoNativeAPI: Remove not-allowed packages
Chanwoo Choi [Mon, 10 Jun 2024 02:44:38 +0000 (11:44 +0900)]
NativeAPI: Remove not-allowed packages

Change-Id: If85dda009888c8b7cc657bfe59a0388f731acd0f
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
12 months agoModify error handling codes to free resources
SangYoun Kwak [Mon, 27 May 2024 08:45:56 +0000 (17:45 +0900)]
Modify error handling codes to free resources

In the error handling codes, allocated resources were not freed
correctly.
To fix this, resource free codes like fclose and free are added.
In addition, memory allocation failure checking code is added right
after the malloc.
Also, 'return 0;' is added to the main function of postlinker_64.c since
it did not have it.

Change-Id: I9ea6dc96267c7760596b9260ef9f0d27f1a79b19
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoRemove unused/useless codes/files
SangYoun Kwak [Mon, 27 May 2024 06:34:04 +0000 (15:34 +0900)]
Remove unused/useless codes/files

Unused / unnecessary / useless codes from postlinker source code are
removed. They don't affect the original functionalities of postlinker.

Also, postlinker is built during the gbs build, the pre-built binaries
(postlinker and postlinker_64) can be removed.

Change-Id: If5567459ceb7461bc7072145997aec7eb2ab62d4
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoModify postlinker source for the readability
SangYoun Kwak [Mon, 27 May 2024 06:29:02 +0000 (15:29 +0900)]
Modify postlinker source for the readability

For the readability of postlinker.c and postlinker_64.c, indentations
and arrangements are modified.

Change-Id: Ic8073bc29bc4c4626fad3703ab786d2af987efd5
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agopackaging: Add "ExcludeArch riscv64" not to build for riscv
Jaehoon Chung [Thu, 30 May 2024 02:11:58 +0000 (11:11 +0900)]
packaging: Add "ExcludeArch riscv64" not to build for riscv

Add "ExcludeArch riscv64" not to build for riscv.
hal-rootstrap doesn't support riscv64 yet.

Change-Id: Ic8f00eaaae9c7a7251df79b1f01820c17893e183
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
12 months agoModify files section to include both lib/lib64
SangYoun Kwak [Mon, 27 May 2024 08:05:44 +0000 (17:05 +0900)]
Modify files section to include both lib/lib64

Since the build result can include lib, lib64 or both, just using
'%{_lib}' and '%{_libdir}' are not enough.
To include all possible situations, 'lib*/' is used.

Change-Id: Iaed4ee9d0174593223307a7c89b30eaadf91e483
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoModify glibc xml to support emulators
SangYoun Kwak [Mon, 27 May 2024 08:04:14 +0000 (17:04 +0900)]
Modify glibc xml to support emulators

To support emulators(32, 64 bits), file list of glibc is modified.

Change-Id: I199c56386b425bfdcb5e09ade2cf9dfa39d864ac
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoAdd file_32, file_64 to <necessary> of .xml files
SangYoun Kwak [Mon, 20 May 2024 06:20:44 +0000 (15:20 +0900)]
Add file_32, file_64 to <necessary> of .xml files

To distinguish 32-bit only files and 64-bit only files, file_32 and
file_64 are added to the <necessary> section of .xml files(glibc, glib2)

Also, these sections should not be modified by convert32.sh and
convert64.sh scripts, these scripts are modified not to manipulate the
file_32 and file_64 sections.

Since file_32 is only for 32-bit build and file_64 is only for 64-bit
build, the rootstrap generation scripts is also modified.

Change-Id: I4a67918986ad9925f369a36fe60926c07d6c04f7
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoModify to be buildable for 64-bit architectures
SangYoun Kwak [Fri, 17 May 2024 10:22:50 +0000 (19:22 +0900)]
Modify to be buildable for 64-bit architectures

To make hal-rootstrap buildable for 64-bit architectures, required
scripts are modified as 32-bit scripts:
 * make_rootstrap_64.sh
 * rootstrap_gen_1.0_64.sh

Change-Id: I76dd7deaecf526903adc5eee512a5a4024f13793
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoModify script to use .pc specified in the xml
SangYoun Kwak [Wed, 22 May 2024 05:57:49 +0000 (14:57 +0900)]
Modify script to use .pc specified in the xml

There are some packages that have .pc files which names are not same as
its package. In this case, it is not simple to get proper pc file by
reading the .xml file.
To resolve this problem, pkgconfig section is added to some .xml files
and parsing code is added to the script.

Change-Id: I69797e1590539431696efad250fba4013301b654
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agopackaging: Disable auto package dependency to fix image creation issue
Jaehoon Chung [Mon, 20 May 2024 11:07:56 +0000 (20:07 +0900)]
packaging: Disable auto package dependency to fix image creation issue

Change-Id: I9de14e82e9d13ce63462843f1c89d46337c36551
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
12 months agoFix xml files to have necessary files
SangYoun Kwak [Tue, 21 May 2024 12:43:41 +0000 (21:43 +0900)]
Fix xml files to have necessary files

There are some omitted files in the <necessary> section so they need to
be specified.
Additionally, EFL is not required, so it is removed.

Change-Id: I678781513f28ccfcf62d8e9551e947015c9fc240
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoModify script to include only necessary .pc file
SangYoun Kwak [Tue, 21 May 2024 12:39:13 +0000 (21:39 +0900)]
Modify script to include only necessary .pc file

Previously, rootstrap generation script copied every .pc files in the
pkgconfig path but it is not valid since there are some packages which
installed by dependencies. Those packages should not be included in the
.pc file, so the script is modified to copy .pc files which are in the
necessary packages.

Change-Id: Ifb9baa2541e00500341930618fa58c2abdd788d4
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoModify to be buildable for emulator(32-bit)
SangYoun Kwak [Fri, 17 May 2024 09:16:54 +0000 (18:16 +0900)]
Modify to be buildable for emulator(32-bit)

1. Building scripts for emulator are modified that can be used by the
   gbs build.
2. Emulator informations are added to .xml files of hal:
   * To make rootstrap for emulator(32-bit) include hal files, emulator
     section is added to the corresponding .xml files.

Change-Id: I919e804762ab015906ed57d94b3fb4a2d7b16e73
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoAdd file list of necessary files of package glibc
SangYoun Kwak [Fri, 17 May 2024 06:50:16 +0000 (15:50 +0900)]
Add file list of necessary files of package glibc

Necessary files of glibc was '*', which means every file in the rpm
package but in the gbs build, it is unable to determine which file is
from glibc. Thus, necessary files should be specified in the xml file.

Also, to include all necessary files, 'files' section of .spec file is
modified.

Change-Id: Ia23904db03966906224925909eeb4848dc0c654e
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoModify convert32.sh for 64-to-32-bit convertion of xml files
SangYoun Kwak [Fri, 17 May 2024 07:38:45 +0000 (16:38 +0900)]
Modify convert32.sh for 64-to-32-bit convertion of xml files

Change-Id: Ibe67dbcc80b9de27a22a58ac24efe96700584f3e
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoAdd file list of necessary files of package glib2
SangYoun Kwak [Thu, 16 May 2024 03:03:46 +0000 (12:03 +0900)]
Add file list of necessary files of package glib2

Previously, necessary files of glib2 was '*', which means every files in
the rpm package.
But now the package files are downloaded by gbs using BuildRequires, it
is required to specify the required files(because the files of
BuildRequires are all downloaded and mixed so there is no way to specify
which file is from glib2).
Thus, necessary files are added to the glib2-rs.xml.
Additionally, glib2-rs.xml requires file path started with
'/usr/share/gdb/auto-load/usr/lib' and it is architecture-dependent.
To support 64-bit, convert64.sh script is modified to support this.

Change-Id: I26d757f37c3cd3910f8a399975728562791d456a
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoModify to create .pc file with BuildRequire packages
SangYoun Kwak [Tue, 14 May 2024 06:27:52 +0000 (15:27 +0900)]
Modify to create .pc file with BuildRequire packages

If some other package BuildRequires this hal-rootstrap package with
pkgconfig, it refers hal-rootstrap.pc for the locations of includes and
libraries.
Thus, to make them buildable, it is required to include all possible
paths of headers and libraries in the .pc file.
The script modify_pc.py reads every .pc files then modifies
hal-rootstrap.pc file to include them.

Change-Id: Icf114a20a705b7fd8854041c0ab59e18a192fc30
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoModify to make rootstrap through make_rootstrap script
SangYoun Kwak [Mon, 29 Apr 2024 06:51:02 +0000 (15:51 +0900)]
Modify to make rootstrap through make_rootstrap script

Change-Id: Ided8d2b522d67706c8c14e6932b1d7efb9569a14
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
13 months agoModify convert scripts can be run on gbs build
SangYoun Kwak [Mon, 29 Apr 2024 09:34:12 +0000 (18:34 +0900)]
Modify convert scripts can be run on gbs build

To make convert32.sh and convert64.sh can be run on gbs build, git
command is removed from those scripts.
(Since gbs build runs on a sandbox environment, there is no need to use
git command to restore or something)

Change-Id: I2b253b42bd386673086e35d674160a89260e6a0a
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
13 months agoRename xmls for HAL
SangYoun Kwak [Mon, 29 Apr 2024 09:02:55 +0000 (18:02 +0900)]
Rename xmls for HAL

To maintain consistent XML file names, the names of XML files under HAL
have been changed:
 * hal-api-*.xml -> hal-api-*-rs.xml

Change-Id: Ie0b4ac3adb97cb3be9fc8f528b9ad9a4d78d6ef5
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
13 months agopackaging: Add only support for armv7l arch type
Chanwoo Choi [Wed, 24 Apr 2024 09:37:52 +0000 (18:37 +0900)]
packaging: Add only support for armv7l arch type

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
13 months agoHAL: hal-api-device: Add missing hal interface header files
Chanwoo Choi [Tue, 16 Apr 2024 10:10:48 +0000 (19:10 +0900)]
HAL: hal-api-device: Add missing hal interface header files

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
13 months agoHAL: Add missing hal-[module]-types.h header files
Chanwoo Choi [Tue, 16 Apr 2024 10:08:11 +0000 (19:08 +0900)]
HAL: Add missing hal-[module]-types.h header files

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
13 months agopackaging: Remove package dependency of shared library from hal-rootstrap.rpm
Chanwoo Choi [Tue, 16 Apr 2024 09:33:50 +0000 (18:33 +0900)]
packaging: Remove package dependency of shared library from hal-rootstrap.rpm

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
14 months agopackaging: Change install path to /opt/data/hal-rootstrap and use rpm macro
Chanwoo Choi [Tue, 9 Apr 2024 12:52:43 +0000 (21:52 +0900)]
packaging: Change install path to /opt/data/hal-rootstrap and use rpm macro

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
14 months agopackaging: Add hal-rootstrap-devel package
Chanwoo Choi [Tue, 9 Apr 2024 12:13:20 +0000 (21:13 +0900)]
packaging: Add hal-rootstrap-devel package

Add hal-rootstrap-devel package contains the hal-rootstrap.pc pkgconfig
file which specifies libdir and include_dir path.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
14 months agoAdd BuildRequires and .xml files for hal-api
SangYoun Kwak [Tue, 9 Apr 2024 10:48:02 +0000 (19:48 +0900)]
Add BuildRequires and .xml files for hal-api

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
14 months agoModify rpm install path to /opt/data/hal
SangYoun Kwak [Tue, 9 Apr 2024 10:26:23 +0000 (19:26 +0900)]
Modify rpm install path to /opt/data/hal

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
14 months agoAdd BuildRequires for the hal-backend-sensor-rpi
SangYoun Kwak [Tue, 9 Apr 2024 06:20:27 +0000 (15:20 +0900)]
Add BuildRequires for the hal-backend-sensor-rpi

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
14 months agoAdd script to copy necessary files
SangYoun Kwak [Tue, 9 Apr 2024 06:17:46 +0000 (15:17 +0900)]
Add script to copy necessary files

To copy necessary files which are written in the .xml files, a script
'copy_required_files.sh' is added.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
14 months agoModify .spec to build tool and install files
SangYoun Kwak [Mon, 8 Apr 2024 12:31:41 +0000 (21:31 +0900)]
Modify .spec to build tool and install files

In the process of making hal-backend, 'postlinker' is used(refer script
rootstrap_gen_1.0.sh), so CMakeLists.txt is added to build postlinker
executable in the ARM environment.

copy_required_files.sh script is added to read .xml and copy required
files. Currently, it is a dummy script.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
14 months agoAdd .spec file to make gbs build possible
SangYoun Kwak [Mon, 8 Apr 2024 10:43:08 +0000 (19:43 +0900)]
Add .spec file to make gbs build possible

To make this repository can be built by gbs, .spec file is added.

Necessary 'BuildRequires' are included:
 * cmake and xmlstarlet is added to use command cmake and xmlstarlet.
 * Packages for 'BuildRequires' are referenced from .xml files in the
   directories below:
    * rs_resource/NativeAPI
    * rs_resource/OSS

To prevent 'BuildRequires' conflict, packages below are removed:
 * chromium-efl, chromium-efl-devel: conflict with libscl-common
 * oauth2, oauth2-devel: requires chromium-efl, conflict with
   libscl-common as a result.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
14 months agoFix scripts to use tabs for indentations
SangYoun Kwak [Fri, 29 Mar 2024 05:40:10 +0000 (14:40 +0900)]
Fix scripts to use tabs for indentations

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
15 months agoMerge pull request #39 from h-jhun/ACR-1828
오창석/Tizen Platform Lab(SR)/삼성전자 [Mon, 11 Mar 2024 00:12:44 +0000 (09:12 +0900)]
Merge pull request #39 from h-jhun/ACR-1828

[ACR-1828] Add tizen-core-rs.xml

15 months ago[ACR-1828] Add tizen-core-rs.xml
Hwankyu Jhun [Thu, 7 Mar 2024 00:18:06 +0000 (09:18 +0900)]
[ACR-1828] Add tizen-core-rs.xml

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
15 months agoMerge pull request #37 from jiyong-min/tizen_9.0
오창석/Tizen Platform Lab(SR)/삼성전자 [Mon, 4 Mar 2024 23:58:24 +0000 (08:58 +0900)]
Merge pull request #37 from jiyong-min/tizen_9.0

[ACR-1826] Remove deprecated capi-media-streamer APIs