* [PR PATCH] gtk4: update to 4.8.0.
@ 2022-09-10 14:29 paper42
2022-09-10 19:14 ` oreo639
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: paper42 @ 2022-09-10 14:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]
There is a new pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages gtk4-4.8
https://github.com/void-linux/void-packages/pull/39209
gtk4: update to 4.8.0.
* move more example applications to -demo
* move build tools to -devel
now the gtk4 package is 19MB when installed instead of 42MB
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO** (todo)
<!--
#### 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/39209.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gtk4-4.8-39209.patch --]
[-- Type: text/x-diff, Size: 4466 bytes --]
From bff88f97a1e062b22980af1fcdad67b21363d476 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sat, 10 Sep 2022 16:27:41 +0200
Subject: [PATCH] gtk4: update to 4.8.0.
* move more example applications to -demo
* move build tools to -devel
now the gtk4 package is 19MB when installed instead of 42MB
---
srcpkgs/gtk4/template | 51 +++++++++++++++++++++++++++++++------------
1 file changed, 37 insertions(+), 14 deletions(-)
diff --git a/srcpkgs/gtk4/template b/srcpkgs/gtk4/template
index 03aa34b7e52d..242ebffea6c4 100644
--- a/srcpkgs/gtk4/template
+++ b/srcpkgs/gtk4/template
@@ -1,6 +1,6 @@
# Template file for 'gtk4'
pkgname=gtk4
-version=4.6.7
+version=4.8.0
revision=1
wrksrc="gtk-${version}"
build_style=meson
@@ -30,9 +30,10 @@ short_desc="GIMP ToolKit (v4)"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="LGPL-2.1-or-later"
homepage="https://www.gtk.org/"
-changelog="https://gitlab.gnome.org/GNOME/gtk/-/raw/gtk-4-6/NEWS"
+#changelog="https://gitlab.gnome.org/GNOME/gtk/-/raw/gtk-4-8/NEWS"
+changelog="https://gitlab.gnome.org/GNOME/gtk/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/gtk/${version%.*}/gtk-${version}.tar.xz"
-checksum=effd2e7c4b5e2a5c7fad43e0f24adea68baa4092abb0b752caff278e6bb010e8
+checksum=c8d6203437d1e359d83124dc591546d403f67e3b00544e53dd50a9baacdcbd7f
# Package build options
build_options="broadway cloudproviders colord cups gir vulkan wayland x11 tracker"
@@ -59,6 +60,13 @@ gtk4-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
+ vmove usr/bin/gtk4-builder-tool
+ vmove usr/share/man/man1/gtk4-builder-tool.1
+ vmove usr/bin/gtk4-encode-symbolic-svg
+ vmove usr/share/man/man1/gtk4-encode-symbolic-svg.1
+ vmove usr/bin/gtk4-query-settings
+ vmove usr/share/man/man1/gtk4-query-settings.1
+ vmove usr/share/gtk-4.0/valgrind
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
@@ -71,29 +79,44 @@ gtk4-devel_package() {
gtk4-demo_package() {
short_desc+=" - demonstration application"
pkg_install() {
- vmove usr/bin/gtk4-demo
- vmove usr/bin/gtk4-widget-factory
- vmove usr/bin/gtk4-demo-application
- vmove usr/share/gtk-4.0/gtk4builder.rng
- vmove usr/share/glib-2.0/schemas/org.gtk.Demo4.gschema.xml
-
# gtk3-icon-browser is in main package,
# keep gtk4-icon-browser in main package too
- vmove usr/share/man/man1/gtk4-demo-application.1
+ vmove usr/bin/gtk4-demo
vmove usr/share/applications/org.gtk.Demo4.desktop
+ vmove usr/share/glib-2.0/schemas/org.gtk.Demo4.gschema.xml
vmove usr/share/icons/hicolor/scalable/apps/org.gtk.Demo4.svg
vmove usr/share/icons/hicolor/symbolic/apps/org.gtk.Demo4-symbolic.svg
vmove usr/share/man/man1/gtk4-demo.1
+ vmove usr/share/metainfo/org.gtk.Demo4.appdata.xml
+
+ vmove usr/share/gtk-4.0/gtk4builder.rng
+
+ vmove usr/bin/gtk4-demo-application
+ vmove usr/share/man/man1/gtk4-demo-application.1
+
+ vmove usr/bin/gtk4-widget-factory
+ vmove usr/share/man/man1/gtk4-widget-factory.1
+ vmove usr/share/applications/org.gtk.WidgetFactory4.desktop
+ vmove usr/share/icons/hicolor/scalable/apps/org.gtk.WidgetFactory4.svg
+ vmove usr/share/icons/hicolor/symbolic/apps/org.gtk.WidgetFactory4-symbolic.svg
+ vmove usr/share/metainfo/org.gtk.WidgetFactory4.appdata.xml
+ vmove usr/bin/gtk4-print-editor
vmove usr/share/applications/org.gtk.PrintEditor4.desktop
vmove usr/share/icons/hicolor/scalable/apps/org.gtk.PrintEditor4.svg
vmove usr/share/icons/hicolor/symbolic/apps/org.gtk.PrintEditor4-symbolic.svg
vmove usr/share/icons/hicolor/scalable/apps/org.gtk.PrintEditor4.Devel.svg
- vmove usr/share/applications/org.gtk.WidgetFactory4.desktop
- vmove usr/share/icons/hicolor/scalable/apps/org.gtk.WidgetFactory4.svg
- vmove usr/share/icons/hicolor/symbolic/apps/org.gtk.WidgetFactory4-symbolic.svg
- vmove usr/share/man/man1/gtk4-widget-factory.1
+ vmove usr/share/metainfo/org.gtk.PrintEditor4.appdata.xml
+
+ vmove usr/bin/gtk4-node-editor
+ vmove usr/share/applications/org.gtk.gtk4.NodeEditor.desktop
+ vmove usr/share/icons/hicolor/scalable/apps/org.gtk.gtk4.NodeEditor.Devel.svg
+ vmove usr/share/icons/hicolor/scalable/apps/org.gtk.gtk4.NodeEditor.svg
+ vmove usr/share/icons/hicolor/symbolic/apps/org.gtk.gtk4.NodeEditor-symbolic.svg
+ vmove usr/share/man/man1/gtk4-node-editor.1
+ vmove usr/share/metainfo/org.gtk.gtk4.NodeEditor.appdata.xml
+
}
}
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gtk4: update to 4.8.0.
2022-09-10 14:29 [PR PATCH] gtk4: update to 4.8.0 paper42
@ 2022-09-10 19:14 ` oreo639
2022-09-10 19:31 ` paper42
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: oreo639 @ 2022-09-10 19:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
New comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39209#issuecomment-1242790923
Comment:
> I tested the changes in this PR: NO (todo)
I'm running it and haven't noticed any issues.
I looked though the packages and I don't see any extra/misplaced demo/devel files atm, unless they aren't enabled.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gtk4: update to 4.8.0.
2022-09-10 14:29 [PR PATCH] gtk4: update to 4.8.0 paper42
2022-09-10 19:14 ` oreo639
@ 2022-09-10 19:31 ` paper42
2022-09-10 20:09 ` oreo639
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2022-09-10 19:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/39209#issuecomment-1242793239
Comment:
gtk4-demo-application is giving me one empty icon which seems wrong, but this is not a regression:
![image](https://user-images.githubusercontent.com/23639164/189499001-a5cdb904-b657-482f-b626-3b0a8c3b47f3.png)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gtk4: update to 4.8.0.
2022-09-10 14:29 [PR PATCH] gtk4: update to 4.8.0 paper42
2022-09-10 19:14 ` oreo639
2022-09-10 19:31 ` paper42
@ 2022-09-10 20:09 ` oreo639
2022-09-10 20:10 ` oreo639
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: oreo639 @ 2022-09-10 20:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 360 bytes --]
New comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39209#issuecomment-1242797940
Comment:
> gtk4-demo-application is giving me one empty icon which seems wrong
Weird. I can reproduce that, it should be loaded from the embedded gresource:
https://gitlab.gnome.org/GNOME/gtk/-/tree/main/demos/gtk-demo#L430
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gtk4: update to 4.8.0.
2022-09-10 14:29 [PR PATCH] gtk4: update to 4.8.0 paper42
` (2 preceding siblings ...)
2022-09-10 20:09 ` oreo639
@ 2022-09-10 20:10 ` oreo639
2022-09-10 21:06 ` oreo639
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: oreo639 @ 2022-09-10 20:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
New comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39209#issuecomment-1242797940
Comment:
> gtk4-demo-application is giving me one empty icon which seems wrong
Weird. I can reproduce that, it should be loaded from the embedded gresource:
https://gitlab.gnome.org/GNOME/gtk/-/blob/main/demos/gtk-demo/demo.gresource.xml#L430
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gtk4: update to 4.8.0.
2022-09-10 14:29 [PR PATCH] gtk4: update to 4.8.0 paper42
` (3 preceding siblings ...)
2022-09-10 20:10 ` oreo639
@ 2022-09-10 21:06 ` oreo639
2022-09-10 21:11 ` oreo639
2022-09-10 21:24 ` [PR PATCH] [Merged]: " paper42
6 siblings, 0 replies; 8+ messages in thread
From: oreo639 @ 2022-09-10 21:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 691 bytes --]
New comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39209#issuecomment-1242797940
Comment:
> gtk4-demo-application is giving me one empty icon which seems wrong
Weird. I can reproduce that, it should be loaded from the embedded gresource:
https://gitlab.gnome.org/GNOME/gtk/-/blob/main/demos/gtk-demo/demo.gresource.xml#L430
Edit: I found the issue:
https://gitlab.gnome.org/GNOME/gtk/-/blob/main/demos/gtk-demo/demo.gresource.xml#L413
https://gitlab.gnome.org/GNOME/gtk/-/blob/main/demos/gtk-demo/application.c#L543
(`/org/gtk/Demo4` vs `org.gtk.Demo4.App`. Replacing `org.gtk.Demo4.App` with `org.gtk.Demo4` causes it to work)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gtk4: update to 4.8.0.
2022-09-10 14:29 [PR PATCH] gtk4: update to 4.8.0 paper42
` (4 preceding siblings ...)
2022-09-10 21:06 ` oreo639
@ 2022-09-10 21:11 ` oreo639
2022-09-10 21:24 ` [PR PATCH] [Merged]: " paper42
6 siblings, 0 replies; 8+ messages in thread
From: oreo639 @ 2022-09-10 21:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 691 bytes --]
New comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39209#issuecomment-1242797940
Comment:
> gtk4-demo-application is giving me one empty icon which seems wrong
Weird. I can reproduce that, it should be loaded from the embedded gresource:
https://gitlab.gnome.org/GNOME/gtk/-/blob/main/demos/gtk-demo/demo.gresource.xml#L430
Edit: I found the issue:
https://gitlab.gnome.org/GNOME/gtk/-/blob/main/demos/gtk-demo/demo.gresource.xml#L413
https://gitlab.gnome.org/GNOME/gtk/-/blob/main/demos/gtk-demo/application.c#L543
(`/org/gtk/Demo4` vs `org.gtk.Demo4.App`. Replacing `org.gtk.Demo4.App` with `org.gtk.Demo4` causes it to work)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Merged]: gtk4: update to 4.8.0.
2022-09-10 14:29 [PR PATCH] gtk4: update to 4.8.0 paper42
` (5 preceding siblings ...)
2022-09-10 21:11 ` oreo639
@ 2022-09-10 21:24 ` paper42
6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2022-09-10 21:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]
There's a merged pull request on the void-packages repository
gtk4: update to 4.8.0.
https://github.com/void-linux/void-packages/pull/39209
Description:
* move more example applications to -demo
* move build tools to -devel
now the gtk4 package is 19MB when installed instead of 42MB
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### 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
-->
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-09-10 21:24 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-10 14:29 [PR PATCH] gtk4: update to 4.8.0 paper42
2022-09-10 19:14 ` oreo639
2022-09-10 19:31 ` paper42
2022-09-10 20:09 ` oreo639
2022-09-10 20:10 ` oreo639
2022-09-10 21:06 ` oreo639
2022-09-10 21:11 ` oreo639
2022-09-10 21:24 ` [PR PATCH] [Merged]: " paper42
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).