Skip to content
Snippets Groups Projects
Commit df8f91a5 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

update debian packaging stuff

parent 7c7e0eb1
No related branches found
No related tags found
No related merge requests found
Archive : unstable
Version: 0.8.2-3
Component : main
Version: 0.8.5
Component : universe
Origin : SFLphone
Label : sflphone
Architecture : i386
Architecture : all
......@@ -6,13 +6,13 @@
if [ $1 = "-h" ]
then
echo "Usage: ./sfl_debian.sh version arch"
echo "For instance: ./sfl_debian.sh 0.8.2 i386"
echo "Usage: ./autopackage.sh version arch"
echo "For instance: ./autopackage.sh 0.8.2 all"
exit 0
fi
# Libraries dependencies
dependencies="libgcc1 , libsamplerate0 (>=0.1.2) , libdbus-glib-1-2 (>= 0.73), libexpat1 , libgtk2.0-0 , gnome-common , libc6 (>= 2.3.6-6) , libglib2.0-0 (>= 2.12.0) , libosip2-3, libexosip2-5, libcommoncpp2-1.5.3-0 , libccrtp1-1.5-1 , libiax0 , libgtkglext1"
dependencies="libgcc1 , libsamplerate0 (>=0.1.2) , libdbus-glib-1-2 (>= 0.73), libexpat1 , libgtk2.0-0 , gnome-common , libc6 (>= 2.3.6-6) , libglib2.0-0 (>= 2.12.0) , libosip2-2, libexosip2-4, libcommoncpp2-1.6-0 , libccrtp1-1.6-0 , libiax0 , libgtkglext1"
# Package Infos
package="sflphone"
......@@ -40,6 +40,7 @@ debdir="$sfldir/DEBIAN"
mkdir -p $sfldir$bindir
cp $bindir/sflphoned $sfldir$bindir
cp $bindir/sflphone-gtk $sfldir$bindir
ln -sf $bindir/sflphone-gtk $sfldir$bindir/sflphone
#/usr/lib
mkdir -p $sfldir/usr/lib/sflphone/codecs
......@@ -89,3 +90,6 @@ echo "Description: $desc" >> $control
echo "Build the debian package ... "
dpkg --build $sfldir ${sfldir}_$2.deb
# Clean up the generated stuff
echo "Clean up ... "
rm -rf $sfldir
sflphone_0.8.2-3
sflphone_0.8.5
!#/bin/sh
scp $1 sflphone_org@gpl.savoirfairelinux.net:/var/www/vhosts/sflphone.org/htdocs/debian/dists/unstable/main/binary-i386
scp $1 root@gpl.savoirfairelinux.net:/var/www/vhosts/sflphone.org/htdocs/debian/dists/unstable/universe/binary-i386
......@@ -353,7 +353,7 @@ show_account_window (account_t * a)
/** @todo Verify if it's the best condition to check */
if (currentAccount->accountID == NULL) {
dbus_add_account(currentAccount);
account_list_set_current_id( currentAccount->accountID);
account_list_set_current_id( currentAccount->accountID );
}
else {
dbus_set_account_details(currentAccount);
......
......@@ -71,6 +71,8 @@ apply_callback( void )
}
dbus_add_account( current );
account_list_set_current_id( current->accountID );
}
void
......
......@@ -607,7 +607,7 @@ ManagerImpl::peerHungupCall(const CallID& id)
if (accountid == AccountNULL) {
_debug("peerHungupCall: Call doesn't exists\n");
return;
}
if (_dbus) _dbus->getCallManager()->callStateChanged(id, "HUNGUP");
if (isCurrentCall(id)) {
stopTone(true);
......@@ -1883,7 +1883,7 @@ ManagerImpl::sendRegister( const ::DBus::String& accountID , bool expire )
Account* acc = getAccount(accountID);
acc->loadConfig();
// Test on the value freshly updated
// Test on the freshly updated value
if ( acc->isEnabled() ) {
// Verify we aren't already registered, then register
_debug("Send register for account %s\n" , accountID.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment