Wykres commitów

81 Commity (97d3173f480db33c770ef2c66a002d708b139fa0)

Autor SHA1 Wiadomość Data
nightwalker-87 97d3173f48 Updated package & install configuration
- Added package changelog files for deb & rpm
- Added license file for deb pkg
- Added rules file for deb pkg
- Changed install subdirectory
2020-05-18 15:13:36 +02:00
nightwalker-87 e3aa887f7f Update for library linking
- Simplified code
- Added version info for static library
2020-05-18 00:49:08 +02:00
nightwalker-87 e87bdff95b General Project Update
- Updated project README
- Updated .gitignore
- Updated project contributors
- Added contribution guidelines
2020-04-27 20:20:50 +02:00
nightwalker-87 f827006231 Refactoring for cmake build settings
- Moved additional header files to /src
- Simplified header-paths
- Added missing license title for getopt
- Added comments and sections to CMakeLists
- Improved file structure (partially)
- Co-build st-util with st-info & st-flash
- GUI: Renamed .ui file to match executable
- Added install targets for executables
- Added missing "uninstall" cmd to Makefile
2020-04-25 22:34:18 +02:00
nightwalker-87 5a1efc01f7 Updated cmake settings
- Distinguish test binaries from binaries
- Build all binaries to /bin subfolder
- Added comments to explain settings
- Moved header files for logging and mmap
2020-04-24 15:01:28 +02:00
nightwalker-87 3e3f782e5e Updated pkgconfig
(Closes #944)
2020-04-23 22:52:00 +02:00
nightwalker-87 9b19f92254 Fixed compilation errors
- Moved include of GNUInstallDirs module in cmake-routine
- Removed old ci-leftover in Makefile
- cmake: Fixed name pattern for libusb module (Fixes #940)
- Wrong command option formatting for 7zip (Fixes #936)

Extraction of downloaded libusb archive on Windows failed since commit 
a8c1f41f1b.
2020-04-21 14:49:25 +02:00
nightwalker-87 68fdd3927d Reconfigured cmake packaging
- Refactoring for package config & build
- deb-pkg: postinst script with depmod -a

(Fixes #845)
2020-04-18 16:45:05 +02:00
nightwalker-87 e98c7d4926 Updated cmake settings from GTK to GTK3 2020-04-17 20:45:33 +02:00
nightwalker-87 ccd1673790 Enable pkg_check for gtk on macOS 2020-04-17 17:01:36 +02:00
nightwalker-87 155439230a Unified naming for cmake modules & paths 2020-04-17 15:43:35 +02:00
nightwalker-87 264417e4b3 Fix for version string read without git 2020-04-17 14:41:48 +02:00
nightwalker-87 07c5e324a8 Updated CHANGELOG for upcoming release 2020-04-17 13:21:07 +02:00
nightwalker-87 977576215e Partial project restructuring
- Updated travis CI build config
- Refactoring of cmake build config
- Alligned coding style for GUI
- Whitespace cleanup for GUI
- Moved source code for GUI
2020-04-16 21:59:29 +02:00
nightwalker-87 6f934a396e Whitespace cleanup 2020-04-15 16:20:17 +02:00
Chen Guokai 608314b1e0 Merge branch 'develop' of https://github.com/texane/stlink into develop 2020-04-13 17:15:37 +08:00
Chen Guokai 79676cdf79 Add md5 checksum for binary file 2020-04-13 17:12:58 +08:00
nightwalker-87 cadfa94162 General Project Update
- Updated travis CI build configuration
- Updated project references
- Minor formatting fixes
2020-04-12 18:26:46 +02:00
nightwalker-87 af1570ffe9 Minor formatting fixes 2020-04-07 17:11:45 +02:00
nightwalker-87 41f8417eaa Integrated module GNUInstallDirs.cmake
(Fixes #557)
2020-04-05 18:12:39 +02:00
nightwalker-87 e7ed76bd12 Added cmake uninstall target
(Fixes #619)
2020-04-05 18:01:49 +02:00
nightwalker-87 1818d9375d Fixed indentation & whitespace. 2020-04-05 14:57:59 +02:00
nightwalker-87 587fb48ce4 Updated cmake configuration
- Alligned formatting
- Updated version requirement
- Updated pkg-maintainer
- [doc] Added note in compiling manual
- Fixed install paths in build script
- Updated C-flag -std=gnu99 to gnu11
2020-04-05 14:25:45 +02:00
Oleksiy Slyshyk 04630e4302 fix intendation 2020-03-28 21:31:44 +02:00
Oleksiy Slyshyk 18735deb1b check LIBUSB_API_VERSION 2020-03-28 21:00:30 +02:00
Oleksiy Slyshyk 784fdde0ae check if app's need for libssp. 2020-03-21 14:48:40 +02:00
nightwalker-87 1de2e4b0f8 Added status messages to CMakeLists.txt 2020-02-20 12:25:23 +01:00
Slyshyk Oleksiy a3cb1a1569 build wor windows under Debian/Ubuntu (#802) 2019-05-11 19:41:57 +02:00
Gabriel Arjones 8c46827f54 Make udev rules and modprobe conf installation optional (#741) 2018-10-24 19:33:02 +02:00
joede 0af68c0801 Add svg icon for .desktop file (#708)
* add SVG icon and .desktop file to Debian package. Renamed icon and .desktop file to package name.
2018-05-05 08:01:41 +02:00
Vasiliy Glazov b1b2a2f0a8 Disable static library installation by default (#702)
* Disable static library installation by default
* Added parameter for not install static lib
* Rename and move to top parameter for install static libs.
2018-04-17 10:30:31 +02:00
Slyshyk Oleksiy 88935336f8 fix #700 (#701)
* 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
2018-04-16 20:54:03 +02:00
Cédric Boudinet d9d17f4cfe Icons for stlink gui (#697)
* Adding icon for ui
* renaming icons from stlinkgui to stlink-gui
* moving icons from art to src/tools/gui/art
2018-03-28 15:04:20 +02:00
Vasiliy Glazov 2ee6edc9ae Add desktop file for linux gtk GUI application (#688)
* Add desktop file for linux
* installing desktop file to /usr/../share/applications
* Move desktop file to gui subdirectory.
2018-03-28 09:54:40 +02:00
Slyshyk Oleksiy 389fda2443 Update libusb to v1.0.22 (#695)
* Will not download libusb if it found.
* Checking CMAKE_LIBRARY_PATH before setting as STLINK_LIBRARY_PATH.
2018-03-28 09:49:14 +02:00
Luca Boccassi e9fe4e5145 Debian packaging, CMake and README.md fixes (#683)
* 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.
2018-03-16 16:41:07 +01:00
Slyshyk Oleksiy 95b6e03ed0 fix __FILE__ base name extraction, #628 (#648) 2017-10-25 21:48:43 +02:00
Vasiliy Glazov 1700e6a471 Added LIB_INSTALL_DIR to correct libs install on 64-bit systems (#636)
* Added LIB_INSTALL_DIR to correct libs install on 64-bit systems
* Add description for using LIB_INSTALL_DIR parameter.
2017-09-08 14:00:45 +02:00
Slyshyk Oleksiy bf5870050f Fix mingw build (#610)
* fix compilation for mingw
* add *.user to ignor
2017-06-29 21:33:31 +02:00
orinem 79d91786f7 Stop the sulk with GPL2016 on Windows (#602)
* 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.
2017-06-17 08:05:47 +02:00
Martin Kaiser cc3a570509 skip GTK detection if we're cross-compiling (#588)
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.)
2017-05-05 12:16:38 +02:00
Karol Szuster 47ab2901b9 Fix installation path for shared objects (#581)
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.
2017-04-05 20:48:07 +02:00
Jerry Jacobs 2c0ab7f0eb logging: Don't print absolute path to source file. Fixes #548 2017-02-14 19:51:24 +01:00
Jerry Jacobs 1b36565d7d CMakeLists.txt: Fix last piece to compile static on windows 2017-01-28 11:49:06 +01:00
Jerry Jacobs 4868a62fbf Prepare for win64 static executable builds 2017-01-28 11:30:30 +01:00
Christian Mauderer 49248f5985 Fix install locations for modprobe config and udev rules (#502)
* 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.
2016-10-26 20:40:25 +02:00
Jerry Jacobs 68b0f3bddc Initial work to fix cygwin builds 2016-10-22 09:44:37 +02:00
Andrew Andrianov 650a88aa2c debian: Remove all useless stuff from debian/rules, force cmake buildsystem
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>
2016-10-04 13:56:05 +03:00
Jerry Jacobs 4209e4b924 cmake: Refactor into seperate files, fix project version detection when everything fails (travis) 2016-09-16 15:42:34 +02:00
Jerry Jacobs 3b47efcb01 cmake: WIN32: Fix linking with winsock 2016-09-15 15:05:00 +02:00