[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/9] Refactor devices build
From: |
Ladislav Michl |
Subject: |
[PATCH 0/9] Refactor devices build |
Date: |
Sat, 25 Jan 2020 10:42:21 +0100 |
Hi there,
this is next version of "Refactor devices build" patch broken into
pieces. It is compile tested on Linux only (with exception of unixirda
as IrDA support was removed from kernel with commit d64c2a76123f
"staging: irda: remove the irda network stack and drivers" and even
https://www.irda.org/ site turned into some obscure EMF Blockers
selling stuff).
Comments and suggestions welcome. Especially those suggesting unified
device function prototypes ;-)
Ladislav Michl (9):
Move device_script into separate file
Cleanup device includes
configure.ac: do not mix library and device support checks
Remove nowhere used device_reset()
Remove misleading comments from tcp device
dku2libusb: move definitions into C file
dku2libusb: whitespace cleanup
libfunctions: reimplement gn_lib_is_connectiontype_supported
Refactor devices build
common/Makefile.am | 1 +
common/device.c | 397 +++++++++---------
common/devices/Makefile.am | 57 +--
common/devices/bluetooth.c | 31 --
common/devices/dku2libusb.c | 110 +++--
common/devices/irda.c | 27 --
common/devices/osxbluetooth.m | 8 +-
common/devices/socketphonet.c | 38 +-
common/devices/tcp.c | 42 --
common/devices/unixbluetooth.c | 13 +-
common/devices/unixirda.c | 8 +-
common/devices/winbluetooth.c | 10 +-
common/devices/winirda.c | 7 +-
common/forkscript.c | 63 +++
common/libfunctions.c | 54 +--
configure.ac | 109 +++--
include/device.h | 1 -
.../devices/{unixbluetooth.h => bluetooth.h} | 8 +-
include/devices/dku2libusb.h | 84 ----
include/devices/linuxirda.h | 1 -
include/devices/serial.h | 2 -
include/devices/tcp.h | 2 -
include/devices/unixirda.h | 15 -
include/gnokii-internal.h | 2 +
include/gnokii/data.h | 15 +-
25 files changed, 463 insertions(+), 642 deletions(-)
delete mode 100644 common/devices/bluetooth.c
delete mode 100644 common/devices/irda.c
create mode 100644 common/forkscript.c
rename include/devices/{unixbluetooth.h => bluetooth.h} (82%)
delete mode 100644 include/devices/unixirda.h
--
2.25.0
- [PATCH 0/9] Refactor devices build,
Ladislav Michl <=
- [PATCH 1/9] Move device_script into separate file, Ladislav Michl, 2020/01/25
- [PATCH 2/9] Cleanup device includes, Ladislav Michl, 2020/01/25
- [PATCH 3/9] configure.ac: do not mix library and device support checks, Ladislav Michl, 2020/01/25
- [PATCH 4/9] Remove nowhere used device_reset(), Ladislav Michl, 2020/01/25
- [PATCH 5/9] Remove misleading comments from tcp device, Ladislav Michl, 2020/01/25
- [PATCH 6/9] dku2libusb: move definitions into C file, Ladislav Michl, 2020/01/25
- [PATCH 7/9] dku2libusb: whitespace cleanup, Ladislav Michl, 2020/01/25
- [PATCH 8/9] libfunctions: reimplement gn_lib_is_connectiontype_supported, Ladislav Michl, 2020/01/25
- [PATCH 9/9] Refactor devices build, Ladislav Michl, 2020/01/25
- Re: [PATCH 0/9] Refactor devices build, Pawel Kot, 2020/01/26