4 Commits
Author SHA1 Message Date
Mike Kaganski ab09422405 Make unopkg.com proper launcher for unopkg.bin on Windows
... like implemented in 506173a7f4 for
soffice.bin.

Previously unopkg.com prepared some communication pipes, and launched
unopkg.exe, which in turn launched unopkg.bin (both GUI subsystem apps),
and when the latter sent output to console, it was redirected to the
pipes, and finally sent to console by unopkg.com (details in dropped
desktop/win32/source/guistdio/guistdio.inc). The implementation made it
impossible to use standard console output function from c/c++ standard
libraries; WinAPI had to be used. Special API had been implemented for
that: dp_misc::writeConsole*, and still part of output was garbled.
Commit 015e9f780b tried to workaround
that, effectively making loghandler unusable outside of unopkg.

This change makes unopkg.com a console subsystem clone of unopkg.exe,
and unopkg.bin is now also console application. This allows to cleanup
and unify its output in a follow-up commit.

Change-Id: I3b299e09f8a11a72883b06442b0e95131ffaac5f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87210
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-01-23 06:20:22 +01:00
Mike Kaganski c598ea1427 Add version resource to executables where it was missing
Change-Id: Iee965c3f720827b20347f6228e891562c8295d22
Reviewed-on: https://gerrit.libreoffice.org/78327
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-08-31 00:22:28 +02:00
Michael Stahl 62b75cd169 tdf#100302: gbuild: always use $(LFS_CFLAGS)
Currently LFS_CFLAGS are only used in a handful of libraries but there's
no obvious reason why it can't just be set everywhere.

Also set it in windows.mk, i have no idea if it's needed for MinGW
(certainly not for MSVC).

Change-Id: I5f62e3011c2089abbf5539fc54c7ff10e07b1599
2016-10-07 14:58:17 +02:00
Michael Stahl c02a905115 desktop: rename Executable*.bin.mk/.com.mk
Change-Id: Ibb0970cfde65b331a4b870cc254b0a6481889edf
2014-03-03 23:44:13 +01:00