From 335b80723baf70c57a10114355110956660f5b40 Mon Sep 17 00:00:00 2001 From: Joonsub Lee Date: Sun, 16 Oct 2016 12:39:56 +0900 Subject: [PATCH] Initialize Tizen:3.0:Mobie/TV/Wearable/IVI * Copy configurations from Tizen:Mobile/TV/Wearable/IVI - Add linkpac, aggregatepac same as Tizen:Mobile/TV/Wearable/IVI * Small changes at Tizen:3.0:IVI - cut build dependency with Tizen:IVI Change-Id: I7d1f42ed89dd5599200b38c5423124af32ba4372 Signed-off-by: Joonsub Lee --- Tizen:3.0:IVI/_meta | 2 - Tizen:3.0:Mobile/_config | 175 +++++++++++++++++++++ Tizen:3.0:Mobile/_meta | 43 +++++ Tizen:3.0:Mobile/libcynara-commons/_link | 4 + Tizen:3.0:Mobile/libcynara-dbus/_link | 4 + .../mic-bootstrap_aggregate/_aggregate | 9 ++ Tizen:3.0:Mobile/mic-bootstrap_aggregate/_meta | 10 ++ Tizen:3.0:TV/_config | 168 ++++++++++++++++++++ Tizen:3.0:TV/_meta | 23 +++ Tizen:3.0:TV/libcynara-commons/_link | 4 + Tizen:3.0:TV/libcynara-dbus/_link | 4 + Tizen:3.0:TV/mic-bootstrap_aggregate/_aggregate | 7 + Tizen:3.0:TV/mic-bootstrap_aggregate/_meta | 8 + Tizen:3.0:TV/odroid-linux-kernel/_link | 4 + Tizen:3.0:TV/u-boot-xu3/_link | 4 + Tizen:3.0:Wearable/_config | 152 ++++++++++++++++++ Tizen:3.0:Wearable/_meta | 27 ++++ Tizen:3.0:Wearable/libcynara-commons/_link | 4 + Tizen:3.0:Wearable/libcynara-dbus/_link | 4 + .../mic-bootstrap_aggregate/_aggregate | 7 + Tizen:3.0:Wearable/mic-bootstrap_aggregate/_meta | 8 + 21 files changed, 669 insertions(+), 2 deletions(-) create mode 100644 Tizen:3.0:Mobile/_config create mode 100644 Tizen:3.0:Mobile/_meta create mode 100644 Tizen:3.0:Mobile/libcynara-commons/_link create mode 100644 Tizen:3.0:Mobile/libcynara-dbus/_link create mode 100644 Tizen:3.0:Mobile/mic-bootstrap_aggregate/_aggregate create mode 100644 Tizen:3.0:Mobile/mic-bootstrap_aggregate/_meta create mode 100644 Tizen:3.0:TV/_config create mode 100644 Tizen:3.0:TV/_meta create mode 100644 Tizen:3.0:TV/libcynara-commons/_link create mode 100644 Tizen:3.0:TV/libcynara-dbus/_link create mode 100644 Tizen:3.0:TV/mic-bootstrap_aggregate/_aggregate create mode 100644 Tizen:3.0:TV/mic-bootstrap_aggregate/_meta create mode 100644 Tizen:3.0:TV/odroid-linux-kernel/_link create mode 100644 Tizen:3.0:TV/u-boot-xu3/_link create mode 100644 Tizen:3.0:Wearable/_config create mode 100644 Tizen:3.0:Wearable/_meta create mode 100644 Tizen:3.0:Wearable/libcynara-commons/_link create mode 100644 Tizen:3.0:Wearable/libcynara-dbus/_link create mode 100644 Tizen:3.0:Wearable/mic-bootstrap_aggregate/_aggregate create mode 100644 Tizen:3.0:Wearable/mic-bootstrap_aggregate/_meta diff --git a/Tizen:3.0:IVI/_meta b/Tizen:3.0:IVI/_meta index 9c2748d..d677ea1 100644 --- a/Tizen:3.0:IVI/_meta +++ b/Tizen:3.0:IVI/_meta @@ -13,12 +13,10 @@ - i586 - armv7l i586 diff --git a/Tizen:3.0:Mobile/_config b/Tizen:3.0:Mobile/_config new file mode 100644 index 0000000..9cdadca --- /dev/null +++ b/Tizen:3.0:Mobile/_config @@ -0,0 +1,175 @@ +################################################################################ +# OBS Project config for Tizen:Mobile +# +# RE contacts: +# Joonsub Lee +# +# vim: set syntax=spec: +################################################################################ + +############################# conflicts resolution ############################# + +FileProvides: /usr/sbin/groupadd shadow-utils +Prefer: libtapi-devel +Prefer: libpci-devel +Prefer: bluetooth-tools-no-firmware + +############################# profile definition ############################### + +%define profile mobile +%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: +%profile mobile +%release_name Tizen3/Mobile + +%tizen_version_major 3 +%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 + +%check exit 0 +%run_check_section 0 +%opensuse_bs 1 +%_default_patch_fuzz 2 +:Macros + +############################# display system ################################### + +########## display system selection ########## + +# selection of the display system +# this selection is done for each repository +# +# flags combinations: +# |---------------------------------------------------- +# | wayland | x | meaning +# |---------------------------------------------------- +# | | 1 | pure X11 platform(no wayland) +# | 1 | | pure wayland platform (no X11) +# | 1 | 1 | wayland but X compatibility +# | | | no X and no wayland +# |---------------------------------------------------- +# +# Owner: Stephane + +########## RDP flag ########## + +# enable/disable RDP (remote desktop protocol) for wayland +# flag: _with_rdp, used in repositories +# Affects: weston, freerdp +# Owner: Manuel + +########## mesa activation ########## + +%define _with_mesa 1 +Macros: +%_with_mesa 1 +:Macros + +%ifarch %arm armv7l aarch64 + Substitute: mesa-devel pkgconfig(glesv2) + #FIXME Substitute: pkgconfig(egl) +%endif + +########## coregl ########## +%ifarch %arm aarch64 +Prefer: coregl coregl-devel +Prefer: libwayland-egl libwayland-egl-devel +Substitute: mesa-libGLESv2 coregl +Substitute: mesa-libEGL coregl +%endif + +###################### Activate KDBUS ###################### +# This configuration flag enables the support of KDBUS and Cynara-based Dbus Policy + +#%if "%_repository" == "arm64-wayland" + +#%define _with_kdbus 1 +#%define _with_dbuspolicy 1 + +#Macros: +#%_with_kdbus 1 +#%_with_dbuspolicy 1 +#:Macros + +#%endif + +############################# wayland repositories ############################# + +%if "%_repository" == "atom-wayland" || "%_repository" == "x86_64-wayland" || "%_repository" == "arm-wayland" || "%_repository" == "arm64-wayland" || "%_repository" == "target-TM1" + +Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) +Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl) + +%define _with_wayland 1 +%define _with_rdp 1 + +Macros: +%_with_wayland 1 +%_with_rdp 1 +:Macros + +%endif + +############################# emulator repositories ############################ + +%if "%_repository" == "emulator32-wayland" || "%_repository" == "emulator64-wayland" + +Substitute: mesa-devel pkgconfig(glesv2) + +Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) +Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl) + +Prefer: libgbm +Prefer: coregl coregl-devel +Prefer: emulator-yagl emulator-yagl-devel + +%define _with_wayland 1 +%define _with_emulator 1 + +Macros: +%_with_wayland 1 +%_with_emulator 1 +:Macros + +%endif + +%if "%_repository" == "target-TM1" + +Macros: +%tizen_target_name TM1 +:Macros + +%endif + +############################# misc config 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 + +############################# build config ##################################### +# derived from Tizen:Base +################################################################################ + +########## compilation flags ########## +# derived from Tizen:Base +####################################### \ No newline at end of file diff --git a/Tizen:3.0:Mobile/_meta b/Tizen:3.0:Mobile/_meta new file mode 100644 index 0000000..b677f7e --- /dev/null +++ b/Tizen:3.0:Mobile/_meta @@ -0,0 +1,43 @@ + + Tizen:3.0:Mobile + Tizen:3.0:Mobile + + + + + + + + + + + + + + + + + armv7l + i586 + + + + i586 + x86_64 + + + + i586 + + + + aarch64 + i586 + x86_64 + + + + armv7l + i586 + + diff --git a/Tizen:3.0:Mobile/libcynara-commons/_link b/Tizen:3.0:Mobile/libcynara-commons/_link new file mode 100644 index 0000000..e15822d --- /dev/null +++ b/Tizen:3.0:Mobile/libcynara-commons/_link @@ -0,0 +1,4 @@ + + + + diff --git a/Tizen:3.0:Mobile/libcynara-dbus/_link b/Tizen:3.0:Mobile/libcynara-dbus/_link new file mode 100644 index 0000000..e15822d --- /dev/null +++ b/Tizen:3.0:Mobile/libcynara-dbus/_link @@ -0,0 +1,4 @@ + + + + diff --git a/Tizen:3.0:Mobile/mic-bootstrap_aggregate/_aggregate b/Tizen:3.0:Mobile/mic-bootstrap_aggregate/_aggregate new file mode 100644 index 0000000..4753c28 --- /dev/null +++ b/Tizen:3.0:Mobile/mic-bootstrap_aggregate/_aggregate @@ -0,0 +1,9 @@ + + + mic-bootstrap + mic-bootstrap-x86-arm + + + + + diff --git a/Tizen:3.0:Mobile/mic-bootstrap_aggregate/_meta b/Tizen:3.0:Mobile/mic-bootstrap_aggregate/_meta new file mode 100644 index 0000000..04011be --- /dev/null +++ b/Tizen:3.0:Mobile/mic-bootstrap_aggregate/_meta @@ -0,0 +1,10 @@ + + + <description/> + <build> + <disable/> + <enable arch="i586" repository="arm-wayland"/> + <enable arch="i586" repository="target-TM1"/> + <enable arch="x86_64" repository="arm64-wayland"/> + </build> +</package> diff --git a/Tizen:3.0:TV/_config b/Tizen:3.0:TV/_config new file mode 100644 index 0000000..9440199 --- /dev/null +++ b/Tizen:3.0:TV/_config @@ -0,0 +1,168 @@ +################################################################################ +# OBS Project config for Tizen:TV +# +# RE contacts: +# Joonsub Lee (joon-sub.lee@samsung.com) +# Hyunggi Lee (hyunggi.lee@samsung.com) +# +# vim: set syntax=spec: +################################################################################ + +############################# conflicts resolution ############################# + +FileProvides: /usr/sbin/groupadd shadow-utils +Prefer: libtapi-devel +Prefer: libpci-devel +Prefer: bluetooth-tools-no-firmware + +############################# profile definition ############################### + +%define profile tv +%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: +%profile tv +%release_name Tizen3/TV + +%tizen_version_major 3 +%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 + +%check exit 0 +%run_check_section 0 +%opensuse_bs 1 +%_default_patch_fuzz 2 +:Macros + +############################# display system ################################### + +########## display system selection ########## + +# selection of the display system +# this selection is done for each repository +# +# flags combinations: +# |---------------------------------------------------- +# | wayland | x | meaning +# |---------------------------------------------------- +# | | 1 | pure X11 platform(no wayland) +# | 1 | | pure wayland platform (no X11) +# | 1 | 1 | wayland but X compatibility +# | | | no X and no wayland +# |---------------------------------------------------- +# +# Owner: Stephane <stephane.desneux@open.eurogiciel.org> + +########## 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> + +########## mesa activation ########## + +%define _with_mesa 1 +Macros: +%_with_mesa 1 +:Macros + +%ifarch %arm armv7l aarch64 + Substitute: mesa-devel pkgconfig(glesv2) + #FIXME Substitute: pkgconfig(egl) +%endif + +########## coregl ########## +%ifarch %arm aarch64 +Prefer: coregl coregl-devel +Prefer: libwayland-egl libwayland-egl-devel +Substitute: mesa-libGLESv2 coregl +Substitute: mesa-libEGL coregl +%endif + +###################### Activate KDBUS ###################### +# This configuration flag enables the support of KDBUS and Cynara-based Dbus Policy + +%if "%_repository" == "arm-wayland" + +%define _with_kdbus 1 +%define _with_dbuspolicy 1 + +Macros: +%_with_kdbus 1 +%_with_dbuspolicy 1 +:Macros + +%endif + +############################# wayland repositories ############################# + +%if "%_repository" == "ia32-wayland" || "%_repository" == "x86_64-wayland" || "%_repository" == "arm-wayland" + +Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) +Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl) + +%define _with_wayland 1 +%define _with_rdp 1 + +Macros: +%_with_wayland 1 +%_with_rdp 1 +:Macros + +%endif + +############################# emulator repositories ############################ + +%if "%_repository" == "emulator32-wayland" + +Substitute: mesa-devel pkgconfig(glesv2) + +Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) +Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl) + +Prefer: libgbm +Prefer: coregl coregl-devel +Prefer: emulator-yagl emulator-yagl-devel + +%define _with_wayland 1 +%define _with_emulator 1 + +Macros: +%_with_wayland 1 +%_with_emulator 1 +:Macros + +%endif + +############################# misc config 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 + +############################# build config ##################################### +# derived from Tizen:Base +################################################################################ + +########## compilation flags ########## +# derived from Tizen:Base +####################################### \ No newline at end of file diff --git a/Tizen:3.0:TV/_meta b/Tizen:3.0:TV/_meta new file mode 100644 index 0000000..a43a814 --- /dev/null +++ b/Tizen:3.0:TV/_meta @@ -0,0 +1,23 @@ +<project name="Tizen:3.0:TV"> + <title>Tizen:3.0:TV + Tizen:3.0:TV + + + + + + + + + + + + + i586 + + + + armv7l + i586 + + diff --git a/Tizen:3.0:TV/libcynara-commons/_link b/Tizen:3.0:TV/libcynara-commons/_link new file mode 100644 index 0000000..e15822d --- /dev/null +++ b/Tizen:3.0:TV/libcynara-commons/_link @@ -0,0 +1,4 @@ + + + + diff --git a/Tizen:3.0:TV/libcynara-dbus/_link b/Tizen:3.0:TV/libcynara-dbus/_link new file mode 100644 index 0000000..e15822d --- /dev/null +++ b/Tizen:3.0:TV/libcynara-dbus/_link @@ -0,0 +1,4 @@ + + + + diff --git a/Tizen:3.0:TV/mic-bootstrap_aggregate/_aggregate b/Tizen:3.0:TV/mic-bootstrap_aggregate/_aggregate new file mode 100644 index 0000000..a9a57cb --- /dev/null +++ b/Tizen:3.0:TV/mic-bootstrap_aggregate/_aggregate @@ -0,0 +1,7 @@ + + + mic-bootstrap + mic-bootstrap-x86-arm + + + diff --git a/Tizen:3.0:TV/mic-bootstrap_aggregate/_meta b/Tizen:3.0:TV/mic-bootstrap_aggregate/_meta new file mode 100644 index 0000000..8f93f97 --- /dev/null +++ b/Tizen:3.0:TV/mic-bootstrap_aggregate/_meta @@ -0,0 +1,8 @@ + + + <description/> + <build> + <disable/> + <enable arch="i586" repository="arm-wayland"/> + </build> +</package> diff --git a/Tizen:3.0:TV/odroid-linux-kernel/_link b/Tizen:3.0:TV/odroid-linux-kernel/_link new file mode 100644 index 0000000..34d9419 --- /dev/null +++ b/Tizen:3.0:TV/odroid-linux-kernel/_link @@ -0,0 +1,4 @@ +<link package="linux-exynos" cicount="copy"> + <patches> + </patches> +</link> diff --git a/Tizen:3.0:TV/u-boot-xu3/_link b/Tizen:3.0:TV/u-boot-xu3/_link new file mode 100644 index 0000000..9c9fbd6 --- /dev/null +++ b/Tizen:3.0:TV/u-boot-xu3/_link @@ -0,0 +1,4 @@ +<link package="u-boot" cicount="copy"> + <patches> + </patches> +</link> diff --git a/Tizen:3.0:Wearable/_config b/Tizen:3.0:Wearable/_config new file mode 100644 index 0000000..b5af034 --- /dev/null +++ b/Tizen:3.0:Wearable/_config @@ -0,0 +1,152 @@ +################################################################################ +# OBS Project config for Tizen:Wearable +# +# RE contacts: +# Joonsub Lee <joon-sub.lee@samsung.com> +# +# vim: set syntax=spec: +################################################################################ + +############################# conflicts resolution ############################# + +FileProvides: /usr/sbin/groupadd shadow-utils +Prefer: libtapi-devel +Prefer: libpci-devel +Prefer: bluetooth-tools-no-firmware + +############################# profile definition ############################### + +%define profile wearable +%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: +%profile wearable +%release_name Tizen3/Wearable + +%tizen_version_major 3 +%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 + +%check exit 0 +%run_check_section 0 +%opensuse_bs 1 +%_default_patch_fuzz 2 +:Macros + +############################# display system ################################### + +########## display system selection ########## + +# selection of the display system +# this selection is done for each repository +# +# flags combinations: +# |---------------------------------------------------- +# | wayland | x | meaning +# |---------------------------------------------------- +# | | 1 | pure X11 platform(no wayland) +# | 1 | | pure wayland platform (no X11) +# | 1 | 1 | wayland but X compatibility +# | | | no X and no wayland +# |---------------------------------------------------- +# +# Owner: Stephane <stephane.desneux@open.eurogiciel.org> + +########## 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> + +########## mesa activation ########## + +%define _with_mesa 1 +Macros: +%_with_mesa 1 +:Macros + +%ifarch %arm armv7l aarch64 + Substitute: mesa-devel pkgconfig(glesv2) + #FIXME Substitute: pkgconfig(egl) +%endif + +########## coregl ########## +%ifarch %arm aarch64 +Prefer: coregl coregl-devel +Prefer: libwayland-egl libwayland-egl-devel +Substitute: mesa-libGLESv2 coregl +Substitute: mesa-libEGL coregl +%endif + +############################# wayland repositories ############################# + +%if "%_repository" == "target-circle" + +Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) +Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl) + +%define _with_wayland 1 +%define _with_rdp 1 + +Macros: +%_with_wayland 1 +%_with_rdp 1 +:Macros + +%endif + +############################# emulator repositories ############################ + +%if "%_repository" == "emulator32-wayland" || "%_repository" == "emulator-circle" + +Substitute: mesa-devel pkgconfig(glesv2) + +Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) +Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl) + +Prefer: libgbm +Prefer: coregl coregl-devel +Prefer: emulator-yagl emulator-yagl-devel + +%define _with_wayland 1 +%define _with_emulator 1 + +Macros: +%_with_wayland 1 +%_with_emulator 1 +:Macros + +%endif + +############################# misc config 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 + +############################# build config ##################################### +# derived from Tizen:Base +################################################################################ + +########## compilation flags ########## +# derived from Tizen:Base +####################################### \ No newline at end of file diff --git a/Tizen:3.0:Wearable/_meta b/Tizen:3.0:Wearable/_meta new file mode 100644 index 0000000..e766289 --- /dev/null +++ b/Tizen:3.0:Wearable/_meta @@ -0,0 +1,27 @@ +<project name="Tizen:3.0:Wearable"> + <title>Tizen:3.0:Wearable + Tizen:3.0:Wearable + + + + + + + + + + + + + armv7l + i586 + + + + i586 + + + + i586 + + diff --git a/Tizen:3.0:Wearable/libcynara-commons/_link b/Tizen:3.0:Wearable/libcynara-commons/_link new file mode 100644 index 0000000..e15822d --- /dev/null +++ b/Tizen:3.0:Wearable/libcynara-commons/_link @@ -0,0 +1,4 @@ + + + + diff --git a/Tizen:3.0:Wearable/libcynara-dbus/_link b/Tizen:3.0:Wearable/libcynara-dbus/_link new file mode 100644 index 0000000..e15822d --- /dev/null +++ b/Tizen:3.0:Wearable/libcynara-dbus/_link @@ -0,0 +1,4 @@ + + + + diff --git a/Tizen:3.0:Wearable/mic-bootstrap_aggregate/_aggregate b/Tizen:3.0:Wearable/mic-bootstrap_aggregate/_aggregate new file mode 100644 index 0000000..ad1ea5a --- /dev/null +++ b/Tizen:3.0:Wearable/mic-bootstrap_aggregate/_aggregate @@ -0,0 +1,7 @@ + + + mic-bootstrap + mic-bootstrap-x86-arm + + + diff --git a/Tizen:3.0:Wearable/mic-bootstrap_aggregate/_meta b/Tizen:3.0:Wearable/mic-bootstrap_aggregate/_meta new file mode 100644 index 0000000..fd930f1 --- /dev/null +++ b/Tizen:3.0:Wearable/mic-bootstrap_aggregate/_meta @@ -0,0 +1,8 @@ + + + <description/> + <build> + <enable arch="i586" repository="target-circle"/> + <disable/> + </build> +</package> -- 2.7.4