Hello, all. I built my own debs as the installation instructions for Squeeze (use the karmic debs) fails. The debs compiled and linked but the running the application fails with:
jsullivan@jasiiieee:~/Downloads/sflphone-1.0.1$ sflphone-client-gnome sflphone-client-gnome 0.9.14 Copyright (c) 2005 - 2011 Savoir-faire Linux Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License Version 3 <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. Additional permission under GNU GPL version 3 section 7: If you modify this program, or any covered work, by linking or combining it with the OpenSSL project's OpenSSL library (or a modified version of that library), containing parts covered by the terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc. grants you additional permission to convey the resulting work. Corresponding Source for a non-source form of such a combination shall include the source code for the parts of OpenSSL used as well as that of the covered work. <error> Addressbook: Error: Could not load addressbook <error> Failed to call get_audio_codec_list() on ConfigurationManager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. <error> No audio codecs found <error> Error while calling get_account_list: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. <error> Error while calling get_ip2_ip_details: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. <error> Error calling dbus_get_audio_manager <error> Error calling get history: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Segmentation fault My procedure for building the debs was: mkdir sflphone-git cd sflphone-git git init git clone http://git.sflphone.org/sflphone.git cd sflphone git archive --format=tar --prefix=sflphone-1.0.1/ HEAD | gzip > ../../sflphone-1.0.1/sflphone_1.0.1.orig.tar.gz cd ../../sflphone-0.9.14 tar zxfv *.gz We needed the source deb for the debian directory and we needed to install build dependencies. apt-get source sflphone apt-get build-dep sflphone apt-get build-dep fails to install libyaml-dev, libwebkit-dev, and libedataserverui1.2-dev so we need to do apt-get install libyaml-dev libwebkit-dev libedataserverui1.2-dev We copied in the debian directory to the new 1.0.1 directory. These are the needed changes to the debian directory if I recall them correctly. Edit debian/control by adding to the end of the Build-Depends line: , libyaml-dev, libwebkit-dev, libedataserverui1.2-dev Edit debian/patches/series to remove gnome_desktop_entry_category as it is no longer necessary. Edit debian/patches/transferring_typo by removing the first stanza for the changes to the documentation file as it is no longer necessary. The change to the cpp file IS still necessary. None of the patches seem necessary for sflphone-1.0.1 Remove LDFLAGS="-Wl,-z,defs" from your debian/rules - this was a temporary fix; I do not know if the underlying problem has been fixed in git HEAD making this step unnecessary. In our case, compilation would succeed but linking would fail if we did not make this change. It looks like this is still needed in 1.0.1 and the directory names changed with version 0.9.14 so we must do the following in the debian directory: sed -i -e "s/sflphone-common/daemon/g" -e "s/sflphone-client-gnome/gnome/g" -e 's/LDFLAGS="-Wl,-z,defs"//' rules copyright Add the following to the top of debian/changelog: sflphone (1.0.1-0.1) unstable; urgency=medium * NMU * New upstream release - upgraded to 1.0.1 -- John A. Sullivan III <[email protected]> Mon, 28 Nov 2011 22:16:46 -0500 The *NMU stands for Non Maintainer Upload cd .. debuild -us -uc cd .. The .deb files should be in this directory. What do we do next to get 1.0.1 to run on fully patched Debian Squeeze? Thanks - John _______________________________________________ SFLphone mailing list [email protected] http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
