Re: [Scons-dev] [Scons-users] CheckPkG on OS X 10.9
As usual, it is never that easy. The real question is the interface to specifying the permission bits, and any owed/group user ids. What I have works for me but maybe not everyone. Here is what I use. It may not work on Windows but then I suspect the install issues on Windows are different. I do use this on the OSX. Sounds like I should update my octal constant from recent emails! env['INSTALL']=installFunc env['INSTALL_GROUP']='mygroup'env['INSTALL_MODE']=0710# leading 0 implies octal *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Rob Managan email managan at llnl.gov LLNL phone: 925-423-0903 P.O. Box 808, L-095 FAX: 925-422-3389 Livermore, CA 94551-0808 On 5/2/14 8:57 AM, "Russel Winder" wrote: >On Fri, 2014-05-02 at 15:45 +, Managan, Rob wrote: >> Since this issue was raised I thought I would refresh another one. >> >> Every year or two we get a request about Install functions. I have one >> that allows the user to not only install a file in a location but set >>the >> owner and group Ids along with the permission bits on Unix. >> >> Is this something that should get into the core code or just remain a >>user >> function? Scons does let you replace the default function with your own >> nicely. > >If these are drop in replacements for Install and InstallAs, I'd vote >for replacing the current versions in the core. > >-- >Russel. >== >=== >Dr Russel Winder t: +44 20 7585 2200 voip: >sip:russel.win...@ekiga.net >41 Buckmaster Roadm: +44 7770 465 077 xmpp: rus...@winder.org.uk >London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder > >___ >Scons-dev mailing list >Scons-dev@scons.org >http://two.pairlist.net/mailman/listinfo/scons-dev ___ Scons-dev mailing list Scons-dev@scons.org http://two.pairlist.net/mailman/listinfo/scons-dev
Re: [Scons-dev] [Scons-users] CheckPkG on OS X 10.9
On Fri, 2014-05-02 at 15:45 +, Managan, Rob wrote: > Since this issue was raised I thought I would refresh another one. > > Every year or two we get a request about Install functions. I have one > that allows the user to not only install a file in a location but set the > owner and group Ids along with the permission bits on Unix. > > Is this something that should get into the core code or just remain a user > function? Scons does let you replace the default function with your own > nicely. If these are drop in replacements for Install and InstallAs, I'd vote for replacing the current versions in the core. -- Russel. = Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41 Buckmaster Roadm: +44 7770 465 077 xmpp: rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder ___ Scons-dev mailing list Scons-dev@scons.org http://two.pairlist.net/mailman/listinfo/scons-dev
Re: [Scons-dev] [Scons-users] CheckPkG on OS X 10.9
Since this issue was raised I thought I would refresh another one. Every year or two we get a request about Install functions. I have one that allows the user to not only install a file in a location but set the owner and group Ids along with the permission bits on Unix. Is this something that should get into the core code or just remain a user function? Scons does let you replace the default function with your own nicely. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Rob Managan email managan at llnl.gov LLNL phone: 925-423-0903 P.O. Box 808, L-095 FAX: 925-422-3389 Livermore, CA 94551-0808 On 5/2/14 4:57 AM, "Russel Winder" wrote: >On Thu, 2014-05-01 at 17:24 -0400, Gary Oberbrunner wrote: >[Š] >> On Thu, May 1, 2014 at 5:16 PM, Mr iQ wrote: >[Š] >> > i took the second example from this url : >> > http://www.scons.org/wiki/UsingPkgConfig > >This page reminds me that SCons support for pkg-config is very weak, and >should be better. I suspect everyone is writing their own versions of >the checking functions which should come as standard. > >I'll raise this on the developer list, we need to decide the best >approach to introducing some better infrastructure. > >-- >Russel. >== >=== >Dr Russel Winder t: +44 20 7585 2200 voip: >sip:russel.win...@ekiga.net >41 Buckmaster Roadm: +44 7770 465 077 xmpp: rus...@winder.org.uk >London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder > >___ >Scons-users mailing list >scons-us...@scons.org >http://four.pairlist.net/mailman/listinfo/scons-users ___ Scons-dev mailing list Scons-dev@scons.org http://two.pairlist.net/mailman/listinfo/scons-dev
Re: [Scons-dev] [Scons-users] CheckPkG on OS X 10.9
On Thu, 2014-05-01 at 17:24 -0400, Gary Oberbrunner wrote: […] > On Thu, May 1, 2014 at 5:16 PM, Mr iQ wrote: […] > > i took the second example from this url : > > http://www.scons.org/wiki/UsingPkgConfig This page reminds me that SCons support for pkg-config is very weak, and should be better. I suspect everyone is writing their own versions of the checking functions which should come as standard. I'll raise this on the developer list, we need to decide the best approach to introducing some better infrastructure. -- Russel. = Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41 Buckmaster Roadm: +44 7770 465 077 xmpp: rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder ___ Scons-dev mailing list Scons-dev@scons.org http://two.pairlist.net/mailman/listinfo/scons-dev