in reply to Re^5: ActiveState PerlApp + Gtk and themes
in thread ActiveState PerlApp + Gtk and themes
Bound files, when their name is set to eg. some/path/file.dat will be expanded to %TEMP%\pdk-%USERNAME%-%PID%\some\path\file.dat. This seems incredibly useful, albeit ever so slightly uncomfortable due to the PIDded folder. At least it is full well possible to specify non-flat paths. Good!
As far as GTK+ is concerned (and Pango, and the others looking for their files), the files are expected as if the DLLs' place in the file system were the UNIX /usr/local or a /opt/$something, so the etc, lib or share stuff go into, for example auto/lib/Gtk2/{etc,lib,share}. This is, however, a completely different directory than the one where we autoextract bound files: the libs live in %TEMP%\pdk-%USERNAME%\$sha1something\, and don't seem to support expanding more than just the specified folder — so in particular, the subdirectories never exist in them and GTK+ won't find the needed libraries/config files/locales/whatever.
(I'm not sure if I've mentioned, the theming and the locale files are found by the non-packed script now, but as the packed one is missing the carefully placed files, a different method is now needed.)
So now I'm trying to figure out how to make good ol' GTK+ look for its resources in %TEMP%\pdk-%USERNAME%-%PID%, but for that, Running GTK+ Applications might be of good help. Had that page open in my browser all day, no luck yet, but it might come to me any time...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: ActiveState PerlApp + Gtk and themes
by Marshall (Canon) on Jan 20, 2012 at 21:18 UTC | |
by Ralesk (Pilgrim) on Jan 20, 2012 at 22:20 UTC | |
by Marshall (Canon) on Jan 20, 2012 at 23:14 UTC | |
by Ralesk (Pilgrim) on Jan 20, 2012 at 23:27 UTC | |
by Marshall (Canon) on Jan 30, 2012 at 05:43 UTC | |
by Ralesk (Pilgrim) on Jan 23, 2012 at 13:44 UTC |