Bug 8742 - Update Mac installer to display correct version number
: Update Mac installer to display correct version number
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Mac Installer
: 7.1
: PC MacOS X 10.5
: P1 normal (vote)
: 7.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-15 11:46 UTC by James Richardson
Modified: 2009-09-08 09:20 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
incorrect version on splash screen (52.38 KB, image/png)
2008-07-15 11:46 UTC, James Richardson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Richardson 2008-07-15 11:46:20 UTC
Created attachment 3589 [details]
incorrect version on splash screen

When doing the MAC installer, the initial splash screen shows Version 7.0.1, not 7.1
Comment 1 Michael Herger 2008-07-15 11:56:38 UTC
That's odd. A grep over the full source tree doesn't find any occurence of 7.0.1. Must be stored in some binary file :-(. Will I have to edit those files manually?...
Comment 2 James Richardson 2008-07-15 13:00:20 UTC
Is the image dynamic? or static?
Comment 3 Michael Herger 2008-07-15 13:02:17 UTC
It's indeed in some binary files which my first fulltext search ignored. Will change them tomorrow.
Comment 4 Michael Herger 2008-07-16 02:11:50 UTC
change 21799 - updated version string. Though I fear this will break the build process, unless we've updated the dev tools on our OSX build machine. I remember having had issues last time I did this on 10.5.
Comment 5 Michael Herger 2008-07-16 03:20:09 UTC
while this change didn't break the installer, it didn't work neither :-(

Is anybody out there still running 10.4 with dev tools who could fix this issue? 

Matt - could you please update the build machine to 10.5 with the latest build tools?

I'll revert my changes.
Comment 6 Chris Owens 2008-07-16 17:46:54 UTC
cc'ing Andy in case he knows who has a mac dev toolset installed who could do this.
Comment 7 KDF 2008-07-16 19:19:39 UTC
it's the objects.nib files within the Installer/*.proj/MainMenu.nib.

does my old script not still work??

#! /bin/sh
# filename: replaceall
find . -type f -name 'objects.nib' -print | while read i
do
	sed "s|$1|$2|g" ${i} > $i.tmp && mv $i.tmp $i
done
find . -type f -name '*.strings' -print | while read i
do
	sed "s|$1|$2|g" ${i} > $i.tmp && mv $i.tmp $i
done



Call it update_version.sh and run like so:
update_version.sh 7.0.1 7.1

It found the right files in my local copy.  Of course, can't commit now since my evenings never have anyone around to check before I risk breaking the nightly build.
Comment 8 Michael Herger 2008-07-16 23:03:53 UTC
> it's the objects.nib files within the Installer/*.proj/MainMenu.nib.

Which aren't updated by the 10.5 dev tools :-(. The latest version adds some files, removes others and ignores a bunch of them. We really should get the build machine up to date.

Just remembered I still have 10.4 on some external disk. Will give it a try today.

> does my old script not still work??

Last time I used it it broke the files. Might have been an issue with different length version numbers (7.0a1 -> 7.0) or something.
Comment 9 Michael Herger 2008-07-17 06:58:11 UTC
change 21825 - another attempt to fix the version number. Now macbuild's disk is full and it can't build any more...
Comment 10 Michael Herger 2008-07-17 08:56:27 UTC
Victory! But what a struggle... Fixed.
Comment 11 James Richardson 2008-07-17 10:05:48 UTC
Verified fixed in 7.1-21826
Comment 12 James Richardson 2008-07-17 10:12:17 UTC
Michael H."It's not a fix which can automatically be propagated, it should be part of the branching process: update all version numbers"

This same error will happen on future versions of the MAC builds.

Moving target to 7.2 and severity to normal
Comment 13 Michael Herger 2008-07-17 10:26:32 UTC
changing summary: Mac installer has some binaries which must be updated for 7.2 and 7.3
Comment 14 KDF 2008-07-17 10:30:42 UTC
are the resources unable to have a property that takes it's value from a compile-time parameter or even draw from a single point at run-time?
Comment 15 Michael Herger 2008-07-17 10:35:52 UTC
That's definitely something we should consider. It can't be that we'll have to manually search replace strings in hundreds of files. And as for the OSX builds we'll have to update our build machine, as it seems to be the only remaining 10.4 machine. And its xcode is not compatible with the one on 10.5.
Comment 16 Michael Herger 2008-07-21 07:45:04 UTC
change 21960 - bump version number in OSX installer to 7.2
Comment 17 James Richardson 2008-10-01 11:02:01 UTC
7.2.1 build needs to have the installer panel bumped from 7.2.0 to 7.2.1
Comment 18 Michael Herger 2008-10-06 01:24:42 UTC
Matt - could you please allow access to macbuild? It seems you have to configure remote desktop to allow VNC access.
Comment 19 Michael Herger 2008-10-10 02:16:52 UTC
change 25304
Comment 20 James Richardson 2008-12-15 12:05:21 UTC
This bug has been fixed in the 7.3.0 release version of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Comment 21 Chris Owens 2009-07-31 10:24:50 UTC
Reduce number of active targets for SC