Open morfikov opened 5 years ago
Any of the mentioned dependencies or errors that you have mentioned I wouldn't really know if they are needed or not. The current deb files are generated automatically through electron-builder without any configuration on my end. If there are no issues with the application itself then we should be okay. I would also ignore the .js errors as it has to do with some minified files included within FreeTube which are there on purpose.
One day someone would want to push this app to the Debian main repository, and in order to do so, the errors have to be fixed,
I can change to un-minified files if that is what's required for being added to the Debian repositories, that isn't much of an issue.
The other issues that you've mentioned I unfortunately wouldn't know how to fix them as they are files that I do not work with in any point of the development process, even during builds.
Basically everything what starts with E
have to be fixed. Others should be fixed.
You can add the full version -- it's ok to have the minified versions, but it looks like lintian
wants also the original ones. Spelling can be ignored. And the rest I will try to ask on some Debian mailing list.
It looks like this project won't get make it to the Debian repository. I was trying to create an Ubuntu PPA instead, but I faced the same issues when I was building the project -- it requires internet access to download the npm modules, and basically automated builders like pbuilder (debian/ubuntu) won't build this kind of source.
You have published two archives in the github release section: Source code (tar.gz) and FreeTube-0.7.0-linux.tar.xz . The second one is an archive of what was built, and it depends on the system architecture. The only thing that can be done here is to setup PPA and repack the FreeTube-0.7.0-linux.tar.xz archive, so users don't have to touch anything after install. This obviously makes it inconvenient to build this project for several architectures, and you can't build it from the current git (only from releases).
I created PPA with FreeTube for amd64, and it works well, but as you can see there's really big problem with packaging this project. Is there something you can do about it? In the current form, I can only build the project locally using pbuilder because it gives the option to turn the network on. Or the alternative is to install all the the needed npm and other build dependencies directly in the system, which ppl should try to avoid (that's why I'm using pbuilder when I build something and I don't have to install any build dependencies).
I don't know if you still follow this repo, though I'd be interested in helping out more with this in the rewrite. Let me know if you have the chance to look at the new deb files and what's needed to get them added to a PPA as I'd really like to see FreeTube added to a PPA at some point.
If I don't hear from you in a while, I'll likely close this issue.
Can someone push push it to some salsa repository? (even personal -guest) ?
I'd happy to help with improving debian/
Also since lintian
prints many warnings, it's best to pass them to the project in different issues (if it's so many of them at once) :+1:
I'm thinking it would make sense to add AudioVideo to the list of categories in freetube.desktop, so it could show up under the Sound & Video header of most menus.
This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.
I've been trying to make a better Debian package, and I'm pretty close to what I think it should be look like, but I have some questions that should be answered first.
Here's the result so far: https://gitlab.com/morfikov/freetube/tree/development/debian https://app.box.com/s/w3pieha63vjedshiczufyoe63l54dare
Here are the questions:
libEGL.so
,libGLESv2.so
,swiftshader/libEGL.so
andswiftshader/libGLESv2.so
. Are they needed? When I look at the output ofldd freetube
, I don't see them. I removed them so far to see what happens, and the app works well.1.1. If they are needed, shouldn't be sufficient to add dependencies on the following packages?
It looks like they have the files in question:
libffmpeg.so
file which is used by freetube, butlintian
have some issues with it:So what about this? Can this be fixed somehow?
Should they be embedded?
.js
files:So that's pretty much it.