apvlv: fix build with poppler 0.73.0

Poppler was upgraded in [0] and therefore the build broke, as
poppler/goo/gtypes.h was moved into poppler/goo/gfile.h [1].

Upstream issue is [2].

[0] https://github.com/NixOS/nixpkgs/commit/7757e43fcb15f3b3e21187787edaad54614ec7e6
[1] https://gitlab.freedesktop.org/poppler/poppler/commit/ef3ef702bc3dc845731e43215400448c5324efd4
[2] https://github.com/naihe2010/apvlv/issues/28
This commit is contained in:
worldofpeace
2019-02-07 21:12:50 +00:00
parent d7bb260850
commit 59f6083281
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -41,6 +41,7 @@ stdenv.mkDerivation rec {
url = "https://github.com/naihe2010/apvlv/commit/a3a895772a27d76dab0c37643f0f4c73f9970e62.patch";
sha256 = "1fpc7wr1ajilvwi5gjsy5g9jcx4bl03gp5dmajg90ljqbhwz2bfi";
})
./fix-build-with-poppler-0.73.0.patch
];
installPhase = ''
@@ -0,0 +1,13 @@
diff --git a/src/ApvlvPdf.cc b/src/ApvlvPdf.cc
index 765b112..83d133f 100644
--- a/src/ApvlvPdf.cc
+++ b/src/ApvlvPdf.cc
@@ -29,7 +29,7 @@
#include "ApvlvPdf.h"
#ifndef POPPLER_WITH_GDK
-#include <goo/gtypes.h>
+#include <goo/gfile.h>
static void
copy_cairo_surface_to_pixbuf (cairo_surface_t *surface,