Mercurial > dwindows
annotate mac/finishup.sh @ 1853:4790589f52a9
Initial commit for new dw_signal_connect_data() function...
Same as dw_signal_connect() but it has an additional callback
parameter that gets called when the callback is being removed.
This allows me to free memory allocated for the data parameter
and prevent memory leaks in godwindows... Tested GTK and Mac.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 27 Feb 2013 19:14:22 +0000 |
parents | 6382fd88b49a |
children | 1a196ada0bc9 |
rev | line source |
---|---|
443
e99cd6e45c0b
Need to have a application package directory for binaries to properly run
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
1 #!/bin/sh |
e99cd6e45c0b
Need to have a application package directory for binaries to properly run
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
2 PLATFORM=`uname -s` |
e99cd6e45c0b
Need to have a application package directory for binaries to properly run
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
3 |
e99cd6e45c0b
Need to have a application package directory for binaries to properly run
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
4 if [ $PLATFORM = "Darwin" ] |
e99cd6e45c0b
Need to have a application package directory for binaries to properly run
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
5 then |
e99cd6e45c0b
Need to have a application package directory for binaries to properly run
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
6 mkdir -p dwtest.app/Contents/MacOS |
e99cd6e45c0b
Need to have a application package directory for binaries to properly run
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
7 mkdir -p dwtest.app/Contents/Resources |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
443
diff
changeset
|
8 |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
443
diff
changeset
|
9 cp -f $1/mac/Info.plist dwtest.app/Contents |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
443
diff
changeset
|
10 cp -f $1/mac/PkgInfo dwtest.app/Contents |
443
e99cd6e45c0b
Need to have a application package directory for binaries to properly run
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
11 cp -f dwtest dwtest.app/Contents/MacOS |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
443
diff
changeset
|
12 fi |