<?xml version="1.0" encoding="utf-8" ?>

<?xml-stylesheet type="text/xsl" href="/templates/2k11/rss.xsl" media="screen" ?>
<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Daniel Lange's blog</title>
    <link>http://daniel-lange.com/</link>
    <description>agrep -pB IT /dev/life</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.6.0 - http://www.s9y.org/</generator>
    <pubDate>Wed, 06 May 2026 12:39:02 GMT</pubDate>

    <image>
    <url>//daniel-lange.com/uploads/Avatar_Blog_144_234.png</url>
    <title>RSS: Daniel Lange's blog - agrep -pB IT /dev/life</title>
    <link>http://daniel-lange.com/</link>
    <width>144</width>
    <height>234</height>
</image>

<item>
    <title>Saving misc/jive</title>
    <link>http://daniel-lange.com/archives/127-Saving-miscjive.html</link>
            <category>BSD</category>
    
    <comments>http://daniel-lange.com/archives/127-Saving-miscjive.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=127</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=127</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;One thing I love about FreeBSD is the way the core team keeps the wider community updated about project news e.g. via their quarterly status reports.
So while reading the &lt;a href=&quot;https://www.freebsd.org/news/status/report-2016-10-2016-12.html&quot;&gt;FreeBSD Q4/2016 status report&lt;/a&gt;, I was quite surprised to find that a text filter converting English to &lt;a href=&quot;https://en.wikipedia.org/wiki/Glossary_of_jive_talk&quot; title=&quot;Wikipedia entry on Jive talk&quot;&gt;&quot;Jive speak&quot;&lt;/a&gt; had been removed from the ports tree. FreeBSD Core members argue that &lt;i&gt;&quot;today the implicit approval implied by having it in the ports tree sends a message at odds with the project&#039;s aims.&quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;Now this is bullshit as I&#039;m sure FreeBSD core neither endorses Citrix (&lt;code&gt;net/citrix_ica&lt;/code&gt;) nor Cisco (&lt;code&gt;emulators/gna3&lt;/code&gt;, &lt;code&gt;devel/libcli&lt;/code&gt;, &lt;code&gt;graphics/py27-blockdiagcontrib-cisco&lt;/code&gt; and many more) but just hosts code to make living with them easier.&lt;/p&gt;

&lt;p&gt;So the important thing here is:&lt;/p&gt;

&lt;table style=&quot;vertical-align: middle;&quot;&gt;
&lt;tr&gt;&lt;td&gt;
&lt;img class=&quot;serendipity_image_left noborder&quot; width=&quot;48&quot; height=&quot;48&quot; hspace=&quot;20&quot; src=&quot;http://daniel-lange.com/uploads/icons/markup/info.png&quot; title=&quot;Important: Switch on brain and try to memorize.&quot; alt=&quot;Important: Switch on brain and try to memorize.&quot; /&gt;
&lt;/td&gt;
&lt;td&gt;
Hosting is not endorsing.&lt;br /&gt;
It is a purely technical act and by definition agnostic to the hosted content.
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;In every sane jurisdiction there is the requirement to remove hosted content that violates a law. And that makes sense. It reflects the societal consensus what is still acceptable and what is not. This changes over time but there is a proven process in place for these changes to become relevant: political discussion and consequential law making.&lt;/p&gt;

&lt;p&gt;There is very deliberately never a law against bad taste and/or offensive humor. Where such a law still exists, you&#039;re in a somewhat underdeveloped jurisdiction. Because the hosting (pun intended) society has not matured sufficiently yet. This may happen due to overly conservative or self-protective ruling classes, ideological or religious blindness. None of these are desirable for society as a whole and the &lt;a href=&quot;http://www.dailydot.com/via/digital-self-defense-privacy-already-dead/&quot; title=&quot;Daily dot article: Digital self defense - Is privacy already dead? ... mentioning the scissors in your head concept in good context&quot;&gt;scissors in your head&lt;/a&gt; are paving the way to go back to darker ages. So don&#039;t. Be welcoming, be tolerant.&lt;/p&gt;

&lt;p&gt;Tolerance means accepting things you do not like. Not accepting just what endorses your personal taste, beliefs or state of mind.&lt;/p&gt;

&lt;p&gt;Does that mean, FreeBSD should continue to host the &quot;Jive&quot; filter? No, it&#039;s purely their choice. But their argument that hosting is endorsing is wrong. Inclusion into a FreeBSD media may be, like Debian strictly differentiates between the main archive, which it endorses, and &lt;a href=&quot;https://www.debian.org/doc/debian-policy/ch-archive#s-contrib&quot;&gt;contrib or non-free sections&lt;/a&gt; which it does not endorse. But still hosts regardless. So hosting is not endorsing.&lt;/p&gt;

