Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692258 - media-video/gnome-subtitles - Video subtitling for the Gnome desktop
Summary: media-video/gnome-subtitles - Video subtitling for the Gnome desktop
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://sourceforge.net/projects/gnom...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2019-08-15 19:49 UTC by David Duchesne
Modified: 2019-08-21 03:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
old ebuild (needs to be updated for 1.5 release) (gnome-subtitles-1.3-r1.ebuild,816 bytes, text/plain)
2019-08-15 19:49 UTC, David Duchesne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Duchesne 2019-08-15 19:49:32 UTC
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.
Comment 1 Pedro Castro 2019-08-19 21:18:21 UTC
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 :-).
Comment 2 David Duchesne 2019-08-21 03:50:00 UTC
(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.. :/