Package: racket-common Version: 7.2+dfsg1-2 Severity: normal Hi David,
If one loads a .scrbl file in drracket, one sees a button "Scribble PDF" in the top bar, which when pressed generates an error complaining about 'open' not being found. This is due to 'open' not being available in Debian (AFAIK it's an OS/X thing) However there is 'gio open' (gio is from libglib2.0-bin) that does the same thing. There is also xdg-open from xdg-utils that I thought was supposed to do the same thing, but I notice that it seems to ignore my preference of PDF viewer whereas gio gets it right (another bug to report). The problem is here: https://salsa.debian.org/bremner/racket/blob/master/share%2Fpkgs%2Fdrracket%2Fscribble%2Ftools%2Fdrracket-buttons.rkt#L67 replacing 'open' on that line with 'gio open' (while having libglib2.0-bin installed) fixes this. I guess that one would need a recommends, or one could make the error message that results from gio not being available suggest installing the package. I'm afraid I've only looked at racket briefly so far, otherwise I'd have tried to come up with a patch for you. Anyway, thanks for packaging it -- It seems like a nice way to show my kids functional programming. Cheers, Phil. P.S. the debsums error below is because I did the edit mentioned, to test the fix. -- System Information: Debian Release: 10.2 APT prefers stable APT policy: (500, 'stable'), (99, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.2.0-0.bpo.3-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled racket-common depends on no packages. Versions of packages racket-common recommends: ii racket 7.2+dfsg1-2 ii racket-doc 7.2+dfsg1-2 ii sensible-utils 0.0.12 racket-common suggests no packages. -- no debconf information -- debsums errors found: debsums: changed file /usr/share/racket/pkgs/drracket/scribble/tools/drracket-buttons.rkt (from racket-common package)