From ed8f2dd2300c2c99a93b2c6c99f01193d4989982 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 12 Mar 2024 16:11:26 -0300 Subject: [PATCH] compile adblock with newer webkit --- config.h | 2 +- rose | Bin 40176 -> 40176 bytes .../debian-12/install-with-dependencies.sh | 7 ++++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config.h b/config.h index 01ee91e..4dc8ca6 100644 --- a/config.h +++ b/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 ROSE_HOMEPAGE false #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 #define LIBRE_REDIRECT_ENABLED true diff --git a/rose b/rose index f3c043b9d6ac55a06ff5bee1652b9e012cca60fa..95c8e0a7817772e463357f5b89f94796371fba55 100755 GIT binary patch delta 733 zcmYL{Ur1AN6vyxRspKFbX))0dUrI6N-Ih4hFpH>JRvJP^5B}Mv_s*%yx&FYSggq4W zpd7;prG76SP=Q(!z>An5ko6S8frm|AP9+meQQt`zI@L2oWr^2{_ZdRRHUDZ zsd_TC<|%)lR-=Jb$`5yE>_74yv1(ok)Y=l0-|e|0C2MWZh8@2)I^0G$E9RgFY_GD= zgwasdNA%p7aYoFdtcdFxJ+#da8^@^As68`H!e%kPo+UvyINh|D+BvVeo6;O=j*{Cb zJYT$fN0;vR)~G7axXY?TLGOSy=pN7mgF)5f?bJK^tagVw&>!?#_1=zdZ!i;U{k`4* ztkqEw=)>ZC!8_ErxFzK*GzE=A)nBCC1#Nyt9%@2dfP4TUAc5K8kf>ciZb|G%EMp;jN~ZF=#rFkU<_Qx(M8`#*@F5UsDbNX1RPCD8T;dx zrThsVUy;%#&<}dR!S_;5fH5!uCO$}+odv&&zAU9isZ3#2Bobg0jC{n3U~~-)*%IZlnQ8ho&Pm0-P{-*C2$z?9|RfzZspYoMcm_t5QEWG1K zzGGCzTfSP{k$pYq$j_mkOEkqxJx564e7_Ub2LEYHz2`qDe#H5uzb+^KN=ge(y~xmd u7fp1_ICRxX)WVmqy`ZpRzus1i7mSRlrvLYIe#~idX_*gk8K(Oi*}nlXm_VTb delta 673 zcmYMyT}V@57zgn4yv{fag``uC6|yL_4{%Pwl`dOd6w)deyQsV?tWJ(}=YG8DTvc>j`1<$faqCh+s+vOVsV$`z ztFiVh(PitgH({tnCpQFI=n+2%^pVr5KQu%tzux+Gm=x{ieA7m9adEJXl6)aJK$|V+ z(XzGdI9*0=zSnv+w9W3-8deo(by|E*+{-mbL9-WW$$0G{Q{h)AgllY diff --git a/user-scripts/debian-12/install-with-dependencies.sh b/user-scripts/debian-12/install-with-dependencies.sh index c30b932..60e716e 100644 --- a/user-scripts/debian-12/install-with-dependencies.sh +++ b/user-scripts/debian-12/install-with-dependencies.sh @@ -6,8 +6,9 @@ sudo apt install libwebkit2gtk-4.1-dev git clone https://github.com/jun7/wyebadblock cd wyebadblock sudo apt install gstreamer1.0-plugins-good gstreamer1.0-libav -make -sudo make install +WEBKITVER=4.1 make +sudo WEBKITVER=4.1 make install + cd .. mkdir -p ~/.config/wyebadblock cd ~/.config/wyebadblock @@ -19,6 +20,6 @@ make build # or just make sudo make install cd - -# Ubuntu desktop icon +# Debian desktop icon chmod +x rose.desktop sudo cp rose.desktop /usr/share/applications