add Tizen-Rust 65/299365/1
authorHyunggi Lee <hyunggi.lee@samsung.com>
Tue, 26 Sep 2023 10:04:31 +0000 (19:04 +0900)
committerHyunggi Lee <hyunggi.lee@samsung.com>
Tue, 26 Sep 2023 10:04:31 +0000 (19:04 +0900)
Change-Id: I2c7f72607a76b3b598e74aacd5c27599d52addd0
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
TIZEN/Tizen/Tizen-Rust/candidate_snapshot [new file with mode: 0644]
TIZEN/Tizen/Tizen-Rust/manifest.xml [new file with mode: 0644]
TIZEN/Tizen/Tizen-Rust/project_config [new file with mode: 0644]
TIZEN/Tizen/Tizen-Rust/project_env [new file with mode: 0644]
TIZEN/Tizen/Tizen-Rust/project_meta [new file with mode: 0644]
TIZEN/Tizen/Tizen-Rust/snapshot_info [new file with mode: 0644]

diff --git a/TIZEN/Tizen/Tizen-Rust/candidate_snapshot b/TIZEN/Tizen/Tizen-Rust/candidate_snapshot
new file mode 100644 (file)
index 0000000..6603466
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<snapshotinfo>
+  <candidate target="reference" url="http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Rust/" />
+  <base_candidate target="reference" url="http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/" />
+  <base_candidate target="tizen-base_20230908.014753" url="http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/" />
+  <base_candidate target="tizen-base_20230913.215206" url="http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/" />
+</snapshotinfo>
\ 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 (file)
index 0000000..c15fc78
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<manifest>
+  <remote name="tizen" fetch="ssh://review.tizen.org:29418" review="https://review.tizen.org"/>
+  <default revision="tizen" remote="tizen" sync-j="8"/>
+  <reference project="Tizen-Rust" url="http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Rust/tizen-unified_20230926.044539"/>
+</manifest>
diff --git a/TIZEN/Tizen/Tizen-Rust/project_config b/TIZEN/Tizen/Tizen-Rust/project_config
new file mode 100644 (file)
index 0000000..e41f654
--- /dev/null
@@ -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 <manuel.bachmann@open.eurogiciel.org>
+
+############################# 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 <mikko.ylinen@intel.com>
+
+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 (file)
index 0000000..4524919
--- /dev/null
@@ -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 (file)
index 0000000..84d5bd4
--- /dev/null
@@ -0,0 +1,25 @@
+<project name="Tizen-Rust">
+  <debuginfo>
+    <enable/>
+  </debuginfo>
+  <repository name="standard">
+    <arch name="armv7l"/>
+    <arch name="armv7hl"/>
+    <arch name="i586"/>
+    <arch name="aarch64"/>
+    <arch name="x86_64"/>
+  </repository>
+  <branch_candidate name="tizen">
+    <default/>
+    <org name="">
+      <branch name="tizen"/>
+    </org>
+  </branch_candidate>
+  <use_img_addrm>
+    <disable/>
+  </use_img_addrm>
+  <maintainers>
+    <project_leader></project_leader>
+  </maintainers>
+</project>
+
diff --git a/TIZEN/Tizen/Tizen-Rust/snapshot_info b/TIZEN/Tizen/Tizen-Rust/snapshot_info
new file mode 100644 (file)
index 0000000..613cb9c
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<snapshotinfo>
+  <latest target="tizen-unified_20230926.044539" url="http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/"/>
+  <reference target="tizen-unified_20230926.044539" url="http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/"/>
+  <base target="reference" url="http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/">
+    <repository name="standard">
+      <type name="standard"/>
+    </repository>
+  </base>
+  <base target="reference" url="http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/">
+    <repository name="standard">
+      <type name="standard"/>
+    </repository>
+  </base>
+
+</snapshotinfo>