Hello community,

here is the log from the commit of package putty for openSUSE:Factory checked 
in at 2017-05-06 18:30:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/putty (Old)
 and      /work/SRC/openSUSE:Factory/.putty.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "putty"

Sat May  6 18:30:13 2017 rev:13 rq:492734 version:0.69

Changes:
--------
--- /work/SRC/openSUSE:Factory/putty/putty.changes      2017-03-16 
09:51:49.319353577 +0100
+++ /work/SRC/openSUSE:Factory/.putty.new/putty.changes 2017-05-06 
18:30:23.256994753 +0200
@@ -1,0 +2,8 @@
+Tue May  2 12:11:41 UTC 2017 - [email protected]
+
+- Update to new upstream release 0.69
+  * You can now explicitly configure SSH terminal mode settings
+    not to be sent to the server, if your server objects to them.
+- Switch to gtk+3 interface, add gtk-buildfix.diff.
+
+-------------------------------------------------------------------

Old:
----
  putty-0.68.tar.gz
  putty-0.68.tar.gz.gpg

New:
----
  gtk-buildfix.diff
  putty-0.69.tar.gz
  putty-0.69.tar.gz.gpg

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

Other differences:
------------------
++++++ putty.spec ++++++
--- /var/tmp/diff_new_pack.j0FoL2/_old  2017-05-06 18:30:24.056881885 +0200
+++ /var/tmp/diff_new_pack.j0FoL2/_new  2017-05-06 18:30:24.056881885 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           putty
-Version:        0.68
+Version:        0.69
 Release:        0
 Summary:        GTK-based terminal emulator program
 License:        MIT
@@ -30,9 +30,10 @@
 Source2:        
http://the.earth.li/~sgtatham/putty/latest/%name-%version.tar.gz.gpg
 Source4:        %name.keyring
 Patch1:         putty-03-config.diff
+Patch2:         gtk-buildfix.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ImageMagick
-BuildRequires:  gtk2-devel
+BuildRequires:  gtk3-devel
 BuildRequires:  krb5-devel
 BuildRequires:  update-desktop-files
 Conflicts:      pssh
@@ -44,7 +45,7 @@
 
 %prep
 %setup -q
-%patch -P 1 -p1
+%patch -P 1 -P 2 -p1
 
 %build
 %configure

++++++ gtk-buildfix.diff ++++++
>From 230f7d56284a703c65c4fecf7e6f23b791043f81 Mon Sep 17 00:00:00 2001
From: Zero King <[email protected]>
Date: Sun, 30 Apr 2017 11:01:13 +0100
Subject: [PATCH] Fix thinko introduced in 8833634f4.

This prevented compilation with Gtk 2.
---
 unix/gtkwin.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/unix/gtkwin.c b/unix/gtkwin.c
index 69e33509..bca6daa4 100644
--- a/unix/gtkwin.c
+++ b/unix/gtkwin.c
@@ -2188,11 +2188,11 @@ void set_gtk_widget_background(GtkWidget *widget, const 
GdkColor *col)
     free(data);
     free(col_css);
 #else
-    if (gtk_widget_get_window(win)) {
+    if (gtk_widget_get_window(widget)) {
         /* For GTK1, which doesn't have a 'const' on
          * gdk_window_set_background's second parameter type. */
         GdkColor col_mutable = *col;
-        gdk_window_set_background(gtk_widget_get_window(win), &col_mutable);
+        gdk_window_set_background(gtk_widget_get_window(widget), &col_mutable);
     }
 #endif
 }
-- 
2.12.2

++++++ putty-0.68.tar.gz -> putty-0.69.tar.gz ++++++
++++ 10163 lines of diff (skipped)

++++++ putty-03-config.diff ++++++
--- /var/tmp/diff_new_pack.j0FoL2/_old  2017-05-06 18:30:24.576808521 +0200
+++ /var/tmp/diff_new_pack.j0FoL2/_new  2017-05-06 18:30:24.576808521 +0200
@@ -10,10 +10,10 @@
  windows/windefs.c |    2 +-
  3 files changed, 36 insertions(+), 23 deletions(-)
 
-Index: putty-0.68/settings.c
+Index: putty-0.69/settings.c
 ===================================================================
---- putty-0.68.orig/settings.c
-+++ putty-0.68/settings.c
+--- putty-0.69.orig/settings.c
++++ putty-0.69/settings.c
 @@ -13,8 +13,8 @@ static const struct keyvalwhere cipherna
      { "aes",        CIPHER_AES,             -1, -1 },
      { "chacha20",   CIPHER_CHACHA20,        CIPHER_AES, +1 },
@@ -24,16 +24,16 @@
      { "arcfour",    CIPHER_ARCFOUR,         -1, -1 },
      { "des",        CIPHER_DES,             -1, -1 }
  };
