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 |