-
Notifications
You must be signed in to change notification settings - Fork 11
Add mesa snapshot overlay #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
lumag
wants to merge
9
commits into
qualcomm-linux:main
Choose a base branch
from
lumag:mesa
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
818f7a0
scripts/build-deb: support preparing sources via the script
lumag 4f2aafc
overlay-debs: add Mesa snapshot
lumag 53e17b8
overlay-debs/mesa-snapshot: import patchset implementing RGB888 support
lumag 87c1132
overlay-debs/mesa-snapshot: pull in FP16 fixes
lumag ca86dfe
overlay-debs/mesa-snapshot: enable relevant OpenCL drivers by default
lumag ba0c2a3
overlay-debs/mesa-snapshot: use qcom-specific version
lumag 76162c8
mesa-snapshot.sh: quote shell variables
basak-qcom 801a273
mesa-snapshot.sh: ignore shellcheck false positive
basak-qcom 37bd828
mesa-snapshot: add README.md delta description
basak-qcom File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#! /bin/sh | ||
# | ||
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
COMMIT=${COMMIT:-origin/main} | ||
|
||
set -e | ||
|
||
DEB_FILE=${DSC_FILE%%.dsc}.debian.tar.xz | ||
ORIG_FILE=$(echo ${DSC_FILE} | sed -e 's/-.*/.orig.tar.xz/') | ||
|
||
rm -rf mesa | ||
git clone --depth 1 https://gitlab.freedesktop.org/mesa/mesa | ||
|
||
cd mesa | ||
git fetch --depth 1 origin ${COMMIT##origin/} | ||
|
||
date=$(git log -1 --format=%cd --date=format:%Y%m%d ${COMMIT}) | ||
subject=$(git log -1 --format="%h (\"%s\")" ${COMMIT}) | ||
version=25.2.0~git${date} | ||
|
||
rm -rf ../mesa-${version} | ||
mkdir ../mesa-${version} | ||
git archive --format=tar HEAD | tar x -C ../mesa-${version} | ||
|
||
cd ../mesa-${version} | ||
|
||
rm -rf debian | ||
tar xJf ${DEB_FILE} | ||
|
||
cat >> debian/changelog.tmp << EOF | ||
mesa (${version}-0) experimental; urgency=medium | ||
|
||
* Build git version from ${date}, commit ${subject} | ||
|
||
-- Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Wed, 11 Jun 2025 14:58:50 +0300 | ||
|
||
EOF | ||
cat debian/changelog >> debian/changelog.tmp | ||
mv debian/changelog.tmp debian/changelog | ||
|
||
# orig.tar.xz generation skips all .git* files, drop them from the source dir too. | ||
rm -rf .git* | ||
|
||
debian/rules regen_control | ||
debian/rules clean | ||
debian/rules gentarball | ||
|
||
rm -rf ../mesa | ||
|
||
rm ${DSC_FILE} ${DEB_FILE} ${ORIG_FILE}* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
dsc_url: "https://snapshot.debian.org/archive/debian/20250519T203618Z/pool/main/m/mesa/mesa_25.1.0-1.dsc" | ||
dsc_sha256sum: "d06c1b0ee300f096de2ac59a2e9583349ca79322612f4502baa5e78ff0be4290" | ||
debdiff_file: "mesa_25.2.0.debdiff" | ||
script: mesa-snapshot.sh | ||
suite: trixie | ||
env: | ||
COMMIT: 8d13fc447e346477bab7e1b587c55fe0451ee654 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would you mind changing the version to 0qcom1 so that all packages with qcom changes have a qcom version?