From 1503b7e35c4b1b511010c8ebcba1110a37e28528 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Fri, 22 Nov 2013 15:12:26 -0600 Subject: linhes-theme: add progdetails files with LH colors. ref #940 Add install-ui.xml to theme mythinstall. Patch schedule-ui.xml Schedule Filter Editor to match wider popup. --- abs/core/linhes-theme/PKGBUILD | 25 ++++-- abs/core/linhes-theme/install-ui.xml | 76 +++++++++++++++++ abs/core/linhes-theme/progdetails_page1.html | 30 +++++++ abs/core/linhes-theme/progdetails_page2.html | 49 +++++++++++ abs/core/linhes-theme/schedule-ui.xml.patch | 121 +++++++++++++++++++++++++++ 5 files changed, 293 insertions(+), 8 deletions(-) create mode 100755 abs/core/linhes-theme/install-ui.xml create mode 100644 abs/core/linhes-theme/progdetails_page1.html create mode 100644 abs/core/linhes-theme/progdetails_page2.html create mode 100644 abs/core/linhes-theme/schedule-ui.xml.patch diff --git a/abs/core/linhes-theme/PKGBUILD b/abs/core/linhes-theme/PKGBUILD index 7f58de5..f261ac0 100644 --- a/abs/core/linhes-theme/PKGBUILD +++ b/abs/core/linhes-theme/PKGBUILD @@ -1,18 +1,19 @@ pkgname=linhes-theme pkgver=8.1 -pkgrel=2 +pkgrel=3 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' - 'menu-ui.xml.patch') + 'menu-ui.xml.patch' 'schedule-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' 'tux_thoughts.png') + `echo ${patches[@]:0}` 'themeinfo.xml' 'install-ui.xml' + 'background.png' 'qt-background.png' 'tux_thoughts.png' + 'progdetails_page1.html' 'progdetails_page2.html') package() { THEMEROOT=usr/share/mythtv/themes @@ -32,13 +33,18 @@ package() { cd $startdir msg "--------------------------done applying patches-------------------------" - msg "Copy themeinfo.xml and adding backgrounds and images for LinHES" - rsync -pL $srcdir/themeinfo.xml $pkgdir/$THEMEROOT/LinHES/ + msg "Copy *.xml and adding backgrounds and images for LinHES" + rsync -pL $srcdir/*.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/ + #copy in progdetails + mkdir -p $pkgdir/$THEMEROOT/LinHES/htmls + rsync -pL $srcdir/progdetails_page*.html $pkgdir/$THEMEROOT/LinHES/htmls/ + msg "Modifying yellows and blue to LinHES yellow and blue" #yellow grep -lr '#d9d900' $pkgdir/$THEMEROOT/LinHES/ | xargs sed -i "s/\#d9d900/\#ebb81c/g" @@ -47,13 +53,16 @@ package() { #blue grep -lr '#3a9ade' $pkgdir/$THEMEROOT/LinHES/ | xargs sed -i "s/\#3a9ade/\#0072bc/g" } - md5sums=('SKIP' '9c2fc68864cbedb6e449056972b457aa' '15b4462932b7be0e56b2e69e0214823a' '2fb0990e8fef2c70e9bd8cfb36689b2b' '83b03852c6f46bc791bfa6e8c894ca01' + '45d2f265218ab951eefe76adff38c54b' '7d7bc458a8f4af408700609f3e1f412e' + 'eb94abdc196051db708e4a9eb938923a' 'cbe5f663ebb5d51abe811f81dafec303' '12d26a786fde397348653128a6d7676a' - '2bd09b8049aaf5ba21db5baf3a0ce077') + '2bd09b8049aaf5ba21db5baf3a0ce077' + 'cc2b5da9ad34704d773f3235bf686835' + 'be7853c2c9598481368c10f0eb5ad43f') diff --git a/abs/core/linhes-theme/install-ui.xml b/abs/core/linhes-theme/install-ui.xml new file mode 100755 index 0000000..4d10d0f --- /dev/null +++ b/abs/core/linhes-theme/install-ui.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + 565,490 + true + + /usr/MythVantage/logos/logo-%1.png + 5000 + + + + + diff --git a/abs/core/linhes-theme/progdetails_page1.html b/abs/core/linhes-theme/progdetails_page1.html new file mode 100644 index 0000000..57b5a52 --- /dev/null +++ b/abs/core/linhes-theme/progdetails_page1.html @@ -0,0 +1,30 @@ + + + + + + + + +

%TITLE_LABEL% & %DESCRIPTION_LABEL%

%TITLE%: %DESCRIPTION%

+

%TITLE_PRONOUNCE_LABEL%

%TITLE_PRONOUNCE%

+

%ORIGINAL_AIRDATE_LABEL%

%ORIGINAL_AIRDATE%

+

%EPISODE_LABEL%

%EPISODE%

+

%ADAPTER_LABEL%

%ADAPTER%

+

%GUEST_LABEL%

%GUEST%

+

%CATEGORY_LABEL%

%CATEGORY%

+

%PROGRAMID_LABEL%

%PROGRAMID%

+

%RECORDING_RULE_LABEL%

%RECORDING_RULE%

+

%SEARCH_PHRASE_LABEL%

%SEARCH_PHRASE%

+

%RECORDED_FILE_NAME_LABEL%

%RECORDED_FILE_NAME%

+

%RECORDED_FILE_SIZE_LABEL%

%RECORDED_FILE_SIZE%

+

%RECORDING_PROFILE_LABEL%

%RECORDING_PROFILE%

+

%RECORDING_GROUP_LABEL%

%RECORDING_GROUP%

+

%PLAYBACK_GROUP_LABEL%

%PLAYBACK_GROUP%

+ + + diff --git a/abs/core/linhes-theme/progdetails_page2.html b/abs/core/linhes-theme/progdetails_page2.html new file mode 100644 index 0000000..c499557 --- /dev/null +++ b/abs/core/linhes-theme/progdetails_page2.html @@ -0,0 +1,49 @@ + + + + + + + +body> +

%TITLE_LABEL% & %DESCRIPTION_LABEL%

%TITLE%: %DESCRIPTION%

+

%TITLE_PRONOUNCE_LABEL%

%TITLE_PRONOUNCE%

+

%ORIGINAL_AIRDATE_LABEL%

%ORIGINAL_AIRDATE%

+

%EPISODE_LABEL%

%EPISODE%

+

%ACTORS_LABEL%

%ACTORS%

+

%GUEST_STAR_LABEL%

%GUEST_STAR%

+

%DIRECTOR_LABEL%

%DIRECTOR%

+

%PRODUCER_LABEL%

%PRODUCER%

+

%EXECUTIVE_PRODUCER_LABEL%

%EXECUTIVE_PRODUCER%

+

%WRITER_LABEL%

%WRITER%

+

%HOST_LABEL%

%HOST%

+

%ADAPTER_LABEL%

%ADAPTER%

+

%PRESENTER_LABEL%

%PRESENTER%

+

%COMMENTATOR_LABEL%

%COMMENTATOR%

+

%GUEST_LABEL%

%GUEST%

+

%CATEGORY_LABEL%

%CATEGORY%

+

%CATEGORY_TYPE_LABEL%

%CATEGORY_TYPE%

+

%PROGRAMID_LABEL%

%PROGRAMID%

+

%MYTHTV_STATUS_LABEL%

%MYTHTV_STATUS%

+

%RECORDING_RULE_LABEL%

%RECORDING_RULE%

+

%LAST_RECORDED_LABEL%

%LAST_RECORDED%

+

%NEXT_RECORDING_LABEL%

%NEXT_RECORDING%

+

%AVERAGE_TIME_SHIFT_LABEL%

%AVERAGE_TIME_SHIFT%

+

%WATCH_LIST_SCORE_LABEL%

%WATCH_LIST_SCORE%

+

%WATCH_LIST_STATUS_LABEL%

%WATCH_LIST_STATUS%

+

%SEARCH_PHRASE_LABEL%

%SEARCH_PHRASE%

+

%FINDID_LABEL%

%FINDID%

+

%RECORDING_HOST_LABEL%

%RECORDING_HOST%

+

%RECORDED_FILE_NAME_LABEL%

%RECORDED_FILE_NAME%

+

%RECORDED_FILE_SIZE_LABEL%

%RECORDED_FILE_SIZE%

+

%RECORDING_PROFILE_LABEL%

%RECORDING_PROFILE%

+

%RECORDING_GROUP_LABEL%

%RECORDING_GROUP%

+

%STORAGE_GROUP_LABEL%

%STORAGE_GROUP%

+

%PLAYBACK_GROUP_LABEL%

%PLAYBACK_GROUP%

+ + + diff --git a/abs/core/linhes-theme/schedule-ui.xml.patch b/abs/core/linhes-theme/schedule-ui.xml.patch new file mode 100644 index 0000000..88e643b --- /dev/null +++ b/abs/core/linhes-theme/schedule-ui.xml.patch @@ -0,0 +1,121 @@ +--- schedule-ui.xml.orig 2013-11-22 19:35:05.125862862 +0000 ++++ schedule-ui.xml 2013-11-22 19:34:04.307006412 +0000 +@@ -3225,7 +3225,7 @@ + + + +- -1,-1,500,500 ++ -1,-1,602,488 + + +
+@@ -3242,85 +3242,85 @@ + + + +- 0,0,500,500 ++ 0,0,602,488 + + + +- 1,1,498,498 ++ 1,1,600,486 + + + +- 2,2,496,2 ++ 2,2,596,2 + + + +- 2,496,496,2 ++ 2,484,596,2 + + + +- 2,4,2,492 ++ 2,4,2,480 + + + +- 496,4,2,492 ++ 598,4,2,480 + + + +- 23,50,454,2 ++ 23,50,552,2 + + + +- 23,435,454,2 ++ 23,435,552,2 + + + + + +- 20,75,460,360 ++ 15,60,570,360 + + +- 0,0,460,40 ++ 0,0,100%,34 + + +- 15,10 ++ 15,7 + + + +- 0,0,460,40 ++ 0,0,100%,34 + + +- 15,10 ++ 15,7 + + + +- 0,0,460,40 ++ 0,0,100%,34 + + +- 15,10 ++ 15,7 + + + + +- 0,343 ++ 0,359 + + +- 20,343 ++ 20,359 + + + +- + -- cgit v0.12