Re: [OctDev] Getting package installation prefixes

2012-04-15 Thread Juan Pablo Carbajal
On Wed, Mar 28, 2012 at 10:26 PM, c. wrote: > > On 28 Mar 2012, at 22:00, Philip Nienhuis wrote: > >>> I might be confused by the name but I think archprefix was intended to >>> point to the directory with the architecture dependent files rather than >>> just the package subdir ... >>> that is h

Re: [OctDev] Getting package installation prefixes

2012-03-28 Thread c.
On 28 Mar 2012, at 22:00, Philip Nienhuis wrote: >> I might be confused by the name but I think archprefix was intended to point >> to the directory with the architecture dependent files rather than just the >> package subdir ... >> that is handled by the files >> >> scripts/pkg/private/getarc

Re: [OctDev] Getting package installation prefixes

2012-03-28 Thread Philip Nienhuis
c. wrote: > > On 27 Mar 2012, at 20:40, Philip Nienhuis wrote: > >> Only partly, that goes only to the subdir. Inside, there's >> another one. To get there you'll need to get info from octave_config_info, >> as outlined in my post from yesterday. > > I might be confused by the name but I think a

Re: [OctDev] Getting package installation prefixes

2012-03-27 Thread c.
On 27 Mar 2012, at 20:40, Philip Nienhuis wrote: > Only partly, that goes only to the subdir. Inside, there's > another one. To get there you'll need to get info from octave_config_info, as > outlined in my post from yesterday. I might be confused by the name but I think archprefix was intend

Re: [OctDev] Getting package installation prefixes

2012-03-27 Thread Philip Nienhuis
c. wrote: > > On 27 Mar 2012, at 20:10, Philip Nienhuis wrote: > >>> b = a (cellfun(@(x) ismember (x.name, pkg_names), a, "unif", true)); >> >> ...which has many variations. One probably could even make this into a >> two-liner. >> >> But how does this help to get the full path to the arch-depende

Re: [OctDev] Getting package installation prefixes

2012-03-27 Thread c.
On 27 Mar 2012, at 20:10, Philip Nienhuis wrote: >> b = a (cellfun(@(x) ismember (x.name, pkg_names), a, "unif", true)); > > ...which has many variations. One probably could even make this into a > two-liner. > > But how does this help to get the full path to the arch-dependent .oct > install

Re: [OctDev] Getting package installation prefixes

2012-03-27 Thread Philip Nienhuis
c. wrote: > > On 26 Mar 2012, at 19:56, Philip Nienhuis wrote: > >> I already made the pkg_info function I mentioned in an earlier post >> (attached); came in handy for my own purposes too. It doesn't accept cell >> args yet (to query multiple packages) but that might be added later. >> >> Using

Re: [OctDev] Getting package installation prefixes

2012-03-26 Thread c.
On 26 Mar 2012, at 19:56, Philip Nienhuis wrote: > I already made the pkg_info function I mentioned in an earlier post > (attached); came in handy for my own purposes too. It doesn't accept cell > args yet (to query multiple packages) but that might be added later. > > Using that, you can get

Re: [OctDev] Getting package installation prefixes

2012-03-26 Thread Philip Nienhuis
Juan Pablo Carbajal wrote: > On Mon, Mar 26, 2012 at 7:56 PM, Philip Nienhuis > wrote: >> Juan Pablo Carbajal wrote: >>> >>> On Mon, Mar 26, 2012 at 8:41 AM, Juan Pablo Carbajal >>> wrote: On Sun, Mar 25, 2012 at 10:11 PM, Philip Nienhuis wrote: > > Juan Pablo Carbaja

Re: [OctDev] Getting package installation prefixes

2012-03-26 Thread Juan Pablo Carbajal
On Mon, Mar 26, 2012 at 7:56 PM, Philip Nienhuis wrote: > Juan Pablo Carbajal wrote: >> >> On Mon, Mar 26, 2012 at 8:41 AM, Juan Pablo Carbajal >>  wrote: >>> >>> On Sun, Mar 25, 2012 at 10:11 PM, Philip Nienhuis >>>  wrote: Juan Pablo Carbajal wrote: > > > On Sun, Mar 25, 2

Re: [OctDev] Getting package installation prefixes

2012-03-26 Thread Philip Nienhuis
Juan Pablo Carbajal wrote: On Mon, Mar 26, 2012 at 8:41 AM, Juan Pablo Carbajal wrote: On Sun, Mar 25, 2012 at 10:11 PM, Philip Nienhuis wrote: Juan Pablo Carbajal wrote: On Sun, Mar 25, 2012 at 5:16 PM, Philip Nienhuis wrote: Clemens Buchacher wrote: On Sat, Mar 24, 2012 at 11:06:5

Re: [OctDev] Getting package installation prefixes

2012-03-26 Thread Juan Pablo Carbajal
On Mon, Mar 26, 2012 at 8:41 AM, Juan Pablo Carbajal wrote: > On Sun, Mar 25, 2012 at 10:11 PM, Philip Nienhuis > wrote: >> Juan Pablo Carbajal wrote: >>> >>> On Sun, Mar 25, 2012 at 5:16 PM, Philip Nienhuis >>>  wrote: Clemens Buchacher wrote: > > > On Sat, Mar 24, 2012 at

[OctDev] Getting package installation prefixes

2012-03-25 Thread Juan Pablo Carbajal
On Sun, Mar 25, 2012 at 10:11 PM, Philip Nienhuis wrote: > Juan Pablo Carbajal wrote: >> >> On Sun, Mar 25, 2012 at 5:16 PM, Philip Nienhuis >>  wrote: >>> >>> Clemens Buchacher wrote: On Sat, Mar 24, 2012 at 11:06:57PM +0100, Juan Pablo Carbajal wrote: > > > On Sat, Mar