Skip to content

Commit

Permalink
gajim: 0.16.7 -> 0.16.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jun 14, 2017
1 parent cc0ce6b commit 537944e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,/^[^#]/ {
Expand Down
Original file line number Diff line number Diff line change
@@ -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():

3 comments on commit 537944e

@Mic92
Copy link
Member Author

@Mic92 Mic92 commented on 537944e Jun 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aszlig might be worth a back-port: https://dev.gajim.org/gajim/gajim/blob/gajim-0.16.8/ChangeLog
what do you think?

@aszlig
Copy link
Member

@aszlig aszlig commented on 537944e Jun 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mic92: Which point of that changelog do you mean exactly?

@Mic92
Copy link
Member Author

@Mic92 Mic92 commented on 537944e Jun 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gajim is not the most reliable software. Fortunately development seems to speedup again and changes made in this minor release improve stability (gnupg-compatibilty in my case).

Please sign in to comment.