document bug fix after breaking library installation paths on my machine

This commit is contained in:
NunoSempere 2023-05-03 22:14:46 -04:00
parent 4e3bb826ba
commit 3734dcd2d1
2 changed files with 5 additions and 2 deletions

View File

@ -77,3 +77,4 @@ Done:
### Known bugs ### Known bugs
- [ ] Doesn't work with when Spanish is selected as the language, for some reason. - [ ] Doesn't work with when Spanish is selected as the language, for some reason.
- [ ] At some point, I tried to install libsoup-3 and borked some unknown installation option. So now I need to run rose with `GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/ /bin/rose` (or put `export GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/` in my .bashrc). This won't affect new users though, just double checked on a fresh machine.

View File

@ -6,7 +6,7 @@
# make uninstall # make uninstall
## C compiler ## C compiler
CC=tcc # much faster compilation than gcc CC=gcc # tcc: much faster, gcc: more options. Also I don't know whether tcc has error messages/debug options.
## Main file ## Main file
SRC=rose.c SRC=rose.c
@ -20,7 +20,7 @@ LIBS=`pkg-config --libs ${DEPS}`
## Optional adblocking ## Optional adblocking
## depends on https://github.com/jun7/wyebadblock ## depends on https://github.com/jun7/wyebadblock
ADBLOCK='-L/usr/lib/wyebrowser/adblock.so' ADBLOCK=#'-L/usr/lib/wyebrowser/adblock.so'
## Plugins ## Plugins
LIBRE_REDIRECT=./plugins/libre_redirect/libre_redirect.c ./plugins/libre_redirect/str_replace_start.c LIBRE_REDIRECT=./plugins/libre_redirect/libre_redirect.c ./plugins/libre_redirect/str_replace_start.c
@ -65,9 +65,11 @@ build: $(SRC) $(PLUGS) $(CONFIG)
find $(CURRENT_DIR) -type f -not -path "*.git*" -not -path "*makefile*" -exec \ find $(CURRENT_DIR) -type f -not -path "*.git*" -not -path "*makefile*" -exec \
sed -i "s|$(DEFAULT_DIR)|$(CURRENT_DIR)|g" {} + sed -i "s|$(DEFAULT_DIR)|$(CURRENT_DIR)|g" {} +
# Compile rosenrot # Compile rosenrot
GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/
$(CC) $(DEBUG) $(INCS) $(PLUGS) $(SRC) -o rose $(LIBS) $(ADBLOCK) $(CC) $(DEBUG) $(INCS) $(PLUGS) $(SRC) -o rose $(LIBS) $(ADBLOCK)
install: rose install: rose
GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/
cp -f rose /usr/bin cp -f rose /usr/bin
mkdir -p /usr/share/themes/rose mkdir -p /usr/share/themes/rose
cp style.css /usr/share/themes/rose/ cp style.css /usr/share/themes/rose/