summaryrefslogtreecommitdiff
path: root/app-backup/qt5-fsarchiver/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-03-20 14:49:37 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-03-20 14:49:37 +0000
commitba5b47ff56cf3ee5b905fcbd71993b68c603767b (patch)
treed1afd47595bf4e9602872dc03453fdf80d387cf8 /app-backup/qt5-fsarchiver/files
parent654080ef48dece6bc421da4109e63f907fccd58c (diff)
make qt5-fsarchiver to integrate better
Diffstat (limited to 'app-backup/qt5-fsarchiver/files')
-rw-r--r--app-backup/qt5-fsarchiver/files/redcorelinux.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/app-backup/qt5-fsarchiver/files/redcorelinux.patch b/app-backup/qt5-fsarchiver/files/redcorelinux.patch
new file mode 100644
index 00000000..5d06c986
--- /dev/null
+++ b/app-backup/qt5-fsarchiver/files/redcorelinux.patch
@@ -0,0 +1,38 @@
+diff -Nur a/src/sbin/qt5-fsarchiver_polkit b/src/sbin/qt5-fsarchiver_polkit
+--- a/src/sbin/qt5-fsarchiver_polkit 2016-06-04 17:03:48.000000000 +0100
++++ b/src/sbin/qt5-fsarchiver_polkit 2017-03-20 14:38:40.103572390 +0000
+@@ -1,6 +1,6 @@
+ #!/bin/bash
+ if [ $(which pkexec) ]; then
+- pkexec --disable-internal-agent env DISPLAY=$DISPLAY "/usr/sbin/qt5-fsarchiver" "$@"
++ pkexec "/usr/sbin/qt5-fsarchiver" "$@"
+ else
+ /usr/sbin/qt5-fsarchiver "$@"
+ fi
+diff -Nur a/src/share/polkit-1/actions/org.project.pkexec.run-qt5-fsarchiver.policy b/src/share/polkit-1/actions/org.project.pkexec.run-qt5-fsarchiver.policy
+--- a/src/share/polkit-1/actions/org.project.pkexec.run-qt5-fsarchiver.policy 2016-06-04 17:03:48.000000000 +0100
++++ b/src/share/polkit-1/actions/org.project.pkexec.run-qt5-fsarchiver.policy 2017-03-20 14:42:45.408277857 +0000
+@@ -7,7 +7,7 @@
+ <action id="org.project.pkexec.run-qt5-fsarchiver">
+ <description>Run the qt5-fsarchiver program</description>
+ <message>Authentication is required to run qt5-fsarchiver</message>
+- <icon_name>harddrive.png</icon_name>
++ <icon_name>redcore-logo.png</icon_name>
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+diff -Nur a/starter/gnome-qt5-fsarchiver.desktop b/starter/gnome-qt5-fsarchiver.desktop
+--- a/starter/gnome-qt5-fsarchiver.desktop 2017-01-30 16:09:58.000000000 +0000
++++ b/starter/gnome-qt5-fsarchiver.desktop 2017-03-20 14:39:25.092435370 +0000
+@@ -3,10 +3,9 @@
+ Name[de_DE]=qt5-fsarchiver
+ Comment=Qt GUI for fsarchiver
+ Exec=/usr/sbin/qt5-fsarchiver_polkit %f
+-Icon=/usr/share/app-install/icons/harddrive.png
++Icon=/usr/share/qt5-fsarchiver/icons/harddrive.png
+ Terminal=false
+ Type=Application
+ Categories=Utility;Archiving;Qt;
+ StartupNotify=false
+-OnlyShowIn=GNOME
+