For the other points, I actually don't understand the way your script works and I cannot give suggestions here (where does it get the binary from?).
It gets the library from a MacPorts installation and then changes all the linked library paths. The problem is that some paths are hardcoded inside the pango modules.
But since I got sick about the library problem i have gone the other way.
Here there are 2 files.
i) The application bundle.
It is just an "alias" to the real application. This can be used by both
MacPorts users (which did installed gtkevemon) and non port users.
ii) If you don't have gtkevemon installed with macports you are missing
all the libraries needed and other things. So there is this macports
almost automatically built package that will install those in one shot without
any need of compiling or any other effort.
It will install all the files in the folder /opt/gtkevemon
To build shuch a package you must first of all start building a macports installation from source in the prefix /opt/gtkevemon then configure it to do not autoclean ports and then use
sudo /opt/gtkevemon/bin/ mpkg gtkevemon
It takes some hours compiling every library but you will have a full gtkevemon installation
If you do it by yourselves you MUST use the package maker to slim the size! At the end of the compile the packages is >60MB!
Removing the whol perl,python_select packages and eliminating the shared and include directory from each packet makes it a lot smaller
Now i have found online some useful info on gtk+ to have a mac
interface. I'll look into it.
Don't expect me to release these version, it took 3-4 hours to compile
on my mac laptop!