Your message dated Mon, 18 May 2009 10:02:29 +0000
with message-id <e1m5zfx-00047n...@ries.debian.org>
and subject line Bug#528380: fixed in libgphoto2 2.4.6-1
has caused the Debian Bug report #528380,
regarding libgphoto2: FTBFS on GNU/kFreeBSD
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
528380: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528380
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libgphoto2
Version: 2.4.5-1
Severity: important
Tags: patch
User: glibc-bsd-de...@lists.alioth.debian.org
Usertags: kfreebsd
libgphoto2 version 2.4.5-1 fails to build on GNU/kFreeBSD with two small
issues. Please find below a patch to fix that. Some comments:
- there is no udev on GNU/kFreeBSD, so udev related file should not
tried to be installed (as they are also not installed by 'make
install')
- camlibs/ptp2/config.c uses 'struct in_addr', but does not explictely
includes <netinet/in.h>. On GNU/Linux it works as this header is
included through libgphoto2/gphoto2-endian.h.
diff -u libgphoto2-2.4.5/debian/rules libgphoto2-2.4.5/debian/rules
--- libgphoto2-2.4.5/debian/rules
+++ libgphoto2-2.4.5/debian/rules
@@ -83,12 +83,15 @@
debian/libgphoto2-$(major)/usr/share/doc/libgphoto2-$(major)
mv debian/libgphoto2-port0/usr/share/doc/libgphoto2_port \
debian/libgphoto2-port0/usr/share/doc/libgphoto2-port0
+
+ifeq ($(DEB_HOST_ARCH_OS),linux)
install -D packaging/generic/check-ptp-camera
debian/libgphoto2-$(major)/lib/udev/check-ptp-camera
rm debian/tmp/usr/lib/udev/check-ptp-camera
-test -e debian/tmp/usr/lib/udev/check-mtp-device && \
mkdir -p debian/libgphoto2-port0/lib/udev && \
mv debian/tmp/usr/lib/udev/check-mtp-device \
debian/libgphoto2-port0/lib/udev/check-mtp-device
+endif
# remove *.la files before trying to remove debian/tmp
find debian/tmp/usr/lib -name '*.la' -maxdepth 1 -type f -delete
diff -u libgphoto2-2.4.5/debian/patches/series
libgphoto2-2.4.5/debian/patches/series
--- libgphoto2-2.4.5/debian/patches/series
+++ libgphoto2-2.4.5/debian/patches/series
@@ -4,0 +5 @@
+80_kfreebsd
only in patch2:
unchanged:
--- libgphoto2-2.4.5.orig/debian/patches/80_kfreebsd
+++ libgphoto2-2.4.5/debian/patches/80_kfreebsd
@@ -0,0 +1,10 @@
+--- a/camlibs/ptp2/config.c
++++ b/camlibs/ptp2/config.c
+@@ -24,6 +24,7 @@
+ #include <string.h>
+ #include <stdio.h>
+ #include <time.h>
++#include <netinet/in.h>
+
+ #include <gphoto2/gphoto2-library.h>
+ #include <gphoto2/gphoto2-port-log.h>
-- System Information:
Debian Release: squeeze/sid
Architecture: kfreebsd-i386 (i686)
Kernel: kFreeBSD 7.1-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- End Message ---
--- Begin Message ---
Source: libgphoto2
Source-Version: 2.4.6-1
We believe that the bug you reported is fixed in the latest version of
libgphoto2, which is due to be installed in the Debian FTP archive:
libgphoto2-2-dev_2.4.6-1_amd64.deb
to pool/main/libg/libgphoto2/libgphoto2-2-dev_2.4.6-1_amd64.deb
libgphoto2-2_2.4.6-1_amd64.deb
to pool/main/libg/libgphoto2/libgphoto2-2_2.4.6-1_amd64.deb
libgphoto2-port0_2.4.6-1_amd64.deb
to pool/main/libg/libgphoto2/libgphoto2-port0_2.4.6-1_amd64.deb
libgphoto2_2.4.6-1.diff.gz
to pool/main/libg/libgphoto2/libgphoto2_2.4.6-1.diff.gz
libgphoto2_2.4.6-1.dsc
to pool/main/libg/libgphoto2/libgphoto2_2.4.6-1.dsc
libgphoto2_2.4.6.orig.tar.gz
to pool/main/libg/libgphoto2/libgphoto2_2.4.6.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 528...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Cyril Brulebois <k...@debian.org> (supplier of updated libgphoto2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 18 May 2009 10:03:08 +0200
Source: libgphoto2
Binary: libgphoto2-2-dev libgphoto2-port0 libgphoto2-2
Architecture: source amd64
Version: 2.4.6-1
Distribution: unstable
Urgency: low
Maintainer: Debian PhotoTools Maintainers
<pkg-phototools-devel@lists.alioth.debian.org>
Changed-By: Cyril Brulebois <k...@debian.org>
Description:
libgphoto2-2 - gphoto2 digital camera library
libgphoto2-2-dev - gphoto2 digital camera library (development files)
libgphoto2-port0 - gphoto2 digital camera port library
Closes: 523957 528380
Changes:
libgphoto2 (2.4.6-1) unstable; urgency=low
.
* New upstream release.
* Fix FTBFS on GNU/kFreeBSD, thanks to Aurélien Jarno (Closes: #528380):
- Only install udev-related files on Linux architectures.
- Add a patch to fix a missing include (“struct in_addr” comes from
<netinet/in.h> and needs to be explicitly included when on a
non-Linux architecture): 80_kfreebsd
* No longer call “udev reload”, rules files are said to be reloaded
automatically (Closes: #523957):
- debian/libgphoto2-2.post{inst,rm}
Checksums-Sha1:
5bd42f4edcb7d9a4baaf165c95c6a08b44a2f08a 1602 libgphoto2_2.4.6-1.dsc
c32cc057af2cc1815aebd6f8d833f479a066082a 6393118 libgphoto2_2.4.6.orig.tar.gz
7caa001663130e552009cac00c7afd6cb2310d7e 21911 libgphoto2_2.4.6-1.diff.gz
f78bc28f0f629ca9b8af638546bdaa0615e98b89 4728528
libgphoto2-2-dev_2.4.6-1_amd64.deb
9bb0c59702c3f1bc5883dbdfbfe35ddbe238b488 140962
libgphoto2-port0_2.4.6-1_amd64.deb
b0a6440e7f85913dd35e4ab017d195033dfd9591 1580866 libgphoto2-2_2.4.6-1_amd64.deb
Checksums-Sha256:
50c7721f960c9654075cfd2c020cfb45c6af07e1601bcc8f3ebd5702ccbe92f4 1602
libgphoto2_2.4.6-1.dsc
95bd3b5713e03ee93306b3e7a2c84022d7eb2b5a2c4f1d257a0a5a5e3aed81f6 6393118
libgphoto2_2.4.6.orig.tar.gz
4a3899c34297a45107336409dbf343606cb435e50b6804625871f1af3dae05f3 21911
libgphoto2_2.4.6-1.diff.gz
f20a2f1959652df74ca7471d41bead4c7bf4ed3d768f48bf524667bb9618322f 4728528
libgphoto2-2-dev_2.4.6-1_amd64.deb
cada0b40203497fd7eb5106432a63fa6e05102ddc5a3b96de7ff5acdda1464c0 140962
libgphoto2-port0_2.4.6-1_amd64.deb
a32fc9dcbce43052efcbb2aa467254aeb5c91f469fc094dd1d20f66813bb726c 1580866
libgphoto2-2_2.4.6-1_amd64.deb
Files:
f82e8345ff5e4a8495fe89a666ce5de5 1602 libs optional libgphoto2_2.4.6-1.dsc
3ad331acbe7e6ff4601705d504bdff94 6393118 libs optional
libgphoto2_2.4.6.orig.tar.gz
71cc41e1ccb8243cecdcca34b704a015 21911 libs optional libgphoto2_2.4.6-1.diff.gz
5efb51e84369dc49f66893c1000f48b7 4728528 libdevel optional
libgphoto2-2-dev_2.4.6-1_amd64.deb
86600f45aa96bbc76cb0754339de1b32 140962 libs optional
libgphoto2-port0_2.4.6-1_amd64.deb
4c3770073e1c6ea38051885fadaa4a49 1580866 libs optional
libgphoto2-2_2.4.6-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkoRLLAACgkQeGfVPHR5Nd1HxgCeKXygSqu/5JVM0uR4tE+u3XqG
bcoAni8e5v2UxkCUapqg0eDPZy3Cn8q/
=jPq0
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-phototools-devel mailing list
Pkg-phototools-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-phototools-devel