mack75
November 25th, 2009, 03:46 AM
Hi:
Today I've upgraded my Ubuntu on my Laptop to 9.10 with a fresh installation.
I'm using the mail-notification program to checkout my inboxes, but, I prefer to use SSL to do that.
Previously I had used the short howto from this thread http://ubuntuforums.org/showthread.php?t=589115 but today it didn't work.
So, I had to work on it.
Here some instructions to append at the short howto:
Original Howto:
cd /tmp
apt-get source mail-notification
sudo apt-get build-dep mail-notification
sudo apt-get install libssl-dev fakeroot
cd mail-notification-4.1.dfsg.1
vi debian/rules (remove --disable-ssl in line 11)
dpkg-buildpackage -rfakeroot
sudo cp debian/mail-notification/usr/bin/mail-notification /usr/bin/mail-notification
Modified Howto:
cd /tmp
apt-get source mail-notification
We'll need some packages to build the dependencies:
+ libeel2 (https://launchpad.net/ubuntu/jaunty/i386/libeel2-2/2.26.0-0ubuntu2)
+ libeel2-data (https://launchpad.net/ubuntu/jaunty/i386/libeel2-data/2.26.0-0ubuntu2)
+ libeel2-dev (https://launchpad.net/ubuntu/jaunty/i386/libeel2-dev/2.26.0-0ubuntu2)
Download all of them and install all of them with "dpkg -i"
sudo apt-get build-dep mail-notification
sudo apt-get install libssl-dev fakeroot
cd mail-notification-5.4.dfsg.1 (thanks to rparker)
vi debian/rules (in line 31 change the ssl=no to ssl=yes)
Before to compile we need some packages:
sudo apt-get install gtkhtml3.8 libgtkhtml3.8-dev libgnomeprint2.2-dev libebook1.2-dev libgtkhtml-dev libgtkhtml-editor-dev
Now, we will make the symbolic links to avoid compilation errors:
cd /usr/include
sudo ln -s libgtkhtml-3.8/gtkhtml .
sudo ln -s libgnomeprint-2.2/libgnomeprint
sudo find libgtkhtml-3.14/editor/ -type f -exec ln -s {} . \;
Now, we will build the package:
dpkg-buildpackage -rfakeroot
Backup the original file:
sudo cp /usr/bin/mail-notification ~/mail-notification.ubuntu
sudo cp debian/mail-notification/usr/bin/mail-notification /usr/bin/mail-notification
Enjoy it! :popcorn:
Today I've upgraded my Ubuntu on my Laptop to 9.10 with a fresh installation.
I'm using the mail-notification program to checkout my inboxes, but, I prefer to use SSL to do that.
Previously I had used the short howto from this thread http://ubuntuforums.org/showthread.php?t=589115 but today it didn't work.
So, I had to work on it.
Here some instructions to append at the short howto:
Original Howto:
cd /tmp
apt-get source mail-notification
sudo apt-get build-dep mail-notification
sudo apt-get install libssl-dev fakeroot
cd mail-notification-4.1.dfsg.1
vi debian/rules (remove --disable-ssl in line 11)
dpkg-buildpackage -rfakeroot
sudo cp debian/mail-notification/usr/bin/mail-notification /usr/bin/mail-notification
Modified Howto:
cd /tmp
apt-get source mail-notification
We'll need some packages to build the dependencies:
+ libeel2 (https://launchpad.net/ubuntu/jaunty/i386/libeel2-2/2.26.0-0ubuntu2)
+ libeel2-data (https://launchpad.net/ubuntu/jaunty/i386/libeel2-data/2.26.0-0ubuntu2)
+ libeel2-dev (https://launchpad.net/ubuntu/jaunty/i386/libeel2-dev/2.26.0-0ubuntu2)
Download all of them and install all of them with "dpkg -i"
sudo apt-get build-dep mail-notification
sudo apt-get install libssl-dev fakeroot
cd mail-notification-5.4.dfsg.1 (thanks to rparker)
vi debian/rules (in line 31 change the ssl=no to ssl=yes)
Before to compile we need some packages:
sudo apt-get install gtkhtml3.8 libgtkhtml3.8-dev libgnomeprint2.2-dev libebook1.2-dev libgtkhtml-dev libgtkhtml-editor-dev
Now, we will make the symbolic links to avoid compilation errors:
cd /usr/include
sudo ln -s libgtkhtml-3.8/gtkhtml .
sudo ln -s libgnomeprint-2.2/libgnomeprint
sudo find libgtkhtml-3.14/editor/ -type f -exec ln -s {} . \;
Now, we will build the package:
dpkg-buildpackage -rfakeroot
Backup the original file:
sudo cp /usr/bin/mail-notification ~/mail-notification.ubuntu
sudo cp debian/mail-notification/usr/bin/mail-notification /usr/bin/mail-notification
Enjoy it! :popcorn: