|
NeoOffice/C Build Instructions
From NeoWiki
Revision as of 05:44, 2 January 2005 (edit) Waldo ( | contribs) (Imported from old wiki-- combined localization into this document) ← Previous diff |
Current revision (02:29, 25 August 2008) (edit) (undo) Sardisson (Talk | contribs) (add obsolete) |
||
(6 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | == | + | {{obsolete}} |
+ | == Building 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".'' | ''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".'' | ||
+ | |||
+ | |||
+ | ''Note: though this will generate a program, the stability of the program is questionable at best. If you need to acutally use something, go for a stable release of NeoOffice'' | ||
Line 13: | Line 17: | ||
* Installed Apple Developer Tools | * Installed Apple Developer Tools | ||
- | : You should have got a CD with the Apple Developer Tools (Xcode Tools on | + | : 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 | * 3 Gigabyte free space on hard disk | ||
Line 21: | Line 25: | ||
* A "torso“ of the NeoOffice.app, because the setup doesn't work proper at this time. You can download one here: http://freesmug.mine.nu/mirrors/neooffice/NeoOfficeTorso.dmg.Z | * A "torso“ of the NeoOffice.app, because the setup doesn't work proper at this time. You can download one here: http://freesmug.mine.nu/mirrors/neooffice/NeoOfficeTorso.dmg.Z | ||
- | *Put it into your | + | *Put it into your <tt>/Applications</tt>-folder. |
+ | |||
=== First step: Getting NeoOffice and external sources === | === First step: Getting NeoOffice and external sources === | ||
- | * Open a new Terminal ( | + | * Open a new Terminal (<tt>/Applications/Utilities/Terminal</tt>) |
- | * If you get the sources the first time, please type | + | * If you get the sources the first time, please type “<tt>sudo mkdir /neooffice</tt>“ and enter your password. |
* Enter the following commands: | * Enter the following commands: | ||
- | : | + | : <tt>cd /neooffice</tt> |
- | : | + | : <tt>setenv CVSROOT :pserver:anoncvs@anoncvs.neooffice.org:/cvs</tt> |
- | : (If the setenv-command gives you an error, try " | + | : (If the setenv-command gives you an error, try "<tt>export CVSROOT=:pserver:anoncvs@anoncvs.neooffice.org:/cvs</tt>" instead.) |
- | : | + | : <tt>cvs login</tt> (Enter the password "anoncvs“) |
- | : | + | : <tt>cvs co NeoOfficeC</tt> |
- | : | + | : <tt>cd /neooffice</tt> |
- | : | + | : <tt>csh fixperms.csh</tt> (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 ) |
Line 49: | Line 54: | ||
Please type the following commands: | Please type the following commands: | ||
- | : | + | : <tt>cd /neooffice/config_office</tt> |
- | : | + | : <tt>./configure –without-x</tt> |
- | : | + | : <tt>cd /neooffice</tt> |
- | : | + | : <tt>source MacosxEnv.Set</tt> |
- | : | + | : <tt>./bootstrap</tt> |
- | : | + | : <tt>source MacosxEnv.Set</tt> |
- | : | + | : <tt>dmake</tt> |
After making, you get a message about missing gtk, but that's ok. Build is finished then successfully. | After making, you get a message about missing gtk, but that's ok. Build is finished then successfully. | ||
Line 70: | Line 75: | ||
Please type the following commands. If you're asked for a password, use your login-password. | Please type the following commands. If you're asked for a password, use your login-password. | ||
+ | : <tt>set curr_wd=`pwd`</tt> | ||
- | : | + | : <tt>mkdir /neooffice-setup</tt> |
- | : | + | : <tt>cd /neooffice-setup</tt> |
- | : | + | : <tt>cp /neooffice/instsetoo/unxmacxp.pro/01/normal/* .</tt> |
- | : | + | : <tt>mkdir /neooffice-install</tt> |
- | + | Because the graphical setup doesn't work, we must do the setup via command shell (we use the temporary directory <tt>/neooffice-install</tt>): | |
- | + | : <tt>cd /neooffice-setup</tt> | |
- | : | + | : <tt>./install --prefix=/neooffice-install</tt> |
- | + | ||
- | + | ||
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: | 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: | ||
- | : | + | : <tt>cp -R /neooffice-install/OpenOffice.org1.1.0/* /Applications/NeoOffice.app/Contents/Resources</tt> (Enter your password, if you're asked for it.) |
- | : | + | : <tt>cp -R /neooffice/macosx_extras/fixinstallpaths/fix_ooo_installation.bash /Applications/NeoOffice.app/Contents/Resources</tt> |
- | : | + | : <tt>rm -r /Applications/NeoOffice.app/Contents/Resources/program/user</tt> |
- | : | + | : <tt>cd /Applications/NeoOffice.app/Contents/Resources</tt> |
- | : | + | : <tt>echo /neooffice-install > oldinstalldir.txt</tt> |
- | : | + | : <tt>echo /neooffice-install > origininstalldir.txt</tt> |
- | : | + | : <tt>cd $curr_wd</tt> |
- | : | + | : <tt>rm -r /neooffice-setup</tt> |
- | : | + | : <tt>sudo rm -r /neooffice-install</tt> |
- | Open the file | + | Open the file <tt>/Applications/NeoOffice.app/Contents/Resources/program/bootstraprc</tt> with an editor |
- | Change the value of | + | Change the value of <tt>UserInstallation</tt> to <tt>$SYSUSERCONFIG/Library/Preferences/NeoOffice0.0.1.1</tt> |
=== Your NeoOffice.app is now ready to test ;-) === | === Your NeoOffice.app is now ready to test ;-) === | ||
+ | |||
+ | |||
=== Localization === | === Localization === | ||
Line 119: | Line 125: | ||
* setenv give_me_all_languages 1 | * setenv give_me_all_languages 1 | ||
- | beforde you start making of NeoOffice | + | beforde you start making of NeoOffice. |
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 | 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 | ||
+ | |||
+ | [[Category:NeoOffice/C]] |
Current revision
The information provided on this page remains available only for historical purposes.
Contents |
Building 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".
Note: though this will generate a program, the stability of the program is questionable at best. If you need to acutally use something, go for a stable release of 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
- A "torso“ of the NeoOffice.app, because the setup doesn't work proper at this time. You can download one here: http://freesmug.mine.nu/mirrors/neooffice/NeoOfficeTorso.dmg.Z
- Put it into your /Applications-folder.
First step: Getting NeoOffice and external sources
- Open a new Terminal (/Applications/Utilities/Terminal)
- If you get the sources the first time, please type “sudo mkdir /neooffice“ and enter your password.
- Enter the following commands:
- cd /neooffice
- setenv CVSROOT :pserver:anoncvs@anoncvs.neooffice.org:/cvs
- (If the setenv-command gives you an error, try "export CVSROOT=:pserver:anoncvs@anoncvs.neooffice.org:/cvs" instead.)
- cvs login (Enter the password "anoncvs“)
- cvs co NeoOfficeC
- cd /neooffice
- csh fixperms.csh (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:
- cd /neooffice/config_office
- ./configure –without-x
- cd /neooffice
- source MacosxEnv.Set
- ./bootstrap
- source MacosxEnv.Set
- dmake
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.
- set curr_wd=`pwd`
- mkdir /neooffice-setup
- cd /neooffice-setup
- cp /neooffice/instsetoo/unxmacxp.pro/01/normal/* .
- mkdir /neooffice-install
Because the graphical setup doesn't work, we must do the setup via command shell (we use the temporary directory /neooffice-install):
- cd /neooffice-setup
- ./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:
- cp -R /neooffice-install/OpenOffice.org1.1.0/* /Applications/NeoOffice.app/Contents/Resources (Enter your password, if you're asked for it.)
- cp -R /neooffice/macosx_extras/fixinstallpaths/fix_ooo_installation.bash /Applications/NeoOffice.app/Contents/Resources
- rm -r /Applications/NeoOffice.app/Contents/Resources/program/user
- cd /Applications/NeoOffice.app/Contents/Resources
- echo /neooffice-install > oldinstalldir.txt
- echo /neooffice-install > origininstalldir.txt
- cd $curr_wd
- rm -r /neooffice-setup
- sudo rm -r /neooffice-install
Open the file /Applications/NeoOffice.app/Contents/Resources/program/bootstraprc with an editor
Change the value of UserInstallation to $SYSUSERCONFIG/Library/Preferences/NeoOffice0.0.1.1
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.
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