-
Notifications
You must be signed in to change notification settings - Fork 0
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
Offline build #28
Comments
Hi, thanks for your interest in the project and offering packaging, that's music to my ears! Let me make it clear first, mugene-ng and ktmidi are typical (well, to some extent) Kotlin application and library, and I believe it does depend on remote packages. TBH I am not familiar with offline builds and if it has been viable for a Kotlin project like this. The first and biggest thing that comes to my mind is, there should be Kotlin compiler toolchains, Gradle, and so on that should also be available offline (I guess?), as well as its standard libraries (kotlin-stdlib, coroutines, and so on), which would need a thorough set of the framework ecosystem. I was originally in the mono team, which you would be able to find that it consists of a lot of library packages. Providing the entire packages had (has) been a massive task. And the same would apply to Kotlin. So unless they are already packaged, I assume you are going to have to work on a far beyond packaging just one app. All those dependencies in the project are listed in On how to deal with Maven package equivalents, some existing knowledge base on those existing Java packages would help. For Kotlin toolchains, maybe you need some help from distros (I'm assuming it is rather a distro-specific issue). |
I was just curious and tried on Ubuntu 20.04, and found that it seems |
It's me who thanks you, because you finally released a MML toolkit comprehensible by people who can't read kana and kanji which has clearly some robustness to it and a proper FLOSS license! 😃 I think it's time that the Japanese audio ecosystem is better represented on mainstream GNU/Linux distributions.
This is actually the info I was looking for, thanks. I think there is a lot of work to do in order to finish the build on openSUSE. I ask you to kindly keep this ticket open so that I can share any obstacles to a fully offline build. Meanwhile, are the NPM and Android dependencies mandatory on GNU/Linux or will mugene-ng build without them? |
Well, yeah I agree that their FLOSS incompatibility has been annoying for me too, which was one of the reasons why I ended up to create one :-)
I think you can avoid JS/NPM and Android (I'm not sure how Kotlin Gradle plugin works and thus unsure about the build consequences) - I usually just run I haven't created anything further beyond just |
One thing I noticed w.r.t. package resolution is that |
Hello,
I am a packager from the GeekosDAW project on openSUSE GNU/Linux and I'd like to make a package for mugene-ng, so that openSUSE users can easily discover and install it from their package manager. To build and publish packages on openSUSE we use the Open Build Server (OBS), which offers offline virtualized environments. For this reason, it's very important that programs can be built without an Internet connection and, if there are any dependencies, they are either vendored with the programs or packaged separately by us (ktmidi is a useful library so I can probably package it separately).
Premise: I am no gradle expert even if I've built Java programs in the past (also with Maven). I tried to follow the official build instructions in the README but the build process required an Internet connection. I tried to use
gradle -offline build
with the tasks you indicated in the README but that did not work. Could you please help me build this project without an Internet connection, so that I can make a package for it on openSUSE? We really need a well-written, still-maintained MML-to-MIDI translator in our repository. Thank you! 🙇The text was updated successfully, but these errors were encountered: