Bug 61309 - x11-toolkits/wxgtk-docs: Added tuturial to documentation
Summary: x11-toolkits/wxgtk-docs: Added tuturial to documentation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-13 12:30 UTC by Simon Barner
Modified: 2004-02-13 19:52 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (2.15 KB, patch)
2004-01-13 12:30 UTC, Simon Barner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Barner 2004-01-13 12:30:20 UTC
The documentation contains a link to a nice tuturial in pdf format,
which is currently not installed by the port.

How-To-Repeat: 
Click on the tuturial link which is found at the following page of the
documentation:

file:///usr/local/share/doc/wxgtk_doc/html/index.htm
Comment 1 dotz 2004-01-13 13:29:11 UTC
IMVHO it's not a good idea to have non-HTML file included in HTML docs.

Also, wxTutorial.pdf doesn't contain version number. If wxWindows team
uploads a new file to the same place, we'll have to update the port or it
will be broken.

I object putting the file to the package.

I suggest using a pkg-message file and put information about the
availability of the tutorial on the web.
Comment 2 Simon Barner 2004-01-13 14:19:37 UTC
Argh, how often can one make the same spelling mistake in one PR?
tutOrial! :o)
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-01-13 19:41:14 UTC
Adding this missed followup:

From: Simon Barner <barner@in.tum.de>
To: dotz@irc.pl
Cc: freebsd-ports-bugs@freebsd.org
Subject: Re: ports/61309: x11-toolkits/wxgtk-docs: Added tuturial to documentation
Date: Tue, 13 Jan 2004 16:49:37 +0100

>  Also, wxTutorial.pdf doesn't contain version number. If wxWindows team
>  uploads a new file to the same place, we'll have to update the port or it
>  will be broken.

Okay, I did not think of this -- true!

>  I object putting the file to the package.
>  
>  I suggest using a pkg-message file and put information about the
>  availability of the tutorial on the web.

What about the following patch that changes the relative link on the
local filesystem into an external link to the document?

Simon

--- index.htm.orig	Tue Jan 13 16:46:04 2004
+++ index.htm	Tue Jan 13 16:47:11 2004
@@ -115,7 +115,7 @@
 application, either compiling it from utils/helpview in the distribution,
 or downloading a binary, for example from <a href="http://www.storylinescentral.com/helpview.htm">here</a>.<P>
 
-See also the <a href="../pdf/wxTutorial.pdf">wxWindows Tutorial</a>
+See also the <a href="http://users.skynet.be/saw/download/wxWindows/wxTutorial.pdf">wxWindows Tutorial</a>
 by Franky Braem, in PDF format.<P>
 
 <P>

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Any Palm app requiring an 90+ page manual has lost its vision.
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2004-02-13 19:52:18 UTC
State Changed
From-To: open->closed

Committed the patch to point hyperlink to WWW, thanks.