customized builds

This commit is contained in:
2017-10-10 16:29:22 -03:00
parent 3d5d662152
commit 235c95aa2b
246 changed files with 8857 additions and 1535 deletions

45
data/dbus/CMakeLists.txt Normal file
View File

@@ -0,0 +1,45 @@
### CMakeLists automatically created with AutoVala
### Do not edit
IF(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.system.conf)
install(DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.system.conf
DESTINATION
${CMAKE_INSTALL_SYSCONFDIR}/dbus-1/system.d
)
ELSE()
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.system.conf
DESTINATION
${CMAKE_INSTALL_SYSCONFDIR}/dbus-1/system.d
)
ENDIF()
IF(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.user.service)
install(DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.user.service
DESTINATION
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/services
)
ELSE()
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.user.service
DESTINATION
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/services
)
ENDIF()
IF(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.system.service)
install(DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.system.service
DESTINATION
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/system-services
)
ELSE()
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.system.service
DESTINATION
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/system-services
)
ENDIF()

View File

@@ -4,19 +4,19 @@
<busconfig>
<!-- Only root can own the service -->
<policy user="root">
<allow own="org.manjaro.pamac.system"/>
<allow own="org.pamac.system"/>
</policy>
<!-- Allow anyone to invoke methods on the interfaces -->
<policy context="default">
<allow send_destination="org.manjaro.pamac.system"
send_interface="org.manjaro.pamac.system"/>
<allow send_destination="org.pamac.system"
send_interface="org.pamac.system"/>
<allow send_destination="org.manjaro.pamac.system"
<allow send_destination="org.pamac.system"
send_interface="org.freedesktop.DBus_Introspectable"/>
<allow send_destination="org.manjaro.pamac.system"
<allow send_destination="org.pamac.system"
send_interface="org.freedesktop.DBus.Peer"/>
<allow send_destination="org.manjaro.pamac.system"
<allow send_destination="org.pamac.system"
send_interface="org.freedesktop.DBus.Properties"/>
</policy>
</busconfig>

View File

@@ -1,5 +1,5 @@
[D-BUS Service]
Name=org.manjaro.pamac.system
Name=org.pamac.system
Exec=/usr/bin/pamac-system-daemon
User=root
SystemdService=pamac-system.service

View File

@@ -1,3 +1,3 @@
[D-BUS Service]
Name=org.manjaro.pamac.user
Name=org.pamac.user
Exec=/usr/bin/pamac-user-daemon