-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
netatalk: Update to 4.0.4 #25200
netatalk: Update to 4.0.4 #25200
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So many unrelevant changes, which are not described anywhere.
- Downloading subpackage
- Adding indentation, which then makes it completely useless.
etc
Updated indents. Comments on your change above. As the commit message states, upstream moved from autotools to meson. That is the bulk of the changes. The other changes are my attempt to clean up this old Makefile. Looked at other Makefiles in different libraries to match as best as it made sense to me. Added a download for a pre-requisite. Not a sub-package. Did not find any package that provides this file. Makes sense as it is only used during build. At 2.2MB, it is quite large so I considered it to be a better solution to download it during build than to store it in GitHub. Having it in Makefile makes it slightly easier to update if a new version of the Unicode DB were to be released. Added a comment to Makefile for it. If you think a different approach is needed let me know which (and if you don't mind, why). |
4.0.3 just released. Updated version and download hash. Renamed PR. |
@APCCV: Very fast update, thanks :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleaned up and reordered Makefile to better match layout of other projects
Should be done in separate commit to be more readable as there is so many changes related to meson. = Increases readability, easy to revert.
Added a download of a file (Unicode DB, UnicodeData.txt) that is used during compilation.
Do it in separate Makefile, please. = Hopefully, in the future, more packages will use it. Its logical to have it separately, because I am not quite sure why do you need to download it as subpackage if multiple GNU/Linux distributions such as Debian have that file in its own package. E.g. https://packages.debian.org/sid/unicode-data
- How would you even version downloaded unicode?
Ok. |
It can be versioned. I can add an additional variable for version. Should have done that, like this (note
This is where I would rather debate the point. You have a point with reuse, but I doubt many other packages would use this. The issue w/netatalk is how the upstream used to have this file as part of the tarball, but now dropped it with no mechanism to download it as part of the build. How does OpenWrt packages normally deal with this? Can you think of an example so I take a look? I am not to sure what you mean with "a separate Makefile." That's on me, I'm far from an expert with OpenWrt packages.
Thanks for your time and change requests to clean this up. PS: never mind... found the file in the SDK. I could have sworn I looked for it there before. It is not the latest, but it's the official one so it's good enough. Will remove the additional download. |
Alright. Summary:
Please take a look. |
Yes, I mean to create that package and mark it as Since you found out the file in the build system, then great! :) I havent checked it myself so far. I would do that if I there is need to create a new Makefile for the unciode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, I really appreciate that you weren’t afraid to tackle this, found a solution on your own, and even tested it to see if it actually works. This is something you don’t see often these days, as people tend to copy things from the Internet without trying them out. It’s clear that you have patience and determination. This approach is rare and truly excellent. This will greatly help you in your journey of contributing to OpenWrt. Thank you for your work! :)
Thank you for your patience. Since the PR has not been merged yet, I'm committing an additional change to enable the old AppleTalk protocol. I held it back because it needed patching (and I always have problems with patches) or waiting for the next release. Against all odds I figured out the patches. I'll remove them when 4.0.4 (or later) rolls out. Also fixed that STAGING_DIR_HOST path and removed the extra linefeed at the end of file. If it's all good to you now, please merge to the repo. |
Alright. Really done with 4.0.3. Won't touch it anymore. |
Maintainer: Antonio Pastor / @APCCV Compile tested: ipq806x (23.05.3, snapshot) Run tested: ipq806x - C2600: start server, connect from MacOS, read/write files to home share, create/update TimeMachine backups Description: No changes to package other than using latest available upstream code base. Starting Netatalk 4.x build uses meson instead of autotools. Signed-off-by: Antonio Pastor <[email protected]>
Updated title. Updated description. Reordered to match most common layout Signed-off-by: Antonio Pastor <[email protected]>
Famous last words. Please merge if you are OK with PR as it stands now. |
Aw, come on... TF? I managed to make changes just when the build process is broken? My luck... |
Starting v4.0.0, netatalk brings back AppleTalk features lost in v3. Updated description. Signed-off-by: Antonio Pastor <[email protected]>
:( |
CI/CD failures are not relevant to this PR. Merging, thank you. |
I have no problem with it. For next release I'm planning on splitting in small/large packages. Anyone having the resources (and an x86) to run the build with everything will probably be better off with the docker image. For smaller devices a -small package with only afpd will be more useful. So how do we know if I can backport it? Just open the PR? PS: darn... I really wanted this to make it to 24.x. Missed by... hours? |
Opened PR against 24.10 branch. Package did not exist in 23.x, so I am not sure we can add it to that branch at this point. Hopefully the new PR will get comments about it. |
Buildbot finds new dependencies and 4.0.4 does not compile... E.g.
Backporting to 24.10 would make sense after it first compiles ok in master... |
This was building properly. |
No trouble. It pays off to monitor the buildbot faillogs after a PR gets merged.
You just need to either add those detected dependencies (possibly bloating the needed amount of libraries) ot adjust the build configure step of the package to leave those detected libraries unused. |
That is my goal. It is relatively clear what is causing the issue. |
Yeah, first to main/master |
Yes, PR on master first.
Dne po 4. 11. 2024 19:06 uživatel AP ***@***.***> napsal:
… adjust the build configure step of the package to leave those detected
libraries unused
That is my goal. It is relatively clear what is causing the issue.
PR to HEAD first? I can work on it in 12h.
—
Reply to this email directly, view it on GitHub
<#25200 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7IDVFONCOELIZJGFEL6S3Z66SQFAVCNFSM6AAAAABQSNBWY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJVGM3TOMRYGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Submitted #25251 |
Where can I see the buildbot log for this? The one asking for those additional libraries? Oh... you were kind enough to provide the log. |
How about the link I gave above? E.g. these two builds below are from today. But based on timestamps, they are from time before I merged your patch attempt. You may need to wait for tomorrow, as today the whole buildbot infra was upgraded , and the phase2 packages buildbot is not really visible yet. |
Thank you. Noticed that after I had posted my comment after a long trip through the build bot site. I know where to look now. Should've edited the comment.
No problem waiting. I waited for builds to start succeeding before I created the backport PR. I don't like breaking builds (and I get it's not of much consequence in this case). Anyways, no rush. Backport PR is there. #25260 |
Thanks, I merged the backport. |
Thanks to @APCCV, @BKPepe for merging and @hnyman for review! Original PRs in master:
24.10 backport:
|
Backporting it would require 6 commits from when I took over the package in June. I can create a PR with that. I created the backport PR with 6 commits. If that's not the way to go please close it and let me know if I should proceed some other way. |
@APCCV: 2 new versions after Netatalk 4.0.4 -> 4.0.5 and 4.0.6 :) Can you look? Links: |
@Neustradamus saw those. I get an email on new releases. rdmark also reached out about 4.0.5 for reasons below. This is what we have in progress. Ah, the irony. Honestly it was painful to deal with the Unicode txt file, first to figure how the … to make it work, then to make it OpenWrt compliant with an extra package (almost got there), then to make it work with a file from host (duh - had I known). In the meantime I exchanged notes with rdmark. Turns out OpenWrt wasn’t the only packaging that was going through this particular circle of hell, and now the file is optional. Also has little to offer over 4.0.4 unless using a System 7 client over TCP (which I can’t test). I’ll keep an eye on releases for something major (in substance, not in version numbering) and will consider updating then. In the meantime I’d rather see 4.0.4 backported to 23.05 (I hope), the AppleTalk module backported to 23.05 and 24.10, and the atalkd problem (on DSA?) narrowed down if not fixed. That’s where time left after paying job and real life will go for a while. Any particular issues, report as a bug to netatalk. I’m just the messenger. ;) |
Besides... we are making progress. Module is now in snapshot. Check it out: That it is not functional because of an issue with it, atalkd or DSA doesn't take away from netatalk making it back into OpenWrt after almost being completely forgotten. 24.10 will have fully working afpd... and maybe atalkd. |
Maintainer: Antonio Pastor / @APCCV
Compile tested: ipq806x (23.05.3, snapshot)
Run tested: ipq806x - C2600: start server, connect from MacOS, read/write files to home share, create/update TimeMachine backups
Description:
No changes to package other than using latest available upstream code base. Starting Netatalk 4.x build uses meson instead of autotools.