Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.
Merged
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
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ Distributions using `rpm` package format:
* Fedora Linux (recent releases)
* RedHat and CentOS Linux (recent releases)

Non-native package formats;
Distributions using the `PKGBUILD` package format:
* Arch Linux

Non-native package formats:
* HomeBrew package manager on MacOS
* Pacman/Rtools on Windows (forthcoming)

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": "PKGBUILD",
"distribution": "Arch",
"release": "2019.04.01",
"install-commands": "pacman -Syu && pacman -S --noconfirm ${sysreqs}"
}
24 changes: 14 additions & 10 deletions scripts/pandoc-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,26 @@ 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
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)
elif [ -f "/etc/arch-release" ]; then
>&2 echo "PKGBUILD distro detected"
distro=arch
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
if [ "$arch" == "unknown" ]; then
arch="x86_64"
arch="x86_64"
fi

PANDOC="${URL}/linux/${distro}/${arch}/pandoc"
Expand Down
3 changes: 2 additions & 1 deletion sysreqs/apparmor.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"apparmor": {
"sysreqs": "/apparmor/i",
"platforms": {
"DEB": "libapparmor-dev"
"DEB": "libapparmor-dev",
"PKGBUILD": "apparmor"
}
}
}
15 changes: 8 additions & 7 deletions sysreqs/atk.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"atk": {
"sysreqs": "/\\bATK\\b/",
"platforms": {
"DEB": "libatk1.0-dev",
"OSX/brew": "atk",
"RPM": "atk-devel"
}
"atk": {
"sysreqs": "/\\bATK\\b/",
"platforms": {
"DEB": "libatk1.0-dev",
"OSX/brew": "atk",
"PKGBUILD": "atk",
"RPM": "atk-devel"
}
}
}
3 changes: 2 additions & 1 deletion sysreqs/automake.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"platforms": {
"DEB": "automake",
"RPM": "automake",
"OSX/brew": "automake"
"OSX/brew": "automake",
"PKGBUILD": "automake"
}
}
}
1 change: 1 addition & 0 deletions sysreqs/bayescan.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"bayescan": {
"sysreqs": "/Bayescan/",
"platforms": {
"PKGBUILD": "bayescan"
}
}
}
3 changes: 2 additions & 1 deletion sysreqs/bowtie2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"sysreqs": "bowtie2",
"platforms": {
"DEB": "bowtie2",
"OSX/brew": "homebrew/science/bowtie2"
"OSX/brew": "homebrew/science/bowtie2",
"PKGBUILD": "bowtie2"
}
}
}
1 change: 1 addition & 0 deletions sysreqs/bwidget.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "bwidget",
"OSX/brew": "TODO",
"PKGBUILD": "bwidget",
"RPM": "bwidget"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/cairo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"buildtime": "libcairo2-dev"
},
"OSX/brew": "cairo",
"PKGBUILD": "cairo",
"RPM": {
"runtime": "cairo",
"buildtime": "cairo-devel"
Expand Down
1 change: 1 addition & 0 deletions sysreqs/cmake.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"DEB": "cmake",
"RPM": "cmake",
"OSX/brew": "cmake",
"PKGBUILD": "cmake",
"Windows": {
"32bit": [
"https://cmake.org/files/v3.9/cmake-3.9.0-win32-x86.zip"
Expand Down
3 changes: 2 additions & 1 deletion sysreqs/coin-or-clp.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"coin-or-clp": {
"sysreqs": "/COIN-OR Clp/i",
"platforms": {
"DEB": "coinor-clp"
"DEB": "coinor-clp",
"PKGBUILD": "coinor-csdp"
}
}
}
1 change: 1 addition & 0 deletions sysreqs/cxx11.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"DEB": null,
"OSX/brew": null,
"RPM": null,
"PKGBUILD": null,
"Windows": null
},
"comment": "We don't do anything special for C++-11"
Expand Down
3 changes: 2 additions & 1 deletion sysreqs/dcraw.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"platforms": {
"DEB": "dcraw",
"RPM": "dcraw",
"OSX/brew": "dcraw"
"OSX/brew": "dcraw",
"PKGBUILD": "dcraw"
}
}
}
1 change: 1 addition & 0 deletions sysreqs/exiftool.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libimage-exiftool-perl",
"OSX/brew": "exiftool",
"PKGBUILD": "perl-image-exiftool",
"RPM": null
}
}
Expand Down
3 changes: 2 additions & 1 deletion sysreqs/ffmpeg.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"sysreqs": "/FFmpeg/",
"platforms": {
"DEB": "ffmpeg",
"OSX/brew": "ffmpeg"
"OSX/brew": "ffmpeg",
"PKGBUILD": "ffmpeg"
}
}
}
1 change: 1 addition & 0 deletions sysreqs/fftw.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libfftw3-dev",
"OSX/brew": "fftw",
"PKGBUILD": "fftw",
"RPM": "fftw-devel"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/fftw3.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"runtime": "libfftw3-3",
"buildtime": "libfftw3-dev"
},
"PKGBUILD": "fftw",
"RPM": "fftw-devel"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/freetype.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libfreetype6-dev",
"OSX/brew": "freetype",
"PKGBUILD": "freetype2",
"RPM": "freetype-devel"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/gdal.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "gdal-bin",
"OSX/brew": "gdal",
"PKGBUILD": "gdal",
"RPM": "gdal"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/ggobi.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "ggobi",
"OSX/brew": "ggobi",
"PKGBUILD": "ggobi",
"RPM": "ggobi"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/git.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "git-core",
"RPM": "git",
"PKGBUILD": "git",
"OSX/brew": "git"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/glib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libglib2.0-dev",
"OSX/brew": "glib",
"PKGBUILD": "glib2",
"RPM": "glib2-devel"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/glu.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libglu1-mesa-dev",
"OSX/brew": null,
"PKGBUILD": "glu",
"RPM": "mesa-libGLU-devel"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/gnumake.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "make",
"OSX/brew": null,
"PKGBUILD": "make",
"RPM": "make"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/gpgme.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libgpgme11-dev haveged",
"OSX/brew": "gpgme",
"PKGBUILD": "gpgme",
"RPM": "gpgme-devel haveged"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/gtkplus.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libgtk2.0-dev",
"OSX/brew": "gtk+",
"PKGBUILD": "gtk2",
"RPM": "gtk2-devel"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/hdf5.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libhdf5-dev",
"OSX/brew": "hdf5",
"PKGBUILD": "hdf5",
"RPM": "hdf5-devel"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/hiredis.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libhiredis-dev",
"OSX/brew": "hiredis",
"PKGBUILD": "hiredis",
"RPM": "libhiredis-devel"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/imagej.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "imagej",
"OSX/brew": "imagej",
"PKGBUILD": "imagej",
"RPM": "imagej"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/imagemagick.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "imagemagick",
"OSX/brew": "imagemagick@6",
"PKGBUILD": "imagemagick",
"RPM": "ImageMagick"
}
}
Expand Down
3 changes: 2 additions & 1 deletion sysreqs/itk.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"platforms": {
"DEB": "insighttoolkit4-python libinsighttoolkit4-dev",
"RPM": "InsightToolkit-devel InsightToolkit-vtk-devel",
"OSX/brew": "insighttoolkit"
"OSX/brew": "insighttoolkit",
"PKGBUILD": "insight-toolkit"
}
}
}
3 changes: 2 additions & 1 deletion sysreqs/jags.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"sysreqs": "/jags\\b/i",
"platforms": {
"DEB": "jags",
"OSX/brew": "jags"
"OSX/brew": "jags",
"PKGBUILD": "jags"
}
}
}
1 change: 1 addition & 0 deletions sysreqs/java.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "openjdk-7-jre-headless",
"OSX/brew": null,
"PKGBUILD": "jre-openjdk-headless",
"RPM": "java-1.8.0-openjdk"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/libarchive.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libarchive-dev",
"OSX/brew": "libarchive",
"PKGBUILD": "libarchive",
"RPM": "libarchive-devel",
"CSW": "libarchive_dev"
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/libav.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libav-tools",
"OSX/brew": "libav",
"PKGBUILD": "gst-libav",
"RPM": null
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/libbi.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": null,
"OSX/brew": "libbi",
"PKGBUILD": null,
"RPM": null
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/libbsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"sysreqs": "libbsd",
"platforms": {
"DEB": "libbsd-dev",
"PKGBUILD": "libbsd",
"RPM": "libbsd-devel"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/libcurl.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libcurl4-openssl-dev",
"OSX/brew": null,
"PKGBUILD": "curl",
"RPM": "libcurl-devel"
}
}
Expand Down
3 changes: 2 additions & 1 deletion sysreqs/libdb_stl.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"buildtime": "libdb5.3-stl"
}
],
"OSX/brew": "berkeley-db"
"OSX/brew": "berkeley-db",
"PKGBUILD": "db"
}
}
}
1 change: 1 addition & 0 deletions sysreqs/libgdal.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libgdal-dev",
"OSX/brew": "gdal",
"PKGBUILD": "gdal",
"RPM": "gdal-devel"
}
}
Expand Down
1 change: 1 addition & 0 deletions sysreqs/libgeos.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"platforms": {
"DEB": "libgeos-dev libgeos++-dev",
"OSX/brew": "geos",
"PKGBUILD": "geos",
"RPM": "geos-devel"
}
}
Expand Down
Loading