Shut off Artifex' suggestion to complain to distribution managers.

Artifex decided to rely on local forks for added functionality, so do
not complain to the distribution manager about lack of functionality in
unbundled builds.
This commit is contained in:
Michael J Gruber 2024-06-06 14:37:32 +02:00
parent 3fe290308b
commit 203565db57
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,29 @@
From 2fdf3e160fc2f30324d1ce9eaceedd3f0ea158bd Mon Sep 17 00:00:00 2001
Message-ID: <2fdf3e160fc2f30324d1ce9eaceedd3f0ea158bd.1717676942.git.mjg@fedoraproject.org>
From: Michael J Gruber <mjg@fedoraproject.org>
Date: Thu, 6 Jun 2024 14:27:12 +0200
Subject: [PATCH] Do not complain to your friendly local distribution manager
Artifex decided to rely on local forks for added functionality, so do
not complain to the distribution manager about lack of functionality in
unbundled builds.
---
platform/gl/gl-ui.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/platform/gl/gl-ui.c b/platform/gl/gl-ui.c
index d3dfb1de6..c0d9d72d7 100644
--- a/platform/gl/gl-ui.c
+++ b/platform/gl/gl-ui.c
@@ -449,8 +449,6 @@ void ui_init(int w, int h, const char *title)
#if defined(FREEGLUT) && (GLUT_API_VERSION >= 6)
glutKeyboardExtFunc(on_keyboard);
#else
- fz_warn(ctx, "This version of MuPDF has been built WITHOUT clipboard or unicode input support!");
- fz_warn(ctx, "Please file a complaint with your friendly local distribution manager.");
glutKeyboardFunc(on_keyboard);
#endif
glutSpecialFunc(on_special);
--
2.45.2.607.ge77ae43106

View File

@ -15,6 +15,9 @@ Source2: %{name}-gl.desktop
# Upstreamable patches:
# https://bugs.ghostscript.com/show_bug.cgi?id=707682
Patch: 0001-add-missing-header-for-fz_archive.patch
# Fedora specific patches:
# Do not bug me if Artifex relies on local fork
Patch: 0001-Do-not-complain-to-your-friendly-local-distribution-.patch
BuildRequires: gcc gcc-c++ make binutils desktop-file-utils coreutils pkgconfig
BuildRequires: openjpeg2-devel desktop-file-utils
BuildRequires: libjpeg-devel freetype-devel libXext-devel curl-devel