I have been really busy. So of course I have to start all over from srcatch. If you build gdb for either avarice or simulavr along with avra then scripting this environment goes out the obscening window. As usual however I start with the distfiles and the ports. In general the process goes like
- grab the “files” for the port
- grab the ftp://ftpx.freebsd.org/ports/disfiles/zzzz referenced in the files/<zzzz>/distinfo file (this could be automated)
- unpack and apply all of the patches in <zzzz>/files/patch-*. (except for the goober that I have to chase down with Joerge in gdb this could be automated).
- Then pull out the config args and the other compilation arguments from the make file. (Except that every other port has this done slightly differently this might be automatable)
- configure && make && make install (at this point the process becomes adaptive and frustraiting because the software is disparate and of varying quality, some of it requires you to upgrade Xcode (Avarice), Some of it wont obcening compile at all (Simulavr), and some of it is not as broken as it used to be but still doesnt have any of the new devices (avra)).
- So deal with it and a few days later…
- reinstall into a staging directory
- find all of the bin directories and run strip on the executables
- copy and adapt the package maker files to the new versions.
- repackage them using PackageMaker (this is automatable)
- make a folder
- build a readwrite uncompressed dmg from the folder
- mount dmg ajust the background and layout of the folder.
- test mount and install.
- convert dmg to compressed dmg.
- repeat for intel.
- release and pray.