Could someone please make a package of html5lib for EPEL or Fedora (target is RHEL5)? This would be very helpful to improve our GNOME Library layout. Some of the gtk-doc documentation doesn’t build. For this the HTML files within the tarball are used instead. If html5lib is installed, the library-web scripts will automatically change the HTML files to contain the standard GNOME Library layout. See the difference between libgnome (built from source, has standard layout) documentation with the GTK+ (copied from supplied HTML files, lacks standard layout) documentation.
Frederic Peters, many thanks for writing the second version of the library-web scripts and all the improvements you are making.
Thanks to Oded, html5lib is now installed on the server. A full rebuild will be done during the night (CET), however a small preview of what the GTK+ documentation looks like now:
I’ve built a fedora core 7 package, and you can have the src and noarch RPM here:
http://rpms.geek.co.il/fc7/
This is probably the first python package I did, so I may have gotten a couple of things wrong – email me if you want me to change things.
Have fun!
Oded: There was a small issue because RHEL5 has Python 2.4 (file location didn’t match). Works perfectly. Going to update my post with the result 🙂
I’m aware of this issue, unfortunately Fedora/RHEL don’t offer an RPM definition/macro to detect the correct python version or library location (not that I could find anyway), so I was left to either creating a file list – which I really hate to do, or hardcoding the location – which I also hate.
Faced with to bad choices, I chose the one that allows me to be lazy 😉
Did you change the SPEC rpm to hardcode 2.4 for RHEL5 or did you use some automatic detection ?
Oded: I hard coded it. However, I later found the following: http://fedoraproject.org/wiki/Packaging/Python. This has a macro to correctly determine the path. Btw, do you have the ability to push this into Fedora and EPEL?
I put in an updated version at the same url which follows the guidelines you linked.
I’ll try to open a ticket for this on fedora’s bugzilla, but I don’t know how to actually get it into Fedora.
I’ve opemed a request for getting the package into Fedora: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=252108
I had to change the package name according to the packaging guidelines for python modules. I added a “provides” for the old name, to be on the safe side.
I like the new format. However, the pinkish header on each page looks out of place because the body text spans outside the width of the header box. It’d be nice if the page style could expand the header box to the width of the body.