[packages/tkabber] - rel 3; treat regular messages as chats; less messy, less windows etc

arekm arekm at pld-linux.org
Sat Jun 15 08:50:36 CEST 2013


commit 497b1d416bd8c21a1fbe31a13228b2602ac48b59
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Jun 15 08:50:32 2013 +0200

    - rel 3; treat regular messages as chats; less messy, less windows etc

 tkabber-chat-by-default.patch | 11 +++++++++++
 tkabber.spec                  |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/tkabber.spec b/tkabber.spec
index 3807d5d..c5fad98 100644
--- a/tkabber.spec
+++ b/tkabber.spec
@@ -7,7 +7,7 @@ Summary:	Tk Jabber client
 Summary(pl.UTF-8):	Klient Jabbera oparty o Tk
 Name:		tkabber
 Version:	0.11.2
-Release:	1.%{snap}.2
+Release:	1.%{snap}.3
 License:	GPL
 Group:		Applications/Communications
 # Source0:	http://files.jabber.ru/tkabber/%{name}-%{version}.tar.gz
@@ -16,6 +16,7 @@ Source0:	%{name}-%{snap}.tar.bz2
 Source1:	%{name}.desktop
 Source2:	%{name}.png
 Patch0:		%{name}-privacy.patch
+Patch1:		%{name}-chat-by-default.patch
 URL:		http://tkabber.jabber.ru/
 BuildRequires:	sed >= 4.0
 Requires:	tcl >= 8.3.4-7
@@ -66,6 +67,7 @@ Do pełnej funkcjonalności mogą być potrzebne dodatkowe pakiety:
 %prep
 %setup -q -n %{name}
 %{?with_privacy:%patch0 -p1}
+%patch1 -p1
 
 sed -i -e 's#ifaceck##g' Makefile
 
diff --git a/tkabber-chat-by-default.patch b/tkabber-chat-by-default.patch
new file mode 100644
index 0000000..67b247b
--- /dev/null
+++ b/tkabber-chat-by-default.patch
@@ -0,0 +1,11 @@
+--- tkabber/tclxmpp/xmpp/xmpp.tcl~	2011-12-14 21:42:06.000000000 +0100
++++ tkabber/tclxmpp/xmpp/xmpp.tcl	2013-06-15 08:48:42.829876795 +0200
+@@ -1258,7 +1258,7 @@
+     xml::split $xmlElement tag xmlns attrs cdata subels
+ 
+     set from   ""
+-    set type   ""
++    set type   "chat"
+     set x      {}
+     set params {}
+     set xparam {}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tkabber.git/commitdiff/497b1d416bd8c21a1fbe31a13228b2602ac48b59



More information about the pld-cvs-commit mailing list