Mercurial > projects > package-update-indicator
comparison 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 |
comparison
equal
deleted
inserted
replaced
5:a4020e99e550 | 6:2477a6151087 |
---|---|
141 -DPACKAGE_LOCALE_DIR="\"$(localedir)\"" \ | 141 -DPACKAGE_LOCALE_DIR="\"$(localedir)\"" \ |
142 -DGETTEXT_PACKAGE=\"$(PACKAGE)\" \ | 142 -DGETTEXT_PACKAGE=\"$(PACKAGE)\" \ |
143 -DSETTINGS_SCHEMA_ID=\"$(APPLICATION_ID)\" \ | 143 -DSETTINGS_SCHEMA_ID=\"$(APPLICATION_ID)\" \ |
144 -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE | 144 -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE |
145 $(PACKAGE): XCFLAGS = $(shell pkg-config --cflags gtk+-3.0 \ | 145 $(PACKAGE): XCFLAGS = $(shell pkg-config --cflags gtk+-3.0 \ |
146 appindicator3-0.1 packagekit-glib2 upower-glib) | 146 appindicator3-0.1 packagekit-glib2 \ |
147 polkit-gobject-1 upower-glib) | |
147 $(PACKAGE): LDLIBS = $(shell pkg-config --libs gtk+-3.0 \ | 148 $(PACKAGE): LDLIBS = $(shell pkg-config --libs gtk+-3.0 \ |
148 appindicator3-0.1 packagekit-glib2 upower-glib) | 149 appindicator3-0.1 packagekit-glib2 \ |
150 polkit-gobject-1 upower-glib) | |
149 | 151 |
150 $(PACKAGE)-prefs: XCPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" \ | 152 $(PACKAGE)-prefs: XCPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" \ |
151 -DAPPLICATION_ID=\"$(PREFS_APPLICATION_ID)\" \ | 153 -DAPPLICATION_ID=\"$(PREFS_APPLICATION_ID)\" \ |
152 -DVERSION=\"$(VERSION)\" \ | 154 -DVERSION=\"$(VERSION)\" \ |
153 -DG_LOG_DOMAIN=\"$(PACKAGE)\" \ | 155 -DG_LOG_DOMAIN=\"$(PACKAGE)\" \ |