Merge pull request #53958 from erictapen/scribusUnstable-poppler-fix
scribusUnstable: fix build failure from poppler bump
This commit is contained in:
commit
11590f4526
12
pkgs/applications/office/scribus/poppler-0.73.0.patch
Normal file
12
pkgs/applications/office/scribus/poppler-0.73.0.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/scribus/plugins/import/pdf/slaoutput.h b/scribus/plugins/import/pdf/slaoutput.h
|
||||||
|
--- a/scribus/plugins/import/pdf/slaoutput.h
|
||||||
|
+++ b/scribus/plugins/import/pdf/slaoutput.h
|
||||||
|
@@ -28,7 +28,7 @@ for which a new license (GPL+exception) is in place.
|
||||||
|
#include "selection.h"
|
||||||
|
#include "vgradient.h"
|
||||||
|
|
||||||
|
-#include <poppler/goo/gtypes.h>
|
||||||
|
+#include <poppler/goo/gfile.h>
|
||||||
|
#include <poppler/Object.h>
|
||||||
|
#include <poppler/OutputDev.h>
|
||||||
|
#include <poppler/Gfx.h>
|
@ -4,18 +4,20 @@ podofo, poppler, poppler_data, python2, harfbuzz, qtimageformats, qttools }:
|
|||||||
|
|
||||||
let
|
let
|
||||||
pythonEnv = python2.withPackages(ps: [ps.tkinter ps.pillow]);
|
pythonEnv = python2.withPackages(ps: [ps.tkinter ps.pillow]);
|
||||||
revision = "22730";
|
revision = "22805";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "scribus-unstable-${version}";
|
name = "scribus-unstable-${version}";
|
||||||
version = "2018-10-13";
|
version = "2019-01-14";
|
||||||
|
|
||||||
src = fetchsvn {
|
src = fetchsvn {
|
||||||
url = "svn://scribus.net/trunk/Scribus";
|
url = "svn://scribus.net/trunk/Scribus";
|
||||||
rev = revision;
|
rev = revision;
|
||||||
sha256 = "1nlg4qva0fach8fi07r1pakjjlijishpwzlgpnxyaz7r31yjaw63";
|
sha256 = "18xqhxjm8dl4w3izg7202i8vicfggkcvi0p9ii28k43b5ps1akg1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./poppler-0.73.0.patch ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user