summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-12-23 14:58:16 +0100
committerJay Berkenbilt <ejb@ql.org>2023-12-23 15:51:50 +0100
commita3eb027b4699f90587bdb50147d217db40b5b838 (patch)
treea563a993139d9f40cc3a0f43b5883af815a1733d
parent909a0b3f3a0fddfab6abd1f0775cdd50f1406be6 (diff)
downloadqpdf-a3eb027b4699f90587bdb50147d217db40b5b838.tar.zst
Have Windows installers modify PATH (fixes #1054)
-rw-r--r--ChangeLog4
-rwxr-xr-xcmake-win1
-rw-r--r--manual/release-notes.rst3
3 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 783d7052..43ba73dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2023-12-23 Jay Berkenbilt <ejb@ql.org>
+ * Define CPACK_NSIS_MODIFY_PATH for the Windows builds so the
+ official installers will offer to modify PATH when installing
+ qpdf. Fixes #1054.
+
* Add QPDFAcroFormDocumentHelper::disableDigitalSignatures and the
--disable-signatures command-line argument. This disables any
digital signature fields, leaving their visual representations
diff --git a/cmake-win b/cmake-win
index f8e9f512..25ebdfc4 100755
--- a/cmake-win
+++ b/cmake-win
@@ -31,6 +31,7 @@ if [ "$mode" = "maint" ]; then
elif [ "$mode" = "ci" ]; then
args=("${args[@]}" -DCI_MODE=1 -DINSTALL_MANUAL=1)
fi
+args=("${args[@]}" -DCPACK_NSIS_MODIFY_PATH=ON)
set -x
cmake "${args[@]}" $dir
diff --git a/manual/release-notes.rst b/manual/release-notes.rst
index 96bebb76..61626fb1 100644
--- a/manual/release-notes.rst
+++ b/manual/release-notes.rst
@@ -85,6 +85,9 @@ Planned changes for future 12.x (subject to change):
``README-maintainer.md`` for a detailed explanation of how to
maintain this.
+ - The official Windows installers now offers to modify ``PATH``
+ when installing qpdf.
+
- Package Enhancements:
- A UNIX man page is now automatically generated from the