Package Details: miktex 24.12-1

Git Clone URL: https://aur.archlinux.org/miktex.git (read-only, click to copy)
Package Base: miktex
Description: a distribution of the TeX/LaTeX typesetting system
Upstream URL: https://miktex.org
Licenses: custom
Submitter: heavysink
Maintainer: heavysink (lilac)
Last Packager: lilac
Votes: 10
Popularity: 0.000810
First Submitted: 2020-06-14 02:01 (UTC)
Last Updated: 2024-12-27 13:51 (UTC)

Latest Comments

1 2 3 4 Next › Last »

vitaliikuzhdin commented on 2024-12-29 13:17 (UTC) (edited on 2024-12-29 18:43 (UTC) by vitaliikuzhdin)

@heavysink, @lilac, would you mind adopting some of the fixes I just pushed to miktex-git? They include:

  1. Fixed hicolor-icon-theme icons installation directory: /usr/share/applications/icons -> /usr/share/icons

  2. Fixed polkit execution path: /usr/bin -> /opt/miktex/bin

  3. Fixed graphical sudo frontend execution path via symlinks: /usr/bin/{pkexec,kdesu,gksu} -> /opt/miktex/bin/. This also resolves the error reported by @zeeshanali1993 and @jolitp:

    No graphical sudo frontend is available. Please install 'pkexec', 'kdesu' (KDE) or 'gksu' (Gnome). Alternatively, you can enter 'sudo miktex-console --admin' in a terminal window.

  4. Fixed compilation error due to -Wformat-security enabled via a patch. This also allows removal of options=('!buildflags').

  5. Symlinked non-conflicting binaries: /opt/miktex/bin/miktex* -> /usr/bin/. I am also considering creating a separate package for all binaries (not just miktex*), which would conflict with texlive.

  6. Updated dependencies according to namcap. While I'm not entirely certain about all of them, it builds in a clean chroot and normally, and appears to be fully functional in my workflow.

Thanks!

mateusm commented on 2024-11-08 12:27 (UTC) (edited on 2024-11-08 12:28 (UTC) by mateusm)

build is giving a 404 error:

-- Generating done (0.6s) -- Build files have been written to: /home/mateus/.cache/yay/miktex/src/miktex-24.4/build [ 0%] Generating miktex-zzdb1-2.9.tar.lzma [ 0%] Building CXX object Libraries/3rd/fmt/shared/CMakeFiles/miktex-fmt.dir/__/source/src/format.cc.o curl: (22) The requested URL returned error: 404 make[2]: *** [CMakeFiles/gen-bootstrapping-files.dir/build.make:95: miktex-zzdb1-2.9.tar.lzma] Error 22 make[1]: *** [CMakeFiles/Makefile2:3953: CMakeFiles/gen-bootstrapping-files.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 1%] Building CXX object Libraries/3rd/fmt/shared/CMakeFiles/miktex-fmt.dir/__/source/src/os.cc.o [ 1%] Linking CXX shared library ../../../../sandbox/miktex/bin/linux-x86_64/libmiktex-fmt.so [ 1%] Built target miktex-fmt make: *** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: miktex-exit status 4

jeddy33 commented on 2024-05-23 13:10 (UTC)

miktex compilation issues

seems site ctan.org down curl: (22) The requested URL returned error: 503

Roken commented on 2024-05-21 07:40 (UTC) (edited on 2024-05-21 07:45 (UTC) by Roken)

make: *** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in build().
Aborting... -> error making: miktex-exit Satus 4 -> Failed to install the following packages. Manual intervention is required: miktex - exit status 4

Ermm, what manual intervention exactly?

mhdry commented on 2024-01-24 09:19 (UTC)

@Richardk2n - You're right, texmaker depends on texlive-basic instead of texlive-bin, my initial comment was therefore wrong and it is indeed more complicated. Nontheless, I do wonder, if and how it would be possible to resolve dependencies to texlive packages without requiring manual intervention.

Richardk2n commented on 2024-01-23 17:16 (UTC)

@mhdry Wouldn't the fact that texlive is split into multiple packages cause issues with that? For your example: texmaker depends on texlive-basic which depends on texlive-bin Making miktex conflict with texlive-bin would still lead to texlive-basic getting installed, would it not?

Just curios because I have a fake package installed that is set to conflict with texlive to alert me if I accidentally install it. I would love to have a better solution.

mhdry commented on 2024-01-23 14:58 (UTC) (edited on 2024-01-23 14:59 (UTC) by mhdry)

Could you please consider adding:

provides=(miktex texlive-bin)
conflicts=(miktex texlive-bin)

to PKGBUILD, as it is done in miktex-git (AUR)? Packages like texmaker depend on texlive-bin, I don't see the need to install both MiKTeX and TeX Live at the same time but it's rather annoying having to invoke pacman --assume-installed texlive-bin. (By that, of course, I mean, I'm rather lazy and forget when installing MiKTeX...) Is there any other reason why you've left this out?

airaqi commented on 2023-10-18 13:35 (UTC)

@Zorn That worked, thanks a lot.

Zorn commented on 2023-10-09 14:10 (UTC) (edited on 2023-10-09 15:12 (UTC) by Zorn)

@airaqi: The problem is that, probably in the last hours, Christian Schenk has modified some sources on GitHub (a few days ago everything worked fine). The current md5sum of miktex-23.10.tar.gz is 95ec540a81562b64c2dc97fd173307b9 and not 8c91a0e6d8e22ed346f41cbd47632e0a. To solve the problem you need to download the PKGBUILD, modify md5sum inside it, build the package with makepkg by installing the necessary dependencies by hand. Sorry, no need to install the necessary dependencies by hand; is sufficient to use

makepkg -i -c -r -s

after editing PKGBUILD