#pentagram@irc.freenode.net logs for 9 Aug 2012 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage


[02:12:06] --> Dominus1 has joined #pentagram
[02:15:00] <-- Dominus has left IRC (Ping timeout: 244 seconds)
[02:40:18] --> Dominus has joined #pentagram
[02:40:18] --- ChanServ gives channel operator status to Dominus
[02:40:19] <-- Dominus1 has left IRC (Read error: Connection reset by peer)
[07:38:43] --> jvlee has joined #pentagram
[09:01:53] <-- nutron has left IRC (Quit: I must go eat my cheese!)
[12:52:29] --> Dominus1 has joined #pentagram
[12:53:38] <-- Dominus has left IRC (Ping timeout: 244 seconds)
[13:15:11] <-- Kirben has left IRC ()
[13:42:34] <Dominus1> wjp, if you have time, I have a strange problem. I need to codesign my pentagram snapshot and I'm running a script that does "make bundle", "codesign... pantagram.app" (the bundle), cp pentagram.app/contents/macos/pentagram pentagram (too fool the next step) and then "make image"
[13:43:05] <Dominus1> this works with exult so that the make image step doesn't trigger the make bundle step again
[13:44:21] <Dominus1> but for some reason it gets triggered anyway and thus the step "$(INSTALL_PROGRAM) pentagram$(EXEEXT) $(bundle_name)/Contents/MacOS/" strips the binary again and it loses the code signature...
[13:44:48] <Dominus1> see module.mk for the make rules
[13:57:49] <Dominus1> strangely, when I do the codesign and copy binary a second time, the codesigning holds for all following "make bundle"...
[14:14:56] --- ChanServ gives channel operator status to Dominus1
[14:14:56] --- Dominus1 is now known as Dominus
[14:29:46] <wjp> hm
[14:32:42] <wjp> why the cp exactly?
[14:34:37] <wjp> in any case, it seems those bundle/image targets are more scripts than actual build rules
[14:34:46] <wjp> with somewhat fishy dependency specifications
[14:38:10] <wjp> try adding bundle and image to the .PHONY line at the end
[14:39:04] <wjp> and I still don't understand the cp, or why you would want to fool the next step
[15:06:18] <Dominus> sorry for being cryptic... :)
[15:06:40] <Dominus> I learnt I need to codesign the app bundle and not the binary, so I first need to make bundle.
[15:07:12] <Dominus> code signing changes the binary in the bundle so it is no longer the same binary as the one that was being built
[15:08:07] <Dominus> I cp it so make is fooled into thinking the binary is the same in the bundle as the one that was being built so when I make image it doesn't run make bundle again
[15:08:35] <Dominus> this seems to work for exult, nuvie and xu4 but doesn't for pentagram
[15:09:12] <Dominus> I'll try the phony thing next
[15:17:16] <-- Dominus has left IRC (Read error: Connection reset by peer)
[15:18:04] --> Dominus has joined #pentagram
[15:18:13] --- ChanServ gives channel operator status to Dominus
[15:23:57] <wjp> hm, I don't understand how that cp would do that
[15:24:08] <wjp> make has no knowledge of the pentagram binary inside the bundle
[15:46:12] <Dominus> hmm, then I wonder how that worked out for exult and th eothers but not for pentagram...
[15:46:32] <Dominus> If I remove the dependency on bundle all should be fine though :)
[15:56:20] --> Dominus1 has joined #pentagram
[15:56:21] <-- Dominus has left IRC (Read error: Connection reset by peer)
[15:56:37] --- ChanServ gives channel operator status to Dominus1
[15:56:37] --- Dominus1 is now known as Dominus
[18:26:00] <Dominus> wjp, do you think it would be fine to add some undefined variable to the disk image rule? Something like $CODESIGN so I can define this in my build script but it doesn't break without this define...
[18:26:45] <Dominus> I shouldn't delete the dependency on make bundle since you really *need* the bundle for the image to be of use
[18:30:31] --> Dominus1 has joined #pentagram
[18:33:33] <-- Dominus has left IRC (Ping timeout: 246 seconds)
[18:35:53] --- ChanServ gives channel operator status to Dominus1
[18:35:53] --- Dominus1 is now known as Dominus
[19:00:04] --> watt_ has joined #pentagram
[19:00:05] <-- watt has left IRC (Read error: Connection reset by peer)
[19:00:05] --- ChanServ gives channel operator status to watt_
[19:00:05] --- watt_ is now known as watt
[19:01:33] --> watt_ has joined #pentagram
[19:01:34] <-- watt has left IRC (Read error: Connection reset by peer)
[19:01:34] --- ChanServ gives channel operator status to watt_
[19:01:34] --- watt_ is now known as watt
[19:24:53] --> nutron has joined #pentagram
[20:25:06] <Dominus> *or* which is easier, I could make it a configure option to enable code signing. For code signing I only need a generic command "codesign -f -s "Developer ID Application" bundlename"
[20:25:24] <Dominus> *easier* = less of a hack
[20:26:20] <Dominus> then just "$(CODESIGN) $(bundlename)" in the osxdmg make rule
[21:07:05] <Dominus> wjp, what do you think of http://pastebin.com/vwen0iCU as a patch for *nuvie* to make codesigning a configure option?
[21:07:27] <Dominus> I used nuvie since that builds the fastest for me for testing and has the less stuff in configure :)
[22:59:23] <-- watt has left IRC (Read error: Connection reset by peer)
[22:59:33] --> Kirben has joined #pentagram
[22:59:34] --- ChanServ gives channel operator status to Kirben
[23:00:07] --> watt has joined #pentagram
[23:00:07] --- ChanServ gives channel operator status to watt
[23:50:28] --> Dominus1 has joined #pentagram
[23:50:55] --- ChanServ gives channel operator status to Dominus1
[23:50:55] --- Dominus is now known as Guest56583
[23:50:55] <-- Guest56583 has left IRC (Killed (gibson.freenode.net (Nickname regained by services)))
[23:50:55] --- Dominus1 is now known as Dominus