1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: Use Debian help path
This patch fixes Dia to use Debian's help directory for documentation
Author: Roland Stigge <stigge@antcom.de>
Author: Philippe SWARTVAGHER <phil.swart@gmx.fr>
Last-Update: 2022-05-26
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/app/commands.c
+++ b/app/commands.c
@@ -1029,7 +1029,7 @@ help_manual_callback (GtkAction *action)
screen = ddisp ? gtk_widget_get_screen (GTK_WIDGET (ddisp->shell))
: gdk_screen_get_default ();
- helpdir = dia_get_data_directory ("help");
+ helpdir = g_strdup("/usr/share/doc/dia/html");
if (!helpdir) {
message_warning (_("Could not find help directory"));
return;
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -4,7 +4,7 @@ dblatex = find_program('dblatex', required: false, disabler: true)
DB2MAN = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
-helpdir = pkgdatadir / 'help'
+helpdir = datadir / 'doc/dia/html'
subdir('de')
subdir('en')
|