diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000..7e7c3a5b92 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "packages/unofficial"] + path = packages/unofficial + url = https://github.com/OpenELEC/unofficial-addons.git diff --git a/config/addon/addon.xml b/config/addon/addon.xml index f528f9c914..6cba11fb76 100644 --- a/config/addon/addon.xml +++ b/config/addon/addon.xml @@ -2,7 +2,7 @@ + provider-name="@PROVIDER_NAME@"> diff --git a/config/path b/config/path index 4ace4b59e5..9b6c22fe11 100644 --- a/config/path +++ b/config/path @@ -55,12 +55,26 @@ SED="sed -i" PKG_IS_ADDON="no" if [ -n "$1" ]; then - PKG_DIR=`find $PACKAGES -type d -name $1 ! -wholename \*\/source\/\* 2>/dev/null` - if [ "${PKG_DIR}" != "$(echo $PKG_DIR | tr -d '\n')" ]; then - echo "Error - multiple package folders:" - echo "$PKG_DIR" - exit 1 - fi + FOUND=0 + for DIR in `find $PACKAGES -type d -name $1 ! -wholename \*\/source\/\* 2>/dev/null` ; do + # keep track of dirs with meta for debugging + if [ -z "$ALL_DIRS" ] ; then + ALL_DIRS="$DIR" + else + ALL_DIRS="$ALL_DIRS\\n$DIR" + fi + if [ -f "$DIR/meta" -o -f "$DIR/install" -o -f "$DIR/build" ] ; then + FOUND=$((FOUND+1)) + # found first. set $PKG_DIR + PKG_DIR="$DIR" + if [ $FOUND -gt 1 ] ; then + # found more ? fail + echo "Error - multiple package folders:" + echo -e "$ALL_DIRS" + exit 1 + fi + fi + done fi [ -r $PKG_DIR/meta ] && . $PKG_DIR/meta diff --git a/packages/3rdparty/download/CouchPotatoServer/meta b/packages/3rdparty/download/CouchPotatoServer/meta deleted file mode 100644 index e3bcd56436..0000000000 --- a/packages/3rdparty/download/CouchPotatoServer/meta +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# Copyright (C) 2011 Anthony Nash (nash.ant@gmail.com) -# -# 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 -################################################################################ - -PKG_NAME="CouchPotatoServer" -PKG_VERSION="5c0d8a7" -PKG_REV="1" -PKG_ARCH="any" -PKG_LICENSE="OSS" -PKG_SITE="https://github.com/RuudBurger/CouchPotatoServer" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS="Python SABnzbd" -PKG_BUILD_DEPENDS="toolchain Python" -PKG_PRIORITY="optional" -PKG_SECTION="service/downloadmanager" -PKG_SHORTDESC="CouchPotatoServer: automated movie downloading." -PKG_LONGDESC="CouchPotatoServer: automated movie downloading." - -PKG_IS_ADDON="no" - -PKG_AUTORECONF="no" diff --git a/packages/3rdparty/download/CouchPotatoServer/patches/CouchPotatoServer-move-cache.patch b/packages/3rdparty/download/CouchPotatoServer/patches/CouchPotatoServer-move-cache.patch deleted file mode 100644 index 80953fb67f..0000000000 --- a/packages/3rdparty/download/CouchPotatoServer/patches/CouchPotatoServer-move-cache.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/couchpotato/runner.py b/couchpotato/runner.py -index c0b7eb8..3a550f9 100644 ---- a/couchpotato/runner.py -+++ b/couchpotato/runner.py -@@ -112,7 +112,7 @@ def runCouchPotato(options, base_path, args, data_dir = None, log_dir = None, En - Env.set('data_dir', data_dir) - Env.set('log_path', os.path.join(log_dir, 'CouchPotato.log')) - Env.set('db_path', 'sqlite:///' + db_path) -- Env.set('cache_dir', os.path.join(data_dir, 'cache')) -+ Env.set('cache_dir', os.path.join(data_dir, 'cache.cpv2')) - Env.set('cache', FileSystemCache(os.path.join(Env.get('cache_dir'), 'python'))) - Env.set('console_log', options.console_log) - Env.set('quiet', options.quiet) diff --git a/packages/3rdparty/download/Headphones/meta b/packages/3rdparty/download/Headphones/meta deleted file mode 100644 index 84cd07b998..0000000000 --- a/packages/3rdparty/download/Headphones/meta +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# Copyright (C) 2011 Anthony Nash (nash.ant@gmail.com) -# -# 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 -################################################################################ - -PKG_NAME="Headphones" -PKG_VERSION="452cf15" -PKG_REV="1" -PKG_ARCH="any" -PKG_LICENSE="OSS" -PKG_SITE="http://github.com/rembo10/headphones" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS="Python SABnzbd" -PKG_BUILD_DEPENDS="toolchain Python" -PKG_PRIORITY="optional" -PKG_SECTION="service/downloadmanager" -PKG_SHORTDESC="Headphones: Automatic music downloader for SABnzbd." -PKG_LONGDESC="Headphones: This a pretty early release of a third-party add-on for SABnzbd." - -PKG_IS_ADDON="no" - -PKG_AUTORECONF="no" diff --git a/packages/3rdparty/download/SABnzbd/meta b/packages/3rdparty/download/SABnzbd/meta deleted file mode 100644 index dd411ad525..0000000000 --- a/packages/3rdparty/download/SABnzbd/meta +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# 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 -################################################################################ - -PKG_NAME="SABnzbd" -PKG_VERSION="0.7.11" -PKG_REV="1" -PKG_ARCH="any" -PKG_LICENSE="OSS" -PKG_SITE="http://sabnzbd.org/" -PKG_URL="$SOURCEFORGE_SRC/sabnzbdplus/sabnzbdplus/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}-src.tar.gz" -PKG_DEPENDS="Python Cheetah pyOpenSSL yenc unrar unzip par2cmdline" -PKG_BUILD_DEPENDS="toolchain Python Cheetah pyOpenSSL yenc unrar unzip par2cmdline configobj" -PKG_PRIORITY="optional" -PKG_SECTION="service/downloadmanager" -PKG_SHORTDESC="SABnzbd makes Usenet as simple and streamlined as possible by automating everything we can." -PKG_LONGDESC="SABnzbd makes Usenet as simple and streamlined as possible by automating everything we can. All you have to do is add a .nzb file. SABnzbd+ takes over from there, where it will be automatically downloaded, verified, repaired, extracted and filed away with zero human interaction." - -PKG_IS_ADDON="no" - -PKG_AUTORECONF="no" diff --git a/packages/3rdparty/download/SABnzbd/patches/SABnzbd-0.7.11-001_remove_default_settings-0.3.patch b/packages/3rdparty/download/SABnzbd/patches/SABnzbd-0.7.11-001_remove_default_settings-0.3.patch deleted file mode 100644 index d3080986c5..0000000000 --- a/packages/3rdparty/download/SABnzbd/patches/SABnzbd-0.7.11-001_remove_default_settings-0.3.patch +++ /dev/null @@ -1,234 +0,0 @@ -diff --git a/interfaces/Plush/templates/config_folders.tmpl b/interfaces/Plush/templates/config_folders.tmpl -index 92bb5d1..94c1502 100644 ---- a/interfaces/Plush/templates/config_folders.tmpl -+++ b/interfaces/Plush/templates/config_folders.tmpl -@@ -76,16 +76,6 @@ - $T('explain-dirscan_speed') - - --
-- -- --
-
-
- --
--
--

$T('systemFolders')

--

$T('base-folder'):
$my_lcldata

--
--
--
-- -- -- --
--
-- -- --
--
-- -- --
--
--
-- -
-
-

 

-diff --git a/interfaces/Plush/templates/config_general.tmpl b/interfaces/Plush/templates/config_general.tmpl -index 0c293ec..56f9488 100644 ---- a/interfaces/Plush/templates/config_general.tmpl -+++ b/interfaces/Plush/templates/config_general.tmpl -@@ -14,82 +14,6 @@ -
-
-
-- -- --
--
-- -- --
--
-- -- --
--
-- -- --
--
-- -- --
--
-- -- --
--
- --
-
-
- -@@ -154,36 +71,6 @@ - $T('explain-enable_https') - - --
-- -- --
--
-- -- --
--
-- -- --
- - - -diff --git a/interfaces/Plush/templates/config_switches.tmpl b/interfaces/Plush/templates/config_switches.tmpl -index a8f1069..6f50b49 100644 ---- a/interfaces/Plush/templates/config_switches.tmpl -+++ b/interfaces/Plush/templates/config_switches.tmpl -@@ -12,20 +12,6 @@ -

$T('swtag-general')

- -
--
-- 0 then "checked=1" else ""#--> /> -- --
--
-- 0 then "checked=1" else ""#--> /> -- --
- -
- 0 then "checked=1" else ""#--> /> diff --git a/packages/3rdparty/download/SickBeard/meta b/packages/3rdparty/download/SickBeard/meta deleted file mode 100644 index da89b19021..0000000000 --- a/packages/3rdparty/download/SickBeard/meta +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# Copyright (C) 2011 Anthony Nash (nash.ant@gmail.com) -# -# 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 -################################################################################ - -PKG_NAME="SickBeard" -PKG_VERSION="fb37d33" -PKG_REV="1" -PKG_ARCH="any" -PKG_LICENSE="OSS" -PKG_SITE="https://github.com/midgetspy/Sick-Beard" -PKG_URL="$DISTRO_SRC/${PKG_NAME}-${PKG_VERSION}.tar.xz" -PKG_DEPENDS="Python SABnzbd Cheetah" -PKG_BUILD_DEPENDS="toolchain Python Cheetah" -PKG_PRIORITY="optional" -PKG_SECTION="service/downloadmanager" -PKG_SHORTDESC="SickBeard: automated TV show downloading." -PKG_LONGDESC="SickBeard: automated TV show downloading." - -PKG_IS_ADDON="no" - -PKG_AUTORECONF="no" diff --git a/packages/3rdparty/download/SickBeard/patches/SickBeard-001-remove_logo_update-header_and_donate_button-0.1.patch b/packages/3rdparty/download/SickBeard/patches/SickBeard-001-remove_logo_update-header_and_donate_button-0.1.patch deleted file mode 100644 index 18fe8a3314..0000000000 --- a/packages/3rdparty/download/SickBeard/patches/SickBeard-001-remove_logo_update-header_and_donate_button-0.1.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff --git a/data/interfaces/default/config.tmpl b/data/interfaces/default/config.tmpl -index ec28766..fdf3e30 100644 ---- a/data/interfaces/default/config.tmpl -+++ b/data/interfaces/default/config.tmpl -@@ -36,13 +36,4 @@ - -
- --
-- -- -- -- -- --
[donate]Sick Beard is free, but you can contribute by giving a donation.
--
-- - #include $os.path.join($sickbeard.PROG_DIR, "data/interfaces/default/inc_bottom.tmpl") -diff --git a/data/interfaces/default/inc_top.tmpl b/data/interfaces/default/inc_top.tmpl -index f791be8..fb38f17 100644 ---- a/data/interfaces/default/inc_top.tmpl -+++ b/data/interfaces/default/inc_top.tmpl -@@ -108,20 +108,6 @@ - - -
--#if $sickbeard.NEWEST_VERSION_STRING: --
--
-- $sickbeard.NEWEST_VERSION_STRING --
--
--
--#end if -- -- -