Commit 85827629 authored by Guillaume Benoit's avatar Guillaume Benoit
Browse files

v10.1.3

parent c6fa62ed
v10.0
=====
- libpamac
- many speed improvements
- Package string properties can be null
- Database has with sync and async methods
- returned lists are GenericArrays (g_ptr_array)
- Transaction methods are async
- tray
- tray-appindicator code removed
- pamac-gtk
......
Pamac is a Package Manager with Alpm, AUR, Appstream, Flatpak and Snap support
Pamac is a Gtk and CLI front ends of libpamac
#### Features
- libpamac: Library to access package infos and run transactions
- Python bindings for libpamac
- pamac: an easy CLI
- pamac-manager: a Gtk3 GUI
- pamac-tray: a Gtk3 tray icon with updates notifications
......@@ -17,12 +15,8 @@ In the source directory run:
`mkdir builddir && cd builddir`
`meson --prefix=/usr --sysconfdir=/etc -Denable-snap=true -Denable-flatpak=true --buildtype=release`
`meson setup --prefix=/usr --sysconfdir=/etc --buildtype=release`
`ninja`
`meson compile`
`sudo ninja install`
#### Translation
If you want to contribute in Pamac translations, use [Transifex](https://www.transifex.com/manjarolinux/manjaro-pamac).
`sudo meson install`
install_data('pamac.conf', install_dir: get_option('sysconfdir'))
### 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 no update is available, hide the tray icon:
#NoUpdateHideIcon
## When applying updates, enable packages downgrade:
#EnableDowngrade
## When installing packages, do not check for updates:
#SimpleInstall
## Allow Pamac to search and install packages from AUR:
#EnableAUR
## Keep built packages from AUR in cache after installation:
#KeepBuiltPkgs
## When AUR support is enabled check for updates from AUR:
#CheckAURUpdates
## When check updates from AUR support is enabled check for vcs updates:
#CheckAURVCSUpdates
## AUR build directory:
BuildDirectory = /var/tmp
## Number of versions of each package to keep when cleaning the packages cache:
KeepNumPackages = 3
## Remove only the versions of uninstalled packages when cleaning the packages cache:
#OnlyRmUninstalled
## Download updates in background:
#DownloadUpdates
## Maximum Parallel Downloads:
MaxParallelDownloads = 4
......@@ -15,13 +15,3 @@ if get_option('enable-fake-gnome-software')
install_dir: join_paths(get_option('datadir'), 'dbus-1', 'services'),
)
endif
configure_file(
input: 'org.manjaro.pamac.daemon.service.in',
output: 'org.manjaro.pamac.daemon.service',
configuration: conf,
install: true,
install_dir: join_paths(get_option('datadir'), 'dbus-1', 'system-services'),
)
install_data('org.manjaro.pamac.daemon.conf', install_dir: join_paths(get_option('sysconfdir'), 'dbus-1', 'system.d'))
<?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.daemon"/>
</policy>
<!-- Allow anyone to invoke methods on the interfaces -->
<policy context="default">
<allow send_destination="org.manjaro.pamac.daemon"
send_interface="org.manjaro.pamac.daemon"/>
<allow send_destination="org.manjaro.pamac.daemon"
send_interface="org.freedesktop.DBus.Introspectable"/>
<allow send_destination="org.manjaro.pamac.daemon"
send_interface="org.freedesktop.DBus.Peer"/>
<allow send_destination="org.manjaro.pamac.daemon"
send_interface="org.freedesktop.DBus.Properties"/>
</policy>
</busconfig>
[D-BUS Service]
Name=org.manjaro.pamac.daemon
Exec=@bindir@/pamac-daemon
User=root
SystemdService=pamac-daemon.service
<?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.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.manjaro.pamac.system"
send_interface="org.freedesktop.DBus.Introspectable"/>
<allow send_destination="org.manjaro.pamac.system"
send_interface="org.freedesktop.DBus.Peer"/>
<allow send_destination="org.manjaro.pamac.system"
send_interface="org.freedesktop.DBus.Properties"/>
</policy>
</busconfig>
[D-BUS Service]
Name=org.manjaro.pamac.system
Exec=@bindir@/pamac-system-daemon
User=root
SystemdService=pamac-system.service
......@@ -2,11 +2,7 @@ conf = configuration_data()
conf.set('bindir', join_paths(get_option('prefix'), get_option('bindir')))
subdir('applications')
subdir('config')
subdir('dbus')
subdir('gnome-shell')
subdir('icons')
subdir('mime')
subdir('polkit')
subdir('systemd')
subdir('doc')
install_data('x-alpm-package.xml', install_dir: join_paths(get_option('datadir'), 'mime/packages'))
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/x-alpm-package">
<generic-icon name="package-x-generic"/>
<comment>Alpm Package</comment>
<glob pattern="*.pkg.tar.xz"/>
<glob pattern="*.pkg.tar.gz"/>
<glob pattern="*.pkg.tar.zst"/>
<glob pattern="*.pkg.tar.bz2"/>
<glob pattern="*.pkg.tar.lrz"/>
<glob pattern="*.pkg.tar.lzo"/>
<glob pattern="*.pkg.tar.Z"/>
<glob pattern="*.pkg.tar.lz4"/>
<glob pattern="*.pkg.tar.lz"/>
<glob pattern="*.pkg.tar"/>
</mime-type>
</mime-info>
i18n.merge_file(
input: 'org.manjaro.pamac.policy.in',
output: 'org.manjaro.pamac.policy',
type: 'xml',
po_dir: join_paths(meson.source_root(), 'po'),
install: true,
install_dir: join_paths(get_option('datadir'), 'polkit-1', 'actions')
)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
<vendor>Manjaro</vendor>
<vendor_url>http://manjaro.org/</vendor_url>
<icon_name>package-x-generic</icon_name>
<action id="org.manjaro.pamac.commit">
<description gettext-domain="pamac">Install, update, or remove packages</description>
<message gettext-domain="pamac">Authentication is required to install, update, or remove packages</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
</policyconfig>
configure_file(
input: 'pamac-daemon.service.in',
output: 'pamac-daemon.service',
configuration: conf,
install: true,
install_dir: join_paths(get_option('libdir'), 'systemd/system'),
)
configure_file(
input: 'pamac-cleancache.service.in',
output: 'pamac-cleancache.service',
configuration: conf,
install: true,
install_dir: join_paths(get_option('libdir'), 'systemd/system'),
)
install_data('pamac-cleancache.timer', install_dir: join_paths(get_option('libdir'), 'systemd/system'))
if (find_program('pacman-mirrors', required: false).found())
install_data('pamac-mirrorlist.service', install_dir: join_paths(get_option('libdir'), 'systemd/system'))
install_data('pamac-mirrorlist.timer', install_dir: join_paths(get_option('libdir'), 'systemd/system'))
endif
[Unit]
Description=Clean packages cache
[Service]
Type=oneshot
ExecStart=@bindir@/pamac clean --no-confirm
[Unit]
Description=Monthly clean packages cache
[Timer]
OnCalendar=Sat *-*-1..7 15:00:00
Persistent=true
[Install]
WantedBy=timers.target
[Unit]
Description=Pamac Daemon
[Service]
Type=dbus
BusName=org.manjaro.pamac.daemon
ExecStart=@bindir@/pamac-daemon
[Unit]
Description=Generate mirrorlist
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/pacman-mirrors -f8
[Unit]
Description=Generate mirrorlist weekly
[Timer]
OnCalendar=Thu *-*-* 7:00:00
RandomizedDelaySec=15h
Persistent=true
[Install]
WantedBy=timers.target
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment