[69798] branches/gsoc10-gui
tzikis at macports.org
tzikis at macports.org
Fri Jul 16 12:51:14 PDT 2010
Revision: 69798
http://trac.macports.org/changeset/69798
Author: tzikis at macports.org
Date: 2010-07-16 12:51:14 -0700 (Fri, 16 Jul 2010)
Log Message:
-----------
MPActionsController now send the variants with the + prefix. Added a debug line on MPPort
Modified Paths:
--------------
branches/gsoc10-gui/MacPorts_Framework/MPPort.m
branches/gsoc10-gui/Pallet/MPActionsController.m
Modified: branches/gsoc10-gui/MacPorts_Framework/MPPort.m
===================================================================
--- branches/gsoc10-gui/MacPorts_Framework/MPPort.m 2010-07-16 19:41:01 UTC (rev 69797)
+++ branches/gsoc10-gui/MacPorts_Framework/MPPort.m 2010-07-16 19:51:14 UTC (rev 69798)
@@ -261,11 +261,17 @@
vrnts = [NSString stringWithString:[variants componentsJoinedByString:@" "]];
}
+ NSLog(@"Variants String: %@", vrnts);
//Send Global Notifications and update MPNotifications variable
[self sendGlobalExecNotification:target withStatus:@"Started"];
//NSString * tclCmd = [@"YES_" stringByAppendingString:target];
[[MPNotifications sharedListener] setPerformingTclCommand:target];
+
+ NSLog(@"Interpreter string:\n%@",[NSString stringWithFormat:
+ @"set portHandle [mportopen %@ %@ %@]; mportexec $portHandle %@; mportclose $portHandle",
+ [self valueForKey:@"porturl"], opts, vrnts, target]);
+
[interpreter evaluateStringWithPossiblePrivileges:
[NSString stringWithFormat:
@"set portHandle [mportopen %@ %@ %@]; mportexec $portHandle %@; mportclose $portHandle",
Modified: branches/gsoc10-gui/Pallet/MPActionsController.m
===================================================================
--- branches/gsoc10-gui/Pallet/MPActionsController.m 2010-07-16 19:41:01 UTC (rev 69797)
+++ branches/gsoc10-gui/Pallet/MPActionsController.m 2010-07-16 19:51:14 UTC (rev 69798)
@@ -36,7 +36,7 @@
//NSLog(@"%@",[[port valueForKey:@"variants"] objectAtIndex:i]);
if ([checkboxes[i] state] == NSOnState)
{
- [variants addObject:[[port valueForKey:@"variants"] objectAtIndex:i]];
+ [variants addObject:[NSString stringWithFormat:@"+%@", [[port valueForKey:@"variants"] objectAtIndex:i]]];
[variantsString appendString:@"+"];
[variantsString appendString:[[port valueForKey:@"variants"] objectAtIndex:i]];
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100716/d50dd314/attachment.html>
More information about the macports-changes
mailing list