Hello community,

here is the log from the commit of package pantheon-terminal for 
openSUSE:Factory checked in at 2018-05-11 09:16:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pantheon-terminal (Old)
 and      /work/SRC/openSUSE:Factory/.pantheon-terminal.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pantheon-terminal"

Fri May 11 09:16:10 2018 rev:7 rq:605945 version:0.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/pantheon-terminal/pantheon-terminal.changes      
2017-08-24 18:46:33.878709818 +0200
+++ /work/SRC/openSUSE:Factory/.pantheon-terminal.new/pantheon-terminal.changes 
2018-05-11 09:16:28.270436727 +0200
@@ -1,0 +2,7 @@
+Wed May  9 21:28:44 UTC 2018 - avvi...@yandex.by
+
+- Fix build with vala >= 0.39 and vte >= 0.52:
+  * add pantheon-terminal-0.4.3-vte-0.52.patch
+  * add pantheon-terminal-0.4.3-vala-0.39.patch
+
+-------------------------------------------------------------------

New:
----
  pantheon-terminal-0.4.3-vala-0.39.patch
  pantheon-terminal-0.4.3-vte-0.52.patch

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

Other differences:
------------------
++++++ pantheon-terminal.spec ++++++
--- /var/tmp/diff_new_pack.X3b176/_old  2018-05-11 09:16:28.954411947 +0200
+++ /var/tmp/diff_new_pack.X3b176/_new  2018-05-11 09:16:28.958411802 +0200
@@ -24,6 +24,10 @@
 Group:          System/X11/Terminals
 Url:            https://launchpad.net/pantheon-terminal
 Source:         
https://launchpad.net/pantheon-terminal/0.4.x/%{version}/+download/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM -- Build with vte >= 0.52 (#224)
+Patch0:         pantheon-terminal-0.4.3-vte-0.52.patch
+# PATCH-FIX-UPSTREAM -- Fix vala compiler vala >= 0.39 (#182)
+Patch1:         pantheon-terminal-0.4.3-vala-0.39.patch
 BuildRequires:  cmake >= 2.6
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
@@ -51,6 +55,10 @@
 
 %prep
 %setup -q
+%if 0%{?suse_version} > 1500
+%patch0 -p1
+%patch1 -p1
+%endif
 
 sed -e '/CMAKE_C_FLAGS/s/\"\(.*\)\"/\"\$\{CMAKE_C_FLAGS\}\ \1\"/' \
     -i CMakeLists.txt

++++++ pantheon-terminal-0.4.3-vala-0.39.patch ++++++
diff -ruN pantheon-terminal-0.4.3.orig/src/PantheonTerminalWindow.vala 
pantheon-terminal-0.4.3/src/PantheonTerminalWindow.vala
--- pantheon-terminal-0.4.3.orig/src/PantheonTerminalWindow.vala        
2017-07-23 02:08:02.000000000 +0300
+++ pantheon-terminal-0.4.3/src/PantheonTerminalWindow.vala     2018-05-10 
00:48:54.877166299 +0300
@@ -463,8 +463,7 @@
             clipboard.request_targets (update_context_menu_cb);
         }
 
-        private void update_context_menu_cb (Gtk.Clipboard clipboard_,
-                                             Gdk.Atom[] atoms) {
+        private void update_context_menu_cb (Gtk.Clipboard clipboard_, 
Gdk.Atom[]? atoms) {
             bool can_paste = false;
 
             if (atoms != null && atoms.length > 0)
++++++ pantheon-terminal-0.4.3-vte-0.52.patch ++++++
diff -ruN pantheon-terminal-0.4.3.orig/src/TerminalWidget.vala 
pantheon-terminal-0.4.3/src/TerminalWidget.vala
--- pantheon-terminal-0.4.3.orig/src/TerminalWidget.vala        2017-07-23 
02:08:02.000000000 +0300
+++ pantheon-terminal-0.4.3/src/TerminalWidget.vala     2018-05-10 
00:33:58.155371121 +0300
@@ -411,15 +411,15 @@
                     }
 
                     string uris_s = string.joinv ("", uris);
-                    this.feed_child (uris_s, uris_s.length);
+                    this.feed_child ( (char[])uris_s.data );
 
                     break;
                 case DropTargets.STRING:
                 case DropTargets.TEXT:
-                    var data = selection_data.get_text ();
+                    var data = selection_data.get_text();
 
                     if (data != null) {
-                        this.feed_child (data, data.length);
+                        this.feed_child ( (char[])data.data );
                     }
 
                     break;

Reply via email to