Task #2831

Updated by Matthieu Decorde 6 months ago

prepare TXM 0.8.1 to be compatible with Ubuntu 20.04 debian packages

h3. Problem

1- Some debian packages have been removed from the Ubuntu repositories

h3. Solution

Replace the controle file dependancy field with
<pre>
zenity, po-debconf, libwebkitgtk-1.0-0|libwebkit2gtk-4.0-37, debconf, libc6 (>= 2.15), libgtk2-perl, libblas3, libbz2-1.0, libcairo2, libgfortran3|libgfortran4|libgfortran5, libglib2.0-0, libtinfo5, libgomp1, libjpeg8, liblapack3, liblzma5, libpango-1.0-0, libpangocairo-1.0-0, libpaper-utils, libpcre3, libpng12-0|libpng16-16, libreadline6|libreadline7|libreadline8, libtiff5, libx11-6, libxt6, tcl8.5|tcl8.6, tk8.5|tk8.6, ucf, unzip, xdg-utils, zip, zlib1g
</pre>

h3. Problem

2- the internal browser fails to use the libwebkitgtk2 libraries

h3. Solution

stop forcing GTK2 when launching TXM -> must be tested with Ubuntu 18.04 and 16.04 also

h3. Problem

3- The internal browser can't open gitpages web pages raising an "Unacceptable TLS certificate" error:
* https://txm.gitpages.huma-num.fr/textometrie/files/software/TXM/0.8.1beta
* https://txm.gitpages.huma-num.fr/txm-manual

This is a known Eclipse bug:
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=531341 -> fixed in Eclipse 4.9 (we're using 4.8)

h3. Solution

TXM 0.8.1 can now be installed on Ubuntu 20.04 BUT the users have to : * fix gitpages certificates
* manually disable the GTK2 run option at the end of the /usr/bin/TXM-0.8.1 launcher file use eclipse 4.9
* won't be able to access web pages with self signed TLS certificates

don't use webkit

Back