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
mono: drop minor versions and upgrade to 5.16.0.220 #52712
Conversation
A lot of updates from mono-project' folks. Patches dropped, because both merged upstream. Cherry-picked by @obadz from NixOS@e022209
Configure script complains, that unable to build gif loading support, but it's a lie -- it builds against libgif 5, which have DGifOpenFile as well. Cherry-picked by @obadz from NixOS@8439304 (libungif was already dropped by commit b41ede5)
deleted: generic.nix deleted: pkgconfig-before-gac-5x.patch
Update: ok. no idea it is unclear to me, how versioning in fsharp works. It is super confusing. |
@kuznero do you still maintain fsharp41? |
I think fsharp is a bit out of scope for this PR. |
none other than it respected the constraint mentioned as comment. I should definitely have pointed it to |
On Sun, Dec 23, 2018 at 09:28:05AM -0800, jraygauthier wrote:
> Cc @jraygauthier who pointed pythonnet to refer to Mono 4.6 (was there a reason?).
none other than it respected the constraint mentioned as comment. I should definitely have pointed it to `mono4` as you did.
Actually all packages using concrete versions of mono should be reviewed,
and probably upgraded/checked on compatibility to recent ones.
|
Does anyone know how to track down this Debian patch from @abbradar's commit? # Use built frameworks instead of pre-built reference assemblies.
(fetchpatch {
url = "https://anonscm.debian.org/cgit/pkg-mono/packages/mono.git/patch/?id=3cfd6a21f889eebe24e124c1e96d6d05ed722142";
sha256 = "1y4y6sks7magxqm34m8ywi6yrgan037nzgkwhrq620sfkddialr4";
}) |
@obadz Debian's stuff is now on their
This is the patch AFAICT. Adding |
Also now builds with --enable-llvmloaded. Extracted by @obadz from @abbradar's NixOS#23295 NixOS@d27768a
Thanks @samueldr. The patch no longer applies cleanly and while Mono builds without it, dependencies won't. Here's keepass:
I'm giving up on the "reference assemblies" portion of @abbradar's patch :-( |
@abbradar, would you mind having a look at 013927f (which is extracted from your PR). |
@GrahamcOfBorg build keepass fsharp |
I'll merge tomorrow if no objections and the above build succeeds. |
This looks good to me (in particular tweaking the |
@GrahamcOfBorg build pdfmod |
Fixes the below build error in gnome-sharp which appeared after NixOS#52712 /nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/bin/gapi2-fixup --api=art-api.xml --metadata=./Art.metadata --symbols=./art-symbols.xml rm -f generated/* && \ /nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/bin/gapi2-codegen --generate art-api.xml \ -I:/nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/lib/pkgconfig/../../share/gapi-2.0/pango-api.xml -I:/nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/lib/pkgconfig/../../share/gapi-2.0/atk-api.xml -I:/nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/lib/pkgconfig/../../share/gapi-2.0/gdk-api.xml -I:/nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/lib/pkgconfig/../../share/gapi-2.0/gtk-api.xml -I:/nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/lib/pkgconfig/../../share/gapi-2.0/glib-api.xml \ --outdir=generated --customdir=. --assembly-name=art-sharp \ --gluelib-name=artsharpglue-2 --glue-filename=glue/generated.c \ --glue-includes= \ && touch generated-stamp Unhandled Exception: System.MissingMethodException: Method 'string.Split' not found. at GtkSharp.Generation.SimpleGen..ctor (System.String ctype, System.String type, System.String default_value) [0x00000] in <d117698e7b8a4f9b867143c99aa161ba>:0 at GtkSharp.Generation.SymbolTable..ctor () [0x00011] in <d117698e7b8a4f9b867143c99aa161ba>:0 at GtkSharp.Generation.SymbolTable.get_Table () [0x0000a] in <d117698e7b8a4f9b867143c99aa161ba>:0 at GtkSharp.Generation.CodeGenerator.Main (System.String[] args) [0x0003e] in <d117698e7b8a4f9b867143c99aa161ba>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method 'string.Split' not found. at GtkSharp.Generation.SimpleGen..ctor (System.String ctype, System.String type, System.String default_value) [0x00000] in <d117698e7b8a4f9b867143c99aa161ba>:0
Motivation for this change
Mono versions have proliferated in nixpkgs. I'm proposing to drop:
Cc @jraygauthier who pointed pythonnet to refer to Mono 4.6 (was there a reason?).
Cc mono peeps @kuznero @Mic92 @thoughtpolice @vrthra
Going forward, I propose that we only maintain the major versions (mono4 & mono5 at this time) to avoid loading hydra with useless builds and have packages randomly pointing to stale versions of mono when they probably don't need to.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)