conky_SOURCES = common.c fs.c top.c $(linux) mail.c mixer.c $(seti) $(mpd) \
$(solaris) $(freebsd) $(netbsd) $(cairo) conky.c conky.h $(x11) $(metar) \
- $(mldonkey)
+ $(mldonkey) remoted.c remoted.h remotec.c remotec.h
conky_LDFLAGS = $(X11_LIBS) $(XFT_LIBS) $(CAIRO_LIBS)
app-admin/conky/conky-1.2.ebuild
EXTRA_conky_SOURCES = seti.c linux.c solaris.c freebsd.c netbsd.c mpd.c libmpdclient.c \
-cairo.c libmpdclient.h top.h mldonkey.c ftp.c metarinfo.c ftp.h metarinfo.h x11.c
+cairo.c libmpdclient.h top.h mldonkey.c ftp.c metarinfo.c ftp.h metarinfo.h x11.c
\ No newline at end of file
PROGRAMS = $(bin_PROGRAMS)
am__conky_SOURCES_DIST = common.c fs.c top.c linux.c mail.c mixer.c \
seti.c mpd.c libmpdclient.c solaris.c freebsd.c netbsd.c \
- cairo.c conky.c conky.h x11.c ftp.c metarinfo.c mldonkey.c
+ cairo.c conky.c conky.h x11.c ftp.c metarinfo.c mldonkey.c \
+ remoted.c remoted.h remotec.c remotec.h
@BUILD_LINUX_TRUE@am__objects_1 = linux.$(OBJEXT)
@BUILD_SETI_TRUE@am__objects_2 = seti.$(OBJEXT)
@BUILD_MPD_TRUE@am__objects_3 = mpd.$(OBJEXT) libmpdclient.$(OBJEXT)
$(am__objects_2) $(am__objects_3) $(am__objects_4) \
$(am__objects_5) $(am__objects_6) $(am__objects_7) \
conky.$(OBJEXT) $(am__objects_8) $(am__objects_9) \
- $(am__objects_10)
+ $(am__objects_10) remoted.$(OBJEXT) remotec.$(OBJEXT)
conky_OBJECTS = $(am_conky_OBJECTS)
am__DEPENDENCIES_1 =
conky_DEPENDENCIES = $(am__DEPENDENCIES_1)
@BUILD_X11_TRUE@x11 = x11.c
conky_SOURCES = common.c fs.c top.c $(linux) mail.c mixer.c $(seti) $(mpd) \
$(solaris) $(freebsd) $(netbsd) $(cairo) conky.c conky.h $(x11) $(metar) \
- $(mldonkey)
+ $(mldonkey) remoted.c remoted.h remotec.c remotec.h
conky_LDFLAGS = $(X11_LIBS) $(XFT_LIBS) $(CAIRO_LIBS)
conky_LDADD = $(METAR_LIBS)
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mldonkey.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/netbsd.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remotec.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remoted.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seti.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/solaris.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/top.Po@am__quote@
# Define the identity of the package.
PACKAGE=conky
- VERSION=1.2
+ VERSION=1.3
cat >>confdefs.h <<_ACEOF
AC_INIT(conky.c)
-AM_INIT_AUTOMAKE(conky, 1.2)
+AM_INIT_AUTOMAKE(conky, 1.3)
AM_CONFIG_HEADER(config.h)
uname=`uname`
--- /dev/null
+/*
+ * Conky, a system monitor, based on torsmo
+ *
+ * This program is licensed under BSD license, read COPYING
+ *
+ * $Id$
+ */
+
+ /*
+
+ okay, nothing here right now. thanks for coming out
+
+ */
\ No newline at end of file
--- /dev/null
+/*
+ * Conky, a system monitor, based on torsmo
+ *
+ * This program is licensed under BSD license, read COPYING
+ *
+ * $Id$
+ */
+
+ /*
+
+ okay, nothing here right now. thanks for coming out
+
+ */
\ No newline at end of file
--- /dev/null
+/*
+ * Conky, a system monitor, based on torsmo
+ *
+ * This program is licensed under BSD license, read COPYING
+ *
+ * $Id$
+ */
+
+#include <pthread.h>
+
+static pthread_t daemon;
+static int daemon_status = 0;
+
+/* okay, heres how it will basically work.
+ * when something connects, it will first send the conkyrc on the local (daemonized) server
+ * after this, it will simply continue to send all the buffered text to the remote client
+ */
+
+void *daemon_thread()
+{
+ /* do something */
+ return NULL;
+}
+
+static void daemon_loop()
+{
+ /* create thread, keep an eye on it */
+ int iret;
+ if (!daemon_status) {
+ daemon_status = 1;
+ iret = pthread_create(&daemon, NULL, daemon_thread, NULL);
+ } else if (daemon_status == 1) {
+ /* thread is still running, we'll just wait for it to finish for now */
+ pthread_join(daemon, NULL);
+ daemon_status = 0;
+ } else {
+ /* something else */
+ }
+}
--- /dev/null
+/*
+ * Conky, a system monitor, based on torsmo
+ *
+ * This program is licensed under BSD license, read COPYING
+ *
+ * $Id$
+ */
+
+static void daemon_loop();
\ No newline at end of file