diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-06-19 17:12:06 +0200 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-06-20 14:01:23 +0900 |
commit | 7032f572130b6dab1f76701fd019775984d23145 (patch) | |
tree | dc6c2045c30db60f1c1f4463f117ea602ce22efb /src | |
parent | 47f71df1d84a8f9ff965cf2e6965ea57261296f4 (diff) | |
download | kdbusnotification-7032f572130b6dab1f76701fd019775984d23145.tar.gz kdbusnotification-7032f572130b6dab1f76701fd019775984d23145.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>
(cherry picked from commit eb8eab39794cc4a7fbb11b66a4f8d2d6f4d868f2)
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 2e28bad..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) \ - $(QT_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_QT) \ - $(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 5826efd..9a7fe6d 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> |