Package Details: pandoc-bin 3.1.12.2-1

Git Clone URL: https://aur.archlinux.org/pandoc-bin.git (read-only, click to copy)
Package Base: pandoc-bin
Description: Pandoc - executable only, without 750MB Haskell depends/makedepends
Upstream URL: https://pandoc.org
Licenses: GPL2
Conflicts: pandoc-cli
Provides: pandoc, pandoc-cli
Submitter: cdkitching
Maintainer: gustawho
Last Packager: gustawho
Votes: 306
Popularity: 4.46
First Submitted: 2017-10-03 08:45 (UTC)
Last Updated: 2024-03-08 07:54 (UTC)

Dependencies (1)

Required by (313)

Sources (3)

Pinned Comments

cdkitching commented on 2023-09-22 09:07 (UTC)

Using this package will waste instead of save disk space if:

  • You're a haskell developer and need the shared libraries/compilers/etc. anyway.
  • You have >10 other statically-linked haskell packages around the same size as Pandoc (in which case you'll get a saving from making them all dynamically linked).

Neither of these scenarios is particularly likely.

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

alerque commented on 2024-02-09 19:18 (UTC)

This package is correctly set to conflict with pandoc-cli, but it has a couple of other issues. The conflict with pandoc is currently meaningless since there is no such package, that is the name of a virtual provides and as such is not something one can conflict with. Also this provides pandoc which is okay for transitioning from the old naming, but it should also provides=("pandoc-cli=$pkgver") to correctly operate as a stand in replacement for that package.

tee commented on 2024-01-09 11:53 (UTC)

Can you add me as a maintainer so I can help with updating this package?

cdkitching commented on 2023-09-22 09:07 (UTC)

Using this package will waste instead of save disk space if:

  • You're a haskell developer and need the shared libraries/compilers/etc. anyway.
  • You have >10 other statically-linked haskell packages around the same size as Pandoc (in which case you'll get a saving from making them all dynamically linked).

Neither of these scenarios is particularly likely.

rosenberg commented on 2023-09-22 09:04 (UTC)

What are the disadvantages of not having the "750MB Haskell depends/makedepends"?

Schrutz commented on 2023-09-14 10:20 (UTC)

Important new realease 3.1.8, please update build data. https://github.com/jgm/pandoc/releases/tag/3.1.8

stefnix commented on 2023-09-14 01:57 (UTC)

Take this and and run makepkg -si - I rev'd it only for amd64

pkgname=pandoc-bin
pkgver=3.1.8
pkgrel=1
pkgdesc="Pandoc - executable only, without 750MB Haskell depends/makedepends"
url="https://pandoc.org"
license=("GPL2")
arch=('x86_64')
conflicts=("pandoc" "pandoc-cli")
provides=("pandoc=$pkgver")
optdepends=('texlive-core: for pdf output')

# The binary release doesn't have the datafiles, so we need to yoink those out of the source tarball, too.
source=("$pkgname-source-$pkgver.tar.gz::https://github.com/jgm/pandoc/archive/${pkgver}.tar.gz")
source_x86_64=("$pkgname-bin-$pkgver.tar.gz::https://github.com/jgm/pandoc/releases/download/${pkgver}/pandoc-${pkgver}-linux-amd64.tar.gz")

sha256sums=('c0bfd5973e9b335372c7e1a594499f2acc2e30e1035cc2c21bd3dc76904385a5')
sha256sums_x86_64=('c07923a65321b4246658635edce517ae6578abb65396bff914feef37bc48784b')
package() {
  cd "${srcdir}/pandoc-${pkgver}"

  # To avoid having to download over a gigabyte of haskell makedepends (400-ish for ghc, plus 750 in libs), we
  # just yoink the binary from static compiled binary distributed by pandoc:
  mkdir -p "${pkgdir}/usr/share/pandoc"
  cp -R bin share "${pkgdir}/usr"

  # We're still missing all the datafiles and so on. We get those from the source tarball...
  cp -R data "${pkgdir}/usr/share/pandoc/"
  cp COPYRIGHT MANUAL.txt "${pkgdir}/usr/share/pandoc/"
}

letorbi commented on 2023-09-05 12:32 (UTC) (edited on 2023-09-15 08:21 (UTC) by letorbi)

The texlive packages have been reorganized since June 18th and the new texlive-basic package does not contain all tools that texlive-core did.

Therefore I had to install the additional packages texlive-latex, texline-latexrecommended and texlive-fontsrecommended in order to convert Markdown to PDF. I would be nice, if these could be added as optional dependencies.

Another person also mentioned, that the packages texlive-pictures and texlive-latexextra are required as well. But I cannot confirm this.

dangpzanco commented on 2023-08-27 14:21 (UTC)

Last version is 3.1.6.2, see: https://github.com/jgm/pandoc/releases/tag/3.1.6.2

The out-of-date flag by @shmilee doesn't mention the version number.

shmilee commented on 2023-08-06 07:20 (UTC) (edited on 2023-08-06 07:21 (UTC) by shmilee)

PKGBUILD needs update to distinguish x86_64, aarch64 source file.

[$] LC_ALL=C makepkg --allsource                                                         :( 1
==> Making package: pandoc-bin 3.1.6-1 (Sun Aug  6 15:19:52 2023)
==> Retrieving sources...
  -> Found pandoc-bin-source-3.1.6.tar.gz
  -> Found pandoc-bin-bin-3.1.6.tar.gz
  -> Found pandoc-bin-bin-3.1.6.tar.gz
==> Validating source files with sha256sums...
    pandoc-bin-source-3.1.6.tar.gz ... Passed
==> Validating source_x86_64 files with sha256sums...
    pandoc-bin-bin-3.1.6.tar.gz ... Passed
==> Validating source_aarch64 files with sha256sums...
    pandoc-bin-bin-3.1.6.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

Kunda commented on 2023-07-07 16:54 (UTC)

v3.1.5 has been released
https://github.com/jgm/pandoc/releases/tag/3.1.5