Skip to content
This repository has been archived by the owner on Aug 3, 2019. It is now read-only.

fedora 28 and rawhide package #94

Open
crunchy-github opened this issue May 5, 2018 · 18 comments
Open

fedora 28 and rawhide package #94

crunchy-github opened this issue May 5, 2018 · 18 comments

Comments

@crunchy-github
Copy link

Hi,

I would really appreciate it if you could build a package for fedora 28. I already tried to rebuild the old source rpm, but there are at least two problems

  • the dependency to ImageMagick-Tools needs to be changed to ImageMagick (probably)
  • Fedora has moved to python 3 and I can't find at least pydbus for python 2
@crunchy-github
Copy link
Author

Ok fedora 28 did not really switch to python 3 (read some wrong information). But still I get an error message when starting green recorder regarding dbus

[rpmbuild]$ green-recorder
Traceback (most recent call last):
File "/usr/bin/green-recorder", line 23, in
from pydbus import SessionBus
ImportError: No module named pydbus

@mhsabbagh
Copy link
Owner

mhsabbagh commented May 12, 2018

Well, it seems as that Fedora no longer provides python2-pydbus package in the new versions, which is sad because this is a dependency for our program.

We'll need to package it manually and upload it to our repository, but sadly I am very busy.

@sustmi
Copy link

sustmi commented Jun 20, 2018

As a workaround you can install manually install the python2-pybus rpm for Fedora 27: https://dl.fedoraproject.org/pub/fedora/linux/releases/27/Everything/x86_64/os/Packages/p/python2-pydbus-0.6.0-3.fc27.noarch.rpm
It works for me on Fedora 28.

@probonopd
Copy link

Does not work in Rawhide:

[root@localhost-live ~]# sudo rpm -ivh /home/liveuser/Downloads/python2-pydbus-0.6.0-3.fc27.noarch.rpm 
warning: /home/liveuser/Downloads/python2-pydbus-0.6.0-3.fc27.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f5282ee4: NOKEY
error: Failed dependencies:
	python-gobject-base is needed by python2-pydbus-0.6.0-3.fc27.noarch

@sallyhaj
Copy link

sallyhaj commented Jul 2, 2018

It is still working with me on F28, because I've upgraded from f27, so I have python2-pydbus, but with my friend fresh installation, it's not working as you said.
@mhsabbagh Does the app need an upgrade to python3 in general or just re-packaging as you mentioned?

@hetzbh
Copy link

hetzbh commented Aug 14, 2018

@probonopd don't use directly the rpm command. Use the dnf command with your local RPM that you downloaded on fedora and it will auto install the dependencies from the repositories.

@mhsabbagh
Copy link
Owner

It sounds like the python2-pydbus package is now available for both Rawhide and F28. I have added the package repo to the readme file.

@nirix
Copy link

nirix commented Oct 1, 2018

@mhsabbagh the install on Fedora 28 fails due to a missing package as mentioned here: c8d9b52#commitcomment-30670360

Last metadata expiration check: 0:00:56 ago on Tue 02 Oct 2018 09:20:19 AEST.
Error: 
 Problem: conflicting requests
  - nothing provides python2-pydbus needed by green-recorder-3.1-75.1.noarch

@mirkancal
Copy link

I've installed with
dnf install python2-dbus and sudo pip install pydbus but still have that nothing provides python2-pydbus message.

@sallyhaj
Copy link

sallyhaj commented Oct 7, 2018

I've installed with
dnf install python2-dbus and sudo pip install pydbus but still have that nothing provides python2-pydbus message.

I suggest you to remove pydbus then just install the one from fedora, you can find a package
dnf install http://fedora.c3sl.ufpr.br/linux/releases/28/Everything/x86_64/os/Packages/p/python2-dbus-1.2.4-13.fc28.x86_64.rpm
It's working with me with this package

@mhsabbagh mhsabbagh reopened this Oct 14, 2018
@mhsabbagh
Copy link
Owner

My bad, it seems that the available package is python2-dbus, not python2-pydbus, which is different. I'll have no option but to upload that package to our repository and build it there then.

@aappddeevv
Copy link

aappddeevv commented Oct 16, 2018

I did an install by downloading the rpm file and using rpm --nodeps. I had to install the python dependencies using pip install first though. However, it seems to error out after stopping recording. I am running wayland.

Update: It is working. Not sure why it did not work before, perhaps a reboot was necessary.

@byteSamurai
Copy link

@mhsabbagh Maybe its a good idea to use flatpak here? I haven't done anything with it, but at least it looks, like it might be no big deal and would solve the problem, won't it?

See also: http://docs.flatpak.org/en/latest/python.html

@mhsabbagh
Copy link
Owner

@byteSamurai We have an issue in the code which prevents it from being packaged as a Flatpak. aka #7

@probonopd
Copy link

At least for me it would not solve the problem because I am running Fedora from the Live ISO and Flatpak doesn't seem to handle this.

@mhsabbagh
Copy link
Owner

mhsabbagh commented Jan 5, 2019

I have built the python-pydbus package locally on our repository. Fedora 28 and Rawhide should work now. Please test and let me know. (Just run dnf update, and then dnf install green-recorder).

As for Fedora 29, openSUSE Build Service (which is what we use to build packages) doesn't support it yet. So you'll have to wait until they do.

@mhsabbagh mhsabbagh changed the title fedora 28 package fedora 28 and rawhide package Jan 5, 2019
@sebix
Copy link

sebix commented Mar 17, 2019

As for Fedora 29, openSUSE Build Service (which is what we use to build packages) doesn't support it yet. So you'll have to wait until they do.

They do (at least now) https://build.opensuse.org/project/show/Fedora:29

@mhsabbagh
Copy link
Owner

As for Fedora 29, openSUSE Build Service (which is what we use to build packages) doesn't support it yet. So you'll have to wait until they do.

They do (at least now) https://build.opensuse.org/project/show/Fedora:29

Thanks. This indeed news, I have released the package for Fedora 29.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests