Timo Aaltonen pushed to branch debian-unstable at X Strike Force / vulkan / 
vulkan-loader


Commits:
d373cde4 by Simon McVittie at 2026-08-04T09:52:55+03:00
d/rules: Remove generated loader/loader.rc during clean

If this file is regenerated (which is done during build) during a year
that is more recent than the package's original release date, its
contents will change, because upstream machine-generates its
claimed copyright date.

Helps: #1048652
Signed-off-by: Simon McVittie <[email protected]>

- - - - -
0732e5d8 by Simon McVittie at 2026-08-04T09:52:55+03:00
d/rules: Delete and re-create tests/**/generated

Otherwise they'll be regenerated during build, potentially with slightly
different contents.

Closes: #1048652
Signed-off-by: Simon McVittie <[email protected]>

- - - - -
ba8b6f63 by Simon McVittie at 2026-08-04T09:52:55+03:00
d/rules: Make the .orig tarball from gentarball more deterministic

Explicitly setting the sort order makes the order of items deterministic,
and explicitly setting the owner/group to root makes metadata closer
to deterministic. Datestamps are still dependent on the state of the
git tree.

Signed-off-by: Simon McVittie <[email protected]>

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -22,6 +22,9 @@ override_dh_clean:
        rm -rf debian/tmp-vulkan-headers
        rm -rf build-vulkan-headers
        rm -rf loader/generated
+       rm -f loader/loader.rc
+       rm -rf tests/framework/generated
+       rm -rf tests/framework/layer/generated
 
 override_dh_auto_configure:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
@@ -42,6 +45,8 @@ endif
 
 override_dh_auto_build:
        mkdir -p loader/generated
+       mkdir -p tests/framework/generated
+       mkdir -p tests/framework/layer/generated
        dh_auto_build -- loader_codegen
        dh_auto_build
 
@@ -62,6 +67,11 @@ override_dh_missing:
        dh_missing --fail-missing
 
 gentarball:
+       LC_COLLATE=C.UTF-8 \
        tar --transform 's,^,$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM)/,' \
                --exclude 'debian' --exclude-vcs \
+               --exclude loader/loader.rc \
+               --exclude tests/framework/generated \
+               --exclude tests/framework/layer/generated \
+               --sort=name --owner=root:0 --group=root:0 \
                -cJf ../$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.xz .



View it on GitLab: 
https://salsa.debian.org/xorg-team/vulkan/vulkan-loader/-/compare/be5af78029e848778e3e6fcc9044161b7e14965c...ba8b6f63ba562d7f197076b2e1fb26491d12581e

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/vulkan/vulkan-loader/-/compare/be5af78029e848778e3e6fcc9044161b7e14965c...ba8b6f63ba562d7f197076b2e1fb26491d12581e
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


Reply via email to