- Updated travis CI build config
- Refactoring of cmake build config
- Alligned coding style for GUI
- Whitespace cleanup for GUI
- Moved source code for GUI
* Disable static library installation by default
* Added parameter for not install static lib
* Rename and move to top parameter for install static libs.
* first try to fix#700
Use CMAKE_INSTALL_PREFIX for install paths
* check IS_DIRECTORY LIB_INSTALL_DIR
* fix incorrect VAR usage in condition
* changed debian/rules according to @bluca patch
* Use https for debian/copyright
* Update dates and fix stanzas in debian/copyright
No need to have 2 stanzas for the same license
* Add BSD-3-clause body in debian/copyright
* Remove generated boilerplate from debian/rules
* Enable compiler hardening flags in debian/rules
* Fix source package name according to repo and docs
* Set source package section to electronics
See https://packages.debian.org/unstable/electronics/ for a full list
* Add long descriptions to packages
* Add gbp.conf file
* Update changelog for 1.5.0 release
* Remove dirs files, not needed anymore
* Rename library package to match SONAME
As per Debian policy, shared library packages must be named after
their SONAME version.
* libstlink0: break+replace libstlink since it took over its files
* Remove triggers, not needed anymore
debhelper tools will generate the triggers file automatically since
the package name was corrected
* List GPL2+ in debian/copyright for flashloaders
* Do not append -shared to shared library on *NIX
Only on Windows it's necessary to have different file names, on *NIX
the extension is what disambiguates between a static library (.a) and
a shared library (.so).
* Clarify license of flashloaders in README.md
Fixes#682
* List all individual authors in debian/copyright
The Debian FTP masters nowadays require that all authors are listed in
debian/copyright. Print the list of authors from git.
* Move modprobe and udev files from shared library package to tools package
Multiple versions of a shared library might be installed on the same
system. Do not ship unversioned files in their packages, or they will
conflict and fail to install.
* stlink-tools: break+replace libstlink
It took ownership of udev and modprobe files from libstlink
* Fix pkgconfig include dir: remove project version
The headers are installed in /usr/include/stlink without a version
number.
* Add libstlink1 symbols file
Generated with:
dpkg-gensymbols -P/tmp -v1.5.0 -V -e/tmp/libstlink.so.1.5.0
-plibstlink1 -Odebian/libstlink1.symbols
* Bump Standards-Version to 4.1.3
Main changes are shared library rename and files moved, and HTTPS
URLs.
https://www.debian.org/doc/packaging-manuals/upgrading-checklist.txt
* Add debian/watch file for notifications
The Debian package tracker can automatically notify when a new
version is out.
* Fixes for VS2017.
* Added a getopt implementation.
* Added a unistd.h.
* Corrected closing of sockets for Windows versions.
* Fixed gdbserver CMakeLists.txt to play nice with VS2017.
* Fixed include of getopt.h and unistd.h for WIN32.
* Added a unistd.h.
* Corrected closing of sockets for Windows versions.
* Fixed gdbserver CMakeLists.txt to play nice with VS2017.
* Override /MD to /MT for MSVC to match libusb's builds.
* MSVC settings should be if (MSVC).
* Don't busy-wait for long periods in usleep().
* Dynamic link to MSVC libusb binaries.
* Added Visual Studio section to compiling.md.
* Added -D_CRT_NONSTDC_NO_WARNINGS to MSVC flags.
* Prevented some more warnings under MSVC.
It seems that stlink cannot use CMake's standard mechanism to find GTK3.
Cmake's GTK3 detection supports only Unix at the moment.
Therefore, stlink uses pkg-config to find GTK3. The downside of this is
that Cmake's cross-compiler settings are not taken into account. Even if
we're cross-compiling, CMake will find a local installation of GTK3 and
compilation of the GUI fails.
As a simple fix, we skip the GTK3 detection if we're cross-compiling.
(In the long run, we should use a more advanced mechanism to find GTK3.)
On 64bit linux all shared objects should go to /usr/lib64. With this
path package maintainters should be able to override library path by
setting STLINK_LIBRARY_PATH.
* cmake: Fix location of modprobe.d config.
* cmake: Use cmake variables for install locations.
This commit add the following two Cmake variables to
change the install location of the udev and modprobe
configuration files:
- STLINK_UDEV_RULES_DIR
- STLINK_MODPROBED_DIR
* doc/compiling.md: Add info about new CMAKE variables.
* debian: Use CMAKE variables for build.
The top-level makefile that was used to drive cmake broke the autodetection
of the used buildsystem by debhelper. This commit fixes it and moves most
of the installation stuff to CMakeLists.txt to keep debian/ folder contents
to the bare minimum.
Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>