Skip to content

Commit

Permalink
Update 3 packages
Browse files Browse the repository at this point in the history
diffstat (1.66-1 -> 1.67-1)
glib2 (2.82.3-1 -> 2.82.4-1)
vim (9.1.0785-1 -> 9.1.0866-1)

Signed-off-by: Git for Windows Build Agent <[email protected]>
  • Loading branch information
Git for Windows Build Agent committed Dec 15, 2024
1 parent d743274 commit 89b88d0
Show file tree
Hide file tree
Showing 152 changed files with 5,863 additions and 2,473 deletions.
Binary file modified usr/bin/diffstat.exe
Binary file not shown.
Binary file modified usr/bin/ex.exe
Binary file not shown.
Binary file modified usr/bin/gapplication.exe
Binary file not shown.
Binary file modified usr/bin/gdbus.exe
Binary file not shown.
Binary file modified usr/bin/gio-querymodules.exe
Binary file not shown.
Binary file modified usr/bin/gio.exe
Binary file not shown.
Binary file modified usr/bin/glib-compile-schemas.exe
Binary file not shown.
Binary file modified usr/bin/gresource.exe
Binary file not shown.
Binary file modified usr/bin/gsettings.exe
Binary file not shown.
Binary file modified usr/bin/msys-gio-2.0-0.dll
Binary file not shown.
Binary file modified usr/bin/msys-girepository-2.0-0.dll
Binary file not shown.
Binary file modified usr/bin/msys-glib-2.0-0.dll
Binary file not shown.
Binary file modified usr/bin/msys-gmodule-2.0-0.dll
Binary file not shown.
Binary file modified usr/bin/msys-gobject-2.0-0.dll
Binary file not shown.
Binary file modified usr/bin/msys-gthread-2.0-0.dll
Binary file not shown.
Binary file modified usr/bin/rview.exe
Binary file not shown.
Binary file modified usr/bin/rvim.exe
Binary file not shown.
Binary file modified usr/bin/view.exe
Binary file not shown.
Binary file modified usr/bin/vim.exe
Binary file not shown.
Binary file modified usr/bin/vimdiff.exe
Binary file not shown.
207 changes: 172 additions & 35 deletions usr/bin/vimtutor
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,195 @@

# Start Vim on a copy of the tutor file.

# Usage: vimtutor [-g] [xx]
# Where optional argument -g starts vimtutor in gvim (GUI) instead of vim.
# and xx is a language code like "es" or "nl".
# When an argument is given, it tries loading that tutor.
# When this fails or no argument was given, it tries using 'v:lang'
# When that also fails, it uses the English version.
# Type "man vimtutor" (or "vimtutor --help") to learn more about the supported
# command-line options.
#
# Tutors in several human languages are distributed. Type "vimtutor" to use
# a tutor in the language of the current locale (:help v:lang), if available;
# otherwise fall back to using the English tutor. To request any bundled
# tutor, specify its ISO639 name as an argument, e.g. "vimtutor nl".

# Vim could be called "vim" or "vi". Also check for "vimN", for people who
# have Vim installed with its version number.
# We anticipate up to a future Vim 8.1 version :-).
seq="vim vim81 vim80 vim8 vim74 vim73 vim72 vim71 vim70 vim7 vim6 vi"
if test "$1" = "-g"; then
# Try to use the GUI version of Vim if possible, it will fall back
# on Vim if Gvim is not installed.
seq="gvim gvim81 gvim80 gvim8 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq"
seq="vim vim91 vim90 vim81 vim80 vim8 vim74 vim73 vim72 vim71 vim70 vim7 vim6 vi"

usage()
{
echo "==USAGE========================================================================================="
echo "${0##*/} [[-(-l)anguage] ISO639] [-(-c)hapter NUMBER] [-(-g)ui] | [-(-h)elp] | [--list]"
printf "\twhere:\n"
printf "\t\tISO639 (default=en) is a 2 or 3 character language code\n"
printf "\t\tNUMBER (default=1) is a chapter number (1 or 2)\n"
printf "\texamples:\n"
printf "\t\tvimtutor -l es -c 2 -g\n"
printf "\t\tvimtutor --language de --chapter 2\n"
printf "\t\tvimtutor fr\n"
echo "More information at 'man vimtutor'"
echo "================================================================================================"
}

