From 2b4b56504024f934a99042dcd2fae08e1681ecee Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 15 Aug 2022 16:09:19 -0700 Subject: [PATCH] Split linux/control.in into two parts... for pandoc and pandoc-server. --- linux/control.in | 26 -------------------------- linux/make_artifacts.sh | 2 +- linux/pandoc-server.control.in | 9 +++++++++ linux/pandoc.control.in | 30 ++++++++++++++++++++++++++++++ 4 files changed, 40 insertions(+), 27 deletions(-) delete mode 100644 linux/control.in create mode 100644 linux/pandoc-server.control.in create mode 100644 linux/pandoc.control.in diff --git a/linux/control.in b/linux/control.in deleted file mode 100644 index 0c1aab426..000000000 --- a/linux/control.in +++ /dev/null @@ -1,26 +0,0 @@ -Package: pandoc -Version: VERSION -Section: text -Priority: optional -Architecture: ARCHITECTURE -Installed-Size: INSTALLED_SIZE -Depends: libc6 (>= 2.13), libgmp10, zlib1g (>= 1:1.1.4) -Replaces: pandoc-data -Suggests: texlive-latex-recommended, texlive-xetex, - texlive-fonts-recommended -Maintainer: John MacFarlane -Description: general markup converter - Pandoc is a Haskell library for converting from one markup - format to another, and a command-line tool that uses - this library. It can read several dialects of Markdown and - (subsets of) HTML, reStructuredText, LaTeX, DocBook, - MediaWiki markup, TWiki markup, TikiWiki markup, Haddock - markup, OPML, Emacs Org-Mode, txt2tags, Muse, Vimwiki, - Word Docx, ODT, and Textile, and it can write Markdown, - reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt, DocBook, - JATS, OPML, TEI, OpenDocument, ODT, Word docx, RTF, - MediaWiki, DokuWiki, ZimWiki, Textile, groff man, groff - ms, plain text, Emacs Org-Mode, AsciiDoc, Haddock markup, - EPUB (v2 and v3), FictionBook2, InDesign ICML, Muse, and - several kinds of HTML/JavaScript slide shows (S5, Slidy, - Slideous, DZSlides, reveal.js). diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh index 703da4eeb..78759da00 100644 --- a/linux/make_artifacts.sh +++ b/linux/make_artifacts.sh @@ -59,7 +59,7 @@ make_deb() { INSTALLED_SIZE=$(du -k -s $DEST | awk '{print $1}') mkdir $DIST/DEBIAN - perl -pe "s/VERSION/$DEBVER/" /mnt/linux/control.in | \ + perl -pe "s/VERSION/$DEBVER/" /mnt/linux/$EXE.control.in | \ perl -pe "s/ARCHITECTURE/$ARCHITECTURE/" | \ perl -pe "s/INSTALLED_SIZE/$INSTALLED_SIZE/" \ > $DIST/DEBIAN/control diff --git a/linux/pandoc-server.control.in b/linux/pandoc-server.control.in new file mode 100644 index 000000000..348fd21c4 --- /dev/null +++ b/linux/pandoc-server.control.in @@ -0,0 +1,9 @@ +Package: pandoc-server +Version: VERSION +Section: text +Priority: optional +Architecture: ARCHITECTURE +Installed-Size: INSTALLED_SIZE +Depends: libc6 (>= 2.13), libgmp10, zlib1g (>= 1:1.1.4) +Maintainer: John MacFarlane +Description: HTTP server for pandoc document format converter diff --git a/linux/pandoc.control.in b/linux/pandoc.control.in new file mode 100644 index 000000000..51a683629 --- /dev/null +++ b/linux/pandoc.control.in @@ -0,0 +1,30 @@ +Package: pandoc +Version: VERSION +Section: text +Priority: optional +Architecture: ARCHITECTURE +Installed-Size: INSTALLED_SIZE +Depends: libc6 (>= 2.13), libgmp10, zlib1g (>= 1:1.1.4) +Replaces: pandoc-data +Suggests: texlive-latex-recommended, texlive-xetex, + texlive-fonts-recommended +Maintainer: John MacFarlane +Description: general markup converter + Pandoc is a Haskell library for converting from one markup format + to another, and a command-line tool that uses this library. The + formats it can handle include light markup formats (many variants + of Markdown, reStructuredText, AsciiDoc, Org-mode, Muse, Textile, + txt2tags), HTML formats (HTML 4 and 5), ebook formats (EPUB v2 + and v3, FB2), Documentation formats (GNU TexInfo, Haddock), + Roff formats (man, ms), TeX formats (LaTeX, ConTeXt), XML + formats (DocBook 4 and 5, JATS, TEI Simple, OpenDocument), + outline formats (OPML), bibliography formats (BibTeX, BibLaTeX, + CSL JSON, CSL YAML, RIS), word processor formats (Docx, RTF, + ODT), interactive notebook formats (Jupyter notebook + ipynb), page layout formats (InDesign ICML), wiki markup + formats (MediaWiki, DokuWiki, TikiWiki, TWiki, Vimwiki, + XWiki, ZimWiki, Jira wiki, Creole), slide show formats + (LaTeX Beamer, PowerPoint, Slidy, reveal.js, Slideous, S5, + DZSlides), data formats (CSV and TSV tables), and PDF (via + external programs such as pdflatex or wkhtmltopdf). +