# HG changeset patch # User Hans-G?nter Theisgen # Date 1578991150 -3600 # Node ID 38376338ffe3ab64a1d9749d91665f988891734a # Parent 3bc72486e3963a70945a912eb6345ce78408b68a created recipe for diffpdf diff -r 3bc72486e396 -r 38376338ffe3 diffpdf/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/diffpdf/description.txt Tue Jan 14 09:39:10 2020 +0100 @@ -0,0 +1,9 @@ +diffpdf is used to compare two PDF files. + +By default the comparison is of the words on each pair of pages, +but comparing character by character is also supported (e.g., for +logographic languages). +And there's also support for comparing the pages by appearance +(for example, if a diagram is changed or if a paragraph is +reformatted, or a font changed). +It is also possible to compare particular pages or page ranges. diff -r 3bc72486e396 -r 38376338ffe3 diffpdf/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/diffpdf/receipt Tue Jan 14 09:39:10 2020 +0100 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="diffpdf" +VERSION="2.1.3" +CATEGORY="utilities" +SHORT_DESC="PDF files comparator." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://gitlab.com/eang/diffpdf" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://www.qtrac.eu/$TARBALL" + +DEPENDS="poppler-qt4" +BUILD_DEPENDS="poppler-qt4-dev qmake Qt4-dev" + +# Rules to configure and make the package. +compile_rules() +{ +# export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" + +# ./configure $CONFIGURE_ARGS && + lrelease diffpdf.pro && + qmake DESTDIR=$DESTDIR && + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $install/diffpdf $fs/usr/bin +}