Hello community,

here is the log from the commit of package live-langset-data for 
openSUSE:Factory checked in at 2018-11-09 07:55:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/live-langset-data (Old)
 and      /work/SRC/openSUSE:Factory/.live-langset-data.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "live-langset-data"

Fri Nov  9 07:55:24 2018 rev:11 rq:647321 version:2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/live-langset-data/live-langset-data.changes      
2018-11-08 09:49:23.485036092 +0100
+++ /work/SRC/openSUSE:Factory/.live-langset-data.new/live-langset-data.changes 
2018-11-09 07:55:31.683635028 +0100
@@ -1,0 +2,9 @@
+Thu Nov  8 12:48:15 UTC 2018 - Fabian Vogt <[email protected]>
+
+- Simplify code:
+  * Remove remaining support for non-UTF-8
+  * Don't set the X11 keymap, localectl does that already with the
+    same mapping table
+  * Remove YAST_KEYBOARD, not used
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ getcountrydata.rb ++++++
--- /var/tmp/diff_new_pack.bPGG0H/_old  2018-11-09 07:55:32.047634612 +0100
+++ /var/tmp/diff_new_pack.bPGG0H/_new  2018-11-09 07:55:32.051634607 +0100
@@ -33,9 +33,6 @@
         kbd = Keyboard.GetKeyboardForLanguage(lang, "us")
         # does not really set keyboard, only fills some data
         Keyboard.SetKeyboard(kbd)
-        # set language for encoding
-        WFM.SetLanguage(fqlanguage)
-        yast_kbd = "#{kbd},#{Keyboard.kb_model}"
         consolefont = consolefonts[fqlanguage] || consolefonts[lang]
         if consolefont.nil? && lang.size > 2
           consolefont = consolefonts[lang[0,2]]
@@ -60,16 +57,9 @@
           "CONSOLE_UNICODEMAP='#{unicodeMap}'\n" +
           "CONSOLE_MAGIC='#{magic}'\n" +
           "KEYTABLE='#{Keyboard.keymap}'\n" +
-          "YAST_KEYBOARD='#{yast_kbd}'\n" +
-          "TIMEZONE='#{timezone}'\n" +
-          "CONSOLE_ENCODING='#{WFM.GetEncoding}'"
+          "TIMEZONE='#{timezone}'\n"
 
-        contents << "\nRC_LC_MESSAGES='zh_TW.UTF-8'" if lang == "zh_HK"
-        x11data = Keyboard.GetX11KeyData(Keyboard.keymap)
-        Builtins.foreach(x11data) do |key, val|
-          contents << "\n#{key}='#{val}'"
-        end
-        contents << "\n"
+        contents << "RC_LC_MESSAGES='zh_TW.UTF-8'\n" if lang == "zh_HK"
         SCR.Write(path(".target.string"), dir + "/" + fqlanguage, contents)
       end
     end

++++++ langset.sh ++++++
--- /var/tmp/diff_new_pack.bPGG0H/_old  2018-11-09 07:55:32.091634561 +0100
+++ /var/tmp/diff_new_pack.bPGG0H/_new  2018-11-09 07:55:32.095634558 +0100
@@ -74,10 +74,6 @@
 
 [ -n "$TIMEZONE" ] && [ -f "/usr/share/zoneinfo/$TIMEZONE" ] && rm -f 
/etc/localtime && ln -s /usr/share/zoneinfo/$TIMEZONE /etc/localtime
 
-if [ -n "$XkbLayout" ] && [ -n "$XkbModel" ] && [ -n "$XkbVariant" ] && [ -n 
"$XkbOptions" ]; then
-  localectl set-x11-keymap "$XkbLayout" "$XkbModel" "$XkbVariant" "$XkbOptions"
-fi
-
 # Override with the cmdline provided one, if possible
 [ -z "$keytable" ] || localectl set-keymap $keytable
 


Reply via email to