[gnome-packagekit] Don't link to UPower as it is not needed by anything



commit 2afddea3d56d6bf8464c586fc4f7b621e59b9abf
Author: Richard Hughes <richard hughsie com>
Date:   Mon Nov 4 15:22:50 2013 +0000

    Don't link to UPower as it is not needed by anything

 configure.ac                     |    2 --
 contrib/gnome-packagekit.spec.in |    2 --
 src/Makefile.am                  |    3 ---
 3 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 13f6faf..3490a6c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,8 +111,6 @@ PKG_CHECK_MODULES(DBUS, \
  gthread-2.0)
 PKG_CHECK_MODULES(GTK, \
  gtk+-3.0 >= 2.91.0 gdk-3.0 fontconfig)
-PKG_CHECK_MODULES(UPOWER, [
- upower-glib >= 0.9.0])
 PKG_CHECK_MODULES(CANBERRA, libcanberra-gtk3 >= 0.10)
 PKG_CHECK_MODULES(X11, x11)
 
diff --git a/contrib/gnome-packagekit.spec.in b/contrib/gnome-packagekit.spec.in
index da9a580..29dc44f 100644
--- a/contrib/gnome-packagekit.spec.in
+++ b/contrib/gnome-packagekit.spec.in
@@ -17,7 +17,6 @@ Requires:  PackageKit-device-rebind >= 0.5.0
 Requires:  shared-mime-info
 Requires:  iso-codes
 Requires:  libcanberra >= 0.10
-Requires:  upower >= 0.9.0
 Obsoletes: pirut < 1.3.31-2
 Provides:  pirut = 1.3.31-2
 
@@ -42,7 +41,6 @@ BuildRequires: fontconfig-devel
 BuildRequires: libcanberra-devel
 BuildRequires: libgudev1-devel
 BuildRequires: libxslt
-BuildRequires: upower-devel >= 0.9.0
 BuildRequires: docbook-utils
 BuildRequires: systemd-devel
 BuildRequires: polkit-devel
diff --git a/src/Makefile.am b/src/Makefile.am
index 22018d2..2c0e7d4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -13,10 +13,8 @@ AM_CPPFLAGS =                                                \
        $(GUDEV_CFLAGS)                                 \
        $(SYSTEMD_CFLAGS)                               \
        $(GNOME_MENUS_CFLAGS)                           \
-       -DI_KNOW_THE_UPOWER_API_IS_SUBJECT_TO_CHANGE    \
        -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE  \
        -DG_UDEV_API_IS_SUBJECT_TO_CHANGE               \
-       $(UPOWER_CFLAGS)                                \
        $(CANBERRA_CFLAGS)                              \
        -DBINDIR=\"$(bindir)\"                          \
        -DDATADIR=\"$(datadir)\"                        \
@@ -108,7 +106,6 @@ shared_LIBS =                                               \
        $(SYSTEMD_LIBS)                                 \
        $(PACKAGEKIT_LIBS)                              \
        $(GNOME_MENUS_LIBS)                             \
-       $(UPOWER_LIBS)                                  \
        $(CANBERRA_LIBS)                                \
        $(X11_LIBS)                                     \
        $(NULL)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]