Hello community,

here is the log from the commit of package kde3-sim for openSUSE:12.3 checked 
in at 2013-02-04 19:04:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3/kde3-sim (Old)
 and      /work/SRC/openSUSE:12.3/.kde3-sim.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kde3-sim", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2013-01-09 19:40:42.352580873 +0100
+++ /work/SRC/openSUSE:12.3/.kde3-sim.new/kde3-sim.changes      2013-02-04 
19:04:52.000000000 +0100
@@ -0,0 +1,99 @@
+-------------------------------------------------------------------
+Sun Feb  3 12:48:01 UTC 2013 - an...@opensuse.org
+
+- fix build with new libxml2 buffer (kde3-sim-libxml2-new-buffer.patch)
+
+-------------------------------------------------------------------
+Thu Oct  6 03:54:00 UTC 2011 - an...@opensuse.org
+
+- remove obsolete version checks
+
+-------------------------------------------------------------------
+Mon Sep 26 07:38:28 UTC 2011 - an...@opensuse.org
+
+- update version to 0.9.5, which has no sha.c file, reenable Yahoo plugin
+
+-------------------------------------------------------------------
+Tue Sep 20 16:53:31 UTC 2011 - an...@opensuse.org
+
+- add double message fix patch from Alt Linux
+- disable Yahoo plugin due to legal reasons
+
+-------------------------------------------------------------------
+Mon Sep 19 23:28:05 UTC 2011 - an...@opensuse.org
+
+- fix memset call (incorrect arguments order in function call)
+- rename to kde3-sim
+- fix build (filelist)
+
+-------------------------------------------------------------------
+Mon Oct 15 15:07:10 CEST 2007 - sch...@suse.de
+
+- Fix specfile.
+
+-------------------------------------------------------------------
+Sun Aug 19 18:05:31 CEST 2007 - stbin...@suse.de
+
+- fix build on 64bit and 10.0
+
+-------------------------------------------------------------------
+Sat Aug  4 08:37:34 CEST 2007 - stbin...@suse.de
+
+- update to version 0.9.4.3: 
+   * almost 3 years newer version, please see ChangeLog
+ 
+-------------------------------------------------------------------
+Fri Mar 30 11:41:48 CEST 2007 - ssom...@suse.de
+
+- add flex to BuildRequires
+
+-------------------------------------------------------------------
+Mon Jan 22 23:31:12 CET 2007 - stbin...@suse.de
+
+- fix build for < 10.1
+
+-------------------------------------------------------------------
+Tue Jan  9 13:37:55 CET 2007 - dkuka...@suse.de
+
+- Added patch for fix some compiler warnings, which prevent build
+  the package for STABLE
+
+-------------------------------------------------------------------
+Wed Jan 25 21:41:35 CET 2006 - m...@suse.de
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Mon Dec 12 08:48:32 CET 2005 - hma...@suse.de
+
+- add -fno-strict-aliasing
+
+-------------------------------------------------------------------
+Wed Nov  2 23:16:07 CET 2005 - dmuel...@suse.de
+
+- don't build as root 
+
+-------------------------------------------------------------------
+Tue May  3 16:26:03 CEST 2005 - m...@suse.de
+
+- Fix for gcc4
+
+-------------------------------------------------------------------
+Thu Feb 17 10:06:57 CET 2005 - adr...@suse.de
+
+- menu entry move to xdg dir
+
+-------------------------------------------------------------------
+Fri Nov 26 10:42:27 CET 2004 - adr...@suse.de
+
+- add %suse_update_desktop_file
+
+-------------------------------------------------------------------
+Fri Oct 29 16:09:47 CEST 2004 - r...@suse.de
+
+- clean specfile
+
+-------------------------------------------------------------------
+Thu Oct 28 16:01:37 CEST 2004 - hma...@suse.de
+
+- Initial checkin of new icq-client  sim

