Commit Graph

113 Commits

Author SHA1 Message Date
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
Jan Tojnar
72e7d569a7
tree-wide: s/GTK+/GTK/g
GTK was renamed.
2019-09-06 02:54:53 +02:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Robin Gloster
4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Dmitry Kalinkin
da54555510
zathura: drop broken synctexSupport option 2019-08-01 15:05:25 -04:00
Roman Volosatovs
8bf1d5c576
zathura-pdf-poppler: fix source url 2019-07-12 18:30:02 +02:00
Vladimír Čunát
0746c4dbb4
Merge branch 'master' into staging-next
There are several thousand rebuilds from master already.
Hydra nixpkgs: ?compare=1528940
2019-07-06 13:44:40 +02:00
Rok Garbas
65781e204d
Remove me (garbas) as maintainer since I don't have much time to maintain anything 2019-07-03 11:27:39 +02:00
Jan Tojnar
4bc87ff365
zathura: fix build with auto_features=enabled 2019-06-25 18:24:53 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Jan Tojnar
ac9fcb5a74
zathura: pass gsettings schemas
File chooser dialogue in print dialogue requires GTK’s GSettings schemas
or it will trigger a trap.

Closes: https://github.com/NixOS/nixpkgs/issues/16287
2019-06-05 14:00:41 +02:00
Roman Volosatovs
4afa4cda63
zathura: Add a comment about why poppler is used on Darwin 2019-05-11 23:43:00 +02:00
Roman Volosatovs
9ddd56a7e3
zathura: use poppler on Darwin by default 2019-05-11 16:03:03 +02:00
Roman Volosatovs
a2f3f6881b
zathura: fix darwin builds 2019-05-11 16:02:58 +02:00
José Luis Lafuente
053d79dbf0
zathura: 0.4.1 -> 0.4.3, new features and plugin
Update to 0.4.3, compile it with more features and add CB plugin
2019-03-10 22:22:10 +01:00
Jan Malakhovski
46107a6a80 zathura: move defaults to package file 2019-02-03 15:33:34 +00:00
Dmitry Kalinkin
6fb67ca241
Merge pull request #44909 from mnacamura/zathura
zathura: keep wrapper's WM_CLASS consistent with unwrapped binary
2018-12-10 09:11:55 -05:00
Profpatsch
3aec197197
zathura-pdf-mupdf: 0.3.3 -> 0.3.4 (#49823)
* zathura-pdf-mupdf: 0.3.3 -> 0.3.4

Support for mupdf 1.14.

* Update pkgs/applications/misc/zathura/pdf-mupdf/default.nix

Co-Authored-By: Profpatsch <mail@profpatsch.de>
2018-11-07 16:07:00 +01:00