[Goodies-commits] r2386 - in xfce4-cellmodem-plugin/trunk: . panel-plugin

Alvaro Lopes alvieboy at xfce.org
Tue Jan 16 20:59:34 CET 2007


Author: alvieboy
Date: 2007-01-16 19:59:34 +0000 (Tue, 16 Jan 2007)
New Revision: 2386

Modified:
   xfce4-cellmodem-plugin/trunk/ChangeLog
   xfce4-cellmodem-plugin/trunk/configure.ac
   xfce4-cellmodem-plugin/trunk/panel-plugin/Makefile.am
   xfce4-cellmodem-plugin/trunk/panel-plugin/autodetect.c
   xfce4-cellmodem-plugin/trunk/panel-plugin/cellmodem.c
Log:
0.0.5 release

Modified: xfce4-cellmodem-plugin/trunk/ChangeLog
===================================================================
--- xfce4-cellmodem-plugin/trunk/ChangeLog	2007-01-16 19:11:22 UTC (rev 2385)
+++ xfce4-cellmodem-plugin/trunk/ChangeLog	2007-01-16 19:59:34 UTC (rev 2386)
@@ -1,5 +1,8 @@
 next release
-	Support for autodetecting known modem devices
+	General improvements and new autodetection stuff.
+        
+0.0.5
+	Support for autodetecting known modem devices (PCI/USB)
         Support for HSDPA detection (for modems which support it using _OHCIP)
         Smaller leds - most people use absurdely low resolutions.
         No more error after sending pin.

Modified: xfce4-cellmodem-plugin/trunk/configure.ac
===================================================================
--- xfce4-cellmodem-plugin/trunk/configure.ac	2007-01-16 19:11:22 UTC (rev 2385)
+++ xfce4-cellmodem-plugin/trunk/configure.ac	2007-01-16 19:59:34 UTC (rev 2386)
@@ -1,4 +1,4 @@
-m4_define([cellmodem_version], [0.0.4])
+m4_define([cellmodem_version], [0.0.5])
 
 AC_INIT([xfce4-cellmodem-plugin], [cellmodem_version()],[alvieboy at alvie.com])
 
@@ -30,9 +30,17 @@
   echo "Enabling syslog debugging"
   AC_DEFINE(DEBUG_ENABLED,[1],[Enable debugging through syslog])
 else
-  echo "> Not using debug $enable_debug"
+  echo "> Not using debug"
 fi
 
+# PCI library needs libz.
+
+AC_CHECK_HEADER([zlib.h],
+AC_CHECK_LIB(z,inflate,
+LIBS="$LIBS -lz"
+)
+)
+
 AC_CHECK_HEADER([pci/pci.h],
 AC_CHECK_LIB(pci,pci_alloc, 
 AC_DEFINE(HAVE_PCIUTILS,[1],[Use pci utils to discover devices])

Modified: xfce4-cellmodem-plugin/trunk/panel-plugin/Makefile.am
===================================================================
--- xfce4-cellmodem-plugin/trunk/panel-plugin/Makefile.am	2007-01-16 19:11:22 UTC (rev 2385)
+++ xfce4-cellmodem-plugin/trunk/panel-plugin/Makefile.am	2007-01-16 19:59:34 UTC (rev 2386)
@@ -27,6 +27,7 @@
 	modem_driver.h \
 	preferences.h \
 	big_leds.xpm \
+	med_leds.xpm \
 	autodetect.h
 
 

Modified: xfce4-cellmodem-plugin/trunk/panel-plugin/autodetect.c
===================================================================
--- xfce4-cellmodem-plugin/trunk/panel-plugin/autodetect.c	2007-01-16 19:11:22 UTC (rev 2385)
+++ xfce4-cellmodem-plugin/trunk/panel-plugin/autodetect.c	2007-01-16 19:59:34 UTC (rev 2386)
@@ -55,7 +55,7 @@
 gboolean nozomi_detect( struct known_device *dev )
 {
     struct stat st;
-    int fd;
+    /*   int fd;*/
 
     if ( ! dev->info )
 	dev->info = device_info_new();
@@ -81,6 +81,7 @@
 
 gboolean serial_detect( struct known_device *dev )
 {
+    return FALSE;
 }
 
 
@@ -121,9 +122,6 @@
 
 void free_detected_devices( GList *l )
 {
-    GList *item;
-    struct known_device *d;
-
     g_list_foreach( l, (GFunc) free_single_device, NULL );
 
     g_list_free( l );
@@ -166,7 +164,7 @@
 	}
     }
 
-pci_exit_cleanup:
+/* pci_exit_cleanup: */
     pci_cleanup( pcia );
 #endif
     return l;

Modified: xfce4-cellmodem-plugin/trunk/panel-plugin/cellmodem.c
===================================================================
--- xfce4-cellmodem-plugin/trunk/panel-plugin/cellmodem.c	2007-01-16 19:11:22 UTC (rev 2385)
+++ xfce4-cellmodem-plugin/trunk/panel-plugin/cellmodem.c	2007-01-16 19:59:34 UTC (rev 2386)
@@ -132,6 +132,7 @@
 	break;
     case MODEM_WAIT_CREG_RESPONSE:
     case MODEM_WAIT_REGISTRATION:
+    case MODEM_WAIT_OHCIP_RESPONSE:
         break;
     }
 




More information about the Goodies-commits mailing list