From unknown Sun Aug 10 04:34:59 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#78401] [PATCH] gnu: mupdf: Update to 1.26.0. Resent-From: Divya Ranjan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 May 2025 02:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78401@debbugs.gnu.org Cc: Divya Ranjan X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174710481810542 (code B ref -1); Tue, 13 May 2025 02:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 May 2025 02:53:38 +0000 Received: from localhost ([127.0.0.1]:56433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uEflx-0002jy-MP for submit@debbugs.gnu.org; Mon, 12 May 2025 22:53:38 -0400 Received: from lists.gnu.org ([2001:470:142::17]:48408) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uEflv-0002jg-27 for submit@debbugs.gnu.org; Mon, 12 May 2025 22:53:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uEflp-0000FB-5N for guix-patches@gnu.org; Mon, 12 May 2025 22:53:29 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uEflm-0001fP-43 for guix-patches@gnu.org; Mon, 12 May 2025 22:53:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1747104794; bh=Gzzaf8c3PKQ4chMHsSHM3U1XvGW+k57E0RD4iBCvkB4=; h=From:To:Cc:Subject:Date:From; b=Qvelho/cz+Nq9DGmCSwnxiJjrNutAlaUdO26er9Yc8WETv8Y68Vy0TpoD98uLuGre n3xGrcW8vMTvlwdLNUaJt3pGNcbdjMnzPcWF5hucwgUbAsrBkjSp/4fPXN1osIdvmY d8GN4hgTGVxatuBq89EqKefwArNCgs91E7JVHE2E= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZxLd61d2RzGpKJ; Tue, 13 May 2025 02:53:14 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: divya@subvertising.org) by localhost (Postfix) with ESMTPSA id 4ZxLd54GzgzGpKD; Tue, 13 May 2025 02:53:13 +0000 (UTC) From: Divya Ranjan Date: Tue, 13 May 2025 02:52:58 +0000 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=divya@subvertising.org; helo=latitanza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/pdf.scm (mupdf): Update to 1.26.0. Change-Id: I9b650356c8f6cbb36008c1956a59f4dd99c8d964 --- gnu/packages/pdf.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index a1c9da2c8a..91d47a74e3 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -862,14 +862,14 @@ (define-public python-pydyf (define-public mupdf (package (name "mupdf") - (version "1.25.2") + (version "1.26.0") (source (origin (method url-fetch) (uri (string-append "https://mupdf.com/downloads/archive/" "mupdf-" version "-source.tar.lz")) (sha256 - (base32 "0lg45wp3ici2g2i49fmwa1k32bgkqqgl51nxnqqk0i8ilmdh8hnx")) + (base32 "1nncar9w0qdpwp4s00nazr7hbl2kpbp665a6gwpsmdz5d7j1hqz9")) (modules '((guix build utils) (ice-9 ftw) (srfi srfi-1))) @@ -895,6 +895,7 @@ (define-public mupdf libx11 libxext mujs + brotli openjpeg openssl zlib)) @@ -907,6 +908,7 @@ (define-public mupdf #~(list "verbose=yes" (string-append "CC=" #$(cc-for-target)) "XCFLAGS=-fpic" + "USE_SYSTEM_BROTLI=yes" "USE_SYSTEM_FREETYPE=yes" "USE_SYSTEM_GUMBO=yes" "USE_SYSTEM_HARFBUZZ=yes" @@ -921,7 +923,7 @@ (define-public mupdf "USE_SYSTEM_CURL=yes" "USE_SYSTEM_LEPTONICA=yes" "USE_SYSTEM_TESSERACT=yes" - "USE_SONAME=no" ;install as libmupdf.so + "USE_SONAME=yes" "shared=yes" (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib") (string-append "prefix=" #$output)) @@ -945,7 +947,7 @@ (define-public mupdf license:silofl1.1 ;resources/fonts/{han,noto,sil,urw} license:asl2.0)))) ; resources/fonts/droid -(define-public mupdf-1.24 ; Needed for sioyek +(define-public mupdf-1.24 ; Needed for sioyek (package (inherit mupdf) (name "mupdf") base-commit: 364694773ef1c61d4c9ec73e24f73642786486ca -- 2.49.0 From unknown Sun Aug 10 04:34:59 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#78401] [PATCH] gnu: mupdf: Update to 1.26.0. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 May 2025 13:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Divya Ranjan Cc: 78401@debbugs.gnu.org Received: via spool by 78401-submit@debbugs.gnu.org id=B78401.174723097430001 (code B ref 78401); Wed, 14 May 2025 13:57:02 +0000 Received: (at 78401) by debbugs.gnu.org; 14 May 2025 13:56:14 +0000 Received: from localhost ([127.0.0.1]:43841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uFCaj-0007nb-EU for submit@debbugs.gnu.org; Wed, 14 May 2025 09:56:13 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:44486) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uFCae-0007fE-D8 for 78401@debbugs.gnu.org; Wed, 14 May 2025 09:56:10 -0400 Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-30a8cfa713fso6425378a91.1 for <78401@debbugs.gnu.org>; Wed, 14 May 2025 06:56:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747230962; x=1747835762; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=CfyTvmxng9rrFSJzewgrL2tawcvUCtvQmOVNJZ7T6z4=; b=dlAbxLZ7FmpjqAHiS88S5vE4RQ7/gplTBLPNxsyDxRXEZKgSICrDdisczwEOHhwAcQ iDiNzqFG+oQW2YrJyErCMnPe9XQk2fhL0KfaaLSaalWovuCP2wH9pnlbPGCphWNsqQTH y4e6TZyX5Us8jhvIq/skSxecDVU7D1TNPwyB6xjbz8U5YULv7JQLTUyGELa9eGn3JN0i D69uKK8HBWYrGCKKbvEUZIt0M7VMPNpDsliMz7W64toRGnjdRNutHgFf2mzGVAisr5WC 3xbukXOoKKDW222svxRLPUEnqF9uqkXpsUB8RFZuRXwB6pr41Xv9ekt5e2kVZfamMU5L jzNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747230962; x=1747835762; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CfyTvmxng9rrFSJzewgrL2tawcvUCtvQmOVNJZ7T6z4=; b=A5jZLMRqUClRWjqFVtPmCeW36GWG4Lh6Yad5Zg7nyl2m0WdC3ce76x2IutCxIjcOU4 IvPa2oBebAMcZ+/vP4nFWqanQ8w2je/SvEmh673ZMoVJOsHp40AbMsHYd2jt29cpGl2z F6b6ESu/5TeyzUZKHctPHZOOxp+tuFCjkxBMr5qSbvV4vH6l99Wzgsa470AaNw+qQoL3 YYrgccV+OK2xd2Z6/SqeHfDnY1wJQy+ubJcjkGnT3gh23de177hodYh7dFbC40VBiOWU JtM8GERKx9uFxjVv6CT5Tpb3/yyH/KoMF0JnemR7yOpGSIh0SX0Q+Qspy+sAXgCVoCDM Gbmw== X-Gm-Message-State: AOJu0YzkoYTJ+l6ltWws+vWJvnwltRIE2Y69YwClQzckET1yLxtBxAv6 D1/YrLy5ojidlfwNv9D6xeRZnBiQIrSrF0IJDKmaDvrDgetb3flCAUQjjQ== X-Gm-Gg: ASbGnct77Fpt8VuRbZpAxqIynkhO8jvzbBn/531pCFHzOtrP/O0EETpP/IW7HE6w5wr ifLmJHSWxcCWgUwnehak1a1WPOwlAAGBpNUxHFJMNCldGtXkUn6xcv16Pp16VQZbbugGzVUrhGF dwq88mXUblrsTgCQRhPwrzjstUqj2hwbfPSgDUHEqTUxFrW6+weWxye3n6/iCr/39Turw4h2byb BSgyvhjLFKBZrX3+YG3PfhIzUCdD/+TOwD1j1nrkV3i2mq+lufyEA1eN9+nf5/ia4gDegRu8Tib 5qo8Gy9t0BJbNoJMzgP5q6ONQakxQtOOAEC6P+L9nl0+liew0g== X-Google-Smtp-Source: AGHT+IE+L/BbtM9ZFkl8pIosQEmMkJmuCL5Aa+cwI8QAW/uZswtZgbtfgFqoOaxqFOBI5BPYGovdww== X-Received: by 2002:a17:90a:e7c6:b0:2fe:a8b1:7d8 with SMTP id 98e67ed59e1d1-30e2e65e722mr5582321a91.25.1747230961555; Wed, 14 May 2025 06:56:01 -0700 (PDT) Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-30e3347e87fsm1560367a91.31.2025.05.14.06.56.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 May 2025 06:56:01 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: (Divya Ranjan's message of "Tue, 13 May 2025 02:52:58 +0000") References: Date: Wed, 14 May 2025 22:55:58 +0900 Message-ID: <871psrmh3l.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Divya Ranjan writes: > * gnu/packages/pdf.scm (mupdf): Update to 1.26.0. Various changes done here are not listed in the change log. Please consult other commits for examples or (info "(standards) Style of Change Logs"). > Change-Id: I9b650356c8f6cbb36008c1956a59f4dd99c8d964 > --- > gnu/packages/pdf.scm | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm > index a1c9da2c8a..91d47a74e3 100644 > --- a/gnu/packages/pdf.scm > +++ b/gnu/packages/pdf.scm > @@ -862,14 +862,14 @@ (define-public python-pydyf > (define-public mupdf > (package > (name "mupdf") > - (version "1.25.2") > + (version "1.26.0") > (source > (origin > (method url-fetch) > (uri (string-append "https://mupdf.com/downloads/archive/" > "mupdf-" version "-source.tar.lz")) > (sha256 > - (base32 "0lg45wp3ici2g2i49fmwa1k32bgkqqgl51nxnqqk0i8ilmdh8hnx")) > + (base32 "1nncar9w0qdpwp4s00nazr7hbl2kpbp665a6gwpsmdz5d7j1hqz9")) Extraneous whitespace inserted. > (modules '((guix build utils) > (ice-9 ftw) > (srfi srfi-1))) > @@ -895,6 +895,7 @@ (define-public mupdf > libx11 > libxext > mujs > + brotli Is this strictly needed for the update? Otherwise, it'd be best done in a distinct, separated commit. > openjpeg > openssl > zlib)) > @@ -907,6 +908,7 @@ (define-public mupdf > #~(list "verbose=yes" > (string-append "CC=" #$(cc-for-target)) > "XCFLAGS=-fpic" > + "USE_SYSTEM_BROTLI=yes" I assume that's necessary and not something the build system automatically tries? If the later, do not explicit it (it makes inputs rewriting less useful). > "USE_SYSTEM_FREETYPE=yes" > "USE_SYSTEM_GUMBO=yes" > "USE_SYSTEM_HARFBUZZ=yes" > @@ -921,7 +923,7 @@ (define-public mupdf > "USE_SYSTEM_CURL=yes" > "USE_SYSTEM_LEPTONICA=yes" > "USE_SYSTEM_TESSERACT=yes" > - "USE_SONAME=no" ;install as libmupdf.so > + "USE_SONAME=yes" What is the rational for the above change? -- Thanks, Maxim From unknown Sun Aug 10 04:34:59 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#78401] [PATCH] gnu: mupdf: Update to 1.26.0. Resent-From: Divya Ranjan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 May 2025 06:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 78401@debbugs.gnu.org Received: via spool by 78401-submit@debbugs.gnu.org id=B78401.17473761879963 (code B ref 78401); Fri, 16 May 2025 06:17:01 +0000 Received: (at 78401) by debbugs.gnu.org; 16 May 2025 06:16:27 +0000 Received: from localhost ([127.0.0.1]:32832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uFoMp-0002Zu-5x for submit@debbugs.gnu.org; Fri, 16 May 2025 02:16:27 -0400 Received: from latitanza.investici.org ([82.94.249.234]:61931) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uFoMk-0002Ys-Cv for 78401@debbugs.gnu.org; Fri, 16 May 2025 02:16:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1747376176; bh=DtqGRMT4UANbqSf+pYmLr5K8m8zxl/uOKKYgLAL4kGg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=szSTU79A1+NPz2uD5D6J/fU5jiiEM9ZP9dfJpLRRFIPBth977kFIUvisBxG+ksOsf SuUwYsIRFeKIss55MQuzgw/v+xNSUCpa/NcXL2y8luQzslwUoJcke1Q+dP89gyZl9j mWaSAQF4oocths3D5yc4mBai0Q1CgcIiM39RCOxM= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZzH0058pNzGpjq; Fri, 16 May 2025 06:16:16 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: divya@subvertising.org) by localhost (Postfix) with ESMTPSA id 4ZzGzz6XzvzGpjp; Fri, 16 May 2025 06:16:15 +0000 (UTC) From: Divya Ranjan In-Reply-To: <871psrmh3l.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 14 May 2025 22:55:58 +0900") References: <871psrmh3l.fsf@gmail.com> Date: Fri, 16 May 2025 06:16:11 +0000 Message-ID: <87sel52i8k.fsf@subvertising.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Maxim Cournoyer writes: > Hi, Hello Maxim, > Divya Ranjan writes: > >> * gnu/packages/pdf.scm (mupdf): Update to 1.26.0. > > Various changes done here are not listed in the change log. Please > consult other commits for examples or (info "(standards) Style of Change > Logs"). Please find the updated patch with the indentation and commit message fixed. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-mupdf-Update-to-1.26.0.patch Content-Transfer-Encoding: quoted-printable >From 77c6b79a43a2cd7982d417e5373c55af1b13fcd5 Mon Sep 17 00:00:00 2001 Message-ID: <77c6b79a43a2cd7982d417e5373c55af1b13fcd5.1747375422.git.divya@= subvertising.org> From: Divya Ranjan Date: Fri, 16 May 2025 05:58:06 +0000 Subject: [PATCH] gnu: mupdf: Update to 1.26.0. MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/pdf.scm (mupdf): Update to 1.26.0. [inputs]: Add brotli [arguments]: Build using system=E2=80=99s brotli [arguments]: Enable SONAME to avoid symlink conflicts Change-Id: I6dc7f08f9e21d6d5233e3fb7b886037c9d912ec7 --- gnu/packages/pdf.scm | 63 +++++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 30 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index a1c9da2c8a..c8c636976a 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -862,14 +862,14 @@ (define-public python-pydyf (define-public mupdf (package (name "mupdf") - (version "1.25.2") + (version "1.26.0") (source (origin (method url-fetch) - (uri (string-append "https://mupdf.com/downloads/archive/" - "mupdf-" version "-source.tar.lz")) + (uri (string-append "https://mupdf.com/downloads/archive/" "mupdf-" + version "-source.tar.lz")) (sha256 - (base32 "0lg45wp3ici2g2i49fmwa1k32bgkqqgl51nxnqqk0i8ilmdh8hnx")) + (base32 "1nncar9w0qdpwp4s00nazr7hbl2kpbp665a6gwpsmdz5d7j1hqz9")) (modules '((guix build utils) (ice-9 ftw) (srfi srfi-1))) @@ -882,31 +882,32 @@ (define-public mupdf (scandir ".") (cons* "." ".." keep)))))))) (build-system gnu-build-system) - (inputs - (list curl - libxrandr - libxi - freeglut ;for GL/gl.h - freetype - gumbo-parser - harfbuzz - jbig2dec - libjpeg-turbo - libx11 - libxext - mujs - openjpeg - openssl - zlib)) - (native-inputs - (list pkg-config)) + (inputs (list curl + libxrandr + libxi + freeglut ;for GL/gl.h + freetype + gumbo-parser + harfbuzz + jbig2dec + libjpeg-turbo + libx11 + libxext + mujs + brotli + openjpeg + openssl + zlib)) + (native-inputs (list pkg-config)) (arguments (list - #:tests? #f ;no check target + #:tests? #f ;no check target #:make-flags #~(list "verbose=3Dyes" - (string-append "CC=3D" #$(cc-for-target)) + (string-append "CC=3D" + #$(cc-for-target)) "XCFLAGS=3D-fpic" + "USE_SYSTEM_BROTLI=3Dyes" "USE_SYSTEM_FREETYPE=3Dyes" "USE_SYSTEM_GUMBO=3Dyes" "USE_SYSTEM_HARFBUZZ=3Dyes" @@ -921,10 +922,12 @@ (define-public mupdf "USE_SYSTEM_CURL=3Dyes" "USE_SYSTEM_LEPTONICA=3Dyes" "USE_SYSTEM_TESSERACT=3Dyes" - "USE_SONAME=3Dno" ;install as libmupdf.so + "USE_SONAME=3Dyes" "shared=3Dyes" - (string-append "LDFLAGS=3D-Wl,-rpath=3D" #$output "/lib") - (string-append "prefix=3D" #$output)) + (string-append "LDFLAGS=3D-Wl,-rpath=3D" + #$output "/lib") + (string-append "prefix=3D" + #$output)) #:phases #~(modify-phases %standard-phases (delete 'configure)))) ;no configure script @@ -940,9 +943,9 @@ (define-public mupdf line tools for batch rendering @command{pdfdraw}, rewriting files @command{pdfclean}, and examining the file structure @command{pdfshow}.") (license (list license:agpl3+ - license:bsd-3 ;resources/cmaps - license:x11 ;thirdparty/lcms2 - license:silofl1.1 ;resources/fonts/{han,noto,sil,urw} + license:bsd-3 ;resources/cmaps + license:x11 ;thirdparty/lcms2 + license:silofl1.1 ;resources/fonts/{han,noto,sil,urw} license:asl2.0)))) ; resources/fonts/droid =20 (define-public mupdf-1.24 ; Needed for sioyek base-commit: efac01f19b65d7d77a98bbfd57fe2073fb13064a --=20 2.49.0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > >> (modules '((guix build utils) >> (ice-9 ftw) >> (srfi srfi-1))) >> @@ -895,6 +895,7 @@ (define-public mupdf >> libx11 >> libxext >> mujs >> + brotli > > Is this strictly needed for the update? Otherwise, it'd be best done in > a distinct, separated commit. Indeed, it is a new dependency with the update. > >> openjpeg >> openssl >> zlib)) >> @@ -907,6 +908,7 @@ (define-public mupdf >> #~(list "verbose=3Dyes" >> (string-append "CC=3D" #$(cc-for-target)) >> "XCFLAGS=3D-fpic" >> + "USE_SYSTEM_BROTLI=3Dyes" > > I assume that's necessary and not something the build system > automatically tries? If the later, do not explicit it (it makes inputs > rewriting less useful). Indeed, the build system doesn=E2=80=99t do that with USE_SYSTEM_LIBS=3Dyes. >> "USE_SYSTEM_FREETYPE=3Dyes" >> "USE_SYSTEM_GUMBO=3Dyes" >> "USE_SYSTEM_HARFBUZZ=3Dyes" >> @@ -921,7 +923,7 @@ (define-public mupdf >> "USE_SYSTEM_CURL=3Dyes" >> "USE_SYSTEM_LEPTONICA=3Dyes" >> "USE_SYSTEM_TESSERACT=3Dyes" >> - "USE_SONAME=3Dno" ;install as libmupdf.so >> + "USE_SONAME=3Dyes" > Without enabling that, one runs in to "Too many levels of symbolic links" e= rrors. This is due to a recent change in mupdf upstream that updated their = symbol table for the library. I was part of the changes made for this, and = the devs agree that USE_SONAME should be enabled. Here=E2=80=99s the backtr= ace with USE_SONAME=3Dyes: error: in phase 'validate-runpath': uncaught exception: system-error "open-file" "~A: ~S" ("Too many levels of symbolic links" "/gn= u/store/j6r6rgvmmm59a8i7vh330c7bpxmgicma-mupdf-1.26.0/lib/libmupdf.so") (40= )=20 phase `validate-runpath' failed after 0.0 seconds Backtrace: 13 (primitive-load "/gnu/store/304wldk8xn5xd2cnpvr66lbkn82=E2=80= =A6") In guix/build/gnu-build-system.scm: 966:2 12 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #) In ice-9/boot-9.scm: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) In srfi/srfi-1.scm: 634:9 10 (for-each # =E2=80=A6) In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) In guix/build/gnu-build-system.scm: 987:23 8 (_) 605:16 7 (validate-runpath #:validate-runpath? _ # _ #:outputs _) In guix/build/utils.scm: 735:23 6 (loop ("/gnu/store/j6r6rgvmmm59a8i7vh330c7bpxmgicma=E2=80=A6" = =E2=80=A6) =E2=80=A6) In guix/build/gnu-build-system.scm: 587:36 5 (validate "/gnu/store/j6r6rgvmmm59a8i7vh330c7bpxmgicma-=E2=80= =A6") In guix/build/utils.scm: 549:10 4 (find-files "/gnu/store/j6r6rgvmmm59a8i7vh330c7bpxmgic=E2=80= =A6" =E2=80=A6) In ice-9/ftw.scm: 505:39 3 (loop _ _ #(25 88653728 16877 1 999 30000 0 22 # # # =E2=80=A6= ) =E2=80=A6) In guix/build/utils.scm: 551:34 2 (_ "/gnu/store/j6r6rgvmmm59a8i7vh330c7bpxmgicma-mupdf-=E2=80= =A6" =E2=80=A6) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure open-file: Too many levels of symbolic links: "/gnu/store/j6r6= rgvmmm59a8i7vh330c7bpxmgicma-mupdf-1.26.0/lib/libmupdf.so" build process 18 exited with status 256 Also, I don=E2=80=99t want to open another bug report, but enabling SONAME = breaks sioyek which depends on mupdf-1.24. Since the latter inherits from m= updf, thus also inheriting USE_SONAME=3Dyes, it breaks sioyek that relies o= n having it disabled. I=E2=80=99ve attached another patch that specifically disables SONAME for m= updf-1.24, allowing sioyek to build fine as usual. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-mupdf-Modify-make-flags.patch >From 9e57a2805db3f870e5c0edc0d13eba308b0827a3 Mon Sep 17 00:00:00 2001 Message-ID: <9e57a2805db3f870e5c0edc0d13eba308b0827a3.1747375463.git.divya@subvertising.org> From: Divya Ranjan Date: Fri, 16 May 2025 06:01:18 +0000 Subject: [PATCH] gnu: mupdf: Modify #:make-flags [arguments]: Disable SONAME Change-Id: I070c59100ffedf9c451a7ce344ae6e210f1190f6 --- gnu/packages/pdf.scm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index c8c636976a..25a3f84533 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -948,7 +948,8 @@ (define-public mupdf license:silofl1.1 ;resources/fonts/{han,noto,sil,urw} license:asl2.0)))) ; resources/fonts/droid -(define-public mupdf-1.24 ; Needed for sioyek +(define-public mupdf-1.24 + ;Needed for sioyek (package (inherit mupdf) (name "mupdf") @@ -956,8 +957,8 @@ (define-public mupdf-1.24 ; Needed for sioyek (source (origin (method url-fetch) - (uri (string-append "https://mupdf.com/downloads/archive/" - "mupdf-" version "-source.tar.lz")) + (uri (string-append "https://mupdf.com/downloads/archive/" "mupdf-" + version "-source.tar.lz")) (sha256 (base32 "0hydmp8sdnkrkpqyysa6klkxbwv9awf1xc753r27gcj7ds7375fj")) (modules '((guix build utils) @@ -970,7 +971,14 @@ (define-public mupdf-1.24 ; Needed for sioyek (for-each delete-file-recursively (lset-difference string=? (scandir ".") - (cons* "." ".." keep)))))))))) + (cons* "." ".." keep)))))))) + (arguments + (substitute-keyword-arguments (package-arguments mupdf) + ((#:make-flags flags) + #~(append (filter (lambda (flag) + (not (string-prefix? "USE_SONAME=" flag))) + #$flags) + (list "USE_SONAME=no"))))))) (define-public qpdf base-commit: efac01f19b65d7d77a98bbfd57fe2073fb13064a prerequisite-patch-id: e0b65c11f00f64b0496909046ee872884b87653c -- 2.49.0 --=-=-= Content-Type: text/plain -- Divya Ranjan, Philosophy, Mathematics, Libre Software. PGP Fingerprint: F0B3 1A69 8006 8FB8 096A 2F12 B245 10C6 108C 8D4A --=-=-=-- From unknown Sun Aug 10 04:34:59 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#78401] [PATCH] gnu: mupdf: Update to 1.26.0., [PATCH] gnu: mupdf: Update to 1.26.0., [PATCH] gnu: mupdf: Modify #:make-flags Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 May 2025 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Divya Ranjan Cc: 78401@debbugs.gnu.org Received: via spool by 78401-submit@debbugs.gnu.org id=B78401.174740707816588 (code B ref 78401); Fri, 16 May 2025 14:52:02 +0000 Received: (at 78401) by debbugs.gnu.org; 16 May 2025 14:51:18 +0000 Received: from localhost ([127.0.0.1]:39689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uFwP7-0004JS-E7 for submit@debbugs.gnu.org; Fri, 16 May 2025 10:51:18 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:50428) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uFwOt-0004GB-9z for 78401@debbugs.gnu.org; Fri, 16 May 2025 10:51:09 -0400 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-b26ee6be1ecso587070a12.0 for <78401@debbugs.gnu.org>; Fri, 16 May 2025 07:51:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747407056; x=1748011856; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=H/XMLAwlXy4VgpkQ0oXEMWPdKaxiqTehzTVkGTd8kHY=; b=B4XIQmHEdQ8LMzacJnh/cDobijOrXQqD3+etZML4dgWtdMAFLbw69Io81FWAGCl/hH 7q6bFdqZIQpUYAgxfy63C1AkCJ/YnH0XyOeG9ujMKE/aZoSqxi0QQf/kuOExuN9uwBf2 44Y/MtIKsE74g/PKEyELZ31YtwKNk52hXDlM/XNOEkhc7nW7ywCH3LhK1UeZqsU5hpsZ q04wo9jwqvf1NsCOvz2T5LjYuT7U3QGDwdjU42H7IApwDWjLHhLdM8NesThWop9tnN5/ P4gemP+P5o1qJiYLZBd4/GpUNzyZsLRuAHZNDXhe5RVrADixI2088RVjf2vRzxZv+349 VUDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747407056; x=1748011856; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=H/XMLAwlXy4VgpkQ0oXEMWPdKaxiqTehzTVkGTd8kHY=; b=DtPSrV59uNaa0luKPhoHLP2ej1MMUWuaSEM19HOtaWM6Pp2CCxBYk82Q6bYTrjScBE 1cDVl9Qb7/0DF/xvqGgjebhTG0SwG8G7UPmGBCoGd2LnUOy6jR33/VfseuKX8UjwGohk 5B0y+JmTC1DBlpdTz/FZDEFPflfg5pRmkPR4IOSrhTVDHCDZfLoKQ7pjBRrSR5CsJLbL hpm/fYl8ozzJLoO8vv/5BJ+WKgcE6tg4Ag4vR67NlOyiw3ruJKatK7urMwhIvkcELsZ3 GFDFaHOQdKor2ylwgqe0YUSLHxVcwCkvzwpyzGvJpHpI7J/y8MCOs/wxBVFl+8f76i3T i1iw== X-Gm-Message-State: AOJu0Yyzanj6oZBCoPeGe9KSv9Jc7DVJ7rWKtNk3BmG7R2srjdY+RsXE NjwA+sIUgWRQIiRo9UtWZkzv8zkGB7Md7IkFbYCU7klRdsahnQjkQiRItSjOvQ== X-Gm-Gg: ASbGncu1iAQJ7zdRD1gZQrnwmi/Dr8oS1sSowmwzaoctuYs9OAaAIj2yuieYLrsvFbP UHGYRxP04WIndfKSdjYGWL9E2SFLio+1bba8vp+xOEo3ZYJnjI3rkstiOebPk9LkE0oCG6y32HU uNMbEMAbOmRIY/a/U+lgI8eV28rF3gzbgk5MovX1YjV+XdhVpAaoz1YwA0ZO3HsDSONBQ71o4SO VCg8kt8P+FuPDe2512X7EwFYLuHin3EyfRsJAHgDJNyvCo+5VbFpergkuNwh42k2pCSaMXQIxkz fCZxeMoZjJNlVcF26QTPnPVqIOfHIC8CK4YL8u8ZbaWZHr1xAw== X-Google-Smtp-Source: AGHT+IFgfEs8/QDSwZ6Z+m/Hw41JKcm+RS9VgGNyHlYfKSYVWQZjz1l0PVSnIDgSX8lqIKfzPPaxEQ== X-Received: by 2002:a17:902:e78b:b0:231:c992:3722 with SMTP id d9443c01a7336-231de35fea0mr33650335ad.16.1747407056414; Fri, 16 May 2025 07:50:56 -0700 (PDT) Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-231d4ebac32sm15176845ad.170.2025.05.16.07.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 May 2025 07:50:55 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <87sel52i8k.fsf@subvertising.org> (Divya Ranjan's message of "Fri, 16 May 2025 06:16:11 +0000") References: <871psrmh3l.fsf@gmail.com> <87sel52i8k.fsf@subvertising.org> Date: Fri, 16 May 2025 23:50:53 +0900 Message-ID: <87wmagfw36.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Divya, Divya Ranjan writes: [...] >>> * gnu/packages/pdf.scm (mupdf): Update to 1.26.0. >> >> Various changes done here are not listed in the change log. Please >> consult other commits for examples or (info "(standards) Style of Change >> Logs"). > > Please find the updated patch with the indentation and commit message fixed. Thanks for you efforts, but the change log is still missing many entries. It should list for example every input added or remove, every configure flag added or removed, every phase added or removed, etc. For some examples, you can install the 'standards' package and consult (info "(standards) Style of Change Logs"), or simply read examples through 'git log'. While the whitespace is fixed in v2, it seems you ran the package through 'guix style', which sadly is not always optimal and adds noise to the diff. Could you please keep this commit to just modify what's needed? Thanks for the explanations, it makes sense! Could you please send a v3 with the cosmetic changes reverted and the change log expound again? -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri May 16 10:53:23 2025 Received: (at control) by debbugs.gnu.org; 16 May 2025 14:53:23 +0000 Received: from localhost ([127.0.0.1]:39694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uFwR9-0004Yi-Es for submit@debbugs.gnu.org; Fri, 16 May 2025 10:53:23 -0400 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:44403) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uFwR5-0004Xy-Vq for control@debbugs.gnu.org; Fri, 16 May 2025 10:53:20 -0400 Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-30e7bfef364so1137909a91.1 for ; Fri, 16 May 2025 07:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747407193; x=1748011993; darn=debbugs.gnu.org; h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=d9iO2t4kxG5Q6nRiKlxFGFCUqmzUP8TfnYPXxenrqQE=; b=QAcjNHMJybTyN9yjVTOkLAhKsj3sJf7jwl0fIbKl9BfaQOWOSQnTc120QgjtGHpg4+ JpMCpkrxZtnXQY8oxBcZODnQUvxf88N5C8WWrj4vvn2oF3aYr1ipZz0+7qqdLWCwogPK d+zkj5tpfBT9sbG8yuQuTB5rOR1TlN66HucRO8wTOSunNdXV61t7AA8X59ZgGwoB6EJz Co+SOYR+HSmO1ve+RrfyWHoqulfIGDnL6r9ajZ5J6QALlopEiKgeW+lNmsLmwQ9qaGiI NsfW26MAaUdGB1ZpEdn19k7N+0cNWE5+nXJ9+Sz6plleY99I4VH/sB39HGBydh+p6G6k S2Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747407193; x=1748011993; h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d9iO2t4kxG5Q6nRiKlxFGFCUqmzUP8TfnYPXxenrqQE=; b=nPkfw9qB2uNpwB5vrAUVQG23RWLDJvPhKunHHoXRpkqU5jou96JtzDA/KOHa6vTzy8 SmBtd1kFGB/335JQ9dvImdAp+Xy39CBO48PlDy/6M8ruCigTfsm2IVObQq4HsDkKFhCP FnjqFtPpvN/+m1RnOspwU33d87x2KZtTmWoq24Oa1onPq0JqYi4gbKc7eqGTtuna0Hr+ m12jjLLvxQmCEUMoD7k5rYLZJUXFXPcSy+KeaCcMnxpMFxCk+XT3gvaXArr7sGAHeWDg JlNHMBTXpO+NLpIoALc6a9Xn75ON7xk0mCrMXlIrPBcdV8F5mBvSRWqRPUpw+dvDpvl2 0UDw== X-Gm-Message-State: AOJu0Yxky1U6i69au/a4dcqkBQUQoYI+Ly8Ku2HiOcJ01vYhjg0tC+Oj Cy2+w9SMDC2JXFLYqL4qWMl74OUatdxC/uFoADCcqf9bAtvEe0gGc2dnf9k/EA== X-Gm-Gg: ASbGncuoRBSekxD4LVSqOoCVIREjHpW58BvxKbrxG0UWONgAn0qzycqrc/kfNdgkhAw XKTpvq7WjX6AD6MwYoXPe8O29zIMypr4VUqK9MHEY2FJEe0vRCoJETcFsNwLsO8DTqGkGqC1PRi pZVp5u8e1oeGAOcxWnLK1qOaw6mwJiDBWtugRxoc9opZAj1+g5Yao0q8H5EzhHvM00urS2WIhJ+ 9BDfKFOwN+n0iF2tyaj+dp77Ltilfe8p4zzRKsAC80CFVQGD7Q5nh1MreobzI5FCpRASAFLThiq Wpo8StaJOOm+VVqUT6C/yDq6rb9U6djMgtgUcaXUEq3glORkJA== X-Google-Smtp-Source: AGHT+IE6a40oCYKf0UOJ15QQelLr5w07aLHtbEPnipWfY2oNu7xUCvnJK09JJYetjTuJkHR7+qa+KA== X-Received: by 2002:a17:90b:4b0f:b0:2fe:8a84:e033 with SMTP id 98e67ed59e1d1-30e7d4ebdbcmr5341906a91.2.1747407193047; Fri, 16 May 2025 07:53:13 -0700 (PDT) Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-30e334254f5sm5375321a91.13.2025.05.16.07.53.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 May 2025 07:53:12 -0700 (PDT) Date: Fri, 16 May 2025 23:53:10 +0900 Message-Id: <87v7q0fvzd.fsf@gmail.com> To: control@debbugs.gnu.org From: Maxim Cournoyer Subject: control message for bug #78401 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 78401 + moreinfo quit From unknown Sun Aug 10 04:34:59 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#78401] [PATCH] gnu: mupdf: Update to 1.26.0., [PATCH] gnu: mupdf: Update to 1.26.0., [PATCH] gnu: mupdf: Modify #:make-flags Resent-From: Divya Ranjan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 May 2025 17:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: Maxim Cournoyer Cc: 78401@debbugs.gnu.org Received: via spool by 78401-submit@debbugs.gnu.org id=B78401.174750413924168 (code B ref 78401); Sat, 17 May 2025 17:49:02 +0000 Received: (at 78401) by debbugs.gnu.org; 17 May 2025 17:48:59 +0000 Received: from localhost ([127.0.0.1]:50724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uGLec-0006Hj-De for submit@debbugs.gnu.org; Sat, 17 May 2025 13:48:58 -0400 Received: from confino.investici.org ([93.190.126.19]:29221) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uGLeY-0006HS-JF for 78401@debbugs.gnu.org; Sat, 17 May 2025 13:48:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1747504132; bh=z3v4oxgG7/vfS7H92DgqLQvby8jNGvODQH/9EdU8ajs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jYMVzs/vGugKMVggSrNshWaVEw+uiK0NwBgeMreMvPlR9nd29UBsJfqL7ETWbvygO yyCAoXaEz9ZQntZ4/ULXtFm3VNm9c56bWwGJ9yI7aou3CqVfMq7MfoeJjEQC7Bf6c5 vVAauyASpxhIJjD1pRC7XTsO84qMmYfqzteJmaZE= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4b0BJh4mRnz11Hn; Sat, 17 May 2025 17:48:52 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: divya@subvertising.org) by localhost (Postfix) with ESMTPSA id 4b0BJg5vDCz11Gm; Sat, 17 May 2025 17:48:51 +0000 (UTC) From: Divya Ranjan In-Reply-To: <87wmagfw36.fsf_-_@gmail.com> (Maxim Cournoyer's message of "Fri, 16 May 2025 23:50:53 +0900") References: <871psrmh3l.fsf@gmail.com> <87sel52i8k.fsf@subvertising.org> <87wmagfw36.fsf_-_@gmail.com> Date: Sat, 17 May 2025 17:48:45 +0000 Message-ID: <87h61jyvpe.fsf@subvertising.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Maxim Cournoyer writes: > Hi Divya, > > Divya Ranjan writes: > > [...] > >>>> * gnu/packages/pdf.scm (mupdf): Update to 1.26.0. >>> >>> Various changes done here are not listed in the change log. Please >>> consult other commits for examples or (info "(standards) Style of Change >>> Logs"). >> >> Please find the updated patch with the indentation and commit message fi= xed. > > Thanks for you efforts, but the change log is still missing many > entries. It should list for example every input added or remove, every > configure flag added or removed, every phase added or removed, etc. For > some examples, you can install the 'standards' package and consult (info > "(standards) Style of Change Logs"), or simply read examples through > 'git log'. > > While the whitespace is fixed in v2, it seems you ran the package > through 'guix style', which sadly is not always optimal and adds noise > to the diff. Could you please keep this commit to just modify what's > needed? Hello Maxim, Apologies, indeed I had used guix style since I considered that it=E2=80=99= d be appropriate. I=E2=80=99ve restricted the patch to now only include the= necessary changes. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-mupdf-Update-to-1.26.0.patch Content-Transfer-Encoding: quoted-printable >From f0246b9de792b4da53224367fc22499a8b4a2de5 Mon Sep 17 00:00:00 2001 Message-ID: From: Divya Ranjan Date: Sat, 17 May 2025 17:40:37 +0000 Subject: [PATCH] gnu: mupdf: Update to 1.26.0. MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/pdf.scm (mupdf): Update to 1.26.0. [inputs]: Add brotli [arguments]: Use system=E2=80=99s brotli package [arguments]: Enable semantic versioning to avoid symlink issues Change-Id: I2c09e4c1aded109dbec810be9a40b5916c365743 --- gnu/packages/pdf.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index a1c9da2c8a..017609b338 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -862,14 +862,14 @@ (define-public python-pydyf (define-public mupdf (package (name "mupdf") - (version "1.25.2") + (version "1.26.0") (source (origin (method url-fetch) (uri (string-append "https://mupdf.com/downloads/archive/" "mupdf-" version "-source.tar.lz")) (sha256 - (base32 "0lg45wp3ici2g2i49fmwa1k32bgkqqgl51nxnqqk0i8ilmdh8hnx")) + (base32 "1nncar9w0qdpwp4s00nazr7hbl2kpbp665a6gwpsmdz5d7j1hqz9")) (modules '((guix build utils) (ice-9 ftw) (srfi srfi-1))) @@ -895,6 +895,7 @@ (define-public mupdf libx11 libxext mujs + brotli openjpeg openssl zlib)) @@ -907,6 +908,7 @@ (define-public mupdf #~(list "verbose=3Dyes" (string-append "CC=3D" #$(cc-for-target)) "XCFLAGS=3D-fpic" + "USE_SYSTEM_BROTLI=3Dyes" "USE_SYSTEM_FREETYPE=3Dyes" "USE_SYSTEM_GUMBO=3Dyes" "USE_SYSTEM_HARFBUZZ=3Dyes" @@ -921,7 +923,7 @@ (define-public mupdf "USE_SYSTEM_CURL=3Dyes" "USE_SYSTEM_LEPTONICA=3Dyes" "USE_SYSTEM_TESSERACT=3Dyes" - "USE_SONAME=3Dno" ;install as libmupdf.so + "USE_SONAME=3Dyes" "shared=3Dyes" (string-append "LDFLAGS=3D-Wl,-rpath=3D" #$output "/lib") (string-append "prefix=3D" #$output)) base-commit: efac01f19b65d7d77a98bbfd57fe2073fb13064a --=20 2.49.0 --=-=-= Content-Type: text/plain Also find the patch for mupdf-1.24, without which several packages break (as suggested by the QA). --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-mupdf-1.24-Modify-make-flags.patch >From 27443887660f0179610a37c5ca8137021a8afef2 Mon Sep 17 00:00:00 2001 Message-ID: <27443887660f0179610a37c5ca8137021a8afef2.1747504078.git.divya@subvertising.org> From: Divya Ranjan Date: Sat, 17 May 2025 17:47:04 +0000 Subject: [PATCH] * gnu: mupdf-1.24: Modify #:make-flags [arguments]: Disable SONAME Change-Id: I7557a5d8c9638acfc40abd79a78c196eb30f6baa --- gnu/packages/pdf.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 017609b338..f716da4d74 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -969,7 +969,14 @@ (define-public mupdf-1.24 ; Needed for sioyek (for-each delete-file-recursively (lset-difference string=? (scandir ".") - (cons* "." ".." keep)))))))))) + (cons* "." ".." keep)))))))) + (arguments + (substitute-keyword-arguments (package-arguments mupdf) + ((#:make-flags flags) + #~(append (filter (lambda (flag) + (not (string-prefix? "USE_SONAME=" flag))) + #$flags) + (list "USE_SONAME=no"))))))) (define-public qpdf base-commit: efac01f19b65d7d77a98bbfd57fe2073fb13064a prerequisite-patch-id: bc8c7d6415d46bb7e474e6c50bf33339c41defd3 -- 2.49.0 --=-=-= Content-Type: text/plain -- Divya Ranjan, Philosophy, Mathematics, Libre Software. PGP Fingerprint: F0B3 1A69 8006 8FB8 096A 2F12 B245 10C6 108C 8D4A --=-=-=-- From unknown Sun Aug 10 04:34:59 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#78401] [PATCH] gnu: mupdf: Update to 1.26.0., [PATCH] gnu: mupdf: Update to 1.26.0., [PATCH] gnu: mupdf: Modify #:make-flags Resent-From: Divya Ranjan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 May 2025 09:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: Maxim Cournoyer Cc: 78401@debbugs.gnu.org Received: via spool by 78401-submit@debbugs.gnu.org id=B78401.174773488424020 (code B ref 78401); Tue, 20 May 2025 09:55:02 +0000 Received: (at 78401) by debbugs.gnu.org; 20 May 2025 09:54:44 +0000 Received: from localhost ([127.0.0.1]:54831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uHJgK-0006FK-BO for submit@debbugs.gnu.org; Tue, 20 May 2025 05:54:44 -0400 Received: from latitanza.investici.org ([82.94.249.234]:58553) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uHJgH-0006FA-Ez for 78401@debbugs.gnu.org; Tue, 20 May 2025 05:54:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1747734879; bh=XU47EL80gbxTdsN5BwSa5H9FhdA8aJ5T09ztXq3fQvU=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=Lg3r1431TUaCHVzvsQnYSBADcMprepQdL9AU+J29FjJdhEHUCxvJ/KjLMZdwobflw InDthC1a/O4NJ9gTtw8vuq+Arc0BY6o5M53yvAGfvNU7Jom+iMpYtGz0ruo6UYfZn1 vg5EiVRQ6obHhPxT59UqiwITWj0qw/L1QpXlwhgA= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4b1qf762Y4zGps4; Tue, 20 May 2025 09:54:39 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: divya@subvertising.org) by localhost (Postfix) with ESMTPSA id 4b1qf703mFzGpdV; Tue, 20 May 2025 09:54:38 +0000 (UTC) Date: Tue, 20 May 2025 09:54:34 +0000 From: Divya Ranjan User-Agent: Thunderbird for Android In-Reply-To: <87wmagfw36.fsf_-_@gmail.com> References: <871psrmh3l.fsf@gmail.com> <87sel52i8k.fsf@subvertising.org> <87wmagfw36.fsf_-_@gmail.com> Message-ID: <9E6A1958-4904-4676-A289-52B28FA6E05F@subvertising.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----VH7OECPKPRE88T1QSNFW777A6GOQGT Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) ------VH7OECPKPRE88T1QSNFW777A6GOQGT Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ping! Is the latest revision of the patch fine to merge or should I change = anything further? This upgrade is necessary for one of my own packages, so it'd be nice if w= e could merge this upstrean soon=2E Regards, Divya Ranjan, Mathematics, Philosophy and Libre Software ------VH7OECPKPRE88T1QSNFW777A6GOQGT Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Ping! Is the latest revision o= f the patch fine to merge or should I change anything further?

