Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ Distributions using `deb` package format:
* Ubuntu Linux
* Debian Linux

Distributions using the `PKGBUILD` package format:
* Arch Linux

Distributions using `rpm` package format:
* Fedora Linux (recent releases)
* RedHat and CentOS Linux (recent releases)
Expand Down
7 changes: 7 additions & 0 deletions platforms/linux-x86_64-arch-gcc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"id": "linux-x86_64-arch-gcc",
"name": "RPM",
"distribution": "Arch",
"release": "2019.04.01",
"install-commands": "pacman -Syu && pacman -S --noconfirm ${sysreqs}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about the case for a package from AUR? For example bwidget, jags, udunits, saga-gis?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. Yea, that's a good point. There are a lot of useful packages in the AUR that would be worth including, but pacman -S obviously will not work with those. If something like a build-commands were added, I suppose one could use that to install something like yay to help with installing packages from the AUR, but I'm not sure if the added complexity is warranted / if that is in the desired scope of sysreqsdb.

}
21 changes: 12 additions & 9 deletions scripts/pandoc-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@ if uname > /dev/null && [ $(uname) == 'Darwin' ]; then
elif uname > /dev/null && [ $(uname) == 'Linux' ] ;then
>&2 echo "Linux detected"
if [ -f /etc/debian_version ]; then
>&2 echo "DEB distro detected"
distro=debian
arch=$(uname -p)
>&2 echo "DEB distro detected"
distro=debian
elif [ -f "/etc/arch-release" ]; then
>&2 echo "PKGBUILD distro detected"
distro=arch
arch=$(uname -p)arch=$(uname -p)
elif [ -f /etc/redhat-release ]; then
>&2 echo "RPM distro detected"
distro=rpm
arch=$(uname -p)
>&2 echo "RPM distro detected"
distro=rpm
arch=$(uname -p)
else
>&2 echo "Unknown distro, try DEB"
distro=debian
arch=$(uname -p)
>&2 echo "Unknown distro, try DEB"
distro=debian
arch=$(uname -p)
fi

# Some Docker images report unknown, try to use 64 bit then
Expand Down
6 changes: 6 additions & 0 deletions sysreqs/apparmor.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
"buildtime-packages": [ "libapparmor-dev" ],
"os": "linux",
"distributions": [ "debian", "ubuntu" ]
},

{ "packages": [ "apparmor" ],
"os": "linux",
"distributions": [ "arch" ]
}

]
}
5 changes: 5 additions & 0 deletions sysreqs/atk.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "atk" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "atk" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
2 changes: 1 addition & 1 deletion sysreqs/bowtie2.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

{ "packages": [ "bowtie2" ],
"os": "linux",
"distributions": [ "debian", "ubuntu" ]
"distributions": [ "arch", "debian", "ubuntu" ]
},

{ "packages": [ "homebrew/science/bowtie2" ],
Expand Down
3 changes: 2 additions & 1 deletion sysreqs/bwidget.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"dependencies": [

{ "packages": [ "bwidget" ],
"os": "linux"
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "bwidget" ],
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/cairo.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "cairo" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "cairo" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
2 changes: 1 addition & 1 deletion sysreqs/cmake.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

{ "packages": [ "cmake" ],
"os": "linux",
"distributions": [ "debian", "ubuntu", "centos", "fedora", "redhat" ]
"distributions": [ "arch", "debian", "ubuntu", "centos", "fedora", "redhat" ]
},

{ "packages": [ "cmake" ],
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/coin-or-clp.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"distributions": [ "debian", "ubuntu" ]
},

{ "packages": [ "coinor-csdp" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "coin-or-Clp" ],
"os": "linux",
"distributions": [ "fedora" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/exiftool.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"distributions": [ "centos", "fedora" ]
},

{ "packages": [ "perl-image-exiftool" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "exiftool" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
10 changes: 5 additions & 5 deletions sysreqs/ffmpeg.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@

"sysreqs": [ "FFmpeg" ],

"dependencies" [
"dependencies": [

{ "packages": [ "ffmpeg" ],
"os": "linux",
"distributions": [ "debian", "ubuntu" ]
"distributions": [ "arch", "debian", "ubuntu" ]
},

{ "runtime-packages": [ "ffmpeg", "ffmpeg-libs" ],
"buildtime-packages": [ "ffmpeg-devel" ],
"os": "linux",
"distributions": [ "centos", "fedora", "redhat" ]
}
},

{ "packages": [ "ffmpeg" ],
"os": "macos",
"distributions": [ "brew" ],
}
"distributions": [ "brew" ]
},

{ "packages": [ "ffmpeg" ],
"os": "windows",
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/fftw.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "fftw" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "fftw" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/freetype.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "freetype2" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "freetype" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
2 changes: 1 addition & 1 deletion sysreqs/gdal.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

{ "packages": [ "gdal" ],
"os": "linux",
"distributions": [ "centos", "fedora", "redhat" ]
"distributions": [ "arch", "centos", "fedora", "redhat" ]
},

{ "packages": [ "gdal" ],
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/glib.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"distributions": [ "centos", "fedora", "centos" ]
},

{ "packages": [ "glib2" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "glib" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/glu.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "glu" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/gpgme.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "gpgme" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "gpgme" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/gtkplus.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "gtk2" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "gtk+" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/hdf5.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "hdf5" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "hdf5" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/hiredis.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "hiredis" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "hiredis" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/imagej.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"os": "linux"
},

{ "packages": [ "imagej" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "imagej" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
4 changes: 2 additions & 2 deletions sysreqs/imagemagick.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "imagemagick",
"title": "ImageMagick",
"description": "Image manipulation programs"
"description": "Image manipulation programs",
"uri": "https://www.imagemagick.org/",

"sysreqs": [ "/Image[ ]?Magick/i" ],
Expand All @@ -10,7 +10,7 @@

{ "packages": [ "imagemagick" ],
"os": "linux",
"distributions": [ "debian", "ubuntu" ]
"distributions": [ "arch", "debian", "ubuntu" ]
},

{ "packages": [ "ImageMagick" ],
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/itk.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "insight-toolkit" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "insighttoolkit" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/jags.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"os": "linux"
},

{ "packages": [ "jags" ],
"os": "linux",
"distributions": [ "arch" ]
},

{ "packages": [ "jags" ],
"os": "macos",
"distribution": [ "brew" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/java.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
"from-version": "9"
},

{ "packages": [ "jre-openjdk-headless" ],
"os": "linux",
"distrubtions": [ "arch" ]
},

{ "packages": [ "java-1.8.0-openjdk" ],
"os": "linux",
"distributions": [ "centos", "fedora", "redhat" ]
Expand Down
7 changes: 6 additions & 1 deletion sysreqs/libarchive.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "libarchive",
"title": "Multi-format archive and compression library"
"title": "Multi-format archive and compression library",
"url": "https://www.libarchive.org/",

"sysreqs": [ "libarchive" ],
Expand All @@ -19,6 +19,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "libarchive" ],
"os": "linux",
"distrubtions": [ "arch" ]
},

{ "packages": [ "libarchive " ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/libav.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@
"distribution": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "gst-libav" ],
"os": "linux",
"distrubtions": [ "arch" ]
},

{ "packages": [ "libav" ],
"os": "macos",
"distribution": [ "brew" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/libbsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "libbsd" ],
"os": "linux",
"distrubtions": [ "arch" ]
},

{ "packages": [ "libbsd" ],
"os": "macos",
"distributions": [ "brew" ]
Expand Down
5 changes: 5 additions & 0 deletions sysreqs/libcurl.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
"distributions": [ "centos", "fedora", "redhat" ]
},

{ "packages": [ "curl" ],
"os": "linux",
"distrubtions": [ "arch" ]
},

{ "packages": [ ],
"os": "linux",
"distributions": [ "brew" ]
Expand Down
Loading