Package Details: pamac-classic 7.0.1-1

Git Clone URL: https://aur.archlinux.org/pamac-classic.git (read-only)
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: 13
Popularity: 1.160041
First Submitted: 2017-10-04 21:54
Last Updated: 2019-07-19 15:30

Latest Comments

1 2 3 Next › Last »

Nocifer commented on 2019-07-19 14:15

@Cromer alright I just tried 7.0.1. It launches and the tray icon works properly as far as I can see, so from a user's perspective it can probably be considered "fixed", but on launch it still gives me the same assertion error:

(pamac-tray:5132): GLib-GIO-CRITICAL **: 17:07:31.413: g_file_new_for_path: assertion 'path != NULL' failed

And if I click on the tray icon, pamac-manager launches without any apparent hitch but it also outputs a similar error:

(pamac-manager:5195): GLib-GIO-CRITICAL **: 17:07:40.386: g_file_new_for_path: assertion 'path != NULL' failed

Cromer commented on 2019-07-19 12:49

@Nocifer, I think I fixed it, could you please let me know if you still have trouble?

Nocifer commented on 2019-07-12 08:34

Hi again,

I've been getting the following error since the update to 7.0.0 when I try to run pamac-tray:

(pamac-tray:9786): GLib-GIO-CRITICAL **: 10:57:52.327: g_file_new_for_path: assertion 'path != NULL' failed

I'm running pamac in a KDE environment, using the KDE_TRAY=ON flag, but I've also tried without it and it still gives me the same error.

Cromer commented on 2019-07-07 00:42

I just pushed 7.0.0, this has some big changes to the libpamc library, fixes old deprecated code, and removes cmake as a build system which means meson is now the only supported build system. Because of some of the major changes underneath, they break compatibility with 6.x.x library, so I bumped to 7.x.x.

Andy_Vetrov commented on 2019-07-06 07:02

Due to the fact that the @Cromer uses Meson as the main assembly system, I switched the PKGBUILD from Cmake to Meson:

pkgname=pamac-classic
pkgver=6.7.3
pkgrel=1
pkgdesc="A Gtk3 frontend for libalpm. Classic version."
arch=('x86_64')
url="https://git.cromer.cl/cromer/pamac-classic"
license=('GPL3')
depends=('curl' 'libsoup' 'polkit' 'pacman' 'libnotify' 'vte3' 'gtk3')
makedepends=('vala' 'meson' 'gettext' 'gobject-introspection')
optdepends=('polkit-gnome: needed for authentication in Cinnamon, Gnome'
            'mate-polkit: needed for authentication in MATE'
            'lxsession: needed for authentication in Xfce, LXDE etc.')
conflicts=('pamac' 'pamac-aur')
provides=('pamac' 'pamac-aur')

source=("pamac-classic-$pkgver-$pkgrel.tar.gz::$url/archive/v$pkgver.tar.gz")

sha256sums=('SKIP')

build() {
  mkdir build
  meson --prefix=/usr \
        --libdir=/usr/lib \
        --sysconfdir=/etc \
        -DENABLE_UPDATE_ICON=false \
        -DENABLE_HAMBURGER=true \
        "${srcdir}/${pkgname}" build
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

The previous version 6.7.2 was compiled without any errors about the missed gir-file.

@Cromer: thanks for the great job!

P.S. In the latest version I found a small typo: in the Help - About menu displayed 6.7.2 instead 6.7.3.

Cromer commented on 2019-07-04 00:09

I just pusehd 6.7.3 which fixes the gir issue if using cmake. The gir issue didn't effect meson which is why I didn't notice it.

Nocifer commented on 2019-07-03 07:47

@sudoBash418 thanks, everything is working great now.

sudoBash418 commented on 2019-07-02 21:09

@Nocifer I had the same build issue as you, and that's why it took me until now to update this package. Thanks for the tip about the gobject-introspection build dependency, I've added it to the new PKGBUILD.

To workaround the error about pamacclassic-1.0.gir missing, the new PKGBUILD installs the pamacclassic-6.0.gir file from the 6.7.0 sources where the build system expects it to be.

Nocifer commented on 2019-07-02 07:59

@Andy_Vetrov yeah, that's more or less my PKGBUILD as well, but it still won't compile because 'pamacclassic-1.0.gir' is still missing, as hinted in the error entry. That file is supposed to be generated on the fly, right? If the package builds correctly for you, then that means that something is not working correctly on my end. I'm on a KDE system, so could this be due to some missing dependency that is taken for granted and not listed in the PKGBUILD because it would be present by default on a GTK system? On a similar note, gobject-introspection is not listed in the make dependencies at all, but unless I'm mistaken is used during the build (for all that g-ir stuff), so maybe it should also be listed in the dependencies?

Andy_Vetrov commented on 2019-07-01 19:24

@Nocifer: with this PKGBULD, build version 6.7.2 finished without errors:

# Maintainer: Thomas Bork <tab.epic@gmail.com>

pkgname=pamac-classic
pkgver=6.7.2
pkgrel=1
pkgdesc="A Gtk3 frontend for libalpm. Classic version."
arch=('x86_64')
url="https://git.cromer.cl/cromer/pamac-classic"
license=('GPL3')
depends=('curl' 'libsoup' 'polkit' 'pacman' 'libnotify' 'vte3')
makedepends=('vala' 'cmake' 'gettext')
optdepends=('polkit-gnome: needed for authentication in Cinnamon, Gnome'
            'mate-polkit: needed for authentication in MATE'
            'lxsession: needed for authentication in Xfce, LXDE etc.')
conflicts=('pamac' 'pamac-aur')
provides=('pamac' 'pamac-aur')

source=("pamac-classic-$pkgver-$pkgrel.tar.gz::$url/archive/v$pkgver.tar.gz")

sha256sums=('SKIP')

prepare() {
 cd "${srcdir}/pamac-classic"
}

build() {
  cd "${srcdir}/pamac-classic"

  # configure with AUR - add --disable-aur to disable AUR support
  ./configure --prefix=/usr \
              --libdir=/usr/lib \
              --sysconfdir=/etc \
              --disable-icon-update \
              --enable-hamburger
  # build
  make
}

package() {
  cd "${srcdir}/pamac-classic"
  make DESTDIR="$pkgdir" install
}