[freeside-commits] branch master updated. 7fa372b7beec7595c22708755fbf753193496313

Ivan Kohler ivan at freeside.biz
Tue May 31 15:16:42 PDT 2022


The branch, master has been updated
       via  7fa372b7beec7595c22708755fbf753193496313 (commit)
      from  eb11834cb545a83c1fddf8febcf309153a707f06 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7fa372b7beec7595c22708755fbf753193496313
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue May 31 15:16:41 2022 -0700

    explicit dep on PDF::WebKit

diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm
index 0a16724a8..33e150ae3 100644
--- a/FS/FS/msg_template.pm
+++ b/FS/FS/msg_template.pm
@@ -11,6 +11,7 @@ use FS::cust_msg;
 use FS::template_content;
 
 use Date::Format qw(time2str);
+use PDF::WebKit;
 
 FS::UID->install_callback( sub { $conf = new FS::Conf; } );
 
@@ -411,8 +412,6 @@ Options are as for 'prepare', but 'from' and 'to' are meaningless.
 
 sub render {
   my $self = shift;
-  eval "use PDF::WebKit";
-  die $@ if $@;
   my %opt = @_;
   my %hash = $self->prepare(%opt);
   my $html = $hash{'html_body'};
diff --git a/debian/control b/debian/control
index 10a9df0e1..0f1e29fb9 100644
--- a/debian/control
+++ b/debian/control
@@ -107,7 +107,7 @@ Depends: aspell-en,gnupg,ghostscript,gsfonts,gzip,
  libspreadsheet-parsexlsx-perl, libunicode-truncate-perl (>= 0.303-1),
  libspreadsheet-xlsx-perl, libpod-simple-perl, libwebservice-northern911-perl,
  liblocale-codes-perl, liblocale-po-perl, libgeo-uscensus-geocoding-perl,
- libnet-sftp-foreign-perl
+ libnet-sftp-foreign-perl, libpdf-webkit-perl
 Conflicts: libparams-classify-perl (>= 0.013-6)
 Replaces: freeside (<<4)
 Breaks: freeside (<<4)

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/msg_template.pm | 3 +--
 debian/control        | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list