File: drop-windows.patch

package info (click to toggle)
rust-framework-tool 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 180 kB
  • sloc: makefile: 4
file content (49 lines) | stat: -rw-r--r-- 1,290 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Description: Drop Windows-related dependencies
Author: Nadzeya Hutsko <nadzya.info@gmail.com>
Forwarded: not-needed
Last-Update: 2026-03-16
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -40,15 +40,15 @@
 [dependencies.framework_lib]
 version = "0.6.1"
 
-[build-dependencies.embed-resource]
-version = "3.0"
+# [build-dependencies.embed-resource]
+# version = "3.0"
 
-[build-dependencies.static_vcruntime]
-version = "3.0"
+# [build-dependencies.static_vcruntime]
+# version = "3.0"
 
-[build-dependencies.winresource]
-version = "0.1.17"
+# [build-dependencies.winresource]
+# version = "0.1.17"
 
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9"
-features = ["wincon"]
+# [target."cfg(windows)".dependencies.winapi]
+# version = "0.3.9"
+# features = ["wincon"]
--- a/build.rs
+++ b/build.rs
@@ -1,5 +1,5 @@
 fn main() {
-    // Add app icon
+    /* // Add app icon
     if std::env::var_os("CARGO_CFG_WINDOWS").is_some() {
         winresource::WindowsResource::new()
             .set_icon("../res/framework_startmenuicon.ico")
@@ -19,5 +19,5 @@
         embed_resource::compile("framework_tool-manifest.rc", embed_resource::NONE)
             .manifest_optional()
             .unwrap();
-    }
+    } */
 }