Github messages for voidlinux
 help / color / mirror / Atom feed
From: oreo639 <oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] gnome-builder: update to 45.0.
Date: Tue, 05 Mar 2024 04:01:00 +0100	[thread overview]
Message-ID: <20240305030100.D0E1724BB9@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49096@inbox.vuxu.org>

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

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

https://github.com/oreo639/void-packages gnome-builder
https://github.com/void-linux/void-packages/pull/49096

gnome-builder: update to 45.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### 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/49096.patch is attached

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

From ef8b78100dc2f4655c7c2b14a71d8371458575c7 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 6 Feb 2024 08:17:04 -0800
Subject: [PATCH 1/6] libdex: update to 0.4.3.

---
 srcpkgs/libdex/template | 4 ++--
 srcpkgs/libdex/update   | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/libdex/update

diff --git a/srcpkgs/libdex/template b/srcpkgs/libdex/template
index 5340766d9276ee..b57d4db9793458 100644
--- a/srcpkgs/libdex/template
+++ b/srcpkgs/libdex/template
@@ -1,6 +1,6 @@
 # Template file for 'libdex'
 pkgname=libdex
-version=0.2.0
+version=0.4.3
 revision=1
 build_style=meson
 build_helper=gir
@@ -18,7 +18,7 @@ license="LGPL-2.1-or-later"
 homepage="https://gitlab.gnome.org/GNOME/libdex"
 changelog="https://gitlab.gnome.org/GNOME/libdex/-/raw/main/NEWS"
 distfiles="${GNOME_SITE}/libdex/${version%.*}/libdex-${version}.tar.xz"
-checksum=a0f7566260971a1e4aeb53a07d95c806091257b8789d6fad9931dba872c5070d
+checksum=adead71f660e1e44f182c037a48ae528540c028445c1b6715d1ea3a5cac64580
 
 # Package build options
 build_options="gir vala gtk_doc"
diff --git a/srcpkgs/libdex/update b/srcpkgs/libdex/update
new file mode 100644
index 00000000000000..01a3b44828ddd2
--- /dev/null
+++ b/srcpkgs/libdex/update
@@ -0,0 +1,2 @@
+# ignore unstable beta/rc releases
+ignore="?.[3579].*"

From 887c9ce48aedd7c35460f0ca6e059e6178ae44cc Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 6 Feb 2024 08:18:49 -0800
Subject: [PATCH 2/6] libpanel: update to 1.4.1.

---
 srcpkgs/libpanel/template | 4 ++--
 srcpkgs/libpanel/update   | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/libpanel/update

diff --git a/srcpkgs/libpanel/template b/srcpkgs/libpanel/template
index eed1b9c4605ced..25b611cd969fd3 100644
--- a/srcpkgs/libpanel/template
+++ b/srcpkgs/libpanel/template
@@ -1,6 +1,6 @@
 # Template file for 'libpanel'
 pkgname=libpanel
-version=1.2.0
+version=1.4.1
 revision=1
 build_style=meson
 build_helper="gir"
@@ -12,7 +12,7 @@ license="LGPL-3.0-or-later"
 homepage="https://gitlab.gnome.org/GNOME/libpanel"
 changelog="https://gitlab.gnome.org/GNOME/libpanel/-/raw/main/NEWS"
 distfiles="${GNOME_SITE}/libpanel/${version%.*}/libpanel-${version}.tar.xz"
