ownCloud 1.4.0 client PowerPC Leopard version successful

Ask all your questions on desktop sync clients. Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
cliffso
Newbie
Posts: 2
Joined: Tue Sep 24, 2013 5:50 pm
ownCloud version: 5.0.10

ownCloud 1.4.0 client PowerPC Leopard version successful

Postby cliffso » Tue Sep 24, 2013 6:16 pm

owncloud 1.4 ppc.jpg
owncloud 1.4 ppc.jpg (175.54 KiB) Viewed 3773 times


Hey guys!

I am new to ownCloud and homebrew. You know, I am never happier today. After struggling with numerous build errors and patches, I finally got ownCloud 1.4 running smoothly on my old ppc osx Leopard. It was a long 4 days journey. The biggest obstacle is the qt-4.8.5 alone. It took me 3 days. It was like going back, google for fixes, rebrew again and again. The last successful qt build took 1 day.

I am very new to the community, so what's the most proper way to contribute? Would it be most probable to brew a qt-4.8.5-ppc-leopard bottle first? Because it is the only package that need patches. The others are straightforward. How should I begin?

My old PPC Mac's life is extended. I couldn't be happier because it seems I am the first person in the world to own the first ownCloud-1.4.0-leopard-ppc.dmg

P.S. I also have the latest ownCloud server running SSL in the same box. See the screenshot. The performance is excellent when I test connect from outside Mac or from iOS.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: ownCloud 1.4.0 client PowerPC Leopard version successful

Postby RealRancor » Tue Sep 24, 2013 8:18 pm

Hi,

sounds really great. You could contact the developers via the mailinglist:

https://mail.kde.org/mailman/listinfo/owncloud

or the bugtracker of the sync client:

https://github.com/owncloud/mirall/issues

to get more infos on how to contribute this.
*gone*

cliffso
Newbie
Posts: 2
Joined: Tue Sep 24, 2013 5:50 pm
ownCloud version: 5.0.10

Re: ownCloud 1.4.0 client PowerPC Leopard version successful

Postby cliffso » Thu Sep 26, 2013 3:09 pm

Hi Rancor and the community,

Since I received some enquires, I've better write down my journey first before I forget. Eventually, I will contribute to a qt-4.8.5-ppc-leopard tigerbrew bottle. But it takes some time. I never changed a single line of code of ownCloud. It's all getting qt to be complied

0) Install Xcode 3.1.4 and tigerbrew
1) Fix the curl SSL certificate missing issue https://github.com/mxcl/homebrew/issues/6103
and any warnings in "brew doctor"
2) "brew install git", "brew update", "brew upgrade"
3) Follow the Mac installation and Generic Build Instructions http://doc.owncloud.org/desktop/1.4/building.html
4) brew tap owncloud/owncloud (no issue as far as I can remember)
5) brew install $(brew deps ocsync) (no issue as far as I can remember)
6) brew install $(brew deps mirall)
7) It stops at qt at one line using g++ (version 4.0.1), while it should be /usr/bin/g++-4.2. I do dirty trick by soft-linking /usr/bin/g++-4.2 to /usr/bin/g++. I lost the webpage mentioning the same situation and solution.
8) Install qt again. It stops at error in QtWebKit.pro and WebCore.pro
9) Eventually I found the solution in MacPorts
http://trac.macports.org/browser/trunk/dports/aqua/qt4-mac/files/patch-src_3rdparty_webkit_Source_WebCore_WebCore.pro.diff?rev=96486
http://trac.macports.org/changeset/96486/trunk/dports/aqua/qt4-mac/files/patch-src_3rdparty_webkit_Source_WebKit_qt_QtWebKit.pro.diff
It was used to give the same error when compiling in intel Leopard platform. But was fixed in qt-4.8.5. However the ppc user was left behind in this latest version.
10) I include only these two lines of .diff in my qt Formula. Then install qt using the modified formula. Installation success (about 1 day :? )
11) Download ocsync-0.90.2 and moral-1.4.1 from http://owncloud.org/sync-clients/. The "git clone git://git.csync.org/users/freitag/csync.git" version does not work for me, I never get it complied in any way.
12) Follow the Generic Build Instructions "cmake -DCMAKE_BUILD_TYPE="Debug" ../ocsync" gives error related to NEON.
13) As seen in http://mail.kde.org/pipermail/owncloud/2013-May/009193.html
brew link neon --force
brew link readline --force
brew link sqlite --force
14) Then make ocsync successful. Make mirall successful.
15) Finally "make package" went smoothly.


I hope the the order of the errors are correct out of my memory. But the solution to the fixes are correct.


For the ownCloud server in the same machine. The "double slash" error has to be fixed. Otherwise, the client will give "Wrong credentials" under https/SSL even the password is corrent

Has to patch the /owncloud/remote.php. Refer to Cubytus's post, https://github.com/owncloud/core/issues/3462
Quote :

TEMPORARY FIX (Requires hard-coding the correct address):
in file "remote.php", last two lines are:

$baseuri = OC::$WEBROOT . '/remote.php/'.$service.'/';
require_once $file;

Change to (~xxxxxx being your user folder as accessible from the internet):

$baseuri = OC::$WEBROOT . '/remote.php/'.$service.'/';
if(strpos($baseuri, "/~xxxxxx") === 0) {
$baseuri = "/~xxxxx/owncloud/remote.php/$service/";
} else {
$baseuri = "/owncloud/remote.php/$service/";
}
require_once $file;




Thanks,

Cliff

erikzett
Newbie
Posts: 1
Joined: Fri Oct 11, 2013 4:25 am

Re: ownCloud 1.4.0 client PowerPC Leopard version successful

Postby erikzett » Fri Oct 11, 2013 4:36 am

Great news, is there a download available for PPC ? Looking high and low for it. Can you provide it?

lausse
Newbie
Posts: 1
Joined: Mon Aug 18, 2014 1:55 pm
OS: Mac OS X Desktop

Re: ownCloud 1.4.0 client PowerPC Leopard version successful

Postby lausse » Mon Aug 18, 2014 1:59 pm

Sounds awesome!

Hmm - is there anything in that instruction that makes it impossible for someone at OSX 10.4 to join that success? :?

mewsyc
Newbie
Posts: 1
Joined: Tue Jan 27, 2015 12:27 am

Re: ownCloud 1.4.0 client PowerPC Leopard version successful

Postby mewsyc » Tue Jan 27, 2015 12:55 am

Hey,

read this thread and couldn't find a more recent walkthru to get the owncloud client to my beautiful G4 PB. Dropbox is about to drop PPC support and so it might be good idea to give owncloud a try on the PB (as I already do on some Intel-Mac and Linux machinery). Unfortunately I ran in the gap described at step 7 and don't feel familiar enough to formula tweaks to make it to step 10 by myself. Can anyone help me get around that qt5-showstopper?
PB G4 1.67 15" DLSD/HR (late 2005), 2GB RAM, MacOSX 10.5.8, XCode 3.1.4


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud desktop sync clients”

Who is online

Users browsing this forum: No registered users and 1 guest