WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Update Thunderbird  (Read 5333 times)

Offline dutuka

  • Newbie
  • *
  • Posts: 15
Update Thunderbird
« on: February 25, 2021, 03:43:09 PM »
Hello TCL community,
I installed Thunderbird (thunderbird-appimage.tcz) and tried to update to the last version (78.8.0) but it said no permission. Can I update Thunderbird with Apps or tce-update?

I found "thunderbird-78.8.0.source.tar.xz" from DistroWatch: https://distrowatch.com/table.php?distribution=tinycore
Would it help me somehow to install Thunderbird last version?

Thanks.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Update Thunderbird
« Reply #1 on: February 25, 2021, 05:54:24 PM »
Hi dutuka
Extensions can not be updated that way. They need to be repackaged.

A  .tcz  contains a  read only  file system, kind of like a CD or  ,iso  file. You can mount it to access the the contents, but
you can't alter the contents.

Offline dutuka

  • Newbie
  • *
  • Posts: 15
Re: Update Thunderbird
« Reply #2 on: February 26, 2021, 01:11:16 PM »
Thank you, Rich. What is the best way to install the last Thunderbird version?
Is it possible to download the normal linux version from Mozilla page and run the installation? or do I need to convert it to .tcz first then use tce-load.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Update Thunderbird
« Reply #3 on: February 26, 2021, 01:36:35 PM »
Hi dutuka
If you look over here:
http://tinycorelinux.net/4.x/x86/tcz/src/thunderbird/

There you will find  thunderbird.build  which is the script that was used to package Thunderbird.  There are also support
files required for the extension:
thunderbird.desktop
thunderbird.ins
thunderbird.png
The build script actually requires a precompiled tarball.

... Is it possible to download the normal linux version from Mozilla page and run the installation? or do I need to convert it to .tcz first then use tce-load.
Download the precompiled tarball:
https://www.thunderbird.net/en-US/

You will need to modify  SRCNAM=thunderbird-17.0.3.tar.bz2  in the build script to match the tarball you download.

You may need to adjust other items in the script to accommodate changes that may have occurred to Thunderbird
over the years.

You will need to install  squashfs-tools.tcz.

Offline dutuka

  • Newbie
  • *
  • Posts: 15
Re: Update Thunderbird
« Reply #4 on: February 27, 2021, 06:13:53 AM »
I have downloaded the required files:

thunderbird.desktop
thunderbird.ins
thunderbird.png
thunderbird-78.8.0.tar.bz2

installed squashfs-tools.tcz
SRCNAM is change to: SRCNAM=thunderbird-78.8.0.tar.bz2

what should I do as next step?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Update Thunderbird
« Reply #5 on: February 27, 2021, 06:56:54 AM »
Make the build script executable and run it.

Offline dutuka

  • Newbie
  • *
  • Posts: 15
Re: Update Thunderbird
« Reply #6 on: March 02, 2021, 03:04:31 PM »
I run the script, i dont know if it was successful, can you check the log in attachment.
« Last Edit: March 02, 2021, 03:06:55 PM by dutuka »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Update Thunderbird
« Reply #7 on: March 02, 2021, 06:16:47 PM »
Hi dutuka
It looks like it created  thunderbir.tcz.

I did see one error:
Code: [Select]
xargs: strip: No such file or directoryThe only impact that has is the extension may be larger than it needs to be. If you want, you can install  binutils.tcz
and run the script again to make it smaller.

After the script is run, you can find  thunderbird.tcz  in  /tmp/thunderbird/.  Copy it to your  tce/optional/  directory.
The  /tmp/  directory is not persistent. When you reboot, its contents are lost.

Create a dependency file like this:
Code: [Select]
echo dbus-glib.tcz > thunderbird.tcz.dep
Code: [Select]
echo libasound.tcz >> thunderbird.tcz.dep
Code: [Select]
echo gtk2.tcz >> thunderbird.tcz.depCopy it to your  tce/optional/  directory.

Then:
Code: [Select]
tce-load -i thunderbirdAn icon should appear for thunderbird. Click it to see if it starts. If you have a problem, open a terminal and enter
thunderbird.  If you get error messages, post them.

Offline dutuka

  • Newbie
  • *
  • Posts: 15
Re: Update Thunderbird
« Reply #8 on: March 03, 2021, 09:10:21 AM »
Thank you Rich. Thunderbird does not start when I click on the icon, it does not start in terminal, too. You can check my screenshot in attachment.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Update Thunderbird
« Reply #9 on: March 03, 2021, 09:24:41 AM »
Hi dutuka
Do this:
Code: [Select]
sudo ls -Rl /tmp/tcloop/thunderbird > tbirddir.txtAttach the  tbirdir.txt  file to your next post.

Offline dutuka

  • Newbie
  • *
  • Posts: 15
Re: Update Thunderbird
« Reply #10 on: March 03, 2021, 09:37:29 AM »
I attached it.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Update Thunderbird
« Reply #11 on: March 03, 2021, 08:05:20 PM »
Hi dutuka
I don't know why this did not work for you.
I just followed the instructions I posted using TC10 32 bit and Thunderbird starts both from the command line and
using the icon.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Update Thunderbird
« Reply #12 on: March 04, 2021, 06:51:38 AM »
Hi dutuka
I added thunderbird to the TC12 32 bit repository if you want to run 32 bit.

I'm looking into why the 64 bit version doesn't work.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Update Thunderbird
« Reply #13 on: March 04, 2021, 06:57:55 AM »
Hi Juanito
It appears the 64 bit version is not starting because there is no  /lib64.  If I do this:
Code: [Select]
sudo ln -s /lib /lib64Then it works.

Is this the correct solution, or is there some prefix that can be added to the thunderbird command that will force it to use /lib ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Update Thunderbird
« Reply #14 on: March 04, 2021, 07:56:51 AM »
If the thunderbird binary is pre-compiled, the only choice is to add a symlink in the startup script.

If thunderbird is compiled on tinycore, it should automatically find the loader in the right place.