]> git.lyx.org Git - features.git/commitdiff
Win installer backport recent changes
authorUwe Stöhr <uwestoehr@lyx.org>
Sun, 16 Oct 2016 12:34:27 +0000 (14:34 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sun, 16 Oct 2016 12:34:27 +0000 (14:34 +0200)
development/Win32/packaging/installer/ChangeLog.txt
development/Win32/packaging/installer/Packages.txt
development/Win32/packaging/installer/babel-Packages.txt [new file with mode: 0644]
development/Win32/packaging/installer/include/LaTeX.nsh
development/Win32/packaging/installer/include/init.nsh
development/Win32/packaging/installer/settings.nsh
development/cmake/build5-2015.bat

index 90fd3c9a380b01bcea8c89149a0f44f3aa57c473..68b81388a9fdf29d2de1be2f8f0187103b0d8d92 100644 (file)
@@ -1,9 +1,21 @@
-Changelog for LyX-222-1:
+Changelog for LyX-222-2:
+- updated to Qt 5.6.2-1 (fixes Windows-specific bugs)
+- updated to Perl 5.22.2.1
+
+
+Changelog for LyX-222-1:
 - installs LyX 2.2.2
 - updated to MiKTeX 2.9 build 6069
-- updated to Imagemagick 7.0.3-0
+- updated to Imagemagick 7.0.3-3
 - updated to JabRef 3.6
 - updated to NSIS 3.0
+- updated to Ghostscript 9.20
+- new thesaurus for English (AU)
+- updated thesaurus for Portuguese and Ukrainian
+- updated spell checker dictionaries for English (CA, GB and US), Portuguese
+  and Ukrainian
+  (To benefit from them you must uninstall an already installed LyX 2.2.x and
+   then use this installer.)
 
 
 Changelog for LyX-221-2:
index 581b9117b932b77260b24fc38dbb079f1dd85ea9..a3c8db737d57a97732aaee442acd39ef946c8d68 100644 (file)
@@ -12,6 +12,8 @@ authordate
 babel-albanian
 babel-bahasa
 babel-basque
+babel-belarusian
+babel-bosnian
 babel-breton
 babel-bulgarian
 babel-catalan
@@ -21,8 +23,9 @@ babel-danish
 babel-dutch
 babel-esperanto
 babel-estonian
-babel-finnish  
-babel-galician         
+babel-finnish
+babel-friulan
+babel-galician
 babel-georgian
 babel-greek
 babel-hebrew
@@ -34,10 +37,13 @@ babel-italian
 babel-kurmanji
 babel-latin
 babel-latvian
+babel-macedonian
 babel-norsk
+babel-piedmontese
 babel-polish
 babel-portuges
 babel-romanian
+babel-romansh
 babel-russian
 babel-samin
 babel-scottish
diff --git a/development/Win32/packaging/installer/babel-Packages.txt b/development/Win32/packaging/installer/babel-Packages.txt
new file mode 100644 (file)
index 0000000..4f780fa
--- /dev/null
@@ -0,0 +1,52 @@
+babel-albanian
+babel-bahasa
+babel-basque
+babel-belarusian
+babel-bosnian
+babel-breton
+babel-bulgarian
+babel-catalan
+babel-croatian
+babel-czech
+babel-danish
+babel-dutch
+babel-english
+babel-esperanto
+babel-estonian
+babel-finnish
+babel-french
+babel-friulan
+babel-galician
+babel-german
+babel-greek
+babel-hebrew
+babel-hungarian
+babel-icelandic
+babel-interlingua
+babel-irish
+babel-italian
+babel-kurmanji
+babel-latin
+babel-latvian
+babel-macedonian
+babel-norsk
+babel-piedmontese
+babel-polish
+babel-portuges
+babel-romanian
+babel-romansh
+babel-russian
+babel-samin
+babel-scottish
+babel-serbian  
+babel-serbianc
+babel-slovak
+babel-slovenian
+babel-sorbian
+babel-spanish
+babel-swedish
+babel-thai
+babel-turkish
+babel-ukrainian
+babel-vietnamese
+babel-welsh
\ No newline at end of file
index 045b2715bb1cf791936c406f07e771c8926f3a4d..dcf7cd01bd6f4185b68003640dbc3dc3b1a01eeb 100644 (file)
@@ -214,7 +214,6 @@ FunctionEnd
   ${if} $PathLaTeX == ""
    # launch MiKTeX's installer
    MessageBox MB_OK|MB_ICONINFORMATION "$(LatexInfo)" /SD IDOK
-   MessageBox MB_OK|MB_ICONINFORMATION "${MiKTeXInstall} --shared"
    ${if} $MultiUser.Privileges != "Admin"
    ${andif} $MultiUser.Privileges != "Power"
     # call the non-admin version
@@ -278,16 +277,11 @@ Function ConfigureMiKTeX
    SetOutPath "$PathLaTeXLocal\tex\latex\lyx"
    CopyFiles /SILENT "$INSTDIR\Resources\tex\*.*" "$PathLaTeXLocal\tex\latex\lyx"
   ${endif}
-  # Belarusian support
-  ${ifnot} ${FileExists} "$PathLaTeXLocal\tex\generic\babel\belarusian.ldf"
-   SetOutPath "$PathLaTeXLocal\tex\generic\babel"
-   File "${FILES_DVIPOST_PKG}\belarusian.ldf"
-   File "${FILES_DVIPOST_PKG}\belarusian.sty"
-  ${endif}
   # Hungarian support
+  # The following seems to be unnecesary since 2015, therefore it is commented
   # this is a replacement therefore do this in every case
-  SetOutPath "$PathLaTeXLocal\tex\generic\babel"
-  File "${FILES_DVIPOST_PKG}\magyar.ldf"
+  #SetOutPath "$PathLaTeXLocal\tex\generic\babel"
+  #File "${FILES_DVIPOST_PKG}\magyar.ldf"
   
   # install a Perl interpreter for splitindex and pdfcrop
   SetOutPath "$INSTDIR"
index 644773451fafb71ad71d8c8bff36f89fecb2c586..53f8b21706d19104f489aade429619f7379e12fe 100644 (file)
@@ -348,7 +348,7 @@ SectionEnd
 
 Section /o "Português (PT)" SecDPortuguesePT
  StrCpy $DictCodes "pt_PT,$DictCodes"
- AddSize 1490
+ AddSize 1568
 SectionEnd
 
 Section /o "Româna" SecDRomanian
@@ -428,7 +428,7 @@ SectionEnd
 
 Section /o "Ukrainian" SecDUkrainian
  StrCpy $DictCodes "uk_UA,$DictCodes"
- AddSize 3077
+ AddSize 5298
 SectionEnd
 
 Section /o "Urdu" SecDUrdu
@@ -476,12 +476,17 @@ Section /o "Deutsch (CH)" SecTGermanCH
  AddSize 14600
 SectionEnd
 
+Section /o "English (AU)" SecTEnglishAU
+ StrCpy $ThesCodes "en_AU,$ThesCodes"
+ AddSize 21642
+SectionEnd
+
 Section /o "English (GB)" SecTEnglishGB
  StrCpy $ThesCodes "en_GB,$ThesCodes"
  AddSize 14300
 SectionEnd
 
-Section /o "English (US/AU)" SecTEnglishUSAU
+Section /o "English (US)" SecTEnglishUS
  StrCpy $ThesCodes "en_US,$ThesCodes"
  AddSize 22095
 SectionEnd
@@ -543,7 +548,7 @@ SectionEnd
 
 Section /o "Português" SecTPortuguese
  StrCpy $ThesCodes "pt_PT,$ThesCodes"
- AddSize 860
+ AddSize 3950
 SectionEnd
 
 Section /o "Româna" SecTRomanian
@@ -573,7 +578,7 @@ SectionEnd
 
 Section /o "Ukrainian" SecTUkrainian
  StrCpy $ThesCodes "uk_UA,$ThesCodes"
- AddSize 1309
+ AddSize 1339
 SectionEnd
 
 SectionGroupEnd
@@ -1262,6 +1267,13 @@ Function .onInit
    SectionSetFlags ${SecTGermanCH} $0
    SectionSetSize ${SecTGermanCH} 0
   ${endif}
+  StrCpy $Search "en_AU"
+  Call StrPoint
+  ${if} $Pointer != "-1"
+   IntOp $0 ${SF_SELECTED} | ${SF_RO}
+   SectionSetFlags ${SecTEnglishAU} $0
+   SectionSetSize ${SecTEnglishAU} 0
+  ${endif}
   StrCpy $Search "en_GB"
   Call StrPoint
   ${if} $Pointer != "-1"
@@ -1273,8 +1285,8 @@ Function .onInit
   Call StrPoint
   ${if} $Pointer != "-1"
    IntOp $0 ${SF_SELECTED} | ${SF_RO}
-   SectionSetFlags ${SecTEnglishUSAU} $0
-   SectionSetSize ${SecTEnglishUSAU} 0
+   SectionSetFlags ${SecTEnglishUS} $0
+   SectionSetSize ${SecTEnglishUS} 0
   ${endif}
   StrCpy $Search "es_ES"
   Call StrPoint
index 758fc6c4ca0a755bb5b4228f134b93e37e639f40..1b2930b299b2eee147a08facdf8547c9f85a7b60 100644 (file)
@@ -14,7 +14,7 @@ These typically need to be modified for each LyX release
 !define APP_VERSION_REVISION 2
 !define APP_VERSION_EMERGENCY "" # use "1" for an emergency release of LyX otherwise ""
 !define APP_EMERGENCY_DOT "" # use "." for an emergency release of LyX otherwise ""
-!define APP_VERSION_BUILD 1 # Start with 1 for the installer releases of each version
+!define APP_VERSION_BUILD 2 # Start with 1 for the installer releases of each version
 
 !define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}${APP_EMERGENCY_DOT}${APP_VERSION_EMERGENCY}" # Version to display
 