listOptions()
{
echo "==OPTIONS======================================================================================="
echo "Chapter: 1"
printf "\tLang: %-3s => %s\n" \
bar Bavarian \
bg Bulgarian \
ca Catalan \
cs Czech \
da Danish \
de German \
el Greek \
en English\(default\) \
eo Esperanto \
es Spanish \
fr French \
hr Croatian \
hu Hungarian \
it Italian \
ja Japanese \
ko Korean \
lv Latvian \
nb Bokmål \
nl Dutch \
no Norwegian \
pl Polish \
pt Portuguese \
ru Russian \
sk Slovak \
sr Serbian \
sv Swedish \
tr Turkish \
uk English \
vi Vietnamese \
zh Chinese

echo "Chapter: 2"
printf "\tLang: %-3s => %s\n" \
en English\(default\)
echo "================================================================================================"
}

validateLang()
{
case "$xx" in
'' | *[!a-z]* )
echo "Error: iso639 code must contain only [a-z]"
exit 1
esac

case "${#xx}" in
[23] )
;;
* )
echo "Error: iso639 code must be 2 or 3 characters only"
exit 1
esac

export xx
}

validateChapter()
{
case "$cc" in
'' | *[!0-9]* )
echo "Error: chapter argument must contain digits only"
exit 1
;;
[12] )
;;
* )
echo "Error: invalid chapter number: [12]"
exit 1
esac

export CHAPTER="$cc"
}

while [ "$1" != "" ]; do
case "$1" in
-g | --gui )
seq="gvim gvim91 gvim90 gvim81 gvim80 gvim8 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq"
;;
-l | --language )
shift
xx="$1"
validateLang
;;
-l[a-z][a-z][a-z] | -l[a-z][a-z] )
export xx="${1#*l}"
;;
--language[a-z][a-z][a-z] | --language[a-z][a-z] )
export xx="${1#*e}"
;;
[a-z][a-z][a-z] | [a-z][a-z] )
export xx="$1"
;;
-c | --chapter )
shift
cc="$1"
validateChapter
;;
-c[12] )
export CHAPTER="${1#*c}"
;;
--chapter[12] )
export CHAPTER="${1#*r}"
;;
-h | --help )
usage
exit
;;
--list )
listOptions
exit
;;
"" )
;;
* )
usage
exit 1
esac

shift
fi
done

xx=$1
export xx

# We need a temp file for the copy. First try using a standard command.
tmp="${TMPDIR-/tmp}"
TUTORCOPY=`mktemp $tmp/tutorXXXXXX || tempfile -p tutor || echo none`
# shellcheck disable=SC2186
TUTORCOPY=$(mktemp "$tmp/tutorXXXXXX" || tempfile -p tutor || echo none)

# If the standard commands failed then create a directory to put the copy in.
# That is a secure way to make a temp file.
if test "$TUTORCOPY" = none; then
tmpdir=$tmp/vimtutor$$
OLD_UMASK=`umask`
umask 077
getout=no
mkdir $tmpdir || getout=yes
umask $OLD_UMASK
if test $getout = yes; then
echo "Could not create directory for tutor copy, exiting."
exit 1
fi
TUTORCOPY=$tmpdir/tutorcopy
touch $TUTORCOPY
TODELETE=$tmpdir
tmpdir="$tmp/vimtutor$$"
OLD_UMASK=$(umask)
umask 077
getout=no
mkdir "$tmpdir" || getout=yes
umask "$OLD_UMASK"
if test "$getout" = yes; then
echo "Could not create directory for tutor copy, exiting."
exit 1
fi
TUTORCOPY="$tmpdir/tutorcopy"
touch "$TUTORCOPY"
TODELETE="$tmpdir"
else
TODELETE=$TUTORCOPY
TODELETE="$TUTORCOPY"
fi

export TUTORCOPY

# remove the copy of the tutor on exit
trap "rm -rf $TODELETE" 0 1 2 3 9 11 13 15
trap 'rm -rf "$TODELETE"' EXIT HUP INT QUIT SEGV PIPE TERM