-@@ -746,7 +746,7 @@ void load_open_settings(void *sesskey, C
+@@ -749,7 +749,7 @@ void load_open_settings(void *sesskey, C
      }
      gppi(sesskey, "TCPNoDelay", 1, conf, CONF_tcp_nodelay);
      gppi(sesskey, "TCPKeepalives", 0, conf, CONF_tcp_keepalives);
 -    gpps(sesskey, "TerminalType", "xterm", conf, CONF_termtype);
 +    gpps(sesskey, "TerminalType", "linux", conf, CONF_termtype);
      gpps(sesskey, "TerminalSpeed", "38400,38400", conf, CONF_termspeed);
-     if (!gppmap(sesskey, "TerminalModes", conf, CONF_ttymodes)) {
-       /* This hardcodes a big set of defaults in any new saved
-@@ -870,10 +870,10 @@ void load_open_settings(void *sesskey, C
+     if (gppmap(sesskey, "TerminalModes", conf, CONF_ttymodes)) {
+       /*
+@@ -917,10 +917,10 @@ void load_open_settings(void *sesskey, C
      gppi(sesskey, "PassiveTelnet", 0, conf, CONF_passive_telnet);
      gppi(sesskey, "BackspaceIsDelete", 1, conf, CONF_bksp_is_delete);
      gppi(sesskey, "RXVTHomeEnd", 0, conf, CONF_rxvt_homeend);
@@ -46,7 +46,7 @@
      gppi(sesskey, "NoRemoteResize", 0, conf, CONF_no_remote_resize);
      gppi(sesskey, "NoAltScreen", 0, conf, CONF_no_alt_screen);
      gppi(sesskey, "NoRemoteWinTitle", 0, conf, CONF_no_remote_wintitle);
-@@ -894,9 +894,9 @@ void load_open_settings(void *sesskey, C
+@@ -941,9 +941,9 @@ void load_open_settings(void *sesskey, C
      gppi(sesskey, "ApplicationKeypad", 0, conf, CONF_app_keypad);
      gppi(sesskey, "NetHackKeypad", 0, conf, CONF_nethack_keypad);
      gppi(sesskey, "AltF4", 1, conf, CONF_alt_f4);
@@ -58,7 +58,7 @@
      gppi(sesskey, "CtrlAltKeys", 1, conf, CONF_ctrlaltkeys);
  #ifdef OSX_META_KEY_CONFIG
      gppi(sesskey, "OSXOptionMeta", 1, conf, CONF_osx_option_meta);
-@@ -908,12 +908,12 @@ void load_open_settings(void *sesskey, C
+@@ -955,12 +955,12 @@ void load_open_settings(void *sesskey, C
      gppi(sesskey, "LocalEdit", AUTO, conf, CONF_localedit);
      gpps(sesskey, "Answerback", "PuTTY", conf, CONF_answerback);
      gppi(sesskey, "AlwaysOnTop", 0, conf, CONF_alwaysontop);
@@ -74,7 +74,7 @@
      /* pedantic compiler tells me I can't use conf, CONF_beep as an int * :-) 
*/
      gppi(sesskey, "Beep", 1, conf, CONF_beep);
      gppi(sesskey, "BeepInd", 0, conf, CONF_beep_ind);
-@@ -947,10 +947,10 @@ void load_open_settings(void *sesskey, C
+@@ -994,10 +994,10 @@ void load_open_settings(void *sesskey, C
      gppi(sesskey, "CRImpliesLF", 0, conf, CONF_crhaslf);
      gppi(sesskey, "DisableArabicShaping", 0, conf, CONF_arabicshaping);
      gppi(sesskey, "DisableBidi", 0, conf, CONF_bidi);
@@ -87,7 +87,7 @@
      gppfont(sesskey, "Font", conf, CONF_font);
      gppi(sesskey, "FontQuality", FQ_DEFAULT, conf, CONF_font_quality);
      gppi(sesskey, "FontVTMode", VT_UNICODE, conf, CONF_vtmode);
-@@ -962,11 +962,28 @@ void load_open_settings(void *sesskey, C
+@@ -1009,11 +1009,28 @@ void load_open_settings(void *sesskey, C
  
      for (i = 0; i < 22; i++) {
        static const char *const defaults[] = {
@@ -121,7 +121,7 @@
        };
        char buf[20], *buf2;
        int c0, c1, c2;
-@@ -1014,7 +1031,7 @@ void load_open_settings(void *sesskey, C
+@@ -1061,7 +1078,7 @@ void load_open_settings(void *sesskey, C
       * The empty default for LineCodePage will be converted later
       * into a plausible default for the locale.
       */
@@ -130,11 +130,11 @@
      gppi(sesskey, "CJKAmbigWide", 0, conf, CONF_cjk_ambig_wide);
      gppi(sesskey, "UTF8Override", 1, conf, CONF_utf8_override);
      gpps(sesskey, "Printer", "", conf, CONF_printer);
-Index: putty-0.68/unix/unix.h
+Index: putty-0.69/unix/unix.h
 ===================================================================
---- putty-0.68.orig/unix/unix.h
-+++ putty-0.68/unix/unix.h
-@@ -249,10 +249,6 @@ int so_peercred(int fd, int *pid, int *u
+--- putty-0.69.orig/unix/unix.h
++++ putty-0.69/unix/unix.h
+@@ -257,10 +257,6 @@ int so_peercred(int fd, int *pid, int *u
  /*
   * Default font setting, which can vary depending on NOT_X_WINDOWS.
   */
@@ -146,10 +146,10 @@
 +#define DEFAULT_GTK_FONT "client:Monospace 14"
  
  #endif
-Index: putty-0.68/windows/windefs.c
+Index: putty-0.69/windows/windefs.c
 ===================================================================
---- putty-0.68.orig/windows/windefs.c
-+++ putty-0.68/windows/windefs.c
+--- putty-0.69.orig/windows/windefs.c
++++ putty-0.69/windows/windefs.c
 @@ -9,7 +9,7 @@
  FontSpec *platform_default_fontspec(const char *name)
  {


Reply via email to