[Pkg-sugar-devel] Bug#975374: sugar-calculate-activity: reproducible builds: Embeds build path in .desktop file

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


Source: sugar-calculate-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.Calculate.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/amd64/diffoscope-results/sugar-calculate-activity.html

  171 	Icon·=·/build/1st/sugar-calculate-activity-46/debian/sugar-calculate-activity//usr/share/sugar/activities/Calculate.activity/activity/calculate.svg	171 	Icon·=·/build/2/sugar-calculate-activity-46/2nd/debian/sugar-calculate-activity//usr/share/sugar/activities/Calculate.activity/activity/calculate.svg

There was a workaround applied to sugar-read-activity in the past, but
it was removed, though it still appears to be necessary. The attached
patch applies this workaround to sugar-calculate-activity.

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: 849 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-sugar-devel/attachments/20201121/2a9d3731/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/2a9d3731/attachment.sig>


More information about the pkg-sugar-devel mailing list