Merge ~vpa1977/ubuntu/+source/hxtools:ubuntu/devel into ubuntu/+source/hxtools:ubuntu/devel

Proposed by Vladimir Petko
Status: Merged
Merged at revision: e51eb1cad1d9408fedd9c82a912e46d88c7b7ad6
Proposed branch: ~vpa1977/ubuntu/+source/hxtools:ubuntu/devel
Merge into: ubuntu/+source/hxtools:ubuntu/devel
Diff against target: 119 lines (+87/-1)
4 files modified
debian/changelog (+7/-0)
debian/control (+1/-1)
debian/patches/add-missing-header.patch (+78/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
git-ubuntu import Pending
Review via email: mp+464152@code.launchpad.net

Description of the change

PPA: ppa:vpa1977/october-21[1]

Testing:
 - package installs (piuparts install/upgrade/purge passes on amd64)
 - gpsh works
---
# gpsh foo
[1219] Index has 5 entries
[1219] Queue has 0 entries
---

[1] https://launchpad.net/~vpa1977/+archive/ubuntu/october-21/+sourcepub/15927636/+listing-archive-extra

To post a comment you must log in.

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 3045b90..da3085c 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,10 @@
6+hxtools (20231224-2ubuntu1) noble; urgency=medium
7+
8+ * Add missing headers to fix FTBFS. (LP: #2060825)
9+ * Add runtime dependency on libfile-find-rule-perl. (LP: #2060728)
10+
11+ -- Sudip Mukherjee <sudipm.mukherjee@gmail.com> Thu, 11 Apr 2024 19:36:09 +0100
12+
13 hxtools (20231224-2build1) noble; urgency=high
14
15 * No change rebuild against libhx32t64.
16diff --git a/debian/control b/debian/control
17index f292faf..2cd8765 100644
18--- a/debian/control
19+++ b/debian/control
20@@ -12,7 +12,7 @@ Vcs-Browser: https://salsa.debian.org/debian/hxtools
21
22 Package: hxtools
23 Architecture: any
24-Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}
25+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, libfile-find-rule-perl
26 # because of /usr/bin/bin2c
27 Conflicts: nvidia-cuda-toolkit
28 Description: Collection of tools and scripts
29diff --git a/debian/patches/add-missing-header.patch b/debian/patches/add-missing-header.patch
30new file mode 100644
31index 0000000..baf730e
32--- /dev/null
33+++ b/debian/patches/add-missing-header.patch
34@@ -0,0 +1,78 @@
35+Description: Add missing header files
36+ This patch can be removed when libhx is updated to v4.21+
37+Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
38+Bug-Ubuntu: https://launchpad.net/bugs/2060825
39+Forwarded: not-needed
40+Last-Update: 2024-04-11
41+---
42+
43+--- hxtools-20231224.orig/smath/graph-fanout.c
44++++ hxtools-20231224/smath/graph-fanout.c
45+@@ -36,6 +36,7 @@
46+ #include <libHX/map.h>
47+ #include <libHX/option.h>
48+ #include <libHX/string.h>
49++#include <libHX/defs.h>
50+
51+ struct node {
52+ char *name;
53+--- hxtools-20231224.orig/smm/bsvplay.c
54++++ hxtools-20231224/smm/bsvplay.c
55+@@ -16,6 +16,7 @@
56+ #include <unistd.h>
57+ #include <libHX/init.h>
58+ #include <libHX/option.h>
59++#include <libHX/defs.h>
60+ #include "pcspkr.h"
61+ #define TICKSPERSEC 1086
62+
63+--- hxtools-20231224.orig/smm/hcdplay.c
64++++ hxtools-20231224/smm/hcdplay.c
65+@@ -15,6 +15,7 @@
66+ #include <string.h>
67+ #include <unistd.h>
68+ #include <libHX/option.h>
69++#include <libHX/defs.h>
70+ #include <sys/ioctl.h>
71+ #if defined(HAVE_LINUX_CDROM_H)
72+ # include <linux/cdrom.h>
73+--- hxtools-20231224.orig/smm/pcmdiff.c
74++++ hxtools-20231224/smm/pcmdiff.c
75+@@ -17,6 +17,7 @@
76+ #include <unistd.h>
77+ #include <libHX/init.h>
78+ #include <libHX/option.h>
79++#include <libHX/defs.h>
80+
81+ struct fdstream {
82+ int fd;
83+--- hxtools-20231224.orig/smm/pcmmix.c
84++++ hxtools-20231224/smm/pcmmix.c
85+@@ -12,6 +12,7 @@
86+ #include <unistd.h>
87+ #include <libHX/init.h>
88+ #include <libHX/option.h>
89++#include <libHX/defs.h>
90+
91+ static char *blocklen_str;
92+ static unsigned int mixing_mode, sample_rate = 48000;
93+--- hxtools-20231224.orig/suser/tailhex.c
94++++ hxtools-20231224/suser/tailhex.c
95+@@ -16,6 +16,7 @@
96+ #include <libHX/ctype_helper.h>
97+ #include <libHX/init.h>
98+ #include <libHX/option.h>
99++#include <libHX/defs.h>
100+
101+ static struct {
102+ long long start;
103+--- hxtools-20231224.orig/suser/xcp.c
104++++ hxtools-20231224/suser/xcp.c
105+@@ -16,6 +16,7 @@
106+ #include <unistd.h>
107+ #include <libHX/init.h>
108+ #include <libHX/option.h>
109++#include <libHX/defs.h>
110+ #include "config.h"
111+
112+ enum {
113diff --git a/debian/patches/series b/debian/patches/series
114index 0f0c200..a5980ee 100644
115--- a/debian/patches/series
116+++ b/debian/patches/series
117@@ -1 +1,2 @@
118 0001-Drop-some-tools.patch
119+add-missing-header.patch

Subscribers

People subscribed via source and target branches