[renpy] 05/30: Drop translations-tmpdir.patch

Markus Koschany apo at moszumanska.debian.org
Sat Dec 2 23:20:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository renpy.

commit 56ca5a391af57d5e31b04bab9888aad2a2e37c38
Author: Markus Koschany <apo at debian.org>
Date:   Sat Dec 2 21:18:44 2017 +0100

    Drop translations-tmpdir.patch
---
 debian/patches/series                    |  1 -
 debian/patches/translations-tmpdir.patch | 31 -------------------------------
 2 files changed, 32 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
index a5e10ca..0a30345 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
 01_abspath.patch
 02_traceback.patch
 03_checkdir.patch
-translations-tmpdir.patch
diff --git a/debian/patches/translations-tmpdir.patch b/debian/patches/translations-tmpdir.patch
deleted file mode 100644
index 3da4610..0000000
--- a/debian/patches/translations-tmpdir.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From: Markus Koschany <apo at debian.org>
-Date: Wed, 21 Dec 2016 15:13:15 +0100
-Subject: translations tmpdir
-
-Use the user's HOME directory instead of /usr/share/games/renpy which is not
-writable.
-
-Forwarded: not-needed
----
- launcher/game/translations.rpy | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/launcher/game/translations.rpy b/launcher/game/translations.rpy
-index 5184ecf..e65c74c 100644
---- a/launcher/game/translations.rpy
-+++ b/launcher/game/translations.rpy
-@@ -39,12 +39,12 @@ init python:
-         return SensitiveIf(re.match(r'^\w+$', persistent.translate_language))
- 
-     try:
--        os.makedirs(os.path.join(config.basedir, "tmp"))
-+        os.makedirs(os.path.expanduser("~/.renpy/tmp"))
-     except:
-         pass
- 
- 
--    STRINGS_JSON = os.path.join(config.basedir, "tmp", "strings.json")
-+    STRINGS_JSON = os.path.join(os.path.expanduser("~/.renpy/tmp/"), "strings.json")
- 
- 
- screen translate:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/renpy.git



More information about the Pkg-games-commits mailing list