Skip to content

Commit

Permalink
Merge pull request #29 from dscho/fix-update-via-pacman.ps1
Browse files Browse the repository at this point in the history
Fix update-via-pacman.ps1 and downgrade MSYS2 runtime to v3.5.4
  • Loading branch information
dscho authored Dec 30, 2024
2 parents af2793d + 44505c2 commit 220e59b
Show file tree
Hide file tree
Showing 96 changed files with 20 additions and 24 deletions.
2 changes: 1 addition & 1 deletion etc/pacman.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ HoldPkg = pacman
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = pacman
IgnorePkg = msys2-runtime
#IgnoreGroup =

#NoUpgrade =
Expand Down
7 changes: 4 additions & 3 deletions update-via-pacman.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ function die {
Set-Location $PSScriptRoot
if (!$?) { die "Could not switch directory to $PSScriptRoot" }

$env:PATH = "$(Get-Location)\usr\bin;" + $env:PATH
$env:PATH = "$(Get-Location)\clangarm64\bin;$(Get-Location)\usr\bin;" + $env:PATH

# Set to MSYS mode
$env:MSYSTEM = "MSYS"
$env:MSYSTEM = "CLANGARM64"
$env:MSYS2_PATH_TYPE = "minimal"

# Create /var/log/ so that pacman.log is written
Expand Down Expand Up @@ -155,7 +155,8 @@ if ($pacnew.Length -gt 0) {
}
bash -lc @"
set -x &&
. /var/lib/pacman/local/mingw-w64-*-git-extra-[0-9]*/install 2>/dev/null &&
. /var/lib/pacman/local/mingw-w64-*-git-extra-[0-9]*/install &&
cd / &&
post_upgrade
"@
}
Expand Down
Binary file modified usr/bin/chattr.exe
Binary file not shown.
Binary file modified usr/bin/cygcheck.exe
Binary file not shown.
Binary file modified usr/bin/cygpath.exe
Binary file not shown.
Binary file modified usr/bin/cygwin-console-helper.exe
Binary file not shown.
Binary file modified usr/bin/dumper.exe
Binary file not shown.
Binary file modified usr/bin/gencat.exe
Binary file not shown.
Binary file modified usr/bin/getconf.exe
Binary file not shown.
Binary file modified usr/bin/getfacl.exe
Binary file not shown.
Binary file modified usr/bin/gmondump.exe
Binary file not shown.
Binary file modified usr/bin/kill.exe
Binary file not shown.
Binary file modified usr/bin/ldd.exe
Binary file not shown.
Binary file modified usr/bin/ldh.exe
Binary file not shown.
Binary file modified usr/bin/locale.exe
Binary file not shown.
Binary file modified usr/bin/lsattr.exe
Binary file not shown.
Binary file modified usr/bin/minidumper.exe
Binary file not shown.
Binary file modified usr/bin/mkgroup.exe
Binary file not shown.
Binary file modified usr/bin/mkpasswd.exe
Binary file not shown.
Binary file modified usr/bin/mount.exe
Binary file not shown.
Binary file modified usr/bin/msys-2.0.dll
Binary file not shown.
Binary file modified usr/bin/newgrp.exe
Binary file not shown.
Binary file modified usr/bin/passwd.exe
Binary file not shown.
Binary file modified usr/bin/pldd.exe
Binary file not shown.
Binary file modified usr/bin/profiler.exe
Binary file not shown.
Binary file modified usr/bin/ps.exe
Binary file not shown.
Binary file modified usr/bin/regtool.exe
Binary file not shown.
Binary file modified usr/bin/setfacl.exe
Binary file not shown.
Binary file modified usr/bin/setmetamode.exe
Binary file not shown.
Binary file modified usr/bin/ssp.exe
Binary file not shown.
Binary file modified usr/bin/strace.exe
Binary file not shown.
Binary file modified usr/bin/tzset.exe
Binary file not shown.
Binary file modified usr/bin/umount.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion usr/include/cygwin/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ details. */
changes to the DLL and is mainly informative in nature. */

#define CYGWIN_VERSION_DLL_MAJOR 3005
#define CYGWIN_VERSION_DLL_MINOR 5
#define CYGWIN_VERSION_DLL_MINOR 4

/* CYGWIN_VERSION_DLL_COMBINED gives us a single number representing the
combined DLL major and minor numbers. */
Expand Down
13 changes: 5 additions & 8 deletions usr/include/pthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,10 @@ typedef struct _pthread_cleanup_handler
void _pthread_cleanup_push (__pthread_cleanup_handler *handler);
void _pthread_cleanup_pop (int execute);

#define pthread_cleanup_push(_fn, _arg) \
do { \
__pthread_cleanup_handler __cleanup_handler = { _fn, _arg, NULL }; \
_pthread_cleanup_push(&__cleanup_handler)
#define pthread_cleanup_pop(_execute) \
_pthread_cleanup_pop(_execute); \
} while (0)
#define pthread_cleanup_push(_fn, _arg) { __pthread_cleanup_handler __cleanup_handler = \
{ _fn, _arg, NULL }; \
_pthread_cleanup_push( &__cleanup_handler );
#define pthread_cleanup_pop(_execute) _pthread_cleanup_pop( _execute ); }

