[opensource-dev] Changing the name
Hello List, Simple question: What is the best way to change the name of the viewer once you have cloned the mercurial repository? A lot of variations of the name "SecondLife" in various cases are all over the build tree. Some occurences can be replaced with more or less care, some must not. Assuming I want my viewer to say "FooBar" in the About floater, to have a "do-no-run-directly-foobar-bin" executable, to work in ~/.foobar, etc, how do I do that without too many problems? I do not intend to distribute anything in any foreseeable future, I just have some itches to scratch in the UI --which I find very uncooperative with my skinning expectations sometimes. Thanks, -- kaluura_AT_gmail.com ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Changing the name
Hi! Most of what you're looking for can be found in ./indra/newview/viewer_manifest.py , ./indra/llcommon/llversionviewer.h , and ./autobuild.xml -- King regards, Cinder -Original Message- From: opensource-dev-boun...@lists.secondlife.com [mailto:opensource-dev-boun...@lists.secondlife.com] On Behalf Of Kaluura Boa Sent: Wednesday, January 18, 2012 10:29 AM To: opensource-dev@lists.secondlife.com Subject: [opensource-dev] Changing the name Hello List, Simple question: What is the best way to change the name of the viewer once you have cloned the mercurial repository? A lot of variations of the name "SecondLife" in various cases are all over the build tree. Some occurences can be replaced with more or less care, some must not. Assuming I want my viewer to say "FooBar" in the About floater, to have a "do-no-run-directly-foobar-bin" executable, to work in ~/.foobar, etc, how do I do that without too many problems? I do not intend to distribute anything in any foreseeable future, I just have some itches to scratch in the UI --which I find very uncooperative with my skinning expectations sometimes. Thanks, -- kaluura_AT_gmail.com ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Changing the name
There is one non-obvious place that I came across a while ago--the startup code takes out a mutex, probably so it has a way of seeing if you are trying to run more than one viewer at a time (and have the setting for that disabled). -jonathan ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Changing the name
Also see strings.xml which defines APP_NAME and CAPITALIZED_APP_NAME ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges