license.html carries the CNCL and the table of docs/LICENSES.md and is linked from every page and the guide's template; shot-bar and shot-dtchat are used by desktop.html and index.html (every href/src of www/*.html resolves). The guide no longer announces a photo editor (dtphoto exists).
83 lines
3.0 KiB
HTML
83 lines
3.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<!-- License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree. -->
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Makronix -- Source</title>
|
|
<link rel="stylesheet" type="text/css" href="style.css">
|
|
</head>
|
|
<body>
|
|
<div class="window">
|
|
<div class="titlebar">Makronix -- Source</div>
|
|
<div class="menubar">
|
|
<a href="index.html">Home</a>
|
|
<a href="features.html">Features</a>
|
|
<a href="download.html">Download</a>
|
|
<a href="install.html">Install</a>
|
|
<a href="upgrade.html">Upgrade</a>
|
|
<a href="desktop.html">Desktop</a>
|
|
<a href="guide.html">Guide</a>
|
|
<a href="source.html" class="here">Source</a>
|
|
<a href="license.html">License</a>
|
|
</div>
|
|
<div class="content">
|
|
|
|
<h1>The sources, and building Makronix yourself</h1>
|
|
|
|
<p>Makronix is built with <code>build.sh</code>, cross, from any host. A
|
|
Makronix medium carries the sources it was built from, and the installation
|
|
puts them on your disk, so a Makronix system can build Makronix without a
|
|
network.</p>
|
|
|
|
<h2>Where they are</h2>
|
|
|
|
<table class="media" summary="The source sets and where they are installed">
|
|
<tr><th>Set</th><th>Installed to</th><th>What</th></tr>
|
|
<tr><td><code>src</code>, <code>gnusrc</code>, <code>syssrc</code>, <code>sharesrc</code></td>
|
|
<td><code>/usr/src</code></td>
|
|
<td>The NetBSD tree as Makronix builds it, with its changes</td></tr>
|
|
<tr><td><code>xsrc</code></td><td><code>/usr/xsrc</code></td><td>X11</td></tr>
|
|
<tr><td><code>msrc</code></td><td><code>/usr/msrc</code></td>
|
|
<td>The Makronix tree: its Makefile, tools and documentation, MCDE, pkgsrc at
|
|
the version Makronix uses, and the source archives of every package Makronix
|
|
ships</td></tr>
|
|
</table>
|
|
|
|
<p>Together about 2.3 GB. They are on the USB stick and the DVD, not on the
|
|
CDs.</p>
|
|
|
|
<h2>Building NetBSD on Makronix</h2>
|
|
<p>As a user in the group <code>wsrc</code> (the account the installer makes
|
|
is in it):</p>
|
|
<pre>
|
|
cd /usr/src
|
|
./build.sh -U -j 4 -m amd64 -O ~/obj -T ~/tools -x tools distribution
|
|
</pre>
|
|
<p>Measured on a virtual machine with 8 CPUs: tools and distribution in about
|
|
two hours.</p>
|
|
|
|
<h2>Building Makronix</h2>
|
|
<pre>
|
|
cd /usr/msrc
|
|
export MAKRONIX_TOP=/usr/msrc
|
|
make release ARCH=amd64 # the system, the kernels, the installer
|
|
make iso # the CDs and the DVD
|
|
make sourcesets # the source sets
|
|
make usb # the USB stick images
|
|
make test # tests the media in a virtual machine
|
|
</pre>
|
|
<p>The packages are built with pkgsrc, from the archives in
|
|
<code>/usr/msrc/distfiles</code>; nothing is downloaded.</p>
|
|
|
|
<h2>Licences</h2>
|
|
<p>NetBSD's sources are under the licences NetBSD names, mostly the BSD
|
|
licence. MCDE, like CDE, is under the GNU Lesser General Public License. The
|
|
packages keep the licences of their authors; pkgsrc records each one.</p>
|
|
|
|
</div>
|
|
<div class="footer">Makronix is based on <a href="https://www.NetBSD.org/">NetBSD</a>.
|
|
This site: makronix.hiddenbox.org</div>
|
|
</div>
|
|
</body>
|
|
</html>
|