-
Notifications
You must be signed in to change notification settings - Fork 33
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 installer #26
Comments
Honestly, don't bother with GTK-2. It's more than deprecated at this point and Qt 5 is solid, stable and supported. |
Is ultimate goal to upload to Debian (and NeuroDebian) or just build/distribute .deb files? |
I guess NeuroDebian could provide it for older systems.
The default Python 3 dev package is
Put it in |
In addition to |
Then best to not bother with scripting it, but just have |
@yarikoptic I am pretty unfamiliar with Debian, so the script automates tasks like determining the version number and not including files specific to the Windows OS. The script does create a /debian folder, and then makes it into a .deb package. @yarikoptic and @ghisvail I have tested the 1.2.20210831 deb files and they seem to work well on recent Debian releases (I tested back to Ubuntu 18.04, to ensure that everything works with Python 3.6).
|
I believe it will be best to start with the neurodebian builds. What do you think @yarikoptic ? |
we can try -- prepare "source package" (.dsc and all files within accompanied by
instead of generating .deb with dpkg-buildpackage or alike, use |
@yarikoptic I know you are a Debian master, but can you break this down like you were describing this to a 5 year old kid. Is there an easy way to port data from the format expected by |
which tutorial you had in mind? The tutorial I am aware of is https://www.debian.org/doc/manuals/packaging-tutorial/packaging-tutorial.en.pdf changelog has specific format it should adhere to for the packaging to be "proper" and so dpkg-changelog understands it etc. treat debian packaging/tooling carries lots of "organic growth" to it through over 2 decades, so it is not a surprise that many (myself included) are often lots and get allergy to it (e.g. conda-forge's approach is more succinct and "modern"). |
@yarikoptic is the |
it cannot be done for official upload to Debian (or NeuroDebian for that reason). I hear you that you would feel that using "home brewed" build process + |
@yarikoptic can you share the source folders created by NeuroDebian for |
mricron is maintained by debian-med now so it is available on https://salsa.debian.org/med-team/mricron/-/tree/master/debian (that is already the from that single source package both |
FWIW, on a debian system you can use |
@yarikoptic thanks for all your help. As a newbie, the Debian packaging details seem overwhelming. But at least each component is human readable and one can comprehend it bit by bit. This is much better than the Apple black box of code signing, specific app passwords, uploading, notarizing, and stapling where each stage generates the same vague error regardless of the specific nature of the error. It is never stated that changing your developer password routinely (which is a good security practice) invalidates any pre-existing app specific passwords as well, and the developer just gets a strange error that does not identify how to fix the problem (e.g. "The app specific password is invalid"). So please take my tone as inquisitive not hostile. |
oh -- I know that you are a good folk! sorry I can't really be of much help directly ATM to take on more "endeavors", but if you get some basic |
@ghisvail I have released a new version of MRIcroGL (v1.2.20211006). I have created .deb packages with control files that work with modern versions of Debian (tested with Ubuntu 18.04 and later). The code now automatically checks the folders expected by Debian for the application data as well as system versions of Python. I created a manual and other Debian details following the template of MRIcron. Would you be willing to generate a proper Debian packaging for this? I realize you have a lot of other duties. However, I do think your expertise would aid this endeavor. |
@ghisvail I realize you are busy, but would be happy to collaborate to see MRIcroGL as a Debian package. I have tried to update the MRIcroGL code to be similar to MRIcron, but your encyclopedic knowledge of Debian installers would be a great help. |
@ghisvail, @mih, and @yarikoptic:
I am wondering if you can give me feedback on my first attempt at a Debian package. This uses your advice from this issue and attempts to copy your prior work with the neurologist-debian micron package.
Debian
folder of this repository.mricrogl_gtk2
andmricrogl
. I realize that GTK2 is EOL, but GTK3 is limited to Core OpenGL support and is unable to support multi-sampling. I think that the QT5 widgetset should be the default, but I do not think this will work on older Debian releases (e.g. Ubuntu 18.04).1.2.9, which I believe is newer than in Debian trunk. Previously, I have included release notes to use this version, but not sure how to capture that in a .deb file.
dcm2niix
in theDepends
or not?Any advice appreciated. This is my first attempt at supporting Debian and I would like to hear any wisdom you might have.
I appreciate any advice
The text was updated successfully, but these errors were encountered: