libgenapps / LibgenDesktop

1.82k stars 218 forks source link

Linux app? #47

Open 9acca9 opened 2 years ago

9acca9 commented 2 years ago

HI... so, there is no linux app? i can get the books from libgen with another app? Thanks!

ThatOneCalculator commented 2 years ago

I tried building from source to no avail.

LibgenDesktop on  master [?] via .NET 6.0.100   nuget restore
MSBuild auto-detection: using msbuild version '15.0' from '/usr/lib/mono/msbuild/15.0/bin'.
All packages listed in packages.config are already installed.

LibgenDesktop on  master [?] via .NET 6.0.100   msbuild .
Microsoft (R) Build Engine version 16.10.1 for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
Build started 1/3/2022 2:57:33 PM.
Project "/tmp/LibgenDesktop/LibgenDesktop.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Debug x64|Any CPU".
ValidateProjects:
  The project "LibgenDesktop.Setup" is not selected for building in solution configuration "Debug x64|Any CPU".
Project "/tmp/LibgenDesktop/LibgenDesktop.sln" (1) is building "/tmp/LibgenDesktop/LibgenDesktop/LibgenDesktop.csproj" (2) on node 1 (default targets).
/usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2218,5): error MSB3248: Parameter "AssemblyFiles" has invalid value "/usr/lib/mono/4.5-api/mscorlib.dll". Could not load file or assembly 'System.Reflection.Metadata, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/tmp/LibgenDesktop/LibgenDesktop/LibgenDesktop.csproj]
Done Building Project "/tmp/LibgenDesktop/LibgenDesktop/LibgenDesktop.csproj" (default targets) -- FAILED.
Done Building Project "/tmp/LibgenDesktop/LibgenDesktop.sln" (default targets) -- FAILED.

Build FAILED.

"/tmp/LibgenDesktop/LibgenDesktop.sln" (default target) (1) ->
"/tmp/LibgenDesktop/LibgenDesktop/LibgenDesktop.csproj" (default target) (2) ->
(ResolveAssemblyReferences target) ->
  /usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2218,5): error MSB3248: Parameter "AssemblyFiles" has invalid value "/usr/lib/mono/4.5-api/mscorlib.dll". Could not load file or assembly 'System.Reflection.Metadata, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/tmp/LibgenDesktop/LibgenDesktop/LibgenDesktop.csproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.37

So for now I'm using the 64 bit MSI under wine.

saltedcoffii commented 2 years ago

@libgenapps What's the status on a Linux application?

leo848 commented 2 years ago

Same, I also want a Linux app

leo848 commented 2 years ago

If you are on Linux and don't mind using your terminal, I recommend audstanley/libgen-tui.

adrianlopezgalera commented 1 year ago

There are things that I will never understand in this life. Among them is the fact that an organization against DRM and information control launches an exclusive application for a proprietary operating system, whose company promotes values contrary to those defended here. In your eagerness to reach people you only contribute to the dependence on technologies that exert injustices.

Regards.

leo848 commented 1 year ago

@Julvenzor

I disagree here. The work the LibGen developer(s) have done is insane, and I would even consider it to be one of the best projects in humankind. To demand a slightly more comfortable (remember that you can always use LibGen from your browser) experience for one operating system is imo a very ungrateful and privileged statement. Please remember that open-source developers are humans too and usually do their work for free, so you should be thankful for their work and not demand even more.

I myself am a GNU/Linux user and would also like a GUI application for LibGen. But I would never criticize developers that made LibGen more, not less, available, for this application's unavailability on GNU/Linux.

adrianlopezgalera commented 1 year ago

@Julvenzor

I disagree here. The work the LibGen developer(s) have done is insane, and I would even consider it to be one of the best projects in humankind. To demand a slightly more comfortable (remember that you can always use LibGen from your browser) experience for one operating system is imo a very ungrateful and privileged statement. Please remember that open-source developers are humans too and usually do their work for free, so you should be thankful for their work and not demand even more.

I myself am a GNU/Linux user and would also like a GUI application for LibGen. But I would never criticize developers that made LibGen more, not less, available, for this application's unavailability on GNU/Linux.

I have not issued any value judgment on anyone. You, on the other hand, are judging me and calling me "ungrateful." I have pointed out, with arguments, a logical contradiction, nothing more. Today there are many cross-platform languages that allow you to develop once and compile on other systems. There is no difficulty if there is a good prior approach.

Please, don't talk "privileges" and shit like that because you have no idea of my origin, of my life and of the difficulties I've experienced. You also don't know what I do in my day to day to fight for a better world. I am a vegan activist and I try to save animals while many individuals, who raise different flags, are dedicated to revindicating their personal oppressions while participating in the exploitation and systematic murder of millions of animals. All this, in my case and in that of others, is argumentatively irrelevant. I'll give you some advice: stop judging others and learn to bear criticism.

Regards.

ThatOneCalculator commented 1 year ago

Don't judge someone's thoughts, ideas, or opinions based on their identity.

8dcc commented 1 year ago

finna fade cuz ma karmas gone bankrupt 😭

tigros commented 3 weeks ago

ha How do you know if someone is a vegan: they WILL tell you! more proof of that right here.

adrianlopezgalera commented 3 weeks ago

ha How do you know if someone is a vegan: they WILL tell you! more proof of that right here.

Not being vegan means participating in violence against animals. In the same way, I can tell who is a speciesist who enjoys the suffering of animals.

eyalroz commented 1 week ago

Let's try to be a bit more practical: I realize this application is written in C#, which is a Microsoft-associated and Windows-associated language AFAIK. But - I also know that there is some level of support for running C# on Linux. Microsoft claims it can be installed:

https://learn.microsoft.com/en-us/dotnet/core/install/linux

and maybe there are other alternatives. I've never used C# on Linux personally, so I'm just "spitballing" here.

Another alternative is porting the application. cloc says there are ~27K lines of C# code. Since this is a client for a network service, not a super-hyper-duper-special C# project, I would assume a reasonable developer who knows both C# and a reasonably-multiplatform language could do it. Perhaps even the developers of the app itself could be convinced, but I guess we can't rely on that.