Skip to content

Commit

Permalink
Merge pull request #28 from regolith-linux/fix-conflict-upstream
Browse files Browse the repository at this point in the history
Fix conflict upstream
  • Loading branch information
kgilmer authored May 28, 2024
2 parents 5f23206 + 45a82ec commit 62607e9
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 40 deletions.
13 changes: 13 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
sway-regolith (1.9-16) noble; urgency=medium

* fix: remove desktop session file

-- Regolith Linux <[email protected]> Mon, 27 May 2024 09:48:43 -0700

sway-regolith (1.9-15) noble; urgency=medium

* chore: update patches to use upstream bin name
* fix: clean up package metadata

-- Regolith Linux <[email protected]> Sun, 26 May 2024 10:02:24 -0700

sway-regolith (1.9-5) noble; urgency=medium

[ Soumya Ranjan Patnaik ]
Expand Down
16 changes: 9 additions & 7 deletions debian/control
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: Soumya Ranjan Patnaik <[email protected]>, Regolith Desktop <[email protected]>
Build-Depends: debhelper-compat (= 13),
libcairo2-dev,
libcap-dev,
Expand All @@ -29,16 +27,20 @@ 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,
libtrawldb,
polkitd,
swaybg,
${misc:Depends},
${shlibs:Depends}
Suggests: xdg-desktop-portal-wlr
Provides: sway
Conflicts: sway
Replaces: sway
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
Expand Down
28 changes: 0 additions & 28 deletions debian/patches/01-regolith-trawl.patch
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,6 @@ Index: sway-regolith/meson.build
wlroots_features = {
'xwayland': false,
'libinput_backend': false,
@@ -248,7 +269,7 @@ configure_file(
)

install_data(
- 'sway.desktop',
+ 'sway-regolith.desktop',
install_dir: join_paths(datadir, 'wayland-sessions')
)

Index: sway-regolith/sway-regolith.desktop
===================================================================
--- /dev/null
+++ sway-regolith/sway-regolith.desktop
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Name=Sway Regolith
+Comment=A sway variant with support for trawl resource manager
+Exec=sway
+Type=Application
Index: sway-regolith/sway/commands.c
===================================================================
--- sway-regolith.orig/sway/commands.c
Expand Down Expand Up @@ -189,12 +170,3 @@ Index: sway-regolith/sway/meson.build
]

if have_xwayland
@@ -241,7 +243,7 @@ if wlroots_features['libinput_backend']
endif

executable(
- 'sway',
+ 'sway-regolith',
sway_sources + wl_protos_src,
include_directories: [sway_inc],
dependencies: sway_deps,
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@ Index: sway-regolith/meson.build
===================================================================
--- sway-regolith.orig/meson.build
+++ sway-regolith/meson.build
@@ -249,18 +249,6 @@ config.set('datadir', join_paths(prefix,
config.set('prefix', prefix)
config.set('sysconfdir', join_paths(prefix, sysconfdir))
@@ -244,23 +244,6 @@ if get_option('swaynag')
subdir('swaynag')
endif

-config = configuration_data()
-config.set('datadir', join_paths(prefix, datadir))
-config.set('prefix', prefix)
-config.set('sysconfdir', join_paths(prefix, sysconfdir))
-
-configure_file(
- configuration: config,
- input: 'config.in',
Expand All @@ -14,7 +19,7 @@ Index: sway-regolith/meson.build
-)
-
-install_data(
- 'sway-regolith.desktop',
- 'sway.desktop',
- install_dir: join_paths(datadir, 'wayland-sessions')
-)
-
Expand Down
2 changes: 1 addition & 1 deletion debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
02-version-fix.patch
03-disable-wallpaper
04-dbus-tray
05-disable-config-files
05-remove-config

0 comments on commit 62607e9

Please sign in to comment.