gajim: 0.16.7 -> 0.16.8

This commit is contained in:
Jörg Thalheim 2017-06-14 09:19:51 +01:00
parent cc0ce6b7a6
commit 537944ea77
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
2 changed files with 18 additions and 4 deletions

View File

@ -25,13 +25,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "gajim-${version}";
version = "0.16.7";
version = "0.16.8";
src = fetchurl {
name = "${name}.tar.bz2";
url = "https://dev.gajim.org/gajim/gajim/repository/archive.tar.bz2?"
+ "ref=${name}";
sha256 = "18srrsswq09i54gcqqy0ylmrix1rrq43f0b8sz1lijr39h3ayw3j";
sha256 = "009cpzqh4zy7hc9pq3r5m4lgagwawhjab13rjzavb0n9ggijcscb";
};
patches = let
@ -42,11 +42,12 @@ stdenv.mkDerivation rec {
# sha256 = "<replace-with-sha256>";
#};
};
in mapAttrsToList (name: { rev, sha256 }: fetchurl {
in (mapAttrsToList (name: { rev, sha256 }: fetchurl {
name = "gajim-${name}.patch";
url = "https://dev.gajim.org/gajim/gajim/commit/${rev}.diff";
inherit sha256;
}) cherries;
}) cherries)
++ [./fix-tests.patch]; # https://dev.gajim.org/gajim/gajim/issues/8660
postPatch = ''
sed -i -e '0,/^[^#]/ {

View File

@ -0,0 +1,13 @@
diff --git a/src/common/gajim.py b/src/common/gajim.py
index 4a5d884b6..95d401b67 100644
--- a/src/common/gajim.py
+++ b/src/common/gajim.py
@@ -415,7 +415,7 @@ def get_jid_from_account(account_name, full=False):
jid = name + '@' + hostname
if full:
resource = connections[account_name].server_resource
- jid += '/' + resource
+ jid += '/' + str(resource)
return jid
def get_our_jids():