-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
[BUG] Deb package has unnecessary -dev dependencies. #193
Comments
Thanks for mentioning this, I was actually just thinking about it the other day. Do you know if there's some kind of "sandboxed" environment, or something like that, that can be used to figure out what dependencies like this are needed at run-time? By the way the "packaging" script for this plugin is located here. |
got it, I'll take a look I use Open Build Server for my builds. It can build Debian packages also, I'll try to build your plugins in there. So it will have the proper dependencies. |
here it is https://build.opensuse.org/package/show/home:kill_it:debian/chowtapemodel builder can do dependencies automatically (jack was added by me): |
Ah thanks for reminding me about Jack, I had accidentally disabled Jack when I switched to the CMake build system. I've re-enabled that now. I've also made a new build of the .deb that uses the dependencies that you had listed above, which can be downloaded here. If this works out, then I can go ahead and adjust the Debian dependencies for all my other plugins in the build pipeline as well. Thanks for your help with this @KottV! |
It works fine on Ubuntu 20.04, but I'm not sure that GH and OBS use exactly same Ubuntu. Is it possible to see /etc/os-release in your pipeline? Also, I think that users may want Ubuntu 18 support too. I'll check how it builds there. PS. Could you merge Jack support in master branch please? :) |
According to the GitHub Actions Documentation, the build script is running on Ubuntu 20.04. I can see about adding a step to the pipeline as well to display the system info.
Is there a reason that the .deb package built on 20.04 wouldn't work on Ubuntu 18? I had assumed backwards compatibility, but maybe that was a poor assumption on my part.
Done! :) |
Good :)
Yeah, it won't, main reason is the new glibc. But Ubuntu 18 builds should work on the newest versions.
thnx! |
JUCE wants cmake >3.12 while Ubuntu 18 has 3.10.2 |
Oh yeah, that's a good point... is it difficult to update to update CMake on Ubuntu? I remember doing it with apt, but that was quite a while ago. |
I read a bit, It's possible by:
First one won't work in OBS afaik may work in GitHub actions. Second should work everywhere, but means building/installing CMake prior in your scripts. |
Yeah, now that you mention it I think I did end up building from source on my Ubuntu 18 system. For my CI and release pipelines, I use this action, which seems to go pretty fast, so I doubt it is building from source. I wonder if it would be possible to reverse-engineer what they're doing, and do that in the scripts instead. |
https://github.com/lukka/get-cmake/blob/main/src/get-cmake.ts for example |
Ah okay, that seems pretty do-able... would I need to do that in my release scripts, or would that step be needed for building with OBS? |
It need for GitHub release script. |
Gotcha that makes sense. I've now set my releases pipeline to use Ubuntu 18.04 instead of 20, so hopefully that should do the trick :). |
Since I've had some confirmation that the Ubuntu-18.04 builds are working, and since the original purpose of this issue (-dev dependencies in the .deb package) is now resolved, I'm going to go ahead and close this issue. |
Glad it worked! |
Hi!
Describe the bug
Deb package has -dev dependencies.
If you look into package:
Depends: libasound2-dev, libcurl4-openssl-dev, libx11-dev, libxinerama-dev, libxext-dev, libfreetype6-dev, libwebkit2gtk-4.0-dev, libglu1-mesa-dev
these packages may needed for build but not for binaries.
I haven't find build script for that. Perhaps these packages are listed in debian.control.
The text was updated successfully, but these errors were encountered: