Hello community, here is the log from the commit of package yast2-installation for openSUSE:Factory checked in at 2019-08-09 16:51:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old) and /work/SRC/openSUSE:Factory/.yast2-installation.new.9556 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-installation" Fri Aug 9 16:51:25 2019 rev:428 rq:721514 version:4.2.9 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes 2019-08-05 18:25:16.766878926 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-installation.new.9556/yast2-installation.changes 2019-08-09 16:51:26.345496635 +0200 @@ -1,0 +2,7 @@ +Wed Aug 7 12:16:15 UTC 2019 - Martin Vidner <[email protected]> + +- Stop using the obsolete XVersion API (bsc#1144627) +- Detect missing textdomain during testing (bsc#1130822) +- 4.2.9 + +------------------------------------------------------------------- Old: ---- yast2-installation-4.2.8.tar.bz2 New: ---- yast2-installation-4.2.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-installation.spec ++++++ --- /var/tmp/diff_new_pack.K6exf6/_old 2019-08-09 16:51:26.929496520 +0200 +++ /var/tmp/diff_new_pack.K6exf6/_new 2019-08-09 16:51:26.933496519 +0200 @@ -17,7 +17,7 @@ Name: yast2-installation -Version: 4.2.8 +Version: 4.2.9 Release: 0 Summary: YaST2 - Installation Parts License: GPL-2.0-only ++++++ yast2-installation-4.2.8.tar.bz2 -> yast2-installation-4.2.9.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.8/package/yast2-installation.changes new/yast2-installation-4.2.9/package/yast2-installation.changes --- old/yast2-installation-4.2.8/package/yast2-installation.changes 2019-08-05 16:42:37.000000000 +0200 +++ new/yast2-installation-4.2.9/package/yast2-installation.changes 2019-08-07 14:26:33.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Aug 7 12:16:15 UTC 2019 - Martin Vidner <[email protected]> + +- Stop using the obsolete XVersion API (bsc#1144627) +- Detect missing textdomain during testing (bsc#1130822) +- 4.2.9 + +------------------------------------------------------------------- Mon Aug 5 08:43:21 UTC 2019 - David Diaz <[email protected]> - Improve the detection of a forced base product diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.8/package/yast2-installation.spec new/yast2-installation-4.2.9/package/yast2-installation.spec --- old/yast2-installation-4.2.8/package/yast2-installation.spec 2019-08-05 16:42:37.000000000 +0200 +++ new/yast2-installation-4.2.9/package/yast2-installation.spec 2019-08-07 14:26:33.000000000 +0200 @@ -16,7 +16,7 @@ # Name: yast2-installation -Version: 4.2.8 +Version: 4.2.9 Release: 0 Group: System/YaST License: GPL-2.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.8/src/lib/installation/clients/inst_complex_welcome.rb new/yast2-installation-4.2.9/src/lib/installation/clients/inst_complex_welcome.rb --- old/yast2-installation-4.2.8/src/lib/installation/clients/inst_complex_welcome.rb 2019-08-05 16:42:37.000000000 +0200 +++ new/yast2-installation-4.2.9/src/lib/installation/clients/inst_complex_welcome.rb 2019-08-07 14:26:33.000000000 +0200 @@ -50,6 +50,10 @@ BETA_FILE = "/README.BETA".freeze + def initialize + textdomain "installation" + end + # Main client method def main if FileUtils.Exists(BETA_FILE) && !GetInstArgs.going_back @@ -59,8 +63,6 @@ # bnc#206706 return :auto if Mode.auto - textdomain "installation" - Yast::Wizard.EnableAbortButton loop do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.8/src/lib/installation/clients/inst_system_analysis.rb new/yast2-installation-4.2.9/src/lib/installation/clients/inst_system_analysis.rb --- old/yast2-installation-4.2.8/src/lib/installation/clients/inst_system_analysis.rb 2019-08-05 16:42:37.000000000 +0200 +++ new/yast2-installation-4.2.9/src/lib/installation/clients/inst_system_analysis.rb 2019-08-07 14:26:33.000000000 +0200 @@ -33,11 +33,13 @@ class InstSystemAnalysisClient < Client include Yast::Logger + def initialize + textdomain "installation" + end + def main Yast.import "UI" - textdomain "installation" - # Require here to break dependency cycle (bsc#1070996) require "autoinstall/activate_callbacks" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.8/startup/YaST2.Second-Stage new/yast2-installation-4.2.9/startup/YaST2.Second-Stage --- old/yast2-installation-4.2.8/startup/YaST2.Second-Stage 2019-08-05 16:42:37.000000000 +0200 +++ new/yast2-installation-4.2.9/startup/YaST2.Second-Stage 2019-08-07 14:26:33.000000000 +0200 @@ -25,8 +25,6 @@ # Ignoring SIGHUP seems easiest workaround here trap "" SIGHUP -. /etc/YaST2/XVersion - #============================================= # Functions... #--------------------------------------------- @@ -85,9 +83,8 @@ /usr/lib/info/ \ /usr/local/info/ \ /usr/local/lib/info/ \ - $Xinfodir \ - $Xlibdir/info/ \ - $Xlibdir/xemacs/info/ \ + /usr/info \ + /usr/lib/xemacs/info/ \ /var/adm/packages do test -d $i && touch $i 2> /dev/null @@ -95,7 +92,6 @@ for i in \ /usr/share/info \ /usr/man /usr/share/man \ - $Xmandir \ /usr/openwin/man \ /usr/lib/perl5/man \ /usr/lib/teTeX/man \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.8/startup/YaST2.call new/yast2-installation-4.2.9/startup/YaST2.call --- old/yast2-installation-4.2.8/startup/YaST2.call 2019-08-05 16:42:37.000000000 +0200 +++ new/yast2-installation-4.2.9/startup/YaST2.call 2019-08-07 14:26:33.000000000 +0200 @@ -27,8 +27,6 @@ # #set -x -. /etc/YaST2/XVersion - #============================================= # Functions... #--------------------------------------------- @@ -78,8 +76,7 @@ #--------------------------------------------- if [ ! -z "$NEED_XSERVER" ];then export DISPLAY=:0 - [ -z $Xstartpath ] || ln -snf $Xbindir/XFree86 /var/X11R6/bin/X - $Xexecutable -br -nolisten tcp -deferglyphs 16 2>/dev/tty8 1>&2 vt07 & + Xorg -noreset -br -nolisten tcp -deferglyphs 16 2>/dev/tty8 1>&2 vt07 & xserver_pid=$! wait_for_x11 if [ "$server_running" = 1 ];then @@ -460,7 +457,6 @@ #--------------------------------------------- # 2.1) setup PATH PATH=$ybindir:$PATH -[ -z Xstartpath ] || PATH=/var/X11R6/bin:$PATH #============================================= # 2.3) obtain RAM size in Kb @@ -520,9 +516,9 @@ # 3.1.5) Check for xorg.conf... if [ ! -f /etc/X11/xorg.conf ] ; then - if [ -f $Xorgconftempl ] ; then - log "\tCopying $Xorgconftempl to /etc/X11/xorg.conf" - cp $Xorgconftempl /etc/X11/xorg.conf + if [ -f /etc/X11/xorg.conf.template ] ; then + log "\tCopying /etc/X11/xorg.conf.template to /etc/X11/xorg.conf" + cp /etc/X11/xorg.conf.template /etc/X11/xorg.conf fi fi @@ -572,7 +568,7 @@ MEDIUM[2]=0 fi # 3.3.2) Check for VNC X-Server binary -if [ ! -x $Xbindir/Xvnc ] ; then +if [ ! -x /usr/bin/Xvnc ] ; then log "\tNo Xvnc server installed -> Medium VNC disabled" MEDIUM[2]=0 fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.8/startup/common/vnc.sh new/yast2-installation-4.2.9/startup/common/vnc.sh --- old/yast2-installation-4.2.8/startup/common/vnc.sh 2019-08-05 16:42:37.000000000 +0200 +++ new/yast2-installation-4.2.9/startup/common/vnc.sh 2019-08-07 14:26:33.000000000 +0200 @@ -16,7 +16,6 @@ # STATUS : $Id$ #---------------- -. /etc/YaST2/XVersion # set python path for websockify # (only present and needed in the inst-sys) if [ -r /root/.profile ]; then @@ -30,7 +29,7 @@ # password file. # VNCPASS_EXCEPTION=0 - VNCPASS=$Xbindir/vncpasswd.arg + VNCPASS=/usr/bin/vncpasswd.arg if [ ! -e /root/.vnc/passwd.yast ]; then rm -rf /root/.vnc && mkdir -p /root/.vnc $VNCPASS /root/.vnc/passwd.yast "$VNCPassword" @@ -84,7 +83,7 @@ [ -z "$VNCSize" ] && VNCSize=1024x768 # For -noreset see BNC #351338 - $Xbindir/Xvnc $Xvncparam :0 \ + /usr/bin/Xvnc :0 \ -noreset \ -rfbauth /root/.vnc/passwd.yast \ -desktop "Installation" \ @@ -93,7 +92,7 @@ -dpi 96 \ -rfbwait 120000 \ -rfbport 5901 \ - -fp $Xfontdir/misc/,$Xfontdir/uni/,$Xfontdir/truetype/ \ + -fp /usr/share/fonts/misc/,/usr/share/fonts/uni/,/usr/share/fonts/truetype/ \ >/var/log/YaST2/vncserver.log 2>&1 & xserver_pid=$! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.8/test/ssh_config_test.rb new/yast2-installation-4.2.9/test/ssh_config_test.rb --- old/yast2-installation-4.2.8/test/ssh_config_test.rb 2019-08-05 16:42:37.000000000 +0200 +++ new/yast2-installation-4.2.9/test/ssh_config_test.rb 2019-08-07 14:26:33.000000000 +0200 @@ -34,6 +34,7 @@ let(:root4_dir) { FIXTURES_DIR.join("root4") } before do + textdomain "installation" # The ssh_host private key file is more recent than any other file allow(File).to receive(:atime) do |path| path =~ /ssh_host_key$/ ? recent_root1_atime : old_root1_atime @@ -54,7 +55,7 @@ it "uses name and version when PRETTY_NAME is missing in /etc/os-release" do root3 = described_class.from_dir(root3_dir) - expect(root3.system_name).to eq _("SUSE 10") + expect(root3.system_name).to eq "SUSE 10" end it "stores all the keys and files with their names" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.8/test/ssh_import_auto_test.rb new/yast2-installation-4.2.9/test/ssh_import_auto_test.rb --- old/yast2-installation-4.2.8/test/ssh_import_auto_test.rb 2019-08-05 16:42:37.000000000 +0200 +++ new/yast2-installation-4.2.9/test/ssh_import_auto_test.rb 2019-08-07 14:26:33.000000000 +0200 @@ -11,6 +11,7 @@ let(:args) { [] } before do + textdomain "installation" allow(Yast::WFM).to receive(:Args).and_return([func, args]) allow(Yast::Mode).to receive(:mode).and_return(mode) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.8/test/ssh_importer_presenter_test.rb new/yast2-installation-4.2.9/test/ssh_importer_presenter_test.rb --- old/yast2-installation-4.2.8/test/ssh_importer_presenter_test.rb 2019-08-05 16:42:37.000000000 +0200 +++ new/yast2-installation-4.2.9/test/ssh_importer_presenter_test.rb 2019-08-07 14:26:33.000000000 +0200 @@ -16,6 +16,8 @@ let(:copy_config) { false } before do + textdomain "installation" + importer.configurations.clear importer.reset importer.add_config(FIXTURES_DIR.join(config), "dev") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.8/test/test_helper.rb new/yast2-installation-4.2.9/test/test_helper.rb --- old/yast2-installation-4.2.8/test/test_helper.rb 2019-08-05 16:42:37.000000000 +0200 +++ new/yast2-installation-4.2.9/test/test_helper.rb 2019-08-07 14:26:33.000000000 +0200 @@ -5,6 +5,8 @@ # make sure we run the tests in English locale # (some tests check the output which is marked for translation) ENV["LC_ALL"] = "en_US.UTF-8" +# fail fast if a class does not declare textdomain (bsc#1130822) +ENV["Y2STRICTTEXTDOMAIN"] = "1" require "yast" require "yast/rspec"
