#MSYS2

2025-06-17

The wonders of #Python on #Windows (via #MSYS2)...

If you run your Python script using "./script.py", then `Path` from #pathlib becomes `PosixPath`.

If you run the same script using "python script.py" instead, then `Path` becomes `WindowsPath`.

Chers!

2025-05-19

Ok, where do I have to look for the camera?

Spoiler: Compare package versions and file hashes.

#MSYS2 #Pacman #Bugs #Programming

On top the screenshot of a MINGW64 session on computer A:

$ pacman --query --owns /mingw64/include/sys/stat.h
/mingw64/include/sys/stat.h is owned by mingw-w64-x86_64-headers-git 12.0.0.r730.g9c1dcbf0c-1
$ md5sum /mingw64/include/sys/stat.h
824c85508b75760eb85a114df4d16c03 */mingw64/include/sys/stat.h

Below the screenshot of a MINGW64 session on computer A:

$ pacman --query --owns /mingw64/include/sys/stat.h
/mingw64/include/sys/stat.h ist in mingw-w64-x86_64-headers-git 12.0.0.r730.g9c1dcbf0c-1 enthalten
$ md5sum /mingw64/include/sys/stat.h
6b9bca9be5e04b5b744e3f2ae054491f */mingw64/include/sys/stat.h
2025-05-07

MSYS2, GDB и управление памятью

Эта история началась с того, что мне захотелось поработать с интерпретатором одного очень экзотического языка программирования, а закончилась тем, что я освоил не менее экзотические (для меня) нюансы работы с памятью в С в Windows и POSIX, и того, как работает отладчик gdb в Windows. ну очень экзотического

habr.com/ru/articles/907662/

#msys2 #gdb #mmap #memset

Dorian Santner 🇦🇹Dorianix@graz.social
2025-04-26

Das #Barcamp #Graz 2025 wird in den #lightningtalks der Linuxtage angekündigt.

Save-the-date : 17.05.2025

Lightning talks sind #Kurzvorträge bei denen man sich kurzfristig zu einem (max. 5 Minuten langen) #Vortrag meldet.

Außerdem diesmal noch dabei:
#pijul, #msys2, #openwrt und #orgmode, Methoden zu #spam-Verhinderung, #softskills,
#private.coffee ,

pretalx.linuxtage.at/glt25/tal

2025-04-11

In case anyone is wondering why #ssh (#openssh) is failing silently on #msys2 - seems they pushed out a version that depends on an msys2 runtime version that's stuck in some kind of release queue: github.com/msys2/MSYS2-package

Yesterday's Roseumbraroze@tech.lgbt
2025-02-07

Almost forgot.
Yesterday I tried installing #MSYS2. I think I need to redo it later with better luck.

I don't know how else to phrase it, but once I tried running full update, the MSYS2 environment just *shat itself.* I must emphasise that I do not use this kind of expression lightly.
First it said the pacman database was funky. Then bash started whining about not being able to create processes.
*What.*
...I uninstalled the whole thing before things got even weirder.

Last time I tried using #Cygwin was early 2000s. All I can remember about that experience was that it was mildly janky, and I heard that MinGW was coming to fix all that. ...I guess at this pace we'll never get rid of the jank.

#Windows

Yesterday's Roseumbraroze@tech.lgbt
2025-02-06

Earlier I said that I had plans of starting a #cplusplus project but had to stop it because setting the build dependencies up in Windows is still an absolute nightmare. Annnd that the libraries are available in #Python anyway, so I should probably just write this in Python.

OK, after the first assessment, I'm no longer that sure.

One of the things I want to use is #SDL3, which does have Python library. ...with incredibly liberal application of `ctypes` on top of it. This is going to be an absolute headache *anyway*.

I'm mildly at some bargaining phase, like, um, maybe I cold bite the bullet and go with #MSYS2 after all.

eht16 [moved]eht16@floss.social
2025-01-04

The #Geany developers are looking for a new maintainer for the Windows builds of Geany.

