Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] gtk+3 and gtk4 have a conflicting file which causes FileChooser crash in almost every program.
@ 2020-09-18 10:50 PaperMountainStudio
  2020-09-18 13:56 ` gtk+3 and gtk4 have a conflicting file which causes FileChooser crash in " sgn
  2020-09-19  5:10 ` [ISSUE] [CLOSED] " sgn
  0 siblings, 2 replies; 3+ messages in thread
From: PaperMountainStudio @ 2020-09-18 10:50 UTC (permalink / raw)
  To: ml

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

New issue by PaperMountainStudio on void-packages repository

https://github.com/void-linux/void-packages/issues/24964

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
 `Void 5.8.9_1 x86_64 GenuineIntel uptodate hold rrrmDDDDDDDDDFFFFFFFFFFFFFFFFFFFF`
* package:  
  ``gtk+3-3.24.22_1`` and ``gtk4-3.94.0_2``

### Expected behavior
When programs use GTK's FileChooser, Filechooser actually appears and the program does not crash.

### Actual behavior
When gtk4 was installed after gtk3, FileChooser doesn't appear and the program crashes.

### Steps to reproduce the behavior
First, install gtk3
```
%: sudo xbps-install -S gtk+3
```
Then gtk4:
```
%: sudo xbps-install -S gtk4
```
Make a program use filechooser. The fastest way is probably glade which uses filechooser immediately on start.
```
%: glade
(glade:17084): GLib-GIO-ERROR **: 12:38:58.746: Settings schema 'org.gtk.Settings.FileChooser' is not installed
```

The conflicting file is `/usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml`

This can be solved by reinstalling gtk+3.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gtk+3 and gtk4 have a conflicting file which causes FileChooser crash in every program.
  2020-09-18 10:50 [ISSUE] gtk+3 and gtk4 have a conflicting file which causes FileChooser crash in almost every program PaperMountainStudio
@ 2020-09-18 13:56 ` sgn
  2020-09-19  5:10 ` [ISSUE] [CLOSED] " sgn
  1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2020-09-18 13:56 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/24964#issuecomment-694883519

