Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37426668
en ru br
ALT Linux repos
S:0.106-alt0.2

Group :: System/Libraries
RPM: polkit-gnome

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: polkit-gnome-0.106-alt-desktop.patch
Download


diff -durN polkit-gnome-0.106.orig/src/Makefile.am polkit-gnome-0.106/src/Makefile.am
--- polkit-gnome-0.106.orig/src/Makefile.am	2017-04-23 21:25:55.000000000 +0300
+++ polkit-gnome-0.106/src/Makefile.am	2018-04-07 19:18:58.231622035 +0300
@@ -3,6 +3,14 @@
 
 FULL_LIBEXECDIR=$(libexecdir)
 
+desktopdir = $(sysconfdir)/xdg/autostart
+desktop_DATA = polkit-gnome-authentication-agent-1.desktop
+
+@INTLTOOL_DESKTOP_RULE@
+
+polkit-gnome-authentication-agent-1.desktop.in : polkit-gnome-authentication-agent-1.desktop.in.in
+	cat polkit-gnome-authentication-agent-1.desktop.in.in | sed 's,@FULL_LIBEXECDIR@,$(FULL_LIBEXECDIR),' > $@
+
 libexec_PROGRAMS = polkit-gnome-authentication-agent-1
 
 polkit_gnome_authentication_agent_1_SOURCES = 						\
@@ -42,5 +50,7 @@
 	$(POLKIT_GOBJECT_LIBS)				\
 	$(INTLLIBS)
 
+EXTRA_DIST = polkit-gnome-authentication-agent-1.desktop.in.in
+
 clean-local :
-	rm -f *~
+	rm -f *~ polkit-gnome-authentication-agent-1.desktop polkit-gnome-authentication-agent-1.desktop.in
diff -durN polkit-gnome-0.106.orig/src/polkit-gnome-authentication-agent-1.desktop.in.in polkit-gnome-0.106/src/polkit-gnome-authentication-agent-1.desktop.in.in
--- polkit-gnome-0.106.orig/src/polkit-gnome-authentication-agent-1.desktop.in.in	1970-01-01 03:00:00.000000000 +0300
+++ polkit-gnome-0.106/src/polkit-gnome-authentication-agent-1.desktop.in.in	2018-04-07 19:17:09.933339381 +0300
@@ -0,0 +1,9 @@
+[Desktop Entry]
+_Name=PolicyKit Authentication Agent
+_Comment=PolicyKit Authentication Agent
+Exec=@FULL_LIBEXECDIR@/polkit-gnome-authentication-agent-1
+Terminal=false
+Type=Application
+Categories=
+NoDisplay=true
+NotShowIn=Cinnamon;GNOME;GNOME-Classic;GNOME-Flashback;LXDE;LXQt;KDE;MATE;XFCE;LXDE;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin