Skip to content

Commit

Permalink
Add rule for X11 development files
Browse files Browse the repository at this point in the history
The imager package needs the X11 development headers and library. The
lack of this rule has led to errors in GitHub workflows starting with
ubuntu-24.04, where the package does not appear to come pre-installed
anymore.

Signed-off-by: Rodrigo Tobar <[email protected]>
  • Loading branch information
rtobar committed Oct 16, 2024
1 parent fd0266d commit df00f96
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions rules/x11.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"patterns": ["\\bX11\\b"],
"dependencies": [
{
"packages": ["libx11-dev"],
"constraints": [
{
"os": "linux",
"distribution": "ubuntu"
},
{
"os": "linux",
"distribution": "debian"
},
{
"os": "linux",
"distribution": "alpine"
}
]
},
{
"packages": ["libX11-devel"],
"constraints": [
{
"os": "linux",
"distribution": "centos"
},
{
"os": "linux",
"distribution": "rockylinux"
},
{
"os": "linux",
"distribution": "redhat"
},
{
"os": "linux",
"distribution": "fedora"
},
{
"os": "linux",
"distribution": "opensuse"
},
{
"os": "linux",
"distribution": "sle"
}
]
}
]
}

0 comments on commit df00f96

Please sign in to comment.