You are not logged in.
AppData is part of each app source code. If you look to /usr/share/appdata, you can find those informations which are not filtered out of package. To get AppStream to work we have to work with guys who manage Arch build servers to build using createrepos_as tool the AppStream files. and put those files at the same level of community.db.
I'm currently working to make the createrepos_as tool working with Arch repos & packages format before making any "official" proposal of addition of this tool in the Arch build servers.
As AppStream is used by Gnome Software and Apper, it could benefit to any packages manipulation tool and can even be added to any pacman wrapper or pacman itsel to get more informations about application packages.
Offline
Wondering how the port of alpm and packagestream is going. Any breakthroughs?
I don't really know what I'm doing.
Offline
I'm really busy this summer and don't know when it will stop so I can't tell when I could start again coding on these tasks.
Offline
Some progress to report in:
After spending most of the night cleaning up the ALPM code, I stumbled across this git repo
https://gitorious.org/packagekit/alpm-p … kends/alpm
And this code wizard has managed to get the alpm backend compiling on packagekit 0.9.3 (woo!), albeit with many of the features still broken and turned off.
Subsequently, to test out his port, I created a PKGBUILD and built an package out of his latest git, installed it, downloaded Gnome-Software source, built and installed that, and guess what? I got Gnome-Software working!....kind of....
I could see three packages, Firefox, Transmission, and maps. There was no meta info listed, the remove option was there but broken, and no search up update functionality worked. Regardless, this is a huge step to get Gnome-Software working, and modern packagekit working. I have reached out to Laurent Carlier, the current coder behind the alpm backend to see if I can help. I'll report back what he says.
TL,DR: The git account listed above has a lot of modern code changes to the ALPM backend, and anyone who wants to help should reach out to Laurent Carlier (hopefully he doesn't mind the plug). Lets not duplicate efforts, lets work together on this.
I don't really know what I'm doing.
Offline
I could see three packages, Firefox, Transmission, and maps. There was no meta info listed, the remove option was there but broken, and no search up update functionality worked. Regardless, this is a huge step to get Gnome-Software working, and modern packagekit working. I have reached out to Laurent Carlier, the current coder behind the alpm backend to see if I can help. I'll report back what he says.
My recommendation is to split this into two tasks: the alpm PackageKit backend and appstream metadata are separate issues. GNOME Software requires both; gnome-packagekit (the suite containing gpk-application and gpk-update-viewer) only needs the PackageKit backend, so if you get that working first you'll be in a much better position to worry about GNOME Software.
Good luck!
Offline
Yep that is my thinking. I am not touching the appstream portion as of yet.
After looking at the above linked gittorius account, I see that all the dev did was disable all of the code in order to get it to compile.
I have also taken an extensive look at the code and I too have gotten the code to brute force compile, by swapping out as many deprecated calls to (what I think are) the new ones, and by fixing as many errors as possible. The code is in no way working at the moment though, however it does compile and install, which is nice.
Edit: removed github link. The current upstream work outdoes any contribution I was able to do.
Last edited by brittyazel (2014-09-08 00:45:40)
I don't really know what I'm doing.
Offline
The code compiles and installs, but I'm having a dbus error:
Error calling StartServiceByName for org.freedesktop.PackageKit: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of org.freedesktop.PackageKit timed out
I don't know how to get around this issue unfortunately.
I don't really know what I'm doing.
Offline
I'm back in business. I will be short in time to get stuff working for 3.14 release but stay tuned for progress.
@brittyazel have you some news about the alpm backend ?
Offline
Unfortunately no. The current back end is highly depricated to the point of a rewrite, and it requires someone knowledgeable of both alpm and packagekit to handle. I got the current back end compiling finally, but is not functional due to failure to initialize.
While I swapped in all new references to pkbackendjob, I don't necessarily know if I did so in a functional manor. Also, as per the notes from the previous author, the thread functionality is really mucked up, and desperately needs repair and bringing to new standards.
I can surely help test, but my expertise is neglegable. All my work is on my github above
I don't really know what I'm doing.
Offline
In fact, my last push may have done more harm than good with swaps to pkbackendjob. I honestly do not know as I have had no way to test the validity of the code. It is well beyond me
Last edited by brittyazel (2014-08-20 10:58:48)
I don't really know what I'm doing.
Offline
@brittyazel - so, packagekit 0.9.5 has been updated with a new alpm backend. Do you think you guys will be able to get gnome-software running by the time 3.14 is incorporated into the stable repo?
Offline
http://comments.gmane.org/gmane.comp.fr … gekit/6576
Shows this:
alpm: Port the ALPM backend to the latest API (Aleix Pol)
Is that one of you? :-)
@fbourigault - hoping you have time to integrate this!
Offline
It's not me, I did see a commit made a couple weeks ago for libappstream from @fbourigault. I'm going to try out the new packagekit to see if it works. I did see a comment on Richard Hughes' G+ page yesterday commenting trying to get libalpm to play nice with multithreading, so it is getting some well needed attention.
I don't really know what I'm doing.
Offline
Compiled and installed packagekit 0.9.5 but it still has major issues communicating through dbus or even initializing. The current git snapshot does the same thing. Looks like it needs a bit more work before it will play nicely. happy that it's getting attention though.
Edit: It appears that Richard Hughes has made it his mission to get the alpm backend working this weekend. It seems that he is following through on this work as well based on his commit logs and G+ posts. I'm a big fan of Richard, and we should all extend a thanks to him for his work.
Last edited by brittyazel (2014-09-07 23:51:46)
I don't really know what I'm doing.
Offline
Looks like the boys did it! Richard Hughes just showed off gnomes software working on archlinux with gnome 3.14 beta, along with full appstream metadata. Should have something in the AUR soon
I don't really know what I'm doing.
Offline
Looks like the boys did it! Richard Hughes just showed off gnomes software working on archlinux with gnome 3.14 beta, along with full appstream metadata. Should have something in the AUR soon
Awsome! Now i want more to get gnome 3.14 on Arch. Guys, you are the best.
Offline
Saw the G+ posts and came running here like an excited little schoolboy! Can't wait to use it!
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
PackageKit 1.0.0 was released few minutes ago : http://lists.freedesktop.org/archives/p … 26297.html
Work we did on the alpm backend will allow GNOME Software to be in official repos.
There is still some work to do on this backend to get it full featured but I'm on it
I also worked on the alpm backend for appstream-builder tool to extract metadata from repositories.
Now packagers have all tools to make GNOME Software on Arch Linux real !
Thanks for your support !
Offline
Wow great news, can't await having a working GNOME Software installation on my machine! By the way, there is already a package in AUR: https://aur.archlinux.org/packages/gnome-software-git
Last edited by milli-961227 (2014-09-12 21:03:32)
Offline
I threw together an aur package to test packagekit-1.0.0 before it gets into the stable repos.
aur: packagekit-test
I don't really know what I'm doing.
Offline
gnome-software-git doesn't show apps in the all tab but update and installed tabs seem to be working ok.
Offline
Have a look to appstream-glib-git comments on AUR. You will find instructions on how to install metadata.
Offline
Have a look to appstream-glib-git comments on AUR. You will find instructions on how to install metadata.
Thanks. That worked. Features just show dots inside the app boxes but everything else looks good.
Offline
Has anyone updated with this? Trying to update caused my system to boot loop and couldn't get into a tty so I had to reinstall
Offline
Has anyone updated with this? Trying to update caused my system to boot loop and couldn't get into a tty so I had to reinstall
Nope, can you describe what you did leading up to the crash?
I don't really know what I'm doing.
Offline