I viewed the YouTube video... wow, this is overkill, designed for keeping both computers synced at same time. What if this breaks with new versions of iTunes? I would not recommend changing anything that drastic (using HexEditor? Gawd...).
If all you need to do is move your syncing from compaq to mac, first export your iTunes library into an xml file in the iTunes folder, then simply copy the entire iTunes folder (which includes iTunes Music folder, Mobile Applications, etc.) to your Mac into the Music folder (in your User folder).
Start iTunes, and import the xml file (which was copied over with the entire iTunes folder). Connect the iPhone, restore, and restore your settings from the automatic backup. That worked for me. iTunes re-syncs everything.