From b34e36d5cea467cb5982d374a16da99acc14523e Mon Sep 17 00:00:00 2001 From: Nikos Tsipinakis Date: Sat, 6 Jul 2019 14:44:25 +0300 Subject: [PATCH] Package gettext-rs --- src/gettext-rs/debian/changelog | 5 +++ src/gettext-rs/debian/copyright | 32 +++++++++++++ src/gettext-rs/debian/copyright.debcargo.hint | 45 +++++++++++++++++++ src/gettext-rs/debian/debcargo.toml | 2 + src/gettext-sys/debian/changelog | 5 +++ src/gettext-sys/debian/copyright | 31 +++++++++++++ .../debian/copyright.debcargo.hint | 37 +++++++++++++++ src/gettext-sys/debian/debcargo.toml | 3 ++ src/gettext-sys/debian/patches/series | 1 + .../debian/patches/use-system-gettext.patch | 8 ++++ 10 files changed, 169 insertions(+) create mode 100644 src/gettext-rs/debian/changelog create mode 100644 src/gettext-rs/debian/copyright create mode 100644 src/gettext-rs/debian/copyright.debcargo.hint create mode 100644 src/gettext-rs/debian/debcargo.toml create mode 100644 src/gettext-sys/debian/changelog create mode 100644 src/gettext-sys/debian/copyright create mode 100644 src/gettext-sys/debian/copyright.debcargo.hint create mode 100644 src/gettext-sys/debian/debcargo.toml create mode 100644 src/gettext-sys/debian/patches/series create mode 100644 src/gettext-sys/debian/patches/use-system-gettext.patch diff --git a/src/gettext-rs/debian/changelog b/src/gettext-rs/debian/changelog new file mode 100644 index 000000000..f4eef56bd --- /dev/null +++ b/src/gettext-rs/debian/changelog @@ -0,0 +1,5 @@ +rust-gettext-rs (0.4.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium + + * Package gettext-rs 0.4.1 from crates.io using debcargo 2.2.10 + + -- Nikos Tsipinakis Sat, 6 Jul 2019 14:30:19 +0300 diff --git a/src/gettext-rs/debian/copyright b/src/gettext-rs/debian/copyright new file mode 100644 index 000000000..d1acebc6e --- /dev/null +++ b/src/gettext-rs/debian/copyright @@ -0,0 +1,32 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gettext-rs +Upstream-Contact: Konstantin Salikhov +Source: https://github.com/Koka/gettext-rs + +Files: * +Copyright: 2016 Konstantin Salikhov +License: MIT + +Files: debian/* +Copyright: + 2019 Debian Rust Maintainers +License: MIT + +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/gettext-rs/debian/copyright.debcargo.hint b/src/gettext-rs/debian/copyright.debcargo.hint new file mode 100644 index 000000000..124f160f4 --- /dev/null +++ b/src/gettext-rs/debian/copyright.debcargo.hint @@ -0,0 +1,45 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gettext-rs +Upstream-Contact: Konstantin Salikhov +Source: https://github.com/Koka/gettext-rs + +Files: * +Copyright: FIXME (overlay) UNKNOWN-YEARS Konstantin Salikhov +License: MIT +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.txt +Copyright: 2016 Konstantin V. Salikhov +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: + 2019 Debian Rust Maintainers + 2019 <> +License: MIT + +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/gettext-rs/debian/debcargo.toml b/src/gettext-rs/debian/debcargo.toml new file mode 100644 index 000000000..277c8d6ac --- /dev/null +++ b/src/gettext-rs/debian/debcargo.toml @@ -0,0 +1,2 @@ +overlay = "." +uploaders = ["Nikos Tsipinakis "] diff --git a/src/gettext-sys/debian/changelog b/src/gettext-sys/debian/changelog new file mode 100644 index 000000000..6267b48c7 --- /dev/null +++ b/src/gettext-sys/debian/changelog @@ -0,0 +1,5 @@ +rust-gettext-sys (0.19.8-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium + + * Package gettext-sys 0.19.8 from crates.io using debcargo 2.2.10 + + -- Nikos Tsipinakis Sat, 6 Jul 2019 14:26:20 +0300 diff --git a/src/gettext-sys/debian/copyright b/src/gettext-sys/debian/copyright new file mode 100644 index 000000000..a513afa72 --- /dev/null +++ b/src/gettext-sys/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gettext-sys +Upstream-Contact: Brian Olsen + +Files: * +Copyright: 2018 Brian Olsen +License: MIT + +Files: debian/* +Copyright: + 2019 Debian Rust Maintainers +License: MIT + +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/gettext-sys/debian/copyright.debcargo.hint b/src/gettext-sys/debian/copyright.debcargo.hint new file mode 100644 index 000000000..7890d5f3d --- /dev/null +++ b/src/gettext-sys/debian/copyright.debcargo.hint @@ -0,0 +1,37 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gettext-sys +Upstream-Contact: Brian Olsen + +Files: * +Copyright: FIXME (overlay) UNKNOWN-YEARS Brian Olsen +License: MIT +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: debian/* +Copyright: + 2019 Debian Rust Maintainers + 2019 Nikos Tipinakis +License: MIT + +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/gettext-sys/debian/debcargo.toml b/src/gettext-sys/debian/debcargo.toml new file mode 100644 index 000000000..3f4c3c6b9 --- /dev/null +++ b/src/gettext-sys/debian/debcargo.toml @@ -0,0 +1,3 @@ +overlay = "." +uploaders = ["Nikos Tipinakis "] +excludes = ["*.tar.xz"] diff --git a/src/gettext-sys/debian/patches/series b/src/gettext-sys/debian/patches/series new file mode 100644 index 000000000..62bd4f9d4 --- /dev/null +++ b/src/gettext-sys/debian/patches/series @@ -0,0 +1 @@ +use-system-gettext.patch diff --git a/src/gettext-sys/debian/patches/use-system-gettext.patch b/src/gettext-sys/debian/patches/use-system-gettext.patch new file mode 100644 index 000000000..efef077b1 --- /dev/null +++ b/src/gettext-sys/debian/patches/use-system-gettext.patch @@ -0,0 +1,8 @@ +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -25,4 +25,5 @@ + version = "1.0" + + [features] ++default = ["gettext-system"] + gettext-system = [] -- 2.39.5