-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sway: update to 1.9. #48916
sway: update to 1.9. #48916
Conversation
Sway uses |
Hi,
On Sun, Feb 25, 2024 at 04:10:20PM -0800, Abhijit Sipahimalani wrote:
Sway uses `wmenu` as its default menu, and without it the default sway
configuration is very hard to use (launch everything from terminal).
Should `wmenu` be added as a dependency?
IMO no. Seems like the default config uses the following command:
`dmenu_path | wmenu | xargs swaymsg exec --`
This brings in dmenu as a dependency as well, which brings X11 as a
dependency, which IMO is too far.
Making wmenu as a dependency of sway will also make it harder for users
to remove wmenu from their systems, as they'll have to add it as a
ignorepkg option in their xbps config.
I suppose an option would be to change this config line to something
else that isn't as dependency heavy, but I am not very familiar with all
options. Maybe wofi? It depends on gtk+3 so it might also be considered
too much.
|
I am of the opinion that there should not be any additional dependencies added, for the following reasons:
|
I definitely agree with the points made by @rationalize-zz, I use fuzzel and would have no use for the |
@@ -0,0 +1,19 @@ | |||
# Template file for 'grimshot' | |||
pkgname=grimshot | |||
version=1.9+0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version=1.9+0 | |
version=1.9+contrib.0 |
srcpkgs/grimshot/template
Outdated
license="MIT" | ||
homepage="https://github.com/OctopusET/sway-contrib/" | ||
changelog="https://github.com/OctopusET/sway-contrib/releases/" | ||
distfiles="https://github.com/OctopusET/sway-contrib/archive/refs/tags/${version%+*}-contrib.${version#*+}.tar.gz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
distfiles="https://github.com/OctopusET/sway-contrib/archive/refs/tags/${version%+*}-contrib.${version#*+}.tar.gz" | |
distfiles="https://github.com/OctopusET/sway-contrib/archive/refs/tags/${version/+/-}.tar.gz" |
Do not add things like |
cd10fde
to
8f4dc24
Compare
On Fri, Mar 01, 2024 at 07:49:16AM -0800, Andrew J. Hesford wrote:
@ahesford requested changes on this pull request.
Done, thanks!
|
Is there anything left on this PR? Does it need more end-user testing? |
I think the consensus on IRC was to reject my suggest for |
8f4dc24
to
97b4e0d
Compare
I think the consensus on IRC was to reject my suggest for
`1.9+contrib.0` in favor of the original `1.9+0`, which would require
the distfiles substitution `${version/+/-contrib.}`.
@ahesford tbh I got also confused in that discussion. Anyway,
implemented those changes.
|
Testing the changes
Local build testing