<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=724&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Howto: Sylpheed 3.5.1 in Devuan Jessie]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=724</link>
		<description><![CDATA[The most recent posts in Howto: Sylpheed 3.5.1 in Devuan Jessie.]]></description>
		<lastBuildDate>Sat, 17 Jun 2017 18:46:30 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Howto: Sylpheed 3.5.1 in Devuan Jessie]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=2313#p2313</link>
			<description><![CDATA[<p>The version of the Sylpheed mail client in Devuan Jessie is 3.5.0~beta1. The current upstream stable release (3.5.1) is in the ASCII repositories. However, backporting Sylpheed from the source package in ASCII is tricky due to a change with the <em>gpgme</em> packages (<em>libgpgme11</em> in Jessie vs. <em>libgpgme</em> in ASCII). So, here&#039;s how to build it from source.</p><p><strong>1. Download and verify</strong></p><p>Get the source tar ball and the corresponding PGP signature from <a href="http://sylpheed.sraoss.jp/en/download.html" rel="nofollow">http://sylpheed.sraoss.jp/en/download.html</a> and verify your download by checking the signature. I have a directory called <em>src/</em> inside my home directory where I put source files of software I want to build, so Sylpheed&#039;s sources will go there as well.</p><div class="codebox"><pre><code>msi@devuan:~$ cd src/
msi@devuan:~/src$ wget http://sylpheed.sraoss.jp/sylpheed/v3.5/sylpheed-3.5.1.tar.gz http://sylpheed.sraoss.jp/sylpheed/v3.5/sylpheed-3.5.1.tar.gz.asc</code></pre></div><p>As you probably won&#039;t have the public key corresponding to the signature available, you will get the usual error trying to verify it:</p><div class="codebox"><pre><code>msi@devuan:~/src$ gpg --verify sylpheed-3.5.1.tar.gz.asc 
gpg: assuming signed data in `sylpheed-3.5.1.tar.gz&#039;
gpg: Signature made Fri Jul 29 09:41:09 2016 CEST using DSA key ID C00C2E26
gpg: Can&#039;t check signature: public key not found</code></pre></div><p>Get the key, using:</p><div class="codebox"><pre><code>msi@devuan:~/src$ gpg --recv-keys C00C2E26
gpg: requesting key C00C2E26 from hkp server keys.gnupg.net
gpg: key C00C2E26: public key &quot;Hiroyuki Yamamoto &lt;hiro-y@kcn.ne.jp&gt;&quot; imported
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   6  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 6u
gpg: next trustdb check due at 2019-06-08
gpg: Total number processed: 1
gpg:               imported: 1</code></pre></div><p>Then verify the signature:</p><div class="codebox"><pre><code>msi@devuan:~/src$ gpg --verify sylpheed-3.5.1.tar.gz.asc</code></pre></div><p>Successful verification will look like this:</p><div class="codebox"><pre><code>gpg: assuming signed data in `sylpheed-3.5.1.tar.gz&#039;
gpg: Signature made Fri Jul 29 09:41:09 2016 CEST using DSA key ID C00C2E26
gpg: Good signature from &quot;Hiroyuki Yamamoto &lt;hiro-y@kcn.ne.jp&gt;&quot;
gpg:                 aka &quot;Hiroyuki Yamamoto &lt;yamamoto@sraoss.co.jp&gt;&quot;
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 8CF3 A5AC 417A DE72 B0AA  4A83 5024 337C C00C 2E26</code></pre></div><p><strong>2. Install build dependencies</strong></p><p>Install packages required to build Sylpheed, running:</p><div class="codebox"><pre><code>root@devuan:/home/msi/src# apt-get build-dep sylpheed</code></pre></div><p><strong>3. Build Sylpheed</strong></p><p>Extract the tar archive and change into the newly created directory:</p><div class="codebox"><pre><code>msi@devuan:~/src$ tar xfz sylpheed-3.5.1.tar.gz
msi@devuan:~/src$ cd sylpheed-3.5.1/</code></pre></div><p>Building Sylpheed now is as simple as following the instructions given in the <em>INSTALL</em> file:</p><div class="codebox"><pre><code>msi@devuan:~/src/sylpheed-3.5.1$ ./configure
msi@devuan:~/src/sylpheed-3.5.1$ make</code></pre></div><p>(If you have more than one CPU you might want to use the &#039;&#039;-j&#039;&#039; option to speed things up (see &quot;man make&quot;).)</p><div class="codebox"><pre><code>msi@devuan:~/src/sylpheed-3.5.1$ su
Password:
root@devuan:/home/msi/src/sylpheed-3.5.1# make install</code></pre></div><p><strong>4. Install libsylph1</strong></p><p>If you run Sylpheed from the command line after the installation, there will the following error message:</p><div class="codebox"><pre><code>sylpheed: error while loading shared libraries: libsylpheed-plugin-0.so.1: cannot open shared object file: No such file or directory</code></pre></div><p>This is due a missing package and thus easily cured. Just install <em>libsylph1</em> and you&#039;re set:</p><div class="codebox"><pre><code>msi@devuan:~/src/sylpheed-3.5.1$ su
Password: 
root@devuan:/home/msi/src# apt-get install libsylph1</code></pre></div><p>(Btw, it&#039;s important to install this package after you&#039;ve installed Sylpheed, for some reason.)</p><p>Run the program:</p><div class="codebox"><pre><code>msi@devuan:~$ sylpheed</code></pre></div><p><strong>Source build and Devuan package</strong></p><p>For me, building Sylpheed from source is an interim soultion until Devuan ASCII becomes stable. At that point I will upgrade my system and switch over to the distribution package.</p><p>To simulate the transition from the source build to a distribtuion package, I first uninstalled Sylpheed by running &quot;make uninstall&quot; in the source directory:</p><div class="codebox"><pre><code>root@devuan:/home/msi/src/sylpheed-3.5.1# make uninstall</code></pre></div><p>Then I installed the package version from the Jessie repositories and tried to use that. This worked flawlessly. As Sylpheed holds all personal data and configuration in a directory called <em>.sylpheed-2.0</em> (that name should probably be changed upstream) inside your home directory, nothing will get lost, when you uninstall the program itself.</p><p>As I wasn&#039;t going to use the version from the repositories, I purged that package and then reinstalled the newer version built from source:</p><div class="codebox"><pre><code>root@devuan:/home/msi/src/sylpheed-3.5.1# apt-get purge sylpheed
root@devuan:/home/msi/src/sylpheed-3.5.1# make install</code></pre></div><p>This went well, but when I wanted to run Sylpheed I got the above error again, despite <em>libsylph1</em> being installed. So I purged and reinstalled that package:</p><div class="codebox"><pre><code>root@devuan:/home/msi/src/sylpheed-3.5.1# apt-get purge libsylph1
root@devuan:/home/msi/src/sylpheed-3.5.1# apt-get install libsylph1</code></pre></div><p>Problem solved.</p><p>So, I suppose that if you uninstall Sylpheed before upgrading to ASCII and then install the distribution package after the upgrade, that won&#039;t cause any problems.</p>]]></description>
			<author><![CDATA[dummy@example.com (msi)]]></author>
			<pubDate>Sat, 17 Jun 2017 18:46:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=2313#p2313</guid>
		</item>
	</channel>
</rss>
