From 7ad3e023f8278c7e6803184ca760a3c181c3daa9 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sat, 17 Dec 2022 20:33:37 +0100 Subject: tweak: add user scripts to get this running on ubuntu 20.04 I thought these might be useful. Feel free to not accept them, though --- .../ubuntu-20.04/install-with-dependencies.sh | 23 +++++++++++++++++++++ user-scripts/ubuntu-20.04/rose-images/rose-1.png | Bin 0 -> 640116 bytes user-scripts/ubuntu-20.04/rose-images/rose-2.png | Bin 0 -> 485022 bytes .../ubuntu-20.04/rose-images/rose-desktop-icon.png | Bin 0 -> 756923 bytes .../ubuntu-20.04/rose-images/rose-homepage.png | Bin 0 -> 485022 bytes user-scripts/ubuntu-20.04/rose-images/rose-src.txt | 1 + user-scripts/ubuntu-20.04/rose.desktop | 9 ++++++++ 7 files changed, 33 insertions(+) create mode 100644 user-scripts/ubuntu-20.04/install-with-dependencies.sh create mode 100644 user-scripts/ubuntu-20.04/rose-images/rose-1.png create mode 100644 user-scripts/ubuntu-20.04/rose-images/rose-2.png create mode 100644 user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png create mode 100644 user-scripts/ubuntu-20.04/rose-images/rose-homepage.png create mode 100644 user-scripts/ubuntu-20.04/rose-images/rose-src.txt create mode 100755 user-scripts/ubuntu-20.04/rose.desktop (limited to 'user-scripts') diff --git a/user-scripts/ubuntu-20.04/install-with-dependencies.sh b/user-scripts/ubuntu-20.04/install-with-dependencies.sh new file mode 100644 index 0000000..b4ce72d --- /dev/null +++ b/user-scripts/ubuntu-20.04/install-with-dependencies.sh @@ -0,0 +1,23 @@ +# Dependencies +sudo apt install libwebkit2gtk-4.0-dev +sudo apt install clang +# sudo apt instal sudo apt install gstreamer1.0-plugins-good gstreamer1.0-libav + +# Adblock +git clone https://github.com/jun7/wyebadblock +cd wyebadblock +make +sudo make install +cd .. + +# Rose config +user=$(whoami) +mkdir -p /home/$user/.cache/rose +cp ../../config.def.h ../../config.h # you should also probably customize this yourself. +sed "s/fenze/$user/g" ../../config.h + +sudo bash ../../install.sh + +# Ubuntu desktop icon +chmod +x rose.desktop +sudo cp rose.desktop /usr/share/applications diff --git a/user-scripts/ubuntu-20.04/rose-images/rose-1.png b/user-scripts/ubuntu-20.04/rose-images/rose-1.png new file mode 100644 index 0000000..f2c546a Binary files /dev/null and b/user-scripts/ubuntu-20.04/rose-images/rose-1.png differ diff --git a/user-scripts/ubuntu-20.04/rose-images/rose-2.png b/user-scripts/ubuntu-20.04/rose-images/rose-2.png new file mode 100644 index 0000000..9944beb Binary files /dev/null and b/user-scripts/ubuntu-20.04/rose-images/rose-2.png differ diff --git a/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png b/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png new file mode 100644 index 0000000..163494f Binary files /dev/null and b/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png differ diff --git a/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png b/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png new file mode 100644 index 0000000..9944beb Binary files /dev/null and b/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png differ diff --git a/user-scripts/ubuntu-20.04/rose-images/rose-src.txt b/user-scripts/ubuntu-20.04/rose-images/rose-src.txt new file mode 100644 index 0000000..30650de --- /dev/null +++ b/user-scripts/ubuntu-20.04/rose-images/rose-src.txt @@ -0,0 +1 @@ + diff --git a/user-scripts/ubuntu-20.04/rose.desktop b/user-scripts/ubuntu-20.04/rose.desktop new file mode 100755 index 0000000..42e7f43 --- /dev/null +++ b/user-scripts/ubuntu-20.04/rose.desktop @@ -0,0 +1,9 @@ +#!/usr/bin/env xdg-open +[Desktop Entry] +Version=1.0 +Type=Application +Terminal=false +Exec= /usr/bin/rose +Name=Rose +Comment=Minimalistic browser +Icon=/home/loki/Documents/core/software/fresh/C/rose-browser/rose-bud-personal/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png -- cgit v1.2.3