Cava Packager version 2.0.80 released.

141 views
Skip to first unread message

Cava Support

unread,
Aug 31, 2012, 5:23:09 AM8/31/12
to cava-p...@googlegroups.com

Cava Packager version 2.0.80 has been released. This version of Cava
Packager contains several bug fixes over previous versions and provides
support for the Citrus Perl package release of Perl 5.16.

It is recommended that all users should upgrade to this version.

--
User Support
Cava Development Tools
Package and Distribute Perl Applications

http://www.cavapackager.com/

Johan Vromans

unread,
Aug 31, 2012, 8:19:12 AM8/31/12
to cava-p...@googlegroups.com
Cava Support <sup...@cavapackager.com> writes:

> Cava Packager version 2.0.80 has been released. This version of Cava
> Packager contains several bug fixes over previous versions and
> provides support for the Citrus Perl package release of Perl 5.16.

Bravo!

Not surprisingly this version still shows the file dialog problems we
discussed recently.

Mark could you please check: In the file dialog(Wx::FileDialog) that
selecs the Perl to use, do you use GetPath to obtain the result, or do
you use GetFilename and GetDirectory instead?

The problem is that GetDirectory seems to return the default directory
(i.e., the one passed to to the dialog) instead of the actual directory
of the selected file. In other words: GetPath() is not equal to
GetDirectory() . "/" . GetFilename().

Wx::DirDialog has similar problems.

-- Johan

Cava Support

unread,
Aug 31, 2012, 9:20:19 AM8/31/12
to cava-p...@googlegroups.com
Hi,

On 31/08/2012 13:19, Johan Vromans wrote:

> Not surprisingly this version still shows the file dialog problems we
> discussed recently.
>
> Mark could you please check: In the file dialog(Wx::FileDialog) that
> selecs the Perl to use, do you use GetPath to obtain the result, or do
> you use GetFilename and GetDirectory instead?
>
> The problem is that GetDirectory seems to return the default directory
> (i.e., the one passed to to the dialog) instead of the actual directory
> of the selected file. In other words: GetPath() is not equal to
> GetDirectory() . "/" . GetFilename().

I'm using GetDirectory so that probably explains the problem. Looking at
the trac ticket you mentioned this does seem to be a wxWidgets +
gtk-2.24.11 problem.

For some reason I recalled (incorrectly) that your issue was on Fedora
17 32 bit so tested on that - where things seemed OK.

I'm building a Fedora 17 x86_64 VM now and will figure out a workaround
for both Wx::FileDialog and Wx::DirDialog. I'll post solution to wxPerl
list + Wx wiki in addition to incorporating in a quick Cava re-release
for Linux.

It looks like a simple change to ->GetPath will do the trick, but I'll
need to test on all platforms before releasing again.

Cheers

Mark

Cava Support

unread,
Sep 2, 2012, 2:47:26 PM9/2/12
to cava-p...@googlegroups.com
As you suggested, the problem can be worked around by using ->GetPath.
Updated Cava version for Linux on its way.

On 31/08/2012 13:19, Johan Vromans wrote:

> Mark could you please check: In the file dialog(Wx::FileDialog) that
> selecs the Perl to use, do you use GetPath to obtain the result, or do
> you use GetFilename and GetDirectory instead?
>
> The problem is that GetDirectory seems to return the default directory
> (i.e., the one passed to to the dialog) instead of the actual directory
> of the selected file. In other words: GetPath() is not equal to
> GetDirectory() . "/" . GetFilename().
>

Johan Vromans

unread,
Sep 3, 2012, 2:29:40 AM9/3/12
to cava-p...@googlegroups.com
Cava Support <sup...@cavapackager.com> writes:

> As you suggested, the problem can be worked around by using ->GetPath.
> Updated Cava version for Linux on its way.

Great! Now I can select a perl interpreter and add new scripts!

Thanks,
Johan

Johan Vromans

unread,
Sep 3, 2012, 5:07:38 AM9/3/12
to cava-p...@googlegroups.com
Johan Vromans <jvro...@squirrel.nl> writes:

> Great! Now I can select a perl interpreter and add new scripts!

This new version also gave me soom room for experimenting. I found out
that the problems with CP (and several other, including non-wxWdigets
tools) disappeasr after downgrading gtk2-2.24.11-1 to gtk2-2.24.10-2.

https://bugzilla.redhat.com/show_bug.cgi?id=853399

Thanks again,

-- Johan
Reply all
Reply to author
Forward
0 new messages