Hello community,

here is the log from the commit of package pidgin-xmpp-receipts for 
openSUSE:Factory checked in at 2018-03-12 12:12:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pidgin-xmpp-receipts (Old)
 and      /work/SRC/openSUSE:Factory/.pidgin-xmpp-receipts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pidgin-xmpp-receipts"

Mon Mar 12 12:12:44 2018 rev:2 rq:585462 version:0.8

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/pidgin-xmpp-receipts/pidgin-xmpp-receipts.changes    
    2017-02-03 18:55:53.954162633 +0100
+++ 
/work/SRC/openSUSE:Factory/.pidgin-xmpp-receipts.new/pidgin-xmpp-receipts.changes
   2018-03-12 12:13:00.968701823 +0100
@@ -1,0 +2,8 @@
+Fri Mar  9 19:10:07 UTC 2018 - sor.ale...@meowr.ru
+
+- Update to version 0.8 (changes since 0.6):
+  * Free elements properly.
+  * Improve Makefile with adaptive and overridable variables.
+  * Fix compatibility with encryption plugins (e.g. OMEMO).
+
+-------------------------------------------------------------------

Old:
----
  pidgin-xmpp-receipts-0.6.tar.gz

New:
----
  pidgin-xmpp-receipts-0.8.tar.gz

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

Other differences:
------------------
++++++ pidgin-xmpp-receipts.spec ++++++
--- /var/tmp/diff_new_pack.p5NEQO/_old  2018-03-12 12:13:02.732638888 +0100
+++ /var/tmp/diff_new_pack.p5NEQO/_new  2018-03-12 12:13:02.736638745 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pidgin-xmpp-receipts
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,20 +16,18 @@
 #
 
 
-%define _hash   ckA6jCV5Kr4OkjacwqjQXA
 %define soname  xmpp-receipts
 Name:           pidgin-xmpp-receipts
-Version:        0.6
+Version:        0.8
 Release:        0
 Summary:        Implementation of XMPP message delivery receipts for Pidgin
-License:        GPL-3.0+
+License:        GPL-3.0-or-later
 Group:          Productivity/Networking/Instant Messenger
-Url:            https://app.assembla.com/spaces/pidgin-xmpp-receipts
-Source:         
https://assembla.com/spaces/pidgin-xmpp-receipts/documents/%{_hash}/download/%{_hash}#/%{name}-%{version}.tar.gz
-BuildRequires:  gtk2-devel
-BuildRequires:  pidgin-devel
+Url:            https://github.com/noonien-d/pidgin-xmpp-receipts
+Source:         
https://github.com/noonien-d/pidgin-xmpp-receipts/archive/release_%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  pkgconfig
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig(gtk+-2.0)
+BuildRequires:  pkgconfig(pidgin)
 
 %description
 This plugin for Pidgin implements XMPP message delivery receipts (XEP-0184).
@@ -37,27 +35,31 @@
 %package -n pidgin-plugin-xmpp-receipts
 Summary:        Implementation of XMPP message delivery receipts for Pidgin
 Group:          Productivity/Networking/Instant Messenger
-# pidgin-xmpp-receipts was last used in openSUSE Leap 42.2.
-Provides:       %{name} = %{version}-%{release}
-Obsoletes:      %{name} < %{version}-%{release}
 %requires_ge    pidgin
+# pidgin-xmpp-receipts was last used in openSUSE Leap 42.2.
+Provides:       %{name} = %{version}
+Obsoletes:      %{name} < %{version}
 
 %description -n pidgin-plugin-xmpp-receipts
 This plugin for Pidgin implements XMPP message delivery receipts (XEP-0184).
 
 %prep
-%setup -q
+%setup -q -n %{name}-release_%{version}
 
 %build
 make %{?_smp_mflags} V=1
 
 %install
-install -Dpm 0644 %{soname}.so \
-  %{buildroot}%{_libdir}/pidgin/%{soname}.so
+%make_install \
+  PLUGINDIR="%{_libdir}/pidgin"
 
 %files -n pidgin-plugin-xmpp-receipts
-%defattr(-,root,root)
-%doc COPYING README
+%if 0%{?suse_version} >= 1500
+%license COPYING
+%else
+%doc COPYING
+%endif
+%doc README
 %{_libdir}/pidgin/%{soname}.so
 
 %changelog

