[librsvg/wip/subclass: 1/5] Temporarily override gtk dependencies



commit 33732d166b9f7d794388d7e431c5cba3c055c9a1
Author: Kornel Lesiński <kornel geekhood net>
Date:   Thu Feb 14 18:16:49 2019 +0000

    Temporarily override gtk dependencies

 Cargo.toml                | 15 +++++++++++++++
 rsvg_internals/Cargo.toml | 24 ++++++++++++------------
 2 files changed, 27 insertions(+), 12 deletions(-)
---
diff --git a/Cargo.toml b/Cargo.toml
index 5b5dfcd5..6197197d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,3 +9,18 @@ debug = true
 
 [profile.bench]
 lto = true
+
+[patch.crates-io]
+cairo-rs = { git = "https://github.com/gtk-rs/cairo"; }
+cairo-sys-rs = { git = "https://github.com/gtk-rs/cairo"; }
+gdk-pixbuf = { git = "https://github.com/gtk-rs/gdk-pixbuf"; }
+gdk-pixbuf-sys = { git = "https://github.com/gtk-rs/sys"; }
+gio = { git = "https://github.com/gtk-rs/gio"; }
+gio-sys = { git = "https://github.com/gtk-rs/sys"; }
+glib = { git = "https://github.com/gtk-rs/glib"; }
+glib-sys = { git = "https://github.com/gtk-rs/sys"; }
+gobject-sys = { git = "https://github.com/gtk-rs/sys"; }
+pango = { git = "https://github.com/gtk-rs/pango"; }
+pango-sys = { git = "https://github.com/gtk-rs/sys"; }
+pangocairo = { git = "https://github.com/gtk-rs/pangocairo"; }
+
diff --git a/rsvg_internals/Cargo.toml b/rsvg_internals/Cargo.toml
index 5d0435d9..32a7ec18 100644
--- a/rsvg_internals/Cargo.toml
+++ b/rsvg_internals/Cargo.toml
@@ -21,20 +21,20 @@ phf_codegen = "0.7.21"
 
 [dependencies]
 bitflags = "1.0"
-cairo-rs = { git="https://github.com/gtk-rs/cairo";, branch="master" }
-cairo-sys-rs = { git="https://github.com/gtk-rs/cairo";, branch="master" }
+cairo-rs = "0.5.0"
+cairo-sys-rs = "0.7.0"
 cssparser = "0.25.1"
 data-url = "0.1"
 downcast-rs = "^1.0.0"
 encoding = "0.2.33"
 float-cmp = "0.4.0"
-gdk-pixbuf = { git="https://github.com/gtk-rs/gdk-pixbuf";, branch="master" }
-gdk-pixbuf-sys = { git="https://github.com/gtk-rs/sys";, branch="master" }
-gio = { git="https://github.com/gtk-rs/gio";, branch="master", features=["v2_48"] } # per configure.ac
-gio-sys = { git="https://github.com/gtk-rs/sys";, branch="master" }
-glib = { git="https://github.com/gtk-rs/glib";, branch="master", features=["subclassing"] }
-glib-sys = { git="https://github.com/gtk-rs/sys";, branch="master" }
-gobject-sys = { git="https://github.com/gtk-rs/sys";, branch="master" }
+gdk-pixbuf = "0.5.0"
+gdk-pixbuf-sys = "0.7.0"
+gio = { version="0.5.1", features=["v2_48"] } # per configure.ac
+gio-sys = "0.7.0"
+glib = { version = "0.6.0", features=["subclassing"] }
+glib-sys = "0.7.0"
+gobject-sys = "0.7.0"
 itertools = "0.7.4"
 language-tags = "0.2.2"
 lazy_static = "1.0.0"
@@ -43,9 +43,9 @@ locale_config = "*" # recommended explicitly by locale_config's README.md
 nalgebra = "0.16"
 num-traits = "0.2"
 owning_ref = "0.4.0"
-pango = { git="https://github.com/gtk-rs/pango";, branch="master" }
-pango-sys = { git="https://github.com/gtk-rs/sys";, branch="master" }
-pangocairo = { git="https://github.com/gtk-rs/pangocairo";, branch="master" }
+pango = "0.5.0"
+pango-sys = "0.7.0"
+pangocairo = "0.6.0"
 phf = "0.7.21"
 rayon = "1"
 regex = "1"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]