Support for Windows Server 2012 until its end of life

2023-04-12 Thread Max Moebius via Cygwin
We kindly ask to continue the Cygwin support for Windows Server 2012 until
its end of life. This will be on October 10, 2023.

https://learn.microsoft.com/en-us/lifecycle/products/windows-server-2012

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: have cygwin setup.exe signed and/or in the MS store

2023-04-12 Thread Philippe Cerfon via Cygwin
Hey.

On Wed, Apr 12, 2023 at 3:35 PM Andrey Repin  wrote:
> msgid:camu-taupf3dzpye3xj0f_gyrchzprxjxbyafd6tt9my+a7j...@mail.gmail.com

I assume nothing came out of the SFC member thingy discussed back then
in that thread?

> And earlier mails on the subject.

Perhaps this would be an item for the FAQ ;-)


Regards,
Philippe.

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


[ANNOUNCEMENT] Updated: zstd-1.5.5-1 and development headers / libraries

2023-04-12 Thread Achim Gratz via Cygwin


This release updates Zstandard to the latest upstream version, which is
a maintenance release with bugfixes and minor performance improvements.


Zstandard, or zstd as short version, is a fast lossless compression
algorithm, targeting real-time compression scenarios at zlib-level and
better compression ratios.

http://www.zstd.net/


Besides a standalone compression tool, development headers and a library
with comprehensive API are available both for Cygwin native applications
and cross-compilation toolchains in the following sub-packages:

libzstd-devel-1.5.5-1
libzstd1-1.5.5-1
mingw64-i686-zstd-1.5.5-1
mingw64-x86_64-zstd-1.5.5-1

Notes
-

This version is compiled with support for GZip, LZ4 and Xz compression
and all libraries are built with MT capability.  Support for legacy
formats from ZStandard versions before 1.0 has been removed.

-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Updated: zstd-1.5.5-1 and development headers / libraries

2023-04-12 Thread Achim Gratz


This release updates Zstandard to the latest upstream version, which is
a maintenance release with bugfixes and minor performance improvements.


Zstandard, or zstd as short version, is a fast lossless compression
algorithm, targeting real-time compression scenarios at zlib-level and
better compression ratios.

http://www.zstd.net/


Besides a standalone compression tool, development headers and a library
with comprehensive API are available both for Cygwin native applications
and cross-compilation toolchains in the following sub-packages:

libzstd-devel-1.5.5-1
libzstd1-1.5.5-1
mingw64-i686-zstd-1.5.5-1
mingw64-x86_64-zstd-1.5.5-1

Notes
-

This version is compiled with support for GZip, LZ4 and Xz compression
and all libraries are built with MT capability.  Support for legacy
formats from ZStandard versions before 1.0 has been removed.

-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


[ANNOUNCEMENT] Updated: Perl distributions

2023-04-12 Thread Achim Gratz via Cygwin


The following Perl distributions have been updated to their latest
release version available on CPAN:

noarch
--
 perl-Business-ISBN-Data-20230410.001-1
 perl-Config-Tiny-2.29-1
 perl-Image-ExifTool-12.60-1
 perl-Test-Compile-3.2.2-1

-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Updated: Perl distributions

2023-04-12 Thread Achim Gratz


The following Perl distributions have been updated to their latest
release version available on CPAN:

noarch
--
 perl-Business-ISBN-Data-20230410.001-1
 perl-Config-Tiny-2.29-1
 perl-Image-ExifTool-12.60-1
 perl-Test-Compile-3.2.2-1

-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


Re: Cygwin 'cp' command is still slow after Cygserver is installed

2023-04-12 Thread Brian Inglis via Cygwin

On 2023-04-12 06:44, Derek Pagel via Cygwin wrote:

how big are these files and from where to where are you copying them ?
AV interference ?

The files being copied are not very big at all and they're just being copied
from one directory to another on the same server.


Could be long ACL lists with many unique ACEs that need looked up on AD, and/or 
slow ADCs, and/or slow AV, and/or slow net:


for each file show the outputs of

$ ls -dl $f
$ getfacl $f
$ icacls "`cygpath -m $f`"

and also attach as text, the output from strace on the cp command, as it will 
show the timing and delays e.g.


