change config to gsettings

This commit is contained in:
2017-11-10 22:36:50 -03:00
parent e8a11f6960
commit 00f4092ee4
35 changed files with 347 additions and 545 deletions

View File

@@ -1,19 +0,0 @@
### CMakeLists automatically created with AutoVala
### Do not edit
if (NOT(DISABLE_AUR))
IF(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/pamac.conf)
install(DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}/pamac.conf
DESTINATION
/etc
)
ELSE()
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/pamac.conf
DESTINATION
/etc
)
ENDIF()
endif ()

View File

@@ -1,19 +0,0 @@
### CMakeLists automatically created with AutoVala
### Do not edit
if (DISABLE_AUR)
IF(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/pamac.conf)
install(DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}/pamac.conf
DESTINATION
/etc
)
ELSE()
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/pamac.conf
DESTINATION
/etc
)
ENDIF()
endif ()

View File

@@ -1,26 +0,0 @@
### Pamac configuration file
## When removing a package, also remove those dependencies
## that are not required by other packages (recurse option):
#RemoveUnrequiredDeps
## How often to check for updates, value in hours (0 to disable):
RefreshPeriod = 6
## When there are no updates available, hide the tray icon:
#NoUpdateHideIcon
## Number of versions of each package to keep in the cache:
KeepNumPackages = 3
## Remove only the versions of uninstalled packages when clean cache:
#OnlyRmUninstalled
## Terminal background color
BackgroundColor = rgb(0,0,0)
## Terminal foreground color
ForegroundColor = rgb(255,255,255)
## The font used in the terminal
TerminalFont = Monospace Regular 12

View File

@@ -1,41 +0,0 @@
### Pamac configuration file
## When removing a package, also remove those dependencies
## that are not required by other packages (recurse option):
#RemoveUnrequiredDeps
## How often to check for updates, value in hours (0 to disable):
RefreshPeriod = 6
## When there are no updates available, hide the tray icon:
#NoUpdateHideIcon
## Allow Pamac to search and install packages from AUR:
#EnableAUR
## When AUR support is enabled search in AUR by default:
#SearchInAURByDefault
## When AUR support is enabled check for updates from AUR:
#CheckAURUpdates
## AUR build directory:
BuildDirectory = /tmp
## Do not ask for confirmation when building packages:
#NoConfirmBuild
## Number of versions of each package to keep in the cache:
KeepNumPackages = 3
## Remove only the versions of uninstalled packages when clean cache:
#OnlyRmUninstalled
## Terminal background color
BackgroundColor = rgb(0,0,0)
## Terminal foreground color
ForegroundColor = rgb(255,255,255)
## The font used in the terminal
TerminalFont = Monospace Regular 12

View File

@@ -0,0 +1,33 @@
### CMakeLists automatically created with AutoVala
### Do not edit
IF(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.main.gschema.xml)
install(DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.main.gschema.xml
DESTINATION
/usr/share/glib-2.0/schemas
)
ELSE()
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.main.gschema.xml
DESTINATION
/usr/share/glib-2.0/schemas
)
ENDIF()
if (NOT DISABLE_AUR)
IF(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.aur.gschema.xml)
install(DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.aur.gschema.xml
DESTINATION
/usr/share/glib-2.0/schemas
)
ELSE()
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/org.pamac.aur.gschema.xml
DESTINATION
/usr/share/glib-2.0/schemas
)
ENDIF()
endif ()

View File

@@ -0,0 +1,37 @@
<schemalist>
<schema id="org.pamac.aur" path="/org/pamac/aur/" gettext-domain="pamac">
<key name="enable-aur" type="b">
<default>false</default>
<summary>Enable AUR</summary>
<description>
Allow Pamac to search and install packages from AUR
</description>
</key>
<key name="search-in-aur" type="b">
<default>true</default>
<summary>Search in AUR by default</summary>
<description>
When AUR support is enabled search in AUR by default
</description>
</key>
<key name="check-aur-updates" type="b">
<default>false</default>
<summary>Check AUR for updates</summary>
<description>
When AUR support is enabled check for updates from AUR
</description>
</key>
<key name="build-directory" type="s">
<default l10n="messages">"/tmp"</default>
<summary>AUR build directory</summary>
<description>
Directory where to build packages that come from the AUR
</description>
</key>
</schema>
</schemalist>

View File

@@ -0,0 +1,69 @@
<schemalist>
<schema id="org.pamac.main" path="/org/pamac/main/" gettext-domain="pamac">
<key name="remove-unrequired-deps" type="b">
<default>false</default>
<summary>Remove unrequired dependencies</summary>
<description>
When removing a package, also remove those dependencies that are not required by other packages (recurse option)
</description>
</key>
<key name="refresh-period" type="t">
<default>6</default>
<summary>Refresh period</summary>
<description>
How often to check for updates, value in hours (0 to disable)
</description>
</key>
<key name="no-update-hide-icon" type="b">
<default>true</default>
<summary>Hide icon if there are no updates</summary>
<description>
When there are no updates available, hide the tray icon
</description>
</key>
<key name="keep-num-packages" type="t">
<default>3</default>
<summary>Numer of packages to keep</summary>
<description>
Number of versions of each package to keep in the cache
</description>
</key>
<key name="only-rm-uninstalled" type="b">
<default>false</default>
<summary>Remove only uninstalled packages when cleaning cache</summary>
<description>
Remove only the versions of uninstalled packages when clean cache
</description>
</key>
<key name="background-color" type="s">
<default l10n="messages">"rgb(0,0,0)"</default>
<summary>Terminal background color</summary>
<description>
Terminal background color
</description>
</key>
<key name="foreground-color" type="s">
<default l10n="messages">"rgb(255,255,255)"</default>
<summary>Terminal foreground color</summary>
<description>
Terminal foreground color
</description>
</key>
<key name="terminal-font" type="s">
<default l10n="messages">"Monospace Regular 12"</default>
<summary>Terminal font</summary>
<description>
The font used in the terminal
</description>
</key>
</schema>
</schemalist>