README.md: update Makefile: add install-deps Signed-off-by: unexplrd <unexplrd@linerds.us>
52 lines
1.8 KiB
Markdown
52 lines
1.8 KiB
Markdown
<div align="center">
|
|
<p align="center">
|
|
<p align="center">
|
|
<h3 align="center">Packet Tracer Flatpak</h3>
|
|
<p align="center">
|
|
A Flatpak manifest for Cisco's Packet Tracer.
|
|
</p>
|
|
</p>
|
|
</p>
|
|
</div>
|
|
|
|
## About
|
|
|
|
This is a fork of [Flatpak manifest](https://github.com/losuler/com.cisco.PacketTracer) for [Cisco's Packet Tracer](https://www.netacad.com/courses/packet-tracer). The Deb package in which Cisco distributes their binary build of Packet Tracer is not included as the download link for and use of Packet Tracer itself requires a Netacad account, which can be bypassed with disabled networking.
|
|
|
|
## Changes from upstream
|
|
- Manifest changes:
|
|
- Updated platforms (from 22.08 to 24.08)
|
|
- Restricted permissions on network and filesystem (xdg-download/packettracer instead of xdg-download)
|
|
- Added `QT_QPA_PLATFORM=xcb` envvar
|
|
- Makefile changes:
|
|
- Added `install-deps` option
|
|
|
|
|
|
This is currently based on Packet Tracer 8.2.1 and is intended to track the latest release. For previous releases see [janymal/PacketTracer7-flatpak](https://github.com/janymal/PacketTracer7-flatpak) and [rpallai/flatpak-pt](https://github.com/rpallai/flatpak-pt).
|
|
|
|
## Building
|
|
|
|
1. Clone this repository.
|
|
|
|
```bash
|
|
git clone https://gitea.linerds.us/unexplrd/com.cisco.PacketTracer
|
|
```
|
|
|
|
2. Download the official Deb package to the cloned repository (don't rename it).
|
|
|
|
https://skillsforall.com/resources/lab-downloads
|
|
|
|
3. Pull dependencies and run build with Nix:
|
|
|
|
```bash
|
|
nix-shell -p flatpak-builder appstream gnumake --run 'make install'
|
|
```
|
|
or
|
|
```bash
|
|
nix shell nixpkgs#{flatpak-builder,appstream,gnumake} -c make install
|
|
```
|
|
|
|
## Notes
|
|
|
|
- Do not remove the `.flatpak-builder` directory that is created during the build (while the Flatpak is installed) as it serves as the local Flatpak repository.
|