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.
This commit is contained in:
Nikos Tsipinakis 2017-04-01 18:39:38 +03:00
parent 259030abe8
commit 3c38741e71
3 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libdbus-1-dev libx11-dev libxinerama-dev libxft-dev libxss-dev libxdg-basedir-dev libglib2.0-dev libpango1.0-dev libcairo2-dev libfreetype6-dev libnotify-dev libgtk2.0-dev
- sudo apt-get install -y libdbus-1-dev libx11-dev libxinerama-dev libxss-dev libxdg-basedir-dev libglib2.0-dev libpango1.0-dev libcairo2-dev libnotify-dev libgtk2.0-dev
dist: trusty
sudo: required
language: c

View File

@ -18,7 +18,6 @@ Dunst has a number of build dependencies that must be present before attempting
- dbus
- libxinerama
- libxft
- libxss
- libxdg-basedir
- glib

View File

@ -25,9 +25,9 @@ endif
CPPFLAGS += -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} ${INIFLAGS}
CFLAGS += -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC} ${CPPFLAGS} ${EXTRACFLAGS}
pkg_config_packs := dbus-1 x11 freetype2 xext xft xscrnsaver \
pkg_config_packs := dbus-1 x11 xscrnsaver \
"glib-2.0 >= 2.36" gio-2.0 \
pango cairo pangocairo gdk-2.0
pangocairo gdk-2.0
# check if we need libxdg-basedir
ifeq (,$(findstring STATIC_CONFIG,$(CFLAGS)))