-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix: isolate files shared with upstream in supplemental package #25
Changes from 2 commits
e8c3b50
c328788
f76f476
886b7de
f4dee47
2551fec
33274bc
2214b4a
797a27c
77dbff6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
sway-regolith (1.9-6) noble; urgency=medium | ||
|
||
* fix: isolate files shared with upstream in supplemental package | ||
|
||
-- Regolith Linux <[email protected]> Sat, 18 May 2024 08:47:20 -0700 | ||
|
||
sway-regolith (1.9-5) noble; urgency=medium | ||
|
||
[ Soumya Ranjan Patnaik ] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
Source: sway-regolith | ||
Section: x11 | ||
Priority: optional | ||
Maintainer: Sway and related packages team <[email protected]> | ||
Uploaders: Birger Schacht <[email protected]>, | ||
nicoo <[email protected]> | ||
Maintainer: Regolith Desktop <[email protected]> | ||
Build-Depends: debhelper-compat (= 13), | ||
libcairo2-dev, | ||
libcap-dev, | ||
|
@@ -29,19 +27,31 @@ Build-Depends: debhelper-compat (= 13), | |
tree, | ||
wayland-protocols (>= 1.24) | ||
Standards-Version: 4.6.1.0 | ||
Homepage: http://swaywm.org | ||
Vcs-Browser: https://salsa.debian.org/swaywm-team/sway | ||
Vcs-Git: https://salsa.debian.org/swaywm-team/sway.git | ||
Rules-Requires-Root: no | ||
|
||
Package: sway-regolith | ||
Architecture: any | ||
Depends: libgl1-mesa-dri, swaybg, policykit-1, libtrawldb, ${misc:Depends}, ${shlibs:Depends} | ||
Depends: | ||
libgl1-mesa-dri, | ||
swaybg, | ||
polkitd, | ||
libtrawldb, | ||
sway (>= 1.9) | sway-regolith-supplemental, | ||
${misc:Depends}, | ||
${shlibs:Depends} | ||
Suggests: xdg-desktop-portal-wlr | ||
Provides: sway | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In my opinion this is still required. Many packages have a hard dependency on sway. Without this, the sway session will possibly lose out on much of the sway ecosystem. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just realised that the supplemental package replaces sway. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, the user MUST have EITHER |
||
Description: i3-compatible Wayland compositor for the Regolith desktop environment | ||
sway (SirCmpwn's Wayland compositor) is a tiling Wayland compositor and a | ||
drop-in replacement for the i3 window manager for X11. It works with your | ||
existing i3 configuration and supports most of i3's features, plus a few | ||
extras. This means it is a minimalist, tiling window manager. This variant | ||
supports trawl integration. | ||
|
||
Package: sway-regolith-supplemental | ||
Architecture: any | ||
Depends: libgl1-mesa-dri, ${misc:Depends}, ${shlibs:Depends} | ||
Provides: sway | ||
Conflicts: sway | ||
Replaces: sway | ||
Description: Support files that may also come from upstream package | ||
These files are required for sway to function but may be provided by upstream. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
usr/bin/swaybar | ||
usr/bin/swaymsg | ||
usr/bin/swaynag | ||
usr/share/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usr/bin/sway-regolith |
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.
Does the order have an effect? Ideally,
sway-regolith-supplimental
should be installed in the absence of both packages. Can we ensure that somehow??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.
Good question. I'm not aware of a way to specify a ranked dependency decl like that.. I'll try an experiement. I'll switch the order and (see if possible to) elevate the priority of our package to see if that effects the package solver. I happen to see this behavior on my dev machine, so the test is pretty simple:
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.
The
sway
package's priority (at least in Debian) isoptional
.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.
Indeed one of the two seems to have caused the desired change:
I will back out the
Priority
change as that's the most "special" and see what shakes out.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.
Removing
Priority
causedsway
to return to the top pick. Will keep the Priority. Will test on a vanillanoble
system (usingquickemu
)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.
Seeing inconsistent results between my dev environment and a clean install of noble :/ . Another approach might be to add a
Recommends
onsway-regolith-supplemental
.