Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Applications
pamac
Commits
85827629
Commit
85827629
authored
Jun 10, 2021
by
Guillaume Benoit
Browse files
v10.1.3
parent
c6fa62ed
Changes
152
Hide whitespace changes
Inline
Side-by-side
NEWS
View file @
85827629
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
...
...
README.md
View file @
85827629
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`
data/config/meson.build
deleted
100644 → 0
View file @
c6fa62ed
install_data
(
'pamac.conf'
,
install_dir
:
get_option
(
'sysconfdir'
))
data/config/pamac.conf
deleted
100644 → 0
View file @
c6fa62ed
### 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
data/dbus/meson.build
View file @
85827629
...
...
@@ -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'
))
data/dbus/org.manjaro.pamac.daemon.conf
deleted
100644 → 0
View file @
c6fa62ed
<?
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
>
data/dbus/org.manjaro.pamac.daemon.service.in
deleted
100644 → 0
View file @
c6fa62ed
[D-BUS Service]
Name=org.manjaro.pamac.daemon
Exec=@bindir@/pamac-daemon
User=root
SystemdService=pamac-daemon.service
data/dbus/org.manjaro.pamac.system.conf
deleted
100644 → 0
View file @
c6fa62ed
<?
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
>
data/dbus/org.manjaro.pamac.system.service.in
deleted
100644 → 0
View file @
c6fa62ed
[D-BUS Service]
Name=org.manjaro.pamac.system
Exec=@bindir@/pamac-system-daemon
User=root
SystemdService=pamac-system.service
data/meson.build
View file @
85827629
...
...
@@ -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'
)
data/mime/meson.build
deleted
100644 → 0
View file @
c6fa62ed
install_data
(
'x-alpm-package.xml'
,
install_dir
:
join_paths
(
get_option
(
'datadir'
),
'mime/packages'
))
data/mime/x-alpm-package.xml
deleted
100644 → 0
View file @
c6fa62ed
<?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>
data/polkit/meson.build
deleted
100644 → 0
View file @
c6fa62ed
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'
)
)
data/polkit/org.manjaro.pamac.policy.in
deleted
100644 → 0
View file @
c6fa62ed
<?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>
data/systemd/meson.build
deleted
100644 → 0
View file @
c6fa62ed
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
data/systemd/pamac-cleancache.service.in
deleted
100644 → 0
View file @
c6fa62ed
[Unit]
Description=Clean packages cache
[Service]
Type=oneshot
ExecStart=@bindir@/pamac clean --no-confirm
data/systemd/pamac-cleancache.timer
deleted
100644 → 0
View file @
c6fa62ed
[Unit]
Description=Monthly clean packages cache
[Timer]
OnCalendar=Sat *-*-1..7 15:00:00
Persistent=true
[Install]
WantedBy=timers.target
data/systemd/pamac-daemon.service.in
deleted
100644 → 0
View file @
c6fa62ed
[Unit]
Description=Pamac Daemon
[Service]
Type=dbus
BusName=org.manjaro.pamac.daemon
ExecStart=@bindir@/pamac-daemon
data/systemd/pamac-mirrorlist.service
deleted
100644 → 0
View file @
c6fa62ed
[Unit]
Description
=
Generate mirrorlist
Wants
=
network-online.target
After
=
network-online.target
[Service]
Type
=
oneshot
ExecStart
=
/usr/bin/pacman-mirrors -f8
data/systemd/pamac-mirrorlist.timer
deleted
100644 → 0
View file @
c6fa62ed
[Unit]
Description=Generate mirrorlist weekly
[Timer]
OnCalendar=Thu *-*-* 7:00:00
RandomizedDelaySec=15h
Persistent=true
[Install]
WantedBy=timers.target
Prev
1
2
3
4
5
…
8
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment