Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] gtkmm4: update to 4.12.0.
Date: Tue, 10 Oct 2023 18:13:08 +0200	[thread overview]
Message-ID: <20231010161308.kOiWnsA9D38_IzKVlTLJQc2KbQLL-TmMBukQrJVD4_s@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46529@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]

There is an updated pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages gtkmm4
https://github.com/void-linux/void-packages/pull/46529

gtkmm4: update to 4.12.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

depends on #45570

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46529.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gtkmm4-46529.patch --]
[-- Type: text/x-diff, Size: 2127 bytes --]

From c56b1a62fa541bc1e60cb13f0d355a9c050c2af2 Mon Sep 17 00:00:00 2001
From: Emi Vasilek <emi.vasilek@gmail.com>
Date: Sun, 8 Oct 2023 16:59:51 +0200
Subject: [PATCH] gtkmm4: update to 4.12.0.

---
 srcpkgs/gtkmm4/patches/setlocale-sigsegv.patch | 17 +++++++++++++++++
 srcpkgs/gtkmm4/template                        |  4 ++--
 2 files changed, 19 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/gtkmm4/patches/setlocale-sigsegv.patch

diff --git a/srcpkgs/gtkmm4/patches/setlocale-sigsegv.patch b/srcpkgs/gtkmm4/patches/setlocale-sigsegv.patch
new file mode 100644
index 0000000000000..3e59ee62b8256
--- /dev/null
+++ b/srcpkgs/gtkmm4/patches/setlocale-sigsegv.patch
@@ -0,0 +1,17 @@
+passing std::setlocale output to std::locale segfaults,
+get the locale with std::locale("") instead.
+--
+diff --git a/untracked/gtk/gtkmm/application.cc b/untracked/gtk/gtkmm/application.cc
+index 0f8d7a0..22c1c8b 100644
+--- a/untracked/gtk/gtkmm/application.cc
++++ b/untracked/gtk/gtkmm/application.cc
+@@ -74,7 +74,8 @@ static void set_cxx_locale_to_c_locale()
+   try
+   {
+     // Make the C++ locale equal to the C locale.
+-    std::locale::global(std::locale(std::setlocale(LC_ALL, nullptr)));
++    // std::locale::global(std::locale(std::setlocale(LC_ALL, nullptr)));
++    std::locale::global(std::locale(""));
+   }
+   catch (const std::runtime_error& ex)
+   {
diff --git a/srcpkgs/gtkmm4/template b/srcpkgs/gtkmm4/template
index 093e1c2406300..ac62a68cd6ff8 100644
--- a/srcpkgs/gtkmm4/template
+++ b/srcpkgs/gtkmm4/template
@@ -1,6 +1,6 @@
 # Template file for 'gtkmm4'
 pkgname=gtkmm4
-version=4.4.0
+version=4.12.0
 revision=1
 build_style=meson
 hostmakedepends="pkg-config mm-common glib-devel"
@@ -12,7 +12,7 @@ license="LGPL-2.1-or-later"
 homepage="https://gtkmm.org"
 changelog="https://gitlab.gnome.org/GNOME/gtkmm/-/raw/master/NEWS"
 distfiles="${GNOME_SITE}/gtkmm/${version%.*}/gtkmm-${version}.tar.xz"
-checksum=2eb464326096e6a40c82e9cd074164d8103fb5e07865679c0a649e4174700dda
+checksum=fbc3e7618123345c0148ef71abb6548d421f52bb224fbda34875b677dc032c92
 
 do_check() {
 	xvfb-run ninja -C build test

  parent reply	other threads:[~2023-10-10 16:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-09 12:30 [PR PATCH] " paper42
2023-10-10 11:20 ` [PR PATCH] [Updated] " paper42
2023-10-10 16:13 ` paper42 [this message]
2023-10-10 16:30 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231010161308.kOiWnsA9D38_IzKVlTLJQc2KbQLL-TmMBukQrJVD4_s@z \
    --to=paper42@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).