Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more linux instructions and fix + add to flatpak inst. building #309

Merged
merged 45 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
07f47d2
add slackware instructions
LackingCats Jun 17, 2023
02f7669
fix lint
LackingCats Jun 17, 2023
b897b72
ALT Linux instructions
LackingCats Jun 17, 2023
d924555
add aosc
LackingCats Jun 17, 2023
c774a4a
Merge branch 'PrismLauncher:main' into instructions
LackingCats Jun 24, 2023
cabb664
fix flatpak build instructions
LackingCats Jun 24, 2023
5731c38
Merge branch 'PrismLauncher:main' into instructions
LackingCats Jul 2, 2023
9b80609
Update linux.md
LackingCats Jul 2, 2023
f8c4848
Update linux.md
LackingCats Jul 2, 2023
6fdcf31
Update linux.md
LackingCats Jul 2, 2023
f854f7a
testing local links
LackingCats Jul 2, 2023
2a13fad
oop
LackingCats Jul 2, 2023
8a651d4
Merge pull request #10 from LackingCats/LackingCats-patch-1
LackingCats Jul 2, 2023
bc00784
forgor .md
LackingCats Jul 2, 2023
f159a6c
nvm i was right the first time, link works in website but not on gith…
LackingCats Jul 2, 2023
0b4da0e
flatpak git building
LackingCats Jul 2, 2023
3ddca6d
flatpak note
LackingCats Jul 2, 2023
7b78f4a
Merge branch 'PrismLauncher:main' into instructions
LackingCats Jul 2, 2023
0d5080c
fix lint (?)_
LackingCats Jul 2, 2023
51431d1
clarity + bracketception
LackingCats Jul 2, 2023
9c24a48
Update build-instructions.md
LackingCats Jul 2, 2023
9cfad0e
grammar ._.
LackingCats Jul 3, 2023
59e6ea1
added newline
LackingCats Jul 3, 2023
80671ec
Update src/wiki/development/build-instructions.md
LackingCats Jul 3, 2023
aeac208
HEAVY simplification of flatpak building instructions
LackingCats Jul 3, 2023
d65d1fe
add dropdown w/ warning
LackingCats Jul 3, 2023
182711b
no title :(
LackingCats Jul 3, 2023
ae67e51
fix funny maybe
LackingCats Jul 3, 2023
6d4fbbc
Merge branch 'PrismLauncher:main' into instructions
LackingCats Jul 4, 2023
b25fe1a
update notice
LackingCats Jul 4, 2023
5ce62ae
Merge branch 'PrismLauncher:main' into instructions
LackingCats Jul 7, 2023
e0785ab
remove down menu
LackingCats Jul 7, 2023
31efc81
grandma
LackingCats Jul 8, 2023
28619c0
Merge branch 'PrismLauncher:main' into instructions
LackingCats Aug 15, 2023
c1df2f8
Merge branch 'PrismLauncher:main' into instructions
LackingCats Jan 17, 2024
c226ec9
fix lint + apply changes
LackingCats Jan 17, 2024
fb11a24
Merge branch 'PrismLauncher:main' into instructions
LackingCats Mar 27, 2024
66f9c1e
add additional buildtime requirements
LackingCats Mar 27, 2024
850a39c
build req.
LackingCats Mar 27, 2024
346ac6b
build req
LackingCats Mar 27, 2024
b65ef8c
build req
LackingCats Mar 27, 2024
8a27e1b
Merge branch 'PrismLauncher:main' into instructions
LackingCats Apr 4, 2024
0cd7e16
add jdk21
LackingCats Apr 4, 2024
f73abd2
Merge branch 'PrismLauncher:main' into instructions
LackingCats May 16, 2024
5ce4a5f
Merge branch 'main' of github.com:PrismLauncher/prismlauncher.org int…
Trial97 Jul 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions src/download/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,29 @@ apk add prismlauncher

<div class="infobox top">

# <img src="https://cdn.freebiesupply.com/logos/large/2x/altlinux-logo-black-and-white.png" height="20"> ALT Linux / <img src="https://static-00.iconduck.com/assets.00/aosc-icon-512x512-tv7gwhzl.png" height="20"> AOSC

Prism Launcher in both distributions may be behind the current version, so please check the version of Prism Launcher in the repositories before installing. See the dropdown menu for details.
LackingCats marked this conversation as resolved.
Show resolved Hide resolved
If the launcher is out-of-date, please install the [flatpak](https://flathub.org/apps/details/org.prismlauncher.PrismLauncher) or [build the binary](/wiki/development/build-instructions/#linux) yourself.

<details>

<summary>Advanced - Use at Own Risk</summary>

RPM Packages for ALT Linux on versions [sisyphus](https://packages.altlinux.org/en/sisyphus/srpms/prismlauncher/) and [p10](https://packages.altlinux.org/en/p10/srpms/prismlauncher/) are available for multiple architectures. [Prism Launcher](https://packages.aosc.io/packages/prismlauncher) is also available on AOSC.

Please be warned that versions of PrismLauncher prior to 7.0 have high security vulnerabilities ([GHSA-gq28-qx55-mh2r](https://github.com/PrismLauncher/PrismLauncher/security/advisories/GHSA-gq28-qx55-mh2r) and [GHSA-wxgx-8v36-mj2m](https://github.com/PrismLauncher/PrismLauncher/security/advisories/GHSA-wxgx-8v36-mj2m)), so use these packages at your own risk.

```bash
sudo apt install prismlauncher
```

</details>

</div>

<div class="infobox top">

# <img src="https://www.vectorlogo.zone/logos/archlinux/archlinux-icon.svg" height="20"/> Arch Linux / <img src="https://upload.wikimedia.org/wikipedia/commons/3/3e/Manjaro-logo.svg" height="20"/> Manjaro

There are several AUR packages available:
Expand Down Expand Up @@ -241,6 +264,33 @@ zypper install prismlauncher-qt5-nightly

<div class="infobox top">

# <img src="https://upload.wikimedia.org/wikipedia/commons/3/34/Slackware_logo.svg" height="20"> Slackware

Prism Launcher is available on [SlackBuilds](https://slackbuilds.org/repository/15.0/games/PrismLauncher/) maintained by Samuel Young. The package is only available for Slackware version 15.0 (currently)!

*Note: You may need to edit the ```PrismLauncher.SlackBuild``` file and change the VERSION variable to reflect that of the source code, although it is better if you wait for the maintainer to update the SlackBuild file.*
LackingCats marked this conversation as resolved.
Show resolved Hide resolved

```bash
# download launcher slackbuild archive
wget https://slackbuilds.org/slackbuilds/15.0/games/PrismLauncher.tar.gz
# extract archive
tar -xpvf PrismLauncher.tar.gz; cd PrismLauncher-*
# download source specified in PrismLauncher.info, for example for version 7.1:
wget https://github.com/PrismLauncher/PrismLauncher/releases/download/7.1/PrismLauncher-7.1.tar.gz
# verify integrity
md5sum PrismLauncher-*.tar.gz # compare the result with the md5 in PrismLauncher.info
# enter root environment and grant permissions
su -l; chmod +x PrismLauncher.SlackBuild
# build package
./PrismLauncher.SlackBuild
# install package (name dependent on version, cpu arch)
cd /tmp; installpkg PrismLauncher-*.tgz
```

</div>

<div class="infobox top">

# <img src="https://bitcu.co/en/wp-content/uploads/2020/07/Void_Linux_logo.svg_.png" height="20"> Void Linux

Prism Launcher is available on the official Void repository.
Expand Down
15 changes: 13 additions & 2 deletions src/wiki/development/build-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,27 @@ The path to the .rpm packages will be printed once the build is complete.

### Building a Flatpak

You don't need to clone the entire Prism Launcher repo for this; the Flatpak file handles that.
You don't need to clone the entire Prism Launcher repo for the latest stable version; the Flatpak file handles that. However, cloning the source repository is necessary to build from the latest commit (contains upstream manifest).
Both `flatpak` and `flatpak-builder` must be installed on your system to proceed.

#### Latest Stable Release

```bash
git clone https://github.com/flathub/org.prismlauncher.PrismLauncher
git clone --recursive https://github.com/flathub/org.prismlauncher.PrismLauncher
cd org.prismlauncher.PrismLauncher
# remove --user --install if you want to build without installing
flatpak-builder --user --install flatbuild org.prismlauncher.PrismLauncher.yml
```

#### Latest Commit
LackingCats marked this conversation as resolved.
Show resolved Hide resolved

```bash
git clone --recursive https://github.com/prismlauncher/PrismLauncher # source repo - contains upstream manifest
cd PrismLauncher/flatpak
# remove --user --install if you want to build without installing
flatpak-builder --user --install flatbuild org.prismlauncher.PrismLauncher.yml
```

### Installing Qt using the installer (optional)

1. Run the Qt installer.
Expand Down