Commit Graph

131 Commits

Author SHA1 Message Date
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Lord-Valen
cca76d7cbe
zathura: 0.5.5 -> 0.5.6 2024-05-28 13:06:22 -04:00
Lord-Valen
5341a1e5e5
zathura-pdf-mupdf: 0.4.1 -> 0.4.2 2024-05-28 13:06:21 -04:00
Lord-Valen
34082ca934
zathuraPkgs: use hash 2024-05-28 13:06:21 -04:00
Lord-Valen
0d29dc5000
zathura: update homepage 2024-05-26 14:03:26 -04:00
Lord-Valen
61167e9c2a
zathuraPkgs: run nixfmt-rfc-style 2024-05-26 14:02:58 -04:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Mario Rodas
4b42fab6d5 zathuraPkgs.zathura_core: add passthru.updateScript 2024-03-03 04:20:00 +00:00
Mario Rodas
59ff147da1 zathuraPkgs.zathura_core: 0.5.4 -> 0.5.5
Diff: https://git.pwmt.org/pwmt/zathura/-/compare/0.5.4...0.5.5
2024-03-03 04:20:00 +00:00
Hmanhng
2f6b060f74 tweak(zathura): 0.5.2 -> 0.5.4 2024-01-03 05:19:21 +07:00
Hmanhng
a911b97ded zathura-pdf-poppler: 0.3.1 -> 0.3.2 2024-01-03 03:35:45 +07:00
Ryan Lahfa
ed2b1fe026
Merge pull request #261113 from lilyinstarlight/fix/mupdf-hell 2023-11-15 01:09:20 +01:00
Adam Joseph
bc2d598878 treewide: change pythonForBuild to pythonOnBuildForHost 2023-11-05 17:42:12 -08:00
Lily Foster
05c2473295
zathuraPkgs.zathura_pdf_mupdf: fix build with shared lib mupdf 2023-10-27 19:19:35 -04:00
Mario Rodas
656f622292 zathuraPkgs.zathura_pdf_mupdf: 0.4.0 -> 0.4.1
Diff: https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/compare/0.4.0...0.4.1
2023-10-13 04:20:00 +00:00
Mario Rodas
483ec9c656 zathuraPkgs.zathura_pdf_mupdf: add updateScript 2023-10-13 04:20:00 +00:00
Anderson Torres
492414af5f treewide: remove cstrahan from meta.maintainers - part 1
All the packages here are now orphaned.
2023-10-04 22:20:58 -03:00
Adam Joseph
abab00a89c zathura: fix cross by disabling tests, adding check
The only part of zathura that won't cross compile is the tests.

Let's disable these so the binaries at least can be cross-built.

This commit also adds `check` to `buildInputs` and fixes the
reference to `sphinx`.

Co-authored-by: apfelkuchen6 <73002165+apfelkuchen6@users.noreply.github.com>
Co-authored-by: Artturi <Artturin@artturin.com>
2023-04-23 19:51:09 -07:00
Shawn8901
0a1dd3ced1 treewide: remove global with lib; in pkgs/{misc,networking} 2023-01-24 17:29:20 +01:00
Deniz Koluaçık
b232557c45
zathura: 0.4.9 -> 0.5.2
https://pwmt.org/projects/zathura/changelog/0.5.2/index.html
Zathura plugins are updated to the latest versions as well.
2022-11-30 14:33:04 +03:00
Markus S. Wamser
c9d167f174 pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
Franz Pletz
4625114ad4
zathuraPkgs.zathura_pdf_mupdf: 0.3.7 -> 0.3.8
Also fix build with mupdf >= 1.20. Fixes #187305.
2022-08-22 02:16:30 +02:00
dylan madisetti
13c5740eb8 zathura: 0.4.8 -> 0.4.9 2022-04-07 15:09:37 +08:00
Maximilian Bosch
c0bd479d77
zathura: improve overridability; set plugin dir through the environment
The current package setup has two issues:

* You can only access `pkgs.zathura` which is the "final" derivation,
  i.e. a wrapper. This is a problem if you want to apply a patch to
  `zathura(1)` in an overlay. To make this a bit easier, I decided to
  expose `zathuraPkgs` entirely and `zathura` is now
  `zathuraPkgs.zathuraWrapper`.

  With this change, patches can now be added like this:

  ```
  with import ./. {
    overlays = [
      (self: super: {
        zathura = super.zathura.override {
          zathura_core = super.zathuraPkgs.zathura_core.overrideAttrs (_: {
            patches = [
              ~/Projects/zathura/0001-Fix-remote-link-resolution-in-zathura.patch
            ];
          });
        };
      })
    ];
  };
  zathura
  ```

* As soon as you open another window in `zathura` from `zathura` (e.g.
  to follow a PDF-embedded link to another PDF), it currently fails
  because `--plugins-dir=` isn't passed along. This is because `zathura`
  uses `argv[0]`[1] to open another process and the GApps-wrapper inside
  `zathuraPkgs.zathura_core` does a `exec -a "$0"` which isn't the
  `bin/zathura` from the wrapper that appends `--plugins-dir=`:

  ```
  execve("/nix/var/nix/profiles/per-user/ma27/home-manager-140-link/home-path/bin/zathura", ["/nix/var/nix/profiles/per-user/ma27/home-manager-140-link/home-path/bin/zathura", "/home/ma27/Documents/Uni/Studium/Notepad/Aktuell/Index.pdf"], 0x7ffd7a4bf4b0 /* 108 vars */) = 0
  execve("/nix/store/2wjhxbgzcnn0qqdwqy0m01hw39dxwfmk-zathura-0.4.8-bin/bin/zathura", ["/nix/store/2wjhxbgzcnn0qqdwqy0m01hw39dxwfmk-zathura-0.4.8-bin/bin/zathura", "--plugins-dir=/nix/store/wcch63yzwykc9x5393dzjfdxsf80mrb8-zathura-with-plugins-0.4.8/lib/zathura", "/home/ma27/Documents/Uni/Studium/Notepad/Aktuell/Index.pdf"], 0x1442010 /* 107 vars */) = 0
  execve("/nix/store/2wjhxbgzcnn0qqdwqy0m01hw39dxwfmk-zathura-0.4.8-bin/bin/.zathura-wrapped", ["/nix/store/2wjhxbgzcnn0qqdwqy0m01hw39dxwfmk-zathura-0.4.8-bin/bin/zathura", "--plugins-dir=/nix/store/wcch63yzwykc9x5393dzjfdxsf80mrb8-zathura-with-plugins-0.4.8/lib/zathura", "/home/ma27/Documents/Uni/Studium/Notepad/Aktuell/Index.pdf"], 0x81d010 /* 108 vars */) = 0
  ```

  I figured it's way simpler to actually use the environment variable
  `ZATHURA_PLUGINS_PATH` for that purpose as the environment is
  inherited when a new process is started.

[1] 242329b534/zathura/links.c (L205-215)
2022-02-05 19:27:24 +01:00
Josh Cooper
768b496015 zathura: add mainProgram 2021-12-14 18:26:02 +09:00
Daniel Nagy
896be09342
zathura-pdf-mupdf: 0.3.6 -> 0.3.7 2021-08-18 19:39:11 +02:00
Daniel Nagy
527be41396
zathura: 0.4.7 -> 0.4.8 2021-08-11 13:30:43 +02:00
midchildan
d38f9c8dee
zathura: disable checkPhase on Darwin 2021-05-16 02:10:11 +09:00
Samuel Gräfenstein
1590aa4b0a
zathura: openjpeg_2 -> openjpeg
Fix building with `config.allowAliases = false;`.
2021-03-17 00:00:21 +01:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
sternenseemann
9a27606ab1 zathura: fix fish completions
The fish completion checks the plugin directory for supported file types
to complete. However the plugin dir checked was the one of the
zathura_core derivation which of course has no plugin dir. We now patch
up the referenced path in the wrapper derivation.
2021-01-05 06:48:51 +01:00
Jonathan Ringer
6e9b71f0e1 zathura-pdf-mupdf: 0.3.5 -> 0.3.6, fix linking 2020-11-13 11:01:36 -08:00
Jonathan Ringer
c62f9475fa zathura: 0.4.5 -> 0.4.7 2020-11-13 11:01:36 -08:00
Tethys Svensson
f57a658d8e
zathura: symlinkJoin all of plugins (#96630)
* zathura: symlinkJoin all of plugins

* zathura: Add TethysSvensson as a maintainer

Co-authored-by: Matthieu Coudron <mattator@gmail.com>
2020-09-13 18:45:23 +02:00
Mario Rodas
ca9265c140 zathura: fix build on darwin 2020-08-16 10:14:46 +00:00
Markus S. Wamser
859f1c7dda zathura-pdf-mupdf: add patch for MuPDF 1.17 support 2020-06-06 14:02:10 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Doron Behar
f620961990 zathura: always use pname and version and 1 url for all projects 2020-03-25 09:31:52 +02:00
Doron Behar
aeead88261 zathura: inherit plugins in wrapper.nix 2020-03-25 09:22:40 +02:00
Doron Behar
f063295d5a zathura: Make sure tests are enabled 2020-03-25 09:22:36 +02:00
Doron Behar
f338db083b zathura: quote homepage url on all projects 2020-03-25 09:22:31 +02:00
Doron Behar
55d6abc64f zathura: 0.4.4 -> 0.4.5 2020-03-25 09:22:17 +02:00
Doron Behar
20d71fa731 zathura-pdf-poppler: 0.2.9 -> 0.3.0 2020-03-25 09:21:26 +02:00
Doron Behar
f1e8d4d09a zathura-djvu: 0.2.8 -> 0.2.9 2020-03-25 09:20:32 +02:00
Robin Gloster
4fb5cdd413
treewide: update some homepage URLs
Updated dead or redirecting URLs on packages maintained by me.
2019-10-12 14:52:34 +02:00
Sam Doshi
2678b8e8f6 zathura: 0.4.3 -> 0.4.4
Source URL and homepage also updated.
2019-10-06 15:21:38 +01:00
Matthieu Coudron
8c5898347d zathura: 0.3.4 -> 0.3.5
to fix issues with the new mupdf
2019-09-15 17:18:18 +09:00