|
From: <mla...@us...> - 2006-11-12 10:23:27
|
Revision: 125
http://svn.sourceforge.net/g15daemon/?rev=125&view=rev
Author: mlampard
Date: 2006-11-12 02:23:09 -0800 (Sun, 12 Nov 2006)
Log Message:
-----------
add wbmp image loader and images, remove hard-coding from directory names, DATADIR is now defined in configure script.
Modified Paths:
--------------
trunk/g15daemon-wip/Makefile.am
trunk/g15daemon-wip/configure.in
trunk/g15daemon-wip/g15daemon/g15logo.h
trunk/g15daemon-wip/g15daemon/main.c
trunk/g15daemon-wip/g15daemon/utility_funcs.c
trunk/g15daemon-wip/plugins/Makefile.am
Added Paths:
-----------
trunk/g15daemon-wip/images/
trunk/g15daemon-wip/images/g15logo2.wbmp
trunk/g15daemon-wip/images/g15logo2.xcf
Modified: trunk/g15daemon-wip/Makefile.am
===================================================================
--- trunk/g15daemon-wip/Makefile.am 2006-11-12 08:39:40 UTC (rev 124)
+++ trunk/g15daemon-wip/Makefile.am 2006-11-12 10:23:09 UTC (rev 125)
@@ -2,7 +2,7 @@
SUBDIRS = libg15daemon_client g15daemon plugins g15daemon_xmms
INCLUDES = -I$(top_srcdir)/libg15daemon_client -I$(top_srcdir)/g15daemon
-EXTRA_DIST = debian contrib Documentation lang-bindings patches rpm README.usage FAQ LICENSE
+EXTRA_DIST = debian contrib Documentation lang-bindings patches rpm README.usage FAQ LICENSE images
docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
doc_DATA = FAQ README.usage README ChangeLog TODO AUTHORS NEWS LICENSE
@@ -10,6 +10,9 @@
man1_MANS = $(top_srcdir)/Documentation/g15daemon.1
man3_MANS = $(top_srcdir)/Documentation/g15daemon_client_devel.3
+imagedir = $(prefix)/share/g15daemon/splash
+image_DATA = images/g15logo2.wbmp
+
dist-hook:
rm -rf `find $(distdir)/debian -name .svn`
rm -rf `find $(distdir)/contrib -name .svn`
Modified: trunk/g15daemon-wip/configure.in
===================================================================
--- trunk/g15daemon-wip/configure.in 2006-11-12 08:39:40 UTC (rev 124)
+++ trunk/g15daemon-wip/configure.in 2006-11-12 10:23:09 UTC (rev 125)
@@ -50,11 +50,9 @@
AM_PATH_GLIB(1.2.2,,)
AM_PATH_XMMS(1.2.4,,[have_xmms=yes])
AM_PATH_GTK(1.2.2,,)
-LIBS_save=$LIBS
LIBS="$LIBS $GTK_LIBS"
CPPFLAGS=$CPPFLAGS_save
-LIBS=$LIBS_save
-
+
AC_ARG_ENABLE(xmmsplugin,
[ --enable-xmmsplugin Make g15daemon_spectrum_xmms xmms plugin],
[case "${enableval}" in
@@ -64,6 +62,7 @@
esac],[xmmsplugin=false])
AM_CONDITIONAL(HAVE_XMMSPLUGIN, test x$xmmsplugin = xtrue)
+CPPFLAGS="$CPPFLAGS "'-DDATADIR="\"$(datadir)\""'
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
Modified: trunk/g15daemon-wip/g15daemon/g15logo.h
===================================================================
--- trunk/g15daemon-wip/g15daemon/g15logo.h 2006-11-12 08:39:40 UTC (rev 124)
+++ trunk/g15daemon-wip/g15daemon/g15logo.h 2006-11-12 10:23:09 UTC (rev 125)
@@ -1,6 +1,4 @@
-/* GIMP header image file format (INDEXED): /home/mjl/g15logo.h */
-
-static unsigned char logo_data[] = {
+static char logo_data[] = {
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
@@ -24,18 +22,18 @@
1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,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,1,1,1,1,1,1,1,
- 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
- 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
- 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
- 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
- 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
};
Modified: trunk/g15daemon-wip/g15daemon/main.c
===================================================================
--- trunk/g15daemon-wip/g15daemon/main.c 2006-11-12 08:39:40 UTC (rev 124)
+++ trunk/g15daemon-wip/g15daemon/main.c 2006-11-12 10:23:09 UTC (rev 125)
@@ -178,9 +178,8 @@
lcd_t *displaying = displaylist->tail->lcd;
memset(displaying->buf,0,1024);
- writePixmapToLCD(logo_data);
pthread_sleep(2);
-
+
while (!leaving) {
pthread_mutex_lock(&lcdlist_mutex);
@@ -219,7 +218,7 @@
daemon_pid_file_ident =
daemon_log_ident =
daemon_ident_from_argv0(argv[0]);
-
+printf("Datadir== %s \n",DATADIR);
for (i=0;i<argc;i++) {
char daemonargs[20];
memset(daemonargs,0,20);
@@ -296,6 +295,7 @@
lcdlist_t *lcdlist;
pthread_attr_t attr;
struct passwd *nobody;
+ unsigned char location[1024];
nobody = getpwnam("nobody");
@@ -354,11 +354,17 @@
daemon_retval_send(5);
goto exitnow;
}
+ daemon_retval_send(0);
+ daemon_log(LOG_INFO,"%s loaded\n",PACKAGE_STRING);
+
+ snprintf(location,1024,"%s/%s\0",DATADIR,"g15daemon/splash/g15logo2.wbmp");
+ load_wbmp(lcdlist->tail->lcd,location);
+ write_buf_to_g15(lcdlist->tail->lcd);
+
+ snprintf(location,1024,"%s/%s\0",DATADIR,"g15daemon/plugins");
- g15_open_all_plugins(lcdlist,"/usr/share/g15daemon/plugins");
+ g15_open_all_plugins(lcdlist,location);
- daemon_retval_send(0);
- daemon_log(LOG_INFO,"%s loaded\n",PACKAGE_STRING);
FD_ZERO(&fds);
FD_SET(fd=daemon_signal_fd(),&fds);
Modified: trunk/g15daemon-wip/g15daemon/utility_funcs.c
===================================================================
--- trunk/g15daemon-wip/g15daemon/utility_funcs.c 2006-11-12 08:39:40 UTC (rev 124)
+++ trunk/g15daemon-wip/g15daemon/utility_funcs.c 2006-11-12 10:23:09 UTC (rev 125)
@@ -82,7 +82,48 @@
return;
}
+/* basic wbmp loader - wbmps should be inverted for use here */
+int load_wbmp(lcd_t *lcd, char *filename)
+{
+ int wbmp_fd;
+ int retval;
+ unsigned int width, height, buflen,header=4;
+ unsigned char tmpbuf[1024];
+ int i;
+ wbmp_fd=open(filename,O_RDONLY);
+ if(!wbmp_fd){
+
+ return -1;
+ }
+ retval=read(wbmp_fd,tmpbuf,865);
+ close(wbmp_fd);
+ if(retval<865){
+ return -1;
+ }
+ if (tmpbuf[2] & 1) {
+ width = ((unsigned char)tmpbuf[2] ^ 1) | (unsigned char)tmpbuf[3];
+ height = tmpbuf[4];
+ header = 5;
+ } else {
+ width = tmpbuf[2];
+ height = tmpbuf[3];
+ header = 4;
+ }
+
+ buflen = (width/8)*height;
+
+ if(width!=160) {/* FIXME - we ought to scale images I suppose */
+ return -1;
+ }
+ pthread_mutex_lock(&lcdlist_mutex);
+ for(i=5;i<retval;i++){
+ lcd->buf[i-5]=tmpbuf[i]^0xff;
+ }
+ pthread_mutex_unlock(&lcdlist_mutex);
+}
+
+
/* Sleep routine (hackish). */
void pthread_sleep(int seconds) {
pthread_mutex_t dummy_mutex;
Added: trunk/g15daemon-wip/images/g15logo2.wbmp
===================================================================
(Binary files differ)
Property changes on: trunk/g15daemon-wip/images/g15logo2.wbmp
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/g15daemon-wip/images/g15logo2.xcf
===================================================================
(Binary files differ)
Property changes on: trunk/g15daemon-wip/images/g15logo2.xcf
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/g15daemon-wip/plugins/Makefile.am
===================================================================
--- trunk/g15daemon-wip/plugins/Makefile.am 2006-11-12 08:39:40 UTC (rev 124)
+++ trunk/g15daemon-wip/plugins/Makefile.am 2006-11-12 10:23:09 UTC (rev 125)
@@ -13,3 +13,4 @@
g15plugin_clock_la_SOURCES = g15_plugin_clock.c
g15plugin_clock_la_LDFLAGS = -avoid-version -module
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|