From eb8eab39794cc4a7fbb11b66a4f8d2d6f4d868f2 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Fri, 19 Jun 2020 17:12:06 +0200 Subject: Drop automake build support. Add basic cmake build instructions. Write basic README file. Some cosmetics. Signed-off-by: gregory guy --- src/Makefile.am | 8 ------- src/daemon/Makefile.am | 59 -------------------------------------------------- src/daemon/daemon.cpp | 4 ++-- 3 files changed, 2 insertions(+), 69 deletions(-) delete mode 100644 src/Makefile.am delete mode 100644 src/daemon/Makefile.am (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index df5df15..0000000 --- a/src/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -SUBDIRS = \ - daemon - -# and for autostart -autostartdir = $(prefix)/share/autostart -autostart_DATA = kdbusnotification-autostart.desktop 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 #include #include -- cgit v1.2.1