Processed: Patch

2014-06-30 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 patch
Bug #753178 [src:hfsutils] hfsutils: FTBFS: dpkg-source: error: expected ^--- 
in line 1 of diff `hfsutils-3.2.6/debian/patches/man-macros.diff'
Added tag(s) patch.

-- 
753178: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753178
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/handler.s.b753178.14041321075316.transcr...@bugs.debian.org



Bug#753178: Patch

2014-06-30 Thread Juhani Numminen
Control: tags -1 patch

Dear maintainer,

The patch in question is missing a filename header and can be fixed like
this:

--- a/debian/patches/man-macros.diff.orig
+++ b/debian/patches/man-macros.diff
@@ -1,3 +1,7 @@
+Index: b/doc/man/hfs.1
+===
+--- a/doc/man/hfs.1
 b/doc/man/hfs.1
 @@ -10,7 +10,7 @@ is an interactive command-oriented tool
  .B hfs
  is based on the Tcl interpreter, so basic Tcl constructs can be used in


Cheers,
Juhani


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1404132096.3399.5.camel@hunt



Processed: Re: Bug#752346: graphviz: hardcodes /usr/lib/perl5

2014-06-30 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 patch
Bug #752346 [graphviz] graphviz: hardcodes /usr/lib/perl5
Added tag(s) patch.

-- 
752346: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752346
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/handler.s.b752346.140415356123611.transcr...@bugs.debian.org



Bug#752346: graphviz: hardcodes /usr/lib/perl5

2014-06-30 Thread Damyan Ivanov
Control: tag -1 patch

-=| Niko Tyni, 22.06.2014 23:03:21 +0300 |=-
> Package: graphviz
> Version: 2.26.3-17
> Severity: important
> User: debian-p...@lists.debian.org
> Usertags: perl-5.20-transition
> 
> Starting with version 5.20.0 (currently in experimental), the Debian
> perl package is changing the "vendorarch" library path (currently
> /usr/lib/perl5) to include the multiarch triplet and the perl version. See
> #748380 for details.
> 
> For this to work, packages containing binary perl modules need to migrate
> from using the hardcoded /usr/lib/perl5 directory to the value of the
> $Config{vendorarch} variable, as defined in the 'Config' module.
> 
> This package builds successfully with perl_5.20.0-1 from experimental,
> but still installs the Perl files into /usr/lib/perl5 so they won't be
> on the Perl search path anymore.

Attached is a patch that makes use of $Config{vendorarch} in 
libgv-perl.install. Note that even though the original file used 
${DEB_HOST_MULTIARCH}, $Config{vendorarch} is still better, as the 
later may also change with different perl releases.

Cheers,
dam
diff --git a/debian/libgv-perl.install b/debian/libgv-perl.install
index f607d6c..933d15e 100755
--- a/debian/libgv-perl.install
+++ b/debian/libgv-perl.install
@@ -1,5 +1,8 @@
-#! /usr/bin/dh-exec --with-scripts=subst-multiarch
-usr/lib/*/graphviz/perl/gv.pm usr/lib/perl5
-usr/lib/*/graphviz/perl/gv.so usr/lib/${DEB_HOST_MULTIARCH}/perl5/auto/gv
-usr/lib/*/graphviz/perl/libgv_perl.so usr/lib/${DEB_HOST_MULTIARCH}/perl5/auto/gv
-usr/share/man/man3/gv.3perl
+#! /usr/bin/perl
+use Config;
+my $vendorarch = substr( $Config{vendorarch}, 1 );
+
+print "usr/lib/*/graphviz/perl/gv.pm $vendorarch\n";
+print "usr/lib/*/graphviz/perl/gv.so $vendorarch/auto/gv\n";
+print "usr/lib/*/graphviz/perl/libgv_perl.so $vendorarch/auto/gv\n";
+print "usr/share/man/man3/gv.3perl\n";


Bug#715843: Bug report on dvbcut: dvbcut crashes with exit status 139

2014-06-30 Thread Bernhard Übelacker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,
from the commandline parameters and the core dump sent by Alexandre Rebert it 
seems
that dvbcut got called this way:

  /usr/bin/dvbcut -idx

But dvbcut expects here another parameter specifiying the filename to store the 
index.

Following patch tries to avoid this crash by moving the increment from the 
condition
to the assignment one line later (when all conditions are fulfilled).

With this patch dvbcut shows its command line usage information.

Kind regards,
Bernhard


- --- dvbcut-0.5.4+svn178.orig/src/main.cpp
+++ dvbcut-0.5.4+svn178/src/main.cpp
@@ -108,18 +108,18 @@ main(int argc, char *argv[]) {
 generateidx = true;
   else if (strncmp(argv[i], "-voracious", n) == 0)
dvbcut::cache_friendly = false;
- -  else if (strncmp(argv[i], "-idx", n) == 0 && ++i < argc)
- -idxfilename = argv[i];
- -  else if (strncmp(argv[i], "-exp", n) == 0 && ++i < argc)
- -expfilename = argv[i];
- -  else if (strncmp(argv[i], "-format", n) == 0 && ++i < argc)
- -exportformat = atoi(argv[i]);
- -  else if (strncmp(argv[i], "-automarker", n) == 0 && ++i < argc) {
- -int bofeof = atoi(argv[i]);
+  else if (strncmp(argv[i], "-idx", n) == 0 && (i+1) < argc)
+idxfilename = argv[++i];
+  else if (strncmp(argv[i], "-exp", n) == 0 && (i+1) < argc)
+expfilename = argv[++i];
+  else if (strncmp(argv[i], "-format", n) == 0 && (i+1) < argc)
+exportformat = atoi(argv[++i]);
+  else if (strncmp(argv[i], "-automarker", n) == 0 && (i+1) < argc) {
+int bofeof = atoi(argv[++i]);
 start_bof = (bofeof&1)==1;
 stop_eof  = (bofeof&2)==2;
- -  } else if (strncmp(argv[i], "-cut", n) == 0 && ++i < argc) {
- -char *pch = strtok(argv[i],",-|;");
+  } else if (strncmp(argv[i], "-cut", n) == 0 && (i+1) < argc) {
+char *pch = strtok(argv[++i],",-|;");
 while(pch) {
   if(strlen(pch))
 cutlist.push_back((std::string)pch);
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTsajaAAoJEOlvol+DpkHm1WIIAKdBj7eA1JIdDYaLuL1v+igZ
JTihnO1nJ/d03Y9C1UE7whOvSQwxXBMO3ZHYOjahIJumz0ijZDJGzVn+ce0Ug/ZS
LeXfX/Yxx7FbmCWV57DajsxSi9d9mbGTw6v6E9cDeQOzLUa4UN5dWh3NZnnNXW+b
y5vDUdN1XeknYjvpCg8SSRRK1qtI9t+ySjefATnJ1X3udCXnbusdDDwaMIvVVEBr
4j+Q56WOZ0K6AoUHwjdFF3m3bmrCnMlXJUKWiokqIeKI76nnqJyNRWHm6L5Da5XM
caWHEgLmeoNt7EHoZnR0iGmuu+P7msY/sCrn+674Dxa6CA3M3OThcQmG2SUaKlY=
=7mpW
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53b1a8df.3060...@vr-web.de



Bug#753347: dvbcut: Crash when exporting to MPEG program stream DVD DVBCUT multiplexer

2014-06-30 Thread Bernhard Übelacker
Package: dvbcut
Version: 0.5.4+svn178-7
Severity: important
Tags: patch

Dear Maintainer,
   * What led up to the situation?
- opening an DVB-S transport stream
- setting some start and end marks
- export video with default options (MPEG program stream/DVD DVBCUT
multiplexer)

   * What was the outcome of this action?
- dvbcut crashed

   * What outcome did you expect instead?
- mpeg file get saved



Call Stack:
Program received signal SIGSEGV, Segmentation fault.
av_buffer_unref (buf=buf@entry=0x7fff1b74c6b0) at
/home/build/libavutil/libav-10.1/libavutil/buffer.c:111
111 b = (*buf)->buffer;
(gdb) bt
#0  av_buffer_unref (buf=buf@entry=0x7fff1b74c6b0) at
/home/build/libavutil/libav-10.1/libavutil/buffer.c:111
#1  0x7f7aed422f44 in av_free_packet (pkt=pkt@entry=0x7fff1b74c6b0) at
/home/build/libavutil/libav-10.1/libavcodec/avpacket.c:247
#2  0x7f7aed705e40 in avcodec_encode_video2 (avctx=0xfbdea0,
avpkt=0x7fff1b74c6b0, frame=0x149c740, got_packet_ptr=0x7fff1b74c67c) at
/home/build/libavutil/libav-10.1/libavcodec/utils.c:1331
#3  0x0043c00e in mpgfile::recodevideo (this=this@entry=0xf6a510,
mux=..., start=5638, stop=stop@entry=5640, offset=offset@entry=1384514230,
savedpics=savedpics@entry=1524, savepics=1524, log=0x14360b8) at
mpgfile.cpp:753
#4  0x0043d175 in mpgfile::savempg (this=0xf6a510, mux=...,
start=, start@entry=4116, stop=stop@entry=5640, savedpics=1524,
savedpics@entry=0, savepics=1524, log=0x14360b8) at mpgfile.cpp:682
#5  0x00417bc5 in dvbcut::fileExport (this=0xf218b0) at dvbcut.cpp:737
#6  0x7f7aeabe7a0a in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4



Reason:
in function mpgfile::recodevideo a variable pkt is declared, but the field
pkt.buf is never initialized.
Later in function av_free_packet this member is checked for being non-zero and
in this case
the memory it points to freed by av_free_packet:

242 void av_free_packet(AVPacket *pkt)
243 {
244 if (pkt) {
245 FF_DISABLE_DEPRECATION_WARNINGS
246 if (pkt->buf)
247 av_buffer_unref(&pkt->buf);



Patch:
--- dvbcut-0.5.4+svn178.orig/src/mpgfile.cpp
+++ dvbcut-0.5.4+svn178/src/mpgfile.cpp
@@ -731,7 +731,7 @@ void mpgfile::recodevideo(muxer &mux, in
   pts_t startpts=idx[idx.indexnr(start)].getpts();
   while (outpicturehttps://lists.debian.org/20140630183533.21228.68819.reportbug@localhost



Bug#753369: dvbcut: play function misses sound

2014-06-30 Thread Bernhard Übelacker
Package: dvbcut
Version: 0.5.4+svn178-7
Severity: normal
Tags: patch

Dear Maintainer,

   * What led up to the situation?
- Load a TS record into dvbcut.
- Use the play function

   * What was the outcome of this action?
- Video plays, but audio is missing

   * What outcome did you expect instead?
- Audio should be playing


dvbcut uses mplayer for its play function:
mplayer -noconsolecontrols -wid 0x52000bc -sb 3751916 -geometry 1024x576+0+0
-aid 0x83f /mnt/file.ts

If using just the number of audio stream counted from 0 mplayer plays audio
just fine.


Patch:
--- dvbcut-0.5.4+svn178.orig/src/dvbcut.cpp
+++ dvbcut-0.5.4+svn178/src/dvbcut.cpp
@@ -1182,7 +1182,7 @@ void dvbcut::playPlay()
   arguments << "-geometry" <<
QString().sprintf("%dx%d+0+0",int(ui->imagedisplay->width()),int(ui->imagedisplay->height()));

   if (currentaudiotrack>=0 && currentaudiotrackgetaudiostreams()) {
-arguments << "-aid" <<
QString().sprintf("0x%x",int(mpg->mplayeraudioid(currentaudiotrack)));
+arguments << "-aid" << QString().sprintf("0x%x", currentaudiotrack);
 }

   // for now, pass all filenames from the current one up to the last one



-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (990, 'testing-updates'), (990, 'testing'), (500, 
'testing-proposed-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dvbcut depends on:
ii  liba52-0.7.4   0.7.4-17
ii  libao4 1.1.0-2
ii  libavcodec55   6:10.1-1
ii  libavformat55  6:10.1-1
ii  libavutil536:10.1-1
ii  libc6  2.19-3
ii  libgcc11:4.9.0-7
ii  libmad00.15.1b-8
ii  libqt4-network 4:4.8.6+dfsg-2
ii  libqt4-qt3support  4:4.8.6+dfsg-2
ii  libqt4-sql 4:4.8.6+dfsg-2
ii  libqt4-xml 4:4.8.6+dfsg-2
ii  libqtcore4 4:4.8.6+dfsg-2
ii  libqtgui4  4:4.8.6+dfsg-2
ii  libstdc++6 4.9.0-7
ii  libswscale26:10.1-1

Versions of packages dvbcut recommends:
ii  mplayer2 [mplayer]  2.0-728-g2c378c7-2

dvbcut suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140630233659.19280.28462.reportbug@localhost