Skip to content

Commit

Permalink
debian: update to debhelper 13
Browse files Browse the repository at this point in the history
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
  • Loading branch information
freemangordon committed Feb 29, 2024
1 parent 42480b1 commit 44e16c6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 18 deletions.
1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

16 changes: 5 additions & 11 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
Source: hildon-status-menu
Section: x11
Priority: optional
Maintainer: Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
Build-Depends: debhelper (>= 5), cdbs, pkg-config, libhildon1-dev (>= 2.1.4), libdbus-1-dev (>= 1.0.2), libhildondesktop1-dev (>= 2.1.6), maemo-system-services-dev, maemo-launcher-dev (>= 0.23-1), mce-dev, autoconf, automake, libtool-bin, libdbus-glib-1-dev
Standards-Version: 3.8.0
Maintainer: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Build-Depends: debhelper-compat (= 13), pkg-config, libhildon1-dev (>= 2.1.4), libdbus-1-dev (>= 1.0.2), libhildondesktop1-dev (>= 2.1.6), maemo-system-services-dev, maemo-launcher-dev (>= 0.23-1), mce-dev, autoconf, automake, libtool-bin, libdbus-glib-1-dev
Standards-Version: 4.5.1
Vcs-Git: https://github.com/maemo-leste/hildon-status-menu.git
Vcs-Browser: https://github.com/maemo-leste/hildon-status-menu

Package: hildon-status-menu
Section: x11
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${launcher:Depends}
Description: Hildon Status Menu application

Package: hildon-status-menu-dbg
Section: devel
Architecture: any
Priority: extra
Depends: hildon-status-menu (= ${source:Version})
Description: Debug symbols for Hildon Status Menu application

22 changes: 17 additions & 5 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

#export DH_VERBOSE=1

ifeq (,$(findstring nolauncher,$(DEB_BUILD_OPTIONS)))
DEB_CONFIGURE_EXTRA_FLAGS = --enable-maemo-launcher
endif

DEB_DH_INSTALLCHANGELOGS_ARGS=--no-act

makebuilddir::
AUTOGEN_SUBDIR_MODE=1 NOCONFIGURE=yes ./autogen.sh
CFLAGS += -Werror

%:
dh $@ --with autoreconf

override_dh_autoreconf:
dh_autoreconf --as-needed

override_dh_auto_configure:
dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)

override_dh_auto_install:
dh_auto_install --destdir=debian/tmp

binary-install/hildon-status-menu::
override_dh_install:
dh_install
dh_installxsession -u 'post 15'
dh_maemolauncher
3 changes: 2 additions & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ hildon_status_menu_SOURCES = \
hd-display.c \
hd-display.h

hildon_status_menu_LDFLAGS = \
hildon_status_menu_LDADD = \
$(HILDON_LIBS) \
$(LIBHILDONDESKTOP_LIBS) \
$(GCONF_LIBS) \
$(X11_LIBS) \
$(MAEMO_LAUNCHER_LIBS)
hildon_status_menu_LDFLAGS = -Wl,--as-needed

0 comments on commit 44e16c6

Please sign in to comment.