[79541] branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl

cal at macports.org cal at macports.org
Thu Jun 16 17:12:11 PDT 2011


Revision: 79541
          http://trac.macports.org/changeset/79541
Author:   cal at macports.org
Date:     2011-06-16 17:12:10 -0700 (Thu, 16 Jun 2011)
Log Message:
-----------
rev-upgrade: Describe next steps and save the URLs I need for reference

Modified Paths:
--------------
    branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl

Modified: branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl
===================================================================
--- branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl	2011-06-16 23:44:00 UTC (rev 79540)
+++ branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl	2011-06-17 00:12:10 UTC (rev 79541)
@@ -3526,5 +3526,20 @@
             $f binary [fileIsBinary [$f path]]
         }
     }
+    set binaries [registry::file search active 1 binary 1]
+    ui_msg "---> Scanning binaries for linking errors"
+    set i 1
+    foreach b $binaries {
+        ui_debug "Scanning binary $i of [llength $binaries]: [$b path]"
+        incr i
+        # TODO: Call something, that will use 
+        # http://www.opensource.apple.com/source/cctools/cctools-800/otool/main.c
+        # as if it was called with otool -L, thus using
+        # http://www.opensource.apple.com/source/cctools/cctools-698/libstuff/ofile.c
+        # and print_libraries from
+        # http://www.opensource.apple.com/source/cctools/cctools-800/otool/ofile_print.c,
+        # but don't actually print the libs, but write them into a list and check them for existance and compatibility.
+        # Maybe implement a cache for libs that have already been checked (because a lot of software links against similar libs)
+    }
     return 0;
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110616/d5649ad5/attachment.html>


More information about the macports-changes mailing list