Just for reference, I guess I should note that I installed the G4 7450 variant of AquaFox onto my G4 Cube (with upgraded 1.2 GHz G4) and it ran beautifully.
This was on a Power Mac G5 with a fresh MacPorts installation. The command `sudo port -v install tenfourfox-devel` will build for G4 by default, and it was the command issued that resulted in the build failure.I have to admit I do not even see from the log what exactly goes wrong. Perhaps need some sleep LOL
But I see you build for G4, it is on G5? `-mcpu` is not a safe flag, it may break compatibility.
I don’t think I ever tried building this for G4, to be honest. Build for G5 certainly worked on 10.6 (strip could fail depending on some obscure factors, so I just disabled that, everything else worked reproducibly: I have built this a number of times on two machines). I think I built in once on 10.5.8 too, for G5.
Assuming no exotic toolchain components have been introduced, I would suspect -mcpu breaking things.
if {${arch} eq "ppc970"} {
# something
}
I've only just been catching up with this fantastic news re aquafox..but a question regarding online reading - as a obsolete iPad owner I've recently been using Firefox with reader mode turned on. It makes a big difference by cutting out everything except the text..so I'm very curious to know if aquafox has this option ?Seeing that others have logged in to their banks, I thought I'd try logging in to my Readly account. Well, it was slow but, DID login. Unfortunately, it would not load a magazine to read. Maybe a future update might! This is very encouraging though! It works overall very well for most websites!
This was on a Power Mac G5 with a fresh MacPorts installation. The command `sudo port -v install tenfourfox-devel` will build for G4 by default, and it was the command issued that resulted in the build failure.
I'm not too interested in building TenFourFox with MacPorts myself, but I have added nostrip versions of the mozconfig to the GitHub repository to retain compatibility with the way the TenFourFox portfile is set up. I hope you can test the portfile, although the checksums will probably be invalid now.
As for automatic CPU detection, is it not possible to do something along the lines of this?
Code:if {${arch} eq "ppc970"} { # something }
Hello,Got it, no issues, you do not have to test TFF builds, of course. Hopefully someone with a reasonably fast G4 machine can try that some day, since I do not have such.
(If anyone bumps into this topic: on a G5 please build this as `sudo port -v install tenfourfox +G5`.)
We cannot condition on ppc970, because it is not a valid value for arch in MacPorts. If we add it to valid archs, the question is how to detect it: that does not solve the problem, it just moves it elsewhere. It also introduces a new problem, since we cannot use `-arch ppc970` (AFAIK), so handling of flags should be changed.
Hello,
I have done this.
Please look for post #75 from me in this chat.
I have tested a G4 1.33 Ghz and a G4 1.67 Ghz with it.
AquaFox runs perfectly with it.
What about ppc64? It should be valid. The G5 was the only 64-bit PowerPC Mac.Got it, no issues, you do not have to test TFF builds, of course. Hopefully someone with a reasonably fast G4 machine can try that some day, since I do not have such.
(If anyone bumps into this topic: on a G5 please build this as `sudo port -v install tenfourfox +G5`.)
We cannot condition on ppc970, because it is not a valid value for arch in MacPorts. If we add it to valid archs, the question is how to detect it: that does not solve the problem, it just moves it elsewhere. It also introduces a new problem, since we cannot use `-arch ppc970` (AFAIK), so handling of flags should be changed.
What about ppc64? It should be valid. The G5 was the only 64-bit PowerPC Mac.
@barracuda156 I've fixed the checksums for Aquafox and updated the TFF entry to the latest version (20240505). It should be fine, but I haven't been able to test it myself. Shall I open a pull request after I've fixed my MacPorts installation and verified the portfile?
The reader view functionality is available in Aquafox. The icon will appear on the right side of the address bar.I've only just been catching up with this fantastic news re aquafox..but a question regarding online reading - as a obsolete iPad owner I've recently been using Firefox with reader mode turned on. It makes a big difference by cutting out everything except the text..so I'm very curious to know if aquafox has this option ?
After my misfortunes with MacPorts on 10.5 and 10.4 on one of my Power Macs, I performed a fresh install of 10.5 and MacPorts on another machine, but the troubles continue. The dependency libgcc6 fails to compile. I am following the instructions, but perhaps I missed a memo somewhere because it’s not working for me.Great!
If you have tested Aquafox build from your portfile, it is good for the PR. (You do not have to test anything for TFF.)
The reader view functionality is available in Aquafox. The icon will appear on the right side of the address bar.
After my misfortunes with MacPorts on 10.5 and 10.4 on one of my Power Macs, I performed a fresh install of 10.5 and MacPorts on another machine, but the troubles continue. The dependency libgcc6 fails to compile. I am following the instructions, but perhaps I missed a memo somewhere because it’s not working for me.
It seems like I spoke too soon. After numerous retries, it appears all dependencies have compiled. This process spanned several days and nights. Building TenFourFox still failed, and after adding the local repository, Aquafox didn't even get to the building stage as it fails to fetch patch-ots-stdlog-fix.diff. It appears I'm in exactly the same spot as described in post #64. I am still somewhat new to MacPorts, and it seems that simply following the instructions won't suffice. What am I missing?Could you please share the log?
(Having it broken means that all dependencies are broken, and there are more of them.)
P. S. Tiger is kinda broken, AFAIK, don’t bother with it.
It seems like I spoke too soon. After numerous retries, it appears all dependencies have compiled. This process spanned several days and nights. Building TenFourFox still failed, and after adding the local repository, Aquafox didn't even get to the building stage as it fails to fetch patch-ots-stdlog-fix.diff. It appears I'm in exactly the same spot as described in post #64. I am still somewhat new to MacPorts, and it seems that simply following the instructions won't suffice. What am I missing?
PS: I have attached two logs: the TenFourFox log, which was generated without a local repository enabled, and the Aquafox log, which was generated with the local repository enabled.
It seems like I spoke too soon. After numerous retries, it appears all dependencies have compiled. This process spanned several days and nights. Building TenFourFox still failed, and after adding the local repository, Aquafox didn't even get to the building stage as it fails to fetch patch-ots-stdlog-fix.diff. It appears I'm in exactly the same spot as described in post #64. I am still somewhat new to MacPorts, and it seems that simply following the instructions won't suffice. What am I missing?
PS: I have attached two logs: the TenFourFox log, which was generated without a local repository enabled, and the Aquafox log, which was generated with the local repository enabled.
36-242% sudo port -v -n configure aquafox +G5
Warning: configured user/group macports does not exist, will build as root
Portfile for aquafox changed since last build; discarding previous state.
---> Computing dependencies for aquafox.
---> Fetching distfiles for aquafox
---> Aquafox-0785667d630acf269af554f538c19da181e5253f.tar.gz does not exist in /opt/local/var/macports/distfiles/tenfourfox
---> Attempting to fetch Aquafox-0785667d630acf269af554f538c19da181e5253f.tar.gz from https://codeload.github.com/BlackBirdLC/Aquafox/legacy.tar.gz/0785667d630acf269af554f538c19da181e5253f?dummy=
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 310M 0 310M 0 0 8695k 0 --:--:-- 0:00:36 --:--:-- 8775k
---> Verifying checksums for aquafox
---> Checksumming Aquafox-0785667d630acf269af554f538c19da181e5253f.tar.gz
---> Extracting aquafox
---> Extracting Aquafox-0785667d630acf269af554f538c19da181e5253f.tar.gz
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_tenfourfox/aquafox/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/tenfourfox/Aquafox-0785667d630acf269af554f538c19da181e5253f.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
---> Applying patches to aquafox
---> Applying patch-ots-stdlog-fix.diff
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_tenfourfox/aquafox/work/Aquafox-0785667d630acf269af554f538c19da181e5253f" && /usr/bin/patch -t -N -p1 < '/opt/PPCSnowLeopardPorts/www/tenfourfox/files/patch-ots-stdlog-fix.diff'
patching file gfx/ots/src/silf.cc
patching file gfx/ots/src/sill.cc
---> Patching .mozconfig: s|-j2|-j6|
---> Patching .mozconfig: s|/opt/local|/opt/local|g
Warning: reinplace s|/opt/local|/opt/local|g didn't change anything in /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_tenfourfox/aquafox/work/Aquafox-0785667d630acf269af554f538c19da181e5253f/.mozconfig
---> Patching Makefile.in: s|/opt/local|/opt/local|g
Warning: reinplace s|/opt/local|/opt/local|g didn't change anything in /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_tenfourfox/aquafox/work/Aquafox-0785667d630acf269af554f538c19da181e5253f/media/libvpx/Makefile.in
---> Patching Makefile.in: s|/opt/local|/opt/local|g
Warning: reinplace s|/opt/local|/opt/local|g didn't change anything in /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_tenfourfox/aquafox/work/Aquafox-0785667d630acf269af554f538c19da181e5253f/config/external/nss/Makefile.in
---> Patching 104fx_copy.sh: s|/opt/local|/opt/local|g
Warning: reinplace s|/opt/local|/opt/local|g didn't change anything in /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_tenfourfox/aquafox/work/Aquafox-0785667d630acf269af554f538c19da181e5253f/104fx_copy.sh
---> Patching OptimizedFor.h: s|Debugging|macOS 10.6 on G5|g
Warning: reinplace s|Debugging|macOS 10.6 on G5|g didn't change anything in /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_tenfourfox/aquafox/work/Aquafox-0785667d630acf269af554f538c19da181e5253f/netwerk/protocol/http/OptimizedFor.h
---> Configuring aquafox
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_tenfourfox/aquafox/work/Aquafox-0785667d630acf269af554f538c19da181e5253f" && autoconf213 --verbose
Autoconf version 2.13
That's not a silly question at all. I did not do that. I've never created a port or subport for MacPorts, so I didn't think I needed an extra file in the ports directory. This wasn't mentioned in the documentation I read, and since MacPorts was clearly attempting to reach some servers, I figured the problem lay elsewhere.Sorry for a silly question, but did you actually copy files folder into your new overlay portfile?
That's not a silly question at all. I did not do that. I've never created a port or subport for MacPorts, so I didn't think I needed an extra file in the ports directory. This wasn't mentioned in the documentation I read, and since MacPorts was clearly attempting to reach some servers, I figured the problem lay elsewhere.
After copying the file into the correct location, it finally seemed like it was going to work. However, compilation failed again after some time. I don't really have the time to investigate further. I should add that when using @piptogrep's build_tenfourfox script (edited to point to /opt/local rather than /opt/macports-tff), Aquafox builds without any issues, indicating that MacPorts installed all dependencies correctly. I don't know why building initiated with port fails.
Though I am happy to see it built and run on 10.6, I guess I should add that somewhere in the description on GitHub.
PS: I have added logs from two instances of the build failure if you would like to investigate further.
{standard input}:unknown:Undefined local symbol LL[T866
Not at all. I was planning to create the PR myself, but if you would like to, please feel free to go ahead.I think it is still worth adding Aquafox subport as it is, since the error may be something local, and it does work normally on my setup. Would you mind if I add you as a co-maintainer?
Not at all. I was planning to create the PR myself, but if you would like to, please feel free to go ahead.
Not at all. I was planning to create the PR myself, but if you would like to, please feel free to go ahead.
Greasemonkey 3.11 should work fine (for example, the file attached in the userscripts thread). What script do you use for ViewTube? The website seems to be broken.This is excellent! I tried to compile TFF using Macports a while back and it failed to compile after a day and a half of compiling on my PowerBook G4! Much easier to download a package so thank you! Is it possible to install Grease Monkey on this so I can use ViewTube?