Subject: pkg/32525: graphics/libexif-gtk doesn't compile
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dieter.NetBSD@pandora.be>
List: pkgsrc-bugs
Date: 01/14/2006 22:15:00
>Number: 32525
>Category: pkg
>Synopsis: graphics/libexif-gtk doesn't compile
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 14 22:15:00 +0000 2006
>Originator: dieter Roelants
>Release: NetBSD 3.99.15
>Organization:
>Environment:
System: NetBSD origin.amelgem.be 3.99.15 NetBSD 3.99.15 (ORIGIN) #31: Wed Jan 4 09:14:19 CET 2006 dieter@origin.amelgem.be:/usr/build/obj/sys/arch/i386/compile/ORIGIN i386
Architecture: i386
Machine: i386
>Description:
libexif-gtk doesn't compile, probably since a pkgsrc upgrade of
libexif. The configure program in libexif-gtk doesn't detect that
libexec >= 0.6.12 which makes the build fail later on. I
think this used to work because previous libexif version
installed a libexif.pc which included ${includedir}/libexif in its
cflags. (I don't think this is necessary though, since
libexif headers are normally included with the libexif/
dir mentioned, like "#include <libexif/exif-mem.h>".)
>How-To-Repeat:
cd graphics/libexif-gtk && make
>Fix:
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/libexif-gtk/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo 24 Feb 2005 08:45:09 -0000 1.5
+++ distinfo 14 Jan 2006 21:53:15 -0000
@@ -5,3 +5,4 @@
Size (libexif-gtk-0.3.5.tar.bz2) = 290624 bytes
SHA1 (patch-aa) = 09a0f395382542d7725d948aa11cea9f06ec5af5
SHA1 (patch-ab) = 9bda0a646d5b706c046d2819964d743708ac9e44
+SHA1 (patch-ac) = 84f0d76f2e9fb6990c5ebecb9d6b12de6cc68cd8
--- /dev/null 2006-01-14 22:54:50.000000000 +0100
+++ patches/patch-ac 2006-01-14 18:45:09.000000000 +0100
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- configure.orig 2004-10-18 21:13:47.000000000 +0200
++++ configure
+@@ -27340,7 +27340,7 @@ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+ $ac_includes_default
+-#include <exif-mem.h>
++#include <libexif/exif-mem.h>
+ _ACEOF
+ rm -f conftest.$ac_objext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+@@ -27383,7 +27383,7 @@ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+-#include <exif-mem.h>
++#include <libexif/exif-mem.h>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1