Hi John,
On 26 April 2021 at 23:00, John Scott wrote:
| Source: gsl
| Version: 2.6+dfsg-2
| Severity: wishlist
|
| Examples are included in doc/examples along with text files that appear
| to contain the programs' output. You'll probably want to just install
| the *.c and *.h files though.
Well upstream appears to differ in that view and I tend to follow upstream
where possibly (as "they generally know best"). Worked well for the 22+ years
I maintained this...
edd@rob:~/deb/gsl(master)$ tar tvzf ../gsl_2.6.orig.tar.gz | grep examples/ | grep \.txt | wc -l
79
edd@rob:~/deb/gsl(master)$ tar tvzf ../gsl_2.6.orig.tar.gz | grep examples/ | grep \.txt | tail
-rw-r--r-- 57584/5000 474568 2018-11-14 15:27 gsl-2.6/doc/examples/siman_tsp.txt
-rw-r--r-- 57584/5000 150 2018-11-14 15:27 gsl-2.6/doc/examples/sortsmall.txt
-rw-r--r-- 57584/5000 64 2018-11-14 15:27 gsl-2.6/doc/examples/specfun.txt
-rw-r--r-- 57584/5000 114 2018-11-14 15:27 gsl-2.6/doc/examples/specfun_e.txt
-rw-r--r-- 57584/5000 690 2018-11-14 15:27 gsl-2.6/doc/examples/spmatrix.txt
-rw-r--r-- 57584/5000 166 2018-11-14 15:27 gsl-2.6/doc/examples/statsort.txt
-rw-r--r-- 57584/5000 154 2018-11-14 15:27 gsl-2.6/doc/examples/stat.txt
-rw-r--r-- 57584/5000 279 2018-11-14 15:27 gsl-2.6/doc/examples/sum.txt
-rw-r--r-- 57584/5000 51 2018-11-14 15:27 gsl-2.6/doc/examples/vectorr.txt
-rw-r--r-- 57584/5000 319 2018-11-14 15:27 gsl-2.6/doc/examples/vectorview.txt
edd@rob:~/deb/gsl(master)$
Seems like we should include them. Also, they are _small_. Are you really
that bothered by them?
Dirk
| I'd send a patch, but I frankly couldn't figure out how to do it with
| dh_installexamples. If you could commit this to Git, I could add a
| (superficial) DEP-8 test checking that they can be built. Perhaps if
| the text files do contain the examples' intended output, that could
| still make for a good comparison test.
|
| -- System Information:
| Debian Release: bullseye/sid
| APT prefers testing
| APT policy: (500, 'testing'), (2, 'unstable'), (1, 'testing-debug'), (1, 'experimental')
| Architecture: amd64 (x86_64)
| Foreign Architectures: i386
|
| Kernel: Linux 5.10.0-6-amd64 (SMP w/2 CPU threads)
| Kernel taint flags: TAINT_USER, TAINT_FIRMWARE_WORKAROUND
| Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
| LANGUAGE not set
| Shell: /bin/sh linked to /usr/bin/dash
| Init: systemd (via /run/systemd/system)
| LSM: AppArmor: enabled
|
| x[DELETED ATTACHMENT signature.asc, application/pgp-signature]