Package Details: pandoc-crossref-bin 0.3.17.0.e-1

Git Clone URL: https://aur.archlinux.org/pandoc-crossref-bin.git (read-only, click to copy)
Package Base: pandoc-crossref-bin
Description: Pandoc filter for cross-references - executable only
Upstream URL: https://github.com/lierdakil/pandoc-crossref/
Keywords: crossref pandoc
Licenses: GPL2
Conflicts: pandoc-crossref
Provides: pandoc-crossref
Replaces: haskell-pandoc-crossref-bin, pandoc-crossref-lite, pandoc-crossref-static
Submitter: eNV25
Maintainer: eNV25
Last Packager: eNV25
Votes: 8
Popularity: 0.000006
First Submitted: 2022-02-03 15:11 (UTC)
Last Updated: 2024-03-08 09:08 (UTC)

Dependencies (1)

Required by (2)

Sources (1)

Latest Comments

eNV25 commented on 2022-03-05 04:48 (UTC)

Fixed

shirshendu commented on 2022-03-04 10:20 (UTC) (edited on 2022-03-04 10:27 (UTC) by shirshendu)

Tried to install pandoc-crossref in Manjaro 21.2.4; pandoc-crossref-0.3.12.2a.tar.xz fails check. Probably the sha512sum should be updated.

~ ❯ yay -S pandoc-crossref-bin
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  pandoc-crossref-bin-0.3.12.2a-1

:: (1/1) Downloaded PKGBUILD: pandoc-crossref-bin
  1 pandoc-crossref-bin              (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: pandoc-crossref-bin
==> Making package: pandoc-crossref-bin 0.3.12.2a-1 (Friday 04 March 2022 03:49:33 PM)
==> Retrieving sources...
  -> Downloading pandoc-crossref-0.3.12.2a.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   665  100   665    0     0   1036      0 --:--:-- --:--:-- --:--:--  1035
100 6784k  100 6784k    0     0  1187k      0  0:00:05  0:00:05 --:--:-- 1632k
==> Validating source files with sha256sums...
    pandoc-crossref-0.3.12.2a.tar.xz ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: pandoc-crossref-bin 
         context: exit status 1 


==> Making package: pandoc-crossref-bin 0.3.12.2a-1 (Friday 04 March 2022 03:49:41 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found pandoc-crossref-0.3.12.2a.tar.xz
==> Validating source files with sha256sums...
    pandoc-crossref-0.3.12.2a.tar.xz ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error making: pandoc-crossref-bin

eNV25 commented on 2022-02-05 05:03 (UTC)

I don't think I can make it depends=(pandoc), but I can probably make it depends=("pandoc>=${_pandoc_pkgver}"). pandoc-crossref's binary releases are compiled for specific versions of pandoc. The current version of community/pandoc is 2.14.2 but aur/pandoc-bin is 2.17.0.1. Do you think it should use '>=' or '='?

If you want to use pandoc-crossref with community/pandoc you should probably use community/pandoc-crossref. If you want to use a custom pandoc you should probably compile pandoc-crossref yourself. Maybe aur/pandoc-crossref can be made?

I got the following warning message when I tried to use aur/pandoc-crossref-bin with community/pandoc:

$ pandoc -F pandoc-crossref <(curl -sSL https://raw.githubusercontent.com/lierdakil/pandoc-crossref/master/docs/demo/demo.md) -o demo.html
[WARNING] Could not deduce format from file extension 
  Defaulting to markdown
WARNING: pandoc-crossref was compiled with pandoc 2.17.0.1 but is being run through 2.14.2. This is not supported. Strange things may (and likely will) happen silently.

alerque commented on 2022-02-03 20:57 (UTC)

Can you please change the dependencies on this to be depends=(pandoc)? It is quite likely that people than want this -bin also want that one, but there are also other options. For example I have a Pandoc fork that also has AUR packages that provide pandoc that would work. The same goes for pandoc-git which would also work.

alerque commented on 2022-02-03 12:22 (UTC)

That "history" is useless, I'm sorry but Jason should know better than that how the AUR works.

I don't know what the actual history is but it probably revolves around duplicates and somebody's choice of which direction to merge. Note that the official packages have also changed names from being prefixed with Haskell to dropping said prefix, so this was probably done at a time when they matched.

I suggest reviving the "plain" name which does make more sense. You can do so by cloning the git repo, replacing the contents with this PKGBUILD (after renaming the pkgname of course), then uploading it as a new commit. Once the new commit comes across the AUR page for it should revive. Then you can file a merge request to have this package merged into that one (which will bring votes and comments as such). Lastly once the merge is done you should bump the pkgrel and add provides/conflicts/replaces for this old name and remove them what is now the canonical name.

jadelord commented on 2022-02-03 11:26 (UTC)

Thankx eNV25. For some history: https://bbs.archlinux.org/viewtopic.php?id=247339

eNV25 commented on 2022-02-03 11:18 (UTC) (edited on 2022-02-03 11:19 (UTC) by eNV25)

I picked with package up because I thought it wouldn't be too hard to maintain.

I don't know why this package is called haskell-pandoc-crossref-bin and not pandoc-crossref-bin. pandoc-crossref-bin doesn't exist and the community package is called pandoc-crossref.

ryshglene commented on 2021-04-04 15:01 (UTC)

Looks like it is now possible to update.

jadelord commented on 2021-03-24 09:13 (UTC)

I am willing to update this package, but I am waiting for pandoc-bin to update. Otherwise I might break compatibility.