compile adblock with newer webkit
This commit is contained in:
parent
da776bebc4
commit
ed8f2dd230
2
config.h
2
config.h
|
@ -17,7 +17,7 @@
|
||||||
#define MAX_NUM_TABS 8 // set to 0 or false if you want unlimited tabs, or look at the relevant rose.c code.
|
#define MAX_NUM_TABS 8 // set to 0 or false if you want unlimited tabs, or look at the relevant rose.c code.
|
||||||
#define ROSE_HOMEPAGE false
|
#define ROSE_HOMEPAGE false
|
||||||
#define SEARCH "https://lite.duckduckgo.com/html/?q=%s" // "https://search.nunosempere.com/search?q=%s"
|
#define SEARCH "https://lite.duckduckgo.com/html/?q=%s" // "https://search.nunosempere.com/search?q=%s"
|
||||||
#define HOME ROSE_HOMEPAGE ? "file:///home/nuno/Documents/workspace/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png" : "https://search.nunosempere.com/"
|
#define HOME ROSE_HOMEPAGE ? "file:///home/nuno/Documents/workspace/rosenrot/user-scripts/debian-12/rose-images/rose-homepage-2.png" : "https://search.nunosempere.com/"
|
||||||
|
|
||||||
// Plugins
|
// Plugins
|
||||||
#define LIBRE_REDIRECT_ENABLED true
|
#define LIBRE_REDIRECT_ENABLED true
|
||||||
|
|
|
@ -6,8 +6,9 @@ sudo apt install libwebkit2gtk-4.1-dev
|
||||||
git clone https://github.com/jun7/wyebadblock
|
git clone https://github.com/jun7/wyebadblock
|
||||||
cd wyebadblock
|
cd wyebadblock
|
||||||
sudo apt install gstreamer1.0-plugins-good gstreamer1.0-libav
|
sudo apt install gstreamer1.0-plugins-good gstreamer1.0-libav
|
||||||
make
|
WEBKITVER=4.1 make
|
||||||
sudo make install
|
sudo WEBKITVER=4.1 make install
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
mkdir -p ~/.config/wyebadblock
|
mkdir -p ~/.config/wyebadblock
|
||||||
cd ~/.config/wyebadblock
|
cd ~/.config/wyebadblock
|
||||||
|
@ -19,6 +20,6 @@ make build # or just make
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
# Ubuntu desktop icon
|
# Debian desktop icon
|
||||||
chmod +x rose.desktop
|
chmod +x rose.desktop
|
||||||
sudo cp rose.desktop /usr/share/applications
|
sudo cp rose.desktop /usr/share/applications
|
||||||
|
|
Loading…
Reference in New Issue
Block a user