SpiderWeb

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

SpiderWeb

Post by xeno74 »

Hi All,

SpiderWeb has been released for PowerPC Linux! :-)
Wart Hog Matt wrote: I've been a busy beaver. Here's another UXP based seamonkey-like browser and UXP based thunderbird-like mail/news/rss client for powerpc linux. More info here: https://github.com/wicknix/SpiderWeb/wiki/Download
I compiled SpiderWeb for old Linux distributions for example the A-EON Live Remix DVD and Ubuntu 12.04 or higher today.

It needs GCC 4.9 and the following patch:

Code: Select all

--- a/js/src/jsmath.cpp
+++ b/js/src/jsmath.cpp
@@ -63,16 +63,29 @@
// Older glibc versions don't define SYS_getrandom, so we define it here
# if defined(__x86_64__)
# define GETRANDOM_NR 318
# elif defined(__i386__)
# define GETRANDOM_NR 355
# elif defined(__arm__)
# define GETRANDOM_NR 384
+// Added powerpc architecture:
+# elif defined(__powerpc__)
+# define GETRANDOM_NR 359
GCC 4.9 installation instructions for Ubuntu 12.04:

Code: Select all

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

Code: Select all

sudo apt-get update; sudo apt-get install gcc-4.9 g++-4.9

Code: Select all

update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 50
gcc -v

Output:

Code: Select all

gcc version 4.9.4 (Ubuntu 4.9.4-2ubuntu1~12.04)

Code: Select all

update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 50
g++ -v

Code: Select all

gcc version 4.9.4 (Ubuntu 4.9.4-2ubuntu1~12.04)
After compiling with ./mach build you have to copy the icudt58b.dat to obj-powerpc-linux-gnu/dist/bin.

Code: Select all

cd mozilla/config/external/icu/data/

Code: Select all

cp icudt58b.dat ../../../../../obj-powerpc-linux-gnu/dist/bin

Code: Select all

./mach run

Code: Select all

./mach package
After that you need to add icudt58b.dat to the SpiderWeb compressed package as well.

Download: spiderweb-2.1.0-ubuntu_12.04-powerpc.tar.bz2

I successfully tested it on a Lubuntu 12.04.0 PowerPC Live DVD and on the A-EON Live Remix DVD today. You need to install the GCC 4.9 and the libatomic1 via the repository 'ppa:ubuntu-toolchain-r/test'.

Code: Select all

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

Code: Select all

sudo apt-get update; sudo apt-get install gcc-4.9 g++-4.9
Screenshots:

Image

Image

Please test it.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: SpiderWeb

Post by xeno74 »

Image

YouTube videos in HD with ViewTube and SpiderWeb

Installation instructions for ubuntu MATE 16.04.6 PowerPC
  1. Install VLC and the VLC browser plugin with the following command:

    Code: Select all

    sudo apt-get install browser-plugin-vlc
  2. Start SpiderWeb and install the add-on greasemonkey-3.10.0.1rc3pre-sw.xpi (Download and then File - Open File... - greasemonkey-3.10.0.1rc3pre-sw.xpi)
  3. Restart SpiderWeb
  4. After that, download the ViewTube script
  5. Decompress the package and copy the folder gm_scripts to /home/<your user directory>/.wicknix/spiderweb/<profile directory>
    For example:

    Code: Select all

    cp -R gm_scripts /home/amigaone/.wicknix/spiderweb/xa4ue3g6.default/
  6. Restart SpiderWeb
  7. Then you have to activate the VLC plugin. You can activate it via Menu Tools - Add-ons Manager - Plugins.
Image Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: SpiderWeb

Post by xeno74 »

Hi All,

I was able to compile SpiderWeb on Fedora PPC64 after the following commands today.

Code: Select all

grep -r " -m32" *

Code: Select all

:%s/-m32/-m64/g
Download: spiderweb-2.1.0.linux-powerpc64.tar.bz2

It could be, that you have to install some packages for example libffi7 for using SpiderWeb. I successfully tested it on Fedora 27 PPC64 and on openSUSE Tumbleweed 20190722 PPC64 today.

Screenshots:

Image Image

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: SpiderWeb

