#
#
# add_dir "res/osx"
#
# add_dir "res/osx/Resources"
#
# add_dir "res/osx/Resources/de.lproj"
#
# add_file "res/osx/README"
# content [828a9d59276bd25332224727085dc204c4c7218f]
#
# add_file "res/osx/Resources/de.lproj/locversion.plist"
# content [ec61314990edf625940c0e92f0e9ecd932cec584]
#
# patch "build.sh"
# from [34a577b8e06c930c6508418e3036426b7210d6f1]
# to [d8b15ceace2d6e51f14430ab654b5dbd03415c4e]
#
# patch "guitone.pro"
# from [927b7eb455eec3e01d0d4bbd8980298030d5635c]
# to [36099916ab19221ab1ae6339dd10a6f67dbcaf85]
#
# patch "res/i18n/guitone_de.ts"
# from [55a48b4908e326e9351e91f91a9b4e6c96886abb]
# to [86dd86c23054c10a367995246c7fb5a9d963496b]
#
============================================================
--- res/osx/README 828a9d59276bd25332224727085dc204c4c7218f
+++ res/osx/README 828a9d59276bd25332224727085dc204c4c7218f
@@ -0,0 +1,8 @@
+This directory contains files which need to be copied into the final
+MacOS X application bundle into guitone.app/Contents.
+Currently I have no idea how to do this via the project file, neither
+do I know how to configure Xcode copying them there, so patches are
+welcome...
+
+Resources/de.lproj/locversion.plist
+ needed for localized application menu
============================================================
--- res/osx/Resources/de.lproj/locversion.plist ec61314990edf625940c0e92f0e9ecd932cec584
+++ res/osx/Resources/de.lproj/locversion.plist ec61314990edf625940c0e92f0e9ecd932cec584
@@ -0,0 +1,16 @@
+
+
+
+
+ LprojCompatibleVersion
+ 123
+ LprojLocale
+ de
+ LprojRevisionLevel
+ 1
+ LprojVersion
+ 123
+
+
+
============================================================
--- build.sh 34a577b8e06c930c6508418e3036426b7210d6f1
+++ build.sh d8b15ceace2d6e51f14430ab654b5dbd03415c4e
@@ -1,6 +1,11 @@ qmake guitone.pro && \
#!/bin/sh
qmake guitone.pro && \
lupdate guitone.pro && \
lrelease guitone.pro && \
make $@
+# hack which copies more metafiles into the final application
+# bundle if the system is recognized as OSX
+if [ `uname` = "Darwin" -a -d "bin/guitone.app/Contents" ]; then
+ cp -R res/osx/Resources bin/guitone.app/Contents
+fi
============================================================
--- guitone.pro 927b7eb455eec3e01d0d4bbd8980298030d5635c
+++ guitone.pro 36099916ab19221ab1ae6339dd10a6f67dbcaf85
@@ -6,7 +6,7 @@ HEADERS += src/view/Guitone.h \
src/view/AttributesView.h \
src/view/dialogs/SwitchWorkspaceRevision.h \
src/view/dialogs/Preferences.h \
- src/view/dialogs/KeyManagment.h \
+ src/view/dialogs/KeyManagment.h \
src/monotone/Monotone.h \
src/model/AutomateCommand.h \
src/model/Inventory.h \
@@ -25,7 +25,7 @@ SOURCES += src/view/Guitone.cpp \
src/view/AttributesView.cpp \
src/view/dialogs/SwitchWorkspaceRevision.cpp \
src/view/dialogs/Preferences.cpp \
- src/view/dialogs/KeyManagment.cpp \
+ src/view/dialogs/KeyManagment.cpp \
src/monotone/Monotone.cpp \
src/model/AutomateCommand.cpp \
src/model/Inventory.cpp \
@@ -40,7 +40,7 @@ FORMS += res/dialogs/switch_workspace.
src/main.cpp
FORMS += res/dialogs/switch_workspace.ui \
res/dialogs/preferences.ui \
- res/dialogs/KeyManagment.ui
+ res/dialogs/KeyManagment.ui
UI_DIR = src/view/dialogs
TEMPLATE = app
DEPENDPATH += src
@@ -54,11 +54,14 @@ macx {
PRECOMPILED_HEADER = src/stable.h
macx {
+ # set this to either ppc or i386 or both if you want to create
+ # a PowerPC, x86 or Universal OSX binary
debug {
CONFIG += ppc
}
release {
- CONFIG += x86 ppc
+ CONFIG += ppc
}
+ # path to the OSX universal SDK
QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
}
============================================================
--- res/i18n/guitone_de.ts 55a48b4908e326e9351e91f91a9b4e6c96886abb
+++ res/i18n/guitone_de.ts 86dd86c23054c10a367995246c7fb5a9d963496b
@@ -197,6 +197,18 @@
&Einstellungen
+
+
+
+
+
+
+
+
+
+
+
+
InventoryItem
@@ -344,6 +356,45 @@
+ KeyManagment
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OK
+
+
+
+ Abbrechen
+
+
+
Manifest