Re: [arch-general] docs in Octave package?

2011-07-15 Thread Ionut Biru

On 07/15/2011 05:36 PM, XeCycle wrote:

Hello, I read from the package database that Ronald van Haren maintains
the package octave, but I cannot contact him, so I'm asking here.

I need the documents of octave, but it's not in the current octave
package, so I need to compile it manually after each update.  However
the compilation is very time and power consuming, it can drive my CPU to
100 degrees --- which is not very fine for a laptop.

Could you please build a separate octave-docs package?



It will be nice if you post a patch to include this docs in the octave 
package or in a separate package.


Imo  if the docs use less than 50% from the size, then is fine to 
include it in the octave package.


--
Ionuț


Re: [arch-general] docs in Octave package?

2011-07-15 Thread Auguste Pop
On Fri, Jul 15, 2011 at 10:36 PM, XeCycle xecy...@gmail.com wrote:
 I need the documents of octave, but it's not in the current octave
 package, so I need to compile it manually after each update.  However
 the compilation is very time and power consuming, it can drive my CPU to
 100 degrees --- which is not very fine for a laptop.

./configure  make pdf  make install-pdf would be quite fast.
as a matter of fact, most of the time you spent would be in the configure stage.
have you tried to make an independent aur package for yourself?


Re: [arch-general] docs in Octave package?

2011-07-15 Thread XeCycle
Ionut Biru ib...@archlinux.org writes:

 On 07/15/2011 05:36 PM, XeCycle wrote:
 Hello, I read from the package database that Ronald van Haren maintains
 the package octave, but I cannot contact him, so I'm asking here.

 I need the documents of octave, but it's not in the current octave
 package, so I need to compile it manually after each update.  However
 the compilation is very time and power consuming, it can drive my CPU to
 100 degrees --- which is not very fine for a laptop.

 Could you please build a separate octave-docs package?


 It will be nice if you post a patch to include this docs in the
 octave package or in a separate package.

How?  I'd like to build it in a separate package.

 Imo  if the docs use less than 50% from the size, then is fine to
 include it in the octave package.

It appears to me that the original package is 8 MB, and the modified is
15 MB.  Perhaps a bit large.

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591


pgpdhD9CnYSoR.pgp
Description: PGP signature


Re: [arch-general] docs in Octave package?

2011-07-15 Thread XeCycle
Auguste Pop augu...@gmail.com writes:

 On Fri, Jul 15, 2011 at 10:36 PM, XeCycle xecy...@gmail.com wrote:
 I need the documents of octave, but it's not in the current octave
 package, so I need to compile it manually after each update.  However
 the compilation is very time and power consuming, it can drive my CPU to
 100 degrees --- which is not very fine for a laptop.

 ./configure  make pdf  make install-pdf would be quite fast.

I used to remove the --disable-docs in the ./configure parameters.

 as a matter of fact, most of the time you spent would be in the
 configure stage.

Not really...  At least it's not the case with octave.  It used to take
more than one hour (on my Intel Core i5 430M); with make -j4 it's
faster, but the CPU temperature shows 100 degrees Celsius.

 have you tried to make an independent aur package for yourself?

Does that make a difference?  Still I have to build it myself, and I'm
asking if we can build a docs package in [extra].

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591


pgp7cduGp5pEN.pgp
Description: PGP signature


Re: [arch-general] docs in Octave package?

2011-07-15 Thread Allan McRae

On 16/07/11 14:09, XeCycle wrote:

Auguste Popaugu...@gmail.com  writes:


On Fri, Jul 15, 2011 at 10:36 PM, XeCyclexecy...@gmail.com  wrote:

I need the documents of octave, but it's not in the current octave
package, so I need to compile it manually after each update.  However
the compilation is very time and power consuming, it can drive my CPU to
100 degrees --- which is not very fine for a laptop.


./configure  make pdf  make install-pdf would be quite fast.


I used to remove the --disable-docs in the ./configure parameters.


as a matter of fact, most of the time you spent would be in the
configure stage.


Not really...  At least it's not the case with octave.  It used to take
more than one hour (on my Intel Core i5 430M); with make -j4 it's
faster, but the CPU temperature shows 100 degrees Celsius.


have you tried to make an independent aur package for yourself?


Does that make a difference?  Still I have to build it myself, and I'm
asking if we can build a docs package in [extra].




The point was that you probably do not actually have to build octave to 
build the docs.


Anyway, requests on the mailing lists will probably not get seen by the 
right person.  File a feature request on the bug tracker.


Allan




Re: [arch-general] docs in Octave package?

2011-07-15 Thread Auguste Pop
On Sat, Jul 16, 2011 at 12:09 PM, XeCycle xecy...@gmail.com wrote:
 Auguste Pop augu...@gmail.com writes:

 On Fri, Jul 15, 2011 at 10:36 PM, XeCycle xecy...@gmail.com wrote:
 I need the documents of octave, but it's not in the current octave
 package, so I need to compile it manually after each update.  However
 the compilation is very time and power consuming, it can drive my CPU to
 100 degrees --- which is not very fine for a laptop.

 ./configure  make pdf  make install-pdf would be quite fast.

 I used to remove the --disable-docs in the ./configure parameters.

the PKGBUILD of octave does not contain anything like --disable-docs.
if the documentations are not installed by make install, it's an
UPSTREAM FEATURE.


 as a matter of fact, most of the time you spent would be in the
 configure stage.

 Not really...  At least it's not the case with octave.  It used to take
 more than one hour (on my Intel Core i5 430M); with make -j4 it's
 faster, but the CPU temperature shows 100 degrees Celsius.


you are re-compiling the whole octave again with the docs, that's not
what i said. if you are only interested in adding docs, you can
package docs separately. if you want pdf docs, you can make pdf 
make install-pdf, or html docs, make html  make install-html. both
would take less than a minute to complete.

 have you tried to make an independent aur package for yourself?

 Does that make a difference?  Still I have to build it myself, and I'm
 asking if we can build a docs package in [extra].


putting a separate docs package in aur means you don't have to endure
the long, tedious, and meaningless re-compiling process, which you
complained about, every time the package got updated. what you get is
a slightly outdated documentation package, which you can easily update
automatically alongside the repo octave package, if you are willing
to. actually, even manually doing so would take you no more than five
minutes.

anyway, if you want a package to include a change you propose, the
best way is to show up with a working PKGBUILD.

best regards,