$ strace -o cp-strace.log cp ...

--
Take care. Thanks, Brian Inglis  Calgary, Alberta, Canada

La perfection est atteinte   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: have cygwin setup.exe signed and/or in the MS store

2023-04-12 Thread Andrey Repin via Cygwin
Greetings, Philippe Cerfon!

> Hey there.

> I know you provide OpenPGP signatures for verification (which is good,
> and should be kept), but would it perhaps make sense to have setup.exe
> signed (in the sense of: by some MS trusted certificate) and/or in the
> MS store (though I guess that might not be possible with their
> policy)?

msgid:camu-taupf3dzpye3xj0f_gyrchzprxjxbyafd6tt9my+a7j...@mail.gmail.com
msgid:CAGZiy71hduc-LZvLvqXWNzYpN7foKrvobVP5q3S=keagukq...@mail.gmail.com

And earlier mails on the subject.


-- 
With best regards,
Andrey Repin
Wednesday, April 12, 2023 15:55:04

Sorry for my terrible english...


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


RE: Cygwin 'cp' command is still slow after Cygserver is installed

2023-04-12 Thread Derek Pagel via Cygwin
how big are these files and from where to where are you copying them ?
AV interference ?


The files being copied are not very big at all and they're just being copied 
from one directory to another on the same server.

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Issue with texlive-collection-context

2023-04-12 Thread Ken Brown via Cygwin

On 4/12/2023 7:54 AM, Vanda Vodkamilkevich via Cygwin wrote:

When using setup.exe, I have the following error message :
Package: _/Unknown package
texlive-collection-context.sh exit code 127

I tried to run the script manually and got:
$ sh -x  texlive-collection-context.sh
+ /usr/bin/mtxrun --generate
texlive-collection-context.sh: ligne 1: /usr/bin/mtxrun: No such file or
directory

Dunno where is mtxrun supposed to come from, any hints?


See https://cygwin.com/pipermail/cygwin/2023-March/253327.html


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Issue with ImageMagick

2023-04-12 Thread Vanda Vodkamilkevich via Cygwin
Hi all,

The issue is with current installed version of Imagemagick, aka
7.0.10.27-2...

Setup.ini shows the following dependencies :
sdesc: "Image processing suite (utilities)"
ldesc: "ImageMagick is a software suite to create, edit, and compose bitmap
images. It can read, convert and write images in a large variety of
formats. Use ImageMagick to translate, flip, mirror, rotate, scale,
shear and transform images, adjust image colors, apply various special
effects, or draw text, lines, polygons, ellipses and Bezier curves"
category: Graphics
version: 7.0.10.27-2
install: x86_64/release/ImageMagick/ImageMagick-7.0.10.27-2.tar.xz 104040
369281b31e1d409845e78bcdd17461f29fc49f2be32b9908facceebefd05680b514b00b877e058181c3820a9486692c7ce0d3548eb0335b56ed9f49b2adc3de9
source: x86_64/release/ImageMagick/ImageMagick-7.0.10.27-2-src.tar.xz
9675052
2e601ef36c6c2f2324e1b2bf45a018b65dae375ef71cb28b7e386d8b66066a63b1355a9155537403a95a4d077b760e84a3b3f7e35845f42b334e91e46f15c752
depends2: cygwin, libMagickCore7_7, libMagickWand7_7
build-depends: cygport, cygwin-devel, libIlmImf-devel, libX11-devel,
libXext-devel, libdjvulibre-devel, libfftw3-devel, libfpx-devel,
libgvc-devel, libheif-devel, libjbig-devel, liblcms2-devel, liblqr1-devel,
libopenjp2-devel, libpango1.0-devel, libpng-devel, libraqm-devel,
libraw-devel, libtiff-devel, libwebp-devel, libxml2-devel, libzip-devel,
libzstd-devel, perl, w32api-headers, xorgproto, zlib-devel

As can be seen, no direct dependency to ghostscript.


When using the convert command, I got the following error :

