@Cromer: Pamac-Classic v7.2.1 not compatible with new Pacman v6.0. Could you please fix this?
Search Criteria
Package Details: pamac-classic 7.3.0-5
Package Actions
Git Clone URL: | https://aur.archlinux.org/pamac-classic.git (read-only, click to copy) |
---|---|
Package Base: | pamac-classic |
Description: | A Gtk3 frontend for libalpm - classic version |
Upstream URL: | https://git.cromer.cl/cromer/pamac-classic |
Keywords: | aur gui installer pacman |
Licenses: | GPL-3.0-or-later |
Conflicts: | pamac, pamac-aur |
Provides: | pamac, pamac-aur |
Submitter: | sudobash418 |
Maintainer: | sudobash418 |
Last Packager: | sudobash418 |
Votes: | 16 |
Popularity: | 0.000000 |
First Submitted: | 2017-10-04 21:54 (UTC) |
Last Updated: | 2024-09-19 16:15 (UTC) |
Dependencies (14)
- curl (curl-gitAUR, curl-c-aresAUR)
- libalpm.so (pacman)
- libnotify (libnotify-gitAUR)
- libsoup
- pacman (pacman-gitAUR, pacman-fancy-gitAUR)
- polkit (polkit-gitAUR, polkit-consolekitAUR)
- vte3 (vte3-notificationAUR, vte3-gitAUR)
- gettext (gettext-gitAUR) (make)
- gobject-introspection (make)
- meson (meson-gitAUR) (make)
- vala (vala-gitAUR) (make)
- lxsession (lxsession-gitAUR) (optional) – needed for authentication in Xfce, LXDE etc.
- mate-polkit (optional) – needed for authentication in MATE
- polkit-gnome (xfce-polkit-gitAUR, xfce-polkitAUR, polkit-gnome-gitAUR) (optional) – needed for authentication in Cinnamon, Gnome
Required by (4)
- debtap-mod (requires pamac)
- mintmenu (requires pamac) (optional)
- rpmtoarch (requires pamac)
- update-notifier (requires pamac) (optional)
Sources (4)
Andy_Vetrov commented on 2021-05-29 11:37 (UTC)
salome commented on 2020-05-29 21:04 (UTC)
very useful on Arch with gtk
+1 for adding it on official repos
sudobash418 commented on 2020-04-05 22:25 (UTC)
@remussatala Try unchecking the "Hide tray icon when no update available" setting in the preferences menu
<deleted-account> commented on 2020-04-05 22:23 (UTC)
pamac-tray not show
glitsj16 commented on 2020-04-02 14:32 (UTC)
@Cromer My apologies for the confusion. Due to keeping gnome-shell/mutter at the previous 3.34 (something I always do to avoid the horde of issues when that jumps to a new version) I still had vala at version 0.46.6-1. After upgrading to vala 0.48.2-1 the build works fine. Sorry for the noise!
Cromer commented on 2020-04-02 14:14 (UTC)
json-glibs does not need to be in run deps, it is already pulled in by gtk3.
Cromer commented on 2020-04-02 14:11 (UTC)
Also vala in arch linux has the cairo-gobject vapi: https://www.archlinux.org/packages/extra/x86_64/vala/
Cromer commented on 2020-04-02 14:01 (UTC) (edited on 2020-04-02 14:12 (UTC) by Cromer)
@glitsj16 reverting to cairo with a sed is not needed and not recommended. Cairo has: usr/lib/pkgconfig/cairo-gobject.pc which will handle it. However cairo is missing in the deps for this package, it should be added.
glitsj16 commented on 2020-04-02 12:49 (UTC) (edited on 2020-04-02 12:53 (UTC) by glitsj16)
Hi, upstream changed dependency 'cairo' to 'cairo-gobject' for 7.2.1 (see https://git.cromer.cl/cromer/pamac-classic/commit/62a9402dac3269228238a9424ca5d6dd5b9a0fee), which doesn't exist in Arch Linux. This causes a build failure:
...
==> Starting package()...
ninja: Entering directory `build'
[1/50] Compiling Vala source src/Config.vala ....action.vala ../src/transaction_sum_dialog.vala
FAILED: src/25a6634@@Pamac@sha/Config.c src/25a6634@@Pamac@sha/alpm_config.c src/25a6634@@Pamac@sha/aur.c src/25a6634@@Pamac@sha/choose_ignorepkgs_dialog.c src/25a6634@@Pamac@sha/choose_provider_dialog.c src/25a6634@@Pamac@sha/common.c src/25a6634@@Pamac@sha/mirrors_config.c src/25a6634@@Pamac@sha/package.c src/25a6634@@Pamac@sha/pamac_config.c src/25a6634@@Pamac@sha/preferences_dialog.c src/25a6634@@Pamac@sha/progress_box.c src/25a6634@@Pamac@sha/transaction.c src/25a6634@@Pamac@sha/transaction_sum_dialog.c src/Pamac.h src/Pamac.vapi src/Pamac-1.0.gir
valac -C --debug --debug --pkg x11 --pkg vte-2.91 --pkg pango --pkg libsoup-2.4 --pkg libalpm --pkg json-glib-1.0 --pkg gtk+-3.0 --pkg gobject-2.0 --pkg glib-2.0 --pkg gio-2.0 --pkg gdk-pixbuf-2.0 --pkg gdk-3.0 --pkg cairo-gobject --pkg atk --pkg libnotify --color=always --directory src/25a6634@@Pamac@sha --basedir ../src --library Pamac --header src/Pamac.h --vapi ../Pamac.vapi --gir ../Pamac-1.0.gir --pkg posix --vapidir=/home/dirkos/.buildzone/00.tmpfs/pamac-classic/src/pamac-classic/src/vapis --gresources=/home/dirkos/.buildzone/00.tmpfs/pamac-classic/src/pamac-classic/data/pamac.transaction.gresource.xml src/Config.vala ../src/alpm_config.vala ../src/aur.vala ../src/choose_ignorepkgs_dialog.vala ../src/choose_provider_dialog.vala ../src/common.vala ../src/mirrors_config.vala ../src/package.vala ../src/pamac_config.vala ../src/preferences_dialog.vala ../src/progress_box.vala ../src/transaction.vala ../src/transaction_sum_dialog.vala
error: Package `cairo-gobject' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 1 error(s), 0 warning(s)
[2/50] Generating 'src/pamac-manager/12a0e79@@pamac-manager@exe/pamac.manager.gresource.xml.c'.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in package().
Aborting...
We need to revert to 'cairo' (which BTW needs to be added to the makedepends array), as that package contains 'cairo-gobject.h':
$ pkgfile cairo-gobject.h
extra/cairo
This can easily be achieved by adding the below, either in a prepare() function or integrated into the current build() function:
sed -i -e "s/cairo-gobject/cairo/" meson.build
Additionally, this package needs to add a run-time dependency on 'json-glib':
$ readelf -d /usr/bin/pamac-system-daemon | grep NEEDED | cut -f2 -d[ | cut -f1 -d] | sort
libalpm.so.12
libc.so.6
libcurl.so.4
libgio-2.0.so.0
libglib-2.0.so.0
libgobject-2.0.so.0
libjson-glib-1.0.so.0
libPamac.so.7
libpolkit-gobject-1.so.0
$ pkgfile libjson-glib-1.0.so.0
extra/json-glib
rado84 commented on 2020-03-13 08:51 (UTC)
@sudobash418, the terminal says it wants to build 7.1.2 to 7.1.3. Anyway, I tried downgrading vala but that didn't work, so I did it oldschool - uninstalled vala and then installed vala-0.42. Then I added vala to the ignorepkg list of pacman to prevent it from updating until this problem is solved. And the building of the new pamac-classic worked.
Pinned Comments
sudobash418 commented on 2024-04-26 23:10 (UTC) (edited on 2024-04-26 23:10 (UTC) by sudobash418)
I've just pushed
7.3.0-3
, which includes the following (overdue) changes:There seem to be a few bugs related to downloading files still.
Unfortunately, I no longer use pamac-classic, nor do I have experience with Vala, nor do I have much time to investigate the cause of the bugs.
If anyone wants to take over maintainership (or be a co-maintainer) to fix these issues, let me know.
Cromer commented on 2022-07-12 00:28 (UTC)
Probably related to this: https://git.cromer.cl/cromer/pamac-classic/issues/12
AUR has been broken in pamac-classic for a while now due to changes on Arch Linux's side of things. If anyone can fix and do a pull request, I will merge it. But right now I don't have time to investigate myself and is at the bottom of my priority list.