mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
63 lines
3.0 KiB
XML
63 lines
3.0 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;
|
|
]>
|
|
|
|
<sect1 id="packages" xreflabel="Getting the Source Packages">
|
|
<?dbhtml filename="packages.html"?>
|
|
|
|
|
|
<title>Getting the Source Packages</title>
|
|
|
|
<para>Within the GLFS instructions, each package has two references for
|
|
finding the source files for the package—an HTTP link and an FTP link
|
|
(some packages may only list one of these links). Every effort has been made
|
|
to ensure that these links are accurate. However, the World Wide Web is in
|
|
continuous flux. Packages are sometimes moved or updated and the exact URL
|
|
specified is not always available.</para>
|
|
|
|
<para>The BLFS Team noticed this problem with BLFS, so they, with the
|
|
assistance of Oregon State University Open Source Lab, have made an HTTP/FTP
|
|
site available through world wide mirrors. See <ulink
|
|
url="https://www.linuxfromscratch.org/blfs/download.html#sources">
|
|
https://www.linuxfromscratch.org/blfs/download.html#sources</ulink> for a
|
|
list. These sites have all the sources of the exact versions of the packages
|
|
used in BLFS. If you can't find the BLFS or GLFS package you need at the
|
|
listed addresses, get it from these sites.</para>
|
|
|
|
<para>We would like to ask a favor, however. Although this is a public
|
|
resource for you to use, please do not abuse it. They have already had one
|
|
unthinking individual download over 3 GB of data, including multiple copies of
|
|
the same files that are placed at different locations (via symlinks) to make
|
|
finding the right package easier. This person clearly did not know what files
|
|
he needed and downloaded everything. The best place to download files
|
|
is the site or sites set up by the source code developer. Please try
|
|
there first.</para>
|
|
|
|
<para>As for GLFS, some packages listed here are not on BLFS or their site.
|
|
In such a case, we do not have a solution at the moment besides going to the
|
|
developer(s) and/or their website.</para>
|
|
|
|
<sect2>
|
|
<title>Obtaining the Source Packages in Bulk</title>
|
|
|
|
<para>
|
|
Obtaining all the source packages all at once is not recommended as
|
|
you will probably pull in packages you won't want. However, it is certainly
|
|
a convenient option if you have the disk space to spare. First navigate to
|
|
to the directory you want the downloaded source code and patches to be, then
|
|
download <ulink url="../wget-list">wget-list</ulink>. After that, download
|
|
the packages and patches by doing the following:
|
|
</para>
|
|
|
|
<screen><userinput>wget -N --input-file=wget-list --continue
|
|
ln -sv v&rust-bindgen-version;.tar.gz rust-bindgen-&rust-bindgen-version;.tar.gz
|
|
ln -sv v&spirv-llvm-translator-version;.tar.gz SPIRV-LLVM-Translator-&spirv-llvm-translator-version;.tar.gz
|
|
ln -sv &seatd-version;.tar.gz seatd-&seatd-version;.tar.gz</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|