-checksum=d9055bbbab9625f3f5ce6d1fd7132eb6ea34a6ba07a87e9938901fb8b31581e2
+checksum=98410d00e734857ecdf33b9a20dd7b0fb38d8b6d31d4369bafc1c67392abb9de
 
 pre_build() {
 	# help gi-docgen find gi files on cross
diff --git a/srcpkgs/libpanel/update b/srcpkgs/libpanel/update
new file mode 100644
index 00000000000000..01a3b44828ddd2
--- /dev/null
+++ b/srcpkgs/libpanel/update
@@ -0,0 +1,2 @@
+# ignore unstable beta/rc releases
+ignore="?.[3579].*"

From 56a9fca8d95b8b8a3616e0d7aca0a785ef76fc6b Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 6 Feb 2024 08:22:12 -0800
Subject: [PATCH 3/6] sysprof: update to 45.1.

---
 common/shlibs                                      |  3 +--
 srcpkgs/sysprof/patches/musl-missing-include.patch | 13 +++++++++++++
 srcpkgs/sysprof/template                           | 14 +++++++-------
 3 files changed, 21 insertions(+), 9 deletions(-)
 create mode 100644 srcpkgs/sysprof/patches/musl-missing-include.patch

diff --git a/common/shlibs b/common/shlibs
index 27effd372a4cf6..66000ae05edf49 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3049,8 +3049,7 @@ libgutenprint.so.9 gutenprint-5.3.3_1
 libunbound.so.8 libunbound-1.13.1_2
 libmirage.so.11 libmirage-3.1.0_1
 libwkhtmltox.so.0 libwkhtmltopdf-0.12.5_1
-libsysprof-4.so sysprof-3.37.90_1
-libsysprof-ui-5.so sysprof-3.46.0_1
+libsysprof-6.so.6 sysprof-45.1_1
 libvala-0.56.so.0 libvala-0.56.0_1
 libvaladoc-0.56.so.0 libvaladoc-0.56.0_1
 libvalaccodegen.so libvala-0.44.0_1
diff --git a/srcpkgs/sysprof/patches/musl-missing-include.patch b/srcpkgs/sysprof/patches/musl-missing-include.patch
new file mode 100644
index 00000000000000..6160428eef8e1c
--- /dev/null
+++ b/srcpkgs/sysprof/patches/musl-missing-include.patch
@@ -0,0 +1,13 @@
+Fix build for gcc 14 and musl
+
+diff -rup src/libsysprof/sysprof-elf-loader.c.orig src/libsysprof/sysprof-elf-loader.c
+--- a/src/libsysprof/sysprof-elf-loader.c
++++ b/src/libsysprof/sysprof-elf-loader.c
+@@ -22,6 +22,7 @@
+ 
+ #include <fcntl.h>
+ #include <sys/stat.h>
++#include <unistd.h>
+ 
+ #include "sysprof-elf-private.h"
+ #include "sysprof-elf-loader-private.h"
diff --git a/srcpkgs/sysprof/template b/srcpkgs/sysprof/template
index 0a40abfb42b741..f0dc0bf1ee220b 100644
--- a/srcpkgs/sysprof/template
+++ b/srcpkgs/sysprof/template
@@ -1,20 +1,20 @@
 # Template file for 'sysprof'
 pkgname=sysprof
-version=3.46.0
-revision=2
+version=45.1
+revision=1
 build_style=meson
-configure_args="-Dgtk=true -Dsystemdunitdir=/usr/lib/systemd"
+configure_args="-Dgtk=true -Dsystemdunitdir=/usr/lib/systemd -Db_lto=false"
 hostmakedepends="gettext pkg-config itstool glib-devel desktop-file-utils
- gtk-update-icon-cache"
-makedepends="gtk4-devel libdazzle-devel polkit-devel glib-devel elogind-devel
- json-glib-devel libunwind-devel libadwaita-devel"
+ gtk4-update-icon-cache"
+makedepends="gtk4-devel libadwaita-devel libdex-devel
+ json-glib-devel libpanel-devel polkit-devel libunwind-devel"
 short_desc="System-wide profiler for Linux"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="https://gitlab.gnome.org/GNOME/sysprof"
 changelog="https://gitlab.gnome.org/GNOME/sysprof/-/raw/master/NEWS"
 distfiles="${GNOME_SITE}/sysprof/${version%.*}/sysprof-${version}.tar.xz"
-checksum=3e430d578150a8dd0b075b17d2fcc1ba704d42880262f0cc651f33e493be4071
+checksum=323bb9d585613d60c439460331450011f2b90b3d5272625bd858da4c19df2cf9
 
 # for ITS rules
 if [ "$CROSS_BUILD" ]; then

From 6ce6fe8d680d2897437c8a33fe5f46a1df9b548b Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 6 Feb 2024 08:57:31 -0800
Subject: [PATCH 4/6] New package: libpeas2-2.0.1

---
 common/shlibs             |  1 +
 srcpkgs/libpeas2-devel    |  1 +
 srcpkgs/libpeas2/template | 39 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/libpeas2/update   |  1 +
 4 files changed, 42 insertions(+)
 create mode 120000 srcpkgs/libpeas2-devel
 create mode 100644 srcpkgs/libpeas2/template
 create mode 100644 srcpkgs/libpeas2/update

diff --git a/common/shlibs b/common/shlibs
index 66000ae05edf49..2c69f9b246666d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -808,6 +808,7 @@ libXss.so.1 libXScrnSaver-1.1.3_1
 libyelp.so.0 yelp-3.36.0_1
 libpeas-1.0.so.0 libpeas-1.0.0_2
 libpeas-gtk-1.0.so.0 libpeas-1.0.0_2
+libpeas-2.so.0 libpeas2-2.0.1_1
 libtotem.so.0 libtotem-3.6.2_1
 libclutter-1.0.so.0 clutter-1.14.0_1
 libavfs.so.0 libavfs-1.0.5_1
diff --git a/srcpkgs/libpeas2-devel b/srcpkgs/libpeas2-devel
new file mode 120000
index 00000000000000..537db7e8dbf344
--- /dev/null
+++ b/srcpkgs/libpeas2-devel
@@ -0,0 +1 @@
+libpeas2
\ No newline at end of file
diff --git a/srcpkgs/libpeas2/template b/srcpkgs/libpeas2/template
new file mode 100644
index 00000000000000..84d8b99454c0cd
--- /dev/null
+++ b/srcpkgs/libpeas2/template
@@ -0,0 +1,39 @@
+# Template file for 'libpeas2'
+pkgname=libpeas2
+version=2.0.1
+revision=1
+build_style=meson
+build_helper="gir"
+configure_args="-Dgtk_doc=true -Dvapi=true"
+hostmakedepends="pkg-config gettext glib-devel python3 lua51 lua51-lgi
+ gi-docgen vala"
+makedepends="vala-devel python3-gobject-devel lua51-devel gjs-devel"
+depends="python3-gobject hicolor-icon-theme"
+checkdepends="xvfb-run"
+short_desc="Gobject-based plugins engine"
+maintainer="Enno Boland <gottox@voidlinux.org>"
+license="LGPL-2.1-or-later"
+homepage="https://wiki.gnome.org/Projects/Libpeas"
+changelog="https://gitlab.gnome.org/GNOME/libpeas/-/raw/master/NEWS"
+distfiles="${GNOME_SITE}/libpeas/${version%.*}/libpeas-${version}.tar.xz"
+checksum=9ddc1d51f38663da4df52163051b7b2cea3a242cfaee9f5a7e140f0784c8aa77
+make_check_pre="xvfb-run"
+
+post_patch() {
+	# libpeas2 checks for lua51.pc or lua-5.1.pc but Void uses lua5.1.pc
+	vsed -e "s/dependency('lua51'/dependency('lua5.1'/" -i meson.build
+}
+
+libpeas2-devel_package() {
+	depends="libglib-devel libgirepository-devel
+	 ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove usr/share/gir-1.0
+		vmove usr/share/vala
+		vmove usr/share/doc
+	}
+}
diff --git a/srcpkgs/libpeas2/update b/srcpkgs/libpeas2/update
new file mode 100644
index 00000000000000..b6c2df50417c2e
--- /dev/null
+++ b/srcpkgs/libpeas2/update
@@ -0,0 +1 @@
+pkgname=libpeas

