Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

Download or installation problems? Try these steps
Problems after upgrading to NeoOffice 2017? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - Neooffice in universal binaries, one question more
Neooffice in universal binaries, one question more
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoOffice Development
View previous topic :: View next topic  
Author Message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11856
Location: California, USA

PostPosted: Sat Aug 23, 2008 8:49 am    Post subject: Reply with quote

Samwise wrote:
I think it is an average of 4 TB per mirror per month. With 250,000 downloads a month and 135 MB per download, I think the global figure should be more like 30 TB…


Samwise's numbers are about right.

Patrick
Back to top
View user's profile Send private message Visit poster's website
JT
Red Pill


Joined: Aug 21, 2008
Posts: 6

PostPosted: Mon Aug 25, 2008 8:23 am    Post subject: Reply with quote

So I've tested the shell script solution on PPC and Intel and everything works without a hitch.

Regarding Launch Services consistently choosing the right platform version, I used Get Info's Open with + Change All dialog and selected the NeoOffice symbolic link in the Applications folder. I tested .doc, .xls, and .ppt files in a variety of contexts and Launch Services always picked the right version. So it seems like there's no problem.

It looks like you all already have a jump on documenting this solution on the Wiki, but on Friday afternoon I wrote the process up too. So for what it is worth here's how I outlined it-- maybe there are some useful tidbits here:

1) On PPC machine install Neooffice and apply current patches. Copy the final resultant app to an external drive or network share.

2) On Intel machine install Neooffice and apply current patches. Copy the final resultant app to an external drive or network share.

3) Organize the two platform-specific apps into folders something like this:

> Neoresources
>>Intel
>>> Neooffice.app
>>PPC
>>>Neoofffice.app

4) Copy these apps and folders into the Application folder of your master image. Be sure there is no other copy of Neooffice (or links/shortcuts/aliases) named Neooffice in the main Applications folder.

5) Open the /Applications/TextEdit application, copy these lines into a new TextEdit document:
Code:

if [ ! -d "/Applications/NeoOffice.app" ] ; then
  if [ `/usr/bin/uname -p` = "powerpc" ] ; then
    /bin/ln -sf "/Applications/Neoresources/PPC/NeoOffice.app" \
      "/Applications/NeoOffice.app"
  else
    /bin/ln -sf "/Applications/Neoresources/Intel/NeoOffice.app" \
      "/Applications/NeoOffice.app"
  fi
fi


Note: if you used a different folder naming/organization scheme in #3 then you'll need to change the script accordingly.

6) Select the Format :: Make Plain Text menu and then the File :: Save menu. When the Save dialog appears, name it Untitled.txt, set the Plain Text Encoding field to "Unicode (UTF-8)", and save it to your desktop.

7) Move the file that you saved to /etc/rc.local using the following Terminal commands:
Code:

sudo cp ~/Desktop/Untitled.txt /etc/rc.local
sudo chown root:wheel /etc/rc.local


8) If you clone from one machine to another be sure you throw away the Neooffice symbolic link in the main Applications folder, then your rc.local script will recreate a new, platform-correct link.

Thanks so much one and all! Looks like Neooffice will be going in the dock at Green Mountain College!
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11856
Location: California, USA

PostPosted: Mon Aug 25, 2008 8:39 am    Post subject: Reply with quote

JT wrote:
Cool If you clone from one machine to another be sure you throw away the Neooffice symbolic link in the main Applications folder, then your rc.local script will recreate a new, platform-correct link.


FYI. Deleting the symbolic link should not be necessary as the script will replace any existing symbolic link with the new one. Also, the script will run automatically each time you boot the machine so if the softlink gets accidently deleted or changed, a reboot should fix it.

Patrick
Back to top
View user's profile Send private message Visit poster's website
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Mon Aug 25, 2008 11:10 am    Post subject: Reply with quote

JT wrote:
It looks like you all already have a jump on documenting this solution on the Wiki, but on Friday afternoon I wrote the process up too. So for what it is worth here's how I outlined it-- maybe there are some useful tidbits here:

Thanks for posting back with the results and your steps; I'll compare the two sets later today and incorporate anything that's missing.

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Mon Aug 25, 2008 12:42 pm    Post subject: Reply with quote

Nice Smile.

I love it when a plan comes together!

-Oz

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
View user's profile Send private message
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Mon Aug 25, 2008 1:43 pm    Post subject: Reply with quote

ovvldc wrote:
I love it when a plan comes together!

/queue 80s theme music!

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Mon Jan 12, 2009 9:26 am    Post subject: Reply with quote

yoxi wrote:
Good on yer... then all the folk who hit the same issue with OOo can get directed there too Smile


And they have been Very Happy

Lorinda (aka kabing)
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoOffice Development All times are GMT - 7 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.03 Seconds