#3 OS X support?

open
nobody
None
5
2008-03-02
2008-03-02
John R. Cary
No

Any chance of supporting OS X? Not much
work. I did the following in
the installation bin directory:

mkdir -p xpe.app/Contents
mkdir -p xpe.app/Contents/MacOS
mkdir -p xpe.app/Contents/Resources
echo -n "APPL????" >xpe.app/Contents/PkgInfo
ln -f xpe xpe.app/Contents/MacOS/xpe

then copied wxmac.icns from that project
into xpe.app/Contents/Resources,
and created the file,

cat xpe.app/Contents/Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleIdentifier</key>
<string>net.sf.nextpe</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>xpe</string>
<key>CFBundleIconFile</key>
<string>wxmac.icns</string>
<key>CFBundleName</key>
<string>xpe</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.9.3</string>
<key>CFBundleShortVersionString</key>
<string>0.9.3</string>
<key>CFBundleGetInfoString</key>
<string>xpe version 0.9.3, (c) 2002-2006 wxWidgets</string>
<key>CFBundleLongVersionString</key>
<string>0.9.3, (c) 2002-2006 wxWidgets</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2002-2006 wxWidgets</string>
<key>LSRequiresCarbon</key>
<true/>
<key>CSResourcesFileMapped</key>
<true/>
</dict>
</plist>

Discussion

  • Logged In: NO

    I would love to support Mac OS X but as you can imagine, it requires to have a mac ... which I don't have ... So the only chance is to find someone who feels able to compile XPE on mac ... sorry :-(

     
  • John R. Cary
    John R. Cary
    2008-03-02

    Logged In: YES
    user_id=19352
    Originator: YES

    If you like, I might be able to work up a patch for you.

     
  • Logged In: NO

    If you know how to do, you can try to install wxWidgets, make, automake, autoconf and a compiler (gcc ?)

    Then download the XPE sources and type following instructions :

    cd xpe_source_root_path
    mkdir buid && cd build
    WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs
    ../configure
    WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -k
    WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make install

     
  • John R. Cary
    John R. Cary
    2008-03-03

    Logged In: YES
    user_id=19352
    Originator: YES

    I have done all of that, so I can make from scratch.

    I'll post a patch here in a few days.

     
  • Logged In: NO

    there was an error in my previous comment. the real procedure to follow is (make -f Makefile.cvs must be done in the source root path, not in the build directory):

    cd xpe_source_root_path
    WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs
    mkdir buid && cd build
    ../configure
    WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -k
    WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make install