unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob b3c61028b4ffdda38a172118d025c6786e532c25 1558 bytes (raw)
name: gnu/packages/patches/rust-glutin-remove-windows-ios.patch 	 # note: path name is non-authoritative(*)

 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
 
This patch removes crates for Windows and IOS as GNU Guix does not support
building for these platforms.
--- glutin-0.28.0/Cargo.toml.orig	1973-11-29 22:33:09.000000000 +0100
+++ glutin-0.28.0/Cargo.toml.orig	2022-04-24 13:35:36.333502368 +0200
@@ -24,38 +24,9 @@
 lazy_static = "1.3"
 winit = { version = "0.26", default-features = false }
 
-[target.'cfg(target_os = "android")'.dependencies]
-android_glue = "0.2"
-glutin_egl_sys = { version = "0.1.5", path = "../glutin_egl_sys" }
-parking_lot = "0.11"
-
 [target.'cfg(target_os = "emscripten")'.dependencies]
 glutin_emscripten_sys = { version = "0.1.1", path = "../glutin_emscripten_sys" }
 
-[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
-objc = "0.2.6"
-glutin_gles2_sys = { version = "0.1.5", path = "../glutin_gles2_sys" }
-
-[target.'cfg(target_os = "macos")'.dependencies]
-cgl = "0.3"
-cocoa = "0.24"
-core-foundation = "0.9"
-
-[target.'cfg(target_os = "windows")'.dependencies.winapi]
-version = "0.3"
-features = [
-    "winnt",
-    "winuser",
-    "wingdi",
-    "libloaderapi",
-]
-
-[target.'cfg(target_os = "windows")'.dependencies]
-libloading = "0.7"
-glutin_wgl_sys = { version = "0.1.5", path = "../glutin_wgl_sys" }
-glutin_egl_sys = { version = "0.1.5", path = "../glutin_egl_sys" }
-parking_lot = "0.11"
-
 [target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
 osmesa-sys = "0.1"
 wayland-client = { version = "0.29", features = ["dlopen"], optional = true }

debug log:

solving b3c61028b4 ...
found b3c61028b4 in https://yhetil.org/guix-patches/e6Wd6fbbqiWLx2cHSVfViNJ7CMlyUDkKjDpj-qmYO-BJ8o0whvsa3UwAtw0ndvlvJFeFveiQQflDtcClaXAslxZtB7lVlH95JpGGkxWc_q8=@protonmail.com/

applying [1/1] https://yhetil.org/guix-patches/e6Wd6fbbqiWLx2cHSVfViNJ7CMlyUDkKjDpj-qmYO-BJ8o0whvsa3UwAtw0ndvlvJFeFveiQQflDtcClaXAslxZtB7lVlH95JpGGkxWc_q8=@protonmail.com/
diff --git a/gnu/packages/patches/rust-glutin-remove-windows-ios.patch b/gnu/packages/patches/rust-glutin-remove-windows-ios.patch
new file mode 100644
index 0000000000..b3c61028b4

1:14: trailing whitespace.
 
1:22: trailing whitespace.
 
Checking patch gnu/packages/patches/rust-glutin-remove-windows-ios.patch...
Applied patch gnu/packages/patches/rust-glutin-remove-windows-ios.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 b3c61028b4ffdda38a172118d025c6786e532c25	gnu/packages/patches/rust-glutin-remove-windows-ios.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).