summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2016-08-29 16:09:51 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2023-12-22 08:40:34 +0900
commitb0cc398406d4161c38f27f00f87ca24f369da3a8 (patch)
tree9a578c97779fbe93681d59b3e50caef20c91d6de
parentbb3a6894d5521a9cbf9be2ec0012cf6b861537e2 (diff)
downloadlibxkbcommon-b0cc398406d4161c38f27f00f87ca24f369da3a8.tar.gz
libxkbcommon-b0cc398406d4161c38f27f00f87ca24f369da3a8.tar.bz2
libxkbcommon-b0cc398406d4161c38f27f00f87ca24f369da3a8.zip
Remove build-time profile dependencies
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>
-rwxr-xr-xmake_tizen_keymap.sh4
-rw-r--r--packaging/libxkbcommon.spec3
2 files changed, 3 insertions, 4 deletions
diff --git a/make_tizen_keymap.sh b/make_tizen_keymap.sh
index 1acb2fe..ef9a2db 100755
--- a/make_tizen_keymap.sh
+++ b/make_tizen_keymap.sh
@@ -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
diff --git a/packaging/libxkbcommon.spec b/packaging/libxkbcommon.spec
index accc203..24edb6f 100644
--- a/packaging/libxkbcommon.spec
+++ b/packaging/libxkbcommon.spec
@@ -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