From 4ef2f42481112466c322bd9d36e82079e099403b Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 6 Feb 2024 09:53:38 -0800
Subject: [PATCH 5/6] gnome-builder: update to 45.0.

---
 .../patches/fix-gtk4-4.12.5.patch             | 28 +++++++++++++++++++
 srcpkgs/gnome-builder/template                |  8 +++---
 2 files changed, 32 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/gnome-builder/patches/fix-gtk4-4.12.5.patch

diff --git a/srcpkgs/gnome-builder/patches/fix-gtk4-4.12.5.patch b/srcpkgs/gnome-builder/patches/fix-gtk4-4.12.5.patch
new file mode 100644
index 00000000000000..40d7114ffc428e
--- /dev/null
+++ b/srcpkgs/gnome-builder/patches/fix-gtk4-4.12.5.patch
@@ -0,0 +1,28 @@
+See: https://gitlab.gnome.org/GNOME/gnome-builder/-/issues/2160
+
+From 7aaaecefc2ea8a37eaeae8b4d726d119d4eb8fa3 Mon Sep 17 00:00:00 2001
+From: Christian Hergert <chergert@redhat.com>
+Date: Mon, 15 Jan 2024 11:54:38 -0800
+Subject: [PATCH] libide/tweaks: remove autoptr cleanup
+
+This is not needed now with recent GTK changes merged this morning.
+---
+ src/libide/tweaks/ide-tweaks-window.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/libide/tweaks/ide-tweaks-window.c b/src/libide/tweaks/ide-tweaks-window.c
+index f2553a396e..dcb55bb351 100644
+--- a/src/libide/tweaks/ide-tweaks-window.c
++++ b/src/libide/tweaks/ide-tweaks-window.c
+@@ -32,8 +32,6 @@
+ #include "ide-tweaks-panel-list-private.h"
+ #include "ide-tweaks-window.h"
+ 
+-G_DEFINE_AUTOPTR_CLEANUP_FUNC (GtkStackPage, g_object_unref)
+-
+ struct _IdeTweaksWindow
+ {
+   AdwWindow               parent_instance;
+-- 
+GitLab
+
diff --git a/srcpkgs/gnome-builder/template b/srcpkgs/gnome-builder/template
index d96f503b458cb0..bb54ba632f495c 100644
--- a/srcpkgs/gnome-builder/template
+++ b/srcpkgs/gnome-builder/template
@@ -1,7 +1,7 @@
 # Template file for 'gnome-builder'
 pkgname=gnome-builder
-version=44.1
-revision=6
+version=45.0
+revision=1
 build_style=meson
 build_helper=qemu
 configure_args="-Dhelp=true -Dnetwork_tests=false"
@@ -9,7 +9,7 @@ hostmakedepends="pkg-config appstream-glib desktop-file-utils flex gobject-intro
  mm-common vala python3-Sphinx python3-sphinx_rtd_theme gettext llvm17"
 makedepends="llvm17-devel cairo-devel clang enchant2-devel flatpak-devel
  gtksourceview5-devel gtk4-devel json-glib-devel jsonrpc-glib-devel
- libgit2-glib-devel libglib-devel libostree-devel libpeas-devel
+ libgit2-glib-devel libglib-devel libostree-devel libpeas2-devel
  libxml2-devel template-glib-devel vala-devel vte3-gtk4-devel libwebkitgtk60-devel
  libadwaita-devel pcre2-devel libgit2-devel gobject-introspection
  python3-gobject-devel sysprof-devel libportal-gtk4-devel
@@ -23,5 +23,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Builder"
 changelog="https://gitlab.gnome.org/GNOME/gnome-builder/-/raw/gnome-builder-44/NEWS"
 distfiles="${GNOME_SITE}/gnome-builder/${version%.*}/gnome-builder-${version}.tar.xz"
-checksum=f939a7f95b4b6e1d04bd8db4be9ca0b67b2aa765b86c63f4df23fdb3a7edcf3e
+checksum=242da02593293d456ea24108a45934730a1e316d8dc5b18d9df0e864db7ba596
 make_check_pre="xvfb-run"

From ee1808265800f04c6ee1a92d03c6c43e62daf2ca Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Mon, 4 Mar 2024 18:36:56 -0800
Subject: [PATCH 6/6] libpeas: ignore 2.x and 1.99.x series for update-check

---
 srcpkgs/libpeas/update | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 srcpkgs/libpeas/update

diff --git a/srcpkgs/libpeas/update b/srcpkgs/libpeas/update
new file mode 100644
index 00000000000000..970bfb33ce53be
--- /dev/null
+++ b/srcpkgs/libpeas/update
@@ -0,0 +1,2 @@
+# ignore libpeas2 and 1.99 unstable series
+ignore="?.99.* 2.*"

  parent reply	other threads:[~2024-03-05  3:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-05  0:18 [PR PATCH] " oreo639
2024-03-05  2:24 ` [PR PATCH] [Updated] " oreo639
2024-03-05  2:26 ` oreo639
2024-03-05  2:38 ` oreo639
2024-03-05  3:01 ` oreo639 [this message]
2024-03-05  3:21 ` oreo639
2024-03-05  8:05 ` oreo639
2024-03-05  8:32 ` oreo639
2024-03-05  8:34 ` oreo639
2024-03-05 14:03 ` oreo639
2024-03-05 20:55 ` [PR PATCH] [Merged]: " oreo639

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=20240305030100.D0E1724BB9@inbox.vuxu.org \
    --to=oreo639@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).