This = upgrade is necessary for one of my own packages, so it'd be nice if we coul= d merge this upstrean soon=2E

Regards,
Divya = Ranjan, Mathematics, Philosophy and Libre Software
------VH7OECPKPRE88T1QSNFW777A6GOQGT-- From unknown Sun Aug 10 04:34:59 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Divya Ranjan Subject: bug#78401: closed (Re: [bug#78401] [PATCH] gnu: mupdf: Update to 1.26.0., [PATCH] gnu: mupdf: Update to 1.26.0., [PATCH] gnu: mupdf: Modify #:make-flags) Message-ID: References: <87plg2an6z.fsf@gmail.com> X-Gnu-PR-Message: they-closed 78401 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch moreinfo Reply-To: 78401@debbugs.gnu.org Date: Tue, 20 May 2025 23:16:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1747782962-16365-1" This is a multi-part message in MIME format... ------------=_1747782962-16365-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #78401: [PATCH] gnu: mupdf: Update to 1.26.0. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 78401@debbugs.gnu.org. --=20 78401: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78401 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1747782962-16365-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 78401-done) by debbugs.gnu.org; 20 May 2025 23:15:48 +0000 Received: from localhost ([127.0.0.1]:38776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uHWBX-0004Eh-8J for submit@debbugs.gnu.org; Tue, 20 May 2025 19:15:48 -0400 Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]:49632) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uHWBT-0004Du-Fe for 78401-done@debbugs.gnu.org; Tue, 20 May 2025 19:15:44 -0400 Received: by mail-qv1-xf2f.google.com with SMTP id 6a1803df08f44-6f8ce89468cso33543436d6.3 for <78401-done@debbugs.gnu.org>; Tue, 20 May 2025 16:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747782937; x=1748387737; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gW+qBmRTw48lMEx2QKHbb/SHUXoK2CZST/RM8AKxJhA=; b=a2CybUeEV3sUIh3E9+sHL15Q6V/N5q2jASqorX3xFEQcrDfkCJkl/5Jt+FYAMa1iU9 OTcZ9QZwvymwLc7jCUz/gFOrhSEjBlVYgMOr/x4i5X0sTc9IUFpKG3k71cHlrV0yk4aA 8vUiaMtxmV9/Z/w82THUPCw/IHLtfEWNAV+RB9fb5X67cHBLkXYbIVWUMszGvPkOemk9 2RW+ZXev//ghIlGaAx/WTY1zm8UN2I0yg6vUrk5DCBvoURRJ+TzsxwUFCuRPMhsDZ2iU Vyld1+nnMQZ3YUk1vieGMbDkV4uVM1Z90i+PtxlN+aXAWm5IAhB/GHjdxHigLd3NuCvB Em7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747782937; x=1748387737; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=gW+qBmRTw48lMEx2QKHbb/SHUXoK2CZST/RM8AKxJhA=; b=Bponmf+ehXf/R5JkMP9XtXCVqlmMbXWFNSVJKLUnfIPWnHdyx//7mCx/iUryoGr8mV CGTSJyjyULDavlogeq9HzGUZx/f2aIoV9AtHGzMyo+XK+0lzIs41M1T5egHptUAT+D5b H0O/7VTTIE2TpJNQHGsC/IqBN+Rtby9JzgpYQBbgNREedQBPC91TKgCQEF8hTSlaevLc CflKJE/08SzYhQ14QToOH6furUOiHzidsiCXO1mF8LHbY5CRACbiru8sNlY0HJie5de6 tr/e1rfDjMIG9Vd0KhYesjJU1k8MgmqQJms8xvMVy/kuP5E5IjVeBEYDxcMrojlVdtRn S0Tw== X-Gm-Message-State: AOJu0YzzXRodOP9jwBG/DZU6H2Fnqag95uVA7uPC71pWP2W2ErEMEj7W IkQVhX8BnqDHBKuJGFhD2STGRA8d9PMcwm/gk0e5E5y8Noa0D4LIhUuQRHG8LZKKkvA= X-Gm-Gg: ASbGncuwGOqbDgNBQksXH2EII+k6mwD3JZz4SOjqdOvFBFi1RfsaKv5sdyR9CLH6Zle CdYu9//oolINknfY5eFPtBVanepUG+p4eLGLNqLZshdzcCENJiFS/Zv68YvS7awMx2Zl91xFnDt Ws7piN2yb2Zh+BizOuzo/ortTWY73jmGc7dID6lBN/MqHyz4PQn8/DfX4rwHbfZLrTkIqQ1wTxn 7KBuseQnhQI/Dgf09BCsz4SP/s81EwYZ/+s5w8ypoapR+hGaSsaQ59w60puWM2FrHMABWqtjCmN TDluhXb0MssPVzoqQwagOk12P3lKeqKTFgifbN32FQsgYPNx1kTJj0Y4V1VtSDlw+YXBXI3N X-Google-Smtp-Source: AGHT+IF8NAcpQGuawP6lQF1VqotQ++keG+uynFhG36uY89PH7BbjDD7gZktdm/H7wNg9JgIFMnC8AA== X-Received: by 2002:a05:6214:410:b0:6f4:cbcf:5cea with SMTP id 6a1803df08f44-6f8b0889e89mr264270916d6.44.1747782936554; Tue, 20 May 2025 16:15:36 -0700 (PDT) Received: from terra (vps-6234970c.vps.ovh.ca. [51.222.13.224]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6f8b08af48fsm77456976d6.47.2025.05.20.16.15.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 May 2025 16:15:36 -0700 (PDT) From: Maxim Cournoyer To: Divya Ranjan Subject: Re: [bug#78401] [PATCH] gnu: mupdf: Update to 1.26.0., [PATCH] gnu: mupdf: Update to 1.26.0., [PATCH] gnu: mupdf: Modify #:make-flags In-Reply-To: <87h61jyvpe.fsf@subvertising.org> (Divya Ranjan's message of "Sat, 17 May 2025 17:48:45 +0000") References: <871psrmh3l.fsf@gmail.com> <87sel52i8k.fsf@subvertising.org> <87wmagfw36.fsf_-_@gmail.com> <87h61jyvpe.fsf@subvertising.org> Date: Wed, 21 May 2025 08:15:32 +0900 Message-ID: <87plg2an6z.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78401-done Cc: 78401-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, [...] > Apologies, indeed I had used guix style since I considered that it=E2=80= =99d > be appropriate. I=E2=80=99ve restricted the patch to now only include the > necessary changes. [...] > * gnu/packages/pdf.scm (mupdf): Update to 1.26.0. > [inputs]: Add brotli > [arguments]: Use system=E2=80=99s brotli package > [arguments]: Enable semantic versioning to avoid symlink issues The things changed (left side of colon) does not need to be repeated. [...] > libx11 > libxext > mujs > + brotli I've added this input at the top in alphabetical order. [...] > - "USE_SONAME=3Dno" ;install as libmupdf.so > + "USE_SONAME=3Dyes" I checked the build system and the default is 'yes', so I've dropped this flag. > Also find the patch for mupdf-1.24, without which several packages > break (as suggested by the QA). Are there several packages depending on mupdf-1.24? I could find only sioyek, which builds fine with mupdf 1.26, so I removed that extraneous variant. See commit 93e74686ea and the two earlier ones. Thank you! --=20 Maxim ------------=_1747782962-16365-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 May 2025 02:53:38 +0000 Received: from localhost ([127.0.0.1]:56433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uEflx-0002jy-MP for submit@debbugs.gnu.org; Mon, 12 May 2025 22:53:38 -0400 Received: from lists.gnu.org ([2001:470:142::17]:48408) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uEflv-0002jg-27 for submit@debbugs.gnu.org; Mon, 12 May 2025 22:53:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uEflp-0000FB-5N for guix-patches@gnu.org; Mon, 12 May 2025 22:53:29 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uEflm-0001fP-43 for guix-patches@gnu.org; Mon, 12 May 2025 22:53:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1747104794; bh=Gzzaf8c3PKQ4chMHsSHM3U1XvGW+k57E0RD4iBCvkB4=; h=From:To:Cc:Subject:Date:From; b=Qvelho/cz+Nq9DGmCSwnxiJjrNutAlaUdO26er9Yc8WETv8Y68Vy0TpoD98uLuGre n3xGrcW8vMTvlwdLNUaJt3pGNcbdjMnzPcWF5hucwgUbAsrBkjSp/4fPXN1osIdvmY d8GN4hgTGVxatuBq89EqKefwArNCgs91E7JVHE2E= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZxLd61d2RzGpKJ; Tue, 13 May 2025 02:53:14 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: divya@subvertising.org) by localhost (Postfix) with ESMTPSA id 4ZxLd54GzgzGpKD; Tue, 13 May 2025 02:53:13 +0000 (UTC) From: Divya Ranjan To: guix-patches@gnu.org Subject: [PATCH] gnu: mupdf: Update to 1.26.0. Date: Tue, 13 May 2025 02:52:58 +0000 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=divya@subvertising.org; helo=latitanza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Divya Ranjan X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/pdf.scm (mupdf): Update to 1.26.0. Change-Id: I9b650356c8f6cbb36008c1956a59f4dd99c8d964 --- gnu/packages/pdf.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index a1c9da2c8a..91d47a74e3 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -862,14 +862,14 @@ (define-public python-pydyf (define-public mupdf (package (name "mupdf") - (version "1.25.2") + (version "1.26.0") (source (origin (method url-fetch) (uri (string-append "https://mupdf.com/downloads/archive/" "mupdf-" version "-source.tar.lz")) (sha256 - (base32 "0lg45wp3ici2g2i49fmwa1k32bgkqqgl51nxnqqk0i8ilmdh8hnx")) + (base32 "1nncar9w0qdpwp4s00nazr7hbl2kpbp665a6gwpsmdz5d7j1hqz9")) (modules '((guix build utils) (ice-9 ftw) (srfi srfi-1))) @@ -895,6 +895,7 @@ (define-public mupdf libx11 libxext mujs + brotli openjpeg openssl zlib)) @@ -907,6 +908,7 @@ (define-public mupdf #~(list "verbose=yes" (string-append "CC=" #$(cc-for-target)) "XCFLAGS=-fpic" + "USE_SYSTEM_BROTLI=yes" "USE_SYSTEM_FREETYPE=yes" "USE_SYSTEM_GUMBO=yes" "USE_SYSTEM_HARFBUZZ=yes" @@ -921,7 +923,7 @@ (define-public mupdf "USE_SYSTEM_CURL=yes" "USE_SYSTEM_LEPTONICA=yes" "USE_SYSTEM_TESSERACT=yes" - "USE_SONAME=no" ;install as libmupdf.so + "USE_SONAME=yes" "shared=yes" (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib") (string-append "prefix=" #$output)) @@ -945,7 +947,7 @@ (define-public mupdf license:silofl1.1 ;resources/fonts/{han,noto,sil,urw} license:asl2.0)))) ; resources/fonts/droid -(define-public mupdf-1.24 ; Needed for sioyek +(define-public mupdf-1.24 ; Needed for sioyek (package (inherit mupdf) (name "mupdf") base-commit: 364694773ef1c61d4c9ec73e24f73642786486ca -- 2.49.0 ------------=_1747782962-16365-1--