Skip to content

Commit 613a473

Browse files
committed
docs: update license terms
1 parent 00c4e4c commit 613a473

File tree

12 files changed

+73
-9
lines changed

12 files changed

+73
-9
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "sdo-tool"
33
version = "0.3.2"
4-
authors = ["daniel"]
4+
authors = ["Xiphoseer <xiphoseer@mailbox.org>"]
5+
license = "AGPL-3.0-only"
56
edition = "2018"
67
default-run = "sdo-tool"
78

LICENSE

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Signum! Document Toolbox
2+
Copyright (C) 2025 Daniel Seiler
3+
4+
This program is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU Affero General Public License as
6+
published by the Free Software Foundation, version 3.
7+
8+
This program is distributed in the hope that it will be useful,
9+
but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
GNU Affero General Public License for more details.
12+
13+
You should have received a copy of the GNU Affero General Public License
14+
along with this program. If not, see <http://www.gnu.org/licenses/>.

NOTICE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
AGPL-3.0 explicitly includes the ability to supplement the license
2+
with additional terms of a particular nature. This isn't an exception
3+
to the license (in the sense of a SPDX WITH) clause but rather provides
4+
that wherever the source code references additional terms under this
5+
section, AGPL requires any licensee to conform to them. This file
6+
describes the requirements that apply to the SDO-Toolbox:
7+
8+
Pursuant to §7b of the AGPL-3.0 you must not remove partially or completely any parts
9+
of this NOTICE file, Cargo.toml author or license fields, or any source code explicitly
10+
referencing this NOTICE file.
11+
12+
Pursuant to §7c of the AGPL-3.0 you must not remove from the source code any
13+
author attribution referencing this NOTICE file. If you create modified versions,
14+
you must take reasonable effort to reference the original SDO-Toolbox via the
15+
https://sdo.dseiler.eu URL and point out modifications.
16+
17+
Pursuant to §7d of the AGPL-3.0 you must not use for publicity purposes the name
18+
of any author marked in Cargo.toml files, the credits in the README or people
19+
involved in the original Signum product by ASH whose file format this project
20+
implements for interoperability and digital preservation purposes.

crates/ccitt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "ccitt-t4-t6"
33
version = "0.2.0"
44
authors = ["Xiphoseer <xiphoseer@mailbox.org>"]
55
edition = "2018"
6-
license = "MPL-2.0"
6+
license = "MIT OR Apache-2.0"
77
readme = "README.md"
88
description = "Implementation of ITU-T T.4 & T.6 (CCITTFaxDecode)"
99
repository = "https://github.com/Xiphoseer/sdo-tool/tree/main/crates/ccitt"

crates/pdf/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pdf-create"
33
version = "0.3.0"
44
authors = ["Xiphoseer <xiphoseer@mailbox.org>"]
55
edition = "2018"
6-
license = "MPL-2.0"
6+
license = "MIT OR Apache-2.0"
77
readme = "README.md"
88
description = "low-level, strongly-typed PDF creation library"
99
repository = "https://github.com/Xiphoseer/sdo-tool/tree/main/crates/pdf"
@@ -17,7 +17,6 @@ chrono = "0.4"
1717
md5 = "0.7"
1818
bitflags = "2.8"
1919
flate2 = "1.0"
20-
#guid-create = "0.2"
2120
uuid = { version = "1.12", features = ["v4"] }
2221
smallvec = { version = "1.14.0", features = ["const_new"] }
2322

crates/sdo-pdf/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "sdo-pdf"
33
version = "0.2.0"
44
authors = ["Xiphoseer <xiphoseer@mailbox.org>"]
5+
license = "AGPL-3.0-only"
56
edition = "2018"
67

78
[features]

crates/sdo-pdf/src/info.rs

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,16 @@ impl MetaInfo {
4747
}
4848
}
4949

50+
// These two constants must not be modified under AGPL-3.0 §7b. See NOTICE in the repo root
51+
const SDO_CREATOR: &str = "SIGNUM © 1986-93 F. Schmerbeck";
52+
const SDO_PRODUCER: &str = concat!(
53+
"Signum! Document Toolbox (",
54+
env!("CARGO_PKG_NAME"),
55+
" v",
56+
env!("CARGO_PKG_VERSION"),
57+
")"
58+
);
59+
5060
/// Write PDF info data
5161
pub fn prepare_info(info: &mut Metadata, meta: &MetaInfo) -> Result<(), PDFDocEncodingError> {
5262
info.author = meta.author.clone();
@@ -56,8 +66,10 @@ pub fn prepare_info(info: &mut Metadata, meta: &MetaInfo) -> Result<(), PDFDocEn
5666
if let Some(title) = &meta.title {
5767
info.title = Some(title.clone());
5868
}
59-
info.creator = Some("SIGNUM © 1986-93 F. Schmerbeck".to_owned());
60-
info.producer = "Signum! Document Toolbox".to_owned();
69+
// These two PDF fields must not be modified under AGPL-3.0 §7b. See NOTICE in the repo root
70+
info.creator = Some(SDO_CREATOR.to_owned());
71+
info.producer = SDO_PRODUCER.to_owned();
72+
6173
if let Some(creation_date) = meta.creation_date {
6274
info.creation_date = creation_date;
6375
}

crates/sdo-ps/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "sdo-ps"
33
version = "0.1.0"
44
authors = ["xiphoseer <xiphoseer@mailbox.org>"]
5+
license = "AGPL-3.0-only"
56
edition = "2018"
67

78
[dependencies]

crates/sdo-web/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[package]
22
name = "sdo-web"
33
version = "0.1.0"
4+
license = "AGPL-3.0-only"
45
edition = "2021"
56

67
[lib]

crates/sdo-web/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
<a class="nav-link" href="#/CHSETS/">Font Collection</a>
5555
</li>
5656
<li class="nav-item">
57+
<!-- This link must not be modified under AGPL-3.0 §7b. See NOTICE in the repo root -->
5758
<a class="nav-link" href="https://sdo.dseiler.eu" target="_blank">Signum! Document Toolbox&nbsp;&nbsp;<i class="bi bi-box-arrow-up-right"></i></a>
5859
</li>
5960
</ul>

0 commit comments

Comments
 (0)