diff --git a/packages/mediacenter/xbmc-theme-Confluence/unpack b/packages/mediacenter/xbmc-theme-Confluence/unpack new file mode 100755 index 0000000000..58c11116fd --- /dev/null +++ b/packages/mediacenter/xbmc-theme-Confluence/unpack @@ -0,0 +1,30 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +echo "### Applying project based patches ###" + +for patch in `ls $PROJECT_DIR/$PROJECT/patches/$1`; do + cat $PROJECT_DIR/$PROJECT/patches/$1/$patch | patch -d \ + `echo $PKG_BUILD | cut -f1 -d\ ` -p1 +done diff --git a/projects/ATV/patches/xbmc-theme-Confluence/xbmc-theme-Confluence-f38655f-002-remove_missing_power_options_atv.patch b/projects/ATV/patches/xbmc-theme-Confluence/xbmc-theme-Confluence-f38655f-002-remove_missing_power_options_atv.patch new file mode 100644 index 0000000000..e2db51a589 --- /dev/null +++ b/projects/ATV/patches/xbmc-theme-Confluence/xbmc-theme-Confluence-f38655f-002-remove_missing_power_options_atv.patch @@ -0,0 +1,128 @@ +--- xbmc-theme-Confluence-f38655f/720p/DialogButtonMenu.xml 2012-03-19 10:39:07.345395430 +0400 ++++ xbmc-theme-Confluence-f38655f/720p/DialogButtonMenu.patch.xml 2012-03-19 10:57:32.345905953 +0400 +@@ -70,22 +70,6 @@ + system.getbool(input.enablemouse) + + +- +- Exit button +- 340 +- 40 +- grey2 +- white +- center +- 290 +- ShutdownButtonFocus.png +- ShutdownButtonNoFocus.png +- XBMC.Quit() +- no +- font13 +- +- System.ShowExitButton +- + + Shutdown button + 340 +@@ -102,71 +86,6 @@ + font13 + + +- +- Custom Shutdown Timer +- 340 +- 40 +- grey2 +- white +- center +- 290 +- ShutdownButtonFocus.png +- ShutdownButtonNoFocus.png +- XBMC.AlarmClock(shutdowntimer,XBMC.Powerdown()) +- no +- font13 +- +- !System.HasAlarm(shutdowntimer) +- System.CanPowerDown +- +- +- Cancel Shutdown Timer +- 340 +- 40 +- grey2 +- white +- center +- 290 +- ShutdownButtonFocus.png +- ShutdownButtonNoFocus.png +- XBMC.CancelAlarm(shutdowntimer) +- no +- font13 +- +- System.HasAlarm(shutdowntimer) +- +- +- Suspend button +- 340 +- 40 +- grey2 +- white +- center +- 290 +- ShutdownButtonFocus.png +- ShutdownButtonNoFocus.png +- XBMC.Suspend() +- System.CanSuspend +- no +- font13 +- +- +- +- Hibernate button +- 340 +- 40 +- grey2 +- white +- center +- 290 +- ShutdownButtonFocus.png +- ShutdownButtonNoFocus.png +- XBMC.Hibernate() +- System.CanHibernate +- no +- font13 +- +- + + Reboot button + 340 +@@ -222,30 +141,6 @@ + font13 + System.HasLocks + +- +- 340 +- 70 +- System.HasAlarm(shutdowntimer) +- +- background top image +- 0 +- 0 +- 340 +- 70 +- DialogContextMiddle.png +- +- +- 25 +- 20 +- 290 +- 50 +- font12 +- white +- black +- center +- +- +- + + background bottom image + 0