google / cloud-print-connector

Google Cloud Print Connector
BSD 3-Clause "New" or "Revised" License
764 stars 185 forks source link

Package for Fedora / RHEL / CentOS #127

Open agoode opened 8 years ago

agoode commented 8 years ago

I am working on this.

Currently I first need to package launchpad.net/go-xdg/v0 and github.com/codegangsta/cli.

agoode commented 8 years ago

github.com/codegangsta/cli is already packaged.

jacobmarble commented 8 years ago

FYI the xdg package already exists in Debian, but it has a non-standard name. Don't know why. https://packages.debian.org/sid/golang-go-xdg-dev

agoode commented 8 years ago

package review for golang-launchpad-go-xdg-v0: https://bugzilla.redhat.com/show_bug.cgi?id=1279660

agoode commented 8 years ago

I filed an issue against firewalld to better support the privet use case: https://github.com/t-woerner/firewalld/issues/55

Right now the only way to support privet with firewalld is to open all the ephemeral ports. For Fedora Workstation it doesn't matter, since the default firewalld config does this. But this is not the default on Fedora Server nor CentOS.

jacobmarble commented 8 years ago

I'm not familiar with firewalld, but if it helps, we could limit the port range with a config value. The libraries don't make this simple, but I don't think it would be hard to implement.

agoode commented 8 years ago

The last dependency for Fedora is packaged: https://admin.fedoraproject.org/pkgdb/package/golang-launchpad-go-xdg-v0/

It will be appearing in f22, f23, rawhide, and el7.

There may be more el7 dependencies to work through. I have not looked at el6 yet at all.

agoode commented 8 years ago

el6 looks similar dependency-wise. I will package xdg for el6 as well.

el6 will be a little more work from the others mostly because of logging and systemd, but should be doable.

agoode commented 8 years ago

el6 should be fine. "go get" works just fine (except for https://bugzilla.redhat.com/show_bug.cgi?id=1253897). I think all dependencies are packaged.

agoode commented 8 years ago

This is a little tricky still since the policies for RHEL7 are not well documented. Fedora and RHEL6 should be fine.

agoode commented 8 years ago

I've not made any progress here since Fedora hasn't yet figured out a complete (non-draft) packaging story for Go. https://fedorahosted.org/fpc/ticket/382

Until things are figured out, this should be installable quite easily with the normal go get tool except for the bug mentioned above.

jacobmarble commented 8 years ago

Roger, thanks for the update.

agoode commented 8 years ago

Just some notes for me here:

agoode commented 8 years ago

Blocking on #266.

agoode commented 7 years ago

Things are still moving (slowly) in Fedora land. https://pagure.io/packaging-committee/issue/382

I am not working on this right now but if #266 is resolved I could revisit this.

mintslice commented 7 years ago

@agoode there's a bunch of golang packages in fedora 25 now.

$ sudo dnf search golang | wc 1314 6286 85562

Is it possible that that packaging issues have been resolved. I would be great to see yum support for this.

agoode commented 7 years ago

This is still blocked on #266.

iranzo commented 5 years ago

Any progress on getting this package released?

agoode commented 5 years ago

No, I'm not working on this right now.