Grammalecte  Check-in [d7e8aec548]

Overview
Comment:[build][tb] move the Thunberbird debug profile somewhere else
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | build | tb
Files: files | file ages | folders
SHA3-256: d7e8aec54815ce5d7089b84ae5d2f52fbf676853c15bc348e9a315a15e101bc8
User & Date: olr on 2018-03-06 11:33:06
Other Links: manifest | tags
Context
2018-03-07
09:22
[fx][bug] spelling: fix display of suggestions from multiple dictionaries check-in: 5603c72dbb user: olr tags: trunk, fx
2018-03-06
11:34
merge trunk check-in: 7ee6b583e8 user: olr tags: multid
11:33
[build][tb] move the Thunberbird debug profile somewhere else check-in: d7e8aec548 user: olr tags: trunk, build, tb
2018-03-05
15:47
[fx] fix gc options loading at startup (at least for Chrome) check-in: 0734ff8f6b user: olr tags: trunk, fx
Changes

Modified gc_lang/fr/build.py from [ea0f7f998e] to [9ca6336e46].

1
2
3

4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10
11



+







# Builder for French language

import os
import platform
import zipfile
from distutils import dir_util, file_util

import helpers


def build (sLang, dVars, spLangPack):
86
87
88
89
90
91
92

93

94
95
96
97
98
99
100
87
88
89
90
91
92
93
94

95
96
97
98
99
100
101
102







+
-
+







    helpers.addFolderToZipAndFileFile(hZip, "gc_lang/"+sLang+"/tb", "", dVars, True)
    spDict = "gc_lang/"+sLang+"/xpi/data/dictionaries"
    for sp in os.listdir(spDict):
        if os.path.isdir(spDict+"/"+sp):
            hZip.write(spDict+"/"+sp+"/"+sp+".dic", "content/dictionaries/"+sp+"/"+sp+".dic")
            hZip.write(spDict+"/"+sp+"/"+sp+".aff", "content/dictionaries/"+sp+"/"+sp+".aff")
    hZip.close()
    spfDebugProfile = dVars['win_tb_debug_extension_path']  if platform.system() == "Windows"  else dVars['linux_tb_debug_extension_path']
    helpers.unzip(spfZip, dVars['tb_debug_extension_path'])
    helpers.unzip(spfZip, spfDebugProfile)


def _createOptionsForThunderbird (dVars):
    dVars['sXULTabs'] = ""
    dVars['sXULTabPanels'] = ""
    # dialog options
    for sSection, lOpt in dVars['lStructOpt']:

Modified gc_lang/fr/config.ini from [8b1eb63490] to [eb081b50e5].

41
42
43
44
45
46
47
48
49
50
51

52

53
54
55
56
57
58
59
41
42
43
44
45
46
47

48
49
50
51

52
53
54
55
56
57
58
59







-



+
-
+







fx_name = Grammalecte [fr]

win_fx_dev_path = C:\Program Files\Firefox Developer Edition\firefox.exe
win_fx_nightly_path = C:\Program Files\Nightly\firefox.exe
linux_fx_dev_path = /usr/bin/firefox
linux_fx_nightly_path = /usr/bin/firefox


# Thunderbird
tb_identifier = French-GC-TB@grammalecte.net
tb_name = Grammalecte [fr]
win_tb_debug_extension_path = D:\_temp\tb-debug.profile\extensions\French-GC-TB@grammalecte.net
tb_debug_extension_path = _build/tb-debug.profile/extensions/French-GC-TB@grammalecte.net
linux_tb_debug_extension_path = ~/tb-debug.profile/extensions/French-GC-TB@grammalecte.net
# Set Thunderbird folder in your PATH variable
# Create a local profile:
#     	thunderbird -CreateProfile "debug _build\tb-debug.profile"
# Or you can use the GUI with:
#	 	thunderbird -P
# To launch Thunderbird with the profile debug, type:
#     	thunderbird -P debug