Skip to content

Commit

Permalink
website: re-generate commons
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Jan 16, 2025
1 parent 0768b67 commit 8482c98
Show file tree
Hide file tree
Showing 12 changed files with 103 additions and 183 deletions.
4 changes: 2 additions & 2 deletions website/blog/_common/_prerequisites-glib-2.27.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

## Prerequisites

- x64 macOS: 10.13 or later
- arm64 macOS: 11.6 or later
- x64 GNU/Linux: any system with **GLIBC 2.27** or higher
(like Ubuntu 18 or later, Debian 10 or later, RedHat 8 or later,
Fedora 29 or later, etc)
- arm64/arm GNU/Linux: any system with **GLIBC 2.27** or higher
(like Raspberry Pi OS, Ubuntu 18 or later, Debian 10 or later,
RedHat 8 or later, Fedora 29 or later, etc)
- x64 macOS: 10.13 or later
- arm64 macOS: 11.6 or later
4 changes: 2 additions & 2 deletions website/docs/developer/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ For building the binary xPack executables, there is one configuration
for each platform:


- `darwin-x64`
- `darwin-arm64`
- `linux-x64`
- `linux-arm64`
- `linux-arm`
- `darwin-x64`
- `darwin-arm64`

:::note

Expand Down
4 changes: 2 additions & 2 deletions website/docs/getting-started/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import ReleaseSchedule from './_release-schedule.mdx'
## Overview

**xPack GNU bison** is a
standalone, cross-platform (GNU/Linux, macOS) binary
standalone, cross-platform (macOS, GNU/Linux) binary
distribution of GNU bison,
aimed at reproducible builds.

Expand Down Expand Up @@ -166,7 +166,7 @@ The main advantages of using the **xPack GNU bison** are:

- A convenient, uniform and portable install/uninstall/upgrade
procedure; the same procedure is used for all major
platforms (**x64 GNU/Linux**, **arm64 GNU/Linux**, **arm GNU/Linux**, **x64 macOS**, **arm64 macOS**).
platforms (**x64 macOS**, **arm64 macOS**, **x64 GNU/Linux**, **arm64 GNU/Linux**, **arm GNU/Linux**).
- Multiple versions of the same package can be installed at the same time on
the same system.
- No need to worry about dependent libraries, they are all included.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ To check if the {props.appName} installed by **xpm** starts properly, use someth

<Tabs groupId="operating-systems">

<TabItem value="linux" label="GNU/Linux">
<TabItem value="macos" label="macOS">

<CodeBlock language="console"> {
`$ ~/.local/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version
`% ~/Library/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version
${props.branding}${customField('upstreamVersion')}
`} </CodeBlock>

</TabItem>

<TabItem value="macos" label="macOS">
<TabItem value="linux" label="GNU/Linux">

<CodeBlock language="console"> {
`% ~/Library/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version
`$ ~/.local/xPacks/@xpack-dev-tools/${props.appLcName}/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin/${props.programName} --version
${props.branding}${customField('upstreamVersion')}
`} </CodeBlock>

Expand Down
8 changes: 4 additions & 4 deletions website/docs/install/_common/_manual-install-quick-test.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ To check if the {props.appName} installed manually starts properly, use somethin

<Tabs groupId="operating-systems">

<TabItem value="linux" label="GNU/Linux">
<TabItem value="macos" label="macOS">

<CodeBlock language="console"> {
`$ ~/.local/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version
`% ~/Library/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version
${props.branding}${customField('upstreamVersion')}
`} </CodeBlock>

</TabItem>

<TabItem value="macos" label="macOS">
<TabItem value="linux" label="GNU/Linux">

<CodeBlock language="console"> {
`% ~/Library/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version
`$ ~/.local/xPacks/${props.appLcName}/xpack-${props.appLcName}-${customField('xpackVersion')}/bin/${props.programName} --version
${props.branding}${customField('upstreamVersion')}
`} </CodeBlock>

Expand Down
64 changes: 32 additions & 32 deletions website/docs/install/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ To install a **specific version**, specify it explicitly:

<Tabs groupId="operating-systems">

<TabItem value="linux" label="GNU/Linux">
<TabItem value="macos" label="macOS">

The main result is a set
of links in
Expand All @@ -274,7 +274,7 @@ export PATH=<...project-path...>/xpacks/.bin:$PATH

</TabItem>

<TabItem value="macos" label="macOS">
<TabItem value="linux" label="GNU/Linux">

The main result is a set
of links in
Expand Down Expand Up @@ -402,18 +402,18 @@ the project build configurations need a PATH adjustment:

<Tabs groupId="operating-systems">

<TabItem value="linux" label="GNU/Linux">
<TabItem value="macos" label="macOS">

<CodeBlock language="sh"> {
`export PATH=$HOME/.local/xPacks/@xpack-dev-tools/bison/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin:$PATH
`export PATH=$HOME/Library/xPacks/\@pack-dev-tools/bison/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin:$PATH
`} </CodeBlock>

</TabItem>

<TabItem value="macos" label="macOS">
<TabItem value="linux" label="GNU/Linux">

<CodeBlock language="sh"> {
`export PATH=$HOME/Library/xPacks/\@pack-dev-tools/bison/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin:$PATH
`export PATH=$HOME/.local/xPacks/@xpack-dev-tools/bison/${customField('xpackVersion')}.${customField('npmSubversion')}/.content/bin:$PATH
`} </CodeBlock>

