Pamac Qt 0.2 Beta

Screenshot_20190312_230801
After six months of development, I am ready to present you the first beta version of the Qt-based Pamac frontend. At the moment, it is already fully functional and it's just needed to implement and fix some minor features.

List of features:

  • Package list
  • Search
  • AUR
  • View package information
  • System upgrades (including AUR)
  • History of updated packages
  • Preferences
  • Transaction details
  • Support for showing progress in the Plasma taskbar

Screenshots:
Screenshot_20190312_230828 Screenshot_20190312_230845 Screenshot_20190312_230913
Screenshot_20190312_231112 Screenshot_20190312_231201 Screenshot_20190312_231430
Please continue reporting bugs at our issue tracker! But consider using a git version when your are reporting.

NOTE: In order to apply a system theme to the application it is needed to install qqc2-desktop-style package.

31 Likes

PKGBUILD for the git version (thanks to @papajoke ):

UPD: PKGBUILD updated to work with CMake build system.

# Maintainer: Artem Grinev (LordTermor)

pkgname=pamac-qt-git
pkgver=tbf
pkgrel=1
pkgdesc="A Qt5 frontend for libpamac - git version"
arch=('i686' 'x86_64')
url="https://gitlab.manjaro.org/applications/pamac-qt"
license=('GPL3')
depends=('pamac-cli' 'pamac-common' 'qt5-base>=5.12.0' 'qt5-quickcontrols2' 
'qt5-quickcontrols' 'qt5-graphicaleffects' 'breeze-icons')
makedepends=('git' 'cmake')
replaces=('pamac-qt')
conflicts=('pamac-qt')
options=(!emptydirs)
source=("${pkgname%-*}::git+$url")
_gitname="pamac-qt"
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/${pkgname%-*}"
  printf "%s.%s" "$(git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g')" "$(date +%Y.%m.%d)"
}

build() {
  mkdir -p build
  cd build
  cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="/usr" "$srcdir/${pkgname%-*}"
  make -j $jc
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
  mv "${pkgdir}"/usr/bin/pamac-qt-app "${pkgdir}"/usr/bin/pamac-qt
  mkdir -p "${pkgdir}"/usr/share/applications
}

2 Likes

1.0 blockers:

  • Translation
  • Stable AUR support
    • WIP
  • AUR build files editing
    • WIP
  • Improved history dialog
    • Done
  • Local package installing
    • Done, needs testing
  • Notifications
    • Done
  • Tray Icon
    • Done
  • Optimized memory usage
    • Don't know if it's possible due to QML engine nature
  • Run transactions in terminal
  • Minor bug fixes
  • You say me

Still reserved

So I decided to make a new thread after a month after release.
I'm sorry for this delay but I had a lot of work and I'm afraid this won't be changed any time soon.

I've just pushed some nice updates of preferences dialog (it is almost fully functional now)
image.png

5 Likes

I would add to the list:

  • Check if the localization of pamac-gtk can be re-used in pamac-qt

However, if pamac-qt will start varying from the gtk version, it will probably need a separate source, but maybe the old one can be copied and applied to Qt so we have something substantial to build on and not start from the scratch?

Also, I tried to do some AUR updates in pamac-qt and compilations crashed it, while in gtk there was no problem. It seems that pamac-qt is unstable when using AUR operations, but since it's a vague segmentation fault and there is so much work to do, let's leave it for later. I just wonder if others have the same experience or is it just me (I'm using git version FYI).

Installed it on a Manjaro KDE in VirtualBox. Looking at PKGUILD, I think it could be cleaner to replace pamac in depends by both pamac-common and pamac-cli.

Built in AUR libreoffice-extension-grammalecte, no crashes. Removed vlc-nightly, orphan packages, octopi: all is ok.

Bad points:

  • Refresh is not immediate for removing / adding package
  • In AUR preferences, you cannot set a building directory.

Used version?

[fred@fredo-manja-kde ~]$ pamac info pamac-qt-git
Name                 : pamac-qt-git
Version              : r47.9befdf3.2019.04.08-1
Description          : A Qt5 frontend for libpamac - git version
URL                  : https://gitlab.manjaro.org/applications/pamac-qt
Licenses             : GPL3
Size                 : 728,1 kB
Depends On           : pamac-cli pamac-common qt5-base>=5.12.0
qt5-quickcontrols2 qt5-quickcontrols
qt5-graphicaleffects breeze-icons
Replaces             : pamac-qt
Conflicts With       : pamac-qt
Packager             : Unknown Packager
Build Date           : 08/04/2019
Install Date         : 08/04/2019
Install Reason       : Explicitly installed

Hope it helps!

Sure. This PKGBUILD was written before the pamac package split. Fixed.

1 Like

with kde we have all this package ! qqc2-desktop-style is for other DE

1 Like

qqc2-desktop-style is a KDE package and has a lot of KF5 dependencies including Kirigami. I don't want to make pamac-qt depend on KDE things as there are other Qt-based DEs.

Installed on KDE-Dev.
Most menu items have a package name and a purpose.
Does this normally come from Appstream or Pacman?

image

I just need to add a description to the .desktop file

Just an offtopic:
Is KDE Development Manjaro image comes with Pamac-Qt preinstalled?

This is normal

image

But you can change it:

image

No, but since the first (2019-03-31) version did not include Octopi, I thought it was the perfect VM for me to install Pacmac-Qt, since I did not have to worry about conflicting graphical package managers and (more likely) their notifications.

If you look closely at your first image, Octopi has a description of Add/Remove Software.
If you look closely at my image, Pamac-Qt has a description of Pamac-Qt.

Oic .. i thought you didnt want them .. not error .. nvm .

having difficulties using pamac-qt. When doing system update it hangs on this screen for about 2 minutes:

Screenshot-2019-04-11-22-22-34

Then finally resumes and works correctly but that doesn't happen on gtk version.

I love this community

3 Likes

Just pushed a little update.

3 Likes

I think this is a rave, but wanted to make sure this is intentional and I am getting this right. Here is an example where Octopi shows only the Package Name:
image

While Pamac-Qt shows both the Menu Item as well as the Package Name:
image

Forum kindly sponsored by