[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phoc][debian/master] 73 commits: build: Switch to wlroots 0.16
Guido Günther (@agx)
gitlab at salsa.debian.org
Thu Aug 3 17:23:09 BST 2023
Guido Günther pushed to branch debian/master at Debian On Mobile / phoc
Commits:
6a9a93d0 by Guido Günther at 2023-07-24T11:07:51+02:00
build: Switch to wlroots 0.16
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
ab611159 by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
treewide: Follow event rename for wlroots 0.16
Events are now names wlr_<event_type>_event instead of
wlr_event_<event_type>. E.g. wlr_touch_motion_event
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
27280298 by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
treewide: Get event device from touch, pointer, etc
The event does no longer carry the wlr_input_device. It's embedded
as base class in e.g. wlr_{touch,pointer,...} now.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
01eff22c by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
cursor: Adjust to wlr_output_layout_get_box signature change
See https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3439
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
b4104090 by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
desktop: Adjust to wlr_output_layout_get_box signature change
See https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3439
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
99368a9f by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
layer-shell-effects: Adjust to wlr_output_layout_get_box signature change
See https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3439
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
3afdcf05 by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
output: Adjust to wlr_output_layout_get_box signature change
See https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3439
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
0372e34e by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
view: Adjust to wlr_output_layout_get_box signature change
See https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3439
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
cf6f9bd2 by Guido Günther at 2023-07-24T11:07:51+02:00
desktop: Specify xdg-shell protocol version
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
c685e9f7 by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
keyboard: Get keyboard via wlr_keyboard_from_input_device
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
ef07753b by Guido Günther at 2023-07-24T11:07:51+02:00
seat: Get derived class via wlr_*_from_input_device
Get the derived class from the wlr_input_device base class via the
corresponding wlr_<type>_from_input_device()
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
4aae6e47 by Guido Günther at 2023-07-24T11:07:51+02:00
gtk-shell: Use wlr_compository.h instead of deprecated wlr_surface.h
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
1a1bb15a by Guido Günther at 2023-07-24T11:07:51+02:00
xwayland-surface: Use xcb_size_hints_t directly
See wlroots commit 640f3b9f2156a007c5d1a36afdee570e123c95e4
and https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3495
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
f385ac1b by Guido Günther at 2023-07-24T11:07:51+02:00
layer-shell-effects: Margins are now signed
This is good news.
See https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3404
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
92cb7442 by Guido Günther at 2023-07-24T11:07:51+02:00
output: Look at popup's current coordinates
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
f4e19558 by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
xdg-surface: Adjust to toplevel changes
wlr_xdg_toplevel_* now take a toplevel rather than a wlr_xdg_surface
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
9beedb43 by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
Adjust popups to 0.16 API changes
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
5c660c9d by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
render: read_pixels dropped it's flag argument
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
a835937c by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
seat: Signals are now attached without the devices indirection
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
023d3f7f by Guido Günther at 2023-07-24T11:07:51+02:00
switch: Get name from device
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
e640f85d by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
Adjust includes
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
159faa82 by Sebastian Krzyszkowiak at 2023-07-24T11:07:51+02:00
server: Init subcompositor
Responsible for subsurfaces
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
d73d2f90 by Guido Günther at 2023-07-24T11:07:51+02:00
phosh-private: Adjust thumbnail flags
See wlroots commit 6832ae14aaa659929ea13057616db34536f7f724
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
d933a394 by Guido Günther at 2023-07-24T11:07:51+02:00
d/control: Bump wlroots dependency
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
68a01814 by Guido Günther at 2023-07-24T11:07:51+02:00
ci: Update image before installing dependencies
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
630a7e42 by Guido Günther at 2023-07-24T11:07:51+02:00
ci: Install wlroots 0.16.0 from sid
Updat the CI image for that
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
47adedaf by Guido Günther at 2023-07-24T11:07:51+02:00
Drop check for wlr_seat_touch_notify_cancel
It's part of wlroots 0.16
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
92159cdd by Guido Günther at 2023-07-24T11:07:51+02:00
output: Use wlr_output_state when setting up output
While at that make sure we pass PhocOutput around rather than wlr_output
when functions are called phoc_outpu_<foo>.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
b451ffb0 by Guido Günther at 2023-07-24T11:07:51+02:00
output: Make debugging more useful
The output name tells us more than the address
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
e8e0f0ca by Guido Günther at 2023-07-24T11:07:51+02:00
output: Fall back to other mode if preferred mode doesn't work
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
c58781e6 by Guido Günther at 2023-07-24T11:07:51+02:00
output: Don't crash when adding new output
We need to set a mode when committing the state as otherwise sending out
the head config asserts.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
13ea9d2f by Guido Günther at 2023-07-24T11:07:51+02:00
render: Fix build without xwayland
We need to check whether the user enabled xwayland support, not
if wlroots supports it.
Fixes e904c0975d480202279e7aafc42f70d28cf4164f
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/410>
- - - - -
69a73153 by Marge Bot at 2023-07-24T16:14:18+00:00
Merge branch 'wlroots0.16' into 'main'
Adjust to wlroots 0.16
Closes #272
See merge request World/Phosh/phoc!410
- - - - -
5873021f by Sebastian Krzyszkowiak at 2023-07-25T15:56:49+02:00
keyboard: End touch grab in Escape key binding
Pointer and keyboard grabs are ended here, but touch has been forgotten.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/403>
- - - - -
71ab6b87 by Sebastian Krzyszkowiak at 2023-07-25T15:56:50+02:00
seat: End keyboard grab in set_focus_layer
This matches what set_focus does for regular views already.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/403>
- - - - -
f2f2ec35 by Sebastian Krzyszkowiak at 2023-07-25T16:00:12+02:00
cursor: Ignore touch grab when interacting with layer-surfaces
This is needed in order to be able to use the shell (including virtual
keyboard) while some client has a xdg-popup grab without dismissing that
popup right away.
This is especially important as GTK4 implements popovers with xdg-popups
now, so any attempt to use the keyboard would end up closing the popover.
This isn't a fully correct solution - it causes grabs taken by xdg-popups
of layer-surfaces to be essentially ignored when interacting with other
layer-surfaces. However, there currently is no way to find out which
surface has taken the grab in wlroots, and phosh does not use xdg-popups
at all while the issue with closing popovers is already evident in GTK4
apps, so let's pick the lesser evil here for now.
An obvious approach for ignoring grabs would be to use wlr_seat_touch_send
family of functions - however, they are currently practically useless,
so temporarily restore the default grab and use _notify functions instead.
See https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3478
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/403>
- - - - -
d4d8a3e3 by Sebastian Krzyszkowiak at 2023-07-25T16:00:13+02:00
cursor: Ignore pointer grab when interacting with layer-surfaces
See the previous commit for explanation.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/403>
- - - - -
3bdefebc by Marge Bot at 2023-07-25T14:24:50+00:00
Merge branch 'touch-grab' into 'main'
Ignore pointer and touch grabs when interacting with layer-surfaces
See merge request World/Phosh/phoc!403
- - - - -
de5c82aa by Guido Günther at 2023-07-26T10:15:31+02:00
dir-locals: Update from phosh
This avoids tabs in meson files
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/464>
- - - - -
3be6aef6 by Guido Günther at 2023-07-26T12:12:23+02:00
po: Add Linguas
Otherwise msgfmt throws a warning on
meson setup _build
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/464>
- - - - -
a3143437 by Guido Günther at 2023-07-26T12:53:55+02:00
ci: Set defaults
This e.g. allows to interrupt builds on new commits
Taken verbatim from phosh.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/464>
- - - - -
d1668298 by Guido Günther at 2023-07-26T12:53:55+02:00
build: Use project_source_root
Avoids a meson deprecation warning.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/464>
- - - - -
a2ee56ab by Guido Günther at 2023-07-26T12:53:55+02:00
build: Avoid cc.getdefine for subproject
Otherwise we fail with
ERROR: Dependencies must be external dependencies
See https://github.com/mesonbuild/meson/issues/4800
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/464>
- - - - -
032831f4 by Guido Günther at 2023-07-26T12:53:55+02:00
packaging: Reset dh's wrap-mode
We want to fallback for gmobile to have it available.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/464>
- - - - -
e9b9ef02 by Guido Günther at 2023-07-26T12:53:55+02:00
build: Use meson wrap for the wlroots submodule
This makes it more obvious what we're tracking and it gives
us a git archive after all so local development doesn't get
more complicated.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/464>
- - - - -
e3dade53 by Guido Günther at 2023-07-26T12:53:55+02:00
build: Use meson wrap for the gmobile submodule
It's a bit easier to handle than the git submodule giving us an explicit
reference in the source tree. It will then also be simpler to switch to
the shared library version once we have a stable API.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/464>
- - - - -
f2dfa50f by Guido Günther at 2023-07-26T12:53:55+02:00
build: No need to update git submodules anymore
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/464>
- - - - -
18d88bf8 by Guido Günther at 2023-07-26T13:34:21+02:00
build: Fetch wlroots from the official repo
This finally makes sure we don't have to mess with forks
somewhere.
We still should upstream the one patch.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/464>
- - - - -
b7985724 by Guido Günther at 2023-07-29T12:12:42+02:00
d/gbp.conf: Drop duplicate upstream-vcs-tag
- - - - -
4e46fe8a by Guido Günther at 2023-07-29T12:14:48+02:00
d/copyright: Filter out gi-docgen too
Tarball embeds all subprojects but we only want to keep gmobile
and use shared libs for the rest.
- - - - -
6d3e0d28 by Guido Günther at 2023-07-29T12:20:36+02:00
d/gbp.conf: Filter unneeded subprojects
This makes it simpler to use the project without uscan
- - - - -
d17a18e0 by Guido Günther at 2023-07-29T12:28:47+02:00
d/control: Bump wlroots dependency
We required 0.16 for phoc 0.30.0 and later
- - - - -
4450a2e5 by Marge Bot at 2023-07-29T11:12:31+00:00
Merge branch 'meson-wrap' into 'main'
Use meson wraps for wlroots and gmobile submodules
See merge request World/Phosh/phoc!464
- - - - -
61d06909 by Guido Günther at 2023-07-31T09:15:53+00:00
desktop: Bump xdg-shell to 5
Closes: https://gitlab.gnome.org/World/Phosh/phoc/-/issues/324
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/462>
- - - - -
7c1e9bb7 by Guido Günther at 2023-07-31T09:15:53+00:00
xdg-shell: Set capabilities
Phoc doesn't provide right click menus or minimize.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/462>
- - - - -
2d8687e1 by Marge Bot at 2023-07-31T09:16:16+00:00
Merge branch 'xdg-shell' into 'main'
desktop: Bump xdg-shell to 5
Closes #324
See merge request World/Phosh/phoc!462
- - - - -
2df304e7 by Guido Günther at 2023-07-31T09:24:30+00:00
view: Use `self` in map
Old code parts use `view`, let's update this when making other changes.
See HACKING.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/460>
- - - - -
23ec2e20 by Guido Günther at 2023-07-31T09:24:30+00:00
view: Allow to retrieve pid
This can be useful for force killing and supsending apps
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/460>
- - - - -
bf871db2 by Marge Bot at 2023-07-31T09:24:59+00:00
Merge branch 'save-pid' into 'main'
view: Remember toplevel pid
See merge request World/Phosh/phoc!460
- - - - -
198be1e5 by Guido Günther at 2023-07-31T09:33:21+00:00
layer-shell-effects: Use wlr_layer_surface_v1_from_resource
Available in 0.16
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/465>
- - - - -
bd769065 by Guido Günther at 2023-07-31T09:33:21+00:00
output: Remove white space and braces
No functional change
Gbp-Dch: Ignore
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/465>
- - - - -
561f4e09 by Guido Günther at 2023-07-31T09:33:21+00:00
output: Move public damage handling closer together
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/465>
- - - - -
e64e1cf5 by Guido Günther at 2023-07-31T09:33:21+00:00
output: Document some more functions
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/465>
- - - - -
79b966c6 by Guido Günther at 2023-07-31T09:33:21+00:00
xdg_shell: Use PhocXdgPopup consistently
Avoids confustion whether PhocXdgPopup and struct phoc_xdg_popup
are the same type.
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/465>
- - - - -
40fa76e3 by Guido Günther at 2023-07-31T09:33:21+00:00
view: Implement phoc_view_child_damage_whole for popups
So far we damaged the parent surface which doesn't work well when the
popup extends out of the parent. It also avoids that we submit way
more damage than necessary.
We ought to implement `get_pos` for subsurfaces as well at some point.
Closes: https://gitlab.gnome.org/World/Phosh/phoc/-/issues/325
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/465>
- - - - -
e39b953a by Marge Bot at 2023-07-31T09:33:47+00:00
Merge branch '0.16-fixes' into 'main'
Improvements for wlroots 0.16
Closes #325
See merge request World/Phosh/phoc!465
- - - - -
e1faba43 by Guido Günther at 2023-08-03T17:40:59+02:00
Document changes and release 0.30.0
- - - - -
0b14b883 by Guido Günther at 2023-08-03T15:49:58+00:00
Merge branch 'rel-0.30.0' into 'main'
Document changes and release 0.30.0
See merge request World/Phosh/phoc!466
- - - - -
fd0ec9d7 by Guido Günther at 2023-08-03T17:56:59+02:00
New upstream version 0.30.0+ds
- - - - -
33412dd8 by Guido Günther at 2023-08-03T17:57:09+02:00
Update upstream source from tag 'upstream/0.30.0+ds'
Update to upstream version '0.30.0+ds'
with Debian dir 190dcee24839e3fb04ef86f8e92ed687d121b4a9
- - - - -
6b7f2c8a by Guido Günther at 2023-08-03T17:57:09+02:00
New upstream release
- - - - -
bbcf78d7 by Guido Günther at 2023-08-03T18:08:23+02:00
docs: Install NEWS
Closes: #1041155
- - - - -
85a6f4b4 by Guido Günther at 2023-08-03T18:08:42+02:00
Document changes and release 0.30.0+ds-1
- - - - -
30 changed files:
- .dir-locals.el
- .gitignore
- .gitlab-ci.yml
- .gitlab-ci/debian.Dockerfile
- − .gitmodules
- NEWS
- README.md
- debian/changelog
- debian/control
- debian/copyright
- + debian/docs
- debian/gbp.conf
- meson.build
- phoc-config.h.in
- + po/LINGUAS
- src/cursor.c
- src/cursor.h
- src/desktop.c
- src/event.c
- src/event.h
- src/gtk-shell.h
- src/keyboard.c
- src/layer-shell-effects.c
- src/layer_shell.c
- src/layers.h
- src/output.c
- src/output.h
- src/phosh-private.c
- src/render.c
- src/seat.c
The diff was not included because it is too large.
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/66914ebcbbecf0683e8e52562dc115743def1fac...85a6f4b4e44a9326132c09a8dbf4885fe2e384ed
--
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/66914ebcbbecf0683e8e52562dc115743def1fac...85a6f4b4e44a9326132c09a8dbf4885fe2e384ed
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20230803/d4a80ec8/attachment-0001.htm>
More information about the Debian-on-mobile-maintainers
mailing list