From a5b546ee4af31be646fa90bac95a6773442be5ed Mon Sep 17 00:00:00 2001 From: mintty Date: Mon, 2 Jul 2018 01:26:08 +0200 Subject: [PATCH] 1.9.0 --- VERSION | 2 +- makefile | 45 ++++++++++++++++++++++++++++++++++++++------- 2 files changed, 39 insertions(+), 8 deletions(-) diff --git a/VERSION b/VERSION index abfd13d..f8e233b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.8.5.2 +1.9.0 diff --git a/makefile b/makefile index 0977264..3baafcd 100644 --- a/makefile +++ b/makefile @@ -8,11 +8,11 @@ # wsltty release -ver=1.8.5.3 +ver=1.9.0 ############################## # mintty release version -minttyver=2.8.5 +minttyver=2.9.0 # or mintty branch or commit version #minttyver=master @@ -44,7 +44,11 @@ wslbridge-commit=06fb7acba28d7f37611f3911685af214739895a0 ############################################################################# # default target -all: check pkg +all: all-$(notdir $(CURDIR)) + +all-wsltty: check pkg + +all-wsltty.appx: appx ############################################################################# # target checking and some defs @@ -110,8 +114,6 @@ wslbridge-backend: wslbridge-source mkdir -p bin cp wslbridge-$(wslbridge-commit)/out/wslbridge-backend bin/ -mintty: mintty-get mintty-build - mintty-get: $(wgeto) https://github.com/mintty/mintty/archive/$(minttyver).zip -o mintty-$(minttyver).zip unzip -o mintty-$(minttyver).zip @@ -126,6 +128,8 @@ mintty-build: cd mintty-$(minttyver)/src; make $(wslbuild) $(wslversion) mkdir -p bin cp mintty-$(minttyver)/bin/mintty.exe bin/ + +mintty-pkg: cp mintty-$(minttyver)/LICENSE LICENSE.mintty cd mintty-$(minttyver)/lang; zoo a lang *.po; mv lang.zoo ../../ cd mintty-$(minttyver)/themes; zoo a themes *[!~]; mv themes.zoo ../../ @@ -133,6 +137,15 @@ mintty-build: cd mintty-$(minttyver)/src; sh ./mknames cp mintty-$(minttyver)/src/charnames.txt . +mintty-appx: + mkdir -p usr/share/mintty + cd usr/share/mintty; mkdir -p lang themes info + cp mintty-$(minttyver)/lang/*.po usr/share/mintty/lang/ + cp mintty-$(minttyver)/themes/*[!~] usr/share/mintty/themes/ + # add charnames.txt to support "Character Info" + cd mintty-$(minttyver)/src; sh ./mknames + cp mintty-$(minttyver)/src/charnames.txt usr/share/mintty/info/ + cygwin: mkdir -p bin cp /bin/cygwin1.dll bin/ @@ -141,6 +154,11 @@ cygwin: cp /bin/regtool.exe bin/ cp /bin/zoo.exe bin/ +appx-bin: + mkdir -p bin + cp /bin/cygwin1.dll bin/ + cp /bin/cygwin-console-helper.exe bin/ + cop: ver mkdir -p rel rm -fr rel/wsltty-$(ver)-install.exe @@ -176,9 +194,22 @@ installbat: ver: echo $(ver) > VERSION -pkg: wslbridge cygwin mintty cab +mintty: mintty-get mintty-build -wsltty: wslbridge cygwin mintty-build +mintty-usr: mintty-get mintty-appx + +# local wsltty build target: +wsltty: wslbridge cygwin mintty-build mintty-pkg + +# standalone wsltty package build target: +pkg: wslbridge cygwin mintty-get mintty-build mintty-pkg cab + +# appx package contents target: +wsltty-appx: wslbridge appx-bin mintty-get mintty-build mintty-appx + +# appx package target: +appx: wsltty-appx + sh ./build.sh ############################################################################# # end