@@ -41,7 +41,7 @@ These typically need to be modified for each LyX release
 
 !define FILES_LYX "D:\LyXPackage2.2\LyX"
 !define FILES_DEPS "D:\LyXGit\Master\lyx-windows-deps-msvc2015"
-!define FILES_QT "C:\Qt\Qt5.6.1-MSVC2015\5.6\msvc2015"
+!define FILES_QT "C:\Qt\Qt5.6.2-MSVC-2015\5.6\msvc2015"
 !define ClassFileDir "${FILES_LYX}\Resources\tex"
 !define DVIPostFileDir "${FILES_DEPS}\tex"
 
index 7ebabf9cc220b44eb20fac5514a7a05c44558811..6f87067fb3d875ee2c26136e3f7cb234af72d1d8 100644 (file)
@@ -33,7 +33,7 @@ REM Save path
 set CALLED_FROM=%CD%
 
 REM Add path to qmake here or set PATH correctly on your system.
-set PATH=C:\Qt\Qt5.6.1-MSVC2015\5.6\msvc2015\bin;%PATH%
+set PATH=C:\Qt\Qt5.6.2-MSVC2015\5.6\msvc2015\bin;%PATH%
 
 REM Edit pathes here or set the environment variables on your system.
 set GNUWIN32_DIR=D:\LyXGit\Master\lyx-windows-deps-msvc2015