platform/hal/backend/rootstrap-data-common.git
2 weeks agoNativeAPI: libtbm-rs: Add tbm header file 29/315829/2 accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen_unified_x accepted/tizen_unified_x_asan 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

2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
3 weeks 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>
3 weeks 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>
7 weeks 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>
7 weeks 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>
8 weeks 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
5 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

5 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>
5 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

5 months ago[ACR-1826] Remove deprecated capi-media-streamer APIs
Jiyong [Mon, 4 Mar 2024 23:41:22 +0000 (08:41 +0900)]
[ACR-1826] Remove deprecated capi-media-streamer APIs

6 months agoMerge pull request #31 from jykeon/tizen_9.0
오창석/Tizen Platform Lab(SR)/삼성전자 [Tue, 20 Feb 2024 09:54:06 +0000 (18:54 +0900)]
Merge pull request #31 from jykeon/tizen_9.0

Delete. Because it is remove ui-viewgmr APIs via ACR-1686.

6 months agoDelete. Because it is remove ui-viewgmr APIs via ACR-1686.
jykeon [Tue, 20 Feb 2024 09:15:09 +0000 (18:15 +0900)]
Delete. Because it is remove ui-viewgmr APIs via ACR-1686.

Signed-off-by: jykeon <jykeon@samsung.com>
7 months agotizen-9.0_64 rootstrap version: 0.0.141, snapshot: https://download.tizen.org/snapsho...
tizensdk [Tue, 23 Jan 2024 07:07:05 +0000 (12:37 +0530)]
tizen-9.0_64 rootstrap version: 0.0.141, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20240122.133120/

7 months agotizen 9.0 rootstrap version: 0.0.180, snapshot: https://download.tizen.org/snapshots...
tizensdk [Tue, 23 Jan 2024 06:20:48 +0000 (11:50 +0530)]
tizen 9.0 rootstrap version: 0.0.180, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20240122.133120/

7 months agoMerge pull request #23 from gilbok-lee/tizen_9.0
오창석/Tizen Platform Lab(SR)/삼성전자 [Mon, 22 Jan 2024 08:29:36 +0000 (17:29 +0900)]
Merge pull request #23 from gilbok-lee/tizen_9.0

[ACR-1816] Remove deprecated capi-media-streamrecorder APIs

7 months ago[ACR-1816] Remove deprecated capi-media-streamrecorder APIs
Gilbok Lee [Mon, 22 Jan 2024 06:12:44 +0000 (15:12 +0900)]
[ACR-1816] Remove deprecated capi-media-streamrecorder APIs

7 months agotizen-9.0_64 rootstrap version: 0.0.140, snapshot: https://download.tizen.org/snapsho...
tizensdk [Fri, 19 Jan 2024 10:35:39 +0000 (16:05 +0530)]
tizen-9.0_64 rootstrap version: 0.0.140, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20240112.113121/

7 months agotizen 9.0 rootstrap version: 0.0.179, snapshot: https://download.tizen.org/snapshots...
tizensdk [Fri, 19 Jan 2024 09:21:12 +0000 (14:51 +0530)]
tizen 9.0 rootstrap version: 0.0.179, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20240112.113121/

7 months agotizen-9.0_64 rootstrap version: 0.0.139, snapshot: https://download.tizen.org/snapsho...
tizensdk [Tue, 16 Jan 2024 12:56:38 +0000 (18:26 +0530)]
tizen-9.0_64 rootstrap version: 0.0.139, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20240112.113121/

7 months agotizen 9.0 rootstrap version: 0.0.178, snapshot: https://download.tizen.org/snapshots...
tizensdk [Tue, 16 Jan 2024 11:32:26 +0000 (17:02 +0530)]
tizen 9.0 rootstrap version: 0.0.178, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20240112.113121/

10 months agors-config: base_dev repo. to check rootstrap build and test
Dongkyun Son [Thu, 19 Oct 2023 07:20:01 +0000 (16:20 +0900)]
rs-config: base_dev repo. to check rootstrap build and test

Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
10 months agoconvert script: fix architecture conversion error
Dongkyun Son [Tue, 17 Oct 2023 00:46:21 +0000 (09:46 +0900)]
convert script: fix architecture conversion error

- setup : noarch
- linux-glibc-devel : armv7l | i686 | aarch64 | x86_64

Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
10 months agooption: set false by default
Dongkyun Son [Mon, 18 Sep 2023 01:39:33 +0000 (10:39 +0900)]
option: set false by default

OPT_TARGET and OPT_EMULATOR are not affected in build.

Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
10 months ago[ACR-1793] remove deprecated cbhm APIs
Taehyub Kim [Wed, 20 Sep 2023 08:05:14 +0000 (17:05 +0900)]
[ACR-1793] remove deprecated cbhm APIs

12 months agoconfig : update to dev branch (interim version as 9.0)
Dongkyun Son [Mon, 7 Aug 2023 06:17:20 +0000 (15:17 +0900)]
config : update to dev branch (interim version as 9.0)

This is initial commit to be used by internal RBS for development
purpose.

Change-Id: I0fccc14dd4690f05424d3db8c8007eee70fe90ad
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
13 months ago[ACR-1767] Upgrade openssl version (1.1.1 -> 3.0.9)
Dariusz Michaluk [Thu, 29 Jun 2023 10:53:05 +0000 (12:53 +0200)]
[ACR-1767] Upgrade openssl version (1.1.1 -> 3.0.9)

Change-Id: I20bd28288ce53ede31cbb9ff6fcfebeb9f31152c
Signed-off-by: Dariusz Michaluk <d.michaluk@samsung.com>
13 months agotizen-8.0_64 rootstrap version: 0.0.138, snapshot: https://download.tizen.org/snapsho...
tizensdk [Wed, 28 Jun 2023 15:57:54 +0000 (21:27 +0530)]
tizen-8.0_64 rootstrap version: 0.0.138, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20230627.221305/

13 months agotizen 8.0 rootstrap version: 0.0.177, snapshot: https://download.tizen.org/snapshots...
tizensdk [Wed, 28 Jun 2023 15:16:18 +0000 (20:46 +0530)]
tizen 8.0 rootstrap version: 0.0.177, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20230627.221305/

13 months agotizen-8.0_64 rootstrap version: 0.0.137, snapshot: https://download.tizen.org/snapsho...
tizensdk [Wed, 28 Jun 2023 10:37:16 +0000 (16:07 +0530)]
tizen-8.0_64 rootstrap version: 0.0.137, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20230627.221305/

13 months agotizen 8.0 rootstrap version: 0.0.176, snapshot: https://download.tizen.org/snapshots...
tizensdk [Wed, 28 Jun 2023 09:36:34 +0000 (15:06 +0530)]
tizen 8.0 rootstrap version: 0.0.176, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20230627.221305/

14 months agotizen-8.0_64 rootstrap version: 0.0.136, snapshot: https://download.tizen.org/snapsho...
tizensdk [Tue, 20 Jun 2023 02:59:52 +0000 (08:29 +0530)]
tizen-8.0_64 rootstrap version: 0.0.136, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20230616.125454/

14 months agotizen 8.0 rootstrap version: 0.0.175, snapshot: https://download.tizen.org/snapshots...
tizensdk [Tue, 20 Jun 2023 02:22:23 +0000 (07:52 +0530)]
tizen 8.0 rootstrap version: 0.0.175, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20230616.125454/

14 months agoAdd missed rootstrap
이상욱/SE팀(SR)/삼성전자 [Mon, 19 Jun 2023 11:58:31 +0000 (20:58 +0900)]
Add missed rootstrap

Signed-off-by: 이상욱/SE팀(SR)/삼성전자 <sangwook96.lee@samsung.com>
14 months agoAdd rootstrap missed
sangwook lee [Mon, 19 Jun 2023 11:40:28 +0000 (20:40 +0900)]
Add rootstrap missed

Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
14 months agotizen-8.0_64 rootstrap version: 0.0.135, snapshot: https://download.tizen.org/snapsho...
tizensdk [Mon, 19 Jun 2023 04:35:29 +0000 (10:05 +0530)]
tizen-8.0_64 rootstrap version: 0.0.135, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20230616.125454/

14 months agotizen 8.0 rootstrap version: 0.0.174, snapshot: https://download.tizen.org/snapshots...
tizensdk [Mon, 19 Jun 2023 03:56:52 +0000 (09:26 +0530)]
tizen 8.0 rootstrap version: 0.0.174, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20230616.125454/

14 months agotizen-8.0_64 rootstrap version: 0.0.134, snapshot: https://download.tizen.org/snapsho...
tizensdk [Fri, 16 Jun 2023 07:09:54 +0000 (12:39 +0530)]
tizen-8.0_64 rootstrap version: 0.0.134, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20230615.013156/

14 months agotizen 8.0 rootstrap version: 0.0.173, snapshot: https://download.tizen.org/snapshots...
tizensdk [Fri, 16 Jun 2023 06:23:38 +0000 (11:53 +0530)]
tizen 8.0 rootstrap version: 0.0.173, snapshot: https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20230615.013156/

14 months agoAdd tv
sangwook lee [Fri, 16 Jun 2023 04:33:11 +0000 (13:33 +0900)]
Add tv

Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>