From 3580341255a8c4876e1d23c97a7bf0fc2a6f48cc Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Wed, 5 May 2004 16:05:36 +0000 Subject: [PATCH] Added Mac OS X support. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1340 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/wx-console/Makefile.in | 12 ++++++++++++ bacula/src/wx-console/TODO | 10 ++++++++++ 2 files changed, 22 insertions(+) diff --git a/bacula/src/wx-console/Makefile.in b/bacula/src/wx-console/Makefile.in index 6705508cfe..9fc9fed5fa 100644 --- a/bacula/src/wx-console/Makefile.in +++ b/bacula/src/wx-console/Makefile.in @@ -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 diff --git a/bacula/src/wx-console/TODO b/bacula/src/wx-console/TODO index b051f56124..0481fe5977 100644 --- a/bacula/src/wx-console/TODO +++ b/bacula/src/wx-console/TODO @@ -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) -- 2.39.5