[Pkg-voip-commits] [sflphone] 01/05: Imported Debian patch 0.9.8.4-1

Victor Seva Lopez maniac-guest at moszumanska.debian.org
Sun Aug 16 06:05:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

maniac-guest pushed a commit to branch master
in repository sflphone.

commit 70b593bb539ae265d2116125575bdfb2e507b5bf
Author: Francois Marier <francois at debian.org>
Date:   Tue Jun 22 12:27:46 2010 +1200

    Imported Debian patch 0.9.8.4-1
---
 debian/README.Debian                        |   9 +
 debian/changelog                            |  13 ++
 debian/compat                               |   1 +
 debian/control                              |  54 ++++++
 debian/copyright                            | 257 ++++++++++++++++++++++++++++
 debian/patches/gnome_desktop_entry_category |  15 ++
 debian/patches/series                       |   2 +
 debian/patches/transferring_typo            |  27 +++
 debian/rules                                | 116 +++++++++++++
 debian/sflphone-data.dirs                   |   1 +
 debian/sflphone-gnome.dirs                  |   1 +
 debian/sflphone-gnome.menu                  |   2 +
 debian/sflphone-kde.dirs                    |   1 +
 debian/sflphone-kde.menu                    |   2 +
 debian/source/format                        |   1 +
 debian/watch                                |   2 +
 16 files changed, 504 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..9f76de0
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,9 @@
+sflphone for Debian
+-------------------
+
+Once you have created an account on sip.sflphone.org, you can use the Echo Test
+number to make sure your sound settings are all good:
+
+  Dial *100
+
+ -- Francois Marier <francois at debian.org>  Thu, 06 Aug 2009 15:25:17 +1200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d613e00
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,13 @@
+sflphone (0.9.8.4-1) unstable; urgency=medium
+
+  * New upstream release
+    - fix FTBFS on powerpc, mips, hppa, s390
+    - fix FTBFS on sh4 architecture (closes: #586633)
+
+ -- Francois Marier <francois at debian.org>  Tue, 22 Jun 2010 12:27:46 +1200
+
+sflphone (0.9.8.3-1) unstable; urgency=low
+
+  * Initial release (Closes: #494928)
+
+ -- Francois Marier <francois at debian.org>  Thu, 03 Jun 2010 15:59:46 +1200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6e9c132
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,54 @@
+Source: sflphone
+Section: gnome
+Priority: extra
+Maintainer: Francois Marier <francois at debian.org>
+Build-Depends: debhelper (>= 7), autotools-dev, autoconf, automake, libpulse-dev, libsamplerate0-dev, libcommoncpp2-dev, libccrtp-dev, libcppunit-dev, libgsm1-dev, libspeex-dev, libtool, libgtk2.0-dev, libsexy-dev, libdbus-1-dev, libdbus-glib-1-dev, libnotify-dev, libasound2-dev, libspeexdsp-dev, libebook1.2-dev, uuid-dev, liblog4c-dev, libcelt-dev (>= 0.5), chrpath, libresample1-dev, libzrtpcpp-dev, check, libsrtp0-dev, libssl-dev, libpcre3-dev, gnome-doc-utils, libglib2.0-dev, libgnome [...]
+Standards-Version: 3.8.4
+Homepage: http://www.sflphone.org
+Vcs-Git: git://git.debian.org/git/collab-maint/sflphone.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/sflphone.git;a=summary
+
+Package: sflphone-daemon
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: SIP and IAX2 compatible VoIP phone - core daemon
+ SFLphone is a SIP/IAX2 compatible softphone for Linux. The SFLphone project's
+ goal is to create a robust enterprise-class desktop phone. While it can serve
+ home users very well, it is designed with a hundred-calls-a-day receptionist
+ in mind.
+ .
+ It features a flexible client/server architecture where the GTK+ client talks
+ to the daemon through DBus and is capable of handling multiple VoIP connections
+ at once.
+ .
+ This is the daemon package required by all SFLphone clients.
+
+Package: sflphone-data
+Architecture: all
+Depends: ${misc:Depends}
+Description: SIP and IAX2 compatible VoIP phone - common data
+ SFLphone is a SIP/IAX2 compatible softphone for Linux. The SFLphone project's
+ goal is to create a robust enterprise-class desktop phone. While it can serve
+ home users very well, it is designed with a hundred-calls-a-day receptionist
+ in mind.
+ .
+ It features a flexible client/server architecture where the GTK+ client talks
+ to the daemon through DBus and is capable of handling multiple VoIP connections
+ at once.
+ .
+ This package includes the data files required by all SFLphone clients.
+
+Package: sflphone-gnome
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, sflphone-daemon (= ${binary:Version}), sflphone-data (= ${source:Version})
+Description: SIP and IAX2 compatible VoIP phone - GNOME client
+ SFLphone is a SIP/IAX2 compatible softphone for Linux. The SFLphone project's
+ goal is to create a robust enterprise-class desktop phone. While it can serve
+ home users very well, it is designed with a hundred-calls-a-day receptionist
+ in mind.
+ .
+ It features a flexible client/server architecture where the GTK+ client talks
+ to the daemon through DBus and is capable of handling multiple VoIP connections
+ at once.
+ .
+ This is the graphical client for GNOME.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b66dc5e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,257 @@
+This package was debianized by:
+
+    Francois Marier <francois at debian.org> on Wed, 04 Mar 2009 13:16:45 +1300
+
+It was downloaded from:
+
+    https://projects.savoirfairelinux.com/projects/list_files/sflphone
+
+Upstream Author:
+
+    Savoir-Faire Linux Inc. <sflphoneteam at savoirfairelinux.com>
+
+Copyright:
+
+    Copyright (C) 2004-2010 Savoir-Faire Linux Inc.
+
+License:
+
+    This package is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 3 of the License, or
+    (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+    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.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-3'.
+
+The Debian packaging is:
+
+    Copyright (C) 2009-2010, Francois Marier <francois at debian.org>
+
+and is licensed under the GPL, see above.
+
+SFLPhone also includes the following code from other projects:
+
+  sflphone-common/libs/iax2: libiax - An implementation of Inter-Asterisk eXchange
+  Copyright (C) 1999 Mark Spencer
+                1999-2001 Linux Support Services, Inc.
+                2003-2004 Digium
+                2004-2005 Horizon Wimba, Inc.
+  Released under the terms of the GNU General Public License
+  Source URL: https://iaxclient.svn.sourceforge.net/svnroot/iaxclient/trunk/
+
+  sflphone-common/libs/utilspp:
+  Copyright (C) 2002-2004 Jean-Philippe Barrette-LaPierre
+  Released under the following license:
+
+    Permission is hereby granted, free of charge, to any person obtaining
+    a copy of this software and associated documentation files 
+    (cURLpp), to deal in the Software without restriction, 
+    including without limitation the rights to use, copy, modify, merge,
+    publish, distribute, sublicense, and/or sell copies of the Software,
+    and to permit persons to whom the Software is furnished to do so, 
+    subject to the following conditions:
+    
+    The above copyright notice and this permission notice shall be included
+    in all copies or substantial portions of the Software.
+    
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
+    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 
+    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
+    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+  sflphone-common/libs/dbus-c++: D-Bus++ - C++ bindings for D-Bus
+  Copyright (C) 2005-2007 Paolo Durante <shackan at gmail.com>
+  Released under the terms of the GNU Lesser General Public 
+  License 2.1 or later
+  Source URL: git://anongit.freedesktop.org/git/dbus/dbus-c++/
+
+  sflphone-client-gnome/src/widget:
+  Copyright (C) Pidgin developers
+  Released under the terms of the GNU General Public License
+  version 2 or later
+  Source URL : http://www.pidgin.im/
+
+  sflphone-client-gnome/src/contacts/addressbook:
+  Copyright (C) Deskbar-applet
+  Released under the terms of the GNU General Public License
+  version 2 or later
+  Source URL : http://projects.gnome.org/deskbar-applet/
+
+  sflphone-common/libs/pjproject: PJSIP - Open Source SIP Stack
+  Copyright (C) 2003-2008 Benny Prijono <benny at prijono.org>
+                2008-2009 Teluu Inc. (http://www.teluu.com)
+  Released under the terms of the GNU General Public License
+  version 2 or later
+  Source URL: http://www.pjsip.org/
+
+sflphone's customised version of the PJSIP project in turn includes
+the following third-party code:
+
+  ACE Timer Heap - Timer heap management Library
+  pjlib/timer.[hc]
+  Copyright (C) 1993-2006 Douglas C. Schmidt and his research group
+    at Washington University, University of California, Irvine, and
+    Vanderbilt University
+  Permission to distribute under the same terms as PJSIP (GPLv2+)
+
+  Alaw/Ulaw Converter
+  pjmedia/alaw_ulaw.c
+  Copyright (C) Sun Microsystems, Inc.
+    This source code is a product of Sun Microsystems, Inc. and is provided
+    for unrestricted use.  Users may copy or modify this source code without
+    charge.
+   
+    SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING
+    THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+    PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+   
+    Sun source code is provided with no support and without any obligation on
+    the part of Sun Microsystems, Inc. to assist in its use, correction,
+    modification or enhancement.
+   
+    SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+    INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE
+    OR ANY PART THEREOF.
+   
+    In no event will Sun Microsystems, Inc. be liable for any lost revenue
+    or profits or other special, indirect and consequential damages, even if
+    Sun has been advised of the possibility of such damages.
+
+  CRC32 Algorithm
+  pjlib-util/crc32.c
+  Released into the public domain
+
+  MD5 Hashing Algorithm
+  pjlib-util/md5.c
+  Released into the public domain
+
+  SHA1 Encryption
+  pjlib-util/sha1.c
+  Released into the public domain
+
+  GNU Getopt - Command line parsing library, part of GNU LIBC
+  pjlib-util/getopt.[hc]
+  Copyright (C) 1987-1997 Free Software Foundation, Inc.
+  Released the GNU Lesser General Public License 2.1 or later
+
+  PortAudio - Cross platform audio device abstraction
+  third_party/portaudio/
+  Copyright (C) 1999-2000 Phil Burk
+    Permission is hereby granted, free of charge, to any person obtaining
+    a copy of this software and associated documentation files
+    (the "Software"), to deal in the Software without restriction,
+    including without limitation the rights to use, copy, modify, merge,
+    publish, distribute, sublicense, and/or sell copies of the Software,
+    and to permit persons to whom the Software is furnished to do so,
+    subject to the following conditions:
+
+    The above copyright notice and this permission notice shall be
+    included in all copies or substantial portions of the Software.
+
+  Resample - High Quality Sample Rate Conversion
+  third_party/resample/
+  Copyright (C) 1994-2002 by Julius O. Smith III
+                2000 Bill Schottstaedt
+  Released the GNU Lesser General Public License 2.1 or later
+
+  GSM Codec 06.10 - GSM 06.10 Software Library 
+  third_party/gsm/
+  Copyright (C) 1992-1994 Jutta Degener & Carsten Bormann, Technische Universitaet Berlin
+    Any use of this software is permitted provided that this notice is not
+    removed and that neither the authors nor the Technische Universitaet Berlin
+    are deemed to have made any representations as to the suitability of this
+    software for any purpose nor are held responsible for any defects of
+    this software.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
+
+    As a matter of courtesy, the authors request to be informed about uses
+    this software has found, about bugs in this software, and about any
+    improvements that may be of general interest.
+
+  Speex
+  third_party/speex/
+  Copyright 2002-2005 Xiph.org Foundation, Jean-Marc Valin, EpicGames,
+                      David Rowe and Analog Devices
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+
+    - Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+
+    - Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+
+    - Neither the name of the Xiph.org Foundation nor the names of its
+    contributors may be used to endorse or promote products derived from
+    this software without specific prior written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+    ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+    A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR
+    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+  libSRTP - implements Secure RTP/RTCP (SRTP and SRTCP)
+  third_party/srtp/
+  Copyright (c) 2001-2006 Cisco Systems, Inc.
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+    
+      Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+    
+      Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution.
+    
+      Neither the name of the Cisco Systems, Inc. nor the names of its
+      contributors may be used to endorse or promote products derived
+      from this software without specific prior written permission.
+    
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+    FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+    COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+    INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+    OF THE POSSIBILITY OF SUCH DAMAGE.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
diff --git a/debian/patches/gnome_desktop_entry_category b/debian/patches/gnome_desktop_entry_category
new file mode 100644
index 0000000..af8071a
--- /dev/null
+++ b/debian/patches/gnome_desktop_entry_category
@@ -0,0 +1,15 @@
+Description: GNOME is not a valid category
+ Categories are defined here:
+   http://standards.freedesktop.org/menu-spec/1.0/apa.html
+Forwarded: yes
+Author: Francois Marier <francois at debian.org>
+Last-Update: 2010-05-11
+
+--- a/sflphone-client-gnome/sflphone.desktop.in
++++ b/sflphone-client-gnome/sflphone.desktop.in
+@@ -8,4 +8,4 @@ Icon=sflphone.svg
+ StartupNotify=true
+ Terminal=false
+ Type=Application
+-Categories=Network;Gnome;Telephony;
++Categories=Network;Telephony;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3c056fe
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+gnome_desktop_entry_category
+transferring_typo
diff --git a/debian/patches/transferring_typo b/debian/patches/transferring_typo
new file mode 100644
index 0000000..43d4d98
--- /dev/null
+++ b/debian/patches/transferring_typo
@@ -0,0 +1,27 @@
+Description: Typo in the word "transferring"
+Forwarded: yes
+Author: Francois Marier <francois at debian.org>
+Last-Update: 2010-05-20
+
+--- a/sflphone-client-gnome/doc/C/sflphone.xml
++++ b/sflphone-client-gnome/doc/C/sflphone.xml
+@@ -449,7 +449,7 @@
+         <!-- ==== End of Figure ==== -->
+ 	</sect2>
+ 
+-	<sect2><title>Transfering a call</title>
++	<sect2><title>Transferring a call</title>
+ 	<!-- ==== Figure ==== -->
+         <figure id="transfer-fig">
+             <title>Transfer button</title>
+--- a/sflphone-common/src/sip/sipvoiplink.cpp
++++ b/sflphone-common/src/sip/sipvoiplink.cpp
+@@ -1153,7 +1153,7 @@ SIPVoIPLink::transfer (const CallID& id, const std::string& to)
+         pj_cstr (&pjDest, dest.c_str());
+     }
+ 
+-    _info ("UserAgent: Transfering to %s", dest.c_str());
++    _info ("UserAgent: Transferring to %s", dest.c_str());
+ 
+     /* Create xfer client subscription. */
+     pj_bzero (&xfer_cb, sizeof (xfer_cb));
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..cd29607
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,116 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+
+config.status:
+	dh_testdir
+	# Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub sflphone-common/config.sub
+	cp -f /usr/share/misc/config.sub sflphone-client-gnome/config.sub
+	cp -f /usr/share/misc/config.sub sflphone-common/libs/pjproject/config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.sub sflphone-common/config.guess
+	cp -f /usr/share/misc/config.sub sflphone-client-gnome/config.guess
+	cp -f /usr/share/misc/config.sub sflphone-common/libs/pjproject/config.guess
+endif
+	cd sflphone-common/libs/pjproject && ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-ilbc-codec
+	cd sflphone-common && ./autogen.sh --prefix=/usr
+	cd sflphone-common && ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --disable-doxygen --without-ilbc
+	cd sflphone-client-gnome && ./autogen.sh --prefix=/usr
+	cd sflphone-client-gnome && ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+build: build-stamp
+
+build-stamp:  config.status 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	cd sflphone-common/libs/pjproject && $(MAKE)
+	cd sflphone-common && $(MAKE)
+	cd sflphone-client-gnome && $(MAKE)
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	cd sflphone-common/libs/pjproject && [ ! -f build.mak ] || $(MAKE) distclean
+	cd sflphone-common && [ ! -f Makefile ] || $(MAKE) distclean
+	cd sflphone-client-gnome && [ ! -f Makefile ] || $(MAKE) distclean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep  
+	dh_installdirs
+
+	# Add here commands to install the package into debian/sflphone.
+	cd sflphone-common && $(MAKE) DESTDIR=$(CURDIR)/debian/sflphone-daemon install
+	cd sflphone-client-gnome && $(MAKE) DESTDIR=$(CURDIR)/debian/sflphone-gnome install
+
+	# Remove a few files
+	rm -rf $(CURDIR)/debian/sflphone-daemon/usr/include
+	rm -f $(CURDIR)/debian/sflphone-daemon/usr/bin/dbusxx-*
+	rm -f $(CURDIR)/debian/sflphone-daemon/usr/bin/*Tester
+	rm -f $(CURDIR)/debian/sflphone-gnome/usr/bin/sflphone
+	rm -f $(CURDIR)/debian/sflphone-daemon/usr/lib/*.la
+	rm -f $(CURDIR)/debian/sflphone-daemon/usr/lib/*.a
+	rm -f $(CURDIR)/debian/sflphone-daemon/usr/lib/*.so
+
+	# Move architecture-independent files to the data package
+	mv $(CURDIR)/debian/sflphone-gnome/usr/share/sflphone/* $(CURDIR)/debian/sflphone-data/usr/share/sflphone/
+	mv $(CURDIR)/debian/sflphone-daemon/usr/share/sflphone/ringtones/ $(CURDIR)/debian/sflphone-data/usr/share/sflphone/
+	rmdir $(CURDIR)/debian/sflphone-gnome/usr/share/sflphone/
+	rmdir $(CURDIR)/debian/sflphone-daemon/usr/share/sflphone/
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs NEWS
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_perl
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/debian/sflphone-data.dirs b/debian/sflphone-data.dirs
new file mode 100644
index 0000000..aa2d27e
--- /dev/null
+++ b/debian/sflphone-data.dirs
@@ -0,0 +1 @@
+usr/share/sflphone
diff --git a/debian/sflphone-gnome.dirs b/debian/sflphone-gnome.dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/sflphone-gnome.dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/sflphone-gnome.menu b/debian/sflphone-gnome.menu
new file mode 100644
index 0000000..7f6f031
--- /dev/null
+++ b/debian/sflphone-gnome.menu
@@ -0,0 +1,2 @@
+?package(sflphone-gnome):needs="X11" section="Applications/Network/Communication"\
+  title="SFLphone" command="/usr/bin/sflphone-client-gnome"
diff --git a/debian/sflphone-kde.dirs b/debian/sflphone-kde.dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/sflphone-kde.dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/sflphone-kde.menu b/debian/sflphone-kde.menu
new file mode 100644
index 0000000..90d6d98
--- /dev/null
+++ b/debian/sflphone-kde.menu
@@ -0,0 +1,2 @@
+?package(sflphone-kde):needs="X11" section="Applications/Network/Communication"\
+  title="SFLphone" command="/usr/bin/sflphone-client-kde"
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3f4f264
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://projects.savoirfairelinux.com/projects/list_files/sflphone /attachments/download/[0-9]+/sflphone-([0-9.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/sflphone.git



More information about the Pkg-voip-commits mailing list