[Pkg-sugar-devel] Bug#975373: sugar-read-activity: reproducible builds: Embeds build path in .desktop files

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Nov 21 10:06:28 GMT 2020


Source: sugar-read-activity
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpaths
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

In /usr/share/applications/org.laptop.sugar.ReadActivity.activity.desktop
the build path is embedded, which will presumably not be accessible in
the running system:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/armhf/diffoscope-results/sugar-read-activity.html

  165 	Icon·=·/build/1st/sugar-read-activity-123/debian/sugar-read-activity//usr/share/sugar/activities/Read.activity/activity/activity-read.svg	165 	Icon·=·/build/2/sugar-read-activity-123/2nd/debian/sugar-read-activity//usr/share/sugar/activities/Read.activity/activity/activity-read.svg

There was a workaround applied in the past, but it was removed, though
it still appears to be necessary. The attached patch reverts the removal
of the workaround.

Ideally, this would be fixed in sugar-toolkit-gtk3
src/sugar3/activity/bundlebuilder.py in the _install_desktop_file
function, but does not appear to be fixed as of 0.117.


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-embedded-build-paths-in-.desktop-files.patch
Type: text/x-diff
Size: 1063 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-sugar-devel/attachments/20201121/384eba03/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-sugar-devel/attachments/20201121/384eba03/attachment.sig>


More information about the pkg-sugar-devel mailing list