Bläddra i källkod

Bump XMLTV version to v0.6.3 #169

Hosh Sadiq 6 år sedan
förälder
incheckning
593b038b55
4 ändrade filer med 6 tillägg och 32 borttagningar
  1. 4 6
      Dockerfile
  2. 1 3
      Dockerfile.aarch64
  3. 1 3
      Dockerfile.armhf
  4. 0 20
      patches/test_tv_imdb.t.patch

+ 4 - 6
Dockerfile

@@ -3,7 +3,7 @@ FROM ghcr.io/linuxserver/baseimage-alpine:3.12 as buildstage
 
 # package versions
 ARG ARGTABLE_VER="2.13"
-ARG XMLTV_VER="v0.6.1"
+ARG XMLTV_VER="v0.6.3"
 
 # environment settings
 ARG TZ="Europe/Oslo"
@@ -119,7 +119,7 @@ RUN \
 
 RUN \
  echo "**** install perl modules for xmltv ****" && \
- curl -L https://cpanmin.us | perl - App::cpanminus && \
+ curl -s -L https://cpanmin.us | perl - App::cpanminus && \
  cpanm --installdeps /tmp/patches
 
 RUN \
@@ -127,8 +127,6 @@ RUN \
  git clone https://github.com/XMLTV/xmltv.git /tmp/xmltv && \
  cd /tmp/xmltv && \
  git checkout ${XMLTV_VER} && \
- echo "**** Fix test for xmltv alpine 3.11 ****" && \
- patch -p1 -i /tmp/patches/test_tv_imdb.t.patch && \
  echo "**** Perl 5.26 fixes for XMTLV ****" && \
  sed "s/use POSIX 'tmpnam';//" -i filter/tv_to_latex && \
  sed "s/use POSIX 'tmpnam';//" -i filter/tv_to_text && \
@@ -193,7 +191,7 @@ RUN \
  ARGTABLE_VER1="${ARGTABLE_VER//./-}" && \
  mkdir -p \
 	/tmp/argtable && \
- curl -o \
+ curl -s -o \
  /tmp/argtable-src.tar.gz -L \
 	"https://sourceforge.net/projects/argtable/files/argtable/argtable-${ARGTABLE_VER}/argtable${ARGTABLE_VER1}.tar.gz" && \
  tar xf \
@@ -321,7 +319,7 @@ RUN \
 	zlib && \
  echo "**** Add Picons ****" && \
  mkdir -p /picons && \
- curl -o \
+ curl -s -o \
         /picons.tar.bz2 -L \
         https://lsio-ci.ams3.digitaloceanspaces.com/picons/picons.tar.bz2
 

+ 1 - 3
Dockerfile.aarch64

@@ -3,7 +3,7 @@ FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.12 as buildstage
 
 # package versions
 ARG ARGTABLE_VER="2.13"
-ARG XMLTV_VER="v0.6.1"
+ARG XMLTV_VER="v0.6.3"
 
 # environment settings
 ARG TZ="Europe/Oslo"
@@ -126,8 +126,6 @@ RUN \
  git clone https://github.com/XMLTV/xmltv.git /tmp/xmltv && \
  cd /tmp/xmltv && \
  git checkout ${XMLTV_VER} && \
- echo "**** Fix test for xmltv alpine 3.11 ****" && \
- patch -p1 -i /tmp/patches/test_tv_imdb.t.patch && \
  echo "**** Perl 5.26 fixes for XMTLV ****" && \
  sed "s/use POSIX 'tmpnam';//" -i filter/tv_to_latex && \
  sed "s/use POSIX 'tmpnam';//" -i filter/tv_to_text && \

+ 1 - 3
Dockerfile.armhf

@@ -3,7 +3,7 @@ FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.12 as buildstage
 
 # package versions
 ARG ARGTABLE_VER="2.13"
-ARG XMLTV_VER="v0.6.1"
+ARG XMLTV_VER="v0.6.3"
 
 # environment settings
 ARG TZ="Europe/Oslo"
@@ -126,8 +126,6 @@ RUN \
  git clone https://github.com/XMLTV/xmltv.git /tmp/xmltv && \
  cd /tmp/xmltv && \
  git checkout ${XMLTV_VER} && \
- echo "**** Fix test for xmltv alpine 3.11 ****" && \
- patch -p1 -i /tmp/patches/test_tv_imdb.t.patch && \
  echo "**** Perl 5.26 fixes for XMTLV ****" && \
  sed "s/use POSIX 'tmpnam';//" -i filter/tv_to_latex && \
  sed "s/use POSIX 'tmpnam';//" -i filter/tv_to_text && \

+ 0 - 20
patches/test_tv_imdb.t.patch

@@ -1,20 +0,0 @@
----
- t/test_tv_imdb.t | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/t/test_tv_imdb.t b/t/test_tv_imdb.t
-index ad504464..4dc281a1 100755
---- a/t/test_tv_imdb.t
-+++ b/t/test_tv_imdb.t
-@@ -84,9 +84,9 @@ INPUT: foreach my $input (@inputs) {
-     my $output="$tmpDir/".File::Basename::basename($input)."-output.xml";
- 
-     # Make temporary directory and split into it.
--    my $cmd="$cmds_dir/tv_imdb --quiet --imdbdir '$tmpDir' --with-keywords --with-plot < $input > '$output' 2>&1";
-+    my $cmd="$cmds_dir/tv_imdb --quiet --imdbdir '$tmpDir' --with-keywords --with-plot --output '$output' '$input' 2>&1";
-     if ( $input=~m/movies-only/ ) {
--	$cmd="$cmds_dir/tv_imdb --movies-only --quiet --imdbdir '$tmpDir' --with-keywords --with-plot < $input > '$output' 2>&1";
-+	$cmd="$cmds_dir/tv_imdb --movies-only --quiet --imdbdir '$tmpDir' --with-keywords --with-plot --output '$output' '$input' 2>&1";
-     }
-     #print STDERR "\nRUN:$cmd\n";
-     my $r = system($cmd);