Check-in [578368c8b1]
Overview
Comment:Modified OSX cackey build script to support automatically generating UUIDs
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:578368c8b147594148bd06c1d13e819326f631e5
User & Date: kvanals on 2010-07-24 18:56:00
Other Links: manifest | tags
Context
2010-07-26
05:07
Removing pmdoc files in favor of Template for CACKey OSX build. Updated OSX build script to handle this. check-in: 01d1fb838f user: kvanals tags: trunk
2010-07-24
18:56
Modified OSX cackey build script to support automatically generating UUIDs check-in: 578368c8b1 user: kvanals tags: trunk
18:47
Started preliminary work to support PackageMaker templates for CACKey builds check-in: 34f573e3f8 user: kvanals tags: trunk
Changes

Modified build/cackey_osx_build/build_osx.sh from [2b8374712c] to [9f47b8a584].

   159    159   	rm macbuild/${OSX}/libcackey*.dylib.*
   160    160   }
   161    161   
   162    162   # Function to build Mac OS X Packages
   163    163   pkgbuild() {
   164    164   	rm -f build/cackey_osx_build/cackey.dylib
   165    165   	ln macbuild/${OSX}/libcackey.dylib build/cackey_osx_build/cackey.dylib
          166  +	# When Template build is ready to go, change ${OSX} to Template in line below
   166    167   	for PMDOC in build/cackey_osx_build/${OSX}_pmbuild.pmdoc/*.in; do
   167    168   		PMDOC="`echo "${PMDOC}" | sed 's_.in__g'`"
          169  +		UUID="`python -c 'import uuid; print uuid.uuid1()' | dd conv=ucase 2>/dev/null`"
   168    170   		sed "s|@@BUILDROOTDIR@@|$(pwd)|g" ${PMDOC}.in > ${PMDOC}
   169    171   		sed "s|@@OSXVERSION@@|${OSX}|g" ${PMDOC}.in > ${PMDOC}
   170    172   		sed "s|@@UUID@@|${UUID}|g" ${PMDOC}.in > ${PMDOC}
   171    173   		sed "s|@@TARGETOS@@|${PKTARGETOS}|g" ${PMDOC}.in > ${PMDOC}
   172    174   		sed "s|@@NEXTOSXVER@@|${NEXTOSXVER}|g" ${PMDOC}.in > ${PMDOC}
   173    175   		sed "s|@@CUROSXVER@@|${CUROSXVER}|g" ${PMDOC}.in > ${PMDOC}
   174    176   	done