commit Srain for openSUSE:Factory

2020-10-05 Thread root
Hello community,

here is the log from the commit of package Srain for openSUSE:Factory checked 
in at 2020-10-05 19:40:59

Comparing /work/SRC/openSUSE:Factory/Srain (Old)
 and  /work/SRC/openSUSE:Factory/.Srain.new.4249 (New)


Package is "Srain"

Mon Oct  5 19:40:59 2020 rev:6 rq:839392 version:1.1.3

Changes:

--- /work/SRC/openSUSE:Factory/Srain/Srain.changes  2020-06-27 
23:23:09.821937367 +0200
+++ /work/SRC/openSUSE:Factory/.Srain.new.4249/Srain.changes2020-10-05 
19:42:56.413775518 +0200
@@ -1,0 +2,8 @@
+Sun Oct  4 08:29:52 UTC 2020 - Luigi Baldoni 
+
+- Update to version 1.1.3
+  * fix an use-after-free case
+  * remove server when main loop is idle
+- Add Srain-no_implicit_declarations.patch
+
+---

Old:

  Srain-1.1.1.tar.gz

New:

  Srain-1.1.3.tar.gz
  Srain-no_implicit_declarations.patch



Other differences:
--
++ Srain.spec ++
--- /var/tmp/diff_new_pack.SAwfFO/_old  2020-10-05 19:42:57.057776147 +0200
+++ /var/tmp/diff_new_pack.SAwfFO/_new  2020-10-05 19:42:57.057776147 +0200
@@ -17,12 +17,14 @@
 
 
 Name:   Srain
-Version:1.1.1
+Version:1.1.3
 Release:0
 Summary:An IRC client
 License:GPL-3.0-or-later AND ISC
 URL:https://srain.im
 Source: 
https://github.com/SrainApp/srain/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Srain-no_implicit_declarations.patch
+Patch0: Srain-no_implicit_declarations.patch
 BuildRequires:  ImageMagick
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  pkgconfig
@@ -42,7 +44,7 @@
 %lang_package
 
 %prep
-%autosetup -n srain-%{version}
+%autosetup -p1 -n srain-%{version}
 
 %build
 %configure --disable-debug

++ Srain-1.1.1.tar.gz -> Srain-1.1.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/srain-1.1.1/.github/workflows/build.yml 
new/srain-1.1.3/.github/workflows/build.yml
--- old/srain-1.1.1/.github/workflows/build.yml 2020-06-27 06:31:18.0 
+0200
+++ new/srain-1.1.3/.github/workflows/build.yml 2020-10-04 03:11:49.0 
+0200
@@ -13,7 +13,7 @@
   schedule:
 - cron: '0 7 * * 6'
 jobs:
-  build:
+  build-ubuntu:
 runs-on: ubuntu-latest
 steps:
 - uses: actions/checkout@v2
@@ -33,3 +33,27 @@
   run: |
 sudo make install;
 /bin/sh -c "/usr/local/bin/srain --version";
+
+  build-mingw64:
+runs-on: windows-latest
+defaults:
+  run:
+shell: msys2 {0}
+steps:
+- uses: actions/checkout@v2
+- uses: msys2/setup-msys2@v1
+  name: Init MSYS2/MINGW64 environment
+  with:
+update: true
+msystem: MINGW64
+install: base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-gtk3 
mingw-w64-x86_64-libconfig mingw-w64-x86_64-libsoup mingw-w64-x86_64-libsecret 
mingw-w64-x86_64-pkg-config mingw-w64-x86_64-gettext 
mingw-w64-x86_64-glib-networking
+- name: Build
+  run: |
+./configure \
+--prefix=$MINGW_PREFIX \
+--datadir=$MINGW_PREFIX/share \
+--sysconfdir=$MINGW_PREFIX/etc \
+--disable-debug && \
+make && \
+make install && \
+srain --version;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/srain-1.1.1/.github/workflows/pack-mingw64.sh 
new/srain-1.1.3/.github/workflows/pack-mingw64.sh
--- old/srain-1.1.1/.github/workflows/pack-mingw64.sh   1970-01-01 
01:00:00.0 +0100
+++ new/srain-1.1.3/.github/workflows/pack-mingw64.sh   2020-10-04 
03:11:49.0 +0200
@@ -0,0 +1,81 @@
+#!/bin/bash
+
+if [ $# -ne 3 ]; then
+echo "Usage:"
+echo "./package_mingw64.sh srain_install_dir tmp_dir_to_package 
output_package.zip"
+exit 1
+fi
+
+function get_dll() {
+ret=""
+for var in "$@"
+do
+echo "DLLs used by $var:"
+echo `ldd $var`
+ret+="$(ldd $var | tr '=>'  '\n'| grep -o '/mingw64.*\.dll' | sort -u) 
"
+done
+}
+
+prefix=$MINGW_PREFIX
+
+install_dir=$1
+srain_exe=$install_dir/bin/srain
+srain_etc=$install_dir/etc/srain
+srain_share=$install_dir/share/*
+
+tmp_dir=$2
+dst_bin=$tmp_dir
+dst_etc=$tmp_dir/etc
+dst_lib=$tmp_dir/lib
+dst_share=$tmp_dir/share
+
+output_file=$3
+
+# gdbus
+gdbus=$prefix/bin/gdbus.exe
+
+# srain
+cp -vf $srain_exe $prefix/bin/srain # make DLLs of mingw64 have the highest 
priority
+get_dll $prefix/bin/srain
+mingw64_dlls=$ret
+
+# glib-networking
+libgio_modules=$(ls $prefix/lib/gio/modules/lib*.dll)
+get_dll $libgio_modules
+mingw64_dlls+=$ret
+
+# gdbus
+get_dll $gdbus
+mingw64_dlls+=$ret
+
+mingw64_dlls=$(echo $mingw64_dlls | tr ' ' '\n' | sort -u)
+
+mkdir -pv $dst_bin
+mkdir -pv 

commit Srain for openSUSE:Factory

2020-06-27 Thread root
Hello community,

here is the log from the commit of package Srain for openSUSE:Factory checked 
in at 2020-06-27 23:23:03

Comparing /work/SRC/openSUSE:Factory/Srain (Old)
 and  /work/SRC/openSUSE:Factory/.Srain.new.3060 (New)


Package is "Srain"

Sat Jun 27 23:23:03 2020 rev:5 rq:817379 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/Srain/Srain.changes  2020-05-26 
17:22:37.336400722 +0200
+++ /work/SRC/openSUSE:Factory/.Srain.new.3060/Srain.changes2020-06-27 
23:23:09.821937367 +0200
@@ -1,0 +2,11 @@
+Sat Jun 27 08:02:25 UTC 2020 - Luigi Baldoni 
+
+- Update to version 1.1.1
+  Changes:
+  * Improve auto-scroll policy of message list
+  Bug fixes:
+  * Fix TLS certificate verification error on glib-networking
+2.64.3
+  * Fix crash when connecting to an invalid host
+
+---

Old:

  Srain-1.1.0.tar.gz

New:

  Srain-1.1.1.tar.gz



Other differences:
--
++ Srain.spec ++
--- /var/tmp/diff_new_pack.s20CSQ/_old  2020-06-27 23:23:10.505939616 +0200
+++ /var/tmp/diff_new_pack.s20CSQ/_new  2020-06-27 23:23:10.509939629 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   Srain
-Version:1.1.0
+Version:1.1.1
 Release:0
 Summary:An IRC client
 License:GPL-3.0-or-later AND ISC

++ Srain-1.1.0.tar.gz -> Srain-1.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/srain-1.1.0/.github/workflows/build.yml 
new/srain-1.1.1/.github/workflows/build.yml
--- old/srain-1.1.0/.github/workflows/build.yml 2020-05-24 06:53:14.0 
+0200
+++ new/srain-1.1.1/.github/workflows/build.yml 2020-06-27 06:31:18.0 
+0200
@@ -19,10 +19,9 @@
 - uses: actions/checkout@v2
 - name: Install the dependencies
   run: |
-# Install make dependencies
-sudo apt-get install pkg-config gettext libgtk-3-dev libsoup2.4-dev 
libconfig-dev libssl-dev libsecret-1-dev;
-# Install runtime dependencies
-sudo apt-get install glib-networking libgtk3.0 libsoup2.4 libconfig9 
libsecret-1-0;
+sudo apt-get update;
+sudo apt-get install pkg-config gettext libgtk-3-dev libsoup2.4-dev 
libconfig-dev libssl-dev libsecret-1-dev \
+glib-networking libgtk3.0 libsoup2.4 libconfig9 libsecret-1-0;
 - name: Build
   run: |
 ./configure \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/srain-1.1.0/Makefile.in new/srain-1.1.1/Makefile.in
--- old/srain-1.1.0/Makefile.in 2020-05-24 06:53:14.0 +0200
+++ new/srain-1.1.1/Makefile.in 2020-06-27 06:31:18.0 +0200
@@ -10,7 +10,7 @@
 PACKAGE_BUILD = $(shell [ -d .git ] && \
git rev-parse --git-dir > /dev/null 2>&1 && \
echo -n -git@0.`git rev-list --count HEAD`.`git 
describe --always`)
-PACKAGE_VERSION = 1.1
+PACKAGE_VERSION = 1.1.1
 PACKAGE_AUTHOR = Shengyu Zhang
 PACKAGE_EMAIL = i...@silverrainz.me
 PACKAGE_DESC = Modern IRC client written in GTK
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/srain-1.1.0/doc/changelog.rst 
new/srain-1.1.1/doc/changelog.rst
--- old/srain-1.1.0/doc/changelog.rst   2020-05-24 06:53:14.0 +0200
+++ new/srain-1.1.1/doc/changelog.rst   2020-06-27 06:31:18.0 +0200
@@ -30,7 +30,21 @@
 
 .. _version-latest:
 
-.. _version-x.x.x:
+.. _version-1.1.1:
+
+2020-06-27 Version 1.1.1
+
+
+- Changes:
+
+  - Improve auto-scroll policy of message list (:pull:`255`)
+
+- Bug fixes:
+
+  - Fix TLS certificate verification error on glib-networking 2.64.3 
(:issue:`251`)
+  - Fix crash when connecting to an invalid host (:issue:`234`)
+
+.. _version-1.1.0:
 
 2020-05-24 Version 1.1.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/srain-1.1.0/doc/conf.py new/srain-1.1.1/doc/conf.py
--- old/srain-1.1.0/doc/conf.py 2020-05-24 06:53:14.0 +0200
+++ new/srain-1.1.1/doc/conf.py 2020-06-27 06:31:18.0 +0200
@@ -55,9 +55,9 @@
 # built documents.
 #
 # The short X.Y version.
-version = '1.1'
+version = '1.1.1'
 # The full version, including alpha/beta/rc tags.
-release = '1.1'
+release = '1.1.1'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/srain-1.1.0/doc/install.rst 
new/srain-1.1.1/doc/install.rst
--- old/srain-1.1.0/doc/install.rst 2020-05-24 06:53:14.0 +0200
+++ new/srain-1.1.1/doc/install.rst 2020-06-27 06:31:18.0 +0200

commit Srain for openSUSE:Factory

2020-05-26 Thread root
Hello community,

here is the log from the commit of package Srain for openSUSE:Factory checked 
in at 2020-05-26 17:22:15

Comparing /work/SRC/openSUSE:Factory/Srain (Old)
 and  /work/SRC/openSUSE:Factory/.Srain.new.2738 (New)


Package is "Srain"

Tue May 26 17:22:15 2020 rev:4 rq:808528 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/Srain/Srain.changes  2020-04-11 
23:49:46.195236582 +0200
+++ /work/SRC/openSUSE:Factory/.Srain.new.2738/Srain.changes2020-05-26 
17:22:37.336400722 +0200
@@ -1,0 +2,17 @@
+Sun May 24 10:45:25 UTC 2020 - Luigi Baldoni 
+
+- Update to version 1.1.0
+  Features:
+  * Support multiple selection of message (#138)
+  * Support jump to mentioned message (#243)
+  * Nickname will be highlighted when mentioned (#243)
+  Changes:
+  * Improve fcous control of UI
+  * Replace appdata with metainfo (#240)
+  * Validate metainfo with appstream-util (#242)
+  Bug fixes:
+  * Some implicit declarations fixes (#236)
+  * Some typo fixes (#239)
+- Drop Srain-implicit_declarations.patch (merged upstream)
+
+---

Old:

  Srain-1.0.2.tar.gz
  Srain-implicit_declarations.patch

New:

  Srain-1.1.0.tar.gz



Other differences:
--
++ Srain.spec ++
--- /var/tmp/diff_new_pack.CMIqPy/_old  2020-05-26 17:22:38.172402519 +0200
+++ /var/tmp/diff_new_pack.CMIqPy/_new  2020-05-26 17:22:38.176402528 +0200
@@ -17,14 +17,12 @@
 
 
 Name:   Srain
-Version:1.0.2
+Version:1.1.0
 Release:0
 Summary:An IRC client
 License:GPL-3.0-or-later AND ISC
 URL:https://srain.im
 Source: 
https://github.com/SrainApp/srain/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM Srain-implicit_declarations.patch -- actually required 
only by Leap 15.0
-Patch2: Srain-implicit_declarations.patch
 BuildRequires:  ImageMagick
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  pkgconfig
@@ -44,12 +42,11 @@
 %lang_package
 
 %prep
-%setup -q -n srain-%{version}
-%patch2 -p1
+%autosetup -n srain-%{version}
 
 %build
 %configure --disable-debug
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
@@ -65,7 +62,7 @@
 %{_bindir}/srain
 %{_datadir}/applications/im.srain.%{name}.desktop
 %{_datadir}/icons/hicolor/128x128/apps/im.srain.%{name}.png
-%{_datadir}/metainfo/im.srain.%{name}.appdata.xml
+%{_datadir}/metainfo/im.srain.%{name}.metainfo.xml
 %{_datadir}/srain/themes/*.css
 
 %files lang -f srain.lang

++ Srain-1.0.2.tar.gz -> Srain-1.1.0.tar.gz ++
 1698 lines of diff (skipped)




commit Srain for openSUSE:Factory

2020-04-11 Thread root
Hello community,

here is the log from the commit of package Srain for openSUSE:Factory checked 
in at 2020-04-11 23:48:17

Comparing /work/SRC/openSUSE:Factory/Srain (Old)
 and  /work/SRC/openSUSE:Factory/.Srain.new.3248 (New)


Package is "Srain"

Sat Apr 11 23:48:17 2020 rev:3 rq:793208 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/Srain/Srain.changes  2020-03-16 
10:18:23.823588671 +0100
+++ /work/SRC/openSUSE:Factory/.Srain.new.3248/Srain.changes2020-04-11 
23:49:46.195236582 +0200
@@ -1,0 +2,23 @@
+Sat Apr 11 14:51:48 UTC 2020 - Luigi Baldoni 
+
+- Update to version 1.0.2
+  Features:
+  * Add MAN documentation (deaf723)
+  * Add more predefined IRC networks: DALnet, EFnet, IRCnet,
+Undernet and QuakeNet (#228)
+  Changes:
+  * Build: Allow setting CC variable via environment (#224)
+  * Add channel related messages to corresponding buffer as
+possible (#149)
+  * Improve widget focus control (#229)
+  * Drop unused icons (6239fe5)
+  * Provide clearer error message when connecting (#233)
+  Bug fixes:
+  * Truncate long message before sendisg (#227)
+  * Deal with invalid UTF-8 string (50e7757)
+  * Fix incorrect user number of channel user list (#230)
+  * Fix incorrect icon install path (9f07380)
+
+- Refreshed Srain-implicit_declarations.patch
+
+---

Old:

  Srain-1.0.1.tar.gz

New:

  Srain-1.0.2.tar.gz



Other differences:
--
++ Srain.spec ++
--- /var/tmp/diff_new_pack.jSYM23/_old  2020-04-11 23:49:46.679236950 +0200
+++ /var/tmp/diff_new_pack.jSYM23/_new  2020-04-11 23:49:46.683236953 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   Srain
-Version:1.0.1
+Version:1.0.2
 Release:0
 Summary:An IRC client
 License:GPL-3.0-or-later AND ISC
@@ -64,7 +64,7 @@
 %config %{_sysconfdir}/srain/builtin.cfg
 %{_bindir}/srain
 %{_datadir}/applications/im.srain.%{name}.desktop
-%{_datadir}/icons/hicolor/scalable/apps/im.srain.%{name}.png
+%{_datadir}/icons/hicolor/128x128/apps/im.srain.%{name}.png
 %{_datadir}/metainfo/im.srain.%{name}.appdata.xml
 %{_datadir}/srain/themes/*.css
 

++ Srain-1.0.1.tar.gz -> Srain-1.0.2.tar.gz ++
 3634 lines of diff (skipped)

++ Srain-implicit_declarations.patch ++
--- /var/tmp/diff_new_pack.jSYM23/_old  2020-04-11 23:49:46.827237063 +0200
+++ /var/tmp/diff_new_pack.jSYM23/_new  2020-04-11 23:49:46.827237063 +0200
@@ -1,7 +1,7 @@
-Index: srain-1.0.0rc4/src/sui/sui_chat_buffer.c
+Index: srain-1.0.2/src/sui/sui_chat_buffer.c
 ===
 srain-1.0.0rc4.orig/src/sui/sui_chat_buffer.c
-+++ srain-1.0.0rc4/src/sui/sui_chat_buffer.c
+--- srain-1.0.2.orig/src/sui/sui_chat_buffer.c
 srain-1.0.2/src/sui/sui_chat_buffer.c
 @@ -25,6 +25,7 @@
   */
  
@@ -10,10 +10,10 @@
  
  #include "sui_buffer.h"
  #include "sui_chat_buffer.h"
-Index: srain-1.0.0rc4/src/lib/libecdsaauth/base64.c
+Index: srain-1.0.2/src/lib/libecdsaauth/base64.c
 ===
 srain-1.0.0rc4.orig/src/lib/libecdsaauth/base64.c
-+++ srain-1.0.0rc4/src/lib/libecdsaauth/base64.c
+--- srain-1.0.2.orig/src/lib/libecdsaauth/base64.c
 srain-1.0.2/src/lib/libecdsaauth/base64.c
 @@ -45,6 +45,7 @@
  #include 
  #include 
@@ -22,3 +22,15 @@
  
  static const char Base64[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+Index: srain-1.0.2/src/sirc/sirc_cmd_builder.c
+===
+--- srain-1.0.2.orig/src/sirc/sirc_cmd_builder.c
 srain-1.0.2/src/sirc/sirc_cmd_builder.c
+@@ -17,6 +17,7 @@
+  */
+ 
+ #include 
++#include 
+ 
+ #include "sirc_cmd_builder.h"
+ 




commit Srain for openSUSE:Factory

2020-03-16 Thread root
Hello community,

here is the log from the commit of package Srain for openSUSE:Factory checked 
in at 2020-03-16 10:17:54

Comparing /work/SRC/openSUSE:Factory/Srain (Old)
 and  /work/SRC/openSUSE:Factory/.Srain.new.3160 (New)


Package is "Srain"

Mon Mar 16 10:17:54 2020 rev:2 rq:784835 version:1.0.1

Changes:

--- /work/SRC/openSUSE:Factory/Srain/Srain.changes  2020-02-25 
16:07:41.616646798 +0100
+++ /work/SRC/openSUSE:Factory/.Srain.new.3160/Srain.changes2020-03-16 
10:18:23.823588671 +0100
@@ -1,0 +2,18 @@
+Sat Mar 14 08:22:06 UTC 2020 - aloi...@gmx.com
+
+- Update to version 1.0.1
+  Features:
+  * Auto rename to original nick when ghost quit (#198)
+  * Add hackint IRC network (#201), thanks to @kpcyrd
+  * Add Dutch translation (#215), thanks to @Vistaus
+  * Add two FAQs to documentation (#217)
+  Changes:
+  * Make header bar buttons repect default belief (#205, #218)
+  Bug fixes:
+  * Fix case sensitivity issue for IRC messages (#202), thanks 
+to @hhirtz
+  * Fix invalid changelog section of appdata file (#214)
+  * Fix missing dependences in documentation (#216), thanks to 
+@avoidr
+
+---

Old:

  Srain-1.0.0.tar.gz

New:

  Srain-1.0.1.tar.gz



Other differences:
--
++ Srain.spec ++
--- /var/tmp/diff_new_pack.U3BW09/_old  2020-03-16 10:18:24.607588991 +0100
+++ /var/tmp/diff_new_pack.U3BW09/_new  2020-03-16 10:18:24.607588991 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package Srain.spec
+# spec file for package Srain
 #
 # Copyright (c) 2020 SUSE LLC
 #
@@ -17,7 +17,7 @@
 
 
 Name:   Srain
-Version:1.0.0
+Version:1.0.1
 Release:0
 Summary:An IRC client
 License:GPL-3.0-or-later AND ISC
@@ -27,8 +27,8 @@
 Patch2: Srain-implicit_declarations.patch
 BuildRequires:  ImageMagick
 BuildRequires:  hicolor-icon-theme
-BuildRequires:  python3-devel
 BuildRequires:  pkgconfig
+BuildRequires:  python3-devel
 BuildRequires:  pkgconfig(glib-2.0) >= 2.48.2
 BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  pkgconfig(libconfig) >= 1.7

++ Srain-1.0.0.tar.gz -> Srain-1.0.1.tar.gz ++
 3188 lines of diff (skipped)