New:
----
  fix-memset-call.patch
  kde3-sim-libxml2-new-buffer.patch
  kde3-sim.changes
  kde3-sim.spec
  sim-0.9.4.3-double-message-fix.patch
  sim-0.9.5.3209.tar.bz2
  sim-fix_compiler_warnings.diff

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

Other differences:
------------------
++++++ kde3-sim.spec ++++++
#
# spec file for package sim (Version 0.9.4.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#

%define _prefix=/opt/kde3

Name:           kde3-sim
BuildRequires:  flex kdelibs3-devel zip cmake qt3-devel gcc-c++
Version:        0.9.5.3209
Release:        152
Summary:        Plugins-based instant messenger for several protocols
# the GPL-2.0 license of qjpegio.cpp may cause the entire package to be licensed
# under GPL-2.0
License:        GPL-2.0
Group:          Productivity/Networking/Instant Messenger
Url:            http://sim-im.org
Source0:        sim-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch3:         sim-fix_compiler_warnings.diff
Patch4:         fix-memset-call.patch
Patch5:         sim-0.9.4.3-double-message-fix.patch
Patch6:         kde3-sim-libxml2-new-buffer.patch
Provides:       sim = %{version}
Obsoletes:      sim = %{version}

%description
SIM - Multiprotocol Instant Messenger

SIM (Simple Instant Messenger) is a plugins-based open- source instant
messenger that supports various protocols (ICQ, Jabber, AIM, MSN, YIM).
It uses the QT library and works on X11 with optional KDE-support.

SIM has a lot of features, many of them are listed at:
http://sim-icq.sourceforge.net/

%prep
%setup -q -n sim-%{version}
#%patch3
%patch4 -p1
#%patch5 -p1
%if %suse_version > 1220
%patch6 -p1
%endif

%build
. /etc/opt/kde3/common_options

mkdir simkde
pushd simkde
export QTDIR=/usr/lib/qt3
cmake %_builddir/sim-%version \
        -DCMAKE_C_FLAGS:STRING="%optflags -Wl,--add-needed" \
        -DCMAKE_CXX_FLAGS:STRING="%optflags -Wl,--add-needed" \
        -DCMAKE_INSTALL_PREFIX=/opt/kde3 \
        -DCMAKE_INSTALL_DIR=/opt/kde3 \
        -DCMAKE_SKIP_RPATH=YES \
        -DUSE_GCC_VISIBILITY=1 \
%if %_lib=="lib64"
        -DLIB_SUFFIX=64 \
%endif
        -DENABLE_KDE3=1

make %{?_smp_mflags}
popd

%install
. /etc/opt/kde3/common_options
pushd simkde
%makeinstall
popd
%find_lang sim
%suse_update_desktop_file -G "Instant Messenger" sim-im Network InstantMessaging
kde_post_install

