components/desktop/pidgin/patches/pidgin-17-fix-python-shebang.patch
author Rich Burridge <rich.burridge@oracle.com>
Mon, 20 Mar 2017 16:30:34 -0700
changeset 7779 76d3a92dbebb
parent 6559 a16b1334b51f
permissions -rw-r--r--
25707742 Update pidgin to version 2.12.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
# Fix the shebang line in a couple of scripts to use a specific version of
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# Python so that the pidgin package can be properly published in Userland
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
# where these things matter.
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
#
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# This patch will not be sent upstream.
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
7779
76d3a92dbebb 25707742 Update pidgin to version 2.12.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6559
diff changeset
     7
--- pidgin-2.12.0/libpurple/purple-remote.orig	2017-03-12 09:00:32.355626039 +0000
76d3a92dbebb 25707742 Update pidgin to version 2.12.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6559
diff changeset
     8
+++ pidgin-2.12.0/libpurple/purple-remote	2017-03-12 09:00:43.077940312 +0000
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
@@ -1,4 +1,4 @@
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
-#!/usr/bin/env python
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
+#!/usr/bin/python2.7
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
 
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 import codecs
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
 import dbus
7779
76d3a92dbebb 25707742 Update pidgin to version 2.12.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6559
diff changeset
    15
--- pidgin-2.12.0/libpurple/purple-url-handler.orig	2017-03-12 08:59:33.344547798 +0000
76d3a92dbebb 25707742 Update pidgin to version 2.12.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6559
diff changeset
    16
+++ pidgin-2.12.0/libpurple/purple-url-handler	2017-03-12 08:59:40.209980832 +0000
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
@@ -1,4 +1,4 @@
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
-#!/usr/bin/env python
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
+#!/usr/bin/python2.7
6559
a16b1334b51f 23209349 Upgrade pidgin to version 2.11.0
Rich Burridge <rich.burridge@oracle.com>
parents: 5091
diff changeset
    20
 from __future__ import print_function
5091
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
 import dbus
81e5d6b75c3c 22185024 Move pidgin from Desktop to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
 import re