From 897051449a9bd6636e1d247152ce37760a7b1497 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 21 Nov 2013 16:12:22 -0600 Subject: linhes-theme: add Tux bubble for menu descriptions. refs #940. Move menu to top of screen. Change size of popup menu to match size of video osd popup menu. Widen clock field to avoid trunkation. --- abs/core/linhes-theme/PKGBUILD | 17 +-- abs/core/linhes-theme/base.xml.patch | 176 +++++++++++++++++++++++++++++++- abs/core/linhes-theme/menu-ui.xml.patch | 67 ++++++++++++ abs/core/linhes-theme/tux_thoughts.png | Bin 0 -> 50666 bytes 4 files changed, 253 insertions(+), 7 deletions(-) create mode 100644 abs/core/linhes-theme/menu-ui.xml.patch create mode 100755 abs/core/linhes-theme/tux_thoughts.png diff --git a/abs/core/linhes-theme/PKGBUILD b/abs/core/linhes-theme/PKGBUILD index 4424d21..7f58de5 100644 --- a/abs/core/linhes-theme/PKGBUILD +++ b/abs/core/linhes-theme/PKGBUILD @@ -1,17 +1,18 @@ pkgname=linhes-theme pkgver=8.1 -pkgrel=1 +pkgrel=2 pkgdesc="Default LinHES MythTV theme" arch=('i686' 'x86_64') license=('GPL2') url="http://linhes.org/" -patches=('readme.txt.patch' 'osd.xml.patch' 'base.xml.patch') +patches=('readme.txt.patch' 'osd.xml.patch' 'base.xml.patch' + 'menu-ui.xml.patch') #The LinHES theme is based on TintedGlass by Harley Peters source=("git://github.com/MythTV-Themes/TintedGlass.git" `echo ${patches[@]:0}` 'themeinfo.xml' - 'background.png' 'qt-background.png') + 'background.png' 'qt-background.png' 'tux_thoughts.png') package() { THEMEROOT=usr/share/mythtv/themes @@ -31,10 +32,12 @@ package() { cd $startdir msg "--------------------------done applying patches-------------------------" - msg "Copy themeinfo.xml and adding backgrounds for LinHES" + msg "Copy themeinfo.xml and adding backgrounds and images for LinHES" rsync -pL $srcdir/themeinfo.xml $pkgdir/$THEMEROOT/LinHES/ rm -r $pkgdir/$THEMEROOT/LinHES/images/backgrounds/* rsync -pL $srcdir/*background.png $pkgdir/$THEMEROOT/LinHES/images/backgrounds/ + #tux_thoughts.png is the thought bubble for the menu descriptions + rsync -pL $srcdir/tux_thoughts.png $pkgdir/$THEMEROOT/LinHES/images/ msg "Modifying yellows and blue to LinHES yellow and blue" #yellow @@ -48,7 +51,9 @@ package() { md5sums=('SKIP' '9c2fc68864cbedb6e449056972b457aa' '15b4462932b7be0e56b2e69e0214823a' - 'fce30678cb5903aada8466ce7004abea' + '2fb0990e8fef2c70e9bd8cfb36689b2b' + '83b03852c6f46bc791bfa6e8c894ca01' '7d7bc458a8f4af408700609f3e1f412e' 'cbe5f663ebb5d51abe811f81dafec303' - '12d26a786fde397348653128a6d7676a') + '12d26a786fde397348653128a6d7676a' + '2bd09b8049aaf5ba21db5baf3a0ce077') diff --git a/abs/core/linhes-theme/base.xml.patch b/abs/core/linhes-theme/base.xml.patch index d230f05..5dde5ea 100644 --- a/abs/core/linhes-theme/base.xml.patch +++ b/abs/core/linhes-theme/base.xml.patch @@ -1,5 +1,62 @@ --- base.xml.orig 2013-11-19 01:06:47.555458106 +0000 -+++ base.xml 2013-11-19 01:29:11.310340235 +0000 ++++ base.xml 2013-11-21 21:56:09.218085998 +0000 +@@ -431,19 +431,19 @@ + + 0,0,1280,720 + +- 500,-7,280,32 ++ 490,-7,300,32 + + +- 500,-7,280,32 ++ 490,-7,300,32 + + +- 501,0,2,22 ++ 491,0,2,22 + + +- 777,0,2,22 ++ 787,0,2,22 + + +- 501,22,278,2 ++ 491,22,298,2 + + + +@@ -463,25 +463,25 @@ + + + +- 500,695,280,32 ++ 490,695,300,32 + + +- 500,695,280,32 ++ 490,695,300,32 + + +- 501,696,278,2 ++ 491,696,298,2 + + +- 501,698,2,22 ++ 491,698,2,22 + + +- 777,698,2,22 ++ 787,698,2,22 + + + + + +- 529,698,219,22 ++ 499,698,282,22 + baseextrasmall + + allcenter @@ -539,8 +539,8 @@ @@ -20,3 +77,120 @@ yes allcenter +@@ -1235,15 +1235,13 @@ + + + +- +- 529,698,219,22 +- ++ + + + + + +- -1,-1,400,463 ++ -1,-1,602,488 + + +
+@@ -1260,76 +1258,77 @@ + + + +- 0,0,400,463 ++ 0,0,602,488 ++ + + + +- 1,1,398,461 ++ 1,1,600,486 + + + +- 2,2,396,2 ++ 2,2,596,2 + + + +- 23,174,354,2 ++ 23,212,552,2 + + + +- 2,459,396,2 ++ 2,484,596,2 + + + +- 2,4,2,455 ++ 2,4,2,480 + + + +- 396,4,2,455 ++ 598,4,2,480 + + + + + +- 15,191,370,264 ++ 15,222,570,252 + + +- 0,0,370,40 ++ 0,0,100%,34 + + +- 347,11 ++ 544,8 + + + +- 0,0,370,40 ++ 0,0,100%,34 + + +- 347,11 ++ 544,8 + + + +- 0,0,370,40 ++ 0,0,100%,34 + + +- 347,11 ++ 544,8 + + + + +- 0,255 ++ 0,251 + + +- 20,255 ++ 20,251 + + + diff --git a/abs/core/linhes-theme/menu-ui.xml.patch b/abs/core/linhes-theme/menu-ui.xml.patch new file mode 100644 index 0000000..c099db6 --- /dev/null +++ b/abs/core/linhes-theme/menu-ui.xml.patch @@ -0,0 +1,67 @@ +--- menu-ui.xml.orig 2013-11-21 19:05:04.920817617 +0000 ++++ menu-ui.xml 2013-11-21 20:03:45.474172898 +0000 +@@ -9,16 +9,16 @@ + + + +- 0,525,1280,70 ++ 0,94,1280,70 + box + + + +- 0,526,1280,2 ++ 0,95,1280,2 + + + +- 0,592,1280,2 ++ 0,161,1280,2 + + + +@@ -135,7 +135,7 @@ + + + +- 20,528,1240,64 ++ 20,98,1240,64 + horizontal + 20 + center +@@ -157,6 +157,14 @@ + + 0,0,232,64 + ++ ++ ++ -10,-2,2,66 ++ ++ ++ 240,-2,2,66 ++ ++ + ++ ++ ++ -100,100,410,180 ++ images/tux_thoughts.png ++ ++ ++ ++ + + + diff --git a/abs/core/linhes-theme/tux_thoughts.png b/abs/core/linhes-theme/tux_thoughts.png new file mode 100755 index 0000000..c36c7a6 Binary files /dev/null and b/abs/core/linhes-theme/tux_thoughts.png differ -- cgit v0.12