Discussion:
[Fedora-join] Help with Nyxt and libfixposix packaging
Pierre Neidhardt
2021-05-05 10:24:47 UTC
Permalink
Hello Fedora community!

I'm not a Fedora user but I'd like to create a Fedora .rpm for Nyxt
(https://nyxt.atlas.enginner) since it's been requested many times.

The only issue I'm hitting so far is that the libfixposix package
(https://github.com/sionescu/libfixposix -- a simple C library) is missing from
Fedora.

What would you recommend?

- Is it possible to file a package request? How much time should we expect
before it reaches Rawhide? Could the current stable version (34) benefit from
it, or would we have to wait until the next stable release?

- Otherwise, if I have to provide libfixposix myself, would you recommend that I

- embed it in the Nyxt .rpm?
- or release a separate .rpm for libfixposix, then have the Nyxt .rpm depend
on it?

Thanks in advance for your suggestions !

And apologies if this is not the right mailing list, feel free to redirect me.

Cheers!
--
Pierre Neidhardt
https://ambrevar.xyz/
Ankur Sinha
2021-05-05 11:11:17 UTC
Permalink
Post by Pierre Neidhardt
Hello Fedora community!
Hi Pierre,
Post by Pierre Neidhardt
I'm not a Fedora user but I'd like to create a Fedora .rpm for Nyxt
(https://nyxt.atlas.enginner) since it's been requested many times.
The only issue I'm hitting so far is that the libfixposix package
(https://github.com/sionescu/libfixposix -- a simple C library) is missing from
Fedora.
What would you recommend?
- Is it possible to file a package request? How much time should we expect
before it reaches Rawhide? Could the current stable version (34) benefit from
it, or would we have to wait until the next stable release?
If you are not a package maintainer already, please follow the steps
here to file a new package review ticket:
https://fedoraproject.org/wiki/Join_the_package_collection_maintainers

Packages reach rawhide as soon as the maintainer builds them in rawhide
(there may be some lag while the mirrors sync etc.).

You can add packages to current Fedora releases also. Most of us add the
package to rawhide and both the currently supported releases (if/where
possible).
Post by Pierre Neidhardt
- Otherwise, if I have to provide libfixposix myself, would you recommend that I
- embed it in the Nyxt .rpm?
- or release a separate .rpm for libfixposix, then have the Nyxt .rpm depend
on it?
Thanks in advance for your suggestions !
The best/cleanest way is to first package libfixposix (and any other
dependencies) and go up the "dependency tree" until all the packages
needed by Nyxt are in Fedora, and then include Nyxt. This ensures that
all the dependencies are treated as individual packages, with their own
life-cycles, and prevents multiple copies of the same libraries being
strewn about in the Fedora packages.

You *could* bundle libfixposix---bundling is no longer forbidden by the
packaging guidelines[1]---but as you'll see, it is strongly advised
against and should be used only as a last resort.

Hope that helps.

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling
--
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) | https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London
Loading...