aboutsummaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
2023-01-25Add exit trapping code back to make_artifacts.sh.3.0.1John MacFarlane
Otherwise it never exits!
2023-01-20make_artifacts.sh: fix quoting.John MacFarlane
2023-01-20Fix another bug in make_artifacts.sh.John MacFarlane
2023-01-20Fix two small problems in make_artifacts.shJohn MacFarlane
2023-01-20make_artifacts.sh: Back to cabal build/test approach.John MacFarlane
2023-01-20make_artifacts.sh: add diagnostic.John MacFarlane
2023-01-20make_artifacts.sh: remove cabal test, add sanity checks.John MacFarlane
Check that the binary has lua and server support, and that it contains baked-in templates.
2023-01-20make_artifacts.sh: roll back quoting of CABALOPTS.John MacFarlane
2023-01-20Apply shellcheck improvements to make_artifacts.sh.John MacFarlane
2023-01-20Fix man page copying in `linux/make_artifacts.sh`.John MacFarlane
Previously we were copying the pandoc-server.1 pandoc page to pandoc-lua.1. This should resolve #8566, but it should be tested after a new release candidate is generated.
2022-11-07make_artifacts.sh: add quotes.John MacFarlane
2022-11-07Fix make_artifacts.sh.John MacFarlane
2022-11-07Fix CABALOPTS in make_artifacts.sh.John MacFarlane
2022-11-07make_artifacts.sh: add a 'cabal test' as a sanity check.John MacFarlane
It's possible that changes in upstream packages could make a test fail, and we wouldn't want to release.
2022-09-29cabal.project: move back to using `flags:`.John MacFarlane
If we add the flag to constraints, it can't be overridden on the command line.
2022-09-22Add pandoc-lua and man pages to releases.John MacFarlane
2022-08-17Integrate server into main pandoc.John MacFarlane
- Remove server flag. - Remove pandoc-server executable. - Add Text.Pandoc.Server as exposed module. [API change] - Re-use Opt (and our existing FromJSON instance) for Params. - Document.
2022-08-16More make_artifacts fixes.John MacFarlane
2022-08-15make_artifacts.sh: use --installdir not --bindir.John MacFarlane
2022-08-15More make_artifacts fixes.John MacFarlane
2022-08-15Fix make_artifacts.sh.John MacFarlane
2022-08-15Split linux/control.in into two parts...John MacFarlane
for pandoc and pandoc-server.
2022-08-15linux/make_artifacts.sh: fix paths.John MacFarlane
2022-08-15make_artifacts.sh: create doc directory.John MacFarlane
2022-08-15Improve linux/make_artifacts.John MacFarlane
Structure code more cleanly. Make separate deb, tarball for pandoc-server.
2022-08-07Fix pandoc-server on linux make_artifacts.sh.John MacFarlane
2022-08-06Replace old trypandoc code with new pandoc-cgi.John MacFarlane
This is based on servant. It is less hacky and more extensible.
2022-02-28add armhf support (#7944)Tony
2021-03-18Revert the -j related changes in make_artifacts.sh.John MacFarlane
This led to very slow build times.
2021-03-18make_artifacts.sh: try using -j for cabal rather than -j4 ghc-options.John MacFarlane
2021-03-16Use -j4 for linux release build.John MacFarlane
2021-03-08linux/make_artifacts.sh: Use -f when removing artifacts/DONE.John MacFarlane
2021-03-08ARM build script: more reliable detection of completion.John MacFarlane
Previously we downloaded the tar.gz before it was complete.
2021-03-08Use correct architecture in .tar.gz for linux.2.12John MacFarlane
2021-03-06linux build script: set architecture to 'unknown' when no match.John MacFarlane
2021-03-06linux build script: handle architecture for aarch64.John MacFarlane
2021-03-01Use -split-sections in creating release binary.John MacFarlane
This is supposed to reduce executable size.
2020-11-18Re-add -optc-Os to static linux build, because it makes binary smaller.John MacFarlane
2020-11-18Simplify options for building static linux binary.John MacFarlane
2020-11-17Remove obsolete bibutils flag setting on linux/make_artifacts.sh.John MacFarlane
2020-09-21Add built-in citation support using new citeproc library.John MacFarlane
This deprecates the use of the external pandoc-citeproc filter; citation processing is now built in to pandoc. * Add dependency on citeproc library. * Add Text.Pandoc.Citeproc module (and some associated unexported modules under Text.Pandoc.Citeproc). Exports `processCitations`. [API change] * Add data files needed for Text.Pandoc.Citeproc: default.csl in the data directory, and a citeproc directory that is just used at compile-time. Note that we've added file-embed as a mandatory rather than a conditional depedency, because of the biblatex localization files. We might eventually want to use readDataFile for this, but it would take some code reorganization. * Text.Pandoc.Loging: Add `CiteprocWarning` to `LogMessage` and use it in `processCitations`. [API change] * Add tests from the pandoc-citeproc package as command tests (including some tests pandoc-citeproc did not pass). * Remove instructions for building pandoc-citeproc from CI and release binary build instructions. We will no longer distribute pandoc-citeproc. * Markdown reader: tweak abbreviation support. Don't insert a nonbreaking space after a potential abbreviation if it comes right before a note or citation. This messes up several things, including citeproc's moving of note citations. * Add `csljson` as and input and output format. This allows pandoc to convert between `csljson` and other bibliography formats, and to generate formatted versions of CSL JSON bibliographies. * Add module Text.Pandoc.Writers.CslJson, exporting `writeCslJson`. [API change] * Add module Text.Pandoc.Readers.CslJson, exporting `readCslJson`. [API change] * Added `bibtex`, `biblatex` as input formats. This allows pandoc to convert between BibLaTeX and BibTeX and other bibliography formats, and to generated formatted versions of BibTeX/BibLaTeX bibliographies. * Add module Text.Pandoc.Readers.BibTeX, exporting `readBibTeX` and `readBibLaTeX`. [API change] * Make "standalone" implicit if output format is a bibliography format. This is needed because pandoc readers for bibliography formats put the bibliographic information in the `references` field of metadata; and unless standalone is specified, metadata gets ignored. (TODO: This needs improvement. We should trigger standalone for the reader when the input format is bibliographic, and for the writer when the output format is markdown.) * Carry over `citationNoteNum` to `citationNoteNumber`. This was just ignored in pandoc-citeproc. * Text.Pandoc.Filter: Add `CiteprocFilter` constructor to Filter. [API change] This runs the processCitations transformation. We need to treat it like a filter so it can be placed in the sequence of filter runs (after some, before others). In FromYAML, this is parsed from `citeproc` or `{type: citeproc}`, so this special filter may be specified either way in a defaults file (or by `citeproc: true`, though this gives no control of positioning relative to other filters). TODO: we need to add something to the manual section on defaults files for this. * Add deprecation warning if `upandoc-citeproc` filter is used. * Add `--citeproc/-C` option to trigger citation processing. This behaves like a filter and will be positioned relative to filters as they appear on the command line. * Rewrote the manual on citatations, adding a dedicated Citations section which also includes some information formerly found in the pandoc-citeproc man page. * Look for CSL styles in the `csl` subdirectory of the pandoc user data directory. This changes the old pandoc-citeproc behavior, which looked in `~/.csl`. Users can simply symlink `~/.csl` to the `csl` subdirectory of their pandoc user data directory if they want the old behavior. * Add support for CSL bibliography entry formatting to LaTeX, HTML, Ms writers. Added CSL-related CSS to styles.html.
2020-08-11Linux rc build: use ghc-musl container.John MacFarlane
This simplifies our build process a bit (over using a customized alpine container). Use new `--enable-executable-static` flag in build. make_artifacts.sh: Fix deprecated find -perm syntax.
2020-03-10linux/Dockerfile: upgrade to alpine 3.11Albert Krewinkel
Closes: #6180
2019-12-22Use alpine 3.10 in building linux binary.John MacFarlane
For some reason the bulid fails with alpine 3.11, with a linker error finding -lz. See #6003. It would be good to figure out how to make it work with alpine 3.11.
2019-10-04linux tarball: add architecture -amd64 to filename.John MacFarlane
Now it will be: pandoc-VERSION-linux-ARCH.tar.gz
2019-07-12Use -split-sections to reduce linux executable size.John MacFarlane
2019-03-14Remove clone of pandoc-citeproc.John MacFarlane
It wasn't being used; cabal.project specifies the version to use. Closes #5366.
2019-01-30linux/Dockerfile : use default -O1 instead of -O2.2.6John MacFarlane
2018-11-26Update linux Dockerfile to use cabal new-build.2.5John MacFarlane
2018-11-03linux/Dockerfile - use resolver lts-12.12.2.4John MacFarlane