tags 697221 + pending
thanks

Dear maintainer,

I've prepared an NMU for motion (versioned as 3.2.12-3.3) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru motion-3.2.12/debian/changelog motion-3.2.12/debian/changelog
--- motion-3.2.12/debian/changelog	2012-06-06 12:25:16.000000000 +0200
+++ motion-3.2.12/debian/changelog	2013-01-05 19:25:43.000000000 +0100
@@ -1,3 +1,14 @@
+motion (3.2.12-3.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Properly find MySQL in /usr/lib/$(DEB_HOST_MULTIARCH).
+    + Build-Depend on dpkg-dev >= 1.16
+    + Get DEB_HOST_MULTIARCH from dpkg-architecture.
+    + Pass --with-mysql-dir=/usr/lib/$(DEB_HOST_MULTIARCH) to configure.
+    Closes: #697221
+
+ -- Evgeni Golov <evg...@debian.org>  Thu, 03 Jan 2013 12:00:38 +0100
+
 motion (3.2.12-3.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru motion-3.2.12/debian/control motion-3.2.12/debian/control
--- motion-3.2.12/debian/control	2012-06-06 11:36:07.000000000 +0200
+++ motion-3.2.12/debian/control	2013-01-05 19:25:27.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Juan Angulo Moreno <j...@apuntale.com>
 HomePage: http://motion.sf.net
-Build-Depends: debhelper (>= 6), dh-autoreconf, libjpeg-dev, zlib1g-dev, libavcodec-dev, libavformat-dev, libpq-dev, libmysqlclient-dev, libv4l-dev
+Build-Depends: debhelper (>= 6), dpkg-dev (>= 1.16), dh-autoreconf, libjpeg-dev, zlib1g-dev, libavcodec-dev, libavformat-dev, libpq-dev, libmysqlclient-dev, libv4l-dev
 Standards-Version: 3.9.2
 
 Package: motion
diff -Nru motion-3.2.12/debian/rules motion-3.2.12/debian/rules
--- motion-3.2.12/debian/rules	2012-06-06 12:24:30.000000000 +0200
+++ motion-3.2.12/debian/rules	2013-01-05 19:25:27.000000000 +0100
@@ -3,7 +3,7 @@
 
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
+DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 CFLAGS = -Wall -g
 LDFLAGS = -Wl,--as-needed
@@ -32,6 +32,7 @@
 		--sysconfdir=/etc/motion \
 		--with-ffmpeg \
 		--with-mysql \
+		--with-mysql-lib=/usr/lib/$(DEB_HOST_MULTIARCH) \
 		--with-pgsql \
 		--without-optimizecpu \
 		--without-jpeg-mmx

Reply via email to