diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-09-29 14:36:18 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-10-01 11:10:02 +0200 |
commit | f0155e8d70f1d78873b491dbbe297ca8fc279727 (patch) | |
tree | 76370d4fc38aebf40d9b27bd86d3636d319ee162 /pkgs/development/python-modules | |
parent | f3d7afa86d8bda6e0ef8aa9def6475ab5b0e6bf5 (diff) | |
download | nixlib-f0155e8d70f1d78873b491dbbe297ca8fc279727.tar nixlib-f0155e8d70f1d78873b491dbbe297ca8fc279727.tar.gz nixlib-f0155e8d70f1d78873b491dbbe297ca8fc279727.tar.bz2 nixlib-f0155e8d70f1d78873b491dbbe297ca8fc279727.tar.lz nixlib-f0155e8d70f1d78873b491dbbe297ca8fc279727.tar.xz nixlib-f0155e8d70f1d78873b491dbbe297ca8fc279727.tar.zst nixlib-f0155e8d70f1d78873b491dbbe297ca8fc279727.zip |
pythonPackages.pypoppler: init at 0.12.2
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pypoppler-0.39.0.patch | 23 | ||||
-rw-r--r-- | pkgs/development/python-modules/pypoppler-poppler.c.patch | 12 |
2 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pypoppler-0.39.0.patch b/pkgs/development/python-modules/pypoppler-0.39.0.patch new file mode 100644 index 000000000000..b9e02242e003 --- /dev/null +++ b/pkgs/development/python-modules/pypoppler-0.39.0.patch @@ -0,0 +1,23 @@ +diff --git a/poppler.defs b/poppler.defs +index 8b12e03..2b8fc16 100644 +--- a/poppler.defs ++++ b/poppler.defs +@@ -570,18 +570,6 @@ + ) + ) + +-(define-enum Orientation +- (in-module "Poppler") +- (c-name "PopplerOrientation") +- (gtype-id "POPPLER_TYPE_ORIENTATION") +- (values +- '("portrait" "POPPLER_ORIENTATION_PORTRAIT") +- '("landscape" "POPPLER_ORIENTATION_LANDSCAPE") +- '("upsidedown" "POPPLER_ORIENTATION_UPSIDEDOWN") +- '("seascape" "POPPLER_ORIENTATION_SEASCAPE") +- ) +-) +- + (define-enum PageTransitionType + (in-module "Poppler") + (c-name "PopplerPageTransitionType") diff --git a/pkgs/development/python-modules/pypoppler-poppler.c.patch b/pkgs/development/python-modules/pypoppler-poppler.c.patch new file mode 100644 index 000000000000..1104097cd3e7 --- /dev/null +++ b/pkgs/development/python-modules/pypoppler-poppler.c.patch @@ -0,0 +1,12 @@ +diff --git a/poppler.c b/poppler.c +index 31b4489..16d0838 100644 +--- a/poppler.c ++++ b/poppler.c +@@ -4501,7 +4501,6 @@ py_poppler_add_constants(PyObject *module, const gchar *strip_prefix) + pyg_enum_add(module, "FormTextType", strip_prefix, POPPLER_TYPE_FORM_TEXT_TYPE); + pyg_enum_add(module, "FormChoiceType", strip_prefix, POPPLER_TYPE_FORM_CHOICE_TYPE); + pyg_enum_add(module, "Error", strip_prefix, POPPLER_TYPE_ERROR); +- pyg_enum_add(module, "Orientation", strip_prefix, POPPLER_TYPE_ORIENTATION); + pyg_enum_add(module, "PageTransitionType", strip_prefix, POPPLER_TYPE_PAGE_TRANSITION_TYPE); + pyg_enum_add(module, "PageTransitionAlignment", strip_prefix, POPPLER_TYPE_PAGE_TRANSITION_ALIGNMENT); + pyg_enum_add(module, "PageTransitionDirection", strip_prefix, POPPLER_TYPE_PAGE_TRANSITION_DIRECTION); |