Commit graph

80 commits

Author SHA1 Message Date
John MacFarlane
bbd7b533ae make_oxs_package.sh - use OSX env variable. 2016-07-14 10:29:34 -07:00
John MacFarlane
6b85783870 make_osx_package.sh: removed executable signing.
We just sign the pkg now.

For some reason we were getting "obsolete resource envelope"
in signing executables.  This seems to be documented here
http://stackoverflow.com/questions/25152451/are-mac-app-store-code-sign-resource-envelopes-always-version-1
and seems to be an El Capitan regression.  Until a solution
is found, we'll just sign the pkg.
2016-06-04 14:02:57 -07:00
John MacFarlane
01f7d54119 Fixed osx packaging issues. 2016-06-04 08:08:33 -07:00
John MacFarlane
b4ea482660 osx build: use --local-bin-path. 2016-06-04 08:04:39 -07:00
John MacFarlane
128409f387 Don't hardcode pandoc version in osx/distribution.xml.
Instead, create it from a template, distribution.xml.in.
2016-03-19 18:53:43 -07:00
John MacFarlane
1f5c1b9fc9 make_osx_package.sh: Add quotes around env variable. 2016-03-19 18:13:27 -07:00
John MacFarlane
20c55ab110 make_osx_package.sh: Use env variable for developer id certs. 2016-01-14 09:20:52 -08:00
John MacFarlane
6936a6a4e7 osx package fixes: correct version, allow installation to any drive. 2016-01-10 16:48:46 -08:00
John MacFarlane
c720cbf9f2 Fixed bug in make_osx_package.sh script. 2015-11-15 13:39:29 -08:00
John MacFarlane
b98fced1c2 make_osx_package.sh: be compatible with OSX >= 10.7. 2015-11-15 12:48:54 -08:00
John MacFarlane
34bcaed62a Fixed typo. 2015-10-24 22:18:13 -07:00
John MacFarlane
f8e58dea02 Improved fetching of pandoc-citeproc man page. 2015-10-24 22:00:44 -07:00
John MacFarlane
797ec7cb75 Moved PATH setting in make_deb, make_osx_package.
Otherwise 'which hsb2hs' won't find the local one.
2015-10-24 21:23:40 -07:00
John MacFarlane
d7e6a95a3a Set paths in make_deb and make_osx_package.
This is needed to include a locally installed hsb2hs.
2015-10-24 21:22:24 -07:00
John MacFarlane
aafccdb0bd Changes for deb and osx package generators.
- Use stack for make_deb.sh.
- Use osx/stack.yaml or deb/stack.yaml.
- deb/stack.yaml doesn't want the same ghc-options.
2015-10-24 21:12:43 -07:00
John MacFarlane
69178d5b0b make_osx_package: don't create man5. 2015-10-24 16:53:49 -07:00
John MacFarlane
0a6a14376a Fixed typo in make_osx_package.sh. 2015-10-16 09:58:48 -07:00
John MacFarlane
3455a34e66 make_osx_package.sh: use released version of pandoc-citeproc.1. 2015-10-16 09:32:11 -07:00
John MacFarlane
eac9cdcffb Use stack for make_osx_package.sh.
Added stack.pkg.yaml for package creation.
2015-10-16 08:03:59 -07:00
John MacFarlane
9ffd1babc7 Install man pages as part of cabal 'copy' phase. 2015-07-01 18:01:21 -07:00
John MacFarlane
28cb50503b Generate man page in cabal build process and include in data/.
The pandoc.1 man page is generated automatically after the cabal
build process.  It goes in `data/pandoc.1`.  It can be obtained
by the user who installs pandoc via cabal thus:

    pandoc --print-default-data-file pandoc.1 > pandoc.1
2015-07-01 16:29:44 -07:00
John MacFarlane
958a615b75 Don't use MANDIR in make_deb and make_osx_package. 2015-07-01 12:41:25 -07:00
John MacFarlane
b1f835976d Always rebuild man page in making deb and osx package. 2015-07-01 12:32:55 -07:00
John MacFarlane
dd8a1e5092 Updated make_osx_package.sh for new man page method. 2015-07-01 12:22:21 -07:00
John MacFarlane
6862aa2687 Fixed man page building in make_osx_package.sh. 2015-06-30 22:47:13 -07:00
John MacFarlane
5e10375abc make_osx_package.sh: Create man pages using pandoc. 2015-06-29 22:43:11 -07:00
John MacFarlane
0ebd5afc3b Revert "make_osx_package.sh: don't use cpphs."
This reverts commit 067dcb921a.
2015-05-27 15:38:30 -07:00
John MacFarlane
067dcb921a make_osx_package.sh: don't use cpphs. 2015-05-27 13:24:01 -07:00
John MacFarlane
ee88f5662b Improved osx build procedure. 2014-08-17 23:24:21 -07:00
John MacFarlane
a004216706 make_osx_package: add -osx suffix to package. 2014-08-15 09:51:59 -07:00
John MacFarlane
2b6e8f4c83 OSX installer improvements.
* Use new pkgbuild, productbuild instead of deprecated PackageMaker.
* Removed scripts, which are no longer needed.
* Added distribution.xml.
2014-08-15 00:46:01 -07:00
John MacFarlane
6bea1ad5df make_osx_package: Build man pages. 2014-08-14 22:53:30 -07:00
John MacFarlane
fb8691c2fa make_osx_package: Fix man page installation. 2014-08-14 22:15:15 -07:00
John MacFarlane
a8b6094cec make_osx_package: look in right place for cpphs. 2014-08-14 22:12:44 -07:00
John MacFarlane
5524b5286b Updated osx certificate ID. 2014-08-14 10:28:14 -07:00
John MacFarlane
8c1e0543d7 windows, osx package scripts: don't need alex, happy. 2014-08-14 00:23:27 -07:00
John MacFarlane
b2d75c67e4 make_osx_package: don't cabal update at beginning. 2014-06-06 22:19:59 -07:00
John MacFarlane
06da7be1fd make_osx_package: Call zip file pandoc-VERSION-osx.zip.
The zip should not be named SOMETHING.pkg.zip, or OSX finder
will extract it into a folder named SOMETHING.pkg, which it
will interpret as a defective package.

Closes #1308.
2014-05-16 21:53:21 -07:00
John MacFarlane
256390b3f9 Fixed 034cd4bb21.
Preserve directory structure for pkg.
2014-05-14 14:23:17 -07:00
John MacFarlane
034cd4bb21 osx package: Include uninstall script in zip file.
Don't put it in $PREFIX/bin as before.
2014-05-14 13:39:31 -07:00
John MacFarlane
222a51bf99 make_osx_package.sh: Use linker options to ensure OSX 10.6+ compatibility. 2014-05-13 23:34:23 -07:00
John MacFarlane
dfcc32ac9f Moved make_osx_package.sh back to root. 2014-05-12 20:05:16 -07:00
John MacFarlane
1e8cd2c277 Moved osx package stuff to osx directory; added uninstall script.
Thanks to Daniel T. Staal for an uninstall script from which this
one is modified.
2014-05-12 19:59:44 -07:00
John MacFarlane
8afbd7e664 OSX package script: cabal init before update. 2014-05-07 20:12:46 -07:00
John MacFarlane
5ff2adc08f make_osx_package: install alex, happy, hsb2hs. 2014-05-06 07:25:05 -07:00
John MacFarlane
f31e002726 make_osx_package: Use cpphs to avoid problems with clang cpp.
See https://github.com/jgm/pandoc/issues/1172
2014-05-04 18:48:38 -07:00
John MacFarlane
3dd1b1f73a Removed references to biblio2yaml in installers. 2014-01-05 23:18:14 -08:00
John MacFarlane
220e3816a0 make_osx_package: Don't hardcode jgm, use whoami. 2014-01-04 11:43:47 -08:00
John MacFarlane
fcc94c788b OSX package: Create .zip rather than .dmg. 2013-12-08 10:30:14 -08:00
John MacFarlane
7786794809 Fixed make_osx_package.sh so data files embedded in pandoc-citeproc. 2013-10-21 10:39:37 -07:00