Package Details: pamac-classic 7.3.0-3

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-04-26 23:00 (UTC)

Dependencies (14)

Required by (7)

Sources (3)

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:

  • AUR support is now disabled (because it is currently broken upstream)
  • patches to support building against libalpm 14 (pacman 6.1)

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.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

Cromer commented on 2019-07-07 00:42 (UTC)

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 (UTC) (edited on 2019-07-06 07:03 (UTC) by Andy_Vetrov)

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 (UTC)

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 (UTC)

@sudoBash418 thanks, everything is working great now.

sudobash418 commented on 2019-07-02 21:09 (UTC)

@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 (UTC)

@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 (UTC)

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

Nocifer commented on 2019-07-01 09:01 (UTC) (edited on 2019-07-01 09:01 (UTC) by Nocifer)

I'm getting this error when trying to build 6.7.2:

[ 29%] Linking C shared library libpamacclassic.so
error parsing file /home/nocifer/.cache/yay/pamac-classic/src/pamac-classic/src/pamacclassic-1.0.gir: Failed to open file “/home/nocifer/.cache/yay/pamac-classic/src/pamac-classic/src/pamacclassic-1.0.gir”: No such file or directory
make[2]: *** [src/CMakeFiles/pamacclassic.dir/build.make:343: src/libpamacclassic.so.6.7.2] Error 1
make[2]: *** Deleting file 'src/libpamacclassic.so.6.7.2'
make[1]: *** [CMakeFiles/Makefile2:475: src/CMakeFiles/pamacclassic.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Cromer commented on 2019-06-29 16:23 (UTC)

@marcin19883 I have pushed an update upstream, pamac-classic 6.7.1 which fixes this issue under the meson build system.

marcin19883 commented on 2019-06-21 18:21 (UTC) (edited on 2019-06-21 18:23 (UTC) by marcin19883)

Patch Not Working. ERROR:

pamac-classic/src/choose_ignorepkgs_dialog.vala:23.1-23.15: error: Secondary top-level namespace `Pamac' is not supported by GIR format namespace Pamac {

Compilation failed: 2 error(s), 60 warning(s) make[2]: [src/CMakeFiles/pamacclassic.dir/build.make:119: src/pamacclassic_valac.stamp] make[1]: [CMakeFiles/Makefile2:474: src/CMakeFiles/pamacclassic.dir/all] make: *** [Makefile:141: all]