Add basic cmake build instructions. Write basic README file. Some cosmetics. Signed-off-by: gregory guy <gregory-tde@laposte.net>pull/2/head
parent
5548944a93
commit
eb8eab3979
@ -1,6 +1,3 @@
|
||||
[submodule "admin"]
|
||||
path = admin
|
||||
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin
|
||||
[submodule "cmake"]
|
||||
path = cmake
|
||||
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
|
||||
|
@ -0,0 +1,25 @@
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
kdbusnotification relies on cmake to build.
|
||||
|
||||
Here are suggested default options:
|
||||
|
||||
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
|
||||
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
||||
-DSYSCONF_INSTALL_DIR="/etc" \
|
||||
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
-DBUILD_ALL="ON" \
|
||||
-DWITH_ALL_OPTIONS="ON"
|
||||
|
||||
|
||||
Requirement:
|
||||
============
|
||||
- dbus-binding-tool (executable)
|
||||
- dbus-1
|
||||
- dbus-glib-1
|
||||
- gtk2.0
|
||||
- glib2.0
|
@ -1,29 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.5
|
||||
|
||||
install-data-local:
|
||||
@echo ""
|
||||
@echo ""
|
||||
@echo ""
|
||||
@echo "*************** Important *************************"
|
||||
@echo ""
|
||||
@echo " Add "$(bindir)" to your PATH"
|
||||
@echo ""
|
||||
@echo " Please report bugs with our web form at"
|
||||
@echo " http://bugs.kde.org."
|
||||
@echo ""
|
||||
@echo " Stephan Kulow <coolo@kde.org> and all the KDE"
|
||||
@echo " developers wish you fun with the KDE."
|
||||
@echo "****************************************************"
|
||||
@echo ""
|
||||
|
||||
$(top_srcdir)/acinclude.m4: $(shell find . -name acinclude.m4.in) $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
|
||||
@cd $(top_srcdir) && cat $^ > acinclude.m4;
|
||||
|
||||
$(top_srcdir)/configure.in: $(top_srcdir)/configure.files $(shell test -f $(top_srcdir)/configure.files && sed -e "s%^%\$(top_srcdir)/%" $(top_srcdir)/configure.files) $(top_srcdir)/subdirs
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in
|
||||
$(top_srcdir)/subdirs:
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
$(top_srcdir)/configure.files:
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.files
|
||||
|
||||
SUBDIRS=$(TOPSUBDIRS)
|
@ -0,0 +1,20 @@
|
||||
|
||||
kdbusnotification - a DBUS notification service for TDE.
|
||||
|
||||
|
||||
Kdbusnotification is a small program for the Trinity Desktop that
|
||||
displays DBUS notifications via passive popups.
|
||||
|
||||
|
||||
|
||||
|
||||
CONTRIBUTING
|
||||
==============
|
||||
|
||||
If you wish to contribute to Kdbusnotification (TDE), you might do so:
|
||||
|
||||
- TDE Gitea Workspace (TGW) collaboration tool.
|
||||
https://mirror.git.trinitydesktop.org/gitea
|
||||
|
||||
- TDE Weblate Translation Workspace (TWTW) collaboration tool.
|
||||
https://mirror.git.trinitydesktop.org/weblate
|
@ -1 +0,0 @@
|
||||
Subproject commit 3e80abcba548f353276a4f3088f9e0bb6295039c
|
@ -1,59 +0,0 @@
|
||||
#MIN_CONFIG
|
||||
AM_MAINTAINER_MODE
|
||||
CXXFLAGS="$CXXFLAGS -DTQT_NO_ASCII_CAST"
|
||||
|
||||
########### Check for DBus
|
||||
|
||||
AC_MSG_CHECKING(for DBus)
|
||||
|
||||
dbus_inc=NOTFOUND
|
||||
dbus_lib=NOTFOUND
|
||||
dbus=NOTFOUND
|
||||
|
||||
search_incs="$kde_includes /usr/include /usr/include/dbus-1.0 /usr/local/include /usr/local/include/dbus-1.0 /usr/include/*/dbus-1.0"
|
||||
AC_FIND_FILE(dbus/dbus.h, $search_incs, dbus_incdir)
|
||||
|
||||
search_incs_arch_deps="$kde_includes /usr/lib64/dbus-1.0/include /usr/lib/dbus-1.0/include /usr/local/lib/dbus-1.0/include /usr/lib/*/dbus-1.0/include"
|
||||
AC_FIND_FILE(dbus/dbus-arch-deps.h, $search_incs_arch_deps, dbus_incdir_arch_deps)
|
||||
|
||||
if [test -r $dbus_incdir/dbus/dbus.h] && [test -r $dbus_incdir_arch_deps/dbus/dbus-arch-deps.h] ; then
|
||||
DBUS_INCS="-I$dbus_incdir -I$dbus_incdir_arch_deps"
|
||||
dbus_inc=FOUND
|
||||
fi
|
||||
|
||||
search_libs="$kde_libraries /usr/lib64 /usr/lib /usr/local/lib /lib /lib64 /lib/*/ /usr/lib/*/"
|
||||
AC_FIND_FILE(libdbus-1.so, $search_libs, dbus_libdir)
|
||||
|
||||
if test -r $dbus_libdir/libdbus-1.so ; then
|
||||
DBUS_LIBS="-L$dbus_libdir -ldbus-1"
|
||||
dbus_lib=FOUND
|
||||
fi
|
||||
|
||||
if [test $dbus_inc = FOUND] && [test $dbus_lib = FOUND] ; then
|
||||
AC_MSG_RESULT(headers $dbus_incdir $dbus_incdir_arch_deps libraries $dbus_libdir)
|
||||
dbus=FOUND
|
||||
else
|
||||
AC_MSG_RESULT(searched but not found)
|
||||
fi
|
||||
|
||||
AC_SUBST(DBUS_INCS)
|
||||
AC_SUBST(DBUS_LIBS)
|
||||
|
||||
|
||||
########### Check the D-BUS version
|
||||
|
||||
AC_MSG_CHECKING([dbus version])
|
||||
DBUS_VERSION=`$PKG_CONFIG --modversion dbus-1`
|
||||
DBUS_MAJOR_VER=`echo $DBUS_VERSION | cut -d. -f 1`
|
||||
DBUS_MINOR_VER=`echo $DBUS_VERSION | cut -d. -f 2`
|
||||
DBUS_MICRO_VER=`echo $DBUS_VERSION | cut -d. -f 3`
|
||||
|
||||
AC_MSG_RESULT($DBUS_VERSION)
|
||||
AC_DEFINE_UNQUOTED(DBUS_MAJOR_VER, $DBUS_MAJOR_VER, [D-BUS major version.])
|
||||
AC_DEFINE_UNQUOTED(DBUS_MINOR_VER, $DBUS_MINOR_VER, [D-BUS minor version.])
|
||||
AC_DEFINE_UNQUOTED(DBUS_MICRO_VER, $DBUS_MICRO_VER, [D-BUS micro version.])
|
||||
|
||||
|
||||
########### Check for GTK stuff
|
||||
AC_GLIB_2
|
||||
AC_GTK_2
|
@ -1,8 +0,0 @@
|
||||
# $Id$
|
||||
|
||||
SUBDIRS = \
|
||||
daemon
|
||||
|
||||
# and for autostart
|
||||
autostartdir = $(prefix)/share/autostart
|
||||
autostart_DATA = kdbusnotification-autostart.desktop
|
@ -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
|
Loading…
Reference in new issue