/* Condition variables */
int pthread_cond_broadcast (pthread_cond_t *);
Expand Down Expand Up @@ -247,7 +244,7 @@ int pthread_getattr_np (pthread_t, pthread_attr_t *);
int pthread_getname_np (pthread_t, char *, size_t) __attribute__((__nonnull__(2)));
int pthread_setaffinity_np (pthread_t, size_t, const cpu_set_t *);
int pthread_setname_np (pthread_t, const char *) __attribute__((__nonnull__(2)));
int pthread_sigqueue (pthread_t, int, const union sigval);
int pthread_sigqueue (pthread_t *, int, const union sigval);
int pthread_timedjoin_np (pthread_t, void **, const struct timespec *);
int pthread_tryjoin_np (pthread_t, void **);
#endif
Expand Down
Binary file modified usr/lib/libacl.a
Binary file not shown.
Binary file modified usr/lib/libc.a
Binary file not shown.
Binary file modified usr/lib/libdl.a
Binary file not shown.
Binary file modified usr/lib/libg.a
Binary file not shown.
Binary file modified usr/lib/libgmon.a
Binary file not shown.
Binary file modified usr/lib/libm.a
Binary file not shown.
Binary file modified usr/lib/libmsys-2.0.a
Binary file not shown.
Binary file modified usr/lib/libpthread.a
Binary file not shown.
Binary file modified usr/lib/libresolv.a
Binary file not shown.
Binary file modified usr/lib/librt.a
Binary file not shown.
Binary file modified usr/lib/libssp.a
Binary file not shown.
Binary file modified usr/lib/libutil.a
Binary file not shown.
Binary file modified usr/libexec/getprocaddr32.exe
Binary file not shown.
Binary file modified usr/libexec/getprocaddr64.exe
Binary file not shown.
Binary file modified usr/share/man/man1/chattr.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/cygcheck.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/cygpath.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/dumper.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/getconf.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/getfacl.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/gmondump.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/intro.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/kill.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/ldd.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/locale.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/lsattr.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/minidumper.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/mkgroup.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/mkpasswd.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/mount.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/newgrp.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/passwd.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/pldd.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/profiler.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/ps.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/regtool.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/setfacl.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/setmetamode.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/ssp.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/strace.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/tzset.1.gz
Binary file not shown.
Binary file modified usr/share/man/man1/umount.1.gz
Binary file not shown.
Binary file modified usr/share/man/man3/cygwin_attach_handle_to_fd.3.gz
Binary file not shown.
Binary file modified usr/share/man/man3/cygwin_conv_path.3.gz
Binary file not shown.
Binary file modified usr/share/man/man3/cygwin_conv_path_list.3.gz
Binary file not shown.
Binary file modified usr/share/man/man3/cygwin_create_path.3.gz
Binary file not shown.
Binary file modified usr/share/man/man3/cygwin_internal.3.gz
Binary file not shown.
Binary file modified usr/share/man/man3/cygwin_logon_user.3.gz
Binary file not shown.
Binary file modified usr/share/man/man3/cygwin_posix_path_list_p.3.gz
Binary file not shown.
Binary file modified usr/share/man/man3/cygwin_set_impersonation_token.3.gz
Binary file not shown.
Binary file modified usr/share/man/man3/cygwin_split_path.3.gz
Binary file not shown.
Binary file modified usr/share/man/man3/cygwin_stackdump.3.gz
Binary file not shown.
Binary file modified usr/share/man/man3/intro.3.gz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
msys2-runtime

%VERSION%
3.5.5-2
3.5.4-5

%BASE%
msys2-runtime
Expand All @@ -17,16 +17,16 @@ https://www.cygwin.com/
x86_64

%BUILDDATE%
1735474477
1732528195

%INSTALLDATE%
1735495448
1735591119

%PACKAGER%
Johannes Schindelin <[email protected]>

%SIZE%
26702503
26671359

%GROUPS%
base
Expand All @@ -35,7 +35,6 @@ base
GPL

%VALIDATION%
sha256
pgp

%REPLACES%
Expand Down
Binary file added var/lib/pacman/local/msys2-runtime-3.5.4-5/mtree
Binary file not shown.
Binary file removed var/lib/pacman/local/msys2-runtime-3.5.5-2/mtree
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
msys2-runtime-devel

%VERSION%
3.5.5-2
3.5.4-5

%BASE%
msys2-runtime
Expand All @@ -17,16 +17,16 @@ https://www.cygwin.com/
x86_64

%BUILDDATE%
1735474477
1732528195

%INSTALLDATE%
1735495448
1735591119

%PACKAGER%
Johannes Schindelin <[email protected]>

%SIZE%
4310660
4310644

%GROUPS%
msys2-devel
Expand All @@ -35,15 +35,14 @@ msys2-devel
GPL

%VALIDATION%
sha256
pgp

%REPLACES%
libcatgets-devel
msys2-runtime-3.4-devel

%DEPENDS%
msys2-runtime=3.5.5
msys2-runtime=3.5.4

%CONFLICTS%
libcatgets-devel
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 220e59b

Please sign in to comment.