You are not logged in.

#26 2014-04-10 07:26:53

fbourigault
Member
Registered: 2014-04-08
Posts: 22

Re: Gnome software

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

#27 2014-07-23 21:46:06

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 163

Re: Gnome software

Wondering how the port of alpm and packagestream is going. Any breakthroughs?


I don't really know what I'm doing.

Offline

#28 2014-07-24 08:41:20

fbourigault
Member
Registered: 2014-04-08
Posts: 22

Re: Gnome software

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

#29 2014-07-25 12:07:08

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 163

Re: Gnome software

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

#30 2014-07-26 02:40:46

Michael Catanzaro
Member
Registered: 2012-11-04
Posts: 49

Re: Gnome software

brittyazel wrote:

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

#31 2014-07-26 06:07:48

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 163

Re: Gnome software

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

#32 2014-07-27 07:32:10

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 163

Re: Gnome software

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

#33 2014-08-19 21:07:36

fbourigault
Member
Registered: 2014-04-08
Posts: 22

Re: Gnome software

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

#34 2014-08-20 10:52:30

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 163

Re: Gnome software

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

#35 2014-08-20 10:58:11

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 163

Re: Gnome software

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

#36 2014-09-06 22:39:49

sramkrishna
Member
Registered: 2014-03-29
Posts: 3

Re: Gnome software

@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

#37 2014-09-06 22:40:56

sramkrishna
Member
Registered: 2014-03-29
Posts: 3

Re: Gnome software

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! smile

Offline

#38 2014-09-07 06:40:49

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 163

Re: Gnome software

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

#39 2014-09-07 06:57:00

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 163

Re: Gnome software

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

#40 2014-09-08 18:10:24

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 163

Re: Gnome software

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

#41 2014-09-08 18:34:01

gowikel
Member
From: Córdoba, España
Registered: 2013-08-16
Posts: 13

Re: Gnome software

brittyazel wrote:

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

#42 2014-09-09 11:34:40

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: Gnome software

Saw the G+ posts and came running here like an excited little schoolboy! smile 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

#43 2014-09-12 12:52:30

fbourigault
Member
Registered: 2014-04-08
Posts: 22

Re: Gnome software

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 wink

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

#44 2014-09-12 16:27:07

milli-961227
Member
Registered: 2014-04-15
Posts: 13

Re: Gnome software

Wow great news, can't await having a working GNOME Software installation on my machine! big_smile 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

#45 2014-09-13 05:04:12

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 163

Re: Gnome software

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

#46 2014-09-14 00:10:26

dsreyes1014
Member
Registered: 2014-06-28
Posts: 56

Re: Gnome software

gnome-software-git doesn't show apps in the all tab but update and installed tabs seem to be working ok.

Offline

#47 2014-09-14 00:17:02

fbourigault
Member
Registered: 2014-04-08
Posts: 22

Re: Gnome software

Have a look to appstream-glib-git comments on AUR. You will find instructions on how to install metadata.

Offline

#48 2014-09-14 00:40:45

dsreyes1014
Member
Registered: 2014-06-28
Posts: 56

Re: Gnome software

fbourigault wrote:

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

#49 2014-09-16 14:43:01

dsreyes1014
Member
Registered: 2014-06-28
Posts: 56

Re: Gnome software

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

#50 2014-09-17 05:05:57

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 163

Re: Gnome software

dsreyes1014 wrote:

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

Board footer

Powered by FluxBB