Skip to content

Commit

Permalink
feat: introduce rust-defaults 1.81
Browse files Browse the repository at this point in the history
  • Loading branch information
MingcongBai authored and hudeng-go committed Nov 25, 2024
1 parent 558a18e commit e7e0ccc
Show file tree
Hide file tree
Showing 17 changed files with 377 additions and 91 deletions.
1 change: 0 additions & 1 deletion README.md

This file was deleted.

1 change: 1 addition & 0 deletions debian/cargo-doc.links
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr/share/doc/cargo-${env:RUST_VERSION} /usr/share/doc/cargo
5 changes: 5 additions & 0 deletions debian/cargo.links
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/usr/lib/rust-${env:RUST_VERSION}/bin/cargo /usr/bin/cargo
/usr/lib/rust-${env:RUST_VERSION}/share/cargo/bin/cargo /usr/share/cargo/bin/cargo
/usr/lib/rust-${env:RUST_VERSION}/share/cargo/scripts /usr/share/cargo/scripts
/usr/lib/rust-${env:RUST_VERSION}/share/zsh/vendor-completions/_cargo /usr/share/zsh/vendor-completions/_cargo
/usr/share/bash-completion/completions/cargo-${env:RUST_VERSION} /usr/share/bash-completion/completions/cargo
24 changes: 21 additions & 3 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
template-repository (1.0-1) unstable; urgency=medium
rust-defaults (1.81) unstable; urgency=medium

* Initial release
* Update to 1.81.

-- Tsic404 <[email protected]> Sat, 28 Jan 2023 13:46:49 +0800
-- Mingcong Bai <[email protected]> Fri, 18 Oct 2024 14:43:55 +0800

rust-defaults (1.80.1ubuntu2) oracular; urgency=medium

