geany, bump to 2.1.0 (#12953)

This commit is contained in:
Schrijvers Luc
2025-09-24 13:42:00 +02:00
committed by GitHub
parent c469251930
commit 249e66af59
2 changed files with 20 additions and 26 deletions

View File

@@ -6,12 +6,12 @@ Another goal was to be as independent as possible from a special Desktop Environ
GNOME. So it is using only the GTK+ toolkit and therefore you need only the GTK+ runtime \
libraries to run Geany."
HOMEPAGE="https://www.geany.org"
COPYRIGHT="2005 The Geany-contributors
COPYRIGHT="2025 The Geany-contributors
1998-2003 by Neil Hodgson"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/geany/geany/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="a744ab9ae3e58b371de4b50990c44227c499f82e2a8ee6753307ef107748e4df"
CHECKSUM_SHA256="95a9bfa1c176684fb6ccd528ba9c948f0c2d777d2370bb0e9c3502ea575ceb3d"
PATCHES="geany-$portVersion.patchset"
ADDITIONAL_FILES="geany.rdef.in"
@@ -64,6 +64,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autopoint
cmd:autoreconf
cmd:awk
cmd:gcc$secondaryArchSuffix

View File

@@ -1,4 +1,4 @@
From 4e3bcdcdb8189d95fc8481ebedb4037046e6a241 Mon Sep 17 00:00:00 2001
From a93f17e89f40469761039de937e94b17149f8ddc Mon Sep 17 00:00:00 2001
From: Begasus <begasus@gmail.com>
Date: Sun, 12 Nov 2023 15:10:18 +0100
Subject: Build fix
@@ -25,40 +25,33 @@ index 5e7c400..2d7609a 100644
if (copy = (struct dirent *)eMalloc(sizeof(struct dirent) + extra), copy == NULL) {
--
2.42.0
2.50.1
From 50f16e34aa860bd19a0d101d9e71be80d5dde0a3 Mon Sep 17 00:00:00 2001
From 1e70da98ae389f4cb254e48a5f0e64a139810252 Mon Sep 17 00:00:00 2001
From: Begasus <begasus@gmail.com>
Date: Sun, 12 Nov 2023 16:06:59 +0100
Subject: Add Haiku specifics
diff --git a/src/keyfile.c b/src/keyfile.c
index 05f3c65..42be885 100644
index f8d729e..d9f28a8 100644
--- a/src/keyfile.c
+++ b/src/keyfile.c
@@ -82,6 +82,8 @@
#define GEANY_DEFAULT_TOOLS_TERMINAL "cmd.exe /Q /C %c"
#elif defined(__APPLE__)
#define GEANY_DEFAULT_TOOLS_TERMINAL "open -a terminal %c"
@@ -90,6 +90,13 @@
# define GEANY_DEFAULT_FONT_SYMBOL_LIST "Helvetica Medium 12"
# define GEANY_DEFAULT_FONT_MSG_WINDOW "Menlo Medium 12"
# define GEANY_DEFAULT_FONT_EDITOR "Menlo Medium 12"
+#elif defined(__HAIKU__)
+#define GEANY_DEFAULT_TOOLS_TERMINAL "Terminal"
+# define GEANY_DEFAULT_TOOLS_TERMINAL "Terminal"
+# define GEANY_DEFAULT_TOOLS_BROWSER "WebPositive"
+# define GEANY_DEFAULT_USE_NATIVE_DLGS TRUE
+# define GEANY_DEFAULT_FONT_SYMBOL_LIST "Noto Sans Regular 10"
+# define GEANY_DEFAULT_FONT_MSG_WINDOW "Noto Sans Regular 10"
+# define GEANY_DEFAULT_FONT_EDITOR "Noto Sans Regular 10"
#else
#define GEANY_DEFAULT_TOOLS_TERMINAL "xterm -e \"/bin/sh %c\""
#endif
@@ -90,6 +92,11 @@
#define GEANY_DEFAULT_FONT_SYMBOL_LIST "Helvetica Medium 12"
#define GEANY_DEFAULT_FONT_MSG_WINDOW "Menlo Medium 12"
#define GEANY_DEFAULT_FONT_EDITOR "Menlo Medium 12"
+#elif defined(__HAIKU__)
+#define GEANY_DEFAULT_TOOLS_BROWSER "WebPositive"
+#define GEANY_DEFAULT_FONT_SYMBOL_LIST "Noto Sans Regular 10"
+#define GEANY_DEFAULT_FONT_MSG_WINDOW "Noto Sans Regular 10"
+#define GEANY_DEFAULT_FONT_EDITOR "Noto Sans Regular 10"
#else
/* Browser chosen by GTK */
#define GEANY_DEFAULT_TOOLS_BROWSER ""
# define GEANY_DEFAULT_TOOLS_TERMINAL "xterm -e \"/bin/sh %c\""
# define GEANY_DEFAULT_USE_NATIVE_DLGS FALSE
--
2.42.0
2.50.1