diff options
author | JengHyun Kang <jhyuni.kang@samsung.com> | 2016-08-30 19:02:04 +0900 |
---|---|---|
committer | JengHyun Kang <jhyuni.kang@samsung.com> | 2016-08-30 19:04:10 +0900 |
commit | 1bccb450e7a04c28e6b67a63d2bc41d3d2747bcf (patch) | |
tree | d48692586e0e4c8fdea610c893abb8c3de9b7292 | |
parent | 92757f28fc9cf7fb90bdfc290b1b97e173c30a72 (diff) | |
download | xkeyboard-config-1bccb450e7a04c28e6b67a63d2bc41d3d2747bcf.tar.gz xkeyboard-config-1bccb450e7a04c28e6b67a63d2bc41d3d2747bcf.tar.bz2 xkeyboard-config-1bccb450e7a04c28e6b67a63d2bc41d3d2747bcf.zip |
Remove a dependancy of profilesubmit/tizen_unified/20170308.100417submit/tizen_3.0_common/20161104.104000submit/tizen_3.0/20161028.092423submit/tizen_3.0/20161028.062323submit/tizen_3.0.m2/20170104.093755submit/tizen/20161013.111810accepted/tizen/wearable/20161015.000154accepted/tizen/unified/20170309.040704accepted/tizen/tv/20161015.000200accepted/tizen/mobile/20161015.000147accepted/tizen/ivi/20161015.000204accepted/tizen/common/20161013.161004accepted/tizen/3.0/wearable/20161028.150820accepted/tizen/3.0/tv/20161028.143453accepted/tizen/3.0/mobile/20161028.143142accepted/tizen/3.0/ivi/20161028.151249accepted/tizen/3.0/common/20161114.111959accepted/tizen/3.0.m2/wearable/20170105.025747accepted/tizen/3.0.m2/tv/20170105.025703accepted/tizen/3.0.m2/mobile/20170105.025538tizen_3.0_tvtizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobile
Change-Id: I9f4d8ecb7276513fdcd7f8c7d6c1dd3eed8b7e44
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | keycodes/Makefile.am | 2 | ||||
-rwxr-xr-x | make_keycodes.sh | 6 | ||||
-rwxr-xr-x | make_symbols.sh | 6 | ||||
-rw-r--r-- | packaging/xkeyboard-config.spec | 10 |
5 files changed, 11 insertions, 20 deletions
diff --git a/configure.ac b/configure.ac index 4c95ab9c..1689ff68 100644 --- a/configure.ac +++ b/configure.ac @@ -14,11 +14,6 @@ AC_PROG_SED AC_SUBST(VERSION) -AC_ARG_WITH( tizen_profile, - [AS_HELP_STRING([--with-tizen-profile=PROFILE],[Tizen Profile])], - tizen_profile="$withval", - tizen_profile="common" ) - AC_CHECK_FILE(/usr/share/X11/xkb/tizen_key_layout.txt, [key_layout_exist=yes], [key_layout_exist=no]) AM_CONDITIONAL(KEY_LAYOUT_EXIST, [test "x$key_layout_exist" = xyes]) @@ -84,8 +79,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package]) ALL_LINGUAS="af az bg ca crh cs da de el en_GB eo es fi fr gl hr hu id it ja ka ko ky lt nb nl pl pt_BR ro ru rw sk sl sq sr sv tr uk vi zh_CN zh_TW" -AC_SUBST(tizen_profile) -AM_CONDITIONAL(TIZEN_COMMON_PROFILE, test "${tizen_profile}" = "common") AC_SUBST(xkb_base) AC_SUBST(xkb_rules_symlink) diff --git a/keycodes/Makefile.am b/keycodes/Makefile.am index c784d63a..18a035f6 100644 --- a/keycodes/Makefile.am +++ b/keycodes/Makefile.am @@ -20,7 +20,7 @@ xfree98 \ README if KEY_LAYOUT_EXIST -keycodes_DATA += tizen_${tizen_profile} +keycodes_DATA += tizen endif EXTRA_DIST = $(keycodes_DATA) diff --git a/make_keycodes.sh b/make_keycodes.sh index e1ccafc2..176c3aa9 100755 --- a/make_keycodes.sh +++ b/make_keycodes.sh @@ -6,16 +6,16 @@ fi KEYCODES_PATH="./keycodes/" DEFAULT_KEYCODES_NAME="evdev" -NEW_KEYCODES_NAME="tizen_"${TIZEN_PROFILE} +NEW_KEYCODES_NAME="tizen" FULL_KEY_LIST="\/\/ For Tizen Keycodes" CHANGE_STRING="\/\/ @For Tizen Keycodes@" PLATFORM_BASE_KEYCODE=8 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/make_symbols.sh b/make_symbols.sh index 85b734e5..67040023 100755 --- a/make_symbols.sh +++ b/make_symbols.sh @@ -7,16 +7,16 @@ fi SYMBOLS_PATH="./symbols/inet" DEFAULT_SYMBOLS_NAME="evdev" DEFAULT_SYMBOLS_DEFINE="Evdev" -NEW_SYMBOLS_NAME="tizen_"${TIZEN_PROFILE} +NEW_SYMBOLS_NAME="tizen" DEFAULT_SYMBOLS_SECTION=false TEMP_SYMBOLS_FILE="./symbols/inet_tizen" PLATFORM_BASE_KEYCODE=8 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/xkeyboard-config.spec b/packaging/xkeyboard-config.spec index 0a7e98e0..2f135147 100644 --- a/packaging/xkeyboard-config.spec +++ b/packaging/xkeyboard-config.spec @@ -42,7 +42,6 @@ make keyboards more accessible to people with physical impairments. %prep %setup -q cp %{SOURCE1001} . -export TIZEN_PROFILE="%{?profile}" %if %{with x} export TIZEN_WINDOW_SYSTEM="x11" @@ -60,8 +59,7 @@ export KEYMAP_FILE_PATH="%{KEYMAP_FILE_PATH}" --with-xkb-base=%{TZ_SYS_RO_SHARE}/X11/xkb \ --enable-compat_rules \ --disable-runtime-deps \ - --disable-xkbcomp-symlink \ - --with-tizen-profile="%{?profile}" + --disable-xkbcomp-symlink rm -f */*.dir %__make @@ -75,10 +73,10 @@ ln -snf %{TZ_SYS_VAR}/lib/xkb/compiled/ %{buildroot}%{_datadir}/X11/xkb/compiled %find_lang %{name} %fdupes -s %{buildroot}%{_datadir}/X11/xkb -cp -af %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/tizen_"%{?profile}" +cp -af %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/tizen mv -f %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev.org -sed -i 's/evdev/tizen_%{?profile}/g' %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/tizen_"%{?profile}" -ln -sf tizen_"%{?profile}" %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev +sed -i 's/evdev/tizen/g' %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/tizen +ln -sf tizen %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev export LOCAL_KEYMAP_PATH=%{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb export RULE_FILE_PATH=%{TZ_SYS_RO_SHARE}/X11/xkb/xkb.rule export KEYMAP_FILE_PATH="%{KEYMAP_FILE_PATH}" |