++++++ pidgin-xmpp-receipts-0.6.tar.gz -> pidgin-xmpp-receipts-0.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pidgin-xmpp-receipts-0.6/Makefile 
new/pidgin-xmpp-receipts-release_0.8/Makefile
--- old/pidgin-xmpp-receipts-0.6/Makefile       2012-12-01 17:54:41.000000000 
+0100
+++ new/pidgin-xmpp-receipts-release_0.8/Makefile       2017-05-03 
23:38:59.000000000 +0200
@@ -1,20 +1,22 @@
 GTK_PIDGIN_INCLUDES= `pkg-config --cflags gtk+-2.0 pidgin`
 
-CFLAGS= -O2 -Wall -fpic -g
-LDFLAGS= -shared
+CC ?= gcc
+CFLAGS += -O2 -Wall -fpic
+LDFLAGS += -shared
+DESTDIR =
+PLUGINDIR = ~/.purple/plugins/
 
 INCLUDES = \
       $(GTK_PIDGIN_INCLUDES)
 
 xmpp-receipts.so: xmpp-receipts.c
-       gcc xmpp-receipts.c $(CFLAGS) $(INCLUDES) $(LDFLAGS) -o xmpp-receipts.so
+       $(CC) xmpp-receipts.c $(CFLAGS) $(INCLUDES) $(LDFLAGS) -o 
xmpp-receipts.so
 
 install: xmpp-receipts.so
-       mkdir -p ~/.purple/plugins
-       cp xmpp-receipts.so ~/.purple/plugins/
+       install -Dm755 xmpp-receipts.so -t $(DESTDIR)$(PLUGINDIR)
 
 uninstall:
-       rm -f ~/.purple/plugins/xmpp-receipts.so
+       rm -f $(DESTDIR)$(PLUGINDIR)/xmpp-receipts.so
 
 clean:
        rm -f xmpp-receipts.so
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pidgin-xmpp-receipts-0.6/README 
new/pidgin-xmpp-receipts-release_0.8/README
--- old/pidgin-xmpp-receipts-0.6/README 2013-02-12 21:43:24.000000000 +0100
+++ new/pidgin-xmpp-receipts-release_0.8/README 2017-05-03 23:38:59.000000000 
+0200
@@ -7,7 +7,7 @@
 
 To compile the plugin, run
 
-       $ make all
+       $ make
 
 You will need pidgin development packages
 (link in ubuntu: libpurple-dev and pidgin-dev).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pidgin-xmpp-receipts-0.6/xmpp-receipts.c 
new/pidgin-xmpp-receipts-release_0.8/xmpp-receipts.c
--- old/pidgin-xmpp-receipts-0.6/xmpp-receipts.c        2013-05-18 
10:53:34.000000000 +0200
+++ new/pidgin-xmpp-receipts-release_0.8/xmpp-receipts.c        2017-05-03 
23:38:59.000000000 +0200
@@ -26,7 +26,7 @@
 
 #define PURPLE_PLUGINS
 
-#define DISPLAY_VERSION "0.6"
+#define DISPLAY_VERSION "0.8"
 
 #include "gtkplugin.h"
 #include "version.h"
@@ -290,6 +290,11 @@
        }
 }
 
+void free_message_info(gpointer data)
+{
+       g_free(data);
+}
+
 static gboolean
 plugin_load(PurplePlugin *plugin)
 {
@@ -311,12 +316,12 @@
 
        xmpp_console_handle = plugin;
 
-       ht_locations    = g_hash_table_new(g_str_hash, g_str_equal);
+       ht_locations    = g_hash_table_new_full(g_str_hash, g_str_equal, 
g_free, g_free);
 
        purple_signal_connect(jabber, "jabber-receiving-xmlnode", 
xmpp_console_handle,
                            PURPLE_CALLBACK(xmlnode_received_cb), NULL);
-       purple_signal_connect(jabber, "jabber-sending-xmlnode", 
xmpp_console_handle,
-                           PURPLE_CALLBACK(xmlnode_sending_cb), NULL);
+       purple_signal_connect_priority(jabber, "jabber-sending-xmlnode", 
xmpp_console_handle,
+                           PURPLE_CALLBACK(xmlnode_sending_cb), NULL, -101);
 
 
     //Connect signals for conversations to clean references
@@ -333,8 +338,7 @@
 static gboolean
 plugin_unload(PurplePlugin *plugin)
 {
-
-
+       g_hash_table_destroy(ht_locations);
 
        return TRUE;
 }


Reply via email to