aboutsummaryrefslogtreecommitdiff
path: root/user-scripts
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-11-14 22:42:47 +0000
committerNunoSempere <nuno.sempere@protonmail.com>2023-11-14 22:42:47 +0000
commita590cc708d0d57acb7c5db91bbcd8ceb74c08b39 (patch)
tree190984651fbf37e3f1be4676dc564946913386ca /user-scripts
parentc90c819268595dfd398ffa86b3c0f84bf75bf545 (diff)
check out that ubuntu 20 installation files also work with debian 12
Diffstat (limited to 'user-scripts')
-rw-r--r--user-scripts/debian-12/install-with-dependencies.sh24
-rwxr-xr-xuser-scripts/debian-12/rose-GIO_MODULE_DIR.desktop9
-rw-r--r--user-scripts/debian-12/rose-images/rose-1.pngbin0 -> 640116 bytes
-rw-r--r--user-scripts/debian-12/rose-images/rose-2.pngbin0 -> 485022 bytes
-rw-r--r--user-scripts/debian-12/rose-images/rose-desktop-icon.pngbin0 -> 756923 bytes
-rw-r--r--user-scripts/debian-12/rose-images/rose-homepage-1.6-zoom.pngbin0 -> 104014 bytes
-rw-r--r--user-scripts/debian-12/rose-images/rose-homepage-2.pngbin0 -> 145422 bytes
-rw-r--r--user-scripts/debian-12/rose-images/rose-homepage.pngbin0 -> 485022 bytes
-rw-r--r--user-scripts/debian-12/rose-images/rose-src.txt1
-rwxr-xr-xuser-scripts/debian-12/rose.desktop9
-rwxr-xr-xuser-scripts/debian-12/rose.sh3
11 files changed, 46 insertions, 0 deletions
diff --git a/user-scripts/debian-12/install-with-dependencies.sh b/user-scripts/debian-12/install-with-dependencies.sh
new file mode 100644
index 0000000..25721db
--- /dev/null
+++ b/user-scripts/debian-12/install-with-dependencies.sh
@@ -0,0 +1,24 @@
+# Key dependencies
+sudo apt install git vim gcc make
+sudo apt install libwebkit2gtk-4.0-dev
+
+# Optional adblock
+git clone https://github.com/jun7/wyebadblock
+cd wyebadblock
+sudo apt install gstreamer1.0-plugins-good gstreamer1.0-libav
+make
+sudo make install
+cd ..
+mkdir -p ~/.config/wyebadblock
+cd ~/.config/wyebadblock
+wget https://easylist.to/easylist/easylist.txt
+cd -
+
+cd ../..
+make build # or just make
+sudo make install
+
+cd -
+# Ubuntu desktop icon
+chmod +x rose.desktop
+sudo cp rose.desktop /usr/share/applications
diff --git a/user-scripts/debian-12/rose-GIO_MODULE_DIR.desktop b/user-scripts/debian-12/rose-GIO_MODULE_DIR.desktop
new file mode 100755
index 0000000..24b1dc0
--- /dev/null
+++ b/user-scripts/debian-12/rose-GIO_MODULE_DIR.desktop
@@ -0,0 +1,9 @@
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Version=1.0
+Type=Application
+Terminal=false
+Exec=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose.sh %u
+Name=Rose
+Comment=Minimalistic browser
+Icon=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png
diff --git a/user-scripts/debian-12/rose-images/rose-1.png b/user-scripts/debian-12/rose-images/rose-1.png
new file mode 100644
index 0000000..f2c546a
--- /dev/null
+++ b/user-scripts/debian-12/rose-images/rose-1.png
Binary files differ
diff --git a/user-scripts/debian-12/rose-images/rose-2.png b/user-scripts/debian-12/rose-images/rose-2.png
new file mode 100644
index 0000000..9944beb
--- /dev/null
+++ b/user-scripts/debian-12/rose-images/rose-2.png
Binary files differ
diff --git a/user-scripts/debian-12/rose-images/rose-desktop-icon.png b/user-scripts/debian-12/rose-images/rose-desktop-icon.png
new file mode 100644
index 0000000..163494f
--- /dev/null
+++ b/user-scripts/debian-12/rose-images/rose-desktop-icon.png
Binary files differ
diff --git a/user-scripts/debian-12/rose-images/rose-homepage-1.6-zoom.png b/user-scripts/debian-12/rose-images/rose-homepage-1.6-zoom.png
new file mode 100644
index 0000000..97183ac
--- /dev/null
+++ b/user-scripts/debian-12/rose-images/rose-homepage-1.6-zoom.png
Binary files differ
diff --git a/user-scripts/debian-12/rose-images/rose-homepage-2.png b/user-scripts/debian-12/rose-images/rose-homepage-2.png
new file mode 100644
index 0000000..2770c78
--- /dev/null
+++ b/user-scripts/debian-12/rose-images/rose-homepage-2.png
Binary files differ
diff --git a/user-scripts/debian-12/rose-images/rose-homepage.png b/user-scripts/debian-12/rose-images/rose-homepage.png
new file mode 100644
index 0000000..9944beb
--- /dev/null
+++ b/user-scripts/debian-12/rose-images/rose-homepage.png
Binary files differ
diff --git a/user-scripts/debian-12/rose-images/rose-src.txt b/user-scripts/debian-12/rose-images/rose-src.txt
new file mode 100644
index 0000000..30650de
--- /dev/null
+++ b/user-scripts/debian-12/rose-images/rose-src.txt
@@ -0,0 +1 @@
+<https://www.onlygfx.com/red-rose-png-image-transparent/>
diff --git a/user-scripts/debian-12/rose.desktop b/user-scripts/debian-12/rose.desktop
new file mode 100755
index 0000000..4959517
--- /dev/null
+++ b/user-scripts/debian-12/rose.desktop
@@ -0,0 +1,9 @@
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Version=1.0
+Type=Application
+Terminal=false
+Exec=/bin/rose %u
+Name=Rose
+Comment=Minimalistic browser
+Icon=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png
diff --git a/user-scripts/debian-12/rose.sh b/user-scripts/debian-12/rose.sh
new file mode 100755
index 0000000..62baac9
--- /dev/null
+++ b/user-scripts/debian-12/rose.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/ /bin/rose "$1"
+