big update with pamac-daemon back
9
data/applications/pamac-tray.desktop
Normal file
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=Update Notifier
|
||||
Icon=update-notifier
|
||||
Exec=pamac-tray
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=GNOME;GTK;System;
|
||||
NotShowIn=GNOME;XFCE;LXDE;KDE;
|
||||
StartupNotify=true
|
16
data/dbus/org.manjaro.pamac.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||
<busconfig>
|
||||
<!-- Only root can own the service -->
|
||||
<policy user="root">
|
||||
<allow own="org.manjaro.pamac"/>
|
||||
</policy>
|
||||
|
||||
<!-- Allow anyone to invoke methods on the interfaces -->
|
||||
<policy context="default">
|
||||
<allow send_destination="org.manjaro.pamac"
|
||||
send_interface="org.manjaro.pamac"/>
|
||||
</policy>
|
||||
</busconfig>
|
||||
|
5
data/dbus/org.manjaro.pamac.service
Normal file
@@ -0,0 +1,5 @@
|
||||
[D-BUS Service]
|
||||
Name=org.manjaro.pamac
|
||||
Exec=/usr/bin/pamac-daemon
|
||||
User=root
|
||||
SystemdService=pamac.service
|
BIN
data/icons/16x16/status/aptdaemon-working.png
Normal file
After Width: | Height: | Size: 899 B |
BIN
data/icons/16x16/status/package-add.png
Normal file
After Width: | Height: | Size: 801 B |
BIN
data/icons/16x16/status/package-cleanup.png
Normal file
After Width: | Height: | Size: 886 B |
BIN
data/icons/16x16/status/package-delete.png
Normal file
After Width: | Height: | Size: 861 B |
BIN
data/icons/16x16/status/package-donwload.png
Normal file
After Width: | Height: | Size: 748 B |
BIN
data/icons/16x16/status/package-search.png
Normal file
After Width: | Height: | Size: 907 B |
BIN
data/icons/16x16/status/package-update.png
Normal file
After Width: | Height: | Size: 793 B |
BIN
data/icons/16x16/status/package-wait.png
Normal file
After Width: | Height: | Size: 765 B |
BIN
data/icons/16x16/status/refresh-cache.png
Normal file
After Width: | Height: | Size: 868 B |
@@ -6,46 +6,12 @@
|
||||
<vendor>Manjaro</vendor>
|
||||
<vendor_url>http://manjaro.org/</vendor_url>
|
||||
<icon_name>package-x-generic</icon_name>
|
||||
<action id="org.manjaro.pamac.pkexec.pamac-manager">
|
||||
<action id="org.manjaro.pamac.commit">
|
||||
<message>Authentication is required</message>
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>auth_admin_keep</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/python3</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.argv1">/usr/bin/pamac-manager</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
<action id="org.manjaro.pamac.pkexec.pamac-updater">
|
||||
<message>Authentication is required</message>
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>auth_admin_keep</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/python3</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.argv1">/usr/bin/pamac-updater</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
<action id="org.manjaro.pamac.pkexec.pamac-install">
|
||||
<message>Authentication is required</message>
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>auth_admin_keep</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/python3</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.argv1">/usr/bin/pamac-install</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
<action id="org.manjaro.pamac.pkexec.pamac-refresh">
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>yes</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/python3</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.argv1">/usr/bin/pamac-refresh</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
||||
|
7
data/systemd/pamac.service
Normal file
@@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Pamac
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
BusName=org.manjaro.pamac
|
||||
ExecStart=/usr/bin/pamac-daemon
|