Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Jan 9, 2025
2 parents 95fe366 + 68aeade commit 454a3af
Show file tree
Hide file tree
Showing 38 changed files with 381 additions and 74 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
IMAGE ?= rstudio/r-system-requirements
VARIANTS ?= focal jammy noble buster bullseye bookworm sid centos7 centos8 rockylinux9 opensuse155 opensuse156 fedora38 fedora39 fedora40 alpine-3.17 alpine-3.18 alpine-3.19 alpine-3.20 alpine-edge
VARIANTS ?= focal jammy noble buster bullseye bookworm sid centos7 centos8 rockylinux8 rockylinux9 opensuse155 opensuse156 fedora39 fedora40 fedora41 alpine-3.17 alpine-3.18 alpine-3.19 alpine-3.20 alpine-edge

RULES ?= rules/*.json

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The rules in this catalog support the following operating systems:
- openSUSE 15.5, 15.6
- SUSE Linux Enterprise 15 SP5, 15 SP6
- Debian 10, 11, 12, unstable
- Fedora 38, 39, 40
- Fedora 39, 40, 41
- Windows (for R 4.0+ only)

[^1]: Rocky Linux 8 is specified as `centos8` for backward compatibility.
Expand Down
2 changes: 1 addition & 1 deletion docker/fedora38/Dockerfile → docker/fedora41/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fedora:38
FROM fedora:41

RUN dnf upgrade -y -q && \
dnf install -y glibc-langpack-en
Expand Down
8 changes: 8 additions & 0 deletions docker/rockylinux8/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM rockylinux:8

RUN dnf upgrade -y -q && \
dnf install -y glibc-langpack-en

# Install jq
RUN curl -fsSL -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && \
chmod +x /usr/local/bin/jq
12 changes: 11 additions & 1 deletion rules/atk.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,23 @@
}
]
},
{
"packages": ["atkmm2.36-dev"],
"constraints": [
{
"os": "linux",
"distribution": "alpine",
"versions": [ "edge" ]
}
]
},
{
"packages": ["atkmm-dev"],
"constraints": [
{
"os": "linux",
"distribution": "alpine",
"versions": [ "3.17", "3.18", "3.19", "3.20", "edge" ]
"versions": [ "3.17", "3.18", "3.19", "3.20" ]
}
]
}
Expand Down
19 changes: 18 additions & 1 deletion rules/chrome.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,24 @@
"constraints": [
{
"os": "linux",
"distribution": "rockylinux"
"distribution": "rockylinux",
"versions": ["9"]
}
]
},
{
"pre_install": [
{ "command": "dnf install -y dnf-plugins-core" },
{ "command": "dnf config-manager --set-enabled powertools" },
{ "command": "dnf install -y epel-release" }
],
"packages": ["chromium"],
"post_install": [],
"constraints": [
{
"os": "linux",
"distribution": "rockylinux",
"versions": ["8"]
}
]
},
Expand Down
5 changes: 5 additions & 0 deletions rules/eigen.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@
"os": "linux",
"distribution": "centos",
"versions": ["8"]
},
{
"os": "linux",
"distribution": "rockylinux",
"versions": ["8"]
}
]
},
Expand Down
8 changes: 7 additions & 1 deletion rules/gdal.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@
"os": "linux",
"distribution": "centos",
"versions": ["8"]
},
{
"os": "linux",
"distribution": "rockylinux",
"versions": ["8"]
}
]
},
Expand Down Expand Up @@ -139,7 +144,8 @@
"constraints": [
{
"os": "linux",
"distribution": "rockylinux"
"distribution": "rockylinux",
"versions": ["9"]
}
]
},
Expand Down
12 changes: 1 addition & 11 deletions rules/glpk.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,7 @@
"os": "linux",
"distribution": "centos",
"versions": ["8"]
}
]
},
{
"packages": ["glpk-devel"],
"pre_install": [
{ "command": "dnf install -y dnf-plugins-core" },
{ "command": "dnf config-manager --set-enabled crb" },
{ "command": "dnf install -y epel-release" }
],
"constraints": [
},
{
"os": "linux",
"distribution": "rockylinux"
Expand Down
8 changes: 7 additions & 1 deletion rules/gpgme.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
"os": "linux",
"distribution": "centos",
"versions": ["8"]
},
{
"os": "linux",
"distribution": "rockylinux",
"versions": ["8"]
}
]
},
Expand All @@ -51,7 +56,8 @@
"constraints": [
{
"os": "linux",
"distribution": "rockylinux"
"distribution": "rockylinux",
"versions": ["9"]
}
]
},
Expand Down
14 changes: 3 additions & 11 deletions rules/gsl.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,11 @@
"os": "linux",
"distribution": "redhat",
"versions": ["7", "8"]
}
]
},
{
"packages": ["gsl-devel"],
"pre_install": [
{ "command": "dnf install -y dnf-plugins-core" },
{ "command": "dnf config-manager --set-enabled crb" }
],
"constraints": [
},
{
"os": "linux",
"distribution": "rockylinux"
"distribution": "rockylinux",
"versions": ["8","9"]
}
]
},
Expand Down
8 changes: 7 additions & 1 deletion rules/leptonica.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
"os": "linux",
"distribution": "centos",
"versions": ["8"]
},
{
"os": "linux",
"distribution": "rockylinux",
"versions": ["8"]
}
]
},
Expand All @@ -52,7 +57,8 @@
"constraints": [
{
"os": "linux",
"distribution": "rockylinux"
"distribution": "rockylinux",
"versions": ["9"]
}
]
},
Expand Down
21 changes: 20 additions & 1 deletion rules/libarchive.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
"os": "linux",
"distribution": "centos",
"versions": ["8"]
},
{
"os": "linux",
"distribution": "rockylinux",
"versions": ["8"]
}
]
},
Expand All @@ -51,7 +56,8 @@
"constraints": [
{
"os": "linux",
"distribution": "rockylinux"
"distribution": "rockylinux",
"versions": ["9"]
}
]
},
Expand All @@ -65,6 +71,19 @@
}
]
},
{
"packages": ["libarchive-devel"],
"pre_install": [
{ "command": "subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms" }
],
"constraints": [
{
"os": "linux",
"distribution": "redhat",
"versions": ["8"]
}
]
},
{
"packages": ["libarchive-devel"],
"pre_install": [
Expand Down
3 changes: 2 additions & 1 deletion rules/libavfilter.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"constraints": [
{
"os": "linux",
"distribution": "rockylinux"
"distribution": "rockylinux",
"versions": ["9"]
}
]
},
Expand Down
61 changes: 61 additions & 0 deletions rules/libbz2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"patterns": ["\\blibbz2\\b"],
"dependencies": [
{
"packages": ["libbz2-dev"],
"constraints": [
{
"os": "linux",
"distribution": "ubuntu"
},
{
"os": "linux",
"distribution": "debian"
}
]
},
{
"packages": ["bzip2-devel"],
"constraints": [
{
"os": "linux",
"distribution": "centos"
},
{
"os": "linux",
"distribution": "rockylinux"
},
{
"os": "linux",
"distribution": "redhat"
},
{
"os": "linux",
"distribution": "fedora"
}
]
},
{
"packages": ["libbz2-devel"],
"constraints": [
{
"os": "linux",
"distribution": "opensuse"
},
{
"os": "linux",
"distribution": "sle"
}
]
},
{
"packages": ["bzip2-dev"],
"constraints": [
{
"os": "linux",
"distribution": "alpine"
}
]
}
]
}
30 changes: 29 additions & 1 deletion rules/libjq.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,22 @@
"constraints": [
{
"os": "linux",
"distribution": "rockylinux"
"distribution": "rockylinux",
"versions": ["9"]
}
]
},
{
"packages": ["jq-devel"],
"pre_install": [
{ "command": "dnf install -y dnf-plugins-core" },
{ "command": "dnf config-manager --set-enabled powertools" }
],
"constraints": [
{
"os": "linux",
"distribution": "rockylinux",
"versions": ["8"]
}
]
},
Expand All @@ -59,6 +74,19 @@
}
]
},
{
"packages": ["jq-devel"],
"pre_install": [
{ "command": "subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms" }
],
"constraints": [
{
"os": "linux",
"distribution": "redhat",
"versions": ["8"]
}
]
},
{
"packages": ["jq-devel"],
"pre_install": [
Expand Down
Loading

0 comments on commit 454a3af

Please sign in to comment.