groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/01: Work around debian's ImageMagick policy.


From: Deri James
Subject: [groff] 01/01: Work around debian's ImageMagick policy.
Date: Tue, 15 Oct 2024 08:59:01 -0400 (EDT)

deri pushed a commit to branch master
in repository groff.

commit ba849da1b99a2ac54709d7cecf2aad54c5f0277a
Author: Deri James <deri@chuzzlewit.myzen.co.uk>
AuthorDate: Tue Oct 15 13:58:19 2024 +0100

    Work around debian's ImageMagick policy.
    
    * src/devices/gropdf/gropdf.pl: Don't use perlmagick to embed
    PDFs
    
    Fixes <https://savannah.gnu.org/bugs/index.php?66333>. Thanks
    to Branden for the report.
---
 ChangeLog                    | 10 ++++++++++
 src/devices/gropdf/gropdf.pl |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 11c5a83b7..2e210c821 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-10-15  Deri James  <deri@chuzzlewit.myzen.co.uk>
+
+       Work around debian's ImageMagick policy.
+
+       * src/devices/gropdf/gropdf.pl: Don't use perlmagick to embed
+       PDFs
+
+       Fixes <https://savannah.gnu.org/bugs/index.php?66333>. Thanks
+       to Branden for the report.
+
 2024-10-13  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/s.tmac (XA): Revert commit a6e09ca7fb, 2022-04-17.  The
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index a6f7b6fee..05ea97866 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -1681,7 +1681,7 @@ sub do_x
 
                if (!exists($incfil{$fil}))
                {
-                   if ($gotexif)
+                   if ($gotexif and $FDnm!~m/\.pdf$/i)
                    {
                        binmode $FD;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]