Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous AppImage build for each git push #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

probonopd
Copy link

@probonopd probonopd commented Nov 10, 2017

This PR, when merged, will compile MuPDF on Travis CI upon each git push, and upload an AppImage for Linux to your GitHub Releases page.

This could be linked to from https://www.ghostscript.com/download/mupdfdnld.html

Providing an AppImage would have, among others, these advantages:

  • Applications packaged as an AppImage can run on many distributions (including Ubuntu, Fedora, openSUSE, CentOS, elementaryOS, Linux Mint, and others)
  • One app = one file = super simple for users: just download one AppImage file, make it executable, and run
  • No unpacking or installation necessary
  • No root needed
  • No system libraries changed
  • Works out of the box, no installation of runtimes needed
  • Optional desktop integration with appimaged
  • Optional binary delta updates, e.g., for continuous builds (only download the binary diff) using AppImageUpdate
  • Can optionally GPG2-sign your AppImages (inside the file)
  • Works on Live ISOs
  • Can use the same AppImages when dual-booting multiple distributions
  • Can be listed in the AppImageHub central directory of available AppImages

Here is an overview of projects that are already distributing upstream-provided, official AppImages.

PLEASE NOTE: For this to work, you need to enable Travis CI for your repository as described here prior to merging this, if you haven't already done so. Also, You need to set up GITHUB_TOKEN in Travis CI for this to work; please see https://github.com/probonopd/uploadtool.

If you have questions, AppImage developers are on #AppImage on irc.freenode.net.

@probonopd
Copy link
Author

A build can be seen at https://github.com/probonopd/mupdf/releases

GerHobbelt pushed a commit to GerHobbelt/mupdf that referenced this pull request Dec 9, 2022
$ ./build/sanitize/mutool draw -Dst ./x/tiff/segfault/goat.tiff
page ./x/tiff/segfault/goat.tiff 1AddressSanitizer:DEADLYSIGNAL
=================================================================
==3377970==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000018 (pc 0x55dfed459a1b bp 0x7ffecf93ebc0 sp 0x7ffecf93eac0 T0)
==3377970==The signal is caused by a READ memory access.
==3377970==Hint: address points to the zero page.
    #0 0x55dfed459a1b in fz_convert_pixmap_samples source/fitz/colorspace.c:1421
    #1 0x55dfed57bad0 in fz_convert_pixmap source/fitz/pixmap.c:1065
    #2 0x55dfed481194 in convert_pixmap_for_painting source/fitz/draw-device.c:1682
    ArtifexSoftware#3 0x55dfed482e2c in fz_draw_fill_image source/fitz/draw-device.c:1852
    ArtifexSoftware#4 0x55dfed461d34 in fz_fill_image source/fitz/device.c:351
    ArtifexSoftware#5 0x55dfed7841a0 in img_run_page source/cbz/muimg.c:105
    ArtifexSoftware#6 0x55dfed466fe9 in fz_run_page_contents source/fitz/document.c:642
    ArtifexSoftware#7 0x55dfed467358 in fz_run_page source/fitz/document.c:692
    ArtifexSoftware#8 0x55dfed3ebbc9 in drawband source/tools/mudraw.c:624
    ArtifexSoftware#9 0x55dfed3f0e91 in dodrawpage source/tools/mudraw.c:1125
    ArtifexSoftware#10 0x55dfed3f32c1 in drawpage source/tools/mudraw.c:1460
    ArtifexSoftware#11 0x55dfed3f3716 in drawrange source/tools/mudraw.c:1499
    ArtifexSoftware#12 0x55dfed3f8fcf in mudraw_main source/tools/mudraw.c:2501
    ArtifexSoftware#13 0x55dfed3e9736 in main source/tools/mutool.c:152
    ArtifexSoftware#14 0x7fae19829209 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    ArtifexSoftware#15 0x7fae198292bb in __libc_start_main_impl ../csu/libc-start.c:389
    ArtifexSoftware#16 0x55dfed3e8f60 in _start (/home/sebras/src/mupdf/build/sanitize/mutool+0x21bf60)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant