Created attachment 587012 [details] old ebuild (needs to be updated for 1.5 release) Hello, Could it be possible to add back gnome-subtitles ? https://github.com/GNOME/gnome-subtitles/releases Latest version available in Gentoo was 1.3-r1 but it has been removed. Maybe because it was too old and seemed abandonned ? Well, the dev is back, latest version available is 1.5. Unfortunately, it depends on a newer version of gtk-sharp, which one can find in dotnet overlay. It compiles fine but refuses to run.. So any help is welcome to troubleshoot and make a new ebuild.
Hi, I'm the maintainer of Gnome Subtitles. If it helps, a list of current dependencies is available at: https://gitlab.gnome.org/GNOME/gnome-subtitles/blob/master/README Let me know if you need any additional help. Would love to have GS back in Gentoo (it was the first distro to have it in the official repo :-).
(In reply to Pedro Castro from comment #1) > Hi, I'm the maintainer of Gnome Subtitles. If it helps, a list of current > dependencies is available at: > https://gitlab.gnome.org/GNOME/gnome-subtitles/blob/master/README > > Let me know if you need any additional help. Would love to have GS back in > Gentoo (it was the first distro to have it in the official repo :-). Hello Pedro, With mono 4.8.0.524 (the one in stable), it doesn't compile at all, it fails at : Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542 at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0002b] in <f712f98eb8e445c8918edaf595bbe465>:0 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x00065] in <f712f98eb8e445c8918edaf595bbe465>:0 at System.TermInfoDriver..ctor (System.String term) [0x00058] in <f712f98eb8e445c8918edaf595bbe465>:0 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <f712f98eb8e445c8918edaf595bbe465>:0 at System.ConsoleDriver..cctor () [0x00062] in <f712f98eb8e445c8918edaf595bbe465>:0 --- End of inner exception stack trace --- at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x0000a] in <f712f98eb8e445c8918edaf595bbe465>:0 at System.Console..cctor () [0x000a8] in <f712f98eb8e445c8918edaf595bbe465>:0 --- End of inner exception stack trace --- at Mono.CSharp.Driver.Main (System.String[] args) [0x00019] in <6c6b2f38a076460eacf227054ff6f99a>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542 at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0002b] in <f712f98eb8e445c8918edaf595bbe465>:0 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x00065] in <f712f98eb8e445c8918edaf595bbe465>:0 at System.TermInfoDriver..ctor (System.String term) [0x00058] in <f712f98eb8e445c8918edaf595bbe465>:0 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <f712f98eb8e445c8918edaf595bbe465>:0 at System.ConsoleDriver..cctor () [0x00062] in <f712f98eb8e445c8918edaf595bbe465>:0 --- End of inner exception stack trace --- at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x0000a] in <f712f98eb8e445c8918edaf595bbe465>:0 at System.Console..cctor () [0x000a8] in <f712f98eb8e445c8918edaf595bbe465>:0 --- End of inner exception stack trace --- at Mono.CSharp.Driver.Main (System.String[] args) [0x00019] in <6c6b2f38a076460eacf227054ff6f99a>:0 make[1]: *** [Makefile:901: ../build/gnome-subtitles.exe] Error 1 ----------------------------------- with mono-5.14.0.177, it compiles fine without error but then I try to run it with : mono build/gnome-subtitles.exe it refuses to run, the error message is the following : Unhandled Exception: System.TypeLoadException: Could not load type of field 'GnomeSubtitles.Execution.ExecutionContext:app' (0) due to: Could not load file or assembly 'gtk-sharp, Version=3.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies. [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'GnomeSubtitles.Execution.ExecutionContext:app' (0) due to: Could not load file or assembly 'gtk-sharp, Version=3.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies. So after all, it seems gtk-sharp 2.99.3 from dotnet overlay is the culprit here. Or maybe something else.. I don't really know and I don't have enough knowledge to figure it out myself.. :/