Skip to content

Commit

Permalink
moved monitor out of icecream
Browse files Browse the repository at this point in the history
svn path=/trunk/playground/devtools/icemon-kde3/; revision=548828
  • Loading branch information
coolo committed Jun 6, 2006
1 parent 6e22852 commit e402f7b
Show file tree
Hide file tree
Showing 40 changed files with 26 additions and 16 deletions.
4 changes: 4 additions & 0 deletions configure.in.bot
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

if test -z "$ICECREAM_LDADD"; then
pkg-config --print-errors --exists icecream
fi
14 changes: 12 additions & 2 deletions configure.in.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
KDE_SET_PREFIX
AC_PATH_KDE

pkg-config --silence-errors --exists icecream
if test "$?" = 0; then
ICECREAM_LDADD=`pkg-config --libs-only-l icecream`
ICECREAM_LDFLAGS=`pkg-config --libs-only-L icecream`
ICECREAM_CFLAGS=`pkg-config --cflags icecream`
else
DO_NOT_COMPILE="$DO_NOT_COMPILE icemon-kde3"
fi

AC_SUBST(ICECREAM_LDADD)
AC_SUBST(ICECREAM_LDFLAGS)
AC_SUBST(ICECREAM_CFLAGS)
File renamed without changes.
10 changes: 5 additions & 5 deletions Makefile.am → src/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
SUBDIRS = doc

INCLUDES = -I$(srcdir)/.. $(all_includes)
INCLUDES = $(ICECREAM_CFLAGS) $(all_includes)

bin_PROGRAMS = icemon
icemon_SOURCES = mon-kde.cc listview.cc ganttstatusview.cc \
summaryview.cc starview.cc
icemon_LDADD = libicemon_common.la ../services/libicecream.la $(LIB_KDEUI)
icemon_LDFLAGS = $(all_libraries)
icemon_LDADD = libicemon_common.la -licecream $(LIB_KDEUI)
icemon_LDFLAGS = $(all_libraries) $(ICECREAM_LDFLAGS)

noinst_LTLIBRARIES = libicemon_common.la
libicemon_common_la_SOURCES = job.cc monitor.cc hostinfo.cc statusview.cc \
Expand All @@ -23,8 +23,8 @@ pics_DATA = icemonnode.png

kde_module_LTLIBRARIES = icemon_panelapplet.la

icemon_panelapplet_la_LDFLAGS = -avoid-version -module $(all_libraries)
icemon_panelapplet_la_LIBADD = libicemon_common.la ../services/libicecream.la $(LIB_KDEUI)
icemon_panelapplet_la_LDFLAGS = -avoid-version -module $(all_libraries) $(ICECREAM_LDFLAGS)
icemon_panelapplet_la_LIBADD = libicemon_common.la $(ICECREAM_LDADD) $(LIB_KDEUI)
icemon_panelapplet_la_SOURCES = icemonapplet.cpp

lnkdir = $(kde_datadir)/kicker/applets
Expand Down
3 changes: 3 additions & 0 deletions src/configure.in.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
KDE_SET_PREFIX
AC_PATH_KDE

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions icemonapplet.cpp → src/icemonapplet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
#include "monitor.h"
#include "hostview.h"

#include <services/logging.h>

#include <qlabel.h>
#include <qfont.h>
#include <qstringlist.h>
Expand Down Expand Up @@ -56,8 +54,6 @@ IcemonApplet::IcemonApplet( const QString &configFile, Type type, int actions,
QWidget *parent, const char *name )
: KPanelApplet( configFile, type, actions, parent, name )
{
setup_debug(Debug|Info|Warning|Error,"");

setBackgroundOrigin( AncestorOrigin );

mHostInfoManager = new HostInfoManager;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions mon-kde.cc → src/mon-kde.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
#include "starview.h"
#include "summaryview.h"

#include <services/logging.h>

#include <kaboutdata.h>
#include <kaction.h>
#include <kapplication.h>
Expand Down Expand Up @@ -222,7 +220,6 @@ static const KCmdLineOptions options[] =

int main( int argc, char **argv )
{
setup_debug(Debug|Info|Warning|Error,"");
KAboutData aboutData( rs_program_name, appName, version, description,
KAboutData::License_BSD, copyright );
aboutData.addAuthor( "Frerich Raabe", 0, "[email protected]" );
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions monitor.cc → src/monitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
#include "hostinfo.h"
#include "statusview.h"

#include <services/logging.h>
#include <services/comm.h>
#include <icecream/comm.h>

#include <klocale.h>
#include <kdebug.h>
#include <iostream>

#include <qsocketnotifier.h>
#include <qtimer.h>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e402f7b

Please sign in to comment.