Skip to content

Commit

Permalink
[usb-moded] Require dbus-1 >= 1.8. Contributes to JB#51115
Browse files Browse the repository at this point in the history
Require libdbus >= 1.8 as required by dbus-gmain and use
DBUS prefix during pkgconfig in autotools.

Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
  • Loading branch information
Thaodan committed Sep 23, 2020
1 parent 966ac06 commit 3c365c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -97,9 +97,9 @@ AC_ARG_ENABLE([ofono], AS_HELP_STRING([--enable-ofono], [Enable ofono DBUS inter
esac],[ofono=false])
AM_CONDITIONAL([OFONO], [test x$ofono = xtrue])

PKG_CHECK_MODULES([DBUS], dbus-1 >= 1.8)
PKG_CHECK_MODULES([USB_MODED], [
glib-2.0 >= 2.24.0
dbus-1 >= 1.2.1
dbus-glib-1 >= 0.78
gobject-2.0 >= 2.16.6
gio-2.0
Expand Down
2 changes: 1 addition & 1 deletion rpm/usb-moded.spec
Expand Up @@ -7,7 +7,7 @@ URL: https://git.merproject.org/mer-core/usb-moded
Source0: %{name}-%{version}.tar.bz2
Source1: usb_moded.conf

BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-1) >= 1.8
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libudev)
Expand Down

0 comments on commit 3c365c6

Please sign in to comment.