https://labs.parabola.nu/https://labs.parabola.nu/favicon.ico?15367742552021-08-17T10:49:05ZParabola Issue TrackerPackages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=164682021-08-17T10:49:05Zfreemor
<ul><li><strong>Priority</strong> changed from <i>bug</i> to <i>wish</i></li><li><strong>Status</strong> changed from <i>open</i> to <i>wont-fix</i></li></ul><p>lsd is blacklisted due to non-free depends. See:</p>
<pre>
$ grep lsd /usr/share/doc/your-freedom/blacklist.txt
lsd::parabola:2331:[uses-nonfree] Requires nonfree awesome-terminal-fonts
</pre> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=164692021-08-17T23:32:50Zkabo
<ul></ul><p>Hmm, I wonder if that was true, but isn't anymore. lsd readme says:</p>
<pre>
Install the patched fonts of powerline nerd-font and/or font-awesome. Have a look at the Nerd Font README for more installation instructions.
</pre>
<p>So font-awesome is not required. And Nerd Fonts are licensed under MIT according to <a class="external" href="https://github.com/ryanoasis/nerd-fonts/blob/master/readme.md#license">https://github.com/ryanoasis/nerd-fonts/blob/master/readme.md#license</a></p>
<p>I'm using the Hack font, which is libre.<br /><a class="external" href="https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Hack#license">https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Hack#license</a></p>
<p>Should I make a separate request to have lsd removed from the blacklist?</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=164712021-08-17T23:52:39Zbill-auger
<ul><li><strong>Related to</strong> <i><a class="issue tracker-4 status-2 priority-3 priority-default closed" href="/issues/2331">Freedom Issue #2331</a>: [awesome-terminal-fonts] Contains at least one nonfree logo</i> added</li></ul> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=164722021-08-17T23:59:58Zbill-auger
<ul><li><strong>Status</strong> changed from <i>wont-fix</i> to <i>info needed</i></li></ul><p>related to: <a class="issue tracker-4 status-2 priority-1 priority-lowest closed" title="Freedom Issue: [awesome-terminal-fonts] has logos for non-free software. (fixed)" href="https://labs.parabola.nu/issues/1648">#1648</a> and <a class="issue tracker-4 status-2 priority-3 priority-default closed" title="Freedom Issue: [awesome-terminal-fonts] Contains at least one nonfree logo (fixed)" href="https://labs.parabola.nu/issues/2331">#2331</a> (<a class="issue tracker-4 status-2 priority-3 priority-default closed" title="Freedom Issue: [awesome-terminal-fonts] Contains at least one nonfree logo (fixed)" href="https://labs.parabola.nu/issues/2331">#2331</a> is the blacklist reference)</p>
<p>the blacklisting protocol is to prefer librefication over deletion - i re-opened the ticket to determine if 'lsd' can be made to work without the blacklisted fonts, and if a recipe could be added to abslibre</p>
<p>if that does not happen, this ticket should explain why 'lsd' could not be rescued, and become the new reference for the 'lsd' entry</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=164732021-08-18T00:16:14Zbill-auger
<ul></ul><p>kabo -</p>
<p>do you have a PKGBUILD for this already?</p>
<p>would you be willing to maintain the package?</p>
<blockquote>
<p>Should I make a separate request to have lsd removed from the blacklist?</p>
</blockquote>
<p>this ticket should be sufficient - the bug report reference for the 'lsd' blacklist entry is <a class="issue tracker-4 status-2 priority-3 priority-default closed" title="Freedom Issue: [awesome-terminal-fonts] Contains at least one nonfree logo (fixed)" href="https://labs.parabola.nu/issues/2331">#2331</a>; so even this ticket was not necessary - blacklist rationales should be reflected on the referenced bug reports - or, the reference would need to change if the decision were on another ticket</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=164742021-08-18T02:10:32Zkabo
<ul></ul><p>Oh, hmm, reading through those past issues... nerdfonts definitely has the twitter logo in there, so nerdfonts probably doesn't make the cut either :/</p>
<p>Sorry for the confusion.</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=164752021-08-18T02:32:46Zkabo
<ul></ul><p>Ah, but I see nerdfonts does provide a font-patcher, which means you can generate your own font file and only include the glyphs you want. Look at the bottom of the page <a class="external" href="https://www.nerdfonts.com/">https://www.nerdfonts.com/</a></p>
<p>So one could generate a nerdfont that doesn't include the fontawesome stuff...?</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=164762021-08-18T05:04:32Zbill-auger
<ul></ul><p>easier, to use a font that parabola already has, if one is suitable</p>
<p>or better yet, to fix awesome-fonts, if that is possible</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173012022-04-24T10:24:27Zkabo
<ul></ul><p>I see ttf-nerd-fonts-symbols and ttf-font-awesome are available as packages in Parabola now, perhaps lsd could be included as well now?</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173122022-04-25T08:28:49Zbill-auger
<ul></ul><p>'ttf-font-awesome' and 'awesome-terminal-fonts' are probably not the same</p>
<p>'ttf-font-awesome' comes from <a class="external" href="https://github.com/FortAwesome/">https://github.com/FortAwesome/</a><br />'awesome-terminal-fonts' comes from <a class="external" href="https://github.com/gabrielelana/">https://github.com/gabrielelana/</a></p>
<p>me thinks this may be a case of too many people wishing to be "awesome" in the same arena</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173312022-04-25T23:29:45Zkabo
<ul></ul><p>Maybe... On the other hand, if I just download lsd from the github release page it seems to work fine with the fonts parabola provides, it shows icons correctly.<br /><a class="external" href="https://github.com/Peltoche/lsd/releases">https://github.com/Peltoche/lsd/releases</a></p>
<p>So it doesn't really require non-free fonts.</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173342022-04-26T02:49:42Zbill-auger
<ul></ul><p>if you downloaded it from github, you may have also downloaded those non-free fonts along with it</p>
<p>i just tried the parabola package, without 'awesome-terminal-fonts' installed - it works and does not complain; but all of he icons are generic unicode blocks, like: </p>
<p>it could also be that you have some other fonts installed on your system that i dont - if my example does not appear as a generic block, that could explain something</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173352022-04-26T02:52:43Zkabo
<ul></ul><p>Do you have ttf-nerd-fonts-symbols and ttf-font-awesome installed though?</p>
<p>The icon you posted shows up as a little document icon in my browser.</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173362022-04-26T02:59:57Zbill-auger
<ul></ul><p>if you would like to run the experiment, maybe you will get different results - this will simulate how the lsd package would behave, if that non-free dependency was removed</p>
<pre>
wget https://mirror.f4st.host/archlinux/community/os/x86_64/lsd-0.21.0-1-x86_64.pkg.tar.zst
wget https://mirror.f4st.host/archlinux/community/os/x86_64/lsd-0.21.0-1-x86_64.pkg.tar.zst.sig
sudo pacman-key --verify lsd-0.21.0-1-x86_64.pkg.tar.zst.sig
sudo pacman -U lsd-0.21.0-1-x86_64.pkg.tar.zst --assume-installed=awesome-terminal-fonts --assume-installed=your-freedom
</pre>
<p>that will ask you to remove your-freedom - you will need to re-install your-freedom later</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173372022-04-26T03:02:33Zbill-auger
<ul></ul><blockquote>
<p>The icon you posted shows up as a little document icon in my browser.</p>
</blockquote>
<p>then you have some fonts installed that i do not</p>
<p>i just installed ttf-nerd-fonts-symbols and ttf-font-awesome - those made no difference</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173382022-04-26T03:02:48Zkabo
<ul></ul><p>Yup, that works perfectly for me, lsd runs and shows the icons.</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173392022-04-26T03:04:41Zkabo
<ul></ul><p>bill-auger wrote:</p>
<blockquote>
<p>i just installed ttf-nerd-fonts-symbols and ttf-font-awesome - it made no difference</p>
</blockquote>
<p>Hmm, ok, I think I had to run fc-cache or something like that. But I'm sure you know what you're doing better than me here :)</p>
<p>This makes me wonder if some fonts have snuck onto my system somehow?</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173402022-04-26T03:07:22Zkabo
<ul><li><strong>File</strong> <a href="/attachments/1296">fc-list.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1296/fc-list.txt">fc-list.txt</a> added</li></ul><p>I ran "fc-list", this was the output. How can I see if there are any fonts there that shouldn't be there?</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173412022-04-26T03:07:45Zbill-auger
<ul></ul><p>that may be a good sign - we wuold need to determine which font package you have installed, that is casing the good behavior, then make 'lsd' depend on that</p>
<p>note that if you installed lsd from from github, using the sudo, you will need to revert that install if possible - sometimes it is not possible</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173422022-04-26T03:09:31Zkabo
<ul></ul><p>I never installed lsd from github using sudo, just</p>
<p>tar -xf lsd-xxx.tar.gz<br />cd lsd-xxx/<br />./lsd</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173432022-04-26T03:19:48Zkabo
<ul></ul><p>This looked like a prime candidate:<br />/home/kabo/.local/share/fonts/Hack-Regular.ttf: Hack:style=Regular</p>
<p>I've deleted that file, run fc-cache, and rebooted my laptop. lsd still works fine with the icons, so does the icon you posted. So it's not that.</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173442022-04-26T03:23:51Zbill-auger
<ul></ul><p>if have any fonts under /home/kabo/.local/share/fonts/, parabola did not put them there - you should move that entire directory out of the way for this experiment</p>
<pre>
$ mv /home/kabo/.local/share/fonts/ /home/kabo/local-share-fonts/
</pre>
<p>if lsd still works fine with those out of the way, show us what this command prints - this will report which fonts you have installed from parabola:<br /><pre>
$ for ea in $(LANG=C pacman -Sii fonts-meta | grep Depends | cut -d ':' -f 2) ; do pacman -Qi $ea &> /dev/null && echo $ea ; done
</pre></p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173452022-04-26T03:26:46Zkabo
<ul><li><strong>File</strong> <a href="/attachments/1297">output.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1297/output.txt">output.txt</a> added</li></ul><p>I've moved the entire directory now.<br />Output attached.</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173462022-04-26T03:27:53Zkabo
<ul></ul><p>The terminal I'm using is Kitty, with hack as the configured font. Not sure if that matters.</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173472022-04-26T06:39:04Zbill-auger
<ul></ul><p>'ttf-font-awesome' did the trick for me</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173512022-04-26T07:46:49Zbill-auger
<ul><li><strong>Related to</strong> <i><a class="issue tracker-4 status-9 priority-1 priority-lowest" href="/issues/2334">Freedom Issue #2334</a>: [otf-font-awesome][ttf-font-awesome] LICENSE asks to use brand icons only to represent the company, product, or service to which they refer</i> added</li></ul> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173522022-04-26T09:43:24Zbill-auger
<ul><li><strong>Assignee</strong> set to <i>bill-auger</i></li><li><strong>Status</strong> changed from <i>info needed</i> to <i>wont-fix</i></li></ul><p>sry, i tried - this is not going to happen - the arch package downloads about 100 undeclared rust dependencies in the prepare() function - none of them mention a license; and i can only guess that they are all binaries</p>
<p><a class="external" href="https://github.com/Peltoche/lsd/blob/master/Cargo.lock">https://github.com/Peltoche/lsd/blob/master/Cargo.lock</a></p>
<p>just for fun, i investigated one of them: 'ansi_term' - the dependency manifest above references another git repo, which is apparently a central lookup for the cargo package manager</p>
<blockquote>
<p>source = "registry+https://github.com/rust-lang/crates.io-index"</p>
</blockquote>
<p>after drilling down in that repo to find the actual reference for 'ansi_term', that is only yet more metadata, referencing what appears to be a binary package by name, version, and "yanked" status - that also does not mention any license, nor where the source code may be found</p>
<p><a class="external" href="https://github.com/rust-lang/crates.io-index/blob/master/an/si/ansi_term">https://github.com/rust-lang/crates.io-index/blob/master/an/si/ansi_term</a></p>
<blockquote>
<p>{"name":"ansi_term","vers":"0.2.0","deps":[],"cksum":"cd01719095c4343774405912f68715bf594d01dfe8c3f5f662b90cf9817cb3fa","features":{},"yanked":false}</p>
</blockquote>
<p>this would take many many hours to audit and package properly; and be ridiculously tedious to maintain properly - parabola does not want software like this; and parabola users would not want it either - this is a shining example of why you wont see many java, golang, javascript, or rust programs in distros - it is designed unashamedly distro-hostile, and libre-hostile</p>
<p>if someone wants to prove me wrong; that would be great; but im washing my hands of it</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=173532022-04-26T09:52:37Zkabo
<ul></ul><p>Wow, I had no idea rust programs could be so messy...<br />Thanks for your time and your patience looking into this!</p> Packages - Packaging Request #3081: lsdhttps://labs.parabola.nu/issues/3081?journal_id=179092022-08-06T22:38:37Zgap
<ul></ul><p><a class="user active" href="https://labs.parabola.nu/users/10112">kabo</a> I use exa, but as I reported in <a class="issue tracker-4 status-8 priority-3 priority-default" title="Freedom Issue: [exa] Nonfree icons (unconfirmed)" href="https://labs.parabola.nu/issues/3250">#3250</a>, it may need blacklisting too.</p>