Switch avahi-tqt to cmake on Debian and Ubuntu

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 10 years ago
parent 12813cf7b0
commit 3186c3943a

@ -5,19 +5,11 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> XSBC-Original-Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uploaders: Timothy Pearson <kb9vqf@pearsoncomputing.net> Uploaders: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Build-Depends: debhelper, Build-Depends: debhelper,
cmake,
gcc, gcc,
cdbs, cdbs,
pkg-config, pkg-config,
python-support (>= 0.6),
libglib2.0-dev (>= 2.4),
libgtk2.0-dev (>= 2.14.0),
libexpat-dev,
libdbus-1-dev (>= 0.60),
python-gdbm (>= 2.4.3),
python-dbus,
python-gtk2 (>= 2.8.6-2),
libtqtinterface-dev, libtqtinterface-dev,
intltool (>= 0.35.0),
libavahi-common-dev, libavahi-common-dev,
libavahi-client-dev libavahi-client-dev
Standards-Version: 3.9.1 Standards-Version: 3.9.1

@ -1,25 +1,17 @@
#!/usr/bin/make -f #!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/class/cmake.mk
# Ensure at build time that the library has no dependencies on undefined # Ensure at build time that the library has no dependencies on undefined
# symbols, and speed up loading. # symbols, and speed up loading.
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-O1 export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-O1
DEB_CONFIGURE_EXTRA_FLAGS += \ # Build options
--prefix=/usr \ DEB_CMAKE_EXTRA_FLAGS := \
--enable-compat-libdns_sd \ -DCMAKE_SKIP_RPATH="OFF" \
--disable-mono --disable-monodoc \ -DCMAKE_VERBOSE_MAKEFILE="ON" \
--disable-gtk3 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo
--with-systemdsystemunitdir=/lib/systemd/system
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2) && echo xz || echo bzip2)
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
./autogen.sh --prefix=/usr
rm ./ChangeLog
touch debian/stamp-bootstrap

@ -5,19 +5,11 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> XSBC-Original-Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uploaders: Timothy Pearson <kb9vqf@pearsoncomputing.net> Uploaders: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Build-Depends: debhelper, Build-Depends: debhelper,
cmake,
gcc, gcc,
cdbs, cdbs,
pkg-config, pkg-config,
python-support (>= 0.6),
libglib2.0-dev (>= 2.4),
libgtk2.0-dev (>= 2.14.0),
libexpat-dev,
libdbus-1-dev (>= 0.60),
python-gdbm (>= 2.4.3),
python-dbus,
python-gtk2 (>= 2.8.6-2),
libtqtinterface-dev, libtqtinterface-dev,
intltool (>= 0.35.0),
libavahi-common-dev, libavahi-common-dev,
libavahi-client-dev libavahi-client-dev
Standards-Version: 3.9.1 Standards-Version: 3.9.1

@ -1,25 +1,17 @@
#!/usr/bin/make -f #!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/class/cmake.mk
# Ensure at build time that the library has no dependencies on undefined # Ensure at build time that the library has no dependencies on undefined
# symbols, and speed up loading. # symbols, and speed up loading.
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-O1 export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-O1
DEB_CONFIGURE_EXTRA_FLAGS += \ # Build options
--prefix=/usr \ DEB_CMAKE_EXTRA_FLAGS := \
--enable-compat-libdns_sd \ -DCMAKE_SKIP_RPATH="OFF" \
--disable-mono --disable-monodoc \ -DCMAKE_VERBOSE_MAKEFILE="ON" \
--disable-gtk3 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo
--with-systemdsystemunitdir=/lib/systemd/system
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2) && echo xz || echo bzip2)
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
./autogen.sh --prefix=/usr
rm ./ChangeLog
touch debian/stamp-bootstrap

@ -5,19 +5,11 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> XSBC-Original-Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uploaders: Timothy Pearson <kb9vqf@pearsoncomputing.net> Uploaders: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Build-Depends: debhelper, Build-Depends: debhelper,
cmake,
gcc, gcc,
cdbs, cdbs,
pkg-config, pkg-config,
python-support (>= 0.6),
libglib2.0-dev (>= 2.4),
libgtk2.0-dev (>= 2.14.0),
libexpat-dev,
libdbus-1-dev (>= 0.60),
python-gdbm (>= 2.4.3),
python-dbus,
python-gtk2 (>= 2.8.6-2),
libtqtinterface-dev, libtqtinterface-dev,
intltool (>= 0.35.0),
libavahi-common-dev, libavahi-common-dev,
libavahi-client-dev libavahi-client-dev
Standards-Version: 3.9.1 Standards-Version: 3.9.1

@ -1,25 +1,17 @@
#!/usr/bin/make -f #!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/class/cmake.mk
# Ensure at build time that the library has no dependencies on undefined # Ensure at build time that the library has no dependencies on undefined
# symbols, and speed up loading. # symbols, and speed up loading.
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-O1 export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-O1
DEB_CONFIGURE_EXTRA_FLAGS += \ # Build options
--prefix=/usr \ DEB_CMAKE_EXTRA_FLAGS := \
--enable-compat-libdns_sd \ -DCMAKE_SKIP_RPATH="OFF" \
--disable-mono --disable-monodoc \ -DCMAKE_VERBOSE_MAKEFILE="ON" \
--disable-gtk3 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo
--with-systemdsystemunitdir=/lib/systemd/system
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2) && echo xz || echo bzip2)
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
./autogen.sh --prefix=/usr
rm ./ChangeLog
touch debian/stamp-bootstrap

Loading…
Cancel
Save