Package Details: diffpdf 2.1.3.1-1

Git Clone URL: https://aur.archlinux.org/diffpdf.git (read-only)
Package Base: diffpdf
Description: Diffing pdf files visually or textually
Upstream URL: https://gitlab.com/eang/diffpdf
Licenses: GPL2
Submitter: hdhoang
Maintainer: chelqo
Last Packager: chelqo
Votes: 73
Popularity: 2.460839
First Submitted: 2010-10-16 04:19
Last Updated: 2017-06-09 16:31

Latest Comments

msauter commented on 2018-04-24 09:47

@chelqo The package did not build any more due to a checksum error and a changed directory name in the source archive. The following should work again.

# Contributor: Hoàng Đức Hiếu <arch@zahe.me>
# Contributor: Fernando
# Contributor: Manfred Sauter
# Maintainer : Marcos Heredia <chelqo@gmail.com>

pkgname=diffpdf
pkgver=2.1.3.1
pkgrel=2
pkgdesc="Diffing pdf files visually or textually"
#url="http://www.qtrac.eu/diffpdf-foss.html"
url="https://gitlab.com/eang/diffpdf"
#screenshot="http://www.qtrac.eu/diffpdf.png"
screenshot="https://gitlab.com/eang/diffpdf/blob/master/images/icon.png"
license=('GPL2')
arch=('i686' 'x86_64')
depends=('poppler-qt5')
makedepends=('cmake' 'extra-cmake-modules' 'qt5-tools')
source=("https://gitlab.com/eang/diffpdf/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
md5sums=('e838cda78d763495e0c0671f704c7059')

build() {
  cd ${srcdir}/${pkgname}-v${pkgver}/
  #git clone https://gitlab.com/eang/diffpdf.git
  cmake -D CMAKE_INSTALL_PREFIX="/usr" .
  make
}

package() {
  cd ${srcdir}/${pkgname}-v${pkgver}/
  make DESTDIR=${pkgdir} install

  _licdir=${pkgdir}/usr/share/licenses/${pkgname}
  _tradir=${pkgdir}/usr/share/${pkgname}/translations
  install -dpm755 ${_licdir} ${_tradir}
  install -Dpm644 gpl-2.0.txt ${_licdir}/
  install -Dpm644 *.qm ${_tradir}/
}

chelqo commented on 2017-12-12 22:29

@zork, your cmake error must be in something else. jsonpp is a dependency of cmake, diffpdf does not require jsonpp to run.

LANG=en pacman -Si cmake | grep Depends

Depends On : curl libarchive shared-mime-info jsoncpp libuv rhash

LANG=en pacman -Qi jsoncpp

error: package 'jsoncpp' was not found

diffpdf --help

usage: diffpdf [options] [file1.pdf [file2.pdf]]

A GUI program that compares two PDF files and shows their differences. ... ... (etc)

(diffpdf on my computer works fine and jsonpp is not installed)

zork commented on 2017-12-06 10:46

cmake: error while loading shared libraries: libjsoncpp.so.19: cannot open shared object file: No such file or directory

Missing dependency on extra/jsoncpp

chelqo commented on 2017-06-23 11:27

@bonanza, there is probably something wrong with your installation, none of the 2 files exist on my computers and the package compiles well.

Please verify the existence of the /usr/share/ECM/find-modules/FindPoppler.cmake file belonging to the extra-cmake-modules package.

illogical123 commented on 2017-06-21 11:50

While trying to build the latest version from here, I get:


CMake Error at CMakeLists.txt:25 (find_package):
By not providing "FindPoppler.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Poppler", but
CMake did not find one.

Could not find a package configuration file provided by "Poppler" with any
of the following names:

PopplerConfig.cmake
poppler-config.cmake

Add the installation prefix of "Poppler" to CMAKE_PREFIX_PATH or set
"Poppler_DIR" to a directory containing one of the above files. If
"Poppler" provides a separate development package or SDK, be sure it has
been installed.


is there something wrong with my setup or is something missing the PKGBUILD?

chelqo commented on 2017-06-09 16:44

Testing the package on other machines detected the lack of qt5-tools as a dependency.
(I add to array makedepends() without modifying pkgver/pkgrel)

piater commented on 2017-06-09 13:41

In my case, build failed with

CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5LinguistTools"

Adding 'qt5-tools' to makedepends fixes it.

chelqo commented on 2017-06-01 17:06

Great news @eang !!
Let me analyze the new package and let you know as soon as possible.

eang commented on 2017-05-13 15:19

FYI I ported diffpdf to Qt5/cmake: https://gitlab.com/eang/diffpdf

Let me know if you will update this package, otherwise I can create a different one (diffpdf-qt5 or something).

chelqo commented on 2015-12-20 15:53

http://stackoverflow.com/questions/7704480/why-does-git-commit-not-save-my-changes

All comments