Commit 0b922136 authored by Guillaume Beraudo's avatar Guillaume Beraudo

Make deb

parent 5b7873ee
......@@ -10,7 +10,7 @@ ACLOCAL_FLAGS=-I$(top_srcdir)/m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = mediastreamer.pc
test:
unit-test:
cd tester && $(MAKE) test
## oRTP packaging methods:
......@@ -66,3 +66,68 @@ clean-local:
endif WITH_EPM
deb:
$(MAKE) dist
mv $(distdir).tar.gz ../mediastreamer2_$(VERSION).orig.tar.gz
dpkg-buildpackage -us -uc -sa
EXTRA_DIST += README-ANDROID \
build/android/Android.mk \
build/android/basedescs.h \
build/android/libmediastreamer2_AndroidConfig.h \
build/android/voipdescs.h \
build/git-pre-commit-hook \
build/iphone/basedescs.h \
build/iphone/voipdescs.h \
build/winmob/echo/echo.vcproj \
java/.classpath \
java/.project \
java/AndroidManifest.xml \
java/default.properties \
java/proguard.cfg \
java/res/layout-land/main.xml \
java/res/layout/main.xml \
java/res/menu/videocall_activity_menu.xml \
java/res/values/strings.xml \
java/src/org/linphone/mediastream/CpuUtils.java \
java/src/org/linphone/mediastream/Log.java \
java/src/org/linphone/mediastream/Version.java \
java/src/org/linphone/mediastream/video/AndroidVideoWindowImpl.java \
java/src/org/linphone/mediastream/video/capture/AndroidVideoApi5JniWrapper.java \
java/src/org/linphone/mediastream/video/capture/AndroidVideoApi8JniWrapper.java \
java/src/org/linphone/mediastream/video/capture/AndroidVideoApi9JniWrapper.java \
java/src/org/linphone/mediastream/video/capture/hwconf/AndroidCameraConfiguration.java \
java/src/org/linphone/mediastream/video/capture/hwconf/AndroidCameraConfigurationReader5.java \
java/src/org/linphone/mediastream/video/capture/hwconf/AndroidCameraConfigurationReader9.java \
java/src/org/linphone/mediastream/video/capture/hwconf/Hacks.java \
java/src/org/linphone/mediastream/video/display/GL2JNIView.java \
java/src/org/linphone/mediastream/video/display/OpenGLESDisplay.java \
jni/Application.mk \
src/android/libneon/Android.mk \
src/android/libneon/libneon_jni.cc \
src/filter-template.c \
src/ortp-deps/README \
src/ortp-deps/ortp-config-win32.h \
src/ortp-deps/ortp-config.h \
src/ortp-deps/ortp/b64.h \
src/ortp-deps/ortp/logging.h \
src/ortp-deps/ortp/payloadtype.h \
src/ortp-deps/ortp/port.h \
src/ortp-deps/ortp/str_utils.h \
src/ortp-deps/update_ortp.sh \
src/ortp-deps/utils.h \
src/voip/scaler.h \
src/voip/scaler_arm.S \
tools/Android.mk \
tools/filters_graph.py \
tools/ios/en.lproj/InfoPlist.strings \
tools/ios/en.lproj/MainWindow.xib \
tools/ios/en.lproj/mediastreamViewController.xib \
tools/ios/mediastream-Info.plist \
tools/ios/mediastream-Prefix.pch \
tools/ios/mediastreamAppDelegate.h \
tools/ios/mediastreamAppDelegate.m \
tools/ios/mediastreamViewController.h \
tools/ios/mediastreamViewController.m \
tools/ring_jni.c
mediastreamer2 (1:2.9.0-1) unstable; urgency=low
* Subsequent release.
-- Guillaume Beraudo <guillaume.beraudo@linphone.org> Wed, 30 Jan 2013 15:28:10 +0100
mediastreamer2 (2.8.2) unstable; urgency=low
* Initial Release.
-- Guillamue Beraudo <guillaume.beraudo@linphone.org> Fri, 3 May 2012 13:58:16 +0200
Source: mediastreamer2
Section: sound
Priority: optional
Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Uploaders: Samuel Mimram <smimram@debian.org>, Kilian Krause <kilian@debian.org>, Faidon Liambotis <paravoid@debian.org>, Mark Purcell <msp@debian.org>, Lionel Elie Mamane <lmamane@debian.org>, Tzafrir Cohen <tzafrir@debian.org>
Build-Depends: debhelper (>= 8),
autoconf, automake, autotools-dev, libtool, pkg-config, intltool,
libglib2.0-dev,
libsrtp-dev [!hurd-any !sparc],
libasound2-dev [linux-any],
libv4l-dev [linux-any],
libspeex-dev, libspeexdsp-dev, libsamplerate0-dev, libxml-parser-perl, libgsm1-dev,
libtheora-dev,
libxv-dev,
libavcodec-dev, libreadline-dev, libsdl1.2-dev, libswscale-dev, doxygen
Standards-Version: 3.9.1
Homepage: http://www.linphone.org/
Vcs-Svn: svn://svn.debian.org/pkg-voip/linphone/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-voip/linphone/trunk/
Package: libmediastreamer1
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: linphone web phone's media library
Linphone is an audio and video internet phone using the SIP protocol. It
has a GTK+ and console interface, includes a large variety of audio and video
codecs, and provides IM features.
.
This package contains the shared runtime libraries for handling media
operations.
Package: libmediastreamer-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends}, libmediastreamer1 (= ${binary:Version}), libasound2-dev [linux-any], libortp-dev, libspeex-dev
Conflicts: libmediastreamer0-dev
Description: linphone web phone's media library
Linphone is an audio and video internet phone using the SIP protocol. It
has a GTK+ and console interface, includes a large variety of audio and video
codecs, and provides IM features.
.
This package contains the shared runtime libraries for handling media
operations.
Package: libmediastreamer1-dbg
Architecture: any
Depends: libmediastreamer1 (= ${binary:Version}), ${misc:Depends}
Section: debug
Priority: extra
Description: Debugging symbols for mediastreamer
.
This package was debianized by Samuel Mimram <samuel.mimram@ens-lyon.org> on
Wed, 30 Jun 2004 13:58:16 +0200.
It was downloaded from http://www.linphone.org/
Upstream Authors: Simon Morlat, Florian Wintertein, Aymeric Moizard, Sharath Udupa.
Copyright (C) 2001-2005 Simon Morlat
This program 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 2 of the License, or
(at your option) any later version.
On Debian systems you can find a copy of this license in
/usr/share/common-licenses/GPL.
Some libraries are under other copyrights / licenses:
* FFmpeg: Copyright (C) 2000, 2001 Gerard Lantau.
Released under the GNU General Public License
(see /usr/share/common-licenses/GPL)
* gsmlib: Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann,
Technische Universitaet Berlin
Released under the following license:
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.
Berlin, 28.11.1994
Jutta Degener
Carsten Bormann
* oRTP: Copyright (C) Simon Morlat
Released under the GNU Lesser General Public License
(see /usr/share/common-licenses/LGPL).
* osipua: Copyright (C) 2001 Simon Morlat and Aymeric Moizard
Released under the GNU Lesser General Public License
(see /usr/share/common-licenses/LGPL).
* speex: Copyright (C) 2002-2003 Jean-Marc Valin
Released under the following license:
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.
usr/share/doc/mediastreamer/mediastreamer-*/html/
usr/lib/libmediastreamer_base.so
usr/lib/libmediastreamer_voip.so
usr/lib/pkgconfig/mediastreamer.pc
usr/include/mediastreamer2/*.h
usr/lib/libmediastreamer_*.so.*
#!/bin/sh
deb_cur_version ()
{
dpkg-parsechangelog -c1 | sed -rne 's,^Version: ([^-]+).*,\1,p' | sed 's/.*://'
}
deb_package ()
{
dpkg-parsechangelog -c1 | sed -rne 's,^Source: (.*),\1,p'
}
conf_version ()
{
grep -r "AC_INIT" configure.ac | head -n1 |cut -d\[ -f2 | sed 's/\].*//'
}
# tag-offsetghash
git_version ()
{
git describe | awk '{split($0,c,"-"); print c[1]"-"c[2]c[3]}'
}
buildversion ()
{
}
builddeb ()
{
[ ! -f configure ] && ./autogen.sh
[ ! -f Makefile ] && ./configure
PACKAGE=`deb_package`
CUR_VERSION=`deb_cur_version`
if [ -d .git ]
then
[ ! -x git ] && echo "install git" && exit -1
NEXT_VERSION=`git_version`
else
NEXT_VERSION=`conf_version`
fi
grep "`echo $NEXT_VERSION | sed 's/\./\\\./g'`" debian/changelog
if [ $? -gt 0 ]
then
dch --newversion 1:$NEXT_VERSION -m "New version"
fi
make dist
rm -rf build-debian
mkdir -p build-debian
mv $(distdir).tar.gz build-debian/$(PACKAGE)_$(VERSION).orig.tar.gz
cd build-debian && tar -xvzf $(PACKAGE)_$(VERSION).orig.tar.gz
cd build-debian/$(PACKAGE)-$(VERSION) && DEB_BUILD_OPTIONS="nostrip debug" dpkg-buildpackage -us -uc
}
if [ "Xdeb" = "X$1 ]
then
rm -rf build-deb
cp -
fi
#!/usr/bin/make -f
%:
dh $@ --parallel --with autotools_dev
override_dh_auto_configure:
dh_auto_configure -- --disable-video
override_dh_makeshlibs:
dh_makeshlibs -V
override_dh_installchangelogs:
dh_installchangelogs NEWS
override_dh_strip:
dh_strip --dbg-package=libmediastreamer1-dbg
java/res/drawable-ldpi/icon.png
java/res/drawable-mdpi/icon.png
java/res/drawable-hdpi/icon.png
version=3
http://download.savannah.gnu.org/releases-noredirect/linphone/stable/sources/ linphone-([\d\.]+).tar.gz debian svn-upgrade
../libs
\ No newline at end of file
EXTRA_DIST=sounds/arpeggio_8000_mono.wav sounds/chimes_48000_stereo.wav \
sounds/nylon_48000_mono.wav sounds/piano_8000_stereo.wav \
sounds/bird_44100_stereo.wav sounds/laserrocket_16000_mono.wav \
sounds/owl_44100_mono.wav sounds/punch_16000_stereo.wav
if BUILD_TESTS
noinst_PROGRAMS=mediastreamer2_tester
TESTS=mediastreamer2_tester
mediastreamer2_tester_SOURCES= \
mediastreamer2_tester.c mediastreamer2_tester.h mediastreamer2_tester_private.c mediastreamer2_tester_private.h \
......
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