NeoOffice/C Build Instructions

From NeoWiki

Revision as of 05:44, 2 January 2005 by Waldo ( | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

Build instructions for NeoOffice/C

Note: Until very recently NeoOffice/C was named simply "NeoOffice" (without the "C"). This caused confusion, so in December 2004, the Cocoa version of NeoOffice was renamed to NeoOffice/C. Because of their historical nature, these build instructions continue to refer to the application as "NeoOffice".


Prerequisites

You need the following things to build NeoOffice on your Mac:

  • A Mac running Mac OS X 10.2 ("Jaguar“) or 10.3 ("Panther“)
  • (Broadband-)Access to the internet (or a good friend with internet-access ;-) )
  • Installed Apple Developer Tools
You should have got a CD with the Apple Developer Tools (Xcode Tools on "Panther“). If not, make a free developer-registration at http://developer.apple.com and download the Developer Tools from there
  • 3 Gigabyte free space on hard disk
  • Ability to work on the command line via Terminal
  • Put it into your -folder.

First step: Getting NeoOffice and external sources

  • Open a new Terminal ()
  • If you get the sources the first time, please type "“ and enter your password.
  • Enter the following commands:
(If the setenv-command gives you an error, try "" instead.)
(Enter the password "anoncvs“)
(Please note: Getting the sources can need dozens of hours at the first time. A source tarball from 2004-02-29, size 226MB, can be downloaded here: http://freesmug.mine.nu/mirrors/neooffice/neooffice.tar.gz )


Second step: Building NeoOffice

Please type the following commands:

{{./configure –without-x}}
{{./bootstrap}}

After making, you get a message about missing gtk, but that's ok. Build is finished then successfully.


Third step: Assembling the executable

Please type the following commands. If you're asked for a password, use your login-password.


Because the graphical setup doesn't work, we must do the setup via command shell (we use the temporary directory ):

{{./install --prefix=/neooffice-install}}

The setup-program of NeoOffice doesn't work correctly now. After doing this steps, you must move all files of the installation directory, you've choosed in the setup, into the Contents/Ressources-directory of an "old“ NeoOffice-binary or a "torso“. Please type:

(Enter your password, if you're asked for it.)
{{echo /neooffice-install > oldinstalldir.txt}}
{{echo /neooffice-install > origininstalldir.txt}}

Open the file with an editor

Change the value of to

Your NeoOffice.app is now ready to test ;-)

Localization

If you want to localise (using your language) NeoOffice, Make a

  • setenv give_me_all_languages 1

beforde you start making of NeoOffice/C.

What that will do is create resource files and installation sets for all of the languages. In the "setup" step, instead of using the "01" instsetoo directory, replace it with the two digit code for your language as given in the "Tel-code" column of: http://l10n.openoffice.org/all_supported_languages.html

Personal tools