Skip to content

Commit

Permalink
tune cygwin setup and upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mintty committed Nov 14, 2023
1 parent 7ce1623 commit 572e515
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 7 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mintty is copyright 2008-22 Andy Koppe, 2015-22 Thomas Wolff.
mintty is copyright 2008-23 Andy Koppe, 2015-23 Thomas Wolff.

Licensed under the terms of the GNU General Public License version 3 or later,
amended with the bundling clause to clarify ambiguous interpretation.
Expand Down
50 changes: 50 additions & 0 deletions cygwin/setup-src.hint
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
sdesc: "Terminal emulator with native Windows look and feel"
homepage: http://mintty.github.io
license: GPL-3.0-or-later
category: Shells Base
requires: cygwin
ldesc: "Mintty is a terminal emulator for Cygwin.

Terminal display features
* Xterm-compatible terminal emulation, coverage of all DEC terminal series screen control features.
* 256 colours and True-Colour support, optional CMYK colour specification.
* Full Unicode support, comprehensive character encoding support and wide character handling.
* Bidirectional rendering, flexible bidi controls.
* Full character attributes support, including italic, underline styles and colours, overline, strikeout, rapid blinking.
* Extended character attributes support: shadowed, subscript, superscript (terminfo) and overstrike.
* Alternative fonts: simultaneous display of multiple fonts.
* Secondary fonts: script-specific alternative font usage.
* Image display support.
* Sixel graphics support.
* Emoji support.
* Tektronix 4014 vector graphics emulation.

Terminal input and interaction features
* Character composition support includes dead keys, Compose key, Windows IME.
* Keyboard workarounds for certain buggy virtual keyboards.
* Extensive mouse support, including pixel-grained DEC locator mode.
* Text selection with mouse or keyboard.
* Easy copy & paste. Drag & drop of text, files and folders.
* Ability to open files and URLs with Ctrl+click, explicit hyperlinks.
* Fast rendering and scrolling, fast keyboard feedback.
* HTML export and clipboard format support.
* Image screenshot export.

Window handling features and desktop integration
* Colour schemes / Theme file support. Background texture and image support.
* Virtual Tabs / session switcher and launcher.
* Tabbar to switch virtual tabs for a tabbed window experience.
* Taskbar tasks (“jump list”) configuration. Task grouping configuration.
* Flexible fullscreen, fullsize and border options.
* Screen and scrollback buffer search.
* Multiple monitor support, changing DPI support.
* Window transparency.

Configuration features and system support
* Native Windows user interface with a lean options dialog.
* User interface language localization support.
* User-defined key shortcuts and menu functions.
* Flexible configuration and resource folder options.
* Switchable terminal logging, switchable character information.
* Options stored in a text file. No registry entries."

1 change: 1 addition & 0 deletions cygwin/setup.hint
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ Configuration features and system support
* Flexible configuration and resource folder options.
* Switchable terminal logging, switchable character information.
* Options stored in a text file. No registry entries."

26 changes: 20 additions & 6 deletions cygwin/upload.sftp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

version=`echo VERSION | cpp -P --include src/appinfo.h`
version=`eval echo $version`
rel=${REL-0}
rel=${REL-1}
pkg=mintty-$version-$rel
dbg=mintty-debuginfo-$version-$rel

Expand All @@ -12,37 +12,51 @@ echo Uploading $pkg
echo Command: sftp -i $ID_RSA [email protected]

if [ ! -f release/$pkg.hint ]
then if [ -f cygwin/setup.hint.$version ]
then
if [ -f cygwin/setup.hint.$version ]
then cp cygwin/setup.hint.$version release/$pkg.hint
else cp cygwin/setup.hint release/$pkg.hint
fi
if [ -f cygwin/setup-src.hint.$version ]
then cp cygwin/setup-src.hint.$version release/$pkg-src.hint
else cp cygwin/setup-src.hint release/$pkg-src.hint
fi
fi
if [ ! -f release/$dbg.hint ]
then cp cygwin/mintty-debuginfo.hint release/$dbg.hint
fi
cd release
touch '!ready'
batch="-b -"
#batch="-b -" # causes mkdir to fail; could prefix with -: -mkdir
batch=""

sftp $batch -i $ID_RSA [email protected] <</EOSFTP
mkdir x86_64/release/mintty
put $pkg.x86_64/$pkg.tar.xz x86_64/release/mintty/
put $pkg-src.tar.xz x86_64/release/mintty/
put $pkg.hint x86_64/release/mintty/
put $pkg-src.hint x86_64/release/mintty/
mkdir x86_64/release/mintty/mintty-debuginfo
put $pkg.x86_64/$dbg.tar.xz x86_64/release/mintty/mintty-debuginfo/
put $dbg.hint x86_64/release/mintty/mintty-debuginfo/
#put /dev/null x86_64/release/!ready
put !ready x86_64/release/
put x!ready x86_64/release/
/EOSFTP

exit

sftp $batch -i $ID_RSA [email protected] <</EOSFTP
mkdir x86/release/mintty
put $pkg.i686/$pkg.tar.xz x86/release/mintty/
put $pkg-src.tar.xz x86/release/mintty/
put $pkg.hint x86/release/mintty/
put $pkg-src.hint x86/release/mintty/
mkdir x86/release/mintty/mintty-debuginfo
put $pkg.i686/$dbg.tar.xz x86/release/mintty/mintty-debuginfo/
put $dbg.hint x86/release/mintty/mintty-debuginfo/
#put /dev/null x86/release/!ready
put !ready x86/release/
/EOSFTP

0 comments on commit 572e515

Please sign in to comment.