Skip to content

Commit d202706

Browse files
author
cranko
committed
Release commit created with Cranko.
+++ cranko-release-info-v1 [[projects]] qnames = ["tectonic_xdv", "cargo"] version = "0.1.12" age = 8 [[projects]] qnames = ["tectonic_errors", "cargo"] version = "0.2.0" age = 8 [[projects]] qnames = ["tectonic_status_base", "cargo"] version = "0.2.0" age = 2 [[projects]] qnames = ["tectonic_io_base", "cargo"] version = "0.3.0" age = 2 [[projects]] qnames = ["tectonic_geturl", "cargo"] version = "0.2.1" age = 2 [[projects]] qnames = ["tectonic_docmodel", "cargo"] version = "0.1.0" age = 2 [[projects]] qnames = ["tectonic_dep_support", "cargo"] version = "0.1.0" age = 12 [[projects]] qnames = ["tectonic_cfg_support", "cargo"] version = "0.1.3" age = 8 [[projects]] qnames = ["tectonic_bundles", "cargo"] version = "0.1.0" age = 2 [[projects]] qnames = ["tectonic_bridge_icu", "cargo"] version = "0.2.0" age = 8 [[projects]] qnames = ["tectonic_bridge_graphite2", "cargo"] version = "0.2.0" age = 8 [[projects]] qnames = ["tectonic_bridge_harfbuzz", "cargo"] version = "0.2.2" age = 4 [[projects]] qnames = ["tectonic_bridge_freetype2", "cargo"] version = "0.2.0" age = 8 [[projects]] qnames = ["tectonic_bridge_flate", "cargo"] version = "0.1.2" age = 0 [[projects]] qnames = ["tectonic_bridge_core", "cargo"] version = "0.2.0" age = 2 [[projects]] qnames = ["tectonic_xetex_layout", "cargo"] version = "0.1.0" age = 8 [[projects]] qnames = ["tectonic_pdf_io", "cargo"] version = "0.1.0" age = 8 [[projects]] qnames = ["tectonic_engine_xetex", "cargo"] version = "0.1.1" age = 2 [[projects]] qnames = ["tectonic_engine_xdvipdfmx", "cargo"] version = "0.1.0" age = 8 [[projects]] qnames = ["tectonic_engine_bibtex", "cargo"] version = "0.1.1" age = 7 [[projects]] qnames = ["tectonic", "cargo"] version = "0.6.2" age = 0 +++
2 parents 9a7b366 + 2d90c33 commit d202706

File tree

12 files changed

+45
-41
lines changed

12 files changed

+45
-41
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# tectonic 0.6.2 (2021-06-16)
2+
3+
- Attempt to fix the i686 Arch Linux package specification
4+
- Attempt to fix the docs.rs build, hopefully. We might have to try a few
5+
different approaches here before we find one that works.
6+
7+
18
# tectonic 0.6.1 (2021-06-15)
29

310
- No code changes; the attempt to publish 0.6.0 to Crates.io failed spuriously,

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[package]
66
name = "tectonic"
7-
version = "0.6.1"
7+
version = "0.6.2"
88
authors = ["Peter Williams <[email protected]>"]
99
description = """
1010
A modernized, complete, embeddable TeX/LaTeX engine. Tectonic is forked from the XeTeX

crates/bridge_core/build.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// Copyright 2020 the Tectonic Project
1+
// Copyright 2020-2021 the Tectonic Project
22
// Licensed under the MIT License.
33

4-
use std::{env, fs, io::ErrorKind, path::PathBuf};
4+
use std::{env, path::PathBuf};
55

66
fn main() {
77
let outdir = env::var("OUT_DIR").unwrap();
@@ -80,11 +80,6 @@ typedef ttbc_output_handle_t *rust_output_handle_t;",
8080
// part of its packaging process. This isn't noticed in regular builds since
8181
// they occur in a workspace context. Lame but effective solution:
8282
// unconditionally blow away the file.
83-
8483
manifest_dir.push("Cargo.lock");
85-
if let Err(e) = fs::remove_file(&manifest_dir) {
86-
if e.kind() != ErrorKind::NotFound {
87-
panic!("unexpected error clearing local Cargo.lock: {}", e);
88-
}
89-
}
84+
let _ignored = std::fs::remove_file(&manifest_dir);
9085
}

crates/bridge_flate/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
# tectonic_bridge_flate 0.1.2 (2021-06-16)
2+
3+
- Try some workarounds to get docs building on docs.rs, both for this crate on
4+
its own and for the toplevel `tectonic` crate.
5+
6+
17
# tectonic_bridge_flate 0.1.1 (2021-01-16)
28

39
- Fix a Clippy complaint
410

11+
512
# tectonic_bridge_flate 0.1.0 (2021-01-03)
613

714
Initial release of the `tectonic_bridge_flate` crate. This crate provides a

crates/bridge_flate/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[package]
77
name = "tectonic_bridge_flate"
8-
version = "0.1.1"
8+
version = "0.1.2"
99
authors = ["Peter Williams <[email protected]>"]
1010
description = """
1111
Exposing flate compression to the Tectonic C code.

