Compare commits
2 Commits
e3d5757e2a
...
d2e210c56a
Author | SHA1 | Date | |
---|---|---|---|
d2e210c56a | |||
bddfb5bfc8 |
|
@ -2,9 +2,11 @@
|
|||
|
||||
Rosenrot is a small browser forked from an earlier version of [rose](https://github.com/mini-rose/rose). It has some additional quality of life improvements tailored to my (@NunoSempere) tastes and setup, and detailed installation instructions for Ubuntu 20.04.
|
||||
|
||||
![](https://raw.githubusercontent.com/NunoSempere/rosenrot-browser/master/screenshots/7-hello-world-search.png)
|
||||
![](https://raw.githubusercontent.com/NunoSempere/rosenrot-browser/master/images/7-hello-world-search.png)
|
||||
|
||||
![](https://raw.githubusercontent.com/NunoSempere/rosenrot-browser/master/screenshots/6-hello-world.png)
|
||||
![](https://raw.githubusercontent.com/NunoSempere/rosenrot-browser/master/images/6-hello-world.png)
|
||||
|
||||
![](https://raw.githubusercontent.com/NunoSempere/rosenrot-browser/master/images/0-architecture.png)
|
||||
|
||||
### Installation
|
||||
|
||||
|
@ -48,7 +50,7 @@ You can also create a rose.desktop file so that it will show up in your desktop
|
|||
- Custom style: Override the css of predetermined websites
|
||||
- Stand in plugin: Mimick function definitions which do nothing for the above plugins so that they can be quickly removed
|
||||
|
||||
You can see some screenshots in the [screenshots](./screenshots) folder.
|
||||
You can see some screenshots in the [images](./images) folder.
|
||||
|
||||
## Relationship with [rose](https://github.com/mini-rose/rose)
|
||||
|
||||
|
|
BIN
images/0-architecture.png
Normal file
After Width: | Height: | Size: 2.4 MiB |
Before Width: | Height: | Size: 257 KiB After Width: | Height: | Size: 257 KiB |
Before Width: | Height: | Size: 534 KiB After Width: | Height: | Size: 534 KiB |
Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 172 KiB |
Before Width: | Height: | Size: 250 KiB After Width: | Height: | Size: 250 KiB |
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 198 KiB |
Before Width: | Height: | Size: 302 KiB After Width: | Height: | Size: 302 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
1621
images/architecture.excalidraw
Normal file
7
makefile
|
@ -10,7 +10,8 @@ CC=gcc # gcc: more options. Also I don't know whether tcc has error messages/deb
|
|||
## CC=tcc # tcc: much faster compilation
|
||||
## other alternatives; clang, zig cc
|
||||
WARNINGS=-Wall
|
||||
OPTIMIZED=-O3 #-Ofast
|
||||
OPTIMIZED=-O3 #-Ofast
|
||||
LOCAL=-march=native # binary will not be compatible with other computers, but may be much faster
|
||||
|
||||
## Main file
|
||||
SRC=rose.c
|
||||
|
@ -72,6 +73,10 @@ build: $(SRC) $(PLUGINS) $(CONFIG)
|
|||
GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/
|
||||
$(CC) $(WARNINGS) $(OPTIMIZED) $(DEBUG) $(INCS) $(PLUGINS) $(SRC) -o rose $(LIBS) $(ADBLOCK)
|
||||
|
||||
local: $(SRC) $(PLUGINS) $(CONFIG)
|
||||
GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/
|
||||
$(CC) $(WARNINGS) $(OPTIMIZED) $(LOCAL) $(INCS) $(PLUGINS) $(SRC) -o rose $(LIBS) $(ADBLOCK)
|
||||
|
||||
lint:
|
||||
clang-tidy $(SRC) $(PLUGINS) -- -Wall -O3 `pkg-config --cflags 'webkit2gtk-4.0'` -o rose `pkg-config --libs 'webkit2gtk-4.0'`
|
||||
|
||||
|
|