Quirky: SeaMonkey 2.22.1
December 08, 2013 —
BarryK
I must have SeaMonkey! I know it is not everybody's favourite, but after using Opera in Quirky 5.99 for a little while, I was hankering to get back to SeaMonkey. Besides, I often use the Composer module, must have that.
Unfortunately, the official SM binaries require dbus, gtk 2.24.x, and libGL.
So, I have to compile it. Which is a problem as the 'configure' script says it wants libGL. Whether it really needs libGL is another matter.
Anyway, perhaps I have to compromise, and put in the 'mesa' package, but configured as small as possible.
This is how I bumped Quirky6 up to have a minimal libGL and compiled SeaMonkey 2.22.1.
1. mesa 8.0.5
This is not the latest version, but ...um, I can't remember, there is a compatibility-with-old-hardware issue here I think, back when I experimented with a later version. Here is how to upgrade Quirky:
glproto 1.4.16
# ./configure --prefix=/usr/X11R7 --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu
# new2dir make install
dri2proto 2.8
# ./configure --prefix=/usr/X11R7 --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu
# new2dir make install
mesa 8.0.5
# patch -p1 < ../hotfix.patch
# ./configure --prefix=/usr/X11R7 --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --enable-dri --enable-glx --disable-osmesa --disable-egl --disable-gbm --disable-vdpau --disable-va --disable-glu --disable-gallium-llvm --with-gallium-drivers="" --with-dri-drivers="swrast"
# make
# new2dir make install
2. xorg-server 1.14.3
This needs to be recompiled with libGL support:
libxv 1.0.10
# ./configure --prefix=/usr/X11R7 --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu
# make
# new2dir make install
xtrans 1.3.2
# ./configure --prefix=/usr/X11R7 --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu
# make
# new2dir make install
copy /usr/X11R7/share/pkgconfig/xtrans.pc to /usr/X11R7/lib/pkgconfig/
xorg-server
removed: --disable-aiglx --disable-tcp-transport
xorg-server 1.14.3
# ./configure --prefix=/usr/X11R7 --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu --disable-dmx --disable-kdrive --disable-xwin --disable-xnest --disable-xvfb --disable-config-hal --disable-config-dbus --disable-config-udev --enable-glx --enable-dri --enable-dri2 --disable-xvmc
# make
# new2dir make install
3. seamonkey 2.22.1
I don't know if these are the best choices for the .mozconfig file, for example I could probably choose to use the system sqlite library, but I was being very cautious, to optimise chances of a successful compile:
# export LIBS='-I/usr/X11R7/include'
# export CPPFLAGS='-I/usr/X11R7/include'
# export CFLAGS='-I/usr/X11R7/include'
.mozconfig:
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-sm-release
mk_add_options MOZ_CO_PROJECT=suite
ac_add_options --enable-application=suite
ac_add_options --enable-system-hunspell
ac_add_options --localstatedir=/var
ac_add_options --sysconfdir=/etc
ac_add_options --prefix=/usr
ac_add_options --host=i486-pc-linux-gnu
ac_add_options --disable-dbus
ac_add_options --disable-accessibility
ac_add_options --with-system-bz2
ac_add_options --disable-updater
ac_add_options --disable-parental-controls
ac_add_options --enable-places
ac_add_options --disable-gnomevfs
ac_add_options --disable-system-sqlite
ac_add_options --disable-system-cairo
ac_add_options --enable-strip
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --enable-libxul
ac_add_options --enable-storage
ac_add_options --disable-tests
ac_add_options --with-default-mozilla-five-home=/usr/lib/seamonkey
ac_add_options --enable-jsd
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --disable-crashreporter
ac_add_options --disable-libnotify
ac_add_options --with-system-libvpx
ac_add_options --disable-gio
ac_add_options --enable-chrome-format=omni
ac_add_options --disable-necko-wifi
ac_add_options --disable-gconf
ac_add_options --without-system-nspr
ac_add_options --without-system-nss
ac_add_options --enable-shared-js
ac_add_options --disable-gstreamer
# make -f client.mk
# cd objdir-sm-release
# make package
...makes tarball in mozilla/dist/
# cd ..
# make -f client.mk install
I wonder what would happen if is used this SM in the original Quirky 5.99 and just had a dummy do-nothing libGL? I'll try try it.
Another question. I compiled Quirky in T2 without 'libnotify'. I am not clear what this actually does. Is this something we really need?
Another query. I left out 'xvmc' support, don't know what that does.
Note, an SM PET will be coming soon.
Comments
libxv"BarryK"Oh, I think that I have made a mistake.Quirky6 only has the Xorg 'modesetting' and 'vesa' drivers, which do not, I think, support 'libxv'.
So I think that I need to repeat the above, without libxv.
Or, I might recompile everything in T2.
Youtube.com worked for me with Opera.
With SM I am getting message at youtube.com "this plugin is vulnerable and should be updated"
...OK, will grab the latest.
The previous player, as in Quirky 5.99, has an older player, which is only about 9MB uncompressed. This latest one is 17MB.
...Quirky is growing!
There was a trick for that old one, wasn't there, the 10.x version, to make it seem to be a later version, and fool youtube.com.
I recall reading that on the Forum awhile back.
Was it technosaurus who did that?
Ah, I think he did it for the 9.x version, don't know about the 10.x one.
http://www.murga-linux.com/puppy/viewtopic.php?search_id=2052163050&t=80293
Yeah, nobus is great!
One aspect that I think the author of Seamonkey and the Mozilla team are aware of is the ability of a Composer page to run on both Chrome and Android of which sqlite is inherent in both systems. Thus a composer app can be used via, say, a Android design app.
Sqlite is a library. SeaMonkey can be configured to compile with the sqlite library already in the system, or use it's own internal sqlite. I chose the latter. The end result is the same.
Maybe technosaurus can perform his magic on the last Adobe Flashplayer 10.x, to make it report itself as the latest 11.x, so as to fool youtube.com.
That will be great actually, assuming 10.x will work with Quirky, as it is about 9MB, compared with 17MB of latest.
Tags: linux