Bug#515072: faad2: new upstream version 2.7

2009-05-31 Thread Andres Mejia
On Friday 29 May 2009 02:42:03 Fabian Greffrath wrote:
> Andres Mejia schrieb:
> > To the Debian Multimedia team, would anyone mind if faad2 becomes team
> > maintained?
>
> I just wanted to recommend this!

Well, I started on the packaging.

Matthew, that last diff was corrupt for me.

-- 
Regards,
Andres



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#515072: faad2: new upstream version 2.7

2009-05-28 Thread Fabian Greffrath

Andres Mejia schrieb:
To the Debian Multimedia team, would anyone mind if faad2 becomes team 
maintained?


I just wanted to recommend this!

--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#515072: faad2: new upstream version 2.7

2009-05-28 Thread Andres Mejia
On Thursday 28 May 2009 20:53:06 Matthew W. S. Bell wrote:
> On Thu, 2009-05-28 at 13:42 -0400, Andres Mejia wrote:
> > Do you need help with this package? I'm willing to volunteer with
> > maintenance of this package. I'm sure the Debian Multimedia team is
> > willing to help out as well.
> >
> > There are apps starting to use the new version of the faad libraries,
> > such as XBMC, and building those apps will break on the old libraries.
>
> I'm somewhat out of the running for the moment (missing key, missing
> familiar sponsor, missing time, etc.), and I don't wish to stand in the
> way (i.e., I'm willing for someone to update the package), but I'm not
> quite sure I'm willing to give up on the package entirely, for the
> moment.
>
> I attach a patch my changes to hand to date.
>
> Matthew W. S. Bell

Could you resend your patch? It seems it got corrupted.

Why not join the Debian Multimedia team and have faad2 team maintained? You 
don't have to give up on faad2.

To the Debian Multimedia team, would anyone mind if faad2 becomes team 
maintained?

-- 
Regards,
Andres



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#515072: faad2: new upstream version 2.7

2009-05-28 Thread Matthew W. S. Bell
On Thu, 2009-05-28 at 13:42 -0400, Andres Mejia wrote:
> Do you need help with this package? I'm willing to volunteer with maintenance 
> of 
> this package. I'm sure the Debian Multimedia team is willing to help out as 
> well.
> 
> There are apps starting to use the new version of the faad libraries, such as 
> XBMC, and building those apps will break on the old libraries.

I'm somewhat out of the running for the moment (missing key, missing
familiar sponsor, missing time, etc.), and I don't wish to stand in the
way (i.e., I'm willing for someone to update the package), but I'm not
quite sure I'm willing to give up on the package entirely, for the
moment.

I attach a patch my changes to hand to date.

Matthew W. S. Bell
diff -ruN faad2-2.6.1-3.1/debian/changelog faad2-2.6.1-4/debian/changelog
--- faad2-2.6.1-3.1/debian/changelog	2009-05-29 01:18:07.0 +0100
+++ faad2-2.6.1-4/debian/changelog	2009-05-29 01:41:53.0 +0100
@@ -1,3 +1,13 @@
+faad2 (2.6.1-4) unstable; urgency=low
+
+  * Acknowledge NMU
+  * Update patch for heap overflow (#499899): use reasonable types and
+provided "min" macro
+  * Add comments on creation of 99_autotools-regenerated (Closes: #503657)
+  * Add explanation of purpose and effects of 02_public_headers (Closes: #505901)
+
+ -- Matthew W. S. Bell   Fri, 29 May 2009 01:41:30 +0100
+
 faad2 (2.6.1-3.1) unstable; urgency=high
 
   * Non-maintainer upload by the security team
diff -ruN faad2-2.6.1-3.1/debian/patches/02_public-headers.dpatch faad2-2.6.1-4/debian/patches/02_public-headers.dpatch
--- faad2-2.6.1-3.1/debian/patches/02_public-headers.dpatch	2009-05-29 01:18:07.0 +0100
+++ faad2-2.6.1-4/debian/patches/02_public-headers.dpatch	2008-12-08 00:00:09.0 +
@@ -2,7 +2,11 @@
 ## 02_public-headers.dpatch by  
 ##
 ## All lines beginning with `## DP:' are a description of the patch.
-## DP: Use the public headers directly internally
+## DP: Make the declaration and definition of function consistent. Note that
+## DP: this means the API differs from libfaad found elsewhere.
+## DP: This is achieved by including the public declarations in the library
+## DP: source. Conflicts in types were resolved by choosing the type in the
+## DP: definition.
 
 @DPATCH@
 diff -urNad faad2-svn~/include/neaacdec.h faad2-svn/include/neaacdec.h
diff -ruN faad2-2.6.1-3.1/debian/patches/12_heap_overflow.dpatch faad2-2.6.1-4/debian/patches/12_heap_overflow.dpatch
--- faad2-2.6.1-3.1/debian/patches/12_heap_overflow.dpatch	2009-05-29 01:18:07.0 +0100
+++ faad2-2.6.1-4/debian/patches/12_heap_overflow.dpatch	2009-05-29 01:28:55.0 +0100
@@ -1,21 +1,25 @@
 #! /bin/sh /usr/share/dpatch/dpatch-run
 
 @DPATCH@
 faad2-2.6.1\faad2\frontend\main.c	2007-11-01 13:33:30.0 -0700
-+++ faad2-2.6.1/frontend/main.c	2008-09-16 11:01:40.0 -0700
-@@ -911,12 +911,14 @@
- if (sampleId == 0) dur = 0;
+diff -urNad faad2-2.6.1-3.1~/frontend/main.c faad2-2.6.1-3.1/frontend/main.c
+--- faad2-2.6.1-3.1~/frontend/main.c	2008-11-16 22:50:30.0 +
 faad2-2.6.1-3.1/frontend/main.c	2008-11-16 22:58:12.0 +
+@@ -872,8 +872,7 @@
+ for (sampleId = 0; sampleId < numSamples; sampleId++)
+ {
+ int rc;
+-long dur;
+-unsigned int sample_count;
++unsigned int dur, sample_count;
+ unsigned int delay = 0;
  
+ /* get acces unit from MP4 file */
+@@ -913,7 +912,7 @@
  if (useAacLength || (timescale != samplerate)) {
  sample_count = frameInfo.samples;
  } else {
- sample_count = (unsigned int)(dur * frameInfo.channels);
-+if (sample_count > frameInfo.samples)
-+sample_count = frameInfo.samples;
+-sample_count = (unsigned int)(dur * frameInfo.channels);
++sample_count = min(dur * frameInfo.channels, frameInfo.samples);
  
  if (!useAacLength && !initial && (sampleId < numSamples/2) && (sample_count != frameInfo.samples))
  {
- faad_fprintf(stderr, "MP4 seems to have incorrect frame duration, using values from AAC data.\n");
- useAacLength = 1;
- sample_count = frameInfo.samples;
-
diff -ruN faad2-2.6.1-3.1/debian/patches/99_autotools-regenerated.dpatch faad2-2.6.1-4/debian/patches/99_autotools-regenerated.dpatch
--- faad2-2.6.1-3.1/debian/patches/99_autotools-regenerated.dpatch	2009-05-29 01:18:07.0 +0100
+++ faad2-2.6.1-4/debian/patches/99_autotools-regenerated.dpatch	2009-05-29 01:45:59.0 +0100
@@ -2,7 +2,9 @@
 ## 99_autotools-regenerated.dpatch by  
 ##
 ## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
+## DP: This patch generated using dpatch-edit-patch and then running
+## DP: 'autoreconf -isf && rm -r autom4te.cache'
+
 
 @DPATCH@
 diff -urNad faad2-svn~/INSTALL faad2-svn/INSTALL


Bug#515072: faad2: new upstream version 2.7

2009-05-28 Thread Andres Mejia
Do you need help with this package? I'm willing to volunteer with maintenance 
of 
this package. I'm sure the Debian Multimedia team is willing to help out as 
well.

There are apps starting to use the new version of the faad libraries, such as 
XBMC, and building those apps will break on the old libraries.

-- 
Regards,
Andres



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#515072: faad2: new upstream version 2.7

2009-02-13 Thread Fabian Greffrath

Package: faad2
Version: 2.6.1-3.1
Severity: wishlist

Hi,

upstream has recently released a new version 2.7 of faad2, which 
incoporates most of the Debian patch set. Most notably it now also 
uses the public headers internally, so 02_public-headers.dpatch could 
be removed and #505901 could be closed (upstream has also bumped 
soname, btw) by uploading the new version.


And please take the opportunity to get rid of the dummy package. It 
really shouldn't be needed at all anymore.


Thanks!

cheers,
Fabian


--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org