gtk+ not reproducible because of icon-theme.cache

OpenSubmitted by Ricardo Wurmus.
Details
3 participants
  • Danny Milosavljevic
  • Maxim Cournoyer
  • Ricardo Wurmus
Owner
unassigned
Severity
normal
Merged with
R
R
Ricardo Wurmus wrote on 11 Mar 2018 12:37
(address . bug-guix@gnu.org)
87d10au9l5.fsf@elephly.net
The gtk+-3.22.28 package is not reproducible because of a single file:

share/icons/hicolor/icon-theme.cache

The contents of this file appear not be sorted deterministically:

Toggle snippet (25 lines)
diffoscope /gnu/store/1qqyd1mhydh19qcis13kg3455lfm9vv5-gtk+-3.22.28/share/icons/hicolor/icon-theme.cache /tmp/gtk/share/icons/hicolor/icon-theme.cache
--- /gnu/store/1qqyd1mhydh19qcis13kg3455lfm9vv5-gtk+-3.22.28/share/icons/hicolor/icon-theme.cache
+++ /tmp/gtk/share/icons/hicolor/icon-theme.cache
│? 'showttf' not available in path. Falling back to binary comparison.
@@ -21,13 +21,13 @@
00000140: 0000 0000 ffff ffff 0000 0150 0000 016c ...........P...l
00000150: 6774 6b33 2d64 656d 6f2d 7379 6d62 6f6c gtk3-demo-symbol
00000160: 6963 2e73 796d 626f 6c69 6300 0000 0006 ic.symbolic.....
00000170: 0005 0004 0000 0000 0004 0004 0000 0000 ................
00000180: 0003 0004 0000 0000 0002 0004 0000 0000 ................
00000190: 0001 0004 0000 0000 0000 0004 0000 0000 ................
000001a0: 0000 0006 0000 01bc 0000 01c8 0000 01d4 ................
-000001b0: 0000 01e0 0000 01ec 0000 01fc 3232 7832 ............22x2
+000001b0: 0000 01e0 0000 01ec 0000 01f8 3332 7833 ............32x3
000001c0: 322f 6170 7073 0000 3136 7831 362f 6170 2/apps..16x16/ap
-000001d0: 7073 0000 3438 7834 382f 6170 7073 0000 ps..48x48/apps..
-000001e0: 3234 7832 342f 6170 7073 0000 3235 3678 24x24/apps..256x
-000001f0: 3235 362f 6170 7073 0000 0000 3332 7833 256/apps....32x3
-00000200: 322f 6170 7073 0000 2/apps..
+000001d0: 7073 0000 3234 7832 342f 6170 7073 0000 ps..24x24/apps..
+000001e0: 3438 7834 382f 6170 7073 0000 3232 7832 48x48/apps..22x2
+000001f0: 322f 6170 7073 0000 3235 3678 3235 362f 2/apps..256x256/
+00000200: 6170 7073 0000 0000 apps....

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
D
D
Danny Milosavljevic wrote on 11 Mar 2018 13:15
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 30767@debbugs.gnu.org)
20180311131511.6984dc50@scratchpost.org
Hi Ricardo,

just remove icon-theme.cache from gtk+. There's a profile hook to generate icon-theme.cache .
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqlHc8ACgkQ5xo1VCww
uqVNlgf9G/wu/oYmP/bNEfWLNcbTDtSD9hMxLnDcaD+hTVOEVdkTK+Q92mjItLB1
949GEPc8sIvUe2tKxiKMSROIpSceDIGE4GbroigIfyfDmzRZHM+f3ZZEyB7SHit5
F4GvCJvRxsEUNMkwyDOaVc16IdciVNMhEFAysE2CpeJ3lPW5HlFNl33RJsAg7y+u
4h9Av7xub6qJREvJgnYvrrvH+dASMqZxsiAr/RTs/ZiQ+IAM/V3E6lzfnKMpJ5sJ
E5lz98P2CAjfSPqAbNfQ8PvBI5Qcg5/5sezSjAFLOZLrfwkbj2tjcZaPr79dWX1+
0TlA/fst/NA47fRY9DSedyT3O5Ds2g==
=RWSW
-----END PGP SIGNATURE-----


D
D
Danny Milosavljevic wrote on 11 Mar 2018 13:21
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 30767@debbugs.gnu.org)
20180311132141.54779108@scratchpost.org
Then again usually people don't install gtk+ into their profiles.

gtk/updateiconcache.c scan_directory returns "directories".

Instead of that, return g_list_sort(directories, strcmp).
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqlH1UACgkQ5xo1VCww
uqWsFwgAizxWo5btRU9pr7LKeNKzYntoKn+yHk1WPv/IVUjhqwMgAlYZbiuBgR3g
+Lsw49I/Ugcld3fCuSQR0DeSdB/tL9rmW9wx9/S9Ipggbv60bMTBU3UQ5Do2k9QW
lKn3BuN6nMrVSMBbyZ8q/Pu2wrKSpwPHG/H+/M22TA3RnhAIhCWg9Nnb466U5eI6
I/SAJzigbntDAiuUTValmP9v+44RzcBFUCBV74CciUCNOoS6smt1zpmeqrF3LnI1
itvwRwtTFMytTCuUX1vpAENE0QrSxdZuU8gDGJeuzA2vkR8TM1qPNy9CXup4f1wT
uwQF+Y/GTBtcKnqRQfZPmzR3skaf7w==
=HhWa
-----END PGP SIGNATURE-----


R
R
Ricardo Wurmus wrote on 11 Mar 2018 15:02
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 30767@debbugs.gnu.org)
87a7veu2uk.fsf@elephly.net
Danny Milosavljevic <dannym@scratchpost.org> writes:

Toggle quote (2 lines)
> Then again usually people don't install gtk+ into their profiles.

They do if they choose to install python-matplotlib, which sadly
propagates gtk+.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
M
M
Maxim Cournoyer wrote on 21 Nov 2021 07:43
control message for bug #48534
(address . control@debbugs.gnu.org)
871r3ac8k3.fsf@gmail.com
merge 48534 30767
quit
?