~ubuntu-branches/ubuntu/feisty/fontforge/feisty

« back to all changes in this revision

Viewing changes to debian/patches/900_debian_HelpDir_path.diff

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-07-05 18:54:36 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060705185436-qrxysctdw8a1faiy
Tags: 0.0.20060430-1ubuntu1
Synchronize with Debian unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Set up the Debian-package-specific path for documentation.
 
2
 
 
3
This patch by Kęstutis Biliūnas.
 
4
This patch will not be submitted upstream.
 
5
 
 
6
Index: fontforge/fontforge/prefs.c
 
7
===================================================================
 
8
--- fontforge/fontforge/prefs.c.orig    2006-03-26 20:26:51.000000000 +0300
 
9
+++ fontforge/fontforge/prefs.c 2006-04-13 11:22:03.000000000 +0300
 
10
@@ -722,7 +722,7 @@
 
11
 #ifdef DOCDIR
 
12
        helpdir = copy(DOCDIR "/");
 
13
 #elif defined(SHAREDIR)
 
14
-       helpdir = copy(SHAREDIR "/../doc/fontforge/");
 
15
+       helpdir = copy(SHAREDIR "/../doc/fontforge/html/");
 
16
 #else
 
17
        helpdir = copy("/usr/local/share/doc/fontforge/");
 
18
 #endif
 
19
Index: fontforge/fontforge/uiutil.c
 
20
===================================================================
 
21
--- fontforge/fontforge/uiutil.c.orig   2006-04-13 11:16:10.000000000 +0300
 
22
+++ fontforge/fontforge/uiutil.c        2006-04-13 11:22:29.000000000 +0300
 
23
@@ -329,7 +329,7 @@
 
24
 #ifdef DOCDIR
 
25
                strcpy(fullspec,DOCDIR "/");
 
26
 #elif defined(SHAREDIR)
 
27
-               strcpy(fullspec,SHAREDIR "/../doc/fontforge/");
 
28
+               strcpy(fullspec,SHAREDIR "/../doc/fontforge/html/");
 
29
 #else
 
30
                strcpy(fullspec,"/usr/local/share/doc/fontforge/");
 
31
 #endif