Package Details: asciidoctor-pdf 2.3.15-1

Git Clone URL: https://aur.archlinux.org/asciidoctor-pdf.git (read-only, click to copy)
Package Base: asciidoctor-pdf
Description: Translate asciidoctor directly to pdf
Upstream URL: https://github.com/asciidoctor/asciidoctor-pdf
Licenses: MIT
Submitter: gaelic
Maintainer: carsme
Last Packager: carsme
Votes: 13
Popularity: 0.101377
First Submitted: 2019-02-19 13:13 (UTC)
Last Updated: 2024-04-01 08:43 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

<deleted-account> commented on 2021-01-18 08:43 (UTC)

Hello.

What do you mean by outdated binaries? All dependencies exist and installable

$ yay -Q --provides 'ruby-ttfunk<1.6'
ruby-ttfunk-1.5 1.5.1-3
$ yay -Q --provides 'ruby-css_parser<1.7'
ruby-css_parser-1.6 1.6.0-2

xmrdo commented on 2021-01-17 16:38 (UTC)

Depends on outdated binaries. Can't be installed

: no results found for ruby-ttfunk<1.6 (dependency tree: asciidoctor-pdf ruby-prawn-icon ruby-prawn ruby-ttfunk) :: no results found for ruby-css_parser<1.7 (dependency tree: asciidoctor-pdf ruby-prawn-svg ruby-css_parser) :: no results found for ruby-pdf-core<0.8 (dependency tree: asciidoctor-pdf ruby-prawn-icon ruby-prawn ruby-pdf-core)

<deleted-account> commented on 2020-11-26 07:44 (UTC)

Hi,

Thanks for reporting.

The problem is that one of dependencies is broken (specifically ruby-pdf-reader: it is hardly dependent on ruby-ascii85 version 1.0.x, and ruby-ascii85 is now 1.1.0). I've built package ruby-ascii85-1.0 to satisfy the dependency.

What you can do is one of those:

  • Report to ruby-pdf-reader maintainer for him to fix dependencies (change ruby-ascii85 to ruby-ascii85<1.1).
  • Just install ruby-ascii85-1.0 explicitly.
  • (The ugliest) Fix dependency manually in /usr/lib/ruby/gems/2.7.0/specifications/pdf-reader-2.4.1.gemspec. Find line with Ascii85 and change version ~ 1.0.0 to ~ 1.0.

k8ie commented on 2020-11-26 00:35 (UTC)

I just installed this and this happens when I start asciidoctor-pdf:

Traceback (most recent call last):
        16: from /usr/bin/asciidoctor-pdf:23:in `<main>'
        15: from /usr/lib/ruby/2.7.0/rubygems.rb:297:in `activate_bin_path'
        14: from /usr/lib/ruby/2.7.0/rubygems.rb:297:in `synchronize'
        13: from /usr/lib/ruby/2.7.0/rubygems.rb:298:in `block in activate_bin_path'
        12: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1371:in `activate'
        11: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1389:in `activate_dependencies'
        10: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1389:in `each'
         9: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1403:in `block in activate_dependencies'
         8: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1371:in `activate'
         7: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1389:in `activate_dependencies'
         6: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1389:in `each'
         5: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1403:in `block in activate_dependencies'
         4: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1371:in `activate'
         3: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1389:in `activate_dependencies'
         2: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1389:in `each'
         1: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1400:in `block in activate_dependencies'
/usr/lib/ruby/2.7.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'Ascii85' (~> 1.0.0) - did find: [Ascii85-1.1.0] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/satcom886/.gem/ruby/2.7.0:/usr/lib/ruby/gems/2.7.0', execute `gem env` for more information

<deleted-account> commented on 2020-06-04 17:51 (UTC)

ruby-ttfunk<1.6 is provided by ruby-ttfunk-1.5 package. You can see it in the "Dependencies" section above: ruby-ttfunk<1.6 (ruby-ttfunk-1.5) with a link. I use yay as aur helper and it can resolve dependencies fine. Don't know about other aur helpers. FWIW, the same situation is with ruby-prawn (depends on ruby-pdf-core-0.7). Unfortunately, this versions are locked in upstream. If your aur helper cannot resolve dependencies or you build manually, you can start with building ruby-css_parser-1.6, ruby-pdf-core-0.7 and ruby-ttfunk-1.5. These are all required versioned packages.

I'm quite new to the arch packaging, but I think proper implemented aur helper must resolve these dependencies. If you have better idea of how it should be done, please share.

EDIT: fix typos

christianlupus commented on 2020-06-04 17:03 (UTC)

At the moment this package requires ruby-ttfunk<1.6. The corresponding AUR package is only available for version 1.6.2.1-1 at the moment of writing. This will cause problems with the dependency checking during building.

<deleted-account> commented on 2020-06-03 17:37 (UTC)

There should be no problem with dependencies

<deleted-account> commented on 2020-05-25 23:14 (UTC)

Hey, thanks for packaging!

Are you planning updating the package? If yes, please, add proper dependencies. I've packaged missed ones. I've tested this PKGBUILD which works for me.

gpol commented on 2019-12-01 22:20 (UTC)

Running this command gem install --pre asciidoctor-pdf solve the dependencies.

jfernandz commented on 2019-11-29 18:08 (UTC) (edited on 2019-11-29 18:14 (UTC) by jfernandz)

I think the same, about gems dependencies, I not find ideal the manual install for all of them. Moreover ... there is a unresolved dependency that I don't think can be resolved anymore.

$ asciidoctor-pdf Compuestos.adoc
Traceback (most recent call last):
        8: from /usr/bin/asciidoctor-pdf:23:in `<main>'
        7: from /usr/lib/ruby/2.6.0/rubygems.rb:304:in `activate_bin_path'
        6: from /usr/lib/ruby/2.6.0/rubygems.rb:304:in `synchronize'
        5: from /usr/lib/ruby/2.6.0/rubygems.rb:305:in `block in activate_bin_path'
        4: from /usr/lib/ruby/2.6.0/rubygems/specification.rb:1417:in `activate'
        3: from /usr/lib/ruby/2.6.0/rubygems/specification.rb:1435:in `activate_dependencies'
        2: from /usr/lib/ruby/2.6.0/rubygems/specification.rb:1435:in `each'
        1: from /usr/lib/ruby/2.6.0/rubygems/specification.rb:1446:in `block in activate_dependencies'
/usr/lib/ruby/2.6.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'treetop' (~> 1.5.0) - did find: [treetop-1.6.10] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/wyre/.gem/ruby/2.6.0:/usr/lib/ruby/gems/2.6.0', execute `gem env` for more information

$ gem install treetop -v 1.5.0   
ERROR:  Could not find a valid gem 'treetop' (= 1.5.0) in any repository
ERROR:  Possible alternatives: treetop

I mean, I cannot install 'treetop=1.5.0' because there is not available in the repos. What do you suggest?

EDIT: Here https://discuss.asciidoctor.org/asciidoctor-pdf-treetop-td7029.html mojavelinux is suggestion that you could use RVM to manage the ruby dependencies. Unfortunately the AUR package https://aur.archlinux.org/packages/rvm/ is orphaned and out of date :(