From 33959d52342e96f199678f72bdafad6a47544e44 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:10 +0200 Subject: Adding debian version 1.68.2+dfsg1-1. Signed-off-by: Daniel Baumann --- .../d-0002-mdbook-strip-embedded-libs.patch | 74 ++++++++++++---------- 1 file changed, 39 insertions(+), 35 deletions(-) (limited to 'debian/patches/d-0002-mdbook-strip-embedded-libs.patch') diff --git a/debian/patches/d-0002-mdbook-strip-embedded-libs.patch b/debian/patches/d-0002-mdbook-strip-embedded-libs.patch index c544053bc..cd17dc2e6 100644 --- a/debian/patches/d-0002-mdbook-strip-embedded-libs.patch +++ b/debian/patches/d-0002-mdbook-strip-embedded-libs.patch @@ -6,12 +6,12 @@ Comment: Use https://github.com/infinity0/mdBook/tree/debian to help you rebase --- src/tools/linkchecker/main.rs | 28 ++++++- vendor/mdbook/src/book/init.rs | 6 -- - .../src/renderer/html_handlebars/hbs_renderer.rs | 80 ++----------------- + .../src/renderer/html_handlebars/hbs_renderer.rs | 80 ++---------------- .../mdbook/src/renderer/html_handlebars/search.rs | 2 - - vendor/mdbook/src/theme/index.hbs | 93 +--------------------- - vendor/mdbook/src/theme/mod.rs | 27 ------- + vendor/mdbook/src/theme/index.hbs | 97 +--------------------- + vendor/mdbook/src/theme/mod.rs | 27 ------ vendor/mdbook/src/theme/searcher/mod.rs | 2 - - 7 files changed, 35 insertions(+), 203 deletions(-) + 7 files changed, 37 insertions(+), 205 deletions(-) diff --git a/src/tools/linkchecker/main.rs b/src/tools/linkchecker/main.rs index 4170c32..d7dcda7 100644 @@ -67,10 +67,10 @@ index 4170c32..d7dcda7 100644 report.links_ignored_exception += 1; } else { diff --git a/vendor/mdbook/src/book/init.rs b/vendor/mdbook/src/book/init.rs -index 264c113..2b0ff3a 100644 +index dd3fa8b..a088517 100644 --- a/vendor/mdbook/src/book/init.rs +++ b/vendor/mdbook/src/book/init.rs -@@ -151,12 +151,6 @@ impl BookBuilder { +@@ -152,12 +152,6 @@ impl BookBuilder { let mut js = File::create(themedir.join("book.js"))?; js.write_all(theme::JS)?; @@ -84,7 +84,7 @@ index 264c113..2b0ff3a 100644 } diff --git a/vendor/mdbook/src/renderer/html_handlebars/hbs_renderer.rs b/vendor/mdbook/src/renderer/html_handlebars/hbs_renderer.rs -index b933a35..09b4a7a 100644 +index 1b648da..5fe813c 100644 --- a/vendor/mdbook/src/renderer/html_handlebars/hbs_renderer.rs +++ b/vendor/mdbook/src/renderer/html_handlebars/hbs_renderer.rs @@ -3,7 +3,7 @@ use crate::config::{BookConfig, Config, HtmlConfig, Playground, RustEdition}; @@ -104,7 +104,7 @@ index b933a35..09b4a7a 100644 use crate::utils::fs::get_404_output_file; use handlebars::Handlebars; -@@ -232,80 +233,13 @@ impl HtmlHandlebars { +@@ -235,80 +236,13 @@ impl HtmlHandlebars { if let Some(contents) = &theme.favicon_svg { write_file(destination, "favicon.svg", contents)?; } @@ -191,10 +191,10 @@ index b933a35..09b4a7a 100644 Ok(()) } diff --git a/vendor/mdbook/src/renderer/html_handlebars/search.rs b/vendor/mdbook/src/renderer/html_handlebars/search.rs -index c3b944c..d4bbe35 100644 +index a9e2f5c..3e3f69c 100644 --- a/vendor/mdbook/src/renderer/html_handlebars/search.rs +++ b/vendor/mdbook/src/renderer/html_handlebars/search.rs -@@ -52,8 +52,6 @@ pub fn create_files(search_config: &Search, destination: &Path, book: &Book) -> +@@ -53,8 +53,6 @@ pub fn create_files(search_config: &Search, destination: &Path, book: &Book) -> format!("Object.assign(window.search, {});", index).as_bytes(), )?; utils::fs::write_file(destination, "searcher.js", searcher::JS)?; @@ -204,10 +204,10 @@ index c3b944c..d4bbe35 100644 } diff --git a/vendor/mdbook/src/theme/index.hbs b/vendor/mdbook/src/theme/index.hbs -index 18d984a..4a0e2d1 100644 +index 147eb9a..27d358b 100644 --- a/vendor/mdbook/src/theme/index.hbs +++ b/vendor/mdbook/src/theme/index.hbs -@@ -34,10 +34,7 @@ +@@ -33,10 +33,7 @@ {{/if}} @@ -219,21 +219,21 @@ index 18d984a..4a0e2d1 100644 -@@ -51,7 +48,7 @@ +@@ -50,7 +47,7 @@ {{#if mathjax_support}} -- -+ +- ++ {{/if}} -@@ -61,46 +58,6 @@ +@@ -60,46 +57,6 @@ var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "{{ preferred_dark_theme }}" : "{{ default_theme }}"; - -- - - -- - - -- {{/if}} - {{#if google_analytics}} - -- - {{/if}} - - {{#if playground_copyable}} -- - {{/if}} - - {{#if playground_js}} -- -- -- -- -- +- +- +- +- +- - {{/if}} - - {{#if search_js}} -- -- -- +- +- +- - {{/if}} - -- - - +- +- +- ++ ++ + + {{#each additional_js}} diff --git a/vendor/mdbook/src/theme/mod.rs b/vendor/mdbook/src/theme/mod.rs -index a1ee18a..d059f01 100644 +index 7af5e2b..3086fcf 100644 --- a/vendor/mdbook/src/theme/mod.rs +++ b/vendor/mdbook/src/theme/mod.rs @@ -1,9 +1,5 @@ -- cgit v1.2.3