From cce5709c0c1c5c31a239fb0df73f57b59c562186 Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Fri, 14 Nov 2014 23:00:52 -0800 Subject: [PATCH] Change Bitcoin->MasterCore in Mac OS X places Changes from Bitcoin to MasterCore in filenames, UI strings, etc. Necessary to build Master Core properly for OS X. --- .gitignore | 2 +- Makefile.am | 10 +++++----- contrib/macdeploy/fancy.plist | 2 +- contrib/macdeploy/macdeployqtplus | 2 +- share/qt/Info.plist.in | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index d76135b5aa09d..e43110c4238a8 100644 --- a/.gitignore +++ b/.gitignore @@ -52,7 +52,7 @@ src/qt/test/moc*.cpp *.qm Makefile mastercore-qt -Bitcoin-Qt.app +MasterCore-Qt.app # Unit-tests Makefile.test diff --git a/Makefile.am b/Makefile.am index 17bc1390d1ce1..63939925041a2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,8 +9,8 @@ BITCOIN_QT_BIN=$(top_builddir)/src/qt/mastercore-qt$(EXEEXT) BITCOIN_CLI_BIN=$(top_builddir)/src/mastercore-cli$(EXEEXT) BITCOIN_WIN_INSTALLER=$(PACKAGE)-$(PACKAGE_VERSION)-win$(WINDOWS_BITS)-setup$(EXEEXT) -OSX_APP=Bitcoin-Qt.app -OSX_DMG=Bitcoin-Qt.dmg +OSX_APP=MasterCore-Qt.app +OSX_DMG=MasterCore-Qt.dmg OSX_DEPLOY_SCRIPT=$(top_srcdir)/contrib/macdeploy/macdeployqtplus OSX_FANCY_PLIST=$(top_srcdir)/contrib/macdeploy/fancy.plist OSX_INSTALLER_ICONS=$(top_srcdir)/src/qt/res/icons/bitcoin.icns @@ -72,13 +72,13 @@ $(OSX_APP)/Contents/Resources/bitcoin.icns: $(OSX_INSTALLER_ICONS) $(MKDIR_P) $(@D) $(INSTALL_DATA) $< $@ -$(OSX_APP)/Contents/MacOS/Bitcoin-Qt: $(BITCOIN_QT_BIN) +$(OSX_APP)/Contents/MacOS/MasterCore-Qt: $(BITCOIN_QT_BIN) $(MKDIR_P) $(@D) STRIPPROG="$(STRIP)" $(INSTALL_STRIP_PROGRAM) $< $@ OSX_APP_BUILT=$(OSX_APP)/Contents/PkgInfo $(OSX_APP)/Contents/Resources/empty.lproj \ $(OSX_APP)/Contents/Resources/bitcoin.icns $(OSX_APP)/Contents/Info.plist \ - $(OSX_APP)/Contents/MacOS/Bitcoin-Qt + $(OSX_APP)/Contents/MacOS/MasterCore-Qt if BUILD_DARWIN $(OSX_DMG): $(OSX_APP_BUILT) $(OSX_PACKAGING) @@ -91,7 +91,7 @@ $(OSX_DMG): $(OSX_APP_BUILT) $(OSX_PACKAGING) $(INSTALL) contrib/macdeploy/background.png dist/.background $(INSTALL) contrib/macdeploy/DS_Store dist/.DS_Store cd dist; $(LN_S) /Applications Applications - $(GENISOIMAGE) -no-cache-inodes -l -probe -V "Bitcoin-Qt" -no-pad -r -apple -o $@ dist + $(GENISOIMAGE) -no-cache-inodes -l -probe -V "MasterCore-Qt" -no-pad -r -apple -o $@ dist endif if TARGET_DARWIN diff --git a/contrib/macdeploy/fancy.plist b/contrib/macdeploy/fancy.plist index e73b9b697ef9f..11803ba956d2a 100644 --- a/contrib/macdeploy/fancy.plist +++ b/contrib/macdeploy/fancy.plist @@ -22,7 +22,7 @@ 370 156 - Bitcoin-Qt.app + MasterCore-Qt.app 128 156 diff --git a/contrib/macdeploy/macdeployqtplus b/contrib/macdeploy/macdeployqtplus index 36b9f9ba84475..25b9bef3ab165 100755 --- a/contrib/macdeploy/macdeployqtplus +++ b/contrib/macdeploy/macdeployqtplus @@ -814,7 +814,7 @@ if config.dmg is not None: items_positions.append(itemscript.substitute(params)) params = { - "disk" : "Bitcoin-Qt", + "disk" : "MasterCore-Qt", "window_bounds" : "300,300,800,620", "icon_size" : "96", "background_commands" : "", diff --git a/share/qt/Info.plist.in b/share/qt/Info.plist.in index e79e59a568feb..92cbfee6dd30c 100644 --- a/share/qt/Info.plist.in +++ b/share/qt/Info.plist.in @@ -29,10 +29,10 @@ ???? CFBundleExecutable - Bitcoin-Qt + MasterCore-Qt CFBundleIdentifier - org.bitcoinfoundation.Bitcoin-Qt + org.mastercoin.MasterCore-Qt CFBundleURLTypes