1. zurcoin
  2. zurcoin

Commits

Shai Weinstein  committed 2c4bdcf

mac

  • Participants
  • Parent commits c3cc2b7
  • Branches master

Comments (0)

Files changed (5)

File share/qt/Info.plist

View file
  • Ignore whitespace
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleExecutable</key>
-	<string>Bitcoin-Qt</string>
+	<string>Zurcoin-Qt</string>
 	<key>CFBundleIdentifier</key>
-	<string>org.bitcoinfoundation.Bitcoin-Qt</string>
+	<string>org.bitcoinfoundation.Zurcoin-Qt</string>
         <key>CFBundleURLTypes</key>
         <array>
           <dict>

File share/qt/clean_mac_info_plist.py

View file
  • Ignore whitespace
 bitcoinDir = "./";
 
 inFile     = bitcoinDir+"/share/qt/Info.plist"
-outFile    = "Bitcoin-Qt.app/Contents/Info.plist"
+outFile    = "Zurcoin-Qt.app/Contents/Info.plist"
 version    = "unknown";
 
-fileForGrabbingVersion = bitcoinDir+"bitcoin-qt.pro"
+fileForGrabbingVersion = bitcoinDir+"zurcoin-qt.pro"
 for line in open(fileForGrabbingVersion):
 	lineArr = line.replace(" ", "").split("=");
 	if lineArr[0].startswith("VERSION"):
 fOut = open(outFile, "w");
 fOut.write(newFileContent);
 
-print "Info.plist fresh created"
+print "Info.plist fresh created"

File src/qt/qrcodedialog.cpp

View file
  • Ignore whitespace
 
 QString QRCodeDialog::getURI()
 {
-    QString ret = QString("bitcoin:%1").arg(address);
+    QString ret = QString("zurcoin:%1").arg(address);
     int paramCount = 0;
 
     ui->outUri->clear();

File src/qt/res/icons/bitcoin.icns

  • Ignore whitespace
Binary file modified.

File zurcoin-qt.pro

View file
  • Ignore whitespace
 DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
 CONFIG += no_include_pwd
 CONFIG += thread
+RELEASE = 1
+USE_QRCODE = 1
+
 
 # for boost 1.37, add -mt to the boost libraries
 # use: qmake BOOST_LIB_SUFFIX=-mt
 MOC_DIR = build
 UI_DIR = build
 
-# use: qmake "RELEASE=1"
-contains(RELEASE, 1) {
-    # Mac: compile for maximum compatibility (10.5, 32-bit)
-    macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-    macx:QMAKE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-    macx:QMAKE_OBJECTIVE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-
-    !win32:!macx {
-        # Linux: static link and extra security (see: https://wiki.debian.org/Hardening)
-        LIBS += -Wl,-Bstatic -Wl,-z,relro -Wl,-z,now
-    }
-}
 
 !win32 {
     # for extra security against potential buffer overflows: enable GCCs Stack Smashing Protection