1 |
eva 14/11/01 10:44:45 |
2 |
|
3 |
Added: gtg-0.3.1-locales.patch gtg-0.3.1-desktop.patch |
4 |
Log: |
5 |
Version bump, bug #501562. Fix homepage. |
6 |
|
7 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key C6085806) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-office/gtg/files/gtg-0.3.1-locales.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtg/files/gtg-0.3.1-locales.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtg/files/gtg-0.3.1-locales.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: gtg-0.3.1-locales.patch |
16 |
=================================================================== |
17 |
Do not install unwanted locales. |
18 |
|
19 |
--- a/setup.py 2014-11-01 11:21:49.679613605 +0100 |
20 |
+++ b/setup.py 2014-11-01 11:26:36.305719135 +0100 |
21 |
@@ -101,9 +101,15 @@ |
22 |
|
23 |
PO_DIR = 'po' |
24 |
MO_DIR = os.path.join('build', 'po') |
25 |
+LINGUAS = os.environ.get('LINGUAS', '*').split(' ') |
26 |
|
27 |
for po in glob.glob(os.path.join(PO_DIR, '*.po')): |
28 |
lang = os.path.basename(po[:-3]) |
29 |
+ |
30 |
+ # Skip unwanted locales |
31 |
+ if lang not in LINGUAS and '*' not in LINGUAS: |
32 |
+ continue |
33 |
+ |
34 |
mo = os.path.join(MO_DIR, lang, 'gtg.mo') |
35 |
target_dir = os.path.dirname(mo) |
36 |
if not os.path.isdir(target_dir): |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-office/gtg/files/gtg-0.3.1-desktop.patch |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtg/files/gtg-0.3.1-desktop.patch?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtg/files/gtg-0.3.1-desktop.patch?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: gtg-0.3.1-desktop.patch |
46 |
=================================================================== |
47 |
Fix desktop-file-validate warning. |
48 |
|
49 |
--- a/gtg.desktop 2014-11-01 11:23:31.101881704 +0100 |
50 |
+++ b/gtg.desktop 2014-11-01 11:23:37.349775014 +0100 |
51 |
@@ -14,7 +14,7 @@ |
52 |
StartupNotify=true |
53 |
X-Ayatana-Desktop-Shortcuts=NewTask |
54 |
|
55 |
-[NewTask Shortcut Group] |
56 |
+[X-NewTask Shortcut Group] |
57 |
Name=New Task |
58 |
Exec=gtg_new_task |
59 |
TargetEnvironment=Unity |