From 3bf48009d117970527317cbd01750fa0ab340ba6 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 12 Mar 2024 13:37:28 -0300 Subject: update webkit dep to 4.1 in makefile --- config.h | 4 ++-- makefile | 2 +- plugins/readability/readability.c | 2 +- plugins/style/style.c | 2 +- rose | Bin 44856 -> 39128 bytes user-scripts/debian-12/rose-GIO_MODULE_DIR.desktop | 4 ++-- user-scripts/debian-12/rose.desktop | 2 +- .../ubuntu-20.04/rose-GIO_MODULE_DIR.desktop | 4 ++-- user-scripts/ubuntu-20.04/rose.desktop | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/config.h b/config.h index 6d700c7..7280bc3 100644 --- a/config.h +++ b/config.h @@ -14,7 +14,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/loki/Documents/core/software/fresh/C/rose-browser/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/ubuntu-20.04/rose-images/rose-homepage.png" : "https://search.nunosempere.com/" // Plugins #define LIBRE_REDIRECT_ENABLED true @@ -40,7 +40,7 @@ To remove plugins completely; "enable-smooth-scrolling", false, \ "default-charset", "utf-8" /* CACHE */ -#define CACHE_DIR "/home/loki/.cache/rose" +#define CACHE_DIR "/home/nuno/.cache/rose" #define CACHE \ "base-cache-directory", CACHE_DIR, "base-data-directory", CACHE_DIR, \ "disk-cache-directory", CACHE_DIR, "dom-cache-directory", CACHE_DIR, \ diff --git a/makefile b/makefile index 9eba7f1..14ff906 100644 --- a/makefile +++ b/makefile @@ -7,7 +7,7 @@ OPTIMIZED_SOME=-O3 OPTIMIZED_MORE=-Ofast -march=native -funit-at-a-time -flto # binary will not be compatible with other computers, but may be much faster # Dependencies -DEPS='webkit2gtk-4.0' +DEPS='webkit2gtk-4.1' INCS=`pkg-config --cflags ${DEPS}` LIBS=`pkg-config --libs ${DEPS}` diff --git a/plugins/readability/readability.c b/plugins/readability/readability.c index 4acb310..822e7c2 100644 --- a/plugins/readability/readability.c +++ b/plugins/readability/readability.c @@ -5,7 +5,7 @@ void read_readability_js(char* string) { - FILE* fp = fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/plugins/readability/readability.js", "r"); + FILE* fp = fopen("/home/nuno/Documents/workspace/rosenrot/plugins/readability/readability.js", "r"); if (!fp) { // fp is NULL, fopen failed fprintf(stderr, "Failed to open file\n"); string = NULL; diff --git a/plugins/style/style.c b/plugins/style/style.c index c63185f..90975de 100644 --- a/plugins/style/style.c +++ b/plugins/style/style.c @@ -5,7 +5,7 @@ void read_style_js(char* string) { - FILE* fp = fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/plugins/style/style.js", "r"); + FILE* fp = fopen("/home/nuno/Documents/workspace/rosenrot/plugins/style/style.js", "r"); if (!fp) { // fp is NULL, fopen failed fprintf(stderr, "Failed to open file\n"); string = NULL; diff --git a/rose b/rose index b98aa8c..0c0fe8a 100755 Binary files a/rose and b/rose differ diff --git a/user-scripts/debian-12/rose-GIO_MODULE_DIR.desktop b/user-scripts/debian-12/rose-GIO_MODULE_DIR.desktop index 24b1dc0..9eb5add 100755 --- a/user-scripts/debian-12/rose-GIO_MODULE_DIR.desktop +++ b/user-scripts/debian-12/rose-GIO_MODULE_DIR.desktop @@ -3,7 +3,7 @@ Version=1.0 Type=Application Terminal=false -Exec=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose.sh %u +Exec=/home/nuno/Documents/workspace/rosenrot/user-scripts/ubuntu-20.04/rose.sh %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 +Icon=/home/nuno/Documents/workspace/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png diff --git a/user-scripts/debian-12/rose.desktop b/user-scripts/debian-12/rose.desktop index 4959517..94e5b04 100755 --- a/user-scripts/debian-12/rose.desktop +++ b/user-scripts/debian-12/rose.desktop @@ -6,4 +6,4 @@ Terminal=false Exec=/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 +Icon=/home/nuno/Documents/workspace/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png diff --git a/user-scripts/ubuntu-20.04/rose-GIO_MODULE_DIR.desktop b/user-scripts/ubuntu-20.04/rose-GIO_MODULE_DIR.desktop index 24b1dc0..9eb5add 100755 --- a/user-scripts/ubuntu-20.04/rose-GIO_MODULE_DIR.desktop +++ b/user-scripts/ubuntu-20.04/rose-GIO_MODULE_DIR.desktop @@ -3,7 +3,7 @@ Version=1.0 Type=Application Terminal=false -Exec=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose.sh %u +Exec=/home/nuno/Documents/workspace/rosenrot/user-scripts/ubuntu-20.04/rose.sh %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 +Icon=/home/nuno/Documents/workspace/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png diff --git a/user-scripts/ubuntu-20.04/rose.desktop b/user-scripts/ubuntu-20.04/rose.desktop index 4959517..94e5b04 100755 --- a/user-scripts/ubuntu-20.04/rose.desktop +++ b/user-scripts/ubuntu-20.04/rose.desktop @@ -6,4 +6,4 @@ Terminal=false Exec=/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 +Icon=/home/nuno/Documents/workspace/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png -- cgit v1.2.3