Bug#1142128: kf6-breeze-icons: patch to make the build reproducible

Jochen Sprickerhof <[email protected]> Wed, 15 Jul 2026 19:26:51 +0200
Newsgroups gmane.linux.debian.devel.qt-kde
Message-ID <178413641191.221182.663915430313552665.reportbug__2432.4450454273$1784136569$gmane$org@fenchel>
Source: kf6-breeze-icons
Version: 6.26.0-1
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: fileordering

Hi,

kf6-breeze-icon-theme is currently not reproducible:

https://reproduce.debian.net/all/forky.html#kf6-breeze-icon-theme

The attached patch fixes this.

Cheers Jochen
0001-symlink_duplicates.sh-order-by-name-for-reproducibil.patch (application/mbox, 933 B)
From 53ae855947ec484c71447c835b9d894d2d7693eb Mon Sep 17 00:00:00 2001
From: Jochen Sprickerhof <[email protected]>
Date: Wed, 15 Jul 2026 19:23:31 +0200
Subject: [PATCH] symlink_duplicates.sh: order by name for reproducibility

fdupes orders files by modification time by default. This leads to
randomness and makes the package not reproducibility. Order by filename
instead.
---
 debian/symlink_duplicates.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/symlink_duplicates.sh b/debian/symlink_duplicates.sh
index 3c52113..e20b85e 100644
--- a/debian/symlink_duplicates.sh
+++ b/debian/symlink_duplicates.sh
@@ -11,7 +11,7 @@ symlink_root=${1/%\//}
 symlink_search_path=$2
 
 target=""
-fdupes -q -r $symlink_search_path | while read line; do
+fdupes -q -o name -r $symlink_search_path | while read line; do
 	if [ -z "$line" ]; then
 		# New group of duplicate files begins
 		target=""
-- 
2.53.0