81 Commits (c85a455eb653256b57b0b1661e398a48946e85b4)

Author SHA1 Message Date
Brett Cornwall c85a455eb6
Support New portals req for XDG_CURRENT_DESKTOP
As of version 1.17, xdg-desktop-portal requires desktops to declare
which portals should be used. For Sway, this requires a file
/usr/share/xdg-desktop-portal/sway-portals.conf (or a local user
config).

A reasonable default is to use GTK for the file picker (as wlr doesn't
have file picker support) and wlr for screencast/screenshot support.
Fedora does this similarly. [1]

Upstream is not interested in shipping a configuration file [2] so we
need to do it downstream.

Fixes #72297
Fixes #79883

[1] https://src.fedoraproject.org/rpms/sway/blob/rawhide/f/sway-portals.conf
[2] https://github.com/swaywm/sway/issues/7773
1 year ago
Brett Cornwall 97338959f2 upgpkg: 1:1.8.1-1 2 years ago
Brett Cornwall 2ae7faa4ac Add patch for user xkb configs with cap_sys_nice
The new CAP_SYS_NICE capability granted to sway interferes with user xkb
configs. A patch has been introduced/merged [1] but has yet to see release.

[1] 2f2cdd60de
2 years ago
Brett Cornwall 84c8d66ce1 Remove xdg_activation crash source
This is a left-over relic
2 years ago
Brett Cornwall 13aac3dad4 Add CAP_SYS_NICE to sway binary
Support for sway to set SCHED_RR was added to improve desktop
responsiveness/stuttering [1]. Upstream advises setting the capability on the
binary [2].

Fixes FS#77225

[1] https://github.com/swaywm/sway/pull/6994
[2] https://github.com/swaywm/sway/pull/6992#pullrequestreview-972760643
2 years ago
Evangelos Foutras b66c30b5cc Drop options=(debug)/options=('debug') from trunk
devtools 20230105-1 enables the debug option by default.

A follow-up commit will remove debug from alongside other options.
2 years ago
Brett Cornwall d0ca16fcca Rebuild for wlroots 0.16.1 2 years ago
Brett Cornwall 996ef44649 Bump pkgrel 2 years ago
Brett Cornwall d955e51dcb Change pcre dep to pcre2 2 years ago
Brett Cornwall 4c77e55032 upgpkg: 1:1.8-1 2 years ago
Brett Cornwall a32a985f23 Include patch to fix crash in xdg_activation_v1
https://github.com/swaywm/sway/pull/7168
2 years ago
Brett Cornwall 2a39195f65 Back up /etc/sway/config.d/50-systemd-user.conf
Fixes #74778
3 years ago
Brett Cornwall 412dee619f Rebuild to make sure no testing libs were promoted 3 years ago
Brett Cornwall d77c7d1df3 Declare the .install file, dummy 3 years ago
Brett Cornwall dbfeedd88d Rework dependencies; shared object deps where available 3 years ago
Brett Cornwall bbcaf20a5c Move swaybg to optdepends 3 years ago
Brett Cornwall 50a27592c5 Add post_install() for the new seatd/polkit reqs 3 years ago
Brett Cornwall 4c3aa92608 Replace polkit with seatd dependency
Since seatd has become a requirement for sway's logind support, we can leverage
this package to also obtain elevated system privileges instead of polkit.

Note that using seatd instead of polkit means that a user must be a part of the
"seat" group: Otherwise, the user will not be able to achieve the appropriate
privileged actions.

Also remove a few unnecessary extra packages from the optdepends to give polkit
a bit more visibility.
3 years ago
Brett Cornwall 0a8fda4637 Enable debug package 3 years ago
Maxim Baz 1f5c0d7154 upgpkg: 1:1.7-1 3 years ago
Maxim Baz 4862152308 upgpkg: 1:1.6.1-3 3 years ago
Brett Cornwall d396b28173 Increment the release, not the epoch, ya dummy 3 years ago
Brett Cornwall 03eeb2da95 Export XDG_CURRENT_DESKTOP to systemd user environment
Fixes FS#72297
3 years ago
Brett Cornwall 571ee31e15 wlroots 0.4.0 support 3 years ago
Maxim Baz 7d378ffc2c upgpkg: 1:1.6-1 4 years ago
Brett Cornwall 8e07b66cfa Add patches to fix glitches in e.g. Firefox
See https://github.com/swaywm/sway/issues/6038
4 years ago
Brett Cornwall a17cdf8009 Update xorg-server-xwayland dep to xorg-xwayland 4 years ago
Maxim Baz 67cb3ce7d2 upgpkg: 1:1.5.1-1 4 years ago
Brett Cornwall 79ebbae74d upgpkg: 1:1.5-1
N.B. /etc/sway/security.d has been removed - upstream says this inclusion was an oversight and that the code/references to the code have been removed.

See:

* https://github.com/swaywm/sway/issues/5335
* https://github.com/swaywm/sway/pull/5339
4 years ago
Evangelos Foutras f9a91a0562 json-c 0.14 rebuild 5 years ago
Brett Cornwall 030ae47f79 Add polkit as dependency
Without polkit Sway fails to obtain CAP_SYS_ADMIN to become a DRM master. This ensures that a base Arch installation + pacman -S sway gives a working session.
5 years ago
Brett Cornwall cb6927fa95 rm duplicate swaybg in optdeps 5 years ago
Brett Cornwall c5b9b7ae58 rxvt -> alacritty in optdeps; add swaybg as well 5 years ago
Brett Cornwall 27d2f14680 Include contrib/ scripts 5 years ago
Brett Cornwall 0e0461ee54 rm XCURSOR_SIZE env import; add --systemd to dbus env activate 5 years ago
Brett Cornwall f704940d8c 50-systemd-user.conf: silence hash stderr output 5 years ago
Brett Cornwall 97e0cd631a rename conf.d -> config.d; convert systemd script to conf
conf.d was created to house 10-systemd.sh but the default config references
config.d.

the shell script was also converted to sway configuration. Same result,
different format; It seems more right to the author.

See FS#63021 for more details
5 years ago
Brett Cornwall 49b492fb3c upgpkg: 1:1.4-1
This release forwards will no longer support the FreeRDP backend as it was removed by upstream.
5 years ago
Brett Cornwall 0132085418 Re-introduce GPG key, use release tarballs 5 years ago
Brett Cornwall 834a2a111a Rebuild with wlroot's newly-enabled RDP backend 5 years ago
Alexander Rødseth b4954c918e upgpkg: 1:1.2-3 5 years ago
Brett Cornwall f2d420deff rebuild sway due to wlroots soname bump 5 years ago
Alexander Rødseth efe5431d3e upgpkg: 1:1.2-1 5 years ago
Alexander Rødseth cbea8b0f31 upgpkg: 1.2_rc2-1 5 years ago
Alexander Rødseth 5eb858b55c upgpkg: 1.1.1-3 6 years ago
Alexander Rødseth 32bb7b6152 upgpkg: 1.1.1-2 6 years ago
Alexander Rødseth 962f502450 upgpkg: 1.1.1-2 6 years ago
Alexander Rødseth aa6f5cfb08 upgpkg: 1.1.1-1 6 years ago
Alexander Rødseth 757d9a8056 upgpkg: 1.1-1 6 years ago
Alexander Rødseth ad7f156825 upgpkg: 1.0-8 6 years ago