Pamac-QT - a new QT5-UI for libalpm

pamac
qt5

#42

9 posts were merged into an existing topic: Pamac CLI


#43


I’ve made this mockup in QML.


#44

Promising :smiley:


#45

It shouldn’t be too hard to implement the whole thing. But I have one question about Vala. As far as I know Vala generates C sources. Can they be used as C API for Pamac functions?


#46

Of course, Pamac contains a library named libpamac and the headers are in pamac.h (GLib/GObject library).
You can also have an eye on pamac.vapi (library in vala syntax) and on the python examples.
Don’t hesitate to ask any question.


#47

I’ve done some research.
It looks like we can easily integrate existing Pamac C functions and structures to Qt/C++ and QML/JS using a bunch of adapters.
By the way, PamacDatabase can be a singleton across the app, am I right?


#48

pamac-qt will just be a gui to pamac-daemon, you don’t have to rewrite pamac (duplicate code) but use it via dbus library ( as org.manjaro.pamac.user

pamac-qt will use pamac-****-daemon


#49

Pamac Manager GTK uses libpamac for it’s work. Wouldn’t it be better to use the same lib for Qt version?


#50

Yes use libpamac, it avoids dealing with the dbus daemon.


#51

To access packages info yes.
To run transaction you have to use PamacTransaction.
Maybe first make a prototype with just browsing packages and share it. We can go with transaction after.


#52

This is what I was asking about. Thanks


#53

Pamac v7.0 is out now. You can get it from here:

pamac install https://manjaro.moson.eu/pool/overlay/pamac-7.0.0-1-x86_64.pkg.tar.xz


#54

Great! Time to update to it… And to update my PKGBUILD on AUR :slight_smile:


#55



Some more screenshots. Side menu was the most trickiest part, still working on it.


#56

Oh wow, keep it up. I just can’t wait for the new version. Awesome. :+1:


#57

:+1: :star_struck:


#58

I feel that I kinda missed this train, but I’m very happy this is getting implemented :blush:

Btw, for both gtk and qt versions of pamac: is it possible to filter the search results as you type? I feel it greatly enhances the user experience


#59

I’ll share the sources once I’ll get all of basic package info showing functionality.


#60

@LordTermor: looks amazing so far. When ever you’re ready, let us know.


#61

@LordTermor: did you find time to share your current code of your UI draft?