diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-06-19 17:12:06 +0200 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-06-19 17:12:06 +0200 |
commit | eb8eab39794cc4a7fbb11b66a4f8d2d6f4d868f2 (patch) | |
tree | aebb3496cab0a2d0650a9097c6307004864552e5 /src | |
parent | 5548944a933a72bd9a3deb7735fc2f60f71906ee (diff) | |
download | kdbusnotification-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 <gregory-tde@laposte.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 8 | ||||
-rw-r--r-- | src/daemon/Makefile.am | 59 | ||||
-rw-r--r-- | src/daemon/daemon.cpp | 4 |
3 files changed, 2 insertions, 69 deletions
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 <tqsignalmapper.h> #include <tqevent.h> #include <tqsize.h> |