Hello Monks,
We have a Perl program with a GTK+ GUI that we'd like to bundle into a single .exe file for our Win32 users.
Since ActiveState don't seem to get GTK+ (they're missing pkg-config among other things, and as such there are only some rather outdated third-party PPM repositories to use), we've decided to compile Gtk (the Perl binding) ourselves. It seems to work quite decently, even use the WIMP (libwimp.dll) engine to look like Windows. This is in contrast with one of the third-party things that only carried the default engine.
The problem: actually packaging with PerlApp.
- PerlApp seems to be otherwise quite fine, but for one, it can't figure out what DLLs we need from GTK+ (the C original) to use Gtk (the Perl binding), manually copying the respective libs to site/lib/auto/{Cairo,Glib,Gtk2,Pango,Gtk2/GladeXML} seems to help and the program runs at least. This is kinda magical and weird.
- WIMP isn't found. I've tried to put it where the other GTK+ libs live in the tree, but GTK wasn't happy about it. Tried to mess with the GTK_PATH environment variable, but I have absolutely no idea about the file system structure within the PerlApp executable, if there's even any. I've tried Strawberry+PAR the last few days, there there is a FS tree (it's a ZIP file, afterall), but I couldn't figure out PerlApp yet. I'm hoping that all I have to do is place libwimp.dll to the right directory somewhere.
So I'm asking you for any ideas on how to get WIMP to be recognised by the theming engine. For extra points: is it possible to include another (mostly unrelated) binary in the bundle and have it available during the script's run?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.