]> git.sur5r.net Git - bacula/bacula/commitdiff
Added Mac OS X support.
authorNicolas Boichat <nicolas@boichat.ch>
Wed, 5 May 2004 16:05:36 +0000 (16:05 +0000)
committerNicolas Boichat <nicolas@boichat.ch>
Wed, 5 May 2004 16:05:36 +0000 (16:05 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1340 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/wx-console/Makefile.in
bacula/src/wx-console/TODO

index 6705508cfe81ee94556645832d11ba6b71362b4d..9fc9fed5fa6fbb4cc0e184339aef5c0e06751c11 100644 (file)
@@ -57,6 +57,18 @@ all: Makefile wx-console
        @echo "==== Make of wx-console is good ===="
        @echo " "
 
+# Mac OS X application bundle
+# See http://216.239.59.104/search?q=cache:a61SGKgoHSQJ:wiki.wxwidgets.org/wiki.pl%3FWxMac_Issues+wxmac+%22application+bundle%22&hl=fr
+
+wx-console.app: wx-console
+       -mkdir wx-console.app    
+       -mkdir wx-console.app/Contents
+       -mkdir wx-console.app/Contents/MacOS
+       -mkdir wx-console.app/Contents/Resources
+       -mkdir wx-console.app/Contents/Resources/English.lproj
+       echo -n 'APPL????' > wx-console.app/Contents/PkgInfo
+       mv wx-console wx-console.app/Contents/MacOS/wx-console
+       cp wx-console.conf wx-console.app/Contents/MacOS/wx-console.conf
 
 wx-console: $(CONSOBJS) @WIN32@ ../lib/libbac.a
        $(CXX) $(CONSOBJS) $(WIN32RES) -o $@ $(LIBS) -L../lib $(CONS_LDFLAGS) -lbac
index b051f5612417e6b1ed53db4bff8a87b5cbe2e8db..0481fe59779df0f27bbf1e883c2bac5500acc70c 100644 (file)
@@ -5,8 +5,18 @@ wxbRestorePanel : When cancelling, check for commands results
 
 general : Show nice messages boxes when errors occurs.
 
+Mac OS X : Integrate Mac OS X into the automake process
+  (note : add -DNO_GCC_PRAGMA to CPPFLAGS)
+
+Mac OS X : "You must first get a unique identifier for your application, 
+  a so called creator, a four letter constant. All you need to know about
+  this step is at http://developer.apple.com/dev/cftype/" (wxWiki)
+  To modify in Makefile.in wx-console target
+
 [postponed to July:]
 
+general : Do not quit when configuration file not found.
+
 wxbRestorePanel : Add a way to cancel restore when building tree
    (needs director modifications)