Author: hamish-guest
Date: 2011-04-20 13:04:58 +0000 (Wed, 20 Apr 2011)
New Revision: 2982

Added:
   packages/opencpn/trunk/debian/patches/ref_debian_doc_dir.patch
Modified:
   packages/opencpn/trunk/debian/changelog
   packages/opencpn/trunk/debian/patches/series
Log:
Point to packaged doc directory

Modified: packages/opencpn/trunk/debian/changelog
===================================================================
--- packages/opencpn/trunk/debian/changelog     2011-04-20 12:59:12 UTC (rev 
2981)
+++ packages/opencpn/trunk/debian/changelog     2011-04-20 13:04:58 UTC (rev 
2982)
@@ -8,6 +8,7 @@
   * Use system's zlib, bzip2 instead of embedded copy
   * Recommend xtide's WVS coastline instead of shipping a clone
   * Use system's copy of the GPLv2
+  * Point to packaged doc directory
 
  -- Hamish B <hamis...@yahoo.com>  Wed, 20 Apr 2011 17:56:57 +1200
 

Added: packages/opencpn/trunk/debian/patches/ref_debian_doc_dir.patch
===================================================================
--- packages/opencpn/trunk/debian/patches/ref_debian_doc_dir.patch              
                (rev 0)
+++ packages/opencpn/trunk/debian/patches/ref_debian_doc_dir.patch      
2011-04-20 13:04:58 UTC (rev 2982)
@@ -0,0 +1,15 @@
+point to Debian-package doc dir
+Index: opencpn/src/about.cpp
+===================================================================
+--- opencpn.orig/src/about.cpp 2011-04-21 01:00:16.956585284 +1200
++++ opencpn/src/about.cpp      2011-04-21 01:01:57.900856458 +1200
+@@ -397,7 +397,8 @@
+             wxString def_lang_canonical = 
wxLocale::GetLanguageInfo(wxLANGUAGE_DEFAULT)->CanonicalName;
+ 
+             wxString help_locn = _T("doc/help_");
+-            help_locn.Prepend(*m_pDataLocn);
++//          help_locn.Prepend(*m_pDataLocn);
++          help_locn.Prepend(_T("/usr/share/doc/opencpn/"));
+ 
+             wxString help_try = help_locn;
+             help_try += def_lang_canonical;

Modified: packages/opencpn/trunk/debian/patches/series
===================================================================
--- packages/opencpn/trunk/debian/patches/series        2011-04-20 12:59:12 UTC 
(rev 2981)
+++ packages/opencpn/trunk/debian/patches/series        2011-04-20 13:04:58 UTC 
(rev 2982)
@@ -2,3 +2,4 @@
 rm_embedded_zlib.patch
 use_xtide_coastline.patch
 ref_debian_gpl2.patch
+ref_debian_doc_dir.patch


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to