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

Subscribers

People subscribed via source and target branches

to all changes: