Status of preliminary Debian 11 based GLFPE development DEB705 12 June 2021 GLF ------------------------------------------------------------------------------------------ In preparation for the release of Debian 11 "bullseye" sometime in summer 2021, GLF began in June to locate a recent build of Debian Mate Live ISO image. GLF used it and a base configuration for Debian Buster taken from the Debian Live Github site to generate an initial working replicable live build configuration. The first successful configuration capable of running "lb build" was DEB701. DEB701 included sudo and terminal extensions t the "caja" file manager, included "brasero" for burning DVDs, and gnome-disk-utility to allow burning ISO images to USB stick. The next step was to identify all packages available in "bullseye", compare them to those available in "buster", and look for missing libraries and applications. Fortunately, most prior ackages had a version available in the new release, but a few had been deprecated or were late being adapted. The most notable omission was that of the "open-cobol" package. After exhaustive side-by-side comparison, a final list was generated reflecting all packages installed into the latest "buster" version of GPERS, the comprehensive personal GLF Linux distribution. That list was incorporated into the next test configuration, DEB702. Initial experimentation with DEB702 showed a problem when all package names were added to the package-lists folder. At first, when all intended packages were added to the list, Internet connectivity stopped, making software updates and webpages unavailable. The local network still worked, allowing visibility of other machines on the LAN, but Internet access was killed. Exhaustive testing isolated the problem to a small list of culprit packages, the most likely being the gufw firewall app. Commenting out a small number of network applications such as gufw allowed all other packages to install while allowing normal Internet access. Another problem was that initial attempts to compile VIDE failed due to the missing libxp6 package, which has no Debian 11 candidate and older versions would not install on "bullseye". After experimentation it was determined that simply omitting reference to the libXp library was sufficient to allow VIDE to compile. The "utilsrc64" archive was edited to reflect omission of libXp altogether. Testing showed that the VICE C64 emulator did not run. It seems the upgrade from Vice 3.3 to 3.5 also changed to expected location of ROM files. Moving the files to the new location worked. The TRS80 emulation to serial terminal depends on a certain font being tied to the Mate terminal emulator (or the gnome terminal emulator). The font as built for "buster" did not immediately work for "bullseye". The fix for this font is weird, and took many iterations of "lb build" to discover and verify it. Regenerating the font with fontforge seemed to have fixed it, but on the next "lb build" it still did not work. The TRS80 font file was found to have the execute flag set, and GLF turned it off, however that did not immediately fix the problem. Installing fontforge package at first seemed to immediately fix it. After experimentation, GLF found that installing one of fontforge's depensdencies, "fonts-inconsolata", was sufficient to fix it, but it is unknown why. Unfortunately, that was not enough -- when built, the font was still unavailable. The thing GLF found that DID work was that the /usr/share/fonts/truetype/trs80 folder itself had a problem. It was somehow different than the others around it. Moving the TRS80 font file to another folder seemed to fix the problem mmediately, even without logoff-logon. The ultimate repair workaround placed the font directly in the "truetype/trs80" folder. A workaround script "patch_trs80_font.sh" was proven to work, which copies the font (under sudo) into the parent "truetype" font folder at runtime. By having this available, even if directly placing the font in the same position in the live build doesn't work, the script somehow get the attention of the font manager. It was verified in the prior DEB703 version that just placing the font in another (any) location still does not pick up the font, but the patch script (arbitrary copy) seems to work every time. An autostart now forces the font copy at login time. The "open-cobol" package and its support packages are not yet available in the Debian 11 repository. This may change in future, but meanwhile packages are available for "sid" (unstable) distribution, so those necessary files have been copied to packages.chroot folder to allow direct installation. Testing shows open-cobol to now work under "bullseye". Initial programming tests show most GLFPE source still compiles, but some errrors showed up in certain libraries. The errors were traced to a change in GCC 10 (fno-common) which forces a need for "extern" to be used for all exported variables in *.h header files. Many errors in opencv3_tutorial source were addressed by adding a "hacked" version of libopencv-ts package to packages.chroot. The package was modified by GLF from the "buster" version of the library by changing the version expected for its main dependency. It should be replaced as soon as Debian has a replacement in the repository. Other errors have been addressed to get all source to compile without error at this time. However, a known bug is still not addressed in "xkbd", which compiles and appears to run, but doesn't send keys to another window as designed. Initially, sound did not work properly on a Dell Inspirion desktop (Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller), though it worked fine on a Dell laptop. Further investigation showed it improved after deleting a backup audio config file, but now even though sound works on both line out and headphones, it does NOT cut off line out (speakers) when headphone is plugged in. Finally, found a couple of websites which allowed GLF to test a workaround: (1) https://superuser.com/questions/431079/how-to-disable-auto-mute-mode (2) https://bbs.archlinux.org/viewtopic.php?id=253729 GLF tried editing /etc/pulse/default.pa according to (2) to keep pulseaudio from undoing the fix, and (1) suggested a script to set the Auto-Mute mode and save it, then follow it up with pulseaudio --kill to reload pulseaudio. That script was set to autostart on login in DEB704. However, that had an undesirable side effects, causing either speakers or headphones to be available, but not both without special user action. Not what was wanted. Decided to revert to default configuration and skip the autostart script. At least in default mode both headphone and speakers/lineout work without attention. Initially, the "B-label" package which GLF used in "buster" to print labels with a Brother PT-1230 label printer had dependencies no longer available for "bullseye", and it appeared to be difficult to impossible to fix the issue. After much searching, found two solutions: a different, rudimentary but intriguing simple C-based set of tools to allow scripted printing if text, and the replacement update for B-label (finally found the author's site: https://apz.fi/blabel/). The cups driver for the printer is still installed (as it weas in "buster"), and both solutions have been tested OK. The new version of B-label is now included in packages.chroot. The latest version of Zoom app is now installed. Testing shows that contrary to numerous complaints seen on the web, Inkscape is fully capable of importing and exporting HPGL format files in its own limited format, which is sufficient for use in file conversions and use of plotters and vinyl cutters. It may not properly handle general *.PLT files in the newer version, but that is NOT a stopper. GLF is now satisfied that version 1.0.2 Inkscape is acceptable. TODO: (hopefully before full release of Debian 11 based GLFPE Linux) Essentially all functionality of the 600 series GLFPE (Debian 10) seems to be working under DEB705 (Debian 11). Only the mysterious sound configuration issue is partially unresolved. Though its default performance is usable with both line out (connected to speakers) and headphone both audible simultaneously, it would be nice to have more control. Either successfuly auto-mute line out when headphones are plugged in, or allow control of line out and headphone volume separately in some obvious and easy manner, such as at the taskbar. GLF plans to research alsamixer for special configurations and come up with a suitable control script. As of this writing, a currently unsolved configuration issue is that the ISO file name is defaulting to "live-image-amd64.hybrid.iso" instead of following the specified name in the "build" config file. The workaround is to rename the file after producing it, but the configuration SHOULD support this directly. Several packages directly installed from .deb files are installed and apparently work but are not the latest available versions. GLF may need to download newer packages and/or recompile them from source.