Post by xeno74 »

Wicknix wrote: SpiderWeb 2.2.1 is now available for Ubuntu12/14 and Debian8.
Wicknix wrote:About: shows version 2.1.0 because i forgot to change version.txt before building. It is however built with the latest UXP code base.
Download: spiderweb-2.2.1.ubu12deb8.linux-powerpc.deb
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: SpiderWeb

Post by xeno74 »

Hi All,

I compiled SpiderWeb 2.2.1 for Linux PPC64 yesterday.

Download: spiderweb-2.2.1.linux-powerpc64.tar.bz2

Support thread: forums.macrumors.com

Image

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: SpiderWeb

Post by xeno74 »

SpiderWeb 2.2.2 is now available
Wicknix wrote: Over the last few months powerpc fixes were added to upstream UXP. You can build any UXP application on ppc now, except you still need to swap the icu.dat file around. So changelog will always be the about same as upstream. https://www.palemoon.org/releasenotes.shtml
Download: github.com/wicknix/SpiderWeb
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
sailorMH
Posts: 230
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: SpiderWeb

Post by sailorMH »

32-bit version 2.2.2 works on Debian 8
https://img34.rajce.idnes.cz/d3403/16/1 ... derweb.jpg
Image
64 bit version is 2.2.1 here https://github.com/wicknix/SpiderWeb/wi ... rm0xI9hdCw
spiderweb-2.2.1.linux-powerpc64.tar.bz2 with Debian Sid don't work:

Code: Select all

tata@amigaone:~/Downloads/spiderweb$ ./spiderweb 
XPCOMGlueLoad error for file /home/tata/Downloads/spiderweb/libxul.so:
libffi.so.6: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
libffi7 is installed and spiderweb run from unpacked archive directory.
Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: SpiderWeb

Post by xeno74 »

sailorMH wrote: Mon Jun 08, 2020 7:49 pm 32-bit version 2.2.2 works on Debian 8

64 bit version is 2.2.1 here https://github.com/wicknix/SpiderWeb/wi ... rm0xI9hdCw
spiderweb-2.2.1.linux-powerpc64.tar.bz2 with Debian Sid don't work:

Code: Select all

tata@amigaone:~/Downloads/spiderweb$ ./spiderweb 
XPCOMGlueLoad error for file /home/tata/Downloads/spiderweb/libxul.so:
libffi.so.6: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
libffi7 is installed and spiderweb run from unpacked archive directory.
Hi SailorMH,

Thank you for testing! You need the symbolic link "libffi.so.6" to "libffi.so.7". Please create this symbolic link with the following command:

Code: Select all

ln -s /usr/lib/powerpc64-linux-gnu/libffi.so.7 /usr/lib/powerpc64-linux-gnu/libffi.so.6
After that please try SpiderWeb again.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
sailorMH
Posts: 230
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: SpiderWeb

Post by sailorMH »

xeno74 wrote: Mon Jun 08, 2020 10:52 pm

Code: Select all

ln -s /usr/lib/powerpc64-linux-gnu/libffi.so.7 /usr/lib/powerpc64-linux-gnu/libffi.so.6
After that please try SpiderWeb again.
Thanks,
Christian
Thanks - it works fine!
https://img34.rajce.idnes.cz/d3403/16/1 ... derweb.jpg
Image
btw: canberra-gtk-module is something with sound on web pages?
Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: SpiderWeb

Post by xeno74 »

Hi All,

I compiled SpiderWeb 2.2.2 for Linux PPC64 today.

Download: spiderweb-2.2.2.linux-powerpc64.tar.bz2

Support thread: forums.macrumors.com

It could be, that you have to install some packages for example libffi7 for using SpiderWeb. I successfully tested it on Fedora 27 PPC64 and on openSUSE Tumbleweed 20190722 PPC64 today. If you use Debian Sid PPC64, then you need the symbolic link "libffi.so.6" to "libffi.so.7". Please create this symbolic link with the following command:

Code: Select all

ln -s /usr/lib/powerpc64-linux-gnu/libffi.so.7 /usr/lib/powerpc64-linux-gnu/libffi.so.6
Image

Please test the new SpiderWeb.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply