102 Commits

Author SHA1 Message Date
Nikos Tsipinakis
8c07ffb173 Start new release cycle 2020-07-23 13:41:24 +03:00
Nikos Tsipinakis
52d67616f1 Dunst v1.5.0 2020-07-23 13:27:50 +03:00
Nikos Tsipinakis
337ff1edb5
Merge pull request #651 from bebehei/dunstctl
Implement a command line control (dunstctl)
2020-05-01 15:38:23 +02:00
Nikos Tsipinakis
6ba430a818 Add dunstctl man page 2020-05-01 15:35:23 +02:00
Benedikt Heine
e80e8e9eb5 Install dunstctl via make automatically 2020-04-10 10:48:37 +02:00
Nikos Tsipinakis
523d5e199e Make all target build dunstify as well 2020-04-06 10:03:12 +02:00
stefan
7e2b148262 Install dunstify 2020-04-03 13:53:15 +02:00
Nikos Tsipinakis
6c4eeda434 Start new release cycle 2019-07-03 10:02:21 +03:00
Nikos Tsipinakis
37474c127b Dunst v1.4.1 2019-07-03 09:46:05 +03:00
Nikos Tsipinakis
7ca6a98238 Fix dunstify.d being left behind on clean 2019-07-03 09:29:03 +03:00
Nikos Tsipinakis
c797b0e7b3 Start new release cycle 2019-03-30 19:13:37 +02:00
Nikos Tsipinakis
cf7dec2989 Dunst v1.4.0 2019-03-30 18:47:06 +02:00
Benedikt Heine
4590514906 Replace Makefile commands with default variables 2019-02-02 16:50:59 +01:00
Benedikt Heine
6df6a50900 Use BINDIR, DATADIR and MANDIR in Makefile 2019-02-02 16:50:49 +01:00
Nikos Tsipinakis
e288fe4b93 Fix makefile not recompiling on header change
We currently do not keep track of header files in our Makefile so if one
is changed it can lead to multiple incompatible binary files being
linked. Instead we now create dependency lists for each source file and
recompile them if the need arises.

Fixes #594
2019-01-28 09:49:46 +02:00
Benedikt Heine
ec3e47abb5 Skip tests requiring extended precision if not avail
Alpine is running with Musl libc and musl uses extended precision
doubles, while valgrind can't handle extended precision,
2.3 == atof("2.3") won't be true under valgrind.

And therefore the option retrieval methods *_get_double would fail.

Also we have to increase the test verbosity, as `SKIPm` doesn't print
the message when skipping the tests.
See: silentbicycle/greatest#85
2018-11-26 12:07:50 +01:00
Benedikt Heine
20df6f2103 Remove deprecated .c.o rule 2018-11-19 17:19:35 +01:00
Benedikt Heine
a6abfdf7c5 Include all local files relatively 2018-11-15 15:17:48 +01:00
Benedikt Heine
8c192f3c28 Make tests runnable from everywhere 2018-11-15 15:17:46 +01:00
Benedikt Heine
2e9d8300de Include full c source to assert static objects
To assert static objects, we either have to add a method into the
object under test itself and recompile on a test run with the activated test
method (but also recompile after tests, so that method is gone on
release builds).

Alternatively we can include the whole .c file in our test
infrastructure and save the object in the test directory. So there's no
necessity to clean it up prior to a release build and it's contained
away.

This requires, that the test folder isn't excluded in coveralls.
2018-11-15 15:17:21 +01:00
Benedikt Heine
b4c319350a Support gcovr to generate coverage reports
The coveralls service is a great webservice, but like the testsuite it's
better to have an alternative, which makes it possible to process it
locally. This is faster and doesn't even require a full push iteration.

gcovr is easy to get:

pip install gcovr
make test-coverage-report
2018-11-15 15:17:21 +01:00
Benedikt Heine
b4ce81b1c9 Move test coverage generation into Makefile
Add the necessary compiler flags to the Makefile to actually make
coverage reports available locally, too.

The coverage files have to get cleaned every time before the test gets
run. Otherwise, it would sum up the coverage over multiple test runs.
2018-11-15 15:17:16 +01:00
Benedikt Heine
f0e4870d99 Reorder CC arguments similarily
Output first, then all required objects and then the FLAGS
2018-10-10 12:58:04 +02:00
Benedikt Heine
750e05f03b Remove trailing spaces 2018-10-10 11:53:03 +02:00
Nikos Tsipinakis
f02626e1a7 Increase the number of entries in the stack trace in test-valgrind
The default seems to hide a lot of detail when the malloc call is very
deep inside a library and not in dunst code itself.
2018-05-14 09:11:25 +03:00
Nikos Tsipinakis
7a9187728c Merge branch 'maint' 2018-05-06 13:36:07 +03:00
Nikos Tsipinakis
f9732bd2fa Dunst v1.3.2 2018-05-06 13:30:01 +03:00
Nikos Tsipinakis
7dd22d79e3 Merge branch 'maint'
Closes #511
2018-05-02 18:58:07 +03:00
Nikos Tsipinakis
943b8c6785 Do not expand config.mk variables on assignment
Fix a bug introduced in 678ea70 where since the CFLAGS variable was
simply expanded it ignored the VERSION variable which was initialized
later.

