Package Details: pamac-classic 7.2.1-1

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: GPL3
Conflicts: pamac, pamac-aur
Provides: pamac, pamac-aur
Submitter: sudobash418
Maintainer: sudobash418
Last Packager: sudobash418
Votes: 15
Popularity: 1.02
First Submitted: 2017-10-04 21:54
Last Updated: 2020-04-02 06:19

Required by (3)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

sudobash418 commented on 2020-04-05 22:25

@remussatala Try unchecking the "Hide tray icon when no update available" setting in the preferences menu

remussatala commented on 2020-04-05 22:23

pamac-tray not show

glitsj16 commented on 2020-04-02 14:32

@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

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

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

@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

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

@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.

Cromer commented on 2020-03-13 00:30

I just pushed 7.1.3 which has a temporary fix in it. Still trying to find a more permanent fix.

sudobash418 commented on 2020-03-12 22:25

@timhs As far as I understand, those errors shouldn't occur if you're building with vala<0.48

I would suggest waiting for the next release to fix the build issue