Your message dated Fri, 31 Mar 2006 14:34:47 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#188400: fixed in qcam 0.91-12
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: qcam
Version: 0.91-11
Severity: serious
Justification: fails to build from source

Hi,

The current version of qcam has been held out of testing for a long time
because it failed to build on arm. The reason for that is that
svgalibg1-dev is no longer available on this architecture. In fact, it
can no longer be rebuilt on alpha either as of woody.

I've included a patch for this, along the same lines as the code in my
own spectemu packages. debian/rules uses dpkg-architecture to check
whether it's building for an svgalib architecture, and if not omits
everything that has anything to do with sqcam.

With this patch qcam builds successfully on at least i386, alpha, arm,
and ia64. It fails on hppa for unrelated reasons, although you may not
care given your earlier comment in the changelog for 0.91-11. :)

--- qcam-0.91.orig/debian/changelog
+++ qcam-0.91/debian/changelog
@@ -1,3 +1,15 @@
+qcam (0.91-11.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/control: Restrict svgalibg1-dev build-dependency to i386. Set
+    architecture back to "any".
+  * debian/rules: Detect whether we're building for an svgalib-capable
+    architecture (currently only i386) and omit building sqcam if we're not.
+  * debian/mk-binary: Only install sqcam-related files if we're building for
+    an svgalib-capable architecture.
+
+ -- Colin Watson <[EMAIL PROTECTED]>  Wed,  9 Apr 2003 02:32:35 +0100
+
 qcam (0.91-11) unstable; urgency=low
 
   * Changed architecture from "any" to "alpha arm i386" which are the ones
--- qcam-0.91.orig/debian/control
+++ qcam-0.91/debian/control
@@ -2,11 +2,11 @@
 Section: graphics
 Priority: extra
 Maintainer: Paul Slootman <[EMAIL PROTECTED]>
-Build-Depends: xlibs-dev, svgalibg1-dev, libjpeg62-dev
+Build-Depends: xlibs-dev, svgalibg1-dev [i386], libjpeg62-dev
 Standards-Version: 3.5.0
 
 Package: qcam
-Architecture: alpha arm i386
+Architecture: any
 Depends: ${shlibs:Depends}
 Description: QuickCam image grabber
  Tools for grabbing single frames and videos from black and white
--- qcam-0.91.orig/debian/mk-binary
+++ qcam-0.91/debian/mk-binary
@@ -5,6 +5,11 @@
 home="`pwd`"
 dest=debian/tmp
 pkgdocdir=$dest/usr/share/doc/$package
+if [ "$1" = svgalib ]; then
+       svgalib=yes
+else
+       svgalib=
+fi
 
 # Make dir.
 rm -rf $dest
@@ -12,7 +17,8 @@
 
 # Install binary.
 install -d $dest/usr/bin
-install -s probeqcam qcam make.darkmask sqcam $dest/usr/bin
+install -s probeqcam qcam make.darkmask $dest/usr/bin
+[ "$svgalib" ] && install -s sqcam $dest/usr/bin
 install -d $dest/usr/X11R6/bin
 install -s xqcam $dest/usr/X11R6/bin
 
@@ -22,13 +28,15 @@
 
 # Install manpages.
 install -d $dest/usr/X11R6/man/man1 $dest/usr/share/man/man1
-install -m644 qcam.1 make.darkmask.1 sqcam.1 probeqcam.1 
$dest/usr/share/man/man1
+install -m644 qcam.1 make.darkmask.1 probeqcam.1 $dest/usr/share/man/man1
+[ "$svgalib" ] && install -m644 sqcam.1 $dest/usr/share/man/man1
 gzip -9v $dest/usr/share/man/man1/*
 (cd $dest/usr/X11R6/man/man1; ln -s ../../../share/man/man1/qcam.1.gz 
xqcam.1.gz)
 
 # Copy docs.
 install -d -m755 $pkgdocdir
-install -m644 BUGS BUGS.sqcam INFO README README.JPEG README.sqcam $pkgdocdir
+install -m644 BUGS INFO README README.JPEG $pkgdocdir
+[ "$svgalib" ] && install -m644 BUGS.sqcam README.sqcam $pkgdocdir
 install -m644 debian/changelog $pkgdocdir/changelog.Debian
 install -m644 CHANGES $pkgdocdir/changelog
 gzip -9v $pkgdocdir/*
@@ -39,12 +47,14 @@
 # Dependencies.
 install -d -m755 $dest/DEBIAN
 cp debian/conffiles $dest/DEBIAN
-dpkg-shlibdeps qcam xqcam make.darkmask probeqcam sqcam
+dpkg-shlibdeps $dest/usr/bin/* $dest/usr/X11R6/bin/*
 
 # magic to enable using svgalib1-dummy...
-sed 's,svgalibg1,svgalibg1 | svgalib-dummyg1,' \
-       < debian/substvars > debian/substvars.new
-mv -f debian/substvars.new debian/substvars
+if [ "$svgalib" ]; then
+       sed 's,svgalibg1,svgalibg1 | svgalib-dummyg1,' \
+               < debian/substvars > debian/substvars.new
+       mv -f debian/substvars.new debian/substvars
+fi
 
 # postinst, prerm
 install -m755 debian/postinst debian/prerm $dest/DEBIAN
--- qcam-0.91.orig/debian/rules
+++ qcam-0.91/debian/rules
@@ -13,9 +13,22 @@
 
 package=qcam
 
+# Put any extra svgalib architectures here.
+svgalib_archs = i386
+
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+targets := qcam xqcam probeqcam make.darkmask
+mk_binary_arg := no-svgalib
+
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(svgalib_archs)))
+targets := $(targets) sqcam 
+mk_binary_arg := svgalib
+endif
+
 build:
        $(checkdir)
-       make
+       make $(targets)
 
        touch build
 
@@ -34,7 +47,7 @@
 binary-arch:   checkroot build
        $(checkdir)
        chmod a+x debian/mk-binary
-       ./debian/mk-binary
+       ./debian/mk-binary $(mk_binary_arg)
 
 define checkdir
        test -f debian/rules

Cheers,

-- 
Colin Watson                                  [EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Source: qcam
Source-Version: 0.91-12

We believe that the bug you reported is fixed in the latest version of
qcam, which is due to be installed in the Debian FTP archive:

qcam_0.91-12.diff.gz
  to pool/main/q/qcam/qcam_0.91-12.diff.gz
qcam_0.91-12.dsc
  to pool/main/q/qcam/qcam_0.91-12.dsc
qcam_0.91-12_i386.deb
  to pool/main/q/qcam/qcam_0.91-12_i386.deb



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Slootman <[EMAIL PROTECTED]> (supplier of updated qcam 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 31 Mar 2006 12:56:56 +0200
Source: qcam
Binary: qcam
Architecture: source i386
Version: 0.91-12
Distribution: unstable
Urgency: low
Maintainer: Paul Slootman <[EMAIL PROTECTED]>
Changed-By: Paul Slootman <[EMAIL PROTECTED]>
Description: 
 qcam       - QuickCam image grabber
Closes: 188400 347045 359562
Changes: 
 qcam (0.91-12) unstable; urgency=low
 .
   * incorporate NMU fixes, closes:#188400,#347045
   * finish /usr/doc transition, closes:#359562
   * don't install to /usr/bin/X11R6/ anymore
   * updated standards version
   * changed Build-Dependency on svgalibg1-dev to libsvga1-dev
   * Wondering if anyone actually uses this anymore...
Files: 
 c39d4af8fd1bd1541f4913d7084b1140 592 graphics extra qcam_0.91-12.dsc
 924ce479eb99089225178f7bfebadaa8 12386 graphics extra qcam_0.91-12.diff.gz
 a2a9c1a49e0a8b97489be906d4d7464f 52602 graphics extra qcam_0.91-12_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFELYfyutvvqbTW3hMRAufgAJ9DkujffrKOeRl4aJaVY4fPwtKvUACfSj4B
m06oZxTdTdgJOmk5im7ZCvE=
=4+bW
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to