mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Win installer: backport recent changes for LyX 2.3.0
This commit is contained in:
parent
4c3991b9ca
commit
ae76c030d3
@ -1,5 +1,16 @@
|
|||||||
Changelog for LyX-230-RC2:
|
Changelog for LyX-230-1:
|
||||||
|
- installs LyX 2.3.0
|
||||||
|
- fix installation of Arabic spell checker
|
||||||
|
- updated to MiKTeX 2.9 build 6615
|
||||||
|
- new thesaurus for Arabic
|
||||||
|
- updated thesaurus for Ukrainian
|
||||||
|
- updated spell checker dictionaries for Arabic, Breton and Ukrainian
|
||||||
|
|
||||||
|
|
||||||
|
Changelog for LyX-230-RC2:
|
||||||
- installs LyX 2.3.0 RC2
|
- installs LyX 2.3.0 RC2
|
||||||
|
- updated to Qt 5.9.4
|
||||||
|
- updated to ImageMagick 7.0.7-22
|
||||||
|
|
||||||
|
|
||||||
Changelog for LyX-230-RC1:
|
Changelog for LyX-230-RC1:
|
||||||
|
@ -1,29 +1,22 @@
|
|||||||
dfn
|
astuteinternet
|
||||||
|
ayera
|
||||||
|
cfhcable
|
||||||
|
cytranet
|
||||||
|
excellmedia
|
||||||
freefr
|
freefr
|
||||||
cznic
|
|
||||||
garr
|
|
||||||
optimate
|
|
||||||
kaz
|
|
||||||
kent
|
|
||||||
heanet
|
|
||||||
hivelocity
|
|
||||||
ignum
|
|
||||||
internode
|
|
||||||
iweb
|
iweb
|
||||||
jaist
|
jaist
|
||||||
netcologne
|
kent
|
||||||
switch
|
liquidtelecom
|
||||||
nchc
|
nchc
|
||||||
ncu
|
netcologne
|
||||||
skylink
|
netix
|
||||||
tcpdiag
|
netcologne
|
||||||
tenet
|
newcontinuum
|
||||||
ufpr
|
phoenixnap
|
||||||
waia
|
razaoinfo
|
||||||
colocrossing
|
|
||||||
citylan
|
|
||||||
aarnet
|
|
||||||
superb-dca2
|
superb-dca2
|
||||||
superb-dca3
|
superb-sea2
|
||||||
softlayer-ams
|
ufpr
|
||||||
softlayer-dal
|
versaweb
|
||||||
|
vorboss
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
af_ZA.aff
|
af_ZA.aff
|
||||||
af_ZA.dic
|
af_ZA.dic
|
||||||
ar_DZ.aff
|
ar_SA.aff
|
||||||
ar_DZ.dic
|
ar_SA.dic
|
||||||
be_BY.aff
|
be_BY.aff
|
||||||
be_BY.dic
|
be_BY.dic
|
||||||
bg_BG.aff
|
bg_BG.aff
|
||||||
|
@ -3,6 +3,7 @@ l3packages
|
|||||||
l3experimental
|
l3experimental
|
||||||
ctablestack
|
ctablestack
|
||||||
babel-albanian
|
babel-albanian
|
||||||
|
babel-azerbaijani
|
||||||
babel-basque
|
babel-basque
|
||||||
babel-belarusian
|
babel-belarusian
|
||||||
babel-bosnian
|
babel-bosnian
|
||||||
@ -13,12 +14,15 @@ babel-croatian
|
|||||||
babel-czech
|
babel-czech
|
||||||
babel-danish
|
babel-danish
|
||||||
babel-dutch
|
babel-dutch
|
||||||
|
babel-english
|
||||||
babel-esperanto
|
babel-esperanto
|
||||||
babel-estonian
|
babel-estonian
|
||||||
babel-finnish
|
babel-finnish
|
||||||
|
babel-french
|
||||||
babel-friulan
|
babel-friulan
|
||||||
babel-galician
|
babel-galician
|
||||||
babel-georgian
|
babel-georgian
|
||||||
|
babel-german
|
||||||
babel-greek
|
babel-greek
|
||||||
babel-hebrew
|
babel-hebrew
|
||||||
babel-hungarian
|
babel-hungarian
|
||||||
@ -32,6 +36,7 @@ babel-kurmanji
|
|||||||
babel-latin
|
babel-latin
|
||||||
babel-latvian
|
babel-latvian
|
||||||
babel-macedonian
|
babel-macedonian
|
||||||
|
babel-malay
|
||||||
babel-norsk
|
babel-norsk
|
||||||
babel-piedmontese
|
babel-piedmontese
|
||||||
babel-polish
|
babel-polish
|
||||||
@ -46,6 +51,7 @@ babel-serbianc
|
|||||||
babel-slovak
|
babel-slovak
|
||||||
babel-slovenian
|
babel-slovenian
|
||||||
babel-sorbian
|
babel-sorbian
|
||||||
|
babel-spanish
|
||||||
babel-swedish
|
babel-swedish
|
||||||
babel-thai
|
babel-thai
|
||||||
babel-turkish
|
babel-turkish
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
th_ar_SA_v2.dat
|
||||||
|
th_ar_SA_v2.idx
|
||||||
th_bg_BG_v2.dat
|
th_bg_BG_v2.dat
|
||||||
th_bg_BG_v2.idx
|
th_bg_BG_v2.idx
|
||||||
th_ca_ES_v2.dat
|
th_ca_ES_v2.dat
|
||||||
|
@ -43,8 +43,8 @@ Function FindDictionaries
|
|||||||
|
|
||||||
# read out the possible thesaurus filenames from the file
|
# read out the possible thesaurus filenames from the file
|
||||||
FileOpen $R5 "$INSTDIR\Resources\ThesaurusDictionaryNames.txt" r
|
FileOpen $R5 "$INSTDIR\Resources\ThesaurusDictionaryNames.txt" r
|
||||||
${for} $5 1 27
|
${for} $5 1 28
|
||||||
# the file has 54 lines, but we only need to check for one of the 2 thesaurus files per language
|
# the file has 56 lines, but we only need to check for one of the 2 thesaurus files per language
|
||||||
# therefore check only for every second line
|
# therefore check only for every second line
|
||||||
FileRead $R5 $String # $String is now the dictionary name
|
FileRead $R5 $String # $String is now the dictionary name
|
||||||
FileRead $R5 $String # $String is now the dictionary name
|
FileRead $R5 $String # $String is now the dictionary name
|
||||||
@ -77,11 +77,11 @@ Function DownloadHunspellDictionaries
|
|||||||
# if first download repository is not available try the other ones listed in "DictionaryMirrors.txt"
|
# if first download repository is not available try the other ones listed in "DictionaryMirrors.txt"
|
||||||
FileOpen $R4 "$INSTDIR\Resources\DictionaryMirrors.txt" r
|
FileOpen $R4 "$INSTDIR\Resources\DictionaryMirrors.txt" r
|
||||||
|
|
||||||
${For} $4 1 29 # there are 29 mirrors in the file
|
${For} $4 1 22 # there are 22 mirrors in the file
|
||||||
FileRead $R4 $Search # $Search is now the mirror
|
FileRead $R4 $Search # $Search is now the mirror
|
||||||
StrCpy $Search $Search -2 # delete the linebreak characters at the end
|
StrCpy $Search $Search -2 # delete the linebreak characters at the end
|
||||||
Push $R0
|
Push $R0
|
||||||
inetc::get /TIMEOUT=5000 "http://$Search.dl.sourceforge.net/project/lyxwininstaller/hunspell/$String" "$INSTDIR\Resources\dicts\$String" /END
|
inetc::get /TIMEOUT=5000 "https://$Search.dl.sourceforge.net/project/lyxwininstaller/hunspell/$String" "$INSTDIR\Resources\dicts\$String" /END
|
||||||
Pop $R0
|
Pop $R0
|
||||||
${if} $R0 == "OK"
|
${if} $R0 == "OK"
|
||||||
${ExitFor}
|
${ExitFor}
|
||||||
@ -112,7 +112,7 @@ Function DownloadThesaurusDictionaries
|
|||||||
|
|
||||||
# read out the locations from the file
|
# read out the locations from the file
|
||||||
FileOpen $R5 "$INSTDIR\Resources\ThesaurusDictionaryNames.txt" r
|
FileOpen $R5 "$INSTDIR\Resources\ThesaurusDictionaryNames.txt" r
|
||||||
${For} $5 1 54 # the file has 52 lines
|
${For} $5 1 56 # the file has 56 lines
|
||||||
|
|
||||||
FileRead $R5 $String # $String is now the thesaurus name
|
FileRead $R5 $String # $String is now the thesaurus name
|
||||||
StrCpy $R3 $String 5 3 # $R3 is now the thesaurus language code
|
StrCpy $R3 $String 5 3 # $R3 is now the thesaurus language code
|
||||||
@ -123,11 +123,11 @@ Function DownloadThesaurusDictionaries
|
|||||||
# if first download repository is not available try the other ones listed in "DictionaryMirrors.txt"
|
# if first download repository is not available try the other ones listed in "DictionaryMirrors.txt"
|
||||||
FileOpen $R4 "$INSTDIR\Resources\DictionaryMirrors.txt" r
|
FileOpen $R4 "$INSTDIR\Resources\DictionaryMirrors.txt" r
|
||||||
|
|
||||||
${For} $4 1 29 # there are 29 mirrors in the file
|
${For} $4 1 22 # there are 22 mirrors in the file
|
||||||
FileRead $R4 $Search # $Search is now the mirror
|
FileRead $R4 $Search # $Search is now the mirror
|
||||||
StrCpy $Search $Search -2 # delete the linebreak characters at the end
|
StrCpy $Search $Search -2 # delete the linebreak characters at the end
|
||||||
Push $R0
|
Push $R0
|
||||||
inetc::get /TIMEOUT=5000 "http://$Search.dl.sourceforge.net/project/lyxwininstaller/thesaurus/$String" "$INSTDIR\Resources\thes\$String" /END
|
inetc::get /TIMEOUT=5000 "https://$Search.dl.sourceforge.net/project/lyxwininstaller/thesaurus/$String" "$INSTDIR\Resources\thes\$String" /END
|
||||||
Pop $R0
|
Pop $R0
|
||||||
${if} $R0 == "OK"
|
${if} $R0 == "OK"
|
||||||
${ExitFor}
|
${ExitFor}
|
||||||
|
@ -73,8 +73,8 @@ Section /o "Afrikaans" SecDAfrikaans
|
|||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "العربية" SecDArabic
|
Section /o "العربية" SecDArabic
|
||||||
StrCpy $DictCodes "ar_DZ,$DictCodes"
|
StrCpy $DictCodes "ar_SA,$DictCodes"
|
||||||
AddSize 2500
|
AddSize 7304
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "հայերեն" SecDArmenian
|
Section /o "հայերեն" SecDArmenian
|
||||||
@ -99,7 +99,7 @@ SectionEnd
|
|||||||
|
|
||||||
Section /o "Brezhoneg" SecDBreton
|
Section /o "Brezhoneg" SecDBreton
|
||||||
StrCpy $DictCodes "br_FR,$DictCodes"
|
StrCpy $DictCodes "br_FR,$DictCodes"
|
||||||
AddSize 5510
|
AddSize 5556
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "български" SecDBulgarian
|
Section /o "български" SecDBulgarian
|
||||||
@ -426,7 +426,7 @@ SectionEnd
|
|||||||
|
|
||||||
Section /o "Українська" SecDUkrainian
|
Section /o "Українська" SecDUkrainian
|
||||||
StrCpy $DictCodes "uk_UA,$DictCodes"
|
StrCpy $DictCodes "uk_UA,$DictCodes"
|
||||||
AddSize 5555
|
AddSize 6375
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "اردو" SecDUrdu
|
Section /o "اردو" SecDUrdu
|
||||||
@ -444,6 +444,11 @@ SectionGroupEnd
|
|||||||
|
|
||||||
SectionGroup "$(SecThesaurus)" SecThesaurus
|
SectionGroup "$(SecThesaurus)" SecThesaurus
|
||||||
|
|
||||||
|
Section /o "العربية" SecTArabic
|
||||||
|
StrCpy $ThesCodes "ar_SA,$ThesCodes"
|
||||||
|
AddSize 799
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
Section /o "български" SecTBulgarian
|
Section /o "български" SecTBulgarian
|
||||||
StrCpy $ThesCodes "bg_BG,$ThesCodes"
|
StrCpy $ThesCodes "bg_BG,$ThesCodes"
|
||||||
AddSize 3020
|
AddSize 3020
|
||||||
@ -726,7 +731,7 @@ Function .onInit
|
|||||||
SectionSetFlags ${SecDAfrikaans} $0
|
SectionSetFlags ${SecDAfrikaans} $0
|
||||||
SectionSetSize ${SecDAfrikaans} 0
|
SectionSetSize ${SecDAfrikaans} 0
|
||||||
${endif}
|
${endif}
|
||||||
StrCpy $Search "ar_DZ"
|
StrCpy $Search "ar_SA"
|
||||||
Call StrPoint
|
Call StrPoint
|
||||||
${if} $Pointer != "-1"
|
${if} $Pointer != "-1"
|
||||||
IntOp $0 ${SF_SELECTED} | ${SF_RO}
|
IntOp $0 ${SF_SELECTED} | ${SF_RO}
|
||||||
@ -1228,8 +1233,15 @@ Function .onInit
|
|||||||
# select sections of already installed thesaurus dictionaries, make them read-only
|
# select sections of already installed thesaurus dictionaries, make them read-only
|
||||||
# and set the necessary size to 0 bytes
|
# and set the necessary size to 0 bytes
|
||||||
StrCpy $String $FoundThes
|
StrCpy $String $FoundThes
|
||||||
StrCpy $Search "bg_BG"
|
StrCpy $Search "ar_SA"
|
||||||
Call StrPoint # function from LyXUtils.nsh
|
Call StrPoint # function from LyXUtils.nsh
|
||||||
|
${if} $Pointer != "-1"
|
||||||
|
IntOp $0 ${SF_SELECTED} | ${SF_RO}
|
||||||
|
SectionSetFlags ${SecTArabic} $0
|
||||||
|
SectionSetSize ${SecTArabic} 0
|
||||||
|
${endif}
|
||||||
|
StrCpy $Search "bg_BG"
|
||||||
|
Call StrPoint
|
||||||
${if} $Pointer != "-1"
|
${if} $Pointer != "-1"
|
||||||
IntOp $0 ${SF_SELECTED} | ${SF_RO}
|
IntOp $0 ${SF_SELECTED} | ${SF_RO}
|
||||||
SectionSetFlags ${SecTBulgarian} $0
|
SectionSetFlags ${SecTBulgarian} $0
|
||||||
|
@ -45,13 +45,13 @@ These typically need to be modified for each LyX release
|
|||||||
#--------------------------------
|
#--------------------------------
|
||||||
# MiKTeX and JabRef
|
# MiKTeX and JabRef
|
||||||
|
|
||||||
!define MiKTeXRepo "ftp://ftp.fernuni-hagen.de/pub/mirrors/www.ctan.org/systems/win32/miktex/tm/packages/"
|
!define MiKTeXRepo "ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/"
|
||||||
|
|
||||||
!define MiKTeXDeliveredVersion "2.9"
|
!define MiKTeXDeliveredVersion "2.9"
|
||||||
!define ImageMagickVersion "7.0.7"
|
!define ImageMagickVersion "7.0.7"
|
||||||
|
|
||||||
# definitions for the Complete installer
|
# definitions for the Complete installer
|
||||||
!if ${SETUPTYPE} == BUNDLE
|
!if ${SETUPTYPE} == BUNDLE
|
||||||
!define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.6520.exe"
|
!define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.6615.exe"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
@ -245,14 +245,14 @@ Section -ConfigureScript
|
|||||||
# call the non-admin version
|
# call the non-admin version
|
||||||
# at first we need to synchronize the package database
|
# at first we need to synchronize the package database
|
||||||
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--update-db"'
|
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--update-db"'
|
||||||
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install-some=$INSTDIR\Resources\Packages.txt"'
|
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--require=@$INSTDIR\Resources\Packages.txt"'
|
||||||
${else}
|
${else}
|
||||||
${if} $MiKTeXUser != "HKCU" # call the admin version
|
${if} $MiKTeXUser != "HKCU" # call the admin version
|
||||||
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--update-db"'
|
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--update-db"'
|
||||||
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install-some=$INSTDIR\Resources\Packages.txt"'
|
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--require=@$INSTDIR\Resources\Packages.txt"'
|
||||||
${else}
|
${else}
|
||||||
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--update-db"'
|
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--update-db"'
|
||||||
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install-some=$INSTDIR\Resources\Packages.txt"'
|
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--require=@$INSTDIR\Resources\Packages.txt"'
|
||||||
${endif}
|
${endif}
|
||||||
${endif}
|
${endif}
|
||||||
${endif}
|
${endif}
|
||||||
|
Loading…
Reference in New Issue
Block a user