&lt;p&gt;That said, here you go:&lt;/p&gt;

&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
  &lt;th&gt;File&lt;/th&gt;
  &lt;th&gt;Function&lt;/th&gt;
  &lt;th&gt;sha256&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
  &lt;td&gt;&lt;a href=&quot;http://daniel-lange.com/software/jive-1.1.tar.gz&quot; title=&quot;download source .tar.gz for jive: 4.6kB&quot;&gt;jive-1.1.tar.gz&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;Source to the &quot;Jive&quot; filter&lt;/td&gt;
  &lt;td&gt;3463d80ad159a27d9fcf87f163a7be5eba39dbf15c5156f052798b81271523f2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;&lt;a href=&quot;http://daniel-lange.com/software/ports_misc_jive.tar.gz&quot; title=&quot;download .tar.gz of the FreeBSD ports files for jive: 1.1kB&quot;&gt;ports_misc_jive.tar.gz&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;ports files to build the &quot;Jive&quot; filter under FreeBSD&lt;/td&gt;
  &lt;td&gt;47dc7b660d499d671daa18f992cdd348bd95c34e02874addd2bcf3e5c3f90b59&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;&lt;a href=&quot;http://daniel-lange.com/software/swedishchef.zip&quot; title=&quot;download mirror of swedishchef.zip: 62kB&quot;&gt;swedishchef.zip&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;mirror of swedishchef.zip&lt;/td&gt;
  &lt;td&gt;d0830b81aec6ad6a6ff824e1d80c9fa97d3a5447bad9f8a2b32dbd0dfb8df709&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;The last file above is a mirror of &lt;a href=&quot;https://web.archive.org/web/20170811005825/https://www.cs.utexas.edu/~jbc/home/chef.html&quot;&gt;files that used to be hosted by John B. Chambers&lt;/a&gt;. He had a &quot;chef&quot; cgi running there allowing the conversion of English text to &quot;Swedish Chef&quot;, &quot;Valley Girl&quot; or &quot;Pig Latin&quot;. And the &quot;Jive&quot; variant used the same Lex/Yacc/Flex files as the &lt;code&gt;misc/jive&lt;/code&gt; that used to be part of the FreeBSD ports tree and are conserved above.&lt;/p&gt;

&lt;p&gt;If you are interested in the public part of the discussion that happened &lt;em&gt;after&lt;/em&gt; &lt;code&gt;misc/jive&lt;/code&gt; was marked for removal from the ports tree, check out the &lt;a href=&quot;https://lists.freebsd.org/pipermail/freebsd-ports/2016-October/thread.html#105417&quot;&gt;freebsd-ports mailing list thread&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;P.S.: &lt;a href=&quot;http://www.freshports.org/misc/valspeak/&quot;&gt;Valspeak&lt;/a&gt; is still in the ports tree as &lt;code&gt;misc/valspeak&lt;/code&gt; ... just sayin&#039;.&lt;/p&gt;

&lt;p&gt;P.P.S.: &lt;code&gt;apt-cache show filters&lt;/code&gt; # Debian &amp;amp; Ubuntu. Awesome. &amp;#9825;&lt;/p&gt;

&lt;p&gt;P.P.P.S: (06.05.2026) replaced the link to John B. Chambers&#039; cgi with an archive.org link as this cgi is not offered any more&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Tue, 14 Feb 2017 10:15:00 +0000</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/127-guid.html</guid>
    <category>bsd</category>
<category>filter</category>
<category>freebsd</category>
<category>hosting</category>

</item>
<item>
    <title>Getting scanning to work with Gimp on Trixie</title>
    <link>http://daniel-lange.com/archives/195-Getting-scanning-to-work-with-Gimp-on-Trixie.html</link>
            <category>Debian</category>
    
    <comments>http://daniel-lange.com/archives/195-Getting-scanning-to-work-with-Gimp-on-Trixie.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=195</wfw:comment>

    <slash:comments>9</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=195</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Trixie ships &lt;a href=&quot;https://www.gimp.org/&quot; title=&quot;Gimp Homepage&quot;&gt;Gimp&lt;/a&gt; 3.0.4 and the 3.x series has gotten incompatible to &lt;a href=&quot;http://www.sane-project.org/sane-frontends.html&quot;&gt;XSane&lt;/a&gt;, the common frontend for scanners on Linux.&lt;/p&gt;

&lt;p&gt;Hence the maintainer, Jörg Frings-Fürst, has &lt;a href=&quot;https://git.jff.email/cgit/xsane.git/commit/?id=e94358be7216ead86f500f2f19420a61435eceec&quot;&gt;disabled the Gimp integration temporarily&lt;/a&gt; in response to a Debian bug &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088080&quot;&gt;#1088080&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;There seems to be no tracking bug for getting the functionality back but people have been commenting on Debian bug &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993293&quot;&gt;#993293&lt;/a&gt; as that is ... loosely related &lt;img src=&quot;http://daniel-lange.com/plugins/serendipity_event_emoticate/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; class=&quot;emoticon&quot; /&gt;.&lt;/p&gt;

&lt;p&gt;There are two options to get the Scanning functionality back in Trixie until this is properly resolved by an updated XSane in Debian (e.g. via trixie-backports):&lt;/p&gt;

&lt;p&gt;Lee Yingtong Li (RunasSudo) has created a Python script that calls XSane as a cli application and published it at &lt;a href=&quot;https://yingtongli.me/git/gimp-xsanecli/&quot;&gt;https://yingtongli.me/git/gimp-xsanecli/&lt;/a&gt;. This worked okish for me but needed me to find the scan in &lt;code&gt;/tmp/&lt;/code&gt; a number of times. This is a good stop-gap script if you need to scan from Gimp $now and look for a quick solution.&lt;/p&gt;

&lt;p&gt;Upstream has completed the necessary steps to get XSane working as a Gimp 3.x plugin at &lt;a href=&quot;https://gitlab.com/sane-project/frontend/xsane&quot;&gt;https://gitlab.com/sane-project/frontend/xsane&lt;/a&gt;. Unfortunately compiling this is a bit involved but I made a version that can be dropped into &lt;code&gt;/usr/local/bin&lt;/code&gt; or &lt;code&gt;$HOME/bin&lt;/code&gt; and works alongside Gimp and the system-installed XSane.&lt;/p&gt;

&lt;p&gt;So:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;code&gt;sudo apt install gimp xsane&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Download &lt;a href=&quot;http://daniel-lange.com/software/xsane-1.0.0-fit-003&quot;&gt;xsane-1.0.0-fit-003 (752kB, AMD64 executable for Trixie)&lt;/a&gt; and place it in &lt;code&gt;/usr/local/bin&lt;/code&gt; (as root)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;sha256sum /usr/local/bin/xsane-1.0.0-fit-003&lt;/code&gt;&lt;br /&gt;
# result needs to be af04c1a83c41cd2e48e82d04b6017ee0b29d555390ca706e4603378b401e91b2&lt;/li&gt;
&lt;li&gt;&lt;code&gt;sudo chmod +x /usr/local/bin/xsane-1.0.0-fit-003&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;# Link the executable into the Gimp plugin directory as the user running Gimp:&lt;br /&gt;
&lt;code&gt;mkdir -p $HOME/.config/GIMP/3.0/plug-ins/xsane/&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;ln -s /usr/local/bin/xsane-1.0.0-fit-003 $HOME/.config/GIMP/3.0/plug-ins/xsane/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Restart Gimp&lt;/li&gt;
&lt;li&gt;Scan from Gimp via File → Create → Acquire → XSane &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The source code for the &lt;code&gt;xsane&lt;/code&gt; executable above is available under GPL-2 at &lt;a href=&quot;https://gitlab.com/sane-project/frontend/xsane/-/tree/c5ac0d921606309169067041931e3b0c73436f00&quot;&gt;https://gitlab.com/sane-project/frontend/xsane/-/tree/c5ac0d921606309169067041931e3b0c73436f00&lt;/a&gt;. This points to the last upstream commit from 27. September 2025 at the time of writing this blog article.&lt;/p&gt;

&lt;h2&gt;Debugging help&lt;/h2&gt;

&lt;p&gt;(added 06.05.2026)&lt;br /&gt;
As some people in the comments seem to have issues with getting the plugin to work on their systems:&lt;/p&gt;

&lt;p&gt;Run &lt;code&gt;$HOME/.config/GIMP/3.0/plug-ins/xsane/xsane-1.0.0-fit-003 --version&lt;/code&gt; as a shell command line.&lt;/p&gt;

&lt;p&gt;This should output:&lt;/p&gt;

&lt;pre&gt;
xsane-1.0.0 (c) 1998-2022 Oliver Rauch
  E-mail: Oliver.Rauch@xsane.org
  package xsane-1.0.0-fit-003
  compiled with GTK-3.24.49
  with color management function
  with GIMP support, compiled with GIMP-3.0.4
  XSane output formats: jpeg, pdf(compr.), png, pnm, ps(compr.), tiff, txt
&lt;/pre&gt;

&lt;p&gt;If it doesn&#039;t, the shell may tell you what step of the instructions you missed (e.g. the +x attribute) or the loader shows what library you are missing on your system.&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Wed, 24 Dec 2025 09:00:00 +0000</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/195-guid.html</guid>
    <category>debian</category>
<category>scanner</category>
<category>trixie</category>
<category>updated</category>
<category>xsane</category>

</item>

</channel>
</rss>
