Compiling the MUA mutt and making a click app of it (UNFINISHED)

We compile the MUA 'mutt' in the same jail as used above. It requires some more dev infrastructure:

# apt-get install libncursesw5-dev
phablet@ubuntu-phablet:~$ sudo chroot myRoot
root@ubuntu-phablet:/# su phablet
phablet@ubuntu-phablet:/$ cd
phablet@ubuntu-phablet:~$ cd mutt-1.5.23
phablet@ubuntu-phablet:~/mutt-1.5.23$

I configured mutt with the following values (in a small script c.sh):

$ cat c.sh
./configure --with-curses --with-sasl=/usr --disable-fcntl 
            --with-ssl=/usr --enable-external-dotlock --enable-pop 
            --enable-imap --disable-warnings --disable-flock 
            --enable-locales-fix --with-idn=no --disable-gpgme --enable-smtp 
            --enable-debug
$ make clean ; sh c.sh && make

the resulting bin needs the following shared libs:

$ ldd ./mutt
    libncursesw.so.5 => /lib/arm-linux-gnueabihf/libncursesw.so.5 (0xb6f9b000)
    libtinfo.so.5 => /lib/arm-linux-gnueabihf/libtinfo.so.5 (0xb6f70000)
    libssl.so.1.0.0 => /lib/arm-linux-gnueabihf/libssl.so.1.0.0 (0xb6f29000)
    libcrypto.so.1.0.0 => /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0 (0xb6e11000)
    libsasl2.so.2 => /usr/lib/arm-linux-gnueabihf/libsasl2.so.2 (0xb6df0000)
    libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6d02000)
    /lib/ld-linux-armhf.so.3 (0xb6fde000)
    libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6cee000)

and in addition (via libdl.so.2):

We move out of jail and create a top level dir for our new 'app'

In addition we need some files and the above mentioned shared libs below ~/mutt.clico:

The file mutt.sh sirves later to launch mutt with the correct environment:

With a well constructed .muttrc file it works fine to read (IMAPS) and send (SMTP AUTH) mails.

We even tried zo build our 1st 'click app' from this: construct the requested files:

and run:

install it with:

and try to register is (which fails):

after changing in the file mutt.click/ubuntu-mutt-app.desktop Terminal=false

the register goes fine, the icon is in the Applications but does not work because there is no way to start a click app which needs a terminal to run inside :-(

https://bugs.launchpad.net/ubuntu-terminal-app/+bug/1484412

Last updated: Sat Oct 17 16:11:03 CEST 2015

Last updated

Was this helpful?