Permalink
Browse files

add missing build dependency and fix typo in package name on Fedora, …

…hopefully not breaking other distros
  • Loading branch information...
andy-burns-uk committed Mar 11, 2018
1 parent 36e6b0d commit c5f548e07ba7acac42c4ff8a1daf5d4c0d038c04
Showing with 6 additions and 6 deletions.
  1. +6 −6 scripts/checkdeps
@@ -78,7 +78,7 @@ deps_pkg=(wget bash bc gcc sed patch patchutils tar bzip2 gzip perl gawk gperf z
files=(/usr/include/stdio.h /usr/include/ncurses.h)
files_pkg=(libc6-dev libncurses5-dev)

perl_mod=(JSON XML::Parser)
perl_mod=(JSON XML::Parser Thread::Queue)

case "$DISTRO" in
fedora|centos|rhel)
@@ -93,18 +93,18 @@ case "$DISTRO" in
deps_pkg+=(libstdc++-static)
fi
files_pkg=(glibc-headers ncurses-devel)
perl_pkg=(perl-JSON perl-XML-parser)
perl_pkg=(perl-JSON perl-XML-Parser perl-Thread-Queue)
;;
gentoo)
deps+=(g++ mkfontscale mkfontdir bdftopcf xsltproc java python)
deps_pkg+=("gcc[cxx]" mkfontscale mkfontdir bdftopcf libxslt virtual/jre python)
files_pkg=(glibc ncurses)
perl_pkg=(JSON XML-Parser)
perl_pkg=(JSON XML-Parser Thread-Queue)
;;
arch)
deps+=(g++ mkfontscale mkfontdir bdftopcf xsltproc java python)
deps_pkg+=(g++ xorg-mkfontscale xorg-mkfontdir xorg-bdftopcf libxslt "java-runtime-common jdk8-openjdk" python2)
perl_pkg=(perl-json perl-xml-parser)
perl_pkg=(perl-json perl-xml-parser perl-thread-queue)
;;
opensuse)
deps+=( g++ mkfontscale mkfontdir bdftopcf xsltproc java python)
@@ -113,12 +113,12 @@ case "$DISTRO" in
deps+=(glibc-devel-static)
deps_pkg+=(glibc-devel-static)
fi
perl_pkg=(perl-JSON perl-XML-Parser)
perl_pkg=(perl-JSON perl-XML-Parser perl-Thread-Queue)
;;
*)
deps+=(g++ mkfontscale mkfontdir bdftopcf xsltproc java python)
deps_pkg+=(g++ xfonts-utils xfonts-utils xfonts-utils xsltproc default-jre python)
perl_pkg=(libjson-perl libxml-parser-perl)
perl_pkg=(libjson-perl libxml-parser-perl libthread-queue-perl)
;;
esac

0 comments on commit c5f548e

Please sign in to comment.