]> git.proxmox.com Git - debcargo-conf.git/commitdiff
package crossfont
authorFabio Rafael da Rosa <fdr@fabiodarosa.org>
Fri, 6 Nov 2020 15:58:14 +0000 (16:58 +0100)
committerFabio Rafael da Rosa <fdr@fabiodarosa.org>
Fri, 6 Nov 2020 16:42:13 +0000 (17:42 +0100)
src/crossfont/debian/RFS [new file with mode: 0644]
src/crossfont/debian/changelog [new file with mode: 0644]
src/crossfont/debian/copyright [new file with mode: 0644]
src/crossfont/debian/copyright.debcargo.hint [new file with mode: 0644]
src/crossfont/debian/debcargo.toml [new file with mode: 0644]
src/crossfont/debian/patches/00-remove-win-os-deps.patch [new file with mode: 0644]
src/crossfont/debian/patches/01-relax-deps.patch [new file with mode: 0644]
src/crossfont/debian/patches/series [new file with mode: 0644]

diff --git a/src/crossfont/debian/RFS b/src/crossfont/debian/RFS
new file mode 100644 (file)
index 0000000..4ae7729
--- /dev/null
@@ -0,0 +1,5 @@
+depends on:
+- freetype-rs
+- servo-fontconfig
+  - servo-fontconfig-sys
+- foreign-types (>= 0.5)
\ No newline at end of file
diff --git a/src/crossfont/debian/changelog b/src/crossfont/debian/changelog
new file mode 100644 (file)
index 0000000..c80ef7b
--- /dev/null
@@ -0,0 +1,5 @@
+rust-crossfont (0.1.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+  * Package crossfont 0.1.1 from crates.io using debcargo 2.4.3
+
+ -- Fabio Rafael da Rosa <fdr@fabiodarosa.org>  Fri, 06 Nov 2020 16:44:51 +0100
diff --git a/src/crossfont/debian/copyright b/src/crossfont/debian/copyright
new file mode 100644 (file)
index 0000000..a0f34fa
--- /dev/null
@@ -0,0 +1,22 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: crossfont
+Upstream-Contact:
+ Christian Duerr <contact@christianduerr.com>
+ Joe Wilm <joe@jwilm.com>
+Source: https://github.com/alacritty/crossfont.git
+
+Files: *
+Copyright:
+ 2020 Christian Duerr <contact@christianduerr.com>
+ 2020 Joe Wilm <joe@jwilm.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright:
+ 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2020 Fabio Rafael da Rosa <fdr@fabiodarosa.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ Debian systems provide the Apache 2.0 license in
+ /usr/share/common-licenses/Apache-2.0
diff --git a/src/crossfont/debian/copyright.debcargo.hint b/src/crossfont/debian/copyright.debcargo.hint
new file mode 100644 (file)
index 0000000..bfdf3bb
--- /dev/null
@@ -0,0 +1,34 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: crossfont
+Upstream-Contact:
+ Christian Duerr <contact@christianduerr.com>
+ Joe Wilm <joe@jwilm.com>
+Source: https://github.com/alacritty/crossfont.git
+
+Files: *
+Copyright:
+ FIXME (overlay) UNKNOWN-YEARS Christian Duerr <contact@christianduerr.com>
+ FIXME (overlay) UNKNOWN-YEARS Joe Wilm <joe@jwilm.com>
+License: Apache-2.0
+Comment:
+ FIXME (overlay): Since upstream copyright years are not available in
+ Cargo.toml, they were extracted from the upstream Git repository. This may not
+ be correct information so you should review and fix this before uploading to
+ the archive.
+
+Files: ./LICENSE
+Copyright: 2020 The Alacritty Project
+License: UNKNOWN-LICENSE; FIXME (overlay)
+Comment:
+ FIXME (overlay): These notices are extracted from files. Please review them
+ before uploading to the archive.
+
+Files: debian/*
+Copyright:
+ 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2020 Fabio Rafael da Rosa <fdr@fabiodarosa.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ Debian systems provide the Apache 2.0 license in
+ /usr/share/common-licenses/Apache-2.0
diff --git a/src/crossfont/debian/debcargo.toml b/src/crossfont/debian/debcargo.toml
new file mode 100644 (file)
index 0000000..a716ccf
--- /dev/null
@@ -0,0 +1,2 @@
+overlay = "."
+uploaders = ["Fabio Rafael da Rosa <fdr@fabiodarosa.org>"]
diff --git a/src/crossfont/debian/patches/00-remove-win-os-deps.patch b/src/crossfont/debian/patches/00-remove-win-os-deps.patch
new file mode 100644 (file)
index 0000000..008aaa8
--- /dev/null
@@ -0,0 +1,26 @@
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -43,23 +43,3 @@
+ version = "0.5.1"
+ [target."cfg(not(any(target_os = \"macos\", windows)))".build-dependencies.pkg-config]
+ version = "0.3"
+-[target."cfg(target_os = \"macos\")".dependencies.cocoa]
+-version = "0.24"
+-
+-[target."cfg(target_os = \"macos\")".dependencies.core-foundation]
+-version = "0.9"
+-
+-[target."cfg(target_os = \"macos\")".dependencies.core-foundation-sys]
+-version = "0.8"
+-
+-[target."cfg(target_os = \"macos\")".dependencies.core-graphics]
+-version = "0.22"
+-
+-[target."cfg(target_os = \"macos\")".dependencies.core-text]
+-version = "19"
+-[target."cfg(windows)".dependencies.dwrote]
+-version = "0.11"
+-
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3"
+-features = ["impl-default"]
diff --git a/src/crossfont/debian/patches/01-relax-deps.patch b/src/crossfont/debian/patches/01-relax-deps.patch
new file mode 100644 (file)
index 0000000..9b10605
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -23,7 +23,7 @@
+ license = "Apache-2.0"
+ repository = "https://github.com/alacritty/crossfont.git"
+ [dependencies.euclid]
+-version = "0.22"
++version = "0.20"
+ [dependencies.foreign-types]
+ version = "0.5"
diff --git a/src/crossfont/debian/patches/series b/src/crossfont/debian/patches/series
new file mode 100644 (file)
index 0000000..7ddf53e
--- /dev/null
@@ -0,0 +1,2 @@
+00-remove-win-os-deps.patch
+01-relax-deps.patch