Bug#1142141: oxygen-icons: patch to make the build reproducible

Jochen Sprickerhof <[email protected]> Wed, 15 Jul 2026 21:18:55 +0200
Newsgroups gmane.linux.debian.devel.qt-kde
Message-ID <178414313575.536810.15985335920512017481.reportbug__16043.7563246646$1784143292$gmane$org@fenchel>
Source: oxygen-icons
Version: 5:6.2.0-1
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: fileordering

Hi,

oxygen-icons is currently not reproducible:

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

The attached patch fixes this.

Cheers Jochen
0001-symlink_duplicates.sh-order-by-name-for-reproducibil.patch (application/mbox, 929 B)
From ca0a4f94d0024d49356c858ee335fe2a66cc2b37 Mon Sep 17 00:00:00 2001
From: Jochen Sprickerhof <[email protected]>
Date: Wed, 15 Jul 2026 21:17:37 +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 de190f1..82867e0 100644
--- a/debian/symlink_duplicates.sh
+++ b/debian/symlink_duplicates.sh
@@ -13,7 +13,7 @@ symlink_root=${1/%\//}
 symlink_search_path=$2
 
 target=""
-fdupes -qr $symlink_search_path | while read line; do
+fdupes -o name -qr $symlink_search_path | while read line; do
 	if [ -z "$line" ]; then
 		# New group of duplicate files begins
 		target=""
-- 
2.53.0