Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2006 11:29:26 +1100 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92084: multimedia/tovid - errornous \n's
Message-ID:  <20060121002926.6B0911F4@k7.mavetju>
Resent-Message-ID: <200601210030.k0L0UAVV048318@freefall.freebsd.org>

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

>Number:         92084
>Category:       ports
>Synopsis:       multimedia/tovid - errornous \n's
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 21 00:30:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386

tovid-0.24_5

>Description:

As reported on
http://www.createphpbb.com/tovid/viewtopic.php?p=1321&mforum=tovid#1321 and
http://tovid.pastebin.com/515445, makexml adds extra n's at the
XML code, rendering it useless.

>How-To-Repeat:
>Fix:

Add patch-src_makexml:

--- src/makexml.orig	Sat Jan 21 11:16:19 2006
+++ src/makexml	Sat Jan 21 11:16:44 2006
@@ -184,7 +184,7 @@
     # Generate XML for the button linking to this titleset menu from the top menu
     TOP_MENU_BUTTONS=`cat << EOF
   $TOP_MENU_BUTTONS\
-    <button>jump titleset $CUR_TS menu;<\/button>\n
+    <button>jump titleset $CUR_TS menu;<\/button>
 EOF`
 
     # Generate XML for the menu header, with a placeholder for
@@ -207,7 +207,7 @@
     # Generate XML for the button linking to this menu from the top menu
     TOP_MENU_BUTTONS=`cat << EOF
 $TOP_MENU_BUTTONS\
-    <select ref="select-menu-$CUR_TS"\/>\n
+    <select ref="select-menu-$CUR_TS"\/>
 EOF`
 
     # Generate XML for the segment item
@@ -272,7 +272,7 @@
       if [ $CUR_VIDEO -lt 2 ]; then
         MENU_BUTTONS=`cat << EOF
 $MENU_BUTTONS\
-        <button>jump title $CUR_TITLE;<\/button>\n
+        <button>jump title $CUR_TITLE;<\/button>
 EOF`
       fi
     else
@@ -280,7 +280,7 @@
       if [ $CUR_VIDEO -le 1 ]; then
         TOP_MENU_BUTTONS=`cat << EOF
 $TOP_MENU_BUTTONS\
-        <button>jump titleset $CUR_TS menu;<\/button>\n
+        <button>jump titleset $CUR_TS menu;<\/button>
 EOF`
       fi
     fi 
@@ -378,7 +378,7 @@
       if $FIRST_TITLE; then
         MENU_BUTTONS=`cat << EOF
 $MENU_BUTTONS
-    <select ref="play-title-$CUR_TITLE"\/>\n
+    <select ref="play-title-$CUR_TITLE"\/>
 EOF`
       fi
 
@@ -414,7 +414,7 @@
       # jump to this playlist (title)
       MENU_BUTTONS=`cat << EOF
 $MENU_BUTTONS\
-    <select ref="play-title-$CUR_TITLE"\/>\n
+    <select ref="play-title-$CUR_TITLE"\/>
 EOF`
 
       # Generate XML for the sequence item
@@ -458,7 +458,7 @@
     if $HAVE_TOP_MENU; then
       MENU_BUTTONS=`cat << EOF
 $MENU_BUTTONS\
-      <button>jump vmgm menu;<\/button>\n
+      <button>jump vmgm menu;<\/button>
 EOF`
     fi
 
>Release-Note:
>Audit-Trail:
>Unformatted:



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