pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/qpdf qpdf: Delete reference to libjpeg in the li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c72c8dc5325e
branches:  trunk
changeset: 369699:c72c8dc5325e
user:      leot <leot%pkgsrc.org@localhost>
date:      Tue Oct 03 08:33:45 2017 +0000

description:
qpdf: Delete reference to libjpeg in the libqpdf `.pc' file

graphics/jpeg does not provide any `.pc' file this will lead in failures when
invoking pkg-config agaisnt `libqpdf'. Adjust `Requires.private:' in
libqpdf.pc.in to omit libjpeg.

Bump PKGREVISION since the new installed libqpdf.pc file will fix packages that
depends on print/qpdf.

OK by <pgoyette> and <ryoon>, thanks!

diffstat:

 print/qpdf/Makefile                    |   3 ++-
 print/qpdf/distinfo                    |   3 ++-
 print/qpdf/patches/patch-libqpdf.pc.in |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r 39df36929ff8 -r c72c8dc5325e print/qpdf/Makefile
--- a/print/qpdf/Makefile       Tue Oct 03 07:04:59 2017 +0000
+++ b/print/qpdf/Makefile       Tue Oct 03 08:33:45 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2017/09/29 21:11:40 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2017/10/03 08:33:45 leot Exp $
 
 DISTNAME=      qpdf-7.0.0
+PKGREVISION=   1
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=qpdf/}
 
diff -r 39df36929ff8 -r c72c8dc5325e print/qpdf/distinfo
--- a/print/qpdf/distinfo       Tue Oct 03 07:04:59 2017 +0000
+++ b/print/qpdf/distinfo       Tue Oct 03 08:33:45 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.12 2017/09/28 12:50:36 ryoon Exp $
+$NetBSD: distinfo,v 1.13 2017/10/03 08:33:45 leot Exp $
 
 SHA1 (qpdf-7.0.0.tar.gz) = 506002271a7e04f431014baa94dd820c47235356
 RMD160 (qpdf-7.0.0.tar.gz) = ac3026a820d41dc127823fd3cfe0c1f6af90a4b0
 SHA512 (qpdf-7.0.0.tar.gz) = 7b52d67b4d2c428a7b0c1cd03b03a23f05d38d7e3c81041079a137919019ea5158f12bf95fdcfcff6b43ffdefe93a85127ced2a363a6b4b380cbaa02a3840256
 Size (qpdf-7.0.0.tar.gz) = 7053781 bytes
+SHA1 (patch-libqpdf.pc.in) = f592899487bb958a01931afbe4ddf3c749ea103e
 SHA1 (patch-make_libtool.mk) = 8622d6a446da284269102dde38bf14271363dfdc
diff -r 39df36929ff8 -r c72c8dc5325e print/qpdf/patches/patch-libqpdf.pc.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/qpdf/patches/patch-libqpdf.pc.in    Tue Oct 03 08:33:45 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-libqpdf.pc.in,v 1.1 2017/10/03 08:33:45 leot Exp $
+
+graphics/jpeg does not provide any `.pc' files and adding it to the list of
+`Requires.private:' breaks all packages that need to retrieve pkg-config
+information for libqpdf.
+
+--- libqpdf.pc.in.orig 2017-09-16 17:22:15.000000000 +0000
++++ libqpdf.pc.in
+@@ -6,6 +6,6 @@ includedir=@includedir@
+ Name: libqpdf
+ Description: PDF transformation library
+ Version: @PACKAGE_VERSION@
+-Requires.private: zlib, libjpeg
++Requires.private: zlib
+ Libs: -L${libdir} -lqpdf
+ Cflags: -I${includedir}



Home | Main Index | Thread Index | Old Index