Your message dated Fri, 08 Nov 2024 04:04:27 +0000
with message-id <e1t9gev-002okw...@fasolo.debian.org>
and subject line Bug#1085439: fixed in greetd 0.10.3-2
has caused the Debian Bug report #1085439,
regarding greetd - upcoming rust-nix update.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1085439: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085439
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: greetd
Version: 0.10.3-1

I hope to update rust-nix to 0.29 soon. Greetd needs a small patch
to build with the new version.

Unfortunately the patch will break the build with nix 0.27, so
it will need to be uploaded after nix is updated. In the
meantime the new version of nix has been uploded to experimental
if you want to do further testing.

Debdiff is attached.
diff -Nru greetd-0.10.3/debian/changelog greetd-0.10.3/debian/changelog
--- greetd-0.10.3/debian/changelog      2024-07-19 05:09:19.000000000 +0000
+++ greetd-0.10.3/debian/changelog      2024-10-19 14:33:13.000000000 +0000
@@ -1,3 +1,10 @@
+greetd (0.10.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch for rust-nix 0.29.
+
+ -- Peter Michael Green <plugw...@debian.org>  Sat, 19 Oct 2024 14:33:13 +0000
+
 greetd (0.10.3-1) unstable; urgency=medium
 
   * NUR.
diff -Nru greetd-0.10.3/debian/control greetd-0.10.3/debian/control
--- greetd-0.10.3/debian/control        2024-07-19 05:09:19.000000000 +0000
+++ greetd-0.10.3/debian/control        2024-10-19 14:30:30.000000000 +0000
@@ -6,7 +6,7 @@
  debhelper-compat (= 13),
  dh-cargo,
 # greetd & greetd_ipc
- librust-nix-dev (>= 0.25),
+ librust-nix-dev (>= 0.29),
  librust-pam-sys-dev (>= 0.5.6),
  librust-users-dev (>= 0.11.0),
  librust-serde-derive-dev (>= 1.0),
diff -Nru greetd-0.10.3/debian/patches/nix-0.29.patch 
greetd-0.10.3/debian/patches/nix-0.29.patch
--- greetd-0.10.3/debian/patches/nix-0.29.patch 1970-01-01 00:00:00.000000000 
+0000
+++ greetd-0.10.3/debian/patches/nix-0.29.patch 2024-10-19 14:33:13.000000000 
+0000
@@ -0,0 +1,27 @@
+Index: greetd-0.10.3/greetd/Cargo.toml
+===================================================================
+--- greetd-0.10.3.orig/greetd/Cargo.toml
++++ greetd-0.10.3/greetd/Cargo.toml
+@@ -11,7 +11,7 @@ repository = "https://git.sr.ht/~kennyle
+ debug = []
+ 
+ [dependencies]
+-nix = { version = ">=0.27", features = ["ioctl", "signal", "user", "fs", 
"mman"] }
++nix = { version = ">=0.29", features = ["ioctl", "signal", "user", "fs", 
"mman"] }
+ pam-sys = "0.5.6"
+ serde = { version = "1.0", features = ["derive"] }
+ serde_json = "1.0"
+Index: greetd-0.10.3/greetd/src/terminal/mod.rs
+===================================================================
+--- greetd-0.10.3.orig/greetd/src/terminal/mod.rs
++++ greetd-0.10.3/greetd/src/terminal/mod.rs
+@@ -218,7 +218,8 @@ impl Terminal {
+     /// Clear this terminal by sending the appropciate escape codes to it. 
Only
+     /// affects text mode.
+     pub fn term_clear(&self) -> Result<(), Error> {
+-        let res = write(self.fd, b"\x1B[H\x1B[2J");
++        use std::os::fd::BorrowedFd;
++        let res = write(unsafe { BorrowedFd::borrow_raw(self.fd) }, 
b"\x1B[H\x1B[2J");
+         if let Err(v) = res {
+             Err(format!("terminal: unable to clear: {}", v).into())
+         } else {
diff -Nru greetd-0.10.3/debian/patches/series 
greetd-0.10.3/debian/patches/series
--- greetd-0.10.3/debian/patches/series 2024-07-19 05:09:19.000000000 +0000
+++ greetd-0.10.3/debian/patches/series 2024-10-19 14:29:25.000000000 +0000
@@ -2,3 +2,4 @@
 config_tweaks.patch
 relax_deps.patch
 rpassword_6.0_adaptation.patch
+nix-0.29.patch

--- End Message ---
--- Begin Message ---
Source: greetd
Source-Version: 0.10.3-2
Done: Marc Dequènes (Duck) <d...@duckcorp.org>

We believe that the bug you reported is fixed in the latest version of
greetd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1085...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Dequènes (Duck) <d...@duckcorp.org> (supplier of updated greetd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 08 Nov 2024 12:43:27 +0900
Source: greetd
Architecture: source
Version: 0.10.3-2
Distribution: unstable
Urgency: medium
Maintainer: Marc Dequènes (Duck) <d...@duckcorp.org>
Changed-By: Marc Dequènes (Duck) <d...@duckcorp.org>
Closes: 1085439
Changes:
 greetd (0.10.3-2) unstable; urgency=medium
 .
   [ Peter Michael Green ]
   * Add patch for rust-nix 0.29 (courtesy Peter Michael Green)
     (Closes: #1085439).
Checksums-Sha1:
 e2d686f2b8fe79df2c0d0d9654b12fc0ce57221d 2212 greetd_0.10.3-2.dsc
 2d1d2bae35d6ccec990eccd1b2f91107f5e54131 6332 greetd_0.10.3-2.debian.tar.xz
 1ed9deb5fd57715d9ceb4cf342ba6ea441dc1941 13413 greetd_0.10.3-2_amd64.buildinfo
Checksums-Sha256:
 e4c38773bf2d052ab9facddf1bb4bfcdd719bd10012b672b678aac7bbf4cc7fc 2212 
greetd_0.10.3-2.dsc
 3e47224fc9e7dcc54d5001645a6269154abcc2fd2b4db0a39ae219cf402d40d9 6332 
greetd_0.10.3-2.debian.tar.xz
 a2ba1bbae5a8ae1934f2449c80d2c67f35ff0b6eb64de138b6c662c2ddbf59cd 13413 
greetd_0.10.3-2_amd64.buildinfo
Files:
 2e322a6d09f80c0ade022b91e09ebfe6 2212 misc optional greetd_0.10.3-2.dsc
 55264aa974b6dc2cbff77cad36d8eb23 6332 misc optional 
greetd_0.10.3-2.debian.tar.xz
 12eec6b0b07312a8762c7b0ccd3d959c 13413 misc optional 
greetd_0.10.3-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEcpcqg+UmRT3yiF+BVen596wcRD8FAmctjEkACgkQVen596wc
RD8XDQ//WJgxBuwKXf9dxHP+tlds2jgnMWMHDla02/qCyBln4wgzQuaiSCRbYZqS
0ftNxAzGscquytqXnxuafOKLGDiieW24/BmuG1XPHR7ncptSpXmuNuSc+cevNeFl
/vbJmpSiIqw3xsAdQ8GtrxisJNQiLf8vXRt+yRIY9oLUh6uQsM7NomlwjwPERPGR
KRIJVol94EeXsgvpB+YwySvT3joIffpx74ngLMUqUa52fjJXqY3Zjx4f7x/LVUVN
6my1IRmeGo3w6gNayJgHIBiSreDT/RBjHmFB1qw6zBefknXyRIXmEGIKIw5Jp3Na
4ldtlDXTbkqL+qDIJY4ho5fe3RtvV4t0ptQmv7jfj+TuqUkHjrfoq1Mz/TH+/Yf8
Suv6sl2HHAbL/Y0RSwPeC9CH6T7vjefJ0He680Oa0JHQLZx8szXhVJKZq3MEKZi6
EoXVdHOW1zTDSPkqwpJ6kWbWyDEePHnfOJwvQ62F8lDrkoz1v6H6MEYKYhFfL9P+
WoDKlUKLDsQCuVxZxD4NoaODnLB7TfcRE1J62r0W14ENqg8aEPN691rEqcC49JIZ
bQWrklHBVohO/cs7vB0Dd7YKlAGeQKv/5Tl6GqxxxtxJ5AVZxv0KhYnRpenXoRG/
4xrLRH6YKeWn0BM6J+/H0VFLsK04Go1elsjcejbBrUCHxeCddi8=
=rsUU
-----END PGP SIGNATURE-----

Attachment: pgpsv5duFkRQs.pgp
Description: PGP signature


--- End Message ---

Reply via email to