Control: tags 836052 + patch
Control: tags 836052 + pending

Dear Maintainer,

I've prepared an NMU for tj3 (versioned as 3.6.0-2.1) fixing
bug 836052 and have uploaded it to 

https://mentors.debian.net/package/tj3


Regards.

Christopher Hoskin
diff -Nru tj3-3.6.0/debian/changelog tj3-3.6.0/debian/changelog
--- tj3-3.6.0/debian/changelog	2016-08-13 19:31:10.000000000 +0100
+++ tj3-3.6.0/debian/changelog	2016-08-31 10:38:10.000000000 +0100
@@ -1,3 +1,11 @@
+tj3 (3.6.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "tj3man unable to open manual index page". Added manual-path.patch to 
+    change path used to locate manual index page. (Closes: #836052)
+
+ -- Christopher Hoskin <christopher.hos...@gmail.com>  Wed, 31 Aug 2016 10:38:10 +0100
+
 tj3 (3.6.0-2) unstable; urgency=medium
 
   * d/copyright: change GFDL short name to GFDL-NIV. Thanks to Christopher
diff -Nru tj3-3.6.0/debian/patches/manual-path.patch tj3-3.6.0/debian/patches/manual-path.patch
--- tj3-3.6.0/debian/patches/manual-path.patch	1970-01-01 01:00:00.000000000 +0100
+++ tj3-3.6.0/debian/patches/manual-path.patch	2016-08-31 10:32:27.000000000 +0100
@@ -0,0 +1,21 @@
+Description: Use Debian path for manual
+ Changes the path used by tj3man to find the user manual index.html file from
+ one relative to the binary to the absolute path /usr/share/doc/tj3/html/ used
+ by Debian
+Bug-Debian: 836052
+Forwarded: not-needed
+Author: Christopher Hoskin <christopher.hos...@gmail.com>
+Last-Update: 2016-08-31
+
+--- a/lib/taskjuggler/apps/Tj3Man.rb
++++ b/lib/taskjuggler/apps/Tj3Man.rb
+@@ -106,8 +106,7 @@
+     # specified keyword.
+     def startBrowser(keyword = nil)
+       # Find the manual relative to this file.
+-      manualDir = File.join(File.dirname(__FILE__), '..', '..', '..',
+-                            'manual', 'html')
++      manualDir = '/usr/share/doc/tj3/html/'
+       file = "#{manualDir}/#{keyword || 'index'}.html"
+       # Make sure the file exists.
+       unless File.exist?(file)
diff -Nru tj3-3.6.0/debian/patches/series tj3-3.6.0/debian/patches/series
--- tj3-3.6.0/debian/patches/series	2016-08-13 19:31:10.000000000 +0100
+++ tj3-3.6.0/debian/patches/series	2016-08-31 10:14:07.000000000 +0100
@@ -1,3 +1,4 @@
 dont-require-git.patch
 data-search-dirs-debian.patch
 reproducible-build.patch
+manual-path.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to