Easy way to exit maintainer roles?

2010-05-20 Thread Darren Weber
I may be moving on to a new position working with linux systems, with no access to an OSX system. I should probably relinquish maintainer status on any ports that I've been working with soon. What is the easiest way to do that? Should I go through the svn tree and remove 'dweber' or '

Re: [63983] trunk/dports/graphics/InsightToolkit/Portfile

2010-02-23 Thread Darren Weber
find libraries that are installed by MacPorts, with a priority to find the MacPorts libraries before Apple libs, but after user-installed libs in /usr/local etc. On Fri, Feb 19, 2010 at 7:31 PM, Ryan Schmidt ryandes...@macports.orgwrote: On Feb 19, 2010, at 19:12, Darren Weber wrote

Re: [63983] trunk/dports/graphics/InsightToolkit/Portfile

2010-02-19 Thread Darren Weber
It was a build-time dependency, but I changed it to a lib-dep because cmake contains Modules in /opt/local/share/cmake-2.8/Modules/ Whenever cmake is upgraded, the path to these modules may change and the InsightToolkit should build again to modify some of those module files, like FindITK.cmake.

Re: [63831] trunk/dports/graphics/InsightToolkit/Portfile

2010-02-17 Thread Darren Weber
Latest revision has disabled parallel builds in the port. Interesting, did not know about the 'notes' facility. As Ryan indicated, the ui_msg is to advise users that the build and install will take a very long time. I agree that -o and -k are not commonly used by users, but I've found that this

/opt/local/lib/libgcc_s.1.dylib, binutils, llvm-gcc42

2009-12-16 Thread Darren Weber
There seem to be many ports that build and install /opt/local/lib/libiberty.a One potential consequence is failure for installations or upgrades. For example, $ sudo port install llvm-gcc42 --- Computing dependencies for llvm-gcc42 --- Activating llvm-gcc42 @2.6_0+darwin+darwin_i386 Error:

Re: Any interest in using git for scm?

2009-11-07 Thread Darren Weber
, Nov 6, 2009 at 10:46 AM, Darren Weber dwe...@macports.org wrote: After listening to Linus Torvalds talk about git and looking at a video tutorial from Scott Chacon, it would seem beneficial to use git for MacPorts development. It appears that git can be used with an existing svn repository

Re: The next MacPorts management

2009-10-09 Thread Darren Weber
On Thu, Oct 8, 2009 at 11:12 PM, Bryan Blackburn b...@macports.org wrote: It's been about a year since the new portmgr has been around, so I believe that means it's about time to start looking at the next year's portmgr. In the past, it was usually voted upon [1], and I figured that would be

tclsh testing - error on source for committers tips and tricks code

2009-10-05 Thread Darren Weber
At http://trac.macports.org/wiki/CommittersTipsAndTricks there is a section titled: Do Explorative Programming in tclsh with Readline SupportIt contains tcl code to source after starting tclsh (8.4?) under rlwrap, as follows: source /Library/Tcl/macports1.0/macports_fastload.tcl package require

Re: tclsh testing - error on source for committers tips and tricks code

2009-10-05 Thread Darren Weber
OK, updated the tips tricks with a comment on the require package for port 1.0 and a reference to the prior email. Thanks, Darren On Mon, Oct 5, 2009 at 11:06 AM, Maximilian Nickel mn...@macports.orgwrote: Hi, On Mon, Oct 5, 2009 at 7:51 PM, Darren Weber dwe...@macports.org wrote

Updates to svn sandbox instructions

2009-10-05 Thread Darren Weber
See http://trac.macports.org/wiki/CommittersTipsAndTricks There are updated to the svn user guideliness, to include tips on merging changes back to the trunk. Please modify or advise me on any significant errors or omissions, easier methods, etc. Take care, Darren

Re: [MacPorts] #20773: Add zope2.10

2009-09-08 Thread Darren Weber
I'm curious about using Plone, which is currently at version 3.3. I've downloaded the unified installer from http://plone.org/products/plone and I'll take a look at the content of that package to see what the latest dependencies are (most likely they are satisfied by some MacPorts). However, it

Re: [MacPorts] #20773: Add zope2.10

2009-09-08 Thread Darren Weber
...@macports.orgwrote: On Sep 8, 2009, at 14:53, Darren Weber wrote: I'm curious about using Plone, which is currently at version 3.3. I've downloaded the unified installer from http://plone.org/products/plone and I'll take a look at the content of that package to see what the latest dependencies are (most

