On 10/12/06, Jonas Karlsson <[EMAIL PROTECTED]> wrote: > > diff -u -b -r1.122 -r1.123 > > --- Compile 9 Sep 2006 15:05:28 -0000 1.122 > > +++ Compile 12 Oct 2006 04:44:49 -0000 1.123 > > @@ -196,7 +196,7 @@ > > fi > > Log_Normal "Generating package's build information..." > > - GenBuildInformation "$appname" "$versionnumber" > > > "$target/Resources/BuildInformation" > > + GenBuildInformation --store "$appname" "$versionnumber" > > # TODO: Dependencies file of binary package is currently being copied > > from Recipe at install_extras > > # We sould adapt this dependency file, since dependencies for a > > binary package are usually > > This, again, raises the question about Dependency file. What should be > done with it on binary packages? There's a bug in > Compile/SignPackage/CreatePackage as in > http://lists.gobolinux.org/pipermail/gobolinux-devel/2006-October/001628.html
Ok. At first I thought I'd better not mess with this since I'm not that familiar with the signing code, but I'm taking a look at this. Let's see: based on what we agreed on recently, Dependencies should be handwritten and BuildInformation generated at build time. So, none of these should be automatically written by CreatePackage. So I'm taking off this code from CreatePackage. Instead, I'm making CreatePackage die when the Dependencies file is missing, so that packages are not distributed without any dependency info. Since CreatePackage will encourage the user to write a Dependencies file when it is missing, signing the program when the Dependencies file is not there yet doesn't make sense. So, Compile will only sign programs containing a Dependencies file. I think this fixes the workflow. It'll make it a bit more annoying, but I think it's part of the plan to get more correct dependency info. I just finished these changes in my local copy. Does this sound good? If so, I'll commit. -- Hisham _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel