On 24 November 2011 08:07, Lukas Reichlin <lukas.reich...@gmail.com> wrote:
> On 20.11.2011, at 22:11, Carnë Draug wrote:
>> 2011/11/20 Lukas Reichlin <lukas.reich...@gmail.com>:
>>> On 20.11.2011, at 21:11, Carnë Draug wrote:
>>>
>>>> Hi everyone,
>>>>
>>>> a recent change in octave core (in pkg.m and news.m) will allows users
>>>> to read the NEWS file of packages from the octave prompt too. For
>>>> example, news("signal") would show the NEWS from the signal package
>>>> instead of the core NEWS.
>>>>
>>>> For the new functionality to happen, the NEWS file needs to be in the
>>>> root of the package. However, some of the packages in octave-forge
>>>> have this file in doc/. As such, I'm moving them.
>>>>
>>>> Other less common files that pkg recognizes during package
>>>> installation are ONEWS (for when the NEWS file becomes too long) and
>>>> ChangeLog (a much more detailed description of changes on each
>>>> release. Something like the output of svn log).
>>>>
>>>> Carnë
>>>
>>> Hi Carnë
>>>
>>> The control package is one of these. Go ahead, but please make sure that 
>>> the Makefile is adapted accordingly such that the NEWS file doesn't get 
>>> lost by installation.
>>>
>>> Lukas
>>
>> Well remembered. Most packages don't have one, I had forgot about it.
>> Should be fixed now. Thanks
>>
>> Carnë
>
> I downloaded the GNU Tarball from [1] and installed the package. 
> Unfortunately, the NEWS file still gets lost upon package installation. Could 
> you please fix that?
>
> Lukas
>
> PS: IIRC I had similar problems some time ago. This must have been the reason 
> why I put NEWS into /doc.

What version are you using? This will only work in 3.6.0 (should be
release pretty soon) or currently in the dev version. If you want to
test it without compiling the dev version, you can replace the pkg.m
and news.m files from you current installation

http://hg.savannah.gnu.org/hgweb/octave/file/c3c8f513cf1f/scripts/pkg/pkg.m
http://hg.savannah.gnu.org/hgweb/octave/file/c3c8f513cf1f/scripts/miscellaneous/news.m

You need to use the modified pkg because it identifies the NEWS file
and moves it into the packinfo dir. The modified news then allows you
read the news from the prompt.

Carnë

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to