Commit c0dd2aec authored by Emmanuel Milou's avatar Emmanuel Milou

[#18629] Add video packages and video metapackage

parent fc5d7151
This source diff could not be displayed because it is too large. You can view the blob instead.
Source: sflphone-client-gnome-video
Maintainer: SavoirFaireLinux Inc <julien.bonjean@savoirfairelinux.com>
Section: gnome
Priority: optional
Build-Depends: debhelper, libgcc1, autoconf, automake, libtool, libgconf2-dev, libgtk-3-dev, libdbus-glib-1-dev, libnotify4-dev | libnotify-dev (>= 0.7), check, liblog4c-dev, gnome-doc-utils, rarian-compat, libwebkitgtk-3.0-dev, librsvg2-common
Standards-Version: 3.7.3
Package: sflphone-client-gnome-video
Priority: optional
Architecture: any
Depends: sflphone-common (=${source:Version}), ${shlibs:Depends}, ${misc:Depends}
Replaces: sflphone-client-gnome
Conflicts: sflphone-client-gnome
Homepage: http://www.sflphone.org
Description: GNOME client for SFLphone, with video support
Provide a GNOME client for SFLphone.
SFLphone is meant to be a robust enterprise-class desktop phone.
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.
This package was debianized by Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> on
Fri, 3 Apr 2009 09:47:53 -0500.
It was downloaded from the git repository of SFLphone: git://sflphone.org/git/sflphone.git
Upstream Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
Copyright:
Savoir-Faire Linux Inc.
License:
This software is copyright (c) 2004-2011 Savoir-Faire Linux inc.
You are free to distribute this software under the terms of
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'.
This program 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, write to the Free Software
Foundation, Inc., 51 Franklyn St, Fifth Floor, Boston, MA 02110-1301, USA.
#
# Regular cron jobs for the sflphone package
#
0 4 * * * root sflphone_maintenance
usr/bin
usr/share/applications
usr/share/pixmaps
usr/share/sflphone
usr/share/locale
usr/share/doc
usr/share/man
debian/sflphone-client-gnome/usr/share/man/man1/sflphone-client-gnome.1
debian/sflphone-client-gnome/usr/share/man/man1/sflphone.1
#!/bin/sh -e
update-alternatives --install /usr/bin/sflphone sflphone /usr/bin/sflphone-client-gnome 100 \
--slave /usr/share/man/man1/sflphone.1.gz sflphone.1.gz \
/usr/share/man/man1/sflphone-client-gnome.1.gz
exit 0
#!/bin/sh
# postrm script for sflphone
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <overwriter>
# <overwriter-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
if [ "$1" = "purge" ]
then
# remove the user config file
rm -f $HOME/.sflphone/sflphonedrc
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#!/bin/sh
# postrm script for sflphone
#
# see: dh_installdeb(1)
set -e
package=sflphone-client-gnome
case "$1" in
install|upgrade)
## Clean up the previous manpage
if [ -f /usr/share/man/man1/sflphone-gtk.1 ]; then
rm /usr/share/man/man1/sflphone-gtk.1
fi
;;
esac
exit 0
#!/bin/sh -e
if [ "$1" = "remove" ]; then
# Remove alternatives symlink set in postinst
update-alternatives --remove sflphone /usr/bin/sflphone
fi
#!/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
export DH_OPTIONS
package=sflphone-client-gnome-video
CXX = g++-4.0
CFLAGS = -Wall -g
DEB_INSTALL_MANPAGES_sflphone_client_gnome_video = sflphone.1 sflphone-client-gnome.1
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
./autogen.sh
./configure --prefix=/usr --enable-video
touch configure-stamp
#Architecture
build: build-arch build-indep
build-arch: build-arch-stamp
build-arch-stamp: configure-stamp
# Add here commands to compile the arch part of the package.
$(MAKE)
touch $@
build-indep: build-indep-stamp
build-indep-stamp: configure-stamp
# Add here commands to compile the indep part of the package.
#$(MAKE) doc
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-arch-stamp build-indep-stamp configure-stamp
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
dh_clean
install: install-indep install-arch
install-indep:
dh_testdir
dh_testroot
dh_clean -k -i
dh_installdirs -i
# Add here commands to install the package into debian/sflphone.
install-arch:
dh_testdir
dh_testroot
dh_clean -k -s
dh_installdirs -s
# Add here commands to install the arch part of the package into
# debian/tmp.
$(MAKE) DESTDIR=$(CURDIR)/debian/$(package) install
dh_install -s
# Must not depend on anything. This is to be called by
# binary-arch/binary-indep
# in another 'make' thread.
binary-common:
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_python
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture independant packages using the common target.
binary-indep: build-indep install-indep
$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
# Build architecture dependant packages using the common target.
binary-arch: build-arch install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
This source diff could not be displayed because it is too large. You can view the blob instead.
Source: sflphone-common-video
Maintainer: SavoirFaireLinux Inc <julien.bonjean@savoirfairelinux.com>
Section: gnome
Priority: optional
Build-Depends: debhelper (>= 7.0.50), libgcc1, autoconf, automake, libpulse-dev, libsamplerate0-dev, libcommoncpp2-dev, libccrtp-dev, libgsm1-dev, libspeex-dev, libtool, libdbus-1-dev, libasound2-dev, libspeexdsp-dev, uuid-dev, libexpat1-dev, libzrtpcpp-dev, libssl-dev, libpcre3-dev, libyaml-dev, libdbus-c++-dev, libavcodec-dev, libavformat-dev, libswscale-dev, libavdevice-dev, libavutil-dev, libudev-dev
Standards-Version: 3.7.3
Package: sflphone-common-video
Priority: optional
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: sflphone-common
Conflicts: sflphone-common
Homepage: http://www.sflphone.org
Description: SIP and IAX2 compatible softphone - Core with video support
SFLphone is meant to be a robust enterprise-class desktop phone.
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.
This package was debianized by Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> on
Fri, 3 Apr 2009 09:47:53 -0500.
It was downloaded from the git repository of SFLphone: git://sflphone.org/git/sflphone.git
Upstream Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
Copyright:
Savoir-Faire Linux Inc.
License:
This software is copyright (c) 2004-2011 Savoir-Faire Linux inc.
You are free to distribute this software under the terms of
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'.
This program 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, write to the Free Software
Foundation, Inc., 51 Franklyn St, Fifth Floor, Boston, MA 02110-1301, USA.
#
# Regular cron jobs for the sflphone package
#
0 4 * * * root sflphone_maintenance
usr/bin
usr/lib
usr/lib/sflphone
usr/share/applications
usr/share/dbus-1/services
usr/share/sflphone/ringtones
usr/share/locale
usr/share/doc
usr/share/man
debian/sflphone-common/usr/share/man/man1/sflphoned.1
#!/bin/bash
# postinst script for sflphone-common
#
# see: dh_installdeb(1)
# Script to copy and move, if exists, configuration file sflphonedrc and history in the XDG directory
# Freedesktop specifications: http://standards.freedesktop.org/basedir-spec/latest/
set -e
INST_CONFIG="$HOME/.sflphone/sflphonedrc";
INST_DATA="$HOME/.sflphone/history";
INST_CACHE="$HOME/.sflphone/sfl.pid";
NEW_INST_CONFIG=
NEW_INST_DATA=
NEW_INST_CACHE=
# Set the XDG CONFIG directory to the default one or to the path set in the environment variable
if [ -z $XDG_CONFIG_HOME ]; then
NEW_INST_CONFIG=$HOME"/.config/sflphone/"; # This is the standard path
else
NEW_INST_CONFIG=$XDG_CONFIG_HOME;
fi;
# Set the XDG DATA directory to the default one or to the path set in the environment variable
if [ -z $XDG_DATA_HOME ]; then
NEW_INST_DATA=$HOME"/.local/share/sflphone/"; # This is the standard path
else
NEW_INST_DATA=$XDG_DATA_HOME;
fi;
# Move the configuration file
if [ -f $INST_CONFIG ] ; then
echo "Moving the configuration file into $NEW_INST_CONFIG directory";
if [ ! -d $NEW_INST_CONFIG ]; then
mkdir $NEW_INST_CONFIG;
fi
mv $INST_CONFIG $NEW_INST_CONFIG;
fi
# Move the history
if [ -f $INST_DATA ] ; then
echo "Moving the history file into $NEW_INST_DATA directory";
if [ ! -d $NEW_INST_DATA ]; then
mkdir $NEW_INST_DATA;
fi
mv $INST_DATA $NEW_INST_DATA;
fi
# Remove the directory
# rmdir $HOME"/.sflphone";
echo "You may remove the $HOME/.sflphone, the application won't use it anymore, but the XDG directories instead. Thank you.";
exit 0
#!/bin/sh
# postrm script for sflphone
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <overwriter>
# <overwriter-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
if [ "$1" = "purge" ]
then
# remove the user config file
rm -f $HOME/.sflphone/sflphonedrc
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#!/bin/sh
# postrm script for sflphone
#
# see: dh_installdeb(1)
set -e
package=sflphone
case "$1" in
install|upgrade)
# Clear the old dbus-c++ and iax2 if presents
;;
esac
exit 0
#!/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
export DH_OPTIONS
package=sflphone-common-video
CXX = g++-4.0
CFLAGS = -Wall -g
DEB_INSTALL_MANPAGES_sflphone_common_video = sflphoned.1
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
./autogen.sh
./configure --prefix=/usr --enable-video
cd libs/pjproject-2.0.1; CFLAGS=-fPIC ./configure
touch configure-stamp
#Architecture
build: build-arch
build-arch: build-arch-stamp
build-arch-stamp: configure-stamp
# Add here commands to compile the arch part of the package.
cd libs/pjproject-2.0.1; $(MAKE) dep; $(MAKE) clean; $(MAKE)
$(MAKE)
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-arch-stamp configure-stamp
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
dh_clean
install: install-arch
install-arch:
dh_testdir
dh_testroot
dh_clean -k -s
dh_installdirs -s
# Add here commands to install the arch part of the package into
# debian/tmp.
$(MAKE) DESTDIR=$(CURDIR)/debian/$(package) install
rm -rf $(CURDIR)/debian/$(package)/usr/include
dh_install -s
binary-common:
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
dh_installman
dh_link
dh_compress
dh_fixperms
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture dependant packages using the common target.
binary-arch: build-arch install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
override_dh_strip:
binary: binary-arch
.PHONY: build clean binary-arch binary install install-arch configure override_dh_strip
Package: sflphone-video
Section: gnome
Priority: optional
Architecture: all
Depends: sflphone-common-video, sflphone-client-gnome-video
Maintainer: Savoir-faire Linux Inc <emmanuel.milou@savoirfairelinux.com>
Description: GNOME client for SFLphone, with video support
Provide a GNOME client for SFLphone.
SFLphone is meant to be a robust enterprise-class desktop phone.
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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment