Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2010 20:08:09 -0500 (CDT)
From:      "Sean C. Farley" <scf@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        pb@FreeBSD.org
Subject:   ports/148658: [PATCH] multimedia/dvdauthor: PNG images too big errors
Message-ID:  <201007160108.o6G1893w062000@thor.farley.org>
Resent-Message-ID: <201007160110.o6G1A18X002341@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148658
>Category:       ports
>Synopsis:       [PATCH] multimedia/dvdauthor: PNG images too big errors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 16 01:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sean C. Farley
>Release:        FreeBSD 8.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD thor.farley.org 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0 r209993: Tue Jul 13 09:36:03 CDT
>Description:
With the newer PNG library, spumux is detecting an errors about PNG
images being too big (at least on amd64).  This patches uses a specific
libpng type for width and height.

devede was generating a DVD with a menu that was non-functional.  It
took me awhile to narrow down the problem:  spumux was skipping the
addition of a subtitle to the menu MPG file but not causing devede to
return an error.  It seems that DVD's require a subtitle for the menu to
function even if it does not say anything.

Patch obtained from the dvdauthor repository:
http://github.com/ldo/dvdauthor/commit/fd5c2705825762a6361fbcf95099a42471d709d7

Added file(s):
- files/patch-src__subgen-image.c

Port maintainer (pb@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- dvdauthor-0.6.14_7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/dvdauthor.orig/Makefile /usr/ports/multimedia/dvdauthor/Makefile
--- /usr/ports/multimedia/dvdauthor.orig/Makefile	2010-04-18 20:48:36.000000000 -0500
+++ /usr/ports/multimedia/dvdauthor/Makefile	2010-07-15 20:00:14.000000000 -0500
@@ -7,7 +7,7 @@
 
 PORTNAME=	dvdauthor
 PORTVERSION=	0.6.14
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	multimedia
 MASTER_SITES=	SF
 
diff -ruN --exclude=CVS /usr/ports/multimedia/dvdauthor.orig/files/patch-src__subgen-image.c /usr/ports/multimedia/dvdauthor/files/patch-src__subgen-image.c
--- /usr/ports/multimedia/dvdauthor.orig/files/patch-src__subgen-image.c	1969-12-31 18:00:00.000000000 -0600
+++ /usr/ports/multimedia/dvdauthor/files/patch-src__subgen-image.c	2010-07-15 19:58:36.000000000 -0500
@@ -0,0 +1,11 @@
+--- src/subgen-image.c.orig	2007-01-12 19:40:42.000000000 -0600
++++ src/subgen-image.c	2010-07-15 19:56:30.000000000 -0600
+@@ -203,7 +203,7 @@
+     png_struct *ps;
+     png_info *pi;
+     png_byte **rowp;
+-    unsigned long width,height;
++    png_uint_32 width,height;
+     int bit_depth,color_type,channels,x,y;
+ 
+     fp=fopen(s->fname,"rb");
--- dvdauthor-0.6.14_7.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007160108.o6G1893w062000>