diff --git a/platform/debian/README.Debian b/platform/debian/README.Debian deleted file mode 100644 index 7762c69b8b66ca48097f4cd9f04c9cbb543d7885..0000000000000000000000000000000000000000 --- a/platform/debian/README.Debian +++ /dev/null @@ -1,6 +0,0 @@ -sflphoned for Debian --------------------- - -<possible notes regarding this package - if none, delete this file> - - -- jpbarrette <jean-philippe.barrette-lapierre@savoirfairelinux.com>, Thu, 10 Nov 2005 11:37:53 -0500 diff --git a/platform/debian/Release b/platform/debian/Release new file mode 100644 index 0000000000000000000000000000000000000000..5020eaf688e37bfb04013e7c8fbbe126a9ce2f27 --- /dev/null +++ b/platform/debian/Release @@ -0,0 +1,7 @@ +Archive : unstable +Version: 0.8.2-3 +Component : main +Origin : SFLphone +Label : sflphone +Architecture : i386 + diff --git a/platform/debian/SFLautopackage.sh b/platform/debian/SFLautopackage.sh new file mode 100755 index 0000000000000000000000000000000000000000..66acbd287775100813fe45de4f3ad557c97f3fd6 --- /dev/null +++ b/platform/debian/SFLautopackage.sh @@ -0,0 +1,89 @@ +#!/bin/sh + +# @author: Emmanuel Milou - emmanuel.milou@savoirfairelinux.com +# Build a binary debian package of sflphone +# Pre: make install of the all repository + +if [ $1 = "-h" ] +then + echo "Usage: ./sfl_debian.sh version arch" + echo "For instance: ./sfl_debian.sh 0.8.2 i386" + 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" + +# Package Infos +package="sflphone" +version="$1" +section="gnome" +priority="optional" +essential="no" +#size="1945" +arch="$2" +homepage="http://www.sflphone.org" +maintainer="SavoirFaireLinux Inc <emmanuel.milou@savoirfairelinux.com>" +desc="SFLphone - Answer the call\n SFLphone is meant to be a robust enterprise-class desktop phone. It is design with a hundred-calls-a-day receptionist in mind. It can work for you, too.\n .\n SFLphone is released under the GNU General Public License.\n .\n SFLphone is being developed by the global community, and maintained by Savoir-faire Linux, a Montreal, Quebec, Canada-based Linux consulting company." + +# Get the needed stuff + +echo "Gathering libraries, binaries and data ..." + +sfldir="sflphone_$1" +bindir="/usr/bin" +libdir="/usr/lib" +sharedir="/usr/share" +debdir="$sfldir/DEBIAN" + +#/usr/bin +mkdir -p $sfldir$bindir +cp $bindir/sflphoned $sfldir$bindir +cp $bindir/sflphone-gtk $sfldir$bindir + +#/usr/lib +mkdir -p $sfldir/usr/lib/sflphone/codecs +cp $libdir/libdbus-c++-1.so $sfldir$libdir +cp $libdir/libdbus-c++-1.so.0 $sfldir$libdir +cp $libdir/libdbus-c++-1.so.0.0.0 $sfldir$libdir +#/usr/lib/sflphone/codecs +cp $libdir/sflphone/codecs/libcodec_* $sfldir$libdir/sflphone/codecs/ + +#/usr/share/applications +mkdir -p $sfldir$sharedir/applications +cp $sharedir/applications/sflphone.desktop $sfldir$sharedir/applications/ +#/usr/share/dbus-1/services +mkdir -p $sfldir$sharedir/dbus-1/services +cp $sharedir/dbus-1/services/org.sflphone.SFLphone.service $sfldir$sharedir/dbus-1/services/ +#/usr/share/pixmaps +mkdir -p $sfldir$sharedir/pixmaps +cp $sharedir/pixmaps/sflphone.png $sfldir$sharedir/pixmaps +#/usr/share/sflphone +mkdir -p $sfldir$sharedir/sflphone/ringtones +cp $sharedir/sflphone/*.svg $sfldir$sharedir/sflphone +#/usr/share/sflphone/ringtones +cp $sharedir/sflphone/ringtones/* $sfldir$sharedir/sflphone/ringtones +#/usr/share/locale/fr/LC_MESSAGES +cp $sharedir/locale/fr/LC_MESSAGES/sflphone.mo $sfldir$sharedir/locale/fr/LC_MESSAGES + +# DEBIAN files +mkdir -p $debdir +# Create control file +control="$debdir/control" +touch $control +echo "Package: $package" > $control +echo "Version: $version" >> $control +echo "Section: $section" >> $control +#echo "Installed-Size: $size" >> $control +echo "Priority: $priority" >> $control +echo "Architecture: $arch" >> $control +echo "Essential: $essential" >> $control +echo "Depends: $dependencies" >> $control +echo "Homepage: $homepage" >> $control +echo "Maintainer: $maintainer" >> $control +echo "Description: $desc" >> $control + +# Create the debian package +echo "Build the debian package ... " +dpkg --build $sfldir ${sfldir}_$2.deb + diff --git a/platform/debian/SFLupdate.sh b/platform/debian/SFLupdate.sh new file mode 100755 index 0000000000000000000000000000000000000000..33c00891cb2f6afdad0a63c5446c97fd5c5b198b --- /dev/null +++ b/platform/debian/SFLupdate.sh @@ -0,0 +1,36 @@ +#!/bin/sh + +# @author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> +# Update the existing debian package wit the updated installation script +# Use it if you modify the installation scripts sflphone.preinst, sflphone.postrm or sflphone.prerm + +# you need the text base files: package and arch. They have just one line with respectively the name of the package and the architecture + +base_file="package arch" + +for i in $base_file +do + if [ ! -f $i ] + then + echo " Could not find the file $i " + exit 0 + fi +done + +package=`(cat package)` +arch=`(cat arch)` + +if [ ! -d $package ] +then + exit 0 +fi + +# Update installation scripts +cp sflphone.preinst $package/DEBIAN/preinst +cp sflphone.postrm $package/DEBIAN/postrm +cp sflphone.prerm $package/DEBIAN/prerm + +# Rebuild the debian package +dpkg --build $package ${package}_${arch}.deb 2> /dev/null + +echo "Done!" diff --git a/platform/debian/arch b/platform/debian/arch new file mode 100644 index 0000000000000000000000000000000000000000..5a9a476a8b7b3a362fa7925b74bda4a771cba262 --- /dev/null +++ b/platform/debian/arch @@ -0,0 +1 @@ +i386 diff --git a/platform/debian/changelog.in b/platform/debian/changelog.in index 2a1667b8a865bf674c3fa260e3006ba429e6c0d0..6c6fa9a64cb253353cb6b6c371acb4f81f1f76e1 100644 --- a/platform/debian/changelog.in +++ b/platform/debian/changelog.in @@ -1,6 +1,10 @@ -sflphoned (@VERSION@-1) unstable; urgency=low +sflphone (@VERSION@-1) unstable; urgency=low - * Initial Release. + * Internationalization of the GTK GUI + * English / French + * STUN support + * Slight modifications of the graphical interface ( tooltips, dialpad, ...) - -- Jean-Philippe Barrette-LaPierre <jean-philippe.barrette-lapierre@savoirfairelinux.com> Thu, 10 Nov 2005 11:37:53 -0500 + + -- Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Fri, 21 Mar 2008 11:37:53 -0500 diff --git a/platform/debian/control b/platform/debian/control index 0afa818231a48763617d09a6a8b74b66a23f6524..8dfddbad15ce1ccfefd989f67416d6ba37f5c8cb 100644 --- a/platform/debian/control +++ b/platform/debian/control @@ -1,16 +1,15 @@ -Source: sflphoned -Section: unknown +Package: sflphone +Version: 0.8.2-3 +Section: gnome Priority: optional -Maintainer: Yan Morin <yan.morin@savoirfairelinux.com> -Build-Depends: debhelper (>= 4.0.0), libcommoncpp2-dev (>= 1.3.14), libosip2-dev (>= 2.2.0), libccrtp-dev (>= 1.3.1), g++-4.0 -Standards-Version: 3.6.1 - -Package: sflphoned -Architecture: any -Depends: ${shlibs:Depends}, libcommoncpp2-1.3c2, libosip2-3 (>= 2.2.0), libccrtp1-1.3c2 (>= 1.3.1) -Recommends: sflphone-qt -Description: SFLPhoned is a VoIP daeamon with SIP protocol - SFLPhoned is a VoIP daemon with SIP and IAX protocols. It is controlled - by either a graphical user interface (sflphone-qt) or an interactive - command-line interface (sflphone-cli). - It is developped by Savoir-faire Linux Inc, Montreal, Quebec, Canada. +Architecture: i386 +Essential: no +Depends: 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 +Homepage: http://www.sflphone.org +Maintainer: SavoirFaireLinux Inc <emmanuel.milou@savoirfairelinux.com> +Description: SFLphone - Answer the call + SFLphone is meant to be a robust enterprise-class desktop phone. It is design with a hundred-calls-a-day receptionist in mind. It can work for you, too. + . + SFLphone is released under the GNU General Public License. + . + SFLphone is being developed by the global community, and maintained by Savoir-faire Linux, a Montreal, Quebec, Canada-based Linux consulting company. diff --git a/platform/debian/copyright b/platform/debian/copyright index f586bb4a6d9e713ab36f2f923dc297ad4b9a1640..8da0bb92a2290009163eb209eb3bbeacb9297c16 100644 --- a/platform/debian/copyright +++ b/platform/debian/copyright @@ -1,17 +1,17 @@ -This package was debianized by Jean-Philippe Barrette-LaPierre <jean-philippe.barrette-lapierre@savoirfairelinux.com> on -Thu, 10 Nov 2005 11:37:53 -0500. +This package was debianized by Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> +Fri, 21 Mar 2008 11:37:53 -0500. -It was downloaded from http://www.sflphone.org/releases/ +It was downloaded from the git repository of SFLphone: git://sflphone.org/git/sflphone.git Copyright: -Upstream Author(s): Jean-Philippe Barrette-LaPierre <jean-philippe.barrette-lapierre@savoirfairelinux.com> +SavoirFaire Linux Inc. License: -This software is copyright (c) 2004-2005 Savoir-Faire Linux inc. +This software is copyright (c) 2004-2008 Savoir-Faire Linux inc. You are free to distribute this software under the terms of -the GNU General Public License. +the GNU General Public License version 3. On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL'. diff --git a/platform/debian/dirs b/platform/debian/dirs index ca882bbb78588982a650ff2685c36fe51ae99ae3..3dbc5781ac576d8e1be6541ebb30750b84248f56 100644 --- a/platform/debian/dirs +++ b/platform/debian/dirs @@ -1,2 +1,7 @@ usr/bin -usr/sbin +usr/lib/sflphone/codecs +usr/share/applications +usr/share/dbus-1/services +usr/share/pixmaps +usr/share/sflphone/ringtones +usr/share/locale/fr/LC_MESSAGES diff --git a/platform/debian/files b/platform/debian/files index 73fb440c6baaf68e4ab1b1b46301b05627d0fbdb..1680c5532bf096dde001cd54ec088e176d5292d0 100644 --- a/platform/debian/files +++ b/platform/debian/files @@ -1 +1 @@ -sflphoned_0.7-1_i386.deb unknown optional +sflphoned_0.8-2_i386.deb diff --git a/platform/debian/menu.ex b/platform/debian/menu.ex deleted file mode 100644 index f9707c6bffd9b9e5da21feda2c70f61eb1a735bd..0000000000000000000000000000000000000000 --- a/platform/debian/menu.ex +++ /dev/null @@ -1,2 +0,0 @@ -?package(sflphoned):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\ - title="sflphoned" command="/usr/bin/sflphoned" diff --git a/platform/debian/package b/platform/debian/package new file mode 100644 index 0000000000000000000000000000000000000000..a36f1b17b4cfd6ed527fe618447af18c10ec12dd --- /dev/null +++ b/platform/debian/package @@ -0,0 +1 @@ +sflphone_0.8.2-3 diff --git a/platform/debian/sflphone.postrm b/platform/debian/sflphone.postrm new file mode 100755 index 0000000000000000000000000000000000000000..56801250786e23c392e1598602ed8593b4c64ff5 --- /dev/null +++ b/platform/debian/sflphone.postrm @@ -0,0 +1,15 @@ +#!/bin/sh + +# debian/postrm postremoval script for SFLphone + +if [ "$1" = "purge" ] +then + + # remove the user config file + rm -f $HOME/.sflphone/sflphonedrc + +fi + +exit 0 + +## ------------------------------------------------- diff --git a/platform/debian/sflphone.preinst b/platform/debian/sflphone.preinst new file mode 100755 index 0000000000000000000000000000000000000000..3c499ae487c9ecb8b047fc1a814d827f6b82eb08 --- /dev/null +++ b/platform/debian/sflphone.preinst @@ -0,0 +1,4 @@ +#!/bin/sh + +# Debian pre-installation script for sflphone +# exit 0 diff --git a/platform/debian/sflphone.prerm b/platform/debian/sflphone.prerm new file mode 100755 index 0000000000000000000000000000000000000000..0c58f10f7047c08e7db08d76251f9ba743abc564 --- /dev/null +++ b/platform/debian/sflphone.prerm @@ -0,0 +1,12 @@ +#!/bin/sh + +# DEBIAN/prerm - Preremoval script for SFLphone + +if [ "$1" = "remove" ] +then + + killall sflphoned + +fi + +exit 0 diff --git a/platform/debian/upload_to_rep.sh b/platform/debian/upload_to_rep.sh new file mode 100755 index 0000000000000000000000000000000000000000..d71df16f30a965065d9de237f743876d3388d715 --- /dev/null +++ b/platform/debian/upload_to_rep.sh @@ -0,0 +1,3 @@ +!#/bin/sh + +scp $1 sflphone_org@gpl.savoirfairelinux.net:/var/www/vhosts/sflphone.org/htdocs/debian/dists/unstable/main/binary-i386