commit terminator for openSUSE:Leap:15.2

2020-04-25 Thread root
Hello community,

here is the log from the commit of package terminator for openSUSE:Leap:15.2 
checked in at 2020-04-25 19:04:45

Comparing /work/SRC/openSUSE:Leap:15.2/terminator (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.terminator.new.2738 (New)


Package is "terminator"

Sat Apr 25 19:04:45 2020 rev:21 rq:797000 version:1.92

Changes:

--- /work/SRC/openSUSE:Leap:15.2/terminator/terminator.changes  2020-02-19 
18:49:11.119061484 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.terminator.new.2738/terminator.changes
2020-04-25 19:04:47.083557058 +0200
@@ -1,0 +2,10 @@
+Tue Apr 21 06:34:44 UTC 2020 - Paolo Stivanin 
+
+- update to 1.92:
+  * python3 support
+  * new home on github
+  * fixed lots of gtk and vte related bugs
+- Removed terminator-1.91-python3.patch
+- Removed terminator-1.91-py3_dnd.patch
+
+---

Old:

  terminator-1.91-py3_dnd.patch
  terminator-1.91-python3.patch
  terminator-1.91.tar.gz

New:

  terminator-1.92.tar.gz



Other differences:
--
++ terminator.spec ++
--- /var/tmp/diff_new_pack.rC4AAZ/_old  2020-04-25 19:04:48.391559870 +0200
+++ /var/tmp/diff_new_pack.rC4AAZ/_new  2020-04-25 19:04:48.391559870 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package terminator
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,14 @@
 
 %global __requires_exclude typelib\\(Gnome\\)
 Name:   terminator
-Version:1.91
+Version:1.92
 Release:0
 Summary:Store and run multiple GNOME terminals in one window
 License:GPL-2.0-only
 Group:  System/X11/Terminals
 URL:https://gnometerminator.blogspot.com/p/introduction.html
-Source0:
https://launchpad.net/%{name}/gtk3/%{version}/+download/%{name}-%{version}.tar.gz
+Source: 
https://github.com/gnome-terminator/terminator/releases/download/v%{version}/%{name}-%{version}.tar.gz
 Patch0: terminator-desktop.patch
-Patch1: terminator-1.91-python3.patch
-Patch2: terminator-1.91-py3_dnd.patch
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  gettext
@@ -58,8 +56,6 @@
 %prep
 %setup -q
 %patch0 -p0
-%patch1 -p1
-%patch2 -p0
 
 # remove pointless shebangs
 sed -i '/#! \?\/usr.*/d' terminatorlib/*.py
@@ -81,17 +77,8 @@
 %fdupes %{buildroot}
 %find_lang %{name}
 
-%post
-%icon_theme_cache_post
-%desktop_database_post
-
-%postun
-%icon_theme_cache_postun
-%desktop_database_postun
-
 %files
 %license COPYING
-%doc ChangeLog README
 %dir %{_datadir}/icons/HighContrast
 %dir %{_datadir}/icons/HighContrast/16x16
 %dir %{_datadir}/icons/HighContrast/16x16/actions

++ terminator-1.91.tar.gz -> terminator-1.92.tar.gz ++
 2 lines of diff (skipped)




commit terminator for openSUSE:Leap:15.2

2020-02-19 Thread root
Hello community,

here is the log from the commit of package terminator for openSUSE:Leap:15.2 
checked in at 2020-02-19 18:49:09

Comparing /work/SRC/openSUSE:Leap:15.2/terminator (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.terminator.new.26092 (New)


Package is "terminator"

Wed Feb 19 18:49:09 2020 rev:20 rq:777329 version:1.91

Changes:

--- /work/SRC/openSUSE:Leap:15.2/terminator/terminator.changes  2020-01-15 
16:06:07.520011477 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.terminator.new.26092/terminator.changes   
2020-02-19 18:49:11.119061484 +0100
@@ -1,0 +2,9 @@
+Sat Jan 18 09:12:15 UTC 2020 - Kristyna Streitova 
+
+- add terminator-1.91-python3.patch to add python3 support
+- add terminator-1.91-py3_dnd.patch to fix url drag and drop
+- add missing Requires: python3-configobj
+- use python3 variants of BuildRequires, Requires and macros
+- update URL (.cz -> .com)
+
+---

New:

  terminator-1.91-py3_dnd.patch
  terminator-1.91-python3.patch



Other differences:
--
++ terminator.spec ++
--- /var/tmp/diff_new_pack.QQvjAy/_old  2020-02-19 18:49:11.591061986 +0100
+++ /var/tmp/diff_new_pack.QQvjAy/_new  2020-02-19 18:49:11.595061990 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package terminator
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,21 +23,24 @@
 Summary:Store and run multiple GNOME terminals in one window
 License:GPL-2.0-only
 Group:  System/X11/Terminals
-URL:https://gnometerminator.blogspot.cz/p/introduction.html
+URL:https://gnometerminator.blogspot.com/p/introduction.html
 Source0:
https://launchpad.net/%{name}/gtk3/%{version}/+download/%{name}-%{version}.tar.gz
 Patch0: terminator-desktop.patch
+Patch1: terminator-1.91-python3.patch
+Patch2: terminator-1.91-py3_dnd.patch
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  gettext
 BuildRequires:  gobject-introspection
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  intltool
-BuildRequires:  python-devel
+BuildRequires:  python3-devel
 BuildRequires:  update-desktop-files
-Requires:   python-cairo
-Requires:   python-gobject
-Requires:   python-gobject-Gdk
-Requires:   python-psutil
+Requires:   python3-cairo
+Requires:   python3-configobj
+Requires:   python3-gobject
+Requires:   python3-gobject-Gdk
+Requires:   python3-psutil
 Requires(post): hicolor-icon-theme
 Requires(postun): hicolor-icon-theme
 Recommends: %{name}-lang
@@ -54,16 +57,18 @@
 
 %prep
 %setup -q
-%patch0
+%patch0 -p0
+%patch1 -p1
+%patch2 -p0
 
 # remove pointless shebangs
 sed -i '/#! \?\/usr.*/d' terminatorlib/*.py
 
 %build
-python setup.py build
+python3 setup.py build
 
 %install
-python setup.py install --root=%{buildroot} --prefix=%{_prefix}
+python3 setup.py install --root=%{buildroot} --prefix=%{_prefix}
 
 rm -f %{buildroot}/%{_datadir}/icons/hicolor/icon-theme.cache
 rm -f %{buildroot}/%{_datadir}/applications/%{name}.desktop
@@ -106,7 +111,7 @@
 %{_bindir}/remotinator
 %{_mandir}/man1/%{name}.*
 %{_mandir}/man5/%{name}_config.*
-%{python_sitelib}/*
+%{python3_sitelib}/*
 %dir %{_datadir}/appdata/
 %{_datadir}/appdata/%{name}.appdata.xml
 %{_datadir}/applications/%{name}.desktop

++ terminator-1.91-py3_dnd.patch ++
=== modified file 'terminatorlib/terminal.py'
--- terminatorlib/terminal.py   2019-10-21 21:36:16 +
+++ terminatorlib/terminal.py   2019-11-15 19:47:49 +
@@ -1093,30 +1093,35 @@
 dbg('drag data received of type: %s' % 
(selection_data.get_data_type()))
 if Gtk.targets_include_text(drag_context.list_targets()) or \
Gtk.targets_include_uri(drag_context.list_targets()):
-# copy text with no modification yet to destination
-txt = selection_data.get_data()
 
-# https://bugs.launchpad.net/terminator/+bug/1518705
 if info == self.TARGET_TYPE_MOZ:
- txt = txt.decode('utf-16').encode('utf-8')
- txt = txt.split('\n')[0]
-
-txt_lines = txt.split( "\r\n" )
-if txt_lines[-1] == '':
-for line in txt_lines[:-1]:
-if