devel/intellj - pty4j

2016-02-17 Thread Jiri B
Hi,

OpenBSD port of intellj contains native libs for other OSes for
pty4j.

/usr/local/intellij/lib/libpty/linux/x86/libpty.so
/usr/local/intellij/lib/libpty/linux/x86_64/libpty.so
/usr/local/intellij/lib/libpty/macosx/x86/libpty.dylib
/usr/local/intellij/lib/libpty/macosx/x86_64/libpty.dylib
/usr/local/intellij/lib/libpty/win/x86/libwinpty.dll
/usr/local/intellij/lib/libpty/win/x86/winpty-agent.exe
/usr/local/intellij/lib/libpty/win/x86_64/cyglaunch.exe
/usr/local/intellij/lib/libpty/win/x86_64/libwinpty.dll
/usr/local/intellij/lib/libpty/win/x86_64/winpty-agent.exe
/usr/local/intellij/lib/libpty/win/xp/libwinpty.dll
/usr/local/intellij/lib/libpty/win/xp/winpty-agent.exe

I discoverd this while comparing content of intellj and pycharm
upstream tarballs.

With little changes I could build OpenBSD native lib and jar
for pty4j

https://github.com/traff/pty4j

pty4j seems little bit sleeping, there's waiting pull request for
FreeBSD support. Not sure if submitting another pull request for
OpenBSD would help then :)

Thus, maybe it would make sense to delete those above libs and
not care, or to make some post-build kung-fu to build libpty.so and
pty4j for OpenBSD.

I'm not really idea/pycharm user, thus I can't do real tests.

j.



Re: devel/intellj - pty4j

2016-02-17 Thread Jiri B
On Wed, Feb 17, 2016 at 03:42:55PM -0500, Jiri B wrote:
> [...]
> With little changes I could build OpenBSD native lib and jar
> for pty4j
> 
> https://github.com/traff/pty4j
> 
> pty4j seems little bit sleeping, there's waiting pull request for
> FreeBSD support. Not sure if submitting another pull request for
> OpenBSD would help then :)

It was not correct, FreeBSD support was merged and they merged
my copy of FreeBSD support.
https://github.com/traff/pty4j/pull/28#event-554339235

I don't like how they do that but..., it's in.

j.



Re: devel/intellj - pty4j

2016-02-17 Thread Vadim Zhukov
18 февр. 2016 г. 2:45 пользователь "Jiri B"  написал:
>
> On Wed, Feb 17, 2016 at 03:42:55PM -0500, Jiri B wrote:
> > [...]
> > With little changes I could build OpenBSD native lib and jar
> > for pty4j
> >
> > https://github.com/traff/pty4j
> >
> > pty4j seems little bit sleeping, there's waiting pull request for
> > FreeBSD support. Not sure if submitting another pull request for
> > OpenBSD would help then :)
>
> It was not correct, FreeBSD support was merged and they merged
> my copy of FreeBSD support.
> https://github.com/traff/pty4j/pull/28#event-554339235
>
> I don't like how they do that but..., it's in.

Thank you! I started working on pty4j and some related libs which are used
in IDEA, but didn't finish this work. Your patch should speed up things.

The problem is that IDEA bundles quiet a few libraries, like pty4j. We
generally don't like such bundling. I thought about replacing binaries
within IDEA directory by symlinks and/or files from pty4j package, to avoid
double patching...

Anyway, since we're almost locked now, I'll keep an eye on pty4j and see
what could be done after unlock. My plan is to finish KDE5/Wayland first,
though: one big fat port at a time. :)

--
Vadim Zhukov


Re: devel/intellj - pty4j

2016-02-19 Thread Jiri B
On Thu, Feb 18, 2016 at 09:29:58AM +0300, Vadim Zhukov wrote:
> Thank you! I started working on pty4j and some related libs which are used
> in IDEA, but didn't finish this work. Your patch should speed up things.
> 
> The problem is that IDEA bundles quiet a few libraries, like pty4j. We
> generally don't like such bundling. I thought about replacing binaries
> within IDEA directory by symlinks and/or files from pty4j package, to avoid
> double patching...
> 
> Anyway, since we're almost locked now, I'll keep an eye on pty4j and see
> what could be done after unlock. My plan is to finish KDE5/Wayland first,
> though: one big fat port at a time. :)

FYI remote debugging via pydev and native libs is relevant for Ultimate
edition. We do community and I can't have access to Ultimate one anymore.

I'll check fsnotifier as I got a diff from JetBrains' employee.

KDE5/Wayland... Wow, thank you for your great work!

j.