pulpTunes Community Forums The Web Server for iTunes

Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: HOWTO: PPC Guide  (Read 685 times)

Panda

  • Padawan
  • **
  • Posts: 6
    • View Profile
HOWTO: PPC Guide
« on: June 14, 2010, 06:47:22 PM »

So you want to run pulpTunes 1.3 and maybe newer upcoming versions? This is what you need for your PPC running 10.5 (Leopard)

- OpenJDK 7 for PPC openjdk7-macppc-2009-12-16-b4.tar.bz2
- PPC based mac (G3/G4/G5)
- pulpTunes 1.3 pulpTunesSetup_mac_1.3.0.zip
- X11 (X11 needs to be installed, if you don't have it install it from your leopard disc) If you have X11 it will be located at (Applications/Utilities/X11.app
- 10 minutes.
- Ignore the Quoteation marks.

My native language isn't English so ignore my sometimes faulthy grammar

1.) Downloading the files

Download the OpenJDK 7 and pulpTunes 1.3 files and unpack them by double clicking on the files.
Change the filename openjdk7-macppc-2009-12-16-b4 to openjdk7-macppc, and place it at a location that you want (/Users/username/Desktop) for example.

2.) Show all hidden files in the Finder

Open up a terminal window, you can do this by typing terminal in Spotlight (cmd+sapcebar or apple+spacebar) or open it from (Applications/utilities/terminal.app).
Copy paste or type this line in the teminal (defaults write com.apple.Finder AppleShowAllFiles YES), after you done this we need to restart the Finder
type killall Finder and finder will restart and you will see the hidden files.

Note: To disable the showallfiles type (defaults write com.apple.Finder AppleShowAllFiles NO) then kill finder again.

3.) Upgrading your Java version

Place the openjdk7-macppc where you want it, I chose for (usr/local) this location will ask you for an admin password.
Go to you're home directory mine is macserver and search for a file called .bash_profile and open it with texteditor.app.

(If the file doesn't exist then copy some other file starting with a . like .DS_Store change the filename to .bash_profile and open it with texteditor and delete the text inside the file and save it.)

Copy this lines to the .bash_profile file and change the path to your location from the openjdk7-macppc folder.

Code: [Select]
export JAVA_HOME="/usr/local/openjdk7-macppc/bin"
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/openjdk7-macppc/bin"

Save the file.
(If u used another path for the openjdk7-macppc folder then change the path.)

4.) Almost there

So in your terminal window start a new tab by pressing cmd+T or apple+T and type "java -version"
It should give you the java version 1.7.0

5.) pulpTunes 1.3 you will be mine

So put you pulpTunes 1.3.app in youre Application folder or somewhere else, and open a terminal window.

First we need to go to the correct location, do this by typing "cd /Applications/pulpTunes.app/Contents/Resources/java"
here comes the big moment type "java -jar PulpTunes.jar"

X11 will start and it will take some time to start pulpTunes up.
It is possible that the terminal gives you some errors, but if it says "The server has started then you are good to go"

Good Luck

Copy paste those lines of code in texteditor and save it as an .sh file.
Code: [Select]
#!/bin/bash
cd /applications/pulpTunes.app/Contents/Resources/java/
java -jar PulpTunes.jar
exit

Now you can add this script as an startup item.
« Last Edit: June 15, 2010, 05:29:48 PM by Panda »
Logged

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 444
    • View Profile
    • Email
Re: HOWTO: PPC Guide
« Reply #1 on: June 14, 2010, 07:09:20 PM »

Logged