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

Bug#372701: marked as done (xawtv: FTBFS on GNU/kFreeBSD)



Your message dated Mon, 21 Aug 2006 16:17:24 -0700
with message-id <E1GFJ1I-0003VU-FQ@spohr.debian.org>
and subject line Bug#372701: fixed in xawtv 3.95-2
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: xawtv
Severity: important
Version: 3.94-1.2
Tags: patch

Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small changes to sources and restrict some packages
only to Linux architectures. As binary v4l-info is Linux specific,
it is moved from package xawtv into v4l-conf;
xawtv depends (on Linux) on v4l-conf, so it shouldn't be problem.

It would also be nice if you, as upstream, can include changes
into official sources.

Thanks in advance.

			Petr
diff -u xawtv-3.94/debian/control xawtv-3.94/debian/control
--- xawtv-3.94/debian/control
+++ xawtv-3.94/debian/control
@@ -1,14 +1,14 @@
 Source: xawtv
 Section: graphics
 Priority: extra
-Build-Depends: libjpeg-dev, libncurses5-dev, libx11-dev, libxext-dev, libxinerama-dev, libxmu-dev, libxpm-dev, libxrandr-dev, libxt-dev, libxv-dev, libxxf86dga-dev, libxxf86vm-dev, x-dev, liblircclient-dev, debhelper (>= 4.1.16), xutils, xbase-clients, libaa1-dev, libasound2-dev, libzvbi-dev (>= 0.2.1), libquicktime-dev, libxaw7-dev, xlibmesa-gl-dev, libxft2-dev, po-debconf, libpng-dev, libglib1.2-dev, libfs-dev
+Build-Depends: libjpeg-dev, libncurses5-dev, libx11-dev, libxext-dev, libxinerama-dev, libxmu-dev, libxpm-dev, libxrandr-dev, libxt-dev, libxv-dev, libxxf86dga-dev, libxxf86vm-dev, x-dev, liblircclient-dev, debhelper (>= 4.1.16), xutils, xbase-clients, libaa1-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libzvbi-dev (>= 0.2.1), libquicktime-dev, libxaw7-dev, xlibmesa-gl-dev, libxft2-dev, po-debconf, libpng-dev, libglib1.2-dev, libfs-dev
 Maintainer: Gerd Knorr <kraxel@debian.org>
 Standards-Version: 3.6.1
 
 Package: xawtv
 Section: x11
 Architecture: any
-Depends: ${shlibs:Depends}, v4l-conf, xutils, debconf, scantv, xawtv-plugins (=${Source-Version}), pia
+Depends: ${shlibs:Depends}, ${videoconf}, xutils, debconf, scantv, xawtv-plugins (=${Source-Version}), pia
 Suggests: xawtv-plugin-qt (=${Source-Version}), tv-fonts
 Description: X11 TV application
  TV application for X11.  Supports video4linux
@@ -23,7 +23,7 @@
  playback movie files which are recorded from TV.
 
 Package: fbtv
-Architecture: any
+Architecture: i386 ia64 alpha amd64 armeb arm hppa m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc 
 Depends: ${shlibs:Depends}, v4l-conf, xawtv-plugins (=${Source-Version})
 Suggests: xawtv
 Description: linux console (fbcon) TV application
@@ -59,15 +59,16 @@
 
 Package: radio
 Section: sound
-Architecture: any
+Architecture: i386 ia64 alpha amd64 armeb arm hppa m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc 
 Depends: ${shlibs:Depends}
 Description: ncurses-based radio application
  This is a ncurses-based radio application.  It
  supports the video4linux API.
 
 Package: v4l-conf
-Architecture: any
+Architecture: i386 ia64 alpha amd64 armeb arm hppa m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc 
 Depends: ${shlibs:Depends}
+Replaces: xawtv (<= 3.94-1.2)
 Conflicts: suidmanager (<< 0.50)
 Description: tool to configure video4linux drivers
  This is a small tool to configure a video4linux
diff -u xawtv-3.94/debian/rules xawtv-3.94/debian/rules
--- xawtv-3.94/debian/rules
+++ xawtv-3.94/debian/rules
@@ -7,6 +7,8 @@
 #export DH_VERBOSE=1
 export DH_COMPAT=4
 
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
 build: build-it
 
 work:
