custom_blfs_packages/xsoft/other/vscode.xml
2024-12-20 12:34:27 +01:00

123 lines
3.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY vscode-download-http "https://codeload.github.com/microsoft/vscode/tar.gz/refs/tags/1.96.2">
<!ENTITY vscode-download-ftp " ">
<!ENTITY vscode-md5sum "7dfc365be2bcd9630b818e8d3945affe">
<!ENTITY vscode-size "4.6 MB">
<!ENTITY vscode-buildsize "500 MB">
<!ENTITY vscode-time "2 SBU (using parallelism=4)">
]>
<sect1 id="vscode" xreflabel="VSCode-&vscode-version;">
<?dbhtml filename="vscode.html"?>
<title>VSCode-&vscode-version;</title>
<indexterm zone="vscode">
<primary sortas="a-VSCode">VSCode</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to VSCode</title>
<para>
<application>VSCode</application> is a nice IDE for different programming languages.
</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&vscode-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&vscode-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &vscode-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &vscode-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &vscode-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &vscode-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">VSCode Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="mitkrb"/>, and
<xref linkend="libsecret"/>, and
<xref linkend="python3"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of VSCode</title>
<para>
Install <application>VSCode</application> by running the
following commands:
</para>
<screen><userinput>sed -i "/git config /s/^/\/\//" build/npm/postinstall.js &amp;&amp;
npm install &amp;&amp;
npm run watch</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>cmake --install build</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
vscode
</seg>
<seg>
None
</seg>
<seg>
/usr/share/vscode
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>