mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
commit
95eb836354
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="libmtp"
|
||||
PKG_VERSION="1.1.11"
|
||||
PKG_VERSION="1.1.13"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://libmtp.sourceforge.net/"
|
||||
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="diffutils"
|
||||
PKG_VERSION="3.5"
|
||||
PKG_VERSION="3.6"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.gnu.org/software/diffutils/"
|
||||
|
@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC 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 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="dstat"
|
||||
PKG_VERSION="77e9347"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://dag.wiee.rs/home-made/dstat"
|
||||
PKG_URL="https://github.com/dagwieers/dstat/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="Versatile resource statistics tool"
|
||||
PKG_LONGDESC="Versatile resource statistics tool"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
post_unpack() {
|
||||
rm $PKG_BUILD/Makefile
|
||||
}
|
||||
|
||||
make_target() {
|
||||
: # nothing to do
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nothing to do
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,11 +17,11 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="dtach"
|
||||
PKG_VERSION="0.8"
|
||||
PKG_VERSION="0.9"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://dtach.sourceforge.net"
|
||||
PKG_URL="http://download.sourceforge.net/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_URL="https://github.com/crigler/dtach/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="dtach - A program that emulates the detach feature of screen"
|
||||
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,11 +17,11 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="fdupes"
|
||||
PKG_VERSION="1.51"
|
||||
PKG_VERSION="1.6.1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://premium.caribe.net/~adrian2/fdupes.html"
|
||||
PKG_URL="https://fdupes.googlecode.com/files/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_URL="https://github.com/adrianlopezroche/fdupes/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="FDUPES is a program for identifying or deleting duplicate files residing within specified directories"
|
||||
|
@ -6,7 +6,7 @@ index 1d5e41a..6dc6da4 100644
|
||||
#
|
||||
# Make Configuration
|
||||
#
|
||||
-CC = gcc
|
||||
-CC ?= gcc
|
||||
COMPILER_OPTIONS = -Wall -O -g
|
||||
|
||||
CFLAGS= $(COMPILER_OPTIONS) -I. -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(EXPERIMENTAL_RBTREE) $(OMIT_GETOPT_LONG)
|
||||
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,17 +17,17 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="file"
|
||||
PKG_VERSION="5.29"
|
||||
PKG_VERSION="70c5f15"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://www.darwinsys.com/file/"
|
||||
PKG_URL="ftp://ftp.astron.com/pub/file/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_URL="https://github.com/file/file/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_HOST="ccache:host"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib file:host"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="file: File type identification utility"
|
||||
PKG_LONGDESC="These are the sources to Darwin's file(1) utility and master magic(4) file, now maintained by Christos Zoulas. The file(1) utility is used to determine the types of various files."
|
||||
PKG_AUTORECONF="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--enable-fsect-man5 --enable-static --disable-shared"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-fsect-man5 --enable-static --disable-shared"
|
||||
|
@ -1,17 +0,0 @@
|
||||
diff --git a/src/apprentice.c b/src/apprentice.c
|
||||
index 961e83d..b7d500c 100644
|
||||
--- a/src/apprentice.c
|
||||
+++ b/src/apprentice.c
|
||||
@@ -348,11 +348,9 @@ apprentice_1(struct magic_set *ms, const char *fn, int action)
|
||||
protected void
|
||||
file_ms_free(struct magic_set *ms)
|
||||
{
|
||||
- size_t i;
|
||||
if (ms == NULL)
|
||||
return;
|
||||
- for (i = 0; i < MAGIC_SETS; i++)
|
||||
- mlist_free(ms->mlist[i]);
|
||||
+ mlist_free(ms->mlist[0]);
|
||||
free(ms->o.pbuf);
|
||||
free(ms->o.buf);
|
||||
free(ms->c.li);
|
@ -1,26 +0,0 @@
|
||||
From e990dc53f658cb67ec7b33c32e0bc24e65801792 Mon Sep 17 00:00:00 2001
|
||||
From: Christos Zoulas <christos@zoulas.com>
|
||||
Date: Sat, 14 May 2011 15:04:15 +0000
|
||||
Subject: [PATCH] small archive
|
||||
|
||||
---
|
||||
magic/Magdir/archive | 5 ++++-
|
||||
1 files changed, 4 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/magic/Magdir/archive b/magic/Magdir/archive
|
||||
index e84c8e3..5ad1ce3 100644
|
||||
--- a/magic/Magdir/archive
|
||||
+++ b/magic/Magdir/archive
|
||||
@@ -654,6 +654,9 @@
|
||||
>>>>78 string -template Template
|
||||
!:mime application/vnd.oasis.opendocument.image-template
|
||||
|
||||
+>26 byte x Zip archive data
|
||||
+
|
||||
+
|
||||
# StarView Metafile
|
||||
# From Pierre Ducroquet <pinaraf@pinaraf.info>
|
||||
0 string VCLMTF StarView MetaFile
|
||||
--
|
||||
1.7.4.1
|
||||
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="hd-idle"
|
||||
PKG_VERSION="1.04"
|
||||
PKG_VERSION="1.05"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://hd-idle.sourceforge.net/"
|
||||
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,11 +17,11 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="hddtemp"
|
||||
PKG_VERSION="0.3-beta15"
|
||||
PKG_VERSION="e16aed6"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.guzu.net/linux/hddtemp.php"
|
||||
PKG_URL="http://download.savannah.gnu.org/releases/hddtemp/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_URL="https://github.com/guzu/hddtemp/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="debug/tools"
|
||||
PKG_SHORTDESC="hddtemp: tool that reports hard drive temperature"
|
||||
@ -30,6 +30,11 @@ PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-db-path=/storage/.kodi/addons/virtual.system-tools/data/hddtemp.db"
|
||||
|
||||
post_unpack() {
|
||||
cd $PKG_BUILD
|
||||
wget -O hddtemp.db http://www.guzu.net/linux/hddtemp.db
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,12 +17,11 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="hid_mapper"
|
||||
PKG_VERSION="0"
|
||||
PKG_VERSION="2.1.0"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE=""
|
||||
PKG_URL="http://www.coldsource.net/hid_mapper.tar.gz"
|
||||
PKG_SOURCE_DIR="${PKG_NAME}_beta"
|
||||
PKG_SITE="https://github.com/s-leroux/hid_mapper"
|
||||
PKG_URL="https://github.com/s-leroux/hid_mapper/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="generic HID mapper"
|
||||
|
@ -1,16 +1,14 @@
|
||||
diff --git a/MapReader.cpp b/MapReader.cpp
|
||||
index e64b636..bd1ab68 100644
|
||||
--- a/MapReader.cpp
|
||||
+++ b/MapReader.cpp
|
||||
@@ -98,7 +98,10 @@ void MapReader::LoadMap(const char *filename,EventMapping *map)
|
||||
|
||||
@@ -106,7 +106,10 @@
|
||||
i = 0;
|
||||
while(i<KEY_NAME_MAXLENGTH && ptr[i]!='\0' && ptr[i]!='\n' && ptr[i]!=' ')
|
||||
|
||||
while(i<KEY_NAME_MAXLENGTH && ptr[i]!='\0' && ptr[i]!='\n' && (!isspace(ptr[i])))
|
||||
- key_name[i] = ptr[i++];
|
||||
+ {
|
||||
+ key_name[i] = ptr[i];
|
||||
+ i++;
|
||||
+ }
|
||||
+ {
|
||||
+ key_name[i] = ptr[i];
|
||||
+ i++;
|
||||
+ }
|
||||
|
||||
if(i==KEY_NAME_MAXLENGTH)
|
||||
{
|
||||
|
@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://LibreELEC.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC 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 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="htop"
|
||||
PKG_VERSION="2.0.2"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://hisham.hm/htop"
|
||||
PKG_URL="https://github.com/hishamhm/htop/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain netbsd-curses"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="An interactive process viewer for Unix"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
pre_configure_target() {
|
||||
export CFLAGS="$CFLAGS -fno-strict-aliasing -lncurses -lterminfo"
|
||||
}
|
@ -0,0 +1,105 @@
|
||||
From: awiouy <awiouy@gmail.com>
|
||||
Date: Thu, 6 Jul 2017 18:51:24 +0200
|
||||
Subject: [PATCH] htop: netbsd-curses support
|
||||
|
||||
---
|
||||
RichString.c | 59 -----------------------------------------------------------
|
||||
1 file changed, 59 deletions(-)
|
||||
|
||||
diff --git a/RichString.c b/RichString.c
|
||||
index e7dd4e83..0ff1bb02 100644
|
||||
--- a/RichString.c
|
||||
+++ b/RichString.c
|
||||
@@ -18,21 +18,7 @@ in the source distribution for its full text.
|
||||
#include <ctype.h>
|
||||
|
||||
#include <assert.h>
|
||||
-#ifdef HAVE_NCURSESW_CURSES_H
|
||||
-#include <ncursesw/curses.h>
|
||||
-#elif HAVE_NCURSES_NCURSES_H
|
||||
-#include <ncurses/ncurses.h>
|
||||
-#elif HAVE_NCURSES_CURSES_H
|
||||
-#include <ncurses/curses.h>
|
||||
-#elif HAVE_NCURSES_H
|
||||
-#include <ncurses.h>
|
||||
-#elif HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
-#endif
|
||||
-
|
||||
-#ifdef HAVE_LIBNCURSESW
|
||||
-#include <wctype.h>
|
||||
-#endif
|
||||
|
||||
#define RichString_size(this) ((this)->chlen)
|
||||
#define RichString_sizeVal(this) ((this).chlen)
|
||||
@@ -41,19 +27,11 @@ in the source distribution for its full text.
|
||||
#define RichString_beginAllocated(this) memset(&this, 0, sizeof(RichString)); (this).chptr = (this).chstr;
|
||||
#define RichString_end(this) RichString_prune(&(this));
|
||||
|
||||
-#ifdef HAVE_LIBNCURSESW
|
||||
-#define RichString_printVal(this, y, x) mvadd_wchstr(y, x, (this).chptr)
|
||||
-#define RichString_printoffnVal(this, y, x, off, n) mvadd_wchnstr(y, x, (this).chptr + off, n)
|
||||
-#define RichString_getCharVal(this, i) ((this).chptr[i].chars[0] & 255)
|
||||
-#define RichString_setChar(this, at, ch) do{ (this)->chptr[(at)] = (CharType) { .chars = { ch, 0 } }; } while(0)
|
||||
-#define CharType cchar_t
|
||||
-#else
|
||||
#define RichString_printVal(this, y, x) mvaddchstr(y, x, (this).chptr)
|
||||
#define RichString_printoffnVal(this, y, x, off, n) mvaddchnstr(y, x, (this).chptr + off, n)
|
||||
#define RichString_getCharVal(this, i) ((this).chptr[i])
|
||||
#define RichString_setChar(this, at, ch) do{ (this)->chptr[(at)] = ch; } while(0)
|
||||
#define CharType chtype
|
||||
-#endif
|
||||
|
||||
typedef struct RichString_ {
|
||||
int chlen;
|
||||
@@ -87,41 +65,6 @@ static void RichString_extendLen(RichString* this, int len) {
|
||||
|
||||
#define RichString_setLen(this, len) do{ if(len < RICHSTRING_MAXLEN && this->chlen < RICHSTRING_MAXLEN) { RichString_setChar(this,len,0); this->chlen=len; } else RichString_extendLen(this,len); }while(0)
|
||||
|
||||
-#ifdef HAVE_LIBNCURSESW
|
||||
-
|
||||
-static inline void RichString_writeFrom(RichString* this, int attrs, const char* data_c, int from, int len) {
|
||||
- wchar_t data[len+1];
|
||||
- len = mbstowcs(data, data_c, len);
|
||||
- if (len < 0)
|
||||
- return;
|
||||
- int newLen = from + len;
|
||||
- RichString_setLen(this, newLen);
|
||||
- for (int i = from, j = 0; i < newLen; i++, j++) {
|
||||
- this->chptr[i] = (CharType) { .attr = attrs & 0xffffff, .chars = { (iswprint(data[j]) ? data[j] : '?') } };
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-inline void RichString_setAttrn(RichString* this, int attrs, int start, int finish) {
|
||||
- cchar_t* ch = this->chptr + start;
|
||||
- for (int i = start; i <= finish; i++) {
|
||||
- ch->attr = attrs;
|
||||
- ch++;
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-int RichString_findChar(RichString* this, char c, int start) {
|
||||
- wchar_t wc = btowc(c);
|
||||
- cchar_t* ch = this->chptr + start;
|
||||
- for (int i = start; i < this->chlen; i++) {
|
||||
- if (ch->chars[0] == wc)
|
||||
- return i;
|
||||
- ch++;
|
||||
- }
|
||||
- return -1;
|
||||
-}
|
||||
-
|
||||
-#else
|
||||
-
|
||||
static inline void RichString_writeFrom(RichString* this, int attrs, const char* data_c, int from, int len) {
|
||||
int newLen = from + len;
|
||||
RichString_setLen(this, newLen);
|
||||
@@ -148,8 +91,6 @@ int RichString_findChar(RichString* this, char c, int start) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
-#endif
|
||||
-
|
||||
void RichString_prune(RichString* this) {
|
||||
if (this->chlen > RICHSTRING_MAXLEN)
|
||||
free(this->chptr);
|
@ -0,0 +1,36 @@
|
||||
From 308aed7fc91f40db7b7f69095c1a7b777bfeb934 Mon Sep 17 00:00:00 2001
|
||||
From: awiouy <awiouy@gmail.com>
|
||||
Date: Thu, 6 Jul 2017 18:50:57 +0200
|
||||
Subject: [PATCH] htop: remove set_escdelay - fixed in netbsd-curses 0.2.1
|
||||
|
||||
drop this patch at netbsd-curses bump to 0.2.1 or higher
|
||||
|
||||
---
|
||||
InfoScreen.c | 1 -
|
||||
ScreenManager.c | 1 -
|
||||
2 files changed, 2 deletions(-)
|
||||
|
||||
diff --git a/InfoScreen.c b/InfoScreen.c
|
||||
index e27494c7..28017c63 100644
|
||||
--- a/InfoScreen.c
|
||||
+++ b/InfoScreen.c
|
||||
@@ -117,7 +117,6 @@ void InfoScreen_run(InfoScreen* this) {
|
||||
|
||||
if (this->inc->active)
|
||||
move(LINES-1, CRT_cursorX);
|
||||
- set_escdelay(25);
|
||||
int ch = getch();
|
||||
|
||||
if (ch == ERR) {
|
||||
diff --git a/ScreenManager.c b/ScreenManager.c
|
||||
index 05e1c024..5d1d07d1 100644
|
||||
--- a/ScreenManager.c
|
||||
+++ b/ScreenManager.c
|
||||
@@ -189,7 +189,6 @@ void ScreenManager_run(ScreenManager* this, Panel** lastFocus, int* lastKey) {
|
||||
}
|
||||
|
||||
int prevCh = ch;
|
||||
- set_escdelay(25);
|
||||
ch = getch();
|
||||
|
||||
HandlerResult result = IGNORED;
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,11 +17,12 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="lm_sensors"
|
||||
PKG_VERSION="3.4.0"
|
||||
PKG_VERSION="0d5ccf6"
|
||||
PKG_ARCH="arm x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://secure.netroedge.com/~lm78/"
|
||||
PKG_URL="http://ftp.gwdg.de/pub/linux/misc/lm-sensors/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_URL="https://github.com/groeck/lm-sensors/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_SOURCE_DIR="lm-sensors-${PKG_VERSION}*"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="lm_sensors: Hardware monitoring via the SMBus"
|
||||
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="lshw"
|
||||
PKG_VERSION="B.02.17"
|
||||
PKG_VERSION="B.02.18"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://ezix.org/project/wiki/HardwareLiSter"
|
||||
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
@ -18,7 +18,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mc"
|
||||
PKG_VERSION="4.8.17"
|
||||
PKG_VERSION="4.8.19"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.midnight-commander.org"
|
||||
@ -27,9 +27,7 @@ PKG_DEPENDS_TARGET="toolchain libtool:host gettext:host glib pcre netbsd-curses"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="mc: visual file manager"
|
||||
PKG_LONGDESC="mc is a visual file manager, licensed under GNU General Public License and therefore qualifies as Free Software. It's a feature rich full-screen text mode application that allows you to copy, move and delete files and whole directory trees, search for files and run commands in the subshell. Internal viewer and editor are included"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--sysconfdir=/storage/.kodi/addons/virtual.system-tools/etc \
|
||||
--datadir=/storage/.kodi/addons/virtual.system-tools/data \
|
||||
|
@ -1,50 +0,0 @@
|
||||
From 38d4c655d322837574e957b4a824f4a0d1bb3b86 Mon Sep 17 00:00:00 2001
|
||||
From: rofl0r <retnyg@gmx.net>
|
||||
Date: Mon, 18 Jul 2016 22:19:56 +0100
|
||||
Subject: [PATCH] Ticket #3665: fix compatibility with netbsd curses.
|
||||
|
||||
The code that manipulates the ncurses backend into changing
|
||||
the key combination to generate SIGINT from CTRL-c to CTRL-g does
|
||||
so by accessing undocumented internal ncurses data structures.
|
||||
This breaks compilation with netbsd-curses[0], and could also break
|
||||
when the ncurses author decides to change internal structures in a
|
||||
future release.
|
||||
|
||||
Fix it by using a portable approach that works everywhere using libc
|
||||
primitives instead.
|
||||
|
||||
[0] https://github.com/sabotage-linux/netbsd-curses
|
||||
|
||||
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
|
||||
---
|
||||
lib/tty/tty-ncurses.c | 8 +++++---
|
||||
1 file changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/lib/tty/tty-ncurses.c b/lib/tty/tty-ncurses.c
|
||||
index efee8ec..76a21d2 100644
|
||||
--- a/lib/tty/tty-ncurses.c
|
||||
+++ b/lib/tty/tty-ncurses.c
|
||||
@@ -179,6 +179,7 @@ mc_tty_normalize_lines_char (const char *ch)
|
||||
void
|
||||
tty_init (gboolean mouse_enable, gboolean is_xterm)
|
||||
{
|
||||
+ struct termios mode;
|
||||
initscr ();
|
||||
|
||||
#ifdef HAVE_ESCDELAY
|
||||
@@ -194,11 +195,12 @@ tty_init (gboolean mouse_enable, gboolean is_xterm)
|
||||
ESCDELAY = 200;
|
||||
#endif /* HAVE_ESCDELAY */
|
||||
|
||||
+ tcgetattr (STDIN_FILENO, &mode);
|
||||
/* use Ctrl-g to generate SIGINT */
|
||||
- cur_term->Nttyb.c_cc[VINTR] = CTRL ('g'); /* ^g */
|
||||
+ mode.c_cc[VINTR] = CTRL ('g'); /* ^g */
|
||||
/* disable SIGQUIT to allow use Ctrl-\ key */
|
||||
- cur_term->Nttyb.c_cc[VQUIT] = NULL_VALUE;
|
||||
- tcsetattr (cur_term->Filedes, TCSANOW, &cur_term->Nttyb);
|
||||
+ mode.c_cc[VQUIT] = NULL_VALUE;
|
||||
+ tcsetattr (STDIN_FILENO, TCSANOW, &mode);
|
||||
|
||||
tty_start_interrupt_key ();
|
||||
|
@ -1,27 +0,0 @@
|
||||
From 2da86f2595157c68c2d49e6c2b08a508750878ed Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Borodin <aborodin@vmail.ru>
|
||||
Date: Tue, 9 Aug 2016 16:55:12 +0300
|
||||
Subject: [PATCH] Define NCURSES_CONST if curses library doesn't define it.
|
||||
|
||||
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
|
||||
---
|
||||
lib/tty/tty-ncurses.h | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/lib/tty/tty-ncurses.h b/lib/tty/tty-ncurses.h
|
||||
index 4f0e603..9962c7c 100644
|
||||
--- a/lib/tty/tty-ncurses.h
|
||||
+++ b/lib/tty/tty-ncurses.h
|
||||
@@ -20,6 +20,11 @@
|
||||
#include <ncursesw/curses.h>
|
||||
#endif /* USE_NCURSESW */
|
||||
|
||||
+/* netbsd-libcurses doesn't define NCURSES_CONST */
|
||||
+#ifndef NCURSES_CONST
|
||||
+#define NCURSES_CONST const
|
||||
+#endif
|
||||
+
|
||||
/*** typedefs(not structures) and defined constants **********************************************/
|
||||
|
||||
/*** enums ***************************************************************************************/
|
||||
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,16 +17,16 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="mtpfs"
|
||||
PKG_VERSION="1.1"
|
||||
PKG_VERSION="fd3864d"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.adebenham.com/mtpfs/"
|
||||
PKG_URL="http://www.adebenham.com/files/mtp/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_URL="https://github.com/cjd/mtpfs/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain fuse libmtp glib"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="MTPfs is a FUSE filesystem that supports reading and writing from any MTP device"
|
||||
PKG_LONGDESC="MTPfs is a FUSE filesystem that supports reading and writing from any MTP device"
|
||||
PKG_AUTORECONF="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-mad"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="strace"
|
||||
PKG_VERSION="4.11"
|
||||
PKG_VERSION="4.17"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://sourceforge.net/projects/strace/"
|
||||
|
@ -0,0 +1,15 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -31,11 +31,7 @@
|
||||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
-AC_INIT([strace],
|
||||
- m4_esyscmd([./git-version-gen .tarball-version]),
|
||||
- [strace-devel@lists.sourceforge.net],
|
||||
- [strace],
|
||||
- [https://strace.io])
|
||||
+AC_INIT([strace],[4.17])
|
||||
m4_define([copyright_year], m4_esyscmd([./copyright-year-gen .year]))
|
||||
AC_COPYRIGHT([Copyright (C) 1999-]copyright_year[ The strace developers.])
|
||||
AC_CONFIG_SRCDIR([strace.c])
|
@ -1,13 +0,0 @@
|
||||
diff -Naur strace-4.8/configure.ac strace-4.8.patch/configure.ac
|
||||
--- strace-4.8/configure.ac 2013-05-04 21:51:57.000000000 +0200
|
||||
+++ strace-4.8.patch/configure.ac 2013-09-04 03:30:12.478057723 +0200
|
||||
@@ -1,8 +1,6 @@
|
||||
dnl Process this file with autoconf to create configure. Use autoreconf.
|
||||
AC_PREREQ(2.57)
|
||||
-AC_INIT([strace],
|
||||
- m4_esyscmd([./git-version-gen .tarball-version]),
|
||||
- [strace-devel@lists.sourceforge.net])
|
||||
+AC_INIT([strace],[4.8])
|
||||
AC_CONFIG_SRCDIR([strace.c])
|
||||
AC_CONFIG_AUX_DIR([.])
|
||||
AC_CONFIG_HEADERS([config.h])
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="unrar"
|
||||
PKG_VERSION="5.4.5"
|
||||
PKG_VERSION="5.5.5"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="free"
|
||||
PKG_SITE="http://www.rarlab.com"
|
||||
|
@ -0,0 +1,56 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC 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 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="vim"
|
||||
PKG_VERSION="8.0.0684"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="VIM"
|
||||
PKG_SITE="http://www.vim.org/"
|
||||
PKG_URL="https://github.com/vim/vim/archive/v$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain netbsd-curses"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="vim: VI IMproved"
|
||||
PKG_LONGDESC="Vim is a highly configurable text editor built to enable efficient text editing."
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="vim_cv_getcwd_broken=no \
|
||||
vim_cv_memmove_handles_overlap=yes \
|
||||
vim_cv_stat_ignores_slash=yes \
|
||||
vim_cv_terminfo=yes \
|
||||
vim_cv_tgent=zero \
|
||||
vim_cv_toupper_broken=no \
|
||||
vim_cv_tty_group=world \
|
||||
vim_cv_tty_mode=0620 \
|
||||
ac_cv_sizeof_int=4 \
|
||||
ac_cv_small_wchar_t=no \
|
||||
--enable-selinux=no \
|
||||
--enable-gui=no \
|
||||
--with-compiledby=LibreELEC \
|
||||
--with-features=huge \
|
||||
--with-tlib=ncurses \
|
||||
--without-x"
|
||||
|
||||
pre_configure_target() {
|
||||
cd ..
|
||||
rm -rf .$TARGET_NAME
|
||||
export LIBS="-lcurses -lterminfo"
|
||||
}
|
||||
|
||||
make_target() {
|
||||
:
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
--- a/runtime/defaults.vim
|
||||
+++ b/runtime/defaults.vim
|
||||
@@ -66,9 +66,9 @@
|
||||
|
||||
" In many terminal emulators the mouse works just fine. By enabling it you
|
||||
" can position the cursor, Visually select and scroll with the mouse.
|
||||
-if has('mouse')
|
||||
- set mouse=a
|
||||
-endif
|
||||
+"if has('mouse')
|
||||
+" set mouse=a
|
||||
+"endif
|
||||
|
||||
" Switch syntax highlighting on when the terminal has colors or when using the
|
||||
" GUI (which always has colors).
|
@ -1,17 +1,32 @@
|
||||
107
|
||||
- Bump p7zip and unrar
|
||||
- added dstat, htop and vim
|
||||
- updated difftools to 3.6
|
||||
- updated dtach to 0.9
|
||||
- updated fdupes to 1.6.1
|
||||
- updated file to 5.31
|
||||
- updated hd-idle to 1.05
|
||||
- updated hddtemp to 0.3-beta16
|
||||
- updated hid_mapper to 2.1.0
|
||||
- updated libmtp to 1.1.13
|
||||
- updated lm_sensors to 0d5ccf6
|
||||
- updated lshw to 2.18
|
||||
- updated mc to 4.8.19
|
||||
- updated mtpfs to fd3864d
|
||||
- updated p7zip to 16.02
|
||||
- updated strace to 4.17
|
||||
- updated unrar to 5.5.5
|
||||
|
||||
106
|
||||
- Bump screen, fix colors issue
|
||||
- updated screen, fix colors issue
|
||||
|
||||
104
|
||||
- Bump file package
|
||||
- updated file package
|
||||
|
||||
103
|
||||
- Add nmon
|
||||
- added nmon
|
||||
|
||||
102
|
||||
- Add inotify-tools, mc
|
||||
- added inotify-tools, mc
|
||||
|
||||
101
|
||||
- mrxvt can be started from KODI
|
||||
|
@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -38,6 +38,7 @@ PKG_AUTORECONF="no"
|
||||
PKG_DEPENDS_TARGET="toolchain \
|
||||
autossh \
|
||||
diffutils \
|
||||
dstat \
|
||||
dtach \
|
||||
efibootmgr \
|
||||
evtest \
|
||||
@ -47,6 +48,7 @@ PKG_DEPENDS_TARGET="toolchain \
|
||||
hddtemp \
|
||||
hd-idle \
|
||||
hid_mapper \
|
||||
htop \
|
||||
i2c-tools \
|
||||
inotify-tools \
|
||||
jq \
|
||||
@ -62,7 +64,8 @@ PKG_DEPENDS_TARGET="toolchain \
|
||||
screen \
|
||||
strace \
|
||||
unrar \
|
||||
usb-modeswitch"
|
||||
usb-modeswitch \
|
||||
vim"
|
||||
|
||||
addon() {
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib/
|
||||
@ -77,6 +80,9 @@ addon() {
|
||||
cp -P $(get_build_dir diffutils)/.$TARGET_NAME/src/diff3 $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir diffutils)/.$TARGET_NAME/src/sdiff $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# dstat
|
||||
cp -P $(get_build_dir dstat)/dstat $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# dtach
|
||||
cp -P $(get_build_dir dtach)/.$TARGET_NAME/dtach $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
@ -98,7 +104,7 @@ addon() {
|
||||
|
||||
# hddtemp
|
||||
cp -P $(get_build_dir hddtemp)/.$TARGET_NAME/src/hddtemp $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir hddtemp)/debian/hddtemp.db $ADDON_BUILD/$PKG_ADDON_ID/data
|
||||
cp -P $(get_build_dir hddtemp)/hddtemp.db $ADDON_BUILD/$PKG_ADDON_ID/data
|
||||
|
||||
# hd-idle
|
||||
cp -P $(get_build_dir hd-idle)/hd-idle $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
@ -106,6 +112,9 @@ addon() {
|
||||
# hid_mapper
|
||||
cp -P $(get_build_dir hid_mapper)/hid_mapper $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# htop
|
||||
cp -P $(get_build_dir htop)/.install_pkg/usr/bin/htop $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# i2c-tools
|
||||
cp -P $(get_build_dir i2c-tools)/tools/i2cdetect $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $(get_build_dir i2c-tools)/tools/i2cdump $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
@ -163,5 +172,8 @@ addon() {
|
||||
# usb-modeswitch
|
||||
cp -P $(get_build_dir usb-modeswitch)/usb_modeswitch $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
# vim
|
||||
cp -P $(get_build_dir vim)/.install_pkg/usr/bin/vim $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
debug_strip $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user