crates/bridge_flate/build.rs

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// Copyright 2020 the Tectonic Project
1+
// Copyright 2020-2021 the Tectonic Project
22
// Licensed under the MIT License.
33

4-
use std::{env, fs, io::ErrorKind, path::PathBuf};
4+
use std::{env, path::PathBuf};
55

66
fn main() {
77
let outdir = env::var("OUT_DIR").unwrap();
@@ -23,6 +23,15 @@ fn main() {
2323

2424
let mut manifest_dir: PathBuf = env::var("CARGO_MANIFEST_DIR").unwrap().into();
2525

26+
// Experimental (2021 June): currently the build of `tectonic` on docs.rs
27+
// fails because cbindgen calls `cargo metadata`, which has to hit the
28+
// network because the standalone crate has not Cargo.lock file -- and
29+
// docs.rs disable network access. We can't control the Cargo command line,
30+
// but hopefully this environment variable will tell Cargo not to try? I
31+
// don't know if Cargo will succeed this way, but I think the only way to
32+
// test is to make a release and see.
33+
std::env::set_var("CARGO_NET_OFFLINE", "1");
34+
2635
cbindgen::Builder::new()
2736
.with_config(config)
2837
.with_crate(&manifest_dir)
@@ -39,9 +48,5 @@ fn main() {
3948
// they occur in a workspace context. Lame but effective solution:
4049
// unconditionally blow away the file.
4150
manifest_dir.push("Cargo.lock");
42-
if let Err(e) = fs::remove_file(&manifest_dir) {
43-
if e.kind() != ErrorKind::NotFound {
44-
panic!("unexpected error clearing local Cargo.lock: {}", e);
45-
}
46-
}
51+
let _ignored = std::fs::remove_file(&manifest_dir);
4752
}

crates/engine_bibtex/build.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 the Tectonic Project
1+
// Copyright 2020-2021 the Tectonic Project
22
// Licensed under the MIT License.
33

44
use std::{env, path::PathBuf};
@@ -50,11 +50,6 @@ fn main() {
5050
// part of its packaging process. This isn't noticed in regular builds since
5151
// they occur in a workspace context. Lame but effective solution:
5252
// unconditionally blow away the file.
53-
5453
manifest_dir.push("Cargo.lock");
55-
if let Err(e) = std::fs::remove_file(&manifest_dir) {
56-
if e.kind() != std::io::ErrorKind::NotFound {
57-
panic!("unexpected error clearing local Cargo.lock: {}", e);
58-
}
59-
}
54+
let _ignored = std::fs::remove_file(&manifest_dir);
6055
}

crates/engine_xdvipdfmx/build.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ fn main() {
5656
// part of its packaging process. This isn't noticed in regular builds since
5757
// they occur in a workspace context. Lame but effective solution:
5858
// unconditionally blow away the file.
59-
6059
manifest_dir.push("Cargo.lock");
61-
if let Err(e) = std::fs::remove_file(&manifest_dir) {
62-
if e.kind() != std::io::ErrorKind::NotFound {
63-
panic!("unexpected error clearing local Cargo.lock: {}", e);
64-
}
65-
}
60+
let _ignored = std::fs::remove_file(&manifest_dir);
6661
}

crates/engine_xetex/build.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,8 @@ fn main() {
162162
// part of its packaging process. This isn't noticed in regular builds since
163163
// they occur in a workspace context. Lame but effective solution:
164164
// unconditionally blow away the file.
165-
166165
manifest_dir.push("Cargo.lock");
167-
if let Err(e) = std::fs::remove_file(&manifest_dir) {
168-
if e.kind() != std::io::ErrorKind::NotFound {
169-
panic!("unexpected error clearing local Cargo.lock: {}", e);
170-
}
171-
}
166+
let _ignored = std::fs::remove_file(&manifest_dir);
172167
}
173168

174169
const C_FLAGS: &[&str] = &[

0 commit comments

Comments
 (0)