Package Details: dpsprep-git 2.2.10-1

Git Clone URL: https://aur.archlinux.org/dpsprep-git.git (read-only, click to copy)
Package Base: dpsprep-git
Description: A DjVu to PDF converter with a focus on small output size and the ability to preserve document outlines and text layers
Upstream URL: https://github.com/kcroker/dpsprep
Licenses: GPL3
Submitter: dark-saber
Maintainer: ianis
Last Packager: ianis
Votes: 3
Popularity: 0.071941
First Submitted: 2015-07-10 10:29 (UTC)
Last Updated: 2024-10-24 23:18 (UTC)

Latest Comments

1 2 Next › Last »

ianis commented on 2024-09-10 23:08 (UTC)

@marcool04 Done

marcool04 commented on 2024-09-10 15:15 (UTC)

python-poetry is a missing make-depend. Builds fine once that is added. Otherwise it fails with

==> Starting build()...                                                                                                                  
* Getting build dependencies for wheel...                                                                                                

Traceback (most recent call last):                                                                                                       
  File "/usr/lib/python3.12/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook                                             
    raise BackendUnavailable(                                                                                                            
pyproject_hooks._impl.BackendUnavailable: Cannot import 'poetry.core.masonry.api'                                                        

ERROR Backend 'poetry.core.masonry.api' is not available. 

zoe commented on 2023-10-09 18:49 (UTC) (edited on 2023-10-09 19:07 (UTC) by zoe)

This package can no longer be built due to this error :

        install: omission du répertoire '/datalocal/data0/yay_buildDir/001-buildDir/dpsprep-git/src/dpsprep/dpsprep'
        ==> ERREUR : Une erreur s’est produite dans package().
            Abandon…
         -> error making: dpsprep-git-exit status 4
         -> Failed to install the following packages. Manual intervention is required:
        dpsprep-git - exit status 4

The tree of srcdir is :

          └── src
              └── dpsprep
                  ├── bin
                  │   └── dpsprep
                  ├── dpsprep
                  │   ├── conftest.py
                  │   ├── dpsprep.py
                  │   ├── images.py
                  │   ├── __init__.py
                  │   ├── invisible1.ttf
                  │   ├── logging.py
                  │   ├── __main__.py
                  │   ├── optimize.py
                  │   ├── outline.py
                  │   ├── pdf.py
                  │   ├── py.typed
                  │   ├── sexpr.py
                  │   ├── test_images.py
                  │   ├── test_text.py
                  │   ├── text.py
                  │   └── workdir.py
                  ├── dpsprep.1
                  ├── dpsprep.1.ronn
                  ├── fixtures
                  │   ├── lipsum_01.png
                  │   ├── lipsum_01.txt
                  │   ├── lipsum_lines.djvu
                  │   ├── lipsum.pdf
                  │   ├── lipsum.tex
                  │   ├── lipsum_words.djvu
                  │   └── makefile
                  ├── LICENSE
                  ├── makefile
                  ├── poetry.lock
                  ├── pyproject.toml
                  └── README.md

So, the line in PKGBUILD :

      install -D -m755 "$srcdir/$_gitname/dpsprep" "$pkgdir/usr/bin/dpsprep"

cannot be run, because

      $srcdir/$_gitname/dpsprep

is a directory :

      [src/dpsprep/dpsprep]

not a file.

Thank you for maintaining !!

dreieck commented on 2023-05-12 12:26 (UTC)

python-argparse must be removed from the depends array, see ↗ here.

Thanks for maintaining!

ianis commented on 2022-04-05 15:59 (UTC) (edited on 2022-04-05 15:59 (UTC) by ianis)

This package can no longer be built due to https://github.blog/2021-09-01-improving-git-protocol-security-github/

Replacing https:// with git+https:// works.

ianis commented on 2022-02-09 18:33 (UTC)

The project is now compatible with Python 3 and uses /usr/bin/python. Can we update the explicit python2 dependencies? That would only leave the implicit python2 dependency from ocrodjvu, which will likely be removed after the porting to Python 3 there is done.

dark-saber commented on 2020-01-03 21:06 (UTC)

frangio:

Fixed, thank you!

frangio commented on 2019-12-14 21:38 (UTC)

I found necessary to also install the following packages: ruby-nokogiri, java-commons-lang

dark-saber commented on 2017-02-20 17:13 (UTC)

Maxr: I guess that's because Ruby gems get installed into /usr/lib/ruby/gems/$RUBY_VERSION/ directory, so they have to be reinstalled after every major Ruby update. While Ruby gems from official repos update simultaneously with the main Ruby package, we have to reinstall Ruby packages from AUR manually. Also I've came across the similar problem with Python AUR packages, they had to be reinstalled too after update from 3.5 to 3.6. This and also one tricky problem with segfaults, which was caused by some AUR Qt package, made me come into a habit of reinstalling all AUR packages every month or so, using something like: pacaur -S --noconfirm $(pacaur -Qqm)