diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-01-02 13:39:32 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-01-02 13:39:32 +0100 |
commit | 2884f67c0d20476e3e88c625b4921e27becbf282 (patch) | |
tree | 204aa6347c2865ec8d6bd9ba59cfb6c5e3eb0494 /debian/patches | |
parent | fc3467fbba15c357640ff35f868e18e8b0eb4f8d (diff) |
Move help html dir into xtrkcad-common; add patch to find them
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/0705-help_path.patch | 25 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/0705-help_path.patch b/debian/patches/0705-help_path.patch new file mode 100644 index 0000000..ac5e463 --- /dev/null +++ b/debian/patches/0705-help_path.patch @@ -0,0 +1,25 @@ +Description: Change help html directory to the installation specific +Author: Jörg Frings-Fürst <debian@jff-webhosting.net> +Forwarded: not-needed +Last-Update: 2017-01-02 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/app/wlib/gtklib/gtkhelp.c +=================================================================== +--- trunk.orig/app/wlib/gtklib/gtkhelp.c ++++ trunk/app/wlib/gtklib/gtkhelp.c +@@ -677,8 +677,12 @@ EXPORT void wHelp( const char * topic ) + directory = malloc( BUFSIZ ); + assert( directory != NULL ); + +- sprintf( directory, "%s/html/", wGetAppLibDir()); +- ++/* sprintf( directory, "%s/html/", wGetAppLibDir());*/ ++/* ++ * Change path for debian installation ++ * ++ */ ++ sprintf( directory, "%s/html/", "/usr/share/doc/xtrkcad-common"); + wHelpWindow = CreateHelpWindow(); + /* load the default content */ + load_into_view ("index.html", MAIN_VIEW); diff --git a/debian/patches/series b/debian/patches/series index c7cc441..aa10a1c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ 0900-spelling-errors.patch 0700-info_file.patch 0100-gtk.patch +0705-help_path.patch |