63 Commits

Author SHA1 Message Date
Benedikt Heine
65043c00d4
Merge pull request #463 from bebehei/serviceprefix
Add configurable path variables for services
2017-12-29 00:49:02 +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
Nikos Tsipinakis
0afdda11f3 Drop dependency on gtk3
As per discussion in #334 drop dependency on gtk3 and instead depend
only on gdk-pixbuf2 for icon loading.

The only gtk3 function used was gdk_cairo_set_source_pixbuf in order to
convert the loaded pixbufs into cairo surfaces for us to render. In
order to drop the dependency this step was bypassed by using pixbufs
export to png capability and importing it into cairo via a pngstream.
2017-12-22 22:27:08 +01:00
Benedikt Heine
4cf9114028 Require XRandR 1.5 in pkg-config to compile
Albeit it's possible to run with XRandR extension < 1.5,
dunst needs the headers of libxrandr 1.5.
2017-11-02 15:31:53 +01: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
3fc27e4004 Deprecate STATIC_CONFIG 2017-10-18 00:09:42 +02:00
Benedikt Heine
855d4bb860 depend on gtk3 instead of gtk2 2017-07-13 15:01:52 +02:00
Nikos Tsipinakis
b06475b4aa Remove remnants from the compile-time multi-monitor support
When the logic to use a setting to decide between RandR and xinerama
apparently the variable in config.mk and the travis tests were never
removed.
2017-07-12 16:45:04 +03:00
Nikos Tsipinakis
4573b92975 Start new release cycle
Update the default version name to non-git and add new unreleased
section to the changelog to start the new release cycle.
2017-07-12 16:42:31 +03:00
Nikos Tsipinakis
b069b2dba6 Dunst v1.2.0 2017-07-12 11:22:04 +03:00
Nikos Tsipinakis
1b6f9dbb29 Put the version in config.mk instead of a separate file
There is no need to have a separate VERSION file in release tarballs,
having the version in config.mk directly allows for a proper fallback in
case the git repository and the version file doesn't exists. The most
important example of this is the tarballs that github creates on every
release.
2017-07-12 11:15:22 +03:00
Nikos Tsipinakis
c547f6eec9 Add force_xinerama option
Since after the release a lot of downstream users will not be building
from source, it makes a lot more sense to have an option to fall back to
the Xinerama extension for those that are still on systems that do not
support RandR.
2017-07-10 14:38:20 +03:00
Nikos Tsipinakis
3357743210 Make selecting which multi-monitor selection to use simpler
Use a single MULTIMON variable which can be set to either xrandr,
xinerama or none and replace the previous system which used 2 variables
for each extension which were then added to CFLAGS and instead append
xrandr or xinerama respectively to pkg_config_packs so their
availability can be checked with pkg-config.

The main advantage of this is that the extension can now be set from
the command like like so 'MULTIMON=xinerama make'
2017-04-02 19:37:59 +03:00
Eizen
4dd628ccf4 Add auto-detect dpi method
If Xft.dpi value is not available, auto-detect value based on monitor using randr provided sizes.
Disable Xinerama and enable randr by default.
Also update dpi everytime the monitor changes.
2017-04-02 18:27:12 +03:00
Nikos Tsipinakis
3c38741e71 Remove unused dependencies
Remove xext and xft as a dependency since they are not currently used
and probably haven't been used a while.

Also remove freetype2 from the pkg-config list, while it is required by
pangocairo it should be included from the pkg-config --cflags call.
2017-04-01 18:52:15 +03:00
Nikos Tsipinakis
9dd4768a1f Switch to _DEFAULT_SOURCE, _BSD_SOURCE is deprecated 2016-11-17 19:50:00 +02:00
Johannes M. Griebler
33ab80f1a9 Merge icon handling from buglloc/master 2016-10-13 19:18:00 +02:00
Johannes M. Griebler
f1b0e83776 Take lightweight tags into account in VERSION 2016-10-13 19:08:59 +02:00
Andrew Krasichkov
b6f56be97b Added support for more image formats for icons ( see knopwob/dunst#150 ) 2015-11-15 21:16:37 +02:00
René 'Necoro' Neumann
36a858da3f Set dependency to '>=glib-2.36' as needed by the glib signal handler 2014-07-09 17:09:52 +02:00
Sascha Kruse
6715f74a47 use --std=gnu99 to get rid of compiler warnings 2014-03-08 12:08:39 +01:00
Sascha Kruse
75366af9fd make missing dependencies non fatal at make clean 2013-03-20 09:33:41 +00:00
Sascha Kruse
eb64867d43 remove unused INIFLAGS 2013-03-20 09:00:04 +00:00
Sascha Kruse
14d59c4d0c only add libxdg-basedir as dependency when needed 2013-03-20 08:54:44 +00:00
Sascha Kruse
555442eeb0 fix typo in config.mk 2013-03-20 08:22:19 +00:00
Sascha Kruse
b2883b2133 implement basic features with pango/cairo 2013-02-22 18:35:55 +00:00
Sascha Kruse
820cfe7315 Basic dbus functionality reintroduced 2013-02-18 04:30:57 +00:00
Sascha Kruse
78ed4d77c5 replace string strip functions with glib equivalent 2013-02-16 06:13:52 +01:00
Sascha Kruse
4bee26c004 config.mk cleanups 2013-01-21 15:39:42 +01:00
Sascha Kruse
e54dbda01d config.mk cleanup pkg-config error message
pkg-config already prints which package is missing so we don't need to
repeat a list of packages
2013-01-21 15:38:39 +01:00
QC
19c3957ee4 Check pkg-config result before compiling. 2013-01-20 11:16:00 +01:00
QC
f3935e6c92 Allow prefix to be set on the make line.. make PREFIX=<path> 2013-01-20 11:01:25 +01:00
Sascha Kruse
0de2e172ba use pkg-config for (almost) all libs/includes 2012-12-10 14:10:31 +01:00
Kristofer M White
1faee75ed1 Adding platform checks to config.mk 2012-12-09 19:35:40 -06:00
Sascha Kruse
ee56d68e28 release version 0.4.0 2012-09-27 12:17:25 +02:00
Nuno Cardoso
434a575bfb Implemented bouncing text 2012-09-13 10:32:10 +01:00
Sascha Kruse
1f3975ba94 add EXTRACFLAGS to CFLAGS
This is used for Fedora specific CFLAGS. See also github issue #56
2012-08-29 12:38:12 +02:00
Sascha Kruse
31d4c1e5a4 let git generate version string 2012-08-16 23:19:43 +02:00
Sascha Kruse
4458ad140a VERSION="pre-0.4.0" 2012-07-31 13:32:41 +02:00
Sascha Kruse
057d1bc0f2 Merge remote-tracking branch 'origin/next' 2012-07-31 13:19:00 +02:00
Sascha Kruse
014b6f922e version 0.3.0 2012-07-30 17:26:52 +02:00
Sascha Kruse
0750c5da0f make compilerflags appendable 2012-07-25 10:13:12 +02:00
Sascha Kruse
59886c1447 added rules to config.def.h 2012-07-25 10:07:54 +02:00
Sascha Kruse
311e2ff437 reintroduced config.h 2012-07-25 10:07:54 +02:00
Sascha Kruse
bbb02527b1 don't explicitly set CC 2012-07-13 10:18:35 +02:00
Sascha Kruse
fc68192e7c --std=c99 2012-07-01 06:23:08 +02:00
Sascha Kruse
41540c4bde -Wno-overlength-strings 2012-06-30 21:05:59 +02:00