Remove build-time profile dependencies
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 29 Aug 2016 07:09:51 +0000 (16:09 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 21 Dec 2023 23:40:34 +0000 (08:40 +0900)
The usage of profile macro in the previous spec file
has no effect on the code or binary.

Remove the usage of profile macro from the spec file
to allow build optimization.

Change-Id: Ib75ce96679880c38af39117fb7d4d520d776f92f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
make_tizen_keymap.sh
packaging/libxkbcommon.spec

index 1acb2fe..ef9a2db 100755 (executable)
@@ -15,9 +15,9 @@ BASE_KEYSYM_DEC=`python -c "print int('$BASE_KEYSYM', 16)"`
 
 if [ -e ${KEYMAP_FILE_PATH} ]
 then
-       echo "${TIZEN_PROFILE} have a key layout file: ${KEYMAP_FILE_PATH}"
+       echo "We have a key layout file: ${KEYMAP_FILE_PATH}"
 else
-       echo "${TIZEN_PROFILE} doesn't have a key layout file: ${KEYMAP_FILE_PATH}"
+       echo "We don't have a key layout file: ${KEYMAP_FILE_PATH}"
        exit
 fi
 
index accc203..24edb6f 100644 (file)
@@ -39,7 +39,6 @@ in %{name}.
 cp %{SOURCE1001} .
 
 # Generate tizen keymap header
-export TIZEN_PROFILE="%{?profile}"
 export TZ_SYS_RO_SHARE="%{TZ_SYS_RO_SHARE}"
 chmod a+x ./make_tizen_keymap.sh
 ./make_tizen_keymap.sh
@@ -47,7 +46,7 @@ chmod a+x ./gen_tables.sh
 ./gen_tables.sh
 
 %build
-%autogen --disable-static --disable-x11 --with-tizen-profile="%{?profile}"
+%autogen --disable-static --disable-x11"
 %__make %{?_smp_mflags} V=1;
 
 %install