Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Fedora #26

Closed
KelleyMcChes opened this issue Apr 25, 2018 · 25 comments
Closed

Support for Fedora #26

KelleyMcChes opened this issue Apr 25, 2018 · 25 comments
Labels

Comments

@KelleyMcChes
Copy link
Contributor

I don't know if this is a lot of work or not, but would it be possible for Howdy to be ported to Fedora? If that is too much work, could you add documentation so that I could compile from source?

@boltgolt
Copy link
Owner

I'd love to have a RPM build of Howdy, but i have close to 0 experience with fedora and related distros. I don't have a clue how to build or distribute RPMs either.

There also might be fundamental incompatibilities between the systems, face-recognition seems to work on Fedora but installing dlib might be harder. The libpython-pam module is also critical,

You could start by trying to get the very first version to work. This version didn't have an installer yet and instead has a lengthy installation guide. It all depends how much effort you want to put into this.

@boltgolt
Copy link
Owner

boltgolt commented May 1, 2018

Any progress by any chance?

@boltgolt boltgolt added the stale This is an older thread that's inactive label May 16, 2018
@boltgolt boltgolt removed the stale This is an older thread that's inactive label Aug 7, 2018
@boltgolt boltgolt reopened this Aug 7, 2018
@ghost
Copy link

ghost commented Sep 6, 2018

Any news about the Fedora RPM package? @Bar-Code

@boltgolt boltgolt added the stale This is an older thread that's inactive label Oct 4, 2018
@boltgolt
Copy link
Owner

boltgolt commented Oct 4, 2018

No visible progress on the fork of @Bar-Code, marking this as stale again. Add a comment if your up for making a port for Fedora.

@luyatshimbalanga
Copy link
Contributor

Hello @boltgolt ,
I am a Fedora package maintainer. Here is the initial built on COPR repository.
SPEC file: https://copr-be.cloud.fedoraproject.org/results/luya/howdy/fedora-29-x86_64/00829419-howdy/howdy.spec

Currently missing is the python-face_recognition_models not yet avaiable in the repository.

@boltgolt
Copy link
Owner

Great work, thanks! The good news is that @sapjunior and @dmig have been working on a much much faster version that does not use face_recognition over at #99.

What would Fedora users need to to install that package? Would you like to create a pull request on the dev branch with Fedora installation instructions in the readme?

@boltgolt boltgolt removed the stale This is an older thread that's inactive label Nov 26, 2018
@dmig
Copy link
Contributor

dmig commented Nov 26, 2018

It would be better, if someone makes package build script, similar to debian/

@boltgolt
Copy link
Owner

The Arch package also has its PKGBUILD on AUR and no packaging files in this repo. If it's an option for Arch it should also be allowed for Fedora.

I'd much rather have both of them stored in git but not all packaging systems are the same in that regard.

@dmig
Copy link
Contributor

dmig commented Nov 26, 2018

Let's leave that to someone who use these distros.

@luyatshimbalanga
Copy link
Contributor

luyatshimbalanga commented Nov 27, 2018

Great work, thanks! The good news is that @sapjunior and @dmig have been working on a much much faster version that does not use face_recognition over at #99.

That is a good news. Meanwhile, I am writing a spec file for Fedora package for testing and will add into the repository.

What would Fedora users need to to install that package?

Currently working on it. I am planning to add in the Fedora repository. For those eager to trying, they can on the COPR repository

Would you like to create a pull request on the dev branch with Fedora installation instructions in the readme?

Sure. Once every pieces are in place, I will.

@luyatshimbalanga
Copy link
Contributor

Both face_recognition and its models are packaged in Copr repository. Howdy is on the latest stable release ready for testing.

@luyatshimbalanga
Copy link
Contributor

Next step will be writing a Fedora guideline installation subject to change once the package landed on the official repository.

@boltgolt
Copy link
Owner

The packages on Copr look good, pull request #103 looks good as well. Closing after PR merge.

@williamwlk
Copy link

williamwlk commented Nov 30, 2018

Hi @luyatshimbalanga and @boltgolt

Had a look at the Copr repo and tried to get the hang of it on Fedora release 29 (Twenty Nine).

python2 and python3 can co-exist among other things. (Check)
And I could be wrong but 'python3-face_recognition_models ' package is missing in action.
In addition, how about pam_python.so?

python3-face_recognition_models could be a temporary non issue. But pam_python.so is nowhere to be found or addressed.

Thoughts?

@boltgolt
Copy link
Owner

The face_recognition_models package seems included in the Copr repo. Isn't pam-python available the official reposotory?

@williamwlk
Copy link

Hi @boltgolt

Yes. It is being built and packaged OK but it is not where it is supposed to be. Could be temporary and non issue.

pam_python is I am afraid not available at the official Fedora Repo.

That's why I have had to build it on my RHEL7.5. (STEP 5 (Prep Prep Prep for pam_python.so)).

Ref:
"Pam-python is part of Debian. Most Debian derived distribution can install using apt-get."
http://pam-python.sourceforge.net/

@williamwlk
Copy link

williamwlk commented Nov 30, 2018

And by the way, howdy bash completion is missing in the package too.

/usr/share/bash-completion/completions

[w@w ~]$ rpm -ql howdy
/usr/bin/howdy
/usr/lib64/security/howdy
/usr/lib64/security/howdy/cli
/usr/lib64/security/howdy/cli.py
/usr/lib64/security/howdy/cli/init.py
/usr/lib64/security/howdy/cli/add.py
/usr/lib64/security/howdy/cli/clear.py
/usr/lib64/security/howdy/cli/config.py
/usr/lib64/security/howdy/cli/disable.py
/usr/lib64/security/howdy/cli/list.py
/usr/lib64/security/howdy/cli/remove.py
/usr/lib64/security/howdy/cli/test.py
/usr/lib64/security/howdy/compare.py
/usr/lib64/security/howdy/config.ini
/usr/lib64/security/howdy/pam.py
/usr/share/doc/howdy
/usr/share/doc/howdy/README.md
/usr/share/licenses/howdy
/usr/share/licenses/howdy/LICENSE
[w@w ~]$ cat /etc/redhat-release
Fedora release 29 (Twenty Nine)
[w@w ~]$

@williamwlk
Copy link

pam_python is I am afraid not available at the official Fedora Repo.

Ohh don't mind my oversight! It is at RPM Sphere Repo as you have pointed out.

pam_python-1.0.6-2.1.x86_64

So this is cool now.

@williamwlk
Copy link

Yes. It is being built and packaged OK but it is not where it is supposed to be. Could be temporary and non issue.

Got it installed OK.

python3-face_recognition_models-0.3.0-1.fc29.noarch

This is cool too.

fswebcam-20140113-10.fc29.x86_64 is there too. So that you can do preinst script. and postinst too.

@luyatshimbalanga
Copy link
Contributor

And by the way, howdy bash completion is missing in the package too.

/usr/share/bash-completion/completions

Fixed.

fswebcam-20140113-10.fc29.x86_64 is there too. So that you can do preinst script. and postinst too.
Working on it.

@williamwlk
Copy link

Thank you. @luyatshimbalanga and @boltgolt

How do you intend to help the end users configure the webcam in the config.ini?

pre/postinstall scripts?

@luyatshimbalanga
Copy link
Contributor

@williamwlk
Looking at both debian pre/postintall scripts, they should be part of howdy in the event an user switched on another camera. I look at a webcam application about the initial autoconfiguration with minimum user interaction.

@boltgolt
Copy link
Owner

boltgolt commented Dec 3, 2018

To reconfigure the webcam a user needs to edit the config by hand to the right path. I wouldn't spend too much effort on it as that part will move to the UI in Howdy 2.6.0.

@williamwlk
Copy link

@boltgolt No problem. And no worries at all. I was just curious as your debian pre/postinstall scripts were there and did all the stuff for the end users solid.

For most sys admins (of Fedora/CentOS/RHEL), they sure can find a way to do just that.

To attach an install note would be a wise thing to do though.

And a good idea really re UI in Howdy 2.6.0.

Thank you for the beautiful software piece for the linux world.

@boltgolt
Copy link
Owner

boltgolt commented Jan 6, 2019

With Howdy being packaged on COPR with installation instructions in the readme i'll close this issue for now

@boltgolt boltgolt closed this as completed Jan 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants