Skip to content

Commit b634c09

Browse files
authored
Merge pull request #10 from regolith-linux/packaging/v1.8-regolith-kgfix
Packaging/v1.8 regolith kgfix
2 parents 8dd6394 + edb0ae8 commit b634c09

File tree

3 files changed

+50
-1
lines changed

3 files changed

+50
-1
lines changed

debian/changelog

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sway-regolith (1.8.1-2) unstable; urgency=medium
1+
sway-regolith (1.8.1-3) unstable; urgency=medium
22

33
* Upload to unstable (Closes: #1038794)
44
* Backport libinput fix from
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
Index: sway-regolith/meson.build
2+
===================================================================
3+
--- sway-regolith.orig/meson.build
4+
+++ sway-regolith/meson.build
5+
@@ -164,18 +164,18 @@ endif
6+
add_project_arguments('-DSYSCONFDIR="/@0@"'.format(join_paths(prefix, sysconfdir)), language : 'c')
7+
8+
version = '"@0@"'.format(meson.project_version())
9+
-git = find_program('git', native: true, required: false)
10+
-if git.found()
11+
- git_commit = run_command([git, 'rev-parse', '--short', 'HEAD'], check: false)
12+
- git_branch = run_command([git, 'rev-parse', '--abbrev-ref', 'HEAD'], check: false)
13+
- if git_commit.returncode() == 0 and git_branch.returncode() == 0
14+
- version = '"@0@-@1@ (" __DATE__ ", branch \'@2@\')"'.format(
15+
- meson.project_version(),
16+
- git_commit.stdout().strip(),
17+
- git_branch.stdout().strip(),
18+
- )
19+
- endif
20+
-endif
21+
+# git = find_program('git', native: true, required: false)
22+
+# if git.found()
23+
+# git_commit = run_command([git, 'rev-parse', '--short', 'HEAD'], check: false)
24+
+# git_branch = run_command([git, 'rev-parse', '--abbrev-ref', 'HEAD'], check: false)
25+
+# if git_commit.returncode() == 0 and git_branch.returncode() == 0
26+
+# version = '"@0@-@1@ (" __DATE__ ", branch \'@2@\')"'.format(
27+
+# meson.project_version(),
28+
+# git_commit.stdout().strip(),
29+
+# git_branch.stdout().strip(),
30+
+# )
31+
+# endif
32+
+# endif
33+
add_project_arguments('-DSWAY_VERSION=@0@'.format(version), language: 'c')
34+
35+
# Compute the relative path used by compiler invocations.
36+
Index: sway-regolith/swaybar/tray/dbusmenu.c
37+
===================================================================
38+
--- sway-regolith.orig/swaybar/tray/dbusmenu.c
39+
+++ sway-regolith/swaybar/tray/dbusmenu.c
40+
@@ -592,7 +592,7 @@ static void swaybar_dbusmenu_draw_menu(s
41+
cairo_surface_destroy(recorder);
42+
return;
43+
}
44+
- int surface_x, surface_y, surface_width, surface_height;
45+
+ int surface_x = 0, surface_y = 0, surface_width = 0, surface_height = 0;
46+
draw_menu_items(cairo, menu, &surface_x, &surface_y, &surface_width,
47+
&surface_height, open);
48+

debian/patches/series

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
0001-Install-zsh-completions-into-the-correct-directory.patch
22
0002-backport-libinput-fix.patch
3+
0003-regolith-build-fix-manic.patch

0 commit comments

Comments
 (0)