Skip to content

Commit

Permalink
Name change OSX -> macOS (jgm#3869)
Browse files Browse the repository at this point in the history
* Name change OSX -> macOS

fix commit c96b64e

This commit finishes remaining osx to macOS change, as well as replacing MacOS with macOS.

The reason for the later one is because the "correct" casing of macOS is like that. Apple styles it to looks like iOS, watchOS, tvOS, etc. And unfortunately they all start with a lowercase letter, making propercasing (or even title-casing) odd.

* fix casing of Linux, UNIX, and Windows
  • Loading branch information
ickc authored and jgm committed Aug 23, 2017
1 parent f297659 commit 5c1d844
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@
copy /y "%TEMP%\pandoc\pandoc-citeproc.exe" C:\Utils\Console\
rmdir /s /q "%TEMP%\pandoc\"

## MacOS
## macOS

- There is a package installer at pandoc's [download page].
If you later want to uninstall the package, you can do so
by downloading [this script][uninstaller]
and running it with `perl uninstall-pandoc.pl`.

- It is possible to extract the pandoc and pandoc-citeproc
executables from the MacOS pkg file, if you'd rather not run
executables from the macOS pkg file, if you'd rather not run
the installer. To do this (for the version 1.19.1 package):

mkdir pandoc-extract
cd pandoc-extract
xar -x ../pandoc-1.19.1-osx.pkg
xar -x ../pandoc-2.0-macOS.pkg
cat pandoc.pkg/Payload | gunzip -dc | cpio -i
# executables are now in ./usr/bin/, man pages in ./usr/share/man

Expand Down Expand Up @@ -180,7 +180,7 @@ The easiest way to build pandoc from source is to use [stack]:

Note that this requires the `text-icu` library, which in turn
depends on the C library `icu4c`. Installation directions
vary by platform. Here is how it might work on MacOS with homebrew:
vary by platform. Here is how it might work on macOS with homebrew:

brew install icu4c
cabal install --extra-lib-dirs=/usr/local/Cellar/icu4c/51.1/lib \
Expand Down
8 changes: 4 additions & 4 deletions MANUAL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ General options

: Specify the user data directory to search for pandoc data files.
If this option is not specified, the default user data directory
will be used. This is, in Unix:
will be used. This is, in UNIX:

$HOME/.pandoc

Expand Down Expand Up @@ -608,7 +608,7 @@ General writer options
`--eol=crlf`|`lf`|`native`

: Manually specify line endings: `crlf` (Windows), `lf`
(MacOS/linux/unix), or `native` (line endings appropriate
(macOS/Linux/UNIX), or `native` (line endings appropriate
to the OS on which pandoc is being run). The default is
`native`.

Expand Down Expand Up @@ -706,8 +706,8 @@ General writer options
`--resource-path=`*SEARCHPATH*

: List of paths to search for images and other resources.
The paths should be separated by `:` on linux, unix, and
MacOS systems, and by `;` on Windows. If `--resource-path`
The paths should be separated by `:` on Linux, UNIX, and
macOS systems, and by `;` on Windows. If `--resource-path`
is not specified, the default resource path is the working
directory. Note that, if `--resource-path` is specified,
the working directory must be explicitly listed or it
Expand Down
4 changes: 2 additions & 2 deletions RELEASE-CHECKLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_ Test, on linux, windows, mac (inc. website demos)
_ Test, on Linux, Windows, macOS (inc. website demos)

_ Finalize changelog
git log --pretty='format:%n%n* %s (%an)%n%b%n%h%n' --reverse --name-only 1.17.0.3..HEAD > LOG
Expand All @@ -12,7 +12,7 @@ _ Push templates:

_ Generate Windows package (make winpkg)

_ Generate MacOS package (make macospkg)
_ Generate macOS package (make macospkg)

_ Generate Ubuntu/Debian deb package (make debpkg)

Expand Down
4 changes: 2 additions & 2 deletions RELEASE-CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- [ ] Test, on linux, windows, mac (inc. website demos)
- [ ] Test, on Linux, Windows, macOS (inc. website demos)

- [ ] Finalize changelog:
`git log --pretty='format:%n%n* %s (%an)%n%b%n%h%n' --reverse --name-only 1.17.0.3..HEAD > LOG`
Expand All @@ -11,7 +11,7 @@

- [ ] Generate Windows package (`make winpkg`)

- [ ] Generate Mac OSX package (`make osxpkg`)
- [ ] Generate macOS package (`make macospkg`)

- [ ] Generate Ubuntu/Debian deb package (`make debpkg`)

Expand Down
6 changes: 3 additions & 3 deletions macos/make_macos_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ $PANDOC --data data -t html5 -s COPYING.md -Vpagetitle="License" -o $RESOURCES/l
# make sure it's valid... returns nonzero exit code if it isn't:
#spctl --assess --type execute $DEST/bin/pandoc

echo Creating MacOS package...
echo Creating macOS package...

sed -e "s/PANDOCVERSION/$VERSION/" $MACOS/distribution.xml.in > $MACOS/distribution.xml

pkgbuild --root $ROOT --identifier net.johnmacfarlane.pandoc --version $VERSION --ownership recommended $DIST/pandoc.pkg
productbuild --distribution $MACOS/distribution.xml --resources $DIST/Resources --package-path $DIST --version $VERSION --sign "${DEVELOPER_ID_INSTALLER}" $BASE-MacOS.pkg
productbuild --distribution $MACOS/distribution.xml --resources $DIST/Resources --package-path $DIST --version $VERSION --sign "${DEVELOPER_ID_INSTALLER}" $BASE-macOS.pkg

# verify signature
spctl --assess --type install $BASE-MacOS.pkg
spctl --assess --type install $BASE-macOS.pkg

# cleanup
rm -r $DIST
2 changes: 1 addition & 1 deletion macos/uninstall-pandoc.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/perl

# Script to remove all files installed by the OSX pandoc installer
# Script to remove all files installed by the macOS pandoc installer
# and unregister the package. Modified from a script contributed
# by Daniel T. Staal.

Expand Down
6 changes: 3 additions & 3 deletions man/pandoc.1
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ If \f[I]FILE\f[] is \f[C]\-\f[], output will go to \f[I]stdout\f[].
Specify the user data directory to search for pandoc data files.
If this option is not specified, the default user data directory will be
used.
This is, in Unix:
This is, in UNIX:
.RS
.IP
.nf
Expand Down Expand Up @@ -638,7 +638,7 @@ Files in the user data directory are ignored.
.TP
.B \f[C]\-\-eol=crlf\f[]|\f[C]lf\f[]|\f[C]native\f[]
Manually specify line endings: \f[C]crlf\f[] (Windows), \f[C]lf\f[]
(MacOS/linux/unix), or \f[C]native\f[] (line endings appropriate to the
(macOS/Linux/UNIX), or \f[C]native\f[] (line endings appropriate to the
OS on which pandoc is being run).
The default is \f[C]native\f[].
.RS
Expand Down Expand Up @@ -760,7 +760,7 @@ Implies \f[C]\-\-standalone\f[].
.TP
.B \f[C]\-\-resource\-path=\f[]\f[I]SEARCHPATH\f[]
List of paths to search for images and other resources.
The paths should be separated by \f[C]:\f[] on linux, unix, and MacOS
The paths should be separated by \f[C]:\f[] on Linux, UNIX, and macOS
systems, and by \f[C];\f[] on Windows.
If \f[C]\-\-resource\-path\f[] is not specified, the default resource
path is the working directory.
Expand Down
2 changes: 1 addition & 1 deletion stack.full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ flags:
pandoc-citeproc:
bibutils: true
embed_data_files: true
# if you are on OSX, stack install cpphs and
# if you are on macOS, stack install cpphs and
# uncomment the following three lines:
ghc-options:
pandoc-citeproc: '-pgmP cpphs -optP--cpp'
Expand Down
2 changes: 1 addition & 1 deletion windows/Pandoc-en-us.wxl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

[APPLICATIONFOLDER].

You may need to restart Cmd/Powershell windows before using it.</String>
You may need to restart Cmd/Powershell Windows before using it.</String>

</WixLocalization>

0 comments on commit 5c1d844

Please sign in to comment.