From aa4b727ae50ad982969c5c0a8f0ef4d6bab3149a Mon Sep 17 00:00:00 2001 From: Hyunggi Lee Date: Tue, 26 Sep 2023 19:04:31 +0900 Subject: [PATCH] add Tizen-Rust Change-Id: I2c7f72607a76b3b598e74aacd5c27599d52addd0 Signed-off-by: Hyunggi Lee --- TIZEN/Tizen/Tizen-Rust/candidate_snapshot | 7 ++ TIZEN/Tizen/Tizen-Rust/manifest.xml | 6 ++ TIZEN/Tizen/Tizen-Rust/project_config | 153 ++++++++++++++++++++++++++++++ TIZEN/Tizen/Tizen-Rust/project_env | 4 + TIZEN/Tizen/Tizen-Rust/project_meta | 25 +++++ TIZEN/Tizen/Tizen-Rust/snapshot_info | 16 ++++ 6 files changed, 211 insertions(+) create mode 100644 TIZEN/Tizen/Tizen-Rust/candidate_snapshot create mode 100644 TIZEN/Tizen/Tizen-Rust/manifest.xml create mode 100644 TIZEN/Tizen/Tizen-Rust/project_config create mode 100644 TIZEN/Tizen/Tizen-Rust/project_env create mode 100644 TIZEN/Tizen/Tizen-Rust/project_meta create mode 100644 TIZEN/Tizen/Tizen-Rust/snapshot_info diff --git a/TIZEN/Tizen/Tizen-Rust/candidate_snapshot b/TIZEN/Tizen/Tizen-Rust/candidate_snapshot new file mode 100644 index 0000000..6603466 --- /dev/null +++ b/TIZEN/Tizen/Tizen-Rust/candidate_snapshot @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/TIZEN/Tizen/Tizen-Rust/manifest.xml b/TIZEN/Tizen/Tizen-Rust/manifest.xml new file mode 100644 index 0000000..c15fc78 --- /dev/null +++ b/TIZEN/Tizen/Tizen-Rust/manifest.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/TIZEN/Tizen/Tizen-Rust/project_config b/TIZEN/Tizen/Tizen-Rust/project_config new file mode 100644 index 0000000..e41f654 --- /dev/null +++ b/TIZEN/Tizen/Tizen-Rust/project_config @@ -0,0 +1,153 @@ +################################################################################ +# OBS Project config for Tizen:Rust +# +# vim: set syntax=spec: +################################################################################ + +############################# conflicts resolution ############################# + +FileProvides: /usr/sbin/groupadd shadow-utils +Prefer: bluetooth-tools-no-firmware + +############################# profile definition ############################### + +%define _with_tizen 1 + +# For classifying debug/release mode +Macros: +%tizen_build_devel_mode 1 +:Macros + +# %release_name and %tizen_full_version are used in platform/upstream/tizen-release + +Macros: +%release_name Tizen8.0/Unified + +%tizen_version_major 8 +%tizen_version_minor 0 +%tizen_version_patch 0 + +%tizen_version %{tizen_version_major}.%{tizen_version_minor} +%tizen_full_version %{tizen_version}.%{tizen_version_patch} +%tizen %tizen_version +%vendor tizen +%_vendor tizen +%_with_tizen 1 + +#### %__spec_check_pre exit 0 +#### %run_check_section 0 +%opensuse_bs 1 +%_default_patch_fuzz 2 +:Macros + +########## mesa activation / coregl ########## + +%define _with_mesa 1 +Macros: +%_with_mesa 1 +:Macros + +Substitute: mesa-devel pkgconfig(glesv2) +Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) +Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl) + +Prefer: coregl coregl-devel +Prefer: libwayland-egl libwayland-egl-devel +Prefer: vulkan-loader vulkan-loader-devel +#libelementary.so (upstream, tizen-only ) so add below Prefer. Requested by EFL team. +Prefer: elementary + +########## WAYLAND ######### + +%define _with_wayland 1 +Macros: +%_with_wayland 1 +:Macros + +########## RDP flag ########## + +# enable/disable RDP (remote desktop protocol) for wayland +# flag: _with_rdp, used in repositories +# Affects: weston, freerdp +# Owner: Manuel + +############################# target repositories ############################# + +%if "%_repository" == "standard" + +Prefer: mesa libgbm +Substitute: mesa-libGLESv2 coregl +Substitute: mesa-libEGL coregl + +%define _with_rdp 1 +Macros: +%_with_rdp 1 +:Macros + +%endif + +############################# emulator repositories ############################ + +%if "%_repository" == "emulator" + +Prefer: libgbm +Prefer: emulator-yagl emulator-yagl-devel + +%define _with_emulator 1 +Macros: +%_with_emulator 1 +:Macros + +%endif + +############################# misc config flags ################################ +########## USAGE ########## +# +# IMPORTANT: please follow the following rules when playing with flags +# ******************************************************************** +# +# In spec file, call %bcond_with macro at the beginning and test with %with: +# ------------------------- +# | %bcond_with myfeature +# | [...] +# | %if %{with myfeature} +# | [...] +# | %endif +# | [...] +# ------------------------- +# +# To activate an option, use: +# ------------------------- +# | %define _with_myfeature 1 +# | Macros: +# | %_with_myfeature 1 +# | :Macros +# ------------------------- +# +# To disable an option, DON'T set the values to 0, as the option would still be defined +# but simply comment the lines: this will undefine the option. +# ------------------------- +# | #%define _with_myfeature 1 +# | #Macros: +# | #%_with_myfeature 1 +# | #:Macros +# ------------------------- +# +# More information here: +# https://en.opensuse.org/openSUSE:Build_Service_prjconf#.25bcond +# + +########## flags ########## + +# Activate introspection +# This is needed on GuPNP to build Rygel correctly in IVI +# Impacts potentially packages that use gobject-introspection +# Owner: Mikko + +Macros: +%_with_introspection 1 +:Macros + +############################# other config ##################################### +# derived from Tizen:Base +################################################################################ diff --git a/TIZEN/Tizen/Tizen-Rust/project_env b/TIZEN/Tizen/Tizen-Rust/project_env new file mode 100644 index 0000000..4524919 --- /dev/null +++ b/TIZEN/Tizen/Tizen-Rust/project_env @@ -0,0 +1,4 @@ +GERRIT_HOSTNAME_EXTERNAL='review.tizen.org' +GERRIT_HOSTNAME='review.tizen.org' +GERRIT_REVIEW_URL='https://review.tizen.org/gerrit' +GERRIT_FETCH_URL='ssh://review.tizen.org:29418' diff --git a/TIZEN/Tizen/Tizen-Rust/project_meta b/TIZEN/Tizen/Tizen-Rust/project_meta new file mode 100644 index 0000000..84d5bd4 --- /dev/null +++ b/TIZEN/Tizen/Tizen-Rust/project_meta @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TIZEN/Tizen/Tizen-Rust/snapshot_info b/TIZEN/Tizen/Tizen-Rust/snapshot_info new file mode 100644 index 0000000..613cb9c --- /dev/null +++ b/TIZEN/Tizen/Tizen-Rust/snapshot_info @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + -- 2.7.4