Source: ruby-gnuplot
Version: 2.6.2-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
ruby-gnuplot could not be built reproducibly.

This is because it ships a different binary package depending on
whether the testsuite is run or not. Specifically, sin_wave.gif is
generated in the tests only (not in the build); a patch is attached
that will delete this file and ensure it is not shipped in the
binary package.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-17 10:44:47.665764873 -0800
--- b/debian/rules      2025-11-17 10:53:34.786047911 -0800
@@ -5,3 +5,8 @@
 
 %:
        dh $@ --buildsystem=ruby --with ruby
+
+execute_after_dh_auto_install:
+       # sin_wave.gif is generated in dh_auto_install (not dh_auto_test)...
+       # but only if the tests are run.
+       rm -rvf examples/sin_wave.gif

Reply via email to