-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xournalpp: fix build with poppler 24.10.0.
pkglint cleanup while here.
- Loading branch information
Showing
3 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
editors/xournalpp/patches/patch-src_core_view_TexImageView.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
$NetBSD: patch-src_core_view_TexImageView.cpp,v 1.1 2024/10/18 20:38:24 wiz Exp $ | ||
|
||
Compatibility with poppler 24.10.0. | ||
|
||
--- src/core/view/TexImageView.cpp.orig 2024-10-18 20:36:17.087214090 +0000 | ||
+++ src/core/view/TexImageView.cpp | ||
@@ -4,9 +4,7 @@ | ||
|
||
#include <cairo.h> // for cairo_paint_with_alpha, cairo_scale | ||
#include <glib.h> // for g_warning | ||
-#include <poppler-document.h> // for poppler_document_get_n_pages, poppler_... | ||
-#include <poppler-page.h> // for poppler_page_render, poppler_page_get_... | ||
-#include <poppler.h> // for PopplerPage, PopplerDocument, g_clear_... | ||
+#include <poppler.h> // for poppler, poppler_... | ||
|
||
#include "model/TexImage.h" // for TexImage | ||
#include "view/View.h" // for Context, OPACITY_NO_AUDIO, view |