Comment:
Updated gtk4 will fix the conflicts, I'm waiting for GNOME 3.38 merged to merge this in:
```diff
commit 4ee6506513 (HEAD -> master)
Author: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Date:   Fri Sep 18 20:55:16 2020 +0700

    gtk4: update to 3.99.1.
---
 .../gtk4/patches/vulkan-VK_RESULT_RANGE_SIZE.patch | 12 ----------
 srcpkgs/gtk4/template                              | 27 +++++++++++-----------
 2 files changed, 14 insertions(+), 25 deletions(-)

diff --git a/srcpkgs/gtk4/patches/vulkan-VK_RESULT_RANGE_SIZE.patch b/srcpkgs/gtk4/patches/vulkan-VK_RESULT_RANGE_SIZE.patch
deleted file mode 100644
index 7275e958bb..0000000000
--- a/srcpkgs/gtk4/patches/vulkan-VK_RESULT_RANGE_SIZE.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- gdk/gdkvulkancontext.c	2018-06-26 13:48:16.000000000 +0200
-+++ gdk/gdkvulkancontext.c	2020-07-26 16:28:33.487718532 +0200
-@@ -190,7 +190,9 @@
-     case VK_ERROR_FRAGMENTATION_EXT:
-       return "A descriptor pool creation has failed due to fragmentation";
- #endif
-+#if defined(VK_RESULT_RANGE_SIZE)
-     case VK_RESULT_RANGE_SIZE:
-+#endif
-     case VK_RESULT_MAX_ENUM:
-     default:
-       return "Unknown Vulkan error.";
diff --git a/srcpkgs/gtk4/template b/srcpkgs/gtk4/template
index 58388b515c..690a80e2f6 100644
--- a/srcpkgs/gtk4/template
+++ b/srcpkgs/gtk4/template
@@ -1,8 +1,8 @@
 # Template file for 'gtk4'
 pkgname=gtk4
-version=3.94.0
-revision=2
-wrksrc="gtk+-${version}"
+version=3.99.1
+revision=1
+wrksrc="gtk-${version}"
 build_style=meson
 build_helper="gir"
 configure_args="-Dman-pages=true -Dbuild-tests=false -Dmedia=all
@@ -11,11 +11,12 @@ configure_args="-Dman-pages=true -Dbuild-tests=false -Dmedia=all
  -Dwayland-backend=$(vopt_if wayland true false)
  -Dintrospection=$(vopt_if gir true false)
  -Dprint-backends=$(vopt_if cups 'cups,file' file)
- -Dcolord=$(vopt_if colord yes no)
- -Dcloudproviders=$(vopt_if cloudproviders true false)
- -Dvulkan=$(vopt_if vulkan yes no)"
+ -Dcolord=$(vopt_if colord enabled disabled)
+ -Dcloudproviders=$(vopt_if cloudproviders enabled disabled)
+ -Dvulkan=$(vopt_if vulkan enabled disabled)"
 hostmakedepends="gettext-devel glib-devel gtk-doc gtk-update-icon-cache perl
- pkg-config $(vopt_if wayland 'wayland-devel wayland-protocols')"
+ pkg-config sassc gettext
+ $(vopt_if wayland 'wayland-devel wayland-protocols')"
 makedepends="at-spi2-atk-devel gdk-pixbuf-devel libepoxy-devel pango-devel
  iso-codes graphene-devel gst-plugins-bad1-devel ffmpeg-devel
  $(vopt_if colord 'colord-devel') $(vopt_if cups 'cups-devel')
@@ -27,8 +28,8 @@ short_desc="GIMP ToolKit (v4)"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="LGPL-2.1-or-later"
 homepage="https://www.gtk.org/"
-distfiles="${GNOME_SITE}/gtk+/${version%.*}/gtk+-${version}.tar.xz"
-checksum=a947caa5296610b0f1d7a03b58df34765c227c577c78e683e75eea3251a67035
+distfiles="${GNOME_SITE}/gtk/${version%.*}/gtk-${version}.tar.xz"
+checksum=9b444e1ce3728680290917e143930195599c65c84c4debbfacfc1044aeff3c94
 
 # Package build options
 build_options="broadway colord cups gir cloudproviders wayland x11"
@@ -56,10 +57,10 @@ gtk4-demo_package() {
 		vmove usr/bin/gtk4-demo
 		vmove usr/bin/gtk4-widget-factory
 		vmove usr/bin/gtk4-demo-application
-		vmove usr/share/gtk-4.0/gtkbuilder.rng
-		vmove usr/share/glib-2.0/schemas/org.gtk.Demo.gschema.xml
-		vmove usr/share/applications/gtk4-widget-factory.desktop
-		vmove usr/share/applications/gtk4-demo.desktop
+		vmove usr/share/gtk-4.0/gtk4builder.rng
+		vmove usr/share/glib-2.0/schemas/org.gtk.Demo4.gschema.xml
+		vmove usr/share/applications/WidgetFactory4.desktop
+		vmove usr/share/applications/Demo4.desktop
 		vmove usr/share/icons
 	}
 }
```

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ISSUE] [CLOSED] gtk+3 and gtk4 have a conflicting file which causes FileChooser crash in every program.
  2020-09-18 10:50 [ISSUE] gtk+3 and gtk4 have a conflicting file which causes FileChooser crash in almost every program PaperMountainStudio
  2020-09-18 13:56 ` gtk+3 and gtk4 have a conflicting file which causes FileChooser crash in " sgn
@ 2020-09-19  5:10 ` sgn
  1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2020-09-19  5:10 UTC (permalink / raw)
  To: ml

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

Closed issue by PaperMountainStudio on void-packages repository

https://github.com/void-linux/void-packages/issues/24964

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
 `Void 5.8.9_1 x86_64 GenuineIntel uptodate hold rrrmDDDDDDDDDFFFFFFFFFFFFFFFFFFFF`
* package:  
  ``gtk+3-3.24.22_1`` and ``gtk4-3.94.0_2``

### Expected behavior
When programs use GTK's FileChooser, Filechooser actually appears and the program does not crash.

### Actual behavior
When gtk4 was installed after gtk3, FileChooser doesn't appear and the program crashes.

### Steps to reproduce the behavior
First, install gtk3
```
%: sudo xbps-install -S gtk+3
```
Then gtk4:
```
%: sudo xbps-install -S gtk4
```
Make a program use filechooser. The fastest way is probably glade which uses filechooser immediately on start.
```
%: glade
(glade:17084): GLib-GIO-ERROR **: 12:38:58.746: Settings schema 'org.gtk.Settings.FileChooser' is not installed
```

The conflicting file is `/usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml`

This can be solved by reinstalling gtk+3.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-19  5:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 10:50 [ISSUE] gtk+3 and gtk4 have a conflicting file which causes FileChooser crash in almost every program PaperMountainStudio
2020-09-18 13:56 ` gtk+3 and gtk4 have a conflicting file which causes FileChooser crash in " sgn
2020-09-19  5:10 ` [ISSUE] [CLOSED] " sgn

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).