mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 15:13:56 -05:00
Update libinput and deps; Allow adding titles to PRs from workflows. — check clamav json_c libinput libunwind (#12312)
* Let workflows use M138 containers. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * libunwind => 1.8.2 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Libcheck replaced by existing check package. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Modernize check package. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add GCC 15 patch for libunwind. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * libinput: Build Run on linux/arm/v7. * libinput: Build Run on linux/386. * libinput: Build Run on linux/amd64. * libinput: Package File Update Run on linux/386 container. * libinput: Package File Update Run on linux/amd64 container. * libinput: Package File Update Run on linux/arm/v7 container. * libinput => 1.29.0 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Allow adding PR Titles when running workflows. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * libinput: Build Run on linux/arm/v7. * libinput: Build Run on linux/amd64. * Adjust workflows. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * libinput: Package File Update Run on linux/386 container. * Adjust workflows. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * clamav => 1.4.3 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Cleanup PR commit info reporting. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Rebuild json_c with GCC 15; Update clamav package. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * libinput: Build Run on linux/arm/v7. * libinput: Build Run on linux/amd64. * libinput: Build Run on linux/386. * libinput: Package File Update Run on linux/386 container. * Trigger rebuild of check. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * libinput: Build Run on linux/amd64. * libinput: Package File Update Run on linux/386 container. * libinput: Package File Update Run on linux/arm/v7 container. * Add more triggers to workflows. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d463555281
commit
8980226ae0
20
.github/workflows/Build.yml
vendored
20
.github/workflows/Build.yml
vendored
@@ -18,6 +18,9 @@ on:
|
||||
required: false
|
||||
type: boolean
|
||||
default: 'false'
|
||||
pr_title:
|
||||
description: "Title of PR"
|
||||
required: false
|
||||
branch:
|
||||
description: "Branch of chromebrew/chromebrew to run on, if different from this branch."
|
||||
required: false
|
||||
@@ -302,11 +305,22 @@ jobs:
|
||||
if: ${{ contains(needs.*.result, 'failure') }}
|
||||
run: exit 1
|
||||
- name: Report update & build success
|
||||
run: echo "Update & build jobs succeeded. Creating a PR."
|
||||
run: echo "Update & build jobs succeeded."
|
||||
- name: Get GH Token
|
||||
if: ${{ github.event.inputs.with_pr != 'No' }}
|
||||
id: get_workflow_token
|
||||
uses: peter-murray/workflow-application-token-action@v4
|
||||
with:
|
||||
application_id: ${{ secrets.APPLICATION_ID }}
|
||||
application_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
|
||||
organization: chromebrew
|
||||
revoke_token: true
|
||||
- name: Trigger PR workflow
|
||||
if: ${{ github.event.inputs.with_pr != 'No' }}
|
||||
id: trigger-pr-workflow
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
GH_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
|
||||
PR_TITLE: ${{ inputs.pr_title || inputs.branch || github.ref_name }}
|
||||
run: |
|
||||
gh workflow -R chromebrew/chromebrew run Generate-PR.yml -f branch="${{ inputs.branch || github.ref_name }}" -f draft_pr="${{ github.event.inputs.with_pr == 'Draft Pull Request' }}"
|
||||
echo "PR title being passed to the Generate PR workflow is: ${{ inputs.pr_title || inputs.branch || github.ref_name }}"
|
||||
gh workflow run Generate-PR.yml -R ${{ github.repository }} -r ${{ inputs.branch || github.ref_name }} -f branch="${{ inputs.branch || github.ref_name }}" -f draft_pr="${{ github.event.inputs.with_pr == 'Draft Pull Request' }}" -f pr_title="$(echo "${{ inputs.pr_title || inputs.branch || github.ref_name }}" | ( read -rsd '' x; echo ${x@Q} ))"
|
||||
|
||||
20
.github/workflows/Generate-PR.yml
vendored
20
.github/workflows/Generate-PR.yml
vendored
@@ -12,6 +12,9 @@ on:
|
||||
branch:
|
||||
description: "Branch of chromebrew/chromebrew to run on, if different from this branch."
|
||||
required: false
|
||||
pr_title:
|
||||
description: "Title of PR"
|
||||
required: false
|
||||
update_package_files:
|
||||
description: "Update Package Files."
|
||||
required: false
|
||||
@@ -316,7 +319,7 @@ jobs:
|
||||
git pull --rebase origin master && git push -f
|
||||
git log --oneline -10
|
||||
git checkout master && git pull
|
||||
git log --oneline master..${{ inputs.branch || github.ref_name }} | tr '\n' '\0' | xargs -0 -n1 echo "- $*" >> /tmp/commits.txt
|
||||
git log --oneline master..${{ inputs.branch || github.ref_name }} | grep -v "Build Run on\|Package File Update Run on" | tr '\n' '\0' | xargs -0 -n1 echo "- $*" >> /tmp/commits.txt
|
||||
git checkout "${{ inputs.branch || github.ref_name }}"
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
@@ -350,8 +353,9 @@ jobs:
|
||||
CHANGED_OTHER_FILES: ${{ steps.changed-files.outputs.other_all_changed_files }}
|
||||
CHANGED_PACKAGES: ${{ needs.setup.outputs.changed_packages }}
|
||||
CREW_BRANCH: ${{ inputs.branch || github.ref_name }}
|
||||
DRAFT_PR: ${{ github.event.inputs.draft_pr }}
|
||||
DRAFT_PR: ${{ inputs.draft_pr }}
|
||||
GH_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
|
||||
PR_TITLE: ${{ inputs.pr_title }}
|
||||
TIMESTAMP: ${{ needs.setup.outputs.timestamp }}
|
||||
i686_PACKAGES: ${{ needs.setup.outputs.i686_packages }}
|
||||
x86_64_PACKAGES: ${{ needs.setup.outputs.x86_64_packages }}
|
||||
@@ -395,11 +399,12 @@ jobs:
|
||||
echo -e "&& yes | crew upgrade\n\`\`\`" >> /tmp/pr.txt
|
||||
cat /tmp/pr.txt
|
||||
[[ $DRAFT_PR == 'true' ]] && export PR_DRAFT_FLAG='-d'
|
||||
PR_NUMBER=$(gh pr list -H ${{ inputs.branch || github.ref_name }}| cut -f1)
|
||||
PR_NUMBER=$(gh pr list -L 1 -s all -H${{ inputs.branch || github.ref_name }}| cut -f1)
|
||||
echo "PR title is: $(echo "${{ inputs.pr_title || inputs.branch || github.ref_name }}" | sed -e "s/^'//" -e "s/'$//") — ${CHANGED_PACKAGES}"
|
||||
if [[ -z ${PR_NUMBER} ]]; then
|
||||
PR_NUMBER=$(gh pr create ${PR_DRAFT_FLAG} --reviewer chromebrew/active --title "${{ inputs.branch || github.ref_name }}: ${CHANGED_PACKAGES}" -F /tmp/pr.txt | rev | cut -d"/" -f1 | rev)
|
||||
PR_NUMBER=$(gh pr create ${PR_DRAFT_FLAG} --reviewer chromebrew/active --title "$(echo "${{ inputs.pr_title || inputs.branch || github.ref_name }}" | sed -e "s/^'//" -e "s/'$//") — ${CHANGED_PACKAGES}" -F /tmp/pr.txt | rev | cut -d"/" -f1 | rev)
|
||||
else
|
||||
gh pr edit --title "${{ inputs.branch || github.ref_name }}: ${CHANGED_PACKAGES}" -F /tmp/pr.txt
|
||||
gh pr edit --title "$(echo "${{ inputs.pr_title || inputs.branch || github.ref_name }}" | sed -e "s/^'//" -e "s/'$//") — ${CHANGED_PACKAGES}" -F /tmp/pr.txt
|
||||
fi
|
||||
# Draft PRs can not be set to automerge.
|
||||
if [[ $DRAFT_PR == 'true' ]]; then
|
||||
@@ -409,5 +414,6 @@ jobs:
|
||||
fi
|
||||
echo "PR_NUMBER is ${PR_NUMBER}"
|
||||
echo "PR_NUMBER=${PR_NUMBER}" >> "$GITHUB_ENV"
|
||||
# Trigger workflow run:
|
||||
gh workflow run Unit-Test.yml ${PR_NUMBER}
|
||||
# Trigger workflow runs:
|
||||
gh workflow run Unit-Test.yml -R ${{ github.repository }} -r ${{ inputs.branch || github.ref_name }}
|
||||
gh workflow run Linter-Handoff.yml -R ${{ github.repository }} -r ${{ inputs.branch || github.ref_name }}
|
||||
|
||||
7
.github/workflows/Linter-Handoff.yml
vendored
7
.github/workflows/Linter-Handoff.yml
vendored
@@ -2,8 +2,15 @@
|
||||
name: Linter-Handoff
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- ready_for_review
|
||||
- reopened
|
||||
- synchronize
|
||||
merge_group:
|
||||
workflow_dispatch:
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.CREW_PR_TOKEN }}
|
||||
jobs:
|
||||
handoff:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
4
.github/workflows/No-Compile-Needed.yml
vendored
4
.github/workflows/No-Compile-Needed.yml
vendored
@@ -222,7 +222,7 @@ jobs:
|
||||
if [[ $GLIBC_232_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:nocturne-x86_64.m97" >> "$GITHUB_ENV"
|
||||
elif [[ $GLIBC_237_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:hatch-x86_64.m137" >> "$GITHUB_ENV"
|
||||
echo "CONTAINER=satmandu/crewbuild:hatch-x86_64.m138" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "CONTAINER=satmandu/crew-pre-glibc-standalone:nocturne-x86_64.m90" >> "$GITHUB_ENV"
|
||||
fi
|
||||
@@ -234,7 +234,7 @@ jobs:
|
||||
if [[ $GLIBC_232_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:fievel-armv7l.m97" >> "$GITHUB_ENV"
|
||||
elif [[ $GLIBC_237_COMPATIBLE_PACKAGES ]]; then
|
||||
echo "CONTAINER=satmandu/crewbuild:strongbad-armv7l.m137" >> "$GITHUB_ENV"
|
||||
echo "CONTAINER=satmandu/crewbuild:strongbad-armv7l.m138" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "CONTAINER=satmandu/crew-pre-glibc-standalone:fievel-armv7l.m91" >> "$GITHUB_ENV"
|
||||
fi
|
||||
|
||||
4
.github/workflows/Unit-Test.yml
vendored
4
.github/workflows/Unit-Test.yml
vendored
@@ -137,7 +137,7 @@ jobs:
|
||||
# if [[ $GLIBC_232_COMPATIBLE_PACKAGES ]]; then
|
||||
# echo "CONTAINER=nocturne-x86_64.m97" >> "$GITHUB_ENV"
|
||||
# elif [[ $GLIBC_237_COMPATIBLE_PACKAGES ]]; then
|
||||
# echo "CONTAINER=hatch-x86_64.m137" >> "$GITHUB_ENV"
|
||||
# echo "CONTAINER=hatch-x86_64.m138" >> "$GITHUB_ENV"
|
||||
# else
|
||||
# echo "CONTAINER=nocturne-x86_64.m90" >> "$GITHUB_ENV"
|
||||
# fi
|
||||
@@ -150,7 +150,7 @@ jobs:
|
||||
# if [[ $GLIBC_232_COMPATIBLE_PACKAGES ]]; then
|
||||
# echo "CONTAINER=fievel-armv7l.m97" >> "$GITHUB_ENV"
|
||||
# elif [[ $GLIBC_237_COMPATIBLE_PACKAGES ]]; then
|
||||
# echo "CONTAINER=strongbad-armv7l.m137" >> "$GITHUB_ENV"
|
||||
# echo "CONTAINER=strongbad-armv7l.m138" >> "$GITHUB_ENV"
|
||||
# else
|
||||
# echo "CONTAINER=fievel-armv7l.m91" >> "$GITHUB_ENV"
|
||||
# fi
|
||||
|
||||
@@ -181,6 +181,7 @@ deprecated_packages = Set[
|
||||
{ pkg_name: 'js91', comments: 'Replaced by newer versions of js.' },
|
||||
{ pkg_name: 'komodo', comments: 'Abandoned upstream and no longer functional.' },
|
||||
{ pkg_name: 'libaudiofile', comments: 'Inactive upstream with applicable CVEs' },
|
||||
{ pkg_name: 'libcheck', comments: 'Replaced by identical existing package check.' },
|
||||
{ pkg_name: 'libmfx', comments: 'No longer compatible with any architecture' },
|
||||
{ pkg_name: 'linter', comments: 'Replaced with py3_pre_commit.' },
|
||||
{ pkg_name: 'nping', comments: 'Removed to avoid conflict with nmap.' },
|
||||
|
||||
@@ -10,4 +10,4 @@
|
||||
/usr/local/lib/libcheck.so.0
|
||||
/usr/local/lib/libcheck.so.0.15.2
|
||||
/usr/local/lib/pkgconfig/check.pc
|
||||
/usr/local/share/man/man1/checkmk.1.gz
|
||||
/usr/local/share/man/man1/checkmk.1.zst
|
||||
|
||||
@@ -161,7 +161,6 @@
|
||||
/usr/local/share/doc/ClamAV/html/print.html
|
||||
/usr/local/share/doc/ClamAV/html/searcher.js
|
||||
/usr/local/share/doc/ClamAV/html/searchindex.js
|
||||
/usr/local/share/doc/ClamAV/html/searchindex.json
|
||||
/usr/local/share/doc/ClamAV/html/sitemap.xml
|
||||
/usr/local/share/doc/ClamAV/html/theme-dawn.js
|
||||
/usr/local/share/doc/ClamAV/html/theme-tomorrow_night.js
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/usr/local/bin/checkmk
|
||||
/usr/local/include/check.h
|
||||
/usr/local/include/check_stdint.h
|
||||
/usr/local/lib/libcheck.a
|
||||
/usr/local/lib/libcheck.la
|
||||
/usr/local/lib/libcheck.so
|
||||
/usr/local/lib/libcheck.so.0
|
||||
/usr/local/lib/libcheck.so.0.0.0
|
||||
/usr/local/lib/pkgconfig/check.pc
|
||||
/usr/local/share/aclocal/check.m4
|
||||
/usr/local/share/doc/check/COPYING.LESSER
|
||||
/usr/local/share/doc/check/ChangeLog
|
||||
/usr/local/share/doc/check/NEWS
|
||||
/usr/local/share/doc/check/README
|
||||
/usr/local/share/man/man1/checkmk.1.gz
|
||||
@@ -10,12 +10,15 @@
|
||||
/usr/local/lib/udev/rules.d/80-libinput-device-groups.rules
|
||||
/usr/local/lib/udev/rules.d/90-libinput-fuzz-override.rules
|
||||
/usr/local/libexec/libinput/libinput-analyze
|
||||
/usr/local/libexec/libinput/libinput-analyze-buttons
|
||||
/usr/local/libexec/libinput/libinput-analyze-per-slot-delta
|
||||
/usr/local/libexec/libinput/libinput-analyze-recording
|
||||
/usr/local/libexec/libinput/libinput-analyze-touch-down-state
|
||||
/usr/local/libexec/libinput/libinput-debug-events
|
||||
/usr/local/libexec/libinput/libinput-debug-tablet
|
||||
/usr/local/libexec/libinput/libinput-debug-tablet-pad
|
||||
/usr/local/libexec/libinput/libinput-list-devices
|
||||
/usr/local/libexec/libinput/libinput-list-kernel-devices
|
||||
/usr/local/libexec/libinput/libinput-measure
|
||||
/usr/local/libexec/libinput/libinput-measure-fuzz
|
||||
/usr/local/libexec/libinput/libinput-measure-touch-size
|
||||
@@ -35,17 +38,22 @@
|
||||
/usr/local/share/libinput/30-vendor-contour.quirks
|
||||
/usr/local/share/libinput/30-vendor-cypress.quirks
|
||||
/usr/local/share/libinput/30-vendor-elantech.quirks
|
||||
/usr/local/share/libinput/30-vendor-glorious.quirks
|
||||
/usr/local/share/libinput/30-vendor-huion.quirks
|
||||
/usr/local/share/libinput/30-vendor-ibm.quirks
|
||||
/usr/local/share/libinput/30-vendor-ite.quirks
|
||||
/usr/local/share/libinput/30-vendor-kensington.quirks
|
||||
/usr/local/share/libinput/30-vendor-logitech.quirks
|
||||
/usr/local/share/libinput/30-vendor-madcatz.quirks
|
||||
/usr/local/share/libinput/30-vendor-microsoft.quirks
|
||||
/usr/local/share/libinput/30-vendor-oracle.quirks
|
||||
/usr/local/share/libinput/30-vendor-qemu.quirks
|
||||
/usr/local/share/libinput/30-vendor-razer.quirks
|
||||
/usr/local/share/libinput/30-vendor-synaptics.quirks
|
||||
/usr/local/share/libinput/30-vendor-trust.quirks
|
||||
/usr/local/share/libinput/30-vendor-uniwill.quirks
|
||||
/usr/local/share/libinput/30-vendor-vmware.quirks
|
||||
/usr/local/share/libinput/30-vendor-wacom.quirks
|
||||
/usr/local/share/libinput/50-framework.quirks
|
||||
/usr/local/share/libinput/50-system-acer.quirks
|
||||
/usr/local/share/libinput/50-system-apple.quirks
|
||||
/usr/local/share/libinput/50-system-asus.quirks
|
||||
@@ -53,36 +61,46 @@
|
||||
/usr/local/share/libinput/50-system-chuwi.quirks
|
||||
/usr/local/share/libinput/50-system-cyborg.quirks
|
||||
/usr/local/share/libinput/50-system-dell.quirks
|
||||
/usr/local/share/libinput/50-system-framework.quirks
|
||||
/usr/local/share/libinput/50-system-gigabyte.quirks
|
||||
/usr/local/share/libinput/50-system-google.quirks
|
||||
/usr/local/share/libinput/50-system-gpd.quirks
|
||||
/usr/local/share/libinput/50-system-graviton.quirks
|
||||
/usr/local/share/libinput/50-system-honor.quirks
|
||||
/usr/local/share/libinput/50-system-hp.quirks
|
||||
/usr/local/share/libinput/50-system-huawei.quirks
|
||||
/usr/local/share/libinput/50-system-icl.quirks
|
||||
/usr/local/share/libinput/50-system-lenovo.quirks
|
||||
/usr/local/share/libinput/50-system-lg.quirks
|
||||
/usr/local/share/libinput/50-system-minisforum.quirks
|
||||
/usr/local/share/libinput/50-system-pine64.quirks
|
||||
/usr/local/share/libinput/50-system-sony.quirks
|
||||
/usr/local/share/libinput/50-system-starlabs.quirks
|
||||
/usr/local/share/libinput/50-system-system76.quirks
|
||||
/usr/local/share/libinput/50-system-toshiba.quirks
|
||||
/usr/local/share/man/man1/libinput-analyze-per-slot-delta.1.gz
|
||||
/usr/local/share/man/man1/libinput-analyze-recording.1.gz
|
||||
/usr/local/share/man/man1/libinput-analyze-touch-down-state.1.gz
|
||||
/usr/local/share/man/man1/libinput-analyze.1.gz
|
||||
/usr/local/share/man/man1/libinput-debug-events.1.gz
|
||||
/usr/local/share/man/man1/libinput-debug-tablet.1.gz
|
||||
/usr/local/share/man/man1/libinput-list-devices.1.gz
|
||||
/usr/local/share/man/man1/libinput-measure-fuzz.1.gz
|
||||
/usr/local/share/man/man1/libinput-measure-touch-size.1.gz
|
||||
/usr/local/share/man/man1/libinput-measure-touchpad-pressure.1.gz
|
||||
/usr/local/share/man/man1/libinput-measure-touchpad-size.1.gz
|
||||
/usr/local/share/man/man1/libinput-measure-touchpad-tap.1.gz
|
||||
/usr/local/share/man/man1/libinput-measure.1.gz
|
||||
/usr/local/share/man/man1/libinput-quirks-list.1.gz
|
||||
/usr/local/share/man/man1/libinput-quirks-validate.1.gz
|
||||
/usr/local/share/man/man1/libinput-quirks.1.gz
|
||||
/usr/local/share/man/man1/libinput-record.1.gz
|
||||
/usr/local/share/man/man1/libinput-replay.1.gz
|
||||
/usr/local/share/man/man1/libinput-test-suite.1.gz
|
||||
/usr/local/share/man/man1/libinput-test.1.gz
|
||||
/usr/local/share/man/man1/libinput.1.gz
|
||||
/usr/local/share/libinput/50-system-vaio.quirks
|
||||
/usr/local/share/man/man1/libinput-analyze-buttons.1.zst
|
||||
/usr/local/share/man/man1/libinput-analyze-per-slot-delta.1.zst
|
||||
/usr/local/share/man/man1/libinput-analyze-recording.1.zst
|
||||
/usr/local/share/man/man1/libinput-analyze-touch-down-state.1.zst
|
||||
/usr/local/share/man/man1/libinput-analyze.1.zst
|
||||
/usr/local/share/man/man1/libinput-debug-events.1.zst
|
||||
/usr/local/share/man/man1/libinput-debug-tablet-pad.1.zst
|
||||
/usr/local/share/man/man1/libinput-debug-tablet.1.zst
|
||||
/usr/local/share/man/man1/libinput-list-devices.1.zst
|
||||
/usr/local/share/man/man1/libinput-list-kernel-devices.1.zst
|
||||
/usr/local/share/man/man1/libinput-measure-fuzz.1.zst
|
||||
/usr/local/share/man/man1/libinput-measure-touch-size.1.zst
|
||||
/usr/local/share/man/man1/libinput-measure-touchpad-pressure.1.zst
|
||||
/usr/local/share/man/man1/libinput-measure-touchpad-size.1.zst
|
||||
/usr/local/share/man/man1/libinput-measure-touchpad-tap.1.zst
|
||||
/usr/local/share/man/man1/libinput-measure.1.zst
|
||||
/usr/local/share/man/man1/libinput-quirks-list.1.zst
|
||||
/usr/local/share/man/man1/libinput-quirks-validate.1.zst
|
||||
/usr/local/share/man/man1/libinput-quirks.1.zst
|
||||
/usr/local/share/man/man1/libinput-record.1.zst
|
||||
/usr/local/share/man/man1/libinput-replay.1.zst
|
||||
/usr/local/share/man/man1/libinput-test-suite.1.zst
|
||||
/usr/local/share/man/man1/libinput-test.1.zst
|
||||
/usr/local/share/man/man1/libinput.1.zst
|
||||
/usr/local/share/zsh/site-functions/_libinput
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
/usr/local/lib/libunwind-arm.la
|
||||
/usr/local/lib/libunwind-arm.so
|
||||
/usr/local/lib/libunwind-arm.so.8
|
||||
/usr/local/lib/libunwind-arm.so.8.1.0
|
||||
/usr/local/lib/libunwind-arm.so.8.2.0
|
||||
/usr/local/lib/libunwind-coredump.a
|
||||
/usr/local/lib/libunwind-coredump.la
|
||||
/usr/local/lib/libunwind-coredump.so
|
||||
@@ -31,7 +31,7 @@
|
||||
/usr/local/lib/libunwind.la
|
||||
/usr/local/lib/libunwind.so
|
||||
/usr/local/lib/libunwind.so.8
|
||||
/usr/local/lib/libunwind.so.8.1.0
|
||||
/usr/local/lib/libunwind.so.8.2.0
|
||||
/usr/local/lib/pkgconfig/libunwind-coredump.pc
|
||||
/usr/local/lib/pkgconfig/libunwind-generic.pc
|
||||
/usr/local/lib/pkgconfig/libunwind-ptrace.pc
|
||||
@@ -45,6 +45,7 @@
|
||||
/usr/local/libexec/libunwind/Gtest-init
|
||||
/usr/local/libexec/libunwind/Gtest-resume-sig
|
||||
/usr/local/libexec/libunwind/Gtest-resume-sig-rt
|
||||
/usr/local/libexec/libunwind/Gtest-sig-context
|
||||
/usr/local/libexec/libunwind/Gtest-trace
|
||||
/usr/local/libexec/libunwind/Lperf-simple
|
||||
/usr/local/libexec/libunwind/Lperf-trace
|
||||
@@ -59,6 +60,7 @@
|
||||
/usr/local/libexec/libunwind/Ltest-nomalloc
|
||||
/usr/local/libexec/libunwind/Ltest-resume-sig
|
||||
/usr/local/libexec/libunwind/Ltest-resume-sig-rt
|
||||
/usr/local/libexec/libunwind/Ltest-sig-context
|
||||
/usr/local/libexec/libunwind/Ltest-trace
|
||||
/usr/local/libexec/libunwind/Ltest-varargs
|
||||
/usr/local/libexec/libunwind/check-namespace.sh
|
||||
|
||||
@@ -10,4 +10,4 @@
|
||||
/usr/local/lib/libcheck.so.0
|
||||
/usr/local/lib/libcheck.so.0.15.2
|
||||
/usr/local/lib/pkgconfig/check.pc
|
||||
/usr/local/share/man/man1/checkmk.1.gz
|
||||
/usr/local/share/man/man1/checkmk.1.zst
|
||||
|
||||
@@ -161,7 +161,6 @@
|
||||
/usr/local/share/doc/ClamAV/html/print.html
|
||||
/usr/local/share/doc/ClamAV/html/searcher.js
|
||||
/usr/local/share/doc/ClamAV/html/searchindex.js
|
||||
/usr/local/share/doc/ClamAV/html/searchindex.json
|
||||
/usr/local/share/doc/ClamAV/html/sitemap.xml
|
||||
/usr/local/share/doc/ClamAV/html/theme-dawn.js
|
||||
/usr/local/share/doc/ClamAV/html/theme-tomorrow_night.js
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/usr/local/bin/checkmk
|
||||
/usr/local/include/check.h
|
||||
/usr/local/include/check_stdint.h
|
||||
/usr/local/lib/libcheck.a
|
||||
/usr/local/lib/libcheck.la
|
||||
/usr/local/lib/libcheck.so
|
||||
/usr/local/lib/libcheck.so.0
|
||||
/usr/local/lib/libcheck.so.0.0.0
|
||||
/usr/local/lib/pkgconfig/check.pc
|
||||
/usr/local/share/aclocal/check.m4
|
||||
/usr/local/share/doc/check/COPYING.LESSER
|
||||
/usr/local/share/doc/check/ChangeLog
|
||||
/usr/local/share/doc/check/NEWS
|
||||
/usr/local/share/doc/check/README
|
||||
/usr/local/share/man/man1/checkmk.1.gz
|
||||
@@ -26,12 +26,12 @@
|
||||
/usr/local/lib/libunwind-x86.la
|
||||
/usr/local/lib/libunwind-x86.so
|
||||
/usr/local/lib/libunwind-x86.so.8
|
||||
/usr/local/lib/libunwind-x86.so.8.1.0
|
||||
/usr/local/lib/libunwind-x86.so.8.2.0
|
||||
/usr/local/lib/libunwind.a
|
||||
/usr/local/lib/libunwind.la
|
||||
/usr/local/lib/libunwind.so
|
||||
/usr/local/lib/libunwind.so.8
|
||||
/usr/local/lib/libunwind.so.8.1.0
|
||||
/usr/local/lib/libunwind.so.8.2.0
|
||||
/usr/local/lib/pkgconfig/libunwind-coredump.pc
|
||||
/usr/local/lib/pkgconfig/libunwind-generic.pc
|
||||
/usr/local/lib/pkgconfig/libunwind-ptrace.pc
|
||||
@@ -45,6 +45,7 @@
|
||||
/usr/local/libexec/libunwind/Gtest-init
|
||||
/usr/local/libexec/libunwind/Gtest-resume-sig
|
||||
/usr/local/libexec/libunwind/Gtest-resume-sig-rt
|
||||
/usr/local/libexec/libunwind/Gtest-sig-context
|
||||
/usr/local/libexec/libunwind/Gtest-trace
|
||||
/usr/local/libexec/libunwind/Lperf-simple
|
||||
/usr/local/libexec/libunwind/Lperf-trace
|
||||
@@ -59,6 +60,7 @@
|
||||
/usr/local/libexec/libunwind/Ltest-nomalloc
|
||||
/usr/local/libexec/libunwind/Ltest-resume-sig
|
||||
/usr/local/libexec/libunwind/Ltest-resume-sig-rt
|
||||
/usr/local/libexec/libunwind/Ltest-sig-context
|
||||
/usr/local/libexec/libunwind/Ltest-trace
|
||||
/usr/local/libexec/libunwind/Ltest-varargs
|
||||
/usr/local/libexec/libunwind/check-namespace.sh
|
||||
|
||||
@@ -10,4 +10,4 @@
|
||||
/usr/local/lib64/libcheck.so.0
|
||||
/usr/local/lib64/libcheck.so.0.15.2
|
||||
/usr/local/lib64/pkgconfig/check.pc
|
||||
/usr/local/share/man/man1/checkmk.1.gz
|
||||
/usr/local/share/man/man1/checkmk.1.zst
|
||||
|
||||
@@ -161,7 +161,6 @@
|
||||
/usr/local/share/doc/ClamAV/html/print.html
|
||||
/usr/local/share/doc/ClamAV/html/searcher.js
|
||||
/usr/local/share/doc/ClamAV/html/searchindex.js
|
||||
/usr/local/share/doc/ClamAV/html/searchindex.json
|
||||
/usr/local/share/doc/ClamAV/html/sitemap.xml
|
||||
/usr/local/share/doc/ClamAV/html/theme-dawn.js
|
||||
/usr/local/share/doc/ClamAV/html/theme-tomorrow_night.js
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/usr/local/bin/checkmk
|
||||
/usr/local/include/check.h
|
||||
/usr/local/include/check_stdint.h
|
||||
/usr/local/lib64/libcheck.a
|
||||
/usr/local/lib64/libcheck.la
|
||||
/usr/local/lib64/libcheck.so
|
||||
/usr/local/lib64/libcheck.so.0
|
||||
/usr/local/lib64/libcheck.so.0.0.0
|
||||
/usr/local/lib64/pkgconfig/check.pc
|
||||
/usr/local/share/aclocal/check.m4
|
||||
/usr/local/share/doc/check/COPYING.LESSER
|
||||
/usr/local/share/doc/check/ChangeLog
|
||||
/usr/local/share/doc/check/NEWS
|
||||
/usr/local/share/doc/check/README
|
||||
/usr/local/share/man/man1/checkmk.1.gz
|
||||
@@ -10,12 +10,15 @@
|
||||
/usr/local/lib64/libinput.so.10.13.0
|
||||
/usr/local/lib64/pkgconfig/libinput.pc
|
||||
/usr/local/libexec/libinput/libinput-analyze
|
||||
/usr/local/libexec/libinput/libinput-analyze-buttons
|
||||
/usr/local/libexec/libinput/libinput-analyze-per-slot-delta
|
||||
/usr/local/libexec/libinput/libinput-analyze-recording
|
||||
/usr/local/libexec/libinput/libinput-analyze-touch-down-state
|
||||
/usr/local/libexec/libinput/libinput-debug-events
|
||||
/usr/local/libexec/libinput/libinput-debug-tablet
|
||||
/usr/local/libexec/libinput/libinput-debug-tablet-pad
|
||||
/usr/local/libexec/libinput/libinput-list-devices
|
||||
/usr/local/libexec/libinput/libinput-list-kernel-devices
|
||||
/usr/local/libexec/libinput/libinput-measure
|
||||
/usr/local/libexec/libinput/libinput-measure-fuzz
|
||||
/usr/local/libexec/libinput/libinput-measure-touch-size
|
||||
@@ -35,17 +38,22 @@
|
||||
/usr/local/share/libinput/30-vendor-contour.quirks
|
||||
/usr/local/share/libinput/30-vendor-cypress.quirks
|
||||
/usr/local/share/libinput/30-vendor-elantech.quirks
|
||||
/usr/local/share/libinput/30-vendor-glorious.quirks
|
||||
/usr/local/share/libinput/30-vendor-huion.quirks
|
||||
/usr/local/share/libinput/30-vendor-ibm.quirks
|
||||
/usr/local/share/libinput/30-vendor-ite.quirks
|
||||
/usr/local/share/libinput/30-vendor-kensington.quirks
|
||||
/usr/local/share/libinput/30-vendor-logitech.quirks
|
||||
/usr/local/share/libinput/30-vendor-madcatz.quirks
|
||||
/usr/local/share/libinput/30-vendor-microsoft.quirks
|
||||
/usr/local/share/libinput/30-vendor-oracle.quirks
|
||||
/usr/local/share/libinput/30-vendor-qemu.quirks
|
||||
/usr/local/share/libinput/30-vendor-razer.quirks
|
||||
/usr/local/share/libinput/30-vendor-synaptics.quirks
|
||||
/usr/local/share/libinput/30-vendor-trust.quirks
|
||||
/usr/local/share/libinput/30-vendor-uniwill.quirks
|
||||
/usr/local/share/libinput/30-vendor-vmware.quirks
|
||||
/usr/local/share/libinput/30-vendor-wacom.quirks
|
||||
/usr/local/share/libinput/50-framework.quirks
|
||||
/usr/local/share/libinput/50-system-acer.quirks
|
||||
/usr/local/share/libinput/50-system-apple.quirks
|
||||
/usr/local/share/libinput/50-system-asus.quirks
|
||||
@@ -53,36 +61,46 @@
|
||||
/usr/local/share/libinput/50-system-chuwi.quirks
|
||||
/usr/local/share/libinput/50-system-cyborg.quirks
|
||||
/usr/local/share/libinput/50-system-dell.quirks
|
||||
/usr/local/share/libinput/50-system-framework.quirks
|
||||
/usr/local/share/libinput/50-system-gigabyte.quirks
|
||||
/usr/local/share/libinput/50-system-google.quirks
|
||||
/usr/local/share/libinput/50-system-gpd.quirks
|
||||
/usr/local/share/libinput/50-system-graviton.quirks
|
||||
/usr/local/share/libinput/50-system-honor.quirks
|
||||
/usr/local/share/libinput/50-system-hp.quirks
|
||||
/usr/local/share/libinput/50-system-huawei.quirks
|
||||
/usr/local/share/libinput/50-system-icl.quirks
|
||||
/usr/local/share/libinput/50-system-lenovo.quirks
|
||||
/usr/local/share/libinput/50-system-lg.quirks
|
||||
/usr/local/share/libinput/50-system-minisforum.quirks
|
||||
/usr/local/share/libinput/50-system-pine64.quirks
|
||||
/usr/local/share/libinput/50-system-sony.quirks
|
||||
/usr/local/share/libinput/50-system-starlabs.quirks
|
||||
/usr/local/share/libinput/50-system-system76.quirks
|
||||
/usr/local/share/libinput/50-system-toshiba.quirks
|
||||
/usr/local/share/man/man1/libinput-analyze-per-slot-delta.1.gz
|
||||
/usr/local/share/man/man1/libinput-analyze-recording.1.gz
|
||||
/usr/local/share/man/man1/libinput-analyze-touch-down-state.1.gz
|
||||
/usr/local/share/man/man1/libinput-analyze.1.gz
|
||||
/usr/local/share/man/man1/libinput-debug-events.1.gz
|
||||
/usr/local/share/man/man1/libinput-debug-tablet.1.gz
|
||||
/usr/local/share/man/man1/libinput-list-devices.1.gz
|
||||
/usr/local/share/man/man1/libinput-measure-fuzz.1.gz
|
||||
/usr/local/share/man/man1/libinput-measure-touch-size.1.gz
|
||||
/usr/local/share/man/man1/libinput-measure-touchpad-pressure.1.gz
|
||||
/usr/local/share/man/man1/libinput-measure-touchpad-size.1.gz
|
||||
/usr/local/share/man/man1/libinput-measure-touchpad-tap.1.gz
|
||||
/usr/local/share/man/man1/libinput-measure.1.gz
|
||||
/usr/local/share/man/man1/libinput-quirks-list.1.gz
|
||||
/usr/local/share/man/man1/libinput-quirks-validate.1.gz
|
||||
/usr/local/share/man/man1/libinput-quirks.1.gz
|
||||
/usr/local/share/man/man1/libinput-record.1.gz
|
||||
/usr/local/share/man/man1/libinput-replay.1.gz
|
||||
/usr/local/share/man/man1/libinput-test-suite.1.gz
|
||||
/usr/local/share/man/man1/libinput-test.1.gz
|
||||
/usr/local/share/man/man1/libinput.1.gz
|
||||
/usr/local/share/libinput/50-system-vaio.quirks
|
||||
/usr/local/share/man/man1/libinput-analyze-buttons.1.zst
|
||||
/usr/local/share/man/man1/libinput-analyze-per-slot-delta.1.zst
|
||||
/usr/local/share/man/man1/libinput-analyze-recording.1.zst
|
||||
/usr/local/share/man/man1/libinput-analyze-touch-down-state.1.zst
|
||||
/usr/local/share/man/man1/libinput-analyze.1.zst
|
||||
/usr/local/share/man/man1/libinput-debug-events.1.zst
|
||||
/usr/local/share/man/man1/libinput-debug-tablet-pad.1.zst
|
||||
/usr/local/share/man/man1/libinput-debug-tablet.1.zst
|
||||
/usr/local/share/man/man1/libinput-list-devices.1.zst
|
||||
/usr/local/share/man/man1/libinput-list-kernel-devices.1.zst
|
||||
/usr/local/share/man/man1/libinput-measure-fuzz.1.zst
|
||||
/usr/local/share/man/man1/libinput-measure-touch-size.1.zst
|
||||
/usr/local/share/man/man1/libinput-measure-touchpad-pressure.1.zst
|
||||
/usr/local/share/man/man1/libinput-measure-touchpad-size.1.zst
|
||||
/usr/local/share/man/man1/libinput-measure-touchpad-tap.1.zst
|
||||
/usr/local/share/man/man1/libinput-measure.1.zst
|
||||
/usr/local/share/man/man1/libinput-quirks-list.1.zst
|
||||
/usr/local/share/man/man1/libinput-quirks-validate.1.zst
|
||||
/usr/local/share/man/man1/libinput-quirks.1.zst
|
||||
/usr/local/share/man/man1/libinput-record.1.zst
|
||||
/usr/local/share/man/man1/libinput-replay.1.zst
|
||||
/usr/local/share/man/man1/libinput-test-suite.1.zst
|
||||
/usr/local/share/man/man1/libinput-test.1.zst
|
||||
/usr/local/share/man/man1/libinput.1.zst
|
||||
/usr/local/share/zsh/site-functions/_libinput
|
||||
|
||||
@@ -26,12 +26,12 @@
|
||||
/usr/local/lib64/libunwind-x86_64.la
|
||||
/usr/local/lib64/libunwind-x86_64.so
|
||||
/usr/local/lib64/libunwind-x86_64.so.8
|
||||
/usr/local/lib64/libunwind-x86_64.so.8.1.0
|
||||
/usr/local/lib64/libunwind-x86_64.so.8.2.0
|
||||
/usr/local/lib64/libunwind.a
|
||||
/usr/local/lib64/libunwind.la
|
||||
/usr/local/lib64/libunwind.so
|
||||
/usr/local/lib64/libunwind.so.8
|
||||
/usr/local/lib64/libunwind.so.8.1.0
|
||||
/usr/local/lib64/libunwind.so.8.2.0
|
||||
/usr/local/lib64/pkgconfig/libunwind-coredump.pc
|
||||
/usr/local/lib64/pkgconfig/libunwind-generic.pc
|
||||
/usr/local/lib64/pkgconfig/libunwind-ptrace.pc
|
||||
@@ -45,6 +45,7 @@
|
||||
/usr/local/libexec/libunwind/Gtest-init
|
||||
/usr/local/libexec/libunwind/Gtest-resume-sig
|
||||
/usr/local/libexec/libunwind/Gtest-resume-sig-rt
|
||||
/usr/local/libexec/libunwind/Gtest-sig-context
|
||||
/usr/local/libexec/libunwind/Gtest-trace
|
||||
/usr/local/libexec/libunwind/Gx64-test-dwarf-expressions
|
||||
/usr/local/libexec/libunwind/Lperf-simple
|
||||
@@ -60,6 +61,7 @@
|
||||
/usr/local/libexec/libunwind/Ltest-nomalloc
|
||||
/usr/local/libexec/libunwind/Ltest-resume-sig
|
||||
/usr/local/libexec/libunwind/Ltest-resume-sig-rt
|
||||
/usr/local/libexec/libunwind/Ltest-sig-context
|
||||
/usr/local/libexec/libunwind/Ltest-trace
|
||||
/usr/local/libexec/libunwind/Ltest-varargs
|
||||
/usr/local/libexec/libunwind/Lx64-test-dwarf-expressions
|
||||
|
||||
@@ -1,38 +1,23 @@
|
||||
require 'package'
|
||||
require 'buildsystems/cmake'
|
||||
|
||||
class Check < Package
|
||||
class Check < CMake
|
||||
description 'A unit testing framework for C'
|
||||
homepage 'https://libcheck.github.io/check/'
|
||||
version '0.15.2'
|
||||
version '0.15.2-1'
|
||||
license 'LGPL-2.1+'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz'
|
||||
source_sha256 'a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a'
|
||||
binary_compression 'tar.xz'
|
||||
source_url 'https://github.com/libcheck/check.git'
|
||||
git_hashtag version.split('-').first
|
||||
binary_compression 'tar.zst'
|
||||
|
||||
binary_sha256({
|
||||
aarch64: '935119bc79d705b92a3a67d422b86aa466284bc907026635c06b1767ca1bf346',
|
||||
armv7l: '935119bc79d705b92a3a67d422b86aa466284bc907026635c06b1767ca1bf346',
|
||||
i686: 'f248bc49996c8a5778574cb899647f493b5411c2ce829f96b899c9233de91927',
|
||||
x86_64: '7dc419c3be381ccf3575554bbd8e9d4ddd6cc38ede64c29d9b0922ab86d4624a'
|
||||
aarch64: '4cedbac1abdb2c7588faaf4f2722c1f66908879356f9d3ddd5399688b402849c',
|
||||
armv7l: '4cedbac1abdb2c7588faaf4f2722c1f66908879356f9d3ddd5399688b402849c',
|
||||
i686: '27f945d6c18f20d3acd43bb87b4a69a2705cb76a3ba28effa73d7c5dc34532ed',
|
||||
x86_64: 'bd6f4fccc8e7395515bd6fe7a7365270e6878acb617dc8fc1ccc3ec961d6d786'
|
||||
})
|
||||
|
||||
def self.build
|
||||
system 'autoreconf -fvi'
|
||||
Dir.mkdir 'build'
|
||||
Dir.chdir 'build' do
|
||||
system "env CC=gcc LD=ld \
|
||||
cmake -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCHECK_ENABLE_TIMEOUT_TESTS=OFF \
|
||||
-DCMAKE_INSTALL_LIBDIR=#{CREW_LIB_PREFIX} \
|
||||
.."
|
||||
system 'ninja'
|
||||
end
|
||||
end
|
||||
depends_on 'glibc' # R
|
||||
|
||||
def self.install
|
||||
system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install"
|
||||
end
|
||||
cmake_options '-DCHECK_ENABLE_TIMEOUT_TESTS=OFF'
|
||||
end
|
||||
|
||||
@@ -3,45 +3,41 @@ require 'buildsystems/cmake'
|
||||
class Clamav < CMake
|
||||
description 'ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats.'
|
||||
homepage 'https://www.clamav.net/'
|
||||
version '1.4.2'
|
||||
version '1.4.3'
|
||||
license 'GPL-2'
|
||||
compatibility 'all'
|
||||
source_url "https://www.clamav.net/downloads/production/clamav-#{version}.tar.gz"
|
||||
source_sha256 '8c92f8ade2a8f2c9d6688d1d63ee57f6caf965d74dce06d0971c6709c8e6c04c'
|
||||
source_sha256 'd874cabf3d4765b35b518ef535658a1e6ec74802006a1d613f9f124aa1343210'
|
||||
binary_compression 'tar.zst'
|
||||
|
||||
binary_sha256({
|
||||
aarch64: '18d557cc5687cbbf701971891dcc887d966745032f53e93b5bada06a07238ba7',
|
||||
armv7l: '18d557cc5687cbbf701971891dcc887d966745032f53e93b5bada06a07238ba7',
|
||||
i686: '259d7f16e80d5c13c90322cfaf7f189988b93ec0069904323160d5213d3d2c8c',
|
||||
x86_64: 'b409f59d64681ea826f9810faa9bd76c130548b74398de7624208ae8ddf4040b'
|
||||
aarch64: 'c79597e6bff782412d637d46de471e73cdc2853049e2d8ad558583d0c2365ede',
|
||||
armv7l: 'c79597e6bff782412d637d46de471e73cdc2853049e2d8ad558583d0c2365ede',
|
||||
i686: '7d24cd9a26466146d9df9dee6ba0815bed17a492b8059fa433fcd809199e0f63',
|
||||
x86_64: '9d30b61e19ae2ac8d71d87ce20078cf7b04e206a3e7aff290c31a0a520ae5986'
|
||||
})
|
||||
|
||||
depends_on 'rust' => :build
|
||||
depends_on 'libcheck' => :build
|
||||
depends_on 'libiconv' => :build
|
||||
depends_on 'json_c' => :build
|
||||
depends_on 'py3_pytest' => :build
|
||||
depends_on 'bzip2' # R
|
||||
depends_on 'check' => :build
|
||||
depends_on 'curl' # R
|
||||
depends_on 'gcc_lib' # R
|
||||
depends_on 'glibc' # R
|
||||
depends_on 'libiconv' => :build
|
||||
depends_on 'libxml2' # R
|
||||
depends_on 'ncurses' # R
|
||||
depends_on 'openssl' # R
|
||||
depends_on 'pcre2' # R
|
||||
depends_on 'py3_pytest' => :build
|
||||
depends_on 'rust' => :build
|
||||
depends_on 'zlib' # R
|
||||
|
||||
no_shrink
|
||||
|
||||
cmake_options "-D APP_CONFIG_DIRECTORY=#{CREW_PREFIX}/etc/clamav \
|
||||
-D DATABASE_DIRECTORY=#{CREW_PREFIX}/share/clamav \
|
||||
-D CMAKE_C_FLAGS=-fPIC \
|
||||
-D ENABLE_JSON_SHARED=OFF \
|
||||
-D ENABLE_STATIC_LIB=ON \
|
||||
-D ENABLE_SYSTEMD=OFF \
|
||||
-D ENABLE_MILTER=OFF \
|
||||
-G Ninja"
|
||||
cmake_options "-DAPP_CONFIG_DIRECTORY=#{CREW_PREFIX}/etc/clamav \
|
||||
-DCMAKE_C_FLAGS=-fPIC \
|
||||
-DDATABASE_DIRECTORY=#{CREW_PREFIX}/share/clamav \
|
||||
-DENABLE_JSON_SHARED=OFF \
|
||||
-DENABLE_MILTER=OFF \
|
||||
-DENABLE_STATIC_LIB=ON \
|
||||
-DENABLE_SYSTEMD=OFF"
|
||||
|
||||
cmake_install_extras do
|
||||
FileUtils.cp "#{CREW_DEST_PREFIX}/etc/clamav/clamd.conf.sample", "#{CREW_DEST_PREFIX}/etc/clamav/clamd.conf"
|
||||
|
||||
@@ -3,22 +3,24 @@ require 'buildsystems/cmake'
|
||||
class Json_c < CMake
|
||||
description 'JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.'
|
||||
homepage 'https://github.com/json-c/json-c'
|
||||
version '0.18-20240915'
|
||||
version '0.18-20240915-1'
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/json-c/json-c.git'
|
||||
git_hashtag "json-c-#{version}"
|
||||
git_hashtag "json-c-#{version.split('-').tap { |a| a.pop 1 }.join('-')}"
|
||||
binary_compression 'tar.zst'
|
||||
|
||||
binary_sha256({
|
||||
aarch64: '217e11520160be237177a0d65343458def697d26e087dd877b545d0a63e2f779',
|
||||
armv7l: '217e11520160be237177a0d65343458def697d26e087dd877b545d0a63e2f779',
|
||||
i686: '9ba118efb99aee704fbfca41b87d221d876c1edf359d2e1384ce3501b01f24af',
|
||||
x86_64: '7c0dd0ae3eb8e18649fa38cf77ca31cc51fc554faaca4025b90a5e208ed714db'
|
||||
aarch64: 'e19c19220772405804d3e2737af3962d9a87f6caa904dcd91a1f69804ed753eb',
|
||||
armv7l: 'e19c19220772405804d3e2737af3962d9a87f6caa904dcd91a1f69804ed753eb',
|
||||
i686: '50c56ec2983be8ce16abafb87e3e988aeb484e7d8b314518defb0525907df424',
|
||||
x86_64: 'c1667d019008395fb5643bc88a3fd6860318b4ff3adf6014044a22a9c1fe7ce9'
|
||||
})
|
||||
|
||||
depends_on 'glibc' # R
|
||||
|
||||
cmake_options '-DCMAKE_POLICY_VERSION_MINIMUM=3.5'
|
||||
|
||||
cmake_install_extras do
|
||||
FileUtils.ln_s "#{CREW_LIB_PREFIX}/libjson-c.so", "#{CREW_DEST_LIB_PREFIX}/libjson-c.so.3"
|
||||
FileUtils.ln_s "#{CREW_LIB_PREFIX}/libjson-c.so", "#{CREW_DEST_LIB_PREFIX}/libjson-c.so.4"
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
require 'package'
|
||||
|
||||
class Libcheck < Package
|
||||
description 'A unit testing framework for C'
|
||||
homepage 'https://libcheck.github.io/check/'
|
||||
version '0.13.0'
|
||||
license 'LGPL-2.1+'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/libcheck/check/releases/download/0.13.0/check-0.13.0.tar.gz'
|
||||
source_sha256 'c4336b31447acc7e3266854f73ec188cdb15554d0edd44739631da174a569909'
|
||||
binary_compression 'tar.xz'
|
||||
|
||||
binary_sha256({
|
||||
aarch64: '71a129c63ce759b17a6a9ce7c30eecadb633a24242170d9a6646a9c45c64eac4',
|
||||
armv7l: '71a129c63ce759b17a6a9ce7c30eecadb633a24242170d9a6646a9c45c64eac4',
|
||||
i686: '48d3bea93e956e8089ba520a48761d40148be6009aa4d93f801e4f6627e75755',
|
||||
x86_64: '9522b0a5173a563716f2f435d1ef26e61f39eebea16c6ece97aea037a5db9ba3'
|
||||
})
|
||||
|
||||
def self.build
|
||||
system 'autoreconf --install'
|
||||
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
|
||||
system 'make'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
||||
end
|
||||
end
|
||||
@@ -1,9 +1,9 @@
|
||||
require 'package'
|
||||
require 'buildsystems/meson'
|
||||
|
||||
class Libinput < Package
|
||||
class Libinput < Meson
|
||||
description 'libinput is a library to handle input devices in Wayland compositors and to provide a generic X.Org input driver.'
|
||||
homepage 'https://www.freedesktop.org/wiki/Software/libinput/'
|
||||
version '1.21.0'
|
||||
version '1.29.0'
|
||||
license 'MIT'
|
||||
compatibility 'aarch64 armv7l x86_64'
|
||||
source_url 'https://gitlab.freedesktop.org/libinput/libinput.git'
|
||||
@@ -11,36 +11,26 @@ class Libinput < Package
|
||||
binary_compression 'tar.zst'
|
||||
|
||||
binary_sha256({
|
||||
aarch64: 'c131c07fb1f1d4e9a59a47b30cfa53c7b0a9f746a35091c1576cf822a5b58637',
|
||||
armv7l: 'c131c07fb1f1d4e9a59a47b30cfa53c7b0a9f746a35091c1576cf822a5b58637',
|
||||
x86_64: 'c7961df2596c843e5822b2ac94c0d88ffc126bf9fdf3a3a6c985b8997a3fa789'
|
||||
aarch64: '8f990053478f54b3630415c53b0f8bd6f3ae61128bd1e533d6fcdd81fe40ef2d',
|
||||
armv7l: '8f990053478f54b3630415c53b0f8bd6f3ae61128bd1e533d6fcdd81fe40ef2d',
|
||||
i686: '23210fa0f78aef18c64121f7a2ee0c764877a5602743ce614ee6f9f07998cd61',
|
||||
x86_64: '5d71fda96eacee2fd12baff8213e4413294a0a5a77d9d9eb3b482d09222b3c97'
|
||||
})
|
||||
|
||||
depends_on 'mtdev'
|
||||
depends_on 'libevdev'
|
||||
depends_on 'libwacom'
|
||||
depends_on 'libunwind'
|
||||
depends_on 'libcheck'
|
||||
depends_on 'check' => :build
|
||||
depends_on 'eudev' # R
|
||||
depends_on 'glibc' # R
|
||||
# depends_on 'graphviz' => :build
|
||||
# depends_on 'gtk3' => :build
|
||||
depends_on 'libevdev' # R
|
||||
depends_on 'libunwind' => :build
|
||||
depends_on 'libwacom' # R
|
||||
depends_on 'libwacom' => :build
|
||||
depends_on 'mtdev' # R
|
||||
depends_on 'valgrind' => :build
|
||||
|
||||
# If debug-gui feature is required, uncomment following lines and remove "-Ddebug-gui=false" to enable it
|
||||
# depends_on 'graphviz' => :build
|
||||
# depends_on 'gtk3' => :build
|
||||
|
||||
def self.build
|
||||
system "meson setup #{CREW_MESON_OPTIONS} \
|
||||
-Ddebug-gui=false \
|
||||
-Ddocumentation=false \
|
||||
builddir"
|
||||
system 'meson configure --no-pager builddir'
|
||||
system 'ninja -C builddir'
|
||||
end
|
||||
|
||||
def self.check
|
||||
system 'ninja -C builddir test || true'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
||||
end
|
||||
meson_options '-Ddebug-gui=false \
|
||||
-Ddocumentation=false'
|
||||
end
|
||||
|
||||
@@ -4,7 +4,7 @@ require 'buildsystems/autotools'
|
||||
class Libunwind < Autotools
|
||||
description 'libunwind is a portable and efficient C programming interface (API) to determine the call-chain of a program.'
|
||||
homepage 'https://www.nongnu.org/libunwind/'
|
||||
version '1.8.1'
|
||||
version '1.8.2'
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/libunwind/libunwind.git'
|
||||
@@ -12,10 +12,10 @@ class Libunwind < Autotools
|
||||
binary_compression 'tar.zst'
|
||||
|
||||
binary_sha256({
|
||||
aarch64: '6a0a1ba55a3a5f646afc2d85f6974048f864f63ca27f3ce0f625bd356ded873c',
|
||||
armv7l: '6a0a1ba55a3a5f646afc2d85f6974048f864f63ca27f3ce0f625bd356ded873c',
|
||||
i686: '4be44a4f45332428aef90caa9894a290b7c2aede241554f010fb1da415d9f4a8',
|
||||
x86_64: '2ba5c2f4af19dc104f7dc64471935ddc03672dbf31874bfd3d8469ff6203178a'
|
||||
aarch64: '055e943710657c9ab452eac188e876f074228f1f212711c6e20570fd07c74dc9',
|
||||
armv7l: '055e943710657c9ab452eac188e876f074228f1f212711c6e20570fd07c74dc9',
|
||||
i686: '603a322abd5a8815f28f8f3e7774bab70119ed3396a81378e3bbc0dea6d52a1a',
|
||||
x86_64: 'd075e57a6088eb14daf353bc716125a3b25dc7d14465ca5615a96b8bb17b5fbc'
|
||||
})
|
||||
|
||||
depends_on 'gcc_lib' # R
|
||||
@@ -24,4 +24,12 @@ class Libunwind < Autotools
|
||||
depends_on 'zlib' # R
|
||||
|
||||
autotools_configure_options '--enable-ptrace'
|
||||
|
||||
def self.patch
|
||||
patches = [
|
||||
# Fix GCC 15 compat.
|
||||
['https://github.com/libunwind/libunwind/pull/831.patch', '4562c231f1051bd327cf27b6940445e5c0d83e5d8427a6ca36c9f0853b3e4a6d']
|
||||
]
|
||||
ConvenienceFunctions.patch(patches)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user