The Windows builds of Geany were created previously on a Windows 7 VM which is not supported any longer.
We are looking for a new maintainer who likes to take care of the Windows builds, knows MSYS2 and has access to a Windows system with a recent version to be able to build and test Geany on Windows.

For more details and comments, see github.com/geany/geany/issues/.

#geany #geanyIDE #msys2 #maintainer #foss

2024-12-25

@malanalysis seriously need a powershell for bash scripters , using #msys2 is getting old.

ShadowKyogreShadowKyogre
2024-11-08

news! I am almost over the first hurdle for making the TMX export for Etrian Map Maker! I just need to make sure that the XML I'm generating matches the format map editor is expecting.

As a result, I downloaded Tiled onto my install so it's portable.

ShadowKyogreShadowKyogre
2024-10-31

Finished moving most of my non-gamedev tools into the portable install sitting on the coding HDD. ...I'm not entirely sure if I should move the install from being a folder maintained outside of it or install the msys2 local version.

2024-10-03

#schule mit #foss:
In einer nächsten Stunde gibt's Linux serviert.
#alpine mit #xfce läuft auch eingequetscht in unsere Win-VMs, dank #msys2 + #qemu

qemu.org/
msys2.org/
alpinelinux.org/

Großes Display einer digitalen Tafel zeigt den XFCE-Desktop eines Linux-Systems.Großes Display einer digitalen Tafel zeigt den XFCE-Desktop eines Linux-Systems in einem Fenster der Virtualisierung QEMU unter MS Windows
2024-05-09

Pro tip: running "pacman -Ss | grep installed" will get all installed packages with their repos if you use a distro that uses pacman, like Arch, or environments like MSys2.

#ArchLinux #Arch #Linux #MSys2

Felicitas Pojtinger 🌅pojntfx
2024-05-08

Some more cross-compilation to non-free systems with + / + shenanigans - here we have the Apple-provided and built XCode toolchain & homebrew running on Darling on Linux building the GTK 4 Hello World example, which then successfully runs on real macOS 14!

Building the macOS binary on Darling on LinuxmacOS 14 running the built binary
2024-03-07

Reddit tells me that #MSYS2 is one of the more comprehensive and up-to-date distributions of #MinGW-w64, so i'm gonna use that.

the funny thing about this one is that it uses regular pacman

(neofetch came by default - that was not my doing!)

neofetch screenshotinstalling packages via pacman
Eduardo Flores :rust:edfloreshz@hachyderm.io
2024-02-21

@janvhs Yeah it does, I’m using #MSYS2 to install all the dependientes, but it works! I had to package pango myself because it is outdated tho…

2024-02-19

People don't believe me when I tell them I had to re-learn how to use #windows (as a user) for my last and current job. #cygwin and derivatives (#git #bash, #msys2) serve as my only coping mechanism, really glad they exist.

#gnu #linux

Felix Palmen 📯zirias@techhub.social
2024-01-25

@wader I think I can add a bit of explanation here. MSVCRT.DLL (as a "standard C library") was included with windows for a long time, but they quickly ran into issues with it, most likely caused by not having sane mechanisms for versioning. So, what they did was including a C runtime with each release of their compiler (#MSVC) and expect this runtime to be redistributed with software using it. MSVCRT.DLL had its public API/ABI frozen in a state with #C89 and partial(!) #C99 support and was declared "private" to the OS.

#Mingw (which is also distributed by #MSYS2) nevertheless continued linking to MSVCRT.DLL (and I see why, it's really stupid to have tons of copies of the C runtime ...). So, while the compilers support newer C standards, the standard lib doesn't, and therefore you need quite some hacks and workarounds. And I wouldn't be surprised to find lots of funny misbehavior, that's why I think the issue might indeed be the strftime() from MSVCRT.DLL.
[...]

Júlio Gardonajcbritobr
2024-01-09

@henrybarreto@mastodon.online nada... o shell é totalmente desacoplado do sistema. Inclusive já tem um port do bash usado no . Eu uso isso a anos no windows, até em versões anteriores do 10.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst