Skip to content
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

Windows Support #309

Open
enko opened this Issue Mar 18, 2018 · 14 comments

Comments

Projects
None yet
6 participants
@enko
Copy link

enko commented Mar 18, 2018

This ticket should serve as a kind of meta ticket, to track the efforts needed to bring dino to windows. I have automated the build in #304, so we can put out builds without any problems.

From my small assessment there are two high priority that needs a fix before any other work for the windows port can be done:

  • is_24h_format from helper.vala crashes dino. From my limited knowledge of GTK, this seems to be ok to crash since there is no gnome-functionality on windows?
  • Notifications are broken upstream. As a possible fix, just disable the notifications on windows, till a proper backend lands in GTK?

On the chat there was a discussion if dino should look native, I think it should, but the first priority should be that it does not crash or behaves funny. Then there should be put energy into making dino look native.

@Echolon

This comment has been minimized.

Copy link

Echolon commented Mar 18, 2018

I think it should be native, too. Is this only a question of GUI? Or are there other related issues if we decide for one or another? I mean, if people don't like it - fork it, do it the other way.... or?

@Echolon

This comment has been minimized.

Copy link

Echolon commented Mar 18, 2018

Vote native

@Echolon

This comment has been minimized.

Copy link

Echolon commented Mar 18, 2018

Vote against native

@DeSaurus

This comment has been minimized.

Copy link

DeSaurus commented Mar 25, 2018

Someone made a dummy win32 notification backend for GNotification
https://bugzilla.gnome.org/show_bug.cgi?id=776583#c7
I hope this gets fixed soon

@LuccoJ

This comment has been minimized.

Copy link

LuccoJ commented Mar 29, 2018

I think a "vote" for/against "native" when it hasn't been determined what "native" means just before the vote is not useful.

@Echolon

This comment has been minimized.

Copy link

Echolon commented Mar 29, 2018

@LuccoJ HI, guess you are probably right. Thought it's clear - may someone help out with a good definition?

Anyway, the vote so far made clear that this is polarizing topic. That's an evaluation, too.

@ghost ghost referenced this issue Apr 8, 2018

Closed

Executables #327

@Echolon

This comment has been minimized.

Copy link

Echolon commented Apr 24, 2018

@enko Hi, any updates so far? If there are issues, maybe someone else could help?

@LAGonauta

This comment has been minimized.

Copy link

LAGonauta commented Feb 15, 2019

Just FYI, Dino works on WSL with a vcXsrv after intalling all dependencies.
At first it crashed on load, but was fixed after running "sudo dpkg-reconfigure tzdata".

@Echolon

This comment has been minimized.

Copy link

Echolon commented Feb 15, 2019

@LAGonauta Thanks for your info. Any extra info we might need to know? If you can exactly document how you make it run, that would be great!

@LAGonauta

This comment has been minimized.

Copy link

LAGonauta commented Feb 16, 2019

Sure:
After fresh install of WSL Ubuntu 18.04

Update installation:

sudo apt update && sudo apt upgrade

Install dependencies:

sudo apt install build-essential ninja-build cmake valac libgee-0.8-dev libsqlite3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libsoup2.4-dev libgpgme-dev libqrencode-dev libgcrypt20-dev dbus-x11

Clone and build:

sudo apt install git
git clone https://github.com/dino/dino/
cd dino && ./configure
make

Configure timezone data:

sudo dpkg-reconfigure tzdata

Install X server:

https://sourceforge.net/projects/vcxsrv/
After installation, run Xlaunch on multi-window mode.

Run:

Go back to WSL and run dino:

export DISPLAY=:0
export LIBGL_ALWAYS_INDIRECT=1
build/dino

Optional dependency:

sudo apt install fonts-emojione

It is not perfect as for some reason the window does not behave as a normal window on Windows (probably because of the decorations), however all the rest seems to be working fine. Definitely prettier than Gajim :P

@YtvwlD

This comment has been minimized.

Copy link

YtvwlD commented Feb 16, 2019

Do you really need to build dino yourself in this case or could you just add the repository?

@Echolon

This comment has been minimized.

Copy link

Echolon commented Feb 16, 2019

@LAGonauta I guess that NOT for Microsoft Windows, right?

This is what the issue is about

@LAGonauta

This comment has been minimized.

Copy link

LAGonauta commented Feb 16, 2019

Yes, it is Microsoft Windows:
https://docs.microsoft.com/en-us/windows/wsl/install-win10

EDIT:
Of course it can't be distributed, may may help debugging.

@Echolon

This comment has been minimized.

Copy link

Echolon commented Feb 16, 2019

Ahh, Win7 was my last MS system years ago, never used Win10 for all reasons ;)

@enko experienced big isses with the MS visual studio compling an .exe. Do you (or anyone else) know people with more experience with this? @LAGonauta

However, thanks for your post!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.