anyone had success installing portupgrade and co on osx? i'm about to give it a whirl... cheers. a @ http://drawohara.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama
On Oct 4, 2007, at 19:51, ara.t.howard wrote:
anyone had success installing portupgrade and co on osx? i'm about to give it a whirl...
Having never heard of "portupgrade" before, I Googled it... looks like it's a set of utilities for FreeBSD ports, so I doubt it would work at all with MacPorts. What functionality from portupgrade are you desiring?
On Oct 4, 2007, at 8:51 PM, Ryan Schmidt wrote:
Having never heard of "portupgrade" before, I Googled it... looks like it's a set of utilities for FreeBSD ports, so I doubt it would work at all with MacPorts. What functionality from portupgrade are you desiring?
i don't know that i need portupgrade, but the bi-directional dependancy tracking is cool... mostly i am just familiar with it and wondered if people had played with it. oh yeah - it's ruby so i can hack it ;-) cheers. a @ http://drawohara.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama
Le Thu 4/10/2007, Ryan Schmidt disait
On Oct 4, 2007, at 19:51, ara.t.howard wrote:
anyone had success installing portupgrade and co on osx? i'm about to give it a whirl...
Having never heard of "portupgrade" before, I Googled it... looks like it's a set of utilities for FreeBSD ports, so I doubt it would work at all with MacPorts. What functionality from portupgrade are you desiring?
I also doubt portupgrade will work with macports. But some features are interesting. An exemple is the fact that in upgrading it will order the recompilations thus avoiding recompiling 6 or 7 time the same library, as macports do. -- Erwan
I also doubt portupgrade will work with macports. But some features are interesting. An exemple is the fact that in upgrading it will order the recompilations thus avoiding recompiling 6 or 7 time the same library, as macports do.
This would be pretty easy to implement in the MacPorts base code, if only I understood it well enough to know where to put it :( Kind regards, Maun Suang -- Boey Maun Suang (Boey is my surname) Email: boeyms at macports dot org
On Oct 5, 2007, at 3:08 AM, Boey Maun Suang wrote:
I also doubt portupgrade will work with macports. But some features are interesting. An exemple is the fact that in upgrading it will order the recompilations thus avoiding recompiling 6 or 7 time the same library, as macports do.
This would be pretty easy to implement in the MacPorts base code, if only I understood it well enough to know where to put it :(
This is already implemented in macports (see depscache in macports.tcl) ... but maybe it doesn't work anymore? (I think it gets overridden by -f) -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
On Oct 4, 2007, at 11:14 PM, Erwan David wrote:
I also doubt portupgrade will work with macports. But some features are interesting. An exemple is the fact that in upgrading it will order the recompilations thus avoiding recompiling 6 or 7 time the same library, as macports do.
yeah it's pretty slick. non-essential, but slick. porting it, no pun intended, might be fun. i read the code and it's very easy - i just know nothing of macports or else i might try. cheers. a @ http://drawohara.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama
On Oct 5, 2007, at 09:41, ara.t.howard wrote:
On Oct 4, 2007, at 11:14 PM, Erwan David wrote:
I also doubt portupgrade will work with macports. But some features are interesting. An exemple is the fact that in upgrading it will order the recompilations thus avoiding recompiling 6 or 7 time the same library, as macports do.
yeah it's pretty slick. non-essential, but slick.
porting it, no pun intended, might be fun. i read the code and it's very easy - i just know nothing of macports or else i might try.
You probably wouldn't so much be porting it, as taking ideas from it and reimplementing them for MacPorts. I imagine MacPorts already does some of the things portupgrade does. For those features of portupgrade that you would like MacPorts to have, you would probably want to open a discussion on the macports-dev list, explain what you want the feature to do, how it would work, what the syntax would be, what the behavior would be. After there's consensus that this is a good feature to add, then hacking on the base code could begin. Note that MacPorts is written in Tcl.
Citando Ryan Schmidt :
On Oct 5, 2007, at 09:41, ara.t.howard wrote:
On Oct 4, 2007, at 11:14 PM, Erwan David wrote:
I also doubt portupgrade will work with macports. But some features are interesting. An exemple is the fact that in upgrading it will order the recompilations thus avoiding recompiling 6 or 7 time the same library, as macports do.
yeah it's pretty slick. non-essential, but slick.
porting it, no pun intended, might be fun. i read the code and it's very easy - i just know nothing of macports or else i might try.
You probably wouldn't so much be porting it, as taking ideas from it and reimplementing them for MacPorts. I imagine MacPorts already does some of the things portupgrade does. For those features of portupgrade that you would like MacPorts to have, you would probably want to open a discussion on the macports-dev list, explain what you want the feature to do, how it would work, what the syntax would be, what the behavior would be. After there's consensus that this is a good feature to add, then hacking on the base code could begin. Note that MacPorts is written in Tcl.
I don't know exactly what's the use of portupgrade, but I wrote a small dirty zsh script that writes the dependents of a port and its dependents (recursively). As it may be wanted by some people and may be quite usefull for having a coherent tree when a lib is updated, here it is. There may however be problems of order of rebuild... Hope some will like it, Emmanuel
Hi Emmanuel,
I don't know exactly what's the use of portupgrade, but I wrote a small dirty zsh script that writes the dependents of a port and its dependents (recursively). As it may be wanted by some people and may be quite usefull for having a coherent tree when a lib is updated, here it is. There may however be problems of order of rebuild...
Thank you! Brian
participants (7)
-
ara.t.howard
-
BB
-
Boey Maun Suang
-
Daniel J. Luke
-
Emmanuel Hainry
-
Erwan David
-
Ryan Schmidt