Unfortunately there is no way to prepend a value to a recursively
expanded variable so instead we have to split the hardcoded compiler
flags into separate variables and combine them all later in the
makefile.

Fixes #500
2018-03-11 17:05:10 +02:00
Benedikt Heine
6bf886d437 Add Doxygen support 2018-02-22 20:08:00 +01:00
Nikos Tsipinakis
b40118bbe3 Dunst v1.3.1 2018-01-30 11:06:17 +02:00
Michael Stapelberg
21188de260 Makefile: correct dependencies to fix race condition
Before this commit, when building dunst in parallel, org.knopwob.dunst.service might get installed as an empty file. See https://bugs.debian.org/888760
2018-01-30 09:14:08 +02:00
Michael Stapelberg
ac6086198e
Makefile: correct dependencies to fix race condition
Before this commit, when building dunst in parallel, org.knopwob.dunst.service might get installed as an empty file. See https://bugs.debian.org/888760
2018-01-29 16:53:08 +01:00
Alexey Kovac
68466f73ed add PKG_CONFIG make variable 2018-01-25 21:28:24 -02:00
Benedikt Heine
370e6ede70 Build dunst also as a git submodule
Git submodules have the property to have .git symlinked into the main
.git folder. On a symlink, the traling dot of a wildcard doesn't work.
2018-01-16 15:03:55 +01:00
Nikos Tsipinakis
a4a38d4467 Start new release cycle
Switch default version string back to the `-non-git` prefix to indicate
an indev version.

Additionally fix the formatting of the 1.3 header in the changelog.
2018-01-05 21:05:53 +02:00
Nikos Tsipinakis
10ee1782d9 Dunst v1.3.0 2018-01-05 20:56:16 +02:00
Benedikt Heine
de09b5a87d Do not create directories separately 2017-12-26 03:31:06 +01:00
Benedikt Heine
573ea1de20 Use systemd as a soft dependency
Dunst does not neccessarily need systemd. Dunst gets started primarily
via DBus. The systemd service is useful on systemd init based systems,
but won't have any impact on non-systemd systems.

To make systemd a soft dependency is neccessary, as pkg-config now also
queries the systemd.pc file, which won't exist on non systemd systems.
2017-12-26 03:31:06 +01:00
Benedikt Heine
8f17d6026b Add configurable path variables for services
Setting PREFIX to a location different to /usr, the install routine
fails to install the systemd and dbus service files. These are
installed, but in the PREFIX directory and not /usr. DBus and systemd
usually only read their files from /usr/ and ignore files in /usr/local.

Now by default, we're asking pkg-config, where to install it. Mostly,
this will be /usr and this conflicts the FHS. But it's the user's intent
to install dunst and (possibly) override the package manager's files
belonging to dunst.

At the current point, even DBus ignores the PREFIX and installs its
systemd service file to the location specified by pkg-config.
2017-12-26 01:35:14 +01:00
Benedikt Heine
1d39aa348c Add valgrind to travis configuration and check for leaks 2017-12-19 11:37:28 +01:00
Benedikt Heine
b5a48ea135 Sync phony targets with .PHONY and organise in sections 2017-10-26 17:21:33 +02:00
Benedikt Heine
d07bdacab9 Introduce debug target 2017-10-26 17:11:05 +02:00
Benedikt Heine
bfc8b17c27 Reorganise CLFAGS/LDFLAGS handling 2017-10-22 04:11:34 +02:00
Benedikt Heine
e890052431 Restructure the Makefile (refactor) 2017-10-22 04:11:32 +02:00
Benedikt Heine
37d76ab0d1 Simplify dunstify flags 2017-10-22 04:10:20 +02:00
Benedikt Heine
20414cc3a3 Remove config.def.h and only use config.h 2017-10-07 18:22:07 +02:00
Benedikt Heine
8b102a4483 Remove systemd service on uninstall 2017-10-06 14:49:15 +02:00
Bernhard M. Wiedemann
5df95513ec Sort linker input file list
so that dunst binaries build in a reproducible way
in spite of indeterministic filesystem readdir order

See https://reproducible-builds.org/ for why this is good.
2017-09-12 21:26:30 +02:00
Benedikt Heine
855d4bb860 depend on gtk3 instead of gtk2 2017-07-13 15:01:52 +02:00