Re: Vim MacPorts support

2009-07-23 Thread Darren Weber
I've found that MacVim provides fairly useful tcl highlighting just by using the mode line that is suggested here: http://guide.macports.org/#development.practices That is, # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-

Re: tar version comparison

2009-07-02 Thread Darren Weber
On Wed, Jul 1, 2009 at 3:57 PM, Joshua Root j...@macports.org wrote: On 2009-7-2 07:16, Darren Weber wrote: I need to test if the system has a tar version between 1.14 and 1.14.90, what is the best way to do this in tcl? Toby has answered your question, but it seems like you'd be better

Re: tar version comparison

2009-07-02 Thread Darren Weber
On Wed, Jul 1, 2009 at 3:57 PM, Joshua Root j...@macports.org wrote: On 2009-7-2 07:16, Darren Weber wrote: I need to test if the system has a tar version between 1.14 and 1.14.90, what is the best way to do this in tcl? Toby has answered your question, but it seems like you'd be better

Re: tar version comparison

2009-07-02 Thread Darren Weber
: On Wed, Jul 1, 2009 at 3:57 PM, Joshua Root j...@macports.org wrote: On 2009-7-2 07:16, Darren Weber wrote: I need to test if the system has a tar version between 1.14 and 1.14.90, what is the best way to do this in tcl? Toby has answered your question, but it seems like you'd

tar version comparison

2009-07-01 Thread Darren Weber
I need to test if the system has a tar version between 1.14 and 1.14.90, what is the best way to do this in tcl? I have the following tcl script snippet, but there may be an easier way. # tar-1.14 uses --strip-path, tar-1.14.90+ uses --strip-components set tarArg --strip-components set

Re: checksum script

2009-06-25 Thread Darren Weber
Hi Jeremy, The sed scrips do a bit of string replacement. It seems the commands you listed below put the backslash on the next line, rather than appended to the current line. If you want to loop over multiple input files, you might try $@, see:

wxWidgets upgrade to lower version?

2009-06-25 Thread Darren Weber
Surely wxWidgets @2.8.10_0 is a higher than @2.8.9_0, but not so according to `port upgrade -uR outdated` --- Fetching wxWidgets --- Verifying checksum(s) for wxWidgets --- Extracting wxWidgets --- Applying patches to wxWidgets --- Configuring wxWidgets --- Building wxWidgets --- Staging

Re: wxWidgets upgrade to lower version?

