Commit b8bba1d1 authored by Michael Biebl's avatar Michael Biebl

Convert from cdbs to dh.

parent f2a1b53b
......@@ -4,6 +4,7 @@ gucharmap (1:9.0.0-1) UNRELEASED; urgency=medium
* Bump Build-Depends on unicode-data accordingly.
* Refresh debian/patches/unicode-source-generation.patch.
* Instead of patching configure.ac, set PROG_UNZIP in debian/rules.
* Convert from cdbs to dh.
-- Michael Biebl <biebl@debian.org> Sat, 25 Jun 2016 02:46:53 +0200
......
......@@ -7,8 +7,7 @@ Section: gnome
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: Andreas Henriksson <andreas@fatal.se>, Michael Biebl <biebl@debian.org>
Build-Depends: cdbs,
dh-autoreconf,
Build-Depends: dh-autoreconf,
debhelper (>= 8),
autotools-dev,
desktop-file-utils,
......
......@@ -3,8 +3,7 @@ Section: gnome
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: @GNOME_TEAM@
Build-Depends: cdbs,
dh-autoreconf,
Build-Depends: dh-autoreconf,
debhelper (>= 8),
autotools-dev,
desktop-file-utils,
......
AUTHORS
NEWS
README
TODO
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2003 Colin Walters <walters@verbum.org>
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
DEB_DH_AUTORECONF_ARGS = --as-needed
export PROG_UNZIP = bunzip2
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc \
--enable-vala \
--enable-introspection \
--with-unicode-data=/usr/share/unicode/
%:
dh $@ --with autoreconf,gir,gnome
UNICODE_DATA_VERSION := $(shell dpkg-query -W -f'$${Version}' unicode-data | sed -e's/-.*//')
DEB_DH_GENCONTROL_ARGS_ALL = -- -VBuilt-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W unicode-data)"
override_dh_autoreconf:
dh_autoreconf --as-needed
clean::
rm -f intltool-extract intltool-merge intltool-update
rm -f po/.intltool-merge-cache
override_dh_auto_configure:
dh_auto_configure -- \
--enable-gtk-doc \
--enable-vala \
--enable-introspection \
--with-unicode-data=/usr/share/unicode/
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
override_dh_gencontrol:
dh_gencontrol -- -VBuilt-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W unicode-data)"
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