From a835e66386f1e1afb4da1c60115579779157d485 Mon Sep 17 00:00:00 2001 From: Youmin Ha Date: Mon, 8 Apr 2013 14:01:55 +0900 Subject: [PATCH] build: tizen-black theme package Make a new package, tizen-black. And fixed build to make only one default theme, tizen-tizen. Change-Id: I10c32847215a3dc793d4e02b106ddc4acb30a44a --- packaging/web-ui-fw.spec | 16 +++++++++++++++- src/themes/Makefile | 5 ++++- src/themes/tizen/tizen-black/Makefile | 1 - src/themes/tizen/tizen-white/Makefile | 1 - 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/packaging/web-ui-fw.spec b/packaging/web-ui-fw.spec index 2b30929..519c268 100644 --- a/packaging/web-ui-fw.spec +++ b/packaging/web-ui-fw.spec @@ -29,7 +29,8 @@ make DESTDIR=%{buildroot} install %files %manifest web-ui-fw.manifest -/usr/share/tizen-web-ui-fw/*/js +/usr/share/tizen-web-ui-fw/*/js/*.js +/usr/share/tizen-web-ui-fw/*/js/cultures /usr/share/tizen-web-ui-fw/latest /usr/share/tizen-web-ui-fw/VERSION @@ -39,6 +40,7 @@ BuildArch: noarch Summary: Tizen Web UI Framework Theme : tizen-gray %Description -n web-ui-fw-theme-tizen-gray Tizen Web UI Framework Theme : tizen-gray + Deprecated package, but some binaries still refer this. ############################### %package -n web-ui-fw-theme-tizen-white @@ -52,6 +54,16 @@ Summary: Tizen Web UI Framework Theme : tizen-white /usr/share/tizen-web-ui-fw/*/themes/tizen-tizen ############################### +%package -n web-ui-fw-theme-tizen-black +BuildArch: noarch +Summary: Tizen Web UI Framework Theme : tizen-black +%Description -n web-ui-fw-theme-tizen-black + Tizen Web UI Framework Theme : tizen-black +%files -n web-ui-fw-theme-tizen-black +%manifest web-ui-fw-theme-tizen-black.manifest +/usr/share/tizen-web-ui-fw/*/themes/tizen-black + +############################### %package -n web-ui-fw-theme-default BuildArch: noarch Summary: Tizen Web UI Framework Theme : default @@ -70,6 +82,8 @@ Summary: Tizen Web UI Framework Developer's files %files -n web-ui-fw-devel /usr/share/tizen-web-ui-fw/bin /usr/share/tizen-web-ui-fw/template +/usr/share/tizen-web-ui-fw/*/js/src +/usr/share/tizen-web-ui-fw/*/js/depData.json ############################### %package -n web-ui-fw-demo-tizen-winsets diff --git a/src/themes/Makefile b/src/themes/Makefile index c321dba..a81c1d8 100644 --- a/src/themes/Makefile +++ b/src/themes/Makefile @@ -1,7 +1,7 @@ THEMES = tizen/tizen-* export THEME_OUTPUT_ROOT ?= ../build/ -all: themes +all: themes defaulttheme themes: # Make themes... @@ -9,6 +9,9 @@ themes: make -C $$theme || exit $?; \ done +defaulttheme: themes + ln -sf tizen-white ${THEME_OUTPUT_ROOT}/tizen-tizen + clean: # Clean themes... @for theme in ${THEMES}; do \ diff --git a/src/themes/tizen/tizen-black/Makefile b/src/themes/tizen/tizen-black/Makefile index bef9b1f..5cb36c3 100644 --- a/src/themes/tizen/tizen-black/Makefile +++ b/src/themes/tizen/tizen-black/Makefile @@ -49,7 +49,6 @@ all: prepare css images js prepare: -mkdir -p ${OUTPUT_DIR} - -ln -sf ${THEME_NAME} ${THEME_OUTPUT_ROOT}/tizen-tizen less: prepare # Compiling less to css... diff --git a/src/themes/tizen/tizen-white/Makefile b/src/themes/tizen/tizen-white/Makefile index fd6a9d1..e184038 100644 --- a/src/themes/tizen/tizen-white/Makefile +++ b/src/themes/tizen/tizen-white/Makefile @@ -49,7 +49,6 @@ all: prepare css images js prepare: -mkdir -p ${OUTPUT_DIR} - -ln -sf ${THEME_NAME} ${THEME_OUTPUT_ROOT}/tizen-tizen less: prepare # Compiling less to css... -- 2.7.4