-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
debian packaging report #530
Comments
Thanks for working on this. Licensing—well, everything is GPL-3.0, apart from the vendored libraries. From the README:
Now, the Python issue—the Python code comes from the vendored copy of KindleUnpack, which is self-contained and can be run with either Python 2.7 or Python 3.4 and later. The shebangs in those files (which I believe is why it's showing the error) have no effect as the Python scripts are run by directly spawning either As for tests, no, unfortunately, there aren't any at the moment (unless you count validation of desktop files, etc.). I guess we can try adding some basic tests with dogtail.
This is currently tracked in #460. |
@johnfactotum @okias Can the package (which will be submitted to Debian, not necessarily the master branch of this repository) be renamed |
Yep, please rename debian package, binary, and all pathes from |
slowly progressing with packaging on https://salsa.debian.org/okias-guest/foliate any Debian developer who sees some space for perfection (lintian is pretty annoyed by prebuild binaries) is very welcome! :) EDIT: also package is named foliate now, only binaries will remain complete. |
@okias What are the next steps? Do we have to wait for some Debian maintainer to pick it up from the repo at salsa.debian.org? |
Hey there
In order to get the package into Debian, you'll need to ask for a Debian Developer to sponsor the upload. See here for further information. I maintain a few Debian packages myself but am no Debian Developer with full privileges unfortunately, but some notes on the packaging on salsa might be helpful:
|
I wonder how Epiphany is packaged on Debian. It vendors a number of JavaScript libraries. And apparently they don't use NPM either — the readmes suggest that they update those dependencies by manually building and copying. This is pretty much how Foliate does things now. |
Foliate has packaged and uploaded in Debian. See https://packages.debian.org/source/sid/foliate and https://salsa.debian.org/debian/foliate |
Yes, it's optional. It's only used for non-Zip comic books. Zip-based formats are decompressed with JSZip. I have in fact considered simply removing it, as I don't feel too comfortable using libarchivejs, either. It would probably be better to use a binding for native libarchive. And libarchive's API doesn't really seem suited for our use case, anyway. So alternatively it might be better to use a pure JS implementation. But simply removing it is an option, too, as many popular e-book readers also only support Zip, anyway. Also libarchive has poor support for RAR files (see #417). So that's another reason to drop libarchive. It's pretty much only used to open CBR files, yet too often fails to do that. |
Update for the WIP gtk4 branch:
|
First, I'd like to thank you for Foliate development, it was great experience on desktop. I really enjoy reading books on it (even over the fact I have ebook reader).
At this moment I'm looking forward to porting Foliate to Debian (and Mobian & PureOS, distributions for mobile phones).
For that purpose would be best, if Foliate would become part of Debian (+ Ubuntu and other .deb based distros).
I slightly looked into your
debian
directory with vision of incorporating Foliate into Debian repository.I managed to upgrade
debian
standards, format & fix few issues #529 , but some warnings remains.If you would give a hand with fixing these (mostly describing licences), that would be great and could relieve you deb packaging burden in future.
as I understood you targeting for Ubuntu, so it's fine, no need to care about it
this should be addressed, licensing is important
python stuff, probably needs to be better specified (python3 ? ) + run dh_python3 for these files
making possible to compile these js files while building would be best option I guess
I should create ITP, that's on me
debian/copyright files needs to be created
you (and users) probably don't care about man pages
improving description would be nice :)
licences again....
do you have some tests which can be run?
would be nice, not necessary
scripts should be build from sources
Rest of warnings are fixed as part of #529
The text was updated successfully, but these errors were encountered: