From 5ddf3cafb1b70e0305acab5b57bfa41b1e5ef24c Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Wed, 17 May 2023 07:29:42 +0200 Subject: [PATCH] bluefish, remove "dirty hack", not needed anymore for the XDG variables (#8653) --- app-editors/bluefish/bluefish-2.2.13.recipe | 2 +- .../bluefish/patches/bluefish-2.2.13.patchset | 29 ------------------- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/app-editors/bluefish/bluefish-2.2.13.recipe b/app-editors/bluefish/bluefish-2.2.13.recipe index bdb0dc50a..624b3b9d7 100644 --- a/app-editors/bluefish/bluefish-2.2.13.recipe +++ b/app-editors/bluefish/bluefish-2.2.13.recipe @@ -8,7 +8,7 @@ Linux, FreeBSD, MacOS-X, Windows, OpenBSD, Solaris and Haiku." HOMEPAGE="https://bluefish.openoffice.nl/" COPYRIGHT="1998-2020 Olivier Sessink and others." LICENSE="GNU GPL v3" -REVISION="1" +REVISION="2" SOURCE_URI="https://www.bennewitz.com/bluefish/stable/source/bluefish-$portVersion.tar.gz" CHECKSUM_SHA256="1b9fc488caecc082e3ef89053104a20ecccefe01730c3ad97ce435089001beb8" PATCHES="bluefish-$portVersion.patchset" diff --git a/app-editors/bluefish/patches/bluefish-2.2.13.patchset b/app-editors/bluefish/patches/bluefish-2.2.13.patchset index 00ecf735e..6c041e56d 100644 --- a/app-editors/bluefish/patches/bluefish-2.2.13.patchset +++ b/app-editors/bluefish/patches/bluefish-2.2.13.patchset @@ -1,32 +1,3 @@ -From 44acc677ba81fcfee8469fade3f3852799c3dfec Mon Sep 17 00:00:00 2001 -From: begasus -Date: Mon, 21 Nov 2022 10:44:03 +0100 -Subject: Dirty hack for XDG variables - - -diff --git a/src/bluefish.c b/src/bluefish.c -index f1cad22..6e2e1b9 100644 ---- a/src/bluefish.c -+++ b/src/bluefish.c -@@ -252,6 +252,14 @@ int main(int argc, char *argv[]) - osx_setenv(&argc, &argv); - #endif - -+#ifdef __HAIKU__ -+ g_setenv ("XDG_CONFIG_DIRS", "/boot/system/settings", FALSE); -+ g_setenv ("XDG_DATA_HOME", "/boot/home/config/non-packaged/data", FALSE); -+ g_setenv ("XDG_CONFIG_HOME", "/boot/home/config/settings", FALSE); -+ g_setenv ("XDG_CACHE_HOME", "/boot/home/config/cache", FALSE); -+ g_setenv ("XDG_DATA_DIRS", "/boot/system/non-packaged/data:/boot/system/data", FALSE); -+#endif -+ - #ifdef MAC_INTEGRATION - GPollFunc orig_poll_func; - GPollFunc gdk_poll_func; --- -2.37.3 - - From d3be47eddfba095e1797750416a32a2d7aa799f9 Mon Sep 17 00:00:00 2001 From: begasus Date: Tue, 16 May 2023 19:28:02 +0200