pidgin-2.12.0:Version bump
This commit is contained in:
@@ -0,0 +1,69 @@
|
|||||||
|
diff -uprb pidgin-2.10.12.orig/libpurple/purple-remote pidgin-2.10.12/libpurple/purple-remote
|
||||||
|
--- pidgin-2.10.12.orig/libpurple/purple-remote 2016-01-01 01:19:41.000000000 +0200
|
||||||
|
+++ pidgin-2.10.12/libpurple/purple-remote 2016-01-02 06:23:14.082831498 +0200
|
||||||
|
@@ -3,13 +3,20 @@
|
||||||
|
import codecs
|
||||||
|
import dbus
|
||||||
|
import re
|
||||||
|
-import urllib
|
||||||
|
import sys
|
||||||
|
+try:
|
||||||
|
+ from urllib.parse import unquote
|
||||||
|
+except ImportError:
|
||||||
|
+ from urllib import unquote
|
||||||
|
|
||||||
|
import xml.dom.minidom
|
||||||
|
|
||||||
|
-sys.stdin = codecs.getwriter('utf-8')(sys.stdin);
|
||||||
|
-sys.stdout = codecs.getwriter('utf-8')(sys.stdout);
|
||||||
|
+if sys.version_info[0] >= 3:
|
||||||
|
+ sys.stdin = codecs.getwriter('utf-8')(sys.stdin.buffer)
|
||||||
|
+ sys.stdout = codecs.getwriter('utf-8')(sys.stdout.buffer)
|
||||||
|
+else:
|
||||||
|
+ sys.stdin = codecs.getwriter('utf-8')(sys.stdin)
|
||||||
|
+ sys.stdout = codecs.getwriter('utf-8')(sys.stdout)
|
||||||
|
|
||||||
|
xml.dom.minidom.Element.all = xml.dom.minidom.Element.getElementsByTagName
|
||||||
|
|
||||||
|
@@ -41,7 +48,7 @@ class CheckedAttribute:
|
||||||
|
return result
|
||||||
|
|
||||||
|
def show_help(requested=False):
|
||||||
|
- print """This program uses D-Bus to communicate with purple.
|
||||||
|
+ print("""This program uses D-Bus to communicate with purple.
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
|
||||||
|
@@ -72,7 +79,7 @@ Examples of commands:
|
||||||
|
|
||||||
|
PurpleAccountsFindConnected?name=&protocol=prpl-jabber
|
||||||
|
PurpleAccountsFindConnected(,prpl-jabber)
|
||||||
|
-""" % sys.argv[0]
|
||||||
|
+""" % sys.argv[0])
|
||||||
|
if (requested):
|
||||||
|
sys.exit(0)
|
||||||
|
else:
|
||||||
|
@@ -120,7 +127,7 @@ def execute(uri):
|
||||||
|
if paramstring is not None:
|
||||||
|
for param in paramstring.split("&"):
|
||||||
|
key, value = extendlist(param.split("=",1), 2, "")
|
||||||
|
- params[key] = urllib.unquote(value)
|
||||||
|
+ params[key] = unquote(value)
|
||||||
|
|
||||||
|
accountname = params.get("account", "")
|
||||||
|
|
||||||
|
@@ -233,12 +240,11 @@ if len(sys.argv) == 1:
|
||||||
|
elif (sys.argv[1] == "--help" or sys.argv[1] == "-h"):
|
||||||
|
show_help(True)
|
||||||
|
elif (obj == None):
|
||||||
|
- print "No existing libpurple instance detected."
|
||||||
|
+ print("No existing libpurple instance detected.")
|
||||||
|
sys.exit(1);
|
||||||
|
|
||||||
|
for arg in sys.argv[1:]:
|
||||||
|
output = execute(arg)
|
||||||
|
|
||||||
|
if (output != None):
|
||||||
|
- print output
|
||||||
|
-
|
||||||
|
+ print(output)
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<Icon>pidgin</Icon>
|
<Icon>pidgin</Icon>
|
||||||
<Summary>Instant messaging application previously known as gaim</Summary>
|
<Summary>Instant messaging application previously known as gaim</Summary>
|
||||||
<Description>Multi-protocol instant messaging tool for MSN, Yahoo, IRC, Jabber and Gadu-Gadu protocols.</Description>
|
<Description>Multi-protocol instant messaging tool for MSN, Yahoo, IRC, Jabber and Gadu-Gadu protocols.</Description>
|
||||||
<Archive sha1sum="5e0062b81bdb01300804e12bc0b6a04a91984631" type="tarbz2">mirrors://sourceforge/pidgin/pidgin-2.10.11.tar.bz2</Archive>
|
<Archive sha1sum="38f48c48978425b86fc9f4e8ba08216ff379451b" type="tarbz2">mirrors://sourceforge/pidgin/pidgin-2.12.0.tar.bz2</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>intltool</Dependency>
|
<Dependency>intltool</Dependency>
|
||||||
<Dependency>glib2-devel</Dependency>
|
<Dependency>glib2-devel</Dependency>
|
||||||
@@ -44,23 +44,8 @@
|
|||||||
<Dependency>python-devel</Dependency>
|
<Dependency>python-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!--<Patch level="0">pidgin-desktop.patch</Patch> -->
|
|
||||||
<!-- <Patch level="1">mageia/pidgin-2.7.0-smiley.patch</Patch> -->
|
|
||||||
<!-- <Patch level="1">mageia/pidgin-2.8.0-reread-resolvconf.patch</Patch> -->
|
|
||||||
<!-- <Patch level="1">mageia/pidgin-2.10.0-gg-search-by-uin.patch</Patch> -->
|
|
||||||
<!-- <Patch level="0">mageia/pidgin-2.4.2-set-jabber-as-module.patch</Patch> -->
|
|
||||||
<!-- <Patch level="1">mageia/pidgin-2.8.0-gg-disconnect.patch</Patch> -->
|
|
||||||
<!-- <Patch level="1">mageia/pidgin-2.7.0-mono-build.patch</Patch> -->
|
|
||||||
<!-- <Patch level="1">fedora/pidgin-NOT-UPSTREAM-2.5.2-rhel4-sound-migration.patch</Patch> -->
|
|
||||||
<Patch level="1">suse/ pidgin-2.10.11-send-video-enum.patch</Patch>
|
|
||||||
<Patch level="1">suse/pidgin-2.10.11-add-dtmf-support.patch</Patch>
|
|
||||||
<!-- <Patch level="1">suse/pidgin-2.10.11-application-media.patch</Patch> -->
|
|
||||||
<Patch level="1">suse/pidgin-2.10.11-fix-sound-play-fd-leak.patch</Patch>
|
|
||||||
<Patch level="1">suse/pidgin-2.10.11-gst-references.patch</Patch>
|
|
||||||
<Patch level="1">suse/pidgin-2.10.11-init-media-optional.patch</Patch>
|
|
||||||
<Patch level="1">suse/pidgin-2.10.11-private-media.patch</Patch>
|
|
||||||
<Patch level="1">suse/pidgin-ncurses-6.0-accessors.patch</Patch>
|
<Patch level="1">suse/pidgin-ncurses-6.0-accessors.patch</Patch>
|
||||||
<!-- <Patch level="1">suse/pidgin-port-to-gst-1.0.patch</Patch> -->
|
<Patch level="1">pidgin-py3-fixes.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -85,6 +70,8 @@
|
|||||||
<Dependency>gdk-pixbuf</Dependency>
|
<Dependency>gdk-pixbuf</Dependency>
|
||||||
<Dependency>libXScrnSaver</Dependency>
|
<Dependency>libXScrnSaver</Dependency>
|
||||||
<Dependency release="current">libpurple</Dependency>
|
<Dependency release="current">libpurple</Dependency>
|
||||||
|
<Dependency>gstreamer-next</Dependency>
|
||||||
|
<Dependency>farstream</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="man">/usr/share/man</Path>
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
@@ -203,6 +190,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2017-05-18</Date>
|
||||||
|
<Version>2.12.0</Version>
|
||||||
|
<Comment>Rebuild with new toolchain</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="2">
|
<Update release="2">
|
||||||
<Date>2016-06-15</Date>
|
<Date>2016-06-15</Date>
|
||||||
<Version>2.10.11</Version>
|
<Version>2.10.11</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user