Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc: node-ytdl-c...@packages.debian.org
Control: affects -1 + src:node-ytdl-core
User: release.debian....@packages.debian.org
Usertags: pu

[ Reason ]
FTBFS

[ Risks ]
None

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
It's a typescript issue, fixed by ignoring failing types.
diff -Nru node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/changelog 
node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/changelog
--- node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/changelog       2022-11-01 
08:44:09.000000000 +0100
+++ node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/changelog       2024-09-11 
14:06:45.000000000 +0200
@@ -1,3 +1,9 @@
+node-ytdl-core (4.11.2+dfsg+~cs4.10.8-1+deb12u1) bookworm; urgency=medium
+
+  * Backport tsc patch (Closes: #1078899)
+
+ -- Jérémy Lal <kapo...@melix.org>  Wed, 11 Sep 2024 14:06:45 +0200
+
 node-ytdl-core (4.11.2+dfsg+~cs4.10.8-1) unstable; urgency=medium
 
   * New upstream version 4.11.2+dfsg+~cs4.10.8
diff -Nru node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/gbp.conf 
node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/gbp.conf
--- node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/gbp.conf        2022-11-01 
08:44:09.000000000 +0100
+++ node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/gbp.conf        2024-09-11 
14:06:45.000000000 +0200
@@ -1,5 +1,6 @@
 [DEFAULT]
 pristine-tar=True
+debian-branch = debian/bookworm
 component=['m3u8stream', 'miniget']
 
 [import-orig]
diff -Nru node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/patches/series 
node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/patches/series
--- node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/patches/series  2022-11-01 
08:44:09.000000000 +0100
+++ node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/patches/series  2024-09-11 
14:06:45.000000000 +0200
@@ -1 +1,2 @@
 fix-versions.patch
+tsc-workaround.patch
diff -Nru 
node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/patches/tsc-workaround.patch 
node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/patches/tsc-workaround.patch
--- node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/patches/tsc-workaround.patch    
1970-01-01 01:00:00.000000000 +0100
+++ node-ytdl-core-4.11.2+dfsg+~cs4.10.8/debian/patches/tsc-workaround.patch    
2024-09-11 14:06:45.000000000 +0200
@@ -0,0 +1,25 @@
+Description: tsc workarounds
+Author: Yadd <y...@debian.org>
+Forwarded: not-needed
+Last-Update: 2023-12-13
+
+--- a/m3u8stream/src/index.ts
++++ b/m3u8stream/src/index.ts
+@@ -208,6 +208,7 @@
+     ended = true;
+     streamQueue.die();
+     requestQueue.die();
++// @ts-ignore
+     clearTimeout(refreshTimeout);
+     currPlaylist?.destroy();
+     currSegment?.destroy();
+--- a/miniget/src/index.ts
++++ b/miniget/src/index.ts
+@@ -307,6 +307,7 @@
+     activeRequest.destroy(err);
+     activeDecodedStream?.unpipe(stream);
+     activeDecodedStream?.destroy();
++// @ts-ignore
+     clearTimeout(retryTimeout);
+   };
+ 

Reply via email to