| 1 |
From: =?utf-8?q?Bastien_ROUCARI=C3=88S?= <[email protected]> |
| 2 |
Date: Fri, 2 Feb 2018 22:17:26 +0100 |
| 3 |
Subject: Allow distribution to custumize the html pointer to documentation |
| 4 |
|
| 5 |
Allow to say on debian system you might install the imagemagick-doc package |
| 6 |
|
| 7 |
Forwarded: yes, https://github.com/ImageMagick/ImageMagick/issues/305 |
| 8 |
Bug-debian: https://bugs.debian.org/727739 |
| 9 |
--- |
| 10 |
configure.ac | 12 ++++++++++++ |
| 11 |
utilities/conjure.1.in | 4 ++-- |
| 12 |
utilities/convert.1.in | 5 +++-- |
| 13 |
utilities/display.1.in | 4 ++-- |
| 14 |
utilities/identify.1.in | 4 ++-- |
| 15 |
utilities/import.1.in | 4 ++-- |
| 16 |
utilities/mogrify.1.in | 4 ++-- |
| 17 |
utilities/montage.1.in | 4 ++-- |
| 18 |
utilities/stream.1.in | 4 ++-- |
| 19 |
9 files changed, 29 insertions(+), 16 deletions(-) |
| 20 |
|
| 21 |
Index: imagemagick/configure.ac |
| 22 |
=================================================================== |
| 23 |
--- imagemagick.orig/configure.ac 2026-07-07 10:22:09.750488554 +0200 |
| 24 |
+++ imagemagick/configure.ac 2026-07-07 10:22:09.747238794 +0200 |
| 25 |
@@ -3232,6 +3232,18 @@ |
| 26 |
AC_DEFINE_UNQUOTED([DOCUMENTATION_PATH],["$DEFINE_DOCUMENTATION_PATH"],[Directory where ImageMagick documents live.]) |
| 27 |
AC_SUBST([DOCUMENTATION_PATH]) |
| 28 |
|
| 29 |
+ |
| 30 |
+# |
| 31 |
+# Add distribution specific string for documentation |
| 32 |
+AC_ARG_WITH([extra-doc-dir], |
| 33 |
+ [AC_HELP_STRING([--with-extra-doc-dir=""], |
| 34 |
+ [extra documentation dir could be overriden by distribution, for instance by " (you may install the imagemagick-doc package)"])], |
| 35 |
+ [extra_doc_dir="$withval"], |
| 36 |
+ [extra_doc_dir=""]) |
| 37 |
+AC_DEFINE_UNQUOTED(EXTRA_DOC_DIR,"$EXTRA_DOC_DIR",[Extra documentation dir could be overriden by distribution, for instance by " (you may install th imagemagick-doc package)"]) |
| 38 |
+AC_SUBST(EXTRA_DOC_DIR,$extra_doc_dir) |
| 39 |
+ |
| 40 |
+ |
| 41 |
# |
| 42 |
# Enable/Disable documentation |
| 43 |
AC_ARG_ENABLE([docs], |
| 44 |
Index: imagemagick/utilities/conjure.1.in |
| 45 |
=================================================================== |
| 46 |
--- imagemagick.orig/utilities/conjure.1.in 2026-07-07 10:22:09.750488554 +0200 |
| 47 |
+++ imagemagick/utilities/conjure.1.in 2026-07-07 10:22:09.747477784 +0200 |
| 48 |
@@ -7,7 +7,7 @@ |
| 49 |
.SH OVERVIEW |
| 50 |
The \fBconjure\fP program is a member of the ImageMagick(1) suite of tools. Use it to process a Magick Scripting Language (MSL) script. The Magick scripting language (MSL) will primarily benefit those that want to accomplish custom image processing tasks but do not wish to program, or those that do not have access to a Perl interpreter or a compiler. |
| 51 |
|
| 52 |
-For more information about the conjure command, point your browser to file://@DOCUMENTATION_PATH@/www/conjure.html or https://imagemagick.org/script/conjure.php. |
| 53 |
+For more information about the conjure command, point your browser to file://@DOCUMENTATION_PATH@/www/conjure.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/conjure.php. |
| 54 |
.SH DESCRIPTION |
| 55 |
Image Settings: |
| 56 |
\-monitor monitor progress |
| 57 |
@@ -31,4 +31,4 @@ |
| 58 |
|
| 59 |
.SH COPYRIGHT |
| 60 |
|
| 61 |
-\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html or https://imagemagick.org/license/\fP |
| 62 |
+\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/license.php\fP |
| 63 |
Index: imagemagick/utilities/convert.1.in |
| 64 |
=================================================================== |
| 65 |
--- imagemagick.orig/utilities/convert.1.in 2026-07-07 10:22:09.750488554 +0200 |
| 66 |
+++ imagemagick/utilities/convert.1.in 2026-07-07 10:22:09.747537390 +0200 |
| 67 |
@@ -7,7 +7,7 @@ |
| 68 |
.SH OVERVIEW |
| 69 |
The \fBconvert\fP program is a member of the ImageMagick(1) suite of tools. Use it to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. |
| 70 |
|
| 71 |
-For more information about the convert command, point your browser to file://@DOCUMENTATION_PATH@/www/convert.html or https://imagemagick.org/script/convert.php. |
| 72 |
+For more information about the convert command, point your browser to file://@DOCUMENTATION_PATH@/www/convert.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/convert.php. |
| 73 |
.SH DESCRIPTION |
| 74 |
Image Settings: |
| 75 |
\-adjoin join images into a single multi-image file |
| 76 |
@@ -336,4 +336,5 @@ |
| 77 |
ImageMagick(1) |
| 78 |
|
| 79 |
.SH COPYRIGHT |
| 80 |
-\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html or https://imagemagick.org/license/\fP |
| 81 |
+ |
| 82 |
+\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/license.php\fP |
| 83 |
Index: imagemagick/utilities/display.1.in |
| 84 |
=================================================================== |
| 85 |
--- imagemagick.orig/utilities/display.1.in 2026-07-07 10:22:09.750488554 +0200 |
| 86 |
+++ imagemagick/utilities/display.1.in 2026-07-07 10:22:09.747603933 +0200 |
| 87 |
@@ -7,7 +7,7 @@ |
| 88 |
.SH OVERVIEW |
| 89 |
The \fBdisplay\fP program is a member of the ImageMagick(1) suite of tools. Use it to display an image or image sequence on any X server. |
| 90 |
|
| 91 |
-For more information about the display command, point your browser to file://@DOCUMENTATION_PATH@/www/display.html or https://imagemagick.org/script/display.php. |
| 92 |
+For more information about the display command, point your browser to file://@DOCUMENTATION_PATH@/www/display.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/display.php. |
| 93 |
.SH DESCRIPTION |
| 94 |
Image Settings: |
| 95 |
\-alpha option on, activate, off, deactivate, set, opaque, copy |
| 96 |
@@ -137,4 +137,4 @@ |
| 97 |
|
| 98 |
.SH COPYRIGHT |
| 99 |
|
| 100 |
-\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html or https://imagemagick.org/license/\fP |
| 101 |
+\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/license.php\fP |
| 102 |
Index: imagemagick/utilities/identify.1.in |
| 103 |
=================================================================== |
| 104 |
--- imagemagick.orig/utilities/identify.1.in 2026-07-07 10:22:09.750488554 +0200 |
| 105 |
+++ imagemagick/utilities/identify.1.in 2026-07-07 10:22:09.747651587 +0200 |
| 106 |
@@ -7,7 +7,7 @@ |
| 107 |
.SH OVERVIEW |
| 108 |
The \fBidentify\fP program is a member of the ImageMagick(1) suite of tools. It describes the format and characteristics of one or more image files. It also reports if an image is incomplete or corrupt. The information returned includes the image number, the file name, the width and height of the image, whether the image is colormapped or not, the number of colors in the image (by default off use \fI-define unique=true\fP option), the number of bytes in the image, the format of the image (JPEG, PNM, etc.), and finally the number of seconds it took to read and process the image. Many more attributes are available with the verbose option. |
| 109 |
|
| 110 |
-For more information about the identify command, point your browser to file://@DOCUMENTATION_PATH@/www/identify.html or https://imagemagick.org/script/identify.php. |
| 111 |
+For more information about the identify command, point your browser to file://@DOCUMENTATION_PATH@/www/identify.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/identify.php. |
| 112 |
.SH DESCRIPTION |
| 113 |
Image Settings: |
| 114 |
\-alpha option on, activate, off, deactivate, set, opaque, copy |
| 115 |
@@ -77,4 +77,4 @@ |
| 116 |
|
| 117 |
.SH COPYRIGHT |
| 118 |
|
| 119 |
-\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html or https://imagemagick.org/license/\fP |
| 120 |
+\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/license.php\fP |
| 121 |
Index: imagemagick/utilities/import.1.in |
| 122 |
=================================================================== |
| 123 |
--- imagemagick.orig/utilities/import.1.in 2026-07-07 10:22:09.750488554 +0200 |
| 124 |
+++ imagemagick/utilities/import.1.in 2026-07-07 10:22:09.747697000 +0200 |
| 125 |
@@ -7,7 +7,7 @@ |
| 126 |
.SH OVERVIEW |
| 127 |
The \fBimport\fP program is a member of the ImageMagick(1) suite of tools. Use it to capture some or all of an X server screen and save the image to a file. |
| 128 |
|
| 129 |
-For more information about the import command, point your browser to file://@DOCUMENTATION_PATH@/www/import.html or https://imagemagick.org/script/import.php. |
| 130 |
+For more information about the import command, point your browser to file://@DOCUMENTATION_PATH@/www/import.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/import.php. |
| 131 |
.SH DESCRIPTION |
| 132 |
Image Settings: |
| 133 |
\-adjoin join images into a single multi-image file |
| 134 |
@@ -98,4 +98,4 @@ |
| 135 |
|
| 136 |
.SH COPYRIGHT |
| 137 |
|
| 138 |
-\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html or https://imagemagick.org/license/\fP |
| 139 |
+\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/license.php\fP |
| 140 |
Index: imagemagick/utilities/mogrify.1.in |
| 141 |
=================================================================== |
| 142 |
--- imagemagick.orig/utilities/mogrify.1.in 2026-07-07 10:22:09.750488554 +0200 |
| 143 |
+++ imagemagick/utilities/mogrify.1.in 2026-07-07 10:22:09.747747586 +0200 |
| 144 |
@@ -7,7 +7,7 @@ |
| 145 |
.SH OVERVIEW |
| 146 |
The \fBmogrify\fP program is a member of the ImageMagick(1) suite of tools. Use it to resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. This tool is similar to convert(1) except the original image file is overwritten with any changes you request. |
| 147 |
|
| 148 |
-For more information about the mogrify command, point your browser to file://@DOCUMENTATION_PATH@/www/mogrify.html or https://imagemagick.org/script/mogrify.php. |
| 149 |
+For more information about the mogrify command, point your browser to file://@DOCUMENTATION_PATH@/www/mogrify.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/mogrify.php. |
| 150 |
.SH DESCRIPTION |
| 151 |
Image Settings: |
| 152 |
\-adjoin join images into a single multi-image file |
| 153 |
@@ -333,4 +333,4 @@ |
| 154 |
|
| 155 |
.SH COPYRIGHT |
| 156 |
|
| 157 |
-\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html or https://imagemagick.org/license/\fP |
| 158 |
+\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/license.php\fP |
| 159 |
Index: imagemagick/utilities/montage.1.in |
| 160 |
=================================================================== |
| 161 |
--- imagemagick.orig/utilities/montage.1.in 2026-07-07 10:22:09.750488554 +0200 |
| 162 |
+++ imagemagick/utilities/montage.1.in 2026-07-07 10:22:09.747803331 +0200 |
| 163 |
@@ -7,7 +7,7 @@ |
| 164 |
.SH OVERVIEW |
| 165 |
The \fBmontage\fP program is a member of the ImageMagick(1) suite of tools. Use it to create a composite image by combining several separate images. The images are tiled on the composite image optionally adorned with a border, frame, image name, and more. |
| 166 |
|
| 167 |
-For more information about the montage command, point your browser to file://@DOCUMENTATION_PATH@/www/montage.html or https://imagemagick.org/script/montage.php. |
| 168 |
+For more information about the montage command, point your browser to file://@DOCUMENTATION_PATH@/www/montage.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/montage.php. |
| 169 |
.SH DESCRIPTION |
| 170 |
Image Settings: |
| 171 |
\-adjoin join images into a single multi-image file |
| 172 |
@@ -146,4 +146,4 @@ |
| 173 |
|
| 174 |
.SH COPYRIGHT |
| 175 |
|
| 176 |
-\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html or https://imagemagick.org/license/\fP |
| 177 |
+\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/license.php\fP |
| 178 |
Index: imagemagick/utilities/stream.1.in |
| 179 |
=================================================================== |
| 180 |
--- imagemagick.orig/utilities/stream.1.in 2026-07-07 10:22:09.750488554 +0200 |
| 181 |
+++ imagemagick/utilities/stream.1.in 2026-07-07 10:22:09.747845676 +0200 |
| 182 |
@@ -7,7 +7,7 @@ |
| 183 |
.SH OVERVIEW |
| 184 |
\fBStream\fP is a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time making \fBstream\fP desirable when working with large images or when you require raw pixel components. |
| 185 |
|
| 186 |
-For more information about the stream command, point your browser to file://@DOCUMENTATION_PATH@/www/stream.html or https://imagemagick.org/script/stream.php. |
| 187 |
+For more information about the stream command, point your browser to file://@DOCUMENTATION_PATH@/www/stream.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/stream.php. |
| 188 |
.SH DESCRIPTION |
| 189 |
Image Settings: |
| 190 |
\-authenticate value decrypt image with this password |
| 191 |
@@ -56,4 +56,4 @@ |
| 192 |
|
| 193 |
.SH COPYRIGHT |
| 194 |
|
| 195 |
-\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html or https://imagemagick.org/license/\fP |
| 196 |
+\fBCopyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html@EXTRA_DOC_DIR@ or https://www.imagemagick.org/script/license.php\fP |