mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc-frodo: update to xbmc-frodo-303712, add optional PVR support (untested)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
eea99a5975
commit
3050fb1334
@ -19,7 +19,11 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="xbmc-frodo-theme-Confluence"
|
||||
PKG_VERSION="eafb2f7"
|
||||
if [ "$PVR" = yes ]; then
|
||||
PKG_VERSION="pvr-3486b24"
|
||||
else
|
||||
PKG_VERSION="303712d"
|
||||
fi
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
@ -19,7 +19,11 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="xbmc-frodo"
|
||||
PKG_VERSION="eafb2f7"
|
||||
if [ "$PVR" = yes ]; then
|
||||
PKG_VERSION="pvr-3486b24"
|
||||
else
|
||||
PKG_VERSION="303712d"
|
||||
fi
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
@ -159,7 +163,14 @@ if [ "$CRYSTALHD" = yes ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS crystalhd"
|
||||
fi
|
||||
|
||||
# some python stuff needed for various addons
|
||||
PKG_DEPENDS="$PKG_DEPENDS Imaging"
|
||||
PKG_DEPENDS="$PKG_DEPENDS simplejson"
|
||||
if [ "$XVBA" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS xf86-video-fglrx"
|
||||
fi
|
||||
|
||||
# some python stuff needed for various addons
|
||||
PKG_DEPENDS="$PKG_DEPENDS Imaging"
|
||||
PKG_DEPENDS="$PKG_DEPENDS simplejson"
|
||||
|
||||
if [ "$PVR" = yes ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS xbmc-addon-xvdr xbmc-addon-vuplus"
|
||||
fi
|
||||
|
@ -0,0 +1,39 @@
|
||||
diff -Naur xbmc-9389dc8/configure.in xbmc-9389dc8.patch/configure.in
|
||||
--- xbmc-9389dc8/configure.in 2011-09-01 17:21:47.000000000 +0200
|
||||
+++ xbmc-9389dc8.patch/configure.in 2011-09-01 23:30:40.419399392 +0200
|
||||
@@ -428,6 +428,14 @@
|
||||
esac
|
||||
AC_SUBST([ARCH])
|
||||
|
||||
+AC_CHECK_PROG(HAVE_GIT,git,"yes","no",)
|
||||
+if test "$HAVE_GIT" = "yes" -a "$GIT_REV" = ""; then
|
||||
+ GIT_REV=$(git --no-pager log --abbrev=7 -n 1 --pretty=format:"%h %ci" HEAD | awk '{gsub("-", "");print $2"-"$1}')
|
||||
+elif test "$GIT_REV" = ""; then
|
||||
+ GIT_REV="Unknown"
|
||||
+fi
|
||||
+final_message="$final_message\n git Rev.:\t${GIT_REV}"
|
||||
+
|
||||
# platform debug flags
|
||||
if test "$use_debug" = "yes"; then
|
||||
final_message="$final_message\n Debugging:\tYes"
|
||||
@@ -1177,7 +1185,6 @@
|
||||
fi
|
||||
fi
|
||||
|
||||
-AC_CHECK_PROG(HAVE_GIT,git,"yes","no",)
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_DIRENT
|
||||
@@ -1408,12 +1415,6 @@
|
||||
final_message="$final_message\n Avahi:\tNo"
|
||||
fi
|
||||
|
||||
-if test "$HAVE_GIT" = "yes"; then
|
||||
- GIT_REV=$(git --no-pager log --abbrev=7 -n 1 --pretty=format:"%h %ci" HEAD | awk '{gsub("-", "");print $2"-"$1}')
|
||||
-fi
|
||||
-if test "$GIT_REV" = ""; then
|
||||
- GIT_REV="Unknown"
|
||||
-fi
|
||||
if test "$host_vendor" = "apple"; then
|
||||
echo "#define GIT_REV \"$GIT_REV\"" > git_revision.h
|
||||
else
|
@ -0,0 +1,119 @@
|
||||
diff -Naur xbmc-pvr-3513480/lib/libdvd/libdvdcss/src/libdvdcss.pc.in xbmc-pvr-3513480.patch/lib/libdvd/libdvdcss/src/libdvdcss.pc.in
|
||||
--- xbmc-pvr-3513480/lib/libdvd/libdvdcss/src/libdvdcss.pc.in 2011-04-25 02:36:42.000000000 +0200
|
||||
+++ xbmc-pvr-3513480.patch/lib/libdvd/libdvdcss/src/libdvdcss.pc.in 2011-04-25 05:01:20.091837122 +0200
|
||||
@@ -6,5 +6,5 @@
|
||||
Name: libdvdcss
|
||||
Description: DVD access and decryption library.
|
||||
Version: @VERSION@
|
||||
-Libs: -L${libdir} -ldvdcss
|
||||
-Cflags: -I{includedir} -I${includedir}/@PACKAGE@
|
||||
+Libs: -ldvdcss
|
||||
+Cflags: -I.
|
||||
diff -Naur xbmc-pvr-3513480/lib/libdvd/libdvdnav/misc/dvdnav-config2.sh xbmc-pvr-3513480.patch/lib/libdvd/libdvdnav/misc/dvdnav-config2.sh
|
||||
--- xbmc-pvr-3513480/lib/libdvd/libdvdnav/misc/dvdnav-config2.sh 2011-04-25 02:36:42.000000000 +0200
|
||||
+++ xbmc-pvr-3513480.patch/lib/libdvd/libdvdnav/misc/dvdnav-config2.sh 2011-04-25 05:01:20.549828701 +0200
|
||||
@@ -56,17 +56,17 @@
|
||||
fi
|
||||
|
||||
if test "$echo_cflags" = "yes"; then
|
||||
- echo -I$prefix/include $dvdread_cflags $extracflags $threadcflags
|
||||
+ echo $dvdread_cflags $extracflags $threadcflags
|
||||
fi
|
||||
|
||||
if test "$echo_minicflags" = "yes"; then
|
||||
- echo -I$prefix/include -I$prefix/include/dvdnav $extracflags $threadcflags
|
||||
+ echo $extracflags $threadcflags
|
||||
fi
|
||||
|
||||
if test "$echo_libs" = "yes"; then
|
||||
- echo -L$libdir -ldvdnav $dvdread_libs $threadlib
|
||||
+ echo -ldvdnav $dvdread_libs $threadlib
|
||||
fi
|
||||
|
||||
if test "$echo_minilibs" = "yes"; then
|
||||
- echo -L$libdir -ldvdnavmini $threadlib
|
||||
+ echo -ldvdnavmini $threadlib
|
||||
fi
|
||||
diff -Naur xbmc-pvr-3513480/lib/libdvd/libdvdnav/misc/dvdnav-config.in xbmc-pvr-3513480.patch/lib/libdvd/libdvdnav/misc/dvdnav-config.in
|
||||
--- xbmc-pvr-3513480/lib/libdvd/libdvdnav/misc/dvdnav-config.in 2011-04-25 02:36:42.000000000 +0200
|
||||
+++ xbmc-pvr-3513480.patch/lib/libdvd/libdvdnav/misc/dvdnav-config.in 2011-04-25 05:01:20.624827321 +0200
|
||||
@@ -76,13 +76,13 @@
|
||||
fi
|
||||
|
||||
if test "$echo_cflags" = "yes"; then
|
||||
- echo -I@includedir@ -I@includedir@/libdvdread @THREAD_CFLAGS@
|
||||
+ echo @THREAD_CFLAGS@
|
||||
fi
|
||||
|
||||
if test "$echo_libs" = "yes"; then
|
||||
- echo -L@libdir@ -ldvdnav -ldvdread @THREAD_LIBS@
|
||||
+ echo -ldvdnav -ldvdread @THREAD_LIBS@
|
||||
fi
|
||||
|
||||
if test "$echo_minilibs" = "yes"; then
|
||||
- echo -L@libdir@ -ldvdnavmini @THREAD_LIBS@
|
||||
+ echo -ldvdnavmini @THREAD_LIBS@
|
||||
fi
|
||||
diff -Naur xbmc-pvr-3513480/lib/libdvd/libdvdnav/misc/dvdnavmini.pc.in xbmc-pvr-3513480.patch/lib/libdvd/libdvdnav/misc/dvdnavmini.pc.in
|
||||
--- xbmc-pvr-3513480/lib/libdvd/libdvdnav/misc/dvdnavmini.pc.in 2011-04-25 02:36:42.000000000 +0200
|
||||
+++ xbmc-pvr-3513480.patch/lib/libdvd/libdvdnav/misc/dvdnavmini.pc.in 2011-04-25 05:01:21.042819641 +0200
|
||||
@@ -7,5 +7,5 @@
|
||||
Description: DVD Navigation mini library
|
||||
Version: @VERSION@
|
||||
|
||||
-Cflags: -I${includedir} @DVDREAD_CFLAGS@ @THREAD_CFLAGS@
|
||||
-Libs: -L${libdir} -ldvdnav @THREAD_LIBS@
|
||||
+Cflags: @DVDREAD_CFLAGS@ @THREAD_CFLAGS@
|
||||
+Libs: -ldvdnav @THREAD_LIBS@
|
||||
diff -Naur xbmc-pvr-3513480/lib/libdvd/libdvdnav/misc/dvdnav.pc.in xbmc-pvr-3513480.patch/lib/libdvd/libdvdnav/misc/dvdnav.pc.in
|
||||
--- xbmc-pvr-3513480/lib/libdvd/libdvdnav/misc/dvdnav.pc.in 2011-04-25 02:36:42.000000000 +0200
|
||||
+++ xbmc-pvr-3513480.patch/lib/libdvd/libdvdnav/misc/dvdnav.pc.in 2011-04-25 05:01:21.262815601 +0200
|
||||
@@ -8,5 +8,5 @@
|
||||
Version: @VERSION@
|
||||
|
||||
Requires.private: dvdread >= 4.1.2
|
||||
-Cflags: -I${includedir} @THREAD_CFLAGS@
|
||||
-Libs: -L${libdir} -ldvdnav @THREAD_LIBS@
|
||||
+Cflags: @THREAD_CFLAGS@
|
||||
+Libs: -ldvdnav @THREAD_LIBS@
|
||||
diff -Naur xbmc-pvr-3513480/lib/libdvd/libdvdread/misc/dvdread-config.in xbmc-pvr-3513480.patch/lib/libdvd/libdvdread/misc/dvdread-config.in
|
||||
--- xbmc-pvr-3513480/lib/libdvd/libdvdread/misc/dvdread-config.in 2011-04-25 02:36:42.000000000 +0200
|
||||
+++ xbmc-pvr-3513480.patch/lib/libdvd/libdvdread/misc/dvdread-config.in 2011-04-25 05:01:21.278815307 +0200
|
||||
@@ -72,9 +72,9 @@
|
||||
fi
|
||||
|
||||
if test "$echo_cflags" = "yes"; then
|
||||
- echo -I@includedir@
|
||||
+ echo ""
|
||||
fi
|
||||
|
||||
if test "$echo_libs" = "yes"; then
|
||||
- echo -L@libdir@ -ldvdread
|
||||
+ echo -ldvdread
|
||||
fi
|
||||
diff -Naur xbmc-pvr-3513480/lib/libdvd/libdvdread/misc/dvdread-config.sh xbmc-pvr-3513480.patch/lib/libdvd/libdvdread/misc/dvdread-config.sh
|
||||
--- xbmc-pvr-3513480/lib/libdvd/libdvdread/misc/dvdread-config.sh 2011-04-25 02:36:42.000000000 +0200
|
||||
+++ xbmc-pvr-3513480.patch/lib/libdvd/libdvdread/misc/dvdread-config.sh 2011-04-25 05:01:21.278815307 +0200
|
||||
@@ -48,9 +48,9 @@
|
||||
fi
|
||||
|
||||
if test "$echo_cflags" = "yes"; then
|
||||
- echo -I$prefix/include $extracflags
|
||||
+ echo $extracflags
|
||||
fi
|
||||
|
||||
if test "$echo_libs" = "yes"; then
|
||||
- echo -L$libdir $dvdreadlib
|
||||
+ echo $dvdreadlib
|
||||
fi
|
||||
diff -Naur xbmc-pvr-3513480/lib/libdvd/libdvdread/misc/dvdread.pc.in xbmc-pvr-3513480.patch/lib/libdvd/libdvdread/misc/dvdread.pc.in
|
||||
--- xbmc-pvr-3513480/lib/libdvd/libdvdread/misc/dvdread.pc.in 2011-04-25 02:36:42.000000000 +0200
|
||||
+++ xbmc-pvr-3513480.patch/lib/libdvd/libdvdread/misc/dvdread.pc.in 2011-04-25 05:01:21.279815289 +0200
|
||||
@@ -7,5 +7,5 @@
|
||||
Description: Low level DVD access library
|
||||
Version: @VERSION@
|
||||
|
||||
-Cflags: -I${includedir}
|
||||
-Libs: -L${libdir} -ldvdread
|
||||
+Cflags: -I.
|
||||
+Libs: -ldvdread
|
@ -0,0 +1,12 @@
|
||||
diff -Naur xbmc-dab646e/xbmc/screensavers/rsxs-0.9/lib/argp-namefrob.h xbmc-dab646e.patch/xbmc/screensavers/rsxs-0.9/lib/argp-namefrob.h
|
||||
--- xbmc-dab646e/xbmc/screensavers/rsxs-0.9/lib/argp-namefrob.h 2011-09-27 15:56:19.000000000 +0200
|
||||
+++ xbmc-dab646e.patch/xbmc/screensavers/rsxs-0.9/lib/argp-namefrob.h 2011-10-16 02:13:13.805433847 +0200
|
||||
@@ -17,7 +17,7 @@
|
||||
with this program; if not, write to the Free Software Foundation,
|
||||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
-#if !_LIBC
|
||||
+#if 0
|
||||
/* This code is written for inclusion in gnu-libc, and uses names in the
|
||||
namespace reserved for libc. If we're not compiling in libc, define those
|
||||
names to be the normal ones instead. */
|
@ -0,0 +1,21 @@
|
||||
diff -Naur xbmc-pvr-3513480/configure.in xbmc-pvr-3513480.patch/configure.in
|
||||
--- xbmc-pvr-3513480/configure.in 2011-04-25 02:36:33.000000000 +0200
|
||||
+++ xbmc-pvr-3513480.patch/configure.in 2011-04-25 05:14:49.220848143 +0200
|
||||
@@ -885,6 +885,9 @@
|
||||
AC_MSG_NOTICE($external_ffmpeg_disabled)
|
||||
USE_EXTERNAL_FFMPEG=0
|
||||
AC_DEFINE([PIX_FMT_VDPAU_MPEG4_IN_AVUTIL], [1], [Whether AVUtil defines PIX_FMT_VDPAU_MPEG4.])
|
||||
+
|
||||
+ # check for yasm
|
||||
+ AC_CHECK_PROG(HAVE_YASM,yasm,"yes","no",)
|
||||
fi
|
||||
|
||||
# Python
|
||||
@@ -1547,6 +1550,7 @@
|
||||
`if test "$use_arch" != "no"; then echo --arch=$use_arch; fi`\
|
||||
`if test "$use_cpu" != "no"; then echo --cpu=$use_cpu; fi`\
|
||||
--target-os=$(tolower $(uname -s)) \
|
||||
+ `if test "$HAVE_YASM" = "yes"; then echo --enable-yasm; fi` \
|
||||
--disable-muxers \
|
||||
--enable-muxer=spdif \
|
||||
--enable-muxer=adts \
|
@ -0,0 +1,18 @@
|
||||
diff -Naur xbmc-a3c804b/xbmc/interfaces/python/XBPython.cpp xbmc-a3c804b.patch/xbmc/interfaces/python/XBPython.cpp
|
||||
--- xbmc-a3c804b/xbmc/interfaces/python/XBPython.cpp 2011-08-17 23:40:00.000000000 +0200
|
||||
+++ xbmc-a3c804b.patch/xbmc/interfaces/python/XBPython.cpp 2011-08-18 03:50:49.652475572 +0200
|
||||
@@ -335,11 +335,9 @@
|
||||
// at http://docs.python.org/using/cmdline.html#environment-variables
|
||||
|
||||
#if !defined(_WIN32)
|
||||
- /* PYTHONOPTIMIZE is set off intentionally when using external Python.
|
||||
- Reason for this is because we cannot be sure what version of Python
|
||||
- was used to compile the various Python object files (i.e. .pyo,
|
||||
- .pyc, etc.). */
|
||||
- // check if we are running as real xbmc.app or just binary
|
||||
+ // Required for python to find optimized code (pyo) files
|
||||
+ setenv("PYTHONOPTIMIZE", "1", 1);
|
||||
+ // check if we are running as real xbmc.app or just binary
|
||||
if (!CUtil::GetFrameworksPath(true).IsEmpty())
|
||||
{
|
||||
// using external python, it's build looking for xxx/lib/python2.6
|
@ -0,0 +1,12 @@
|
||||
diff -Naur xbmc-pvr-3513480/userdata/LCD.xml xbmc-pvr-3513480.patch/userdata/LCD.xml
|
||||
--- xbmc-pvr-3513480/userdata/LCD.xml 2011-04-25 02:36:33.000000000 +0200
|
||||
+++ xbmc-pvr-3513480.patch/userdata/LCD.xml 2011-04-25 05:27:34.956125133 +0200
|
||||
@@ -21,7 +21,7 @@
|
||||
<line>Freemem: $INFO[System.FreeMemory]</line>
|
||||
</video>
|
||||
<general>
|
||||
- <line>XBMC running...</line>
|
||||
+ <line>*** OpenELEC ***</line>
|
||||
<line>$INFO[System.Time] $INFO[System.Date]</line>
|
||||
<line>Freemem: $INFO[System.FreeMemory]</line>
|
||||
<line>$INFO[System.ScreenWidth]x$INFO[System.ScreenHeight] $INFO[System.ScreenMode]</line>
|
@ -0,0 +1,11 @@
|
||||
diff -Naur xbmc-10.1-Dharma/userdata/RssFeeds.xml xbmc-10.1-Dharma.patch/userdata/RssFeeds.xml
|
||||
--- xbmc-10.1-Dharma/userdata/RssFeeds.xml 2011-03-08 02:49:24.000000000 +0100
|
||||
+++ xbmc-10.1-Dharma.patch/userdata/RssFeeds.xml 2011-06-14 17:07:08.450880123 +0200
|
||||
@@ -3,6 +3,7 @@
|
||||
<!-- RSS feeds. To have multiple feeds, just add a feed to the set. You can also have multiple sets. !-->
|
||||
<!-- To use different sets in your skin, each must be called from skin with a unique id. !-->
|
||||
<set id="1">
|
||||
+ <feed updateinterval="30">http://openelec.tv/news?format=feed&type=rss</feed>
|
||||
<feed updateinterval="30">http://feeds.feedburner.com/xbmc</feed>
|
||||
</set>
|
||||
</rssfeeds>
|
@ -0,0 +1,12 @@
|
||||
diff -Naur xbmc-30a9070/system/keymaps/keyboard.xml xbmc-30a9070.patch/system/keymaps/keyboard.xml
|
||||
--- xbmc-30a9070/system/keymaps/keyboard.xml 2011-07-28 06:20:13.000000000 +0200
|
||||
+++ xbmc-30a9070.patch/system/keymaps/keyboard.xml 2011-07-28 09:39:57.210973380 +0200
|
||||
@@ -90,7 +90,7 @@
|
||||
<numpadseven>Number7</numpadseven>
|
||||
<numpadeight>Number8</numpadeight>
|
||||
<numpadnine>Number9</numpadnine>
|
||||
- <backslash>ToggleFullScreen</backslash>
|
||||
+ <!-- <backslash>ToggleFullScreen</backslash> -->
|
||||
<home>FirstPage</home>
|
||||
<end>LastPage</end>
|
||||
<!-- Multimedia keyboard keys -->
|
@ -0,0 +1,15 @@
|
||||
diff -Naur a/xbmc/filesystem/CurlFile.cpp b/xbmc/filesystem/CurlFile.cpp
|
||||
--- a/xbmc/filesystem/CurlFile.cpp 2011-03-08 02:49:14.000000000 +0100
|
||||
+++ b/xbmc/filesystem/CurlFile.cpp 2011-10-17 19:21:04.180783870 +0200
|
||||
@@ -803,9 +803,9 @@
|
||||
// Detect whether we are "online" or not! Very simple and dirty!
|
||||
bool CFileCurl::IsInternet(bool checkDNS /* = true */)
|
||||
{
|
||||
- CStdString strURL = "http://www.google.com";
|
||||
+ CStdString strURL = "http://www.openelec.tv";
|
||||
if (!checkDNS)
|
||||
- strURL = "http://74.125.19.103"; // www.google.com ip
|
||||
+ strURL = "http://212.101.13.10"; // www.openelec.tv ip
|
||||
|
||||
bool found = Exists(strURL);
|
||||
Close();
|
@ -0,0 +1,52 @@
|
||||
diff -Naur xbmc-pvr-3513480/system/Lircmap.xml xbmc-pvr-3513480.patch/system/Lircmap.xml
|
||||
--- xbmc-pvr-3513480/system/Lircmap.xml 2011-04-25 02:36:33.000000000 +0200
|
||||
+++ xbmc-pvr-3513480.patch/system/Lircmap.xml 2011-04-25 05:31:39.632429078 +0200
|
||||
@@ -409,4 +409,48 @@
|
||||
<yellow>KEY_YELLOW</yellow>
|
||||
<blue>KEY_BLUE</blue>
|
||||
</remote>
|
||||
+ <remote device="mediacenter">
|
||||
+ <pause>pause</pause>
|
||||
+ <stop>stop</stop>
|
||||
+ <forward>fwd</forward>
|
||||
+ <reverse>rew</reverse>
|
||||
+ <left>left</left>
|
||||
+ <right>right</right>
|
||||
+ <up>up</up>
|
||||
+ <down>down</down>
|
||||
+ <select>ok</select>
|
||||
+ <pageplus>ch+</pageplus>
|
||||
+ <pageminus>ch-</pageminus>
|
||||
+ <back>back</back>
|
||||
+ <menu>clear</menu>
|
||||
+ <title>play</title>
|
||||
+ <info>info</info>
|
||||
+ <skipplus>next</skipplus>
|
||||
+ <skipminus>prev</skipminus>
|
||||
+ <display>teletext</display>
|
||||
+ <start>ehome</start>
|
||||
+ <record>rec</record>
|
||||
+ <volumeplus>vol+</volumeplus>
|
||||
+ <volumeminus>vol-</volumeminus>
|
||||
+ <mute>mute</mute>
|
||||
+ <power>power</power>
|
||||
+ <myvideo>video</myvideo>
|
||||
+ <mymusic>music</mymusic>
|
||||
+ <mypictures>pictures</mypictures>
|
||||
+ <mytv>tv</mytv>
|
||||
+ <one>1</one>
|
||||
+ <two>2</two>
|
||||
+ <three>3</three>
|
||||
+ <four>4</four>
|
||||
+ <five>5</five>
|
||||
+ <six>6</six>
|
||||
+ <seven>7</seven>
|
||||
+ <eight>8</eight>
|
||||
+ <nine>9</nine>
|
||||
+ <zero>0</zero>
|
||||
+ <mytv>red</mytv>
|
||||
+ <mymusic>green</mymusic>
|
||||
+ <mypictures>yellow</mypictures>
|
||||
+ <myvideo>blue</myvideo>
|
||||
+ </remote>
|
||||
</lircmap>
|
@ -0,0 +1,71 @@
|
||||
diff -Naur xbmc-10.1-Dharma/system/Lircmap.xml xbmc-10.1-Dharma.patch/system/Lircmap.xml
|
||||
--- xbmc-10.1-Dharma/system/Lircmap.xml 2011-06-18 01:43:43.132101246 +0200
|
||||
+++ xbmc-10.1-Dharma.patch/system/Lircmap.xml 2011-06-18 01:44:53.777025290 +0200
|
||||
@@ -365,7 +365,6 @@
|
||||
|
||||
<remote device="linux-input-layer">
|
||||
<altname>cx23885_remote</altname>
|
||||
- <altname>devinput</altname>
|
||||
<left>KEY_LEFT</left>
|
||||
<right>KEY_RIGHT</right>
|
||||
<up>KEY_UP</up>
|
||||
@@ -452,4 +451,59 @@
|
||||
<mypictures>yellow</mypictures>
|
||||
<myvideo>blue</myvideo>
|
||||
</remote>
|
||||
+
|
||||
+ <remote device="devinput">
|
||||
+ <left>KEY_LEFT</left>
|
||||
+ <right>KEY_RIGHT</right>
|
||||
+ <up>KEY_UP</up>
|
||||
+ <down>KEY_DOWN</down>
|
||||
+ <select>KEY_OK</select>
|
||||
+ <enter>KEY_ENTER</enter>
|
||||
+ <clear>KEY_DELETE</clear>
|
||||
+ <start>KEY_PROG1</start>
|
||||
+ <back>KEY_EXIT</back>
|
||||
+ <record>KEY_RECORD</record>
|
||||
+ <play>KEY_PLAY</play>
|
||||
+ <pause>KEY_PAUSE</pause>
|
||||
+ <stop>KEY_STOP</stop>
|
||||
+ <forward>KEY_FASTFORWARD</forward>
|
||||
+ <reverse>KEY_REWIND</reverse>
|
||||
+ <volumeplus>KEY_VOLUMEUP</volumeplus>
|
||||
+ <volumeminus>KEY_VOLUMEDOWN</volumeminus>
|
||||
+ <channelplus>KEY_CHANNELUP</channelplus>
|
||||
+ <channelminus>KEY_CHANNELDOWN</channelminus>
|
||||
+ <skipplus>KEY_NEXT</skipplus>
|
||||
+ <skipminus>KEY_PREVIOUS</skipminus>
|
||||
+ <title>KEY_EPG</title>
|
||||
+ <subtitle>KEY_SUBTITLE</subtitle>
|
||||
+ <language>KEY_LANGUAGE</language>
|
||||
+ <info>KEY_INFO</info>
|
||||
+ <display>KEY_ZOOM</display>
|
||||
+ <mute>KEY_MUTE</mute>
|
||||
+ <power>KEY_POWER</power>
|
||||
+ <eject>KEY_EJECT</eject>
|
||||
+ <menu>KEY_DVD</menu>
|
||||
+ <menu>KEY_MENU</menu>
|
||||
+ <myvideo>KEY_VIDEO</myvideo>
|
||||
+ <mymusic>KEY_AUDIO</mymusic>
|
||||
+ <mypictures>KEY_CAMERA</mypictures>
|
||||
+ <mytv>KEY_TUNER</mytv>
|
||||
+ <teletext>KEY_TEXT</teletext>
|
||||
+ <one>KEY_NUMERIC_1</one>
|
||||
+ <two>KEY_NUMERIC_2</two>
|
||||
+ <three>KEY_NUMERIC_3</three>
|
||||
+ <four>KEY_NUMERIC_4</four>
|
||||
+ <five>KEY_NUMERIC_5</five>
|
||||
+ <six>KEY_NUMERIC_6</six>
|
||||
+ <seven>KEY_NUMERIC_7</seven>
|
||||
+ <eight>KEY_NUMERIC_8</eight>
|
||||
+ <nine>KEY_NUMERIC_9</nine>
|
||||
+ <zero>KEY_NUMERIC_0</zero>
|
||||
+ <star>KEY_NUMERIC_STAR</star>
|
||||
+ <hash>KEY_NUMERIC_POUND</hash>
|
||||
+ <red>KEY_RED</red>
|
||||
+ <green>KEY_GREEN</green>
|
||||
+ <yellow>KEY_YELLOW</yellow>
|
||||
+ <blue>KEY_BLUE</blue>
|
||||
+ </remote>
|
||||
</lircmap>
|
@ -0,0 +1,11 @@
|
||||
diff -Naur xbmc-10.1-Dharma/system/keymaps/remote.xml xbmc-10.1-Dharma.patch/system/keymaps/remote.xml
|
||||
--- xbmc-10.1-Dharma/system/keymaps/remote.xml 2011-03-08 02:49:23.000000000 +0100
|
||||
+++ xbmc-10.1-Dharma.patch/system/keymaps/remote.xml 2011-06-18 01:48:26.887811969 +0200
|
||||
@@ -63,6 +63,7 @@
|
||||
<volumeminus>VolumeDown</volumeminus>
|
||||
<mute>Mute</mute>
|
||||
<power>XBMC.ShutDown()</power>
|
||||
+ <eject>XBMC.EjectTray()</eject>
|
||||
<myvideo>XBMC.ActivateWindow(MyVideos)</myvideo>
|
||||
<mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
|
||||
<mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
|
@ -0,0 +1,304 @@
|
||||
diff -Naur xbmc-f3b0020/xbmc/guilib/GUIToggleButtonControl.h xbmc-f3b0020.patch/xbmc/guilib/GUIToggleButtonControl.h
|
||||
--- xbmc-f3b0020/xbmc/guilib/GUIToggleButtonControl.h 2011-12-10 22:16:22.000000000 +0100
|
||||
+++ xbmc-f3b0020.patch/xbmc/guilib/GUIToggleButtonControl.h 2011-12-17 18:43:42.183704449 +0100
|
||||
@@ -57,6 +57,7 @@
|
||||
virtual CStdString GetDescription() const;
|
||||
void SetToggleSelect(const CStdString &toggleSelect);
|
||||
void SetAltClickActions(const CGUIAction &clickActions);
|
||||
+ bool IsSelected() const { return m_bSelected; };
|
||||
|
||||
protected:
|
||||
virtual bool UpdateColors();
|
||||
diff -Naur xbmc-f3b0020/xbmc/interfaces/python/xbmcmodule/control.h xbmc-f3b0020.patch/xbmc/interfaces/python/xbmcmodule/control.h
|
||||
--- xbmc-f3b0020/xbmc/interfaces/python/xbmcmodule/control.h 2011-12-10 22:16:21.000000000 +0100
|
||||
+++ xbmc-f3b0020.patch/xbmc/interfaces/python/xbmcmodule/control.h 2011-12-17 18:43:42.216705084 +0100
|
||||
@@ -135,6 +135,11 @@
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD_XBMC_CONTROL
|
||||
+ bool bIsSelected;
|
||||
+ } ControlToggle;
|
||||
+
|
||||
+ typedef struct {
|
||||
+ PyObject_HEAD_XBMC_CONTROL
|
||||
std::string strFont;
|
||||
color_t textColor;
|
||||
std::vector<std::string> vecLabels;
|
||||
@@ -263,7 +268,8 @@
|
||||
extern PyTypeObject ControlRadioButton_Type;
|
||||
extern PyTypeObject ControlSlider_Type;
|
||||
extern PyTypeObject ControlEdit_Type;
|
||||
-
|
||||
+ extern PyTypeObject ControlToggle_Type;
|
||||
+
|
||||
CGUIControl* ControlLabel_Create(ControlLabel* pControl);
|
||||
CGUIControl* ControlFadeLabel_Create(ControlFadeLabel* pControl);
|
||||
CGUIControl* ControlTextBox_Create(ControlTextBox* pControl);
|
||||
@@ -276,6 +282,7 @@
|
||||
CGUIControl* ControlRadioButton_Create(ControlRadioButton* pControl);
|
||||
CGUIControl* ControlSlider_Create(ControlSlider* pControl);
|
||||
CGUIControl* ControlEdit_Create(ControlEdit* pControl);
|
||||
+ CGUIControl* ControlToggle_Create(ControlToggle* pControl);
|
||||
|
||||
void initControl_Type();
|
||||
void initControlSpin_Type();
|
||||
@@ -291,6 +298,7 @@
|
||||
void initControlRadioButton_Type();
|
||||
void initControlSlider_Type();
|
||||
void initControlEdit_Type();
|
||||
+ void initControlToggle_Type();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
diff -Naur xbmc-f3b0020/xbmc/interfaces/python/xbmcmodule/controltogglebutton.cpp xbmc-f3b0020.patch/xbmc/interfaces/python/xbmcmodule/controltogglebutton.cpp
|
||||
--- xbmc-f3b0020/xbmc/interfaces/python/xbmcmodule/controltogglebutton.cpp 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ xbmc-f3b0020.patch/xbmc/interfaces/python/xbmcmodule/controltogglebutton.cpp 2011-12-17 18:43:42.217705104 +0100
|
||||
@@ -0,0 +1,181 @@
|
||||
+/*
|
||||
+ * Copyright (C) 2005-2011 Team XBMC
|
||||
+ * http://www.xbmc.org
|
||||
+ *
|
||||
+ * 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 XBMC; see the file COPYING. If not, write to
|
||||
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
+ * http://www.gnu.org/copyleft/gpl.html
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+#include <Python.h>
|
||||
+
|
||||
+#include "guilib/GUIToggleButtonControl.h"
|
||||
+#include "guilib/GUIFontManager.h"
|
||||
+#include "control.h"
|
||||
+#include "pyutil.h"
|
||||
+
|
||||
+using namespace std;
|
||||
+
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+extern "C" {
|
||||
+#endif
|
||||
+
|
||||
+namespace PYXBMC
|
||||
+{
|
||||
+ PyObject* ControlToggle_New(
|
||||
+ PyTypeObject *type,
|
||||
+ PyObject *args,
|
||||
+ PyObject *kwds )
|
||||
+ {
|
||||
+ static const char *keywords[] = {
|
||||
+ "x", "y", "width", "height", "label",
|
||||
+ "focusTexture", "noFocusTexture",
|
||||
+ "textOffsetX", "textOffsetY", "alignment",
|
||||
+ "font", "textColor", "disabledColor", "angle", "shadowColor", "focusedColor", NULL };
|
||||
+ ControlToggle *self;
|
||||
+ char* cFont = NULL;
|
||||
+ char* cTextureFocus = NULL;
|
||||
+ char* cTextureNoFocus = NULL;
|
||||
+ char* cTextColor = NULL;
|
||||
+ char* cDisabledColor = NULL;
|
||||
+ char* cShadowColor = NULL;
|
||||
+ char* cFocusedColor = NULL;
|
||||
+
|
||||
+ PyObject* pObjectText;
|
||||
+
|
||||
+ self = (ControlToggle*)type->tp_alloc(type, 0);
|
||||
+ if (!self) return NULL;
|
||||
+ new(&self->bIsSelected) bool();
|
||||
+
|
||||
+ if (!PyArg_ParseTupleAndKeywords(
|
||||
+ args,
|
||||
+ kwds,
|
||||
+ (char*)"llllO|sslllssslss",
|
||||
+ (char**)keywords,
|
||||
+ &self->dwPosX,
|
||||
+ &self->dwPosY,
|
||||
+ &self->dwWidth,
|
||||
+ &self->dwHeight,
|
||||
+ &pObjectText,
|
||||
+ &cTextureFocus,
|
||||
+ &cTextureNoFocus,
|
||||
+ &cFont,
|
||||
+ &cTextColor,
|
||||
+ &cDisabledColor,
|
||||
+ &cShadowColor,
|
||||
+ &cFocusedColor))
|
||||
+ {
|
||||
+ Py_DECREF( self );
|
||||
+ return NULL;
|
||||
+ }
|
||||
+
|
||||
+
|
||||
+ cTextureFocus :
|
||||
+ PyXBMCGetDefaultImage((char*)"button", (char*)"texturefocus", (char*)"button-focus.png");
|
||||
+ cTextureNoFocus :
|
||||
+ PyXBMCGetDefaultImage((char*)"button", (char*)"texturenofocus", (char*)"button-nofocus.jpg");
|
||||
+
|
||||
+ return (PyObject*)self;
|
||||
+ }
|
||||
+
|
||||
+ void ControlToggle_Dealloc(ControlToggle* self)
|
||||
+ {
|
||||
+ self->ob_type->tp_free((PyObject*)self);
|
||||
+ }
|
||||
+
|
||||
+
|
||||
+ // isSelected() Method
|
||||
+ PyDoc_STRVAR(isSelected__doc__,
|
||||
+ "isSelected() -- Returns the toggle buttons's selected status.\n"
|
||||
+ "\n"
|
||||
+ "example:\n"
|
||||
+ " - is = self.togglebutton.isSelected()\n");
|
||||
+
|
||||
+ PyObject* ControlToggle_IsSelected(ControlToggle *self, PyObject *args)
|
||||
+ {
|
||||
+ bool isSelected = false;
|
||||
+
|
||||
+ PyXBMCGUILock();
|
||||
+ if (self->pGUIControl)
|
||||
+ isSelected = ((CGUIToggleButtonControl*)self->pGUIControl)->IsSelected();
|
||||
+ PyXBMCGUIUnlock();
|
||||
+
|
||||
+ return Py_BuildValue((char*)"b", isSelected);
|
||||
+ }
|
||||
+
|
||||
+
|
||||
+ PyMethodDef ControlToggle_methods[] = {
|
||||
+ {(char*)"isSelected", (PyCFunction)ControlToggle_IsSelected, METH_VARARGS, isSelected__doc__},
|
||||
+ {NULL, NULL, 0, NULL}
|
||||
+ };
|
||||
+
|
||||
+ // ControlRadioButton class
|
||||
+ PyDoc_STRVAR(ControlToggle__doc__,
|
||||
+ "ControlRadioButton class.\n"
|
||||
+ "\n"
|
||||
+ "ControlRadioButton(x, y, width, height, label[, focusTexture, noFocusTexture, textOffsetX, textOffsetY,\n"
|
||||
+ " alignment, font, textColor, disabledColor, angle, shadowColor, focusedColor,\n"
|
||||
+ " radioFocusTexture, noRadioFocusTexture])\n"
|
||||
+ "\n"
|
||||
+ "x : integer - x coordinate of control.\n"
|
||||
+ "y : integer - y coordinate of control.\n"
|
||||
+ "width : integer - width of control.\n"
|
||||
+ "height : integer - height of control.\n"
|
||||
+ "label : string or unicode - text string.\n"
|
||||
+ "focusTexture : [opt] string - filename for focus texture.\n"
|
||||
+ "noFocusTexture : [opt] string - filename for no focus texture.\n"
|
||||
+ "textOffsetX : [opt] integer - x offset of label.\n"
|
||||
+ "textOffsetY : [opt] integer - y offset of label.\n"
|
||||
+ "alignment : [opt] integer - alignment of label - *Note, see xbfont.h\n"
|
||||
+ "font : [opt] string - font used for label text. (e.g. 'font13')\n"
|
||||
+ "textColor : [opt] hexstring - color of enabled radio button's label. (e.g. '0xFFFFFFFF')\n"
|
||||
+ "disabledColor : [opt] hexstring - color of disabled radio button's label. (e.g. '0xFFFF3300')\n"
|
||||
+ "angle : [opt] integer - angle of control. (+ rotates CCW, - rotates CW)\n"
|
||||
+ "shadowColor : [opt] hexstring - color of radio button's label's shadow. (e.g. '0xFF000000')\n"
|
||||
+ "focusedColor : [opt] hexstring - color of focused radio button's label. (e.g. '0xFF00FFFF')\n"
|
||||
+ "radioFocusTexture : [opt] string - filename for radio focus texture.\n"
|
||||
+ "noRadioFocusTexture : [opt] string - filename for radio no focus texture.\n"
|
||||
+ "\n"
|
||||
+ "*Note, You can use the above as keywords for arguments and skip certain optional arguments.\n"
|
||||
+ " Once you use a keyword, all following arguments require the keyword.\n"
|
||||
+ " After you create the control, you need to add it to the window with addControl().\n"
|
||||
+ "\n"
|
||||
+ "example:\n"
|
||||
+ " - self.radiobutton = xbmcgui.ControlToggleButton(100, 250, 200, 50, 'Status', font='font14')\n");
|
||||
+
|
||||
+ // Restore code and data sections to normal.
|
||||
+
|
||||
+ PyTypeObject ControlToggle_Type;
|
||||
+
|
||||
+ void initControlToggle_Type()
|
||||
+ {
|
||||
+ PyXBMCInitializeTypeObject(&ControlToggle_Type);
|
||||
+
|
||||
+ ControlToggle_Type.tp_name = (char*)"xbmcgui.ControlToggleButton";
|
||||
+ ControlToggle_Type.tp_basicsize = sizeof(ControlToggle);
|
||||
+ ControlToggle_Type.tp_dealloc = (destructor)ControlToggle_Dealloc;
|
||||
+ ControlToggle_Type.tp_compare = 0;
|
||||
+ ControlToggle_Type.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE;
|
||||
+ ControlToggle_Type.tp_doc = ControlToggle__doc__;
|
||||
+ ControlToggle_Type.tp_methods = ControlToggle_methods;
|
||||
+ ControlToggle_Type.tp_base = &Control_Type;
|
||||
+ ControlToggle_Type.tp_new = ControlToggle_New;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+}
|
||||
+#endif
|
||||
diff -Naur xbmc-f3b0020/xbmc/interfaces/python/xbmcmodule/Makefile.in xbmc-f3b0020.patch/xbmc/interfaces/python/xbmcmodule/Makefile.in
|
||||
--- xbmc-f3b0020/xbmc/interfaces/python/xbmcmodule/Makefile.in 2011-12-10 22:16:21.000000000 +0100
|
||||
+++ xbmc-f3b0020.patch/xbmc/interfaces/python/xbmcmodule/Makefile.in 2011-12-17 18:44:47.447960296 +0100
|
||||
@@ -13,6 +13,7 @@
|
||||
controlslider.cpp \
|
||||
controlspin.cpp \
|
||||
controltextbox.cpp \
|
||||
+ controltogglebutton.cpp \
|
||||
dialog.cpp \
|
||||
GUIPythonWindow.cpp \
|
||||
GUIPythonWindowDialog.cpp \
|
||||
diff -Naur xbmc-f3b0020/xbmc/interfaces/python/xbmcmodule/window.cpp xbmc-f3b0020.patch/xbmc/interfaces/python/xbmcmodule/window.cpp
|
||||
--- xbmc-f3b0020/xbmc/interfaces/python/xbmcmodule/window.cpp 2011-12-10 22:16:21.000000000 +0100
|
||||
+++ xbmc-f3b0020.patch/xbmc/interfaces/python/xbmcmodule/window.cpp 2011-12-17 18:43:42.218705123 +0100
|
||||
@@ -277,6 +277,12 @@
|
||||
if (li.font) ((ControlEdit*)pControl)->strFont = li.font->GetFontName();
|
||||
((ControlButton*)pControl)->align = li.align;
|
||||
break;
|
||||
+ case CGUIControl::GUICONTROL_TOGGLEBUTTON:
|
||||
+ pControl = (Control*)ControlToggle_Type.tp_alloc(&ControlToggle_Type, 0);
|
||||
+ new(&((ControlToggle*)pControl)->bIsSelected) bool();
|
||||
+
|
||||
+ break;
|
||||
+
|
||||
default:
|
||||
break;
|
||||
}
|
||||
diff -Naur xbmc-f3b0020/xbmc/interfaces/python/xbmcmodule/xbmcguimodule.cpp xbmc-f3b0020.patch/xbmc/interfaces/python/xbmcmodule/xbmcguimodule.cpp
|
||||
--- xbmc-f3b0020/xbmc/interfaces/python/xbmcmodule/xbmcguimodule.cpp 2011-12-10 22:16:21.000000000 +0100
|
||||
+++ xbmc-f3b0020.patch/xbmc/interfaces/python/xbmcmodule/xbmcguimodule.cpp 2011-12-17 18:43:42.219705142 +0100
|
||||
@@ -138,6 +138,7 @@
|
||||
initAction_Type();
|
||||
initControlRadioButton_Type();
|
||||
initControlEdit_Type();
|
||||
+ initControlToggle_Type();
|
||||
|
||||
if (PyType_Ready(&Window_Type) < 0 ||
|
||||
PyType_Ready(&WindowDialog_Type) < 0 ||
|
||||
@@ -160,7 +161,8 @@
|
||||
PyType_Ready(&ControlSlider_Type) < 0 ||
|
||||
PyType_Ready(&ControlRadioButton_Type) < 0 ||
|
||||
PyType_Ready(&ControlEdit_Type) < 0 ||
|
||||
- PyType_Ready(&Action_Type) < 0)
|
||||
+ PyType_Ready(&Action_Type) < 0 ||
|
||||
+ PyType_Ready(&ControlToggle_Type) < 0)
|
||||
return;
|
||||
|
||||
}
|
||||
@@ -200,6 +202,7 @@
|
||||
Py_INCREF(&Action_Type);
|
||||
Py_INCREF(&ControlRadioButton_Type);
|
||||
Py_INCREF(&ControlEdit_Type);
|
||||
+ Py_INCREF(&ControlToggle_Type);
|
||||
|
||||
pXbmcGuiModule = Py_InitModule3((char*)"xbmcgui", xbmcGuiMethods, xbmcgui_module_documentation);
|
||||
|
||||
@@ -227,7 +230,8 @@
|
||||
PyModule_AddObject(pXbmcGuiModule, (char*)"Action", (PyObject *)&Action_Type);
|
||||
PyModule_AddObject(pXbmcGuiModule, (char*)"ControlRadioButton", (PyObject*)&ControlRadioButton_Type);
|
||||
PyModule_AddObject(pXbmcGuiModule, (char*)"ControlEdit", (PyObject*)&ControlEdit_Type);
|
||||
-
|
||||
+ PyModule_AddObject(pXbmcGuiModule, (char*)"ControlToggle", (PyObject*)&ControlToggle_Type);
|
||||
+
|
||||
PyModule_AddStringConstant(pXbmcGuiModule, (char*)"__author__", (char*)PY_XBMC_AUTHOR);
|
||||
PyModule_AddStringConstant(pXbmcGuiModule, (char*)"__date__", (char*)"14 July 2006");
|
||||
PyModule_AddStringConstant(pXbmcGuiModule, (char*)"__version__", (char*)"1.2");
|
||||
diff -Naur xbmc-f3b0020/XBMC.xcodeproj/project.pbxproj xbmc-f3b0020.patch/XBMC.xcodeproj/project.pbxproj
|
@ -1,12 +1,14 @@
|
||||
# Name of the Distro to build (full name, without special charcters)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
DISTRONAME="OpenELEC_frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
DISTRONAME="OpenELEC_PVR"
|
||||
else
|
||||
DISTRONAME="OpenELEC"
|
||||
fi
|
||||
|
||||
if [ "$PVR" = yes ]; then
|
||||
DISTRONAME="${DISTRONAME}_PVR"
|
||||
fi
|
||||
|
||||
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||
GREETING0="##############################################"
|
||||
GREETING1="# OpenELEC - The living room PC for everyone #"
|
||||
|
@ -1,12 +1,14 @@
|
||||
# Name of the Distro to build (full name, without special charcters)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
DISTRONAME="OpenELEC_frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
DISTRONAME="OpenELEC_PVR"
|
||||
else
|
||||
DISTRONAME="OpenELEC"
|
||||
fi
|
||||
|
||||
if [ "$PVR" = yes ]; then
|
||||
DISTRONAME="${DISTRONAME}_PVR"
|
||||
fi
|
||||
|
||||
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||
GREETING0="##############################################"
|
||||
GREETING1="# OpenELEC - The living room PC for everyone #"
|
||||
|
@ -1,12 +1,14 @@
|
||||
# Name of the Distro to build (full name, without special charcters)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
DISTRONAME="OpenELEC_frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
DISTRONAME="OpenELEC_PVR"
|
||||
else
|
||||
DISTRONAME="OpenELEC"
|
||||
fi
|
||||
|
||||
if [ "$PVR" = yes ]; then
|
||||
DISTRONAME="${DISTRONAME}_PVR"
|
||||
fi
|
||||
|
||||
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||
GREETING0="##############################################"
|
||||
GREETING1="# OpenELEC - The living room PC for everyone #"
|
||||
|
@ -1,12 +1,14 @@
|
||||
# Name of the Distro to build (full name, without special charcters)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
DISTRONAME="OpenELEC_frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
DISTRONAME="OpenELEC_PVR"
|
||||
else
|
||||
DISTRONAME="OpenELEC"
|
||||
fi
|
||||
|
||||
if [ "$PVR" = yes ]; then
|
||||
DISTRONAME="${DISTRONAME}_PVR"
|
||||
fi
|
||||
|
||||
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||
GREETING0="##############################################"
|
||||
GREETING1="# OpenELEC - The living room PC for everyone #"
|
||||
|
@ -1,12 +1,14 @@
|
||||
# Name of the Distro to build (full name, without special charcters)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
DISTRONAME="OpenELEC_frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
DISTRONAME="OpenELEC_PVR"
|
||||
else
|
||||
DISTRONAME="OpenELEC"
|
||||
fi
|
||||
|
||||
if [ "$PVR" = yes ]; then
|
||||
DISTRONAME="${DISTRONAME}_PVR"
|
||||
fi
|
||||
|
||||
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||
GREETING0="##############################################"
|
||||
GREETING1="# OpenELEC - The living room PC for everyone #"
|
||||
|
@ -1,12 +1,14 @@
|
||||
# Name of the Distro to build (full name, without special charcters)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
DISTRONAME="OpenELEC_frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
DISTRONAME="OpenELEC_PVR"
|
||||
else
|
||||
DISTRONAME="OpenELEC"
|
||||
fi
|
||||
|
||||
if [ "$PVR" = yes ]; then
|
||||
DISTRONAME="${DISTRONAME}_PVR"
|
||||
fi
|
||||
|
||||
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||
GREETING0="##############################################"
|
||||
GREETING1="# OpenELEC - The living room PC for everyone #"
|
||||
|
@ -1,12 +1,14 @@
|
||||
# Name of the Distro to build (full name, without special charcters)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
DISTRONAME="OpenELEC_frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
DISTRONAME="OpenELEC_PVR"
|
||||
else
|
||||
DISTRONAME="OpenELEC"
|
||||
fi
|
||||
|
||||
if [ "$PVR" = yes ]; then
|
||||
DISTRONAME="${DISTRONAME}_PVR"
|
||||
fi
|
||||
|
||||
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||
GREETING0="##############################################"
|
||||
GREETING1="# OpenELEC - The living room PC for everyone #"
|
||||
@ -103,7 +105,8 @@
|
||||
# Kernel to use. values can be:
|
||||
# default: default mainline kernel
|
||||
# ti-omap4: Ti's OMAP4 kernel
|
||||
LINUX="3.1.10"
|
||||
# LINUX="3.1.10"
|
||||
LINUX="default"
|
||||
|
||||
# use linux-next (latest rc) instead latest released version
|
||||
LINUX_NEXT="no"
|
||||
|
@ -1,12 +1,14 @@
|
||||
# Name of the Distro to build (full name, without special charcters)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
DISTRONAME="OpenELEC_frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
DISTRONAME="OpenELEC_PVR"
|
||||
else
|
||||
DISTRONAME="OpenELEC"
|
||||
fi
|
||||
|
||||
if [ "$PVR" = yes ]; then
|
||||
DISTRONAME="${DISTRONAME}_PVR"
|
||||
fi
|
||||
|
||||
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||
GREETING0="##############################################"
|
||||
GREETING1="# OpenELEC - The living room PC for everyone #"
|
||||
|
@ -1,12 +1,14 @@
|
||||
# Name of the Distro to build (full name, without special charcters)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
DISTRONAME="OpenELEC_frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
DISTRONAME="OpenELEC_PVR"
|
||||
else
|
||||
DISTRONAME="OpenELEC"
|
||||
fi
|
||||
|
||||
if [ "$PVR" = yes ]; then
|
||||
DISTRONAME="${DISTRONAME}_PVR"
|
||||
fi
|
||||
|
||||
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
||||
GREETING0="##############################################"
|
||||
GREETING1="# OpenELEC - The living room PC for everyone #"
|
||||
|
@ -20,6 +20,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="xbmc-frodo"
|
||||
PKG_VERSION=""
|
||||
GIT_REPO="-b master git://github.com/xbmc/xbmc.git"
|
||||
DEST_DIR="$PKG_NAME"
|
||||
|
||||
@ -35,42 +36,43 @@ echo "getting version..."
|
||||
GIT_REV=`git log -n1 --format=%h`
|
||||
echo $GIT_REV
|
||||
cd ..
|
||||
PKG_VERSION="$GIT_REV"
|
||||
|
||||
echo "copying sources..."
|
||||
rm -rf $PKG_NAME-$GIT_REV
|
||||
cp -R $DEST_DIR-latest $PKG_NAME-$GIT_REV
|
||||
echo "$GIT_REV" > $PKG_NAME-$GIT_REV/git.version
|
||||
rm -rf $PKG_NAME-$PKG_VERSION
|
||||
cp -R $DEST_DIR-latest $PKG_NAME-$PKG_VERSION
|
||||
echo "$GIT_REV" > $PKG_NAME-$PKG_VERSION/git.version
|
||||
|
||||
echo "cleaning sources..."
|
||||
rm -rf $PKG_NAME-$GIT_REV/.git
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/.git
|
||||
|
||||
echo "seperating theme..."
|
||||
rm -rf $PKG_NAME-theme-Confluence-$GIT_REV
|
||||
mv $PKG_NAME-$GIT_REV/addons/skin.confluence $PKG_NAME-theme-Confluence-$GIT_REV
|
||||
rm -rf $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
mv $PKG_NAME-$PKG_VERSION/addons/skin.confluence $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
|
||||
echo "cleaning sources..."
|
||||
rm -rf $PKG_NAME-$GIT_REV/visualisations
|
||||
rm -rf $PKG_NAME-$GIT_REV/lib/libSDL-*
|
||||
rm -rf $PKG_NAME-$GIT_REV/lib/libcurl-*
|
||||
rm -rf $PKG_NAME-$GIT_REV/project
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/visualisations
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/lib/libSDL-*
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/lib/libcurl-*
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/project
|
||||
|
||||
for i in "Changelog" "Fake\ Episode\ Maker" "MingwBuildEnvironment" \
|
||||
"PackageMaker" "Translator" "XBMCLive" "XprPack" \
|
||||
"HardwareConfigure" "Mach5" "osx" "UpdateThumbs.py" "XBMCTex"; do
|
||||
rm -rf $PKG_NAME-$GIT_REV/tools/$i
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/tools/$i
|
||||
done
|
||||
|
||||
for i in dll a lib so bat; do
|
||||
find $PKG_NAME-$GIT_REV -name *.$i -exec rm -rf {} ";"
|
||||
find $PKG_NAME-$PKG_VERSION -name *.$i -exec rm -rf {} ";"
|
||||
done
|
||||
|
||||
# bundled win32 binaries
|
||||
rm -r $PKG_NAME-$GIT_REV/xbmc/visualizations/XBMCProjectM/win32
|
||||
rm -r $PKG_NAME-$PKG_VERSION/xbmc/visualizations/XBMCProjectM/win32
|
||||
|
||||
echo "packing sources..."
|
||||
tar cvJf $PKG_NAME-$GIT_REV.tar.xz $PKG_NAME-$GIT_REV
|
||||
tar cvJf $PKG_NAME-theme-Confluence-$GIT_REV.tar.xz $PKG_NAME-theme-Confluence-$GIT_REV
|
||||
tar cvJf $PKG_NAME-$PKG_VERSION.tar.xz $PKG_NAME-$PKG_VERSION
|
||||
tar cvJf $PKG_NAME-theme-Confluence-$PKG_VERSION.tar.xz $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
|
||||
echo "remove temporary sourcedir..."
|
||||
rm -rf $PKG_NAME-$GIT_REV
|
||||
rm -rf $PKG_NAME-theme-Confluence-$GIT_REV
|
||||
rm -rf $PKG_NAME-$PKG_VERSION
|
||||
rm -rf $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
|
@ -19,9 +19,10 @@
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="xbmc-pvr"
|
||||
GIT_REPO="-b pvr-ppa git://github.com/opdenkamp/xbmc.git"
|
||||
DEST_DIR="$PKG_NAME"
|
||||
PKG_NAME="xbmc-frodo"
|
||||
PKG_VERSION="pvr"
|
||||
GIT_REPO="-b master git://github.com/opdenkamp/xbmc.git"
|
||||
DEST_DIR="$PKG_NAME-pvr"
|
||||
|
||||
echo "getting sources..."
|
||||
if [ ! -d $DEST_DIR-latest ]; then
|
||||
@ -35,46 +36,43 @@ echo "getting version..."
|
||||
GIT_REV=`git log -n1 --format=%h`
|
||||
echo $GIT_REV
|
||||
cd ..
|
||||
PKG_VERSION="$PKG_VERSION-$GIT_REV"
|
||||
|
||||
echo "copying sources..."
|
||||
rm -rf $PKG_NAME-$GIT_REV
|
||||
cp -R $DEST_DIR-latest $PKG_NAME-$GIT_REV
|
||||
echo "$GIT_REV" > $PKG_NAME-$GIT_REV/git.version
|
||||
rm -rf $PKG_NAME-$PKG_VERSION
|
||||
cp -R $DEST_DIR-latest $PKG_NAME-$PKG_VERSION
|
||||
echo "$GIT_REV" > $PKG_NAME-$PKG_VERSION/git.version
|
||||
|
||||
echo "cleaning sources..."
|
||||
rm -rf $PKG_NAME-$GIT_REV/.git
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/.git
|
||||
|
||||
echo "seperating theme..."
|
||||
rm -rf $PKG_NAME-theme-Confluence-$GIT_REV
|
||||
mv $PKG_NAME-$GIT_REV/addons/skin.confluence $PKG_NAME-theme-Confluence-$GIT_REV
|
||||
# rm -rf $PKG_NAME-theme-Touched-$GIT_REV
|
||||
# mv $PKG_NAME-$GIT_REV/addons/skin.touched $PKG_NAME-theme-Touched-$GIT_REV
|
||||
rm -rf $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
mv $PKG_NAME-$PKG_VERSION/addons/skin.confluence $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
|
||||
echo "cleaning sources..."
|
||||
rm -rf $PKG_NAME-$GIT_REV/visualisations
|
||||
rm -rf $PKG_NAME-$GIT_REV/lib/libSDL-*
|
||||
rm -rf $PKG_NAME-$GIT_REV/lib/libcurl-*
|
||||
rm -rf $PKG_NAME-$GIT_REV/project
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/visualisations
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/lib/libSDL-*
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/lib/libcurl-*
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/project
|
||||
|
||||
for i in "Changelog" "Fake\ Episode\ Maker" "MingwBuildEnvironment" \
|
||||
"PackageMaker" "Translator" "XBMCLive" "XprPack" \
|
||||
"HardwareConfigure" "Mach5" "osx" "UpdateThumbs.py" "XBMCTex"; do
|
||||
rm -rf $PKG_NAME-$GIT_REV/tools/$i
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/tools/$i
|
||||
done
|
||||
|
||||
for i in dll a lib so bat; do
|
||||
find $PKG_NAME-$GIT_REV -name *.$i -exec rm -rf {} ";"
|
||||
find $PKG_NAME-$PKG_VERSION -name *.$i -exec rm -rf {} ";"
|
||||
done
|
||||
|
||||
# bundled win32 binaries
|
||||
rm -r $PKG_NAME-$GIT_REV/xbmc/visualizations/XBMCProjectM/win32
|
||||
rm -r $PKG_NAME-$PKG_VERSION/xbmc/visualizations/XBMCProjectM/win32
|
||||
|
||||
echo "packing sources..."
|
||||
tar cvJf $PKG_NAME-$GIT_REV.tar.xz $PKG_NAME-$GIT_REV
|
||||
tar cvJf $PKG_NAME-theme-Confluence-$GIT_REV.tar.xz $PKG_NAME-theme-Confluence-$GIT_REV
|
||||
# tar cvJf $PKG_NAME-theme-Touched-$GIT_REV.tar.xz $PKG_NAME-theme-Touched-$GIT_REV
|
||||
tar cvJf $PKG_NAME-$PKG_VERSION.tar.xz $PKG_NAME-$PKG_VERSION
|
||||
tar cvJf $PKG_NAME-theme-Confluence-$PKG_VERSION.tar.xz $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
|
||||
echo "remove temporary sourcedir..."
|
||||
rm -rf $PKG_NAME-$GIT_REV
|
||||
rm -rf $PKG_NAME-theme-Confluence-$GIT_REV
|
||||
# rm -rf $PKG_NAME-theme-Touched-$GIT_REV
|
||||
rm -rf $PKG_NAME-$PKG_VERSION
|
||||
rm -rf $PKG_NAME-theme-Confluence-$PKG_VERSION
|
Loading…
x
Reference in New Issue
Block a user