[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/8] Update Win32 port
From: |
Ladislav Michl |
Subject: |
[PATCH 0/8] Update Win32 port |
Date: |
Mon, 3 Dec 2018 10:34:41 +0100 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Hi there,
this patches was initiated by Fabrizio Gennari at
https://savannah.nongnu.org/patch/index.php?8934
It aims to restore compilation for Windows host, so please
do test and report results.
There's (at least :)) one thing left: all programs needing
c99 snprintf should compile in common/snprintf.c directly,
otherwise we would need to make our (samba's) version of
snprintf part of gnokii API which does not sound as a bright
idea.
Oh, there's second thing: Implement common/winscript.c.
I'm not sure it is needed, I do not have time for that,
but if you do, ideas are inside that file.
Fabrizio Gennari (4):
Use the native autoconf support for cross-compilation
Use lower case for Win32 includes
Remove some unnecessary #ifndef WIN32
Update snprintf.c
Ladislav Michl (4):
Test for number of mkdir() arguments
Fix compat.c compilation with mingw32
Use posix_spawn to run external scripts
Refactor devices build
ChangeLog | 10 +
common/Makefile.am | 8 +-
common/cfgreader.c | 23 ---
common/compat.c | 24 ++-
common/device.c | 67 +-----
common/devices/Makefile.am | 57 ++---
common/devices/bluetooth.c | 31 ---
common/devices/dku2libusb.c | 42 +---
common/devices/irda.c | 27 ---
common/devices/osxbluetooth.m | 8 +-
common/devices/socketphonet.c | 38 +---
common/devices/tcp.c | 53 +----
common/devices/tekram.c | 1 -
common/devices/unixbluetooth.c | 19 +-
common/devices/unixirda.c | 11 +-
common/devices/winbluetooth.c | 16 +-
common/devices/winirda.c | 7 +-
common/posixscript.c | 102 +++++++++
common/winscript.c | 36 ++++
configure.ac | 195 +++++++++---------
gnokii/Makefile.am | 10 -
gnokii/gnokii-calendar.c | 2 -
gnokii/gnokii-monitor.c | 3 -
include/compat.h | 15 +-
.../devices/{unixbluetooth.h => bluetooth.h} | 38 +++-
include/devices/dku2libusb.h | 38 +++-
include/devices/irda.h | 32 +++
include/devices/socketphonet.h | 32 +++
include/devices/tcp.h | 33 +++
include/devices/unixirda.h | 15 --
include/gnokii-internal.h | 16 +-
include/gnokii.h.in | 4 +-
32 files changed, 525 insertions(+), 488 deletions(-)
delete mode 100644 common/devices/bluetooth.c
delete mode 100644 common/devices/irda.c
create mode 100644 common/posixscript.c
create mode 100644 common/winscript.c
rename include/devices/{unixbluetooth.h => bluetooth.h} (52%)
delete mode 100644 include/devices/unixirda.h
--
2.20.0.rc1