%files -f sim.lang
%defattr(-,root,root)
%doc COPYING AUTHORS AUTHORS.sim README
/opt/kde3/bin/sim-im
/opt/kde3/bin/simctrl
/opt/kde3/%_lib/*
/opt/kde3/%_lib/sim-im/*
%dir /opt/kde3/%_lib/sim-im
%dir /opt/kde3/share/apps/sim-im
%dir /opt/kde3/share/apps/sim-im/icons
%dir /opt/kde3/share/apps/sim-im/pict
%dir /opt/kde3/share/apps/sim-im/sounds
%dir /opt/kde3/share/apps/sim-im/styles
%dir /opt/kde3/share/icons/hicolor/72x72
%dir /opt/kde3/share/icons/hicolor/72x72/apps
%dir /opt/kde3/share/locale/sw
%dir /opt/kde3/share/locale/sw/LC_MESSAGES
/opt/kde3/share/applications/kde/sim-im.desktop
/opt/kde3/share/apps/sim-im/icons/*
/opt/kde3/share/apps/sim-im/pict/*
/opt/kde3/share/apps/sim-im/sounds/*
/opt/kde3/share/apps/sim-im/styles/*
/opt/kde3/share/icons/hicolor/16x16/apps/sim.png
/opt/kde3/share/icons/hicolor/32x32/apps/sim.png
/opt/kde3/share/icons/hicolor/48x48/apps/sim.png
/opt/kde3/share/icons/hicolor/64x64/apps/sim.png
/opt/kde3/share/icons/hicolor/72x72/apps/sim.png
/opt/kde3/share/services/simctrl.desktop

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%changelog
++++++ fix-memset-call.patch ++++++
diff -wruN sim-0.9.4.3.orig/sim/sockfactory.cpp sim-0.9.4.3/sim/sockfactory.cpp
--- sim-0.9.4.3.orig/sim/sockfactory.cpp        2006-01-31 23:24:25.000000000 
+0300
+++ sim-0.9.4.3/sim/sockfactory.cpp     2011-09-20 03:25:08.076723592 +0400
@@ -340,7 +340,7 @@
     unsigned long res = 0;
     int s = sock->socket();
     struct sockaddr_in addr;
-    memset(&addr, sizeof(addr), 0);
+    memset(&addr, 0, sizeof(addr));
     socklen_t size = sizeof(addr);
     if (getsockname(s, (struct sockaddr*)&addr, &size) >= 0)
         res = addr.sin_addr.s_addr;
++++++ kde3-sim-libxml2-new-buffer.patch ++++++
diff -wruN sim-0.9.5.3209.orig/sim/xsl.cpp sim-0.9.5.3209/sim/xsl.cpp
--- sim-0.9.5.3209.orig/sim/xsl.cpp     2006-12-18 21:49:50.000000000 +0300
+++ sim-0.9.5.3209/sim/xsl.cpp  2013-02-03 16:01:02.793704642 +0400
@@ -123,7 +123,7 @@
     xsltSaveResultTo(buf, res, d->styleSheet);
     xmlFreeDoc(res);
 
-    QString result = QString::fromUtf8((char*)(buf->buffer->content));
+    QString result = 
QString::fromUtf8((char*)(xmlOutputBufferGetContent(buf)));
     xmlOutputBufferClose(buf);;
 
     return result;
++++++ sim-0.9.4.3-double-message-fix.patch ++++++
Patch fixes the issue of double message text display when receiving Jabber
messages from some clients like Pidgin.

Issue was reported as BerliOS.de bug #9681 (http://tinyurl.com/3bnss4)

Patch extracted from http://tinyurl.com/yob7wm

Prepared by Kir Kolyshkin <k...@openvz.org>, thanks to shaplov@

--- sim-0.9.4.3/plugins/jabber/jabber_rosters.cpp.double-msg    2007-01-19 
20:00:41.000000000 +0300
+++ sim-0.9.4.3/plugins/jabber/jabber_rosters.cpp       2007-10-10 
01:43:44.000000000 +0400
@@ -1413,9 +1413,10 @@
     }
     if (m_bEvent){
         // Parsing <x xmlns='jabber:x:event'> tag, which contains JEP-0022 
event info
-        if (!strcmp(el, "composing"))
+        if (!strcmp(el, "composing")){
             m_bCompose = true;
-        return;
+            return;
+        }
     }
     if (!strcmp(el, "url-data")){
         m_target = JabberClient::get_attr("target", attr);
++++++ sim-fix_compiler_warnings.diff ++++++
--- plugins/msn/msnclient.cpp   2004-03-28 20:45:08.000000000 +0200
+++ plugins/msn/msnclient.cpp   2007-01-08 20:49:33.000000000 +0100
@@ -1158,7 +1158,9 @@
         i++;
         if (i + 2 > (int)(s.length()))
             break;
-        res += QChar((char)((fromHex(s[i++]) << 4) + fromHex(s[i])));
+        c = (char) (fromHex(s[i++]) << 4);
+       res += (c + (char)fromHex(s[i]));
+       // res += QChar((char)((fromHex(s[i++]) << 4) + fromHex(s[i])));
     }
     return res;
 }
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to