diff Makefile @ 6:2477a6151087

Make PackagKit use the user's network proxies Pick up network proxies from the user's environment and make PackagKit use them. Setting network proxies is a privileged operation, so it is only attempted if the user is allowed to use the polkit action org.freedesktop.packagekit.system-network-proxy-configure without authentication.
author Guido Berhoerster <guido+pui@berhoerster.name>
date Tue, 19 Jun 2018 15:44:36 +0200
parents a4020e99e550
children adba37525ee5
line wrap: on
line diff
--- a/Makefile	Sun Jun 17 17:05:16 2018 +0200
+++ b/Makefile	Tue Jun 19 15:44:36 2018 +0200
@@ -143,9 +143,11 @@
 			-DSETTINGS_SCHEMA_ID=\"$(APPLICATION_ID)\" \
 			-DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
 $(PACKAGE): XCFLAGS =	$(shell pkg-config --cflags gtk+-3.0 \
-			    appindicator3-0.1 packagekit-glib2 upower-glib)
+			    appindicator3-0.1 packagekit-glib2 \
+			    polkit-gobject-1 upower-glib)
 $(PACKAGE): LDLIBS =	$(shell pkg-config --libs gtk+-3.0 \
-			    appindicator3-0.1 packagekit-glib2 upower-glib)
+			    appindicator3-0.1 packagekit-glib2 \
+			    polkit-gobject-1 upower-glib)
 
 $(PACKAGE)-prefs: XCPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" \
 			-DAPPLICATION_ID=\"$(PREFS_APPLICATION_ID)\" \