* Fix cargo zsh completion. (LP: #2081266)

-- Alessandro Astone <[email protected]> Fri, 20 Sep 2024 09:22:15 +0200

rust-defaults (1.80.1ubuntu1) oracular; urgency=medium

* Moving default version of Rust compiler to 1.80.1

-- Zixing Liu <[email protected]> Tue, 13 Aug 2024 08:03:21 -0400

rust-defaults (1.76.0ubuntu1) oracular; urgency=medium

* Initial release. (LP: #2054748)

-- Zixing Liu <[email protected]> Tue, 02 Jul 2024 16:53:10 +0000
1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

260 changes: 246 additions & 14 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,15 +1,247 @@
Source: template-repository
Section: unknown
Source: rust-defaults
Section: devel
Priority: optional
Maintainer: Tsic404 <[email protected]>
Build-Depends: debhelper (>= 11)
Standards-Version: 4.1.3
Homepage: https://github.com/deepin-community/template-repository
#Vcs-Browser: https://salsa.debian.org/debian/deepin-community-template-repository
#Vcs-Git: https://salsa.debian.org/debian/deepin-community-template-repository.git

Package: template-repository
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
Maintainer: Ubuntu Developers <[email protected]>
XSBC-Original-Maintainer: Debian Rust Maintainers <[email protected]>
Uploaders: Ubuntu Developers <[email protected]>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
dpkg-dev (>= 1.17.14),
lsb-release,
m4
Standards-Version: 4.6.2
Homepage: http://www.rust-lang.org/

Package: rustc
Architecture: any
Multi-Arch: allowed
Depends: rustc-${pv:rust}, ${misc:Depends}
Description: Rust systems programming language
Rust is a curly-brace, block-structured expression language. It
visually resembles the C language family, but differs significantly
in syntactic and semantic details. Its design is oriented toward
concerns of "programming in the large", that is, of creating and
maintaining boundaries - both abstract and operational - that
preserve large-system integrity, availability and concurrency.
.
It supports a mixture of imperative procedural, concurrent actor,
object-oriented and pure functional styles. Rust also supports
generic programming and meta-programming, in both static and dynamic
styles.
.
This is a dependency package providing the default Rust package.

Package: libstd-rust-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, libstd-rust-${pv:rust}-dev
Description: Rust standard libraries - development files
Rust is a curly-brace, block-structured expression language. It
visually resembles the C language family, but differs significantly
in syntactic and semantic details. Its design is oriented toward
concerns of "programming in the large", that is, of creating and
maintaining boundaries - both abstract and operational - that
preserve large-system integrity, availability and concurrency.
.
It supports a mixture of imperative procedural, concurrent actor,
object-oriented and pure functional styles. Rust also supports
generic programming and meta-programming, in both static and dynamic
styles.
.
This package contains development files for the standard Rust libraries,
needed to compile Rust programs. It may also be installed on a system
of another host architecture, for cross-compiling to this architecture.
.
This is a dependency package providing the default development package.

Package: rust-gdb
Architecture: all
Depends: ${misc:Depends}, rust-${pv:rust}-gdb
Description: Rust debugger (gdb)
Rust is a curly-brace, block-structured expression language. It
visually resembles the C language family, but differs significantly
in syntactic and semantic details. Its design is oriented toward
concerns of "programming in the large", that is, of creating and
maintaining boundaries - both abstract and operational - that
preserve large-system integrity, availability and concurrency.
.
It supports a mixture of imperative procedural, concurrent actor,
object-oriented and pure functional styles. Rust also supports
generic programming and meta-programming, in both static and dynamic
styles.
.
This is a dependency package providing the default pretty printers and
a wrapper script for invoking gdb on rust binaries.

Package: rust-lldb
Architecture: all
Depends: rust-${pv:rust}-lldb, ${misc:Depends}
Description: Rust debugger (lldb)
Rust is a curly-brace, block-structured expression language. It
visually resembles the C language family, but differs significantly
in syntactic and semantic details. Its design is oriented toward
concerns of "programming in the large", that is, of creating and
maintaining boundaries - both abstract and operational - that
preserve large-system integrity, availability and concurrency.
.
It supports a mixture of imperative procedural, concurrent actor,
object-oriented and pure functional styles. Rust also supports
generic programming and meta-programming, in both static and dynamic
styles.
.
This is a dependency package providing the default pretty printers and a
wrapper script for invoking lldb on rust binaries.

Package: rust-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}, rust-${pv:rust}-doc
Description: Rust systems programming language - Documentation
Rust is a curly-brace, block-structured expression language. It
visually resembles the C language family, but differs significantly
in syntactic and semantic details. Its design is oriented toward
concerns of "programming in the large", that is, of creating and
maintaining boundaries - both abstract and operational - that
preserve large-system integrity, availability and concurrency.
.
It supports a mixture of imperative procedural, concurrent actor,
object-oriented and pure functional styles. Rust also supports
generic programming and meta-programming, in both static and dynamic
styles.
.
This is a dependency package providing the default Rust tutorial,
language reference and standard library documentation.

Package: rust-src
Architecture: all
Depends: ${misc:Depends}, rust-${pv:rust}-src
Description: Rust systems programming language - source code
Rust is a curly-brace, block-structured expression language. It
visually resembles the C language family, but differs significantly
in syntactic and semantic details. Its design is oriented toward
concerns of "programming in the large", that is, of creating and
maintaining boundaries - both abstract and operational - that
preserve large-system integrity, availability and concurrency.
.
It supports a mixture of imperative procedural, concurrent actor,
object-oriented and pure functional styles. Rust also supports
generic programming and meta-programming, in both static and dynamic
styles.
.
This is a dependency package providing the default sources of the
Rust compiler and standard libraries, useful for IDEs and
code analysis tools such as Racer.

Package: rust-clippy
Architecture: any
Multi-Arch: allowed
Depends: ${misc:Depends}, rust-${pv:rust}-clippy
Description: Rust linter
Rust is a curly-brace, block-structured expression language. It
visually resembles the C language family, but differs significantly
in syntactic and semantic details. Its design is oriented toward
concerns of "programming in the large", that is, of creating and
maintaining boundaries - both abstract and operational - that
preserve large-system integrity, availability and concurrency.
.
It supports a mixture of imperative procedural, concurrent actor,
object-oriented and pure functional styles. Rust also supports
generic programming and meta-programming, in both static and dynamic
styles.
.
This package contains 'clippy', a linter to catch common mistakes and improve
your Rust code as well a collection of over 400 compatible lints.
.
Lints are divided into categories, each with a default lint level. You can
choose how much Clippy is supposed to annoy help you by changing the lint
level by category.
.
Clippy is integrated into the 'cargo' build tool, available via 'cargo clippy'.
.
This is a dependency package providing the default clippy implementation.

Package: rustfmt
Architecture: any
Multi-Arch: allowed
Depends: ${misc:Depends}, rustfmt-${pv:rust}
Recommends: cargo
Description: Rust formatting helper
Rust is a curly-brace, block-structured expression language. It
visually resembles the C language family, but differs significantly
in syntactic and semantic details. Its design is oriented toward
concerns of "programming in the large", that is, of creating and
maintaining boundaries - both abstract and operational - that
preserve large-system integrity, availability and concurrency.
.
It supports a mixture of imperative procedural, concurrent actor,
object-oriented and pure functional styles. Rust also supports
generic programming and meta-programming, in both static and dynamic
styles.
.
This is a dependency package providing the default rustfmt implementation.

Package: rust-all
Architecture: any
Depends: ${misc:Depends}, rust-${pv:rust}-all,
rustc (= ${binary:Version}),
rustfmt (= ${binary:Version}),
rust-clippy (= ${binary:Version}),
rust-gdb (= ${binary:Version}) | rust-lldb (= ${binary:Version}),
cargo,
Description: Rust systems programming language - all developer tools
Rust is a curly-brace, block-structured expression language. It
visually resembles the C language family, but differs significantly
in syntactic and semantic details. Its design is oriented toward
concerns of "programming in the large", that is, of creating and
maintaining boundaries - both abstract and operational - that
preserve large-system integrity, availability and concurrency.
.
It supports a mixture of imperative procedural, concurrent actor,
object-oriented and pure functional styles. Rust also supports
generic programming and meta-programming, in both static and dynamic
styles.
.
This is a dependency package providing the default Rust toolchain bundle.

# Cargo binaries
Package: cargo
Architecture: any
Multi-Arch: allowed
Depends: ${misc:Depends}, rustc, cargo-${pv:rust}
Description: Rust package manager
Cargo is a tool that allows Rust projects to declare their various
dependencies, and ensure that you'll always get a repeatable build.
.
To accomplish this goal, Cargo does four things:
* Introduces two metadata files with various bits of project information.
* Fetches and builds your project's dependencies.
* Invokes rustc or another build tool with the correct parameters to build
your project.
* Introduces conventions, making working with Rust projects easier.
.
Cargo downloads your Rust project’s dependencies and compiles your
project.
.
This is a dependency package providing the default cargo package.

Package: cargo-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}, cargo-${pv:rust}-doc
Description: Rust package manager, documentation
Cargo is a tool that allows Rust projects to declare their various
dependencies, and ensure that you'll always get a repeatable build.
.
To accomplish this goal, Cargo does four things:
* Introduces two metadata files with various bits of project information.
* Fetches and builds your project's dependencies.
* Invokes rustc or another build tool with the correct parameters to build
your project.
* Introduces conventions, making working with Rust projects easier.
.
Cargo downloads your Rust project’s dependencies and compiles your
project.
.
This is a dependency package providing the default cargo documentation.
51 changes: 33 additions & 18 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -1,22 +1,37 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: template-repository
Source: https://github.com/deepin-community/template-repository

Files: *
Copyright: 2023 Tsic404 <[email protected]>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Files: debian/*
Copyright:
2024 Canonical Ltd.
2024 Zixing Liu <[email protected]>
License: MIT or 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:
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
The above copyright notice and this permission notice
shall be included in all copies or substantial portions
of the Software.
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
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.

License: Apache-2.0
On Debian systems, the full text of the Apache License Version 2.0
can be found in the file `/usr/share/common-licenses/Apache-2.0'.

16 changes: 0 additions & 16 deletions debian/deepin/OWNERS

This file was deleted.

Loading

0 comments on commit e7e0ccc

Please sign in to comment.