diff --git a/mingw-w64-gedit-plugins/PKGBUILD b/mingw-w64-gedit-plugins/PKGBUILD index c5722cef8b..efa17561e0 100644 --- a/mingw-w64-gedit-plugins/PKGBUILD +++ b/mingw-w64-gedit-plugins/PKGBUILD @@ -3,7 +3,7 @@ _realname=gedit-plugins pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=41.0 +pkgver=42.0 pkgrel=1 arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') @@ -25,15 +25,15 @@ license=("GPL") url="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins" install=gedit-plugins-${MSYSTEM}.install source=(https://download.gnome.org/sources/${_realname}/${pkgver%.*}/${_realname}-${pkgver}.tar.xz) -sha256sums=('a38f949460914f054063671bf0bb8e8a5184e6210be89f64bb304652d4520e87') +sha256sums=('7246420fbc3d3950ef78d2e346e21306440e71c64d74f6e8c44e51a58cd0db62') prepare() { cd "${srcdir}"/${_realname}-${pkgver} } build() { - [[ -d build-${MINGW_CHOST} ]] && rm -rf build-${MINGW_CHOST} - mkdir -p build-${MINGW_CHOST} && cd build-${MINGW_CHOST} + [[ -d build-${MSYSTEM} ]] && rm -rf build-${MSYSTEM} + mkdir -p build-${MSYSTEM} && cd build-${MSYSTEM} MSYS2_ARG_CONV_EXCL="--prefix=" \ ${MINGW_PREFIX}/bin/meson.exe \ @@ -48,6 +48,7 @@ build() { } package() { - cd "${srcdir}/build-${MINGW_CHOST}" - DESTDIR="${pkgdir}" ${MINGW_PREFIX}/bin/meson.exe install + cd "${srcdir}/build-${MSYSTEM}" + ${MINGW_PREFIX}/bin/meson.exe install --destdir="${pkgdir}" + install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING" } diff --git a/mingw-w64-github-cli/PKGBUILD b/mingw-w64-github-cli/PKGBUILD index 63c153fc75..58bd0cfcc6 100644 --- a/mingw-w64-github-cli/PKGBUILD +++ b/mingw-w64-github-cli/PKGBUILD @@ -3,7 +3,7 @@ _realname=github-cli pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") -pkgver=2.8.0 +pkgver=2.9.0 pkgrel=1 pkgdesc='The GitHub CLI (mingw-w64)' arch=('any') @@ -16,7 +16,7 @@ optdepends=("git: To interact with repositories") options=('!strip') source=("$_realname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" "gh") -sha256sums=('d4aed3f4325bc518cf4af6fc7989ab35b498e42e8f97ba0e6bb07d7e3b14886a' +sha256sums=('730b600d33afb67d84af4dca1af80cb1fbff79d302ac4f840fc8e9e4c25fceb7' '9ee5f2b44b7e9aa751508f02c1020e341e0212a9aa146b7428eb5ffea310be27') build() { cd "cli-$pkgver" diff --git a/mingw-w64-gtk4/1.patch b/mingw-w64-gtk4/1.patch deleted file mode 100644 index 628111c4de..0000000000 --- a/mingw-w64-gtk4/1.patch +++ /dev/null @@ -1,286 +0,0 @@ -From a7b3e1e7fe1d2402240be0bd382da1f3213204b4 Mon Sep 17 00:00:00 2001 -From: Chun-wei Fan -Date: Thu, 31 Mar 2022 10:36:45 +0800 -Subject: [PATCH 1/4] gdkclipboard-win32.c: Fix call to - gdk_clipboard_claim_remote() - -The call to gdk_win32_clipboard_request_contentformats() can return NULL even -without an error condition being hit (such as when the system clipboard is -empty), so check whether the returned GdkContentFormat pointer is not NULL -before calling gdk_clipboard_claim_remote(), which expects it to be not NULL, -otherwise we face a warning from that funtion and the subsequent -g_object_unref(). - -This at least partially fixes issue #4796. ---- - gdk/win32/gdkclipboard-win32.c | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -diff --git a/gdk/win32/gdkclipboard-win32.c b/gdk/win32/gdkclipboard-win32.c -index 36d56b8b53..ce80019e56 100644 ---- a/gdk/win32/gdkclipboard-win32.c -+++ b/gdk/win32/gdkclipboard-win32.c -@@ -142,9 +142,13 @@ gdk_win32_clipboard_claim_remote (GdkWin32Clipboard *cb) - cb->sequence_number = -1; - - formats = gdk_win32_clipboard_request_contentformats (cb); -- gdk_clipboard_claim_remote (GDK_CLIPBOARD (cb), formats); -- gdk_content_formats_unref (formats); -- cb->sequence_number = GetClipboardSequenceNumber (); -+ -+ if (formats != NULL) -+ { -+ gdk_clipboard_claim_remote (GDK_CLIPBOARD (cb), formats); -+ gdk_content_formats_unref (formats); -+ cb->sequence_number = GetClipboardSequenceNumber (); -+ } - } - - static void --- -2.35.1.windows.2 - - -From d65cab0e9f0c786ec9d45f4e26d951c8664bf31d Mon Sep 17 00:00:00 2001 -From: Luca Bacci -Date: Wed, 6 Apr 2022 19:45:50 +0200 -Subject: [PATCH 2/4] GdkWin32: Report serial for events - ---- - gdk/win32/gdkevents-win32.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c -index debc66e5d7..3f71e2a8f4 100644 ---- a/gdk/win32/gdkevents-win32.c -+++ b/gdk/win32/gdkevents-win32.c -@@ -873,6 +873,7 @@ _gdk_win32_append_event (GdkEvent *event) - { - GdkDisplay *display; - GList *link; -+ gulong serial; - - display = gdk_display_get_default (); - -@@ -880,8 +881,9 @@ _gdk_win32_append_event (GdkEvent *event) - #if 1 - link = _gdk_event_queue_append (display, event); - GDK_NOTE (EVENTS, _gdk_win32_print_event (event)); -+ serial = _gdk_display_get_next_serial (display); - /* event morphing, the passed in may not be valid afterwards */ -- _gdk_windowing_got_event (display, link, event, 0); -+ _gdk_windowing_got_event (display, link, event, serial); - #else - _gdk_event_queue_append (display, event); - GDK_NOTE (EVENTS, _gdk_win32_print_event (event)); --- -2.35.1.windows.2 - - -From 1bab2485c7884c8a254c8876bd08690a3d08f0bf Mon Sep 17 00:00:00 2001 -From: Luca Bacci -Date: Mon, 4 Apr 2022 15:29:52 +0200 -Subject: [PATCH 3/4] GdkWin32: Correct generation of crossing events when - holding an implicit grab - -Fixes #4722 ---- - gdk/win32/gdkevents-win32.c | 43 ++++++++----------------------------- - 1 file changed, 9 insertions(+), 34 deletions(-) - -diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c -index 3f71e2a8f4..6012751952 100644 ---- a/gdk/win32/gdkevents-win32.c -+++ b/gdk/win32/gdkevents-win32.c -@@ -2322,60 +2322,35 @@ gdk_event_translate (MSG *msg, - - pen_touch_input = FALSE; - -- new_window = window; -- -- if (pointer_grab != NULL) -- { -- POINT pt; -- pt = msg->pt; -- -- new_window = NULL; -- hwnd = WindowFromPoint (pt); -- if (hwnd != NULL) -- { -- POINT client_pt = pt; -- -- ScreenToClient (hwnd, &client_pt); -- GetClientRect (hwnd, &rect); -- if (PtInRect (&rect, client_pt)) -- new_window = gdk_win32_handle_table_lookup (hwnd); -- } -- -- if (!pointer_grab->owner_events && -- new_window != NULL && -- new_window != pointer_grab->surface) -- new_window = NULL; -- } -+ g_set_object (&window, find_window_for_mouse_event (window, msg)); - -- if (mouse_window != new_window) -+ if (mouse_window != window) - { - GDK_NOTE (EVENTS, g_print (" mouse_window %p -> %p", - mouse_window ? GDK_SURFACE_HWND (mouse_window) : NULL, -- new_window ? GDK_SURFACE_HWND (new_window) : NULL)); -+ window ? GDK_SURFACE_HWND (window) : NULL)); - synthesize_crossing_events (display, - _gdk_device_manager->system_pointer, -- mouse_window, new_window, -+ mouse_window, window, - GDK_CROSSING_NORMAL, - &msg->pt, - 0, /* TODO: Set right mask */ - _gdk_win32_get_next_tick (msg->time), - FALSE); -- g_set_object (&mouse_window, new_window); -+ g_set_object (&mouse_window, window); - mouse_window_ignored_leave = NULL; -- if (new_window != NULL) -- track_mouse_event (TME_LEAVE, GDK_SURFACE_HWND (new_window)); -+ if (window != NULL) -+ track_mouse_event (TME_LEAVE, GDK_SURFACE_HWND (window)); - } -- else if (new_window != NULL && -- new_window == mouse_window_ignored_leave) -+ else if (window != NULL && window == mouse_window_ignored_leave) - { - /* If we ignored a leave event for this window and we're now getting - input again we need to re-arm the mouse tracking, as that was - cancelled by the mouseleave. */ - mouse_window_ignored_leave = NULL; -- track_mouse_event (TME_LEAVE, GDK_SURFACE_HWND (new_window)); -+ track_mouse_event (TME_LEAVE, GDK_SURFACE_HWND (window)); - } - -- g_set_object (&window, find_window_for_mouse_event (window, msg)); - impl = GDK_WIN32_SURFACE (window); - - /* If we haven't moved, don't create any GDK event. Windows --- -2.35.1.windows.2 - - -From e0dc7b88c6de9dabbda4ec016b9ae1cce136f1f2 Mon Sep 17 00:00:00 2001 -From: Luca Bacci -Date: Wed, 6 Apr 2022 20:01:51 +0200 -Subject: [PATCH 4/4] GdkWin32: Generate crossing event after button release - -Fixes #4813 ---- - gdk/win32/gdkevents-win32.c | 76 +++++++++++++++++++++---------------- - 1 file changed, 43 insertions(+), 33 deletions(-) - -diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c -index 6012751952..7b184e2fba 100644 ---- a/gdk/win32/gdkevents-win32.c -+++ b/gdk/win32/gdkevents-win32.c -@@ -2244,6 +2244,10 @@ gdk_event_translate (MSG *msg, - button = 5; - - buttonup0: -+ { -+ gboolean release_implicit_grab = FALSE; -+ GdkSurface *prev_surface = NULL; -+ - GDK_NOTE (EVENTS, - g_print (" (%d,%d)", - GET_X_LPARAM (msg->lParam), GET_Y_LPARAM (msg->lParam))); -@@ -2253,41 +2257,18 @@ gdk_event_translate (MSG *msg, - g_set_object (&window, find_window_for_mouse_event (window, msg)); - - if (pointer_grab != NULL && pointer_grab->implicit) -- { -- int state = build_pointer_event_state (msg); -- -- /* We keep the implicit grab until no buttons at all are held down */ -- if ((state & GDK_ANY_BUTTON_MASK & ~(GDK_BUTTON1_MASK << (button - 1))) == 0) -- { -- ReleaseCapture (); -- -- new_window = NULL; -- hwnd = WindowFromPoint (msg->pt); -- if (hwnd != NULL) -- { -- POINT client_pt = msg->pt; -- -- ScreenToClient (hwnd, &client_pt); -- GetClientRect (hwnd, &rect); -- if (PtInRect (&rect, client_pt)) -- new_window = gdk_win32_handle_table_lookup (hwnd); -- } -+ { -+ int state = build_pointer_event_state (msg); - -- synthesize_crossing_events (display, -- _gdk_device_manager->system_pointer, -- pointer_grab->surface, new_window, -- GDK_CROSSING_UNGRAB, -- &msg->pt, -- 0, /* TODO: Set right mask */ -- _gdk_win32_get_next_tick (msg->time), -- FALSE); -- g_set_object (&mouse_window, new_window); -- mouse_window_ignored_leave = NULL; -- } -- } -+ /* We keep the implicit grab until no buttons at all are held down */ -+ if ((state & GDK_ANY_BUTTON_MASK & ~(GDK_BUTTON1_MASK << (button - 1))) == 0) -+ { -+ release_implicit_grab = TRUE; -+ prev_surface = pointer_grab->surface; -+ } -+ } - -- generate_button_event (GDK_BUTTON_RELEASE, button, -- window, msg); -+ generate_button_event (GDK_BUTTON_RELEASE, button, window, msg); - - impl = GDK_WIN32_SURFACE (window); - -@@ -2296,8 +2277,37 @@ gdk_event_translate (MSG *msg, - impl->drag_move_resize_context.button == button) - gdk_win32_surface_end_move_resize_drag (window); - -+ if (release_implicit_grab) -+ { -+ ReleaseCapture (); -+ -+ new_window = NULL; -+ hwnd = WindowFromPoint (msg->pt); -+ if (hwnd != NULL) -+ { -+ POINT client_pt = msg->pt; -+ -+ ScreenToClient (hwnd, &client_pt); -+ GetClientRect (hwnd, &rect); -+ if (PtInRect (&rect, client_pt)) -+ new_window = gdk_win32_handle_table_lookup (hwnd); -+ } -+ -+ synthesize_crossing_events (display, -+ _gdk_device_manager->system_pointer, -+ prev_surface, new_window, -+ GDK_CROSSING_UNGRAB, -+ &msg->pt, -+ 0, /* TODO: Set right mask */ -+ _gdk_win32_get_next_tick (msg->time), -+ FALSE); -+ g_set_object (&mouse_window, new_window); -+ mouse_window_ignored_leave = NULL; -+ } -+ - return_val = TRUE; - break; -+ } - - case WM_MOUSEMOVE: - GDK_NOTE (EVENTS, --- -2.35.1.windows.2 - diff --git a/mingw-w64-gtk4/PKGBUILD b/mingw-w64-gtk4/PKGBUILD index d5254dc839..0ca915d12d 100644 --- a/mingw-w64-gtk4/PKGBUILD +++ b/mingw-w64-gtk4/PKGBUILD @@ -3,8 +3,8 @@ _realname=gtk4 pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=4.6.2 -pkgrel=2 +pkgver=4.6.3 +pkgrel=1 pkgdesc="GObject-based multi-platform GUI toolkit (v4) (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') @@ -30,26 +30,8 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs" "${MINGW_PACKAGE_PREFIX}-gst-plugins-bad-libs" "${MINGW_PACKAGE_PREFIX}-ffmpeg" "${MINGW_PACKAGE_PREFIX}-shared-mime-info") -source=("https://download.gnome.org/sources/gtk/${pkgver:0:3}/gtk-${pkgver}.tar.xz" - "1.patch") -sha256sums=('ff263af609a50eb76056653592d929459aef4819a444c436f6d52c6f63c1faec' - 'fbefb27c5b45c6a57795d6ed93dfe9b623986b8518d175e527c658286b89d2ed') - -apply_patch_with_msg() { - for _patch in "$@" - do - msg2 "Applying $_patch" - patch -Np1 -i "${srcdir}/$_patch" - done -} - -prepare() { - cd "${srcdir}/gtk-${pkgver}" - - # https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4608 - # https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4627 - apply_patch_with_msg 1.patch -} +source=("https://download.gnome.org/sources/gtk/${pkgver:0:3}/gtk-${pkgver}.tar.xz") +sha256sums=('a57acd0e4482981700fdf86596c7413cb61ef47f75e4747fda809e8231b8d96c') build() { rm -rf "${srcdir}/build-${MINGW_CHOST}" diff --git a/mingw-w64-gtksourceview4/PKGBUILD b/mingw-w64-gtksourceview4/PKGBUILD index 93aa358605..994b1e8dce 100644 --- a/mingw-w64-gtksourceview4/PKGBUILD +++ b/mingw-w64-gtksourceview4/PKGBUILD @@ -3,7 +3,7 @@ _realname=gtksourceview pkgbase=mingw-w64-${_realname}4 pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}4" -pkgver=4.8.2 +pkgver=4.8.3 pkgrel=1 pkgdesc="A text widget adding syntax highlighting and more to GNOME (mingw-w64)" arch=('any') @@ -11,6 +11,7 @@ mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') url="https://wiki.gnome.org/Projects/GtkSourceView" license=("LGPL") makedepends=("${MINGW_PACKAGE_PREFIX}-pkg-config" + "${MINGW_PACKAGE_PREFIX}-glade" "${MINGW_PACKAGE_PREFIX}-gobject-introspection" "${MINGW_PACKAGE_PREFIX}-vala" "${MINGW_PACKAGE_PREFIX}-gtk-doc" @@ -19,7 +20,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-pkg-config" depends=("${MINGW_PACKAGE_PREFIX}-gtk3" "${MINGW_PACKAGE_PREFIX}-libxml2") source=("https://download.gnome.org/sources/gtksourceview/${pkgver%.*}/gtksourceview-${pkgver}.tar.xz") -sha256sums=('842de7e5cb52000fd810e4be39cd9fe29ffa87477f15da85c18f7b82d45637cc') +sha256sums=('c30019506320ca2474d834cced1e2217ea533e00eb2a3f4eb7879007940ec682') prepare() { cd "${srcdir}/${_realname}-${pkgver}" @@ -27,8 +28,8 @@ prepare() { } build() { - [[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}" - mkdir -p "${srcdir}/build-${MINGW_CHOST}" && cd "${srcdir}/build-${MINGW_CHOST}" + [[ -d "${srcdir}/build-${MSYSTEM}" ]] && rm -rf "${srcdir}/build-${MSYSTEM}" + mkdir -p "${srcdir}/build-${MSYSTEM}" && cd "${srcdir}/build-${MSYSTEM}" MSYS2_ARG_CONV_EXCL="--prefix=" \ ${MINGW_PREFIX}/bin/meson.exe \ @@ -37,6 +38,7 @@ build() { --default-library=both \ --auto-features=enabled \ --buildtype=plain \ + -Dglade_catalog=true \ -Dgtk_doc=true \ "../${_realname}-${pkgver}" @@ -44,13 +46,13 @@ build() { } check() { - cd "${srcdir}/build-${MINGW_CHOST}" + cd "${srcdir}/build-${MSYSTEM}" ${MINGW_PREFIX}/bin/meson.exe test || true } package() { - cd "${srcdir}/build-${MINGW_CHOST}" - DESTDIR="${pkgdir}" ${MINGW_PREFIX}/bin/meson.exe install + cd "${srcdir}/build-${MSYSTEM}" + ${MINGW_PREFIX}/bin/meson.exe install --destdir="${pkgdir}" install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}4/COPYING" } diff --git a/mingw-w64-hugo/PKGBUILD b/mingw-w64-hugo/PKGBUILD index 23f22a5de1..ea45517f08 100644 --- a/mingw-w64-hugo/PKGBUILD +++ b/mingw-w64-hugo/PKGBUILD @@ -3,7 +3,7 @@ _realname=hugo pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") -pkgver=0.96.0 +pkgver=0.97.3 pkgrel=1 pkgdesc='A Fast and Flexible Static Site Generator built with love by bep, spf13 and friends in Go. (mingw-w64)' arch=('any') @@ -14,7 +14,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-go" "${MINGW_PACKAGE_PREFIX}-cc" "git") optdepends=("git: To interact with repositories") options=('!strip') source=("$_realname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") -sha256sums=('5dbb132438b4ae3dd8303b34c8b7480674ee77236ac3d36d0edc82a06a0c3219') +sha256sums=('64e37b418de16214c2c5df6d250980101bd5f5aac8721aa2ecd707980c5c6785') build() { cd "${_realname}-$pkgver" diff --git a/mingw-w64-libnotify/PKGBUILD b/mingw-w64-libnotify/PKGBUILD index 2277dc8db5..2793c9dee0 100644 --- a/mingw-w64-libnotify/PKGBUILD +++ b/mingw-w64-libnotify/PKGBUILD @@ -4,7 +4,7 @@ _realname=libnotify pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") -pkgver=0.7.9 +pkgver=0.7.11 pkgrel=1 pkgdesc="Desktop notification library (mingw-w64)" arch=('any') @@ -25,27 +25,28 @@ source=("https://download.gnome.org/sources/${_realname}/${pkgver%.*}/${_realnam "test-fix.patch" "fix-gtk-doc.patch" "fix-realpath.patch") -sha256sums=('66c0517ed16df7af258e83208faaf5069727dfd66995c4bbc51c16954d674761' +sha256sums=('dd5682ec68220339e11c5159b7e012204a318dd1b3683a09c482ca421ab07375' '185e7885512106172627525a4ec1fc18c2f95844f733e49cece325874a55f8e6' '690f8bd32e6aa4828bc93d2d9a8cba4870c96fa7af248a64f8ab505d8389af4d' - '4303fc94907937b38da92b1e1f497b86e64ffdffe5e87034ccc2c7a973e13f9a') + 'a8aedb1659b3e414b31d75bcc36279e4b688db1185c619ec5680a1fa5c6c89d9') prepare() { - cd $srcdir/${_realname}-${pkgver} + cd "${srcdir}/${_realname}-${pkgver}" - patch -p1 -i ${srcdir}/test-fix.patch - patch -p1 -i ${srcdir}/fix-gtk-doc.patch - patch -p1 -i ${srcdir}/fix-realpath.patch + patch -p1 -i "${srcdir}/test-fix.patch" + patch -p1 -i "${srcdir}/fix-gtk-doc.patch" + patch -p1 -i "${srcdir}/fix-realpath.patch" } build() { - cd "${srcdir}"/${_realname}-${pkgver} [[ -d "${srcdir}"/build-${MSYSTEM} ]] && rm -rf "${srcdir}"/build-${MSYSTEM} mkdir -p "${srcdir}"/build-${MSYSTEM} && cd "${srcdir}"/build-${MSYSTEM} MSYS2_ARG_CONV_EXCL="--prefix=" \ - ${MINGW_PREFIX}/bin/meson \ + ${MINGW_PREFIX}/bin/meson.exe \ --prefix="${MINGW_PREFIX}" \ + --wrap-mode=nodownload \ + --default-library=both \ --buildtype=plain \ -Dtests=false \ -Dintrospection=enabled \ @@ -54,13 +55,13 @@ build() { -Ddocbook_docs=disabled \ "../${_realname}-${pkgver}" - meson compile + ${MINGW_PREFIX}/bin/meson.exe compile } package() { cd "${srcdir}/build-${MSYSTEM}" - DESTDIR="${pkgdir}" meson install + ${MINGW_PREFIX}/bin/meson.exe install --destdir="${pkgdir}" install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING" } diff --git a/mingw-w64-libnotify/fix-realpath.patch b/mingw-w64-libnotify/fix-realpath.patch index 808e58d911..b367b04556 100644 --- a/mingw-w64-libnotify/fix-realpath.patch +++ b/mingw-w64-libnotify/fix-realpath.patch @@ -1,6 +1,5 @@ -diff -Naur libnotify-0.7.9.orig/libnotify/notification.c libnotify-0.7.9/libnotify/notification.c ---- libnotify-0.7.9.orig/libnotify/notification.c 2020-02-26 20:07:28.392563800 +0100 -+++ libnotify-0.7.9/libnotify/notification.c 2022-04-13 11:15:41.995249600 +0200 +--- a/libnotify/notification.c ++++ b/libnotify/notification.c @@ -28,6 +28,7 @@ #include "notify.h" #include "internal.h" @@ -9,12 +8,12 @@ diff -Naur libnotify-0.7.9.orig/libnotify/notification.c libnotify-0.7.9/libnoti /** * SECTION:notification -@@ -442,7 +443,7 @@ +@@ -554,7 +555,7 @@ if (base_path && base_path[0] == G_DIR_SEPARATOR) { path_filename = g_strdup (base_path); } else { - path_filename = realpath (base_path, NULL); + path_filename = _fullpath (base_path, NULL, _MAX_PATH); - } - } + if (path_filename == NULL) { + /* File path is not existing, but let's check diff --git a/mingw-w64-starship/PKGBUILD b/mingw-w64-starship/PKGBUILD index 09f121cfb9..ab8b428b31 100644 --- a/mingw-w64-starship/PKGBUILD +++ b/mingw-w64-starship/PKGBUILD @@ -3,7 +3,7 @@ _realname=starship pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=1.5.4 +pkgver=1.6.3 pkgrel=1 pkgdesc="The cross-shell prompt for astronauts (mingw-w64)" arch=('any') @@ -14,7 +14,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-libgit2") makedepends=("${MINGW_PACKAGE_PREFIX}-rust") options=('staticlibs' 'strip') source=("${_realname}-${pkgver}.tar.gz::https://github.com/starship/starship/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('158003cd192f9375e504b9ab84d9239a06a8f9732cdd201243ab2fdcd38043f8') +sha256sums=('a6219189eb1e9182eb092213ce4cdd5fba84ae148cb9c4188610a907231a77c7') noextract=("${_realname}-${pkgver}.tar.gz") prepare() {