$ convert bg1.pdf bg1.jpg
convert: Postscript delegate failed `[ghostscript library 95.61]
-sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT
-dMaxBitmap=5 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha'
-dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r72x72'
'-sOutputFile=/tmp/magick-hQzhyd0T5A0X0YDbaCm4abAuaQfxkWYY%d'
'-f/tmp/magick-i_pnPtzhSe1oygBiWtubWM5bmCQpw6bo'
'-f/tmp/magick-2w6zO-j5XsIebvZuDqT11dyr6AZSLOMS'': GPL Ghostscript 9.56.1:
Can't find initialization file gs_init.ps.
 @ error/ghostscript-private.h/InvokeGhostscriptDelegate/171.
convert: no images defined `bg1.jpg' @
error/convert.c/ConvertImageCommand/3285.

And the actual installed version of gs is 10.0.0-1 Which seems to be
newer.

Any idea how to solve the problem?

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Issue with texlive-collection-context

2023-04-12 Thread Vanda Vodkamilkevich via Cygwin
When using setup.exe, I have the following error message :
Package: _/Unknown package
texlive-collection-context.sh exit code 127

I tried to run the script manually and got:
$ sh -x  texlive-collection-context.sh
+ /usr/bin/mtxrun --generate
texlive-collection-context.sh: ligne 1: /usr/bin/mtxrun: No such file or
directory

Dunno where is mtxrun supposed to come from, any hints?

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: issue when piping from a windows program

2023-04-12 Thread Takashi Yano via Cygwin
On Tue, 11 Apr 2023 09:15:03 +0200
Leonid Mironov wrote:
> I am trying to feed the output of wmic.exe - a windows console program, to 
> cygwin bash script. 
> wmic.exe produces UTF16LE output with BOM and CR/LFs, so I am using dos2unix 
> to convert it. 
> The problem is that when I write wmic.exe output to a file and then use 
> dos2unix to convert this file 
> I get the expected result - ASCII file with LFs, I get the same result when I 
> pipe this file to dos2unix, 
> but when I pipe wmic.exe output directly to dos2unix I get ASCII file with 
> CR/LFs and an extra empty line. 
> Cygwin is up to date, windows 10. What gives?
> 
> Here are the hexdumps
> 
> of 'wmic /NAMESPACE:root\\WMI PATH BatteryStatus get 
> charging,voltage,remainingcapacity,chargerate>file'
> 
>   ff fe 43 00 68 00 61 00  72 00 67 00 65 00 52 00  |..C.h.a.r.g.e.R.|
> 0010  61 00 74 00 65 00 20 00  20 00 43 00 68 00 61 00  |a.t.e. . .C.h.a.|
> 0020  72 00 67 00 69 00 6e 00  67 00 20 00 20 00 52 00  |r.g.i.n.g. . .R.|
> 0030  65 00 6d 00 61 00 69 00  6e 00 69 00 6e 00 67 00  |e.m.a.i.n.i.n.g.|
> 0040  43 00 61 00 70 00 61 00  63 00 69 00 74 00 79 00  |C.a.p.a.c.i.t.y.|
> 0050  20 00 20 00 56 00 6f 00  6c 00 74 00 61 00 67 00  | . .V.o.l.t.a.g.|
> 0060  65 00 20 00 20 00 0d 00  0a 00 30 00 20 00 20 00  |e. . .0. . .|
> 0070  20 00 20 00 20 00 20 00  20 00 20 00 20 00 20 00  | . . . . . . . .|
> 0080  20 00 46 00 41 00 4c 00  53 00 45 00 20 00 20 00  | .F.A.L.S.E. . .|
> 0090  20 00 20 00 20 00 33 00  37 00 37 00 33 00 34 00  | . . .3.7.7.3.4.|
> 00a0  20 00 20 00 20 00 20 00  20 00 20 00 20 00 20 00  | . . . . . . . .|
> 00b0  20 00 20 00 20 00 20 00  20 00 20 00 31 00 32 00  | . . . . . .1.2.|
> 00c0  37 00 34 00 30 00 20 00  20 00 20 00 20 00 0d 00  |7.4.0. . . . ...|
> 00d0  0a 00 |..|
> 00d2
> 
> of wimic>file followed by dos2unix 
>   43 68 61 72 67 65 52 61  74 65 20 20 43 68 61 72  |ChargeRate  Char|
> 0010  67 69 6e 67 20 20 52 65  6d 61 69 6e 69 6e 67 43  |ging  RemainingC|
> 0020  61 70 61 63 69 74 79 20  20 56 6f 6c 74 61 67 65  |apacity  Voltage|
> 0030  20 20 0a 30 20 20 20 20  20 20 20 20 20 20 20 46  |  .0   
> F|  
> 0040  41 4c 53 45 20 20 20 20  20 33 37 37 33 34 20 20  |ALSE 37734  
> |  
> 0050  20 20 20 20 20 20 20 20  20 20 20 20 31 32 37 34  |1274|
> 0060  30 20 20 20 20 0a |0.|
> 0066
> 
> and of wimic|dos2unix
> 
>   43 68 61 72 67 65 52 61  74 65 20 20 43 68 61 72  |ChargeRate  Char|
> 0010  67 69 6e 67 20 20 52 65  6d 61 69 6e 69 6e 67 43  |ging  RemainingC|
> 0020  61 70 61 63 69 74 79 20  20 56 6f 6c 74 61 67 65  |apacity  Voltage|
> 0030  20 20 0d 0a 30 20 20 20  20 20 20 20 20 20 20 20  |  ..0   |
> 0040  46 41 4c 53 45 20 20 20  20 20 33 37 37 33 34 20  |FALSE 37734 |
> 0050  20 20 20 20 20 20 20 20  20 20 20 20 20 31 32 37  | 127|
> 0060  34 30 20 20 20 20 0d 0a  0d 0a|40|
> 006a

