From ca59138a2aef96960381f986b8c683634e4d8e63 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 28 Mar 2023 11:18:54 -0600 Subject: tweak: move things around --- extra/screenshots/1-startup.png | Bin 0 -> 262932 bytes extra/screenshots/2-blog.png | Bin 0 -> 546534 bytes extra/screenshots/3-multiple-tabs.png | Bin 0 -> 175909 bytes extra/screenshots/4-money-stuff-raw.png | Bin 0 -> 255892 bytes extra/screenshots/5-money-stuff-readability.png | Bin 0 -> 203170 bytes .../artifacts/compile_flags/compile_flags.txt | 27 +++++++++++ .../artifacts/compile_flags/get-compile-flags.sh | 5 ++ extra/user-scripts/styles/images/style-nuno.png | Bin 0 -> 182500 bytes .../user-scripts/styles/images/style-original.png | Bin 0 -> 178824 bytes extra/user-scripts/styles/style-nuno.css | 52 +++++++++++++++++++++ extra/user-scripts/styles/style-original.css | 37 +++++++++++++++ .../ubuntu-20.04/install-with-dependencies.sh | 27 +++++++++++ .../ubuntu-20.04/rose-images/rose-1.png | Bin 0 -> 640116 bytes .../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 .../ubuntu-20.04/rose-images/rose-src.txt | 1 + extra/user-scripts/ubuntu-20.04/rose.desktop | 9 ++++ extra/user-scripts/valgrind-notes.md | 9 ++++ 19 files changed, 167 insertions(+) create mode 100644 extra/screenshots/1-startup.png create mode 100644 extra/screenshots/2-blog.png create mode 100644 extra/screenshots/3-multiple-tabs.png create mode 100644 extra/screenshots/4-money-stuff-raw.png create mode 100644 extra/screenshots/5-money-stuff-readability.png create mode 100644 extra/user-scripts/artifacts/compile_flags/compile_flags.txt create mode 100644 extra/user-scripts/artifacts/compile_flags/get-compile-flags.sh create mode 100644 extra/user-scripts/styles/images/style-nuno.png create mode 100644 extra/user-scripts/styles/images/style-original.png create mode 100644 extra/user-scripts/styles/style-nuno.css create mode 100644 extra/user-scripts/styles/style-original.css create mode 100644 extra/user-scripts/ubuntu-20.04/install-with-dependencies.sh create mode 100644 extra/user-scripts/ubuntu-20.04/rose-images/rose-1.png create mode 100644 extra/user-scripts/ubuntu-20.04/rose-images/rose-2.png create mode 100644 extra/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png create mode 100644 extra/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png create mode 100644 extra/user-scripts/ubuntu-20.04/rose-images/rose-src.txt create mode 100755 extra/user-scripts/ubuntu-20.04/rose.desktop create mode 100644 extra/user-scripts/valgrind-notes.md (limited to 'extra') diff --git a/extra/screenshots/1-startup.png b/extra/screenshots/1-startup.png new file mode 100644 index 0000000..1691ee6 Binary files /dev/null and b/extra/screenshots/1-startup.png differ diff --git a/extra/screenshots/2-blog.png b/extra/screenshots/2-blog.png new file mode 100644 index 0000000..ceb423e Binary files /dev/null and b/extra/screenshots/2-blog.png differ diff --git a/extra/screenshots/3-multiple-tabs.png b/extra/screenshots/3-multiple-tabs.png new file mode 100644 index 0000000..2d60c9d Binary files /dev/null and b/extra/screenshots/3-multiple-tabs.png differ diff --git a/extra/screenshots/4-money-stuff-raw.png b/extra/screenshots/4-money-stuff-raw.png new file mode 100644 index 0000000..2b8c959 Binary files /dev/null and b/extra/screenshots/4-money-stuff-raw.png differ diff --git a/extra/screenshots/5-money-stuff-readability.png b/extra/screenshots/5-money-stuff-readability.png new file mode 100644 index 0000000..d9afdbd Binary files /dev/null and b/extra/screenshots/5-money-stuff-readability.png differ diff --git a/extra/user-scripts/artifacts/compile_flags/compile_flags.txt b/extra/user-scripts/artifacts/compile_flags/compile_flags.txt new file mode 100644 index 0000000..7fd8daf --- /dev/null +++ b/extra/user-scripts/artifacts/compile_flags/compile_flags.txt @@ -0,0 +1,27 @@ +-I/usr/include/webkitgtk-4.0 +-I/usr/include/glib-2.0 +-I/usr/lib/glib-2.0/include +-I/usr/include/sysprof-4 +-I/usr/include/gtk-3.0 +-I/usr/include/pango-1.0 +-I/usr/include/harfbuzz +-I/usr/include/freetype2 +-I/usr/include/libpng16 +-I/usr/include/libmount +-I/usr/include/blkid +-I/usr/include/fribidi +-I/usr/include/cairo +-I/usr/include/lzo +-I/usr/include/pixman-1 +-I/usr/include/gdk-pixbuf-2.0 +-I/usr/include/gio-unix-2.0 +-I/usr/include/cloudproviders +-I/usr/include/atk-1.0 +-I/usr/include/at-spi2-atk/2.0 +-I/usr/include/at-spi-2.0 +-I/usr/include/dbus-1.0 +-I/usr/lib/dbus-1.0/include +-I/usr/include/libsoup-2.4 +-I/usr/include/libxml2 +-pthread + diff --git a/extra/user-scripts/artifacts/compile_flags/get-compile-flags.sh b/extra/user-scripts/artifacts/compile_flags/get-compile-flags.sh new file mode 100644 index 0000000..aaa9e01 --- /dev/null +++ b/extra/user-scripts/artifacts/compile_flags/get-compile-flags.sh @@ -0,0 +1,5 @@ +DEPS='webkit2gtk-4.0' +INCS=`pkg-config --cflags ${DEPS}` +LIBS=`pkg-config --libs ${DEPS}` +echo $INCS +echo $LIBS diff --git a/extra/user-scripts/styles/images/style-nuno.png b/extra/user-scripts/styles/images/style-nuno.png new file mode 100644 index 0000000..e9e6bbe Binary files /dev/null and b/extra/user-scripts/styles/images/style-nuno.png differ diff --git a/extra/user-scripts/styles/images/style-original.png b/extra/user-scripts/styles/images/style-original.png new file mode 100644 index 0000000..65c7ffb Binary files /dev/null and b/extra/user-scripts/styles/images/style-original.png differ diff --git a/extra/user-scripts/styles/style-nuno.css b/extra/user-scripts/styles/style-nuno.css new file mode 100644 index 0000000..c7c07b6 --- /dev/null +++ b/extra/user-scripts/styles/style-nuno.css @@ -0,0 +1,52 @@ +@define-color Surface0 #313244; +@define-color Surface1 #45475a; +@define-color Base #1e1e2e; +@define-color Mantle #181825; +@define-color Lavender #b4befe; +@define-color Text #cdd6f4; + +* { + padding: 0px; + margin: 0px; + outline-color: @Lavender; + color: @Text; + border-color: white; + font-size: 16px; + /*@Base; */ + /* border-bottom-color: @Base; */ +} + +window, notebook, headerbar { + background: @Base; +} + +tabs { + background-color: @Base; + padding: 3px; + outline-color: white; + border-color: @Base; +} + +tab { + background-color: @Base; + margin: 2px 5px 2px 0px; + padding: 5px; + border-style: solid; + /*border-color: white; + border-bottom-color: white; + outline-color: white; + margin: 5px; + padding-left: 10px; + padding-right: 10px; */ +} + +entry { + background-color: @Surface0; + padding-left: 10px; +} + +entry:focus { + background-color: @Surface0; + padding-left: 10px; + +} diff --git a/extra/user-scripts/styles/style-original.css b/extra/user-scripts/styles/style-original.css new file mode 100644 index 0000000..45805d7 --- /dev/null +++ b/extra/user-scripts/styles/style-original.css @@ -0,0 +1,37 @@ +@define-color Surface0 #313244; +@define-color Surface1 #45475a; +@define-color Base #1e1e2e; +@define-color Mantle #181825; +@define-color Lavender #b4befe; +@define-color Text #cdd6f4; + +* { + padding: 0px; + margin: 0px; + outline-color: @Lavender; + color: @Text; + border-bottom-color: @Base; +} + +window, notebook, headerbar { + background: @Base; +} + +tabs { + background-color: @Base; + padding: 3px; +} + +tab { + background-color: @Base; + margin: 5px; +} + +entry { + background-color: @Surface0; + padding-left: 10px; +} + +entry:focus { + box-shadow: none; +} diff --git a/extra/user-scripts/ubuntu-20.04/install-with-dependencies.sh b/extra/user-scripts/ubuntu-20.04/install-with-dependencies.sh new file mode 100644 index 0000000..940abe1 --- /dev/null +++ b/extra/user-scripts/ubuntu-20.04/install-with-dependencies.sh @@ -0,0 +1,27 @@ +# 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 +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/extra/user-scripts/ubuntu-20.04/rose-images/rose-1.png b/extra/user-scripts/ubuntu-20.04/rose-images/rose-1.png new file mode 100644 index 0000000..f2c546a Binary files /dev/null and b/extra/user-scripts/ubuntu-20.04/rose-images/rose-1.png differ diff --git a/extra/user-scripts/ubuntu-20.04/rose-images/rose-2.png b/extra/user-scripts/ubuntu-20.04/rose-images/rose-2.png new file mode 100644 index 0000000..9944beb Binary files /dev/null and b/extra/user-scripts/ubuntu-20.04/rose-images/rose-2.png differ diff --git a/extra/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png b/extra/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png new file mode 100644 index 0000000..163494f Binary files /dev/null and b/extra/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png differ diff --git a/extra/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png b/extra/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png new file mode 100644 index 0000000..9944beb Binary files /dev/null and b/extra/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png differ diff --git a/extra/user-scripts/ubuntu-20.04/rose-images/rose-src.txt b/extra/user-scripts/ubuntu-20.04/rose-images/rose-src.txt new file mode 100644 index 0000000..30650de --- /dev/null +++ b/extra/user-scripts/ubuntu-20.04/rose-images/rose-src.txt @@ -0,0 +1 @@ + diff --git a/extra/user-scripts/ubuntu-20.04/rose.desktop b/extra/user-scripts/ubuntu-20.04/rose.desktop new file mode 100755 index 0000000..80a5176 --- /dev/null +++ b/extra/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 %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/extra/user-scripts/valgrind-notes.md b/extra/user-scripts/valgrind-notes.md new file mode 100644 index 0000000..1fa2e1d --- /dev/null +++ b/extra/user-scripts/valgrind-notes.md @@ -0,0 +1,9 @@ +In case you arrive at a segmentation fault when working on rose, you can use valgrind. + +To do this, you can compile rose with the `DEBUG` value in `build.sh` set to `-g` + +and then: + +``` +valgrind --track-origins=yes ./rose +``` -- cgit v1.2.3