Menu

#787 mupdf 1.22.2

closed
nobody
Minor
Upgrade
15.0
2023-08-01
2023-07-31
Pap
No

Discussion

  • Pap

    Pap - 2023-07-31

    Salix repos have mupad-1.18.0 but it doesn't work because of a minor bug: Running mupdf fails because it expects libmupdf-1.18.so, while the corresponding dynamic library is named libmupdf-1.18.0.so. The obvious workaround is to either rename libmupdf-1.18.0.so or create a symbolic link, but none of those will fix the fact the package in Salix repos doesn't work.

    Another option is to rebuild mupdf 1.18.0 with corrected SLKBUILD. One could also use slackbuilds.org, which has version 1.21.1 that might work. However, it is better to just build the latest version of mupdf, namely 1.22.2. This is because mupdf needs to be built with third-party libs (included in the source code), otherwise clipboard and Unicode support won't work. So the important libraries needed won't be taken by Salix installation anyway, but from the developer's source. Given the package doesn't rely much on Salix libraries, I see no reason to rebuild using an old version.

    The packages above are for the latest mupdf version, and work as expected both Salix 32-bit and Salix-64.bit.

     

    Last edit: Pap 2023-07-31
  • George Vlahavas

    George Vlahavas - 2023-07-31

    Hi Pap! Thanks for this! Just so you know, I have made a few changes and have uploaded the package. Make sure you check the SLKBUILD that is in the repos.

    1. You dep files were different. And your 64bit dep file was broken (additional new line)
    2. I have added mimetype support in the .desktop file
    3. It should be just "Icon=mupdf" in the .desktop file. You want to use any icon that the currently selected theme may provide.
     
    • Pap

      Pap - 2023-08-01

      It's weird the dep file had an additional new line. It was created with the usual depfinder -f, and of course I didn't edit it myself. I just reviewed it with the cat command. I honestly don't understand how it was changed.
      The mimetype was indeed something I should include. Initially the desktop file had Icon=mupdf, but I changed it because... I didn't like the default icon in Qogir icon theme, which looks too PDF-generic. But you are right, the desktop file should use whatever the icon in selected theme is - and I can always change it locally. Thank you for correcting this, George!

       
  • George Vlahavas

    George Vlahavas - 2023-07-31
    • status: open --> closed
     

Log in to post a comment.