Hello community, here is the log from the commit of package purple-carbons for openSUSE:Factory checked in at 2018-10-29 14:21:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/purple-carbons (Old) and /work/SRC/openSUSE:Factory/.purple-carbons.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "purple-carbons" Mon Oct 29 14:21:45 2018 rev:5 rq:644821 version:0.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/purple-carbons/purple-carbons.changes 2018-10-08 17:50:08.658122943 +0200 +++ /work/SRC/openSUSE:Factory/.purple-carbons.new/purple-carbons.changes 2018-10-29 14:22:08.588042903 +0100 @@ -1,0 +2,8 @@ +Sun Oct 14 20:40:21 UTC 2018 - sor.alexei@meowr.ru + +- Update to version 0.2.1: + * Add a missing null check. + * Delete some unused constants. +- Remove purple-carbons-fix-omemo-crash.patch: Merged upstream. + +------------------------------------------------------------------- Old: ---- carbons-0.2.0.tar.gz purple-carbons-fix-omemo-crash.patch New: ---- carbons-0.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ purple-carbons.spec ++++++ --- /var/tmp/diff_new_pack.VrfYQ1/_old 2018-10-29 14:22:09.272053979 +0100 +++ /var/tmp/diff_new_pack.VrfYQ1/_new 2018-10-29 14:22:09.276054044 +0100 @@ -19,15 +19,13 @@ %define _name carbons %define _purple_plugindir %(pkg-config --variable plugindir purple) Name: purple-carbons -Version: 0.2.0 +Version: 0.2.1 Release: 0 Summary: Experimental XEP-0280: Message Carbons plugin for libpurple License: GPL-2.0-or-later Group: Productivity/Networking/Instant Messenger URL: https://github.com/gkdr/carbons Source: https://github.com/gkdr/%{_name}/archive/v%{version}.tar.gz#/%{_name}-%version.tar.gz -# PATCH-FIX-UPSTREAM purple-carbons-fix-omemo-crash.patch sor.alexei@meowr.ru -- Fix a crash when an OMEMO message is carboned. -Patch0: purple-carbons-fix-omemo-crash.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libgcrypt-devel @@ -51,7 +49,6 @@ %prep %setup -q -n %{_name}-%{version} -%patch0 -p1 %build export CFLAGS="%{optflags}" ++++++ carbons-0.2.0.tar.gz -> carbons-0.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/carbons-0.2.0/README.md new/carbons-0.2.1/README.md --- old/carbons-0.2.0/README.md 2018-10-03 15:33:19.000000000 +0200 +++ new/carbons-0.2.1/README.md 2018-10-14 21:45:13.000000000 +0200 @@ -1,4 +1,4 @@ -# carbons 0.2.0 +# carbons 0.2.1 Experimental XEP-0280: Message Carbons plugin for libpurple (Pidgin, Finch, etc.) ## Installation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/carbons-0.2.0/src/carbons.c new/carbons-0.2.1/src/carbons.c --- old/carbons-0.2.0/src/carbons.c 2018-10-03 15:33:19.000000000 +0200 +++ new/carbons-0.2.1/src/carbons.c 2018-10-14 21:45:13.000000000 +0200 @@ -33,16 +33,9 @@ #define CARBONS_SETTING_NAME "carbons-enabled" #define CARBONS_LOG_CATEGORY "carbons" -#define XMLNS_ATTR_NAME "xmlns" #define CARBONS_XMLNS "urn:xmpp:carbons:2" #define DISCO_XMLNS "http://jabber.org/protocol/disco#info" // see XEP-0030: Service Discovery (https://xmpp.org/extensions/xep-0030.html) -#define CARBONS_ENABLE 1 -#define CARBONS_DISABLE 0 - -int carbons_cmd_id; -int mode_global; - static int carbons_is_valid(PurpleAccount * acc_p, xmlnode * outer_msg_stanza_p) { char ** split; @@ -130,7 +123,7 @@ char * buddy_name_bare = (void *) 0; PurpleConversation * conv_p = (void *) 0; - if (g_strcmp0((*stanza_pp)->name, "message")) { + if (!(*stanza_pp) || g_strcmp0((*stanza_pp)->name, "message")) { return; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/carbons-0.2.0/src/carbons.h new/carbons-0.2.1/src/carbons.h --- old/carbons-0.2.0/src/carbons.h 2018-10-03 15:33:19.000000000 +0200 +++ new/carbons-0.2.1/src/carbons.h 2018-10-14 21:45:13.000000000 +0200 @@ -1,7 +1,7 @@ #ifndef __CARBONS_H # define __CARBONS_H -# define CARBONS_VERSION "0.2.0" +# define CARBONS_VERSION "0.2.1" # define CARBONS_AUTHOR "Richard Bayerle <riba@firemail.cc>" #endif /* __CARBONS_H */