Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcfr/library-fixup-tools
Collection of scripts useful to diagnose issue associated with MacOSX packages
https://github.com/jcfr/library-fixup-tools
Last synced: 1 day ago
JSON representation
Collection of scripts useful to diagnose issue associated with MacOSX packages
- Host: GitHub
- URL: https://github.com/jcfr/library-fixup-tools
- Owner: jcfr
- Created: 2012-10-24T19:21:00.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-10-25T16:49:05.000Z (over 12 years ago)
- Last Synced: 2024-11-24T07:42:09.087Z (2 months ago)
- Language: Python
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Library Fixup Tools
===================Overview
--------Think of `library-fixup-tools` as a collection of scripts allowing to diagnostic issues related to MacOSX
packaging.Usage
-----Quick examples:
$ ~/Dashboards/list_unfixed_libraries.py --library-directory ./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/Slicer-4.2/
Analysis summary
Total: 363 libraries
Unfixed: 0 librariesSimple.
Note also that passing the `--verbose` option will provide you with more details:
$ ~/Dashboards/list_unfixed_libraries.py --library-directory ./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/Slicer-4.2/
$ ~/Dashboards/list_unfixed_libraries.py --library-directory ./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/ --verbose
Found 0 files walking [./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/] using [*.so] pattern
Found 6 files walking [./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/] using [*.dylib] patternAnalysis summary
Total: 6 libraries
Unfixed: 2 librariesList of unfixed libraries
./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/lib/libtcl8.4.dylib
./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/lib/libtk8.4.dylibThe option `--extra-verbose` will provide you with even more details:
$ ~/Dashboards/list_unfixed_libraries.py --library-directory ./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/ --extra-verbose
Found 0 files walking [./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/] using [*.so] pattern
Found 6 files walking [./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/] using [*.dylib] pattern
Analyzing ./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/libtcl8.4.dylib
[OK]
Analyzing ./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/libtk8.4.dylib
[OK]
Analyzing ./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/lib/libitcl3.2.dylib
[OK]
Analyzing ./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/lib/libitk3.2.dylib
[OK]
Analyzing ./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/lib/libtcl8.4.dylib
[FAILED]
Analyzing ./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/lib/libtk8.4.dylib
[FAILED]Analysis summary
Total: 6 libraries
Unfixed: 2 librariesList of unfixed libraries
./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/lib/libtcl8.4.dylib
./_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.2.0-rc1-2012-10-24-macosx-amd64/Slicer.app/Contents/lib/TclTk/lib/libtk8.4.dylibInstallation
------------1. [Download the script](https://raw.github.com/jcfr/library-fixup-tools/master/ list_unfixed_libraries.py).
2. Place it on your path. (I like to use `~/bin`)
3. Set it to be executable. (`chmod 755 ~/bin/list_unfixed_libraries.py`)Contributing
------------Once you've made your great commits:
1. [Fork][fk] library-fixup-tools
2. Create a topic branch - `git checkout -b my_branch`
3. Push to your branch - `git push origin my_branch`
4. Create an [Issue][is] with a link to your branch
5. That's it!Meta
----* Code: `git clone git://github.com/jcfr/library-fixup-tools.git`
* Home:
* Bugs:License
-------Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.[fk]: http://help.github.com/forking/
[is]: http://github.com/jcfr/HeaderToolkitDependencyWalker/issues
[itk]: http://itk.org
[vtk]: http://vtk.org
[ctk]: http://commontk.org