From: Mark W. <ma...@ne...> - 2006-07-27 22:25:47
|
Hello, I am having another go at packaging Wx::PdfDocument. Up until now I have simply copied my source tree into ext/pdf and simply added --enable-pdf to the standard wxPerl Makefile.PL command line arguments. But I would like to package it properly so the community can benefit from the code. Some of the shortcomings are: If I use "Wx::build::MakeMaker::Core" I get an error that "script\pipe.pl" cannot be found. Is it not possible to use this module? Should I simply use "Wx::build::MakeMaker"? I also include files such as "cpp/wxapi.h" and "ext/print/cpp/pr_constants.cpp" and I have tried to use the xsp syntax and xsubppp.pl but this depends on locating the wxPerl source files. Do I need to create an ENV to locate the wxPerl source folders or would it be better to copy more of the wxPerl source helper files to /perl/site/lib/build+cpp? Am I trying to use too much of wxPerl's customised build environment and should I steer more towards a vanilla XS environment? Or would it not be better to open up the wxPerl XS build environment to make it easier to create/wrap independent wxWidgets code such as this? I have often looked at other wxWidgets code (such as wxAUI, wxIFM and wxTreeListCtrl ) and tried to integrate them into wxPerl but it is looks like such an obscure black art (to a lesser skilled XS hacker) that I really struggle to get started. Wx-Sample does not get me very far at all, I keep going back to it thinking I have missed something but it is very limited. PLEASE HELP, a few more pointers and I may finally crack this. Many thanks Mark |
From: Mattia B. <mat...@li...> - 2006-07-28 19:06:44
|
On Tue, 25 Jul 2006 21:26:25 +0200 "Mark Wardell" <ma...@ne...> wrote: Hello, > Am I trying to use too much of wxPerl's customised build environment and > should I steer more towards a vanilla XS environment? Or would it not be > better to open up the wxPerl XS build environment to make it easier to > create/wrap independent wxWidgets code such as this? > > I have often looked at other wxWidgets code (such as wxAUI, wxIFM and > wxTreeListCtrl ) and tried to integrate them into wxPerl but it is looks > like such an obscure black art (to a lesser skilled XS hacker) that I really > struggle to get started. Wx-Sample does not get me very far at all, I keep > going back to it thinking I have missed something but it is very limited. Please see Wx::GLCanvas. This should answer at least some of your questions. Regards Mattia |
From: Mark W. <ma...@ne...> - 2006-08-01 20:16:47
|
Hi, I have started to follow Wx::GLCanvas but I can come up short trying to use *.xsp files. I have the following line in my XS file: INCLUDE: perl ../../script/xsubppp.pl --typemap=../../typemap.xsp XS/PdfDocument.xsp | But I get the error: Can't open perl script "../../script/xsubppp.pl": No such file or directory So my immediate problems seem to be: 1) How can I use xsubppp.pl from a 3rd party wxPerl module such as Wx::PdfDocument? 2) How do I include the core wxPerl typemap.xsp? (I am assuming I need to) Any help withh this greatly appreciated. Regards Mark |
From: Mattia B. <mat...@li...> - 2006-08-02 18:58:04
|
On Tue, 1 Aug 2006 21:59:23 +0200 "Mark Wardell" <ma...@ne...> wrote: Hi, > I have started to follow Wx::GLCanvas but I can come up short trying to use > *.xsp files. > > 1) How can I use xsubppp.pl from a 3rd party wxPerl module such as > Wx::PdfDocument? > 2) How do I include the core wxPerl typemap.xsp? (I am assuming I need to) At the moment you can't; I will need to split the XS++ parser from core wxPerl and release it on CPAN. But not today... For now you can simply include scripts/xsubppp.pl and related files in Wx::PdfDocument. I know it is not a very good soution, but it works for now. HTH Mattia |
From: Mark W. <ma...@ne...> - 2006-08-03 06:06:06
|
Hi, I have already copied your files into my folders to get things working, but I was looking for a more elegant solution to move forward. I started this email with suggestions but I changed my mind, let me have a look at this and give you something to start with ... Regards Mark -----Original Message----- From: wxp...@li... [mailto:wxp...@li...] On Behalf Of Mattia Barbon Sent: 02 August 2006 09:03 PM To: wxp...@li... Subject: Re: [wxperl-users] Packaging Wx::PdfDocument On Tue, 1 Aug 2006 21:59:23 +0200 "Mark Wardell" <ma...@ne...> wrote: Hi, > I have started to follow Wx::GLCanvas but I can come up short trying > to use *.xsp files. > > 1) How can I use xsubppp.pl from a 3rd party wxPerl module such as > Wx::PdfDocument? > 2) How do I include the core wxPerl typemap.xsp? (I am assuming I need > to) At the moment you can't; I will need to split the XS++ parser from core wxPerl and release it on CPAN. But not today... For now you can simply include scripts/xsubppp.pl and related files in Wx::PdfDocument. I know it is not a very good soution, but it works for now. HTH Mattia ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxperl-users mailing list wxp...@li... https://lists.sourceforge.net/lists/listinfo/wxperl-users |