for i in $seq; do
testvim=$(which $i 2>/dev/null)
testvim=$(command -v "$i" 2>/dev/null)
if test -f "$testvim"; then
VIM=$i
break
VIM="$i"
break
fi
done

Expand All @@ -68,7 +202,10 @@ fi

# Use Vim to copy the tutor, it knows the value of $VIMRUNTIME
# The script tutor.vim tells Vim which file to copy
$VIM -f -u NONE -c 'so $VIMRUNTIME/tutor/tutor.vim'

$VIM -f -u NONE -c "so \$VIMRUNTIME/tutor/tutor.vim"

# Start vim without any .vimrc, set 'nocompatible' and 'showcmd'
$VIM -f -u NONE -c "set nocp showcmd" "$TUTORCOPY"

# vim:sw=4:ts=8:noet:nosta:
Binary file modified usr/bin/xxd.exe
Binary file not shown.
Binary file modified usr/libexec/gio-launch-desktop.exe
Binary file not shown.
101 changes: 43 additions & 58 deletions usr/share/licenses/diffstat/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,54 +2,33 @@ Upstream source http://invisible-island.net/diffstat/diffstat.html

/******************************************************************************
* Copyright 1994-2023,2024 by Thomas E. Dickey *
* All Rights Reserved. *
* *
* Permission to use, copy, modify, and distribute this software and its *
* documentation for any purpose and without fee is hereby granted, provided *
* that the above copyright notice appear in all copies and that both that *
* copyright notice and this permission notice appear in supporting *
* documentation, and that the name of the above listed copyright holder(s) *
* not be used in advertising or publicity pertaining to distribution of the *
* software without specific, written prior permission. *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the "Software"), *
* to deal in the Software without restriction, including without limitation *
* the rights to use, copy, modify, merge, publish, distribute, sublicense, *
* and/or sell copies of the Software, and to permit persons to whom the *
* Software is furnished to do so, subject to the following conditions: *
* *
* THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD *
* TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND *
* FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE *
* FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES *
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN *
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR *
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *
* The above copyright notice and this permission notice shall be included in *
* all copies or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *
* THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
* DEALINGS IN THE SOFTWARE. *
* *
* Except as contained in this notice, the name(s) of the above copyright *
* holders shall not be used in advertising or otherwise to promote the sale, *
* use or other dealings in this Software without prior written *
* authorization. *
******************************************************************************/

-------------------------------------------------------------------------------

Files: aclocal.m4
Licence: other-BSD
Copyright: 2003-2023,2024 by Thomas E. Dickey
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, distribute with modifications, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name(s) of the above copyright
holders shall not be used in advertising or otherwise to promote the
sale, use or other dealings in this Software without prior written
authorization.

Files: install-sh
Copyright: 1994 X Consortium
Licence: other-BSD
Expand Down Expand Up @@ -86,24 +65,30 @@ Licence: other-BSD
shared with many OS's install programs.

Files: debian/*
Copyright: 2010-2019,2021 Thomas E. Dickey
Copyright: 2010-2021,2024 Thomas E. Dickey
Licence: other-BSD
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of the above listed
copyright holder(s) not be used in advertising or publicity pertaining
to distribution of the software without specific, written prior
permission.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name(s) of the above copyright
holders shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written
authorization.

On Debian systems, the complete text of the GNU General
Public License can be found in '/usr/share/common-licenses/GPL-2'
Binary file modified usr/share/man/it.ISO8859-1/man1/vimtutor.1.gz
Binary file not shown.
Binary file modified usr/share/man/it.UTF-8/man1/vimtutor.1.gz
Binary file not shown.
Binary file modified usr/share/man/it/man1/vimtutor.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/diffstat.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/vimtutor.1.gz
Binary file not shown.
8 changes: 8 additions & 0 deletions usr/share/vim/vim91/autoload/dist/ft.vim
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,14 @@ export def FTcls()
endif
enddef

export def FTll()
if getline(1) =~ ';\|\<source_filename\>\|\<target\>'
setf llvm
else
setf lifelines
endif
enddef

export def FTlpc()
if exists("g:lpc_syntax_for_c")
var lnum = 1
Expand Down
Loading

0 comments on commit 89b88d0

Please sign in to comment.