Dependencies of pdfchain and impressive and possible update of pdfpc

You think you have found a bug? Let us know about it.
Post Reply
sig11
Posts: 2
Joined: 13. May 2020, 10:17

Dependencies of pdfchain and impressive and possible update of pdfpc

Post by sig11 »

After using Salix for several years now and after having registered about half a year ago in this forum, I finally post here :-) And I start with a bug report.

On my salix 14.2 system I found the following missing dependencies:
impressive depends on (at least) pygame and python-pillow
pdfchain depends on pdftk

Furthermore, I discovered pdfpc (https://pdfpc.github.io/) which unfortunately is quite outdated (3.1.1). The last version that compiles on an up-to-date salix 14.2 seems to be pdfpc4.1.2 It requires vala and cmake to compile, and it seems it requires libgee instead of libgee1. I would try to update the build files. But all I could find was pdfpc.SlackBuild which is part of the pdfpc package. However it was installed from the salix repository (http://ftp.nluug.nl/os/Linux/distr/sali ... ix/office/) and is not a SBo. Is there a SLKBUILD somewhere?
User avatar
gapan
Salix Wizard
Posts: 6236
Joined: 6. Jun 2009, 17:40

Re: Dependencies of pdfchain and impressive and possible update of pdfpc

Post by gapan »

Hi sig11 and welcome!

Very nice first post! Thanks for the reports. I have added the missing dependencies in impressive and pdfchain (they will need to be propagated to mirrors).

As for pdfpc, you can find the sources here: http://ftp.nluug.nl/os/Linux/distr/sali ... ice/pdfpc/
It was built using the respective SlackBuild from SBo at that time.

You can also find a SlackBuild for a newer version here: https://slackbuilds.org/repository/14.2 ... arch=pdfpc
Image
Image
sig11
Posts: 2
Joined: 13. May 2020, 10:17

Re: Dependencies of pdfchain and impressive and possible update of pdfpc

Post by sig11 »

Ah, now I learned (or learned again ;) ) the difference between ./extra-14.2/ and ./14.2/ One is based on .SlackBuild files and the other on SLKBUILD files.

Yes, https://slackbuilds.org/repository/14.2 ... arch=pdfpc can be used to produce a package that works. I played with it and produced a package. I guess it could be used to upgrade http://ftp.nluug.nl/os/Linux/distr/sali ... ice/pdfpc/

Alternatively, I've created a SLKBUILD which could be used to create a more up-to-date package for 14.2

Code: Select all

#Packager: Andreas Schweitzer <sig11@bootblock.de>
#Former Packager(s): Markus Hutmacher <mailing@markhu.de>, Gregory Tourte <artourter@gmail.com>

pkgname=pdfpc
pkgver=4.1.2
pkgrel=1as
source=("https://github.com/pdfpc/pdfpc/archive/v$pkgver/pdfpc-$pkgver.tar.gz")
docs=("CHANGELOG.txt" "README.rst" ""LICENSE.txt" "FAQ.rst"" "SUPPORT.md" "CONTRIBUTORS" "rcfile-logitech" "rcfile-headset")
url="https://pdfpc.github.io/"
dotnew=("etc/pdfpcrc")
#CFLAGS=


slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"pdfpc (A presenter console with multi-monitor support for PDF files.)"
"pdfpc is a GTK based presentation viewer application which uses"
"Keynote like multi-monitor output to provide meta information to the"
"speaker during the presentation. It is able to show a normal"
"presentation window on one screen, while showing a more sophisticated"
"overview on the other one providing information like a picture of the"
"next slide, as well as the presentation's remaining time."
""
"More information, including screenshots and a demo presentation, can"
"be found at https://pdfpc.github.io/"
)


build() {
        cd $startdir/src/$pkgname-$pkgver
        mkdir -p build
        cd build
        cmake \
        -DCMAKE_C_FLAGS:STRING="$CFLAGS" \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DSYSCONFDIR=/etc \
        -DMANDIR=/usr/man \
        -DCMAKE_BUILD_TYPE=Release ..
        make
        make install DESTDIR=$startdir/pkg
        cd ..
}

The latter is what I'm using on my system right now.

Cheers,
Andreas
Post Reply