</TabItem>
Expand Down Expand Up @@ -458,17 +458,17 @@ For a thorough clean-up, please note that **xpm** uses only two folders:

<Tabs groupId="operating-systems">

<TabItem value="linux" label="GNU/Linux">
<TabItem value="macos" label="macOS">

- `${HOME}/.local/xPacks`
- `${HOME}/.cache/xPacks`
- `${HOME}/Library/xPacks`
- `${HOME}/Library/Caches/xPacks`

</TabItem>

<TabItem value="macos" label="macOS">
<TabItem value="linux" label="GNU/Linux">

- `${HOME}/Library/xPacks`
- `${HOME}/Library/Caches/xPacks`
- `${HOME}/.local/xPacks`
- `${HOME}/.cache/xPacks`

</TabItem>

Expand Down Expand Up @@ -496,13 +496,13 @@ the <a href={`https://github.com/xpack-dev-tools/bison-xpack/releases/`}>GitHub

<Tabs groupId="operating-systems">

<TabItem value="linux" label="GNU/Linux">
<TabItem value="macos" label="macOS">

The GNU/Linux versions of **xPack GNU bison**
The macOS versions of **xPack GNU bison**
are packed as `.tar.gz` archives.
Download the latest version named like:

- <code>xpack-bison-{customField('xpackVersion')}-linux-x64.tar.gz</code>- <code>xpack-bison-{customField('xpackVersion')}-linux-arm64.tar.gz</code>- <code>xpack-bison-{customField('xpackVersion')}-linux-arm.tar.gz</code>
- <code>xpack-bison-{customField('xpackVersion')}-darwin-x64.tar.gz</code>- <code>xpack-bison-{customField('xpackVersion')}-darwin-arm64.tar.gz</code>

:::note

Expand All @@ -515,26 +515,26 @@ To manually install the <b>xPack GNU bison</b>,
unpack the archive and move it to a location of your choice.

The recommended location is
the <code>~/.local/xPacks/bison</code> folder, for
example <code>/home/ilg/.local/xPacks/bison/xpack-bison-{customField('xpackVersion')}</code>:
the <code>~/Library/xPacks/bison</code> folder, for
example <code>/Users/ilg/Library/xPacks/bison/xpack-bison-{customField('xpackVersion')}</code>:

<CodeBlock language="console"> {
`mkdir -p ~/.local/xPacks/bison
cd ~/.local/xPacks/bison
`mkdir -p ~/Library/xPacks/bison
cd ~/Library/xPacks/bison
tar xvf ~/Downloads/xpack-bison-${customField('xpackVersion')}-linux-x64.tar.gz
tar xvf ~/Downloads/xpack-bison-${customField('xpackVersion')}-darwin-x64.tar.gz
chmod -R -w xpack-bison-${customField('xpackVersion')}
`} </CodeBlock>

</TabItem>

<TabItem value="macos" label="macOS">
<TabItem value="linux" label="GNU/Linux">

The macOS versions of **xPack GNU bison**
The GNU/Linux versions of **xPack GNU bison**
are packed as `.tar.gz` archives.
Download the latest version named like:

- <code>xpack-bison-{customField('xpackVersion')}-darwin-x64.tar.gz</code>- <code>xpack-bison-{customField('xpackVersion')}-darwin-arm64.tar.gz</code>
- <code>xpack-bison-{customField('xpackVersion')}-linux-x64.tar.gz</code>- <code>xpack-bison-{customField('xpackVersion')}-linux-arm64.tar.gz</code>- <code>xpack-bison-{customField('xpackVersion')}-linux-arm.tar.gz</code>

:::note

Expand All @@ -547,14 +547,14 @@ To manually install the <b>xPack GNU bison</b>,
unpack the archive and move it to a location of your choice.

The recommended location is
the <code>~/Library/xPacks/bison</code> folder, for
example <code>/Users/ilg/Library/xPacks/bison/xpack-bison-{customField('xpackVersion')}</code>:
the <code>~/.local/xPacks/bison</code> folder, for
example <code>/home/ilg/.local/xPacks/bison/xpack-bison-{customField('xpackVersion')}</code>:

<CodeBlock language="console"> {
`mkdir -p ~/Library/xPacks/bison
cd ~/Library/xPacks/bison
`mkdir -p ~/.local/xPacks/bison
cd ~/.local/xPacks/bison
tar xvf ~/Downloads/xpack-bison-${customField('xpackVersion')}-darwin-x64.tar.gz
tar xvf ~/Downloads/xpack-bison-${customField('xpackVersion')}-linux-x64.tar.gz
chmod -R -w xpack-bison-${customField('xpackVersion')}
`} </CodeBlock>

Expand All @@ -580,15 +580,15 @@ After install, the package creates a hierarchy of folders like the following

<Tabs groupId="operating-systems">

<TabItem value="linux" label="GNU/Linux">
<TabItem value="macos" label="macOS">

<FoldersHierarchiesLinux />
<FoldersHierarchiesMacOS />

</TabItem>

<TabItem value="macos" label="macOS">
<TabItem value="linux" label="GNU/Linux">

<FoldersHierarchiesMacOS />
<FoldersHierarchiesLinux />

</TabItem>

Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8482c98

Please sign in to comment.