Commit Graph

33 Commits

Author SHA1 Message Date
Veloman Yunkan dee57f131c libssl is embedded in the kiwix-desktop appimage
libssl.so and libcrypto.so are embedded in the appimage so that it can
work on newer systems having a deceptively backward incompatible
version of OpenSSL.

The fix includes patching the libQt5Network.so library so that aria2's CA
certificate bundle (being included in the appimage before this change)
is used as a fallback if no certificates can be found in various
locations used for certificate stores on different major Linux
distributions. To this end, the AppRun entry point of the AppImage is
changed from a symlink to the kiwix-desktop binary to a small shell
script that creates a temporary symlink at a hardcoded path
(/tmp/cert_bundle_provided_by_kiwix.crt) pointing to the said
certificate bundle within the AppImage filesystem.
2024-05-17 15:33:52 +02:00
Veloman Yunkan d5333139d9 Adding libthai.so to kiwix-desktop appimage 2024-05-02 21:17:18 +02:00
Matthieu Gautier d00c06da32 Use last version of linuxdeployqt.
LinuxDeployQt check for the libc version to not being to recent.
As we have change the version of libc by moving to focal, we have to
update the version of LinuxDeployQt.
2023-04-12 16:53:32 +02:00
Matthieu Gautier d420b53f74 Do not use `-unsupported-allow-new-glibc` option when building appimage.
As we now build appimage on bionic and last version of linuxdeployqt
allow building from bionic (which is the older LTS) we can remove
the option.
2022-03-11 15:05:25 +01:00
Matthieu Gautier 7dd017627f Do not include low level std lib in appimage package
We have added those libraries to fix kiwix/kiwix-destop#14,
ie allow appimage build on recent system to run on older ones by packaging
the libc and libstdc++ library in the appimage.

But by packaging libstdc++, we force kiwix-desktop to use the packaged one.
On some recent system, the mesa drivers need a recent version of libstdc++ and,
as we are force to use the packaged one, we may use a "old" one.

The workaround forcing a driver was bypassing the problem by forcing a driver
not using a recent libstdc++. But with time, it is more and more difficult
to find one.

This commit means that new appimage generated will works only on equal or
more recent system that the one on which it has been generated.
For now we generate the appimage on Ubuntu bionic (18.04 LTS).

This reverts commit 05c0a691ec.
2022-03-02 18:47:40 +01:00
Matthieu Gautier 612efaad7c Update aria2c version on windows and appimage 2021-12-23 18:50:50 +01:00
Matthieu Gautier dc99315830 Fix setting of `SYSTEMLIBDIR` in the appimage creation script.
If it is the first time the script is run, $APPDIR doesn't exist, so,
by definition, `$APPDIR/lib` doesn't exists neither.

We must check the library dir in `$INSTALLDIR` which is the "source"
directory for script.
2021-11-23 16:50:32 +01:00
Alexander Sashnov b48b97ca37 Fix AppImage creation script for Fedora34x64
* use appropriate value for SYSTEMLIBDIR automatically
* do not stop on absence of lib/libmagic.so*
* do not download AppImage tools again on further script runs
2021-11-20 22:03:53 +07:00
Matthieu Gautier aa349a18e7 Rename kiwix-lib to libkiwix.
The new name of kiwix-lib is libkiwix. Let kiwix-build adopt the name.
2021-06-30 16:45:54 +02:00
Matthieu Gautier 0ff5d0d173 kiwix-desktop icon has changed name. 2020-12-08 13:26:14 +01:00
Matthieu Gautier 2ef8e14509 Update dependency of kiwix-desktop.
Now that kiwix-desktop use kiwix-lib to start the server, we don't need
kiwix-tools dependency.
2020-11-17 16:49:26 +01:00
Matthieu Gautier e020eb35ac [WIP] Move the release process to github actions. 2020-05-21 12:13:36 +02:00
Matthieu Gautier 874d0d50b6 Use version 6 of linuxdeployqt instead of continuous.
We know that version 6 works, use it instead of the continuous release as
we want to be sure to always compile the appimage.
2019-09-26 16:15:19 +02:00
Matthieu Gautier 7480bc80d7 Fix appimage script. 2019-09-17 14:37:30 +02:00
Matthieu Gautier 813c6f8038 Fix rpath of kiwix-serve. 2019-09-17 11:43:22 +02:00
Matthieu Gautier 0d132ab6e3 Make create appimage script working on other system than debian/ubuntu.
Not all distro use `lib/x86_64-linux-gnu`
2019-09-17 11:43:06 +02:00
Matthieu Gautier 05be522ef4 Print response content in case we cannot upload artifact to bintray. 2019-08-22 14:32:18 +02:00
Matthieu Gautier 2e347b2b33 Do not generate the pom file in kiwix-build.
Now we generate the pom file in kiwix-lib side, we don't need to generate
it ourselves.
2019-08-21 14:27:24 +02:00
Matthieu Gautier fc22437d84 Fix publication of kiwix-lib-app. 2019-08-05 16:33:29 +02:00
Matthieu Gautier 7d659baa37 Package kiwix-serve within kiwix-desktop.
Now that kiwix-desktop use kiwix-serve to serve the content, we need to
compile and package kiwix-serve (kiwix-tools).
2019-07-24 11:17:39 +02:00
Matthieu Gautier daf93f2e2f Build kiwix-lib-app in the CI and publish the release version. 2019-07-24 10:25:52 +02:00
Matthieu Gautier 3c4da32054 Make the appimage creation less verbose.
`verbose=3` is too verbose for travis. Travis kill our job because the log
is too long.
2019-05-29 10:25:59 +02:00
Matthieu Gautier 6e8c8fafb4 Use `-unsupported-allow-new-glibc` option to package on bionic. 2019-05-28 11:16:06 +02:00
Matthieu Gautier c8285a371d Fix creation of appimage.
Now that issue probonopd/linuxdeployqt#340 is fixed with a new option
`-unsupported-allow-new-glibc`, we can revert commit 4329629f
2019-02-20 09:47:45 +01:00
Matthieu Gautier 8f5df26a68 The name of the desktop file is now `org.kiwix.desktop.desktop` 2018-12-21 14:30:36 +01:00
Matthieu Gautier ce540ca280 Update creation of appImage to the new location of kiwix-desktop.desktop. 2018-11-27 17:22:47 +01:00
Matthieu Gautier 1b7a40ea97 Fix create appimage 2018-11-02 17:58:18 +01:00
Matthieu Gautier f4ff820eda Add aria2 in the appimage. 2018-11-02 11:56:00 +01:00
Matthieu Gautier 05c0a691ec Insert lowlevel libraries in the appimage.
May fix kiwix/kiwix-desktop#14
2018-08-03 15:53:13 +02:00
Matthieu Gautier afc6bf0907 Add svg icon support into the appimage
- Add missing packages in Dockerfile to support svg icons.
- Include needed plugins in the appimage.
2018-08-03 15:53:13 +02:00
Matthieu Gautier 0d3ea8eaa5 Use the kiwix.desktop file and the icon in the kiwix-desktop sources.
No need anymore to generate one or take a random image.
2018-08-03 15:52:50 +02:00
probonopd 3916b14aee Categories=Education;
Fixes https://github.com/kiwix/kiwix-build/issues/192#issuecomment-397818904
2018-06-24 11:44:24 +02:00
Matthieu Gautier 894ab4ba06 Add a script to package kiwix-desktop in a AppImage.
AppImage is a tools to create application running in all linux.
See https://appimage.org/
2018-06-12 16:29:00 +02:00