2010-05-06, 01:55
Ok. as of SVN 405 I'm calling mythicalLibrarian back in action for the SVN with no problems. See my log here documenting 1/16 of tonight's successes. There were a few kinks to work out as far as the Regular Expressions go, but I managed to beat them down like Rodney King. http://pastebin.com/egX0hW5f
So, now that all commands are POSIX friendly and therefore Mac usable, the next step is to bring mythicalLibrarian right to Mac. There's a few kinks to work out. davilla has worked with me quite a bit on this project so far and pointed me in the right directions as far as what is absolutely required for OSX Leopard and Snow Leopard to work properly.
1. agrep
2. Folder locations
3. specific changes needed for mac only because they "think different"
1. I will be hosting agrep on the SVN for use only on mac. A uname should determine this is a Darwin client and be able to make a OSX determination. agrep will be downloaded as a binary onto mac machines into....
2. ...the standard /usr/local/bin folder. This folder does not exist by default, but since there is no posix standard for file placement, I'm using the Linux standard. The folder /usr/local/bin will be created on OSX users hard disks if it does not exist and it will not show up when browsing the file system from the desktop. The file mythicalLibrarian will also be located here. Since we are recreating standard file structures which mac has removed from their distribution we will also need to recreate the PATH variable as well. PATH="$PATH /usr/local/bin" if it is not set and that will get dumped into the ~/.profile file (which does not exist by default on Mac but is honored by BASH), if required.
3. mythicalSetup will be able to run if I can get dialog working. I will have to host that file as well. I will see about finding a version of dialog which can be used on Mac for use with mythicalSetup, but without darwin ports it will be tricky. In the end, it may just be that I end up making darwin ports a requirement for Mac users.
I am working with a Mac that has no internet access currently on a virtual machine, so progress will be slow on this project. Bare with me and let me know if there are any fixes required in the mean time
So, now that all commands are POSIX friendly and therefore Mac usable, the next step is to bring mythicalLibrarian right to Mac. There's a few kinks to work out. davilla has worked with me quite a bit on this project so far and pointed me in the right directions as far as what is absolutely required for OSX Leopard and Snow Leopard to work properly.
1. agrep
2. Folder locations
3. specific changes needed for mac only because they "think different"
1. I will be hosting agrep on the SVN for use only on mac. A uname should determine this is a Darwin client and be able to make a OSX determination. agrep will be downloaded as a binary onto mac machines into....
2. ...the standard /usr/local/bin folder. This folder does not exist by default, but since there is no posix standard for file placement, I'm using the Linux standard. The folder /usr/local/bin will be created on OSX users hard disks if it does not exist and it will not show up when browsing the file system from the desktop. The file mythicalLibrarian will also be located here. Since we are recreating standard file structures which mac has removed from their distribution we will also need to recreate the PATH variable as well. PATH="$PATH /usr/local/bin" if it is not set and that will get dumped into the ~/.profile file (which does not exist by default on Mac but is honored by BASH), if required.
3. mythicalSetup will be able to run if I can get dialog working. I will have to host that file as well. I will see about finding a version of dialog which can be used on Mac for use with mythicalSetup, but without darwin ports it will be tricky. In the end, it may just be that I end up making darwin ports a requirement for Mac users.
I am working with a Mac that has no internet access currently on a virtual machine, so progress will be slow on this project. Bare with me and let me know if there are any fixes required in the mean time