Skip to content
Snippets Groups Projects
Commit 7c16c3b3 authored by Jérémy Quentin's avatar Jérémy Quentin
Browse files

[#1412] make debian package building work

parent 085012fa
No related branches found
No related tags found
No related merge requests found
Current authors:
Jérémy Quentin <jeremy dot quentin at savoirfairelinux dot com>
......@@ -75,7 +75,7 @@ SET_SOURCE_FILES_PROPERTIES(
${configurationmanager_xml}
PROPERTIES
CLASSNAME ConfigurationManagerInterface
INCLUDE "../metatypes.h")
INCLUDE "metatypes.h")
QT4_ADD_DBUS_INTERFACE(
sflphone_client_kde_SRCS
......@@ -90,7 +90,7 @@ SET_SOURCE_FILES_PROPERTIES(
${callmanager_xml}
PROPERTIES
CLASSNAME CallManagerInterface
INCLUDE "../metatypes.h")
INCLUDE "metatypes.h")
QT4_ADD_DBUS_INTERFACE(
sflphone_client_kde_SRCS
......@@ -105,7 +105,7 @@ SET_SOURCE_FILES_PROPERTIES(
${instance_xml}
PROPERTIES
CLASSNAME InstanceInterface
INCLUDE "../metatypes.h")
INCLUDE "metatypes.h")
QT4_ADD_DBUS_INTERFACE(
sflphone_client_kde_SRCS
......
sflphone-client-kde (0.9.5-0ubuntu1~1.gbpf07060) SYSTEM; urgency=low
sflphone-client-kde (0.9.6-0ubuntu1~1.gbpf07060) SYSTEM; urgency=low
** SNAPSHOT build @f07060721d61850d67b89f24f0415d7237281886 **
......
......@@ -2,14 +2,13 @@ Source: sflphone-client-kde
Maintainer: SavoirFaireLinux Inc <jeremy.quentin@savoirfairelinux.com>
Section: kde
Priority: optional
Build-Depends: cmake (>=2.6), kdepimlibs5-dev (>=4.1.4), libcommoncpp2-dev (>=1.6.2)
Build-Depends: debhelper (>= 5), cmake (>=2.6), kdepimlibs5-dev (>=4.1.4), libcommoncpp2-dev (>=1.6.2)
Standards-Version: 3.7.3
Package: sflphone-client-kde
Priority: optional
Architecture: any
Depends: sflphone-common (>=0.9.5), libcommoncpp2-1.6-0, kdepimlibs5 (>=4.1.4), libqt4-dbus (>=4.4.3), libqt4-svg (>=4.4.3), libqtgui4 (>=4.4.3)
Replaces: sflphone
Conflicts: sflphone
Homepage: http://www.sflphone.org
......
......@@ -2,14 +2,13 @@ Source: sflphone-client-kde
Maintainer: SavoirFaireLinux Inc <jeremy.quentin@savoirfairelinux.com>
Section: kde
Priority: optional
Build-Depends: cmake (>=2.6), kdepimlibs5-dev (>=4.1.4), libcommoncpp2-dev (>=1.6.2)
Build-Depends: debhelper (>= 5), cmake (>=2.6), kdepimlibs5-dev (>=4.1.4), libcommoncpp2-dev (>=1.6.2)
Standards-Version: 3.7.3
Package: sflphone-client-kde
Priority: optional
Architecture: any
Depends: sflphone-common (>=0.9.5), libcommoncpp2-1.6-0, kdepimlibs5 (>=4.1.4), libqt4-dbus (>=4.4.3), libqt4-svg (>=4.4.3), libqtgui4 (>=4.4.3)
Replaces: sflphone
Conflicts: sflphone
Homepage: http://www.sflphone.org
......
......@@ -14,15 +14,13 @@ package=sflphone-client-kde
CXX = g++-4.0
# CFLAGS = -Wall -g
DEB_INSTALL_MANPAGES_sflphone_client_kde = sflphone.1 sflphone-client-kde.1
# DEB_INSTALL_PAGES_sflphone_client_kde = sflphone.1 sflphone-client-kde.1
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
mkdir build
cd build
cmake ..
cmake . -DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/$(package)/usr
touch configure-stamp
......@@ -33,7 +31,7 @@ build-arch: build-arch-stamp
build-arch-stamp: configure-stamp
# Add here commands to compile the arch part of the package.
$(MAKE)
$(MAKE)
touch $@
build-indep: build-indep-stamp
......@@ -48,7 +46,7 @@ clean:
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
[ ! -f Makefile ] || $(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
......@@ -73,7 +71,7 @@ install-arch:
dh_installdirs -s
# Add here commands to install the arch part of the package into
# debian/tmp.
$(MAKE) prefix=$(CURDIR)/debian/$(package)/usr install
$(MAKE) install
rm -rf $(CURDIR)/debian/$(package)/usr/include
dh_install -s
# Must not depend on anything. This is to be called by
......@@ -81,6 +79,7 @@ install-arch:
# in another 'make' thread.
binary-common:
pwd
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
......@@ -96,7 +95,7 @@ binary-common:
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
# dh_installman
dh_link
dh_strip
dh_compress
......
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