]> git.proxmox.com Git - debcargo-conf.git/commitdiff
package wl-clipboard-rs, needed for ripasso
authorAlexander Kjäll <alexander.kjall@gmail.com>
Sat, 29 Oct 2022 08:11:06 +0000 (10:11 +0200)
committerAlexander Kjäll <alexander.kjall@gmail.com>
Sat, 29 Oct 2022 08:11:06 +0000 (10:11 +0200)
src/wl-clipboard-rs/debian/RFS [new file with mode: 0644]
src/wl-clipboard-rs/debian/changelog [new file with mode: 0644]
src/wl-clipboard-rs/debian/copyright [new file with mode: 0644]
src/wl-clipboard-rs/debian/copyright.debcargo.hint [new file with mode: 0644]
src/wl-clipboard-rs/debian/debcargo.toml [new file with mode: 0644]
src/wl-clipboard-rs/debian/patches/fix-deps.patch [new file with mode: 0644]
src/wl-clipboard-rs/debian/patches/patch-socket-location-in-tests.patch [new file with mode: 0644]
src/wl-clipboard-rs/debian/patches/series [new file with mode: 0644]

diff --git a/src/wl-clipboard-rs/debian/RFS b/src/wl-clipboard-rs/debian/RFS
new file mode 100644 (file)
index 0000000..197f977
--- /dev/null
@@ -0,0 +1 @@
+needed for ripasso
diff --git a/src/wl-clipboard-rs/debian/changelog b/src/wl-clipboard-rs/debian/changelog
new file mode 100644 (file)
index 0000000..72b88cc
--- /dev/null
@@ -0,0 +1,5 @@
+rust-wl-clipboard-rs (0.7.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+  * Package wl-clipboard-rs 0.7.0 from crates.io using debcargo 2.5.0
+
+ -- Alexander Kjäll <alexander.kjall@gmail.com>  Sat, 29 Oct 2022 10:00:26 +0200
diff --git a/src/wl-clipboard-rs/debian/copyright b/src/wl-clipboard-rs/debian/copyright
new file mode 100644 (file)
index 0000000..31d67c6
--- /dev/null
@@ -0,0 +1,37 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: wl-clipboard-rs
+Upstream-Contact: Ivan Molodetskikh <yalterz@gmail.com>
+Source: https://github.com/YaLTeR/wl-clipboard-rs
+
+Files: *
+Copyright: 2019-2022 Ivan Molodetskikh <yalterz@gmail.com>
+License: MIT or Apache-2.0
+
+Files: debian/*
+Copyright:
+ 2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2022 Alexander Kjäll <alexander.kjall@gmail.com>
+License: MIT or Apache-2.0
+
+License: Apache-2.0
+ Debian systems provide the Apache 2.0 license in
+ /usr/share/common-licenses/Apache-2.0
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/src/wl-clipboard-rs/debian/copyright.debcargo.hint b/src/wl-clipboard-rs/debian/copyright.debcargo.hint
new file mode 100644 (file)
index 0000000..fbca405
--- /dev/null
@@ -0,0 +1,49 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: wl-clipboard-rs
+Upstream-Contact: Ivan Molodetskikh <yalterz@gmail.com>
+Source: https://github.com/YaLTeR/wl-clipboard-rs
+
+Files: *
+Copyright: FIXME (overlay) UNKNOWN-YEARS Ivan Molodetskikh <yalterz@gmail.com>
+License: MIT or 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-MIT
+Copyright: 2019 Ivan Molodetskikh
+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:
+ 2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2022 Alexander Kjäll <alexander.kjall@gmail.com>
+License: MIT or Apache-2.0
+
+License: Apache-2.0
+ Debian systems provide the Apache 2.0 license in
+ /usr/share/common-licenses/Apache-2.0
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/src/wl-clipboard-rs/debian/debcargo.toml b/src/wl-clipboard-rs/debian/debcargo.toml
new file mode 100644 (file)
index 0000000..c2d20b7
--- /dev/null
@@ -0,0 +1,3 @@
+overlay = "."
+uploaders = ["Alexander Kjäll <alexander.kjall@gmail.com>"]
+test_is_broken = true
\ No newline at end of file
diff --git a/src/wl-clipboard-rs/debian/patches/fix-deps.patch b/src/wl-clipboard-rs/debian/patches/fix-deps.patch
new file mode 100644 (file)
index 0000000..ba2b88a
--- /dev/null
@@ -0,0 +1,38 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index bbd8eca..c473494 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -26,7 +26,7 @@ license = "MIT/Apache-2.0"
+ repository = "https://github.com/YaLTeR/wl-clipboard-rs"
+ [dependencies.derive-new]
+-version = "0.5.9"
++version = "0.5"
+ [dependencies.libc]
+ version = "0.2.119"
+@@ -35,10 +35,10 @@ version = "0.2.119"
+ version = "0.4.14"
+ [dependencies.nix]
+-version = "0.24.2"
++version = "0.25"
+ [dependencies.os_pipe]
+-version = "1.0.1"
++version = "1"
+ [dependencies.tempfile]
+ version = "3.3.0"
+@@ -68,6 +68,11 @@ features = [
+ [dev-dependencies.wayland-server]
+ version = "0.29.4"
++features = [
++    "dlopen",
++    "use_system_lib",
++    "parking_lot",
++]
+ [features]
+ dlopen = [
diff --git a/src/wl-clipboard-rs/debian/patches/patch-socket-location-in-tests.patch b/src/wl-clipboard-rs/debian/patches/patch-socket-location-in-tests.patch
new file mode 100644 (file)
index 0000000..9efca7c
--- /dev/null
@@ -0,0 +1,12 @@
+diff --git a/src/tests/mod.rs b/src/tests/mod.rs
+index 20260c8..8d03121 100644
+--- a/src/tests/mod.rs
++++ b/src/tests/mod.rs
+@@ -14,6 +14,7 @@ pub(crate) struct TestServer {
+ impl TestServer {
+     pub fn new() -> TestServer {
++        std::env::set_var("XDG_RUNTIME_DIR", "/tmp/");
+         let mut display = self::ways::Display::new();
+         let socket_name = display.add_socket_auto().expect("Failed to create a server socket.");
diff --git a/src/wl-clipboard-rs/debian/patches/series b/src/wl-clipboard-rs/debian/patches/series
new file mode 100644 (file)
index 0000000..a5887be
--- /dev/null
@@ -0,0 +1,2 @@
+fix-deps.patch
+patch-socket-location-in-tests.patch