summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-06-19 17:12:06 +0200
committergregory guy <[email protected]>2020-06-19 17:12:06 +0200
commiteb8eab39794cc4a7fbb11b66a4f8d2d6f4d868f2 (patch)
treeaebb3496cab0a2d0650a9097c6307004864552e5 /src/daemon
parent5548944a933a72bd9a3deb7735fc2f60f71906ee (diff)
downloadkdbusnotification-eb8eab39794cc4a7fbb11b66a4f8d2d6f4d868f2.tar.gz
kdbusnotification-eb8eab39794cc4a7fbb11b66a4f8d2d6f4d868f2.zip
Drop automake build support.
Add basic cmake build instructions. Write basic README file. Some cosmetics. Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/Makefile.am59
-rw-r--r--src/daemon/daemon.cpp4
2 files changed, 2 insertions, 61 deletions
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
deleted file mode 100644
index 8b81d63..0000000
--- a/src/daemon/Makefile.am
+++ /dev/null
@@ -1,59 +0,0 @@
-# $Id: Makefile.am 2337 2007-01-11 19:17:30Z nick $
-
-METASOURCES = AUTO
-
-DBUS_GLIB_LIBS = -ldbus-glib-1
-
-INCLUDES = \
- -I$(top_srcdir) \
- -DDBUS_API_SUBJECT_TO_CHANGE \
- -DG_LOG_DOMAIN=\"notification-daemon-tde\" \
- $(DBUS_INCS) \
- $(GLIB2_CFLAGS) \
- $(GTK2_CFLAGS) \
- $(TQT_INCLUDES) \
- $(KDE_INCLUDES)
-
-bin_PROGRAMS = \
- notification-daemon-tde
-
-notification_daemon_tde_SOURCES = \
- daemon.cpp \
- daemon.h
-
-notification_daemon_tde_CFLAGS = \
- $(GTK_CFLAGS) \
- $(DBUS_CFLAGS) \
- $(DBUS_GLIB_CFLAGS)
-
-
-notification_daemon_tde_LDADD = \
- $(GTK2_LIBS) \
- $(DBUS_LIBS) \
- $(DBUS_GLIB_LIBS) \
- $(GLIB2_LIBS) \
- $(KDE_RPATH) \
- $(KDE_LDFLAGS) \
- $(LIB_TQT) \
- $(QT_LDFLAGS) \
- -lDCOP \
- $(LIB_TDECORE) \
- $(LIB_TDEUI) \
- -ltdefx \
- $(LIB_TDEIO) \
- -ltdetexteditor
-
-BUILT_SOURCES = \
- notificationdaemon-dbus-glue.h
-
-notificationdaemon-dbus-glue.h: notificationdaemon.xml
- dbus-binding-tool \
- --mode=glib-server \
- --prefix=notification_daemon_tde \
- $(srcdir)/notificationdaemon.xml > notificationdaemon-dbus-glue.h
-
-EXTRA_DIST = \
- notificationdaemon.xml
-
-DISTCLEANFILES = \
- notificationdaemon-dbus-glue.h
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp
index d09f080..a15c770 100644
--- a/src/daemon/daemon.cpp
+++ b/src/daemon/daemon.cpp
@@ -19,9 +19,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
-
+#ifdef HAVE_CONFIG_H
#include "config.h"
-
+#endif
#include <tqsignalmapper.h>
#include <tqevent.h>
#include <tqsize.h>