Commit Graph

122 Commits

Author SHA1 Message Date
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Lily Foster
53313da4ea mupdf: 1.24.8 -> 1.24.9 2024-09-19 01:16:37 +01:00
Lily Foster
41f9b5724b mupdf: fix soname hell and python bindings import 2024-09-19 01:16:37 +01:00
Lily Foster
40dc82c7cd mupdf: fix cxx build on darwin 2024-09-19 01:16:37 +01:00
Gaetan Lepage
f7ea454899 mupdf: mark as broken when using python 2024-09-16 07:45:57 +02:00
Vladimír Čunát
9b88d05935
mupdf: fixup build on *-darwin
https://hydra.nixos.org/build/270468296/nixlog/3/tail
Just trying to mitigate the worst.  At least `mutool --help` works.
2024-08-30 13:28:08 +02:00
github-actions[bot]
1f86c1b2e8
Merge master into staging-next 2024-08-23 18:04:09 +00:00
Thomas Gerbet
7646e629d0 mupdf_1_17: drop
MuPDF 1.17 was kept for `k2pdfopt` but it is no more needed since 01a2741e7a.

There no good reason to keep this old version with known vulnerabilities.
2024-08-22 21:49:41 +02:00
Thiago Kenji Okada
0ec3712f8a
mupdf: fix review suggestions
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-08-14 14:12:55 +01:00
Greg Hellings
3f7abb4eaf mupdf: 1.23.6 -> 1.24.8 2024-08-04 22:09:26 -05:00
Anderson Torres
084dc9a4df treewide: remove vrthra from meta.maintainers [no orphans]
Tracking issue: https://github.com/NixOS/nixpkgs/issues/290642

Inactive since at least 2017.
2024-07-07 12:18:57 -03:00
K900
665f1d6183 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-02 08:32:46 +03:00
Lily Foster
c678743f80 treewide: remove lilyinstarlight 2024-07-02 03:17:01 +02:00
Emily
fbda1dbfd6 treewide: replace freeglut with libglut
Allow the macOS GLUT framework to be used automatically in many
cases. Packages that specifically search for freeglut or require its
additional APIs should still explicitly depend on it.

Deliberately skip the Haskell package set, which is mostly
automatically generated, and mupdf, which has its own fork of freeglut.
2024-06-22 18:06:51 +01:00
Cosima Neidahl
0c27c78cf2
Merge pull request #272809 from lilyinstarlight/fix/mupdf-pkg-config-includedir
mupdf: fix includedir in pkg-config file
2024-02-05 14:51:40 +01:00
Lily Foster
336faa6fda
mupdf: fix includedir in pkg-config file
Co-Authored-By: OPNA2608 <opna2608@protonmail.com>
2024-02-04 17:06:16 -05:00
Robert Schütz
98237a67c7 mupdf-headless: init at 1.23.6 2024-01-11 06:42:40 -08:00
Robert Schütz
873793ff30
Merge pull request #272807 from lilyinstarlight/fix/mupdf-darwin-oopsie-woopsie
mupdf: fix bin libmupdf.dylib loading on darwin
2023-12-12 21:10:35 -08:00
Lily Foster
11498aed21
mupdf: fix bin libmupdf.dylib loading on darwin 2023-12-07 21:00:30 -05:00
R. Ryantm
6073e62bb5 mupdf: 1.23.5 -> 1.23.6 2023-11-24 03:48:50 +00:00
Mario Rodas
29455886e2 mupdf: fix darwin dylib 2023-11-15 04:20:00 +00:00
Randy Eckenrode
e892890088 mupdf: move xcbuild to nativeBuildInputs
xcbuild provides tools that execute during the build, so it needs to be
in `nativeBuildInputs` instead of `buildInputs`.
2023-11-14 09:08:43 -05:00
Lily Foster
1aa0c11d78
mupdf: 1.23.0 -> 1.23.5; add support for ocr, cxx, python bindings 2023-11-08 07:04:17 -05:00
Lily Foster
caa1f0b814
mupdf: only build and install shared libraries 2023-10-27 19:19:20 -04:00
Anderson Torres
c98692db99 mupdf_1_17: move to mupdf/1.17
Since it is vulnerable and is used by k2pdfopt only, it is better to segregate
it.
2023-10-11 20:01:58 -03:00
Mario Rodas
a40945ad67 mupdf: 1.22.1 -> 1.23.0
Changelog: https://git.ghostscript.com/?p=mupdf.git;a=blob_plain;f=CHANGES;hb=1.23.0
2023-08-19 04:20:00 +00:00
Mario Rodas
dbd393758a mupdf: add changelog to meta 2023-08-19 04:20:00 +00:00
Mario Rodas
54f3eb132e mupdf: add updateScript 2023-08-19 04:20:00 +00:00
Robert Scott
66b6041d36 mupdf: add some key reverse-dependencies to passthru.tests 2023-08-20 17:25:58 +01:00
Austin Horstman
f61284a19f
treewide: add meta.mainProgram to misc 2023-08-04 14:10:05 -05:00
Dilip
719a4274e8 mupdf: 1.21.1 -> 1.22.1 2023-05-25 15:21:22 +05:30
Alexis Hildebrandt
d34d4cda69 mupdf: 1.20.3 -> 1.21.1 2023-01-11 06:48:37 +01:00
Markus S. Wamser
c9d167f174 pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
André-Patrick Bubel
ced7a03631 mupdf: use thirdparty/patched freeglut for clipboard support
Fixes issue #191164
2022-09-16 12:51:15 +02:00
Yves Fischer
48728f5ca4 mupdf: fix finding pkg-config under cross-compilation 2022-09-07 13:11:52 +02:00
R. Ryantm
d61d4e71ba mupdf: 1.19.0 -> 1.20.3 2022-08-17 18:39:08 +02:00
toonn
d81e16ccf6
mupdf: Refactor desktop item (#165117)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-03-26 11:34:50 +01:00
Artturin
33cce15e42 treewide: remove meta.repositories
there's no documentation for meta.repositories and its not widely used
2022-03-24 23:56:14 +02:00
Ben Siraphob
dad44e4f94
Merge pull request #165118 from toonn/mupdf-darwin-app 2022-03-22 00:43:15 -05:00
toonn
66f1f073c2
mupdf: Add patches 2022-03-21 16:35:56 +01:00
toonn
5c4f57cc57
mupdf: Add Darwin application 2022-03-21 15:41:06 +01:00
toonn
e7d335fa8b
mupdf: Don't build X11 binaries by default on Darwin 2022-03-21 15:40:14 +01:00
toonn
a149e9b220
mupdf: Unbreak build on Darwin
Recent changes (ea5dd0974d) dropped a
patch Darwin needed. I've added a new unconditional patch, because it
doesn't affect Linux and this way it's more obvious when the patch needs
updating.

I decided to add the `xcbuild` dependency because the upstream
build uses `xcrun` and I don't know of a good reason not to.
2022-03-21 14:28:13 +01:00
toonn
9eb2001217
mupdf: Patch out which
This popped up while fixing up the expression for Darwin. Apparently
`which` isn't on the PATH there for Nix builds. May be considered an
impurity on Linux. `command -v` is the POSIX way to do basically the
same thing so I just patched out `which`.
2022-03-21 14:28:13 +01:00
luhuaei
ea5dd0974d mupdf: 1.18 -> 1.19 2022-02-09 21:13:25 +08:00
Felix Buehler
ed7bf9452c treewide: remove *.upstream files from updateWalker 2022-01-26 21:46:07 +01:00
Frederik Ramcke
2ac25f65a4 mupdf: apply patch for CVE-2021-37220 2021-08-05 12:55:56 +02:00
Jakub Janczak
38e880950a
mupdf: fixing x11 and gl disabling (#116295) 2021-04-06 10:21:52 +02:00
Robert Schütz
206e3f405e mupdf: fix CVE-2021-3407 2021-03-20 16:39:09 +01:00