develooper Front page | perl.wxperl.users | Postings from August 2008

Re: The wxPerl stack and how to declare minimum version of wxWidgets?

Thread Previous
From:
Mattia Barbon
Date:
August 2, 2008 01:26
Subject:
Re: The wxPerl stack and how to declare minimum version of wxWidgets?
Message ID:
4892D393.7020007@libero.it
Gabor Szabo wrote:

   Hi,

> I am not sure I understand but I would like to :-)
> 
> When using wxWidgets I need
> 1) C++ libraries (wxWidgets)
> 2) Perl binding (aka wxPerl)
> 3) my own code.
> 
> 1) I can get either from my Linux package management system
>     (aptitude install  wx-common   in case of Debian)
>     or by installing Alien::wxWidgets from CPAN
> 2) I might have it in my Linux distro
>     (Ubuntu 8.04 does not seem to have it)
>     or by Installing the Wx distro from CPAN
> 
> 3) That's really my problem.
> 
> Please let me know if the above description is correct.

   Yes it is.

> It would be nice to also update
> http://wxperl.sourceforge.net/about.html
> with such information.

   To be honest I believe the about page already contains the
information:

"""
wxPerl is a perl module that allows a Perl program to use the wxWidgets 
GUI toolkit.
"""

plus the explanation of what wxWidgets is in the same page [1].  Patches 
welcome (bonus points for only changing the first section, since the
section below is from the wxWidgets web site).



> If the above is true I don't think I would like to include
> Alien::wxWidgtes as a
> prereq to my module.
> So how can I declare in my CPAN module that my code needs wxWidgets
> AND that the minimal requirement of wxWdigets is 2.7 ?

   I do not think you can express this dependency using the CPAN toolchain.

Regards,
Mattia

[1] also there is this text on the main wxPerl page:

wxPerl is an extension module allowing the creation of GUI (Graphical 
User Interface) from Perl; it is built as a wrapper for the awesome 
wxWidgets C++ GUI toolkit. You can look at some screenshots or read 
about wxPerl users. A wxPerl Wiki is also available.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About