Package Details: pandoc-bin 3.5-1

Git Clone URL: https://aur.archlinux.org/pandoc-bin.git (read-only, click to copy)
Package Base: pandoc-bin
Description: Conversion between documentation formats
Upstream URL: https://pandoc.org
Licenses: GPL-2.0-or-later
Conflicts: pandoc-cli
Provides: pandoc, pandoc-cli
Submitter: cdkitching
Maintainer: a821
Last Packager: a821
Votes: 309
Popularity: 1.89
First Submitted: 2017-10-03 08:45 (UTC)
Last Updated: 2024-10-06 10:31 (UTC)

Dependencies (9)

Required by (330)

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

« First ‹ Previous 1 2 3 4 5 6 7 .. 10 Next › Last »

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

OmayaO commented on 2023-02-28 16:12 (UTC) (edited on 2023-02-28 16:16 (UTC) by OmayaO)

Would it be possible to add tectonic as another optional dependency for pdf output.

eclairevoyant commented on 2023-02-14 23:03 (UTC) (edited on 2023-02-14 23:03 (UTC) by eclairevoyant)

@dhruvasambrani there's no need to post long patches that are simply version updates. updpkgsums would update the checksums automatically.

@gustawho FYI the license field should be formatted as 'GPL2', not the current value.