@@ -31,7 +33,7 @@
 
 install: build-it
 	(cd $(WORK)/* && make DESTDIR=$(DEST) install)
-	dh_movefiles
+	dh_movefiles -s
 
 	# fix v4l-conf suid-root lintian warning
 	mkdir -p debian/v4l-conf/usr/share/lintian/overrides
@@ -60,12 +62,16 @@
 	dh_compress
 	dh_fixperms	-Xv4l-conf
 #	dh_makeshlibs
-	dh_installdeb
-#	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh_installdeb -s
+#	dh_perl 
+	dh_shlibdeps -s
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+	dh_gencontrol -s -- -Vvideoconf="v4l-conf"
+else
+	dh_gencontrol -s
+endif
+	dh_md5sums -s
+	dh_builddeb -s
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install
diff -u xawtv-3.94/debian/v4l-conf.files xawtv-3.94/debian/v4l-conf.files
--- xawtv-3.94/debian/v4l-conf.files
+++ xawtv-3.94/debian/v4l-conf.files
@@ -3,0 +4,2 @@
+usr/bin/v4l-info
+usr/share/man/man1/v4l-info.1
diff -u xawtv-3.94/debian/xawtv.files xawtv-3.94/debian/xawtv.files
--- xawtv-3.94/debian/xawtv.files
+++ xawtv-3.94/debian/xawtv.files
@@ -4,7 +4,6 @@
 /usr/bin/rootv
 /usr/bin/ntsc-cc
 /usr/bin/subtitles
-/usr/bin/v4l-info
 /usr/share/man/man1/v4lctl.1
 /usr/share/man/*/man1/v4lctl.1
 /usr/share/man/man1/xawtv.1
@@ -16,7 +15,6 @@
 /usr/share/man/man1/ntsc-cc.1
 /usr/share/man/man1/subtitles.1
 /usr/share/man/*/man1/subtitles.1
-/usr/share/man/man1/v4l-info.1
 /usr/share/man/man5/xawtvrc.5
 /usr/share/man/*/man5/xawtvrc.5
 /etc/X11/app-defaults/Xawtv
only in patch2:
unchanged:
--- xawtv-3.94.orig/dist/kfreebsd.diff
+++ xawtv-3.94/dist/kfreebsd.diff
@@ -0,0 +1,59 @@
+diff -ur xawtv-3.94/configure.ac xawtv-3.94/configure.ac
+--- xawtv-3.94/configure.ac	2004-08-18 17:48:09.000000000 +0200
++++ xawtv-3.94/configure.ac	2006-06-09 20:25:01.000000000 +0200
+@@ -77,6 +77,9 @@
+ 		LDLIBS="$LDLIBS -L/usr/local/lib"
+ 		FOUND_OS="bsd"
+ 		;;
++	GNU/kFreeBSD)
++		FOUND_OS="bsd"
++		;;
+ 	*)
+ 		AC_MSG_CHECKING(if xawtv will build on `uname -s`)
+ 		AC_MSG_RESULT(maybe)
+diff -ur xawtv-3.94/configure xawtv-3.94/configure
+--- xawtv-3.94/configure	2006-06-11 08:35:56.000000000 +0200
++++ xawtv-3.94/configure	2006-06-11 08:35:56.000000000 +0200
+@@ -3074,6 +3074,9 @@
+ 		LDLIBS="$LDLIBS -L/usr/local/lib"
+ 		FOUND_OS="bsd"
+ 		;;
++	GNU/kFreeBSD)
++		FOUND_OS="bsd"
++		;;
+ 	*)
+ 		echo "$as_me:$LINENO: checking if xawtv will build on \`uname -s\`" >&5
+ echo $ECHO_N "checking if xawtv will build on \`uname -s\`... $ECHO_C" >&6
+diff -ur xawtv-3.94/libng/devices.c xawtv-3.94/libng/devices.c
+--- xawtv-3.94/libng/devices.c	2004-03-25 11:35:36.000000000 +0100
++++ xawtv-3.94/libng/devices.c	2006-06-09 19:37:12.000000000 +0200
+@@ -9,7 +9,7 @@
+ /*
+  * default devices names
+  */
+-#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
+ struct ng_device_config ng_dev = {
+     video:  "/dev/bktr0",
+     radio:  NULL,
+diff -ur xawtv-3.94/vbistuff/ntsc-cc.c xawtv-3.94/vbistuff/ntsc-cc.c
+--- xawtv-3.94/vbistuff/ntsc-cc.c	2003-02-14 15:14:08.000000000 +0100
++++ xawtv-3.94/vbistuff/ntsc-cc.c	2006-06-09 19:38:23.000000000 +0200
+@@ -461,7 +461,7 @@
+ 	return 0;
+ }
+ 
+-static int RAW(int data)
++static int get_raw(int data)
+ {
+ 	int b1, b2;
+ 	if (data == -1)
+@@ -687,7 +687,7 @@
+ 				  x+1,128-buf[2048 * rawline+x*2+2]/2);
+ 		  }
+ #endif
+-		  RAW(decode(&buf[2048 * rawline]));
++		  get_raw(decode(&buf[2048 * rawline]));
+ #ifndef X_DISPLAY_MISSING
+ 		  if (debugwin) {
+ 		    XFlush(dpy);

--- End Message ---
--- Begin Message ---
Source: xawtv
Source-Version: 3.95-2

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

alevtd_3.95-2_amd64.deb
  to pool/main/x/xawtv/alevtd_3.95-2_amd64.deb
fbtv_3.95-2_amd64.deb
  to pool/main/x/xawtv/fbtv_3.95-2_amd64.deb
pia_3.95-2_amd64.deb
  to pool/main/x/xawtv/pia_3.95-2_amd64.deb
radio_3.95-2_amd64.deb
  to pool/main/x/xawtv/radio_3.95-2_amd64.deb
scantv_3.95-2_amd64.deb
  to pool/main/x/xawtv/scantv_3.95-2_amd64.deb
streamer_3.95-2_amd64.deb
  to pool/main/x/xawtv/streamer_3.95-2_amd64.deb
ttv_3.95-2_amd64.deb
  to pool/main/x/xawtv/ttv_3.95-2_amd64.deb
v4l-conf_3.95-2_amd64.deb
  to pool/main/x/xawtv/v4l-conf_3.95-2_amd64.deb
webcam_3.95-2_amd64.deb
  to pool/main/x/xawtv/webcam_3.95-2_amd64.deb
xawtv-plugin-qt_3.95-2_amd64.deb
  to pool/main/x/xawtv/xawtv-plugin-qt_3.95-2_amd64.deb
xawtv-plugins_3.95-2_amd64.deb
  to pool/main/x/xawtv/xawtv-plugins_3.95-2_amd64.deb
xawtv-tools_3.95-2_amd64.deb
  to pool/main/x/xawtv/xawtv-tools_3.95-2_amd64.deb
xawtv_3.95-2.diff.gz
  to pool/main/x/xawtv/xawtv_3.95-2.diff.gz
xawtv_3.95-2.dsc
  to pool/main/x/xawtv/xawtv_3.95-2.dsc
xawtv_3.95-2_amd64.deb
  to pool/main/x/xawtv/xawtv_3.95-2_amd64.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 372701@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated xawtv 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 ftpmaster@debian.org)


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

Format: 1.7
Date: Mon, 21 Aug 2006 23:58:28 +0200
Source: xawtv
Binary: xawtv-plugins fbtv radio ttv webcam xawtv-plugin-qt pia xawtv xawtv-tools scantv streamer alevtd v4l-conf
Architecture: source amd64
Version: 3.95-2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description: 
 alevtd     - http daemon for videotext pages
 fbtv       - linux console (fbcon) TV application
 pia        - movie player
 radio      - ncurses-based radio application
 scantv     - scan TV channels for stations
 streamer   - capture tool (images / movies)
 ttv        - tty TV application
 v4l-conf   - tool to configure video4linux drivers
 webcam     - capture and upload images
 xawtv      - X11 TV application
 xawtv-plugin-qt - quicktime plugin for xawtv and motv
 xawtv-plugins - plugins for xawtv and motv
 xawtv-tools - Miscellaneous tools distributed with xawtv
Closes: 372701 383038
Changes: 
 xawtv (3.95-2) unstable; urgency=low
 .
   * QA upload.
   * debian/po/ru.po: Add translation by Yuri Kozlov.  Closes: #383038.
   * Added support for GNU/kFreeBSD.  Closes: #372701.
Files: 
 fa44adaee3763287f3764ba44e428d41 1100 graphics extra xawtv_3.95-2.dsc
 2ca0351779effa117d469423444df30c 23758 graphics extra xawtv_3.95-2.diff.gz
 947771406bd98c4a773f7336b4e13779 251898 x11 extra xawtv_3.95-2_amd64.deb
 49fd185002c04810e07edf6d788e2613 37396 x11 extra pia_3.95-2_amd64.deb
 218de5264a4e622ca78e874ef3939b91 69348 graphics extra fbtv_3.95-2_amd64.deb
 d095e2ec1ed4ebaaabf377e5daa18b37 51184 graphics extra ttv_3.95-2_amd64.deb
 0e5d9522943092384e129e3fa5ffa74c 56448 graphics extra scantv_3.95-2_amd64.deb
 27fef47cf14b0ae7c151fd0aee3c55ad 52562 graphics extra streamer_3.95-2_amd64.deb
 da5dd5559934d598c737e7a88b2b2ca9 16348 sound extra radio_3.95-2_amd64.deb
 c0485e6dd6ef14fa8bc14e98ce7383ea 25282 graphics extra v4l-conf_3.95-2_amd64.deb
 35be51ba30f7c21e3dafd816ad3b4d8e 30290 graphics extra xawtv-tools_3.95-2_amd64.deb
 bb0ac35ec00dd01231cb4d68a5fbf7bf 14610 graphics extra xawtv-plugin-qt_3.95-2_amd64.deb
 92e99a11db24f73a8fc38f3c32e3d500 89864 graphics extra xawtv-plugins_3.95-2_amd64.deb
 3edba6642cac7edb85385c291821fd8a 36328 net extra webcam_3.95-2_amd64.deb
 dadc338a00d5f2ba6b18329bdbf36f30 32036 net extra alevtd_3.95-2_amd64.deb

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

iD8DBQFE6juZw3ao2vG823MRAq1zAKCDWnCFuXaPPz5T+n9stV8G2Kz6xwCfWNe+
vRnvdfnxJ/TFKE7LhyluFtY=
=NVkC
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: