Compare commits

..

20 Commits
v1.0 ... main

Author SHA1 Message Date
everest
2171f58bad
Update README.md 2022-04-28 13:58:27 +00:00
everest
43447cdfe8
Update README.md 2022-03-10 15:24:15 +00:00
everest
ffca31cfa1
Update INSTALL.sh 2022-03-07 21:27:59 +00:00
everest
8a7acc69a1
Update INSTALL.sh 2022-03-07 21:26:58 +00:00
everest
4df8cb9adc
Create UNINSTALL.sh 2022-03-07 21:26:41 +00:00
everest
283da1b4ef
Create UPDATE.sh 2022-03-07 21:24:16 +00:00
everest
95d63e9966
Update README.md 2022-03-07 21:17:41 +00:00
everest
3b6e56cf28
Delete Makefile 2022-03-07 21:14:16 +00:00
everest
d6bcd76955
Update README.md 2022-03-07 21:13:26 +00:00
everest
5e269087a2
Update INSTALL.sh 2022-03-07 17:51:36 +00:00
everest
3407211c08
Update INSTALL.sh 2022-03-07 17:50:38 +00:00
everest
c47eb9cfec
Update INSTALL.sh 2022-03-07 17:48:39 +00:00
everest
7878503100
Update sherpa.c 2022-03-07 17:42:43 +00:00
everest
3449fa6d4f
Update INSTALL.sh 2022-03-07 17:40:13 +00:00
everest
73c6820305
Update INSTALL.sh 2022-03-07 17:34:59 +00:00
everest
b91510fb8e
Update INSTALL.sh 2022-03-07 17:33:12 +00:00
everest
8a0f46e772
Update INSTALL.sh 2022-03-07 17:32:05 +00:00
everest
0595f5ff24
Update INSTALL.sh 2022-03-07 17:30:18 +00:00
everest
19a66d3c3b
Update INSTALL.sh 2022-03-07 17:28:06 +00:00
everest
764bcb6628
Create INSTALL.sh 2022-03-07 17:25:48 +00:00
6 changed files with 98 additions and 29 deletions

18
INSTALL.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/sh
# Sherpa installation script
# This script compiles the Sherpa source files into executable binaries, and moves them into their appropriate locations
echo "Compiling Sherpa..."
gcc -O2 -Wall $(pkg-config --cflags vte-2.91) sherpa.c -o sherpa $(pkg-config --libs vte-2.91) # Compile main Sherpa binary
echo "CC sherpa.c"
mv sherpa /usr/bin
echo "+---------------------------------------------------+"
echo "| Sherpa was successfully installed. |"
echo "| To update Sherpa, run the UPDATE.sh script. |"
echo "| To uninstall Sherpa, run the UNINSTALL.sh script. |"
echo "+---------------------------------------------------+"
# //
# //
# //
# //
# //

View File

@ -1,15 +0,0 @@
sherpa: sherpa.c
$(CC) sherpa.c -o sherpa -O2 -Wall
CPPFLAGS=$$(pkg-config --cflags vte-2.9.1)
printf("Building executable [|]")
printf("Building executable [/]")
printf("Building executable [-]")
printf("Building executable [\]")
printf("Building executable [|]")
mv ./sherpa /usr/bin
printf("Installing [|]")
printf("Installing [/]")
printf("Installing [-]")
printf("Installing [\]")
printf("Installing [|]")
printf("Finished installing")

View File

@ -6,13 +6,47 @@ The simplest terminal around
Sherpa is a lightweight terminal for Linux. Developed for Everest Linux. Provides a strong baseline for customization. Sherpa is a lightweight terminal for Linux. Developed for Everest Linux. Provides a strong baseline for customization.
**Installation** **Installing**
Download one of the precompiled binaries on the releases page Sherpa is available in the official Glacier repository. To install, run `glacier-install` and enter `sherpa` when prompted.
**OR** If you wish to compile yourself, follow the steps below:
Clone this reository to /tmp, then run: `gcc -O2 -Wall $(pkg-config --cflags vte-2.91) sherpa.c -o sherpa $(pkg-config --libs vte-2.91)` to compile the main executable. Run `gcc -O2 -Wall sherpa-version.c` to compile the version script (optional), then move the executable to /usr/bin by running: `sudo mv /path/to/executable /usr/bin`. Do the same with the version script (you must rename it first) Clone the repository to /tmp `cd /tmp && git clone https://github.com/everest-linux/sherpa`
Change directory into the sherpa folder `cd sherpa`
Mark INSTALL.sh as executable `chmod +x INSTALL.sh`
Run INSTALL.sh as root `sudo ./INSTALL.sh`
**Updating**
Sherpa is available in the official Glacier repository. To update, run `glacier-update` and enter `sherpa` when prompted.
If you wish to update manually, follow the steps below:
Clone the repository to /tmp `cd /tmp && git clone https://github.com/everest-linux/sherpa`
Change directory into the sherpa folder `cd sherpa`
Mark UPDATE.sh as executable `chmod +x UPDATE.sh`
Run UPDATE.sh as root `sudo ./UPDATE.sh`
**Uninstalling**
Sherpa is available in the official Glacier repository. To remove, run `glacier-remove` and enter `sherpa` when prompted.
If you wish to uninstall manually, follow the steps below:
Clone the repository to /tmp `cd /tmp && git clone https://github.com/everest-linux/sherpa`
directory into the sherpa folder `cd sherpa`
Mark UNINSTALL.sh as executable `chmod +x UNINSTALL.sh`
Run UNINSTALL.sh as root `sudo ./UNINSTALL.sh`
**Features** **Features**
@ -20,8 +54,8 @@ Lightweight terminal emulator out of the box
Strong base to customize Strong base to customize
Less lines of code than most terminal emulators (including st) Utilizes powerful VTE library
**Notes** **Notes**
Runs on any GTK capable system. This includes KDE Plasma. pywal is recommended for easy customization.

15
UNINSTALL.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/sh
# Sherpa uninstallation script
# This script uninstalls sherpa from the system.
echo "Uninstalling sherpa..."
rm /usr/bin/sherpa
echo "rm /usr/bin/sherpa"
echo "+----------------------------------------------+"
echo "| Sherpa was uninstalled successfully. |"
echo "+----------------------------------------------+"
# //
# //
# //
# //
# //

17
UPDATE.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/sh
# Sherpa update script
# This script compiles the Sherpa source files into executable binaries, removes the outdated binaries, and replaces them with the updated binaries
echo "Updating Sherpa..."
gcc -O2 -Wall $(pkg-config --cflags vte-2.91) sherpa.c -o sherpa $(pkg-config --libs vte-2.91) # Compile main Sherpa binary
echo "CC sherpa.c"
rm /usr/bin/sherpa
mv sherpa /usr/bin
echo "+----------------------------------------------+"
echo "| Sherpa has been succesfully updated. |"
echo "+----------------------------------------------+"
# //
# //
# //
# //
# //

View File

@ -1,13 +1,13 @@
// Sherpa Terminal Emulator // // Sherpa Terminal Emulator //
// This program is licensed under the GNU GPL 3.0, which provides absolutely NO WARRANTY // // This program is licensed under the GNU GPL 3.0, which provides absolutely NO WARRANTY //
__________________ // __________________ //
| | // | | //
| // | // | // | //
| // | // | // | //
| // | // | // | //
| // | // | // | //
| // | // | // | //
|________________| // |________________| //
#include <vte/vte.h> #include <vte/vte.h>