This is not cygwin problem.

Please try the following in command prompt without cygwin.

wmic > wmic_redirect.txt
wmic | more > wmic_pipe.txt

Then, open both text file using binary editor.
wmic_redirect.txt has \r\n in UTF16 encoding, however,
you will find wmic_pipe.txt has abnormal line endings.

-- 
Takashi Yano 

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: pinfo build fails with undefined macro: AM_INTL_SUBDIR

2023-04-12 Thread Achim Gratz via Cygwin-apps
Andrew Schulman via Cygwin-apps writes:
> Thanks. I tried several different values of WANT_AUTOCONF and WANT_AUTOMAKE, 
> but
> they didn't help. From what I can tell, AM_INTL_SUBDIR is just gone from
> automake now. 

It never was there, this is a bug in gettext 0.21.

> So I removed the call to AM_INTL_SUBDIR, and that build problem is fixed. 
> Anyway
> thanks for pointing me in a direction.

The correct solution seems to be to add 'external' to the arguments of 
AM_GNU_GETTEXT.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


Re: issue when piping from a windows program

2023-04-12 Thread Brian Inglis via Cygwin

On 2023-04-11 08:43, Andrey Repin via Cygwin wrote:

Greetings, Leonid Mironov!


I am trying to feed the output of wmic.exe - a windows console program, to 
cygwin bash script.
wmic.exe produces UTF16LE output with BOM and CR/LFs, so I am using dos2unix to 
convert it.
The problem is that when I write wmic.exe output to a file and then use 
dos2unix to convert this file
I get the expected result - ASCII file with LFs, I get the same result when I 
pipe this file to dos2unix,
but when I pipe wmic.exe output directly to dos2unix I get ASCII file with 
CR/LFs and an extra empty line.
Cygwin is up to date, windows 10. What gives?


You don't need d2u. Use `… | iconv -f UTF16LE | tr -d '\r'`
(Don't even need -t for iconv - it assumes current locale settings as
default source/destination encoding.)


d2u -ul converts from utf-16le to utf-8

When I run wmic under mintty or | less it looks fine to me e.g.:

$ wmic baseboard list full | less   # optional

but the output could benefut from \r stripping:

$ wmic baseboard list full | tr -d '\r' | cat -A | less

https://learn.microsoft.com/en-us/windows/whats-new/deprecated-features#deprecated-features

The WMIC tool is deprecated in Windows 10, version 21H1 and the 21H1 General 
Availability Channel release of Windows Server. This tool is superseded by 
Windows PowerShell for WMI.


https://learn.microsoft.com/en-us/powershell/scripting/learn/ps101/07-working-with-wmi

--
Take care. Thanks, Brian Inglis  Calgary, Alberta, Canada

La perfection est atteinte   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple