Codebase list rust-dbus-0.2 / 926e666
gps-share: new binary crate (0.3.1) Henry-Nicolas Tourneur 2 years ago
9 changed file(s) with 235 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 deps tree:
1 gps-share (NEW)
2 - serial (NEW)
3 - serial-core (NEW)
4 - serial-unix (NEW)
5 - termios (UPDATE, no rdeps)
6 - ioctl-rs (NEW)
7 - libudev (NEW)
8 - zvariant (UPDATE, rdep zbus build OK)
9 - zvariant-derive (UPDATE)
0 rust-gps-share (0.3.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package gps-share 0.3.1 from crates.io using debcargo 2.4.4
3 * Initial release (Closes: #988659)
4
5
6 -- Henry-Nicolas Tourneur <debian@nilux.be> Mon, 17 May 2021 12:10:14 +0000
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: gps-share
2 Upstream-Contact:
3 Zeeshan Ali <zeenix@gmail.com>
4 Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
5 Angus Ainslie <angus@akkea.ca>
6 Source: https://github.com/zeenix/gps-share
7
8 Files: *
9 Copyright:
10 2017 Pelagicore AB.
11 2017-2021 Zeeshan Ali <zeenix@gmail.com>
12 2021 Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
13 2021 Angus Ainslie <angus@akkea.ca>
14 License: GPL-2.0+
15
16 Files: debian/*
17 Copyright:
18 2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
19 2021 Henry-Nicolas Tourneur <debian@nilux.be>
20 License: GPL-2.0+
21
22 License: GPL-2.0+
23 Debian systems provide the GPL 2.0 in /usr/share/common-licenses/GPL-2
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: gps-share
2 Upstream-Contact:
3 Zeeshan Ali <zeenix@gmail.com>
4 Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
5 Angus Ainslie <angus@akkea.ca>
6 Source: https://github.com/zeenix/gps-share
7
8 Files: *
9 Copyright:
10 FIXME (overlay) UNKNOWN-YEARS Zeeshan Ali <zeenix@gmail.com>
11 FIXME (overlay) UNKNOWN-YEARS Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
12 FIXME (overlay) UNKNOWN-YEARS Angus Ainslie <angus@akkea.ca>
13 License: GPL-2.0+
14 Comment:
15 FIXME (overlay): Since upstream copyright years are not available in
16 Cargo.toml, they were extracted from the upstream Git repository. This may not
17 be correct information so you should review and fix this before uploading to
18 the archive.
19
20 Files: ./LICENSE
21 Copyright: 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
22 License: UNKNOWN-LICENSE; FIXME (overlay)
23 Comment:
24 FIXME (overlay): These notices are extracted from files. Please review them
25 before uploading to the archive.
26
27 Files: ./src/avahi.rs
28 Copyright:
29 2017 Pelagicore AB.
30 2017 Zeeshan Ali.
31 License: UNKNOWN-LICENSE; FIXME (overlay)
32 Comment:
33 FIXME (overlay): These notices are extracted from files. Please review them
34 before uploading to the archive.
35
36 Files: ./src/client_handler.rs
37 Copyright:
38 2017 Pelagicore AB.
39 2017 Zeeshan Ali.
40 License: UNKNOWN-LICENSE; FIXME (overlay)
41 Comment:
42 FIXME (overlay): These notices are extracted from files. Please review them
43 before uploading to the archive.
44
45 Files: ./src/cmdline_config.rs
46 Copyright:
47 2017 Pelagicore AB.
48 2017 Zeeshan Ali.
49 License: UNKNOWN-LICENSE; FIXME (overlay)
50 Comment:
51 FIXME (overlay): These notices are extracted from files. Please review them
52 before uploading to the archive.
53
54 Files: ./src/config.rs
55 Copyright:
56 2017 Pelagicore AB.
57 2017 Zeeshan Ali.
58 License: UNKNOWN-LICENSE; FIXME (overlay)
59 Comment:
60 FIXME (overlay): These notices are extracted from files. Please review them
61 before uploading to the archive.
62
63 Files: ./src/gnss.rs
64 Copyright:
65 2017 Pelagicore AB.
66 2017 Zeeshan Ali.
67 2020 Purism SPC.
68 License: UNKNOWN-LICENSE; FIXME (overlay)
69 Comment:
70 FIXME (overlay): These notices are extracted from files. Please review them
71 before uploading to the archive.
72
73 Files: ./src/gps.rs
74 Copyright:
75 2017 Pelagicore AB.
76 2017 Zeeshan Ali.
77 License: UNKNOWN-LICENSE; FIXME (overlay)
78 Comment:
79 FIXME (overlay): These notices are extracted from files. Please review them
80 before uploading to the archive.
81
82 Files: ./src/main.rs
83 Copyright:
84 2017 Pelagicore AB.
85 2017 Zeeshan Ali.
86 License: UNKNOWN-LICENSE; FIXME (overlay)
87 Comment:
88 FIXME (overlay): These notices are extracted from files. Please review them
89 before uploading to the archive.
90
91 Files: ./src/rs232.rs
92 Copyright:
93 2017 Pelagicore AB.
94 2017 Zeeshan Ali.
95 License: UNKNOWN-LICENSE; FIXME (overlay)
96 Comment:
97 FIXME (overlay): These notices are extracted from files. Please review them
98 before uploading to the archive.
99
100 Files: ./src/server.rs
101 Copyright:
102 2017 Pelagicore AB.
103 2017 Zeeshan Ali.
104 License: UNKNOWN-LICENSE; FIXME (overlay)
105 Comment:
106 FIXME (overlay): These notices are extracted from files. Please review them
107 before uploading to the archive.
108
109 Files: ./src/stdin_gps.rs
110 Copyright:
111 2017 Pelagicore AB.
112 2017 Zeeshan Ali.
113 License: UNKNOWN-LICENSE; FIXME (overlay)
114 Comment:
115 FIXME (overlay): These notices are extracted from files. Please review them
116 before uploading to the archive.
117
118 Files: ./tests/stdin_gps.rs
119 Copyright:
120 2017 Pelagicore AB.
121 2017 Zeeshan Ali.
122 License: UNKNOWN-LICENSE; FIXME (overlay)
123 Comment:
124 FIXME (overlay): These notices are extracted from files. Please review them
125 before uploading to the archive.
126
127 Files: debian/*
128 Copyright:
129 2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
130 2021 Henry-Nicolas Tourneur <debian@nilux.be>
131 License: GPL-2.0+
132
133 License: GPL-2.0+
134 Debian systems provide the GPL 2.0 in /usr/share/common-licenses/GPL-2
0 overlay = "."
1 uploaders = ["Henry-Nicolas Tourneur <debian@nilux.be>"]
0 --- a/src/avahi.rs
1 +++ b/src/avahi.rs
2 @@ -70,13 +70,16 @@ impl Avahi {
3 }
4
5 pub fn publish(&self, net_iface: Option<&str>, port: u16) -> Result<(), zbus::Error> {
6 - let server = ServerProxy::new(&self.connection.clone())?;
7 + let server = self.connection.clone();
8 + let server = ServerProxy::new(&server)?;
9
10 // FIXME: Make this async when it's possible
11 let group_path = server.entry_group_new()?;
12 println!("group: {}", group_path.as_str());
13
14 - let group = EntryGroupProxy::new_for(&self.connection.clone(), "org.freedesktop.Avahi", &group_path)?;
15 + let group = self.connection.clone();
16 + let group = EntryGroupProxy::new_for(&group, "org.freedesktop.Avahi", &group_path)?;
17 +
18 let txt = "accuracy=exact".to_string();
19 let array: Vec<Vec<u8>> = vec![txt.into_bytes()];
20
0 --- a/tests/stdin_gps.rs
1 +++ b/tests/stdin_gps.rs
2 @@ -51,7 +51,7 @@ fn stdin_gps() {
3 }
4
5 fn test_stdin_gps(tcp_port: Option<u16>, net_iface: Option<&str>, local_socket: LocalSocket) {
6 - let mut cmd = Command::new("target/debug/gps-share");
7 + let mut cmd = Command::new(env!("CARGO_BIN_EXE_gps-share"));
8
9 cmd.arg("-a")
10 .arg("-")
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -27,16 +27,16 @@ version = "2.23.1"
3 version = "^0.2.21"
4
5 [dependencies.libudev]
6 -version = "0.2.0"
7 +version = "0.3.0"
8
9 [dependencies.serial]
10 -version = "0.3"
11 +version = "0.4"
12
13 [dependencies.signal-hook]
14 version = "0.1.13"
15
16 [dependencies.zbus]
17 -version = "1.8"
18 +version = "1.0"
19
20 [dependencies.zvariant]
21 version = "2.6"
0 fix-test.patch
1 fix-compilation.patch
2 relax-deps.patch