Wykres commitów

11 Commity (ee4a52288a68126f3c74fee7d3413fa5ee9900bd)

Autor SHA1 Wiadomość Data
nightwalker-87 751da606ca Merge branch 'pr-847/zx81a/master' into develop. 2020-02-21 01:07:52 +01: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
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
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
Kirill Kolyshkin fbd55d9f1b debian/triggers: add (to run ldconfig) (#664)
After installing the deb package, st-util fails to start:

> $ st-util
> st-util: error while loading shared libraries: libstlink-shared.so.1:
> cannot open shared object file: No such file or directory

The reason is, no one ran `ldconfig` upon installing the library.

The solution, as per latest Debian recommendations [1], is to add an
ldconfig trigger in debian/triggers, which is what this commit does.

[1] https://www.debian.org/doc/debian-policy/#ldconfig

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-02-06 14:45:57 +01:00
yaofei zheng 4e28e303b5 update debian package version (#630)
* update debian package version
2017-08-25 10:06:21 +02:00
Zhang, Chi dc8eb3e739 Fix gitignore and add support for STM32L452 (#608)
* update gitignore for debian
* add/update support for L43x/44x/45x/46x, partially thanks to @vatsaltrivedi86, should close texane/stlink#603
2017-06-26 23:57:14 +02: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
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
Denis Osterland e407d9e5a9 deb: Fix broken install rules.
Override dh_auto_install to use *.install files as they are.
The debian/*.install could contain source to destination format too,
but that would be much more difficult to handle with multi-arch.
Add debian copyright file.
Add stlink-tools manpages.
Insert homepage link.
Add library dependencies to binaries.
Add howto debuild to README.
Install udev rules.
Install modprobe config for usb module.
Configure cmake with /usr prefix and compile release variant.
2016-09-19 10:14:10 +02:00
Andrew Andrianov a35cc23525 CMakeLists.txt: Add shared library build and debian packaging
Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
2016-09-02 23:00:33 +03:00