2009-06-25 Thread Darren Weber
On Thu, Jun 25, 2009 at 3:41 PM, Jeremy Lavergne jer...@lavergne.gotdns.org wrote: epoch 1 On Jun 25, 2009, at 6:39 PM, Darren Weber wrote: Surely wxWidgets @2.8.10_0 is a higher than @2.8.9_0, but not so according to `port upgrade -uR outdated

Re: [MacPorts] CommittersTipsAndTricks modified

2009-06-24 Thread Darren Weber
I use this bash script on a download file that will identifed as a distfile, during the process of updating a Portfile. So, it's designed to generate a new checksum for a Portfile. For example, I updated libpqxx from 3.0 to 3.0.1 yesterday, so all the checksums had to be changed in the Portfile.

Re: [MacPorts] CommittersTipsAndTricks modified

2009-06-24 Thread Darren Weber
-formatted string for insertion in a Portfile with the actual checksums of the distfiles. So when I update something, I increment the version, then I run sudo port -v checksum and paste the string into the Portfile. Le 24 juin 09 à 20:42, Darren Weber a écrit : I use this bash script

java build for new port

2009-06-24 Thread Darren Weber
I want to create new port for this: http://farsight-toolkit.org/wiki/FARSIGHT_Tutorials/Building_Software/Bio-Formats/Building_C%2B%2B_Bindings I need advice on how to get started for this java build. Is there already a port with similar requirements for ant and jace? Thanks in advance, Darren

Re: New committer: giorgio_v

2009-06-16 Thread Darren Weber
On Tue, Jun 16, 2009 at 1:17 PM, Blair Zajac bl...@orcaware.com wrote: On Jun 16, 2009, at 12:44 PM, Bryan Blackburn wrote: On Tue, Jun 16, 2009 at 11:48:41AM -0700, Blair Zajac said: [...] Also, we should put Ryan's comments on the wiki. The most common ones that are in response to a

Re: Apple WWDC and open-source software

2009-06-16 Thread Darren Weber
On Tue, Jun 16, 2009 at 10:33 AM, Boyd Waters bwat...@nrao.edu wrote: Has there ever been any discussion or promotion of open-source software at WWDC? Two years ago, I attended WWDC. One of the lunch talks was for Science and Mac Developers -- they wanted to talk about (proprietary) HPC

Re: New committer: giorgio_v

2009-06-15 Thread Darren Weber
Welcome Giorgio! And good luck. I found these helpful when starting: http://trac.macports.org/wiki/NewCommittersGuide http://trac.macports.org/wiki/CommittersTipsAndTricks I also like this book on svn: http://www.pragprog.com/titles/svn2/pragmatic-version-control-using-subversion Take care,

Apple WWDC and open-source software

2009-06-15 Thread Darren Weber
I had to attend the WWDC because my employer wants and iPhone app. Of course, I'm bound by Apple to confidentiality on the details (except the keynote), but you all know that Snow Leopard will be out the door this year. Has there ever been any discussion or promotion of open-source software at

Default compiler for Snow Leopard

2009-06-08 Thread Darren Weber
Is there any plan to define or redefine the default compiler for Snow Leopard? Some folks may have access to a developer preview of Snow Leopard soon, what do you recommend to maintain the integrity of an existing MacPorts installation under Leopard, after the upgrade to Snow Leopard? Take care,

reinplace - how to remove a new line char

2009-05-29 Thread Darren Weber
An example of how to remove a line with some search text in it. Assume tmp.txt contains: # BEGIN (not in file) abc def # END (not in file) reinplace {$!N;s|^.*abc.*\\n||g} tmp.txt If you need to include variables -- escape, escape, escape! set abcVar abc reinplace \$!N;s|^.*${abcVar}.*\\n||g

Re: How to build an xcode project

2009-05-27 Thread Darren Weber
On Wed, May 27, 2009 at 10:00 AM, Joshua Root j...@macports.org wrote: On 2009-5-28 02:50, Darren Weber wrote: I don't see any ports for the Lua-ObjC bridge framework. Maybe someone with more experience with xcode builds can resolve the issue, so I have committed a new Portfile under

python install anomalies - tcl code to set paths

2009-05-22 Thread Darren Weber
The python 2.x installs contain can variations in paths for the include and lib installations (python2.6 deviates from the prior patterns set by 2.4 and 2.5). The following tcl code should work for python 2.4, 2.5, and 2.6 (as of May 2009). The nice thing about this tcl code is that a port can

Re: python install anomalies - tcl code to set paths

2009-05-22 Thread Darren Weber
On Fri, May 22, 2009 at 12:07 PM, Darren Weber dwe...@macports.org wrote: The python 2.x installs contain can variations in paths for the include and lib installations (python2.6 deviates from the prior patterns set by 2.4 and 2.5). The following tcl code should work for python 2.4, 2.5

Re: python install anomalies - tcl code to set paths

2009-05-22 Thread Darren Weber
On Fri, May 22, 2009 at 3:58 PM, Rainer Müller rai...@macports.org wrote: On 2009-05-22 21:07, Darren Weber wrote: The following tcl code should work for python 2.4, 2.5, and 2.6 (as of May 2009). The nice thing about this tcl code is that a port can use it to set a python dependency

Re: framework.dir - global var documentation?

2009-05-19 Thread Darren Weber
On Tue, May 19, 2009 at 1:12 PM, Darren Weber dwe...@macports.org wrote: Can we add ${framework.dir} to the global variable documentation? http://guide.macports.org/#reference.variables Regards, Darren Actually, is it possible and easy to change from $frameworks_dir to $frameworkpath

Re: tcl catch syntax

2009-05-18 Thread Darren Weber
On Mon, May 18, 2009 at 4:08 PM, Rainer Müller rai...@macports.org wrote: On 2009-05-19 00:48, Darren Weber wrote: DEBUG: Executing proc-post-org.macports.destroot-destroot-2 Error: Target org.macports.destroot returned: wrong # args: should be catch command ?varName? Warning

Re: tcl catch syntax

2009-05-18 Thread Darren Weber
Oh, yea, rlwrap tclsh8.4 On Mon, May 18, 2009 at 4:17 PM, Darren Weber dwe...@macports.org wrote: AArggg, NO readline support in apple tclsh8.4 :-( Is there any easy way to get it? Maybe a module include or something? Thanks, again, Darren On Mon, May 18, 2009 at 4

source .tcl script on tclsh startup, and remain in interactive mode

2009-05-18 Thread Darren Weber
Let the file ~/bin/macports.tcl contain the following: source /Library/Tcl/macports1.0/macports_fastload.tcl package require Pextlib Then, how do you startup tclsh8.4 with a command line option to source this file and remain in an interactive mode? The man page and a google search are not

Re: source .tcl script on tclsh startup, and remain in interactive mode

2009-05-18 Thread Darren Weber
On Mon, May 18, 2009 at 4:30 PM, Darren Weber dwe...@macports.org wrote: Let the file ~/bin/macports.tcl contain the following: source /Library/Tcl/macports1.0/macports_fastload.tcl package require Pextlib Then, how do you startup tclsh8.4 with a command line option to source this file

Re: [50947] trunk/dports/devel

2009-05-14 Thread Darren Weber
On Wed, May 13, 2009 at 5:05 PM, Ryan Schmidt ryandes...@macports.orgwrote: On May 13, 2009, at 18:22, dwe...@macports.org wrote: Revision: 50947 http://trac.macports.org/changeset/50947 Author: dwe...@macports.org Date: 2009-05-13 16:22:30 -0700 (Wed, 13 May 2009) Log

symlink for g++ broken link to /usr/bin/bin/g+cc-4.0

2009-05-14 Thread Darren Weber
[ dwe...@x ~ ]$ ll /opt/local/bin/g++ lrwxr-xr-x 1 root admin 20 2008-10-29 10:35 /opt/local/bin/g++ - /usr/bin/bin/g++-4.0 [ dwe...@x ~ ]$ ll /usr/bin/bin/g++-4.0 /opt/local/bin/gls: cannot access /usr/bin/bin/g++-4.0: No such file or directory [ dwe...@x ~ ]$ port provides /opt/local/bin/g++

Re: Can we create proc{} Portfile?

2009-05-13 Thread Darren Weber
On Tue, May 12, 2009 at 10:13 PM, Ryan Schmidt ryandes...@macports.orgwrote: On May 12, 2009, at 18:39, Darren Weber wrote: On Tue, May 12, 2009 at 3:52 PM, Darren Weber wrote: Can we create a proc within a Portfile? Yes, you can. You can see the not-quite-finished minivmac v3 portfile

Re: Mac Science Collaboration group

2009-05-12 Thread Darren Weber
On Tue, May 12, 2009 at 8:55 AM, Joshua Root j...@macports.org wrote: James Kyle wrote: If you want a way to list and track science-related tickets, you can add a keyword such as science to tickets. Then you can use the ticket query wiki macro to list science tickets on the wiki page. Or

Re: Mac Science Collaboration group

2009-05-12 Thread Darren Weber
On Mon, May 11, 2009 at 11:48 AM, James Kyle jamesk...@ucla.edu wrote: Morning, I'm new to the the macports dev list, but I've been actively maintaining a chunk of ports for about a year now and patching for longer (commit request pending). I'd like to propose a new collaboration group

Re: [50870] trunk/dports/graphics/vtk-devel/Portfile

2009-05-12 Thread Darren Weber
On Tue, May 12, 2009 at 12:04 AM, Ryan Schmidt ryandes...@macports.orgwrote: On May 11, 2009, at 20:59, dwe...@macports.org wrote: Revision: 50870 http://trac.macports.org/changeset/50870 Author: dwe...@macports.org Date: 2009-05-11 18:59:13 -0700 (Mon, 11 May 2009) Log

how to control distfile extraction

2009-05-12 Thread Darren Weber
In a prior thread, a solution to control distfile extraction was discussed, using extract.only, e.g.: variant data description {install example data [default: ${vtkDataPath}]} { eval extract.only ${distfiles} distfiles-append${vtkDataFile} checksums-append${vtkDataFile} \

Re: [50759] trunk/dports/graphics/InsightToolkit/Portfile

2009-05-11 Thread Darren Weber
Sorry, that was oversight on my part. I did a copy and paste from vtk-devel into Insight to use a few tricks while updating Insight. I forgot to change the maintainer fields after the paste. Thanks for bringing it up. Take care, Darren On Sun, May 10, 2009 at 11:53 AM, Peter Schmiedeskamp

Ruby headers?

2009-05-08 Thread Darren Weber
Where are the ruby headers? There's $prefix/lib/libruby* but no headers in $prefix/include or $prefix/Library/Frameworks/ I have ruby @1.8.7-p160_1+thread_hooks (active) Take care, Darren ___ macports-dev mailing list macports-dev@lists.macosforge.org

Re: fetch aliases?

2009-05-07 Thread Darren Weber
have fhe filenames, then you don't have the checksums. Regards. Le 8 mai 09 à 01:07, Darren Weber a écrit : For a variant in the InsightToolkit, it would be useful to get all the data files from here: http://public.kitware.com/pub/itk/Data/BrainWeb/ ie: snip/ Is it possible to specify

Re: fetch aliases?

2009-05-07 Thread Darren Weber
have the checksums, you inevitably also have the filenames and thus do not have to use a glob pattern. If you don't have fhe filenames, then you don't have the checksums. Regards. Le 8 mai 09 à 01:07, Darren Weber a écrit : For a variant in the InsightToolkit, it would be useful to get all

Re: distfile spec in variant?

2009-04-30 Thread Darren Weber
Figured it out with a few tests. It works! Thanks, Darren On Thu, Apr 30, 2009 at 1:19 PM, Joshua Root j...@macports.org wrote: Darren Weber wrote: Working on graphics/vtk-devel, which includes a doc variant with a large download and install time. Is it possible to specify

xinstall glob question

2009-04-29 Thread Darren Weber
Are these equivalent? A. eval xinstall -m 755 [glob {!${build.dir}/bin/*.dylib}] ${destroot}/${vtkExamplePath}/bin B. cd ${build.dir} for f in `find bin \! -name '*.dylib'`; do cp $f ${destroot}/${vtkExamplePath}/bin done When using xinstall without resetting the file mode (ie, no -m

Re: [50222] trunk/dports/graphics

2009-04-29 Thread Darren Weber
). VTK_USE_RPATH # is required to ensure that rpath is set for all the installed executables and # dylibs. Best, Darren On Wed, Apr 29, 2009 at 2:08 PM, Darren Weber dwe...@macports.org wrote: On Tue, Apr 28, 2009 at 4:30 AM, Ryan Schmidt ryandes...@macports.orgwrote: On Apr 27, 2009, at 19:48, Darren

Re: [50222] trunk/dports/graphics

2009-04-29 Thread Darren Weber
/${distname} \ -DVTK_USE_RPATH:BOOL=ON Some of these are in the cmake port group, some are not, for comparison see: http://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/cmake-1.0.tcl On Wed, Apr 29, 2009 at 2:08 PM, Darren Weber dwe...@macports.org wrote: On Tue, Apr 28

Re: [50222] trunk/dports/graphics

2009-04-29 Thread Darren Weber
On Wed, Apr 29, 2009 at 3:40 PM, Rainer Müller rai...@macports.org wrote: Darren Weber wrote: Oh, also vtk-devel is using a different build type, -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo This is consistent with GNU distributions that use -O2 -g to provide some degree

Re: [50222] vtk-devel Lint Report

2009-04-27 Thread Darren Weber
, Darren Weber wrote: How do we specify that a variant conflicts with several other variants. Lint indicates a problem with this syntax: variant carbon conflicts {cocoa x11} description {Build with Carbon} { ... } variant carbon conflicts cocoa x11 description {Build with Carbon

lengthy build - changed Portfile - need to continue without removing build results

2009-04-24 Thread Darren Weber
I'm working on vtk-devel Portfile and I have: a) completed a lengthy build of VTK b) edited parts of the Portfile that affect downstream stages from the build (ie, destroot command) How can I continue with the downstream stages without losing the build? The default behavior is to clean

python path configuration

2009-04-07 Thread Darren Weber
I am doing some manual testing of the build and install for VTK 5.4, which has python wrapping. In the course of this testing, I've stumbled across an installation issue with python 2.6. I can't proceed without knowing more about this should be handled within macports. Any advice and pointers

WWDC meeting?

2009-04-07 Thread Darren Weber
I'm fairly new to macports development (only joined last year). I'm wondering if there are any 'in-person' meetings? I've been asked by my employer to attend the Apple WWDC, and I wonder if other macport developers are also attending? Perhaps it would be an opportunity to meet over lunch,