kmscon: unstable-2018-09-07 -> 9.0.0#178749
Conversation
|
As noted in #178748, updating meson appears to have created a small variety of build errors due to the This also occurred in the |
|
Was made aware that someone else made a meson PR, so retargetting this on top of that. |
|
Rebased on top of the meson changes and edited the PR message accordingly. I didn't see anything in the Nixpkgs manual about the case of depending on another PR being merged, so my (current) assumption is that when the meson change is merged, the commits this PR has will be seen as already included and thus won't have duplicates, but I could very much be wrong. Please let me know if I should just rebase out the commits this depends on. Also since this update by itself shouldn't cause a mass rebuild, it still targets master. |
|
Thank you! I will check the changes in few days. |
omasanori
left a comment
There was a problem hiding this comment.
Regarding Meson changes, I think it would be better to keep them out of this PR and wait for the separate PR to be merged.
|
Rebased out the dependent commits. |
2c3d08f to
67d5512
Compare
|
Incidentally included the auto-formatting my editor did for lines 1/2, 10/11, and 33/34, which I'm going to leave in since I personally prefer the expanded form. If I should revert that shift, please let me know. |
It is acceptable to me. By the way, what kind of tests have you done? Just completed a build or running the kmscon service with this? While I will do some tests this weekend anyways, I'd know what is succeeded on your machine. |
|
While I haven't done so yet, I'll be swapping out my version to the updated one later today. (I had actually been tracking with the kmscon master branch up until the meson change, since I didn't change the build system at the time. Now seemed like a good time.) The main testing I've been doing is checking out the command line arguments, and making sure it builds. |
|
For those who want to more easily test the changes using flakes, I've made a branch on my nixpkgs fork that combines the meson and kmscon changes: https://github.com/Infinidoge/nixpkgs/tree/combined/kmscon |
AndersonTorres
left a comment
There was a problem hiding this comment.
Waiting for the next meson.
omasanori
left a comment
There was a problem hiding this comment.
While I have still been building the system on my old laptop, I reviewed changes between two commits briefly and finds no huge and risky changes.
Feel free to merge this when meson is updated even if I have not yet reported the result on my machine at that moment. I will test as soon as possible though.
|
I had tested underline, italic and multilingual text with |
|
|
||
| # _FORTIFY_SOURCE requires compiling with optimization (-O) | ||
| NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-O" | ||
| + " -Wno-error=maybe-uninitialized"; # https://github.com/Aetf/kmscon/issues/49 |
There was a problem hiding this comment.
In my opinion, downstream packagers should never compile with Werror, since it can break on compiler updates. That's ubdesirable since a compiler update (generally) won't make the source code less safe in any way. And the compiler shouldn't be assumed anyway since different distros may use different compilers.
There was a problem hiding this comment.
So my suggestion is to add a blanket -Wno-error (or set a flag that does that)
|
Since the dependent PR has been merged, is there anything that needs to be done before this can be merged? |
|
@ofborg eval |
|
Also, it seems that the meson changes have made their way into |
|
Oh wait it already is targetting master, nevermind |

Description of changes
This updates kmscon to the latest release tag on the repository, after 3 years(!) without an update in Nixpkgs.
NOTE: This PR depends on #171069
Notifying maintainer; @omasanori
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes