--- mythtvfs-fuse-0.5.2.orig/debian/docs +++ mythtvfs-fuse-0.5.2/debian/docs @@ -0,0 +1 @@ +README --- mythtvfs-fuse-0.5.2.orig/debian/watch +++ mythtvfs-fuse-0.5.2/debian/watch @@ -0,0 +1,7 @@ +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Website directory +http://www.outflux.net/software/pkgs/mythtvfs-fuse/download/mythtvfs-fuse-(.*)\.tar\.gz --- mythtvfs-fuse-0.5.2.orig/debian/control +++ mythtvfs-fuse-0.5.2/debian/control @@ -0,0 +1,19 @@ +Source: mythtvfs-fuse +Section: utils +Priority: optional +Maintainer: Kees Cook +Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libglib2.0-dev, libfuse-dev, pkg-config +Standards-Version: 3.7.3.0 +Homepage: http://outflux.net/software/pkgs/mythtvfs-fuse/ + +Package: mythtvfs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, fuse-utils +Description: userspace filesystem client for MythTV + mythtvfs implements a human-readable filesystem on top of an existing + MythTV tree. It communicates with the MythTV backend to fill in the + recording details, so that recordings can be browsed easily with applications + that do not natively communicate with MythTV backends. + . + mythtvfs is based on FUSE (userspace filesystem framework for Linux), + thus you will have to prepare the fuse kernel module to be able to use it. --- mythtvfs-fuse-0.5.2.orig/debian/copyright +++ mythtvfs-fuse-0.5.2/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Kees Cook on +Sun, 15 Apr 2007 14:25:47 -0700. + +It was downloaded from http://outflux.net/software/pkgs/mythtvfs-fuse/ + +Upstream Author: Kees Cook + +Copyright: (C) 2005-2007 Kees Cook +FUSE Copyright: (C) 2001-2005 Miklos Szeredi + +License: + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +On Debian systems, the complete text of the GNU General Public License +can be found in the file `/usr/share/common-licenses/GPL'. + +All files except those listed below are distributed under the GNU GPL +with copyright above. + +"compat/fuse_opt.{c,h}" is Copyright (C) 2001-2006 Miklos Szeredi +, and distributed under the terms of the license below: + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + +On Debian systems, the complete text of the GNU Lesser General Public +License can be found in the file `/usr/share/common-licenses/LGPL-2.1'. + +The Debian packaging is Copyright (C) 2007, Kees Cook and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- mythtvfs-fuse-0.5.2.orig/debian/changelog +++ mythtvfs-fuse-0.5.2/debian/changelog @@ -0,0 +1,32 @@ +mythtvfs-fuse (0.5.2-2build1) jaunty; urgency=low + + * No-change rebuild to fix lpia shared library dependencies. + + -- Colin Watson Thu, 19 Mar 2009 02:08:24 +0000 + +mythtvfs-fuse (0.5.2-2) unstable; urgency=low + + * 01_hostinfo-wipe.patch: fix FTBFS on newer glibc. + * 02_iso-airdate.patch: correct AirDate which can be ISO-style. + * 03_pod-typos.patch: fix POD typos. + + -- Kees Cook Thu, 12 Mar 2009 13:36:48 -0700 + +mythtvfs-fuse (0.5.2-1) unstable; urgency=low + + * New upstream release. + + -- Kees Cook Mon, 02 Jun 2008 09:09:32 -0700 + +mythtvfs-fuse (0.5.1-1) unstable; urgency=low + + * New upstream release. + * Updated standards version. + + -- Kees Cook Sun, 20 Apr 2008 23:09:19 -0700 + +mythtvfs-fuse (0.5.0-1) unstable; urgency=low + + * Initial release (Closes: #419474). + + -- Kees Cook Sun, 15 Apr 2007 14:25:47 -0700 --- mythtvfs-fuse-0.5.2.orig/debian/rules +++ mythtvfs-fuse-0.5.2/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_INSTALL_MANPAGES_mythtvfs := mythtvfs.1 --- mythtvfs-fuse-0.5.2.orig/debian/compat +++ mythtvfs-fuse-0.5.2/debian/compat @@ -0,0 +1 @@ +5 --- mythtvfs-fuse-0.5.2.orig/debian/patches/01_hostinfo-wipe.patch +++ mythtvfs-fuse-0.5.2/debian/patches/01_hostinfo-wipe.patch @@ -0,0 +1,15 @@ +Description: fix FTBFS, thanks to Devid Filoni. +Ubuntu: https://bugs.launchpad.net/bugs/252128 + +diff -Nur -x '*.orig' -x '*~' mythtvfs-fuse-0.5.2/mythtvfs.c mythtvfs-fuse-0.5.2.new/mythtvfs.c +--- mythtvfs-fuse-0.5.2/mythtvfs.c 2008-05-04 09:03:45.000000000 -0700 ++++ mythtvfs-fuse-0.5.2.new/mythtvfs.c 2009-03-12 13:34:26.000000000 -0700 +@@ -255,7 +255,7 @@ + } + bzero((char*)&host_addr,sizeof(host_addr)); + host_addr.sin_family = AF_INET; +- bcopy((char*)hostinfo->h_addr, ++ bcopy((char*)hostinfo->h_addr_list[0], + (char*)&host_addr.sin_addr.s_addr, + hostinfo->h_length); + host_addr.sin_port = htons(mythtvfs.port); --- mythtvfs-fuse-0.5.2.orig/debian/patches/03_pod-typos.patch +++ mythtvfs-fuse-0.5.2/debian/patches/03_pod-typos.patch @@ -0,0 +1,12 @@ +diff -Nur -x '*.orig' -x '*~' mythtvfs-fuse-0.5.2/mythtvfs.pod mythtvfs-fuse-0.5.2.new/mythtvfs.pod +--- mythtvfs-fuse-0.5.2/mythtvfs.pod 2008-05-04 09:05:17.000000000 -0700 ++++ mythtvfs-fuse-0.5.2.new/mythtvfs.pod 2009-03-12 14:26:34.000000000 -0700 +@@ -217,6 +217,8 @@ + + -o to_code=CHARSET new encoding of the file names (default: ANSI_X3.4-1968) + ++=back ++ + =head1 EXAMPLES + + =head2 Filesystem Mount Examples --- mythtvfs-fuse-0.5.2.orig/debian/patches/02_iso-airdate.patch +++ mythtvfs-fuse-0.5.2/debian/patches/02_iso-airdate.patch @@ -0,0 +1,31 @@ +diff -Nur -x '*.orig' -x '*~' mythtvfs-fuse-0.5.2/mythtvfs.c mythtvfs-fuse-0.5.2.new/mythtvfs.c +--- mythtvfs-fuse-0.5.2/mythtvfs.c 2009-03-12 14:16:31.000000000 -0700 ++++ mythtvfs-fuse-0.5.2.new/mythtvfs.c 2009-03-12 14:16:37.000000000 -0700 +@@ -624,7 +624,12 @@ + time_t air_time = atoi(show.airdate); + snprintf(duration,32,"%ld",(end_time-start_time)); + strftime(start,32,"%c",localtime(&start_time)); +- strftime(air,32,"%Y-%m-%d",localtime(&air_time)); ++ if (strchr(show.airdate,'-')==NULL) { ++ strftime(air,32,"%Y-%m-%d",localtime(&air_time)); ++ } ++ else { ++ strncpy(air,show.airdate,32); ++ } + + int len = 2+strlen(show.title)+ + 2+strlen(air)+ +@@ -657,7 +662,12 @@ + time_t air_time = atoi(show.airdate); + snprintf(duration,32,"%ld",(end_time-start_time)); + strftime(start,32,"%I.%M %p %a %b %d, %Y",localtime(&start_time)); +- strftime(air,32,"%Y-%m-%d",localtime(&air_time)); ++ if (strchr(show.airdate,'-')==NULL) { ++ strftime(air,32,"%Y-%m-%d",localtime(&air_time)); ++ } ++ else { ++ strncpy(air,show.airdate,32); ++ } + + int len = 2+strlen(show.title)+ + 2+strlen(air)+