gbranden pushed a commit to branch master
in repository groff.
commit bf35831c05e4b8bc26cf95cf819fcb47b5b29480
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Jul 4 09:18:59 2025 -0500
[devpdf]: Give BuildFoundries `--download` option.
* font/devpdf/util/BuildFoundries.pl: Support new `--download` option,
taking an input download file as argument and storing it to new
`downloadFile` scalar. Default to "download" as before.
(LoadDownload): Throw `notice` diagnostic if we can't open the
"download" file, and report the error encountered by `open()`.
Continues fixing Savannah #67268.
---
ChangeLog | 10 ++++++++++
font/devpdf/util/BuildFoundries.pl | 5 +++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b4d5a7b92..b4b23504c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2025-07-03 G. Branden Robinson <[email protected]>
+
+ * font/devpdf/util/BuildFoundries.pl: Support new `--download`
+ option, taking an input download file as argument and storing it
+ to new `downloadFile` scalar. Default to "download" as before.
+ (LoadDownload): Throw `notice` diagnostic if we can't open the
+ "download" file, and report the error encountered by `open()`.
+
+ Continues fixing Savannah #67268.
+
2025-07-04 G. Branden Robinson <[email protected]>
* font/devpdf/util/BuildFoundries.pl: Make `--strict` option
diff --git a/font/devpdf/util/BuildFoundries.pl
b/font/devpdf/util/BuildFoundries.pl
index 9a026f016..ca199dfe8 100644
--- a/font/devpdf/util/BuildFoundries.pl
+++ b/font/devpdf/util/BuildFoundries.pl
@@ -29,10 +29,11 @@ my $pathsep='@PATH_SEPARATOR@';
my $check=0;
my $dirURW='';
+my $downloadFile="download";
my $beStrict=0;
GetOptions("check" => \$check, "dirURW=s" => \$dirURW,
- "strict" => \$beStrict);
+ "download=s" => \$downloadFile, "strict" => \$beStrict);
(my $progname = $0) =~s @.*/@@;
my $where=shift||'';
@@ -52,7 +53,7 @@ if ($check)
}
else
{
- LoadDownload("download"); # not required
+ LoadDownload($downloadFile); # not required
LoadFoundry("Foundry");
WriteDownload();
}
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit