On 4 January 2012 14:23, Josef Leydold <josef.leyd...@wu.ac.at> wrote:
> Thanks for your reply.
>
> I have put the sources on our webserver:
>
> http://statmath.wu.ac.at/unuran/unuran-1.9.devel.tar.gz
> http://statmath.wu.ac.at/unuran/octunuran.cc
> http://statmath.wu.ac.at/unuran/octunuran.Makefile
>
> I have put all soures into the file octunuran.cc and have used symlinks
> (see octunuran.Makefile) to make the different oct functions available
> in octave (this should be replaced by corresponding entries in
> PKG_ADD).
>
> The source file is rather long and should be split into smaller ones
> (at least I would do so with C files).
>
> When one wants to test the package do the following:
>
> 1. Install unuran-1.9.devel.tar.gz (notice that this is a development
>   snapshot of the UNU.RAN library that includes some new functions
>   that are required for octunuran).
>
> 2. compile the oct file(s) and create symlinks (see octunuran.Makefile).
>
> 3. Before using any other command from this package run
>   unuran_config();
>   (This statement will be put into file PKG_ADD.)
>
> So if you are interested in the package please take a look.
> Comments are welcome.

Hi Josef

as Arno as already mentioned, octave-forge is indeed the right place.
Can you make an actual octave package? The kind that is installed with
the "pkg install" command? It's really easy, just place .m and C++
files in a inst/ and src/ directories respectively. Then create a
COPYING file (with the license), a DESCRIPTION file (with version,
package name, etc), a Makefile (seems you'll need one). I'll recommend
that you also create a NEWS file (packages from octave-forge can be
installed without need of manual download from the user but octave
will keep this file for users to read). See the already existing
octave package for examples. This links shows the image package

http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/image/

Again, as Arno as suggested, it's probably better to have a new
package for this code (instead of adding your code another one) since
you say that it's dependent on a library difficult to build on other
systems. Do you have a better name for it? unuran is not very
descriptive (I know we already have some packages with rather cryptic
names but that doesn't mean we should repeat this).

Yet again, as Arno has said, the UNU.RAN library should be distributed
separately.

On 9 January 2012 11:02, Olaf Till <olaf.t...@uni-jena.de> wrote:
> For this, you should either start a new thread or
> prepend something like "Carnë please read" to the subject so that your
> request does not get overlooked.

No need to do this at the time. I've just been specially slow after
Christmas but threads haven't been ignored. I have 59 unread octave
mails of stuff that I'll try to do on the next few of days.

Carnë

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to