Summary: | media-gfx/gpicview-0.2.5: GTK3 & Wayland support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bruno <bonbons> |
Component: | Current packages | Assignee: | Piotr Karbowski (RETIRED) <slashbeast> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 1i5t5.duncan, charles17, ionen, lxde+disabled, mgorny |
Priority: | Normal | Keywords: | EBUILD, PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=739978 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 768993 | ||
Attachments: |
Patch: #undef direct X11 calls if GTK3 with wayland
Ebuild: Add gtk3 use flag and apply patch |
Created attachment 511634 [details]
Ebuild: Add gtk3 use flag and apply patch
*** Bug 769437 has been marked as a duplicate of this bug. *** Arch are applying a bugfix for gtk3: https://git.archlinux.org/svntogit/community.git/tree/trunk/0001-Fix-displaying-images-with-GTK3.patch?h=packages/gpicview The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f36df699d793c794ad7d6f51ef600cc94dda97f5 commit f36df699d793c794ad7d6f51ef600cc94dda97f5 Author: Piotr Karbowski <slashbeast@gentoo.org> AuthorDate: 2021-03-14 13:49:43 +0000 Commit: Piotr Karbowski <slashbeast@gentoo.org> CommitDate: 2021-03-14 13:50:34 +0000 media-gfx/gpicview: 0.2.5-r2: switch to GTK3; eapi bump. Closes: https://bugs.gentoo.org/642294 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org> .../files/Fix-displaying-images-with-GTK3.patch | 172 +++++++++++++++++++++ media-gfx/gpicview/gpicview-0.2.5-r2.ebuild | 27 ++++ 2 files changed, 199 insertions(+) Still needs original patch for gpicview to run under wayland. It works fine under X, but will segfault every time under wayland. (In reply to Don O from comment #5) > Still needs original patch for gpicview to run under wayland. Confirming here. I think Bruno may be long gone, however (bug opened nearly four years ago...), and with the bug closed this might not be noticed. So please clone the bug (assuming you can't just reopen it either, or you would have, cloning link at bottom of page) and attach the patch to the new bug as well. (FWIW I'm just testing a new-to-me package ATM, and don't know if I'll keep it installed yet, but definitely needed the patch to avoid segfaults on wayland and do that testing!) |
Created attachment 511632 [details, diff] Patch: #undef direct X11 calls if GTK3 with wayland Since 0.2.4 gpicview has gained support for building against GTK3 instead of GTK2. Just building 0.2.5 against GTK3 and running natively under Wayland causes segfault in get_working_area(). Attached patch disabled the code poking directly at X when build against GTK3 with wayland support.