[somehow OT] "undoing" manual tzdata compilation on a Mac
Hi, I know Argentina has a long history of doing last minute changes about our timezones including inter-provincial anarchy. However, tzdata is easy enough to quickly adapt to this changes, and if you're somehow savvy, it is quite easy to fix things on your own. Last October, Argentina decided not to apply DST this (Southern) summer on the last minute and this was reflexed on tzdata2009p published on October 26th. Since Apple didn't immediately made this changes, knowing that OS X is actually running on top of some kind of BSD and actually finding zic and /usr/share/zoneinfo in it, I volunteered "fixing" a friend's macbook pro. I simply compiled the southamerica file from tzdata2009p and that was it... right? wrong! This actually made the mac go somehow crazy since it also uses some ICU files which I don't know how to handle. My friend ended up using Chile's time during the summer and Uruguay's time after Uruguay's DST period ended. Since a week ago the non-existent DST for Argentina would have ended, I told him to try again Argentina's time but it keeps being inconsistent. Another mac he has at home has now the correct time. Does anyone know how to restore the original OS X tzdata files without reinstalling the OS? I know nothing about its packaging system... Mac users seem to rely on "Apple update" service but I probably f##k'd it up when I overwrote some files under /usr/share/zoneinfo. Any help (or links to better places) will be greatly appreciated. -- Mariano Absatz - "El Baby" baby@baby.com.ar www.clueless.com.ar -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- I haven't lost my mind, I have it backed up on tape somewhere. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- * TagZilla 0.066 * http://tagzilla.mozdev.org
Hi Mario, If you were able to compile the tzdata2009p on the mac os x, then you should be able to download an earlier version of tzdata and compile that to restore the mac. If you want to use the "original" files and don't have a mac than hasn't been updated, you can also download earlier updates or the original install software (depending on how far back you have to go) and then use a utility like Pacifist to extract the Argentina tz fille. The mac does behave very wacky if the ICU database and the tzdata don't agree, different parts of the system reading from one or the other, and some from a combination of the two! If you would like to learn how to compile the mac ICU database I can point you to some links and share some of my experience (off list, unless others would consider it a suitable list topic). I do this myself to support Macs that are running XJ time, still not incorporated into official databases. Please let me know where I might be able to help with more detailed directions, -Luther On Apr 3, 2010, at 5:11 AM, Mariano Absatz - El Baby wrote:
I simply compiled the southamerica file from tzdata2009p and that was it... right? wrong! This actually made the mac go somehow crazy since it also uses some ICU files which I don't know how to handle.
My friend ended up using Chile's time during the summer and Uruguay's time after Uruguay's DST period ended. Since a week ago the non- existent DST for Argentina would have ended, I told him to try again Argentina's time but it keeps being inconsistent.
Another mac he has at home has now the correct time.
Does anyone know how to restore the original OS X tzdata files without reinstalling the OS? I know nothing about its packaging system... Mac users seem to rely on "Apple update" service but I probably f##k'd it up when I overwrote some files under /usr/share/zoneinfo.
Any help (or links to better places) will be greatly appreciated.
-- Mariano Absatz - "El Baby" baby@baby.com.ar www.clueless.com.ar
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- I haven't lost my mind, I have it backed up on tape somewhere. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- * TagZilla 0.066 * http://tagzilla.mozdev.org
participants (2)
-
Luther Ma -
Mariano Absatz - El Baby