Merge ~liushuyu-011/ubuntu/+source/backstep:ubuntu/devel into ubuntu/+source/backstep:ubuntu/devel

Proposed by Zixing Liu
Status: Merged
Merged at revision: ba7790cf347e3a4ec175daee4e5a07ad90e208ef
Proposed branch: ~liushuyu-011/ubuntu/+source/backstep:ubuntu/devel
Merge into: ubuntu/+source/backstep:ubuntu/devel
Diff against target: 95 lines (+73/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/add-missing-configurator-header.patch (+65/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Nick Rosbrook (community) Needs Fixing
Steve Langasek (community) Approve
Review via email: mp+464047@code.launchpad.net

Description of the change

This MP adds a patch to fix FTBFS on armhf. The reason was the project contains various errors and typos in the code that can't pass compile if -Werror is enabled.

To post a comment you must log in.
Revision history for this message
Zixing Liu (liushuyu-011) wrote :
Revision history for this message
Steve Langasek (vorlon) :
review: Approve
Revision history for this message
Nick Rosbrook (enr0n) wrote (last edit ):

Thanks for the patch. It would be good to have a bug that explains the FTBFS you are fixing. Don't forget to include a Bug-Ubuntu: field in the patch header once you open the bug.

Also, it looks like your patch probably addresses multiple implicit declarations, but the changelog entry only mentions adding one missing header. Could you please update the changelog entry (and probably patch description) to be more accurate?

Edit: Steve already sponsored.

review: Needs Fixing

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 7d1a789..82727a1 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,10 @@
6+backstep (0.3-0ubuntu13) noble; urgency=medium
7+
8+ * debian/patches/add-missing-configurator-header.patch: Add a missing
9+ header.
10+
11+ -- Zixing Liu <zixing.liu@canonical.com> Wed, 10 Apr 2024 12:45:41 -0600
12+
13 backstep (0.3-0ubuntu12) noble; urgency=medium
14
15 * No-change rebuild for CVE-2024-3094
16diff --git a/debian/patches/add-missing-configurator-header.patch b/debian/patches/add-missing-configurator-header.patch
17new file mode 100644
18index 0000000..c3d9061
19--- /dev/null
20+++ b/debian/patches/add-missing-configurator-header.patch
21@@ -0,0 +1,65 @@
22+Description: Add missing headers
23+ Adds a missing header to include a function prototype and also fixes
24+ a typo in the header
25+Author: Zixing Liu <zixing.liu@canonical.com>
26+Forwarded: no
27+Last-Update: 2024-04-10
28+
29+Index: backstep/src/backstep.c
30+===================================================================
31+--- backstep.orig/src/backstep.c
32++++ backstep/src/backstep.c
33+@@ -35,6 +35,7 @@
34+ #include "windows.h"
35+ #include "managedwindow.h"
36+ #include "configuration.h"
37++#include "configurator.h"
38+ #include "settings.h"
39+ #include "session.h"
40+ #include "colors.h"
41+Index: backstep/src/sessionclient.h
42+===================================================================
43+--- backstep.orig/src/sessionclient.h
44++++ backstep/src/sessionclient.h
45+@@ -49,7 +49,7 @@ void bs_session_client_get_prop_value(BS
46+ const gchar *name,
47+ SmPropValue **val_ret,
48+ gint *nvals_ret);
49+-void bs_sessin_client_set_list_of_array_prop(BSSessionClient *client,
50++void bs_session_client_set_list_of_array_prop(BSSessionClient *client,
51+ const gchar *name,
52+ const gchar *vals[],
53+ gint nvals);
54+Index: backstep/src/error.h
55+===================================================================
56+--- backstep.orig/src/error.h
57++++ backstep/src/error.h
58+@@ -17,7 +17,7 @@
59+ */
60+ #ifndef ERROR_H
61+ #define ERROR_H
62+-
63++GQuark bs_error_quark();
64+ #define BACKSTEP_ERROR bs_error_quark()
65+
66+ typedef enum {
67+Index: backstep/src/windowpixmaprender.c
68+===================================================================
69+--- backstep.orig/src/windowpixmaprender.c
70++++ backstep/src/windowpixmaprender.c
71+@@ -19,6 +19,7 @@
72+ # include <config.h>
73+ #endif
74+ #ifdef HAVE_RENDER
75++#include <math.h>
76+ #include <gdk/gdkx.h>
77+ #include <X11/Xlib.h>
78+ #include <X11/Xatom.h>
79+@@ -27,6 +28,7 @@
80+ #include <X11/extensions/Xcomposite.h>
81+ #include <X11/extensions/Xdamage.h>
82+ #include "windowpixmaprender.h"
83++#include "damage.h"
84+ #include "trace.h"
85+
86+ static double scale = .33;
87diff --git a/debian/patches/series b/debian/patches/series
88index 659f2b5..3327026 100644
89--- a/debian/patches/series
90+++ b/debian/patches/series
91@@ -1,3 +1,4 @@
92 binutils-gold.patch
93 libm-underlinkage.patch
94 format-security.patch
95+add-missing-configurator-header.patch

Subscribers

People subscribed via source and target branches

to all changes: