From 5aefcc76e9b8fbe6be38d109a4d4ac090b70daf6 Mon Sep 17 00:00:00 2001
From: Greg Frost <gregfrost1@bigpond.com>
Date: Sat, 24 Apr 2010 13:43:58 +0930
Subject: test-pattern: add aspect ratio support

---
 abs/core-testing/test-pattern/test_pattern.bash | 133 +++++++++++++-----------
 1 file changed, 75 insertions(+), 58 deletions(-)

diff --git a/abs/core-testing/test-pattern/test_pattern.bash b/abs/core-testing/test-pattern/test_pattern.bash
index 6e7fff9..a68249a 100755
--- a/abs/core-testing/test-pattern/test_pattern.bash
+++ b/abs/core-testing/test-pattern/test_pattern.bash
@@ -8,8 +8,9 @@ rate=50
 TEMPDIR=
 unset remove_tempdir
 interlaced=
+aspect_ratio=
 
-while getopts ":w:h:t:r:i" opt; do
+while getopts ":w:h:t:r:ia:" opt; do
   case $opt in
     w)
       w=$OPTARG
@@ -26,6 +27,9 @@ while getopts ":w:h:t:r:i" opt; do
     i)
       interlaced=TRUE
       ;;
+    a)
+      aspect_ratio=$OPTARG
+      ;;
     \?)
       echo -n"\
 Error: Invalid option -$OPTARG
@@ -41,11 +45,20 @@ Usage:
     -r framerate
     -i
 	Generate an interlaced test pattern
+    -a n:m
+	Aspect ratio of generated video.
 "
       exit 1
   esac
 done
 
+if [ -z "$aspect_ratio" ] ; then
+  aspect_ratio="${w}:${h}"
+fi
+
+aspectx=$(echo $aspect_ratio | cut -d: -f1)
+aspecty=$(echo $aspect_ratio | cut -d: -f2)
+
 # Calculate some dimensions based on the requested size.
 
 barw=$((w/32))
@@ -54,14 +67,18 @@ barstart=$((-barw/barstep-1))
 
 frames=$((w/2))
 
-unit=$((h*2/27))
-gridlw=$((unit*3/43))
+unity=$((h*2/27))
+unitx=$((unity*aspecty*w/(aspectx*h)))
+gridlw=$((unity*3/43))
+
+echo unity=$unity
+echo unitx=$unitx
 
-nvgrid=$(((h-gridlw)/unit))
-nhgrid=$(((((w-gridlw)/unit)-1)/2*2+1))
+nvgrid=$(((h-gridlw)/unity))
+nhgrid=$(((((w-gridlw)/unitx)-1)/2*2+1))
 
-gridstartx=$((w/2-(nhgrid*unit+gridlw)/2-1))
-gridstarty=$((h/2-(nvgrid*unit+gridlw)/2-1))
+gridstartx=$((w/2-(nhgrid*unitx+gridlw)/2-1))
+gridstarty=$((h/2-(nvgrid*unity+gridlw)/2-1))
 
 echo nvgrid=$nvgrid
 echo nhgrid=$nhgrid
@@ -86,88 +103,88 @@ checker=( -fill "rgb(192,192,192)" )
 for ((g=-9;g<=7;g=g+2)) ; do
   checker=( "${checker[@]}" 
     -draw 
-    "rectangle $((w/2+g*unit*7/10)),$((gridstarty+unit*3+gridlw)) $((w/2+(g+1)*unit*7/10)),$((gridstarty+unit*4+gridlw))" )
+    "rectangle $((w/2+g*unitx*7/10)),$((gridstarty+unity*3+gridlw)) $((w/2+(g+1)*unitx*7/10)),$((gridstarty+unity*4+gridlw))" )
 done
 
 checker=( "${checker[@]}" -fill black )
 for ((g=-8;g<=8;g=g+2)) ; do
   checker=( "${checker[@]}" 
     -draw 
-    "rectangle $((w/2+g*unit*7/10)),$((gridstarty+unit*3+gridlw)) $((w/2+(g+1)*unit*7/10)),$((gridstarty+unit*4+gridlw))" )
+    "rectangle $((w/2+g*unitx*7/10)),$((gridstarty+unity*3+gridlw)) $((w/2+(g+1)*unitx*7/10)),$((gridstarty+unity*4+gridlw))" )
 done
 
 unset stripe
 stripe=( -fill white )
  
 for ((g=0;g<5;g++)) ; do
-  startx=$((w/2+(3-g*2)*unit))
-  endx=$((startx+2*unit))
+  startx=$((w/2+(3-g*2)*unitx))
+  endx=$((startx+2*unitx))
 
   for ((x=startx;x<endx;x=x+2*(g+1))) ; do 
     stripe=( "${stripe[@]}" 
       -draw 
-      "rectangle $x,$((gridstarty+unit*7+gridlw)) $((x+g)),$((gridstarty+unit*9+gridlw))" )
+      "rectangle $x,$((gridstarty+unity*7+gridlw)) $((x+g)),$((gridstarty+unity*9+gridlw))" )
   done
 done
 
 for ((g=0;g<13;g++)) ; do
   stripe=( "${stripe[@]}" 
     -draw 
-    "rectangle $((gridstartx+(nhgrid/2-6+g)*unit)),$((gridstarty+unit*6+gridlw)) $((gridstartx+(nhgrid/2-6+g)*unit+gridlw)),$((gridstarty+unit*7+gridlw-1))" )  
+    "rectangle $((gridstartx+(nhgrid/2-6+g)*unitx)),$((gridstarty+unity*6+gridlw)) $((gridstartx+(nhgrid/2-6+g)*unitx+gridlw)),$((gridstarty+unity*7+gridlw-1))" )  
 done
 
 convert -size ${w}x${h} xc:white \
         -fill "rgb(204,204,0)" \
-        -draw "rectangle $((w/2-6*unit)),$((gridstarty+unit*4+gridlw)) $((w/2-4*unit)),$((gridstarty+unit*6+gridlw))" \
-        -draw "rectangle $((w/2-6*unit)),$((gridstarty+unit*11+gridlw)) $((w/2+6*unit)),$((gridstarty+unit*13+gridlw))" \
+        -draw "rectangle $((w/2-6*unitx)),$((gridstarty+unity*4+gridlw)) $((w/2-4*unitx)),$((gridstarty+unity*6+gridlw))" \
+        -draw "rectangle $((w/2-6*unitx)),$((gridstarty+unity*11+gridlw)) $((w/2+6*unitx)),$((gridstarty+unity*13+gridlw))" \
         -fill "rgb(0,204,204)" \
-        -draw "rectangle $((w/2-4*unit)),$((gridstarty+unit*4+gridlw)) $((w/2-2*unit)),$((gridstarty+unit*6+gridlw))" \
+        -draw "rectangle $((w/2-4*unitx)),$((gridstarty+unity*4+gridlw)) $((w/2-2*unitx)),$((gridstarty+unity*6+gridlw))" \
         -fill "rgb(0,204,0)" \
-        -draw "rectangle $((w/2-2*unit)),$((gridstarty+unit*4+gridlw)) $((w/2-0*unit)),$((gridstarty+unit*6+gridlw))" \
+        -draw "rectangle $((w/2-2*unitx)),$((gridstarty+unity*4+gridlw)) $((w/2-0*unitx)),$((gridstarty+unity*6+gridlw))" \
         -fill "rgb(204,0,204)" \
-        -draw "rectangle $((w/2-0*unit)),$((gridstarty+unit*4+gridlw)) $((w/2+2*unit)),$((gridstarty+unit*6+gridlw))" \
+        -draw "rectangle $((w/2-0*unitx)),$((gridstarty+unity*4+gridlw)) $((w/2+2*unitx)),$((gridstarty+unity*6+gridlw))" \
         -fill "rgb(204,0,0)" \
-        -draw "rectangle $((w/2+2*unit)),$((gridstarty+unit*4+gridlw)) $((w/2+4*unit)),$((gridstarty+unit*6+gridlw))" \
-        -draw "rectangle $((w/2-unit/2)),$((gridstarty+unit*11+gridlw)) $((w/2+unit/2)),$((gridstarty+unit*13+gridlw))" \
+        -draw "rectangle $((w/2+2*unitx)),$((gridstarty+unity*4+gridlw)) $((w/2+4*unitx)),$((gridstarty+unity*6+gridlw))" \
+        -draw "rectangle $((w/2-unitx/2)),$((gridstarty+unity*11+gridlw)) $((w/2+unitx/2)),$((gridstarty+unity*13+gridlw))" \
         -fill "rgb(0,0,204)" \
-        -draw "rectangle $((w/2+4*unit)),$((gridstarty+unit*4+gridlw)) $((w/2+6*unit)),$((gridstarty+unit*6+gridlw))" \
+        -draw "rectangle $((w/2+4*unitx)),$((gridstarty+unity*4+gridlw)) $((w/2+6*unitx)),$((gridstarty+unity*6+gridlw))" \
 \
 	-fill black \
-        -draw "rectangle $((w/2-6*unit)),$((gridstarty+unit*6+gridlw)) $((w/2+6*unit)),$((gridstarty+unit*9+gridlw))" \
+        -draw "rectangle $((w/2-6*unitx)),$((gridstarty+unity*6+gridlw)) $((w/2+6*unitx)),$((gridstarty+unity*9+gridlw))" \
 	"${stripe[@]}" \
 	-fill black \
-        -draw "rectangle $((w/2-(unit-gridlw)/2)),$((gridstarty+unit*5+gridlw)) $((w/2+(unit-gridlw)/2-1)),$((gridstarty+unit*8+gridlw))" \
+        -draw "rectangle $((w/2-(unitx-gridlw)/2)),$((gridstarty+unity*5+gridlw)) $((w/2+(unitx-gridlw)/2-1)),$((gridstarty+unity*8+gridlw))" \
 	-fill white \
-        -draw "rectangle $((w/2-6*unit)),$((h/2-gridlw/2)) $((w/2+6*unit)),$((h/2-gridlw/2+gridlw))" \
-        -draw "rectangle $((w/2-gridlw/2)),$((gridstarty+unit*5+gridlw)) $((w/2-gridlw/2+gridlw)),$((gridstarty+unit*8+gridlw))" \
+        -draw "rectangle $((w/2-6*unitx)),$((h/2-gridlw/2)) $((w/2+6*unitx)),$((h/2-gridlw/2+gridlw))" \
+        -draw "rectangle $((w/2-gridlw/2)),$((gridstarty+unity*5+gridlw)) $((w/2-gridlw/2+gridlw)),$((gridstarty+unity*8+gridlw))" \
 \
         -fill "rgb(0,0,0)" \
-        -draw "rectangle $((w/2-6*unit)),$((gridstarty+unit*9+gridlw)) $((w/2-4*unit)),$((gridstarty+unit*10+gridlw))" \
+        -draw "rectangle $((w/2-6*unitx)),$((gridstarty+unity*9+gridlw)) $((w/2-4*unitx)),$((gridstarty+unity*10+gridlw))" \
         -fill "rgb(51,51,51)" \
-        -draw "rectangle $((w/2-4*unit)),$((gridstarty+unit*9+gridlw)) $((w/2-2*unit)),$((gridstarty+unit*10+gridlw))" \
+        -draw "rectangle $((w/2-4*unitx)),$((gridstarty+unity*9+gridlw)) $((w/2-2*unitx)),$((gridstarty+unity*10+gridlw))" \
         -fill "rgb(102,102,102)" \
-        -draw "rectangle $((w/2-2*unit)),$((gridstarty+unit*9+gridlw)) $((w/2-0*unit)),$((gridstarty+unit*10+gridlw))" \
+        -draw "rectangle $((w/2-2*unitx)),$((gridstarty+unity*9+gridlw)) $((w/2-0*unitx)),$((gridstarty+unity*10+gridlw))" \
         -fill "rgb(153,153,153)" \
-        -draw "rectangle $((w/2-0*unit)),$((gridstarty+unit*9+gridlw)) $((w/2+2*unit)),$((gridstarty+unit*10+gridlw))" \
+        -draw "rectangle $((w/2-0*unitx)),$((gridstarty+unity*9+gridlw)) $((w/2+2*unitx)),$((gridstarty+unity*10+gridlw))" \
         -fill "rgb(204,204,204)" \
-        -draw "rectangle $((w/2+2*unit)),$((gridstarty+unit*9+gridlw)) $((w/2+4*unit)),$((gridstarty+unit*10+gridlw))" \
+        -draw "rectangle $((w/2+2*unitx)),$((gridstarty+unity*9+gridlw)) $((w/2+4*unitx)),$((gridstarty+unity*10+gridlw))" \
         -fill "rgb(255,255,255)" \
-        -draw "rectangle $((w/2+4*unit)),$((gridstarty+unit*9+gridlw)) $((w/2+6*unit)),$((gridstarty+unit*10+gridlw))" \
+        -draw "rectangle $((w/2+4*unitx)),$((gridstarty+unity*9+gridlw)) $((w/2+6*unitx)),$((gridstarty+unity*10+gridlw))" \
 \
         -fill black \
-        -draw "rectangle $((w/2-2*unit)),$((gridstarty+unit*1+gridlw)) $((w/2+2*unit)),$((gridstarty+unit*2+gridlw))" \
-        -draw "rectangle $((w/2-6*unit)),$((gridstarty+unit*2+gridlw)) $((w/2-3*unit)),$((gridstarty+unit*3+gridlw))" \
-        -draw "rectangle $((w/2+6*unit)),$((gridstarty+unit*2+gridlw)) $((w/2+3*unit)),$((gridstarty+unit*3+gridlw))" \
-        -draw "rectangle $((gridstartx+(nhgrid/2-2)*unit)),$((gridstarty+unit*2+gridlw)) $((gridstartx+(nhgrid/2-2)*unit+gridlw)),$((gridstarty+unit*3+gridlw))" \
-        -draw "rectangle $((w/2-3*unit+1)),$((gridstarty+unit*10+gridlw)) $((w/2+3*unit)),$((gridstarty+unit*11+gridlw))" \
+        -draw "rectangle $((w/2-2*unitx)),$((gridstarty+unity*1+gridlw)) $((w/2+2*unitx)),$((gridstarty+unity*2+gridlw))" \
+        -draw "rectangle $((w/2-6*unitx)),$((gridstarty+unity*2+gridlw)) $((w/2-3*unitx)),$((gridstarty+unity*3+gridlw))" \
+        -draw "rectangle $((w/2+6*unitx)),$((gridstarty+unity*2+gridlw)) $((w/2+3*unitx)),$((gridstarty+unity*3+gridlw))" \
+        -draw "rectangle $((gridstartx+(nhgrid/2-2)*unitx)),$((gridstarty+unity*2+gridlw)) $((gridstartx+(nhgrid/2-2)*unitx+gridlw)),$((gridstarty+unity*3+gridlw))" \
+        -draw "rectangle $((w/2-3*unitx+1)),$((gridstarty+unity*10+gridlw)) $((w/2+3*unitx)),$((gridstarty+unity*11+gridlw))" \
         -fill white \
-        -draw "rectangle $((gridstartx+(nhgrid/2-2)*unit)),$((gridstarty+unit*10+gridlw)) $((gridstartx+(nhgrid/2-2)*unit+gridlw)),$((gridstarty+unit*11+gridlw))" \
+        -draw "rectangle $((gridstartx+(nhgrid/2-2)*unitx)),$((gridstarty+unity*10+gridlw)) $((gridstartx+(nhgrid/2-2)*unitx+gridlw)),$((gridstarty+unity*11+gridlw))" \
 	"${checker[@]}" \
         ${TEMPDIR}/centre.png
 
 convert -size ${w}x${h} xc:black \
 	-fill white \
-	-draw "circle $((w/2)),$((h/2)) $((w/2)),$((h/2-6*unit))" \
+	-draw "ellipse $((w/2)),$((h/2)) $((6*unitx)),$((6*unity)) 0,360" \
 	${TEMPDIR}/circle.png 
 
 unset drawgrid
@@ -175,38 +192,38 @@ drawgrid=( -fill white )
 for ((g=0;g<=$nhgrid;g++)) ; do
   drawgrid=( "${drawgrid[@]}" 
     -draw 
-    "rectangle $((gridstartx+g*unit)),0 $((gridstartx+g*unit+gridlw)),$h" )
+    "rectangle $((gridstartx+g*unitx)),0 $((gridstartx+g*unitx+gridlw)),$h" )
 done
 
 for ((g=0;g<=$nvgrid;g++)) ; do
   drawgrid=( "${drawgrid[@]}" 
     -draw 
-    "rectangle 0,$((gridstarty+g*unit)) $w,$((gridstarty+g*unit+gridlw))" )
+    "rectangle 0,$((gridstarty+g*unity)) $w,$((gridstarty+g*unity+gridlw))" )
 done
 
 drawgrid=( "${drawgrid[@]}" 
   -draw "rectangle 0,0 $gridstartx,$h" 
   -draw "rectangle 0,0 $w,$gridstarty" 
-  -draw "rectangle $w,$h $((gridstartx+nhgrid*unit)),0" 
-  -draw "rectangle $w,$h 0,$((gridstarty+nvgrid*unit))" 
+  -draw "rectangle $w,$h $((gridstartx+nhgrid*unitx)),0" 
+  -draw "rectangle $w,$h 0,$((gridstarty+nvgrid*unity))" 
   -fill black
 )
 
 for ((g=0;g<=$nhgrid;g=g+2)) ; do
   drawgrid=( "${drawgrid[@]}" 
     -draw 
-    "rectangle $((gridstartx+g*unit+gridlw+1)),0 $((gridstartx+(g+1)*unit)),$((gridstarty-1))"
+    "rectangle $((gridstartx+g*unitx+gridlw+1)),0 $((gridstartx+(g+1)*unitx)),$((gridstarty-1))"
     -draw
-    "rectangle $((gridstartx+g*unit+gridlw+1)),$((gridstarty+nvgrid*unit+gridlw+1)) $((gridstartx+(g+1)*unit)),$h" 
+    "rectangle $((gridstartx+g*unitx+gridlw+1)),$((gridstarty+nvgrid*unity+gridlw+1)) $((gridstartx+(g+1)*unitx)),$h" 
   )
 done
 
 for ((g=0;g<=$nvgrid;g=g+2)) ; do
   drawgrid=( "${drawgrid[@]}" 
     -draw 
-    "rectangle 0,$((gridstarty+g*unit+gridlw+1)) $((gridstartx-1)),$((gridstarty+(g+1)*unit-1))"
+    "rectangle 0,$((gridstarty+g*unity+gridlw+1)) $((gridstartx-1)),$((gridstarty+(g+1)*unity-1))"
     -draw
-    "rectangle $((gridstartx+nhgrid*unit+gridlw+1)),$((gridstarty+g*unit+gridlw+1)) $w,$((gridstarty+(g+1)*unit-1))" 
+    "rectangle $((gridstartx+nhgrid*unitx+gridlw+1)),$((gridstarty+g*unity+gridlw+1)) $w,$((gridstarty+(g+1)*unity-1))" 
   )
 done
 
@@ -227,21 +244,21 @@ convert -size ${w}x${h} xc:grey50 \
 	"${diagonals[@]}" \
 	"${drawgrid[@]}" \
         -fill "rgb(51,153,102)" \
-        -draw "rectangle $((gridstartx+(nhgrid/2-7)*unit+gridlw+1)),$((gridstarty+unit+gridlw+1))    $((gridstartx+(nhgrid/2-6)*unit-1)),$((h/2))" \
+        -draw "rectangle $((gridstartx+(nhgrid/2-7)*unitx+gridlw+1)),$((gridstarty+unity+gridlw+1))    $((gridstartx+(nhgrid/2-6)*unitx-1)),$((h/2))" \
         -fill "rgb(204,102,102)" \
-        -draw "rectangle $((gridstartx+(nhgrid/2-7)*unit+gridlw+1)),$((h/2))                         $((gridstartx+(nhgrid/2-6)*unit-1)),$((gridstarty+unit*12-1))" \
+        -draw "rectangle $((gridstartx+(nhgrid/2-7)*unitx+gridlw+1)),$((h/2))                         $((gridstartx+(nhgrid/2-6)*unitx-1)),$((gridstarty+unity*12-1))" \
         -fill "rgb(102,102,255)" \
-        -draw "rectangle $((gridstartx+(nhgrid/2-6)*unit)),$((gridstarty+unit+gridlw+1))             $((gridstartx+(nhgrid/2-5)*unit-1)),$((gridstarty+unit*3-1))" \
+        -draw "rectangle $((gridstartx+(nhgrid/2-6)*unitx)),$((gridstarty+unity+gridlw+1))             $((gridstartx+(nhgrid/2-5)*unitx-1)),$((gridstarty+unity*3-1))" \
         -fill "rgb(153,102,0)" \
-        -draw "rectangle $((gridstartx+(nhgrid/2-6)*unit)),$((gridstarty+10*unit+gridlw+1))          $((gridstartx+(nhgrid/2-5)*unit-1)),$((gridstarty+unit*12-1))" \
+        -draw "rectangle $((gridstartx+(nhgrid/2-6)*unitx)),$((gridstarty+10*unity+gridlw+1))          $((gridstartx+(nhgrid/2-5)*unitx-1)),$((gridstarty+unity*12-1))" \
         -fill "rgb(128,128,0)" \
-        -draw "rectangle $((gridstartx+(nhgrid/2+7)*unit+gridlw+1)),$((gridstarty+unit+gridlw+1))    $((gridstartx+(nhgrid/2+8)*unit-1)),$((h/2))" \
+        -draw "rectangle $((gridstartx+(nhgrid/2+7)*unitx+gridlw+1)),$((gridstarty+unity+gridlw+1))    $((gridstartx+(nhgrid/2+8)*unitx-1)),$((h/2))" \
         -fill "rgb(102,102,255)" \
-        -draw "rectangle $((gridstartx+(nhgrid/2+7)*unit+gridlw+1)),$((h/2))                         $((gridstartx+(nhgrid/2+8)*unit-1)),$((gridstarty+unit*12-1))" \
+        -draw "rectangle $((gridstartx+(nhgrid/2+7)*unitx+gridlw+1)),$((h/2))                         $((gridstartx+(nhgrid/2+8)*unitx-1)),$((gridstarty+unity*12-1))" \
         -fill "rgb(102,102,255)" \
-        -draw "rectangle $((gridstartx+(nhgrid/2+6)*unit+gridlw+1)),$((gridstarty+unit+gridlw+1))    $((gridstartx+(nhgrid/2+7)*unit+gridlw)),$((gridstarty+unit*3-1))" \
+        -draw "rectangle $((gridstartx+(nhgrid/2+6)*unitx+gridlw+1)),$((gridstarty+unity+gridlw+1))    $((gridstartx+(nhgrid/2+7)*unitx+gridlw)),$((gridstarty+unity*3-1))" \
         -fill "rgb(153,102,0)" \
-        -draw "rectangle $((gridstartx+(nhgrid/2+6)*unit+gridlw+1)),$((gridstarty+10*unit+gridlw+1)) $((gridstartx+(nhgrid/2+7)*unit+gridlw)),$((gridstarty+unit*12-1))" \
+        -draw "rectangle $((gridstartx+(nhgrid/2+6)*unitx+gridlw+1)),$((gridstarty+10*unity+gridlw+1)) $((gridstartx+(nhgrid/2+7)*unitx+gridlw)),$((gridstarty+unity*12-1))" \
 	${TEMPDIR}/grid.png
 
 convert -size ${w}x${h} ${TEMPDIR}/grid.png ${TEMPDIR}/centre.png ${TEMPDIR}/circle.png -composite ${TEMPDIR}/background.png
@@ -262,10 +279,10 @@ for ((i=0; i < $frames; i++)) ; do
 	  -fill black \
 	  -draw "rectangle $(((barstart+i)*barstep)),0 $(((barstart+i)*barstep+barw)),${h}" \
 	  -font Arial-Black-Regular \
-	  -pointsize $unit \
+	  -pointsize $unity \
 	  -fill white \
-          -stroke black -strokewidth 5 -annotate +$((w-2*i))+$((gridstartx+11*unit)) 'Judder Test' \
-          -stroke none                 -annotate +$((w-2*i))+$((gridstartx+11*unit)) 'Judder Test' \
+          -stroke black -strokewidth 5 -annotate +$((w-2*i))+$((gridstartx+11*unity)) 'Judder Test' \
+          -stroke none                 -annotate +$((w-2*i))+$((gridstartx+11*unity)) 'Judder Test' \
 	  -depth 8 \
 	  ${image_name}
 
@@ -285,7 +302,7 @@ if [ -n "$interlaced" ] ; then
     -vcodec mpeg2video -flags +ilme+ildct -y test.mpg
 else
   ffmpeg -r ${rate} -i ${TEMPDIR}/test%03d.png -r ${rate} \
-    -vcodec mpeg2video -y test.mpg
+    -vcodec mpeg2video -aspect $aspect_ratio -y test.mpg
 fi
 
 if [ -n "$remove_tempdir" ] ; then
-- 
cgit v0.12


From 58ddf33002806eb979e128be45b0e849dbb138f4 Mon Sep 17 00:00:00 2001
From: Greg Frost <gregfrost1@bigpond.com>
Date: Sat, 24 Apr 2010 14:37:25 +0930
Subject: test-pattern: add bitrate support

---
 abs/core-testing/test-pattern/PKGBUILD          |  2 +-
 abs/core-testing/test-pattern/test_pattern.bash | 24 +++++++++++++++++++-----
 2 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/abs/core-testing/test-pattern/PKGBUILD b/abs/core-testing/test-pattern/PKGBUILD
index db15a0d..cf7b2f1 100644
--- a/abs/core-testing/test-pattern/PKGBUILD
+++ b/abs/core-testing/test-pattern/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=test-pattern
 pkgver=1.0
-pkgrel=4
+pkgrel=5
 arch=('i686')
 pkgdesc="script to create test pattern videos"
 depends=(imagemagick)
diff --git a/abs/core-testing/test-pattern/test_pattern.bash b/abs/core-testing/test-pattern/test_pattern.bash
index a68249a..76db158 100755
--- a/abs/core-testing/test-pattern/test_pattern.bash
+++ b/abs/core-testing/test-pattern/test_pattern.bash
@@ -9,8 +9,9 @@ TEMPDIR=
 unset remove_tempdir
 interlaced=
 aspect_ratio=
+bitrate=
 
-while getopts ":w:h:t:r:ia:" opt; do
+while getopts ":w:h:t:r:ia:b:" opt; do
   case $opt in
     w)
       w=$OPTARG
@@ -30,8 +31,11 @@ while getopts ":w:h:t:r:ia:" opt; do
     a)
       aspect_ratio=$OPTARG
       ;;
+    b)
+      bitrate=$OPTARG
+      ;;
     \?)
-      echo -n"\
+      echo -n "\
 Error: Invalid option -$OPTARG
 
 Usage:
@@ -42,11 +46,16 @@ Usage:
         The height in pixels.
     -t tempdir
 	Temporary directory for intermediate files. If no directory is specified, one is created and deleted at the end of processing.
-    -r framerate
+    -r fieldrate
     -i
 	Generate an interlaced test pattern
     -a n:m
 	Aspect ratio of generated video.
+    -b bitrate
+	Bitrate used for encoding.
+
+Example:
+test_pattern.bash -w 1440 -h 1080 -t temp -r 50 -i -a 16:9 -b 12000k
 "
       exit 1
   esac
@@ -297,12 +306,17 @@ for ((i=0; i < $frames; i++)) ; do
   fi
 done
 
+bitrate_flags=
+if [ -n "$bitrate" ] ; then
+  bitrate_flags="-b $bitrate"
+fi
+
 if [ -n "$interlaced" ] ; then
   ffmpeg -r ${rate} -i ${TEMPDIR}/interlaced%03d.png -r ${rate} \
-    -vcodec mpeg2video -flags +ilme+ildct -y test.mpg
+    -vcodec mpeg2video -flags +ilme+ildct ${bitrate_flags} -y test.mpg
 else
   ffmpeg -r ${rate} -i ${TEMPDIR}/test%03d.png -r ${rate} \
-    -vcodec mpeg2video -aspect $aspect_ratio -y test.mpg
+    -vcodec mpeg2video -aspect $aspect_ratio ${bitrate_flags} -y test.mpg
 fi
 
 if [ -n "$remove_tempdir" ] ; then
-- 
cgit v0.12


From 440fc28966ffed32deed166b01284ef689b07961 Mon Sep 17 00:00:00 2001
From: Greg Frost <gregfrost1@bigpond.com>
Date: Sat, 24 Apr 2010 14:39:21 +0930
Subject: test-pattern: fix md5sum

---
 abs/core-testing/test-pattern/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/test-pattern/PKGBUILD b/abs/core-testing/test-pattern/PKGBUILD
index cf7b2f1..4b71f68 100644
--- a/abs/core-testing/test-pattern/PKGBUILD
+++ b/abs/core-testing/test-pattern/PKGBUILD
@@ -13,4 +13,4 @@ build() {
   install -m755 -D test_pattern.bash $startdir/pkg/usr/bin/test_pattern.bash
 }
 
-md5sums=('fbe06cf5a38090e2242f4c3e42f3fc7a')
+md5sums=('0bcfa657a2b5f31c62a37738016beb1f')
-- 
cgit v0.12


From 1c253bc91fa87e7ae4ec1fa8447c4a3754e341fc Mon Sep 17 00:00:00 2001
From: Greg Frost <gregfrost1@bigpond.com>
Date: Sat, 24 Apr 2010 15:05:18 +0930
Subject: test-pattern: aspect ratio support for interlaced video

---
 abs/core-testing/test-pattern/PKGBUILD          | 4 ++--
 abs/core-testing/test-pattern/test_pattern.bash | 6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/abs/core-testing/test-pattern/PKGBUILD b/abs/core-testing/test-pattern/PKGBUILD
index 4b71f68..7ac825b 100644
--- a/abs/core-testing/test-pattern/PKGBUILD
+++ b/abs/core-testing/test-pattern/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=test-pattern
 pkgver=1.0
-pkgrel=5
+pkgrel=6
 arch=('i686')
 pkgdesc="script to create test pattern videos"
 depends=(imagemagick)
@@ -13,4 +13,4 @@ build() {
   install -m755 -D test_pattern.bash $startdir/pkg/usr/bin/test_pattern.bash
 }
 
-md5sums=('0bcfa657a2b5f31c62a37738016beb1f')
+md5sums=('3a427a5dee0763c6b0a5938fedbde883')
diff --git a/abs/core-testing/test-pattern/test_pattern.bash b/abs/core-testing/test-pattern/test_pattern.bash
index 76db158..d220fb0 100755
--- a/abs/core-testing/test-pattern/test_pattern.bash
+++ b/abs/core-testing/test-pattern/test_pattern.bash
@@ -313,10 +313,12 @@ fi
 
 if [ -n "$interlaced" ] ; then
   ffmpeg -r ${rate} -i ${TEMPDIR}/interlaced%03d.png -r ${rate} \
-    -vcodec mpeg2video -flags +ilme+ildct ${bitrate_flags} -y test.mpg
+    -vcodec mpeg2video -flags +ilme+ildct -aspect $aspect_ratio \
+    ${bitrate_flags} -y test.mpg
 else
   ffmpeg -r ${rate} -i ${TEMPDIR}/test%03d.png -r ${rate} \
-    -vcodec mpeg2video -aspect $aspect_ratio ${bitrate_flags} -y test.mpg
+    -vcodec mpeg2video -aspect $aspect_ratio \
+    ${bitrate_flags} -y test.mpg
 fi
 
 if [ -n "$remove_tempdir" ] ; then
-- 
cgit v0.12


From b2a1209fb72193d69ad15afb8d7204f793c378e5 Mon Sep 17 00:00:00 2001
From: Greg Frost <gregfrost1@bigpond.com>
Date: Mon, 26 Apr 2010 10:48:03 +0930
Subject: LinHES-system & fluxbox: Add feature #692 - auto xterm font size

---
 abs/core-testing/LinHES-system/LinHES.install | 5 +++++
 abs/core-testing/LinHES-system/PKGBUILD       | 5 +++--
 abs/core-testing/fluxbox/PKGBUILD             | 4 ++--
 abs/core-testing/fluxbox/keys                 | 2 +-
 4 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/abs/core-testing/LinHES-system/LinHES.install b/abs/core-testing/LinHES-system/LinHES.install
index 9f6a1c1..0f6689e 100644
--- a/abs/core-testing/LinHES-system/LinHES.install
+++ b/abs/core-testing/LinHES-system/LinHES.install
@@ -48,7 +48,12 @@ grep -q "pam_limits.so" /etc/pam.d/su
 
 	fi
 
+# Update mythtv's fluxbox keys files to use the tvterm.sh script to get 
+# an xterm. Then signal fluxbox to re-read the keys file.
 
+sed -i.orig 's/^Mod1 x :.*xterm.*$/Mod1 x :ExecCommand tvterm.sh/g' \
+  ~mythtv/.fluxbox/keys
+pkill -HUP fluxbox
 
 }
 
diff --git a/abs/core-testing/LinHES-system/PKGBUILD b/abs/core-testing/LinHES-system/PKGBUILD
index 316bcba..017984f 100644
--- a/abs/core-testing/LinHES-system/PKGBUILD
+++ b/abs/core-testing/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-system
 pkgver=1.1
-pkgrel=29
+pkgrel=30
 arch=('i686')
 MVDIR=$startdir/pkg/usr/LH
 BINDIR=$startdir/pkg/usr/bin
@@ -8,7 +8,7 @@ install=LinHES.install
 pkgdesc="scripts and things related to having a automated system"
 depends=(linhes-sounds xdotool)
 backup=(etc/modprobe.d/alsa-base)
-binfiles="LinHES-start optimize_mythdb.py myth_mtc.py myth_mtc.sh LinHES-run firstboot.sh load-modules-mythvantage.sh unclutter-toggle.sh myth_mtc.lr smolt.cron mythfrontend-start"
+binfiles="LinHES-start optimize_mythdb.py myth_mtc.py myth_mtc.sh LinHES-run firstboot.sh load-modules-mythvantage.sh unclutter-toggle.sh tvterm.sh myth_mtc.lr smolt.cron mythfrontend-start"
 
 source=(LinHES-session LinHES-profile.sh $binfiles alsa-base)
 
@@ -47,6 +47,7 @@ md5sums=('19934a456d0e112298b8aac3279f9a16'
          '18a884a73344ff6eb74f63b49745e0f5'
          'dc3eef2a624754e16805d72bbe488b67'
          'dc0be354ce77ba2b89868fc29b942c43'
+         '542e670e78d117657f93141e9689f54d'
          'f1870a9522c79e6b248fcbf81dec3280'
          'abe887472a170bd1a8e6da6a7b7e93e4'
          '752488eb8bfb672ce0e4c924f7faf3d1'
diff --git a/abs/core-testing/fluxbox/PKGBUILD b/abs/core-testing/fluxbox/PKGBUILD
index 9f4a438..3873ff1 100644
--- a/abs/core-testing/fluxbox/PKGBUILD
+++ b/abs/core-testing/fluxbox/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=fluxbox
 pkgver=1.1.1
-pkgrel=10
+pkgrel=11
 pkgdesc="A lightweight and highly-configurable window manager"
 arch=('i686' 'x86_64')
 url="http://www.fluxbox.org"
@@ -33,5 +33,5 @@ build() {
 }
 md5sums=('fa9fa8fe9a44f86522de5754f8b285ca'
          'eeae9c88a2526ac0bd8afcd9ce97f9ed'
-         'df8dd2ff7ec582d9a2221279d960750f'
+         'bb9f812c559263b4bf1d722628a11ca8'
          '82dac089f2d42bb9592debc93291846d')
diff --git a/abs/core-testing/fluxbox/keys b/abs/core-testing/fluxbox/keys
index bf45b79..d0091eb 100644
--- a/abs/core-testing/fluxbox/keys
+++ b/abs/core-testing/fluxbox/keys
@@ -17,7 +17,7 @@ Mod1 F9 :Workspace 9
 Mod1 F10 :Workspace 10
 Mod1 F11 :Workspace 11
 Mod1 F12 :Workspace 12
-Mod1 x :ExecCommand xterm -fn *18*
+Mod1 x :ExecCommand tvterm.sh
 Mod1 s :ExecCommand sudo taskset -c 0 mythtv-setup
 #Mod1 m :ExecCommand mythfrontend --logfile /var/log/mythtv/mythfrontend.log
 Mod1 m :ExecCommand /usr/LH/bin/mythfrontend-start
-- 
cgit v0.12


From f821b14a52b6867a30f6b81a14def672a52ae0fc Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:11:51 -0700
Subject: morethemes:updated for 0.23-fixes

---
 .../mythtv/stable-0.23/morethemes/PKGBUILD         | 51 +++++-----------------
 1 file changed, 11 insertions(+), 40 deletions(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/morethemes/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/morethemes/PKGBUILD
index c8f892e..e745eef 100644
--- a/abs/core-testing/mythtv/stable-0.23/morethemes/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/morethemes/PKGBUILD
@@ -1,54 +1,25 @@
-pkgname=morethemes-svn
-pkgver=23790
+pkgname=morethemes
+pkgver=0.23
 pkgrel=1
 pkgdesc="Additional themes for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
 arch=('i686' 'x86_64')
 
-depends=('mythtv-svn')
-conflicts=('morethemes')
-groups=('mythtv-extras-svn')
+depends=('mythtv')
+groups=('mythtv-extras')
 
 patches=()
-source=(`echo ${patches[@]:0}`)
 
-_svntrunk=http://cvs.mythtv.org/svn/trunk/themes
-_svnmod=themes
+source=('ftp://ftp.knoppmyth.net/R6/sources/morethemes-0.23.tar.bz2')
 
+md5sums=('5672c0e8604f7b1610fa9a1c7626423c')
 
 build() {
 
-	svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
-	svn revert -R $_svnmod
-
-	cd $startdir/src/$_svnmod
-
-	echo "--------------------------applying patches----------------------------------------------------"
-	for i in `echo ${patches[@]:0} `
-	do
-		echo applying $i
-		echo "-----------------------------"
-		patch -Np0  -i ${startdir}/src/$i  || return 1
-	done
-	echo "--------------------------done applying patches-----------------------------------------------"
-	
-	[ "$CARCH" = "i686"   ] && ARCH="i686"
-	[ "$CARCH" = "x86_64" ] && ARCH="x86-64"
-
-	# clean up
-	make distclean
-
-	# configure
-#	./configure --prefix=/usr || return 1
-       ./configure --prefix=/usr
-
-	# build and install
-	. /etc/profile
-#	make || return 1
-#	make INSTALL_ROOT=$startdir/pkg install || return 1
-        make
-	make INSTALL_ROOT=$startdir/pkg install
-	return 0
-#### THIS PKGBUILD IS HACKED TO BUILD WITH ZERO CONTENT RIGHT NOW ####
+	cd $startdir/src/
+	mkdir -p $pkgdir/usr/share/mythtv
+	cp -a themes $pkgdir/usr/share/mythtv	
+
 }
+
-- 
cgit v0.12


From f2c02f9acf1e3d25a0dfd8b205adeb18d4cee039 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:12:13 -0700
Subject: mytharchive:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD
index 7c5b99e..e1453c7 100644
--- a/abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mytharchive
 pkgver=0.23
-pkgrel=1
+pkgrel=2
 pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows."
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From f5d6e39a50447dfddbc6829901165bd78a4fb5af Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:13:01 -0700
Subject: mythbrowser:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD
index c5ae2bb..8f95361 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythbrowser
 pkgver=0.23
-pkgrel=1
+pkgrel=2
 pkgdesc="Mini web browser for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From 31bb0b69f902b0042c3ac2949a354882e8d8d6f4 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:13:11 -0700
Subject: mythgallery:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD
index ecd6676..1e6031e 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythgallery
 pkgver=0.23
-pkgrel=1
+pkgrel=2
 pkgdesc="Image gallery plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From 7ea1ff287884efbed7ecf388d4796aa0b06911fa Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:13:18 -0700
Subject: mythgame:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD
index 04f7c8e..566cf06 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythgame
 pkgver=0.23
-pkgrel=1
+pkgrel=2
 pkgdesc="Emulation plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From f80210ef600362aaa2303e4b62226487b6d55d24 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:13:25 -0700
Subject: mythmovies:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD
index dd8cc34..05732cf 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythmovies
 pkgver=0.23
-pkgrel=1
+pkgrel=2
 pkgdesc="Displays information about movies playing in the area."
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From 9983cbbbe1f01af590166280b34d5070842b6f94 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:13:32 -0700
Subject: mythmusic:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD
index d1df770..28d5591 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythmusic
 pkgver=0.23
-pkgrel=2
+pkgrel=3
 pkgdesc="Music playing plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From 3b9f67a94f832668fab9b1f1af19587184e7b851 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:13:40 -0700
Subject: mythnetvision:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD
index 99674d5..022b4ef 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythnetvision
 pkgver=0.23
-pkgrel=1
+pkgrel=2
 pkgdesc="Internet video plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From c3271ad557ff2a5012f6c64a83aae790ef74555c Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:13:46 -0700
Subject: mythnews:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD
index f618940..6f620ea 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythnews
 pkgver=0.23
-pkgrel=2
+pkgrel=3
 pkgdesc="News checking plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From 75ee01099f61fbc78468dac3f09a5e13625f1147 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:13:54 -0700
Subject: myththemes:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/myththemes/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/myththemes/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/myththemes/PKGBUILD
index da4c6e8..6ceba8b 100755
--- a/abs/core-testing/mythtv/stable-0.23/myththemes/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/myththemes/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=myththemes
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="Themes for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From d0a966cc627d686a3d001374860d2041e9097fe2 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:14:02 -0700
Subject: mythtv:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
index 369b03a..387e579 100755
--- a/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythtv
 pkgver=0.23
-pkgrel=14
+pkgrel=15
 pkgdesc="A personal video recorder for Linux"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From 457ca45d181efebfb4a4bceff96747fbb4c6f4aa Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:14:10 -0700
Subject: mythvideo::bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD
index b4a6fe1..ff6feb5 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythvideo
 pkgver=0.23
-pkgrel=2
+pkgrel=3
 pkgdesc="Video playback and browsing plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From cd375d7a093e17aba5f4c33aa49edc15f2efb899 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:14:17 -0700
Subject: mythweather:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD
index cae0c67..e864ead 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythweather
 pkgver=0.23
-pkgrel=2
+pkgrel=3
 pkgdesc="Weather checking plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From b684d8df3f3c34ed690ce5ec90ffef619851a958 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:14:22 -0700
Subject: mythweb:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD
index cccdd1e..6056098 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythweb
 pkgver=0.23
-pkgrel=1
+pkgrel=2
 pkgdesc="Web interface for MythTV's backend"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From 3b2d0daca2d4f59326412ca41ba1d2b436ffc0fd Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 25 Apr 2010 21:14:29 -0700
Subject: mythzoneminder:bumped to ensure latest.

---
 abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD
index 7512e01..11fd665 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythzoneminder
 pkgver=0.23
-pkgrel=1
+pkgrel=2
 pkgdesc="Integrates ZoneMinder into MythTV"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From 415347d482b216bcfc3bb504a9e512bea328860b Mon Sep 17 00:00:00 2001
From: Greg Frost <gregfrost1@bigpond.com>
Date: Mon, 26 Apr 2010 15:37:18 +0930
Subject: LinHES-system: forgot to git-add the tvterm.sh script

---
 abs/core-testing/LinHES-system/tvterm.sh | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100755 abs/core-testing/LinHES-system/tvterm.sh

diff --git a/abs/core-testing/LinHES-system/tvterm.sh b/abs/core-testing/LinHES-system/tvterm.sh
new file mode 100755
index 0000000..dfd116b
--- /dev/null
+++ b/abs/core-testing/LinHES-system/tvterm.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+#
+# Create a terminal with a font that mostly fills the width of the screen.
+
+width=$(echo $(xdpyinfo | grep dimensions:) | cut -d' ' -f2 | cut -dx -f1)
+
+if [ -z "$width" ] ; then
+  width=1024
+fi
+
+if [ $width -ge 1920 ] ; then
+  fontsize=24
+elif [ $width -ge 1440 ] ; then
+  fontsize=21
+elif [ $width -ge 1280 ] ; then
+  fontsize=18
+elif [ $width -ge 1024 ] ; then
+  fontsize=14
+elif [ $width -ge 800 ] ; then
+  fontsize=11
+elif [ $width -ge 640 ] ; then
+  fontsize=8
+fi
+
+xterm -fa 'DejaVu Sans Mono' -fs $fontsize
-- 
cgit v0.12


From ae6a52bca544aebc06227939107b83aee7b8c149 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Wed, 28 Apr 2010 18:22:24 -0700
Subject: mythtv:bumped to ensure latest -fixes.

---
 abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
index 387e579..78b7dc9 100755
--- a/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythtv
 pkgver=0.23
-pkgrel=15
+pkgrel=17
 pkgdesc="A personal video recorder for Linux"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From e07a9c2c807c3ede7f4270a16ce1d59d42853d83 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Wed, 28 Apr 2010 21:00:54 -0700
Subject: atl1e:Initial inclusion.  Module for Atheros based NICs.

---
 abs/core-testing/atl1e/PKGBUILD      | 27 +++++++++++++++++++++++++++
 abs/core-testing/atl1e/atl1e.install | 23 +++++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 abs/core-testing/atl1e/PKGBUILD
 create mode 100644 abs/core-testing/atl1e/atl1e.install

diff --git a/abs/core-testing/atl1e/PKGBUILD b/abs/core-testing/atl1e/PKGBUILD
new file mode 100644
index 0000000..64acdfe
--- /dev/null
+++ b/abs/core-testing/atl1e/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
+# Maintainer: Cecil Watson<knoppmyth@gmail.com>
+
+pkgname=atl1e
+_kernver=2.6.28-LinHES
+pkgver=1
+pkgrel=1
+pkgdesc="AR81 Family Linux wireless drivers"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://partner.atheros.com/Drivers.aspx"
+depends=('kernel26')
+makedepends=(kernel-headers)
+install=atl1e.install
+source=('ftp://ftp.knoppmyth.net/R6/sources/AR81Family-Linux-v1.0.1.9.tar.gz')
+
+build() {
+  cd $startdir/src/src/
+  mkdir -p $pkgdir/lib/modules/$(uname -r)/kernel/drivers/net/atl1e
+  mkdir -p $pkgdir/usr/man/man/man7
+  make KERNDIR=/lib/modules/$_kernver/build \
+  INSTDIR=$startdir/pkg KERNELRELEASE=$_kernver || return 1
+  make KERNDIR=/lib/modules/$_kernver/build \
+  INSTDIR=$startdir/pkg/lib/modules/$(uname -r)/kernel/drivers/net/atl1e KERNELRELEASE=$_kernver install || return 1
+  install -D -m 644 atl1e.7.gz $pkgdir/usr/man/man/man7/atl1e.7.gz
+}
+md5sums=('0d07d98e8941da5232768a154de183fa')
diff --git a/abs/core-testing/atl1e/atl1e.install b/abs/core-testing/atl1e/atl1e.install
new file mode 100644
index 0000000..7ae7ed0
--- /dev/null
+++ b/abs/core-testing/atl1e/atl1e.install
@@ -0,0 +1,23 @@
+# arg 1:  the new package version
+post_install() {
+  KERNEL_VERSION='2.6.28-LinHES'
+  depmod -ae -v $KERNEL_VERSION  > /dev/null 2>&1                
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  KERNEL_VERSION='2.6.28-LinHES'
+  depmod -ae -v $KERNEL_VERSION  > /dev/null 2>&1        
+
+}
+
+# arg 1:  the old package version
+post_remove() {
+  KERNEL_VERSION='2.6.28-LinHES'
+  depmod -ae -v $KERNEL_VERSION  > /dev/null 2>&1        
+}
+
+op=$1
+shift
+$op $*
-- 
cgit v0.12


From 85d4b2c21fb5f2fbc2394d8595a7f6b8548d9591 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sat, 1 May 2010 01:27:31 -0700
Subject: mythtv:bumped to ensure the latest -fixes.

---
 abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
index 78b7dc9..c8eb95f 100755
--- a/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythtv
 pkgver=0.23
-pkgrel=17
+pkgrel=18
 pkgdesc="A personal video recorder for Linux"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From 9a9ecc126d1d3e2b751a8061c66373f67bb8e312 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sat, 1 May 2010 12:14:10 -0700
Subject: sdlmame:bumped to latest.

---
 abs/extra-testing/sdlmame/PKGBUILD        | 81 +++++++++++++++++++------------
 abs/extra-testing/sdlmame/sdlmame.install |  3 --
 2 files changed, 51 insertions(+), 33 deletions(-)

diff --git a/abs/extra-testing/sdlmame/PKGBUILD b/abs/extra-testing/sdlmame/PKGBUILD
index cb9d65b..f59b7f2 100644
--- a/abs/extra-testing/sdlmame/PKGBUILD
+++ b/abs/extra-testing/sdlmame/PKGBUILD
@@ -1,65 +1,86 @@
-# $Id: PKGBUILD,v 1.19 2009/04/24 15:05:30 sergej Exp $
+# $Id: PKGBUILD 12909 2010-03-15 11:46:58Z spupykin $
 # Contributor: robb_force <robb_force@holybuffalo.net>
 # Maintainer: JJDaNiMoTh <jjdanimoth@gmail.com>
 
 pkgname=sdlmame
-pkgver=0.131
-pkgrel=1
+pkgver=0.137
+_basever=0137
+pkgrel=2
 pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
-url="http://rbelmont.mameworld.info/?page_id=163"
+url="http://mamedev.org/"
 license=('custom:MAME License')
 arch=('i686' 'x86_64')
 depends=('sdl>=1.2.11' 'libxinerama' 'gconf')
 makedepends=('unzip' 'nasm' 'mesa')
-DLAGENTS=('http::/usr/bin/wget -U "" -c -t 3 --waitretry=3')
-options=('!makeflags' 'force')
+DLAGENTS=('http::/usr/bin/wget -U "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2) Gecko/20090804 Shiretoko/3.5.2" -c -t 3 --waitretry=3')
+options=('force')
 install=sdlmame.install
-source=(http://rbelmont.mameworld.info/${pkgname}${pkgver%.*}${pkgver#*.}.zip \
-	sdlmame.sh \
-	extras.tar.gz)
-md5sums=('d4891999ec2ee11cb0d75a1596e17060'
+source=("http://aarongiles.com/mirror/releases/mame0137s.zip"
+#"mame${_basever}s.zip::http://mamedev.org/downloader.php?&file=mame${_basever}s.zip"
+#	"http://mamedev.org/updates/0136u1_diff.zip"
+#	"http://mamedev.org/updates/0136u2_diff.zip"
+#	"http://mamedev.org/updates/0136u3_diff.zip"
+	"sdlmame.sh"
+	"extras.tar.gz")
+md5sums=('ce9e5359e882d5a8219821e39bd4f27a'
          '3119ccfa1e970eba4467df31208adaf0'
          '420b61240bf5ae11615ba7c6100ee00d')
 
 build() {
-  cd ${startdir}/src/${pkgname}${pkgver%.*}${pkgver#*.}
+  cd $srcdir/
 
-  sed -i 's/-Werror//' makefile || return 1
+  if [ $NOEXTRACT -eq 0 ]; then
+    unzip mame.zip
+#    find . -type f -not -name uismall.png | xargs perl -pi -e 's/\r\n?/\n/g'
+#    patch -p0 -E <0136u1.diff
+#    patch -p0 -E <0136u2.diff
+#    patch -p0 -E <0136u3.diff
+    sed -i 's/-Werror//' makefile || return 1
+  fi
 
   # Modify the make options based on the user's architecture
   if [ "$CARCH" == "x86_64" ]; then
     echo "Compiling for AMD64..."
     make AMD64=1 PTR64=1 || return 1
+    make tools AMD64=1 PTR64=1 || return 1
   elif [ "$CARCH" == "i686" ]; then
     make I686=1 || return 1
+    make tools I686=1 || return 1
   else
     echo "Compiling for i386..."
     make PM=1 || return 1
+    make tools PM=1 || return 1
   fi
 
   # Install the sdlmame script
-  install -Dm755 ${startdir}/src/${pkgname}.sh ${startdir}/pkg/usr/bin/${pkgname} || return 1
+  install -Dm755 $srcdir/${pkgname}.sh $pkgdir/usr/bin/${pkgname} || return 1
 
   # Install the applications and the UI font in /usr/share
-  install -Dm755 mame* ${startdir}/pkg/usr/share/${pkgname}/${pkgname} && \
-  install -m755 chdman ${startdir}/pkg/usr/share/${pkgname}/chdman && \
-  install -m755 jedutil ${startdir}/pkg/usr/share/${pkgname}/jedutil && \
-#  install -m755 makemeta ${startdir}/pkg/usr/share/${pkgname}/makemeta && \
-  install -m755 regrep ${startdir}/pkg/usr/share/${pkgname}/regrep && \
-  install -m755 romcmp ${startdir}/pkg/usr/share/${pkgname}/romcmp && \
-  install -m755 runtest ${startdir}/pkg/usr/share/${pkgname}/runtest && \
-  install -m755 testkeys ${startdir}/pkg/usr/share/${pkgname}/testkeys && \
-  install -m755 src2html ${startdir}/pkg/usr/share/${pkgname}/src2html && \
-  install -m755 srcclean ${startdir}/pkg/usr/share/${pkgname}/srcclean && \
-  install -m755 ldverify ${startdir}/pkg/usr/share/${pkgname}/ldverify && \
-  install -m644 ui.bdf ${startdir}/pkg/usr/share/${pkgname}/ui.bdf || return 1
+  install -Dm755 mame $pkgdir/usr/share/${pkgname}/${pkgname} || \
+  install -Dm755 mame64 $pkgdir/usr/share/${pkgname}/${pkgname} || return 1
+
+  install -m755 chdman $pkgdir/usr/share/${pkgname}/chdman && \
+  install -m755 jedutil $pkgdir/usr/share/${pkgname}/jedutil && \
+  install -m755 regrep $pkgdir/usr/share/${pkgname}/regrep && \
+  install -m755 romcmp $pkgdir/usr/share/${pkgname}/romcmp && \
+  install -m755 testkeys $pkgdir/usr/share/${pkgname}/testkeys && \
+  install -m755 src2html $pkgdir/usr/share/${pkgname}/src2html && \
+  install -m755 srcclean $pkgdir/usr/share/${pkgname}/srcclean && \
+  install -m755 ldverify $pkgdir/usr/share/${pkgname}/ldverify && \
+  install -m755 ldresample $pkgdir/usr/share/${pkgname}/ldresample || return 1
+
+#  install -m755 makemeta $pkgdir/usr/share/${pkgname}/makemeta && \
+#  install -m755 runtest $pkgdir/usr/share/${pkgname}/runtest && \
+#  install -m644 ui.bdf $pkgdir/usr/share/${pkgname}/ui.bdf || return 1
 
   # Install the extra bits
-  install -d ${startdir}/pkg/usr/share/${pkgname}/{artwork,ctrlr,keymaps} && \
-  install -m644 ${startdir}/src/artwork/* ${startdir}/pkg/usr/share/${pkgname}/artwork/ && \
-  install -m644 ${startdir}/src/ctrlr/* ${startdir}/pkg/usr/share/${pkgname}/ctrlr/ && \
-  install -m644 keymaps/* ${startdir}/pkg/usr/share/${pkgname}/keymaps/ || return 1
+  install -d $pkgdir/usr/share/${pkgname}/{artwork,ctrlr,keymaps} && \
+  install -m644 $srcdir/artwork/* $pkgdir/usr/share/${pkgname}/artwork/ && \
+  install -m644 $srcdir/ctrlr/* $pkgdir/usr/share/${pkgname}/ctrlr/ || return 1
+  install -m644 src/osd/sdl/keymaps/* $pkgdir/usr/share/${pkgname}/keymaps/ || return 1
 
   # Include the license
-  install -Dm644 docs/license.txt $startdir/pkg/usr/share/licenses/${pkgname}/license.txt
+  install -Dm644 docs/license.txt $startdir/pkg/usr/share/licenses/${pkgname}/license.txt || return 1
+
+  find $pkgdir -type f -exec strip {} \;
 }
diff --git a/abs/extra-testing/sdlmame/sdlmame.install b/abs/extra-testing/sdlmame/sdlmame.install
index eedae49..6103018 100644
--- a/abs/extra-testing/sdlmame/sdlmame.install
+++ b/abs/extra-testing/sdlmame/sdlmame.install
@@ -27,6 +27,3 @@ post_upgrade()
   echo ""
 }
 
-op=$1
-shift
-$op $*
-- 
cgit v0.12


From 8ddd58e0253a7fafec088d3392c3b6b6478b9ddf Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sat, 1 May 2010 12:14:31 -0700
Subject: mytharchive:bumped to latest

---
 abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD
index e1453c7..3f17022 100644
--- a/abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mytharchive
 pkgver=0.23
-pkgrel=2
+pkgrel=3
 pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows."
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From d33d216aed231656a71bd22b0fcb73f5b90fe27e Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sat, 1 May 2010 13:53:49 -0700
Subject: mythplugins:bumped

---
 abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD    | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD    | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD       | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD     | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD      | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD  | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD       | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD      | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD    | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD        | 4 ++--
 abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD | 2 +-
 11 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD
index 8f95361..d930628 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythbrowser
 pkgver=0.23
-pkgrel=2
+pkgrel=3
 pkgdesc="Mini web browser for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD
index 1e6031e..cd4f465 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythgallery
 pkgver=0.23
-pkgrel=2
+pkgrel=3
 pkgdesc="Image gallery plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD
index 566cf06..92f1545 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythgame
 pkgver=0.23
-pkgrel=2
+pkgrel=3
 pkgdesc="Emulation plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD
index 05732cf..3679215 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythmovies
 pkgver=0.23
-pkgrel=2
+pkgrel=3
 pkgdesc="Displays information about movies playing in the area."
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD
index 28d5591..ed5528a 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythmusic
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="Music playing plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD
index 022b4ef..6bdc443 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythnetvision
 pkgver=0.23
-pkgrel=2
+pkgrel=3
 pkgdesc="Internet video plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD
index 6f620ea..ef895ed 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythnews
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="News checking plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD
index ff6feb5..f15e2bf 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythvideo
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="Video playback and browsing plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD
index e864ead..3b975fc 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythweather
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="Weather checking plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD
index 6056098..e758774 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythweb
 pkgver=0.23
-pkgrel=2
+pkgrel=4
 pkgdesc="Web interface for MythTV's backend"
 url="http://www.mythtv.org"
 license="GPL"
@@ -19,7 +19,7 @@ DOCROOT=/data/srv/httpd/htdocs/mythweb
 
 build() {
 
-	cd $startdir/src/$_svnmod
+	cd $startdir/src/mythplugins
 	svn update
 
 	echo "--------------------------applying patches----------------------------------------------------"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD
index 11fd665..449f40c 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythzoneminder
 pkgver=0.23
-pkgrel=2
+pkgrel=3
 pkgdesc="Integrates ZoneMinder into MythTV"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From 314f62376365bf7f5538dc92c3b7af44ebc43746 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sat, 1 May 2010 16:21:42 -0700
Subject: LinHES-config:bumped for testers ISO.

---
 abs/core-testing/LinHES-config/LinHES-release | 2 +-
 abs/core-testing/LinHES-config/PKGBUILD       | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/abs/core-testing/LinHES-config/LinHES-release b/abs/core-testing/LinHES-config/LinHES-release
index 4f1b8f1..0d24981 100644
--- a/abs/core-testing/LinHES-config/LinHES-release
+++ b/abs/core-testing/LinHES-config/LinHES-release
@@ -1 +1 @@
-LinHES R6.02.02 (hot nanners)
+LinHES R6.02.03 (Neighbors)
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index 61a9148..4318fd8 100644
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=2.1
-pkgrel=37
+pkgrel=38
 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
 pkgdesc="Install and configure your system"
 depends=('bc' 'libstatgrab'  'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
@@ -114,7 +114,7 @@ md5sums=('297441b8d85820698c19e7c0ad5a3dfe'
          '4620f6f498ef4523398635cb0bd59425'
          '06188493e5ed79cb501d3c5694dee8ca'
          'e459ed069317bccb20351f037a9df3d2'
-         '5115da23daa4d57c2fce89b36e08bd3a'
+         'ef8d83ae6a2b60645e034a278855d99e'
          '6aff504ed5e860adc1b7317cd0780900'
          '55fccb1da0417a896b724f7cfc32dd5a'
          'ab2aa42c2947148c2b1cac0ade6d1d55'
-- 
cgit v0.12


From e96171eb12f3d4df1cf2e81f0e10fdd2f96dea9e Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sat, 1 May 2010 22:49:12 -0700
Subject: mythstream:recompiled for newer MythTV API

---
 abs/core-testing/mythstream/PKGBUILD | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/abs/core-testing/mythstream/PKGBUILD b/abs/core-testing/mythstream/PKGBUILD
index 2ff82ee..8c58fae 100644
--- a/abs/core-testing/mythstream/PKGBUILD
+++ b/abs/core-testing/mythstream/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=mythstream
 pkgver=0.18_3
-pkgrel=5
+pkgrel=6
 pkgdesc="Unofficial MythTV plugin for Internet audio and video streams."
 arch=('i686' 'x86_64')
 url="http://home.kabelfoon.nl/~moongies/streamtuned.html"
@@ -31,3 +31,6 @@ build() {
    make INSTALL_ROOT=$startdir/pkg install
    cp $srcdir/streams.res $pkgdir/usr/share/mythtv/mythstream
 }
+md5sums=('ba354b83fefe6028c5379fb832a44b6a'
+         '0131d9e05b55141357bc66e2a88a8132'
+         'b7fb47a56b6809938f237632174faeb2')
-- 
cgit v0.12


From 026da2891704a7182ce35da55bafe9cb30faf50b Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sat, 1 May 2010 22:49:32 -0700
Subject: mythplugins:recompiled for newer MythTV API

---
 abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD    | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD    | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD    | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD       | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD     | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD      | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD  | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD       | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD      | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD    | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD        | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD | 2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD
index 3f17022..cd60597 100644
--- a/abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mytharchive/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mytharchive
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows."
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD
index d930628..916cb86 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythbrowser/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythbrowser
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="Mini web browser for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD
index cd4f465..613c89f 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythgallery/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythgallery
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="Image gallery plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD
index 92f1545..224491e 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythgame/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythgame
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="Emulation plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD
index 3679215..7e7726f 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythmovies/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythmovies
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="Displays information about movies playing in the area."
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD
index ed5528a..3b4daac 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythmusic/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythmusic
 pkgver=0.23
-pkgrel=4
+pkgrel=5
 pkgdesc="Music playing plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD
index 6bdc443..de0bc11 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythnetvision/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythnetvision
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="Internet video plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD
index ef895ed..c719323 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythnews/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythnews
 pkgver=0.23
-pkgrel=4
+pkgrel=5
 pkgdesc="News checking plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD
index f15e2bf..abd5fba 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythvideo/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythvideo
 pkgver=0.23
-pkgrel=4
+pkgrel=5
 pkgdesc="Video playback and browsing plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD
index 3b975fc..de3abaf 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythweather/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythweather
 pkgver=0.23
-pkgrel=4
+pkgrel=5
 pkgdesc="Weather checking plugin for MythTV"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD
index e758774..9a15c5f 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythweb/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythweb
 pkgver=0.23
-pkgrel=4
+pkgrel=5
 pkgdesc="Web interface for MythTV's backend"
 url="http://www.mythtv.org"
 license="GPL"
diff --git a/abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD
index 449f40c..8d4221e 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythzoneminder/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythzoneminder
 pkgver=0.23
-pkgrel=3
+pkgrel=4
 pkgdesc="Integrates ZoneMinder into MythTV"
 url="http://www.mythtv.org"
 license="GPL"
-- 
cgit v0.12


From 53625148909b257564b35ba93ff3f4fd18f983df Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 2 May 2010 10:22:37 -0700
Subject: mythinstall:recompiled for newer MythTV API

---
 abs/core-testing/mythinstall/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abs/core-testing/mythinstall/PKGBUILD b/abs/core-testing/mythinstall/PKGBUILD
index 7a8cccd..1ec14f4 100644
--- a/abs/core-testing/mythinstall/PKGBUILD
+++ b/abs/core-testing/mythinstall/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Jams
 pkgname=mythinstall
 pkgver=2
-pkgrel=42
+pkgrel=43
 pkgdesc="LinHES installer/systemconfig GUI."
 arch=i686
 depends=()
-- 
cgit v0.12

