mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
remove package: 'par2cmdline', moving to unofficial
This commit is contained in:
parent
9fbdfa16d5
commit
9cfdc4f1f0
@ -1,30 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
|
||||
make
|
@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp -P $PKG_BUILD/par2 $INSTALL/usr/bin
|
@ -1,36 +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="par2cmdline"
|
||||
PKG_VERSION="0.4"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.chuchusoft.com/par2_tbb/index.html"
|
||||
PKG_URL="$SOURCEFORGE_SRC/parchive/par2cmdline/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="par2cmdline: a utility to create and repair data files using Reed Solomon coding."
|
||||
PKG_LONGDESC="This is a concurrent (multithreaded) version of par2cmdline, a utility to create and repair data files using Reed Solomon coding. par2 parity archives are commonly used on Usenet postings to allow corrupted postings to be repaired instead of needing the original poster to repost the corrupted file(s)."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
@ -1,12 +0,0 @@
|
||||
diff -Naur par2cmdline-0.4/configure.ac par2cmdline-0.4.patch/configure.ac
|
||||
--- par2cmdline-0.4/configure.ac 2004-04-12 18:42:39.000000000 +0200
|
||||
+++ par2cmdline-0.4.patch/configure.ac 2013-01-12 19:09:03.358940253 +0100
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
-AM_CONFIG_HEADER([config.h])
|
||||
+AC_CONFIG_HEADERS([config.h])
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
|
@ -1,62 +0,0 @@
|
||||
Fix compilation with gcc-4.
|
||||
|
||||
Patch by Dirk-Jan Heijs.
|
||||
|
||||
http://bugs.gentoo.org/102391
|
||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287904
|
||||
|
||||
--- par2cmdline-0.4/reedsolomon.cpp
|
||||
+++ par2cmdline-0.4/reedsolomon.cpp
|
||||
@@ -51,7 +51,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
-bool ReedSolomon<Galois8>::SetInput(const vector<bool> &present)
|
||||
+template <> bool ReedSolomon<Galois8>::SetInput(const vector<bool> &present)
|
||||
{
|
||||
inputcount = (u32)present.size();
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
-bool ReedSolomon<Galois8>::SetInput(u32 count)
|
||||
+template <> bool ReedSolomon<Galois8>::SetInput(u32 count)
|
||||
{
|
||||
inputcount = count;
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
-bool ReedSolomon<Galois8>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer)
|
||||
+template <> bool ReedSolomon<Galois8>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer)
|
||||
{
|
||||
// Look up the appropriate element in the RS matrix
|
||||
Galois8 factor = leftmatrix[outputindex * (datapresent + datamissing) + inputindex];
|
||||
@@ -189,7 +189,7 @@
|
||||
|
||||
// Set which of the source files are present and which are missing
|
||||
// and compute the base values to use for the vandermonde matrix.
|
||||
-bool ReedSolomon<Galois16>::SetInput(const vector<bool> &present)
|
||||
+template <> bool ReedSolomon<Galois16>::SetInput(const vector<bool> &present)
|
||||
{
|
||||
inputcount = (u32)present.size();
|
||||
|
||||
@@ -233,7 +233,7 @@
|
||||
|
||||
// Record that the specified number of source files are all present
|
||||
// and compute the base values to use for the vandermonde matrix.
|
||||
-bool ReedSolomon<Galois16>::SetInput(u32 count)
|
||||
+template <> bool ReedSolomon<Galois16>::SetInput(u32 count)
|
||||
{
|
||||
inputcount = count;
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
-bool ReedSolomon<Galois16>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer)
|
||||
+template <> bool ReedSolomon<Galois16>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer)
|
||||
{
|
||||
// Look up the appropriate element in the RS matrix
|
Loading…
x
Reference in New Issue
Block a user