]> git.proxmox.com Git - rustc.git/blob - src/etc/installer/pkg/Distribution.xml
New upstream version 1.70.0+dfsg1
[rustc.git] / src / etc / installer / pkg / Distribution.xml
1 <?xml version="1.0" encoding="utf-8" standalone="no"?>
2 <installer-gui-script minSpecVersion="2">
3 <title>The Rust Compiler</title>
4 <license file="LICENSE.txt" mime-type="text/plain"/>
5 <pkg-ref id="org.rust-lang.rust"/>
6 <options customize="always" require-scripts="false" hostArchitectures="i386,x86_64"/>
7 <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true" />
8 <volume-check>
9 <allowed-os-versions>
10 <os-version min="10.7"/>
11 </allowed-os-versions>
12 </volume-check>
13 <choices-outline>
14 <line choice="install">
15 <line choice="rustc"/>
16 <line choice="rust-std"/>
17 <line choice="cargo"/>
18 <!-- tool-rust-docs-start -->
19 <line choice="rust-docs"/>
20 <!-- tool-rust-docs-end -->
21 </line>
22 <line choice="uninstall" />
23 </choices-outline>
24 <!--
25 These 'selected' scripts ensure that install and uninstall can never be selected at
26 the same time. Exectly how they work is pretty mysterious, tied to the unspecified algorithm
27 the installer uses to traverse the options after one is toggled.
28 -->
29 <choice id="install" visible="true"
30 title="Install Rust" description="Install the Rust compiler, package manager and documentation."
31 customLocation="/usr/local"
32 selected="!choices.uninstall.selected"
33 />
34 <choice id="uninstall" visible="true"
35 title="Uninstall Rust" description="Select this option to uninstall an existing Rust installation."
36 customLocation="/usr/local"
37 selected="!(choices.install.selected || choices.rustc.selected || choices.cargo.selected || choices['rust-docs'].selected)"
38 start_selected="false"
39 >
40 <pkg-ref id="org.rust-lang.uninstall"/>
41 </choice>
42 <choice id="rustc" visible="true"
43 title="Compiler" description="rustc, the Rust compiler, and rustdoc, the API documentation tool."
44 selected="(!choices.uninstall.selected &amp;&amp; choices.rustc.selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
45 >
46 <pkg-ref id="org.rust-lang.rustc"/>
47 </choice>
48 <choice id="cargo" visible="true"
49 title="Cargo" description="cargo, the Rust package manager."
50 selected="(!choices.uninstall.selected &amp;&amp; choices.cargo.selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
51 >
52 <pkg-ref id="org.rust-lang.cargo"/>
53 </choice>
54 <choice id="rust-std" visible="true"
55 title="Standard Library" description="The Rust standard library."
56 selected="(!choices.uninstall.selected &amp;&amp; choices['rust-std'].selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
57 >
58 <pkg-ref id="org.rust-lang.rust-std"/>
59 </choice>
60 <!-- tool-rust-docs-start -->
61 <choice id="rust-docs" visible="true"
62 title="Documentation" description="HTML documentation."
63 selected="(!choices.uninstall.selected &amp;&amp; choices['rust-docs'].selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
64 >
65 <pkg-ref id="org.rust-lang.rust-docs"/>
66 </choice>
67 <!-- tool-rust-docs-end -->
68 <pkg-ref id="org.rust-lang.rustc" version="0" onConclusion="none">rustc.pkg</pkg-ref>
69 <pkg-ref id="org.rust-lang.cargo" version="0" onConclusion="none">cargo.pkg</pkg-ref>
70 <!-- tool-rust-docs-start -->
71 <pkg-ref id="org.rust-lang.rust-docs" version="0" onConclusion="none">rust-docs.pkg</pkg-ref>
72 <!-- tool-rust-docs-end -->
73 <pkg-ref id="org.rust-lang.rust-std" version="0" onConclusion="none">rust-std.pkg</pkg-ref>
74 <pkg-ref id="org.rust-lang.uninstall" version="0" onConclusion="none">uninstall.pkg</pkg-ref>
75 <background file="rust-logo.png" mime-type="image/png"
76 alignment="bottomleft"/>
77 </installer-gui-script>